]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
cd2d312313b03967dce12d82b0a6354e8753c9fa
[lyx.git] / src / ChangeLog
1 2006-03-15  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * CutAndPaste.C (pasteSelectionHelper): comments
4         * paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug
5         * changes.h: comments
6         * paragraph.C (stripLeadingSpaces): remove unnecessary setChange
7         * text.C (backspace): allow deletion of inserted para break
8         Change tracking -related bug fixes (reported by Juergen) and 
9         some documentation work
10
11 2006-03-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * MenuBackend.C (expand): make sure the menu is empty before
14         starting. 
15
16         * MenuBackend.h (clear): new method.
17
18 2006-03-13  Martin Vermeer  <martin.vermeer@hut.fi>
19
20         * rowpainter.C (paintChangeBar): fix painting of change bar with
21         only paragraph break changed
22
23 2006-03-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
24
25         * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
26         * lyx_main.C (reconfigureUserLyXDir): run ditto
27
28 2006-03-12  Martin Vermeer  <martin.vermeer@hut.fi>
29
30         * lyxtext.h: doxygen documentation fix
31
32 2006-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
33
34         * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
35         added setChangeFull):
36         * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
37         rejectChange, erase; added setChangeFull):
38         * CutAndPaste.C (eraseSelectionHelper):
39         * lyxtext.h:
40         * text.C (readParToken, readParagraph, breakParagraph,
41         acceptChange, rejectChange, backspace, currentState; 
42         added backspacePos0):
43         * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
44         * lyxfind.C (findChange, findNextChange): fix bug 880: Change
45         tracked paragraphs should still allow a paragraph split (and related
46         things, i.e., multi-paragraph change tracking)
47
48 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * BufferView_pimpl.C: fix bug 2212: First change is skipped is
51         "Merge changes..." dialog
52
53 2006-03-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
54
55         * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX 
56         error if the class has not defined them yet (bug 2053).
57
58 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
59
60         * BufferView.[Ch]:
61         * BufferView_pimpl.[Ch]: 
62         * LyXAction.C:
63         * debug.[Ch]:
64         * rowpainter.C:
65         * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
66
67 2006-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
68
69         * pch.h: fix nullstream.hpp location for boost 1.33.0
70
71 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
72
73         * pch.h:
74         * support/pch.h:
75         * support/debugstream.h: Use the correct nullstream.
76
77 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
78
79         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
80
81 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
82
83         * cursor.C (niceInsert): fix (properly) insertion of
84         fonts/decorations around selection
85
86 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
87
88         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
89
90 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
91
92         * text3.C (mathDispatch): fix crash when selection is not empty
93         but selectionAsString is empty (bug 2321).
94
95 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
96
97         * text.C (changeCase): avoid crash in empty paragraph or on last
98         word of the paragraph. (buf 2323)
99         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
100
101 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
102
103         * buffer.C (readHeader): also erase params.preamble in advance
104         so that an empty preamble is actually recognized (bug 2317).
105
106         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
107
108 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
109
110         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
111
112 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
113
114         * buffer.C:
115         * bufferparams.[Ch]:
116         * lyxtext.h:
117         * paragraph.[Ch]:
118         * paragraph_funcs.C
119         * rowpainter.C:
120         * text.C:
121         * text2.C:
122         * text3.C: Fix bug 2115: blue language lines (for default font)
123         popping up when the documnent font is different. This includes work
124         by Georg Baum.
125
126 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
127
128         * exporter.C (Backends): Add "lyx" backend
129         * exporter.C (Export): Handle "lyx" backend
130         * graph.C (getReachable): Don't exclude "lyx"
131         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
132
133 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
134
135         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
136         for correct in-mathed positioning
137
138 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
139
140         * rowpainter.C (paintForeignMark): fix foreign blue line under
141         insets
142
143 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
144
145         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
146         pit of the uno range (bug 2022).
147
148 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
149
150         * messages.C (get): Only warn once if setlocale fails (bug 2177)
151
152 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
153
154         * text2.C (setCharFont): take inset's own font settings into account
155         when defining the font to reduce to, fixes 2019
156
157 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
158
159         * bufferview_funcs.C (coordOffset): remove the check for
160         collapsed collapsables (fix for bug 2094). This is now done
161         on a more general level (cursor.C).
162
163         * dociterator.[Ch] (forwardPos): add an optional argument
164         bool "ignorecollapsed" (default false), which lets forwardPos
165         skip collapsed insets.
166
167         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
168         (fixes bug 2241 and 2094).
169
170 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
171
172         * buffer.C: change tracking (dvipost) doesn't require
173         color.sty anymore.
174
175         * LaTeXFeatures.C (getPackages): no need for the color
176         option "usenames" (bug 2169).
177
178 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
179         * buffer_funcs.C: Trivial fix - added {} around
180         the statements to be affected by a if-test. Now
181         label in a minipage in a float looks ok on screen again.
182
183 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
184
185         * text2.C: fix bug 2015: on screen fonts in nested environments 
186         can be wrong
187
188 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
189
190         * converter.C (convert): handle unknown formats
191
192 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         * cursor.C (goUpDown): comment out some debug messages.
195
196         * counters.C (newCounter): make error messages more explicit
197         (these appear with some textclasses like beamer)
198
199 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
200
201         * kbmap.C (defkey): 
202         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
203         have origin set to KEYBOARD. (bug 2221)
204
205 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
206
207         * rowpainter.C (isCursorOnRow): do not exclude endpos().
208
209 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * cursor.C (macroModeClose): returns true if an inset actually got
212         inserted; revert faulty fix to bug 2034.
213
214 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * tabular.C (getLabelList): remove (not used anymore).
217
218 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
219
220         * outputparams.[Ch]: add new flag inComment
221
222 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
223
224         * text2.C (deleteEmptyParagraphMechanism): since we delete a
225         paragraph, recordUndo should span two paragraphs (bug 2155).
226
227 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
228
229         * rowpainter.C (paintPar): always repaint the row with the
230         cursor in it
231
232 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
233
234         * MenuBackend.h: 
235         * bufferlist.h: 
236         * lyxtext.h: 
237         * paragraph.h:
238         * vspace.h: fix syntax error
239
240 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
241
242         * text3.C (dispatch): Force refresh if typing into inset changes its
243                               metrics
244
245 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
246
247         * RowList_fwd.h:
248         * paragraph.C:
249         * paragraph.h:
250         * rowpainter.C: Speed up rendering by only re-painting rows that
251         have changed. When selection or whole-screen update active, all rows
252         are repainted, as are all rows within insets.
253
254 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
255
256         * version.C.in: Use PACKAGE_VERSION instead of VERSION
257
258 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
259
260         * tabular.C (toggleFixedWidth): Use default layout of text class
261         instead of hardcoded "Standard"
262
263 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
264
265         * lyxfunc.C (dispatch): do not call getStatus again to determine
266         whether a lfun is disabled (bug 2172).
267
268 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
269
270         * cursor.C (macroModeClose): set the cursor inside the new math
271         atom if relevant (think \frac{}{}) (bug 2034)
272
273 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
274
275         * lyxtext.h:
276         * text.C:
277         * text3.C (Delete, backspace): force update when merging paragraphs
278
279 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
280
281         * BufferView.C (mouseSetCursor): clear the selection properly (bug
282         2163). 
283
284 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
285
286         * text.C (redoParagraph): honor inset->noFontChange()
287         * rowpainter.C (paintInset): ditto
288
289 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
290
291         * lyx_main.C (priv_exec): don't initialize Math on startup 
292         (initMath() has been moved to math_hullinset).
293
294 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
295
296         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
297         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
298         * paper.h: dispose dead PAPER_PACKAGES enum.
299
300 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
303         without X support.
304
305 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
306
307         * exporter.C (Export): Don't try to copy a file if it does not exist
308         (bug 1888)
309
310 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * text2.C (makeFontEntriesLayoutSpecific): remove.
313         (setLayout): adapt.
314
315         * text.C (insertChar): remove bogus caching of fonts (did not do
316         anything). 
317
318         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
319         ALL_SANE). (bug 2146)
320
321 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
322
323         * rowpainter.C (paintFirst): fix centering of
324         LABEL_CENTERED_TOP_ENVIRONMENT. 
325
326 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * BufferView.C (mouseSetCursor): new method. Calls
329         deleteEmptyParagraphMechanism if necessary.
330
331         * lyxtext.h: make deleteEmptyParagraphMechanism public.
332
333         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
334         BufferView::mouseSetCursor (bug 2109).
335         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
336
337 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
338
339         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
340         do not remove it (this inset behaves differently from the others).
341
342 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         Fix bug 2096.
345         
346         * BufferView_pimpl.C (getStatus): it is only possible to insert a
347         file in a text inset.
348
349         * buffer.C (readDocument): remove pit argument and code releated
350         to it; set the inset owner correctly (unrelated, but useful).
351         (readFile): get rid of pit argument.
352
353         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
354         textclass instead of a selection index.
355         (pasteParagraphList): new function.
356         (pasteSelection): make it a wrapper around pasteParagraphList.
357
358         * BufferView_pimpl.C (MenuInsertLyXFile): use
359         cap::pasteParagraphList to insert a file.
360
361 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
362
363         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
364
365 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
366
367         * exporter.C: fix typo in text message
368
369 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
370
371         * text2.C (setLayout): move recUndo call to other setLayout method
372         * tabular.C (toggleFixedWidth): new, handle cell width changes
373         * tabular.C (setColumnPWidth): move some code from insettabular.C here
374         and use toggleFixedWidth
375         * tabular.C (setMColumnPWidth): ditto
376
377 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
378
379         * paragraph.C (asString): use new inset->textString method (fix
380         bug 2089) 
381
382 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
383
384         * CutAndPaste.C (numberOfSelections): new helper function.
385
386         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
387
388         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
389         LyXFunc::getStatus; implement LFUN_PASTE.
390
391 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
392
393         * dociterator.[Ch]: new member realInset() that returns the cell
394         for tabulars and the inset for the rest (bug 1952).
395         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
396         (bug 1952).
397
398 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
399
400         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
401
402 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
403
404         * lyxfunc.C:
405         * paragraph.C:
406         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
407         argument.
408
409 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
410
411         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
412         line after typing ctrl-enter
413
414 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
415
416         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
417         math insets do not return a proper editable() state yet (bug 2124).
418
419 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
420
421         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
422         docs containing very large paragraphs.
423
424 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
425
426         * cursor.C (selectionBegin, selectionEnd):
427         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
428         cursor at different depths.
429
430 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
431
432         * bufferview_funcs.C (coordOffset): do not call cursorPos
433         for collapsed collapsables (fix bug 2094).
434
435 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
436
437         * paragraph.C (fontSpan): make sure that the FontSpan does not
438         span across beginOfBody (bug 1947).
439
440 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
441
442         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
443
444 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
445
446         * messages.C: fix crash and localization on MinGW/Windows platform
447
448 2005-11-02  Angus Leeming  <leeming@lyx.org>
449
450         * Bidi.C:
451         * lyxtextclass.C: trivial fixes to some MSVS warnings.
452
453 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * text3.C (getStatus): re-enable disabled code. (bug 2081)
456
457         * BranchList.h (empty): constify.
458
459 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
460
461         * text3.C (getStatus): 
462         * MenuBackend.C (expandBranches): take the branch list from the
463         master document (bug 2092).
464         
465         * MenuBackend.C (expandBranches): 
466         * bufferparams.C (writeFile): use BranchList type.
467
468 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
469
470         * text3.C (dispatch, getStatus): 
471         * LyXAction.C (init): 
472         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
473
474 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
475
476         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
477
478 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * text.C (insertChar): do not reset boundary (bug 2061)
481
482 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
483
484         * dociterator.C (updateInsets): new method. Updates the inset_
485         cache of all the slices of the iterator.
486
487         * text2.C (deleteEmptyParagraphMechanism): compare also containing
488         insets when comparing pit/pos; pass the right cursor to
489         recordUndo; when a paragraph has been deleted, compare `old.top()' to
490         the right cursor slice of `cur'; use updateInsets on cur to make
491         sure that the inset caches are correct; general cleanup.
492
493 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
494
495         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
496         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
497         containg inset. If this does not work, the same command will be
498         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
499
500         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
501         a dispatch.
502
503 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
504
505         * lyxtextclass.C (Read): convert layout file if the format is wrong
506         * lyxtextclass.C (layout2layout): new, needed for the above
507
508 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
509
510         * messages.C: do not forget to include <cerrno>.
511
512 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
513
514         * dociterator.h (StableDocIterator): add access to pos().
515         * undo.C (samePar): new method to check if two
516         iterators are in the same paragraph
517         * undo.C (recordUndo): check for samePar instead of cell identity
518         (which includes pos() and is too strict) (fixes bug 2097)
519
520 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
521
522         * text.C (setCursorFromCoordinates): return a bool telling whether
523         dEPM triggered.
524
525         * text3.C (cursorPrevious): update if needed after
526         setCursorFromCoordinates (when dEPM triggered).
527
528         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
529         (otherwise the anchor may be completely wrong and make dEPM assert).
530
531 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
532
533         * buffer.C: version upgrade to 245.
534         * bufferparams.C: remove \quotes_times (bug 2090).
535         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
536         quotation marks as default.
537
538 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
539
540         * CutAndPaste.C (nrOfParagraphs): remove (unused)
541         * CutAndPaste.C (cutSelection): Remove debug message
542         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
543         undo information and only copy if this is a real cut
544         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
545         call
546         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
547         (bug 2059)
548         * CutAndPaste.C (eraseSelection): prevent cursor corruption
549         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
550         superflous cur.selection() setting
551         * CutAndPaste.[Ch] (grabSelection): take a const cursor
552         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
553
554 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
555
556         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
557         change anything.
558
559 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
560
561         * BufferView_pimpl.C: comment layout change
562
563 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
564
565         * LyXAction.C:
566         * lfuns.h:
567         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
568         by bibliography managers (bug 2071).
569
570 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
571
572         * BufferView_pimpl.C (update): choose arguments to update call so
573         that single-par update works most times
574         * text3.C (dispatch): carefully tune updating separately for
575         whole-screen and current-paragraph
576         * rowpainter.C (paintText): 1) replace painting by caching for
577         the two extra paragraphs, because we can;
578         2) suppress greying out of areas below/above drawn area in case of
579         single-par refresh
580         * lyxfunc.C (dispatch): remove superfluous update
581         * LyXAction.[Ch]: introduce SingleParUpdate
582
583 2005-10-05  Angus Leeming  <leeming@lyx.org>
584
585         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
586         always initialised before use.
587
588         * text.C (setHeightOfRow): squash warning about comparison
589         of signed and unsigned types.
590
591 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
592
593         * text.C (cursorX): two fixes involving RtL text drawing
594
595 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
596
597         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
598         items, not only large ones (part of bug 2057)
599
600 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
603         argument, use "newcommand".
604
605 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
606
607         * cursor.C (setSelection): do not open collapsable insets;
608         the insets do by themselves now (autoopen).
609
610 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
611
612         * buffer.C: format is up to 244.
613
614 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
615
616         * text.C (redoParagraph): fix calcultation of inset width wrt 
617         leftMargin (bug 1957).
618
619         * text3.C (dispatch): leave inset to the right when hitting ESC 
620         (bug 2034).
621
622 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
623
624         * text2.C: 
625         * text.C: 
626         * factory.C:
627         * messages.C: include <boost/current_function.hpp> 
628
629 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
630
631         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
632         when command is internal. (bug 1941)
633
634 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * text2.C (cursorRight): do not honor boundary when at the end of
637         a paragraph. (bug 2010 again)
638
639 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
642
643 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
644
645         * rowpainter.C (paintText): fix RtL space width display bug (2029)
646
647 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * text2.C (setCursor): remove the unused 'boundary' parameter for
650         the CursorSlice version; adapt the LCursor version.
651
652         * lyxrc.C (write): 
653         * paragraph_pimpl.C (markErased): 
654         * cursor.C (bruteFind2, bruteFond3): fix warnings.
655
656 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
657
658         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
659         as is already done for "chapter".
660
661 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
664         textclass; do not record undo if nothing is changed.
665
666 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
667
668         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
669
670 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
671
672         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
673
674 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
675
676         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
677         combox, it is necessary to search for the topmost paragraph in the
678         cursor stack (bug 1926)
679
680 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
681
682         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
683         end of paragraph. (bug 2010)
684
685 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
686
687         * text.C (leftMargin): check for inInset == 0
688
689 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
690
691         * text.C (leftMargin): test for insetbase's new neverIndent()
692         bool instead of listing each and every inset that does not
693         wish par indendation.
694
695 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
696
697         * buffer_funcs.C (setCounter): put the code to compute enum label
698         here (where it belongs).
699
700         * counters.C (enumLabel): move code to buffer_funcs.C.
701
702 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
703
704         * outputparams.[Ch]: store local_font instead of local_language
705         * paragraph.C (simpleTeXOnePar): adapt to the change above
706
707 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
708
709         * buffer_funcs.C:
710         * counters.[Ch]: clean up special code for Hebrew.
711
712 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
713
714         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
715         than 2.
716
717 2005-09-08  Angus Leeming  <leeming@lyx.org>
718
719         * ispell.C:
720         * lyxrc.C: correct grammar describing invocation of the
721         spellchecker.
722
723 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
724
725         * text.C (read): remove unused variable.
726         (readParToken): remove static Change variable (never good in
727         recursive settings...); add it as a parameter instead.
728
729         * paragraph_pimpl.C (acceptChange): make debug info conditional.
730
731         * metricsinfo.C (PainterInfo): add new member erased_.
732
733         * rowpainter.C (RowPainter): add erased_ member, initialized from
734         PainterInfo. 
735         (paintInset): pass erased_ to Inset::draw.
736
737         * lyxfunc.C (lookupChange): new function. Tells whether change 
738         tracking is disabled at a given postion.
739         (getStatus): disable some actions when in deleted text with change
740         tracking. 
741
742 2005-08-03  John Levon  <levon@movementarian.org>
743         
744         * tabular.C (appendColumn, setMultiColumn): adapt to change to
745         InsetText::clear().
746
747         * paragraph_pimpl.C (markErased): add bool argument and handle it.
748         Also make sure to mark insets recursively.
749         (rejectChange, erase): be recursive
750
751         * paragraph.C (markErased): add bool argument.
752 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
753
754         * lyxfind.C (findNextChange): tiny cleanup.
755
756         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
757         change tracking with the cursor in an inset; make sure the first
758         change is not skipped.
759
760 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
761
762         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
763         tabularStackDirty to work around bug 1919 (tabular needs
764         to know whether its own cell paste buffer or the one of 
765         texted is newer.
766         * CutAndPaste.C: mark tabular_stack_ clean after copy.
767
768 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
769
770         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
771
772 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
773
774         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
775         use old deleteion algorithm when changetracking is on.
776
777 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
778
779         * messages.C (get): add debug output.
780
781 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
782
783         * text.C (cursorX): fix bug 1965: cursor movement at
784         line end broken in RtL.
785         (drawSelection): fix bug 1970: drawing of single-line 
786         selection broken for RtL.
787
788 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
789
790         bug 465.
791
792         * dociterator.h (clear, push_back, pop_back): change from
793         protected to public.
794
795         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
796         and changed to just return the value of the item depth; take a
797         ParIterator as argument; take the itemdepth at outer nesting level
798         in account if necessary; cleanup and comment the code.
799         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
800         and changed to just return true if reset is needed; take a
801         ParIterator as argument; cleanup and comment the code.
802         (setCounter): adapt to above changes.
803
804 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
805
806         * text3.C (dispatch): make debug message optional
807
808 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
809
810         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
811         inset. (bug 1963)
812
813 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
814
815         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
816
817 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
818
819         * text.C (insertChar):
820         * text2.C (deleteEmptyParagraphMechanism): take care whether 
821         a blank has been deleted (in change tracking mode) (bug 1254).
822
823 2005-07-20  John Levon  <levon@movementarian.org>
824
825         * text2.C (insertStringAsLines): remove old dubious code,
826         fixing bug 1939.
827
828 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
829
830         * MenuBackend.C (expandToc): use Floating::listName() as title of
831         the floats submenus.
832
833 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
834
835         * toc.[Ch]: Do not use translatable strings (bug 1870).
836
837 2005-07-20  John Levon  <levon@movementarian.org>
838
839         * tabular.C: fix 1748 - setting multicolumn adds
840           left line to the first cell
841
842 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
843
844         bug 1920
845         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
846         pars in one go.
847
848 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
849
850         * messages.C: supress some lyxerr messages
851
852 2005-07-18  Juergen Vigna  <jug@lyx.org>
853
854         * text.C (drawSelection): honor boundary when asking for cursorX.
855
856 2005-07-17  José Matos  <jamatos@fc.up.pt>
857
858         * tabular.C (recalculateMulticolumns): fix handling of one column
859         tables.
860
861 2005-07-17  Juergen Vigna  <jug@lyx.org>
862
863         * text.C (Delete, backspace): fixed so that paragraph with the
864         same layout can be merged by Delete/Backspace.
865
866 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
867
868         * text.C (readParToken): fix spelling.
869
870 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
871
872         * text2.C: fix counter update for DEPM problem reported by
873         Georg Baum
874
875 2005-07-17  Juergen Vigna  <jug@lyx.org>
876
877         * BufferView_pimpl.C (setBuffer): save/restore the
878         cursor/selection when switching buffers
879
880         * buffer.h: 
881         * buffer.C (saveCursor): add saveDocumentIterators to save the
882         cursor when switching buffer.
883
884 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
885
886         * debug.C: fix typo
887         * buffer.C: clarify message
888         
889 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
890
891         * dociterator.C (DocIterator): fix initialization order
892
893 2005-07-17  Juergen Vigna  <jug@lyx.org>
894
895         * text2.C (cursorHome): 
896         * text.C (drawSelection, cursorX): 
897         * dociterator.C (textRow): add boundary to getRow() call
898
899         * paragraph.C (getRow): implementation of below
900
901         * paragraph.h: add parameter boundary for getRow() function
902
903 2005-07-17  José Matos  <jamatos@fc.up.pt>
904
905         * buffer.C:
906         * bufferparams.[Ch]:
907         * tex-strings.[Ch]: new file format, remove support for a4.sty,
908         a4wide.sty and a4widemargins.
909
910 2005-07-17  Juergen Vigna  <jug@lyx.org>
911
912         * text2.C (cursorLeft): fix one of error
913
914 2005-07-17  Juergen Vigna  <jug@lyx.org>
915
916         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
917                    cursorEnd):
918         more fixes for boundary handling
919
920         * text3.C (dispatch): don't reset cursor if boundary has changed
921         on cursor movement.
922
923 2005-07-16  Juergen Vigna  <jug@lyx.org>
924
925         * text2.C (getColumnNearX): hopefully got it right now,
926         check if we are on column 0 for special case.
927
928 2005-07-16  Juergen Vigna  <jug@lyx.org>
929
930         * text2.C (getColumnNearX): handle special case Newline Inset
931
932         * text.C (singleWidth): Just remove bogus check
933
934 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
935
936         * funcrequest.C (split): avoid reading uninitialized char c
937
938 2005-07-16  José Matos  <jamatos@fc.up.pt>
939
940         * buffer.C:
941         * converter.C:
942         * lyxrc.C:
943         * paper.h:
944         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
945         single papersize variable.
946
947 2005-07-16  Juergen Vigna  <jug@lyx.org>
948
949         * text3.C (dispatch): honor boundary when checking if a cursor
950         movement has been done
951
952         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
953         (setCursor, setCursorIntern): fix cursor movement with boundary
954
955 2005-07-16  Juergen Vigna  <jug@lyx.org>
956
957         * text.C (currentState): output the actual Boundary
958
959 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
960
961         * factory.C (createInset): fix bad logic for tabular creation
962
963 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
964
965         * lyx_main.C (init): change some reLyX reference to tex2lyx
966
967 2005-07-16  Juergen Vigna  <jug@lyx.org>
968
969         * dociterator.C (DocIterator): initialize boundary
970
971 2005-07-16  Juergen Vigna  <jug@lyx.org>
972
973         * text2.C (getColumnNearX): Consider rows without trailing blank.  
974
975 2005-07-16  André Pönitz  <poenitz@gmx.net>
976
977         * lyxfont.h: Change order of declarations to give the compiler
978         a better chance to inline things
979
980         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
981         questions on unsaved docs for better scritability
982
983 2005-07-16  André Pönitz  <poenitz@gmx.net>
984
985         * paragraph.h (getChar): remove asserts as the same kind of security
986         can be achieved by using a suitable standard library implementation
987         and the function was in the critical path (25.9% in profiler)
988
989 2005-07-16  Juergen Vigna  <jug@lyx.org>
990
991         * cursor.C (bruteFind2):
992         * bufferview_funcs.C (coordOffset): 
993         * text.C (cursorX,cursorY): Handle cursor position after last char
994         in row before a inset which uses a whole row.
995
996 2005-07-15  José Matos <jamatos@lyx.org>
997
998         * output_plaintext.[Ch] (writeFileAscii): control reference title
999         printing.
1000         (asciiParagraph): noparbreak was already deal and was incorrectly
1001         used.
1002
1003 2005-07-15  Juergen Vigna <jug@lyx.org>
1004
1005         * lyxfunc.C (dispatch): save and restore the cursor after a
1006         textclass switch.
1007
1008 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
1009
1010         * text.C (backspace): bug 806 for empty keepempty paragraphs we
1011         change the layout to default before letting DEPM do its thing.
1012
1013         * paragraph_funcs.C (breakParagraph): dont reset the layout on
1014         keepEmpty paragraphs
1015
1016         * text.C (setCursorFromCoordinates): add a debug statement
1017
1018         * text2.C (getColumnNearX): bug 1825 make sure that we don't
1019         return a pos that is not on the row
1020
1021         * output_latex.C (TeXDeeper): get rid of potential dereferencing
1022         of past the end iterator
1023
1024 2005-07-14  André Pönitz  <poenitz@gmx.net>
1025
1026         * undo.C (recordUndoFullBuffer): implement undo for
1027         textclass switches
1028
1029 2005-07-14  André Pönitz  <poenitz@gmx.net>
1030
1031         * cursor.C (setSelection): open insets when selection is set there
1032         to avoid crashs with cold coord cache
1033
1034 2005-07-14  André Pönitz  <poenitz@gmx.net>
1035
1036         * trans_mgr.C (insert): move cursor to the right after inserting
1037         a char.
1038
1039 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1040
1041         * BufferView_pimpl.C (update): dampen some of the debug blabbering
1042         * factory.C (readInset): ditto
1043         * text.C, text2.C: ditto
1044
1045 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1046
1047         * buffer.C: format incremented to 242. There is no file format per
1048         se, but the "frenchb" language has been removed from lib/language
1049         and has to be translated to "french" by lyx2lyx.
1050
1051 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1052
1053         * cursor_slice.h, dociterator.h: add some documentation
1054         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1055
1056 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1057
1058         * text.C (leftMargin): do not add identation to display() style
1059         insets, because they are always centered (bug 1293).
1060
1061 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1062
1063         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1064         formatted_time methods in support/lyxtime.
1065
1066 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1067
1068         * toc.[Ch]: new method getGuiName, which is used by the frontends 
1069         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1070
1071 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1072
1073         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1074         StableDocIterator const &)
1075         * undo.C (recordUndo): use the above instead of cell.size() comparison
1076         (fixes bug 1808; instructed by Andr�.
1077
1078 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1079
1080         * cursor_slice.h: 
1081         * dociterator.h: Fix the assert when copying rows/cols in math
1082
1083 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1084
1085         * BufferView_pimpl.C:
1086         * LyXAction.C:
1087         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1088
1089         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1090         (findInset): new functions, refactored from goto Inset that return 
1091         the position of a certain inset without setting the buffer's cursor
1092         (by Jean-Marc); 
1093         (gotoInset): rewrite to call findInset and then set the cursor
1094         (by Jean-Marc).
1095
1096 2005-06-16  Angus Leeming  <leeming@lyx.org>
1097
1098         * lyxrc.C (output, read): wrap all input and output of paths with
1099         calls to os::internal_path and os::external_path, respectively.
1100         (output): wrap bind_file inside quotes.
1101
1102         * format.C (view): enable the viewer to use the '$$s' placeholder.
1103
1104 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1105
1106         * LColor.[Ch] (getFromLaTeXName): new
1107
1108 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1109
1110         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1111
1112 2005-06-14  Angus Leeming  <leeming@lyx.org>
1113
1114         * lyx_main.C (init): ensure that the LyX binary dir is the first
1115         element in the PATH on non-POSIX builds.
1116
1117 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1118
1119         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1120
1121 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1122
1123         * rowpainter.C (paintInset, paintHebrewComposeChar)
1124         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1125         (paintChars): use getFontSpan to reduce calls to getFont to a
1126         minimum; use Paragraph::lookupChange instead of isXXXText.
1127         (paintForeignMark): rename LyXFont argument.
1128         (paintFromPos): pass a LyXFont object to the various paintXXX
1129         methods.
1130
1131         * FontIterator.C (FontIterator, operator++): use
1132         Paragraph::getFontSpan
1133
1134         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1135         version that returns the font span as a pair.
1136
1137 2005-06-09  Angus Leeming  <leeming@lyx.org>
1138
1139         * converter.C (convert): Don't forget "outfile = real_outfile" as
1140         the final step in a conversion where the input and output file names
1141         are the same. Otherwise, future conversion steps won't work...
1142
1143 2005-06-09  Angus Leeming  <leeming@lyx.org>
1144
1145         * lyxsocket.C: remove stub code as it isn't needed by
1146         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1147
1148 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1149
1150         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1151         effectively disabled -x
1152
1153 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1154
1155         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1156         when it actually makes sense.
1157
1158 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1159
1160         * BufferView_pimpl.C: revert to showCursor in connection with
1161         Lars's front-end stack
1162
1163 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1164
1165         * text.C (redoParagraph): move cursor right after a bibitem
1166         has been inserted.
1167
1168         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1169
1170 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1173         error range.
1174
1175 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1176
1177         * BufferView.[Ch] (update):
1178         * BufferView_pimpl.[Ch] (update, metrics):
1179         * dimension.h (operator==):
1180         * lyxfunc.C (dispatch):
1181         * metricsinfo.h (ViewMetricsInfo):
1182         * rowpainter.C (paintText):
1183         * lyxtext.h:
1184         * text.C (redoParagraph):
1185         * text3.C (dispatch): Make LyX only repaint current paragraph in
1186         case of character insert --> speedup. Also fix cursor draw
1187         artifacts
1188
1189 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1190
1191         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1192         avoid a crash (bug 1891)
1193
1194 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1195
1196         Fix bug 1892:
1197
1198         * text2.C (getStringToIndex): constify cur argument.
1199
1200         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1201         argument has been given
1202         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1203         try to invoke LFUN_INSET_APPLY).
1204
1205         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1206         if no inset was created by doInsertInset
1207         (doInsertInset): return true if an inset has been inserted.
1208
1209 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1210
1211         * vspace.C (asGUIName): new method. A version of the space
1212         suitable for showing on screen.
1213
1214 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1215
1216         * MenuBackend.C:
1217         * lyxrc.C: rename "ASCII" to "Plain Text"
1218
1219 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1220
1221         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1222         translate the labelstring.
1223         (setCounter): translate labelstring as needed.
1224
1225         * output_docbook.C (makeCommand): fix expandLabel invokation
1226
1227 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1228
1229         * BufferView.C: fix dialog title
1230
1231 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1232
1233         * lyx_main.C (priv_exec): fix logic error with help from Angus
1234         * lyx_main.C (parse_execute): set is_gui = false and remove now
1235         obsolete comment about a segfault
1236
1237 2005-05-18  Angus Leeming  <leeming@lyx.org>
1238
1239         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1240
1241 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1242
1243         * tabular.[hC]: added setCellInset to fix tabular paste.
1244
1245 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1246
1247         * buffer.C (save): check if destination is writable before trying
1248         to copy a file
1249
1250 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1251
1252         * BufferView_pimpl.C (update): fix processEvents -caused update
1253         recursion bug
1254
1255 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1256
1257         * buffer_funcs.C (setCounter): fix test for numbering of
1258         environments.
1259
1260         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1261         depth correctly; use optional argument when it exists
1262
1263         * lyxtextclass.C: remove unused MaxCounterTags enum
1264         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1265         (max_toclevel, min_toclevel): new methods.
1266
1267         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1268         the smallest depth in toc.
1269
1270         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1271         layouts that should not appear in a table of contents.
1272
1273 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1274
1275         * cursor.h (undispatched, noUpdate): add comments from Andr�
1276 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1277
1278         * lfuns.h:
1279         * LyXAction.C:
1280         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1281
1282 2005-05-07  André Pönitz  <poenitz@gmx.net>
1283
1284         * cursor.[Ch] (leaveInset): new function
1285
1286 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1287
1288         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1289
1290 2005-05-04  Angus Leeming  <leeming@lyx.org>
1291
1292         * lyxfunc.C (getStatus): disable the spell checker dialog if
1293         none of USE_[AIP]SPELL are defined.
1294
1295 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1296
1297         * tabular.C (setWidthOfCell): remove obsolete comment
1298
1299 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1300
1301         * paragraph.C (bibitem):
1302         * buffer_funcs.C (setCounter):
1303         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1304
1305 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1306
1307         * text3.C (getStatus): immediately return after setOnOff
1308
1309         * rowpainter.C: fix drawing of appendix start
1310
1311 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1312
1313         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1314         SwitchBetweenClasses and remove the unused return value.
1315         Handle character styles, too
1316
1317 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1318
1319         * factory.C (createInset): handle undefined character styles
1320
1321 2005-05-02  Angus Leeming  <leeming@lyx.org>
1322
1323         * buffer.C: protect the #include of utime.h with a preprocessor
1324         guard.
1325
1326 2005-05-02  Angus Leeming  <leeming@lyx.org>
1327
1328         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1329         function so that auto-saving works, albeit in a blocking manner.
1330
1331         * Makefile.am: make compilation of the client sub directory, of
1332         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1333         on conditionals set at configure time.
1334
1335         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1336         it can be compiled in its own right but has no-op functionality.
1337
1338         * aspell.C, pspell.C: remove preprocessor guards. The files should
1339         be compiled only if the necessary functionality exists.
1340
1341         * lyxserver.C, lyxsocket.C: disable on Windows.
1342
1343 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1344
1345         * text.C (leftMargin): Fix the parindent use bug (1764)
1346         by dirty trick
1347
1348 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1349
1350         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1351         argument.
1352
1353 2005-04-25  Angus Leeming  <leeming@lyx.org>
1354
1355         * Bidi.[Ch]:
1356         * coordcache.[Ch]:
1357         * ispell.C:
1358         * lyxserver.C:
1359         * mover.C:
1360         * pch.h:
1361         include <config.h> in .C files, not .h ones.
1362         add licence blurb.
1363         protect headers inside preprocessor guards.
1364
1365 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1366
1367         * FuncStatus.h (StatusCodes): document
1368
1369 2005-04-21  André Pönitz  <poenitz@gmx.net>
1370
1371         * FuncStatus.h (enabled, onoff): document
1372
1373 2005-04-19  Angus Leeming  <leeming@lyx.org>
1374
1375         * BufferView_pimpl.C (cursorToggle): no longer test whether
1376         any child processes have been reaped before calling
1377         handleCompletedProcesses().
1378
1379 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1380
1381         * text3.C (dispatch): fix, finally fix, the language problem in
1382         new lyxtexts, without disabling on-the-fly font changes (Helge's
1383         bug report)
1384
1385 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1386
1387         * text3.C (dispatch): set cursor on double/triple click events
1388         (bug 1811)
1389
1390 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1391
1392         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1393         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1394
1395         * rowpainter.C (paintFirst): simplify the code a little bit. In
1396         particular, remove the test for secnumdepth.
1397         * text.C (setHeightOfRow): only allocate space for chapter number
1398         when updateCounters provided an actual label, instead of looking
1399         at secnumdepth directly.
1400
1401         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1402
1403         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1404         paragraphs when secnumdepth is large enough or, for environments,
1405         when they are not the first in a sequence.
1406
1407 2005-04-17  Angus Leeming  <leeming@lyx.org>
1408
1409         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1410         containing space and '~' characters with a call to latex_path().
1411
1412 2005-04-17  Angus Leeming  <leeming@lyx.org>
1413
1414         * converter.C (convert): protect all args of convertDefault.sh
1415         script with quotes.
1416
1417 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1418
1419         * text3.C (dispatch): change the layout to "Caption" after inserting
1420         a float.
1421
1422 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1423
1424         * text3.C (dispatch): fix language problem in newly created
1425         textinsets (and main text) in non-english docs
1426
1427 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1428
1429         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1430         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1431         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1432
1433 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1434
1435         * lyxtext.h:
1436         * text.C (metrics):
1437         * text2.C (getFont):
1438         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1439         fonts fix
1440
1441 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1442
1443         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1444         output of \item arguments without trailing text.
1445
1446 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1447
1448         * FontIterator.C (operator*): avoid a copy of the font.
1449
1450 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1451
1452         * rowpainter.C (getFont): fix language bug from previous fix
1453
1454 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1455
1456         * rowpainter.C (RowPainter, getFont): fix font inside inset
1457         (bugs 1766, 1809)
1458
1459 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1460
1461         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1462         preventing inserted font, deco, delim insets jumping to start of
1463         surrounding inset.
1464
1465 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1466
1467         * lyxfunc.C (dispatch): translate message before sending it to the
1468         minibuffer.
1469
1470 2005-03-29  Angus Leeming  <leeming@lyx.org>
1471
1472         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1473         to LyX on the command line.
1474
1475 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1476
1477         * vc-backend.C: use QuoteName to protect file names wherever
1478         necessary.
1479
1480 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1481
1482         * buffer.[Ch]:
1483         * BranchList.h: fix bugs 1844,1845: document settings don't
1484         stick
1485
1486 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1487
1488         * lyxrc.C (setDefaults, read, output, getDescription): add support
1489         for tex_allows_spaces.
1490
1491         * exporter.C (Export): allows files in directory containing spaces
1492         if tex_allows_spaces is true.
1493
1494         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1495         output it in double quotes.
1496
1497 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1498
1499         * rowpainter.C: use default text height for drawing change tracker
1500         strikeout lines.
1501
1502 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1503
1504         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1505
1506 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1507
1508         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1509         directory is missing.
1510
1511 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1512
1513         * text2.C: fixed the fix, extended to other case.
1514
1515 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1516
1517         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1518
1519 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1520
1521         * text2.C (cursorUp): get rid of a crash
1522         * text.C (x2pos): add an assert
1523
1524 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1525
1526         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1527
1528         * text3.C:
1529         * lyxfunc.C:
1530         * dociterator.C: include <boost/current_function.hpp>, which is
1531         needed when assertions are disabled.
1532
1533 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1534
1535         * text2.C: fix for stuck cursor when traversing two
1536         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1537
1538 2005-02-25  Andreas Vox  <avox@arcor.de>
1539
1540         * output_docbook.C (makeParagraph): suppress trailing newline
1541         after a run of paragraphs
1542
1543 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1544
1545         * paragraph.C: fix for confused change tracker when pasting
1546         text that begins with a lineseparator. [bug 1827]
1547         (setChange(0, Change::INSERTED);)
1548
1549         * paragraph_funcs.C: fix for lost changes on triple-paste
1550         in change tracking mode [bug 1827] (par.setChange()).
1551
1552 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1553
1554         * text2.C (updateCounters, setCounter, expandLabel): move to
1555         buffer_funcs.
1556
1557         * buffer_funcs.C (updateCounters): turn into a free standing
1558         function and add a buffer parameter. Remove dead code for tracking
1559         labelstring change.
1560         (setCounter): change into a free-standing function which gets a
1561         dociterator as argument. Use this iterator to fix captions in a
1562         simple way. When no float is found above the caption, use the
1563         labelstring of the caption layout as default.
1564
1565         * text.C (breakParagraph, backspace):
1566         * text2.C (init, setLayout, changeDepth):
1567         * text3.C (dispatch):
1568         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1569         updateCounters.
1570
1571         * dociterator.C (forwardPar): make it much faster by calling
1572         forwardPos() only when really necessary.
1573
1574         * output_docbook.C (makeCommand): adapt to expandLabel move.
1575
1576         * cursor.C: remove unused variable
1577
1578 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1579
1580         * paragraph_funcs.C: fix crash when pasting insets in change
1581         tracking mode [bug 1277] (honour change type in moveItem).
1582
1583 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1584
1585         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1586
1587 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1588
1589         * BufferView.C (setCursor): change to use a DocIterator.
1590         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1591         (putSelectionAt): adapt to BufferView::setCursor change.
1592
1593         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1594         moved here from LyXText and rewritten to use proper cursor
1595         methods. Fixes bug 1787, 616 and 835.
1596
1597         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1598         when inside an inset (part of bug 781).
1599         (dispatch): adapt to change of BufferView::setCursor.
1600         (getStatus, dispatch): handle LFUN_GOTOERROR,
1601         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1602
1603         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1604         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1605         * text3.C (gotoNextInset, gotoInset): removed.
1606
1607 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1608
1609         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1610
1611 2005-02-15  Angus Leeming  <leeming@lyx.org>
1612
1613         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1614         can be used meaningfully in a comparison.
1615
1616 2005-02-13  André Pönitz  <poenitz@gmx.net>
1617
1618         * bufferview_funcs.C (coordOffset): improve cursor drawing
1619
1620 2005-02-13  André Pönitz  <poenitz@gmx.net>
1621
1622         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1623         * Cursor.C (dispatch): use fixIfBroken
1624         * lyxfunc.C (getStatus): use fixIfBroken
1625
1626 2005-02-15  Angus Leeming  <leeming@lyx.org>
1627
1628         * lyx_main.C (error_handler):
1629         * lyxfunc.C:
1630         * lyxrc.C (setDefaults):
1631         s/GetEnv/getEnv/.
1632         #include "environment.h".
1633
1634         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1635
1636 2005-02-15  Angus Leeming  <leeming@lyx.org>
1637
1638         * lyxserver.C (startPipe): squash MSVC warning "local variable
1639         'fd' used without having been initialized".
1640
1641 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1642
1643         * BufferView_pimpl.C: revert accidental commit.
1644
1645 2005-02-14  André Pönitz  <poenitz@gmx.net>
1646
1647         * dociterator.[Ch]: new member forwardPosNoDescent(),
1648         which doesn't enter nested insets.
1649         * text2.C (setFont): use forwardPosNoDescent() instead
1650         of ForwardPos() (fixes crash on font change).
1651
1652 2005-02-13  Angus Leeming  <leeming@lyx.org>
1653
1654         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1655         only if lyxrc.path_prefix is not empty.
1656
1657 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1658
1659         * bufferparams.C (readGraphicsDriver): prevent crash
1660
1661 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1662
1663         * text2.C (setCounter): check for inInset() == 0
1664
1665 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1666
1667         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1668         but use update() to get correct screen display; use convert
1669         instead of istringstream.
1670         (getStatus): handle LFUN_GOTO_PARAGRAPH
1671
1672         * lyxfunc.C (dispatch, getStatus): do not handle
1673         LFUN_GOTO_PARAGRAPH here.
1674
1675 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1676
1677         * text3.C (dispatch): size() -> depth()
1678
1679         * text2.C: remove some debug output
1680
1681         * paragraph.C: ws changes only
1682
1683         * lyxfunc.C (getStatus): size() -> depth()
1684
1685         * dociterator.h (clear, push_back, pop_back, internalData,
1686         operator[], resize, empty): new functions
1687         Make StableDocIterator and operator== be friends. Don't inherit
1688         from std::vector use a privat class variable slices_ instead.
1689         Modify to fit.
1690
1691         * dociterator.C: update because of not inheriting from std::vector
1692         anymore. Call explictly to slices_ instead. Use depth() instead of
1693         size() and top() instead of back()
1694
1695         * cursor.C: chagne size() -> depth and back() -> top(). Also
1696         remove some direct operator[](i) calls in favour of foo[i]
1697         (getFont): remove some dead code
1698
1699         * bufferview_funcs.C (coordOffset): size() -> depth()
1700
1701         * buffer.C: ws changes only
1702
1703         * CutAndPaste.C (eraseSelection): back() -> top()
1704
1705         * BufferView_pimpl.C (selectionRequested): back() -> top()
1706
1707         * BufferView.C (setCursor): size() -> depth()
1708
1709 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1710
1711         * text3.C (cursorPrevious): return true if depm changed something
1712         (cursorNext): ditto
1713         (dispatch): rename sl to oldTopSlice, remove moving use the new
1714         NoUpdate func attrib instead. Make sure that needsUpdate is set
1715         for function that have NoUpdate, but where depm might have changed
1716         the buffer anyway.
1717
1718         * text2.C (cursorLeft): make us return true if depm changed
1719         something
1720         (cursorRight): ditto
1721         (cursorUpParagraph): ditto
1722         (curosrDownParagraph): ditto
1723         (cursorUp, cursorDown): ditto, make sure to read comments in code
1724         (deleteEmptyParagraphMechanism): remove an assert, also return
1725         true if just a single char was deleted.
1726
1727         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1728         cursor that we modify, to avoid modifying an active cursor before
1729         we call setCursor. This allows depm to run. Also return true if
1730         depm deleted something.
1731
1732         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1733         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1734         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1735         something was changed in the buffer because of them (ie. depm run)
1736
1737         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1738         debug messages. Make update by default be false. Make sure that
1739         the result of update is retained throught several calls down to
1740         dispatch.
1741
1742         * LyXAction.h: add a new func_attrib: NoUpdate
1743
1744         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1745         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1746         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1747         and LFUN_WORDLEFT
1748         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1749
1750 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1751
1752         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1753         bv_->owner(), bv_->buffer() by direct references to the private
1754         members.
1755         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1756         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1757         (fitCursor): center() is in BufferView::Pimpl.
1758         (getStatus, trackChanges, dispatch): no need for a temporary buf
1759         variable
1760         (fitCursor, workAreaDispatch): use workarea().workheight()
1761
1762 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1763
1764         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1765
1766 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1767
1768         * buffer.C: format up to 241.
1769         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1770         break if pasting into ERT
1771         * lyxfunc.C (getStatus): suppress mathpanel and
1772         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1773
1774 2005-02-01  Angus Leeming  <leeming@lyx.org>
1775
1776         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1777
1778 2005-02-01  Angus Leeming  <leeming@lyx.org>
1779
1780         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1781         calling fs::is_directory().
1782
1783 2005-01-31  Angus Leeming  <leeming@lyx.org>
1784
1785         * lyx_main.C (priv_exec): specify explicitly the relative location
1786         of the top level build directory when run in-place.
1787
1788 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1789
1790         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1791         LyXText containing the cursor, not the top-level one.
1792
1793         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1794         true.
1795         (insertStringAsLines): rename par to pit; use temporary variable
1796         par to hold a Paragraph; do not store par.layout() in a variable,
1797         since the pointer may die when breaking paragraphs; pass pars to
1798         breakParagraph() instead of Buffer::paragraphs().
1799
1800 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1801
1802         * lyxlex_pimpl.h: #include <fstream>.
1803
1804         * BufferView.[Ch] (getLyXText): add a const version.
1805
1806         * BufferView_pimpl.C: add debug aids.
1807
1808         * RowList_fwd.h:
1809         * buffer.h:
1810         * lyxrow.h:
1811         * paragraph_funcs.h: add commentary explaining what the class does.
1812
1813
1814         * coordcache.[Ch]: add lots of commentary.
1815         (startUpdating, doneUpdating): debug aids.
1816         (arrays, insets, parPos, getParPos): accessors to private data.
1817
1818         * cursor_slice.[Ch] (text): add a const version.
1819         * dociterator.[Ch] (text, innerText): add const versions.
1820
1821         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1822         bool.
1823
1824         * paragraph.C (getRow, pos2ros): add asserts.
1825
1826         * paragraph.h: add commentary. Lots of.
1827
1828         * paragraph.[Ch] (metrucs, draw): removed.
1829
1830         * cursor.C:
1831         * rowpainter.[Ch]: const-correct changes.
1832
1833         * text.C: various obvious clean-ups. Removal of ancient cruft.
1834         Bug fixes, even.
1835
1836 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1837
1838         * vc-backend.C (find_file): rewrite to use boost.filesystem
1839         (scanMaster): ditto
1840
1841         * main.C (main): set default name check for boost.filesystem to
1842         no check
1843
1844         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1845         (open): ditto
1846         (doImport): ditto
1847         (actOnUpdatedPrefs): ditto
1848
1849         * lyx_main.C (init): rewrite to use boost.filesystem
1850         (queryUserLyXDir): ditto
1851
1852         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1853         (getContentsOfAsciiFile): ditto
1854
1855         * lastfiles.C (readFile): rewrite to use boost.filesystem
1856
1857         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1858
1859         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1860         (loadLyXFile): ditto
1861
1862         * buffer.C (Buffer): adjust for destroydir
1863         (getLogName): rewrite to use boost.filesystem
1864         (setFileName): ditto
1865         (save): use fs::copy_file (from fs_extras)
1866
1867         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1868
1869         * LaTeX.C (run): rewrite to use boost.filesystem
1870         (scanAuxFiles): ditto
1871         (handleFoundFile): ditto
1872
1873 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1874
1875         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1876
1877         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1878
1879 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1880
1881         * lyxlayout.[Ch]: change some vars from float to double
1882
1883         * buffer.C (readFile): make a local var const
1884
1885         * Several files: use convert<> instead of atoi,strToXXX and friends
1886
1887 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1888
1889         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1890         holds the contents of packages.lst. New functions getAvailable
1891         and isAvailable to parse and check that list, resp.
1892
1893         * LyXAction.C:
1894         * lfuns.h:
1895         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1896
1897         * bufferparams.[Ch]: new param output_changes.
1898
1899         * Buffer.C: increase file format to 240.
1900         Use output_changes and isVailable.
1901
1902         * changes.[Ch]:
1903         * paragraph.C:
1904         * paragraph_pimpl.C: Use output_changes and isVailable.
1905
1906 2005-01-23  Angus Leeming  <leeming@lyx.org>
1907
1908         * output_latex.C: #include "insetbibitem.h", rather than
1909         forward declare function bibitemWidest.
1910
1911 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1912
1913         * lyx_main.C (init): make it compile on the Mac.
1914
1915 2005-01-20  Angus Leeming  <leeming@lyx.org>
1916
1917         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1918         (setLyXMisc): (char string literal) != (char string literal) is
1919         performing a comparison on the addresses. Convert one operand
1920         explicitly to string to guarantee expected behaviour.
1921         From MSVC warning.
1922
1923 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1924
1925         * buffer.C:
1926         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1927
1928         * output_plaintext.C: remove unneeded #include gzstream.h.
1929
1930 2005-01-20  Angus Leeming  <leeming@lyx.org>
1931
1932         * SpellBase.h: rename some of the elements of the Result enum.
1933
1934         * aspell_local.h:
1935         * ispell.h:
1936         * pspell.h:
1937         * aspell.C (check):
1938         * ispell.C (check):
1939         * pspell.C (check): ditto
1940
1941 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1942
1943         * buffer.C: add #include <fstream>.
1944
1945         * lyx_main.C (init): Compile fix.
1946
1947         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1948
1949 2005-01-20  Angus Leeming  <leeming@lyx.org>
1950
1951         * mover.h: change commentary to reflect the changed meaning of
1952         the $$s placeholder.
1953
1954 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1955
1956         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1957
1958         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1959
1960 2005-01-20  Angus Leeming  <leeming@lyx.org>
1961
1962         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1963         printing diagnostic data by not dereferecing an iterator past the
1964         end.
1965
1966 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1967
1968         * buffer.C (readHeader): use "&&" rather than "and".
1969
1970         * lyxserver.h (inPipeName, outPipeName): make these const.
1971
1972 2005-01-19  Angus Leeming  <leeming@lyx.org>
1973
1974         * lyx_main.C (error_handler, init): protect SIGHUP with
1975         #ifdef SIGHUP guards.
1976
1977 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1978
1979         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1980
1981 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1982
1983         * text.C (setHeightOfRow): add a margin at the top and bottom of
1984         the document (bug 1761)
1985
1986 2005-01-17  Angus Leeming  <leeming@lyx.org>
1987
1988         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1989         with "python ". Workaround for a brain-dead Windows.
1990
1991 2005-01-16  Angus Leeming  <leeming@lyx.org>
1992
1993         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1994         for MacOSX and Windows to use prependEnvPath.
1995         Strip out the hard-coded block to add elements to the PATH for
1996         MacOSX and replace it with a call to prependEnvPath using the
1997         contents of LyXRC::path_prefix.
1998         (queryUserLyXDir): strip out the code to run reconfigure, instead
1999         returning a boolean indicating the necessity to do so.
2000         (reconfigureUserLyXDir): contains the code to reconfigure the
2001         user support directory. Is now called after the various LyXRC data
2002         files have been read.
2003
2004         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
2005
2006 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2007
2008         * converter.[Ch] (convert): take a new parameter try_default. Use
2009         a default converter (imagemagick) if try_default is true.
2010
2011 2005-01-13  Angus Leeming  <leeming@lyx.org>
2012
2013         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
2014         os::cygwin_path_fix.
2015         (write): output LyXRC::cygwin_path_fix as necessary.
2016
2017 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
2018
2019         * lyxrc.h:
2020         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2021
2022 2005-01-12  Angus Leeming  <leeming@lyx.org>
2023
2024         * lyx_main.C (init): set the PATH variable to include the
2025         directory containing the LyX binary when running on Mac or Windows.
2026
2027 2005-01-12  Angus Leeming  <leeming@lyx.org>
2028
2029         * lyx_main.C (init): remove cruft that purports to set the locale
2030         dir. It doesn't and is not needed anyway.
2031
2032 2005-01-10  Angus Leeming  <leeming@lyx.org>
2033
2034         * Makefile.am: remove the lyx_main.C special casing.
2035
2036         * BufferView_pimpl.C:
2037         * bufferlist.C:
2038         * exporter.C:
2039         * lyx_cb.C:
2040         * lyx_main.C:
2041         * lyxfunc.C:
2042         * messages.C: use support/package.h to provide the paths to the
2043         various directories used by LyX.
2044
2045 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2046
2047         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2048         layout if pasting into an empty paragraph)
2049
2050 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * tex-accent.C: add <string>
2053
2054 2005-01-06  José Matos  <jamatos@lyx.org>
2055
2056         * ParagraphParameters.C (write): put every parameter in its own line.
2057         * paragraph.C (write): reduce number of consecutive empty lines exported.
2058         * buffer.C (LYX_FORMAT): increase file format to 239.
2059
2060 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2061
2062         * everywhere: change support/tostr.h -> support/convert.h
2063
2064         * tabular.C: make all write_attributes templates, tostr -> convert
2065
2066         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2067         (emptyTag): and -> &&, and fix type for ret from getChar
2068         (getFirstWord): fix type for ret from getChar
2069         (onlyText): and -> &&
2070         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2071         getChar
2072
2073         * toc.C (goTo, action):
2074         * text3.C (dispatch):
2075         * text.C (currentState):
2076         * tex-accent.C (DoAccent):
2077         * sgml.C:
2078         * lyxrc.C:
2079         * lyxfunc.C (menuNew):
2080         * lyxfinc.C (replace):
2081         * counters.C (laberItem):
2082         * bufferview_funcs.C (font2string):
2083         * bufferparams.C (writeFile):
2084         * buffer.C (readFile):
2085         * Spacing.C (set):
2086         * MenuBackend.C: tostr -> convert
2087
2088         * LaTeX.C (runMessage): fix format
2089         (scanAuxFiles): tostr -> convert
2090
2091         * BufferView_pimpl.C (savePosition): fix format
2092         (restorePosition): ditto
2093         (dispatch): ditto
2094
2095 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2096
2097         * Spacing.[Ch]: New method getValueAsString().
2098
2099         * Spacing.[Ch]:
2100         * bufferparams.C:
2101         * ParagraphParameters.C:
2102         * lyxlayout.C:
2103         * text.C:
2104         * text3.C: store/read spacing value as string.
2105
2106         * rowpainter.C: change float value (spacing_val) to double.
2107
2108         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2109         broken custom document spacing).
2110
2111 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2112
2113         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2114         namespace, also more use of temp references and const
2115
2116         * cursor.[Ch] (getStatus): move to lyxfunc.C
2117
2118         * bufferparams.C: reformat slightly
2119
2120         * bufferview_funcs.C (font2string): constify arg
2121
2122         * changes.C:
2123         * converter.C:
2124         * counters.C:
2125         * bufferlist.C:
2126         * buffer_funcs.C: (many funcs): constify arg on function
2127         definitions, also make more local vars const, also add ASSERTS on
2128         pointer args.
2129
2130         * buffer.C (LYX_FORMAT): put const in correct place
2131         (many funcs): constify arg on function definitions, also make
2132         more local vars const
2133
2134         * aspell_local.h: remove "struct" from typdef setup
2135
2136         * aspell.C (check): make word_ok const
2137         (nextMiss): simplify slightly
2138         (error): ditto
2139
2140 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2141
2142         * lyxrc.[Ch]: store all float values as strings.
2143         use int (not float) for lyxrc.dpi.
2144
2145 2005-01-04  Angus Leeming  <leeming@lyx.org>
2146
2147         * lyx_cb.C (Reconfigure):
2148         * lyx_main.C (queryUserLyXDir):
2149         to run the <system_lyxdir>/configure correctly on Windows, prefix
2150         the path to the script with "sh " when generating the string that
2151         is passed to system().
2152
2153 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2154
2155         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2156
2157 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2158
2159         * lyxlength.C (asLatexString): get rid of setprecision
2160
2161 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2162
2163         * text2.C (setLayout): remove unused variable endpit.
2164         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2165
2166         * paragraph.C (onlyText): remove unused variable style.
2167
2168         * cursor.C (bruteFind): remove unused variables beg and end.
2169
2170         * Makefile.am (dist_noinset_DATA): not needed anymore
2171
2172         * cheaders/*: remove.
2173
2174 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2175
2176         * text3.C: fix LFUN_MATH_MODE.
2177
2178 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2179
2180         * buffer_funcs.C (countWords): new function. Counts words between
2181         two iterators.
2182
2183         * BufferView_pimpl.C (getStatus, dispatch): handle
2184         LFUN_WORDS_COUNT.
2185
2186         * LyXAction.C (init):
2187         * lfuns.h: add LFUN_WORDS_COUNT.
2188
2189 2004-12-19  Angus Leeming  <leeming@lyx.org>
2190
2191         * buffer.C (save): s/slashify_path/internal_path/.
2192
2193 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2194
2195         * lyxfind.C (findChange): do not search for end of pars, because
2196         the change tracker cannot handle this (fixes bug 1719).
2197
2198 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2199
2200         * paragraph.[Ch] (autoBreakRows): remove
2201
2202         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2203
2204         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2205         avoid using the paragraph one
2206
2207         * text2.C (LyXText, insertStringAsLines): adjust
2208
2209 2004-12-16  Angus Leeming  <leeming@lyx.org>
2210
2211         * bufferlist.C:
2212         * lyx_main.C:
2213         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2214
2215 2004-12-14  Angus Leeming  <leeming@lyx.org>
2216
2217         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2218
2219         * bufferlist.C (emergencyWrite):
2220         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2221         GetEnvPath("HOME").
2222
2223 2004-12-14  Angus Leeming  <leeming@lyx.org>
2224
2225         * main.C: (main): no longer pass pointers to os::init.
2226
2227 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2228
2229         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2230         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2231
2232 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2233
2234         * lyxfunc.C:
2235         * text3.C: remove selection_possible global flag
2236
2237 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2238
2239         * text2.C (getSelectionSpan): remove
2240         (changeDepth, changeDepthAllowed): adjust
2241
2242 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2243
2244         * Makefile.am (BOOST_LIBS): use boost variables
2245
2246 2004-12-03  José Matos  <jamatos@lyx.org>
2247
2248         * buffer.C: format up to 238.
2249
2250 2004-12-03  José Matos  <jamatos@lyx.org>
2251
2252         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2253
2254 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2255
2256         * cursor.C (goUpDown): remove call to idxUpDown2
2257
2258 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2259
2260         * tabular.[Ch]: use size_t-like types for cell, row and column
2261         indices
2262
2263 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         * lyxfunc.C (getStatus): do not lose previous information when
2266         calling BufferView::getStatus; do not set a default "Command
2267         disabled" message at the beginning, but just before returning.
2268
2269 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2270
2271         * cursor.h (getStatus): add better comment from src/cursor.C
2272
2273 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2274
2275         * text3.C (getStatus): return false when the lfun is not handled
2276
2277 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2278
2279         * broken_headers.h: remove
2280
2281         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2282
2283 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2284
2285         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2286         offset_ref accessors
2287
2288         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2289         top_y_, merge fitcursor with update
2290         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2291         coord scheme
2292         (metrics): introduce
2293         (workAreaDispatch): adapt to new coord scheme
2294         (redoCurrentBuffer): remove
2295
2296         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2297
2298         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2299         CurStatus enum.
2300
2301         * coordcache.[Ch]: add paragraph cache and helpers
2302
2303         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2304         adjust everywhere
2305
2306         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2307         (targetX, setTargetX): introduce
2308
2309         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2310         baseline -> ascent, as the rest of lyx
2311
2312         * lyxtext.h: remove redoParagraphs, updateParPositions,
2313         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2314         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2315         have ascent/descent (ascent is ascent of first par)
2316
2317         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2318         step of BufferView
2319
2320         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2321
2322         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2323
2324         * pariterator.C: fix infinite loop introduced in par->pit renaming
2325
2326         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2327         in insets and LyXText, draw two off-screen paragraphs using
2328         NullPainter, and adapt to new coord scheme
2329
2330         * text.C:
2331         * text2.C:
2332         * text3.C: adapt lfun handlers to the new coord scheme, which
2333         means: there's only guaranteed coord information for onscreen pars
2334         plus one above and one below. This implies that one can do search
2335         from y coordinates in the range [-1,workHeight]
2336
2337 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2338
2339         * rename a lot of InsetOld to InsetBase
2340
2341 2004-11-25  Angus Leeming  <leeming@lyx.org>
2342
2343         * BufferView_pimpl.C:
2344         * lyx_cb.C:
2345         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2346
2347 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2348
2349         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2350         call BufferView::getStatus if LCursor::getStatus did nothing
2351         (setStatusMessage, getStatusMessage): removed.
2352
2353         * FuncStatus.C (message): new methods. Used to provide an error
2354         message indicating why a command is disabled.
2355         (clear, |=, FuncStatus): update for message.
2356
2357 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2358
2359         * lyxfunc.C (dispatch): always call sendDispatchMessage
2360
2361 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2362
2363         * BufferView.C:
2364         * BufferView_pimpl.C:
2365         * CutAndPaste.C:
2366         * FontIterator.C:
2367         * buffer.C:
2368         * cursor.C:
2369         * cursor_slice.[Ch]:
2370         * dociterator.[Ch]:
2371         * lyxfind.C:
2372         * paragraph_funcs.C:
2373         * pariterator.C:
2374         * rowpainter.C:
2375         * text.C:
2376         * text2.C:
2377         * text3.C:
2378         * undo.C: par->pit renaming
2379
2380 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2381
2382         * tabular.C (cellstruct): use initialization, store a shared_ptr
2383         to insettext instead of the insettext directly, adjust to fit.
2384         (operator=):  new function
2385         (swap): new function
2386         (rowstruct): use initialization
2387         (columnstruct): use initialization
2388         (ltType): use initialization
2389
2390
2391         * lyxlength.h (swap): new function
2392
2393         * LColor.[Ch] (operator=): use the common semantics
2394
2395 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2396
2397         * lyxfind.C (findNextChange): update the bufferview after setting
2398         the selection.
2399
2400 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2401
2402         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2403         number of InsetOptArgs has already been inserted.
2404
2405         * output_latex.C (latexOptArgInsets): new method. This outputs all
2406         the optarg insets, up to the limit defined in the layout file.
2407         (optArgInset): removed
2408         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2409
2410 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2411
2412         * paragraph.C (isLetter): remove special spellchecker-related
2413         code; return true also for digits
2414         (isWord, isKomma): remove
2415
2416         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2417         * lyxfind.C (MatchString()): use isLetter instead of isWord
2418
2419 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2420
2421         * pariterator.h (operatir=): comment out un-implemented member
2422         function.
2423
2424         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2425         static cast.
2426
2427 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2428
2429         * lyxfont.h: include LColor.h to satisfy concept checks.
2430
2431 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2432
2433         * pariterator.h: add typdefs for value_type, difference_type,
2434         pointer and reference to satisfy concept checks. Also add default
2435         constructor for same reason.
2436
2437         * pariterator.C (operator++): add post-increment operator to
2438         satisfy concept checks.
2439
2440         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2441         checks.
2442
2443         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2444
2445         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2446         checks. Also rename base_type to BaseType to follow naming
2447         standard better.
2448
2449         * FloatList.h: include Floating.h to satisfy concept checks.
2450
2451 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2452
2453         * lyxfunc.C (getStatus): when the origin of the request is menu or
2454         toolbar, and the LyXView does not have focus, do as if there was
2455         no buffer (bug 1720)
2456
2457         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2458         FuncRequest to individual entries of LFUN_SEQUENCE
2459
2460 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2461
2462         * output_latex.C (TeXOnePar): override runparams.moving_arg
2463         according to the needprotect value of the current paragraph (bug
2464         1739)
2465
2466         * paragraph.C (simpleTeXOnePar): no need to override
2467         runparams.moving_args here
2468
2469 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2470
2471         * vspace.C: fix off-by-one-error, related to fix #1682
2472
2473 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2474
2475         * lengthcommon.C: a more general fix for bug 1682
2476
2477 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2478
2479         * text.C (backspace): fix crash
2480
2481 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2482
2483         * format.[Ch] (getFormatFromFile): new method
2484         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2485
2486 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2487
2488         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2489
2490 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2491
2492         * lyxfunc.C (dispatch): remove the verbose argument
2493         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2494         instead
2495
2496         * kbmap.C (defkey): set the origin of func to KEYBOARD
2497
2498         * MenuBackend.C (MenuItem):
2499         * ToolbarBackend.C (add): set the origin of func to UI
2500
2501         * funcrequest.[Ch]: add origin member, which indicates which part
2502         of LyX requests an action
2503
2504 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2505
2506         * converter.C (move): don't lie in the error message
2507         * converter.h (isReachable, move): document
2508
2509 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2510
2511         * buffer.C: remove unused using lyx::support::atoi
2512         * paragraph_funcs.C: ditto
2513
2514 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2515
2516         * bufferlist.C (exists): use bind and equal_to instead of
2517         compare_memfun
2518         (getBuffer): ditto
2519         * lyxtextclasslist.C (NumberOfClass): ditto
2520
2521         * cursor.C (insert): use for_each instead of explicit for loop
2522
2523         * bufferlist.C (getFileNames): use std::transform and
2524         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2525
2526         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2527         for loop
2528
2529         * buffer.C (changeLanguage): use for_each instead of explicit for
2530         loop
2531         (hasParWithID): implement using getParFromID
2532
2533         * LaTeXFeatures.C: ws change only
2534
2535         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2536         to cleanup a bit.
2537
2538         * BufferView_pimpl.C (trackChanges): use for_each instead of
2539         expilicit for loop
2540
2541 2004-11-04  André Pönitz  <poenitz@gmx.net>
2542
2543         * undo.h:
2544         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2545
2546         * dociterator.C (asDocIterator): use hard assert again.
2547
2548 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2549
2550         * lyxlength.C (asLatexString): rewrite so that it does not use
2551         snprintf anymore
2552
2553 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2554
2555         * text3.C (specialChar, dispatch): make sure cursor moves to the
2556         right after inserting an inset
2557
2558 2004-11-02  José Matos  <jamatos@lyx.org>
2559
2560         * output_docbook.C (docbook):
2561         * paragraph.C (getID):
2562         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2563         garantee that the output is always legal.
2564
2565         * tabular.C (docbook):
2566         * outputprams.[Ch]: remove mixed contents.
2567
2568 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2569
2570         * text2.C (setCounter): prevent endless loop
2571
2572 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2573
2574         * exporter.C (copyFile): use the mover instead of support::copy()
2575         * exporter.C (Export): pass format and latex name to copyFile()
2576         * exporter.h (addExternalFile): document
2577         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2578
2579 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2580
2581         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2582
2583 2004-10-30  José Matos  <jamatos@lyx.org>
2584
2585         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2586         text and no inset or font change. This allows to use CDATA
2587         sections just for the whole paragraph.
2588
2589 2004-10-30  José Matos  <jamatos@lyx.org>
2590
2591         * paragraph.C (getFirstWord): remove unused variable.
2592
2593 2004-10-30  José Matos  <jamatos@lyx.org>
2594
2595         * paragraph.C (getFirstWord): the content should always be escaped
2596         there.
2597         (simpleDocBookOnePar):
2598         * output_docbook.C (makeEnvironment): replace reference to CDATA
2599         to style pass_thru.
2600
2601 2004-10-30  José Matos  <jamatos@lyx.org>
2602
2603         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2604
2605 2004-10-30  José Matos  <jamatos@lyx.org>
2606
2607         * output_docbook.C (makeParagraphs):
2608         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2609         standard paragraph has only a given type of content drop the wrapper.
2610
2611 2004-10-29  José Matos  <jamatos@lyx.org>
2612
2613         * output_docbook.C (makeEnvironment):
2614         * sgml.C (openTag):
2615         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2616
2617 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2618
2619         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2620         (cleanID): sanitize any id.
2621
2622 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2623
2624         * buffer.C, lyxlex_pimpl.C:
2625         * lyxlex_pimpl.C (setFile):
2626         s/getExtFromContents/getFormatFromContents/
2627
2628 2004-10-28  José Matos  <jamatos@lyx.org>
2629
2630         * output_docbook.C (makeEnvironment): move id to broadest possible
2631         scope.
2632
2633         * sgml.C (openTag): apply substitution of <> for all attributes.
2634
2635 2004-10-28  José Matos  <jamatos@lyx.org>
2636
2637         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2638         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2639         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2640
2641         * sgml.[Ch]: new version for open and closeTag for paragraph and
2642         for strings. Now they handle the ids of paragraphs.
2643
2644 2004-10-26  Angus Leeming  <leeming@lyx.org>
2645
2646         * Makefile.am: add mover.[Ch].
2647
2648         * converter.C (convert, move): use the new Movers to move external
2649         files to the temp directory.
2650
2651         * lyx_main.C (init): ensure that the global system_movers data
2652         is initialised.
2653
2654         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2655         preferences file.
2656
2657         * mover.[Ch]: new files, defining a Mover as a utility to move an
2658         external file between directories and, if necessary, manipulate this
2659         file using a helper script.
2660
2661 2004-10-25  José Matos  <jamatos@lyx.org>
2662
2663         * output_docbook.C (makeCommand): merge two if's that tested the
2664         same condition.
2665
2666 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2667
2668         * sgml.C (escapeString): fix warning in a better way
2669
2670 2004-10-25  José Matos  <jamatos@lyx.org>
2671
2672         * sgml.C (escapeString): import the require boosts header file for
2673         tie, and avoid a signed unsigned comparison.
2674
2675 2004-10-25  José Matos  <jamatos@lyx.org>
2676
2677         * sgml.h: add #include <string>
2678
2679 2004-10-25  José Matos  <jamatos@lyx.org>
2680
2681         * sgml.[Ch] (escapeString): new function to escape all the string.
2682
2683 2004-10-24  José Matos  <jamatos@lyx.org>
2684
2685         * paragraph.[Ch] (getFirstWord): new function to get the first
2686         word. Useful for description.
2687         (simpleDocBookOnePar): remove depth argument, add another that
2688         says where to start the paragraph.
2689
2690         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2691         use the new functions to fix cleanly the support for descriptions.
2692
2693 2004-10-24  José Matos  <jamatos@lyx.org>
2694
2695         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2696         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2697         * output_linuxdoc.C (linuxdocParagraphs):
2698         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2699         add buffer as argument.
2700
2701 2004-10-24  José Matos  <jamatos@lyx.org>
2702
2703         * output_docbook.C (makeEnvironment, searchEnvironment): place
2704         CDATA inside paragraphs and fix scope for listitems.
2705
2706 2004-10-24  José Matos  <jamatos@lyx.org>
2707
2708         * output_docbook.C: remove using statement for stack.
2709
2710 2004-10-23  José Matos  <jamatos@lyx.org>
2711
2712         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2713         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2714         docbook. The new scheme is recursive and makes use of iterators, the
2715         same as latex export works.
2716         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2717         directly with the paragraph contents. This code was moved up to
2718         output_docbook.C (docbookParagraphs).
2719         * sgml.C (openTag, closeTag): removed unneeded newlines.
2720         (closeEnvTags) removed.
2721
2722 2004-10-23  André Pönitz  <poenitz@gmx.net>
2723
2724         * undo.C (textUndoOrRedo):
2725         * dociterator.C (asDocIterator): work around crash
2726
2727         * cursor.C (getStatus): replace ASSERT by more verbose error message
2728           and manual correction of the problem. Should increase stability
2729           while providing more sensible information.
2730
2731 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2732
2733         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2734
2735         * bufferlist.C (previous, next): new methods
2736
2737         * lfuns.h:
2738         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2739
2740 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2741
2742         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2743         entities to preamble.
2744
2745 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2746
2747         * messages.C (Pimpl): strip off translation context information
2748
2749 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2750
2751         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2752         the cursor is correct (bug 1694)
2753
2754 2004-10-13  José Matos  <jamatos@lyx.org>
2755
2756         * output_docbook.C (docbookParagraphs): fix closing tags in the
2757         end of the document.
2758
2759 2004-10-09  José Matos  <jamatos@lyx.org>
2760
2761         * buffer.C: format up to 237.
2762         * bufferparams.C (write): use tostr to convert booleans to strings.
2763
2764 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2765
2766         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2767
2768 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2769
2770         * LaTeX.C: implement use of babel language in xindy.
2771
2772 2004-10-05  José Matos  <jamatos@lyx.org>
2773
2774         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2775         Add new translators to help reading and writing the lyx file.
2776
2777 2004-10-05  José Matos  <jamatos@lyx.org>
2778
2779         * ParagraphParameters.C (read):
2780         * text.C (readParToken): replace nexToken by more appropriate lex
2781         methods.
2782
2783 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2784
2785         * LaTeX.C (runMakeIndex):
2786         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2787         (usually 'makeindex') configurable.
2788
2789         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2790         with a variable rather than with a number.
2791
2792 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2793
2794         * output_latex.C (TeXOnePar): make sure font setting is the first
2795         thing that gets output (and the last at the end). Should fix bug
2796         1404.
2797
2798 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2799
2800         * pch.h: use proper signal include
2801
2802         * LaTeX.h: Use preferred calling of Boost.Signal
2803         * buffer.h: ditto
2804
2805 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2806
2807         * pch.h: dont include <boost/function/function0.hpp>
2808
2809         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2810
2811         * paragraph_pimpl.h: remove usage of ShareContainer
2812
2813         * paragraph_pimpl.C: remove initialization of ShareContainer.
2814
2815 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2816
2817         Fix bug #1666
2818
2819         * BufferView.C (putSelectionAt): change the semantics when
2820         backwards == true: now, this just swaps cursor and anchor wrt the
2821         forward case
2822
2823         * BufferView.h (putSelectionAt): add some documentation
2824
2825         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2826         make sure backwardChar is done at least once (to avoid getting
2827         stuck)
2828         (findNextChange): use putSelectionAt in the forward direction
2829         (operator()): use Paragraph::isWord
2830
2831 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2832
2833         * Spacing.C (set): c_str fix
2834
2835 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2836
2837         * lyx_cb.C (Reconfigure): quote the name of configure script in
2838         case it contains spaces
2839
2840 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2841
2842         * client: new dir
2843
2844         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2845         (BOOST_LIBS): use top_buildir when looking for the file
2846
2847 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2848
2849         * pch.h: do not use include boost/format.hpp, multiple symbols
2850                 will result (gcc bug)
2851
2852
2853 2004-08-23  José Matos  <jamatos@lyx.org>
2854
2855         * bufferparams.C (readToken): fix reading of the author field.
2856
2857 2004-08-20  José Matos  <jamatos@lyx.org>
2858
2859         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2860
2861 2004-08-20  José Matos  <jamatos@lyx.org>
2862
2863         * lyxlex.[Ch] (findToken): remove function.
2864
2865         * ParagraphParameters.C (findToken):
2866         * bufferparams.C (findToken): replace call for previous function
2867         with local copy. This local function has one more argument, the
2868         read string argument.
2869
2870 2004-08-16  José Matos  <jamatos@lyx.org>
2871
2872         * ParagraphParameters.C (write):
2873         * Spacing.C (writeFile):
2874         * bufferparams.C (writeLaTeX):
2875         * lyx_cb.C (Reconfigure):
2876         * paragraph.C (write):
2877         * tabular.C (write): remove unnecessary space at end of line.
2878
2879
2880 2004-08-16  José Matos  <jamatos@lyx.org>
2881
2882         * text.C (readParagraph): remove debug message.
2883
2884 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2885
2886         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2887         crash
2888
2889         * output_plaintext.C (asciiParagraph): set depth correctly
2890
2891         * outputparams.h: add member depth
2892
2893         * paragraph_funcs.C (ownerPar): remove.
2894
2895         * text2.C (setCounter): remove first_pit; comment out some
2896         non-working code that uses ownerPar
2897
2898         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2899         uses ownerPar
2900
2901 2004-08-16  José Matos  <jamatos@lyx.org>
2902
2903         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2904         For the same level of importance use the same chanel to report problems.
2905         (read): add code to deal with \begin_body and \end_body.
2906
2907
2908 2004-08-15  José Matos  <jamatos@lyx.org>
2909
2910         * lyxlex.C (getString): fix comment, buffer::readBody is now
2911         buffer:readDocument.
2912
2913         * tex-strings.C (string_papersize): Default -> default,
2914         Custom -> custom, for consistency with other options.
2915
2916 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2917
2918         * pch.h: new file
2919
2920         * Makefile.am: support pch
2921
2922 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2923
2924         * text.C (readParToken): remove the static LyXFont variable and
2925         pass it as a parameter instead. This fixes a nasty bug where an
2926         inset will be inserted with a bad font in some situations
2927         (readParagraph): adapt
2928
2929         * text2.C (setCounter): reduce number of calls to pars_[pit]
2930
2931         * text.C (singleWidth): add an assert, fix a test
2932
2933         * rowpainter.C (paintText): reduce number of calls to singleWidth
2934
2935         * paragraph.C (isHfill):
2936         (isNewline): ws only
2937
2938 2004-08-14  André Pönitz  <poenitz@gmx.net>
2939
2940         * text.C:
2941         * text2.C:
2942         * rowpainter.C:
2943         * lyxtext.h (several functions): use a Paragraph & argument
2944         instead of par_type
2945
2946 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2947
2948         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2949
2950         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2951
2952         * text.C (singleWidth): remove useless test
2953
2954 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2955
2956         * tabular.h: remove bogus comments
2957
2958         * tabular.C (getDescentOfRow):
2959         (isPartOfMultiColumn): add assertions
2960
2961         * lyxlength.C (inPixels): remove #warning
2962
2963 2004-08-14  André Pönitz  <poenitz@gmx.net>
2964
2965         * paragraph.h: inline getChar()
2966
2967         * BufferView.h: remove unused declarations
2968
2969 2004-08-14  José Matos  <jamatos@lyx.org>
2970
2971         * Buffer.[Ch] (readDocument): new name for old readBody.
2972         * Buffer.C: new file format, new keywords: \begin_document,
2973         \begin_header, \begin_body, \end_body.
2974
2975         * bufferparams.C (readToken): replace all calls to lex.nextToken
2976         by lex.next(). Do the same to eatLine except where really needed.
2977
2978         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2979         line when writing to the lyx file.
2980
2981         * output_plaintext.C (asciiParagraph): fix Bibliography style
2982         handling.
2983
2984         * text.C (read): fix end of file handling.
2985
2986 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2987
2988         * MenuBackend.C (Menu::operator[]): new method to access
2989         individual menu items
2990         (Menu::hasFunc): new method. search for an item that corresponds
2991         to a given func
2992         (MenuBackend::specialMenu): new method
2993         (MenuBackend::expand): if a special menu has been set, skip
2994         entries whose func() appears in this menu
2995
2996 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2997
2998         * text3.C: use Debug::DEBUG a bit more
2999
3000         * text.C (leftMargin): try to simplify a tiny bit change var x to
3001         l_margin. Dont output the wide margins always.
3002         (rightMargin): no margin in inner texts
3003
3004         * rowpainter.h (nestMargin): new func
3005         (changebarMargin): new func
3006         (rightMargin): new func
3007
3008         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
3009         now functions.
3010         (paintLast): ditto
3011
3012         * factory.C (createInset): modify setDrawFrame
3013
3014         * cursor.C: use Debug::DEBUG a bit more
3015
3016 2004-08-14  André Pönitz  <poenitz@gmx.net>
3017
3018         * coordcache.[Ch]:
3019         * Makefile.am: new files to accomodate an 'external' (x,y)-position
3020         cache for all insets in (at least partially) visible (top-level)
3021         paragraphs.
3022
3023         * BufferView_pimpl.C: reset external coord cache before every update.
3024         This means the coord cache only contains valid entries.
3025
3026 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3027
3028         bug 1096
3029         * BufferView_pimpl.C (getInsetByCode): move function out of class
3030         and change in to a template in anon namespace. Also fix to do what
3031         suits us better.
3032
3033 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
3034
3035         bug 1305
3036         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3037         of char
3038         (breakParagraph): rename par to par_offset and use a local
3039         reference. Add code to keep the language over a rebreak.
3040         (breakParagraphConservative): rename par to par_offset, use a
3041         local reference
3042         (mergeParagraph): ditto
3043         (outerHook): ditto
3044         (isFirstInSequence): ditto
3045         (outerFont): rename pit to par_offset
3046
3047         * paragraph.C: ws change
3048         * paragraph.h: ditto
3049         * text3.C: ditto
3050         * text.C: ditto
3051
3052 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3053
3054         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3055         treatment for ']'
3056
3057         * paragraph.C (simpleTeXOnePar): when we have a \item with
3058         optional argument, enclose the argument with curly brackets (in
3059         case it contains a closing square bracket)
3060
3061         * text2.C (editXY):
3062         * text2.C (editXY):
3063         * text3.C (checkInsetHit): constify
3064
3065 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3066
3067         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3068         documents (bug 1629)
3069
3070 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3071
3072         Fix toggling of collapsable insets with the mouse (bug 1558)
3073
3074         * lyxfunc.C (dispatch): adapt to LCursor changes
3075
3076         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3077         make sure that dispatch is not invoked twice
3078
3079         * cursor.C (needsUpdate): new method
3080         (dispatch): return void
3081         (result): new method, to access the DispatchResult of the cursor.
3082
3083 2004-08-13  José Matos  <jamatos@lyx.org>
3084
3085         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3086
3087 2004-08-13  André Pönitz  <poenitz@gmx.net>
3088
3089         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3090
3091         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3092           multiple cells
3093
3094 2004-08-12  André Pönitz  <poenitz@gmx.net>
3095
3096         * text3.C: take out the 'cursor right' form insertInset and only
3097         do it in those places when it is really needed. Fixes crash on
3098         C-m...
3099
3100 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3101
3102         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3103
3104         * BufferView_pimpl.C (setBuffer): initialize the current font of
3105         the underlying LyXText
3106
3107 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3108
3109         * kbsequence.C (print): use UI native formatting for menu
3110         shortcuts
3111
3112         * text.C (insertChar): call Paragraph::insertChar with a font
3113         argument (cosmetic)
3114
3115         * paragraph.C (insertInset, insertChar): the version that takes a
3116         LyXFont argument is now a wrapper around the other one (the
3117         opposite used to be true).
3118
3119         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3120         argument. Font setting is done in Paragraph now.
3121
3122 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3123
3124         * outputparams.h: add new members intitle and lang.
3125
3126         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3127         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3128
3129 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3130
3131         * text3.C (dispatch): remove special handling of button 4 and 5,
3132         it is now taken care of in the frontend code.
3133
3134 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3135
3136         * Spacing.h: add <string> (STLPort compile fix)
3137
3138 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3139
3140         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3141
3142 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3143
3144         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3145         to bool.
3146
3147         * converter.C (showMessage): inherit from unary_function, make
3148         operator() const.
3149
3150         * buffer.C (writeFile): initialize retval
3151
3152         * InsetList.h: rename private variable list to list_
3153         * InsetList.[Ch]: adjust accordingly.
3154
3155 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3156
3157         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3158         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3159         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3160         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3161         * ParagraphParameters.C, LaTeXFeatures.C: replace
3162         "support/std_sstream.h" with <sstream>
3163
3164 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3165
3166         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3167         * lyxsocket.C (LyXServerSocket): ditto
3168         (serverCallback): ditto
3169
3170 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3171
3172         * LaTeXFeatures.C: check release date when loading jurabib.
3173
3174 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3175
3176         * lyxserver.C (startPipe): call register_socket_callback
3177         (endPipe): call unregister_socket_callback
3178
3179 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3180
3181         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3182         (LyXServerSocket): register the callback
3183         (LyXServerSocket): unregister the callback
3184         (fd): delete function
3185         (serverCallback): improve error checking and setup the callbacks.
3186         (dataCallback): change arg to fd.
3187         (writeln): new func (copied fro the client socket) used for server
3188         write to client.
3189         (LyXDataSocket): simplify
3190         (~LyXDataSocket): close ann unregiser callback
3191         (server): delete function
3192         (fd): delete function
3193         (readln): small changes, improve some std::string usage
3194         (writeln): constify a bit
3195
3196 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3197
3198         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3199         Qt frontend
3200
3201 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3202
3203         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3204         after it has been populated
3205
3206 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3207
3208         * text2.C (insertInset): move cursor when inserting inset.
3209
3210 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3211
3212         * kbmap.C (findbindings): a couple of new methods. returns a
3213         container of kb_sequence objects. The real work is done by the
3214         private recursive version
3215         (printbindings): uses findbindings to print out a bracketed list
3216         of bindings (renamed from findbinding).
3217
3218         * MenuBackend.C (binding): use kb_keymap::findbindings
3219
3220         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3221
3222 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3223
3224         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3225
3226 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3227
3228         * paragraph.C (isWord): return true on insets that report
3229         isLetter().
3230
3231         * text.C (getWord): use Paragraph::isWord to decide what is in a
3232         word and what is not; fix bug 1609.
3233
3234 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3235
3236         * tex-strings.C: add "none" to string_paperpackages[], fixes
3237         off-by-one-error in the paperpackage selection.
3238
3239         * lyxlex.[Ch]:
3240         * tex-strings.[Ch]: char const * string[n]
3241         -> char const * const string[]
3242
3243 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3244
3245         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3246         command, return early.
3247
3248 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3249
3250         * debug.h: add DEBUG to enum and fix size of ANY.
3251
3252         * debug.C: add support for Debug::DEBUG
3253         (showTags): cast errorTags.level to unsigned int
3254
3255         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3256         (redoCurrentBuffer): ditto
3257         (updateScrollbar): ditto
3258         * cursor.C (dispatch): ditto
3259         * text2.C (setLayout): ditto
3260         (setFont): ditto
3261         (updateCounters): ditto
3262         (editXY): ditto
3263         (deleteEmptyParagraphMechanism): ditto
3264
3265 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3266
3267         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3268         annotations to cleanup the Makefile slightly.
3269
3270 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3271
3272         * lyxrc.C: do not set user_email to a default value but use empty
3273         instead. The entry used to be translated, which does not work
3274         since at the point where lyxrc is constructed there is no
3275         translation service available
3276
3277         * messages.C (getLocaleDir): remove and use directly
3278         lyx_localedir() instead
3279
3280 2004-06-02  Angus Leeming  <leeming@lyx.org>
3281
3282         Fix crash caused by dereferencing null pointer 'exportdata' in
3283         OutputParams by creating a new ExportData variable on the heap,
3284         storing it in a boost::shared_ptr.
3285         The crash was triggered when generating an Instant Preview
3286         of an external inset.
3287
3288         * Makefile.am: add outputparams.C
3289
3290         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3291         (c-tor): allocate memory to it.
3292
3293         * exporter.C (c-tor): associated changes.
3294
3295 2004-06-01  Angus Leeming  <leeming@lyx.org>
3296
3297         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3298         contains data before calling isInset(0). (Bug 1513.)
3299
3300 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3301
3302         * exporter.C (checkOverwrite): new method
3303         * exporter.C (copyFile): new method
3304         * exporter.C (Export): copy referenced files to the document dir
3305         * exporter.[Ch]: new class ExportedFile
3306         * exporter.[Ch]: new class ExportData. Contains currently the
3307         names of referenced external files
3308         * outputparams.h: add exportdata member.
3309
3310 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3311
3312         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3313         version.C-tmp
3314
3315 2004-05-19  Angus Leeming  <leeming@lyx.org>
3316
3317         * LaTeXFeatures.C:
3318         * ToolbarBackend.C:
3319         * bufferparams.C:
3320         * lyxfunc.C: small changes due to the introduction of namespace
3321         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3322
3323 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3324
3325         * text3.C (dispatch): supress update when only moving the cursor
3326         * cursor.C (selHandle): remove commented code
3327
3328 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3329
3330         * paragraph.C (startTeXParParams): correct column count
3331         * CutAndPaste.C (pasteSelection): remove const_cast
3332         * output_docbook.C (docbookParagraphs): remove const_cast
3333         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3334         const_cast and return ParagraphList::const_iterator
3335         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3336         * output_plaintext.C (writeFileAscii): remove const_cast
3337         * paragraph.[Ch] (simpleTeXOnePar): make const
3338         * paragraph_funcs.C (outerPar): use const iterators
3339         * paragraph_pimpl.C (validate): use const iterators
3340         * text.C (setHeightOfRow): use const iterators
3341
3342 2004-05-17  Angus Leeming  <leeming@lyx.org>
3343
3344         * lfuns.h:
3345         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3346
3347         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3348         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3349         if the citation engine has changed.
3350
3351 2004-05-14  José Matos  <jamatos@lyx.org>
3352
3353         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3354         if the textclass does not provide it. Have it different for sgml and
3355         xml.
3356         support the language of document.
3357         * output_docbook.C (docbookParagraphs):
3358         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3359         first anchor as the id of the paragraph, remove special case code.
3360         * sgml.C (escapeChar): escape only < & >.
3361
3362 2004-05-14  Angus Leeming  <leeming@lyx.org>
3363
3364         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3365         dependencies on src/frontends/controllers/biblio.h. Define a
3366         CiteEngine_enum wrapper class to enable the enum to be forward
3367         declared.
3368
3369 2004-05-12  Angus Leeming  <leeming@lyx.org>
3370
3371         * buffer.C: up LYX_FORMAT to 234.
3372         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3373         use_numerical_citations with a single biblio::CiteEngine cite_engine
3374         variable.
3375         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3376
3377 2004-05-13  José Matos  <jamatos@lyx.org>
3378
3379         * converter.h:
3380         * converter.C (Converter, readFlags): add xml member.
3381         * outputparams.h: add XML flavor.
3382         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3383
3384 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3385
3386         * lyxfunc.C (dispatch):
3387         (getStatus): fix handling of LFUN_SEQUENCE
3388
3389 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3390
3391         * debug.C (showLevel): do not forget the end-of-line marker
3392
3393 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3394
3395         * kbmap.C (read): do not stop parsing a bind file when an error
3396         occurs (bug 1575)
3397
3398 2004-04-29  Angus Leeming  <leeming@lyx.org>
3399
3400         * cursor.C:
3401         * factory.C:
3402         * pariterator.C:
3403         * text2.C: wrap a bunch of #warning statements
3404         inside #ifdef WITH_WARNINGS blocks.
3405
3406 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3407
3408         * buffer.C: increment format to 233.
3409
3410 2004-04-28  Angus Leeming  <leeming@lyx.org>
3411
3412         * BufferView_pimpl.C:
3413         * lyxfunc.C:
3414         * text3.C:
3415         s/updateToolbar()/updateToolbars()/
3416         s/Toolbar.h/Toolbars.h/
3417
3418 2004-04-28  Angus Leeming  <leeming@lyx.org>
3419
3420         * BufferView.[Ch] (c-tor):
3421         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3422         No longer passes these data to the WorkArea generator.
3423
3424 2004-04-28  Angus Leeming  <leeming@lyx.org>
3425
3426         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3427
3428 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3429
3430         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3431
3432 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3433
3434         * output_latex.C (TeXEnvironment): make sure that there is a line
3435         break before \end{foo} for the last paragraph of a document
3436         (TeXOnePar): if the paragraph is at the end of the document (or
3437         inset) and the language has to be reset, then make sure that the
3438         line break is _before_ the language command, not after (fixes bug
3439         1225); also make sure that the language reset command is the first
3440         thing after the paragraph (to ensure proper nesting of
3441         environments and thus fix bug 1404)
3442
3443 2004-04-21  John Levon  <levon@movementarian.org>
3444
3445         * ToolbarBackend.h:
3446         * ToolbarBackend.C: make "name" be a programmatic name
3447         and a gui_name field.
3448
3449         * lyxfunc.C: display the minibuffer on M-x
3450
3451 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3452
3453         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3454         (bug 1526)
3455
3456 2004-04-19  Angus Leeming  <leeming@lyx.org>
3457
3458         * BufferView_pimpl.C (setBuffer): changed preview interface.
3459
3460         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3461         possible values.
3462
3463 2004-04-19  John Levon  <levon@movementarian.org>
3464
3465         * BufferView_pimpl.C:
3466         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3467
3468 2004-04-05  Angus Leeming  <leeming@lyx.org>
3469
3470         * text.C (redoParagraphs): add call to updateCounters(), thereby
3471         fixing the missing "Figure #:" label from the caption of a
3472         figure float.
3473
3474 2004-04-13  Angus Leeming  <leeming@lyx.org>
3475
3476         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3477         cursor is clicked out of an inset.
3478
3479 2004-04-13  Angus Leeming  <leeming@lyx.org>
3480
3481         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3482         than an InsetOld one.
3483
3484 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3485
3486         * format.[Ch]: add editor to Format
3487         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3488         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3489
3490 2004-04-08  André Pönitz  <poenitz@gmx.net>
3491
3492         * metricsinfo.h: remove PainterInfo::width member
3493
3494 2004-04-08  Angus Leeming  <leeming@lyx.org>
3495
3496         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3497         "\providecommand" rather than "\newcommand", thereby preventing
3498         clashes with packages that define "\boldsymbol" themselves.
3499         Eg, beamer.
3500
3501 2004-04-08  Angus Leeming  <leeming@lyx.org>
3502
3503         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3504         thereby squashing an unnecessary warning.
3505
3506 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3507
3508         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3509         setBuffer()
3510
3511 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3512
3513         * BufferView.C (setCursor): call redoParagraph (some insets could
3514         have been opened)
3515         (putSelectionAt): remove the 'double update' trick
3516
3517         * BufferView_pimpl.C (fitCursor): call refreshPar
3518         (workAreaDispatch): remove an uneeded update call
3519         (dispatch): remove some manual update calls
3520
3521         * cursor.[Ch]: remove cached_y_, updatePos
3522         (selHandle): set noUpdate when appropriate
3523
3524         * lyxfunc.C (dispatch): track if we need an update
3525
3526         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3527
3528         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3529         (paintSelection): cheap optimization, do not call cursorX when not
3530         needed
3531         (paintPars): change signature
3532         (refreshPar): add
3533         (paintText): adjust
3534         (paintTextInset): adjust
3535
3536         * text.C: adjust
3537
3538 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3539
3540         * lengthcommon.C: compilation fix: remove explicit array size from
3541         unit_name[] and friends
3542
3543 2004-04-05  Angus Leeming  <leeming@lyx.org>
3544
3545         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3546
3547         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3548         present only for the preferences dialog.
3549         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3550
3551 2004-04-05  Angus Leeming  <leeming@lyx.org>
3552
3553         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3554         to enable the frontends to export changes to lyxrc correctly.
3555
3556         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3557
3558 2004-04-07  André Pönitz  <poenitz@gmx.net>
3559
3560         * cursor.[Ch] (selClear, adjust): remove math
3561
3562         * cursor_slice.C: more agressive assert
3563
3564         * lyxfunc.C:
3565         * BufferView_pimpl.C: rework mouse event dispatch
3566
3567         * dociterator.C:
3568         * paragraph.C:
3569         * text2.C:
3570         * text3.C: adjust
3571
3572 2004-04-05  André Pönitz  <poenitz@gmx.net>
3573
3574         * cursor.[Ch] (valign, halign...): remove unneeded functions
3575
3576 2004-04-05  Angus Leeming  <leeming@lyx.org>
3577
3578         * lyxlength.[Ch] (unit_name et al.): const-correct.
3579
3580 2004-04-05  Angus Leeming  <leeming@lyx.org>
3581
3582         * BufferView_pimpl.C:
3583         * buffer.C:
3584         * counters.C:
3585         * cursor.C:
3586         * lyxfunc.C
3587         * paragraph.C:
3588         * pariterator.C:
3589         * text.C:
3590         * text2.C:
3591         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3592
3593 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3594
3595         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3596
3597 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3598
3599         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3600         * BufferView_pimpl.[Ch] (getStatus)
3601         * BufferView.[Ch] (getStatus): add
3602         * lyxfunc.C (getStatus): move lfuns handled in
3603         BufferView::dispatch to te function above
3604         * Cursor.C (setSelection): set selection() = true
3605
3606 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3607
3608         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3609
3610 2004-03-31  Angus Leeming  <leeming@lyx.org>
3611
3612         * lyxfunc.C (dispatch): Fall through to the generic
3613         Dialogs::show("preamble").
3614
3615 2004-03-31  Angus Leeming  <leeming@lyx.org>
3616
3617         * lyxfunc.C (dispatch): Fall through to the generic
3618         Dialogs::show("spellchecker").
3619
3620 2004-03-31  Angus Leeming  <leeming@lyx.org>
3621
3622         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3623         preferences dialog.
3624
3625 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3626
3627         * BufferView.C
3628         * cursor.[Ch]
3629         * dociterator.[Ch]:
3630         * insetiterator.[Ch]:
3631         * lyxfind.C:
3632         * lyxfunc.C:
3633         * pariterator.[Ch]:
3634         * text2.C:
3635         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3636
3637 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3638
3639         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3640         insets where we are putting the cursor.
3641
3642 2004-03-31  Angus Leeming  <leeming@lyx.org>
3643
3644         * lfuns.h:
3645         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3646
3647         * lyxrc.[Ch] (read, write): overloaded member functions taking
3648         a std::[io]stream arguments.
3649
3650         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3651
3652 2004-03-31  Angus Leeming  <leeming@lyx.org>
3653
3654         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3655         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3656
3657         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3658         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3659
3660 2004-03-31  Angus Leeming  <leeming@lyx.org>
3661
3662         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3663         the LFUN_ALL_INSETS_TOGGLE code.
3664
3665 2004-03-30  Angus Leeming  <leeming@lyx.org>
3666
3667         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3668         has died. Fall through to the generic Dialogs::show("document").
3669
3670 2004-03-30  Angus Leeming  <leeming@lyx.org>
3671
3672         * lfuns.h:
3673         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3674         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3675
3676         * lyxfunc.C (getStatus, dispatch): define the actions for these
3677         lfuns. Little more than a cut and pste job from ControlDocument.C
3678
3679         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3680
3681 2004-03-30  Angus Leeming  <leeming@lyx.org>
3682
3683         * lfuns.h:
3684         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3685         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3686
3687         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3688         open/closed state of ollapsable insets. Usage:
3689
3690         all-inset-toggle <state> <name>, where
3691         <state> == "open" || "closed" || "toggle" and
3692         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3693
3694         * lyxtext.h, text2.C (toggleInset): removed.
3695
3696         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3697         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3698         now passes LFUN_INSET_TOGGLE to the found inset.
3699
3700         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3701         is now invoked as "all-insets-toggle toggle branch".
3702
3703 2004-03-30  Angus Leeming  <leeming@lyx.org>
3704
3705         * dociterator.C:
3706         * insetiterator.C:
3707         * pariterator.[Ch]: added/corrected header blurb.
3708
3709 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3710
3711         * dociterator.[Ch]: add an inset_ member
3712         (backwardPos): implemented
3713         (backwardPos, forwardPos): use inset_ when the stack is empty.
3714         (doc_iterator_begin, doc_iterator_end): implemented
3715         * pariterator.[Ch]: adjust, add begin, end
3716         * insetiterator.[Ch]: adjust, add begin, end
3717         * cursor.C:
3718         * document.C:
3719         * BufferView.C:
3720         * BufferView_pimpl.C:
3721         * CutAndPaste.C: adjust
3722
3723 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3724
3725         * buffer.C: increment file format to 232.
3726         * LaTeXFeatures.C: add bibtopic package.
3727         * bufferparams.[Ch]: param \use_bibtopic.
3728
3729         * lyxrc.[Ch]: add lyxrc bibtex_command
3730         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3731
3732         * buffer.C: increment file format to 231.
3733
3734 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3735
3736         * dociterator.C: implement forwardPar
3737         * iterators.[Ch]: remove, replaced by
3738         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3739         * BufferView.C:
3740         * BufferView_pimpl.C:
3741         * CutAndPaste.C:
3742         * buffer.C:
3743         * bufferview_funcs.C:
3744         * cursor.C:
3745         * lyxfind.C
3746         * lyxfunc.C
3747         * paragraph_funcs.C
3748         * toc.C:
3749         * Makefile.am: adjust
3750
3751 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3752
3753         * CutAndPaste.C (pasteSelection): fix 2 crashes
3754         (eraseSelection): fix a crash
3755         * paragraph_funcs.C: remove a warning
3756
3757 2004-03-28  Angus Leeming  <leeming@lyx.org>
3758
3759         * lfuns.h:
3760         * LyXAction.C (init): new LFUN_PRINT.
3761
3762         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3763
3764 2004-03-27  Angus Leeming  <leeming@lyx.org>
3765
3766         * lfuns.h:
3767         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3768
3769         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3770
3771 2004-03-27  Angus Leeming  <leeming@lyx.org>
3772
3773         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3774         insetlist always contains non-null pointers to insets.
3775
3776 2004-03-26  Angus Leeming  <leeming@lyx.org>
3777
3778         * src/BufferView_pimpl.C:
3779         * src/CutAndPaste.C:
3780         * src/buffer.C:
3781         * src/iterators.C:
3782         * src/output_plaintext.C:
3783         * src/outputparams.h:
3784         * src/paragraph_funcs.C:
3785         * src/rowpainter.C:
3786         * src/text.C:
3787         * src/text2.C:
3788         * src/frontends/controllers/ControlErrorList.C:
3789         * src/frontends/gtk/FileDialogPrivate.C:
3790         * src/frontends/gtk/GPainter.C:
3791         * src/frontends/gtk/GToolbar.C:
3792         * src/frontends/qt2/QRef.C:
3793         * src/mathed/math_scriptinset.C: squash compiler warnings.
3794
3795 2004-03-26  Angus Leeming  <leeming@lyx.org>
3796
3797         * ispell.C (LaunchIspell::start):
3798         * lyx_cb.C (AutoSaveBuffer::start):
3799         invoke run(DontWait) rather than runNonBlocking().
3800
3801 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3802
3803         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3804
3805 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3806
3807         * kbsequence.C (print): adjust
3808
3809         * kbmap.C (printKeySym): rename and change signature
3810         (printKey): use LyXKeySym::print()
3811
3812 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3813
3814         * undo.C: add using std::advance to compile for stlport
3815
3816 2004-03-24  Angus Leeming  <leeming@lyx.org>
3817
3818         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3819         it leads to a crash when no buffer is present.
3820
3821 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3822             Martin Vermeer  <martin.vermeer@hut.fi>
3823
3824         * lyxfunc.C (dispatch):
3825         * bufferparams.C (readToken): use the new LColor::setColor
3826
3827         * LColor.[Ch] (setColor): new version that takes two strings as
3828         argument and creates a new color entry if necessary
3829
3830 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3831
3832         * buffer.C (makeLaTeXFile): if the main latex file that is
3833         processed is usually a subdocument of some master, then pretend
3834         for a while that it is actually the master
3835
3836 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3837
3838         * buffer.C (getLabelList):
3839         (getBibkeyList): use getMasterBuffer()
3840         (getMasterBuffer): new method. Returns the main document in the
3841         case where one is using included documents.
3842
3843 2004-03-25  André Pönitz  <poenitz@gmx.net>
3844
3845         * Makefile.am:
3846         * iterators.[Ch]:
3847         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3848
3849         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3850
3851         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3852         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3853
3854         * ParameterStruct.h: merge with ParagraphParameters
3855
3856         * lyxtext.h: remove LyXText::parOffset() and getPar()
3857
3858         * text3.C: Remove all 'manual' update calls. We do now one per user
3859         interaction which is completely sufficient.
3860
3861         * Bidi.C:
3862         * BufferView.[Ch]:
3863         * BufferView_pimpl.C:
3864         * FontIterator.[Ch]:
3865         * MenuBackend.C:
3866         * ParagraphParameters.[Ch]:
3867         * buffer.C:
3868         * buffer.h:
3869         * bufferlist.C:
3870         * cursor.[Ch]:
3871         * cursor_slice.[Ch]:
3872         * dociterator.[Ch]:
3873         * errorlist.[Ch]:
3874         * factory.C:
3875         * lfuns.h:
3876         * lyxfind.C:
3877         * lyxfunc.C:
3878         * output_docbook.[Ch]:
3879         * output_latex.[Ch]:
3880         * output_linuxdoc.[Ch]:
3881         * output_plaintext.[Ch]:
3882         * paragraph.[Ch]:
3883         * paragraph_funcs.[Ch]:
3884         * paragraph_pimpl.[Ch]:
3885         * rowpainter.C:
3886         * tabular.[Ch]:
3887         * text.C:
3888         * text2.C:
3889         * toc.C:
3890         * undo.[Ch]: adjust
3891
3892         * frontends/controllers/ControlDocument.C:
3893         * frontends/controllers/ControlErrorList.C:
3894         * frontends/controllers/ControlSpellchecker.C:
3895         * insets/inset.C:
3896         * insets/inset.h:
3897         * insets/insetbase.h:
3898         * insets/insetbibitem.C:
3899         * insets/insetbox.C:
3900         * insets/insetbranch.C:
3901         * insets/insetcaption.C:
3902         * insets/insetcharstyle.C:
3903         * insets/insetcharstyle.h:
3904         * insets/insetcollapsable.C:
3905         * insets/insetcollapsable.h:
3906         * insets/insetert.C:
3907         * insets/insetfloat.C:
3908         * insets/insetfoot.C:
3909         * insets/insetmarginal.C:
3910         * insets/insetnote.C:
3911         * insets/insetoptarg.C:
3912         * insets/insettabular.C:
3913         * insets/insettext.C:
3914         * insets/insettext.h:
3915         * insets/insetwrap.C:
3916         * mathed/math_mboxinset.C:
3917         * mathed/math_nestinset.C:
3918         * mathed/math_scriptinset.C:
3919         * mathed/math_scriptinset.h:
3920         * support/types.h:
3921
3922 2004-03-24  Angus Leeming  <leeming@lyx.org>
3923
3924         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3925         deal with any child processes that have finished but are waiting to
3926         communicate this fact to the rest of LyX.
3927
3928 2004-03-24  Angus Leeming  <leeming@lyx.org>
3929
3930         64-bit compile fixes.
3931
3932         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3933         (c-tor): pass lyx::pos_types rather than ints.
3934
3935         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3936         lyx::pos_type.
3937
3938         * text.C (Delete): compile fix.
3939         (getPar): ensure that function declaration is the same as that in
3940         the header file.
3941
3942 2004-03-23  Angus Leeming  <leeming@lyx.org>
3943
3944         * ispell.C (LaunchIspell):
3945         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3946         a boost::shred_ptr rather than a std::auto_ptr.
3947
3948 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3949
3950         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3951         handle LFUN_FILE_INSERT_*
3952
3953         * lyxrc.C (setDefaults, getDescription, output, read):
3954         * lyxrc.h: remove ps_command
3955
3956 2004-03-22  Angus Leeming  <leeming@lyx.org>
3957
3958         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3959         Ensure that error_handler is processed once only and that all data
3960         is saved before attempting to output any warning messages.
3961
3962         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3963
3964 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3965
3966         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3967
3968 2004-03-19  André Pönitz  <poenitz@gmx.net>
3969
3970         * cursor.[Ch] (reset): take main text inset as argument
3971
3972         * BufferView: adjust
3973         * BufferView_pimpl.C: adjust
3974
3975         * paragraph.[Ch]: fix completely broken operator=()
3976
3977 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3978
3979         * LColor.C (getFromLyXName): make sure that the color name is used
3980         as lowercase.
3981
3982 2004-03-17  Angus Leeming  <leeming@lyx.org>
3983
3984         * lfuns.h:
3985         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3986
3987         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3988         dialog and to kill a forked process.
3989
3990 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3991
3992         * text2.C (setCursorFromCoordinates): fix font problem
3993
3994 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3995
3996         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3997         bogus "rebuild cursor" code
3998
3999 2004-03-11  André Pönitz  <poenitz@gmx.net>
4000
4001         * buffer.[Ch]: use InsetText instead of LyXText as container for
4002         the main lyx text.
4003
4004         * dociterator.[Ch]: drop the BufferView * member which is not needed
4005         anymore after the change to buffer.C
4006
4007         * paragraph_funcs.C:
4008         * text.C:
4009         * text2.C:
4010         * BufferView.[Ch]:
4011         * BufferView_pimpl.[Ch]:
4012         * cursor.[Ch]:
4013         * cursor_slice.[Ch]: adjust
4014
4015         * text3.C: fix bug in mathDispatch
4016
4017 2004-03-08  André Pönitz  <poenitz@gmx.net>
4018
4019         * undo.[Ch]: use 'StableDocumentIterator' as base for
4020         the Undo struct.
4021
4022 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4023
4024         * LaTeXFeatures.C:
4025         * bufferparams.[Ch]: add jurabib support and param.
4026
4027         * LaTeX.C: add FIXME/comment.
4028
4029 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4030
4031         * buffer.C: increment file format to 230.
4032
4033 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
4034
4035         * cursor.C (dispatch): avoid infinite loops
4036
4037 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4038
4039         * rowpainter.C (paintSelection): fix x coordinates
4040
4041 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4042
4043         * text.C (rowBreakPoint): fix breaking before displayed insets
4044
4045 2004-03-01  André Pönitz  <poenitz@gmx.net>
4046
4047         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4048
4049         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4050
4051         * Makefile.am:
4052         * BufferView.C:
4053         * BufferView_pimpl.C:
4054         * buffer.C:
4055         * lyxfind.C:
4056         * lyxfunc.C:
4057         * text.C:
4058         * text2.C:
4059         * text3.C: adjust
4060
4061 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4062
4063         * lyxtext.h:
4064         * text.C:
4065         * text2.C:
4066         * rowpainter.C:
4067         * BufferView_pimpl.C: rename textwidth -> maxwidth,
4068         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4069
4070 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4071
4072         * Bidi.[Ch] (computeTables): const correctness
4073         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4074         fill_hfill, fill_label_hfill and x from Row
4075         * lyxtext.h: prepareToPrint returns a RowMetrics
4076         * rowPainter.C: adjust
4077         * text.C (prepareToPrint): use width, not textWidth. adjust
4078         (redoParagraphInternal, cursorX): adjust
4079         * text2.C (getColumnNearX): adjust
4080         (init): put a default value to the top LyXText::width
4081
4082 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4083
4084         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4085
4086 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4087
4088         * lyxtext.h: add FontIterator class
4089
4090         * text.C (FontIterator, operator*, operator->, operator++): add
4091         (rowBreakPoint, setRowWidth): adjust (fixing a
4092         rebreaking bug)
4093
4094 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4095
4096         * BufferView_pimpl.C (workAreaDispatch): allow also
4097         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4098
4099 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4100
4101         * text.C (rowBreakPoint): fix a bug showing with very large insets
4102
4103 2004-02-25  André Pönitz  <poenitz@gmx.net>
4104
4105         * text3.C:
4106         * cursor.[Ch]: move some mathed specific code to mathed
4107
4108 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4109
4110         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4111         use_tempdir in preferences
4112         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4113         tempfile creation
4114         * lyx_main.C: ensure that tempdir is valid
4115         * lyxlex.h: correct typo
4116         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4117         * paragraph.[Ch] (isMultiLingual): make const
4118         * cursor.[Ch] (openable): make const
4119
4120 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4121
4122         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4123
4124 2004-02-20  André Pönitz  <poenitz@gmx.net>
4125
4126         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4127
4128         * cursor.[Ch]: prepare for localized getStatus()
4129
4130         * lyxtext.h:
4131         * tabular.C:
4132         * text.C:
4133         * text2.C:
4134         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4135
4136 2004-02-20  André Pönitz  <poenitz@gmx.net>
4137
4138         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4139
4140 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4141
4142         * text2.C (setCursorFromCoordinates): switch to absolute coords
4143         (cursorUp): adjust
4144         (cursorDown): adjust
4145         * text3.C (dispatch): adjust
4146
4147 2004-02-16  André Pönitz  <poenitz@gmx.net>
4148
4149         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4150           insets/ChangeLog)
4151
4152         * cursor_slice.[Ch]: remove unneeded acessor function
4153
4154         * lyxtext.h: rename rtl() to isRTL()
4155
4156         * rowpainter.C:
4157         * tabular.C:
4158         * text.C:
4159         * text2.C:
4160         * text3.C: adjust
4161
4162 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4163
4164         * rowpainter.C (paintSelection): coord fix
4165
4166 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4167
4168         * Spacing.C: compile fix
4169
4170 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4171
4172         * cursor.C (dispatch): restore current_ before returning
4173
4174 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4175
4176         * text2.C (cursorUp, cursorDown): fix coords
4177         (moveUp): fix crash
4178
4179 2004-02-12  André Pönitz  <poenitz@gmx.net>
4180
4181         * lyxtext.h:
4182         * text.C:
4183         * text2.C:
4184         * text3.C: add LCursor & parameter to most cursor movement functions
4185           remove usage of LyXText::cursorRow() and cursorPar()
4186
4187         * cursor.[Ch]: add textRow() needed members
4188
4189         * BufferView.C:
4190         * BufferView_pimpl.C:
4191         * paragraph.[Ch]:
4192         * BufferView.C:
4193         * BufferView_pimpl.C: adjust
4194
4195 2004-02-11  André Pönitz  <poenitz@gmx.net>
4196
4197         * lyxfunc.C:
4198         * BufferView.[Ch]:
4199         * BufferView_pimpl.C: shift undo/redo handling
4200
4201         * cursor.[Ch]: fix mathed crash
4202
4203         * lyxfind.C:
4204         * lyxtext.h: move selectionAsText to LCursor
4205
4206         * output_latex.C:
4207         * paragraph.C:
4208         * text.C:
4209         * text2.C:
4210         * text3.C: adjust
4211
4212         * rowpainter.C: fix excessive drawing
4213
4214 2004-02-06  André Pönitz  <poenitz@gmx.net>
4215
4216         * BufferView.[Ch]:
4217         * BufferView_pimpl.[Ch]:
4218         * text3.C: move some text specific LFUN handling
4219
4220 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4221
4222         * text3.C (checkInsetHit): adjust coords
4223         * text2.C (getColumnNearX): adjust coords
4224         (edit): adjust coords
4225         * text.C (getRowNearY): add two asserts
4226
4227 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4228
4229         * converter.C:
4230         * format.C: add using std::distance to compile on gcc 2.95/stlport
4231
4232 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4233
4234         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4235
4236 2004-02-04  André Pönitz  <poenitz@gmx.net>
4237
4238         * BufferView.[Ch] (insertInset):
4239         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4240
4241         * text2.C:
4242         * text3.C: adjust
4243
4244 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4245
4246         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4247         on the default clause of the switch
4248         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4249         wasn't catched by LCursor::dispatch
4250
4251 2004-02-03  André Pönitz  <poenitz@gmx.net>
4252
4253         * BufferView.C:
4254         * cursor.[Ch]: some additional asserts
4255
4256         * undo.[Ch]: remove LyXText dependency in interface
4257
4258         * lyxfunc.C: adjust
4259
4260         * lyxtext.h (firstPar, lastPar): remove dead functions
4261
4262         * text.C:
4263         * text2.C:
4264         * text3.C:
4265         * paragraph.[Ch]: adjust
4266
4267 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4268
4269         * lyxfind.C (find): fix argument order in call to ::find
4270
4271 2004-02-02  André Pönitz  <poenitz@gmx.net>
4272
4273         * cursor.[Ch]: remove direct access to anchor
4274
4275         * text.C: remove findText() hack
4276
4277 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4278
4279         * iterators.[Ch] (lockPath): remove in favour of...
4280         * BufferView.[Ch] (setCursor): this addition
4281         * BufferView.C (putSelectionAt): adjust
4282         * undo.C (performUndoOrRedo): adjust
4283         * lyxfunc.C (dispatch): adjust
4284
4285 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4286
4287         * iterators.C (lockPath): add a missing slice
4288         * undo.C (performUndoOrRedo): remove redundant positioning code
4289
4290 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4291
4292         * vc-backend.C (scanMaster): ";" -> ';'
4293
4294 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4295
4296         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4297         std::binary_function
4298
4299         * lyxtextclass.C (compare_name): rename to...
4300         (LayoutNamesEqual): ...this
4301
4302         * lyxlex_pimpl.C (compare_tags): inherit from
4303         std::binary_function, put back into anon namespace
4304
4305         * lyxfind.C (MatchString): inherig from std::binary_function
4306         (findChange): use empty() istead of !size()
4307
4308         * format.C (FormatNamesEqual): new functor
4309         (getFormat): use it
4310         (getNumber): use it
4311         (add): use it
4312         (erase): use it
4313         (setViewer): use it
4314
4315         * converter.C (compare_Converter): rename to...
4316         (ConverterEqual): ...this, and fixup a bit.
4317         (getConverter): use it, and make function const
4318         (getNumber): use it, and make function const
4319         (add): use it
4320         (erase): use it:
4321
4322         * bufferlist.C: add using boost::bind
4323
4324         * MenuBackend.C (MenuNamesEqual): new functor
4325         (hasMenu): use it, and make function const
4326         (hasSubmenu): use nested bind to get rid of compare_memfun.
4327
4328 2004-01-30  André Pönitz  <poenitz@gmx.net>
4329
4330         * BufferView_pimpl.C:
4331         * cursor.C:
4332         * cursor.h:
4333         * cursor_slice.[Ch]:
4334         * lyxfunc.C:
4335         * lyxtext.h:
4336         * paragraph_funcs.C:
4337         * paragraph_funcs.h:
4338         * rowpainter.C:
4339         * text.C:
4340         * text2.C:
4341         * text3.C: move some of the edit(x,y) handling to the insets
4342         some coordinate changes.
4343
4344 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4345
4346         * text.C: add using statements for std::advance and std::distance
4347
4348         * paragraph.C: add using statement for std::distance
4349
4350         * lyxfind.C: add using statement for std::advance
4351
4352         * cursor.C (region): remove std:: from swap
4353         (openable): use nucleus in stead of operator->
4354
4355         * BufferView.C: add using statements for std::distance and std::swap
4356
4357 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * iterators.C: Remove the pimple, move the needed structures to
4360         the header file. Create accessor for the positions stack.
4361         (asPosIterator): remove function
4362
4363         * PosIterator.C (PosIterator): move constructors to top of file
4364         (PosIterator): reimplement the constructor taking a ParIterator in
4365         terms of setFrom.
4366         (setFrom): new function
4367         (operator!=): inline it
4368
4369 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4370
4371         * lyxfind.C (replaceAll): use std::advance
4372
4373         * iterators.h: inherit from std::iterator.
4374
4375         * PosIterator.C (advance, distance): remove
4376         * PosIterator.h: interit from std::iterator.
4377
4378 2004-01-26  André Pönitz  <poenitz@gmx.net>
4379
4380         * BufferView.[Ch]:
4381         * BufferView_pimpl.[Ch]:
4382         * InsetList.[Ch]:
4383         * PosIterator.[Ch]:
4384         * buffer.h:
4385         * bufferview_funcs.C:
4386         * cursor.[Ch]:
4387         * cursor_slice.h:
4388         * factory.[Ch]:
4389         * iterators.[Ch]:
4390         * lyxfind.C:
4391         * lyxfunc.C:
4392         * lyxtext.h:
4393         * output_docbook.C:
4394         * output_latex.C:
4395         * output_linuxdoc.C:
4396         * output_plaintext.C:
4397         * paragraph.[Ch]:
4398         * paragraph_funcs.[Ch]:
4399         * paragraph_pimpl.[Ch]:
4400         * rowpainter.C:
4401         * tabular.C:
4402         * tabular.h:
4403         * text.C:
4404         * text2.C:
4405         * text3.C: more IU:  dumps most of the rest of the mathcursor
4406     implementation into cursor.[Ch]; "globalize" a bit of it.
4407
4408 2004-01-25  Angus Leeming  <leeming@lyx.org>
4409
4410         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4411
4412 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4413
4414         * LaTeXFeatures.h: add nice_ and nice() const
4415         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4416
4417 2004-01-20  André Pönitz  <poenitz@gmx.net>
4418
4419         * BufferView.[Ch]:
4420         * BufferView_pimpl.C:
4421         * PosIterator.C:
4422         * bufferview_funcs.C:
4423         * cursor.[Ch]:
4424         * cursor_slice.[Ch]:
4425         * factory.C:
4426         * iterators.C:
4427         * lyx_cb.C:
4428         * lyxfind.C:
4429         * lyxfunc.C:
4430         * lyxtext.h:
4431         * rowpainter.C:
4432         * text.C:
4433         * text2.C:
4434         * text3.C:
4435         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4436           LCursor and mathcursor parts to LCursor and InsetBase.
4437
4438 2004-01-15  André Pönitz  <poenitz@gmx.net>
4439
4440         * cursor_slice.[Ch]: add a few covienience functions
4441
4442         * funcrequest.[Ch]: remove BufferView * member
4443
4444         * BufferView_pimpl.C:
4445         * cursor.C:
4446         * factory.[Ch]:
4447         * lyxfind.[Ch]:
4448         * lyxfunc.C:
4449         * lyxtext.h:
4450         * text3.C:
4451         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4452
4453 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4454
4455         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4456         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4457
4458 2004-01-13  André Pönitz  <poenitz@gmx.net>
4459
4460         * textcursor.[Ch]:
4461         * lyxtext.h: hide cursor and selection anchor behind accessor function
4462
4463         * BufferView.C:
4464         * BufferView_pimpl.[Ch]:
4465         * PosIterator.C:
4466         * bufferview_funcs.C:
4467         * cursor.h:
4468         * lyxfind.C:
4469         * lyxfunc.C:
4470         * text.C:
4471         * text2.C:
4472         * text3.C:
4473         * undo.C: adjust
4474
4475         * cursor.h:
4476         * cursor_slice.[Ch]: some integer type changes for inset unification
4477
4478         * lyxcursor.[hC]: remove, it's CursorSlice now.
4479
4480         * Makefile.am:
4481         * BufferView_pimpl.[Ch]:
4482         * bufferview_funcs.C:
4483         * cursor_slice.C:
4484         * lyxtext.h:
4485         * text.C:
4486         * text2.C:
4487         * text3.C:
4488         * textcursor.[Ch]: adjust
4489
4490 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4491
4492         * text2.C (undoSpan): add and use
4493         * text.C (breakParagraph): use undoSpan (fix bug 578)
4494         * lyxtext.h: adjust
4495
4496 2004-01-08  Angus Leeming  <leeming@lyx.org>
4497
4498         * BufferView_pimpl.C (MenuInsertLyXFile):
4499         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4500         * lyxfunc.C (menuNew, open, doImport):
4501         FileFilterList change to the FileDialog open and save functions.
4502
4503 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4504
4505         * ShareContainer.h: make isEqual and isUnique adaptable
4506
4507         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4508
4509 2004-01-07  Angus Leeming  <leeming@lyx.org>
4510
4511         * LyXAction.C:
4512         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4513
4514         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4515
4516         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4517         functions replacing find, replace and replaceAll.
4518
4519         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4520         LFUN_WORDFIND(FORWARD|BACKWARD).
4521
4522 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4523
4524         * text.C (breakParagraph): remove an outdated #warning
4525
4526 2004-01-07  André Pönitz  <poenitz@gmx.net>
4527
4528         * lyxfind.C: somewhat clearer logic
4529
4530         * text.C: prevent crash in cursorX on unitialized row cache
4531
4532 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4533
4534         * lyxcursor.[Ch] (operator>): add
4535         * textcursor.C (selStart, selEnd): use std::min and std::max
4536
4537 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4538
4539         * Chktex.C: include boost/format.hpp
4540
4541 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4542
4543         * InsetList.C: replace functor MathcIt with adaptable functor
4544         InsetTablePosLess
4545         (insetIterator): modify accordingly
4546
4547         * BranchList.h: move the BranchNamesEqual functor here from...
4548         * BranchList.C: ... to here
4549
4550         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4551         SameName and match.
4552         (add): replace a finding loop with std::find_if.
4553
4554 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4555
4556         * output_docbook.C: moving LatexParam functionality into
4557         .layout files
4558
4559 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4560
4561         * buffer.C: increment format to 229.
4562
4563 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4564
4565         * LaTeXFeatures.C:
4566         * lyx_sty.[Ch]: remove minipageindent_def
4567
4568         * LyXAction.C:
4569         * factory.C:
4570         * lfuns.h:
4571         * lyxfunc.C:
4572         * text3.C: remove LFUN_INSET_MINIPAGE
4573
4574 2003-12-28  Angus Leeming  <leeming@lyx.org>
4575
4576         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4577
4578 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4579
4580         * text2.C (setParagraph): fix off-by-one crash
4581
4582 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4583
4584         * output_docbook.C: header stuff for AGU
4585
4586 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4587
4588         * text2.C (redoCursor): remove
4589         * text.C:
4590         * text3.C:
4591         * BufferView_pimpl.C: remove calls to redoCursor and
4592         setCursor(cursor.par(), cursor.pos()) all around
4593
4594 2003-12-15  Angus Leeming  <leeming@lyx.org>
4595
4596         * buffer.C: up the format to 228.
4597
4598 2003-12-15  André Pönitz  <poenitz@gmx.net>
4599
4600         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4601         slices
4602
4603         * Makefile.am:
4604
4605         * BufferView_pimpl.C:
4606         * cursor.[Ch]:
4607         * lyxcursor.[Ch]:
4608         * rowpainter.[Ch]:
4609         * lyxtext.h:
4610         * text.C:
4611         * text2.C:
4612         * text3.C: adjust
4613
4614 2003-12-15  Angus Leeming  <leeming@lyx.org>
4615
4616         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4617         than getFromGUIName to manipulate the color.
4618
4619 2003-12-14  Angus Leeming  <leeming@lyx.org>
4620
4621         * BranchList.[Ch]: minimize the API.
4622         (Branch::getBranch, getColor): now return a 'const &'.
4623         (Branch::setSelected) now returns a bool set to true if the
4624         selection status changes.
4625         (BranchList::clear, size, getColor, setColor, setSelected,
4626         allBranches, allSelected, separator): removed.
4627         (BranchList::find): new functions, returning the Branch with
4628         the given name.
4629         (BranchList::add, remove): return a bool indicating that
4630         the operation was successful.
4631
4632         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4633         new InsetBranch::isBranchSlected member function.
4634
4635         * LColor.[Ch]: mimimize the API.
4636         (fill): renamed as addColor and made private.
4637         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4638         versions of these functions taking a string arg have been removed.
4639
4640         * bufferparams.C (readToken):
4641         * lyxfunc.C (dispatch):
4642         * lyxrc.C (read): changes due to the altered BranchList and
4643         LColor APIs.
4644
4645         * factory.C (createInset, readInset): changes due to altered
4646         InsetBranch c-tor.
4647
4648 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4649
4650         * factory.C:
4651         * lyxfunc.C: remove insetminipage. "minipage-insert"
4652         now produces a frameless minipage box inset.
4653
4654 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4655
4656         * textcursor.[Ch] (selStart,selEnd): add new methods
4657         remove selection::start, end, use LyXCursor::operator<
4658         * lyxcursor.[Ch] (operator<): add
4659         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4660         * BufferView.[Ch] (unsetXSel): add
4661         * text2.C (clearSelection): use unsetXSel,adjust
4662         * text.C: adjust
4663         * text3.C: adjust
4664         * rowpainter.C: adjust
4665         * bufferview_funcs.C (put_selection_at): adjust
4666
4667 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4668
4669         * BufferView_pimpl.C: small coord. correction
4670
4671 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4672
4673         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4674         dragging over the splash screen.
4675
4676 2003-12-11  Angus Leeming  <leeming@lyx.org>
4677
4678         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4679         as it is now handled in LyXText::dispatch.
4680
4681         * text3.C (doInsertInset): remove a level of nesting.
4682
4683 2003-12-11  Angus Leeming  <leeming@lyx.org>
4684
4685         * factory.C (createInset): changes due to the changed interface to
4686         InsetCommandMailer::string2params.
4687
4688 2003-12-10  Angus Leeming  <leeming@lyx.org>
4689
4690         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4691         'dialog-show-new-inset <inset name>'
4692
4693 2003-12-10  Angus Leeming  <leeming@lyx.org>
4694
4695         * buffer.C: up the format to 227.
4696
4697         * factory.C: the box inset is now identified simply by 'Box'.
4698
4699 2003-12-10  Angus Leeming  <leeming@lyx.org>
4700
4701         * buffer.C: up the format to 226.
4702
4703         * factory.C: the note inset is now identified simply by 'Note'.
4704
4705 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4706
4707         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4708         when a pit is enough. Standarize a couple of loops.
4709
4710 2003-12-05  Angus Leeming  <leeming@lyx.org>
4711
4712         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4713         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4714         data to the re-worked "log" dialog.
4715
4716 2003-12-03  André Pönitz  <poenitz@gmx.net>
4717
4718         * PosIterator.C:
4719         * iterators.C:
4720         * lyxtext.h:
4721         * output_latex.C:
4722         * paragraph_funcs.C:
4723         * text.C:
4724         * text2.C: use Inset::getText instead of Inset::getParagraph
4725
4726 2003-12-03  André Pönitz  <poenitz@gmx.net>
4727
4728         * buffer.[Ch]:
4729         * lyxtext.h:
4730         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4731         InsetText::read() as LyXText::read()
4732
4733 2003-12-02  Angus Leeming  <leeming@lyx.org>
4734
4735         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4736         type. Add a comment in the implementation that the function uses
4737         the stream's bad() function rather than fail() as the std::streams
4738         would do.
4739
4740 2003-12-02  André Pönitz  <poenitz@gmx.net>
4741
4742         * lyxlex.[Ch]: make interface more similar to std::stream
4743
4744         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4745
4746 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4747
4748         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4749
4750 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4751
4752         * vspace.[Ch]: remove VSpace::NONE
4753
4754 2003-12-01  André Pönitz  <poenitz@gmx.net>
4755
4756         * buffer.[Ch]:
4757         * lyxtext.h: move ParagraphList member to LyXText
4758         rename LyXText::ownerParagraphs to LyXText::paragraph
4759
4760         * CutAndPaste.C:
4761         * bufferview_funcs.C:
4762         * iterators.[Ch]:
4763         * lyx_cb.C:
4764         * paragraph.C:
4765         * rowpainter.C:
4766         * tabular.C:
4767         * text.C:
4768         * text2.C:
4769         * text3.C: adjust
4770
4771         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4772
4773         * undo.C: fix cursor positioning
4774
4775 2003-12-01  John Levon  <levon@movementarian.org>
4776
4777         * BufferView_pimpl.C: fix a crash on exit with
4778         a buffer open
4779
4780 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4781
4782         * BranchList.C: fix setSelected() method.
4783
4784 2003-11-28  André Pönitz  <poenitz@gmx.net>
4785
4786         * ParagraphParameters.[Ch]:
4787         * ParameterStruct.h: remove space above/below from Paragraph to
4788          InsetVSpace
4789
4790         * BufferView_pimpl.C:
4791         * factory.C:
4792         * lyxfunc.C:
4793         * lyxtext.h:
4794         * output_latex.C:
4795         * paragraph.C:
4796         * paragraph_funcs.C:
4797         * rowpainter.[Ch]:
4798         * text.C:
4799         * text2.C:
4800         * text3.C: adjust
4801
4802 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4803
4804         * factory.C: Syntax change for CharStyles
4805
4806 2003-11-28  André Pönitz  <poenitz@gmx.net>
4807
4808         * BufferView.[Ch]:
4809         * BufferView.[Ch]:
4810         * buffer.[Ch]:
4811         * buffer.[Ch]: move LyXText member
4812
4813 2003-11-28  André Pönitz  <poenitz@gmx.net>
4814
4815         * BufferView.[Ch]: make LyXText * text a private member
4816
4817         * BufferView_pimpl.C:
4818         * cursor.C:
4819         * iterators.C:
4820         * lyx_cb.C:
4821         * lyxfind.C:
4822         * lyxtext.h:
4823         * rowpainter.[Ch]:
4824         * text.C:
4825         * text2.C:
4826         * undo.C: adjust
4827
4828         * output_plaintext.C: cleanup
4829
4830 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4831
4832         * buffer.C:
4833         * lyxtextclass.[Ch]: parametrize SGML document header
4834
4835 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4836
4837         * converter.[Ch]:
4838         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4839         getFlavor().
4840
4841 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4842
4843         * text2.C (setFont): rework using PosIterator (no more recursive)
4844         (setCharFont): no more needed
4845         (setLayout): no more selection cursors fiddling (done by redoCursor)
4846         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4847         destroy remaining ones)
4848
4849 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4850
4851         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4852         * lyxtext.h: ditto
4853         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4854         selection cursors
4855         * lyxfunc.C: adjust
4856         * text3.C: adjust + re-allow multi par depth changes
4857         * textcursor.C: simplify a bit
4858
4859 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4860
4861         * src/buffer.C:
4862         * src/lyxlayout.C:
4863         * src/lyxlayout.h:
4864         * src/lyxtext.h:
4865         * src/output_docbook.C:
4866         * src/output_latex.C:
4867         * src/paragraph.C:
4868         * src/paragraph.h:
4869         * src/sgml.C:
4870         * src/sgml.h:
4871         * src/text2.C: Introducing a number of tags parametrizing various
4872         XML formats that we may want to support
4873
4874 2003-11-25  André Pönitz  <poenitz@gmx.net>
4875
4876         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4877
4878         * lyxtext.h (leftMargin/rightMargin): simplify interface
4879
4880         * rowpainter.C:
4881         * text.C:
4882         * text2.C:
4883         * text3.C: adjust
4884
4885 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4886
4887         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4888         master file to any child files. Fixes bug 546.
4889
4890 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4891
4892         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4893
4894 2003-11-24  André Pönitz  <poenitz@gmx.net>
4895
4896         * rowpainter.C: simplification
4897
4898         * text2.C (updateCounters): remove call to redoParagraph on
4899         changed labels as this is far too expensive.
4900
4901 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4902
4903         * converter.C (convert): fix a crash: this function gets
4904         called with buffer == 0 from importer code.
4905
4906 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4907
4908         * text3.C (cursorPrevious): make sure that we do not compare
4909         iterators form different containers.
4910         (cursorNext): ditto
4911
4912         * rowpainter.C (paintSelection): make sure that we do not compare
4913         iterators from different containers.
4914
4915         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4916         iterators from different ParagraphList containers.
4917         [NEXT] ditto
4918
4919         * text2.C (LyXText): change order of initialization slightly
4920         (operator=): new function. copy all variables except cache_par_
4921         (moveUp): make sure that we do not compare iterators from
4922         different ParagraphList constainers.
4923         (moveDown): ditto
4924
4925         * text.C (firstPar): new function
4926         (lastPar): new function
4927         (endPar): new function
4928
4929         * lyxtext.h: move things around and group public functions, public
4930         variables, private functions, private variables
4931
4932 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4933
4934         * factory.C: change call to InsetERT constructor to avoid
4935         additional invocation of method status
4936         * text2.C (toggleInset): remove redundant update() call
4937         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4938         instead of a Bufferview pointer
4939
4940 2003-11-21  André Pönitz  <poenitz@gmx.net>
4941
4942         * rowpainter.C: simplification
4943
4944 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4945
4946         * text3.C (dispatch): make possible to extend a word/row selection
4947         with the mouse
4948
4949 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4950
4951         * lyxtext.h: x0_,y0_ -> xo_,yo_
4952         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4953         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4954         * rowpainter.C (paintRows): paint full paragraphs
4955
4956 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4957
4958         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4959         screen coordinates)
4960
4961 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4962
4963         * lyxtext.h: add x0_, y0_
4964         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4965         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4966
4967 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4968
4969         * text2.C (setCursorIntern): move the x_target update here *
4970         * text3.C: change some bv() to true/false in calls to
4971         cursorUp/Down/Right/Left
4972         * cursor.C: use helper function.
4973
4974 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4975
4976         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4977         * paragraph_funcs.[Ch]: correct comment
4978         * rowpainter.C: do not paint selections away from bv->cursor()
4979         Fix a long standing selection painting bug.
4980         * text3.C: generalize mouse-selection code to LyXTexts other that
4981         top one
4982         * textcursor.C: do not use y coords if we can use par offsets
4983
4984 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4985
4986         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4987         cursor position after e.g. inset insert)
4988
4989 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4990
4991         * lyxfind.C (replace): adjust to locking removal + some
4992         code simplification
4993
4994 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4995
4996         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4997         of the path
4998
4999 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
5000
5001         * lyxlayout.[Ch]:
5002         * output_docbook.C: XML sanitation: new layout
5003         parameters InnerTag and CommandDepth
5004
5005 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
5006
5007         * BufferView_pimpl.C:
5008         * factory.C:
5009         * text3.C: Fix the insertion and modification of button-style
5010         insets
5011
5012 2003-11-13  André Pönitz  <poenitz@gmx.net>
5013
5014         * InsetList.[Ch]: remove deleteLyXText
5015
5016         * paragraph.[Ch]: cache beginOfBody position
5017
5018         * Bidi.C:
5019         * text.C:
5020         * text2.C:
5021         * text3.C: remove superfluous update() calls
5022
5023         * vspace.C: cleanup
5024
5025 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
5026
5027         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5028         * BufferView.C (fitLockedInsetCursor): remove
5029         * cursor.[Ch] (getDim): add
5030         * text.C (getRowNearY): add faster version
5031         * text3.C: remove some update calls
5032
5033 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
5034
5035         * LaTeXFeatures.C:
5036         * LyXAction.C:
5037         * MenuBackend.C:
5038         * MenuBackend.h:
5039         * dispatchresult.h:
5040         * factory.C:
5041         * lfuns.h:
5042         * lyxfunc.C:
5043         * lyxtextclass.C:
5044         * lyxtextclass.h:
5045         * text3.C: The Character Style /XML short element patch.
5046
5047 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
5048
5049         * text3.C:
5050         * factory.C: Small step to solving 'unable to insert some insets'
5051         problem
5052
5053 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
5054
5055         * cursor.[Ch] (updatePos): new function for updating the y
5056         position of the tip inset
5057         * bufferview_funcs.C (put_selection_at):
5058         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5059
5060 2003-11-11  André Pönitz  <poenitz@gmx.net>
5061
5062         * text.C: remove big comment on invalid Paragraph pointers as it is
5063         not valid anymore
5064
5065 2003-11-11  André Pönitz  <poenitz@gmx.net>
5066
5067         * text_funcs.[Ch]: merge with ...
5068
5069         * text.C: ... this
5070
5071         * lyxtext.h:
5072         * text2.C:
5073         * text3.C: adjust
5074
5075         * Makefile.am: remove text_funcs.[Ch]
5076
5077 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5078
5079         * cursor.C (getPos): return absolute cached y coord
5080
5081         * BufferView_pimpl.C (fitCursor): new simplistic code
5082         (workAreaDispatch): add a fitCursor call
5083
5084 2003-11-10  André Pönitz  <poenitz@gmx.net>
5085
5086         * BufferView.[Ch]:
5087         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5088
5089 2003-11-10  André Pönitz  <poenitz@gmx.net>
5090
5091         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5092         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5093         indicate that the cursor needs to leave an inset
5094
5095         * lyxtext.h: remove inset locking
5096
5097         * cursor.[Ch]: re-implement functionality provided by inset locking
5098
5099         * BufferView.[Ch]:
5100         * BufferView_pimpl.[Ch]:
5101         * LyXAction.C:
5102         * bufferview_funcs.[Ch]:
5103         * factory.C:
5104         * funcrequest.[Ch]:
5105         * iterators.C:
5106         * lyx_cb.C:
5107         * lyxfind.C:
5108         * lyxfunc.C:
5109         * text.C:
5110         * text2.C:
5111         * text3.C:
5112         * undo.C: adjust
5113
5114 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5115
5116         * PosIterator.[Ch]: replace the stack with a vector, add inset
5117         accesor
5118         * iterators.[C]: adjust
5119
5120 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5121
5122         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5123         replaced
5124         * paragraph_funcs.C (readParToken): put the correct id in the
5125         error item, not the id of the top paragraph
5126
5127 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5128
5129         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5130         * bufferview_funcs.C (put_selection_at): use the above
5131
5132 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5133
5134         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5135
5136 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5137
5138         * output_linuxdoc.h:
5139         * output_plaintext.h:
5140         * output.h:
5141         * output_docbook.h: add #include statements
5142
5143 2003-11-05  José Matos  <jamatos@lyx.org>
5144
5145         * output_docbook.[Ch]:
5146         * output_latex.[Ch]:
5147         * output_linuxdoc.[Ch]:
5148         * output_plaintext.[Ch]: New files for output formats.
5149         * output.[Ch]: New file for helper functions.
5150
5151         * buffer.[Ch]:
5152         * paragraph_funcs.[Ch]: output functions moved to new files.
5153
5154         * outputparams.h: rename of latexrunparams.h
5155
5156         * LaTeX.[Ch]:
5157         * buffer.[Ch]:
5158         * bufferlist.[Ch]:
5159         * converter.[Ch]:
5160         * exporter.C:
5161         * paragraph.[Ch]:
5162         * paragraph_funcs.[Ch]:
5163         * paragraph_pimpl.[Ch]:
5164         * tabular.[Ch]: rename ascii to plaintext
5165         and LatexRunParams to OutputParams.
5166
5167 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5168
5169         * iterators.[Ch] (text): require bv argument
5170         * undo.C (recordUndo):
5171         * lyxfunc.C (dispatch):
5172         * bufferview_funcs.C (put_selection_at): adjust
5173
5174 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5175
5176         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5177
5178 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5179
5180         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5181         nestings
5182
5183 2003-11-04  André Pönitz  <poenitz@gmx.net>
5184
5185         * cursor.[Ch]: restructure
5186
5187         * BufferView.[Ch]:
5188         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5189
5190         * iterators.[Ch] (asCursor): remove
5191
5192         * lfuns.h: remove LFUN_INSET_EDIT
5193
5194         * lyxfunc.C:
5195         * tabular.C:
5196         * text.C:
5197         * text2.C:
5198         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5199
5200 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5201
5202         * lyxfind.[Ch]: complete overhaul
5203         * BufferView_pimpl.C:
5204         * lyxfunc.C: adjust
5205         * paragraph.[Ch] (insert): add
5206
5207 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5208
5209         * BufferView.[Ch]:
5210         * lyxtext.h:
5211         * text.C: remove dead spellcheck code
5212
5213 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * dispatchresult.h: add a val setter
5216
5217         * cursor.C (dispatch): use a tempvar for data_[i]
5218
5219 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5220
5221         * PosIterator.[Ch]: compile fix
5222
5223 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5224
5225         * text.C (cursorPar): deactivate the cursor cache
5226
5227 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5228
5229         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5230
5231 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * text3.C (dispatch): adjust for new DisptchResult semantics.
5234
5235         * lyxfunc.C (dispatch): handle update when return from
5236         Cursor::dispatch, adjust for new DispatchResult semantics.
5237
5238         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5239         DispatchResult(true) mean to not update. Add class functions for
5240         setting dispatched and update, as well as reading.
5241
5242         * cursor.C (dispatch): don't handle update here
5243
5244 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5245
5246         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5247         * trans_mgr.C: adjust
5248
5249         * paragraph_funcs.C (readParToken): exception safety
5250
5251         * lyxvc.h: store the vcs pointer in a scoped_ptr
5252         * lyxvc.C: adjust
5253
5254         * lyxsocket.C (serverCallback): exception safety
5255
5256         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5257
5258         * ispell.C (clone): make it return a auto_ptr
5259
5260         * factory.C (createInset): exception safety
5261         (readInset): exception safety
5262
5263         * bufferlist.C (newBuffer): exception safety
5264
5265         * Thesaurus.C (Thesaurus): use initialization for aik_
5266
5267         * MenuBackend.C (expandToc): exception safety.
5268
5269 2003-11-03  André Pönitz  <poenitz@gmx.net>
5270
5271         * buffer.C:
5272         * buffer.h:
5273         * bufferview_funcs.C: remove getInsetFromId()
5274
5275         * lyxcursor.[Ch]:
5276         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5277
5278         * lyxfunc.C:
5279         * text2.C:
5280         * text3.C: adjust
5281
5282 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5283
5284         * PosIterator.C (distance, advance): new
5285         * bufferview_funcs.[Ch] (put_selection_at): new
5286         * iterators.[Ch] (lockPath): new
5287
5288 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5289
5290         * iterators.[Ch] (asPosIterator): added
5291         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5292         * PosIterator.[Ch]: added
5293
5294 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5295
5296         * text3.C:
5297         * lyxfunc.C:
5298         * cursor.C (dispatch):
5299         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5300
5301         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5302         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5303         contructor, add a class function dispatched. Remove operator>=
5304
5305 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5306
5307         * debug.C: only use the default constructor for debugstream
5308         (lyxerr) here.
5309
5310         * main.C (main): include debug.h and setup the lyxerr streambuf
5311         here.
5312
5313 2003-10-31  José Matos  <jamatos@lyx.org>
5314
5315         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5316
5317         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5318         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5319         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5320         * paragraph_pimpl.C (simpleTeXSpecialC):
5321         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5322         add LatexRunParams argument.
5323
5324         * exporter.C (Export): change call accordingly.
5325
5326         * latexrunparams.h: add new member to take care of the other backends.
5327 2003-10-30  José Matos  <jamatos@lyx.org>
5328
5329         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5330         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5331         factorise code for paragraph output.
5332         * buffer.[Ch]:
5333         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5334         move functions.
5335
5336 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5337
5338         * text3.C (dispatch):
5339         * lyxfunc.C (dispatch):
5340         * cursor.C (dispatch):
5341         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5342
5343         * dispatchresult.h: make the dispatch_result_t ctor explicit
5344
5345 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5346
5347         * sgml.[Ch]:
5348         * buffer.C: small refactoring of docbook stuff
5349
5350 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5351
5352         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5353         meaning.
5354
5355 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5358         operator dispatch_result_t, and operators for == != and >=
5359
5360         * cursor.C (dispatch): adjust for operator dispatch_result_t
5361         removal. comment out call to update
5362
5363         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5364
5365 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * text3.C:
5368         * text2.C:
5369         * text.C:
5370         * lyxtext.h:
5371         * lyxfunc.C:
5372         * cursor.C:
5373         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5374         (dispatch):
5375
5376         * dispatchresult.h: new file, DispatchResult broken out of
5377         insets/insetbase.h
5378
5379         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5380
5381 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5382
5383         * text.C (rowBreakPoint): put a hack inside #if 0
5384
5385 2003-10-28  André Pönitz  <poenitz@gmx.net>
5386
5387         * lyxtext.h:
5388         * metricsinfo.C:
5389         * paragraph_funcs.C:
5390         * rowpainter.C:
5391         * text.C:
5392         * text2.C: general cleanup (lots of small stuff)
5393
5394 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5395
5396         * text2.C (cursorEnd): simple fix to the "end key goes to one
5397         before the end on last row" bug
5398
5399 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5400
5401         * text.C (backspace): fix the "zombie characters"
5402
5403 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5404
5405         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5406
5407 2003-10-27  André Pönitz  <poenitz@gmx.net>
5408
5409         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5410
5411         * factory.C: handle new InsetPagebreak, InsetLine
5412
5413         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5414         and move handling into new InsetPagebreak, InsetLine
5415
5416         * BufferView_pimpl.C:
5417         * LyXAction.C:
5418         * ParagraphParameters.C:
5419         * ParameterStruct.h:
5420         * lyxfunc.C:
5421         * lyxtext.h:
5422         * paragraph.C:
5423         * paragraph.h:
5424         * paragraph_funcs.C:
5425         * paragraph_pimpl.C:
5426         * rowpainter.C:
5427         * text.C:
5428         * text2.C:
5429         * text3.C: adjust
5430
5431 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5432
5433         * text.C:
5434         * lyxrow_funcs.[Ch]:
5435         * Bidi.C:
5436         * paragraph.C:
5437         * lyxtext.h:
5438         * rowpainter.C:
5439         * text2.C:
5440         * text3.C: remove lastPos uses in favour of Row::endpos
5441
5442 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5443
5444         * undo.C (performUndoOrRedo): fix two crashes by setting a
5445         cursor by hand and reordering some calls. Use bv->lockInset instead
5446         of inset->edit because the latter loses cursor information
5447
5448 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5449
5450         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5451         by Martin
5452         (rowBreakPoint): fix width. change point to point + 1.
5453         Add a missing check.
5454
5455 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5456
5457         * MenuBackend.C:
5458         * lyxfunc.C: fix (at least partly) the problems
5459         with the Nav menu and headers inside branch insets
5460         reported by Kayvan
5461
5462 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5463
5464         * paragraph.C (getChar): add strong asserts
5465
5466         * lyxrow_funcs.C (lastPos): remove hideous hack
5467
5468         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5469         (fill): adjust to that (avoid an infinite loop)
5470
5471 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5472
5473         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5474
5475 2003-10-23  André Pönitz  <poenitz@gmx.net>
5476
5477         * RowList_fwd.h: change list<> to vector<> to gain speed
5478         after suggestion from Alfredo
5479
5480 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5481
5482         * lyxtext.h: move the bidi stuff from here...
5483         * text.C: and here
5484         * text2.C: and here
5485         * Bidi.[Ch]: ... to here
5486
5487 2003-10-23  André Pönitz  <poenitz@gmx.net>
5488
5489         * lyxtext.h:
5490         * text.C (isLastRow, isFirstRow): new functions
5491
5492         * paragraph.h: new width cache member
5493
5494         * rowpainter.C: replace RowList::iterator with Row & where possible
5495
5496         * lyxfunc.C: replace several view()->text with a single call
5497
5498         * toc.C: fix 'unused' warning
5499
5500 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5501
5502         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5503         when woring with stream::pos_type
5504         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5505
5506 2003-10-22  André Pönitz  <poenitz@gmx.net>
5507
5508         * lyxtext.h:
5509         * text.C: use Row & instead of RowList::iterator
5510
5511         * lyxrow.h: rename end() to endpos()
5512
5513         * rowpainter.C:
5514         * text.C:
5515         * text2.C: adjust
5516
5517 2003-10-22  Angus Leeming  <leeming@lyx.org>
5518
5519         * buffer.[Ch] (fully_loaded): new member function, returning true
5520         only when the file has been loaded fully.
5521         Used to prevent the premature generation of previews and by the
5522         citation inset to prevent computation of the natbib-style label.
5523
5524         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5525         templates are all set up.
5526
5527         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5528
5529 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5530
5531         * text.C: fixed an "oops" in the "is a bit silly"
5532         bug fix
5533
5534 2003-10-21  André Pönitz  <poenitz@gmx.net>
5535
5536         * FuncStatus.[Ch]: small stuff, whitespace
5537
5538         * lyxfont.[Ch]: operator<<() for debug reasons
5539
5540         * lyxfunc.C:
5541         * lyxrow_funcs.C:
5542         * lyxtext.h: whitespace, spelling
5543
5544         * paragraph.C: naming of variables
5545
5546         * text.C:
5547         * text2.C: small stuff
5548
5549
5550 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5551
5552         * text.C: (1) finish off the inset display() work;
5553         (2) fix the "is a bit silly" bug (accessing char
5554         past end of par).
5555
5556 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5557
5558         * text.C: re-introduce display() for insets, fixing the
5559         various bugs (stretch of line above, math inset
5560         positioning, ...)
5561
5562 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5563
5564         * text.C (rightMargin): remove spurious semicolon
5565
5566         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5567         1415)
5568
5569 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5570
5571         * text3.C: fix one crash due to wrong cursor def
5572
5573 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5574
5575         * vc-backend.C (scanMaster): make the regex static
5576
5577         * LaTeX.C (scanAuxFile): make the regexs static
5578
5579         * text3.C (doInsertInset, dispatch, dispatch):
5580         * text2.C (cursorUp, cursorDown):
5581         * text.C (selectNextWordToSpellcheck):
5582         * BufferView_pimpl.C (dispatch):
5583         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5584
5585 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5586
5587         * lyxsocket.C: include <cerrno>
5588
5589 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5590
5591         * lyxfunc.C (dispatch): remove textcache stuff
5592
5593         * bufferlist.C (release): remove textcache stuff
5594         (closeAll): ditto
5595
5596         * TextCache.C: delete file
5597         * TextCache.h: delete file
5598
5599         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5600
5601         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5602         delete of the bv_->text.
5603         (resizeCurrentBuffer): remove texcache stuff
5604         (workAreaResize): ditto
5605
5606 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5607
5608         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5609         action.
5610
5611 2003-10-16  André Pönitz  <poenitz@gmx.net>
5612
5613         * lyxrow.[Ch]:
5614         * paragraph.h:
5615         * rowpainter.C:
5616         * text.C:
5617         * text2.C:
5618         * text3.C: speed up by storing y positions per paragraph plus per-row
5619         offset instead of having a 'full' y position in the row.
5620
5621 2003-10-15  André Pönitz  <poenitz@gmx.net>
5622
5623         * iterators.[Ch]:
5624         * iterators.[Ch]:
5625         * undo.[Ch]: make undo aware of inner insets
5626
5627 2003-10-14  Angus Leeming  <leeming@lyx.org>
5628
5629         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5630         static member functions LyX::ref() and LyX::cref.
5631         (lastfiles): new accessor functions for the new lastfiles_ member var.
5632         (addLyXView, views_): add a new LyXView to the list of views_.
5633         (updateInset): loop over all LyXViews to call their own updateInset
5634         member function, returning a pointer to the Buffer owning the inset.
5635
5636         * BufferView_pimpl.C (loadLyXFile):
5637         * MenuBackend.C (expandLastfiles):
5638         * bufferlist.C (MenuWrite, QuitLyX):
5639         lastfiles is no longer a global variable.
5640         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5641
5642         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5643         static function. Access through LyX::cref().emergencyCleanup().
5644
5645 2003-10-14  André Pönitz  <poenitz@gmx.net>
5646
5647         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5648
5649         * undo.[Ch]: restoring part of 'undo in insets'
5650
5651         * Makefile.am:
5652         * undo_funcs.[Ch]: merge with undo.[Ch]
5653
5654         * tabular.C: small cleansing stuff
5655
5656 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5657
5658         * paragraph_funcs.C (readParToken): report unknown insets as error
5659         boxes. Use the outer paragraph as location (also for unknown
5660         tokens).
5661
5662         * factory.C (readInset): do not abort on reading an unknown inset.
5663         Eat it and return 0.
5664
5665 2003-10-13  Angus Leeming  <leeming@lyx.org>
5666
5667         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5668
5669         * lyxrc.C: displayTranslator is now a function,
5670         declared in GraphicsTypes.h.
5671
5672 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5673
5674         * format.C: new placeholder $$a to pass the socket address.
5675
5676         * bufferlist.[Ch]: new function getBufferFromTmp.
5677
5678         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5679           files in the temporary dir.
5680
5681 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5682
5683         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5684
5685         * Makefile.am: add lyxsocket.[Ch].
5686
5687         * lyx_main.C (error_handler): handle SIGPIPE.
5688
5689 2003-10-13  André Pönitz  <poenitz@gmx.net>
5690
5691         * BufferView_pimpl.C:
5692         * lyxtext.h:
5693         * text.C:
5694         * text2.C:
5695         * text3.C:
5696         * undo_funcs.[Ch]: use paroffset_type instead of
5697           ParagraphList::iterators to prevent multiple conversion
5698           (and get a more robust interface)
5699
5700 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5701
5702         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5703         * lyxtext.h: ditto
5704         * text3.C (dispatch): ditto
5705
5706 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5707
5708         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5709         move the onlyfile, use onlyfile instead of foundfile in a couple
5710         of places.
5711
5712         * DepTable.C (update): flush the error stream a bit more
5713
5714 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5715
5716         * lyxserver.C (callback): adjust
5717
5718         * lyxfunc.C (getStatus): add a missing brace in commented code
5719         (ensureBufferClean): reindent
5720         (dispatch): delete version taking a string
5721
5722 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5723
5724         * LaTeX.C (deplog): move found file handlig from here...
5725         (handleFoundFile): .. to new function here.
5726         (deplog): make sure to discover several files mentioned on the
5727         same log line.
5728
5729 2003-10-10  André Pönitz  <poenitz@gmx.net>
5730
5731         * lyxfunc.C:
5732         * lyxtext.h:
5733         * tabular.C:
5734         * text.C:
5735         * text2.C:
5736         * text3.C: fix some of the tabular crashes
5737
5738 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5739
5740         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5741
5742         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5743
5744 2003-10-09  André Pönitz  <poenitz@gmx.net>
5745
5746         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5747
5748         * BufferView.C:
5749         * BufferView_pimpl.C:
5750         * bufferview_funcs.C:
5751         * lyx_cb.C:
5752         * lyxcursor.C:
5753         * lyxfind.C:
5754         * lyxfunc.C:
5755         * lyxtext.h:
5756         * text.C:
5757         * text2.C:
5758         * text3.C:
5759         * text_funcs.[Ch]:
5760         * textcursor.[Ch]:
5761         * undo_funcs.C: adjust
5762
5763 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5764
5765         * text2.C (incrementItemDepth): new function, use a backtracking
5766         algorithm to discover the correct item depth.
5767         (resetEnumCounterIfNeeded): new function, use a backtracking
5768         algorithm to discover if counter reset is needed.
5769         (setCounter): use them. Simplify a bit. Add different labels for
5770         different item depths for itemize.
5771
5772         * paragraph.C (Paragraph): remove initialization of enumdepth
5773         (operator=): ditto
5774
5775         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5776         enumerate and itemize. Change the type of itemdepth to signed char.
5777
5778 2003-10-08  André Pönitz  <poenitz@gmx.net>
5779
5780         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5781           thing assignable.
5782         * text.C:
5783         * text2.C: adjust
5784
5785         * tabular.[Ch]: fix crash after 'row-insert'
5786
5787 2003-10-08  Angus Leeming  <leeming@lyx.org>
5788
5789         Fix doxygen warnings.
5790
5791         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5792         Remove CutAndPaste:: prefix from header file declaration.
5793
5794         * LColor.h (fill): remove LColor:: prefix from declaration.
5795
5796         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5797         use lyx::depth_type rather than Paragraph::depth_type so that
5798         header file and .C file match.
5799
5800         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5801
5802         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5803         * aspell.C: \file aspell_local.C -> \file aspell.C
5804         * gettext.C: \file gettext.C -> \file src/gettext.C
5805         * gettext.h: \file gettext.h -> \file src/gettext.h
5806         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5807         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5808         * text.C: \file text.C -> \file src/text.C
5809
5810         * toc.C: move comment so that doxygen is not confused.
5811
5812 2003-10-07  Angus Leeming  <leeming@lyx.org>
5813
5814         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5815
5816 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5817
5818         * aspell.C:
5819         * aspell_local.h: add forgotten std::string's.
5820
5821 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5822
5823         * LaTeXFeatures.C:
5824         * LyXAction.C:
5825         * factory.C:
5826         * lfuns.h:
5827         * lyxfunc.C:
5828         * text3.C: The Box patch. Fancybox support, minipage, parbox
5829
5830 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5831
5832         * CutAndPaste.h:
5833         * DepTable.h:
5834         * FloatList.h:
5835         * LaTeXFeatures.h:
5836         * ParagraphParameters.h:
5837         * TextCache.h:
5838         * Thesaurus.h:
5839         * bufferlist.h:
5840         * exporter.h:
5841         * importer.h:
5842         * lastfiles.h:
5843         * lyxfind.h:
5844         * lyxfont.h:
5845         * lyxlex.h:
5846         * lyxtextclasslist.h:
5847         * messages.h:
5848         * paragraph.h:
5849         * paragraph_pimpl.C:
5850         * textcursor.h: add <string> and other small fixes to make Lars'
5851         std::string patch compile with STLport.
5852
5853 2003-10-06  Angus Leeming  <leeming@lyx.org>
5854
5855         * LColor.h: Add missing #include <string>.
5856
5857 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5858
5859         * All most all file in all subdirs: Make <string> be the prefered
5860         way of getting to std::string, add using declarations.
5861
5862 2003-10-06  André Pönitz  <poenitz@gmx.net>
5863
5864         * metricsinfo.C: initialize LyXFont before changing attribute.
5865         (fixes the 'math in \emph is upright' bug)
5866
5867 2003-10-06  André Pönitz  <poenitz@gmx.net>
5868
5869         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5870
5871 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5872
5873         * graph.C:
5874         * paragraph_pimpl.C: Small fixes to build using STLport
5875
5876 2003-10-02  André Pönitz  <poenitz@gmx.net>
5877
5878         * lyxfunc.C:
5879         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5880
5881 2003-10-01  André Pönitz  <poenitz@gmx.net>
5882
5883         * factory.C: assert early
5884
5885 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5886
5887         * lyx_main.C: remove the global debug object
5888
5889         * debug.h: adjust for new debugstream
5890
5891         * debug.C: adjust for new debugstream and keep the global debug
5892         object here.
5893
5894 2003-09-22  Angus Leeming  <leeming@lyx.org>
5895
5896         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5897         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5898         an incomplete class LyXFont.
5899
5900 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5901
5902         * factory.C: bug fix in branches
5903
5904 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5905
5906         * lyxfunc.C (processKeySym): adjust
5907         (dispatch): adjust
5908         (dispatch): change arg name from ev to func, adjust
5909         (sendDispatchMessage): ditto
5910
5911         * lyx_main.C (defaultKeyBindings): adjust keybindings
5912         (deadKeyBindings): ditto
5913
5914         * kbsequence.C (addkey): return a FuncRequest
5915
5916         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5917
5918         * kbmap.C (bind): take a FuncRequest as arg, adjust
5919         (read): adjust
5920         (lookup): adjust
5921         (defkey): change to take a FuncRequest as arg, adjust
5922         (findbinding): take a FuncRequest as arg, adjust.
5923
5924         * funcrequest.h (operator=): added
5925
5926         * funcrequest.C (FuncRequest): default kb_action changed from
5927         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5928
5929         * buffer.C (dispatch): simplify
5930         (dispatch): adjust to take a FuncRequest as arg, adjust
5931
5932         * boost.C (assertion_failed): change assertion message slightly
5933
5934         * ToolbarBackend.C (read): simplify
5935
5936         * MenuBackend.C (binding): adjust call to findbinding, add a
5937         message if no binding is found.
5938         (read): simplify
5939         (expandToc): correct by adding a empty FuncRequest
5940
5941         * LyXAction.C: include <boost/assert.hpp>
5942         (isPseudoAction): delete function
5943         (LookupFunc): change name to...
5944         (lookupFunc): this. change return type to FuncRequest.
5945         (getActionName): take kb_action as arg, simplify
5946         (funcHasFlag): add an assert, simplify.
5947
5948 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * toc.C (action): return a FuncRequest, simplify
5951
5952         * lyxfunc.C (processKeySym): adjust
5953         (getStatus): delete version that takes an int.
5954         (getStatus): adjust
5955         (dispatch): delete version that takes action as int
5956         (dispatch): adjust
5957         (sendDispatchMessage): simplify and adjust
5958
5959         * funcrequest.C (getArg): take unsigned int as arg
5960
5961         * ToolbarBackend.C (read): adjust
5962         (add): delete version that takes func as a string.
5963         (getIton): take a FuncRequest as arg
5964
5965         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5966         action.
5967
5968         * MenuBackend.C (MenuItem): add a new construct that only takes a
5969         Kind, simplify the constructor use for submenus.
5970         (add): adjust
5971         (expandLastfiles): adjust
5972         (expandDocuments): adjust
5973         (expandFormats): adjust
5974         (expandFloatListInsert): adjust
5975         (expandFloatInsert): adjust
5976         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5977
5978         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5979         Remove class variables lyx_pseudo_map and lyx_arg_map
5980
5981         * LyXAction.C (searchActionArg): delete function
5982         (getPseudoAction): delete function
5983         (retrieveActionArg): delete function
5984         (LookupFunc): make it return kb_action, simplify.
5985         (getActionName): simplify
5986
5987         * factory.C (createInset): fix new bug
5988
5989 2003-09-19  Angus Leeming  <leeming@lyx.org>
5990
5991         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5992         masterFilename_ parameter in the include inset.
5993
5994         * factory.C (createInset): changes due to the changes to InsetInclude.
5995
5996 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5997
5998         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5999
6000 2003-09-18  Angus Leeming  <leeming@lyx.org>
6001
6002         * buffer.C:
6003         * BufferView.C: pass the buffer when calling Inset::getLabelList,
6004         Inset::fillWithBibKeys.
6005         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
6006
6007 2003-09-18  Angus Leeming  <leeming@lyx.org>
6008
6009         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
6010         variables.
6011         (ctor): pass and store a 'Buffer const &'
6012         (buffer): new member function.
6013
6014         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
6015         '*this' to the LaTeXFeatures ctor.
6016
6017 2003-09-18  Angus Leeming  <leeming@lyx.org>
6018
6019         * LColor.h:
6020         * lyxfont.C:
6021         * lyxfont.h:
6022         * lyxtext.h:
6023         * text.C: rename EnumLColor as LColor_color.
6024
6025 2003-09-18  Angus Leeming  <leeming@lyx.org>
6026
6027         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6028         remove #include "insets/insetbase.h" from cursor.h.
6029
6030 2003-09-18  Angus Leeming  <leeming@lyx.org>
6031
6032         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6033         InsetOld_code to remove #include "inset.h".
6034
6035         * iterators.C: add #include "insets/inset.h"
6036
6037 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
6038
6039         * BufferView.C: remove more locking stuff that apparently doesn't
6040         do anything sensible.
6041
6042 2003-09-16  André Pönitz  <poenitz@gmx.net>
6043
6044         * paragraph.[Ch]:
6045         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6046           performance boost.
6047
6048 2003-09-16  Angus Leeming  <leeming@lyx.org>
6049
6050         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6051
6052         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6053         arg/return type.
6054
6055         * paragraph.h: remove #include "lyxfont.h". Forward declare
6056         LyXFont_size.
6057
6058 2003-09-16  Angus Leeming  <leeming@lyx.org>
6059
6060         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6061         of support/textutils.h.
6062         (isWord): move the contents of support/textutils.h's IsWordChar here.
6063
6064         * buffer.C:
6065         * lyxfind.C:
6066         * rowpainter.C:
6067         * text.C:
6068         * text2.C: add #include "paragraph.h".
6069
6070         * rowpainter.C:
6071         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6072
6073 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6074
6075         * main.C:
6076         * lyx_main.C:
6077         * lyx_cb.C:
6078         * buffer.C:
6079         * LaTeX.C: use namespace alias for lyx::support::os
6080
6081 2003-09-16  Angus Leeming  <leeming@lyx.org>
6082
6083         * bufferparams.C:
6084         * bufferview_funcs.C:
6085         * factory.C:
6086         * lyxfunc.C:
6087         * paragraph_pimpl.C:
6088         * rowpainter.C:
6089         * text.C: add #include "LColor.h".
6090
6091 2003-09-16  Angus Leeming  <leeming@lyx.org>
6092
6093         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6094         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6095         return LyXFont &.
6096         Store the FontBits::color variable as an int rather than as an
6097         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6098         file.
6099
6100         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6101         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6102         string calls together.
6103
6104         * lyxrc.C: add #include "LColor.h".
6105
6106 2003-09-15  Angus Leeming  <leeming@lyx.org>
6107
6108         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6109         a cow_ptr.
6110
6111 2003-09-15  Angus Leeming  <leeming@lyx.org>
6112
6113         * LColor.h: add an EnumLColor wrapper for LColor::color.
6114
6115         * lyxfont.[Ch] (color, setColor, realColor):
6116         * lyxtext.h, text.C (backgroundColor):
6117         pass EnumLColor args to/from the functions, rather than LColor::color
6118         ones.
6119
6120         * lyxfont.h:
6121         * lyxtext.h: forward declare EnumLColor.
6122
6123         * lyx_main.C: add #include "LColor.h".
6124
6125 2003-09-15  Angus Leeming  <leeming@lyx.org>
6126
6127         * .cvsignore: add lyx-gtk.
6128
6129 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6130
6131         * Chktex.C
6132         * LaTeX.C
6133         * LaTeXFeatures.C
6134         * ParagraphParameters.C
6135         * Spacing.C
6136         * buffer.C
6137         * bufferparams.C
6138         * bufferview_funcs.C
6139         * chset.C
6140         * counters.C
6141         * funcrequest.C
6142         * lyxfont.C
6143         * lyxgluelength.C
6144         * lyxlength.C
6145         * paragraph.C
6146         * paragraph_funcs.C
6147         * text3.C
6148         * vc-backend.C: remove usage of STRCONV
6149
6150 2003-09-15  Angus Leeming  <leeming@lyx.org>
6151
6152         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6153         explicitly define the color passed to the painter.
6154
6155 2003-09-15  Angus Leeming  <leeming@lyx.org>
6156
6157         * bufferparams.C (BufferParams): reorder member initializers to avoid
6158         compiler warning.
6159
6160 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6161
6162         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6163         * text.C (updateRowPositions): remove an unusual nop
6164
6165 2003-09-12  André Pönitz  <poenitz@gmx.net>
6166
6167         * BufferView_pimpl.C:
6168         * Bullet.C:
6169         * layout.h:
6170         * lyxfunc.C:
6171         * lyxlayout.[Ch]:
6172         * lyxtextclass.C:
6173         * rowpainter.C:
6174         * text.C:
6175         * text2.C:
6176         * Counters.[Ch]: finish the 'automatic counters' job
6177
6178 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6179
6180         * aspell.C: include <boost/assert.cpp> (compile fix)
6181
6182 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6183
6184         * boost.C (assertion_failed): use lyx::support::abort instead of
6185         assert.
6186
6187 2003-09-10  Angus Leeming  <leeming@lyx.org>
6188
6189         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6190         with their _fwd progeny.
6191
6192 2003-09-09  Angus Leeming  <leeming@lyx.org>
6193
6194         134 files throughtout the source tree: replace 'using namespace abc;'
6195         directives with the appropriate 'using abc::xyz;' declarations.
6196
6197 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6198
6199         * boost.C (emergencyCleanup): moved here from LAssert.c
6200         (assertion_failed): new function, called by BOOST_ASSERT
6201
6202         * several files: change Assert to BOOST_ASSERT
6203
6204 2003-09-09  Angus Leeming  <leeming@lyx.org>
6205
6206         * buffer.[Ch]: Add an Impl class and move Buffer's member
6207         variables into it. As a result move several header files out of
6208         buffer.h.
6209
6210         Add header files to lots of .C files all over the tree as a result.
6211
6212 2003-09-09  Angus Leeming  <leeming@lyx.org>
6213
6214         * buffer.[Ch]: make Buffer's member variables private. Add
6215         accessor functions.
6216
6217         Lots of changes all over the tree as a result.
6218
6219 2003-09-08  Angus Leeming  <leeming@lyx.org>
6220
6221         * graph.C: #include <config.h>.
6222
6223 2003-09-08  Angus Leeming  <leeming@lyx.org>
6224
6225         * BranchList.C:
6226         * BufferView.C:
6227         * BufferView_pimpl.C:
6228         * CutAndPaste.C:
6229         * DepTable.C:
6230         * LaTeX.C:
6231         * LaTeXFeatures.C:
6232         * LyXAction.C:
6233         * MenuBackend.C:
6234         * TextCache.C:
6235         * aspell.C:
6236         * buffer.C:
6237         * bufferlist.C:
6238         * changes.C:
6239         * chset.C:
6240         * converter.C:
6241         * counters.C:
6242         * debug.C:
6243         * graph.C:
6244         * ispell.C:
6245         * lyx_cb.C:
6246         * lyxfind.C:
6247         * lyxfunc.C:
6248         * lyxlex_pimpl.C:
6249         * lyxrc.C:
6250         * lyxrow.C:
6251         * paragraph.C:
6252         * rowpainter.C:
6253         * texrow.C:
6254         * text.C:
6255         * text2.C:
6256         * toc.C: remove redundant using directives.
6257
6258 2003-09-07  Angus Leeming  <leeming@lyx.org>
6259
6260         * LaTeXFeatures.h: remove #include "support/types.h".
6261         * ToolbarBackend.h: remove #include <algorithm>.
6262         * changes.h: remove #include <ctime>.
6263         * debug.h: remove #include <iosfwd>.
6264         * graph.h: remove #include "support/std_string.h".
6265         * lyx_main.h: remove #include <csignal>.
6266         * lyxlex_pimpl.h: remove #include <fstream>.
6267         * sgml.h: remove #include <algorithm>, <utility>.
6268         * toc.h: remove #include "support/std_ostream.h".
6269         Add #include <iosfwd>.
6270
6271 2003-09-07  Angus Leeming  <leeming@lyx.org>
6272
6273         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6274
6275         * converter.h: forward declare LatexRunParams.
6276         * encoding.h: remove #include "lyxrc.h".
6277         * lyxtext.h: remove #include "LColor.h".
6278         * lyxtextclass.h: remove #include "support/types.h".
6279         * trans.h: remove #include "tex-accent.h".
6280         * trans_mgr.h: remove #include "tex-accent.h".
6281         * insets/inset.h: remove #include "support/types.h", <vector>.
6282         * insets/insetcollapsable.h: remove #include "LColor.h".
6283         * insets/insetinclude.h: remove #include "dimension.h".
6284         * insets/insetlatexaccent.h: remove #include "dimension.h".
6285         * insets/insetoptarg.h:: remove #include "insettext.h".
6286         * insets/insettext.h: remove #include "dimension.h",
6287         <boost/shared_ptr.hpp>
6288
6289         * insets/renderers.h: add #include "dimension.h".
6290         * insets/updatableinset.h: add #include "support/types.h".
6291
6292         * many .C files: Associated changes.
6293
6294 2003-09-06  Angus Leeming  <leeming@lyx.org>
6295
6296         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6297         one, inside testInvariant.
6298
6299         * PrinterParams.C: new file.
6300         * PrinterParams.[Ch]: move the function bodies out of line.
6301
6302 2003-09-06  Angus Leeming  <leeming@lyx.org>
6303
6304         * ParagraphParameters.h: forward declare ParameterStruct rather than
6305         including its header file.
6306         (depth): moved out-of-line.
6307
6308 2003-09-06  Angus Leeming  <leeming@lyx.org>
6309
6310         * BufferView_pimpl.h:
6311         * kbmap.h:
6312         * kbsequence.h:
6313         * lyxfunc.h: forward declare LyXKeySym rather than
6314         #include "frontends/LyXKeySym.h".
6315
6316         * BufferView_pimpl.C:
6317         * kbmap.C:
6318         * kbsequence.C:
6319         * lyxfunc.C: associated changes.
6320
6321 2003-09-06  Angus Leeming  <leeming@lyx.org>
6322
6323         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6324         As a result, can remove the #include "insets/inset.h" from BufferView.h
6325
6326 2003-09-06  Angus Leeming  <leeming@lyx.org>
6327
6328         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6329         As a result, can remove the #include "insets/inset.h" from BufferView.h
6330
6331 2003-09-06  Angus Leeming  <leeming@lyx.org>
6332
6333         * buffer_funcs.C:
6334         * buffer.h:
6335         * bufferlist.C:
6336         * BufferView.C:
6337         * bufferview_funcs.C:
6338         * BufferView_pimpl.C:
6339         * CutAndPaste.C:
6340         * lyx_cb.C:
6341         * lyxfunc.C:
6342         * paragraph.h:
6343         * ParagraphParameters.C:
6344         * tabular.C:
6345         * text3.C:
6346         * toc.C:
6347         * undo_funcs.C:
6348         * frontends/controllers/ControlDocument.C:
6349         * insets/insetcaption.C: rearrange the #includes into some sort of
6350         coherent order.
6351
6352         * buffer.h: remove #includes ErrorList.h, undo.h
6353
6354 2003-09-06  Angus Leeming  <leeming@lyx.org>
6355
6356         * support/types.h: add a 'depth_type' typedef, used to store the
6357         nesting depth of a paragraph.
6358
6359         * paragraph.h:
6360         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6361         defining explicitly.
6362
6363         * buffer.h:
6364         * paragraph_funcs.h:
6365         * ParagraphParameters.h:
6366         * sgml.h: use lyx::depth_type rather than Paragraph or
6367         ParameterStruct's depth_type.
6368
6369         * buffer.h
6370         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6371
6372         * BufferView.C:
6373         * BufferView_pimpl.C:
6374         * CutAndPaste.C:
6375         * ParagraphParameters.C:
6376         * buffer_funcs.C:
6377         * bufferlist.C:
6378         * bufferview_funcs.C:
6379         * lyx_cb.C:
6380         * lyxfunc.C:
6381         * tabular.C:
6382         * text3.C:
6383         * toc.C:
6384         * undo_funcs.C:
6385         * frontends/LyXView.C:
6386         * frontends/controllers/ControlDocument.C:
6387         * frontends/controllers/ControlErrorList.C:
6388         * insets/insetbibitem.C:
6389         * insets/insetbranch.C:
6390         * insets/insetcaption.C:
6391         * insets/insetcollapsable.C:
6392         * insets/insetenv.C:
6393         * insets/insetert.C:
6394         * insets/insetfloat.C:
6395         * insets/insetfoot.C:
6396         * insets/insetfootlike.C:
6397         * insets/insetnewline.C:
6398         * insets/insetquotes.C:
6399         * insets/insettabular.C:
6400         * insets/insettext.C:
6401         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6402
6403         * frontends/controllers/ControlChanges.C: #include "changes.h".
6404
6405 2003-09-06  Angus Leeming  <leeming@lyx.org>
6406
6407         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6408         than #including paragraph.h.
6409
6410         * ParagraphList.h:
6411         * RowList.h: deleted. Superfluous.
6412
6413         * CutAndPaste.h:
6414         * iterators.h:
6415         * lyxcursor.h:
6416         * lyxtext.h:
6417         * text_funcs.h:
6418         * undo.h:
6419         * undo_funcs.h:
6420         * insets/inset.h:
6421         * insets/insettext.h: use ParagraphList_fwd.h rather than
6422         ParagraphList.h.
6423
6424         * paragraph.h: don't forward declare ParagraphList.
6425
6426         * buffer.h:
6427         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6428         rather than ParagraphList.h. paragraph.h is still needed for the
6429         Paragraph::depth_type parameters.
6430
6431         * textcursor.h: enable it to compile stand-alone in light of the
6432         above changes.
6433
6434         * bufferview_funcs.C:
6435         * iterators.C:
6436         * lyxfunc.C:
6437         * lyxrow_funcs.C:
6438         * paragraph.C:
6439         * rowpainter.C:
6440         * text.C:
6441         * text2.C:
6442         * text3.C:
6443         * text_funcs.C:
6444         * textcursor.C:
6445         * undo.C:
6446         * frontends/controllers/ControlParagraph.C:
6447         * frontends/controllers/ControlTabular.C:
6448         * insets/insetmarginal.C:
6449         * insets/insetminipage.C:
6450         * insets/insetnote.C:
6451         * insets/insetoptarg.C: add header files needed to compile again.
6452
6453 2003-09-06  Angus Leeming  <leeming@lyx.org>
6454
6455         * RowList_fwd.h: new file, forward-declaring Row rather than
6456         #including lyxrow.h.
6457
6458         * lyxrow_funcs.h:
6459         * lyxtext.h:
6460         * paragraph.h:
6461         * insets/insettext.h: use it instead of RowList.h
6462
6463         * bufferview_funcs.C:
6464         * lyxfunc.C:
6465         * lyxrow_funcs.C:
6466         * paragraph.C:
6467         * rowpainter.C:
6468         * text.C:
6469         * text2.C:
6470         * text3.C: #include "RowList.h".
6471
6472 2003-09-05  Angus Leeming  <leeming@lyx.org>
6473
6474         * factory.C (createInset):
6475         * vspace.C (c-tor): replace sscanf call with an istringstream.
6476         * ispell.C: re-add missing HP/UX headers.
6477         * lyxserver.C: re-add missing  os2 headers.
6478
6479 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6480
6481         * BranchList.C:
6482         * graph.C:
6483         * ispell.C:
6484         * lastfiles.C:
6485         * lyx_cb.C:
6486         * lyxserver.C:
6487         * texrow.C:
6488         * text3.C: re-add missing system headers, needed for 2.95.2.
6489
6490 2003-09-05  Angus Leeming  <leeming@lyx.org>
6491
6492         Changes most place everywhere due to the removal of using directives
6493         from support/std_sstream.h.
6494
6495 2003-09-05  Angus Leeming  <leeming@lyx.org>
6496
6497         Replace LString.h with support/std_string.h,
6498         Lsstream.h with support/std_sstream.h,
6499         support/LIstream.h with support/std_istream.h,
6500         support/LOstream.h with support/std_ostream.h.
6501
6502         Changes resulting throughout the tree.
6503
6504 2003-09-05  Angus Leeming  <leeming@lyx.org>
6505
6506         * sgml.h: ensure that the header file can be compiled stand-alone.
6507         * *.C: strip out redundant #includes. (320 in total.)
6508
6509 2003-09-04  Angus Leeming  <leeming@lyx.org>
6510
6511         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6512         here (from getPackages).
6513
6514         * debug.[Ch]: add a new EXTERNAL tag.
6515
6516 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6517
6518         * text2.C (cursorEnd): simplify
6519         (setCursor): adjust
6520         (getColumnNearX): adjust
6521
6522         * text.C (computeBidiTables): adjust
6523         (fill): adjust
6524
6525         * rowpainter.C (paintChars): adjust
6526         (paintSelection): adjust
6527         (paintChangeBar): adjust
6528         (paintText): adjust
6529
6530         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6531         lastPos instead.
6532         (numberOfSeparators): adjust
6533
6534 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6535
6536         * LyXAction.C:
6537         * box.[Ch]:
6538         * lfuns.h:
6539         * lyxfunc.C:
6540         * text3.C: Restricts the mouse click functionality
6541         of insets like bibtex, include, toc and floatlist to the visible
6542         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6543         up the dialogs. Cursor has to be in front of the inset (i.e.
6544         start of row) for this to function.
6545
6546 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6547
6548         * bufferview_funcs.C (currentState): output row information
6549
6550 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6551
6552         * bufferview_funcs.C (currentState): output paragraph position
6553
6554 2003-09-04  Angus Leeming  <leeming@lyx.org>
6555
6556         * FloatList.h: move out #include "Floating.h".
6557         * LaTeX.h: move out #include "DepTable.h".
6558         * LyXAction.h: move out #include "funcrequest.h".
6559         * buffer.h: move out #include "author.h", "iterators.h".
6560         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6561         * lyx_main.h: move out #include "errorlist.h".
6562         * lyxfunc.h: move out #include "FuncStatus.h".
6563         * lyxtext: move out #include "lyxcursor.h".
6564         * paragraph_pimpl.h: move out #include "counters.h".
6565
6566 2003-09-03  Angus Leeming  <leeming@lyx.org>
6567
6568         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6569         preamble_snippets list, enabling us to add snippets to the preamble
6570         only if the snippet was not there already.
6571
6572 2003-09-04  Angus Leeming  <leeming@lyx.org>
6573
6574         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6575
6576 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6577
6578         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6579         update
6580
6581 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6582
6583         * BranchList.C: point fix, earlier forgotten
6584
6585 2003-09-02  Angus Leeming  <leeming@lyx.org>
6586
6587         * box.C (contains): renamed from 'contained' after a fantastic
6588         amount of hot air.
6589
6590 2003-09-02  John Levon  <levon@movementarian.org>
6591
6592         * BufferView.C:
6593         * lyxcursor.h:
6594         * lyxcursor.C:
6595         * lyxfunc.C:
6596         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6597
6598 2003-09-02  John Levon  <levon@movementarian.org>
6599
6600         * text2.C: simplification of cursorEnd(), including partial
6601         fix for bug 1376
6602
6603 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6604
6605         * buffer.C (readFile): add a space
6606
6607 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6608
6609         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6610
6611 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6612
6613         * buffer.C (readFile): new function, take a filename and a
6614         ParagraphList::iterator
6615         (readFile): adjust
6616         (readFile): adjust, make it private. don't use setStream, make
6617         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6618         always contain the filename.
6619
6620         * BufferView.C (insertLyXFile): simplify and make it work for
6621         gzipped files.
6622
6623 2003-08-30  John Levon  <levon@movementarian.org>
6624
6625         * Makefile.am: fix dist (from Kayvan)
6626
6627 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6628
6629         * most files: change to use const Buffer refs
6630
6631 2003-08-27  André Pönitz  <poenitz@gmx.net>
6632
6633         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6634         on top of ownerPar().
6635
6636 2003-08-27  John Levon  <levon@movementarian.org>
6637
6638         * funcrequest.C: properly initialise POD members
6639
6640 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6641
6642         * lyxtext.h (top_y): move top_y from here
6643         * text.C:
6644         * text2.C:
6645         * text3.C:
6646         * BufferView.[Ch]:
6647         * BufferView_pimpl.[Ch]: to here
6648         * frontends/screen.C:
6649         * insets/insettabular.C:
6650         * insets/insettext.C: adjust
6651         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6652
6653 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6654
6655         * BufferView.[Ch]:
6656         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6657
6658 2003-08-26  André Pönitz  <poenitz@gmx.net>
6659
6660         * paragraph_func.[Ch] (outerPar): new function
6661
6662         * paragraph.C:
6663         * paragraph_funcs.C:
6664         * paragraph_funcs.h:
6665         * paragraph_pimpl.C:
6666         * text2.C: remove Inset::par_owner
6667
6668 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6669
6670         * lyxrow_funcs.C:
6671         * lyxtext.h:
6672         * text.C:
6673         * text2.C: eliminates the needFullRow/display() stuff
6674         altogether, putting the logic in metrics/draw in the insets.
6675
6676 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6677
6678         * text2.C (redoParagraphInternal, redoParagraphs):
6679         * text.C (redoParagraph): add a call to updateRowPositions at the
6680         end of each 'metrics-like' call. Remove all others.
6681         (getRow): remove the 'y-computing' version.
6682         (getRowNearY): do not compute nor return the real y. Solve the
6683         'y < 0' problem and simplify.
6684
6685 2003-08-22  Angus Leeming  <leeming@lyx.org>
6686
6687         * *.[Ch]: clean-up of licence and author blurbs.
6688         Also move config.h out of a few .h files and into a few .C files.
6689
6690 2003-08-22  André Pönitz  <poenitz@gmx.net>
6691
6692         * lyxrow.[Ch]: add x_ and *fill_ members
6693
6694         * lyxtext.h:
6695         * text.C:
6696         * rowpainter.C:
6697         * text2.C: adjust/remove prepareToPrint() calls
6698
6699 2003-08-22  André Pönitz  <poenitz@gmx.net>
6700
6701         * lyxrow.[Ch]: add  end_ member
6702
6703         * lyxrow_funcs.C: use LyXRow::end_
6704
6705         * lyxtext.h (singleWidth): add LyXFont parameter
6706
6707         * rowpainter.C:
6708         * text2.C: adjust LyXText::singleWidth() calls
6709
6710         * text.C (redoParagraph): simplify row breaking logic
6711
6712
6713 2003-08-19  André Pönitz  <poenitz@gmx.net>
6714
6715         * funcrequest.C: initialize button_ member
6716
6717         * text3.C:
6718         * rowpainter.[Ch]: interface consolidation
6719
6720 2003-08-18  André Pönitz  <poenitz@gmx.net>
6721
6722         * BufferView.C:
6723         * BufferView_pimpl.C:
6724         * lyxfind.C:
6725         * paragraph_funcs.C:
6726         * rowpainter.C:
6727         * text3.C: remove LyXScreen::draw() and fitCursor calls
6728
6729         * BranchList.h: remove spurious semicolons
6730
6731         * MenuBackend.C: fix branchlist related crash
6732
6733 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6734
6735         * BranchList.[Ch]:
6736         * InsetList.[Ch]:
6737         * LColor.[Ch]:
6738         * LyXAction.C:
6739         * Makefile.am:
6740         * MenuBackend.[Ch]:
6741         * bufferparams.[Ch]:
6742         * factory.C:
6743         * lfuns.h:
6744         * lyxfunc.C:
6745         * text3.C: implements the 'branch inset'
6746         idea. This allows the output of various versions of a document
6747         from a single source version, selectively outputing or suppressing
6748         output of parts of the text.
6749         This implementation contains a 'branch list editor' in a separate
6750         tab of the document settings dialog. Branches are user definable
6751         and have a "display colour" to distinguish them on-screen.
6752
6753         ColorHandler was somewhat cleaned up.
6754         (1) make possible a dynamically growing LColor list by allowing
6755         the graphic context cache to grow along (vector);
6756         (2) eliminate an IMHO unnecessary step in colour allocation.
6757
6758 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6759
6760         * BufferView_pimpl.C: compile fix
6761
6762 2003-08-15  André Pönitz  <poenitz@gmx.net>
6763
6764         * rowpainter.C: remove extra metrics calls
6765
6766         * lyxtext.h: merge the two constructors into a single one,
6767           pass reference to owner's par list
6768
6769         * BufferView_pimpl.C:
6770         * text.C:
6771         * text2.C: adjust
6772
6773 2003-08-15  André Pönitz  <poenitz@gmx.net>
6774
6775         * lyxrow_funcs.[Ch]:
6776         * lyxtext.h:
6777         * paragraph.h:
6778         * paragraph_funcs.C:
6779         * rowpainter.C:
6780         * text.C:
6781         * text2.C:
6782         * text3.C:
6783         * text_funcs.C: split LyXText::rowlist_ into individual
6784         Paragraph::rows_ chunks
6785
6786         * BufferView.[Ch]:
6787         * BufferView_pimpl.[Ch]:
6788         * lyxfind.C:
6789         * lyxtext.h:
6790         * text3.C: remove toggleSelection()
6791
6792 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6793
6794         * bufferlist.C: beautify two alerts (shorter text of buttons)
6795         * buffer.C: Remove redundant ' ' from message
6796         * tabular.h:
6797         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6798         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6799         rename VALIGN_CENTER to VALIGN_MIDDLE
6800
6801 2003-08-11  André Pönitz  <poenitz@gmx.net>
6802
6803         * lyxtext.h (getPar):
6804         * text.C: new function
6805
6806 2003-08-11  André Pönitz  <poenitz@gmx.net>
6807
6808         * Makefile.am:
6809         * tracer.[Ch]: remove unneeded files
6810
6811         * InsetList.[Ch]: remove resizeInsetsLyXText()
6812
6813         * lyxtext.h:
6814         * text.C:
6815         * text2.C:
6816         * text3.C: merge insertParagraphs() and appendParagraph()
6817         remove breakAgain(), update()
6818
6819         * BufferView_pimpl.[Ch]:
6820         * bufferview_funcs.[Ch]:
6821         * lyxfunc.C:
6822         * paragraph.[Ch]:
6823         * rowpainter.C:
6824         * tabular.C: adjust after text & InsetList changes.
6825
6826 2003-08-08  André Pönitz  <poenitz@gmx.net>
6827
6828         * text.C (insertChar, backspace): replace rowlist fiddling
6829         with rebreak of full par
6830
6831         * lyxtext.h:
6832         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6833         checkParagraph, updateInset): removed
6834
6835 2003-08-07  André Pönitz  <poenitz@gmx.net>
6836
6837         * paragraph.C:
6838         * text3.C: merge some LFUN handlers, remove dead code
6839
6840 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6841
6842         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6843
6844 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6845
6846         * text2.C (DEPM): fix part of bug 1255 and 1256
6847
6848 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6849
6850         * BufferView_pimpl.C (workAreaDispatch): change to use
6851         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6852         that are no mouse related.
6853
6854 2003-08-05  André Pönitz  <poenitz@gmx.net>
6855
6856         * BufferView.[Ch]:
6857         * BufferView_pimpl.[Ch]:
6858         * bufferview_funcs.C:
6859         * text2.C:
6860         * text3.C: rip out "deep update"
6861
6862         * textcursor.[Ch] (last_sel_cursor): remove unused member
6863
6864 2003-08-04  André Pönitz  <poenitz@gmx.net>
6865
6866         * BufferView.[Ch]:
6867         * BufferView_pimpl.[Ch]:
6868         * ParagraphParameters.C:
6869         * bufferview_funcs.C:
6870         * lyx_cb.C:
6871         * lyxfind.C:
6872         * lyxfunc.C:
6873         * text.C:
6874         * text2.C:
6875         * text3.C: replace "complicated" BufferView::update(...) calls with
6876         simpler ones.
6877
6878         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6879
6880 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6881
6882         * Makefile.am (lyx_SOURCES): add paper.h
6883
6884 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6885
6886         * Makefile.am: move things around so that both lyx-qt and
6887         lyx-xforms can be built (according to --with-frontend). Then lyx
6888         is a symbolic link to lyx-[firstfrontend]
6889
6890 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6891
6892         * Always use std::endl with lyxerr
6893
6894 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6895
6896         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6897
6898 2003-08-01  André Pönitz  <poenitz@gmx.net>
6899
6900         * BufferView.[Ch]:
6901         * BufferView_pimpl.[Ch]:
6902         * lyxfunc.C:
6903         * text3.C: merge BufferView::repaint() and BufferView::update()
6904
6905 2003-08-01  José Matos  <jamatos@lyx.org>
6906
6907         * buffer.[Ch]: file_format is no longer a buffer data element.
6908
6909 2003-08-01  André Pönitz  <poenitz@gmx.net>
6910
6911         * BufferView.C:
6912         * lyxtext.h:
6913         * text.C:
6914         * text2.C: make redoParagraph more independent of current cursor
6915
6916         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6917         * text.C:
6918         * text2.C: remove unneeded members
6919
6920 2003-07-30  André Pönitz  <poenitz@gmx.net>
6921
6922         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6923
6924         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6925           create a single function...
6926
6927         * paragraph_funcs.C (moveItem): ... here.
6928
6929         * text.C:
6930           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6931
6932 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6933
6934         * LColor.[Ch]: Add comment and greyedout logical colors.
6935
6936 2003-07-30  André Pönitz  <poenitz@gmx.net>
6937
6938         * tabular.C: don't use Assert too heavily. This crashes where it
6939           shouldn't
6940
6941 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6942
6943         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6944         is disabled (bug 1232)
6945
6946 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6947
6948         * factory.C: limited 'arg' scope
6949
6950 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6951
6952         * factory.C: fixed Note submenu issues
6953
6954 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6955
6956         * factory.C: submenu for Note/Comment/Greyedout
6957
6958 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6959
6960         * lyx_main.C (LyX):
6961         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6962
6963 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6964
6965         * LaTeXFeatures.C:
6966         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6967         greyedout. Patch provided by Jürgen Spitzmüller.
6968
6969 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6970
6971         * kbmap.C (read): fix error message when reading bind files
6972
6973 2003-07-29  Angus Leeming  <leeming@lyx.org>
6974
6975         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6976         certainly does not do what it purports to do. I am doing it, and
6977         us, a favour by killing it.
6978
6979 2003-07-28  José Matos  <jamatos@lyx.org>
6980
6981         * buffer.C (readBody, do_writeFile):
6982         * paragraph.C(readParagraph): \end_document replaces \the_end.
6983
6984 2003-07-29  André Pönitz  <poenitz@gmx.net>
6985
6986         * BufferView.[Ch]:
6987         * BufferView_pimpl.[Ch]:
6988         * lyxfunc.C:
6989         * text2.C:
6990         * text3.C:
6991         * textcursor.[Ch]: remove toggleToggle & Co
6992
6993 2003-07-28  José Matos  <jamatos@fep.up.pt>
6994
6995         * buffer.C (readParagraph):
6996         * params_func (readParToken, readParagraph):
6997         * paragraph.C (write): \layout -> \begin_layout.
6998
6999 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * lyxlex_pimpl.C (setFile): clean up slightly.
7002
7003         * bufferparams.h: add compressed var
7004
7005         * buffer_funcs.C (readFile): adjust for LyXLex change
7006         (newFile): ditto + simplify
7007
7008         * buffer.C (writeFile): handle writing of compressed files
7009
7010         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
7011         Check if the file is compressed and set a bufferparm if so.
7012
7013         * Makefile.am (lyx_LDADD): remove explicit -lz
7014
7015 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7016
7017         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7018         makeDocBookFile): put the real LyX version in the first line of
7019         the file
7020
7021         * version.h:
7022         * version.C.in: remove lyx_docversion
7023
7024         * tabular.C (write_attribute): add a template-based version to
7025         write enums properly
7026
7027 2003-07-28  André Pönitz  <poenitz@gmx.net>
7028
7029         * lyxtext.h:
7030         * text.C:
7031         * text2.C:
7032         * text3.C: use doubles again for x-coordinates. They are needed.
7033
7034 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7035
7036         * messages.C (getLocaleDir): use lyx_localedir()
7037
7038         * lyxlex_pimpl.C (setFile): compress stuff
7039
7040         * buffer.C (writeFile): add some compression stuff
7041         (do_writeFile): new func, dont call expliti close... will this
7042         breake anything?
7043
7044         * Makefile.am (lyx_LDADD): add -lz
7045
7046 2003-07-28  José Matos  <jamatos@fep.up.pt>
7047
7048         * buffer.C: increment file format.
7049         * paragraph_funcs (readParagraph, readParToken):
7050         * paragraph.C (readParagraph): add \end_layout.
7051
7052 2003-07-27  Angus Leeming  <leeming@lyx.org>
7053
7054         * Makefile.am: remove special casing for configure-time setting of
7055         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7056
7057         * lyx_main.C (init): remove all Jean-Marc's magic setting of
7058         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7059
7060 2003-07-26  André Pönitz  <poenitz@gmx.net>
7061
7062         * paragraph_func.[Ch]:
7063         * paragraph.C (realizeFont): inline it whereever it is used
7064
7065         * rowpainter.C:
7066         * text.C:
7067         * text2.C:
7068         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7069
7070
7071 2003-07-26  André Pönitz  <poenitz@gmx.net>
7072
7073         *       lyxtext.h:
7074         * text.C:
7075         * text2.C: get rid of LyXText::need_break_row
7076
7077 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * toc.[Ch]: put namespace toc inside namespace lyx
7080
7081         * MenuBackend.C (expandToc2): adjust for lyx::toc
7082         (expandToc): ditto
7083
7084         * lyxfunc.C (dispatch): adjust for lyx::find
7085
7086         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7087         lyx::find instead. Reorganize a bit.
7088         (LyXReplace): rename to replace
7089         (LyXFind): rename to find
7090
7091         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7092         (dispatch): ditto
7093
7094 2003-07-26  André Pönitz  <poenitz@gmx.net>
7095
7096         * text.C (setHeightOfRow): restrict scope of temporary variable
7097
7098         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7099           code (never has been used?)
7100
7101 2003-07-27  Asger Alstrup  <alstrup@local>
7102
7103         * text.C (fill): Optimise algorithm to exploit that we can reuse
7104         the LyXFont for many characters.
7105         (setHeightOfRow): Same thing.
7106         (rowBreakPoint): Same thing.
7107
7108 2003-07-26  Asger Alstrup  <alstrup@local>
7109
7110         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7111
7112         * text.C (singleWidth): Spurious font copying in hot-spot
7113         singleWidth avoided. Reorder tests for arabic for efficiency.
7114
7115         * text.C (fill): handle empty paragraphs better.
7116
7117 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7118
7119         * ispell.C:
7120         * encoding.h: add includes
7121
7122         * lyxrc.C: remove reading of bind files
7123
7124         * lyx_main.C (init): setup bindings and menus only if we have a
7125         gui.
7126
7127         * kbmap.C (read): new method. Do the actual reading of bind
7128         files.
7129
7130         * converter.C (dvipdfm_options):
7131         * bufferparams.C:
7132         * lyxrc.C (read):
7133         (output): adapt PAPER_* enums.
7134
7135         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7136
7137         * bufferparams.h: remove paper-related enums from there
7138
7139         * paper.h: New file. A trivial header file to hold paper-related
7140         enums. It should later expand to contain many paper-related
7141         horrors access.
7142
7143         * lyxrc.C: declare extern displayTranslator
7144
7145 2003-07-27  José Matos  <jamatos@fep.up.pt>
7146
7147         * tabular.[Ch] (linuxdoc): add support for tables and figures
7148         (linuxdoc).
7149
7150 2003-07-27  José Matos  <jamatos@fep.up.pt>
7151
7152         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7153         consistency in both functions.
7154         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7155
7156 2003-07-26  Asger Alstrup  <alstrup@local>
7157
7158         * rowpainter.C (paintRows): Change algorithm to work directly on
7159         the insets rather than asking every character in the document
7160         whether its an inset.
7161
7162 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7163
7164         * buffer.C (openFileWrite): factorize some code
7165
7166 2003-07-26  Angus Leeming  <leeming@lyx.org>
7167
7168         * lyx_cb.C:
7169         * lyx_main.[Ch]: replace occurances of system_tempdir with
7170         os::getTmpDir().
7171
7172 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * rename Inset to InsetOld
7175
7176 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7177
7178         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7179         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7180         which I think is a bit clearer. EDIT is gone, since it was
7181         premature optimisation, and broken for mathed anyway.
7182         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7183         with cursor positioning in insets as well (math insets still do not
7184         work, but that's a different story anyway.) It mysteriously
7185         crashes sometimes with undo in the first paragraph, but I'm fairly
7186         confident that this is a compiler bug.
7187
7188 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7189
7190         * paragraph.C (Paragraph): adjust for new clone return type
7191         (operator==): ditto
7192         (copyIntoMinibuffer): ditto
7193
7194 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7195
7196         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7197         by not having a special case, and always doing a full rebreak of
7198         the document after undo.
7199
7200 2003-07-23  Angus Leeming  <leeming@lyx.org>
7201
7202         * factory.C (createInset): InsetExternal::setParams now takes a
7203         Buffer const * arg.
7204
7205 2003-07-23  Angus Leeming  <leeming@lyx.org>
7206
7207         * factory.C (createInset): changed interface to the external and
7208         graphics mailers' string2params functions.
7209
7210 2003-07-23  Angus Leeming  <leeming@lyx.org>
7211
7212         * factory.C (createInset): pass a
7213         Buffer const * parameter to InsetExternalMailer's string2params.
7214
7215 2003-07-22  John Levon  <levon@movementarian.org>
7216
7217         * Thesaurus.h: include the right aiksaurus header
7218
7219 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7220
7221         * MenuBackend.C (expand): check menu shortcuts unconditionally
7222
7223 2003-07-21  Angus Leeming  <leeming@lyx.org>
7224
7225         * factory.C (createInset): pass a
7226         buffer_path parameter to InsetGraphicsMailer's string2params.
7227
7228 2003-07-21  Angus Leeming  <leeming@lyx.org>
7229
7230         * BufferView_pimpl.C (buffer):
7231         * buffer.C (d-tor):
7232         * lyx_main.C (LyX):
7233         * lyxfunc.C (dispatch):
7234         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7235         rather than the grfx shortcut.
7236
7237 2003-07-21  André Pönitz  <poenitz@gmx.net>
7238
7239         * rowpainter.C: remove unused variables
7240
7241         * tabular_funcs.C:
7242         * tabular_funcs.h: move to tabular.C
7243         * Makefile.am: adjust
7244
7245         * tabular.[Ch]: basic optical cleaning
7246
7247         * author.h: pass references, not values
7248
7249 2003-07-18  André Pönitz  <poenitz@gmx.net>
7250
7251         * lyxtext.h:
7252         * metricsinfo.C:
7253         * metricsinfo.h:
7254         * rowpainter.C:
7255         * text.C:
7256         * text2.C:
7257         * text3.C: two-phase drawing for InsetText and InsetTabular
7258         some float -> int changes.
7259
7260 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7261
7262         * lyx_main.C: fix the fix
7263
7264 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7265
7266         * lyx_main.C: fix a crash in batch mode if no files specified
7267         * converter.C: ws
7268
7269 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7270
7271         * format.[Ch] (papersize): moved to BufferParams
7272         * converter.[Ch] (dvips_options): moved to BufferParams
7273         (dvipdfm_options): moved to anon namespace
7274         * bufferparams.[Ch]: added above functions.
7275
7276 2003-07-17  André Pönitz  <poenitz@gmx.net>
7277
7278         * lyxtext.h:
7279         * rowpainter.C:
7280         * text2.C: don't call inset->update() anymore
7281
7282         * metricsinfo.[Ch]: add convenience constructor
7283
7284 2003-07-16  André Pönitz  <poenitz@gmx.net>
7285
7286         * lyxcursor.[Ch]:
7287         * lyxfunc.[Ch]:
7288         * text.C:
7289         * text2.C: replace the LyXCursor::irow_ member with
7290          on-demand computation of the value
7291
7292 2003-07-16  John Levon  <levon@movementarian.org>
7293
7294         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7295
7296 2003-07-15  André Pönitz  <poenitz@gmx.net>
7297
7298         * text.C:
7299         * text2.C: remove no more needed refresh_row
7300
7301 2003-07-15  André Pönitz  <poenitz@gmx.net>
7302
7303         * lyxtext.h:
7304         * rowpainter.C:
7305         * text2.C:
7306         * text3.C: refresh_status tristate -> need_update bool
7307
7308 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7309
7310         * lyxtext.h (init): remove reinit argument (act as if always true)
7311         * text2.C: adjust to that
7312
7313 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7314
7315         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7316         * text3.C: use it to delete selections in some cases
7317         (bugs 441, 673, 702, 954).
7318
7319 2003-07-14  André Pönitz  <poenitz@gmx.net>
7320
7321         * rowpainter.[Ch]: reduce interface
7322
7323 2003-07-14  André Pönitz  <poenitz@gmx.net>
7324
7325         * BufferView_pimpl.C:
7326         * text2.C: adjust after removing unused BufferView * argument
7327
7328 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7329
7330         * text2.C (init): fix a crash fired on resize
7331
7332 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7333
7334         * buffer.[Ch]: added new closing signal
7335         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7336         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7337         BufferView::Pimpl via the closing the signal
7338
7339 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7340
7341         * buffer.[Ch]: take out all bv-related from buffer
7342         * BufferView.C:
7343         * BufferView_pimpl.[Ch]: connect to new signals
7344         * CutAndPaste.C: removed useless asserts
7345         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7346         * lyxvc.[Ch]:
7347         * vc-backend.[Ch]:
7348         * lyxfunc.C: moved view-related funciontality from vc here
7349         * paragraph.C: removed outdated comments
7350         * text.C: ws
7351
7352 2003-07-10  André Pönitz  <poenitz@gmx.net>
7353
7354         * BufferView_pimpl.C:
7355         * tabular.h:
7356         * tabular_funcs.C:
7357         * text.C:
7358         * text2.C: remove InsetText::InnerCache, clean up consequences
7359
7360 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7361
7362         * ispell.C: fix two typos in error messages
7363
7364 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7365
7366         * Extend Note inset to other forms of annotation like Comment
7367         and Greyedout. Right button click gives dialog.
7368
7369         Files modified or added (+):
7370
7371         * insetnote.[Ch]
7372         * FormNote.[Ch]      +
7373         * ControlNote.[Ch]   +
7374         * form_note.fd       +
7375         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7376         frontends/controllers
7377         * xforms/Dialogs.C
7378         * factory.C
7379
7380 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7381
7382         * aspell.C: add missing namespace lyx::support
7383
7384 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7385
7386         * BufferView.[Ch] (newFile): Add
7387         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7388         * LaTeX.[Ch] (message): added this signal and use it
7389         * buffer.[Ch] (busy, message): added these signals and use them
7390         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7391         * converter.C:
7392         * exporter.C:
7393         * format.C:
7394         * importer.C: use buffer signals instead of direct bv calling
7395         * lyx_cb.[Ch] (ShowMessage): removed
7396         * lyx_main.C:
7397         * lyxfunc.C:
7398         * paragraph_funcs.C:
7399         * text2.C: use buffer signals
7400
7401 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7402
7403         * introduce namespace lyx::graphics
7404
7405 2003-07-02  André Pönitz  <poenitz@gmx.net>
7406
7407         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7408
7409 2003-07-01  André Pönitz  <poenitz@gmx.net>
7410
7411         * text.C:
7412         * text2.C:
7413         * text3.C:
7414         * text_funcs.[Ch]:
7415         * textcursor.h:
7416         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7417           text*.C to text_func.C
7418
7419 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7420
7421         * introduce namespace lyx::support
7422
7423 2003-06-30  André Pönitz  <poenitz@gmx.net>
7424
7425         * Chktex.C:
7426         * funcrequest.C:
7427         * lyxtext.h:
7428         * text.C: re-enable --with-included-string
7429
7430 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7431
7432         * textcursor.C: add <config.h>
7433
7434         * text.C (getWord): remove const from word_location arg
7435
7436         * lyxvc.C (getLogFile): fix const type order
7437
7438         * lyxtext.h: remove const from word_location arg, add arg name
7439
7440         * lyxlayout.h: currect type on labeltype.
7441
7442         * importer.C: correct \file
7443
7444         * converter.C (intToFormat): use std:: on ret val, ws changes
7445
7446         * bufferlist.h: correct \file
7447
7448         * buffer.C (makeLinuxDocFile): fix const type order
7449         (makeDocBookFile): ditto
7450         (fillWithBibKeys): use std:: on stdlib args.
7451
7452         * CutAndPaste.C: fix authors.
7453         (availableSelections): use std:: on return vector
7454
7455 2003-06-27  André Pönitz  <poenitz@gmx.net>
7456
7457         * BufferView_pimpl.C:
7458         * bufferview_funcs.C:
7459         * lyxcursor.C:
7460         * lyxcursor.h:
7461         * lyxfunc.C:
7462         * lyxtext.h:
7463         * rowpainter.C:
7464         * text.C:
7465         * text2.C:
7466         * text3.C: remove LyXCursor::row_ member
7467
7468         * lyxtext.h:
7469         * text.C: rename fullRebreak() to partialRebreak() and implement
7470           a fullRebreak() that really bereks fully
7471
7472         * textcursor.h: new struct for cursor-related data
7473
7474 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7475
7476         * lyx_main.C (LyX): get full path of document loaded on the
7477         command line
7478
7479 2003-06-26  André Pönitz  <poenitz@gmx.net>
7480
7481         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7482           remove unused/broken operator>,<,>=.
7483
7484         *       text.C: remove only use of broken operator<= in an Assert().
7485
7486 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7487
7488         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7489         moved errorlist_.clear to showErrorList
7490
7491 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7492
7493         * converter.C (scanLog, runLaTeX):
7494         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7495         move the bv->showErrorList call to the callers
7496         * lyxfunc.C: i.e. here...
7497         * text2.C: and here
7498         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7499         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7500         namespace, the second to...
7501         * buffer_funcs (BufferFormat, parseErrors): added
7502         * errorlist.C (ErrorList(TeXErrors const &)): removed
7503
7504 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7505
7506         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7507
7508 2003-06-24  "Garst R. Reese" <reese@isn.net>
7509
7510         * debug.C: fix typo
7511
7512 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7513
7514         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7515
7516         * version.C.in: change docversion to 1.4
7517
7518 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7519
7520         * buffer.C: fix a bug just introduced
7521
7522 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7523
7524         * buffer.[Ch]: added the parseError signal and use it, removed
7525         sgmlError
7526         * BufferView.[Ch] (addError): moved to ...
7527         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7528         to the Buffer::parseError signal to catch (guess what) parse errors
7529         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7530
7531 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7532
7533         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7534         ability to create a buffer and to return an existing one from
7535         the list. Moved these functions to...
7536         * buffer_funcs.[Ch]: added
7537         * BufferView.[Ch] (loadLyXFile): added
7538         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7539         job removed from bufferlist::loadLyXFile.
7540         * buffer.C (setReadOnly): make it work without view
7541         (i.e added an if (users))
7542
7543 2003-06-19  Angus Leeming  <leeming@lyx.org>
7544
7545         * lfuns.h:
7546         * LyXAction.C (init):
7547         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7548         with LFUN_DIALOG_SHOW <name> <data>.
7549
7550 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7551
7552         * CutAndPaste.C (availableSelections): small compilation fix for
7553         ancient (gcc 2.9x) compilers
7554
7555 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * text3.C (cursorNext): add tmp var
7558
7559         * text2.C (updateCounters): for function calling out of for clause
7560         (replaceSelectionWithString): ditto
7561         (insertStringAsParagraphs): ditto
7562         (getColumnNearX): add tmp var
7563         (setCursorFromCoordinates): add tmp var
7564         (cursorDownParagraph): add tmp var
7565         (deleteEmptyParagraphMechanism): add tmp var
7566
7567         * text.C (insertChar): add tmp var
7568
7569         * rowpainter.C (paintDepthBar): add tmp var
7570
7571         * CutAndPaste.C (availableSelections): potentially check all
7572         paragraphs in a cut to fill the shown strings.
7573
7574 2003-06-18  André Pönitz  <poenitz@gmx.net>
7575
7576         * kbmap.[Ch]: use vector<> instead of list<>
7577
7578 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7579
7580         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7581         pasteSelection with index
7582
7583         * text2.C (pasteSelection): modify, call pasteSelection with index
7584
7585         * paragraph.C (asString): reimplement version with no interval to
7586         call the one with interval.
7587
7588         * lyxtext.h: add index arg to pasteSelection
7589
7590         * MenuBackend.C (MenuItem): handle PasteRecent
7591         (Menu::read::Menutags): add md_pasterecent
7592         (read): handle it
7593         (expandPasteRecent): new function
7594         (expand): use it
7595
7596         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7597
7598         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7599         the limited stack
7600         (availableSelections): new function
7601
7602 2003-06-17  Angus Leeming  <leeming@lyx.org>
7603
7604         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7605
7606 2003-06-17  Angus Leeming  <leeming@lyx.org>
7607
7608         * lfuns.h:
7609         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7610
7611         * lyxfunc.C (dispatch): invoke it.
7612
7613 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7614
7615         * iterators.C (operator++, ParPosition): reintroduce some
7616         const_cast for the benefit of older compilers.
7617
7618 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7619
7620         * text3.C (dispatch): do not modify clipboard when doing
7621         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7622         LFUN_DELETE_SKIP on a selection selection
7623
7624 2003-06-16  André Pönitz  <poenitz@gmx.net>
7625
7626         * BufferView.C:
7627         * buffer.C:
7628         * buffer.h:
7629         * paragraph.C:
7630         * tabular.[Ch]: IU of clone() and getLabelList();
7631
7632 2003-06-13  André Pönitz  <poenitz@gmx.net>
7633
7634         * tabular.h: compactification
7635
7636 2003-06-12  André Pönitz  <poenitz@gmx.net>
7637
7638         * tabular.C:
7639         * tabular.h:
7640         * tabular_funcs.h: some renaming plus whitespace
7641
7642 2003-06-12  André Pönitz  <poenitz@gmx.net>
7643
7644         * BufferView.C:
7645         * BufferView_pimpl.C:
7646         * CutAndPaste.C:
7647         * buffer.C:
7648         * iterators.[Ch]:
7649         * lyxfunc.C:
7650         * text.C:
7651         * toc.C: Return a Paragraph & for ParIterator::operator*()
7652
7653 2003-06-11  John Levon  <levon@movementarian.org>
7654
7655         * lyx_main.C:
7656         * ToolbarBackend.h:
7657         * ToolbarBackend.C: add "Toolbars" section and
7658         put the flags there
7659
7660 2003-06-10  Angus Leeming  <leeming@lyx.org>
7661
7662         * lfuns.h:
7663         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7664
7665         * lyxfunc.C (dispatch): invoke it.
7666
7667 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7668
7669         * main.C: protect <ios> with HAVE_IOS
7670         (main): protect sync_with_stdio with HAVE_IOS
7671
7672 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7673
7674         * text2.C (cutSelection): adjust
7675         (pasteSelection): adjust
7676
7677         * messages.C: handle get of empty string
7678
7679         * main.C (main): use sync_with_stdio(false)
7680
7681         * lyxfunc.C (dispatch): adjust
7682
7683         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7684         (WriteAs): remove unneeded BufferView arg.
7685
7686         * bufferparams.h: use correct types on papersize, papersize2 and
7687         paperpackage.
7688
7689         * bufferparams.C (readToken): adjust for type
7690         (writeLaTeX): add missing cases to switch.
7691
7692         * bufferlist.C (quitWriteBuffer): adjust
7693         (close): adjust
7694
7695         * buffer.C (asciiParagraph): remove some commented code.
7696
7697         * CutAndPaste.C: remove current_view extern variable.
7698         (cutSelection): add BufferParams arg.
7699         (eraseSelection): add BufferParams arg.
7700         (pasteSelection): add Buffer const & arg
7701
7702 2003-06-07  John Levon  <levon@movementarian.org>
7703
7704         * buffer.C:
7705         * paragraph_funcs.C:
7706         * paragraph_pimpl.C:
7707         * text.C:
7708         * text2.C:
7709         * paragraph.h:
7710         * paragraph.C: allow InsetERT to freely space lines,
7711         and some consolidation of code
7712
7713 2003-06-06  José Matos  <jamatos@fep.up.pt>
7714
7715         * buffer.C (makeDocBookFile): fix bug #821
7716
7717 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7718
7719         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7720
7721 2003-06-04  Angus Leeming  <leeming@lyx.org>
7722
7723         * buffer.C: bump format to 224.
7724
7725 2003-06-05  André Pönitz  <poenitz@gmx.net>
7726
7727         * text2.C (redoParagraphs): remove two const_cast<>
7728
7729 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7730
7731         * ParagraphList.h: remove last remnants of NO_STD_LIST
7732
7733 2003-06-03  Angus Leeming  <leeming@lyx.org>
7734
7735         * factory.C (createInset): small change to the way InsetExternal's params
7736         are set.
7737
7738 2003-06-04  André Pönitz  <poenitz@gmx.net>
7739
7740         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7741
7742         * paragraph_pimpl.h:
7743         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7744
7745         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7746
7747         * undo_funcs.C: make some simple cases of undo work again
7748
7749 2003-06-03  John Levon  <levon@movementarian.org>
7750
7751         * ispell.C: HPUX doesn't have sys/select.h
7752         (from Albert Chin)
7753
7754 2003-06-03  John Levon  <levon@movementarian.org>
7755
7756         * CutAndPaste.C: update tabular and include inset
7757         buffer references
7758
7759         * buffer.h:
7760         * paragraph.h:
7761         * paragraph.C: remove owningBuffer(), don't pass Buffer
7762         to clone()
7763
7764         * factory.C: insetGraphicsParams changed
7765
7766 2003-06-02  John Levon  <levon@movementarian.org>
7767
7768         * LyXAction.C:
7769         * factory.C:
7770         * lfuns.h:
7771         * lyxfunc.C:
7772         * text3.C: remove insetparent
7773
7774 2003-06-02  John Levon  <levon@movementarian.org>
7775
7776         * buffer.h:
7777         * buffer.C: fix inset_iterator.end(), move out of line
7778         (bug 1149)
7779
7780 2003-06-01  John Levon  <levon@movementarian.org>
7781
7782         * text3.C: use a proper cut/paste when doing inset
7783         insert (from Jürgen Spitzmüller)
7784
7785 2003-06-01  John Levon  <levon@movementarian.org>
7786
7787         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7788
7789 2003-05-30  André Pönitz  <poenitz@gmx.net>
7790
7791         * rowpainter.C: unify second drawing phase
7792
7793 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7794
7795         * trans_mgr.C: remove one case of current_view
7796
7797         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7798
7799         * paragraph_funcs.h: remove paragraph.h include
7800
7801         * paragraph.h: delete NO_STD_LIST stuff
7802
7803         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7804
7805         * buffer.h: remove paragraph.h include
7806
7807         * ParagraphList.C: delete file
7808
7809         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7810
7811         * toc.C (getTocList): adjust
7812
7813         * paragraph_pimpl.C (validate): adjust
7814
7815         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7816
7817         * paragraph.C (Paragraph): adjust
7818         (getPositionOfInset): use const_iterator, adjust
7819         (bibitem): use const_iterator, adjust
7820         (setInsetOwner): adjust
7821
7822         * iterators.C (operator++): adjust
7823
7824         * InsetList.[Ch]: Replace selfmade iterator with standard
7825         vector::iterator also introduce const_iterator. Remove getPos,
7826         getInset and setInset from InsetTable. Adjust accordingly.
7827
7828         * BufferView.C (lockInset): adjust
7829         (ChangeInsets): adjust
7830
7831         * tabular.[Ch]: delete commented same_id functions
7832
7833 2003-05-28  John Levon  <levon@movementarian.org>
7834
7835         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7836
7837 2003-05-28  André Pönitz  <poenitz@gmx.net>
7838
7839         * metricsinfo.[Ch]: remove 'fullredraw' member
7840
7841 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7842
7843         * lyxtextclass.C (operator): remove caching.
7844
7845 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7846
7847         * text3.C: adjust
7848
7849         * text2.C (cursorBottom): adjust
7850         (setCounter): use ParagraphList::find, adjust
7851
7852         * text.C (workWidth): use ParagraphList::find, adjust
7853
7854         * lyxcursor.C (LyXCursor): adjust
7855
7856         * buffer.C (inset_iterator): adjust
7857
7858         * ParagraphList.h: make iterator(value_type) private, make
7859         ParagraphList a friend of iterator.
7860
7861         * ParagraphList.C (find): new function
7862
7863         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7864
7865 2003-05-27  André Pönitz  <poenitz@gmx.net>
7866
7867         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7868
7869 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7870
7871         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7872
7873 2003-05-26  John Levon  <levon@movementarian.org>
7874
7875         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7876
7877 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7878
7879         * remove same_id from function signatures, adjust.
7880
7881 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7882
7883         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7884
7885         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7886
7887         * paragraph.C (Paragraph): get rid of same_ids parameter
7888
7889         * ParagraphList.C (insert): adjust
7890         (push_back): adjust
7891
7892 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7893
7894         * paragraph_funcs.C (breakParagraph): adjust
7895         (breakParagraphConservative): adjust
7896
7897         * buffer.C (readParagraph): adjust
7898
7899         * ParagraphList.C (insert): take a reference instead of a pointer
7900         (insert): adjust
7901
7902         * paragraph.[Ch] (id): new function
7903
7904         * bufferlist.C (newFile): adjust
7905
7906         * ParagraphList.C (ParagraphList): adjust
7907         (assign): adjust
7908         (push_back): take a reference instead of a pointer.
7909
7910         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7911
7912         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7913         instead.
7914
7915         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7916         set else use old code.
7917
7918         * ParagraphList.C: remove all NO_NEXT code and only compile this
7919         code of NO_STD_LIST is set.
7920
7921 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7922
7923         * BufferView_pimpl.C:
7924         * TextCache.C:
7925         * TextCache.h:
7926         * bufferlist.C:
7927         * errorlist.h:
7928         * format.C:
7929         * format.h:
7930         * graph.C:
7931         * lyxfunc.C:
7932         * lyxrc.C:
7933         * graphics/GraphicsConverter.C:
7934         * graphics/PreviewLoader.C: header adjustment
7935
7936 2003-05-23  Angus Leeming  <leeming@lyx.org>
7937
7938         * LaTeXFeatures.[Ch] (useBabel): new method.
7939         * bufferparams.C (writeLaTeX): use it.
7940
7941 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7942
7943         * ParagraphList.h (set): remove unused function.
7944
7945 2003-05-23  André Pönitz  <poenitz@gmx.net>
7946
7947         * BufferView.C:
7948         * BufferView_pimpl.C:
7949         * buffer.C:
7950         * buffer.h:
7951         * lyxfunc.C:
7952         * undo_funcs.C: setUndo reworked
7953
7954         * iterators.[Ch]: add access to topmost ParagraphList
7955
7956         * lyxtext.[Ch] (workWidth): add a const
7957
7958 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7959
7960         * texrow.[Ch] (increasePos): remove function
7961         * exporter.C (export): removed unused var and outdated comment
7962
7963 2003-05-23  Angus Leeming  <leeming@lyx.org>
7964
7965         * latexrunparams.h: rename fragile as moving_arg.
7966         * paragraph.C (simpleTeXOnePar): ditto.
7967         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7968
7969 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7970
7971         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7972         (createUndo): ditto
7973         (textUndoOrRedo): comment out a currently unused var.
7974
7975         * paragraph.h (NO_NEXT): enable NO_NEXT
7976
7977         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7978
7979         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7980
7981         * exporter.C (Export): adjust for removeAutoInsets removal.
7982
7983         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7984
7985         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7986
7987         * BufferView.[Ch] (removeAutoInsets): delete function
7988
7989 2003-05-22  Angus Leeming  <leeming@lyx.org>
7990
7991         * latexrunparams.h: add a free_spacing variable.
7992
7993         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7994         to pass moving_arg, as the data is stored in runparams.fragile.
7995
7996         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7997         to Inset::latexOptional or to simpleTeXOnePar.
7998
7999         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
8000         free_spacing arg to Inset::latexOptional.
8001
8002         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8003         free_spacing arg.
8004
8005 2003-05-22  Angus Leeming  <leeming@lyx.org>
8006
8007         * latexrunparams.h: add fragile and use_babel variables.
8008
8009         * bufferparams.[Ch] (writeLaTeX): return use_babel.
8010         * buffer.C (makeLaTeXFile): store this returned value in
8011         runparams.use_babel, thus passing it to the inset::latex methods.
8012
8013         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
8014         simpleTeXSpecialChars as it is now stored in runparams.fragile.
8015
8016         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8017         longer has a fragile arg, as it is stored in runparams.fragile.
8018
8019         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8020         moving_arg parameter as the data is stored in runparams.fragile.
8021
8022         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8023         a fragile parameter as the data is stored in runparams.fragile.
8024
8025 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8026
8027         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8028
8029 2003-05-22  Angus Leeming  <leeming@lyx.org>
8030
8031         * latexrunparams.h: add a 'bool nice' which defaults to false.
8032
8033         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8034         now encapsulated within runparams.
8035
8036         * bufferlist.C (updateIncludedTeXfiles):
8037         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8038
8039 2003-05-22  Angus Leeming  <leeming@lyx.org>
8040
8041         * latexrunparams.h: new file containing struct LatexRunParams.
8042         * Makefile.am: add new file.
8043
8044         * LaTeX.[Ch] (c-tor, run):
8045         * buffer.[Ch] (makeLaTeXFile):
8046         * bufferlist.[Ch] (updateIncludedTeXfiles):
8047         * converter.C (convert, scanLog):
8048         * converter.[Ch] (runLaTeX):
8049         * exporter.C (Export):
8050         * paragraph.[Ch] (simpleTeXOnePar):
8051         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8052         * paragraph_funcs.[Ch] (latexParagraphs):
8053         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8054         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8055         pass around a LatexRunParams parameter.
8056
8057 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8058
8059         * paragraph.[Ch]: remove unused constructor
8060
8061         * ParagraphList.C (erase): new function, taking two iterators
8062
8063 2003-05-22  André Pönitz  <poenitz@gmx.net>
8064
8065         * undo_funcs.C: remove duplicated code
8066
8067         * iterator.[Ch]: operator=
8068
8069 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8070
8071         * tabular.C (SetMultiColumn): ws changes
8072
8073         * rowpainter.C (paintFirst): get rid of a ->previous
8074
8075         * lyx_cb.C (getPossibleLabel): parlist simplification
8076
8077         * BufferView.C (ChangeInsets): simplify slightly.
8078
8079 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8080
8081         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8082         * lfuns.h: new LFUN_SPACE
8083         * lyxfunc.C: protected space has a new lfun
8084         * paragraph_funcs.C: read new space insets
8085         * text3.C:
8086         * factory.C: handle new space insets
8087
8088 2003-05-22  André Pönitz  <poenitz@gmx.net>
8089
8090         * BufferView.C:
8091         * BufferView_pimpl.C:
8092         * buffer.[Ch]:
8093         * lyxfunc.C:
8094         * undo_funcs.C: return a ParIterator from getParFromID.
8095
8096         * iterators.[Ch]: add two const's
8097
8098 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8099
8100         * toc.C (getTocList): adjust
8101
8102         * iterators.[Ch]: rework for parlist
8103
8104         * buffer.C (par_iterator_begin): adjust
8105         (par_iterator_end): adjust
8106
8107         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8108
8109         * BufferView.C (removeAutoInsets): adjust
8110         (ChangeInsets): adjust
8111
8112 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8113
8114         * text.C (top_y): fix bug 1110
8115
8116 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8117
8118         * errorlist.[Ch]: added
8119         * buffer.C:
8120         * BufferView.[Ch]:
8121         * BufferView_pimpl.C:
8122         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8123         instead
8124
8125 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8126
8127         * Makefile.am: ensure that lyx is relinked upon changes to the
8128         various "convenience" libs.
8129
8130 2003-05-20  Angus Leeming  <leeming@lyx.org>
8131
8132         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8133         files are compiled in alphabetical order again.
8134
8135         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8136
8137 2003-05-19  Angus Leeming  <leeming@lyx.org>
8138
8139         * gettext.[Ch]: remove "char const * _(char const *)".
8140
8141 2003-05-19  André Pönitz  <poenitz@gmx.net>
8142
8143         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8144
8145         * Makefile.am:
8146         * BufferView.C:
8147         * DepTable.h:
8148         * LaTeXFeatures.C:
8149         * buffer.C:
8150         * lyxfont.C:
8151         * lyxlex.h:
8152         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8153
8154 2003-05-19  André Pönitz  <poenitz@gmx.net>
8155
8156         * buffer.C:
8157         * lyxlayout.[Ch]:
8158         * lyxtextclass.[Ch]:
8159         * paragraph.C:
8160         * paragraph_funcs.[Ch]:
8161         * text2.C:
8162         * text3.C: more insetenv work
8163
8164 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8165
8166         * ParagraphParameters.C (params2string): small bug fixed
8167
8168 2003-05-16  André Pönitz  <poenitz@gmx.net>
8169
8170         * debug.C:
8171         * bufferview_funcs.C: patch from Kornel Benko to prevent
8172           crash when _(...) is called twice in a statement
8173
8174 2003-05-16  André Pönitz  <poenitz@gmx.net>
8175
8176         * BufferView.C:
8177         * lyxfunc.C:
8178         * text.C:
8179         * text2.C:
8180         * text3.C:
8181         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8182
8183 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8184
8185         * lyx_main.C (init): remove spurious static_cast
8186
8187 2003-05-14  André Pönitz  <poenitz@gmx.net>
8188
8189         * BufferView.C: fix format string
8190
8191 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8192
8193         * BufferView.[Ch] (insertErrors): removed
8194         * BufferView.[Ch] (showErrorList): added
8195         * buffer.C (runChkTeX):
8196         * converter.C (scanLog): call showErrorList instead of inserterrors
8197
8198 2003-05-13  André Pönitz  <poenitz@gmx.net>
8199
8200         * BufferView_pimpl.C:
8201         * buffer.C:
8202         * bufferview_func.C:
8203         * MenuBackend.C:
8204         * lyxfunc.C:
8205         * lyxrc.C:
8206         * tex-accent.C:
8207         * text3.C:
8208         * toc.C:
8209         * tabular_funcs.h: tostr() from its own header
8210
8211         * ParagraphParameters.C:
8212         * ToolbarBackend.C:
8213         * bufferparams.C:
8214         * format.C:
8215         * lyxlex_pimpl.C:
8216         * text3.C: STRCONV()
8217
8218 2003-05-12  André Pönitz  <poenitz@gmx.net>
8219
8220         * BufferView.C:
8221         * BufferView_pimpl.C:
8222         * CutAndPaste.C:
8223         * LaTeX.C:
8224         * LaTeXFeatures.C:
8225         * ParagraphParameters.C:
8226         * buffer.C:
8227         * bufferlist.C:
8228         * bufferparams.C:
8229         * bufferview_funcs.C:
8230         * converter.C:
8231         * counters.C:
8232         * debug.C:
8233         * exporter.C:
8234         * format.C:
8235         * importer.C:
8236         * lyx_cb.C:
8237         * lyx_main.C:
8238         * lyxfont.C:
8239         * lyxfunc.C:
8240         * lyxvc.C:
8241         * paragraph.C:
8242         * paragraph_funcs.C:
8243         * tabular.C:
8244         * tabular_funcs.C:
8245         * text2.C:
8246         * text3.C:  boost::format -> bformat  all over the place
8247
8248
8249 2003-05-09  André Pönitz  <poenitz@gmx.net>
8250
8251         * LColor.[Ch]: Pimpl the #include <map> away
8252
8253 2003-05-09  John Levon  <levon@movementarian.org>
8254
8255         * bufferlist.C: never remove emergency saves
8256
8257 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8258
8259         * Makefile.am: better lib building
8260
8261 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8262
8263         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8264         instead.
8265         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8266         (simpleTeXSpecialChars): adjust
8267         (simpleTeXSpecialChars): adjust
8268         * paragraph.C (simpleTeXOnePar): adjust
8269         * buffer.C (makeLaTeXFile): adjust
8270
8271         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8272
8273         * text2.C (changeDepth): parlist cleanup
8274         (getColumnNearX): ditto
8275
8276         * rowpainter.C (getLabelFont): parlist cleanup
8277
8278         * bufferlist.C (newFile): parlist cleanup
8279
8280         * CutAndPaste.C (eraseSelection): parlist cleanup
8281
8282         * BufferView_pimpl.C (trackChanges): parlist cleanup
8283         (dispatch): ditto
8284
8285         * BufferView.C (lockInset): parlist cleanup.
8286         (ChangeInsets): ditto
8287
8288 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8289
8290         * CutAndPaste.h: Update file header.
8291
8292         * CutAndPaste.C: Update file header.
8293         Store the parts cut out of the Document in a limited_stack.
8294         (copySelection): adjust
8295         (pasteSelection): new function, takes the index in the limited stack.
8296         (nrOfParagraphs): adjust
8297         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8298         simplify error inset insertion.
8299         (checkPastePossible): adjust
8300
8301 2003-05-06  John Levon  <levon@movementarian.org>
8302
8303         * text2.C: don't cast wrap inset to float
8304
8305 2003-05-05  André Pönitz  <poenitz@gmx.net>
8306
8307         * iterator.C:
8308         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8309
8310         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8311           few naked Paragraph *.
8312
8313 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8314
8315         * bufferparams.C: Output warning if a document with missing
8316         TeX document class is loaded
8317         * exporter.C: Disable TeX exports if the document class is missing
8318         * lyxtextclass.C:
8319         * lyxtextclass.h:
8320         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8321         isTeXClassAvailable()
8322
8323 2003-05-03  John Levon  <levon@movementarian.org>
8324
8325         * BufferView.h:
8326         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8327         explicit cursor show/hide
8328
8329         * BufferView_pimpl.h:
8330         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8331         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8332
8333         * lyxfunc.C: hide cursor before dispatching.
8334
8335         * lyx_cb.C:
8336         * lyxfind.C:
8337         * text.C:
8338         * text3.C: remove explicit cursor hides
8339
8340 2003-05-02  André Pönitz  <poenitz@gmx.net>
8341
8342         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8343
8344         * undo_funcs.C:
8345         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8346           linked lists
8347
8348         * text2.C: tiny whitespace
8349
8350 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8351
8352         * undo_funcs.C: almost only ws changes.
8353
8354         * ParagraphList.C (splice): just return if pl is empty.
8355
8356 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8357
8358         * ParagraphList.C (splice): new function.
8359
8360         * CutAndPaste.C (pasteSelection): use it
8361
8362 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8363
8364         * CutAndPaste.C (pasteSelection): remove the last next and
8365         previous from this file.
8366
8367 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8368
8369         * CutAndPaste.C (pasteSelection): more clean up, user proper
8370         ParagraphList functions for pasteing.
8371
8372         * ParagraphList.C (insert): new function, three arg insert
8373
8374 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8375
8376         * ParagraphList.C (insert): new function, three arg insert
8377
8378         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8379         not on paragraphs.
8380
8381 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8382
8383         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8384
8385 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8386
8387         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8388
8389 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8390
8391         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8392         (copySelection): clean up a bit.
8393         (pasteSelection): use make_pair
8394
8395         * ParagraphList.C (ParagraphList): implement copy constructor
8396         (operator=): implement, base on copy constructor.
8397         (assign): new func
8398
8399         * paragraph.C (erase): return a bool
8400
8401         * paragraph_pimpl.C (erasePos): remove function, move contents...
8402         (erase): ... here. Return a bool.
8403         (erase): call erase instead of erasePos.
8404
8405 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8406
8407         * ParagraphList.h: define PitPosPair
8408         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8409         ParagraphList, fix a bug on pasting multiple pars
8410         * text2.C: change interface to C&P
8411
8412 2003-04-30  André Pönitz  <poenitz@gmx.net>
8413
8414         * undo_func.C: revert part of yesterday's patch 2
8415
8416 2003-04-30  John Levon  <levon@movementarian.org>
8417
8418         * LColor.C: s/tabular/table/
8419
8420 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8421
8422         * text3.C (dispatch): do not convert iterator -> pointer
8423         * undo_funcs.C (setCursorParUndo): ditto
8424         * text_funcs.C (transposeChars): ditto
8425
8426         * text2.C (setLayout): ws changes only
8427
8428         * text.C (breakParagraph): do not convert iterator -> pointer
8429         (insertChar): ditto
8430         (acceptChange): ditto
8431         (rejectChange): ditto
8432         (changeCase): ditto
8433         (Delete): ditto
8434         (backspace): ditto
8435
8436         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8437         pointer
8438
8439 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8440
8441         * text3.C (gotoInset): YABG (yet another bad getChar)
8442
8443 2003-04-29  André Pönitz  <poenitz@gmx.net>
8444
8445         * paragraph.h: make operator= private unimplemented as long as
8446           it is unusable
8447
8448         * ParagraphList.C: whitespace
8449
8450         * paragraph.[Ch]:
8451         * paragraph_pimpl.[Ch]:
8452         * paragraph_funcs.C:
8453         * CutAndPaste.C:
8454         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8455
8456         * text2.C:
8457           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8458
8459 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8460
8461         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8462         * paragraph.[Ch] (erase):
8463         * paragraph_pimpl.[Ch] (erase): change return type and value
8464         * text2.C (cutSelection): some rework
8465
8466 2003-04-28  John Levon  <levon@movementarian.org>
8467
8468         * bufferlist.C: changes for unsaved changes dialog
8469
8470 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8471
8472         * bufferlist.C (newFile): set language (messages_) for new
8473         documents also.
8474
8475         * buffer.C (readFile): ws changes only.
8476
8477 2003-04-28  André Pönitz  <poenitz@gmx.net>
8478
8479         * undo_funcs.C:
8480         * lyxfunc.C:
8481         * buffer.[Ch]:
8482         * BufferView_pimpl.C:
8483         * BufferView.C: getParFromID related ParagraphList::iterator changes
8484
8485 2003-04-28  André Pönitz  <poenitz@gmx.net>
8486
8487         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8488           Changes
8489
8490 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8491
8492         * messages.C: remove one more localedir class variable.
8493
8494 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8495
8496         * messages.C (getLocaleDir): singleton generation function
8497         (Pimpl): use it.
8498         (Messages): add a default constructor.
8499
8500         * main.C (main): do not setup localedir here, do not call
8501         gettext_init.
8502
8503         * gettext.C (_): use it.
8504         (gettext_init): delete funciton
8505
8506 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8507
8508         * gettext.C (getLyXMessages): new singleton generating function.
8509
8510         * buffer.C (updateDocLang): adjust
8511
8512         * Makefile.am (messages.o): add target
8513         (main.o): remove target
8514
8515 2003-04-27  John Levon  <levon@movementarian.org>
8516
8517         * bufferlist.C:
8518         * lyx_cb.C:
8519         * lyxfunc.C:
8520         * lyxvc.C: specify cancel button in Alert::prompt
8521
8522 2003-04-26  John Levon  <levon@movementarian.org>
8523
8524         * text3.C:
8525         * lyxfunc.C:
8526         * lfuns.h:
8527         * LyXAction.C: add LFUN_INSET_SETTINGS
8528
8529         * lyxfunc.C: don't enable tabular-feature when there's
8530         just any locking inset
8531
8532 2003-04-26  John Levon  <levon@movementarian.org>
8533
8534         * bufferlist.C: re-add Cancel to buffer close question
8535
8536         * lyxfunc.C: fix import UI a bit
8537
8538 2003-04-25  John Levon  <levon@movementarian.org>
8539
8540         * gettext.C: remove the broken asserts for now
8541
8542 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8543
8544         * messages.C: make case where setlocale cannot comply work better.
8545
8546         * buffer.C (updateDocLang): new function
8547         (changeLanguage): use it
8548         (readFile): use it
8549
8550         * text2.C (setCounter): use B_ a bit.
8551
8552         * lyxlayout.C (Read): be sure to trim the label strings.
8553
8554         * messages.C (Messages): fix typo in comment
8555
8556         * buffer.C (readFile): set message_ after file is loaded.
8557         (makeDocBookFile): remove double return
8558         (changeLanguage): reset message_ upon language change.
8559         (B_): new func, use this to get translated buffer strings.
8560
8561         * main.C: add myself and Jean Marc as authors.
8562
8563 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8564
8565         * messages.[hC]: pimplify Messages, and three different pimpls to be
8566         used in different circumstances.
8567
8568         * gettext.[Ch]: change for use with new message code.
8569
8570 2003-04-24 André Pönitz <poenitz@gmx.net>
8571
8572         * factory.C: support for eqref
8573
8574 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8575
8576         * messages.[Ch]: add missing char
8577
8578         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8579
8580         * messages.[Ch]: New files
8581
8582 2003-04-18  John Levon  <levon@movementarian.org>
8583
8584         * BufferView.h:
8585         * BufferView.C:
8586         * BufferView_pimpl.C:
8587         * lfuns.h:
8588         * LyXAction.C:
8589         * lyxtext.h:
8590         * text2.C: remove layout-copy/paste (bug 778)
8591
8592 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8593
8594         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8595
8596 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8597
8598         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8599         if they succeed. Act accordingly.
8600
8601 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8602
8603         * text2.C (setCharFont): adjust
8604         (setCounter): adjust
8605         (insertStringAsLines): adjust
8606
8607         * text.C (leftMargin): adjust
8608         (setHeightOfRow): adjust
8609
8610         * rowpainter.C (paintFirst): adjust
8611         (paintLast): adjust
8612
8613         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8614         (outerHook): ditto
8615         (isFirstInSequence): ditto
8616         (getEndLabel): ditto
8617         (outerFont): adjust
8618
8619         * paragraph.C (getParLanguage): comment out some hard stuff.
8620
8621         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8622         (sgmlError): ditto
8623         (simpleDocBookOnePar): ditto
8624         (makeDocBookFile): use ParagraphList::iterator
8625
8626         * CutAndPaste.C (pasteSelection): adjust
8627
8628 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8629
8630         * text2.C (getFont): adjust
8631         (getLayoutFont): adjust
8632         (getLabelFont): adjust
8633
8634         * paragraph_funcs.C (TeXOnePar): adjust
8635
8636         * buffer.C (simpleLinuxDocOnePar): adjust
8637         (simpleDocBookOnePar): adjust
8638
8639         * CutAndPaste.C (pasteSelection): adjust
8640
8641         * BufferView.C (getEncoding): adjust
8642
8643         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8644
8645 2003-04-16  John Levon  <levon@movementarian.org>
8646
8647         * lyxfind.C: use parlist stuff for search/changes
8648
8649 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8650
8651         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8652
8653         * text2.C (deleteEmptyParagraphMechanism): adjust
8654
8655         * text2.[Ch] (ownerParagraph): delete func (both of them
8656
8657 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8658
8659         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8660
8661 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8662
8663         * ParagraphList.C: prepare for NO_NEXT
8664
8665 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8666
8667         * text2.C (getFont): adjust
8668         (getLayoutFont): adjust
8669         (getLabelFont): adjust
8670
8671         * paragraph.C (getFont): adjust
8672         (getLabelFont): adjust
8673         (getLayoutFont): adjust
8674
8675         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8676
8677 2003-04-15  John Levon  <levon@movementarian.org>
8678
8679         From Angus Leeming
8680
8681         * lyx_main.C: handle Include in .ui files
8682
8683 2003-04-15  John Levon  <levon@movementarian.org>
8684
8685         * MenuBackend.C: make the doc files length shorter
8686
8687         * ToolbarBackend.h:
8688         * ToolbarBackend.C: handle toolbar placement flags,
8689         Minibuffer
8690
8691 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8692
8693         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8694         adjust
8695
8696         * paragraph_funcs.C (TeXOnePar): adjust
8697
8698         * paragraph.C (getLabelFont): add outerfont arg, adjust
8699         (getLayoutFont): ditto
8700         (simpleTeXOnePar): adjust
8701
8702         * paragraph_pimpl.C (realizeFont): delete func
8703
8704 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8705
8706         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8707         row argument, constify cur argument.
8708
8709 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8710
8711         * text2.C (getFont): adjust
8712         (getLayoutFont): adjust
8713         (getLabelFont): adjust
8714
8715         * paragraph_funcs.C (TeXOnePar): adjust
8716         (outerFont): new func...
8717         (realizeFont): ...moved out from here, changed this to facilitate
8718         transition
8719
8720         * paragraph.C (getFont): take outerfont as arg, adjust
8721         (simpleTeXOnePar): add outerfont arg, adjust
8722
8723         * buffer.C (simpleLinuxDocOnePar): adjust
8724         (simpleDocBookOnePar): adjust
8725
8726         * CutAndPaste.C (pasteSelection): adjust
8727
8728         * BufferView.C (getEncoding): adjust
8729
8730 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8731
8732         * text2.C (setCharFont): adjust
8733         (setCounter): adjust
8734
8735         * text.C (leftMargin): adjust
8736         (setHeightOfRow): adjust
8737
8738         * rowpainter.C (paintFirst): adjust
8739         (paintLast): adjust
8740
8741         * paragraph_pimpl.C (realizeFont): adjust
8742
8743         * paragraph.C (isFirstInSequence): move from here...
8744         * paragraph_funcs.C (isFirstInSequence): ...to here
8745
8746         * paragraph.C (outerHook): move from here...
8747         * paragraph_funcs.C (outerHook): ...to here
8748
8749         * paragraph.C (depthHook): move from here...
8750         * paragraph_funcs.C (depthHook): ...to here
8751
8752         * paragraph.C (getEndLabel): move from here...
8753         * paragraph_funcs.C (getEndLabel): ...to here
8754
8755         * text2.C (realizeFont): move from here...
8756         * paragraph_funcs.C (realizeFont): ...to here
8757
8758 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8759
8760         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8761
8762 2003-04-14  Angus Leeming  <leeming@lyx.org>
8763
8764         * LColor.[Ch]: scrap LColor mathcursor.
8765
8766 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8767
8768         * lyxlex.[Ch] (text): delete function
8769         * trans.C (Load): adjust
8770         * paragraph_funcs.C (readParToken): adjust
8771
8772 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8773
8774         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8775         vector<char> instead of a char[].
8776
8777         * lyxlex_pimpl.C (getString): adjust
8778         (next): adjust
8779         (lex): use getString
8780         (eatLine): adjust
8781         (nextToken): adjust
8782
8783         * lyxlex.C (text): use pimpl_->getString()
8784         (getBool): ditto
8785         (findToken): ditto
8786
8787 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8788
8789         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8790         (makeFontEntriesLayoutSpecific): temp var for par.size()
8791         (setLayout): temp var for ownerParagraphs().end()
8792         (fullRebreak): temp var for rows().end()
8793         (selectionAsString): temp var for boost::next(startpit), realize
8794         that the while really is a regular for loop.
8795         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8796         setCursor in one place.
8797         (setParagraph): temp vr for ownerParagraphs().end()
8798         (updateCounters): make the while loop a for loop
8799         (cutSelection): temp var for ownerParagraphs().end()
8800         (updateInset): make the do {} while() a regular for loop
8801         (getCursorX): use temp vars
8802         (setCurrentFont): use temp vars
8803         (getColumnNearX): use temp vars
8804
8805 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8806
8807         * text.C (transformChar): use temp var for getChar
8808         (computeBidiTables): use temp var for row->par()
8809         (fill): move temp vars for row->par() and pit->layout() earlier in
8810         the function.
8811         (labelFill): use temp var for row->par()
8812         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8813         asc and desc, realize that pit never changes and that firstpit is
8814         just a duplicate and not needed. Exchange rit->par() with pit in a
8815         lot of places.
8816         (breakAgain): use a temp var for boost::next(rit)
8817         (breakAgainOneRow): ditto
8818         (breakParagraph): use a temp var for rows().begin()
8819         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8820         (cursorRightOneWord): use temp var for cursor.par() and
8821         cursor.pos(), remove usage of tmpcursor.
8822         (cursorLeftOneWord): use temp var for cursor.par() and
8823         cursor.pos() only set cur at end of function.
8824
8825 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8826
8827         * text.C, text2.C: exchange all usage of Paragraph::next with
8828         boost::next(ParagraphList::iterator)
8829
8830         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8831
8832         * text2.C (cursorTop): simplify implementation
8833         (cursorBottom): ditto
8834         (setParagraph): use ParagraphList::iterator
8835         (setCurrentFont): adjust
8836         (getColumnNearX): adjust
8837         (cursorRight): adjust
8838         (cursorLeft): remove usage of Paragraph::previous
8839         (cursorUpParagraph): ditto
8840         (deleteEmptyParagraphMechanism): slight cleanup
8841
8842         * text.C (isBoundary): take a Paragraph const & instead of a
8843         pointer as arg.
8844         (addressBreakPoint): ditto
8845         (leftMargin): remove usage of Paragraph::previous.
8846         (setHeightOfRow): ditto
8847         (cursorLeftOneWord): ditto
8848         (selectNextWordToSpellcheck): ditto
8849         (Delete): ditto
8850         (backspace): ditto
8851         (breakParagraph): remove one usage of Paragraph::next
8852         (redoParagraph): ditto
8853         (acceptChange): ditto
8854         (insertChar): adjust
8855         (rowBreakPoint): adjust
8856
8857         * bufferview_funcs.C (toggleAndShow): adjust
8858
8859 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8860
8861         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8862         methods to access it.
8863         * lyxtext.h:
8864         * text.C: Added updateRowPositions to compute all row positions.
8865         Make top_y and getRowNearY() to use the cached y position
8866
8867 2003-04-11  John Levon  <levon@movementarian.org>
8868
8869         * text.C (rowBreakPoint): reintroduce the labelEnd
8870         checks, code copied from the row fill stuff. Deep voodoo.
8871
8872         * text.C (fill): add a comment and debugging for the
8873         next poor soul.
8874
8875 2003-04-11  John Levon  <levon@movementarian.org>
8876
8877         * text.C: make sure fullrow insets get wrapped to the next line,
8878         even when they're in a manual label
8879
8880 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8881
8882         * text2.C (insertParagraph): make it take ParagraphList::iterator
8883         as arg.
8884         (setLayout): make it return ParagraphList::iterator
8885         (redoParagraphs): ditto
8886         (setCounter): ditto
8887         (checkParagraph): ditto
8888
8889         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8890
8891         * text2.C: adjust several funcs.
8892         (realizeFont): take a ParagraphList::iterator as arg.
8893         (getLayoutFont): ditto
8894         (getLabelFont): ditto
8895         (setCharFont): ditto
8896
8897         * text.C: adjust several funcs.
8898
8899 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8900
8901         * text.C (selectNextWordToSpellcheck): don't accidentally
8902         skip insets
8903
8904 2003-04-10  John Levon  <levon@movementarian.org>
8905
8906         * ToolbarBackend.C (getIcon): special handling for
8907         LFUN_MATH_DELIM
8908
8909 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8910
8911         * text2.C (cursorRight): a getChar assert fixed
8912
8913 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8914
8915         * text2.C (getFont): change to take a ParagraphList::iterator
8916         instead of Paragraph*
8917         Adjust several functions.
8918
8919         * text.C (transformChar): change to take a ParagraphList::iterator
8920         instead of Paragraph*
8921         (singleWidth): ditto
8922         Adjust several functions.
8923
8924         * rowpainter.C: adjust several functions
8925         * rowpainter.h:store a ParagraphList::iterator and not a
8926         Paragraph&.
8927
8928
8929 2003-04-09  John Levon  <levon@movementarian.org>
8930
8931         * lyxfunc.C:
8932         * lfuns.h:
8933         * LyXAction.h:
8934         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8935         and the "help" bits as well
8936
8937 2003-04-09  John Levon  <levon@movementarian.org>
8938
8939         * ToolbarBackend.h:
8940         * ToolbarBackend.C: allow multiple toolbars
8941
8942 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8943
8944         * undo_funcs.C (setCursorParUndo): adjust
8945
8946         * text_funcs.C (transposeChars): adjust
8947
8948         * text3.C (gotoNextInset): adjust
8949         (dispatch): adjust
8950
8951         * text2.C (setLayout): adjust
8952         (changeDepth): adjust
8953         (setFont): adjust
8954         (redoParagraphs): adjust
8955         (selectionAsString): adjust
8956         (setParagraph): adjust
8957         (insertInset): adjust
8958         (cutSelection): adjust
8959         (copySelection): adjust
8960         (pasteSelection): adjust
8961         (insertStringAsLines): adjust
8962         (updateInset): adjust
8963         (setCursor): change to take a ParagraphList::iterator parameter
8964         (setCursorIntern): change to take a ParagraphList::iterator parameter
8965         (setCurrentFont): adjust
8966         (cursorLeft): adjust
8967         (cursorRight): adjust
8968         (deleteEmptyParagraphMechanism): adjust
8969
8970         * text.C (breakParagraph): adjust
8971         (insertChar): adjust
8972         (acceptChange): adjust
8973         (rejectChange): adjust
8974         (selectNextWordToSpellcheck): adjust
8975         (changeCase): adjust
8976         (Delete): adjust
8977         (backspace): adjust
8978
8979         * lyxfind.C (SearchForward): adjust
8980         (SearchBackward): adjust
8981         (nextChange): adjust
8982
8983         * lyxcursor.C (par): adjust
8984
8985         * lyxcursor.h: store a ParagraphList::iterator instead of a
8986         Paragraph*
8987
8988         * lyx_cb.C (getPossibleLabel): adjust
8989
8990         * bufferview_funcs.C (toggleAndShow): adjust
8991
8992         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8993         (dispatch): adjust
8994
8995         * BufferView.C (removeAutoInsets): adjust
8996         (lockedInsetStoreUndo): adjust
8997
8998 2003-04-09  John Levon  <levon@movementarian.org>
8999
9000         * ToolbarBackend.C: try icon without argument
9001         if with argument fails
9002
9003 2003-04-08  John Levon  <levon@movementarian.org>
9004
9005         * ToolbarBackend.h:
9006         * ToolbarBackend.C: add getIcon(), handle tooltip,
9007         and change from "Icon" to "Item".
9008
9009 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9010
9011         * BufferView.C (lockInset): another bad getchar crunched
9012
9013 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9014
9015         * text2.C (changeDepth): do not setUndo on test_only (make undo work
9016         again)
9017
9018 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
9019
9020         * lyxfind.C (searchForward, searchBackwards): bug 782
9021
9022 2003-04-07  John Levon  <levon@movementarian.org>
9023
9024         * paragraph.C: remove dead comment
9025
9026         * text.C: remove troublesome depth-fiddling code
9027         in leftMargin() and rightMargin() (bug 1017)
9028
9029         * text.C: fix breaking of rows in nested lists
9030         (bug 1004)
9031
9032         * text2.C (updateCounters): fix up depth values
9033         (bug 1013)
9034
9035 2003-04-07  John Levon  <levon@movementarian.org>
9036
9037         * BufferView_pimpl.C: clear message when doc finishes resizing,
9038         and after a mouse event
9039
9040         * lyxfunc.C: clear message after exiting inset
9041
9042 2003-04-07  John Levon  <levon@movementarian.org>
9043
9044         * bufferview_funcs.C: show math status not outside
9045         status in the statusbar
9046
9047 2003-04-07  John Levon  <levon@movementarian.org>
9048
9049         * lyxfunc.C: note status changed after a depth change
9050
9051 2003-04-04  Angus Leeming  <leeming@lyx.org>
9052
9053         * LaTeX.h: move AuxInfo operator==, != out of line.
9054         Remove LaTeX virtual destructor; nothing derives from it.
9055         Move operator()() out of public area and rename it startscript().
9056         Change protected for private.
9057
9058 2003-04-04  Angus Leeming  <leeming@lyx.org>
9059
9060         * lyxfunc.C:
9061         * text2.C: remove unneeded #includes.
9062
9063 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9064
9065         * text2.C (dEPM): fix the heigth of the next row
9066
9067 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9068
9069         * text.C: squashed an invalid getChar requester + some ws changes
9070
9071 2003-04-03  John Levon  <levon@movementarian.org>
9072
9073         * bufferview_funcs.h:
9074         * bufferview_funcs.C:
9075         * lyxfunc.C:
9076         * lyxtext.h:
9077         * text2.C: make getStatus work for the env depth lfuns
9078
9079 2003-04-03  John Levon  <levon@movementarian.org>
9080
9081         * bufferview_funcs.h:
9082         * bufferview_funcs.C:
9083         * lyxfunc.C:
9084         * lyxtext.h:
9085         * text2.C: parlistize decDepth(), by merging it with incDepth()
9086
9087 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9088
9089         * lyxrow.h: store a ParagraphList::iterator instead of a
9090         Paragraph* and adjust other class functions to suit.
9091
9092         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9093         above.
9094
9095 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9096
9097         * text2.C (setCursor): do not anchor to cursor row for the time being
9098
9099 2003-04-02  John Levon  <levon@movementarian.org>
9100
9101         * LyXAction.C:
9102         * lfuns.h:
9103         * lyx_main.C:
9104         * lyxtext.h:
9105         * text.C:
9106         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9107
9108 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9109
9110         * paragraph.h: make ParagraphList and ParagraphList::iterator
9111         friends of Paragraph.
9112
9113         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9114
9115         * ParagraphList.C: Use the private next_ and previous_ from
9116         Paragraph.
9117
9118 2003-04-01  John Levon  <levon@movementarian.org>
9119
9120         * ToolbarBackend.h:
9121         * ToolbarBackend.C:
9122         * Makefile.am: rename, remove defaults gunk
9123
9124         * MenuBackend.h:
9125         * MenuBackend.C: remove defaults gunk
9126
9127         * Languages.h:
9128         * Languages.C: remove defaults gunk
9129
9130         * lyx_main.h:
9131         * lyx_main.C: error out if files couldn't be found.
9132
9133 2003-04-02  John Levon  <levon@movementarian.org>
9134
9135         * text2.C: make incDepth() use parlist
9136
9137 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9138
9139         * undo_funcs.C (firstUndoParagraph): adjust
9140
9141         * text3.C (gotoInset): adjust
9142         (dispatch): adjust, and rewrite loop.
9143
9144         * text2.C (init): adjust, and rewrite loop.
9145         (redoParagraphs): adjust
9146         (updateInset): adjust, and rewrite loop.
9147         (deleteEmptyParagraphMechanism): adjust
9148
9149         * tabular.C (LyXTabular): adjust
9150         (SetMultiColumn): adjust
9151         (TeXRow): adjust
9152
9153         * lyxtext.[Ch] (ownerParagraph): delete function
9154         (ownerParagraphs): new function returns a ParagraphList.
9155
9156         * BufferView.C (removeAutoInsets): adjust
9157         (insertErrors): adjust
9158         (setCursorFromRow): adjust
9159
9160 2003-04-01  Angus Leeming  <leeming@lyx.org>
9161
9162         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9163         in the frontends.
9164
9165 2003-04-02  John Levon  <levon@movementarian.org>
9166
9167         * lyxtext.h:
9168         * text.C:
9169         * Makefile.am:
9170         * text_funcs.h:
9171         * text_funcs.C: make transposeChars a free function
9172
9173         * lyxrow_funcs.C: remove wrong comment
9174
9175 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9176
9177         * lyxtext.h: adjust
9178         * rowpainter.C: adjust
9179         * text.C: adjust
9180         * text2.C: adjust
9181         * text3.C: adjust
9182
9183         * lyxrow_funcs. [Ch]: new files
9184
9185         * lyxrow.[Ch]: remove next and previous pointers
9186         (next,previous): remove accessor functions
9187         (isParEnd): move to lyxrow_funcs
9188         (lastPos): move to lyxrow_funcs
9189         (nextRowIsAllInset): move to lyxrow_funcs
9190         (lastPrintablePos): move to lyxrow_funcs
9191         (numberOfSeparators): move to lyxrow_funcs
9192         (numberOfHfills): move to lyxrow_funcs
9193         (numberOfLabelHfills): move to lyxrow_funcs
9194         (hfillExpansion): move to lyxrow_funcs
9195
9196         * lyxfunc.C: adjust
9197
9198         * bufferview_funcs.C (toggleAndShow): adjust
9199
9200         * RowList.h: Remove class RowList from file leave just a
9201         std::list<Row>.
9202
9203         * RowList.C: delete file
9204
9205         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9206         and lyxrow_funcs.h
9207
9208 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9209
9210         * text3.C (cursorPrevious): adjust
9211         (cursorNext): adjust
9212         (dispatch): adjust
9213
9214         * text2.C (redoHeightOfParagraph): adjust
9215         (redoDrawingOfParagraph): adjust
9216         (setCursor): adjust
9217
9218         * text.C (breakParagraph): adjust
9219         (insertChar): adjust
9220         (backspace): adjust
9221
9222         * rowpainter.C (RowPainter): adjust
9223         (leftMargin): simplify and adjust
9224         (most rowpainter functions): adjust.
9225
9226         * rowpainter.h: store the row as RowList::iterator not as Row*
9227
9228         * lyxcursor.C (row): taka RowList::iterator as arg
9229         (irow): ditto
9230
9231         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9232         of Row*.
9233
9234 2003-04-01  Angus Leeming  <leeming@lyx.org>
9235
9236         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9237         stuff like bool Bool.
9238
9239 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9240
9241         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9242         rewrite a loop
9243
9244 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9245
9246         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9247         RowList::iterator.
9248
9249         * lyxtext.h (rows): drop one version and leve a const variant that
9250         returns a RowList::iterator.
9251
9252 2003-03-31  Angus Leeming  <leeming@lyx.org>
9253
9254         * text.C (fill): ensure that the signature is the same as that in the
9255         header file.
9256
9257 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9258
9259         * text2.C (redoParagraphs): adjust
9260         (updateCounters): adjust
9261         (checkParagraph): adjust
9262         (getColumnNearX): adjust and reformat a bit.
9263
9264         * text.C (top_y): adjust
9265         (workWidth): adjust
9266         (leftMargin): adjust
9267         (prepareToPrint): adjust
9268         (getRow): adjust
9269         (getRowNearY): adjust
9270
9271         * lyxtext.h: make rowlist_ mutable.
9272
9273         * RowList.h: add const_iterator
9274         * RowList.C: adjust for RowList::const_iterator.
9275
9276         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9277         adjust.
9278
9279 2003-03-31  John Levon  <levon@movementarian.org>
9280
9281         * lyxrc.h:
9282         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9283
9284         * lyx_main.C: set default fonts from using lyx_gui funcs
9285
9286         * exporter.C: pdf_mode moved from lyxrc
9287
9288         * lyx_cb.C:
9289         * lyxfunc.C: changes from above
9290
9291 2003-03-31  John Levon  <levon@movementarian.org>
9292
9293         * lyx_main.C: fix to the last fix
9294
9295 2003-03-31  John Levon  <levon@movementarian.org>
9296
9297         * bufferlist.C: "Load original" -> "Load Original"
9298
9299         * converter.C:
9300         * exporter.C:
9301         * importer.C:
9302         * lyx_main.C:
9303         * format.C: more Alert cleanups
9304
9305 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9306
9307         * text2.C (removeParagraph): make it take a RowList::iterator as
9308         arg, adjust.
9309         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9310         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9311
9312         * text.C (anchor_row): make it take a RowList::iterator as arg,
9313         adjust.
9314         (computeBidiTables): make it take a const reference to Row instead
9315         of Row pointer, adjust.
9316         (leftMargin): make it take a RowList::iterator as arg, adjust.
9317         (rowBreakPoint): adjust
9318         (breakAgainOneRow): make it take a RowList::iterator as arg,
9319         adjust.
9320         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9321
9322         * bufferview_funcs.C (toggleAndShow): adjust
9323
9324 2003-03-30  John Levon  <levon@movementarian.org>
9325
9326         * Makefile.am:
9327         * BoostFormat.h:
9328         * boost-inst.C: moved to support
9329
9330         * several files: changes as a result
9331
9332 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9333
9334         * text2.C (LyXText): adjust.
9335         (init): adjust
9336         (removeRow): make it take a RowList::iterator as arg, adjust.
9337         (fullRebreak): adjust
9338         (deleteEmptyParagraphMechanism): adjust
9339         (clearPaint): adjust
9340         (postPaint): adjust
9341
9342         * text.C (top_y): adjust
9343         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9344         (breakAgain): make it take a RowList::iterator as arg, adjust.
9345         (breakParagraph): adjust
9346         (insertChar): adjust
9347         (backspace): adjust
9348
9349         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9350         need_break_row, and refresh_row.
9351
9352         * text3.C (dispatch): adjust
9353
9354         * text2.C (checkParagraph): adjust
9355         (setCursor): adjust
9356         (setCursorFromCoordinates): adjust
9357
9358         * text.C (top_y): adjust
9359         (workWidth): adjust
9360         (getRow): make it return a RowList::iterator, adjust
9361         (getRowNearY): make it return a RowList::iterator, adjust
9362
9363         * text2.C (init): adjust
9364         (insertRow): remove function
9365         (insertParagraph): adjust
9366         (redoParagraphs): adjust
9367         (fullRebreak): adjust
9368         (updateCounters): adjust
9369
9370         * text.C (top_y): rewrite to use RowList iterators.
9371         (top_y): adjust
9372         (setHeightOfRow): rewrite to sue RowList iterators.
9373         (appendParagraph): adjust
9374         (breakAgain): adjust
9375         (breakAgainOneRow): adjust
9376         (breakParagraph): adjust
9377         (getRow): adjust
9378         (getRowNearY): adjust, and remove commented code.
9379
9380         * lyxtext.h (firstRow): delete function
9381         (lastRow): delete function
9382         (rows): new function (const and non-const versions.)
9383         (insertRow): delete function
9384
9385         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9386
9387 2003-03-29  John Levon  <levon@movementarian.org>
9388
9389         * BufferView_pimpl.C: always update scrollbar top
9390         because pasting text when we're anchored could mean we
9391         miss an update altogether
9392
9393 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9394
9395         * text2.C (init): use rowlist_.end() and not 0.
9396         (insertRow): change to take a RowList::iterator as arg, adjust
9397         for this.
9398         (insertParagraph): change to take a RowList::iterator as arg,
9399         adjust for this.
9400         (redoParagraphs): remove some debug msgs.
9401
9402         * text.C (appendParagraph): change to take a RowList::iterator
9403         arg, adjust for this.
9404         (breakAgain): add an assert
9405         (breakAgainOneRow): ditto
9406
9407 2003-03-29  John Levon  <levon@movementarian.org>
9408
9409         * text2.C: do not clear selection after inc/decDepth
9410         (bug 550)
9411
9412 2003-03-29  John Levon  <levon@movementarian.org>
9413
9414         * BufferView.C:
9415         * buffer.C: fix broken strerrors according to Lars
9416
9417 2003-03-29  John Levon  <levon@movementarian.org>
9418
9419         * converters.C: more Alert cleanups
9420
9421 2003-03-29  John Levon  <levon@movementarian.org>
9422
9423         * bufferview_funcs.C: remove pointless Alert
9424
9425         * buffer.C: fix confusing error message when
9426         a template is chmoded 000
9427
9428 2003-03-29  John Levon  <levon@movementarian.org>
9429
9430         * BufferView.C:
9431         * BufferView.h:
9432         * BufferView_pimpl.C: Alert fixes
9433
9434         * Makefile.am:
9435         * tabular.C:
9436         * tabular-old.C: remove unused table compat reading
9437
9438 2003-03-29  John Levon  <levon@movementarian.org>
9439
9440         * BufferView.C:
9441         * buffer.C:
9442         * lyx_cb.h:
9443         * lyx_cb.C: more Alert cleanups
9444
9445         * lyxfunc.C: don't allow chktex if not latex document
9446
9447 2003-03-29  John Levon  <levon@movementarian.org>
9448
9449         * lyx_cb.C:
9450         * BufferView.C:
9451         * buffer.C: warnings pushed down from support/,
9452         kill err_alert
9453
9454 2003-03-29  John Levon  <levon@movementarian.org>
9455
9456         * lyxfunc.C: safety check for C-r (revert)
9457
9458 2003-03-29  John Levon  <levon@movementarian.org>
9459
9460         * bufferlist.h:
9461         * bufferlist.C: several UI fixes using Alert::prompt.
9462         Fix the pointless looping quit code. Fix stupid revert
9463         behaviour (bug 938)
9464
9465         * lyxvc.h:
9466         * lyxvc.C:
9467         * lyx_cb.C: use Alert::prompt
9468
9469         * lyx_main.C: remove a silly question
9470
9471         * lyxfunc.C: remove a couple of silly questions,
9472         use Alert::prompt
9473
9474 2003-03-28  John Levon  <levon@movementarian.org>
9475
9476         * text2.C: fix bug 974 (End on empty par)
9477
9478 2003-03-28  John Levon  <levon@movementarian.org>
9479
9480         * BufferView_pimpl.C:
9481         * LyXAction.C:
9482         * lfuns.h: remove do-nothing math greek lfuns
9483
9484 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9485
9486         * lyxgluelength.h (isValidGlueLength): add default arg on
9487         parameter 2. Remove default arg from friend in class.
9488
9489         * lyxlength.h (isValidLength): add default arg on parameter 2.
9490         Remove default arg from friend in class.
9491
9492         * text2.C (LyXText): adjust, initialize refresh_row.
9493         (init): adjust
9494         (removeRow): adjust
9495         (insertRow): adjust
9496         (insertParagraph): adjst
9497         (redoParagraphs): adjust
9498         (fullRebreak): adjust
9499         (updateCounters): adjust
9500         (deleteEmptyParagraphMechanism): first attempt at fixing a
9501         crashing bug.
9502
9503         * text.C (top_y): adjust
9504         (setHeightOfRow): adjust
9505         (getRow): adjust
9506         (getRowNearY): adjust
9507
9508         * lyxtext.h: include RowList.h
9509         (~LyXText): not needed anymore, deleted.
9510         (firstRow): modify for RowList
9511         (lastRow): new function
9512         Delete firstrow and lastrow class variables, add a Rowlist
9513         rowlist_ class variable.
9514
9515         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9516         paragraph is empty.
9517
9518         * RowList.C (insert): fix case where it == begin().
9519
9520 2003-03-26  Angus Leeming  <leeming@lyx.org>
9521
9522         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9523         the thesaurus dialog.
9524
9525 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9526
9527         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9528
9529         * RowList.[Ch]: new files
9530
9531         * ParagraphList.C (erase): handle the case where it == begin
9532         correctly.
9533
9534 2003-03-25  John Levon  <levon@movementarian.org>
9535
9536         * Makefile.am:
9537         * aspell_local.h:
9538         * aspell.C: add new aspell support
9539
9540         * lyxrc.h:
9541         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9542         have it accessible.
9543
9544 2003-03-25  Angus Leeming  <leeming@lyx.org>
9545
9546         * lfuns.h:
9547         * LyXAction.C (init): new LFUN_INSET_INSERT.
9548
9549         * BufferView_pimpl.C (dispatch): split out part of the
9550         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9551
9552         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9553         LFUN_INSET_APPLY.
9554
9555 2003-03-25  Angus Leeming  <leeming@lyx.org>
9556
9557         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9558
9559 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9560
9561         * text2.C:
9562         * text3.C: remove useless row->height(0)
9563
9564 2003-03-25  John Levon  <levon@movementarian.org>
9565
9566         * lyxtext.h:
9567         * text2.C:
9568         * text3.C: rename the refreshing stuff to better names
9569
9570 2003-03-24  John Levon  <levon@movementarian.org>
9571
9572         * BufferView_pimpl.h:
9573         * BufferView_pimpl.C: update layout choice on a mouse
9574         press/release
9575
9576 2003-03-23  John Levon  <levon@movementarian.org>
9577
9578         * Makefile.am: fix commandtags.h reference
9579
9580 2003-03-22  John Levon  <levon@movementarian.org>
9581
9582         * BufferView_pimpl.C:
9583         * lyxtext.h:
9584         * rowpainter.C:
9585         * rowpainter.h:
9586         * text.C:
9587         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9588
9589 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9590
9591         * lyxtext.h:
9592         * text.C: take the rtl methods out of line
9593
9594 2003-03-21 André Pönitz <poenitz@gmx.net>
9595
9596         * metricsinfo.[Ch]: new files containing structures to be passed around
9597         during the two-phase-drawing...
9598
9599 2003-03-21 André Pönitz <poenitz@gmx.net>
9600
9601         * lyxtextclass.C: read 'environment' tag.
9602
9603 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9604
9605         * text2.C (removeRow): fix bug 964
9606
9607 2003-03-20  John Levon  <levon@movementarian.org>
9608
9609         * rowpainter.C:
9610         * text.C:
9611         * text2.C: paint cleanups. Inset::update() dropped font
9612         parameter
9613
9614 2003-03-19  John Levon  <levon@movementarian.org>
9615
9616         * lyxfunc.C: only fitcursor/markDirty if available()
9617
9618 2003-03-19  John Levon  <levon@movementarian.org>
9619
9620         * commandtags.h: rename to ...
9621
9622         * lfuns.h: ... this, and renumber / cleanup
9623
9624 2003-03-19  John Levon  <levon@movementarian.org>
9625
9626         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9627         fit the cursor after an lfun
9628
9629         * BufferView.h:
9630         * BufferView.C:
9631         * BufferView_pimpl.h:
9632         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9633
9634         * LyXAction.C: layout-character should have ReadOnly
9635
9636         * ParagraphParameters.C:
9637         * buffer.C:
9638         * bufferview_funcs.C:
9639         * lyx_cb.C:
9640         * lyxfind.C:
9641         * lyxtext.h:
9642         * text.C:
9643         * text2.C:
9644         * text3.C:
9645         * undo_funcs.C: changes from above
9646
9647 2003-03-18  John Levon  <levon@movementarian.org>
9648
9649         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9650         remove it from update()
9651
9652         * lyxfunc.C: update layout choice after an lfun
9653
9654         * text3.C: remove extra updateLayoutChoice()s
9655
9656 2003-03-18  John Levon  <levon@movementarian.org>
9657
9658         * text.C: top_y change means full repaint, fix
9659         a drawing bug with cursor movement
9660
9661 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9662
9663         * lyxtext.h:
9664         * text.C:
9665         * text2.C: anchor row on setCursor
9666
9667 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9668
9669         * lyxtext.h: remove almost all mutable keywords
9670         * text.C:
9671         * text2.C:
9672         * text3.C: remove const keywords accordingly
9673
9674 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9675
9676         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9677         anon namespace
9678         (TeXEnvironment): ditto
9679         (TeXOnePar): ditto
9680
9681 2003-03-17  John Levon  <levon@movementarian.org>
9682
9683         * text.C (rowBreakPoint): remove attempt to fix displayed
9684         math insets inside a manual label
9685
9686 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9687
9688         * lyxtext.h: remove BufferView* as first arg from almost all class
9689         functions.
9690         * other files: adjust.
9691
9692 2003-03-17  John Levon  <levon@movementarian.org>
9693
9694         * lyxtext.h:
9695         * undo_funcs.C:
9696         * text2.C: more paint cleanups
9697
9698         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9699
9700         * rowpainter.h:
9701         * rowpainter.C: remove "smart" background painting code
9702
9703 2003-03-16  John Levon  <levon@movementarian.org>
9704
9705         * lyxtext.h:
9706         * text.C:
9707         * text2.C:
9708         * text3.C: add helper functions for setting refresh_row/y
9709
9710 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9711
9712         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9713         newline inset which *can* get inserted in the pass_thru layouts.
9714         This is primarily for literate documents.
9715
9716 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9717
9718         * buffer.C: increment LYX_FORMAT to 223
9719
9720 2003-03-14 André Pönitz <poenitz@gmx.net>
9721
9722         * textclass.h: prepare for environment handling, ws changes
9723         * lyxlayout.C: read latexheader and latexfooter tags
9724
9725 2003-03-14  John Levon  <levon@movementarian.org>
9726
9727         * text2.C: rewrite ::status() a bit
9728
9729 2003-03-13  John Levon  <levon@movementarian.org>
9730
9731         * lyxtext.h: add some docs
9732
9733 2003-03-13  John Levon  <levon@movementarian.org>
9734
9735         * lyxtext.h:
9736         * text.C:
9737         * text2.C:
9738         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9739
9740 2003-03-13  John Levon  <levon@movementarian.org>
9741
9742         * text3.C: fix appendix redrawing
9743
9744 2003-03-13  John Levon  <levon@movementarian.org>
9745
9746         * text.C (setHeightOfRow):
9747         * rowpainter.h:
9748         * rowpainter.C: make appendix mark have the text
9749           "Appendix" so the user knows what it is
9750
9751         * LColor.h:
9752         * LColor.C: s/appendixline/appendix/ from above
9753
9754 2003-03-13  John Levon  <levon@movementarian.org>
9755
9756         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9757
9758         * text.C: fix a getChar(pos) bug properly
9759
9760 2003-03-13  Angus Leeming  <leeming@lyx.org>
9761
9762         * commandtags.h:
9763         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9764         Probably only temporary. Let's see how things pan out.
9765
9766         * BufferView.C (unlockInset):
9767         * BufferView_pimpl.C (fitCursor):
9768         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9769
9770         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9771         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9772
9773         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9774         new functions that convert ParagraphParameters to and from a string.
9775
9776         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9777         BufferView::Pimpl's dispatch.
9778         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9779
9780 2003-03-13 André Pönitz <poenitz@gmx.net>
9781
9782         * lyxfunc.C:
9783         * text3.C:
9784         * factory.C: make it aware of InsetEnv
9785
9786 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9787
9788         * text2.C (setCursor): never ask for one past last
9789         (setCursor): add some debugging messages.
9790
9791         * text.C (singleWidth): never ask for one past last
9792         (singleWidth): ditto
9793         (leftMargin): ditto
9794         (rightMargin): ditto
9795         (rowBreakPoint): ditto
9796         (setHeightOfRow): ditto
9797         (prepareToPrint): ditto
9798
9799         * rowpainter.C (paintBackground): never ask for one past last
9800         (paintText): never ask for one past last
9801
9802         * paragraph_pimpl.C (getChar): make the assert stricter, never
9803         allow the one past last pos to be taken
9804
9805         * paragraph.C (getChar): ws changes only
9806
9807         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9808         (numberOfSeparators): ditto
9809         (numberOfHfills): ditto
9810
9811 2003-03-12  John Levon  <levon@movementarian.org>
9812
9813         * author.h:
9814         * author.C:
9815         * bufferparams.h:
9816         * bufferparams.C:
9817         * paragraph_funcs.C: fix per-buffer authorlists
9818
9819 2003-03-12  John Levon  <levon@movementarian.org>
9820
9821         * text.C: fix newline in right address
9822
9823 2003-03-12  Angus Leeming  <leeming@lyx.org>
9824
9825         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9826         duplicate those in LyXFunc::dispatch.
9827
9828         * commandtags.h:
9829         * LyXAction.C:
9830         * ToolbarDefaults.C:
9831         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9832         Add LFUN_FONTFREE_UPDATE.
9833
9834         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9835         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9836
9837         * bufferview_func.[Ch]: several new functions to facilliate
9838         transfer of data to and from the character dialog.
9839
9840 2003-03-12  John Levon  <levon@movementarian.org>
9841
9842         * buffer.C:
9843         * paragraph.h:
9844         * paragraph.C:
9845         * paragraph_funcs.C:
9846         * paragraph_pimpl.C:
9847         * sgml.C:
9848         * tabular.C:
9849         * text.C:
9850         * text3.C: remove META_NEWLINE in favour of an inset
9851
9852         * rowpainter.h:
9853         * rowpainter.C: remove paintNewline (done by inset)
9854
9855 2003-03-12  John Levon  <levon@movementarian.org>
9856
9857         * paragraph_pimpl.C: complain about bad getChar()s
9858         for a while at least
9859
9860 2003-03-12  John Levon  <levon@movementarian.org>
9861
9862         * buffer.h:
9863         * buffer.C: move paragraph read into a separate function,
9864         a little renaming to reflect that.
9865
9866         * bufferparams.h:
9867         * bufferparams.C: remove the author_ids map, not necessary now
9868
9869         * factory.h:
9870         * factory.C: moved Buffer::readInset to here
9871
9872         * paragraph_funcs.h:
9873         * paragraph_funcs.C: readParagraph free function moved from
9874         buffer.C
9875
9876         * tabular.C: name change
9877
9878 2003-03-12  John Levon  <levon@movementarian.org>
9879
9880         * buffer.C:
9881         * ParagraphParameters.C: move par params input to
9882         a read() method
9883
9884         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9885         behave like a normal read from the stream wrt reading
9886         a line vs. a \\token
9887
9888 2003-03-12  John Levon  <levon@movementarian.org>
9889
9890         * paragraph.C:
9891         * ParagraphParameters.h:
9892         * ParagraphParameters.C: move output code to a
9893         ::write() method
9894
9895 2003-03-12  John Levon  <levon@movementarian.org>
9896
9897         * BufferView.C (insertLyXFile):
9898         * buffer.h:
9899         * buffer.C:
9900         * tabular.C: use a parlist iterator for creating the
9901           document.
9902
9903 2003-03-12  John Levon  <levon@movementarian.org>
9904
9905         * buffer.C: make current_change static local not
9906           static file-scope
9907
9908 2003-03-12  John Levon  <levon@movementarian.org>
9909
9910         * buffer.C: fix insertStringAsLines for change tracking
9911
9912 2003-03-12  John Levon  <levon@movementarian.org>
9913
9914         * BufferView.C:
9915         * tabular.C:
9916         * buffer.h:
9917         * buffer.C:
9918         * bufferparams.h:
9919         * bufferparams.C: move author list into params. Rename some
9920           functions. Move the header reading into a separate token
9921           loop. Move the header token reading into BufferParams.
9922
9923 2003-03-12  John Levon  <levon@movementarian.org>
9924
9925         * changes.C: put debug inside lyxerr.debugging() checks
9926
9927 2003-03-11 André Pönitz <poenitz@gmx.net>
9928
9929         * factory.C: make it aware of InsetHFill
9930
9931 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9932
9933         * buffer.C (latexParagraphs): move function from here...
9934         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9935         args.
9936
9937 2003-03-10  Angus Leeming  <leeming@lyx.org>
9938
9939         * LyXAction.C (init): fix bug in poplating array with multiple entries
9940         with the same LFUN (spotted by JMarc).
9941
9942 2003-03-10  John Levon  <levon@movementarian.org>
9943
9944         * text.C:
9945         * text2.C: move getColumnNearX() near its
9946         only call site
9947
9948 2003-03-10  John Levon  <levon@movementarian.org>
9949
9950         * text.C: fix break before a minipage
9951
9952 2003-03-10  John Levon  <levon@movementarian.org>
9953
9954         * text.C: fix the last commit
9955
9956 2003-03-09  John Levon  <levon@movementarian.org>
9957
9958         * lyxtext.h:
9959         * text.C:
9960         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9961         bug 365 (don't break before insets unless needed). Don't
9962         return a value > last under any circumstances.
9963
9964 2003-03-09  Angus Leeming  <leeming@lyx.org>
9965
9966         * BufferView_pimpl.C (trackChanges, dispatch): call
9967         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9968
9969 2003-03-09  Angus Leeming  <leeming@lyx.org>
9970
9971         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9972         than Dialogs::showAboutlyx().
9973
9974 2003-03-09  Angus Leeming  <leeming@lyx.org>
9975
9976         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9977         than Dialogs::showTabularCreate().
9978
9979 2003-03-09  John Levon  <levon@movementarian.org>
9980
9981         * lyxtext.h:
9982         * text.C:
9983         * text2.C: 3rd arg to nextBreakPoint was always the same.
9984           Use references.
9985
9986 2003-03-08  John Levon  <levon@movementarian.org>
9987
9988         * lyxrow.C:
9989         * paragraph.C:
9990         * paragraph.h:
9991         * rowpainter.C:
9992         * text.C:
9993         * text2.C: Remove the "main" bit from the "main body"
9994           notion.
9995
9996 2003-03-08  John Levon  <levon@movementarian.org>
9997
9998         * text.C (leftMargin): The left margin of an empty
9999         manual label paragraph should not include the label width
10000         string length.
10001
10002         * text.C (prepareToPrint): don't attempt to measure hfills
10003         for empty manual label paragraphs - the answer should be 0
10004
10005 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10006
10007         * CutAndPaste.C: remove commented code and reindent.
10008
10009 2003-03-08  John Levon  <levon@movementarian.org>
10010
10011         * lyxfunc.h:
10012         * lyxfunc.C: move reloadBuffer()
10013
10014         * BufferView.h:
10015         * BufferView.C: to here
10016
10017         * lyxvc.C: add comment
10018
10019         * vc-backend.h:
10020         * vc-backend.C: call bv->reload() to avoid
10021           getStatus() check on MENURELOAD
10022
10023 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
10024
10025         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10026         to an old format .dep file.
10027
10028 2003-03-07  Angus Leeming  <leeming@lyx.org>
10029
10030         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10031         when the LFUN_MOUSE_RELEASE should have been handled by
10032         inset->localDispatch.
10033
10034 2003-03-07  Angus Leeming  <leeming@lyx.org>
10035
10036         * BufferView_pimpl.C (dispatch):
10037         * LyXAction.C (init):
10038         * ToolbarDefaults.C (init):
10039         * commandtags.h:
10040         * lyxfunc.C (getStatus):
10041         remove LFUN_INSET_GRAPHICS.
10042
10043         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10044
10045 2003-03-07  Angus Leeming  <leeming@lyx.org>
10046
10047         * commandtags.h:
10048         * LyXAction.C (init):
10049         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10050
10051         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10052
10053         * commandtags.h:
10054         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10055
10056         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10057         localDispatch method LFUN_INSET_DIALOG_UPDATE.
10058
10059 2003-03-07  Angus Leeming  <leeming@lyx.org>
10060
10061         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10062         remove "ert".
10063
10064 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10065
10066         * ParagraphList.C (front): new function
10067         (back): implement
10068
10069 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10070
10071         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10072         and top_row_offset_. removed var first_y.
10073         * text.C (top_y):
10074         * text2.C (LyXText, removeRow):
10075         * text3.C:
10076         * BufferView_pimpl.C:
10077         use these methods instead of using first_y
10078
10079 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10080
10081         * text2.C (pasteSelection): adjust for checkPastePossible
10082
10083         * CutAndPaste.C: remove Paragraph * buf and replace with
10084         ParagraphList paragraphs.
10085         (DeleteBuffer): delete
10086         (cutSelection): change the tc type to textclass_type
10087         (copySelection): change the tc type to textclass_type
10088         (copySelection): adjust for ParagraphList
10089         (pasteSelection): change the tc type to textclass_type
10090         (pasteSelection): adjust for Paragraphlist
10091         (nrOfParagraphs): simplify for ParagraphList
10092         (checkPastePossible): simplify for ParagraphList
10093         (checkPastePossible): remove unused arg
10094
10095         * ParagraphList.C (insert): handle the case where there are no
10096         paragraphs yet.
10097
10098         * CutAndPaste.h: make CutAndPaste a namespace.
10099
10100         * text3.C (dispatch): adjust
10101
10102         * text.C (breakParagraph): add a ParagraphList as arg
10103
10104         * paragraph_funcs.C (breakParagraph): change to take a
10105         BufferParams and a ParagraphList as args.
10106         (breakParagraphConservative): ditto
10107         (mergeParagraph): ditto
10108         (TeXDeeper): add a ParagraphList arg
10109         (TeXEnvironment): ditto
10110         (TeXOnePar): ditto
10111
10112         * buffer.C (readLyXformat2): adjust
10113         (insertStringAsLines): adjust
10114         (latexParagraphs): adjust
10115
10116         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10117         (cutSelection): adjust
10118         (pasteSelection): adjust
10119
10120         * BufferView_pimpl.C (insertInset): adjust
10121
10122 2003-03-05  Angus Leeming  <leeming@lyx.org>
10123
10124         * commandtags.h:
10125         * LyXAction.C (init):
10126         * BufferView_pimpl.C (dispatch):
10127         * lyxfunc.C (getStatus):
10128         remove LFUN_CHILD_INSERT.
10129
10130         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10131
10132 2003-03-05  Angus Leeming  <leeming@lyx.org>
10133
10134         * commandtags.h:
10135         * LyXAction.C (init):
10136         * src/factory.C (createInset):
10137         * lyxfunc.C (getStatus):
10138         * text3.C (dispatch):
10139         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10140
10141         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10142
10143 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10144
10145         * ParagraphList.C (insert): handle insert right before end()
10146         (erase): fix cases where it can be first or last paragraph.
10147
10148 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10149
10150         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10151         Paragraph::next and Paragraph::previous
10152         (TeXOnePar): ditto
10153
10154         * text.C (breakParagraph): adjust
10155
10156         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10157         BufferParams& as arg.
10158         (breakParagraph): use ParagraphList::insert
10159         (breakParagraphConservative): take a Buffer* instead of a
10160         BufferParams& as arg.
10161         (breakParagraphConservative): use ParagraphList::insert.
10162
10163         * buffer.C (insertStringAsLines): un-const it
10164         (insertStringAsLines): adjust
10165
10166         * ParagraphList.C (insert): new function
10167
10168         * CutAndPaste.C (pasteSelection): adjust
10169
10170         * text.C (backspace): adjust
10171
10172         * tabular.C (SetMultiColumn): adjust
10173
10174         * CutAndPaste.C (cutSelection): adjust
10175         (pasteSelection): adjust
10176
10177         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10178         Buffer const * as arg
10179
10180         * ParagraphList.C (erase): new function
10181         * paragraph_funcs.C (mergeParagraph): use it
10182         (mergeParagraph): make it take a Buffer* instead of a
10183         BufferParams* as arg
10184
10185         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10186         as arg
10187         (breakParagraphConservative): ditto
10188
10189         * paragraph.h: remove the breakParagraph friend
10190
10191         * paragraph.C (eraseIntern): new function
10192         (setChange): new function
10193
10194         * paragraph_funcs.C (mergeParagraph): make it take a
10195         ParagraphList::iterator instead of a Paragraph *, adjust
10196         accordingly.
10197
10198         * paragraph.h: move an #endif so that the change tracking stuff
10199         also works in the NO_NEXT case.
10200
10201 2003-03-04  Angus Leeming  <leeming@lyx.org>
10202
10203         * commandtags.h:
10204         * LyXAction.C: new LFUN_INSET_MODIFY.
10205
10206         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10207         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10208
10209 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10210
10211         * several files: ws changes only
10212
10213         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10214         (TeXEnvironment): ditto
10215         (TeXDeeper): ditto
10216
10217         * buffer.C (makeLaTeXFile): adjust
10218         (latexParagraphs): make it take ParagraphList::iterator as args
10219
10220 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10221
10222         * buffer.C (latexParagraphs): adjust
10223
10224         * paragraph.C (TeXOnePar): move function...
10225         (optArgInset): move function...
10226         (TeXEnvironment): move function...
10227         * paragraph_pimpl.C (TeXDeeper): move function...
10228         * paragraph_funcs.C: ...here
10229
10230         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10231
10232 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10233
10234         * buffer.C (readInset): remove compability code for old Figure and
10235         InsetInfo insets
10236
10237 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10238
10239         * buffer.C: ws changes
10240         (readInset):
10241
10242         * BufferView_pimpl.C: ditto
10243         * author.C: ditto
10244         * buffer.h: ditto
10245         * bufferlist.h: ditto
10246         * changes.h: ditto
10247         * lyxfunc.C: ditto
10248
10249 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10250
10251         * converter.[Ch]: split into itself +
10252         * graph.[Ch]
10253         * format.[Ch]
10254         * Makefile.am: += graph.[Ch] + format.[Ch]
10255         * MenuBackend.C
10256         * buffer.C
10257         * exporter.C
10258         * importer.C
10259         * lyx_main.C
10260         * lyxfunc.C
10261         * lyxrc.C: added #include "format.h"
10262
10263 2003-02-27  Angus Leeming  <leeming@lyx.org>
10264
10265         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10266           a label.
10267
10268         * factory.C (createInset): add "label" to the factory.
10269
10270         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10271           string and do no more.
10272
10273 2003-02-27  Angus Leeming  <leeming@lyx.org>
10274
10275         * commandtags.h:
10276         * LyXAction.C (init):
10277         * factory.C (createInset):
10278         * BufferView_pimpl.C (dispatch):
10279           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10280
10281         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10282
10283         * lyxfunc.C (dispatch):
10284         * text3.C (dispatch): pass name to params2string.
10285
10286 2003-02-26  Angus Leeming  <leeming@lyx.org>
10287
10288         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10289           blocks together.
10290           Rearrange the ~includes. Strip out the unnecessary ones.
10291
10292         * factory.C (createInset): reformat.
10293           create new insets for the various LFUN_XYZ_APPLY lfuns.
10294
10295 2003-02-26  John Levon  <levon@movementarian.org>
10296
10297         * lyxrow.h:
10298         * lyxrow.C: add isParStart,isParEnd helpers
10299
10300         * paragraph.h: make isInserted/DeletedText take refs
10301
10302         * paragraph_funcs.h:
10303         * paragraph_funcs.C: remove #if 0'd code
10304
10305         * lyxtext.h:
10306         * text3.C:
10307         * text2.C:
10308         * text.C: use lyxrow helpers above.
10309           Move draw and paint routines to RowPainter.
10310           Make several methods use refs not pointers.
10311           Make backgroundColor() const.
10312           Add markChangeInDraw(), isInInset().
10313           Merge changeRegionCase into changeCase.
10314           Make workWidth() shouldn't-happen code into an Assert.
10315
10316         * rowpainter.h:
10317         * rowpainter.C: new class for painting a row.
10318
10319         * vspace.h:
10320         * vspace.C: make inPixels take a ref
10321
10322 2003-02-26  Angus Leeming  <leeming@lyx.org>
10323
10324         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10325         LFUN_REF_APPLY.
10326
10327 2003-02-25  John Levon  <levon@movementarian.org>
10328
10329         * ispell.C: give the forked command a more accurate name
10330
10331 2003-02-22  John Levon  <levon@movementarian.org>
10332
10333         * toc.h:
10334         * toc.C: make TocItem store an id not a Paragraph *
10335           (bug #913)
10336
10337 2003-02-21  Angus Leeming  <leeming@lyx.org>
10338
10339         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10340           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10341           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10342           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10343           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10344           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10345
10346         * BufferView_pimpl.C (dispatch):
10347         * LyXAction.C (init):
10348         * factory.C (createInset):
10349         * lyxfunc.C (getStatus, dispatch):
10350         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10351
10352 2003-02-21  Angus Leeming  <leeming@lyx.org>
10353
10354         * BufferView_pimpl.C (MenuInsertLyXFile):
10355         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10356         * lyxfunc.C (menuNew, open, doImport):
10357           no longer pass a LyXView & to fileDlg.
10358
10359 2003-02-21  Angus Leeming  <leeming@lyx.org>
10360
10361         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10362         * LyXAction.C: change, BIBKEY to BIBITEM.
10363         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10364         Change InsetBibKey to InsetBibitem.
10365         Change BIBKEY_CODE to BIBITEM_CODE.
10366         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10367         * factory.C: replace insetbib.h with insetbibitem.h.
10368         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10369         * paragraph.C: replace insetbib.h with insetbibitem.h.
10370         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10371         Change bibkey() to bibitem().
10372         * text.C: remove insetbib.h.
10373         * text2.C: replace insetbib.h with insetbibitem.h.
10374         change bibkey() to bibitem().
10375         * text3.C: remove insetbib.h.
10376         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10377
10378 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10379
10380         * lyxrc.C (output): enclose user email in quotes (in case there are
10381         several words)
10382
10383 2003-02-18  John Levon  <levon@movementarian.org>
10384
10385         * buffer.h: add std::
10386
10387 2003-02-17  John Levon  <levon@movementarian.org>
10388
10389         * SpellBase.h:
10390         * ispell.h:
10391         * ispell.C:
10392         * pspell.h:
10393         * pspell.C: reworking. Especially in ispell, a large
10394           number of clean ups and bug fixes.
10395
10396         * lyxfunc.C: fix revert to behave sensibly
10397
10398 2003-02-17 André Pönitz <poenitz@gmx.net>
10399
10400         * LyXAction.C:
10401         * commandtags.h: new LFUN_INSERT_BIBKEY
10402
10403         * layout.h:
10404         * lyxlayout.C:
10405         * buffer.C:
10406         * factory.C:
10407         * text.C:
10408         * text2.C:
10409         * text3.C:
10410         * paragraph.[Ch]:
10411         * paragraph_func.C: remove special bibkey handling
10412
10413 2003-02-17  John Levon  <levon@movementarian.org>
10414
10415         * text.C (Delete): fix case where delete at the end of
10416           the very first paragraph would not merge the pars
10417
10418 2003-02-17  John Levon  <levon@movementarian.org>
10419
10420         * lyxrow.C: fix lastPrintablePos()
10421
10422 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10423
10424         * bufferparams.C (writeLaTeX): add a std:here
10425
10426         * buffer.C: and remove a using directive there
10427
10428 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10429
10430         * buffer.C (makeLaTeXFile): move the code that generates the
10431           preamble...
10432
10433         * bufferparams.C (writeLaTeX): ... in this new method
10434
10435         * LaTeXFeatures.C (getEncodingSet): make const
10436           (getLanguages): make const
10437
10438         * MenuBackend.C (binding): returns the binding associated to this
10439           action
10440           (add): sets the status of each item by calling getStatus. Adds
10441           some intelligence.
10442           (read): add support for OptSubMenu
10443           (expand): remove extra separator at the end of expanded menu
10444
10445 2003-02-15  John Levon  <levon@movementarian.org>
10446
10447         * BufferView.C:
10448         * BufferView_pimpl.C:
10449         * bufferlist.h:
10450         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10451           inset code that had no actual effect. Remove unneeded status
10452           code.
10453
10454 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10455
10456         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10457           in preamble
10458
10459 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10460
10461         * text.C (drawLengthMarker): also draw an arrow marker for
10462           symbolic lengths (medskip...)
10463
10464 2003-02-14  John Levon  <levon@movementarian.org>
10465
10466         * tabular.h:
10467         * tabular.C: better method names
10468
10469 2003-02-14  John Levon  <levon@movementarian.org>
10470
10471         * BufferView_pimpl.C:
10472         * bufferlist.C:
10473         * buffer.C:
10474         * converter.C:
10475         * lyx_cb.C:
10476         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10477           it's a more accurate name. Remove some pointless uses.
10478
10479 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10480
10481         * text2.C (LyXText): change order of initilizers to shut off
10482           warnings
10483
10484 2003-02-14  John Levon  <levon@movementarian.org>
10485
10486         * buffer.C: use ParIterator for getParFromID()
10487
10488         * paragraph.h:
10489         * paragraph.C:
10490         * paragraph_pimpl.h:
10491         * paragraph_pimpl.C: remove unused getParFromID()
10492
10493 2003-02-14  John Levon  <levon@movementarian.org>
10494
10495         * buffer.C: remove some very old #if 0'd parse code
10496
10497 2003-02-13  John Levon  <levon@movementarian.org>
10498
10499         * text.h:
10500         * text.C:
10501         * text2.C: move hfillExpansion(), numberOfSeparators(),
10502           rowLast(), rowLastPrintable(), numberofHfills(),
10503           numberOfLabelHfills() ...
10504
10505         * lyxrow.h:
10506         * lyxrow.C: ... to member functions here.
10507
10508         * paragraph.h:
10509         * paragraph.C:
10510         * lyxtext.h:
10511         * text.C: remove LyXText::beginningOfMainBody(), and call
10512           p->beginningOfMainBody() directly. Move the check for
10513           LABEL_MANUAL into the latter.
10514
10515         * text.h:
10516         * text.C:
10517         * text2.C:
10518         * vspace.C:
10519         * BufferView.h:
10520         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10521
10522         * text.h:
10523         * text.C:
10524         * text2.C:
10525         * text3.C:
10526         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10527           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10528
10529 2003-02-13  John Levon  <levon@movementarian.org>
10530
10531         * CutAndPaste.C: remove debug
10532
10533 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10534
10535         * paragraph.C (asString): remove two unused variables
10536
10537         * lyxtextclass.C (readTitleType):
10538           (Read):
10539           (LyXTextClass): handle new members titletype_ and titlename_
10540
10541         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10542
10543 2003-02-09  John Levon  <levon@movementarian.org>
10544
10545         * buffer.h:
10546         * buffer.C: replace hand-coded list with a map for the dep clean
10547
10548 2003-02-08  John Levon  <levon@movementarian.org>
10549
10550         * LaTeX.C: consolidate code into showRunMessage() helper
10551
10552 2003-02-08  John Levon  <levon@movementarian.org>
10553
10554         * lyxfind.C:
10555         * lyxtext.h:
10556         * text2.C:
10557         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10558           and pass the size in explicitly
10559
10560         * BufferView_pimpl.h:
10561         * BufferView_pimpl.C:
10562         * BufferView.h:
10563         * BufferView.C: add getCurrentChange()
10564
10565         * BufferView_pimpl.h:
10566         * BufferView_pimpl.C: handle change lfuns
10567
10568         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10569           for changes. Mark pasted paragraphs as new.
10570
10571         * support/lyxtime.h:
10572         * support/lyxtime.C:
10573         * DepTable.C: abstract time_t as lyx::time_type
10574
10575         * LColor.h:
10576         * LColor.C: add colours for new text, deleted text, changebars
10577
10578         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10579           package use "usenames" option.
10580
10581         * commandtags.h:
10582         * lyxfunc.C:
10583         * LyXAction.C: add change lfuns
10584
10585         * Makefile.am:
10586         * author.h:
10587         * author.C: author handling
10588
10589         * buffer.h:
10590         * buffer.C: add a per-buffer author list, with first entry as
10591           current author. Handle new .lyx tokens for change tracking. Output
10592           author list to .lyx file. Output dvipost stuff to .tex preamble.
10593           Bump lyx format to 222.
10594
10595         * bufferlist.h:
10596         * bufferlist.C: add setCurrentAuthor() to reset current author details
10597           in all buffers.
10598
10599         * bufferparams.h:
10600         * bufferparams.C: add param for tracking
10601
10602         * bufferview_funcs.C: output change info in minibuffer
10603
10604         * Makefile.am:
10605         * changes.h:
10606         * changes.C: add change-tracking structure
10607
10608         * debug.h:
10609         * debug.C: add CHANGES debug flag
10610
10611         * lyxfind.h:
10612         * lyxfind.C: add code for finding the next change piece
10613
10614         * lyxrc.h:
10615         * lyxrc.C: add user_name and user_email
10616
10617         * lyxrow.h:
10618         * lyxrow.C: add a metric for the top of the text line
10619
10620         * lyxtext.h:
10621         * text.C: implement accept/rejectChange()
10622
10623         * lyxtext.h:
10624         * text.C: paint changebars. Paint new/deleted text in the chosen
10625         colours. Strike through deleted text.
10626
10627         * paragraph.h:
10628         * paragraph.C:
10629         * paragraph_pimpl.h:
10630         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10631           in the current change to the insert functions. Rework erase to
10632           mark text as deleted, adding an eraseIntern() and a range-based
10633           erase(). Implement per-paragraph change lookup and
10634           accept/reject.
10635
10636         * paragraph_funcs.C: Fixup paste for change tracking.
10637
10638         * tabular.C: mark added row/columns as new.
10639
10640         * text.C: fix rowLast() to never return -1. Don't allow
10641           spellchecking of deleted text. Track transpose changes. Don't
10642           allow paragraph break or merge where appropriate.
10643
10644         * text2.C: leave cursor at end of selection after a cut.
10645
10646 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10647
10648         * text.C (getLengthMarkerHeight):
10649         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10650         visible on screen too.
10651
10652 2003-02-07  John Levon  <levon@movementarian.org>
10653
10654         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10655
10656 2003-02-05  Angus Leeming  <leeming@lyx.org>
10657
10658         * lyxserver.C (read_ready): revert my patch of 11 September last year
10659         as it sends PC cpu through the roof. Presumably this means that
10660         the lyxserver will no longer run on an Alpha...
10661
10662 2003-01-30  Angus Leeming  <leeming@lyx.org>
10663
10664         * factory.C (createInset): create an InsetCommandParam of type "index"
10665         and use it to 'do the right thing'.
10666
10667         * text2.C (getStringToIndex): ensure that cursor position is always
10668         reset to the reset_cursor position.
10669
10670 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10671
10672         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10673         disabled.
10674
10675 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10676
10677         * bufferview.C:
10678         * lyxcb.C:
10679         * lyxfunc.C: Output messages with identical spelling, punctuation,
10680         and spaces
10681
10682 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10683
10684         * MenuBackend.C (expandFormats): List only viewable export formats
10685         in "View" menu
10686
10687         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10688         message
10689
10690         * lyxfunc.C (getStatus): Make sure that formats other than
10691         "fax" can also be disabled
10692
10693 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10694
10695         * text3.C (dispatch): put the lfuns that insert insets in 3
10696         groups, and call doInsertInset with appropriate arguments.
10697         (doInsertInset): new function, that creates an inset and inserts
10698         it according to some boolean parameters.
10699
10700 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10701
10702         * buffer.C (readFile): remember to pass on 'par' when calling
10703         readFile recursively.
10704
10705 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10706
10707         * MenuBackend.C (expandFormats): add "..." to import formats.
10708
10709 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10710
10711         * paragraph.C (asString): Remove XForms RTL hacks.
10712
10713 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10714         * buffer.C: fix typo
10715
10716 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10717
10718         * Makefile.am (LIBS): delete var
10719         (lyx_LDADD): add @LIBS@ here instead.
10720
10721 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10722
10723         * Clarify the meaning of "wheel mouse jump"
10724
10725 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10726
10727         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10728         tabular in a float
10729
10730 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10731
10732         * importer.C (Loaders): do not preallocate 3 elements in the
10733         vector, since one ends up with 6 elements otherwise
10734
10735 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10736
10737         * DepTable.C (write): write the file name as last element of the
10738         .dep file (because it may contain spaces)
10739         (read): read info in the right order
10740
10741 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10742
10743         * paragraph_pimpl.C (simpleTeXBlanks):
10744         (simpleTeXSpecialChars):
10745         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10746
10747         * tabular.C (latex): add some missing case statements. Reindent.
10748
10749         * MenuBackend.C (expandToc): remove unused variable.
10750
10751 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10752
10753         * LColor.C:
10754         * LaTeX.C:
10755         * LyXAction.C:
10756         * MenuBackend.C:
10757         * buffer.C:
10758         * exporter.C:
10759         * lyxfunc.C:
10760         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10761         and the like.
10762
10763 2003-01-05  John Levon  <levon@movementarian.org>
10764
10765         * BufferView.h:
10766         * BufferView.C: add getEncoding()
10767
10768         * kbsequence.h:
10769         * kbsequence.C: do not store last keypress
10770
10771         * lyxfunc.h:
10772         * lyxfunc.C: store last keypress here instead. Pass encoding
10773           to getISOEncoded()
10774
10775 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10776
10777         * lyx_main.C (init): remove annoying error message when following
10778         symbolic links (bug #780)
10779
10780 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10781
10782         * text.C (insertChar):
10783         * lyxrc.C (getDescription): remove extra spaces
10784
10785 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10786
10787         * lyxrc.C (getDescription): remove extra spaces
10788
10789 2002-12-20  John Levon  <levon@movementarian.org>
10790
10791         * text3.C: hack fix for page up/down across tall rows
10792
10793 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10794
10795         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10796         not been invoked
10797
10798 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10799
10800         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10801         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10802         thesaurus is not compiled in
10803
10804 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10805
10806         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10807
10808 2002-12-16  Angus Leeming  <leeming@lyx.org>
10809
10810         * lyxrc.[Ch]:
10811         * lyx_main.C (init): remove override_x_deadkeys stuff.
10812
10813 2002-12-12  John Levon  <levon@movementarian.org>
10814
10815         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10816           insert. Only remove shift modifier under strict
10817           circumstances.
10818
10819 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10820
10821         * MenuBackend.C (expandToc): fix crash.
10822
10823 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10824
10825         * MenuBackend.C (expandToc): gettext on float names.
10826
10827 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10828
10829         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10830         implement bool empty() [bug 490]
10831
10832 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10833
10834         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10835
10836 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10837
10838         * several files: ws changes
10839
10840 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10841
10842         * text2.C (setCounter): clean up a bit, use boost.format.
10843         (updateCounters): initialize par upon declaration.
10844
10845         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10846         if the layout exists. We do not just store the layout any more.
10847         (SwitchLayoutsBetweenClasses): use boost.format
10848
10849 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10850
10851         * converter.C (convert): if from and to files are the same, use a
10852         temporary files as intermediary
10853
10854 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10855
10856         * commandtags.h:
10857         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10858
10859 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10860
10861         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10862
10863 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10864
10865         * tabular.C (asciiPrintCell): use string(size, char) instead of
10866         explicit loop.
10867
10868         * sgml.C (openTag): fix order of arguments to string constructor
10869         (closeTag): ditto
10870
10871         * lyxfunc.C (dispatch): use boost.format
10872
10873         * lots of files: change "c" -> 'c'
10874
10875 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10876
10877         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10878
10879 2002-11-25  Angus Leeming  <leeming@lyx.org>
10880
10881         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10882
10883         * lyx_main.C (init): compile fix.
10884
10885 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10886
10887         * lyx_cb.C (start): boost.formatify
10888         do not include <iostream>
10889
10890         * lengthcommon.C: ws only
10891
10892         * boost-inst.C,BoostFormat.h: add more explict instantations
10893
10894 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10895
10896         * lots of files: handle USE_BOOST_FORMAT
10897
10898 2002-11-21  John Levon  <levon@movementarian.org>
10899
10900         * pspell.C: fix compile
10901
10902 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10903
10904         * lyxfunc.C (dispatch): use boost::format
10905         (open): ditto
10906         (doImport): ditto
10907
10908         * lyxfont.C (stateText): use boost::format
10909
10910         * lyx_main.C (LyX): use boost::format
10911         (init): ditto
10912         (queryUserLyXDir): ditto
10913         (readRcFile): ditto
10914         (parse_dbg): ditto
10915         (typedef boost::function): use the recommened syntax.
10916
10917         * importer.C (Import): use boost::format
10918
10919         * debug.C (showLevel): use boost::format
10920
10921         * converter.C (view): use boost::format
10922         (convert): ditto
10923         (move): ditto
10924         (scanLog): ditto
10925
10926         * bufferview_funcs.C (currentState): use boost::format
10927
10928         * bufferlist.C (emergencyWrite): use boost::format
10929
10930         * buffer.C (readLyXformat2): use boost::format
10931         (parseSingleLyXformat2Token): ditto
10932
10933         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10934
10935         * LaTeX.C (run): use boost::format
10936
10937         * Chktex.C (scanLogFile): use boost::format
10938
10939         * BufferView_pimpl.C (savePosition): use boost::format
10940         (restorePosition): ditto
10941         (MenuInsertLyXFile): ditto
10942
10943         * BoostFormat.h: help file for explicit instation.
10944
10945 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10946
10947         * tabular.C (latex): Support for block alignment in fixed width
10948         columns.
10949
10950 2002-11-17  John Levon  <levon@movementarian.org>
10951
10952         * BufferView_pimpl.C:
10953         * lyx_cb.C:
10954         * lyxfunc.C: split filedialog into open/save
10955
10956 2002-11-08  Juergen Vigna  <jug@sad.it>
10957
10958         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10959         by my last patch (hopefully).
10960
10961 2002-11-08  John Levon  <levon@movementarian.org>
10962
10963         * iterators.h:
10964         * iterators.C:
10965         * buffer.h:
10966         * buffer.C:
10967         * paragraph.h:
10968         * paragraph.C:
10969         * toc.h:
10970         * toc.C: ParConstIterator, and use it (from Lars)
10971
10972 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10973
10974         * lyxtextclass.[Ch]: revise and add doxygen comments
10975
10976 2002-11-07  John Levon  <levon@movementarian.org>
10977
10978         * text.C: fix progress value for spellchecker
10979
10980         * toc.C: fix navigate menu for insetwrap inside minipage
10981
10982         * paragraph_funcs.C: added FIXME for suspect code
10983
10984 2002-11-07  John Levon  <levon@movementarian.org>
10985
10986         * BufferView_pimpl.C: fix redrawing of insets
10987           on buffer switch
10988
10989 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10990
10991         * text2.C (updateCounters): fix bug 668
10992
10993 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10994
10995         * text3.C (dispatch): Do not make the buffer dirty when moving the
10996         cursor.
10997
10998 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10999
11000         * vc-backend.C: STRCONV
11001         (scanMaster): ditto
11002
11003         * text2.C (setCounter): STRCONV
11004
11005         * paragraph.C (asString): STRCONV
11006
11007         * lyxlength.C (asString): STRCONV
11008         (asLatexString): ditto
11009
11010         * lyxgluelength.C (asString): STRCONV
11011         (asLatexString): ditto
11012
11013         * lyxfunc.C (dispatch): STRCONV
11014         (open): ditto
11015
11016         * lyxfont.C (stateText): STRCONV
11017
11018         * importer.C (Import): STRCONV
11019
11020         * counters.C (labelItem): STRCONV
11021         (numberLabel): ditto
11022         (numberLabel): remove unused ostringstream o
11023
11024         * chset.C: STRCONV
11025         (loadFile): ditto
11026
11027         * bufferview_funcs.C (currentState): STRCONV
11028
11029         * buffer.C (readFile): STRCONV
11030         (asciiParagraph): ditto
11031         (makeLaTeXFile): ditto
11032
11033         * Spacing.C (writeEnvirBegin): STRCONV
11034
11035         * LaTeXFeatures.C (getLanguages): STRCONV
11036         (getPackages): ditto
11037         (getMacros): ditto
11038         (getBabelOptions): ditto
11039         (getTClassPreamble): ditto
11040         (getLyXSGMLEntities): ditto
11041         (getIncludedFiles): ditto
11042
11043         * LaTeX.C: STRCONV
11044         (run): ditto
11045         (scanAuxFile): ditto
11046         (deplog): ditto
11047
11048         * LString.h: add the STRCONV macros
11049
11050         * BufferView_pimpl.C (savePosition): STRCONV
11051         (restorePosition): ditto
11052         (MenuInsertLyXFile): ditto
11053
11054         * vc-backend.C (scanMaster): change from submatch[...] to
11055         submatch.str(...)
11056
11057         * funcrequest.C: include config.h
11058
11059         * factory.C: include config.h
11060
11061         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11062
11063         * box.C: include config.h
11064
11065         * LaTeX.C (scanAuxFile): change from submatch[...] to
11066         submatch.str(...)
11067         (deplog): ditto
11068
11069 2002-10-25  Angus Leeming  <leeming@lyx.org>
11070
11071         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11072
11073         * ispell.[Ch] (setError): new method.
11074         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11075         Use setError() insetead of goto END.
11076
11077         * lyx_cb.C (AutoSave): move out child process into new class
11078         AutoSaveBuffer.
11079
11080 2002-10-30  John Levon  <levon@movementarian.org>
11081
11082         * text3.C: make start appendix undoable
11083
11084 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11085
11086         * lyxlength.C (inPixels): Fix returned value.
11087
11088         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11089         environment.
11090
11091 2002-10-24  Angus Leeming  <leeming@lyx.org>
11092
11093         * lyxgluelength.h: no need to forward declare BufferParams
11094         or BufferView, so don't.
11095
11096 2002-10-21  John Levon  <levon@movementarian.org>
11097
11098         * BufferView.C: menuUndo ->undo, redo
11099
11100         * BufferView.h: document, remove dead, make some methods private
11101
11102         * paragraph_funcs.h:
11103         * paragraph_funcs.C:
11104         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11105
11106         * buffer.h:
11107         * buffer.C:
11108         * sgml.h:
11109         * sgml.C: move sgml open/close tag into sgml.C
11110
11111         * bufferview_funcs.h: unused prototype
11112
11113         * lyxfunc.h:
11114         * lyxfunc.C: remove unused
11115
11116         * lyxtext.h:
11117         * text.C: remove unused
11118
11119 2002-10-21  John Levon  <levon@movementarian.org>
11120
11121         * BufferView.h:
11122         * BufferView.C:
11123         * BufferView_pimpl.h:
11124         * BufferView_pimpl.C: fix mouse wheel handling based on
11125           patch from Darren Freeman
11126
11127 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11128
11129         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11130
11131 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11132
11133         * lyxlength.C (inPixels): Fix hanfling of negative length.
11134         Fix LyXLength::MU case.
11135
11136 2002-10-16  John Levon  <levon@movementarian.org>
11137
11138         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11139
11140 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11141
11142         * converter.C (view): add support for $$i (file name) and $$p
11143         (file path) for the viewer command. If $$i is not specified, then
11144         it is appended to the command (for compatibility with old syntax)
11145
11146 2002-10-14  Juergen Vigna  <jug@sad.it>
11147
11148         * undo_funcs.C (textHandleUndo): alter the order in which the
11149         new undopar is added to the LyXText, as we have to set first
11150         the right prev/next and then add it as otherwise the rebuild of
11151         LyXText is not correct. Also reset the cursor to the right paragraph,
11152         with this IMO we could remove the hack in "redoParagraphs()".
11153
11154 2002-10-09  Angus Leeming  <leeming@lyx.org>
11155
11156         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11157         to turn off an optimisation if a new inset is to be inserted.
11158
11159 2002-10-11 André Pönitz <poenitz@gmx.net>
11160
11161         * lyxtext.h: make some functions public to allow access
11162         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11163
11164 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11165
11166         * text3.C (dispatch): when changing layout, avoid an infinite loop
11167         [bug #652]
11168
11169 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11170
11171         * lyxrc.C (read): treat a viewer or converter command of "none" as
11172         if it were empty.
11173
11174         * MenuBackend.C (expandFormats): for an update, also allow the
11175         formats that are not viewable
11176
11177         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11178         script if it is newer than the lyxrc.defaults in user directory
11179
11180 2002-10-07 André Pönitz <poenitz@gmx.net>
11181
11182         * text.C: Vitaly Lipatov's small i18n fix
11183
11184 2002-09-25  Angus Leeming  <leeming@lyx.org>
11185
11186         * ispell.h: doxygen fix.
11187
11188 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11189
11190         * buffer.h (readFile): Add a new argument to the method, to allow
11191         reading of old-format templates.
11192
11193 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11194
11195         * toc.C (getTocList): Get TOC from InsetWrap.
11196
11197 2002-09-16  John Levon  <levon@movementarian.org>
11198
11199         * lyxfunc.C: check tabular for cut/copy too
11200
11201 2002-09-12  John Levon  <levon@movementarian.org>
11202
11203         * LyXAction.C: tidy
11204
11205         * factory.h:
11206         * factory.C: add header
11207
11208         * paragraph_funcs.h:
11209         * paragraph_funcs.C: cleanup
11210
11211 2002-09-11  John Levon  <levon@movementarian.org>
11212
11213         * PrinterParams.h: odd/even default to true
11214
11215 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11216
11217         * PrinterParams.h: update printer parameters for new xforms dialog
11218
11219 2002-09-11  Angus Leeming  <leeming@lyx.org>
11220
11221         * lyxserver.C (read_ready): re-write to make it more transparent
11222         and to make it work in coherent fashion under Tru64 Unix.
11223
11224 2002-09-11  André Pönitz <poenitz@gmx.net>
11225
11226         * commandtags.h:
11227         * LyXAction.C:
11228         * text3.C: implement LFUN_WORDSEL
11229
11230 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11231
11232         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11233         make floatlist_ a boost::shared_ptr<FloatList>
11234
11235         * lyxtextclass.C: include FloatList.h
11236         (LyXTextClass): initialize floatlist_
11237         (TextClassTags): add TC_NOFLOAT
11238         (Read): match "nofloat" to TC_NOFLOAT and use it.
11239         (readFloat): modify call to floatlist_
11240         (floats): ditto
11241         (floats): ditto
11242
11243         * FloatList.[Ch] (FloatList): remove commented out float
11244         initialization.
11245         (erase): new function
11246
11247 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11248
11249         * MenuBackend.C (expandToc): fix crash when there is no document
11250         open
11251
11252 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11253
11254         * many files: Add insetwrap.
11255
11256 2002-09-09  John Levon  <levon@movementarian.org>
11257
11258         * text2.C: remove confusing and awkward depth wraparound
11259
11260 2002-09-09  John Levon  <levon@movementarian.org>
11261
11262         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11263
11264         * buffer.h:
11265         * buffer.C: remove getIncludeonlyList()
11266
11267         * paragraph.C:
11268         * lyxfunc.C: remove headers
11269
11270 2002-09-09  Juergen Vigna  <jug@sad.it>
11271
11272         * text.C (getColumnNearX): fix form Michael this is most
11273         probably a cut&paste bug.
11274
11275 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11276
11277         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11278
11279         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11280         references, ws changes.
11281
11282         * text2.C (init): update counters after init
11283         (insertParagraph): no need to set counter on idividual paragraphs.
11284         (setCounter): access the counters object in the textclass object
11285         on in the buffer object.
11286         (updateCounters): ditto
11287
11288         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11289         shared_ptr<Counters> to avoid loading counters.h in all
11290         compilation units.
11291         (LyXTextClass): initialize ctrs_
11292         (TextClassTags): add TC_COUNTER, and ...
11293         (Read): use it here.
11294         (CounterTags): new tags
11295         (readCounter): new function
11296         (counters): new funtion
11297         (defaultLayoutName): return a const reference
11298
11299         * counters.C (Counters): remove contructor
11300         (newCounter): remove a couple of unneeded statements.
11301         (newCounter): simplify a bit.
11302         (numberLabel): some small formatting changes.
11303
11304         * buffer.[Ch]: remove all traces of counters, move the Counters
11305         object to the LyXTextClass.
11306
11307 2002-09-06  Alain Castera  <castera@in2p3.fr>
11308
11309         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11310         package to set the horizontal alignment on fixed width columns.
11311
11312         * lyx_sty.C:
11313         * lyx_sty.h: added tabularnewline macro def.
11314
11315         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11316
11317 2002-09-06  John Levon  <levon@movementarian.org>
11318
11319         * LyXAction.C: tooltips for sub/superscript
11320
11321         * MenuBackend.C: a bit more verbose
11322
11323         * lyxfunc.C: tiny clean
11324
11325         * undo_funcs.C: document undo_frozen
11326
11327 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11328
11329         * counters.C (Counters): add missing algorithm counter.
11330
11331         * text2.C (setCounter): lookup the counter with layouts latexname
11332         instead of by section number.
11333         (setCounter): use a hackish way to lookup the correct enum
11334         counter.
11335         a float name->type change
11336         reset enum couners with counter name directly instead of depth value.
11337
11338         * counters.C (Counters): remove the push_backs, change to use the
11339         float type not the float name.
11340         (labelItem): remove unused string, float name->type change
11341
11342         * counters.h: don't include vector, loose the enums and sects vectors
11343
11344 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11345
11346         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11347         (Read): add float->TC_FLOAT to textclassTags
11348         (Read): and handle it in the switch
11349         (readFloat): new function
11350
11351         * FloatList.C (FloatList): comment out the hardcoded float
11352         definitions.
11353
11354         * lyxlayout.h: ws change.
11355
11356 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11357
11358         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11359
11360 2002-09-03  Angus Leeming  <leeming@lyx.org>
11361
11362         * BufferView_pimpl.h: qualified name is not allowed in member
11363         declaration: WorkArea & Pimpl::workarea() const;
11364
11365         * factory.C: added using std::endl directive.
11366
11367         * text3.C: added using std::find and std::vector directives.
11368
11369 2002-08-29  André Pönitz <poenitz@gmx.net>
11370
11371         * lyxtext.h:
11372         * text2.C: remove unused member number_of_rows
11373
11374         * Makefile.am:
11375         * BufferView2.C: remove file, move contents to...
11376         * BufferView.C: ... here
11377
11378         * BufferView_pimpl.C:
11379         * factory.C: move more inset creation to factory
11380
11381         * vspace.C: avoid direct usage of LyXText, ws changes
11382
11383         * BufferView.[Ch]:
11384                 don't provide direct access to WorkArea, use two simple
11385                 acessors haveSelction() and workHeight() instead
11386
11387
11388 2002-08-29  John Levon  <levon@movementarian.org>
11389
11390         * BufferView_pimpl.C (dispatch): do not continue when
11391           no buffer
11392
11393 2002-08-28  André Pönitz <poenitz@gmx.net>
11394
11395         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11396
11397         * BufferView.h:
11398         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11399
11400 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11401
11402         * buffer.C: increment LYX_FORMAT to 221
11403
11404         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11405         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11406
11407         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11408
11409         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11410
11411 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11412
11413         * factory.C (createInset): use LyXTextClass::floats
11414
11415         * MenuBackend.C (expandFloatListInsert):
11416         (expandFloatInsert):
11417         (expandToc):
11418
11419         * text2.C (setCounter):
11420
11421         * LaTeXFeatures.C (useFloat):
11422         (getFloatDefinitions):
11423
11424         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11425
11426         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11427         floatlist_, with accessor floats().
11428
11429         * FloatList.h: remove global FloatList
11430
11431 2002-08-26  André Pönitz <poenitz@gmx.net>
11432
11433         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11434
11435         * BufferView.h:
11436         * BufferView2.C:
11437         * BufferView_pimpl.C:
11438         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11439
11440 2002-08-25  John Levon  <levon@movementarian.org>
11441
11442         * LyXAction.C: fix margin note description
11443
11444 2002-08-24  John Levon  <levon@movementarian.org>
11445
11446         * buffer.C:
11447         * bufferlist.C:
11448         * bufferview_funcs.C:
11449         * lyxfont.C:
11450         * undo_funcs.C: cleanups
11451
11452         * lyxfunc.C: disable CUT/COPY when no selection
11453
11454 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11455
11456         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11457         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11458
11459         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11460         Add backward compatibility to "mono", "gray" and "no".
11461
11462 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11463
11464         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11465         (and file_format >= 200).
11466
11467 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11468
11469         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11470
11471 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11472
11473         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11474
11475 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11476
11477         * BufferView_pimpl.C:
11478         * LyXAction.C:
11479         * buffer.C:
11480         * commandtags.h:
11481         * lyxfunc.C:
11482         * paragraph.[Ch]:
11483         * text2.C:
11484         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11485         inset and code to make it  work with the paragraph code. The inset
11486         can be anywhere in the paragraph, but will only do the expected
11487         thing in LaTeX if the layout file contains the parameter line
11488                         OptionalArgs    1
11489         (or more generally, a nonzero value) for that layout.
11490
11491 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11492
11493         * paragraph.h: remove the declaration of undefined counters class
11494         function.
11495
11496 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11497
11498         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11499         Dr. Richard Hawkins.
11500
11501 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11502
11503         * paragraph_funcs.h: remove some unneeded includes
11504
11505         * text.C (backspace): pasteParagraph now in global scipe
11506
11507         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11508         (pasteSelection): ditto
11509
11510         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11511         * paragraph_funcs.C (pasteParagraph): ... here
11512
11513 2002-08-20  André Pönitz <poenitz@gmx.net>
11514
11515         * commandtags.h: new LFUNs for swapping/copying table row/colums
11516
11517         * LyXAction.C:
11518         * lyxfunc.C: support for new lfuns
11519
11520 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11521
11522         * tabular.C:
11523         * buffer.[Ch]: remove NO_COMPABILITY stuff
11524
11525 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11526
11527         * boost.C (throw_exception): new file, with helper function for
11528         boost compiled without exceptions.
11529
11530         * paragraph.h:
11531         * lyxlength.C:
11532         * buffer.C:
11533         * ParameterStruct.h:
11534         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11535
11536         * bufferlist.C (emergencyWriteAll): use boost bind
11537
11538         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11539
11540         * text.C: include paragraph_funcs.h
11541         (breakParagraph): breakParagraph is now in global scope
11542
11543         * paragraph_funcs.[Ch]: new files
11544
11545         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11546         global scope
11547
11548         * buffer.C: include paragraph_funcs.h
11549         (insertStringAsLines): breakParagraph is now in global scope
11550
11551         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11552         paragraph_funcs.C
11553
11554         * CutAndPaste.C: include paragraph_funcs.h
11555         (cutSelection): breakParagraphConservative is now in global scope
11556         (pasteSelection): ditto
11557
11558         * buffer.h: declare oprator== and operator!= for
11559         Buffer::inset_iterator
11560
11561         * bufferlist.C (emergencyWrite): don't use fmt(...)
11562
11563         * text3.C: add using std::endl
11564
11565         * BufferView.C (moveCursorUpdate): remove default arg
11566
11567 2002-08-20  André Pönitz <poenitz@gmx.net>
11568
11569         * buffer.[Ch]: move inline functions to .C
11570
11571         * BufferView2.C:
11572         * BufferView_pimpl.C:
11573         * text.C:
11574         * buffer.[Ch]: use improved inset_iterator
11575
11576         * buffer.C:
11577         * paragraph.[Ch]: write one paragraph at a time
11578
11579 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11580
11581         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11582         style if style is not specified.
11583
11584 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11585
11586         * text2.C (setCounter): when searching for right label for a
11587         caption, make sure to recurse to parent insets (so that a caption
11588         in a minipage in a figure float works) (bug #568)
11589
11590 2002-08-20  André Pönitz <poenitz@gmx.net>
11591
11592         * text3.C: new file for LyXText::dispatch() and helpers
11593
11594         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11595
11596         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11597
11598 2002-08-19  André Pönitz <poenitz@gmx.net>
11599
11600         * lyxtext.h:
11601         * text.C: new LyXText::dispatch()
11602
11603         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11604
11605 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11606
11607         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11608
11609         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11610         Hebrew text.
11611
11612 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11613
11614         * Makefile.am: use $(variables) instead of @substitutions@
11615
11616 2002-08-15  André Pönitz <poenitz@gmx.net>
11617
11618         * lyxfunc.C:
11619         * BufferView_pimpl.C: streamlining mathed <-> outer world
11620         interaction
11621
11622         * commandtags.h:
11623         * LyXAction.C: remove unused LFUN_MATH
11624
11625 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11626
11627         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11628
11629 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11630
11631         * paragraph.C (Paragraph): reformat a bit
11632         (cutIntoMinibuffer): use builtin InsetList function instad of
11633         doing it manually.
11634         (getInset): ditto
11635
11636         * buffer.C: include boost/bind.hpp, add using std::for_each
11637         (writeFileAscii): use ParagraphList iterators
11638         (validate): use for_each for validate traversal of paragraphs
11639         (getBibkeyList): use ParagraphList iterators
11640         (resizeInsets): use for_each to resizeInsetsLyXText for all
11641         paragraphs.
11642         (getParFromID): use ParagraphList iterators
11643
11644         * BufferView2.C (lockInset): use paragraph list and iterators
11645
11646 2002-08-14  John Levon  <levon@movementarian.org>
11647
11648         * lyxserver.C: remove spurious xforms include
11649
11650 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11651
11652         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11653
11654 2002-08-13  André Pönitz <poenitz@gmx.net>
11655
11656         * LyXAction.[Ch]:
11657         * lyxfunc.C: further cleaning
11658
11659 2002-08-13  André Pönitz <poenitz@gmx.net>
11660
11661         * funcrequest.h: new constructor
11662
11663         * funcrequest.C: move stuff here from .h
11664
11665         * Makefile.am:
11666         * BufferView_pimpl.C:
11667         * LyXAction.C:
11668         * toc.C:
11669         * lyxfunc.C: subsequent changes
11670
11671         * lyxfunc.h: new view() member function
11672
11673         * lyxfunc.C: subsequent changes
11674
11675 2002-08-13  Angus Leeming  <leeming@lyx.org>
11676
11677         * BufferView2.C:
11678         * BufferView_pimpl.C:
11679         * buffer.C:
11680         * converter.C:
11681         * importer.C:
11682         * lyxfunc.C:
11683         * lyxvc.C:
11684         * toc.C:
11685         * vc-backend.C:
11686         changes due to the changed LyXView interface that now returns references
11687         to member variables not pointers.
11688
11689 2002-08-13  Angus Leeming  <leeming@lyx.org>
11690
11691         * WordLangTuple (word, lang_code): return references to strings,
11692         not strings.
11693
11694         * BufferView.h:
11695         * SpellBase.h:
11696         * lyxtext.h: forward-declare WordLangTuple.
11697
11698         * BufferView2.C:
11699         * ispell.C:
11700         * pspell.C:
11701         * text.C: #include "WordLangTuple.h".
11702
11703         * lyxtext.h:
11704         * text.C: (selectNextWordToSpellcheck): constify return type.
11705
11706 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11707
11708         * buffer.C:
11709         * buffer.h:
11710         * lyxtext.h:
11711         * paragraph.C:
11712         * paragraph_pimpl.h:
11713         * text.C:
11714         * text2.C:
11715         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11716         suggested by Angus.
11717         Made updateCounter always count from start of buffer, and removed
11718         second argument (par).
11719         Reverted floats number display to '#'. Perhaps I'll try again when the
11720         code base is sanitized a bit.
11721
11722 2002-08-12  Angus Leeming  <leeming@lyx.org>
11723
11724         * buffer.[Ch] (getLabelList): constify.
11725
11726 2002-08-07  André Pönitz <poenitz@gmx.net>
11727
11728         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11729
11730         * funcrequest.h: extension to keep mouse (x,y) position
11731
11732 2002-08-12  Juergen Vigna  <jug@sad.it>
11733
11734         * BufferView2.C (insertErrors): forbid undo when inserting error
11735         insets.
11736
11737         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11738
11739 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11740
11741         * ParagraphList.[Ch]: new files
11742
11743         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11744
11745         * BufferView2.C (lockInset): ParagraphList changes
11746         * toc.C: ditto
11747         * text2.C: ditto
11748         * bufferlist.C: ditto
11749         * buffer.h: ditto
11750         * buffer.C: ditto
11751
11752 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11753
11754         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11755         unused class variable counter_,
11756
11757         * paragraph.[Ch] (getFirstCounter): delete unused function
11758
11759         * counters.C: include LAssert.h
11760         (reset): add a new function with no arg, change other version to
11761         not have def. arg and to not allow empty arg.
11762
11763         * text2.C (setCounter): remove empty arg from call to Counters::reset
11764
11765 2002-08-11  John Levon  <levon@movementarian.org>
11766
11767         * Makefile.am: add WordLangTuple.h
11768
11769 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11770
11771         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11772         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11773
11774         * insets/insettext.C: InsetList changes
11775
11776         * graphics/GraphicsSupport.C (operator()): InsetList changes
11777
11778         * toc.C (getTocList): InsetList changes
11779
11780         * paragraph_pimpl.[Ch]: InsetList changes
11781
11782         * paragraph.[Ch]: InsetList changes
11783
11784         * buffer.C (inset_iterator): InsetList changes
11785         (setParagraph): ditto
11786         * buffer.h (inset_iterator): ditto
11787         * iterators.C (operator++): ditto
11788         * iterators.h: ditto
11789
11790         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11791
11792         * InsetList.[Ch]: new files, most InsetList handling moved out of
11793         paragraph.C.
11794
11795         * BufferView2.C (removeAutoInsets): InsetList changes
11796         (lockInset): ditto
11797         (ChangeInsets): ditto
11798
11799 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11800
11801         * paragraph_pimpl.h (empty): new function
11802
11803         * paragraph.[Ch] (empty): new function
11804
11805         * other files: use the new Paragraph::empty function
11806
11807 2002-08-09  John Levon  <levon@movementarian.org>
11808
11809         * lyxtext.h: remove unused refresh_height
11810
11811 2002-08-09  John Levon  <levon@movementarian.org>
11812
11813         * Makefile.am:
11814         * sgml.h:
11815         * sgml.C:
11816         * buffer.C:
11817         * paragraph.h:
11818         * paragraph.C: move sgml char escaping out of paragraph
11819
11820         * paragraph.h:
11821         * paragraph.C: remove id setter
11822
11823         * buffer.C:
11824         * paragraph.C:
11825         * paragraph_pimpl.C: remove dead tex_code_break_column
11826
11827         * bufferview_funcs.C: small cleanup
11828
11829         * lyxfunc.C: remove dead proto
11830
11831         * lyxtext.h: make some stuff private. Remove some dead stuff.
11832
11833         * lyxgluelength.C: make as[LyX]String() readable
11834
11835 2002-08-08  John Levon  <levon@movementarian.org>
11836
11837         * LyXAction.h:
11838         * LyXAction.C:
11839         * MenuBackend.C:
11840         * ToolbarDefaults.C:
11841         * lyxfunc.C:
11842         * lyxrc.C:
11843         * toc.C: lyxaction cleanup
11844
11845 2002-08-08  John Levon  <levon@movementarian.org>
11846
11847         * BufferView2.C: small cleanup
11848
11849         * lyxfind.h:
11850         * lyxfind.C: move unnecessary header into the .C
11851
11852 2002-08-08  John Levon  <levon@movementarian.org>
11853
11854         * funcrequest.h: just tedious nonsense
11855
11856         * lyx_main.h:
11857         * lyx_main.C: cleanups
11858
11859         * buffer.C:
11860         * vspace.C: remove dead header lyx_main.h
11861
11862 2002-08-07  Angus Leeming  <leeming@lyx.org>
11863
11864         * Paragraph.[Ch]:
11865         * paragraph_pimpl.h:
11866         Forward declare class Counters in paragraph.h by moving the ctrs member
11867         variable into Paragraph::Pimpl.
11868         (counters): new method, returning a reference to pimpl_->ctrs.
11869
11870         * text2.C: ensuing changes.
11871
11872 2002-08-07  John Levon  <levon@movementarian.org>
11873
11874         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11875
11876         * BufferView_pimpl.C: announce X selection on double/triple
11877           click
11878
11879         * lyx_main.C: use correct bool in batch dispatch
11880
11881         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11882
11883 2002-08-07  André Pönitz <poenitz@gmx.net>
11884
11885         * funcrequest.h: new class to wrap a kb_action and its argument
11886
11887         * BufferView.[Ch]:
11888         * BufferView_pimpl[Ch]:
11889         * LaTeX.C:
11890         * LyXAction.[Ch]:
11891         * lyxfunc.[Ch]:
11892         * lyxrc.C: subsequent changes
11893
11894
11895 2002-08-07  John Levon  <levon@movementarian.org>
11896
11897         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11898           document options change.
11899
11900 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11901
11902         * counters.[Ch]
11903         * text2.C
11904         * paragraph.[Ch]
11905         * makefile.am: move counters functionality over from
11906         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11907
11908 2002-08-06  John Levon  <levon@movementarian.org>
11909
11910         * WordLangTuple.h: new file for word + language code tuple
11911
11912         * SpellBase.h:
11913         * pspell.h:
11914         * pspell.C:
11915         * ispell.h:
11916         * ispell.C:
11917         * lyxtext.h:
11918         * text.C:
11919         * text2.C:
11920         * BufferView.h:
11921         * BufferView2.C: use WordLangTuple
11922
11923         * layout.h:
11924         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11925
11926 2002-08-06  John Levon  <levon@movementarian.org>
11927
11928         * lyx_main.C: fix cmdline batch handling
11929
11930 2002-08-06  André Pönitz <poenitz@gmx.net>
11931
11932         * lyxrc.C: set default for show_banner to true
11933
11934 2002-08-06  John Levon  <levon@movementarian.org>
11935
11936         * pspell.C: fix a crash, and allow new aspell to work
11937
11938 2002-08-06  John Levon  <levon@movementarian.org>
11939
11940         * lyxfunc.C:
11941         * kbmap.C: small cleanup
11942
11943         * vspace.h:
11944         * vspace.C: add const
11945
11946 2002-08-05  John Levon  <levon@movementarian.org>
11947
11948         * LyXAction.C: back to tabular-insert
11949
11950 2002-08-04  John Levon  <levon@movementarian.org>
11951
11952         * BufferView.h:
11953         * BufferView.C: cosmetic change
11954
11955         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11956
11957         * bufferlist.C:
11958         * buffer.h:
11959         * buffer.C:
11960         * lyxcb.h:
11961         * lyxcb.C:
11962         * lyxserver.C:
11963         * lyxvc.C:
11964         * vc-backend.C:
11965         * BufferView2.C: purge all "Lyx" not "LyX" strings
11966
11967         * lyxcursor.h:
11968         * lyxcursor.C: attempt to add some documentation
11969
11970         * lyxfunc.C:
11971         * commandtags.h:
11972         * LyXAction.C:
11973         * ToolbarDefaults.C:
11974         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11975           merge with LFUN_TABULAR_INSERT
11976
11977         * Makefile.am:
11978         * SpellBase.h:
11979         * ispell.h:
11980         * ispell.C:
11981         * pspell.h:
11982         * pspell.C: split up i/pspell implementations into separate
11983           files, many cleanups
11984
11985         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11986
11987         * text2.C: some cleanup
11988
11989         * lyxfunc.C: don't check for isp_command == "none" any more, it
11990           didn't make any sense
11991
11992 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11993
11994         * counters.[Ch]
11995         * text2.C
11996         * paragraph.[Ch]
11997         * makefile.am: move counters functionality over
11998         from text2.C/paragraph.[Ch] to counters.[Ch], and
11999         make proper C++.
12000 2002-08-02  John Levon  <levon@movementarian.org>
12001
12002         * buffer.C: s/lyxconvert/lyx2lyx/
12003
12004 2002-08-02  Angus Leeming  <leeming@lyx.org>
12005
12006         * lyxlex.C: revert John's change as it breaks reading of the user
12007         preamble.
12008
12009 2002-08-02  Angus Leeming  <leeming@lyx.org>
12010
12011         * importer.C (Import):
12012         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
12013         changes due to LyXView::view() now returning a boost::shared_ptr.
12014
12015 2002-08-02  John Levon  <levon@movementarian.org>
12016
12017         * lyxlex.C: small cleanup
12018
12019 2002-08-02  John Levon  <levon@movementarian.org>
12020
12021         * text2.C (status): small cleanup, no logic change
12022
12023 2002-08-01  John Levon  <levon@movementarian.org>
12024
12025         * buffer.h:
12026         * buffer.C (writeFile): don't output alerts, caller
12027           handles this
12028
12029         * bufferlist.C:
12030         * lyx_cb.C: from above
12031
12032         * lyxfunc.C: allow to open non-existent files
12033
12034 2002-07-31  John Levon  <levon@movementarian.org>
12035
12036         * lyxserver.C: don't let incidental errors get
12037           in the way (errno)
12038
12039 2002-07-30  John Levon  <levon@movementarian.org>
12040
12041         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12042
12043 2002-07-30  John Levon  <levon@movementarian.org>
12044
12045         * lyxserver.h:
12046         * lyxserver.C: remove I/O callback too
12047
12048 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12049
12050         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12051         log.
12052
12053 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12054
12055         * many files: strip,frontStrip -> trim,ltrim,rtrim
12056
12057 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
12058
12059         * PrinterParams.h: remove extern containsOnly, and include
12060         support/lstrings.h instead.
12061
12062         * LaTeX.C (scanAuxFile): modify because of strip changes
12063         (deplog): ditto
12064         * buffer.C (makeLaTeXFile): ditto
12065         * bufferparams.C (writeFile): ditt
12066         * lyxfont.C (stateText): ditto
12067         * lyxserver.C (read_ready): ditto
12068         * vc-backend.C (scanMaster): ditto
12069
12070         * BufferView_pimpl.h: ws changes
12071
12072         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12073
12074 2002-07-26  André Pönitz <poenitz@gmx.net>
12075
12076         * kb_sequence.C: remove unnedred usings
12077
12078 2002-07-26  Juergen Vigna  <jug@sad.it>
12079
12080         * lyxfind.C (LyXReplace): we have to check better if the returned
12081         text is not of theLockingInset()->getLockingInset().
12082
12083 2002-07-25  Juergen Vigna  <jug@sad.it>
12084
12085         * lyxfind.C (LyXReplace): don't replace if we don't get the
12086         right LyXText.
12087
12088         * undo_funcs.C (createUndo): remove debugging code.
12089
12090 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12091
12092         * buffer.C (parseSingleLyXformat2Token): Use default placement
12093         when reading old floats.
12094
12095         * FloatList.C (FloatList): Change the default placement of figure
12096         and tables to "tbp".
12097
12098 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * MenuBackend.C: using std::max
12101
12102 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12103
12104         * MenuBackend.C (expandToc):
12105         (expandToc2): code moved from xforms menu frontend. It is now
12106         generic and TOCs are transparent to menu frontends.
12107
12108 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12109
12110         * toc.C (getTocList): protect against buf=0
12111
12112         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12113         Menu as first parameter. Now, this calls itself recursively to
12114         expand a whole tree (this will be useful for TOC handling)
12115         (expandFloatInsert): remove 'wide' version of floats
12116
12117         * MenuBackend.h (submenuname): returns the name of the submenu.
12118         (submenu): returns the submenu itself, provided it has been
12119         created by MenuBackend::expand
12120
12121 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12122
12123         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12124         insets which have noFontChange == true. (bug #172)
12125
12126 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12127
12128         * BufferView_pimpl.C: add connection objects and use them...
12129         (Pimpl): here.
12130
12131 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12132
12133         * MenuBackend.C (expandLastfiles):
12134         (expandDocuments):
12135         (expandFormats):
12136         (expandFloatListInsert):
12137         (expandFloatInsert):
12138         (expand): split expand in parts
12139
12140 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12141
12142         * lyx_gui.C: use lyx_gui::exit()
12143
12144 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12145
12146         * LyXAction.C: show the failing pseudo action
12147
12148 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12149
12150         * buffer.C (readFile): Run the lyxconvert script in order to read
12151         old files.
12152
12153 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * LyXAction.C:
12156         * commandtags.h:
12157         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12158
12159 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12160
12161         * LyXAction.C:
12162         * commandtags.h:
12163         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12164
12165 2002-07-22  Herbert Voss  <voss@lyx.org>
12166
12167         * lengthcommon.C:
12168         * lyxlength.[Ch]: add support for the vertical lengths
12169
12170 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * toc.[Ch]: std:: fixes
12173
12174 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12175
12176         * lyxrc.C: do not include lyx_main.h
12177
12178         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12179         for layouts
12180
12181         * lyxrc.C:
12182         * encoding.C:
12183         * bufferlist.C:
12184         * BufferView2.C: include "lyxlex.h"
12185
12186         * tabular.h:
12187         * bufferparams.h: do not #include "lyxlex.h"
12188
12189         * lyxtextclasslist.C (Add): remove method
12190         (classlist): renamed to classlist_
12191
12192         * paragraph_pimpl.C:
12193         * paragraph.C:
12194         * text2.C:
12195         * CutAndPaste.C:
12196         * bufferview_funcs.C:
12197         * bufferlist.C:
12198         * text.C:
12199         * LaTeXFeatures.C:
12200         * buffer.C:
12201         * toc.C (getTocList): use BufferParams::getLyXTextClass
12202
12203         * toc.C (getTocList): use InsetFloat::addToToc
12204
12205         * toc.[Ch]: new files, containing helper functions to handle table
12206         of contents
12207
12208         * lyxfunc.C (dispatch): no need to remove spaces around command
12209         given as a string
12210         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12211         first command of the sequence; it is not very clever, but I do not
12212         have a better idea, actually
12213
12214         * LyXAction.C (LookupFunc): make sure to remove space at the
12215         beginning and end of the command
12216
12217 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12218
12219         * MenuBackend.C (getMenubar): new method: return the menubar of
12220         this menu set
12221         (read): treat differently reading of menu and menubar (in
12222         particular, the menubar has no name now)
12223         (Menu::menubar): remove
12224
12225         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12226         saving is finished
12227
12228 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12229
12230         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12231         a bibitem inset in a RTL paragraph.
12232
12233 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12234
12235         * paragraph_pimpl.C: constify
12236
12237         * BufferView_pimpl.C:
12238         * LaTeX.C:
12239         * lyxfunc.C: fix dispatch in a nicer way
12240
12241 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12242
12243         * lyxfunc.C (dispatch):
12244         * BufferView_pimpl.C:
12245         * BufferView_pimpl.h:
12246         * BufferView.C:
12247         * BufferView.h: rename Dispatch() to dispatch()
12248
12249         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12250
12251         * lyxlayout.C (Read): honor DependsOn tag
12252
12253         * lyxlayout.[Ch] (depends_on): new method
12254
12255         * version.C.in: update lyx_docversion
12256
12257         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12258
12259         * paragraph.C (validate): remove from here...
12260         * paragraph_pimpl.C (validate): ... and move here
12261         (isTextAt): make it const
12262
12263         * buffer.C (getLists): ws cleanup
12264
12265 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12266
12267         * language.C (read): Use iso8859-1 encoding in latex_lang
12268         (this prevents LyX from crashing when using iso10646-1 encoding).
12269
12270 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12271
12272         * text2.C (toggleInset): if cursor is inside an inset, close the
12273         inset and leave cursor _after_ it
12274
12275 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * lyxfunc.C: move minibuffer completion handling out of here
12278
12279 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12280
12281         * BufferView_pimpl.C:
12282         * LaTeX.C: fix dispatch calls
12283
12284 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12285
12286         * text.C (drawChars): Fix Arabic text rendering.
12287
12288 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * LyXAction.C:
12291         * commandtags.h:
12292         * lyxfunc.C: remove message-push/pop
12293
12294         * lyxserver.C:
12295         * lyxfunc.h:
12296         * lyxfunc.C: rationalise some code by removing verboseDispatch
12297           in favour of a bool argument to dispatch()
12298
12299 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12300
12301         * lyx_main.C (init): make sure to read symlinks as absolute paths
12302
12303 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12304
12305         * lyxfunc.h:
12306         * lyxfunc.C: no need for commandshortcut to be a member
12307
12308 2002-07-15  André Pönitz <poenitz@gmx.net>
12309
12310         * converter.C: add support for $$s (scripts from lib/scripts dir)
12311         * lyx_main.C: white space
12312
12313 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12314
12315         * bufferlist.C:
12316         * lyxrc.h:
12317         * lyxrc.C: remove second exit confirmation
12318
12319 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12320
12321         * BufferView.h:
12322         * BufferView.C:
12323         * BufferView2.C:
12324         * BufferView_pimpl.h:
12325         * BufferView_pimpl.C:
12326         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12327
12328 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12329
12330         * MenuBackend.C (expand): add numeric shortcuts to document menu
12331
12332         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12333
12334 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12335
12336         * lyxfont.C (setLyXFamily):
12337         (setLyXSeries):
12338         (setLyXShape):
12339         (setLyXSize):
12340         (setLyXMisc):
12341         (lyxRead):
12342         * debug.C (value):
12343         * buffer.C (asciiParagraph): use ascii_lowercase
12344
12345 2002-07-15  Mike Fabian  <mfabian@suse.de>
12346
12347         * lyxlex_pimpl.C (search_kw):
12348         * lyxlex.C (getLongString):
12349         * converter.h (operator<):
12350         * converter.C (operator<):
12351         * buffer.C (parseSingleLyXformat2Token):
12352         (asciiParagraph):
12353         * ToolbarDefaults.C (read):
12354         * MenuBackend.C (checkShortcuts):
12355         (read):
12356         * LColor.C (getFromGUIName):
12357         (getFromLyXName): use the compare_ascii_no_case instead of
12358         compare_no_case, because in turkish, 'i' is not the lowercase
12359         version of 'I', and thus turkish locale breaks parsing of tags.
12360
12361 2002-07-16  Angus Leeming  <leeming@lyx.org>
12362
12363         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12364         now takes a Buffer const & argument.
12365
12366 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12367
12368         * BufferView.C (resize): check there's a buffer to resize
12369
12370 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12371
12372         * lyxfunc.C: remove dead code
12373
12374         * lyxserver.h:
12375         * lyxserver.C: use lyx_guii::set_read_callback
12376
12377 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12378
12379         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12380         an inset in a RTL paragraph.
12381
12382 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * lyxfunc.C: repaint after a font size update
12385
12386 2002-07-15  André Pönitz <poenitz@gmx.net>
12387
12388         * lyxlength.C: inBP should be able to return negative values
12389
12390 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12391
12392         * lyxfunc.C: use lyx_gui::update_fonts()
12393
12394 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * lyxfunc.C: use lyx_gui::update_color()
12397
12398 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12399
12400         * bufferlist.C:
12401         * lyxfunc.h:
12402         * lyxfunc.C:
12403         * lyxrc.h:
12404         * lyxrc.C: remove file->new asks for name option, and let
12405           buffer-new take an argument
12406
12407 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * BufferView_pimpl.C: remove unneeded extra repaint()
12410
12411 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12412
12413         * LyXAction.C: allow command-sequence with NoBuffer
12414
12415         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12416
12417 2002-07-10  Angus Leeming  <leeming@lyx.org>
12418
12419         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12420
12421 2002-07-09  Angus Leeming  <leeming@lyx.org>
12422
12423         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12424
12425 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * lengthcommon.h: whitespace
12428
12429         * lyxfunc.C: update scrollbar after goto paragraph
12430
12431         * lyxtext.h: factor out page break drawing, and fix it so
12432           page break/added space paints as selected nicely
12433
12434 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * BufferView_pimpl.C: add FIXMEs, clean up a little
12437
12438 2002-07-09  André Pönitz <poenitz@gmx.net>
12439
12440         * lyxfont.[Ch]: support for wasy symbols
12441
12442 2002-07-08  André Pönitz <poenitz@gmx.net>
12443
12444         * BufferView_pimpl.C: apply John's patch for #93.
12445
12446 2002-07-05  Angus Leeming  <leeming@lyx.org>
12447
12448         * BufferView_pimpl.C (buffer): generate previews if desired.
12449
12450         * LColor.h: add "preview" to the color enum.
12451
12452         * LColor.C (LColor): add a corresponding entry to the items array.
12453
12454         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12455         with this buffer.
12456
12457 2002-07-05  Angus Leeming  <leeming@lyx.org>
12458
12459         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12460         The body of the code is now in the method that is passed an ostream &
12461         rather than a file name.
12462         Pass an additional only_preamble parameter, useful for the forthcoming
12463         preview stuff.
12464
12465 2002-07-03  André Pönitz <poenitz@gmx.net>
12466
12467         * lyxfunc.C: simplify getStatus() a bit for math stuff
12468
12469 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12470
12471         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12472
12473 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12474
12475         * text.C (changeRegionCase): do not change case of all the
12476         document when region ends at paragraph end (bug #461)
12477
12478 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12479
12480         * paragraph.C (startTeXParParams):
12481         (endTeXParParams): add \protect when necessary
12482
12483 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12484
12485         * BufferView_pimpl.C (workAreaExpose): remove warning
12486
12487 2002-06-27  Angus Leeming  <leeming@lyx.org>
12488
12489         * Makefile.am: add lyxlayout_ptr_fwd.h.
12490
12491 2002-06-26  André Pönitz <poenitz@gmx.net>
12492
12493         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12494
12495 2002-06-25  Angus Leeming  <leeming@lyx.org>
12496
12497         * lyxfunc.C (dispatch): Comment out the call to
12498         grfx::GCache::changeDisplay. The method no longer exists now that the
12499         pixmap generation part of the graphics loader has been moved into
12500         InsetGraphics.
12501
12502 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12503
12504         * text2.C: layout as layout
12505
12506         * text.C: layout as layout
12507
12508         * tabular.C (OldFormatRead): layout as layout
12509
12510         * paragraph_pimpl.C (TeXDeeper): layout as layout
12511         (realizeFont): layout as layout
12512
12513         * paragraph.C (writeFile): layout as layout
12514         (validate): layout as layout
12515         (getFont): layout as layout
12516         (getLabelFont): layout as layout
12517         (getLayoutFont): layout as layout
12518         (breakParagraph): layout as layout
12519         (stripLeadingSpaces): layout as layout
12520         (getEndLabel): layout as layout
12521         (getMaxDepthAfter): layout as layout
12522         (applyLayout): layout as layout
12523         (TeXOnePar): layout as layout
12524         (simpleTeXOnePar): layout as layout
12525         (TeXEnvironment): layout as layout
12526         (layout): layout as layout
12527         (layout): layout as layout
12528
12529         * lyxtextclass.C (compare_name): new functor to work with
12530         shared_ptr, layout as layout
12531         (Read): layout as layout
12532         (hasLayout): layout as layout
12533         (operator): layout as layout
12534         (delete_layout): layout as layout
12535         (defaultLayout): layout as layout
12536
12537         * lyxlayout_ptr_fwd.h: new file
12538
12539         * lyxlayout.C (Read): layout as layout
12540
12541         * lyx_cb.C (MenuInsertLabel): layout as layout
12542
12543         * bufferlist.C (newFile): layout as layout
12544
12545         * buffer.C (readLyXformat2): layout as layout
12546         (parseSingleLyXformat2Token): layout as layout
12547         (insertStringAsLines): layout as layout
12548         (asciiParagraph): layout as layout
12549         (latexParagraphs): layout as layout
12550         (makeLinuxDocFile): layout as layout
12551         (simpleLinuxDocOnePar): layout as layout
12552         (makeDocBookFile): layout as layout
12553         (simpleDocBookOnePar): layout as layout
12554         (getLists): layout as layout
12555
12556         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12557
12558         * CutAndPaste.C (cutSelection): layout as layout
12559         (pasteSelection): layout as layout
12560         (SwitchLayoutsBetweenClasses): layout as layout
12561
12562         * BufferView_pimpl.C (Dispatch): layout as layout
12563         (smartQuote): layout as layout
12564
12565         * BufferView2.C (unlockInset): layout as layout
12566
12567 2002-06-24  André Pönitz <poenitz@gmx.net>
12568
12569         * lyxfunc.C: fix #487
12570
12571 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * lyxrc.h:
12574         * lyxrc.C:
12575         * lyxfunc.C: remove display_shortcuts, show_banner
12576
12577 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12578
12579         * Buffer_pimpl.C: oops, update on resize
12580
12581 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12582
12583         * buffer.C:
12584         * converter.C:
12585         * exporter.C:
12586         * lyxfunc.C:
12587         * BufferView.h:
12588         * BufferView.C: use repaint()
12589
12590         * BufferView_pimpl.h:
12591         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12592           as it's a clearer description. Remove superfluous
12593           redraws.
12594
12595 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * text.C: fix bug 488. Not ideal, but getting
12598           getWord() to work properly for the insets that
12599           matter is more difficult ...
12600
12601 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12602
12603         * BufferView_pimpl.C:
12604         * LyXAction.C:
12605         * commandtags.h:
12606         * lyxfunc.C: remove the six million index lyxfuncs to just
12607           one, and DTRT (bug 458)
12608
12609 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12610
12611         * BufferView.h:
12612         * BufferView.C:
12613         * BufferView_pimpl.h:
12614         * BufferView_pimpl.C: clean up resize() stuff,
12615           and unnecessary updateScreen()s
12616
12617 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12618
12619         * BufferView.h:
12620         * BufferView.C:
12621         * BufferView_pimpl.h:
12622         * BufferView_pimpl.C:
12623         * lyxfind.h:
12624         * lyxfind.C:
12625         * minibuffer.C: remove focus management of workarea,
12626           not needed. Use screen's greyOut()
12627
12628 2002-06-17  Herbert Voss  <voss@lyx.org>
12629
12630         * converter.C: (convert) do not post a message, when converting
12631         fails, let the calling function decide what to do in this case
12632
12633 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12634
12635         * lyxfunc.C: tidy up a little
12636
12637 2002-06-16    <alstrup@diku.dk>
12638
12639         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12640         Got rid of FORMS_H_LOCATION include. Now we are
12641         GUII.
12642
12643 2002-06-15  LyX Development team  <lyx@rilke>
12644
12645         * buffer.[Ch] (sgmlOpenTag):
12646         (sgmlCloseTag): Added support for avoiding pernicious mixed
12647         content. Return number of lines written.
12648
12649         (makeLinuxDocFile):
12650         (makeDocBookFile): Fixed calls to sgml*Tag.
12651         Simple white space clean.
12652
12653         (simpleDocBookOnePar): Simple white space clean.
12654
12655         * tabular.[Ch] (docBook): Renamed to docbook and got another
12656         argument to related with the pernicious mixed content.
12657
12658         (docbookRow): Fixed calls for docbook inset method.
12659
12660 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12661
12662         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12663         so it's X11 independent.
12664
12665         * kb*.[Ch]: ditto.
12666
12667         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12668
12669 2002-06-15  Lyx Development team  <lyx@electronia>
12670
12671         * intl.h: Renamed getTrans to getTransManager.
12672
12673 2002-06-14  Angus Leeming  <leeming@lyx.org>
12674
12675         * Makefile.am: nuke forgotten stl_string_fwd.h.
12676
12677 2002-06-12  Angus Leeming  <leeming@lyx.org>
12678
12679         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12680
12681 2002-06-13  Angus Leeming  <leeming@lyx.org>
12682
12683         * LaTeX.C:
12684         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12685
12686 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12687
12688         * kbmap.C (getiso): add support for cyrillic and greek
12689
12690 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12691
12692         * BufferView.h:
12693         * BufferView.C:
12694         * BufferView_pimpl.h:
12695         * BufferView_pimpl.C: move bogus scrolling logic
12696           to xforms
12697
12698 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12699
12700         * lyxfunc.C:
12701         * BufferView_pimpl.C: view->resize() change
12702
12703 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12704
12705         * BufferView_pimpl.C: topCursorVisible
12706           prototype change
12707
12708 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * Makefile.am:
12711         * lyx_gui.h:
12712         * lyx_gui.C: move to frontends/
12713
12714         * main.C:
12715         * lyx_main.h:
12716         * lyx_main.C: changes from above
12717
12718 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12719
12720         * intl.C:
12721         * intl.h:
12722         * kbmap.C:
12723         * kbsequence.C:
12724         * lyx_cb.C:
12725         * lyx_main.C: minor tidy
12726
12727 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12728
12729         * BufferView_pimpl.h:
12730         * BufferView_pimpl.C:
12731         * BufferView.h:
12732         * BufferView.C: make painter() const,
12733           remove dead code
12734
12735         * BufferView2.C: use screen() accessor
12736
12737         * lyx_main.h:
12738         * lyx_main.C: some minor cleanup
12739
12740 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12741
12742         * BufferView_pimpl.h:
12743         * BufferView_pimpl.C: remove enter/leaveView,
12744           use workHeight()
12745
12746 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12747
12748         * BufferView.h:
12749         * BufferView.C:
12750         * BufferView2.C:
12751         * BufferView_pimpl.h:
12752         * BufferView_pimpl.C: only construct screen once,
12753           rename
12754
12755         * lyxrc.C: remove pointless comment
12756
12757 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12758
12759         * BufferView.h:
12760         * BufferView.C: remove active() and belowMouse()
12761
12762         * BufferView_pimpl.h:
12763         * BufferView_pimpl.C: use workarea() not workarea_,
12764           and make it use a scoped_ptr instead
12765
12766 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12767
12768         * lyx_gui.C: add debug message on BadWindow
12769
12770 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12771
12772         * sp_spell.C: fdopen is not part of the C++ standard.
12773
12774         * paragraph.C (InsetIterator): use >= instead of ==
12775
12776 2002-06-07  Angus Leeming  <leeming@lyx.org>
12777
12778         Fixes needed to compile with Compaq cxx 6.5.
12779         * BufferView_pimpl.C:
12780         * DepTable.C:
12781         * buffer.C:
12782         * converter.C:
12783         * encoding.C:
12784         * lyx_gui.C:
12785         * lyx_main.C:
12786         * lyxtextclasslist.C:
12787         * minibuffer.C:
12788         * sp_spell.C:
12789         * tabular_funcs.C:
12790         * vc-backend.C:
12791         all c-library variables have been moved into namespace std. Wrap
12792         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12793
12794         * lyxlength.C:
12795         * tabular-old.C:
12796         * tabular.C:
12797         Add a using std::abs declaration.
12798
12799         * kbmap.h (modifier_pair):
12800         * paragraph.h (InsetTable, InsetList):
12801         * lyxfont.h (FontBits):
12802         type definition made public.
12803
12804         * bufferlist.C (emergencyWriteAll): the compiler complains that
12805         there is more than one possible lyx::class_fun template to choose from.
12806         I re-named the void specialisation as lyx::void_class_fun.
12807
12808         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12809
12810         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12811         the compiler is is unable to find tostr in write_attribute.
12812
12813 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12814
12815         * buffer.C (sgmlError): hide #warning
12816
12817 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12818
12819         * xtl/*: get rid of xtl, which is not in use anyway
12820
12821         * LyXAction.C (init):
12822         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12823         were unimplemented xtl experimentation
12824
12825 2002-06-04  André Pönitz <poenitz@gmx.net>
12826
12827         * lyxfunc.C: disable array operation on simple formulae
12828
12829 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12830
12831         * converter.C: constify a bit
12832
12833 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12834
12835         * lyx_gui.C: check xforms version correctly
12836
12837 2002-04-30  Herbert Voss  <voss@lyx.org>
12838
12839         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12840         "keep" option
12841
12842 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12843
12844         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12845           attempt to register it with a VCS)
12846
12847 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12848
12849         * lyx_main.C (init): honor variables LYX_DIR_13x and
12850         LYX_USERDIR_13x
12851
12852 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12853
12854         * buffer.h:
12855         * buffer.C:
12856         * lyx_main.C: fix a crash on bad command line,
12857           and give a useful exit status on error
12858
12859         * lyxfunc.C (doImport): allow -i lyx to work
12860
12861 2002-03-30  André Pönitz <poenitz@gmx.net>
12862
12863         * lyxfunc.C: mathed font changes
12864
12865 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12866
12867         * LaTeX.C:
12868         * importer.h:
12869         * importer.C:
12870         * lyx_sty.h:
12871         * lyx_sty.C:
12872         * lyxlex.C:
12873         * lyxrow.h:
12874         * lyxtext.h:
12875         * paragraph.h:
12876         * paragraph.C:
12877         * texrow.h:
12878         * texrow.C:
12879         * text.C:
12880         * trans_mgr.h: srcdocs, and some minor cleanups
12881
12882 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12883
12884         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12885         call getFont all the time)
12886
12887 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12888
12889         * switch from SigC signals to boost::signals
12890
12891 2002-05-29  André Pönitz <poenitz@gmx.net>
12892
12893         * paragraph_pimpl.C (getChar): don't call size() too often...
12894
12895 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12896
12897         * paragraph_pimpl.C (insertChar): do not try to update tables when
12898         appending (pos == size())
12899
12900         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12901         in order to reduce drastically the number of comparisons needed to
12902         parse a large document
12903
12904 2002-05-29  André Pönitz <poenitz@gmx.net>
12905
12906         * text.C:
12907         * text2.C:
12908         * lyxtextclass.C:
12909         * sp_pspell.h:
12910         * textclasslist.[Ch]:
12911         * sp_ispell.h: whitespace change
12912
12913 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12914
12915         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12916         lyxaction directly now.
12917
12918 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12919
12920         * trans.C:
12921         * lyxfont.C:
12922         * lyxvc.C: remove unused headers
12923
12924 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12925
12926         * Makefile.am:
12927         * buffer.h:
12928         * undostack.h:
12929         * undostack.C:
12930         * undo_funcs.h:
12931         * undo_funcs.C: some cleanups. Use shared_ptr
12932           and a template for the undo stacks.
12933
12934 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12935
12936         * BufferView_pimpl.h:
12937         * BufferView_pimpl.C:
12938         * kbmap.h:
12939         * kbmap.C:
12940         * kbsequence.h:
12941         * kbsequence.C:
12942         * lyxfunc.h:
12943         * lyxfunc.C:
12944         * text2.C: use key_state/mouse_state
12945
12946 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12947
12948         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12949         and LSubstring
12950
12951         * chset.C: change include order
12952         (loadFile): use boost regex and get rid of LRegex and LSubstring
12953
12954         * Makefile.am (BOOST_LIBS): new variable
12955         (lyx_LDADD): use it
12956
12957         * LaTeX.C: change include order.
12958         (scanAuxFile): use boost regex and get rid of LRegex and
12959         LSubstring
12960         (deplog): ditto
12961
12962 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12963
12964         * ColorHandler.h:
12965         * ColorHandler.C:
12966         * FontInfo.h:
12967         * FontInfo.C: moved to frontends/xforms/
12968
12969         * FontLoader.h:
12970         * FontLoader.C: moved into frontends for GUIIzation
12971
12972         * Makefile.am:
12973         * lyx_gui.C:
12974         * lyxfont.C:
12975         * lyxfunc.C: changes from above
12976
12977 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12978
12979         * LColor.C: remove spurious X include
12980
12981         * BufferView_pimpl.C:
12982         * Makefile.am:
12983         * font.h:
12984         * font.C:
12985         * text.C:
12986         * text2.C: move font metrics to frontends/
12987
12988 2002-05-24  Juergen Vigna  <jug@sad.it>
12989
12990         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12991         setting the undo_cursor.
12992
12993         * ParagraphParameters.h: include local includes first.
12994
12995 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12996
12997         * BufferView_pimpl.C:
12998         * BufferView_pimpl.h:
12999         * Makefile.am:
13000         * WorkArea.h:
13001         * WorkArea.C:
13002         * screen.C: move WorkArea into frontends/
13003
13004         * lyxscreen.h:
13005         * screen.C:
13006         * text.C:
13007         * BufferView.C:
13008         * BufferView2.C: move LyXScreen into frontends/
13009
13010         * lyxlookup.h:
13011         * lyxlookup.C:
13012         * lyx_gui.C: move lyxlookup into frontends/xforms/
13013
13014 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13015
13016         * BufferView2.C:
13017         * BufferView_pimpl.C:
13018         * FontLoader.C:
13019         * LyXView.h:
13020         * LyXView.C:
13021         * Makefile.am:
13022         * WorkArea.C:
13023         * XFormsView.h:
13024         * XFormsView.C:
13025         * buffer.C:
13026         * bufferlist.C:
13027         * bufferview_funcs.C:
13028         * converter.C:
13029         * importer.C:
13030         * lyx_cb.C:
13031         * lyx_gui.C:
13032         * lyx_main.C:
13033         * lyx_find.C:
13034         * lyxfunc.C:
13035         * lyxvc.C:
13036         * minibuffer.C:
13037         * text.C:
13038         * text2.C:
13039         * trans.C:
13040         * vc-backend.C: move LyX/XFormsView into frontends/
13041
13042 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13043
13044         * Makefile.am:
13045         * PainterBase.C:
13046         * PainterBase.h:
13047         * Painter.C:
13048         * Painter.h:
13049         * WorkArea.C:
13050         * WorkArea.h:
13051         * screen.C:
13052         * tabular.C:
13053         * text.C:
13054         * text2.C: move Painter to frontends/
13055
13056 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13057
13058         * buffer.C: comment out some some code that depend upon lyx_format
13059         < 220
13060
13061         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13062         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13063
13064         * buffer.h (NO_COMPABILITY): turn off compability
13065
13066         * ColorHandler.C: include scoped_array.hpp
13067
13068         * font.C: Use more specific smart_ptr header.
13069         * Painter.C: ditto
13070         * gettext.C: ditto
13071         * ShareContainer.h: ditto
13072         * lyx_main.h: ditto
13073         * kbmap.h: ditto
13074         * FontInfo.h: ditto
13075         * BufferView_pimpl.h: ditto
13076         * ColorHandler.h: ditto
13077
13078         * kbmap.C (defkey): change call to shared_ptr::reset
13079
13080 2002-05-21  Juergen Vigna  <jug@sad.it>
13081
13082         * buffer.C (insertErtContents): fix to insert ert asis if it is
13083         non empty. Skip it completely if it contains only whitespaces.
13084
13085 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13086
13087         * BufferView_pimpl.C:
13088         * BufferView2.C: clear selection on paste (bug 393)
13089
13090 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13091
13092         * DepTable.C: include ctime
13093
13094 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13095
13096         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13097
13098 2002-05-14  Juergen Vigna  <jug@sad.it>
13099
13100         * text.C (breakParagraph): fixed function to honor the keepempty
13101         layout in the right maner and also to permit the right breaking
13102         algorithm on empty or non empyt keepempty paragraphs.
13103
13104         * paragraph.C (breakParagraph): we have to check also if the par
13105         is really empty (!size()) for isempty otherwise we do the wrong
13106         paragraph break.
13107
13108 2002-05-10  Juergen Vigna  <jug@sad.it>
13109
13110         * buffer.[Ch] : The following are only changes to the ert
13111         compatibility read reading old LaTeX layout and font stuff and
13112         convert it to ERTInsets.
13113
13114         * buffer.h: added isErtInset().
13115
13116         * buffer.C (struct ErtComp): add a fromlayout bool to check
13117         if we're inside a LaTeX layout.
13118         (isErtInset): new helper function.
13119         (insertErtContents): look for other ert insets before this one
13120         and insert the contents there, so that we don't have subsequent
13121         ERT insets with nothing between them. This way we create only one
13122         inset with multiple paragraphs. Also check if we don't insert only
13123         spaces ' ' as they are ignored anyway afterwards in the .tex file
13124         so if we have only spaces we will ignore this latex part in the
13125         new file.
13126         (parseSingleLyXformat2Token \\layout): better compatibility when
13127         reading layout-latex stuff.
13128         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13129         language tag.
13130         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13131         stuff after reading the inset only get the information back from
13132         the stack.
13133
13134 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13135
13136         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13137
13138         * LaTeXFeatures.C (getBabelOptions): New method.
13139
13140 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13141
13142         * BufferView_pimpl.C (Dispatch): work around missing argument for
13143         'layout'
13144
13145 2002-05-08  Juergen Vigna  <jug@sad.it>
13146
13147         * text.C (leftMargin): handle paragraph leftindent.
13148
13149         * paragraph.C (writeFile): write the new \\leftindent tag.
13150         (validate): handle leftindent code.
13151         (TeXEnvironment): handle paragraphleftindent code again.
13152
13153         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13154
13155         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13156         for paragrap_extra indent code and new token \\leftindent.
13157         (latexParagraphs): handle the leftindent as environment.
13158
13159         * ParameterStruct.h: added leftindent support.
13160
13161         * ParagraphParameters.C (leftIndent): added support functions for
13162         the paragraph left indent.
13163
13164         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13165         more appropriate.
13166
13167 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13168
13169         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13170         inside insetERT.
13171
13172         * text.C (computeBidiTables): No bidi in insetERT.
13173
13174         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13175         in RTL documents.
13176
13177 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13178
13179         * version.C.in: pre 5
13180
13181 2002-05-02  José Matos  <jamatos@fep.up.pt>
13182         * buffer.C (makeDocBookFile): white space changes, add newline to
13183         command styles.
13184         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13185
13186         * tabular.C (docBook): fix typo.
13187
13188 2002-05-03  Juergen Vigna  <jug@sad.it>
13189
13190         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13191         change in LyXText as we can not be sure it was not freed.
13192         (drawOneRow): remove unused code.
13193
13194         * text.C (drawInset): redo the calculation of the need_break_row as
13195         it could have a row which was already freed.
13196         (draw): look at the return value of drawInset and return false if
13197         it also returned false.
13198         (paintRowText): look at the return value of draw and return false if
13199         it also returned false.
13200
13201         * lyxtext.h: added bool return type to drawInset() and draw() so that
13202         if we have a change in the row so that the rowbreak has to be redone
13203         we abort drawing as it will be called again.
13204
13205 2002-05-02  Juergen Vigna  <jug@sad.it>
13206
13207         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13208         a change in the maintext also if we're inside an inset.
13209         (Dispatch): set the cursor again after a break line and after the
13210         screen has been updated as it could be we're in a different row.
13211
13212         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13213         to set the cursor behind the pargraph with > size().
13214         (setCursor): check also for the same paragraph when checking where
13215         to put the cursor if we have a NFR inset.
13216
13217         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13218         parts of layout read further up as it still was in the wrong
13219         position.
13220
13221 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13222
13223         * screen.C (drawFromTo): change sine fullRebreak always return
13224         true.
13225
13226         * buffer.C (parseSingleLyXformat2Token): reindent some
13227
13228         * BufferView_pimpl.C (update): change since fullRebreak always
13229         return true.
13230         (Dispatch): git rid of the last hardcoded "Standard"s.
13231
13232 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13233
13234         * text2.[Ch] (fullRebreak): make it return void now that we always
13235         returned true.
13236
13237 2002-04-30  Juergen Vigna  <jug@sad.it>
13238
13239         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13240         ert compatibility check for "latex" layout.
13241
13242 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13243
13244         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13245         minipages: use col% instead of p%, and also use the current font.
13246         (makeLaTeXFile): Fix use babel condition.
13247         (parseSingleLyXformat2Token): Correct font when reading old floats.
13248
13249 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13250
13251         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13252         inserting list of floats.
13253
13254 2002-04-25  Herbert Voss  <voss@lyx.org>
13255
13256         * MenuBackend.C (expand): don't add the graphics extensions to the
13257         export menu
13258
13259 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13260
13261         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13262         non-existing layout, do not complain if it was the default layout
13263         of the original class (bug #342)
13264
13265 2002-04-24  Juergen Vigna  <jug@sad.it>
13266
13267         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13268         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13269
13270 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13271
13272         * buffer.C (getBibkeyList): If using \bibliography, return the
13273         option field with the reference itself. Enables us to provide natbib
13274         support when using \bibliography.
13275
13276 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13277
13278         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13279
13280         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13281         natbib is provided by the LaTeX class.
13282
13283 2002-04-23  Juergen Vigna  <jug@sad.it>
13284
13285         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13286         Wakeup functions.
13287
13288         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13289
13290 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13291
13292         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13293
13294         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13295         ensuremath around textordmasculine, textordfeminine and
13296         textdegree.
13297
13298 2002-04-19  Juergen Vigna  <jug@sad.it>
13299
13300         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13301         reinitializing the buffer otherwise row-dimensions may be wrong.
13302         (update): reset also the selection cursors if they do exits otherwise
13303         their x/y positions may be wrong.
13304
13305         * text2.C (cursorDown): don't enter the inset if we came from a row
13306         above and are one row over the inset.
13307
13308         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13309         really leaving an inset.
13310
13311 2002-04-18  Juergen Vigna  <jug@sad.it>
13312
13313         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13314         of the selected paragraph does not have the selected layout also if
13315         the last one had!
13316
13317         * text2.C (setLayout): fixed bug which did not change last selected
13318         paragraph.
13319
13320         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13321         changed the read and substituted \\end_float with \\end_inset!
13322
13323         * BufferView_pimpl.C (cursorPrevious):
13324         (cursorNext): fixed to make it work with rows heigher than the work
13325         area without moving the cursor only the draw of the row.
13326         (workAreaMotionNotify): fix jumping over high rows.
13327
13328 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13329
13330         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13331         Ressler.
13332
13333 2002-04-16  Juergen Vigna  <jug@sad.it>
13334
13335         * text2.C (setCursor): set also the irow().
13336         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13337         (cursorUp):
13338         (cursorDown): support for locking an inset if the x_fix value goes
13339         inside it. That way I can transverse insets too with cursor up/down.
13340
13341         * lyxrow.h: added irow helper function same as other (i) functions.
13342
13343         * BufferView_pimpl.C (cursorPrevious):
13344         (cursorNext): fixed for insets!
13345
13346 2002-04-15  Juergen Vigna  <jug@sad.it>
13347
13348         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13349         position otherwise it is wrong in some cases.
13350
13351         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13352         inside the inset before the call.
13353
13354 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13355
13356         * buffer.[Ch] (getBibkeyList): make it const.
13357
13358 2002-04-12  Juergen Vigna  <jug@sad.it>
13359
13360         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13361
13362         * text2.C (getCursorX): new helper function
13363         (setCursor): compute also ix_
13364         (setCursorFromCoordinates): set also ix.
13365
13366         * lyxcursor.h: added ix_ and helper functions.
13367
13368         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13369
13370         * buffer.C (insertStringAsLines): dont break paragraph if the this
13371         paragraph is inside an inset which does not permit it!
13372
13373         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13374         also with no chars on this paragraph.
13375         (paintRowText): only paint stuff if it's inside the workarea!
13376
13377         * paragraph.C (breakParagraph): honor keepempty flag and break the
13378         paragraph always below not above.
13379
13380         * BufferView2.C (unlockInset): update the paragraph layout on inset
13381         unlock as we changed paragraph in such a case.
13382
13383         * lyxfind.C (LyXFind): clear the former selection if not found!
13384
13385         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13386         again called in insertChar().
13387
13388         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13389         an inset which uses the whole row!
13390         (rightMargin): ditto.
13391         (insertChar): force a rebreak if we inserted an inset!
13392
13393 2002-03-28  Herbert Voss  <voss@lyx.org>
13394
13395         * lyxlength.[Ch]: add inBP() to get the right PS-point
13396         units (BigPoint). With inPixels we have rounding errors
13397
13398 2002-04-11  Juergen Vigna  <jug@sad.it>
13399
13400         * text2.C (setCursorFromCoordinates): set iy to the right value.
13401         (setCursor): add check if row->previous exists!
13402
13403         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13404         an old float_type as this was the case in the old code!
13405
13406         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13407
13408         * BufferView2.C (showLockedInsetCursor): use iy
13409         (fitLockedInsetCursor): ditto
13410
13411         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13412         locked insets as there we have the right value now.
13413
13414         * lyxcursor.C: added iy_ variable and iy functions to set to the
13415         baseline of cursor-y of the locked inset.
13416
13417         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13418         (setCursor): fixed for insets which need a full row.
13419
13420         * text.C (rowLastPrintable): don't ignore the last space when before
13421         an inset which needs a full row.
13422         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13423         as last character of a row when before a inset which needs a full row.
13424
13425 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13426
13427         * version.C.in: update date
13428
13429         * text2.C (fullRebreak): try to always return true and see what
13430         happens...
13431
13432 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13433
13434         * MenuBackend.C (expand): use Floating::listName
13435
13436         * FloatList.C (FloatList): add listName argument to the built-in
13437         floats
13438
13439         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13440         text associated with the float.
13441
13442 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13443
13444         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13445
13446 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13447
13448         * ShareContainer.h: add a couple of missing typenames.
13449
13450 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13451
13452         * lyxrc.C (getDescription): use _() correctly rather than N_().
13453
13454 2002-03-28  Herbert Voss  <voss@lyx.org>
13455
13456         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13457         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13458
13459 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13460
13461         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13462         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13463
13464 2002-03-29  Juergen Vigna  <jug@sad.it>
13465
13466         * lyxfunc.C (dispatch): add a missing fitCursor call.
13467
13468         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13469         it was scrolled by a cursor move, so return the bool status.
13470
13471         * BufferView.C (fitCursor): return the bool flag also to the outside
13472         world as this is needed.
13473
13474         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13475
13476         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13477         call the edit() as it is not needed (and wrong) IMO.
13478         (workAreaButtonPress): set the screen_first variable before evt.
13479         unlock the inset as this may change screen_first and then we have
13480         a wrong y position for the click!
13481
13482 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13483
13484         * MenuBackend.C (expand): another translation that I missed
13485
13486 2002-03-28  Juergen Vigna  <jug@sad.it>
13487
13488         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13489
13490         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13491
13492 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13493
13494         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13495
13496         * MenuBackend.C (expand): fix export/view/update when there is no
13497         document open.
13498
13499 2002-03-27  Herbert Voss  <voss@lyx.org>
13500
13501         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13502         and text%
13503
13504 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13505
13506         * bufferview_funcs.C (currentState): only show paragraph number
13507         for is DEVEL_VERSION is set.
13508
13509         * lyxfunc.C (dispatch): put warning in INFO channel
13510
13511         * MenuBackend.C (expand): translate the name of floats
13512
13513         * FloatList.C (FloatList): mark the float names for translation
13514
13515         * converter.C (convert): use LibScriptSearch
13516
13517 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13518
13519         * MenuBackend.C (defaults): fix default menu (we might as well get
13520         rid of it...)
13521
13522 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13523
13524         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13525         directory.
13526
13527 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13528
13529         * lyxvc.C: reorder includes.
13530
13531 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13532
13533         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13534           properly
13535
13536 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13537
13538         * CutAndPaste.C: change layouts earlier on paste
13539           to avoid crashing when calling getFont()
13540
13541 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13542
13543         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13544         irritating #error.
13545
13546 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13547
13548         * WorkArea.C: remove 'Pending' debug message.
13549
13550         * most files: ws cleanup
13551
13552         * buffer.[Ch]: ws changes
13553
13554         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13555
13556 2002-03-21  Juergen Vigna  <jug@sad.it>
13557
13558         * tabular.C (SetMultiColumn): collapse also the contents of the
13559         cells and set the last border right. Added a Buffer const * param.
13560
13561 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13562
13563         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13564         linking or not.
13565
13566 2002-03-19  Juergen Vigna  <jug@sad.it>
13567
13568         * text2.C (clearSelection): reset also xsel_cache.
13569
13570         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13571         where it needs to be called (John tells us to do so too :)
13572         (selectionLost): reset sel_cache.
13573
13574         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13575
13576 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13577
13578         * text2.C (setCursorIntern): put debuging code in INSETS channel
13579
13580 2002-03-19  André Pönitz <poenitz@gmx.net>
13581
13582         * lyxfunc.C: tiny whitespace change
13583
13584 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13585
13586         * ToolbarDefaults.C (init):
13587         * LyXAction.C (init):
13588         * commandtags.h:
13589         * BufferView_pimpl.C (Dispatch):
13590         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13591
13592 2002-03-19  Allan Rae  <rae@lyx.org>
13593
13594         * exporter.C (Export): removeAutoInsets before doing anything else.
13595         While I've just introduced a dependency on BufferView this really is
13596         the best place to clean the buffer otherwise you need to cleanup in
13597         a dozen places before calling export or cleanup in a dozen functions
13598         that export calls.
13599
13600         * converter.C (runLaTeX):
13601         (scanLog): Better handling of removeAutoInsets and screen updates.
13602
13603         * lyxfunc.C (dispatch): small whitespace changes
13604
13605 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13606
13607         * WorkArea.C (C_WorkAreaEvent): return a value.
13608         (event_cb): return 1 if we handled the event, 0 otherwise.
13609
13610         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13611
13612 2002-03-18  Juergen Vigna  <jug@sad.it>
13613
13614         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13615         (GetAdditionalWidth): ditto.
13616         (RightLine): ditto.
13617         (LeftLine): ditto.
13618
13619         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13620         inset if we're there actually (probably not used right now but this
13621         is the direction to go for unifying code).
13622         (paste): disable code to clear the selection.
13623
13624         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13625         inside an InsetText and move the check further up as it is in the
13626         wrong place.
13627
13628         * text2.C (pasteSelection): set a selection over the pasted text.
13629
13630 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13631
13632         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13633         and libgraphics to build on Cygwin.
13634
13635 2002-03-15  Juergen Vigna  <jug@sad.it>
13636
13637         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13638         inserting an Inset into the paragraph. I know this is not the best
13639         fix but we already use current_view in CutAndPaste so we will remove
13640         all of it's using at the same time.
13641
13642         * buffer.C (sgmlError): deactivated function till it is rewritten in
13643         the right mode, now it can create problems.
13644
13645         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13646         before accessing it.
13647
13648 2002-03-14  Juergen Vigna  <jug@sad.it>
13649
13650         * undo_funcs.C (textHandleUndo): do the right thing when updating
13651         the inset after the undo/redo.
13652
13653         * text2.C (setCursor): just some testcode for #44 not ready yet.
13654
13655         * undo_funcs.C (textHandleUndo): set the next() and previous()
13656         pointers of the paragraph to 0 before deleting otherwise we have
13657         problems with the Paragraph::[destructor].
13658
13659         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13660         on a paragraph insertion.
13661
13662 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13663
13664         * buffer.C (asciiParagraph): use += operator for char append to
13665         string.
13666
13667         * paragraph.C (getFontSettings): compare >= not just >
13668         (highestFontInRange): ditto
13669         (setFont): ditto
13670
13671 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13672
13673         * paragraph.C: change several algorithm to be more appripriate for
13674         the problem domain. This is lookip in FontList and in the InsetList.
13675
13676 2002-03-13  André Pönitz <poenitz@gmx.net>
13677
13678         * commandtags.h:
13679         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13680
13681 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13682
13683         * commandtags.h:
13684         * LyXAction.C:
13685         * lyxfunc.C:
13686         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13687
13688 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13689
13690         * Painter.C (display): anon helper function, adjust code for this
13691         change.
13692         (pixmap): remove function.
13693
13694         * Painter.h: remove private display variable.
13695
13696         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13697
13698 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13699
13700         * WorkArea.[Ch]: remove figinset_canvas cruft.
13701
13702 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13703
13704         * lyxtextclass.C (operator): add one item cache optimization.
13705
13706         * bufferlist.h: doxy changes
13707
13708         * bufferlist.C: ws changes
13709
13710         * DepTable.[Ch] (ext_exist): place const in the right spot.
13711
13712         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13713         call resizeInsets.
13714         (workAreaExpose): call resizeInsets when the with BufferView changes.
13715         (Dispatch): adjust for protectedBlank removal
13716         (specialChar): call updateInset if the insert went ok.
13717
13718         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13719         specialChar instead.
13720
13721         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13722
13723         * BufferView.h: doxy change
13724
13725         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13726
13727         * lyxtextclass.C (operator[]): remove non-const version
13728         (defaultLayout): remove non-const version
13729
13730 2002-03-12  Juergen Vigna  <jug@sad.it>
13731
13732         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13733         did resize the LyXText too.
13734
13735         * buffer.C (readLyXformat2): set layout information on newly allocated
13736         paragraphs.
13737
13738         * tabular.C (OldFormatRead): set layout information on the paragraph.
13739
13740 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13741
13742         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13743
13744 2002-03-11  Juergen Vigna  <jug@sad.it>
13745
13746         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13747         plainly wrong.
13748         (resizeCurrentBuffer): force also the insets to resize themselfes.
13749         (moveCursorUpdate): fixed up for InsetText.
13750
13751 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13752
13753         * commandtags.h:
13754         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13755         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13756         value of Dialogs::tooltipsEnabled().
13757         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13758
13759 2002-03-08  Juergen Vigna  <jug@sad.it>
13760
13761         * BufferView_pimpl.C (updateInset): update inset inside inset also
13762         if it isn't inside theLockingInset().
13763
13764 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13765
13766         * buffer.C (asciiParagraph): redo some of the word and line length
13767         handling.
13768         (getLists): look for Caption instead of caption.
13769
13770 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13771
13772         * buffer.C (Buffer): initialize niceFile to true
13773         (makeLaTeXFile):
13774         (makeLinuxDocFile):
13775         (makeDocBookFile): make sure niceFile is true on exit
13776
13777 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13778
13779         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13780
13781 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13782
13783         * LyXSendto.C: remove.
13784         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13785         * lyx_gui.C: remove now-redundant comment.
13786         * ColorHandler.h: remove forward declaration of class WorkArea.
13787         * lyxfunc.C: remove #include "WorkArea.h".
13788
13789 2002-03-07  Juergen Vigna  <jug@sad.it>
13790
13791         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13792         got moved away with the DEPM and also set the inset_owner always
13793         right which before could have been omitted.
13794
13795 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13796
13797         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13798         wanted layout is not found.
13799
13800 2002-03-07  Juergen Vigna  <jug@sad.it>
13801
13802         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13803
13804 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13805
13806         * paragraph.C (breakParagraph): use default layout not layout of
13807         prev paragraph.
13808         (Paragraph): clear ParagraphParameters.
13809
13810 2002-03-06  Juergen Vigna  <jug@sad.it>
13811
13812         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13813         otherwise it would not be a valid lenght. Fixed a special case in
13814         the minipage compatibility read where we end the document with a
13815         minipage.
13816
13817         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13818         was set as it could be 0 for InsetTexts first entry.
13819
13820 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13821
13822         * paragraph.C (writeFile): if layout is empty write out
13823         defaultLayoutName().
13824
13825         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13826         file without named layout we set layout to defaultLayoutName().
13827
13828 2002-03-06  Juergen Vigna  <jug@sad.it>
13829
13830         * CutAndPaste.C (copySelection): set layout for new paragraph.
13831
13832         * text.C (prepareToPrint): leave ERT inset left aligned
13833         (leftMargin): don't indent paragraphs inside ERT insets
13834
13835 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13836
13837         * paragraph.C (breakParagraph): dont call clear do the work manually
13838
13839         * paragraph.[Ch] (clear): remove function
13840
13841 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13842
13843         * paragraph.C (Paragraph): dont call clear, the work has already
13844         been done.
13845
13846         * lyxtextclass.C (operator): assert if n is empty
13847
13848         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13849         work manually instead.
13850
13851 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13852
13853         * BufferView_pimpl.C: protect selectionLost against text == 0
13854
13855 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13856
13857         * text.C (breakParagraph): fix a setting layout to '0' problem.
13858
13859 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13860
13861         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13862         final location of file, for the included files, and graphics.
13863
13864 2002-03-05  Juergen Vigna  <jug@sad.it>
13865
13866         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13867
13868 2002-03-04  Juergen Vigna  <jug@sad.it>
13869
13870         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13871
13872         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13873         last column of multicolumn cells.
13874         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13875
13876 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13877
13878         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13879         file if it doesn't go to a temporary file.
13880
13881         * buffer.C (sgmlOpenTag):
13882         (sgmlCloseTag):  remove extra newline insertion.
13883
13884 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13885
13886         * text.C (getRowNearY): comment out debug msg
13887
13888 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13889
13890         * text2.C: first -> first_y
13891
13892         * text.C (getRowNearY): add some attemts at a possible
13893         optimization, not working.
13894
13895         * tabular.[Ch]: add BufferParams to several function so that newly
13896         created paragraph can be initialized to he default layotu for the
13897         buffers textclass.
13898
13899         * tabular-old.C (ReadOld): add buf->params to call of Init
13900
13901         * screen.C: rename text->first to text->first_y
13902
13903         * paragraph.C (breakParagraph): always set layout in the broken
13904         paragraph
13905
13906         * lyxtextclass.C (Read): remove lowercase
13907         (hasLayout): ditto
13908         (operator): ditto
13909         (delete_layout): ditto
13910
13911         * lyxtext.h: rename first -> first_y
13912
13913         * lyxlayout.C (Read): remove lowercase
13914         (name): ditto
13915         (setName): ditto
13916         (obsoleted_by): ditto
13917
13918         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13919
13920         * buffer.C (insertErtContents): add params are to InsetERT
13921         (parseSingleLyXformat2Token): add code to check if a paragraphs
13922         layout really exist.
13923         (parseSingleLyXformat2Token): add params to several inset
13924         constructors
13925         (asciiParagraph): remove lowercase, do the layout comparisons with
13926         no_case
13927
13928         * BufferView_pimpl.C (cursorNext): first -> first_y
13929         (resizeCurrentBuffer): first -> first_y
13930         (updateScrollbar): first -> first_y
13931         (scrollCB): first -> first_y
13932         (workAreaMotionNotify): first -> first_y
13933         (workAreaButtonPress): first -> first_y
13934         (checkInsetHit): first -> first_y
13935         (cursorPrevious): first -> first_y
13936         (cursorNext): first -> first_y
13937         (Dispatch): add buffer_->params to severl inset contructors
13938
13939 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13940
13941         * lyxlayout.C (Read): remove some debug info that I forgot.
13942
13943         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13944         clean up the code slightly.
13945         (makeLinuxDocFile): ditto
13946         (makeDocBookFile): ditto
13947
13948         * text2.C: layout as string
13949
13950         * text.C: layout as string
13951
13952         * paragraph_pimpl.C: layout as string
13953
13954         * paragraph.[Ch]: layout as string
13955
13956         * lyxtextclasslist.[Ch]: layout as string
13957
13958         * lyxtextclass.[Ch]: layout as string
13959
13960         * lyxtext.h: layout as string
13961
13962         * lyxlayout.[Ch]: layout as string
13963
13964         * lyx_cb.C: layout as string
13965
13966         * bufferview_funcs.C: layout as string
13967
13968         * bufferparams.C: layout as string
13969
13970         * buffer.C: layout as string
13971
13972         * LyXView.[Ch]: layout as string
13973
13974         * LaTeXFeatures.[Ch]: layout as string
13975
13976         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13977
13978         * BufferView_pimpl.C: change current_layout to string, remove
13979         lyx::layout_type.
13980         (Dispatch):
13981         (smartQuote):
13982         (insertInset):
13983         (workAreaButtonRelease): layout as string
13984
13985         * BufferView2.C (unlockInset): adjust
13986
13987         * vspace.C (asLatexCommand): use an explict temp variable.
13988
13989 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13990
13991         * Makefile.am: use FRONTEND_*
13992
13993 2002-03-01  Juergen Vigna  <jug@sad.it>
13994
13995         * tabular.C (SetWidthOfMulticolCell): changed to something better
13996         I hope but still work in progress.
13997         (recalculateMulticolumnsOfColumn): renamed function from
13998         recalculateMulticolCells as it is more appropriate now.
13999         (SetWidthOfCell): calculate multicols better.
14000
14001 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14002
14003         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
14004
14005         * lyxfunc.C (processKeySym): print sequence also if it is
14006         `deleted' (complete)
14007
14008         * kbsequence.C (print): print sequence even if it is deleted
14009         (complete would be a better word, actually).
14010
14011         * lyxfunc.C (dispatch): print complete options after a prefix key
14012
14013         * vspace.C (asLatexCommand): rewrite in a slightly different form.
14014
14015 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
14016
14017         * text2.C (setCharFont): eliminate setCharFont code duplication.
14018
14019 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14020
14021         * BufferView_pimpl.C (Dispatch): remove bogus handling of
14022         LFUN_TABULAR_FEATURE (bug #177)
14023
14024 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
14025
14026         * Makefile.am: remove figure.h
14027
14028 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
14029
14030         * Bufferview_pimpl.C:
14031         * CutAndPasteC:
14032         * LaTeX.C:
14033         * LyXSendto.C:
14034         * buffer.C:
14035         * bufferlist.C:
14036         * converter.C:
14037         * language.C:
14038         * lyxfunc.C:
14039         * lyxvc.C:
14040         * paragraph.C:
14041         * text.C:
14042         * text2.C: remove #include "lyx_gui_misc.h".
14043
14044         * LaTeX.C: added #include <cstdio>
14045
14046 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14047
14048         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14049         that the paragraph following this one can have.
14050
14051         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14052
14053         * vspace.C (asLatexCommand): fix bogus gcc warning
14054
14055         * Makefile.am (lyx_SOURCES): remove vms_defines.h
14056
14057 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
14058
14059         * text2.C (setLayout): get rid of redundant code
14060
14061 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
14062
14063         * text2.C (incDepth): make sure depth cannot be increased beyond
14064         reasonable values.
14065
14066 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
14067
14068         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14069         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14070
14071         * PainterBase.h (image):
14072         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14073         a LyXImage const *.
14074
14075 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14076
14077         * BufferView.C:
14078         * BufferView.h:
14079         * BufferView_pimpl.C:
14080         * BufferView_pimpl.h:
14081         * LaTeXFeatures.C:
14082         * LyXAction.C:
14083         * LyXView.C:
14084         * Makefile.am:
14085         * UpdateList.h:
14086         * UpdateList.C:
14087         * buffer.C:
14088         * figure.h:
14089         * figureForm.C:
14090         * figureForm.h:
14091         * figure_form.C:
14092         * figure_form.h:
14093         * lyx_cb.C:
14094         * lyx_gui.C:
14095         * lyx_gui_misc.C:
14096         * lyxfunc.C:
14097         * sp_base.h:
14098         * sp_ispell.h:
14099         * sp_pspell.h:
14100         * sp_spell.C: remove fig inset, and the crap house of
14101           cards that follows it
14102
14103 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14104
14105         * Makefile.am:
14106         * lyxserver.C:
14107         * os2_defines.h:
14108         * os2_errortable.h:
14109         * nt_defines.h: move .h into support/
14110
14111         * vms_defines.h: remove
14112
14113         * WorkArea.C: add space in debug output
14114
14115         * text2.C:
14116         * paragraph.C:
14117         * buffer.C: add WITH_WARNINGS
14118
14119         * vc-backend.h:
14120         * vc-backend.C:
14121         * bufferlist.C: s/retrive/retrieve/, add docs
14122
14123         * vspace.h:
14124         * vspace.C:
14125         * kbmap.h:
14126         * lyxlength.h:
14127         * lyxgluelength.h:
14128         * length_common.h:
14129         * chset.h:
14130         * chset.C: add docs
14131
14132         * lyxgui.C: add ID to X error handler
14133
14134         * lyxtestclass.c: fix typo
14135
14136 2002-02-26  Juergen Vigna  <jug@sad.it>
14137
14138         * tabular_funcs.C (write_attribute): changed so that some default
14139         attributes are not written at all.
14140         (getTokenValue): set default values before trying to read the
14141         value so we have the return value always set as default if we don't
14142         find the token we search for.
14143
14144         * tabular.C (Write): write bools as bools not as strings!
14145
14146 2002-02-22  Juergen Vigna  <jug@sad.it>
14147
14148         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14149         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14150
14151         * text.C (leftMargin): don't add an indent for paragraphs inside
14152         tabular cells (fix #208).
14153
14154 2002-02-21  José Matos  <jamatos@fep.up.pt>
14155
14156         * tabular.C (docBook): fixed support for long tables.
14157
14158 2002-02-20  Juergen Vigna  <jug@sad.it>
14159
14160         * text2.C (getFont): get the drawing font of the Inset if this
14161         paragraph is inside an inset (only important for InsetERT for now).
14162
14163         * buffer.C (insertErtContents): use new lanugage params in ERT
14164         constructor.
14165
14166         * CutAndPaste.C: commenting out seemingly uneeded code.
14167
14168 2002-02-19  Allan Rae  <rae@lyx.org>
14169
14170         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14171         Iterators might be simple to use but they also get invalidated.
14172         (removeAutoInsets): renamed saved cursor tracking variables and added
14173         some comments to clarify what everything does.
14174
14175 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14176
14177         * Chktex.C:
14178         * LaTeX.C:
14179         * LyXSendto.C:
14180         * converter.C:
14181         * lyx_cb.C:
14182         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14183         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14184
14185         * lyxfunc.C:
14186         * vc-backend.h: remove #include "support/syscall.h"
14187
14188         * LaTeX.C:
14189         * LyXSendto.C:
14190         * converter.C: rearrange #includes in Lars' approved fashion.
14191
14192         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14193         forward declare class Timeout in the header file.
14194
14195         * XFormsView.C: changes due to the above.
14196
14197         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14198         similar to LyXView.
14199
14200         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14201         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14202
14203 2002-02-18  José Matos  <jamatos@fep.up.pt>
14204
14205         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14206         insets contents.
14207
14208 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14209
14210         * a lot of small ws changes
14211         * add a lot of using std::XXX
14212         * use std construcs some places where approp.
14213         * use some exisint stuff from lyxfunctional where approp.
14214         * Make file changes to use partial linking (lets test this now...)
14215
14216 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14217
14218         * Chktex.C:
14219         * buffer.C:
14220         remove #include "support/syscontr.h" as it's redundant. Always has been.
14221
14222         * Chktex.C:
14223         * LaTeX.C:
14224         * LyXSendto.C:
14225         * converter.C:
14226         * lyx_cb.C:
14227         * vc-backend.C:
14228         change Systemcalls::System to Systemcalls::Wait and
14229         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14230         No change of functionality, just reflects the stripped down Systemcalls
14231         class.
14232
14233 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14234
14235         * debug.[Ch]: add a GRAPHICS type to the enum.
14236
14237 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14238
14239         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14240
14241         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14242         there is an inset.
14243
14244 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14245
14246         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14247         match the changes below.
14248
14249         * text2.C (toggleInset): if there is not editable inset at cursor
14250         position, try to see if cursor is _inside_ a collapsable inset
14251         and close it.
14252
14253 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14254
14255         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14256         document menu has a nice checkbox
14257
14258 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14259
14260         * lyxlength.C (asLatexString): change PW to output as percent of
14261         \textwidth.
14262
14263         * lengthcommon.C: change '%' to 't%'
14264
14265         * lyxfunc.C (dispatch): a few comments from Martin
14266
14267 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14268
14269         * WorkArea.h:
14270         * WorkArea.C:
14271         * BufferView_pimpl.h:
14272         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14273           the X selection.
14274
14275 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14276
14277         * vspace.C (inPixels): fix compiler warning
14278
14279 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14280
14281         * lyxfunc.C (getStatus): fix status message for disabled commands.
14282
14283 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14284
14285         * BufferView_pimpl.C: fix crash on close buffer
14286         during selection (#227)
14287
14288 2002-01-27  Herbert Voss  <voss@lyx.org>
14289
14290         * buffer.C: link old Figure to new graphic inset
14291
14292 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14293
14294         * FontLoader.C (getFontinfo): Change the latex font names in order
14295         to match the names of type1inst.
14296
14297 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14298
14299         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14300
14301         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14302         (extchanged): ditto
14303         (ext_exist): ditto
14304         (remove_files_with_extension): ditto
14305         (remove_file): ditto
14306         (write): ditto
14307
14308         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14309         document is smaller than the work area height. Do not initialize
14310         static variables to 0.
14311
14312 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14313
14314         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14315
14316         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14317         LFUN_LAYOUT_PARAGRAPHS.
14318
14319         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14320         tabular. It is possible to provide a possible cell, which will
14321         typically be the actcell from the corresponding insettabular
14322
14323         * lyxfunc.C (getStatus): small cleanup; disable
14324         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14325         true
14326
14327 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14328
14329         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14330
14331         * paragraph.C (startTeXParParams):
14332         (endTeXParParams): new methods. The LaTeX code to
14333         start/end paragraph formatting
14334         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14335         empty (fixes bug #200)
14336
14337         * vspace.C (inPixels): adapt to the change below
14338         (inPixels): [later] more cleanups (remove unused variables)
14339
14340         * lyxlength.C (inPixels): change to use a width and a height as
14341         parameter.
14342
14343 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14344
14345         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14346         Replaced with \paperwidth
14347
14348         * DepTable.C (insert): add std:: qualifier
14349
14350 2002-01-18  Allan Rae  <rae@lyx.org>
14351
14352         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14353         updated also?
14354
14355         * text.C (drawInset): Turned out I didn't know enough about how
14356         rebreaking worked.  This fixes most of the redraw problems.  I see
14357         an occasional cursor trail when a line is broken now and the cursor
14358         placement can seem out by a few pixels also after a rebreak.
14359
14360 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14361
14362         * buffer.C (parseSingleLyXformat2Token): update because minipage
14363         width is now a LyXLength
14364
14365         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14366
14367         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14368         math insets
14369
14370 2002-01-17  Juergen Vigna  <jug@sad.it>
14371
14372         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14373
14374         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14375         is set correctly and the inset is updated correctly.
14376
14377 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14378
14379         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14380         the beginning of the loop.
14381
14382 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14383
14384         * lyxrc.C: improve help for use_scalable_fonts
14385
14386 2002-01-17  Allan Rae  <rae@lyx.org>
14387
14388         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14389
14390 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14391
14392         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14393         make sure to set their inset_owner to the right value (bug #171)
14394
14395 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14396
14397         * DepTable.h
14398         * DepTable.C: Implement mtime checking to reduce time spent doing
14399         CRCs.
14400
14401 2002-01-16  Juergen Vigna  <jug@sad.it>
14402
14403         * tabular.C (GetAdditionalHeight): one of error fixed.
14404
14405         * lyxrc.C (output): small fix in writing use_pspell.
14406
14407 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14408
14409         * sp_base.h: #include LString.h
14410
14411 2002-01-16  Allan Rae  <rae@lyx.org>
14412
14413         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14414         Can someone check this please?
14415
14416         * text.C (drawInset): It was possible that p.row would be removed by
14417         breakAgainOneRow upsetting a few other settings.  There may be another
14418         small tweak possible by setting need_break_row = 0 when p.row has been
14419         removed but I don't know enough about the logic here.
14420
14421 2002-01-15  Allan Rae  <rae@lyx.org>
14422
14423         * text.C (insertChar): removed conditional truism.
14424
14425         * BufferView2.C (removeAutoInsets): More tweaks.
14426         cur_par_prev could be a stray pointer.  Check for trailing empty line
14427         in case last line was cur_par and only had an error inset on it.
14428
14429 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14430
14431         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14432         absolute
14433
14434         * vc-backend.C (most methods):
14435         * exporter.C (Export):
14436         * converter.C (convert):
14437         (runLaTeX):
14438         * LyXSendto.C (SendtoApplyCB):
14439         * lyxfunc.C (dispatch):
14440         (menuNew):
14441         (open):
14442         (doImport):
14443         * lyx_cb.C (AutoSave):
14444         (InsertAsciiFile):
14445         * BufferView_pimpl.C (MenuInsertLyXFile):
14446         * buffer.C (runChktex): use Buffer::filePath().
14447
14448         * buffer.h: rename filename to filename_; rename filepath to
14449         filepath_ and make it private
14450         (filePath): new method
14451
14452         * buffer.C (writeFile): use fileName()
14453         (getLatexName):
14454
14455         * lyx_main.C (init): fix starting  of LyX when the binary is a
14456         link from so,ewhere else.
14457
14458         * minibuffer.C: include <cctype> for isprint
14459
14460 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14461
14462         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14463         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14464         name clash with InsetCollapsable's width function.
14465
14466 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14467
14468         * lastfiles.C: include <iterator>
14469
14470 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14471
14472         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14473         std::count.
14474
14475         * buffer.C (makeLaTeXFile): ditto.
14476         Also make loop operation more transparent.
14477
14478 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14479
14480         * ToolbarDefaults.C: remove trailing comma closing namespace.
14481
14482         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14483
14484         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14485         as in WorkArea.
14486
14487         * trans.C (Load): comment out unused variable, allowed.
14488
14489 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14490
14491         * minibuffer.[Ch] (append_char): new method to recieve input from the
14492         drop-down completion browser. If a key was pressed, then recieve this
14493         char and append it to the existing string.
14494         (peek_event): modify the positioning data passed to the completion
14495         browser so that it can be placed above the minibuffer rather than below.
14496 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14497
14498         * LyXAction.C (init): alloe error-next for readonly documents.
14499
14500         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14501         count.
14502
14503 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14504
14505         * bufferlist.C (readFile): create the buffer _after_ checking that
14506         the file exists.
14507
14508         * lyxfunc.C (verboseDispatch): fix handling of arguments
14509
14510         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14511
14512         * lyxrc.C: use string::erase() instead of initializing to "".
14513
14514
14515 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14516
14517         * BufferView_pimpl.h:
14518         * BufferView_pimpl.C:
14519         * WorkArea.h:
14520         * WorkArea.C:
14521         * text2.C: tell X when we have made a selection for copying
14522
14523 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14524
14525         * BufferView_pimpl.C (MenuInsertLyXFile):
14526         * lyxfunc.C (menuNew):
14527         (open):
14528         (doImport): add shortcuts to directory buttons
14529
14530         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14531         open a float)
14532
14533         * lyxfunc.C (setStatusMessage):
14534         (getStatusMessage): new methods
14535         (getStatus):use setStatusMessage instead of setErrorMessage
14536         (dispatch): when function is disabled, set error message here
14537         [instead of in getStatus previously]
14538
14539         * BufferView_pimpl.C (workAreaButtonRelease): update
14540         toolbar/menubar here too.
14541
14542 2002-01-13  Allan Rae  <rae@lyx.org>
14543
14544         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14545         Now seems indestructible.  Remaining task is to audit all other
14546         code affected by deleteEmptyParagraphMechanism.  One small quirk
14547         left is that an empty document with an error in the preamble can
14548         be made to report an error but no error box appears.  I don't know
14549         where it goes.
14550         (removeAutoInsets): Improved comments.
14551
14552 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14553
14554         * Thesaurus.h:
14555         * Thesaurus.C: update for Aiksaurus 0.14
14556
14557 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14558
14559         * text2.C (firstParagraph): removed member function, all uses
14560         replaces with ownerParagraph
14561         (redoParagraphs): here
14562         (updateInset): here
14563         (toggleAppendix): here
14564         * BufferView2.C (insertErrors): here
14565         (setCursorFromRow): here
14566
14567 2002-01-13  Allan Rae  <rae@lyx.org>
14568
14569         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14570         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14571         There is still a way to segfault this although you may have to do this
14572         multiple times: Have an InsetERT with an unknown command in it.
14573         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14574         <down-arrow>, <Enter> again, View->DVI, BANG!
14575
14576         * text2.C (setCursor):
14577         (deleteEmptyParagraphMechanism):
14578         * lyxtext.h (setCursor):
14579         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14580         Making use of the return value may help fix other bugs.
14581
14582 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14583
14584         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14585
14586         * LyXView.C (updateMenubar): call MenuBar::update here
14587         (updateToolbar): but not here
14588         (showState): do not update toolbar/menubar
14589
14590         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14591         should need to care about that.
14592
14593         * lyxfunc.C (verboseDispatch): simplify a bit
14594         (getStatus): have a version which takes a pseudoaction, and
14595         another which requires a (kb_action,string).
14596
14597         * LyXAction.C (retrieveActionArg): make it work also when action
14598         is not a pseudo-action.
14599         (getActionName): simplify a bit
14600         (helpText):
14601
14602 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14603
14604         * lyxfunc.C (verboseDispatch): new families of methods with
14605         several ways to specify a command and a bool to indicate whether
14606         the command name and shortcut should be displayed in minibuffer
14607         (eventually, we could extend that to a finer bitmask like
14608         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14609         (dispatch): the pristine dispatch command which just, well,
14610         dispatchs! Note it still sets its result to minibuffer; I'm not
14611         sure we want that.
14612
14613         * lyxfunc.h: remove setHintMessage
14614
14615         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14616
14617 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14618
14619         * BufferView_pimpl.C (specialChar): delete new inset if we have
14620         not been able to insert it.
14621
14622         * kbmap.C: revert to using int instead of kb_action, since all we
14623         are dealing with is pseudo-actions.
14624
14625         * LyXAction.C (searchActionArg): change to return int instead of
14626         kb_action, since the result is a pseudoaction.
14627
14628 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14629
14630         * buffer.C (insertErtContents): Fix (partially) the font bug.
14631
14632 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14633
14634         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14635         as the other one is broken on my machine!
14636
14637 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14638
14639         * commandtags.h:
14640         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14641
14642 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14643
14644         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14645         reflect their actual use. Provide compatibility code for older lyxrc
14646         files.
14647
14648         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14649         FL_NORMAL_STYLE.
14650         change names of popup font variables in line with the changes to lyxrc.C
14651
14652 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14653
14654         * buffer.C (asciiParagraph): avoid outputing a word twice after
14655         an inset.
14656
14657         * lyxrc.C (getDescription): document that document_path and
14658         template_path can be empty.
14659
14660 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14661
14662         * LaTeXFeatures.C (getMacros):
14663         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14664
14665         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14666
14667         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14668         getPackages.
14669         (getPackages): rename feature "floats" to "float". Use an array to
14670         iterate over 'simple' features (i.e. just a \usepackage). Add
14671         handling of "amsmath" (renamed from "amsstyle").
14672
14673 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14674
14675         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14676         features list.
14677
14678 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14679
14680         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14681         FuncStaus::FuncStatus & FuncStaus::some_method().
14682
14683 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14684
14685         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14686         of the func_satus stuff. Edited and massaged in various ways by
14687         JMarc.
14688
14689         * lyxfunc.C (getStatus): use FuncStatus
14690
14691 2002-01-08  Juergen Vigna  <jug@sad.it>
14692
14693         * text.C (nextBreakPoint): use function Inset::isChar().
14694
14695         * paragraph.C (TeXOnePar): use function
14696         Inset::forceDefaultParagraphs.
14697
14698         * buffer.C (latexParagraphs): use function
14699         Inset::forceDefaultParagraphs.
14700
14701 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14702
14703         * lyx_gui.C (init): set the style of the menu popups to
14704         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14705
14706 2002-01-07  Juergen Vigna  <jug@sad.it>
14707
14708         * text.C (setHeightOfRow): small fix
14709         (prepareToPrint): don't look at alignment if we don't have the place
14710         for doing it.
14711
14712 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14713
14714         * box.C: New file. Move the Box methods and functions out of box.h,
14715         following Lars' suggestion.
14716
14717 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14718
14719         * box.h: #include "support/LOstream.h", needed for inlined function.
14720
14721         * lyxtextclass.C:
14722         * lyxtextclasslist.C: added some using std declarations.
14723
14724 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14725
14726         * box.h: make signed dimensions to allow insets wider than
14727           the screen (bug #162)
14728
14729         * BufferView_pimpl.C: add some insetHit debug
14730
14731 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14732
14733         * vc-backend.C: add FIXME
14734
14735 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14736
14737         * lyxfunc.C (getStatus): enable code for showing math font status
14738         in toolbar/menu.
14739
14740 2002-01-07  Juergen Vigna  <jug@sad.it>
14741
14742         * text.C (nextBreakPoint): removed debug output not needed anymore.
14743
14744 2002-01-06  Juergen Vigna  <jug@sad.it>
14745
14746         * text.C (nextBreakPoint): fixed up this function we had this bug
14747         since ever but now hopefully we break row better.
14748         (insertChar): we have to check if an inset is the next char as it
14749         could now happen that a large inset is causing a break.
14750
14751 2002-01-05  Juergen Vigna  <jug@sad.it>
14752
14753         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14754         if it doesn't like to be drawed.
14755
14756 2002-01-04  Juergen Vigna  <jug@sad.it>
14757
14758         * BufferView2.C (lockInset): forgot to set a cursor.
14759
14760         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14761
14762 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14763
14764         * FormMathsPanel.C:
14765         * FormMathsPanel.h
14766         * MathsSymbols.C:
14767         * form_maths_panel.C:
14768         * form_maths_panel.h:
14769         * form_maths_panel.fd: implemented sub- and super- buttons in math
14770         panel.
14771
14772         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14773         (or ^ space) to be used as in TeX (req'd by Andr�.
14774
14775         * lyxfunc.C: Allow ^ and _ again to be used both as
14776         super/subscript (mathed) and as themselves (in text).
14777
14778 2002-01-03  Allan Rae  <rae@lyx.org>
14779
14780         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14781         "LyX" or the filename of the current buffer if it has one.  This is a
14782         modified form of John Levon's patch.
14783
14784         * XFormsView.C (setWindowTitle): also set icon title.
14785
14786         * LyXView.h (setWindowTitle): signature changed.
14787         * XFormsView.h (setWindowTitle): ditto.
14788
14789 2002-01-02  Juergen Vigna  <jug@sad.it>
14790
14791         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14792
14793 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14794
14795         * screen.C (topCursorVisible): introduce a temp var for
14796         text->cursor.row(), handle the case where this row is null. (kindo
14797         hachish)
14798
14799         * text2.C (setCursor): add a couple of asserts.
14800
14801         * paragraph.h (inset_iterator): add -> operator
14802
14803         * paragraph.[Ch] (autoDeleteInsets): remove member function
14804
14805         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14806         cursor pos correctly and handle inset deletion by itself.
14807         (insertErrors): move iterator declaration out of for expression
14808
14809         * lyxtextclass.C: add <algorithm>
14810
14811         * Makefile.am: added the new files to sources, removed layout.C
14812
14813         * layout.C: removed file
14814
14815         * layout.h: remove LYX_DUMMY_LAYOUT
14816
14817         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14818         layout.
14819
14820         * lyxlayout.[Ch]:
14821         * lyxtextclass.[Ch]:
14822         * lyxtextclasslist.[Ch]: new files
14823
14824         * include order changes to a lot of files, also changes because of
14825         the six new files.
14826
14827 2001-12-27  Juergen Vigna  <jug@sad.it>
14828
14829         * buffer.C (asciiParagraph): more fixes.
14830
14831         * tabular.C (ascii): make ascii export support export of only the
14832         data separated by a column-delimiter.
14833         (ascii): better support for ascii export.
14834
14835         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14836
14837 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14838
14839         * tabular_funcs.C: use a "using std::getline" instead of the
14840         previous fix from Angus (necessary for cxx + lyxstring)
14841
14842 2001-12-24  Juergen Vigna  <jug@sad.it>
14843
14844         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14845
14846         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14847         problems. First check a minipage also if we have some ert-contents
14848         (not only on par->size(), second set the right depth of the paragraph
14849         on the relink to the root-paragraph-list!
14850
14851         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14852         which then did not anymore update the main paragraphs on undo/redo!
14853
14854 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14855
14856         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14857         code. Support all font-changing funcs (even those which are not in
14858         menu currently). Support for reporting font settings in
14859         mathed (disabled until Andre provides a function on mathed's side).
14860
14861         * func_status.h (toggle): small helper function to set toggle
14862         state on a flag.
14863
14864 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14865
14866         * tabular_funcs.C: getline -> std::getline
14867
14868 2001-12-21  Juergen Vigna  <jug@sad.it>
14869
14870         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14871         accessed and could be 0 (I couldn't generate this but it seems
14872         Michael could!).
14873
14874 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14875
14876         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14877         * tabular_funcs.h: here and include iosfwd
14878
14879 2001-12-20  Juergen Vigna  <jug@sad.it>
14880
14881         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14882         inside inset but undo_par was.
14883
14884 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14885
14886         * Thesaurus.C: always include <config.h> in sources.
14887
14888         * Painter.h:
14889         * lyxlookup.h:
14890         * box.h: do not include <config.h> in header files
14891
14892         * text.C (paintLastRow): remove unused variable
14893
14894         * text.C (transformChar):
14895         (insertChar):
14896         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14897
14898         * Painter.C (text):
14899         * font.C (width): rewrite to use uppercase() instead of
14900         islower/toupper.
14901
14902         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14903
14904 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14905
14906         * lyxfind.C: clean up of find failure position change
14907
14908 2001-12-20  Juergen Vigna  <jug@sad.it>
14909
14910         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14911
14912         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14913         (TeXRow): added to LaTeX a single tabular row.
14914         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14915         (Latex): simplified and finally good LT-h/f support.
14916         (various_functions): just small adaptions for LT-h/f support.
14917
14918         * tabular_funcs.[hC]: added and moved here all not classfunctions
14919         of LyXTabular.
14920
14921 2001-12-19  Juergen Vigna  <jug@sad.it>
14922
14923         * tabular.[Ch]: better support for longtabular options (not finished
14924         yet!)
14925
14926 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14927
14928         * text.C (paintLastRow): use the label font instead of the font of
14929         the last character to compute the size of *_BOX. This makes more
14930         sense and avoids a crash with empty paragraphs.
14931         Use Painter::rectangle to draw EMPTY_BOX.
14932
14933 2001-12-19  Juergen Vigna  <jug@sad.it>
14934
14935         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14936         the paragraphs if the replaced paragraph is not the first one!
14937         Tried to delete not used paragraphs but does not work yet so for
14938         now it's inside #ifdef's and by default off!
14939
14940 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14941
14942         * MenuBackend.C: include "lyx_main.h" instead of declaring
14943         lastfiles (actually was declared as LastFiles* instead of a
14944         scoped_ptr).
14945
14946 2001-12-17  Juergen Vigna  <jug@sad.it>
14947
14948         * tabular.C (AppendColumn): applied John's fix
14949
14950 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14951
14952         * BufferView.h:
14953         * BufferView.C:
14954         * BufferView_pimpl.h:
14955         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14956
14957         * Makefile.am:
14958         * box.h: new start of class for above
14959
14960         * lyxfunc.C: ignore space-only minibuffer dispatches.
14961           Show the command name when it doesn't exist
14962
14963         * minibuffer.C: don't add empty lines to the history
14964
14965         * minibuffer.C: add a space on dropdown completion
14966
14967 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14968
14969         * text.C: fix line above/below drawing in insets
14970
14971 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14972
14973         * lyxlength.C (LyXLength): Initialize private variables.
14974
14975 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14976
14977         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14978         when inserting error insets.
14979
14980 2001-12-13  Juergen Vigna  <jug@sad.it>
14981
14982         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14983         actually sometimes the before-paragraph.
14984         (setUndo): don't clear the redostack if we're not actually undoing!
14985
14986 2001-12-06  Juergen Vigna  <jug@sad.it>
14987
14988         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14989         and fixed redoing of main paragraph, so we can use it now ;)
14990
14991         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14992
14993 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14994
14995         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14996         Juergen's request
14997
14998 2001-12-13  André Pönitz <poenitz@gmx.net>
14999
15000         * undostack.[Ch]:
15001         * undo_func.C: minor cleanup
15002
15003 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15004
15005         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
15006         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
15007         font in urw-fonts package which is marked as -urw-fontspecific and
15008         does not work (incidentally, changing the encoding in the
15009         fonts.dir of this package to -adobe-fontspecific fixes the
15010         problem).
15011
15012         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
15013         is a crash when undoing first paragraph (Juergen, please take a
15014         look). THis does not mean the undo fix is wrong, just that it
15015         uncovers problems.
15016
15017         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15018         the (Paragraph*) version when needed instead of duplicating the
15019         code.
15020
15021         * text.C (workWidth): use Inset::parOwner to find out where the
15022         inset has been inserted. This is a huge performance gain for large
15023         documents with lots of insets. If Inset::parOwner is not set, fall
15024         back on the brute force method
15025
15026         * paragraph_pimpl.C (insertInset):
15027         * paragraph.C (Paragraph):
15028         (cutIntoMinibuffer): set parOwner of insets when
15029         inserting/removing them
15030
15031         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15032
15033 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
15034
15035         * commandtags.h:
15036         * LyXAction.C:
15037         * lyx_main.C:
15038         * lyxfunc.C:
15039         * mathed/formulabase.C:
15040         * mathed/math_cursor.[Ch]:
15041         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15042
15043
15044 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * lyxlength.[Ch] (operator!=): new function
15047
15048 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15049
15050         * text.C (workWidth): use Inset::parOwner to find out where the
15051         inset has been inserted. This is a huge performance gain for large
15052         documents with lots of insets. If Inset::parOwner is not set, fall
15053         back on the brute force method
15054
15055         * paragraph_pimpl.C (insertInset):
15056         * paragraph.C (Paragraph):
15057         (cutIntoMinibuffer): set parOwner of insets when
15058         inserting/removing them
15059
15060         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15061
15062 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15063
15064         * tabular-old.C (getTokenValue):
15065         * tabular.C (getTokenValue):
15066         (write_attribute): new versions for LyXLength
15067         (everywhere): adjust the use of widths
15068
15069         * tabular.h: change the type of widths from string to LyXLength
15070
15071 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15072
15073         * paragraph.C: fixed missing line number count when exporting
15074         Environments to LaTeX file
15075
15076         * buffer.C: added informational message for checking line numbers.
15077
15078 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15079
15080         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15081         paragraph, do the 'double space' part, but not the 'empty
15082         paragraph' one.
15083
15084         * text.C (workWidth): small optimization
15085         (getLengthMarkerHeight): use minimal size for negative lengths.
15086
15087 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15088
15089         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15090
15091         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15092
15093 2001-12-11  André Pönitz <poenitz@gmx.net>
15094
15095         * FontLoader.C:
15096         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15097
15098 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15099
15100         * text2.C: keep selection on a setFont()
15101
15102 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15103
15104         * lyx_cb.C: another bv->text misuse, from insert label
15105
15106 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15107
15108         * kbsequence.h:
15109         * kbsequence.C: re-instate nmodifier mask
15110
15111 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15112
15113         * lyx_main.h: make lyxGUI private.
15114
15115 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15116
15117         * lyxfind.C: place the cursor correctly on failed search
15118
15119 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15120
15121         * text.C (getLengthMarkerHeight): for small heights, the arrows
15122         are not always on top/bottom of the text
15123         (drawLengthMarker): smaller arrows; take the left margin in
15124         account; draw also vfills.
15125         (paintFirstRow):
15126         (paintLastRow): remove special code for vfill and standard spaces,
15127         since everything is handled in drawLengthMarker now.
15128
15129 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15130
15131         * buffer.C (insertErtContents): try to handle font and language
15132         interaction a bit better.g
15133
15134         * ColorHandler.C (updateColor): change the hash to cover the whole
15135         LColor enum, ws cleanup
15136         (getGCLinepars): ditto
15137         (getGCLinepars): only lookup in the linecache once.
15138
15139 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15140
15141         * iterators.C (operator++): Make the iterator more robust
15142
15143         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15144         (John's patch)
15145         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15146
15147 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15148
15149         * lyxtext.h:
15150         * text.C: better added space drawing
15151
15152 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15153
15154         * LyXView.C:
15155         * BufferView2.C: fix layout combo update on inset unlock
15156
15157 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15158
15159         * Makefile.am: don't compile unused files
15160
15161 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15162
15163         * lyxfunc.C:
15164         * commandtags.h:
15165         * LyXAction.C: remove old LFUN_LAYOUTNO
15166
15167 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15168
15169         * paragraph_pimpl.h:
15170         * paragraph_pimpl.C: isTextAt() doesn't need font param
15171
15172 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15173
15174         * lyxlex.h:
15175         * lyxlex.C: little cleanup
15176
15177 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15178
15179         * BufferView_pimpl.C: fix insertAscii for insets
15180
15181 2001-12-05  Juergen Vigna  <jug@sad.it>
15182
15183         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15184         set the right font on the "multi" paragraph paste!
15185
15186 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15187
15188         * trans_decl.h:
15189         * trans_mgr.[Ch]:
15190         * trans.[Ch]:
15191         * lyxgluelength.C:
15192         * lyxlength.C: remove out-commented code.
15193
15194         * BufferView_pimpl:
15195         * CutAndPaste.C:
15196         * DepTable.C:
15197         * buffer.C:
15198         * chset.C:
15199         * lastfiles.C:
15200         * lyxlex.C:
15201         * lyxlex_pimpl.C:
15202         * lyxserver.C:
15203         * screen.C:
15204         * tabular-old.C:
15205         * tabular.C:
15206         * text.C:
15207         * trans_mgr.C:
15208         * vc-backend.C: change "while(" to "while ("
15209
15210         * lyxlength.[Ch]: add zero function to check if length is zero or
15211         not
15212         * lyxgluelength.C: use it
15213
15214 2001-12-05  Allan Rae  <rae@lyx.org>
15215
15216         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15217         Works for 2.95.3, from what I understand of Garst's reports this should
15218         work for other g++ versions.  We're screwed if the abs(int) definition
15219         changed between bugfix releases of gcc.
15220
15221 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15222
15223         * text.C: fix chapter label offset !
15224
15225 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15226
15227         * lyxtext.h:
15228         * text.C: fix hfill at end of line, clean up
15229
15230 2001-12-04  Juergen Vigna  <jug@sad.it>
15231
15232         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15233         that we force an update of the inset and it's owners if neccessary.
15234
15235 2001-12-03  Juergen Vigna  <jug@sad.it>
15236
15237         * text.C (rowLast): simplified code
15238
15239 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15240
15241         * lyxfunc.C: fix show options on timeout
15242
15243 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15244
15245         * screen.C (topCursorVisible): scroll half a page when the cursor
15246         reached top of bottom of screen
15247
15248 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15249
15250         * minibuffer.C: deactivate on loss of focus
15251
15252 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15253
15254         * vspace.[Ch] (operator!=): add operator.
15255
15256 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15257
15258         * BufferView_pimpl.C: refuse to open an inset when
15259         there's a selection.
15260
15261 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15262
15263         * BufferView_pimpl.C: allow to click on RHS of full row insets
15264
15265 2001-11-30  Juergen Vigna  <jug@sad.it>
15266
15267         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15268         insets for undo reasons.
15269
15270 2001-11-28  André Pönitz <poenitz@gmx.net>
15271
15272         * vspace.[Ch]: cosmetical changes
15273
15274 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15275
15276         * LyXAction.h:
15277         * LyXAction.C:
15278         * lyxfunc.h:
15279         * lyxfunc.C:
15280         * kbmap.h:
15281         * kbmap.C:
15282         * lyxrc.C:
15283         * kbsequence.h:
15284         * kbsequence.C: part re-write of old kb code
15285
15286         * Painter.C:
15287         * WorkArea.C: remove Lgb_bug_find_hack
15288
15289 2001-11-30  José Matos <jamatos@fep.up.pt>
15290
15291         * buffer.C (makeDocBookFile): add a comment to point a hack.
15292         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15293         Fixed a double write of labels.
15294
15295 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15296
15297         * LaTeX.C:
15298         * LaTeX.h Fixed bug in LaTeX class where it would not
15299         re-run latex if no depfiles were changed, but the .dvi was removed.
15300
15301 2001-11-28  André Pönitz <poenitz@gmx.net>
15302
15303         * all the files from the change on 2001/11/26:
15304         use lyx::layout_type instead of LyXTextClass::size_type
15305         use lyx::textclass_type instead of LyXTextClassList::size_type
15306
15307 2001-11-29  Juergen Vigna  <jug@sad.it>
15308
15309         * text.C: added support for paragraph::isFreeSpacing()
15310
15311         * buffer.C: same as above
15312
15313         * paragraph.h: inserted isFreeSpacing() function to enable
15314         FreeSpacing inside InsetERT.
15315
15316         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15317         of the paragraph's in the cut/copy buffer to 0!
15318
15319         * text2.C (removeRow): remove the assert as it can!
15320
15321         * lyxtext.h: added helper function firstRow returning firstrow and
15322         made firstrow private again.
15323
15324         * BufferView2.C (lockInset): don't relock if we're already locked!
15325
15326         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15327         the only paragraph.
15328         (removeRow): added Assert::(firstrow)
15329
15330         * debug.C: forgot to add INSETTEXT here.
15331
15332 2001-11-28  Juergen Vigna  <jug@sad.it>
15333
15334         * sp_spell.C (initialize): changed error text to more general
15335         spellchecker command use (not only ispell!)
15336
15337         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15338
15339         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15340
15341 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15342
15343         * vspace.C: initialise lyxgluelength on failure
15344
15345 2001-11-28  Allan Rae  <rae@lyx.org>
15346
15347         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15348         declaration & definition that looks like a function declaration.
15349
15350 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * BufferView2.C (copy):
15353         (copyEnvironment): do not clear the selection when doing a copy.
15354
15355         * text.C (paintFirstRow): compilation fix
15356
15357 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15358
15359         * tabular.C (Latex): correct line count when writing latex.
15360
15361 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15362
15363         * paragraph_pimpl.h:
15364         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15365           bug a bit
15366
15367 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15368
15369         * text.C:
15370         * LColor.h:
15371         * LColor.C: change vfillline->added_space
15372
15373         * text.C: add markers and text for added space
15374
15375         * vspace.C: fix comment
15376
15377 2001-11-28  André Pönitz <poenitz@gmx.net>
15378
15379         * paragraph.C: whitespace changes
15380         * all the other files from the change on 2001/11/26:
15381         change *::pos_type into lyx::pos_type
15382
15383 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15384
15385         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15386         language of the document when inserting error insets.
15387
15388 2001-11-26  André Pönitz <poenitz@gmx.net>
15389
15390         * BufferView_pimpl.[Ch]:
15391         *       CutAndPaste.C:
15392         * buffer.[Ch]:
15393         * lyxcursor.[Ch]:
15394         * lyxfind.C:
15395         * lyxfunc.C:
15396         * lyxrow.[Ch]:
15397         * paragraph.[Ch]:
15398         * paragraph_pimpl.[Ch]:
15399         * sp_spell.C:
15400         * text.C:
15401         * text2.C: reduce header dependencies, introduce type for positions
15402
15403 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15404
15405         * <various>: change to use Alert.h
15406
15407 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15408
15409         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15410         when encountering an unknown token.
15411         (readLyXformat2): Show an error message if there were unknown tokens.
15412
15413 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15414
15415         * BufferView2.C:
15416         * BufferView_pimpl.C:
15417         * buffer.C:
15418         * paragraph.h:
15419         * text.C:
15420         * text2.C: use par->isInset()
15421
15422 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15423
15424         * paragraph_pimpl.h:
15425         * paragraph_pimpl.C: cleanup
15426
15427 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15428
15429         * text2.C (removeRow):
15430         * text.C (setHeightOfRow): remove useless (and costly) call to
15431         getRow.
15432
15433 2001-11-20  Allan Rae  <rae@lyx.org>
15434
15435         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15436         Now need Inset*::checkInsertChar() to return true for appropriate
15437         cases so that the characters in the minibuffer will actually be
15438         inserted.
15439
15440 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15441
15442         * text.C: change the order of the includes.
15443         (workWidth): initialize it at once.
15444         (workWidth): make maxw unsigned
15445         (setHeightOfRow): remove unused variable (inset)
15446         (selectSelectedWord): remove unused variable (inset)
15447         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15448
15449 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15450
15451         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15452         server is not running.
15453         (openConnection):
15454         (closeConnection): add debug info when server is disabled.
15455
15456         * ColorHandler.C (getGCForeground): send debug message to GUI
15457         channel.
15458
15459         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15460
15461         * kbmap.C (bind): modify because return conventions of
15462         kb_sequence::parse have changed.
15463
15464         * kbsequence.C (parse): only ignore spaces and not any stupid
15465         control character. This avoids tests like s[i] <= ' ', which are
15466         guaranteed to fail with 8bit characters and signed chars.
15467         Change return code to string::npos when there have been no error
15468         (0 was a bad idea when error is at first character)
15469
15470 2001-11-14  José Matos  <jamatos@fep.up.pt>
15471
15472         * buffer.h:
15473         * buffer.C (simpleDocBookOnePar): removed unused argument.
15474
15475 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15476
15477         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15478         insets which are part of a word. Paragraph::isLetter takes care of
15479         that now. Use Paragraph::isInset to identify insets.
15480         (selectSelectedWord): do not test for hyphenation break.
15481
15482         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15483         that protected spaces are considered as spaces.
15484
15485         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15486         Inset::isLetter.
15487
15488 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15489
15490         * lyxserver.h:
15491         * lyxserver.C: fix it. and small cleanup.
15492
15493 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15494
15495         * BufferView_pimpl.C: use inline helpers
15496
15497         * LaTeXFeatures.h:
15498         * LaTeXFeatures.C: fix typos
15499
15500         * Spacing.h:
15501         * Spacing.C: move spacing_string into class
15502
15503         * ToolbarDefaults.C: move stuff into namespace anon
15504
15505         * layout.h: update enum
15506
15507         * lyxfunc.C: use better debug
15508
15509         * minibuffer.h: fix typo
15510
15511         * debug.h:
15512         * debug.C:
15513         * WorkArea.C: add and use Debug::WORKAREA
15514
15515         * lyxtext.h:
15516         * text.C:
15517         * text2.C: code re-organisation, inline helpers
15518
15519 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15520
15521         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15522         std::vector.empty().
15523
15524 2001-11-09  Allan Rae  <rae@lyx.org>
15525
15526         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15527         '\n's after tables.  Tabular and ERT inset work now makes this no
15528         longer necessary.
15529
15530 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15531
15532         * minibuffer.h:
15533         * minibuffer.C: fix crash, improve drop-down completion
15534
15535 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15536
15537         * lyxserver.h:
15538         * lyxserver.C: invalidate fd's when doing endPipe()
15539
15540 2001-11-08  José Matos  <jamatos@fep.up.pt>
15541
15542         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15543         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15544
15545         * paragraph.h:
15546         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15547
15548 2001-11-07  José Matos  <jamatos@fep.up.pt>
15549
15550         * buffer.h:
15551         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15552         const qualifier.
15553
15554         * buffer.C (sgmlOpenTag):
15555         * buffer.C (sgmlCloseTag): removed debug info.
15556
15557         * buffer.h (sgmlOpenTag):
15558         * buffer.h (sgmlCloseTag): made public.
15559
15560 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15561
15562         * buffer.C (saveParamsAsDefaults):
15563         * lyx_cb.C (MenuLayoutSave): remove
15564
15565         * LyXAction.C (init):
15566         * commandtags.h:
15567         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15568
15569 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15570
15571         * buffer.C (setPaperStuff): removed from here...
15572
15573         * bufferparams.C (setPaperStuff): ... and moved there.
15574
15575 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15576
15577         * minibuffer.h:
15578         * minibuffer.C:
15579         * XFormsView.C: add support for drop-down completion
15580
15581 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15582
15583         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15584         commands.
15585
15586 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15587
15588         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15589         disabled.
15590
15591 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15592
15593         * lyx_main.C: change ref to known bugs
15594
15595 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15596
15597         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15598         to work around older babel problems.
15599
15600 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15601
15602         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15603
15604 2001-10-24  Juergen Vigna  <jug@sad.it>
15605
15606         * tabular-old.C (ReadOld): below variable changes reflected.
15607
15608         * tabular.[Ch]: added ltType struct for longtable header/footer
15609         defines and changed all instances where they are used. Added
15610         future support for double top/bottom rows.
15611
15612 2001-10-24  José Matos  <jamatos@fep.up.pt>
15613
15614         * buffer.h (docbookHandleCaption):
15615         * buffer.C (docbookHandleCaption): removed unused function.
15616         (makeDocBookFile): moved docbook supported version to v4.1.
15617
15618 2001-10-24  José Matos  <jamatos@fep.up.pt>
15619
15620         * tabular.h:
15621         * tabular.C (docbookRow): new function to export docbook code of a row.
15622         (DocBook): now honors the longtable flags.
15623
15624 2001-10-23  José Matos  <jamatos@fep.up.pt>
15625
15626         * LaTeXFeatures.h:
15627         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15628         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15629
15630         * buffer.C (makeLinuxDocFile):
15631         (makeDocBookFile): reworked the preamble, more clean, and with
15632         support for lyx defined entities. Changed the document declaration
15633         to be more XML friendly.
15634
15635         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15636         if we need to output XML that should be done with a filter.
15637
15638 2001-10-22  Juergen Vigna  <jug@sad.it>
15639
15640         * sp_pspell.h (class PSpell): add alive function needed in the
15641         controller to see if the spellchecker could be started.
15642
15643 2001-10-22  Juergen Vigna  <jug@sad.it>
15644
15645         * buffer.C (insertStringAsLines): modify the font for inserting
15646         chars in certain conditions by calling checkInsertChar(font).
15647
15648 2001-10-19  Juergen Vigna  <jug@sad.it>
15649
15650         * text.C (workWidth): use getRow instead of wrong algorithm.
15651         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15652
15653 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15654
15655         * lyxserver.h:
15656         * lyxserver.C:
15657         * lyx_main.h:
15658         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15659
15660 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * text.C (workWidth): do not search for the exact row when
15663         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15664         optimization for big documents.
15665
15666 2001-10-18  Juergen Vigna  <jug@sad.it>
15667
15668         * text.C (workWidth): new function with added Inset * parameter.
15669
15670 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15671
15672         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15673
15674         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15675         change return type of getColumnNearX.
15676
15677
15678         * text.C (changeRegionCase): use uppercase/lowercase instead of
15679         toupper/tolower.
15680         (leftMargin):
15681         (rightMargin): simplify code by factoring out the uses of
15682         textclasslist.
15683         (labelFill):
15684         (numberOfHfills):
15685         (setHeightOfRow):
15686         (appendParagraph): use Paragraph::size_type
15687
15688 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15689
15690         * vspace.C (asLatexString): add a missing break
15691
15692 2001-10-15  Herbert Voss  <voss@perce.de>
15693
15694         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15695
15696 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15697
15698         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15699         is not available.
15700
15701 2001-10-10  André Pönitz <poenitz@gmx.net>
15702
15703         * lyxfunc.C: removed greek_kb_flag.
15704
15705 2001-10-10  Herbert Voss  <voss@perce.de>
15706
15707         * lyx_main.C: delete global string help_lyxdir.
15708
15709 2001-10-09  Herbert Voss  <voss@perce.de>
15710
15711         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15712
15713         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15714
15715         * lyx_main.C: added global string help_lyxdir.
15716
15717         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15718
15719 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15720
15721         * lyxrc.C (set_font_norm_type): support iso8859-4
15722
15723 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15724
15725         * LaTeX.C (deplog): add another regex for MikTeX
15726
15727 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15728
15729         * lyxrc.C (set_font_norm_type): support iso8859-3
15730
15731 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15732
15733         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15734
15735         * LaTeXFeatures.C: remove special case of french and index
15736
15737         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15738         before \begin{document}). This solves several incompatibilities.
15739
15740 2001-10-03  Garst Reese  <reese@isn.net>
15741
15742         * lyx_cb.C: change CheckTex error msg.
15743
15744 2001-10-03  José Matos  <jamatos@fep.up.pt>
15745
15746         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15747
15748 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15749
15750         * .cvsignore: update
15751
15752         * lyx_main.C (commandLineVersionInfo): use new style version info.
15753
15754         * buffer.C (writeFile):
15755         (makeLaTeXFile):
15756         (makeLinuxDocFile):
15757         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15758
15759         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15760
15761         * version.h: update to use stuff in version.C
15762
15763         * version.C.in: new file. Contains version information determined
15764         at compile time. This is a merging of version.h and
15765         version_info.h.in.
15766
15767 2001-10-03  Juergen Vigna  <jug@sad.it>
15768
15769         * BufferView_pimpl.C (update): don't change "dirty" status in
15770         updateInset call.
15771
15772 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15773
15774         * WorkArea.C (c-tor): re-position version string slightly.
15775
15776 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15777
15778         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15779         revert to previous code.
15780
15781         WorkArea.[Ch]: (show, destroySplash): methods removed.
15782
15783         WorkArea.C: rework code so that it's an amalgam of the codes before and
15784         after the splash screen was moved to WorkArea.
15785
15786 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15787
15788         * lyxrc.C (read):
15789         * vspace.C (inPixels):
15790         (lyx_advance):
15791         * kbmap.C (bind):
15792         * buffer.C (insertStringAsLines):
15793         (asciiParagraph): fix types to be large enough
15794
15795         * lyxlex_pimpl.h: change member status from short to int
15796
15797         * layout.h: fix type of endlabeltype
15798
15799         * kbmap.C (bind):
15800         * kbsequence.C (parse): change return type to string::size_type
15801
15802         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15803         variable
15804
15805         * Bullet.C (bulletSize):
15806         (bulletEntry): do not use short ints as parameters
15807
15808         * BufferView2.C (insertLyXFile): change a char to an int.
15809
15810         * WorkArea.C (WorkArea): remove unneeded floats in computation
15811
15812 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15813
15814         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15815
15816         * paragraph.C (asString): Do not ignore newline/hfill chars when
15817         copying to the clipboard.
15818
15819 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15820
15821         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15822         after a multi-line inset.
15823
15824 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15825
15826         * paragraph.C (validate): Set NeedLyXFootnoteCode
15827
15828 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15829
15830         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15831         and decrease-error to decrease.
15832
15833 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15834
15835         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15836         it more readable (should be equivalent)
15837
15838 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15839
15840         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15841
15842 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15843
15844         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15845         of a cursor (row, etc.) after a character has been deleted
15846         (deleteEmptyParagraphMechanism): call the method above on _all_
15847         cursors held by the LyXText when a double space has been
15848         detected/deleted.
15849
15850 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15851
15852         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15853         pixmap.
15854         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15855
15856         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15857         background. Use greyOut() and the new show() methods to toggle between
15858         the foreground and background. Add code to remove the splash after
15859         its initial showing.
15860
15861         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15862         (create_forms): no longer call Dialogs::showSplash.
15863
15864 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15865
15866         * .cvsignore: add version_info.h
15867
15868 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15869
15870         * version_info.h.in: new file
15871
15872         * Makefile.am: add version_info.h.in
15873
15874         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15875         version_info.h instead of VERSION_INFO
15876
15877 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15878
15879         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15880         The ERT inset now returns string().
15881
15882 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15883
15884         * lyxtext.h, text.C (selectNextWord): renamed as
15885         selectNextWordToSpellcheck.
15886
15887         * text.C (selectNextWordToSpellcheck): Modified to not select
15888         words inside an ERT inset.
15889
15890 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15891
15892         * lyx_cb.C (MenuLayoutSave): change a bit the question
15893
15894         * sp_base.h: include <sys/types.h>
15895
15896 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15897
15898         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15899
15900 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15901
15902         * several files: fix typos in user-visible strings
15903
15904 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15905
15906         * text2.C (pasteSelection): do not set the selection, since it
15907         will be cleared later. Actually, the intent was to fix the way the
15908         selection was set, but I figured rmoving the code was just as good.
15909
15910 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15911
15912         * FontLoader.C (available): Check if font is available without
15913         loading the font.
15914
15915 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15916
15917         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15918
15919 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15920
15921         * lyxrc.[Ch]: added display_graphics variable and associated code.
15922
15923 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15924
15925         * bufferparams.C (hasClassDefaults): new method. Returns true if
15926         the buffer parameters correspond to known class defaults
15927
15928 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15929
15930         * XFormsView.C (show): set minimum size to the main window.
15931
15932 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15933
15934         * text2.C (copySelection):
15935         (cutSelection):
15936         * lyxfind.C (LyXReplace):
15937         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15938         LyXText::selectionAsString.
15939
15940         * paragraph.C (asString): add "label" argument to the second form
15941
15942         * text2.C (selectionAsString): add "label" argument and pass it to
15943         Paragraph::asString.
15944
15945 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15946
15947         * lyx_main.C (commandLineHelp): remove version information
15948
15949 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15950
15951         * lyx_main.C: add -version commandline option
15952
15953 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15954
15955         * paragraph.h: make the optional constructor arg required instead.
15956         some modifications to other files because of this.
15957
15958         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15959
15960         * lyxserver.C (C_LyXComm_callback): make it static
15961
15962         * lyx_main.C (error_handler): make it static
15963
15964         * lyx_gui.C (LyX_XErrHandler): make it static
15965
15966         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15967
15968         * WorkArea.C: make the extern "C" methods static.
15969
15970         * Makefile.am (lyx_LDADD): simplify
15971
15972 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15973
15974         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15975         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15976
15977         * LyXAction.C (init):
15978         * lyxfunc.C (dispatch): associated code removal.
15979
15980 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15981
15982         * lyxfont.h (isSymbolFont): shut off warning
15983
15984         * text.C (setHeightOfRow):
15985         (getVisibleRow): fix crash with empty paragraphs which have a
15986         bottom line
15987
15988 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15989
15990         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15991         code.
15992
15993 2001-09-04  José Matos  <jamatos@fep.up.pt>
15994         * buffer.C
15995         * buffer.h
15996         * tabular.C (docbook): rename docBook method to docbook.
15997
15998 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15999
16000         * Makefile.am: add dependencies to main.o.
16001
16002 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
16003
16004         * FontLoader.C (available): Return false if !lyxrc.use_gui
16005
16006 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
16007
16008         * FontInfo.C (query):
16009         * converter.C (view):
16010         * importer.C (Import):
16011         * exporter.C (Export): Can not -> cannot.
16012
16013 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
16014
16015         * BufferView_pimpl.C: allow to create index inset even if
16016           string is empty
16017
16018 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16019
16020         * buffer.C (getLists): replace boost::tie code with an explicit pair
16021         as boost::tie can break some compilers.
16022
16023         * iterators.h: Added a std:: declaration to the return type of
16024         ParIterator::size.
16025
16026 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
16027
16028         * lyxrc.C: add help for view_dvi_paper_option, default to safe
16029           case.
16030
16031 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
16032
16033         * iterators.[Ch]: New files. Provide paragraph iterators.
16034
16035         * buffer.C (changeLanguage): Use paragraph iterators.
16036         (isMultiLingual): ditto
16037
16038         * BufferView2.C (ChangeInsets): Use paragraph iterators.
16039
16040 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
16041
16042         * FontLoader.C: Support for cmr font.
16043
16044 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
16045
16046         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16047         (available): New method.
16048
16049         * FontInfo.C (getFontname): Use scalable fonts even when
16050         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16051         found.
16052
16053 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16054
16055         * converter.C (Formats::view): reverted! Incorrect fix.
16056
16057 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16058
16059         * converter.C (Formats::view): only output the -paper option
16060         if the dvi viewer is xdvi, thereby fixing bug #233429.
16061
16062 2001-08-23  Herbert Voss  <voss@perce>
16063
16064         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16065
16066 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
16067
16068         * Spacing.h (Spacing): Set space to Default on in the default
16069         constructor.
16070
16071 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16072
16073         * vc-backend.h (RCS::versionString): add RCS to version
16074         (CVS::versionString): add CVS to version
16075
16076         * vc-backend.C (scanMaster): do not add CVS to version.
16077         (scanMaster): do not add RCS to version
16078
16079         * lyxvc.C (versionString): new method
16080
16081         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16082
16083 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16084
16085         * Spacing.C (set): initialize fval
16086
16087 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16088
16089         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16090         " or \.
16091
16092 2001-08-16  Juergen Vigna  <jug@sad.it>
16093
16094         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16095
16096 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16097
16098         * BufferView_pimpl.C:
16099         * figureForm.C:
16100         * lyxtext.h:
16101         * text2.C: setParagraph takes linespacing now
16102
16103 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16104
16105         * LyxAction.C: add internal LFUN_CITATION_INSERT
16106
16107         * LyXView.C: actually apply fix
16108
16109         * bufferlist.C: fix open non-existent file
16110
16111         * lyxfind.C: fix indentation
16112
16113         * lyxfunc.C: remove unneeded assert, fix typo
16114
16115 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16116
16117         * MenuBackend.C: use "Floatname List"
16118
16119 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16120
16121         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16122         when converting LaTeX layout to insetERT.
16123         Generate a non-collapsed float when reading old float
16124
16125 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16126
16127         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16128         ERT insets.
16129
16130 2001-08-13  Juergen Vigna  <jug@sad.it>
16131
16132         * text.C (fill): return 0 instead of 20 as this seems to be the more
16133         correct value.
16134
16135 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16136
16137         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16138         lyxrc.font_norm.
16139
16140 2001-08-13  Juergen Vigna  <jug@sad.it>
16141
16142         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16143         casesensitive off.
16144         (SearchBackward): comment out the unlocking of the inset_owner this
16145         should not be needed!
16146
16147 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16148
16149         * Many files: Remove inherit_language, and add latex_language
16150
16151         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16152         collapsible insets.
16153
16154 2001-08-10  Juergen Vigna  <jug@sad.it>
16155
16156         * text.C (prepareToPrint): fixed hfill-width in draw!
16157
16158         * BufferView2.C (selectLastWord): save the selection cursor as this
16159         now is cleared in the function LyXText::clearSelection!
16160
16161 2001-08-08  Juergen Vigna  <jug@sad.it>
16162
16163         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16164         BACKSPACE type functions.
16165
16166         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16167         is only cutted from the document but not put in the cut-buffer, where
16168         still the old stuff should be.
16169
16170         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16171
16172         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16173
16174         * tabular.C (SetWidthOfCell): fixed special case where the width
16175         was not updated!
16176         (LeftLine): handle '|' in align_special.
16177         (RightLine): ditto
16178         (LeftAlreadyDrawed): ditto
16179         (SetWidthOfCell): ditto
16180
16181 2001-08-07  Juergen Vigna  <jug@sad.it>
16182
16183         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16184
16185 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16186
16187         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16188         * lyxlex.[hC]: ditto
16189
16190 2001-08-06  Juergen Vigna  <jug@sad.it>
16191
16192         * text.C (getVisibleRow): fix up row clearing a bit.
16193
16194 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16195
16196         * minibuffer.C: make sure the X server sees the changes in the input.
16197
16198 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16199
16200         * paragraph.C (getFont): split into...
16201         (getLabelFont): this
16202         (getLayoutFont): and this
16203         * paragraph_pimpl.C (realizeFont): calling this
16204
16205         * text2.C (getFont): split into...
16206         (getLayoutFont): this
16207         (getLabelFont): and this
16208         (realizeFont): all three calling this
16209
16210         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16211         files where used.
16212
16213 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16214
16215         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16216
16217 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16218
16219         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16220         layouts from the Quote inset insertion.
16221
16222 2001-08-03  Juergen Vigna  <jug@sad.it>
16223
16224         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16225
16226         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16227         only if status not is already CHANGED_IN_DRAW (second level).
16228
16229         * text.C (draw): don't set the need_break_row when inside an
16230         InsetText LyXText.
16231
16232 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16233
16234         * buffer.C (parseSingleLyXformat2Token): handle more latex
16235         conversion cases.
16236
16237         * bufferview_funcs.[hC]: change function names to
16238         begin with small char, adjust other files.
16239
16240 2001-08-02  André Pönitz <poenitz@gmx.net>
16241
16242         * lyxfunc.C:
16243         BufferView_pimpl.C: remove broken special code for math-greek
16244
16245 2001-08-02  Juergen Vigna  <jug@sad.it>
16246
16247         * BufferView_pimpl.C (update): redone this function so that we
16248         update the text again if there was a CHANGE_IN_DRAW.
16249
16250         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16251         (drawFromTo): added a new internal bool which is used by draw() and
16252         redraw() function.
16253         (general): some cursor drawing problems fixed.
16254
16255 2001-08-01  Juergen Vigna  <jug@sad.it>
16256
16257         * lyxfind.C (LyXFind): fixed
16258         (SearchForward): ditto
16259         (SearchBackward): ditto
16260
16261         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16262         spurius drawing of the cursor in the main area.
16263
16264         * text2.C (status): small fix which could lead to a segfault!
16265         (clearSelection): remove unneeded BufferView param.
16266
16267 2001-08-01  André Pönitz <poenitz@gmx.net>
16268
16269         * lyxfunc.C: small change due to changed mathed interface
16270
16271 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16272
16273         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16274
16275 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16276
16277         * lyxfunc.c: fail gracefully if file doesn't exist
16278
16279         * LyXSendto.C:
16280         * buffer.C:
16281         * lyxfunc.C:
16282         * BufferView_pimpl.C: IsDirWriteable() proto changed
16283
16284         * LyXView.C: fix updateWindowTitle() to store the last title
16285
16286 2001-07-31  Juergen Vigna  <jug@sad.it>
16287
16288         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16289         the font (wrong since using of Paragraph::highestFontInRange).
16290
16291         * paragraph.C (highestFontInRange): added a default_size parameter.
16292
16293         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16294         (setHeightOfRow): reformat
16295
16296 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16297
16298         * converter.[hC] + affected files: move to (inital-char)lowercase
16299         function names.
16300
16301         * ParagraphParameters.C (ParagraphParameters): remove commented code
16302
16303         * PainterBase.[Ch]: remove commented code
16304
16305         * LaTeXFeatures.h: add "bool floats" for float.sty
16306
16307         * LaTeXFeatures.C (LaTeXFeatures): init floats
16308         (require): handle float
16309         (getPackages): do it with floats
16310
16311 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16312
16313         * BufferView_pimpl.C (Dispatch): improve handling of
16314         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16315
16316         * commandtags.h: #include lyxfont.h here temporarily to avoid
16317         keybinding bug.
16318
16319         * bufferlist.h: include LString.h here.
16320
16321 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16322
16323         * text2.C (getStringToIndex): new method.
16324
16325 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16326
16327         * *: Reduced header file dependencies all over.
16328
16329 2001-07-30  Baruch Even  <baruch@lyx.org>
16330
16331         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16332
16333 2001-07-29  Baruch Even  <baruch@lyx.org>
16334
16335         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16336
16337 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16338
16339         * ParameterStruct.h (endif): add a default constructor to make
16340         sure that all variables is initialized.
16341
16342         * ParagraphParameters.C (ParagraphParameters): adjust
16343
16344 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16345
16346         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16347         index; also, check that there is something to index, and that it
16348         does not span over several paragraphs.
16349         (doubleClick): use WHOLE_WORD_STRICT for double click.
16350
16351         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16352
16353         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16354         scheme.
16355
16356 2001-07-26  Baruch Even  <baruch@lyx.org>
16357
16358         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16359         an InsetFig figure, backwards compatible reading of old figure code.
16360
16361 2001-07-27  Juergen Vigna  <jug@sad.it>
16362
16363         * text2.C: font.realize function adaption.
16364
16365         * text.C (draw): add a warnings lyxerr text if needed.
16366
16367         * layout.C: font.realize function adaption.
16368
16369         * language.C: add inherit_language and implement it's handlings
16370
16371         * bufferview_funcs.C (StyleReset): remove language parameter from
16372         font creation (should be language_inherit now).
16373
16374         * bufferparams.C (writeFile): handle ignore_language.
16375
16376         * paragraph.C (getFontSettings): the language has to be resolved
16377         otherwise we have problems in LyXFont!
16378
16379         * lyxfont.C (lyxWriteChanges): added document_language parameter
16380         (update): removed unneeded language parameter
16381
16382         * paragraph.C (validate): fixed wrong output of color-package when
16383         using interface colors for certain fonts in certain environments,
16384         which should not seen as that on the final output.
16385
16386 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16387
16388         * BufferView_pimpl.C:
16389         * Thesaurus.h:
16390         * Thesaurus.C:
16391         * Makefile.am:
16392         * commandtags.h:
16393         * LyXAction.C: add thesaurus support
16394
16395         * lyxfind.h:
16396         * lyxfind.C: add "once" parameter, for thesaurus, to not
16397           move to the next match
16398
16399 2001-07-26  Juergen Vigna  <jug@sad.it>
16400
16401         * lyxfont.C (realize): honor ignore_language too!
16402         (resolved): ditto.
16403
16404         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16405
16406         * text.C (draw): one place more for ignore_language to not draw
16407         itself!
16408
16409 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16410
16411         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16412
16413 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16414
16415         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16416         the minipage conversion problem.
16417
16418 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16419
16420         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16421         insert an inset.
16422
16423 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16424
16425         * BufferView.h: don't forward declare WorkArea
16426
16427         * BufferView.C: don't include WorkArea.h
16428
16429 2001-07-25  André Pönitz <poenitz@gmx.net>
16430
16431         * commandtags.h:
16432         * LyXAction.C:
16433         * lyxfunc.C:  new LFUN 'math-space'
16434
16435         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16436
16437 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16438
16439         * text2.C (toggleInset): call open/close
16440
16441 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16442
16443         * lyxfunc.C (dispatch): add debug for the disabled case
16444
16445         * font.C (buttonText): make similar to rectText
16446
16447         * buffer.C (readInset): comment out parsing of insetlist and
16448         insttheorem
16449
16450         * PainterBase.C (rectText): small correction
16451
16452         * BufferView_pimpl.C: comment out insettheorem and insetlist
16453         * LyXAction.C: ditto
16454         * commandtags.h: ditto
16455
16456 2001-07-24  Juergen Vigna  <jug@sad.it>
16457
16458         * text.C (draw): honor the ignore_language.
16459
16460         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16461
16462 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16463
16464         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16465         char inset.
16466
16467 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16468
16469         * lyxtext.h: remove unused (and unimplemented) methods
16470
16471 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16472
16473         * text.C (getVisibleRow): honor background color
16474
16475         * PainterBase.h:
16476         * Painter.h: remove default color argument for fillRectangle
16477
16478         * text.C (backgroundColor): new method
16479
16480 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16481
16482         * text.C (getVisibleRow): adjust
16483
16484         * font.[Ch] (rectText): new method, metrics
16485         (buttonText): new method, metrics
16486
16487         * PainterBase.[hC]: make rectText and buttonText always draw and take
16488         fewer paramteres.
16489
16490 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16491
16492         * ToolbarDefaults.C (read):
16493         * MenuBackend.C (read): allow escaping in all strings
16494
16495         * BufferView_pimpl.C (insertAndEditInset): new method.
16496         (Dispatch): use insertAndEditInset whenever appropriate.
16497
16498         * BufferView_pimpl.C (insertNote): removed
16499
16500         * BufferView_pimpl.C (smartQuote): new method, moved from
16501         BufferView; if an insetquote cannot be inserted, insert a '"'
16502         character instead.
16503
16504         * BufferView2.C: remove insertCorrectQuote();
16505
16506         * lyxfunc.C (getStatus): Add support for all remaingin
16507         inset-insert lfuns.
16508
16509         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16510
16511         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16512         command (necessary to pass " as parameter of self-insert.
16513
16514         * text.C (selectWordWhenUnderCursor):
16515         (selectWord): add word_location parameter
16516         (selectWordWhenUnderCursor): same + remove special code for word
16517         boundary.
16518         (selectNextWord): use kind() to guess type of insetspecialchar,
16519         not latex().
16520
16521         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16522         (insertErtContents): create ert insets as collapsed.
16523         (readInset): better compatibility code for Info inset.
16524
16525 2001-07-20  Juergen Vigna  <jug@sad.it>
16526
16527         * lyxfunc.C (dispatch): use always LyXFind now!
16528
16529         * text2.C (init): add a reinit flag so that the LyXText can be
16530         reinited instead of deleted and reallocated (used in InsetText).
16531
16532         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16533
16534         * text.C: ditto
16535
16536         * text2.C: ditto
16537
16538 2001-07-18  Juergen Vigna  <jug@sad.it>
16539
16540         * text.C (selectNextWord): handle insets inside inset by calling
16541         always the bv->text functions so that we can go up the_locking_inset!
16542
16543         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16544         in strange locations when inside an inset!
16545
16546         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16547         handling to include insets.
16548
16549         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16550
16551 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16552
16553         * LyXAction.C (init):
16554         * commandtags.h:
16555         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16556         LIGATURE_BREAK, since the name is so stupid.
16557
16558 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16559
16560         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16561         InsetInfos.
16562
16563         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16564
16565         * sp_form.[Ch]: remove.
16566
16567         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16568
16569         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16570         InsetInfo.
16571
16572         * src/buffer.C (readInset): ditto.
16573
16574 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16575
16576         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16577         menuSeparator(), endOfSentenceDot(), ldots() and
16578         hyphenationPoint(), which are therefore removed.
16579         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16580
16581         * LyXAction.C (init):
16582         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16583
16584         * paragraph.C (getWord): removed.
16585
16586         * BufferView_pimpl.C (Dispatch): use last word or selection for
16587         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16588
16589         * lyx_main.C (queryUserLyXDir): do not ask before creating
16590         user_dir, except if it has been named explicitely.
16591
16592 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16593
16594         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16595         a document of zero size.
16596
16597 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16598
16599         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16600         approriately in the c-tor and in require().
16601         (getPackages): output the appropriate LaTeX for natbib support.
16602
16603         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16604         variables "use_natbib" and "use_numerical_citations" when reading the
16605         LyX file.
16606         (readInset): read the various natbib cite commands.
16607         (validate): white-space change.
16608
16609         * bufferparams.[Ch]: new variables "bool use_natbib" and
16610         "bool use_numerical_citations".
16611         (writeFile): output them in the LyX file.
16612
16613 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16614
16615         * lyxfunc.C (getStatus): add support for all the inset insertion
16616         commands.
16617
16618         * text2.C (insertInset):
16619         * paragraph.C (insetAllowed):
16620         * BufferView_pimpl.C (insertInset): update to take in account the
16621         renaming of insertInsetAllowed
16622
16623         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16624
16625         * text2.C (getInset): new method. returns inset at cursor position.
16626
16627         * BufferView_pimpl.C (Dispatch): changes because of this.
16628
16629         * LyXAction.C (init): rename open-stuff to inset-toggle.
16630
16631         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16632
16633         * text2.C (toggleInset): renamed from openStuff; use
16634         Inset::open().
16635
16636 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16637
16638         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16639
16640         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16641
16642 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16643
16644         * buffer.C (readLyXformat2): Add filename to the error dialog
16645
16646 2001-07-18  Juergen Vigna  <jug@sad.it>
16647
16648         * tabular.C (GetCellNumber): put an assert here instead of the check!
16649
16650 2001-07-17  Juergen Vigna  <jug@sad.it>
16651
16652         * BufferView_pimpl.C (toggleSelection): adapted too.
16653
16654         * text.C (selectNextWord): adapted for use with insets.
16655         (selectSelectedWord): ditto
16656
16657 2001-07-17  Juergen Vigna  <jug@sad.it>
16658
16659         * sp_spell.C (PSpell): fix initialitation order.
16660
16661 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16662
16663         * paragraph.C: spacing
16664
16665 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16666
16667         * sp_spell.C: repair language selection for pspell
16668
16669 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16670
16671         * lyxfunc.h: change more methods to begin with lower char.
16672
16673 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16674
16675         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16676         for unknown layouts.
16677
16678 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16679
16680         * buffer.C (readLyXformat2): Generate an error dialog if there are
16681         unknown layouts.
16682
16683 2001-07-16  Juergen Vigna  <jug@sad.it>
16684
16685         * sp_spell.C: always compile ISpell part.
16686
16687         * lyxrc.C: added use_pspell entry and it's handling.
16688
16689 2001-07-13  Juergen Vigna  <jug@sad.it>
16690
16691         * sp_spell.C: removed double includes.
16692
16693 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16694
16695         Consistent use of Lsstream.h:
16696         * Lsstream.h: added using std::stringstream for consistencies sake.
16697
16698         * buffer.C: removed using std::stringstream
16699
16700         * lyxfont.C (stateText):
16701         * paragraph.C (asString):
16702         * text.C (selectNextWord, selectSelectedWord):
16703         * text2.C (setCounter):
16704         * vspace.C (asString, asLatexString):
16705         std::ostringstream -> ostringstream.
16706
16707 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16708
16709         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16710         * commandtags.h: add LFUN_HELP_ABOUTLYX
16711         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16712
16713 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16714
16715         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16716         cursorToggle()
16717         * lyx_gui_misc.C: remove spellchecker
16718         * lyxfunc.C: showSpellchecker
16719         * sp_base.h: added
16720         * sp_ispell.h: added
16721         * sp_pspell.h: added
16722         * sp_spell.C: added
16723         * sp_form.[Ch]: removed
16724         * spellchecker.[Ch]: removed
16725
16726 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16727
16728         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16729         is set.
16730         (simpleTeXSpecialChars): Simply print the input character without
16731         any special translation if pass_thru is set.
16732
16733         * layout.h: Added bool pass_thru to layout class for being able to
16734         implement pass through of a paragraph for Literate Programming.
16735
16736         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16737         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16738         * layout.C (Read): add "passthru" to list of layout tags and add
16739         code to set the pass_thru boolean when it is read.
16740
16741 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16742
16743         * trans_decl.h: remove allowed from KmodInfo
16744
16745         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16746         remove allowed code
16747         (Load): adjust
16748
16749         * paragraph_pimpl.C (erase): use boost::prior
16750
16751         * Painter.C (text): use data() instead of c_str() when length is
16752         also provided.
16753         * WorkArea.C (putClipboard): ditto
16754         * font.h (width): ditto
16755
16756         * BufferView2.C: use it-> instead of (*it). for iterators
16757         * texrow.C: ditto
16758         * paragraph_pimpl.C: ditto
16759         * paragraph.C: ditto
16760         * minibuffer.C: ditto
16761         * language.C: ditto
16762         * kbmap.C: ditto
16763         * encoding.C: ditto
16764         * counters.C: ditto
16765         * converter.C: ditto
16766         * chset.C: ditto
16767         * Variables.C: ditto
16768         * TextCache.C: ditto
16769         * MenuBackend.C: ditto
16770         * LyXAction.C: ditto
16771         * LColor.C: ditto
16772         * FloatList.C: ditto
16773         * DepTable.C: ditto
16774         * ColorHandler.C (LyXColorHandler): ditto
16775
16776 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16777
16778         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16779
16780         * text2.C (openStuff): reintroduce this method (which had been
16781         nuked in NEW_INSETS frenzy).
16782
16783         * lyxfunc.C (Dispatch): when an action has not been handled, use
16784         its name in the error message, not its number.
16785
16786         * paragraph.C (inInset): change method name to begin with lowercase.
16787
16788         * undo_funcs.C:
16789         * text2.C: updates because of this.
16790
16791 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16792
16793         * ToolbarDefaults.C (add): add spaces in error message
16794
16795 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16796
16797         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16798         (readLyXformat2): rename return_par to first_par, use lyxlex's
16799         pushToken and remove the manual push handling.
16800         (parseSingleLyXformat2Token): add another ert comp. variable:
16801         in_tabular, rename return_par to first_par. handle newlines better
16802
16803 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16804
16805         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16806
16807 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16808
16809         * text2.C (getParFromID): removed
16810
16811         * buffer.C (getParFromID): new method moved form lyxtext.
16812         * BufferView2.C (insertErrors): adjust
16813         (setCursorFromRow): adjust
16814         * BufferView_pimpl.C (restorePosition): adjust
16815         * lyxfunc.C (Dispatch): adjust
16816         * undo_funcs.C (textUndo): adjust
16817         (textRedo): adjust
16818         (textHandleUndo): adjust
16819         (textHandleUndo): adjust
16820
16821 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16822
16823         * buffer.C: up' the LYX_FORMAT
16824
16825         * lyxfont.h: turn NO_LATEX on as default
16826
16827         * buffer.C (insertErtContents): new methods of tex style compability.
16828         (parseSingleLyXformat2Token): use it several places.
16829         * tabular.C (OldFormatRead): and here
16830
16831 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16832
16833         * text2.C: remove some commented code.
16834         reindent file.
16835
16836         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16837         * trans.C: changes because of the above.
16838
16839 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16840
16841         * text2.C (setCounter): Fix counters bug with bibliography layout.
16842
16843 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16844
16845         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16846         own member functions
16847         (simpleTeXSpecialChars): ditto
16848
16849 2001-07-06  Juergen Vigna  <jug@sad.it>
16850
16851         * a lot of files: changed the access to LyXText::status and the
16852         call of undo-functions.
16853
16854         * undo.[Ch]: added a inset_id to the undo informations.
16855
16856         * undo_funcs.[Ch]: added and moved here all undo functions.
16857
16858         * lyxtext.h: give the status enum a weight, made status_ a private
16859         variable and made accessor functions for it, removed the whole bunch
16860         of undo-functions as they are now in their own file, make some
16861         functions publically available. Added function ownerParagraph with
16862         int parameter.
16863
16864         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16865         made InInset() a const function, added getParFromID() function.
16866
16867         * buffer.[Ch]: added const version for inset_iterator functions,
16868         added getInsetFromID() function.
16869
16870         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16871         changed undo functions for new version.
16872
16873 2001-07-05  Juergen Vigna  <jug@sad.it>
16874
16875         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16876         unknow mechanism does not call the proper constructor but only this
16877         one also if I request the other!?
16878
16879 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16880
16881         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16882
16883         * text2.C (LyXText): use initialization lists.
16884
16885         * lyxtext.h (Selection): initialize set_ and mark_
16886         (init): remove method
16887
16888 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16889
16890         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16891
16892 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16893
16894         * screen.[Ch]: change method names to begin with lowercase
16895
16896         * BufferView_pimpl.C (updateScrollbar): simplify further and
16897         hopefully make it a bit faster.
16898
16899 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16900
16901         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16902         calling directly xforms functions.
16903
16904         * Painter.C (Painter):
16905         * lyx_cb.C (MenuWrite):
16906         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16907         fl_display.
16908
16909         * lyx_gui.C: remove bogus guiruntime extern declaration.
16910
16911 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16912
16913         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16914         in NEW_INSETS
16915         (redoDrawingOfParagraph): ditto
16916         (redoParagraphs): ditto
16917         (cutSelection): don't create a object for CutAndPaste use the
16918         static method directly
16919         (pasteSelection): ditto
16920
16921         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16922         LyXview (+ rename)
16923
16924 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16925
16926         * modifications to some other files because of this.
16927
16928         * Makefile.am (lyx_SOURCES): add XFormsView
16929
16930         * XFormsView.[Ch]: new files
16931
16932         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16933         the main window. Move the gui dependent stuff to XFormsView
16934
16935 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16936
16937         * tabular.C (GetCellInset): update cur_cell also in the row/col
16938         version of this function.
16939
16940         * lyxfunc.C: no need to include figure_form.h here.
16941
16942         * FontLoader.h:
16943         * lyxfunc.h:
16944         * lyxscreen.h:
16945         * text2.C:
16946         * lyxvc.C: no need to include forms.h here.
16947
16948 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16949
16950         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16951
16952         * lyxfunc.C (Dispatch):
16953         * Spacing.C (set):
16954         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16955         constructor argument.
16956
16957 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16958
16959         * paragraph.C (Paragraph): dont't clear, and just set layout.
16960         (makeSameLayout): use params's copy contructor.
16961
16962         * ParagraphParameters.[Ch] (makeSame): delete method
16963
16964 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16965
16966         * Variables.[Ch]: fix indentation, rename set to isSet
16967
16968 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16969
16970         * lyxfunc.C (Dispatch): fix typo
16971
16972 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16973
16974         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16975         upper_bound.
16976
16977         * bufferlist.C: include assert.h for emergencyWrite().
16978
16979 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16980
16981         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16982           give up at last (bug #425202) !
16983
16984 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16985
16986         * lyx_gui_misc.C:
16987         * sp_form.h:
16988         * sp_form.C:
16989         * spellchecker.h:
16990         * spellchecker.C: strip spellchecker options and bring up
16991           preferences tab instead
16992
16993 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16994
16995         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16996         the istringstream constructor
16997
16998 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16999
17000         * paragraph.C (getLayout): fix return value
17001
17002         * paragraph.h: do not declare getLayout as inline.
17003
17004         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
17005
17006 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17007
17008         * lyxcursor.h (operator<): new func
17009         (operator>): new func
17010         (operator>=): new func
17011         (operator<=): new func
17012
17013         * text.C (changeCase): use selection.start and selection.end
17014         (changeRegionCase): require from to be <= to. Require par to be a
17015         valid paragraph.
17016
17017         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17018
17019 2001-06-27  Juergen Vigna  <jug@sad.it>
17020
17021         * text.C (cursorLeftOneWord): changed to return the cursor and added
17022         overlay with BufferView * parameter which calls this one.
17023         (getWord): added
17024         (selectWord): use new getWord function.
17025         (changeCase): renamed from changeWordCase as and extended to work
17026         also on selections.
17027
17028         * lyxtext.h: added enum word_location
17029
17030         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17031         changeCase as this operates now also on selections.
17032
17033 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
17034
17035         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17036
17037         * many files: send debug output to Debug::INFO instead of
17038         Debug::ANY.
17039
17040         * converter.C (View):
17041         (Convert):
17042         (Move): send debug output to Debug::FILES instead of console.
17043
17044 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
17045
17046         * lyxfunc.C (getStatus): use func_status
17047
17048         * func_status.h: new header, describing the results of
17049         LyXFunc::getStatus;
17050
17051         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17052         LFUN_MATH_HALIGN.
17053
17054 2001-06-25  The LyX Project  <jug@sad.it>
17055
17056         * buffer.C (sgmlOpenTag):
17057         (sgmlCloseTag):
17058         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
17059
17060 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17061
17062         * text2.C: remove some dead code
17063
17064         * tabular.C (GetCellInset): store the last cell checked (gotten)
17065
17066         * tabular.h: add the helper for the speedup
17067
17068         * lyxtext.h: remove some dead code
17069
17070 2001-06-26  The LyX Project  <Asger>
17071
17072         * paragraph.C: Change export to LaTeX of alignment to
17073         \begin{center} and family for better roundtrip work with reLyX.
17074
17075         * Tune the math drawing a bit.
17076
17077 2001-06-25  The LyX Project  <Asger>
17078
17079         * LColor.C (LColor): New color for math background. New color
17080         for buttons.
17081
17082 2001-06-25  The LyX Project  <jug@sad.it>
17083
17084         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17085
17086         * lyxfunc.C (Open):
17087         * bufferlist.C (newFile): do not restrict to files ending with
17088         .lyx
17089
17090         * BufferView_pimpl.C (MenuInsertLyXFile):
17091
17092 2001-06-24  The LyX Project  <jug@sad.it>
17093
17094         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17095         of compare_no_case
17096
17097 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17098
17099         * lyxtext.h: rename most methods to begin with a small char.
17100         Lots of changes because of this.
17101
17102         * paragraph.C (Paragraph): do not call fitToSize
17103         (erase): call Pimpl::erase
17104         (insertChar): call Pimpl::insertChar
17105         (insertInset): call Pipl::insertInset
17106         (breakParagraph): do not call fitToSize
17107         (breakParagraphConservative): do not call fitToSize
17108         (fitToSize): remove method
17109
17110         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17111
17112 2001-06-24  The LyX Project  <Asger>
17113
17114         * Fix Qt compilation^2
17115
17116 2001-06-24  The LyX Project  <jug@sad.it>
17117
17118         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17119         depthHook(getDepth()-1).
17120
17121         * paragraph.h:
17122         * ParagraphParameters.h:
17123         * ParameterStruct.h: change type of depth to unsigned int ==
17124         depth_type. Many adaptations to other files before of that.
17125
17126 2001-06-24  The LyX Project  <Asger>
17127
17128         * Fix Qt compilation.
17129
17130 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17131
17132         * paragraph.h: renamed several methods to begin with small letter.
17133         several changes to many parts of the code because of this.
17134
17135 2001-06-23  The LyX Project  <jug@sad.it>
17136
17137         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17138         rewritten to discard all double spaces when KeepEmpty is off
17139         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17140         to only handle newlines but not fiddle with spaces and friends.
17141
17142         * lyxfunc.C (MenuNew): when doing 'new from template', use
17143         template_path as default directory
17144
17145 2001-06-23  The LyX Project  <Asger>
17146
17147         * Clean-up of header file includes all over
17148         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17149
17150 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17151
17152         * paragraph.h: renamed from lyxparagraph.h
17153
17154 2001-06-23  Asger  <lyx@violet.home.sad.it>
17155
17156         * Buffer.h: Removed Buffer::resize
17157         * BufferList.h: Removed BufferList::resize
17158         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17159         the document lazily when we change the width, or the font settings.
17160
17161 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17162
17163         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17164
17165 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17166
17167         * buffer.h: remove out of date comment
17168
17169 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17170
17171         * lyxscreen.h:
17172         * screen.C: fix "theoretical" GC leak
17173
17174 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17175
17176         * LaTeX.C (scanAuxFile):
17177         (deplog): remove trailing \r when reading stream (useful under
17178         win32)
17179
17180 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17181
17182         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17183         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17184         and BufferView::theLockingInset(Inset*), so should use them and not
17185         access bv_->text->the_locking_inset directly.
17186
17187         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17188
17189 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17190
17191         * Makefile.am:
17192         * tex-defs.h: remove old unused file
17193
17194 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17195
17196         * BufferView_pimpl.C: fix typo, remove minibuffer message
17197           when buffer has loaded
17198
17199 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17200
17201         * lyxfunc.C (Dispatch): use stringstream
17202         (MenuNew): use stringstream
17203         (Open): use stringstream
17204
17205         * importer.C (Import): use stringstream
17206
17207         * bufferview_funcs.C (CurrentState): use stringstream
17208
17209         * LaTeX.C (run): use stringstream
17210
17211         * BufferView_pimpl.C (savePosition): use stringstream
17212         (restorePosition): use stringstream
17213         (MenuInsertLyXFile): use stringstream
17214
17215 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17216
17217         * BufferView.C:
17218         * Bullet.C:
17219         * ColorHandler.C:
17220         * FontInfo.C:
17221         * FontLoader.C:
17222         * LColor.C:
17223         * LaTeXFeatures.C:
17224         * Painter.C:
17225         * gettext.C:
17226         * lyx_gui_misc.C:
17227         * lyxserver.C:
17228         * vspace.C: removed // -*- C++ -*- as first line.
17229
17230         * lyxfind.h:
17231         * version.h: added // -*- C++ -*- as first line.
17232
17233 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17234
17235         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17236
17237         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17238         of string
17239
17240 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17241
17242         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17243         of floats.
17244
17245 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17246
17247         * gettext.C: include LString.h even when --disable-nls is on.
17248
17249 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17250
17251         * converter.h (Get): changed argument type from int to
17252         FormatList::size_type to avoid unnecessary conversion.
17253
17254         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17255         before using it.
17256
17257 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17258
17259         * gettext.h: include LString.h even when --disable-nls is on.
17260
17261 2001-06-07  Juergen Vigna  <jug@sad.it>
17262
17263         * text.C (BreakAgain): subst spaces with tabs.
17264
17265         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17266         (resizeInsetsLyXText): set force on resizeLyXText.
17267
17268 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17269
17270         * gettext.h (gettext_init):
17271         (locale_init): use a real definition instead of a macro
17272
17273 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17274
17275         * Bufferview_pimpl.C:
17276         * LColor.h:
17277         * LColor.C: further lcolor tidies
17278
17279 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17280
17281         * BufferView_pimpl.C (updateScrollbar): simplify.
17282
17283         * BufferView2.C: don't include insets/insetinfo.h, change
17284         prototype for insertInset and call the Pimpl version. let
17285         updateInset call Pimpl version.
17286
17287         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17288         gotoInset to BufferView::Pimpl
17289
17290 2001-06-01  Juergen Vigna  <jug@sad.it>
17291
17292         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17293         inside a LockingInset (is the update needed at all?).
17294
17295 2001-05-31  Juergen Vigna  <jug@sad.it>
17296
17297         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17298         here not the old one otherwise how should we compare it afterwards
17299         if it's the same!
17300
17301 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17302
17303         * lyxfont.C:
17304         * tabular.C:
17305         * tabular-old.C:
17306         * FontInfo.C: bring C functions into global namespace when
17307         necessary
17308
17309 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17310
17311         * LString.h: make sure config.h has been loaded before LString.h.
17312
17313         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17314         (one for each char read by EatLine!).
17315
17316         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17317         variables.
17318
17319 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17320
17321         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17322         to the same as the par we break from
17323
17324 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17325
17326         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17327
17328         * MenuBackend.C (expand): also create menu entries for wide
17329         versions of the floats.
17330
17331         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17332
17333         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17334
17335         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17336         frontends/Makefile.am
17337
17338         * text2.C: adjust
17339         * text.C: adjust
17340
17341
17342         * tabular.C (getTokenValue): add std::
17343
17344         * tabular-old.C (getTokenValue): add std::
17345         (getTokenValue): ditto
17346         (getTokenValue): ditto
17347
17348         * screen.C (ToggleSelection): adjust
17349
17350         * lyxtext.h: put selection cursors inside a Selection struct.
17351
17352         * lyxfunc.C (moveCursorUpdate): adjust
17353
17354         * lyxfont.C (latexWriteStartChanges): add std::
17355
17356         * lyxfind.C: adjust
17357
17358         * font.h: delete with(char const *, LyXFont const &)
17359
17360         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17361
17362         * FontInfo.C (getFontname): add std::
17363
17364         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17365         (workAreaButtonPress): adjust
17366         (tripleClick): adjust
17367         (update): adjust
17368         (moveCursorUpdate): adjust
17369         (Dispatch): adjust
17370
17371         * BufferView2.C (gotoInset): adjust
17372
17373 2001-05-30  Juergen Vigna  <jug@sad.it>
17374
17375         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17376         to check pspell I add this as default as I now have new pspell
17377         libraries and they seem to use this.
17378
17379 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17380
17381         * text2.C (CutSelection): make the cursor valid before the call to
17382         ClearSelection.
17383
17384 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17385
17386         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17387         relied on 0 terminated strings and other horrors. Bug found due to
17388         the new assert in lyxstring!
17389
17390         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17391         KP_ keys.
17392
17393 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17394
17395         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17396         to latinkeys.bind.
17397
17398         * lyxfunc.C (processKeySym): change method of getting to the
17399         self-insert char.
17400
17401         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17402         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17403         * BufferView_pimpl.[Ch]: here as private methods.
17404
17405 2001-05-28  Juergen Vigna  <jug@sad.it>
17406
17407         * text.C (SetHeightOfRow): added the update() call again as it is
17408         needed to initialize inset dimensions!
17409
17410 2001-05-16  Juergen Vigna  <jug@sad.it>
17411
17412         * text2.C (SetCharFont): Add new function with BufferView * and
17413         bool toggleall parameters for setting insets internal fonts.
17414         (SetFont): Freeze the undo as we may change fonts in Insets and
17415         all this change should be inside only one Undo!
17416
17417         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17418         setting font's in insets as for them we have the SetFont function!
17419
17420 2001-05-15  Juergen Vigna  <jug@sad.it>
17421
17422         * text2.C (ClearSelection): to be sure we REALLY don't have any
17423         selection anymore!
17424
17425         * tabular.C (TeXCellPreamble): fixed the left border problem for
17426         multicolumn cells.
17427
17428 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17429
17430         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17431         dependancy file
17432
17433 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17434
17435         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17436         LFUN_BREAKPARAGRAPH.
17437
17438         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17439         help test to "internal only", similar for LFUN_INSERT_URL
17440
17441         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17442         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17443         auto_region_delete and deadkeys.
17444
17445 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17446
17447         * LColor.h:
17448         * LColor.C: remove some dead entries, tidy a little
17449
17450 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17451
17452         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17453         commented code.
17454         (Dispatch): implement LFUN_ESCAPE
17455
17456         * commandtags.h: add LFUN_ESCAPE
17457
17458         * LyXAction.C (init): add entry for LFUN_ESCAPE
17459
17460         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17461         Remove commented code.
17462         (insertNote): moved here
17463         (open_new_inset): moved here
17464
17465         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17466         BufferView_pimpl
17467
17468 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17469
17470         * kbmap.C (findbinding): clean it up and make it work correctly.
17471
17472         * lyx_main.C (init): do not pass argc and argv as parameters
17473
17474 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17475
17476         * buffer.C: fix path for OS/2 & Win32
17477
17478         * lyx_gui.C:
17479         * lyx_main:
17480         * lyx_main.C: Added os:: class.
17481
17482         * os2_defines.h: update
17483
17484 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17485
17486         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17487         better by trying again with reduced state.
17488
17489 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17490
17491         * lyxrc.C (read): print error about invalid key sequence only when
17492         debugging (because not all latinX keysyms are known to some X
17493         servers)
17494
17495         * kbsequence.C (getiso): add a few std:: qualifiers
17496         (getiso): comment out extra return statement.
17497
17498 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17499
17500         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17501         handling.
17502         (Dispatch): enhance the accent inset a bit. (not perfect)
17503
17504 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17505
17506         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17507
17508 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17509
17510         * bufferlist.C (emergencyWrite): fix assert() call
17511
17512 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17513
17514         * text.C (InsertChar): Added trivial patch to only send the "you
17515         can not do multiple spaces this way" message once during a
17516         session.
17517
17518 2001-05-08  Baruch Even  <baruch@lyx.org>
17519
17520         * Makefile.am: Changed order of libraries to get LyX to link properly
17521         with the gnome frontend.
17522
17523 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17524
17525         * LaTeXFeatures.h: add a std:: qualifier
17526
17527 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17528
17529         * paragraph.C (String): use stringstream
17530
17531 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17532
17533         * paragraph.C (writeFile): remove footflag arg
17534
17535         * buffer.C (makeLaTeXFile): use stringstream
17536         (latexParagraphs): remove footnot gurba
17537
17538         * LaTeXFeatures.C (getPackages): use stringstream
17539         (getMacros): likewise
17540         (getTClassPreamble): likewise
17541         (getFloatDefinitions): new method
17542
17543         * paragraph.C (writeFile): reindent
17544         (Erase): reindent
17545
17546         * WorkArea.h: revert the xpos + etc changes.
17547
17548         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17549
17550         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17551
17552         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17553         (pasteSelection): likewise
17554         * text2.C (CreateUndo): likewise
17555
17556 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17557
17558         * minibuffer.C (peek_event): temporarily reduce the functionality
17559         of the minibuffer (to allow args on lfuns)
17560
17561         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17562         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17563
17564         * buffer.C (readInset): add compability reading of old float
17565         lists, add reading of new style float list.
17566         (readInset): avoid reevaluation of inscmd.getCmdName()
17567         (getLists): reindent
17568
17569         * MenuBackend.C (MenuItem): implement parsing of
17570         md_floatlistinsert and md_floatinsert.
17571         (expand::LastFiles): move initalizaton of iterators out of loop,
17572         avoid reevaluation.
17573         (expand::Documents): introduce typdedef vector<string> Strings,
17574         and use it.
17575         (expand::ExportFormats): introduce typedef vector<Format const *>
17576         Formats, and use it.
17577         (expand): implement FloatListInsert and FloatInsert.
17578
17579         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17580         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17581         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17582
17583         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17584         handling.
17585         (Dispatch::LFUN_FLOAT_LIST): implement
17586
17587 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17588
17589         * LaTeX.C (run): Fix problem with --export code.
17590
17591 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17592
17593         * BufferView.[Ch] (workarea): removed.
17594         (getClipboard) new method; wrapper for workarea()->getClipboard()
17595
17596         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17597         bug.
17598
17599         * WorkArea.h (width, height, xpos, ypos): These methods all
17600         returned the dimensions of the work_area sub-area of WorkArea,
17601         resulting in a position error if the WorkArea were resized. Now
17602         return the dimensions of the entire WorkArea.
17603
17604         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17605
17606 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17607
17608         * LaTeX.C (deplog): correct the syntax of regex reg1
17609
17610 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17611
17612         * undo.C: remove !NEW_INSETS cruft
17613
17614 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17615
17616         * text2.C: remove !NEW_INSETS cruft
17617
17618         * text.C: remove !NEW_INSETS cruft
17619
17620         * tabular.C: remove !NEW_INSETS cruft
17621
17622         * spellchecker.C: remove !NEW_INSETS cruft
17623
17624         * lyxtext.h: remove !NEW_INSETS cruft
17625
17626         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17627
17628         * lyxfunc.C: remove !NEW_INSETS cruft
17629
17630         * lyxfind.C: remove !NEW_INSETS cruft
17631
17632         * lyx_cb.C: remove !NEW_INSETS cruft
17633
17634         * figureForm.C: remove  !NEW_INSETS cruft
17635
17636         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17637
17638         * buffer.[Ch]: remove !NEW_INSETS cruft
17639
17640         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17641
17642         * CutAndPaste.C: remove !NEW_INSETS cruft
17643
17644         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17645
17646         * BufferView2.C: remove !NEW_INSETS cruft
17647
17648         * BufferView.h: remove !NEW_INSETS cruft
17649
17650 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17651
17652         * Lsstream.h: include LString.h before the sstream headers to
17653         fix problem with gcc 2.95.3 and lyxstring
17654
17655 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17656
17657         * lyx_main.C: add using directives when needed for C functions
17658         declared in std:: namespace.
17659
17660 2001-04-27  Juergen Vigna  <jug@sad.it>
17661
17662         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17663         (SetHeightOfRow): comment out the update call should not be needed!
17664
17665 2001-04-13  Juergen Vigna  <jug@sad.it>
17666
17667         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17668         (LyXTabular): tried to minimize operator= operations (and realized
17669         hopfully Lars wish).
17670
17671 2001-04-27  Juergen Vigna  <jug@sad.it>
17672
17673         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17674
17675 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17676
17677         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17678
17679         * buffer.C (readInset): hack to make listof algorithm work
17680
17681         * BufferView_pimpl.C: hack to make listof algorithm work
17682
17683 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17684
17685         * LyXAction.C: removed all !NEW_INSETS cruft
17686         (init): moved lfun_item in method
17687
17688         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17689
17690 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17691
17692         * BufferView2.C (theLockingInset): white space.
17693
17694 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17695
17696         * minibuffer.C: include <iostream>
17697
17698         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17699
17700         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17701
17702         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17703
17704         * text.[Ch] (TransposeChars): new method
17705
17706 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17707
17708         * call message directly through LyXView instead of through LyXFunc
17709         * BufferView2.C: adjust
17710         * BufferView_pimpl.C: adjust
17711         * FontLoader.C: adjust
17712         * buffer.C: adjust
17713         * bufferview_funcs.C: adjust
17714         * converter.C: adjust
17715         * figureForm.C: adjust
17716         * importer.C: adjust
17717         * lyx_cb.C: adjust
17718         * lyx_gui_misc.C: adjust
17719         * lyxfunc.C: adjust
17720         * lyxvc.C: adjust
17721         * text2.C: adjust
17722         + more files in subdirs
17723
17724         * lyxparagraph.h (size): move up int file
17725         (GetLayout): ditto
17726
17727         * adjust all uses of Assert to lyx::Assert.
17728
17729         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17730         lyxfunctional in namespace lyx
17731         * layout.C (hasLayout): ditto
17732         (GetLayout): ditto
17733         (GetLayout): ditto
17734         (delete_layout): ditto
17735         (NumberOfClass): ditto
17736         * converter.C (GetFormat): ditto
17737         (GetNumber): ditto
17738         (Add): ditto
17739         (Delete): ditto
17740         (SetViewer): ditto
17741         * bufferlist.C (getFileNames): ditto
17742         (emergencyWriteAll): ditto
17743         (exists): ditto
17744         (getBuffer): ditto
17745         * MenuBackend.C (hasSubmenu): ditto
17746         (hasMenu): ditto
17747         (getMenu): ditto
17748         * BufferView_pimpl.C (getInsetByCode): ditto
17749
17750 2001-04-18  Juergen Vigna  <jug@sad.it>
17751
17752         * vspace.C (asLatexString): fixed the 100% problem.
17753
17754 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17755
17756         * lyxfunc.C (Dispatch):
17757         * minibuffer.C:
17758         * minibuffer.h: add a few std:: qualifiers
17759
17760 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17761
17762         * minibuffer.[Ch]: reimplement so that commands is initiated and
17763         run from lyxfunc, simplified som handling, and made the completion
17764         and history code for complete. wip.
17765
17766         * lyxfunc.C (processKeySym): call message
17767         (miniDispatch): new temporary method
17768         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17769         (LFUN_MESSAGE): implement
17770         (LFUN_MESSAGE_PUSH): implement
17771         (LFUN_MESSAGE_POP): implement
17772         (initMiniBuffer): the initial/defualt minibuffer message.
17773
17774         * lyxfont.[Ch]: inline some more getters
17775
17776         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17777
17778         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17779
17780         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17781         (AutoSave): use LFUN_MESSAGE
17782         (Reconfigure): ditto
17783
17784         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17785
17786         * figureForm.C: use LFUN_MESSAGE
17787
17788         * converter.C (runLaTeX): use LFUN_MESSAGE
17789
17790         * bufferview_funcs.C: use LFUN_MESSAGE
17791         (Melt): ditto
17792         (changeDepth): ditto
17793
17794         * bufferparams.h: use boost::
17795
17796         * bufferlist.h: inherit privately from noncopyable
17797
17798         * bufferlist.C (loadLyXFile): remove some commented code.
17799
17800         * buffer.C (runChktex): use LFUN_MESSAGE
17801
17802         * ShareContainer.h: inherit privately from noncopyable
17803
17804         * ParagraphParameters.[hC] (depth): inline it.
17805
17806         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17807         methods.
17808         (message): new method
17809         (messagePush): ditto
17810         (messagePop): ditto
17811         (show): init minibuffer
17812         (showState): direct call
17813
17814         * LaTeX.[Ch]: inherit privately from noncopyable
17815         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17816         instead of WriteStatus.
17817
17818         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17819
17820         * BufferView_pimpl.C (buffer): don't init minibuffer
17821         (workAreaButtonPress): use LFUN_MESSAGE
17822         (workAreaButtonRelease): ditto
17823         (savePosition): ditto
17824         (restorePosition): ditto
17825         (MenuInsertLyXFile): ditto
17826         (workAreaExpose): don't init minibuffer
17827         (update): remove commented code, simplify
17828
17829         * BufferView2.C (openStuff): use LFUN_MESSAGE
17830         (toggleFloat): ditto
17831         (menuUndo): ditto
17832         (menuRedo): ditto
17833         (copyEnvironment): ditto
17834         (pasteEnvironment): ditto
17835         (copy): ditto
17836         (cut): ditto
17837         (paste): ditto
17838         (gotoInset): ditto
17839         (updateInset): remove some commented code
17840
17841         * lastfiles.h: inherit privately from noncopyable
17842         * layout.h: ditto
17843         * lyx_gui.h: ditto
17844         * lyx_main.h: ditto
17845         * lyxlex.h: ditto
17846         * lyxlex_pimpl.h: ditto
17847
17848         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17849         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17850         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17851
17852         * LyXAction.h: inherit privately from noncopyable, add methods
17853         func_begin, func_end, returning iterators to the func map.
17854
17855         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17856         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17857         (func_begin): new method
17858         (func_end): new method
17859
17860         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17861         and not)
17862         (copySelection): ditto
17863         (pasteSelection): ditto
17864
17865         * BufferView.C: whitespace change
17866         * BufferView.h: inherit privately from noncopyable
17867
17868 2001-04-16  Allan Rae  <rae@lyx.org>
17869
17870         * tabular-old.C (l_getline):
17871         * spellchecker.C (sc_check_word):
17872         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17873         an unrecognised preprocessor directive.  So ensure they're wrapped.
17874
17875 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17876
17877         * src/exporter.C (Export): Give an error message when path to file
17878         contains spaces.
17879
17880 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17881
17882         * LaTeX.C (deplog): Always check that foundfile exists.
17883
17884 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17885
17886         * lyx_main.h:
17887         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17888
17889 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17890
17891         * tabular.[Ch] (getLabelList): implement new method
17892
17893         * minibuffer.h: comment ouf setTiimer
17894
17895         * minibuffer.C (ExecutingCB): constify res
17896         (peek_event): constify s
17897         (Set): constify ntext
17898         (Init): constify nicename
17899
17900         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17901
17902         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17903         (savePosition): use two params to Minibuffer::Set
17904         (restorePosition): ditto
17905
17906 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17907
17908         * lyx_main.C: include language.h
17909
17910         * Makefile.am (lyx_main.o): add language.h
17911
17912 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17913
17914         * exporter.C:
17915         * paragraph.C:
17916         * screen.C:
17917         * tabular.C:
17918         * CutAndPaste.C: include gettext.h
17919
17920         * lyxfont.h: remove old hack with ON and OFF.
17921
17922         * lyxparagraph.h:
17923         * lyxfont.h: do not include language.h...
17924
17925         * BufferView2.C:
17926         * LaTeXFeatures.C:
17927         * Painter.C:
17928         * bufferview_funcs.C:
17929         * font.C:
17930         * lyxfont.C:
17931         * text.C:
17932         * text2.C:
17933         * trans_mgr.C:
17934         * paragraph.C: ... but do it here instead
17935
17936 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17937
17938         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17939
17940         * tabular.C: small reformat
17941
17942         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17943         NEW_INSETS version
17944         (GetChar): ditto
17945         (BreakParagraph): ditto
17946         (SetOnlyLayout): ditto
17947         (SetLayout): ditto
17948
17949         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17950         with one arg less.
17951
17952         * lastfiles.C: removed most using decl, add std:: where needed
17953
17954         * buffer.C: ws changes
17955
17956         * MenuBackend.C (class compare_format): put into anon namespace
17957         (expand): constify label, names, action, action2
17958         (expand):
17959
17960         * text.C (SingleWidth): constify font
17961         (IsBoundary): constify rtl2
17962         (GetVisibleRow): constify ww
17963
17964         * LaTeX.C (deplog): constify logfile
17965
17966         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17967         start_x, end_x
17968         (workAreaExpose): constify widthChange, heightChange
17969
17970         * lyxrow.C (par): moved
17971         (height): moved
17972         (next): moved
17973         * lyxrow.h: as inlines here
17974
17975         * lyxfont.h (shape): moved from lyxfont.C
17976         (emph): moved from lyxfont.C
17977
17978         * lyxfont.C (LyXFont): use initialization list for all
17979         constructors
17980         (shape): move to lyxfont.h as inline
17981         (emph): move to lyxfont.h as inline
17982
17983
17984 2001-04-04  Juergen Vigna  <jug@sad.it>
17985
17986         * vspace.C: had to include stdio.h for use of sscanf
17987
17988 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17989
17990         * BufferView.h:
17991         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17992         independent of xforms.
17993
17994 2001-04-02  Juergen Vigna  <jug@sad.it>
17995
17996         * spellchecker.C: fixed namespace placing!
17997
17998 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17999
18000         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
18001         the LyXParagraph * is 0.
18002
18003 2001-03-29  Juergen Vigna  <jug@sad.it>
18004
18005         * vspace.C: added support for %, c%, p%, l%.
18006         (stringFromUnit): added helper function.
18007         (asLatexString): changed to give right results for the %-values.
18008
18009         * buffer.C: convert the widthp in a width%.
18010
18011 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
18012
18013         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
18014         figureForm.[Ch].
18015
18016         * figureForm.[Ch]: stripped the FD_from_figure manipulation
18017         code out of lux_cb.[Ch], ready for its (imminent?) removal.
18018
18019         * lyx_cb.[Ch]: see above.
18020
18021         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18022         form1.[Ch].
18023
18024         * form1.[Ch]:
18025         * lyx.[Ch]: replaced by figure_form.[Ch].
18026
18027         * lyx_gui.C:
18028         * lyx_gui_misc.C:
18029         * lyxfunc.C: changed headers associated with above changes.
18030
18031 2001-03-27  Juergen Vigna  <jug@sad.it>
18032
18033         * BufferView_pimpl.C: set the temporary cursor right!
18034
18035 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
18036
18037         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18038
18039 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
18040
18041         * LString.h: removed "using std::getline"!
18042
18043         * BufferView_pimpl.C (Dispatch): changes due to changes in
18044         InsetInclude::Params.
18045
18046         * buffer.C (tag_name): removed redundant break statements as they were
18047         producing lots of warnings with my compiler.
18048
18049 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18050
18051         * LString.h: add "using std::getline" when using the real <string>.
18052
18053 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18054
18055         * buffer.C: removed bitset usage.
18056         PAR_TAG moved to an anonymous name space.
18057         (tag_name): new funtion, also in the anonymous namespace.
18058         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18059         (makeDocBookFile): clean code. Completed transition from string arrays
18060         to string vectors.
18061         (SimpleDocBookOnePar): code clean.
18062
18063 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18064
18065         * tabular.C: add some comments.
18066
18067 2001-03-22  Juergen Vigna  <jug@sad.it>
18068
18069         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18070         compatibility read a bit and fixed bug with minipage in different
18071         depth.
18072
18073 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18074
18075         * buffer.C (pop_tag): removed.
18076         (push_tag): removed.
18077         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18078         array replaced with vector. Added support for CDATA sections.
18079         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18080         at any nest level.
18081         (makeDocBookFile): XML conformant declaration of CDATA section,
18082         fixed bug related to <emphasis> in the first paragraph char.
18083         (sgmlOpenTag): exclude empty tags.
18084         (sgmlCloseTag): ditto.
18085
18086         * buffer.h (pop_tag): removed.
18087         (push_tag): removed.
18088
18089 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18090
18091         * language.h (Languages): added size_type and size().
18092
18093 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18094
18095         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18096         response on compability reading of minipages. One probliem is that
18097         the old usage of minipages was flertydig
18098
18099         * several files here and in subdirs: don't use static at file
18100         scope use anon namespaces instead.
18101
18102 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18103
18104         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18105         LaTeX output. This is necessary for Literate document
18106         processing.
18107
18108 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18109
18110         * buffer.C: insert hfill when needed.
18111
18112         * tabular.C (l_getline): use string::erase, small whitespace change.
18113
18114         * BufferView_pimpl.C: try the anon namespace.
18115         * WorkArea.C: ditto
18116
18117 2001-03-16  Juergen Vigna  <jug@sad.it>
18118
18119         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18120         otherwise it won't open options-dialogs.
18121
18122         * buffer.C: honor pextraWidth(p) on converting minipages.
18123
18124         * tabular.C (l_getline): changed the functions to strip trailing \r.
18125
18126 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18127
18128         * BufferView_pimpl.C:
18129         * minibuffer..C: added "using SigC::slot" declaration.
18130
18131 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18132
18133         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18134
18135         * text2.C: ditto
18136
18137         * text.C: ditto
18138
18139         * paragraph.C: ditto
18140
18141         * lyxtext.h: NO_PEXTRA
18142
18143         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18144
18145         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18146         * ParameterStruct.h: ditto
18147         * ParagraphParameters.h: ditto
18148         * lyxparagraph.h: ditto
18149
18150 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18151
18152         * buffer.C: add compability for minipage alignment.
18153         (latexParagraphs): remove unwanted pextra check.
18154
18155         * several files: remove CXX_WORKING_NAMESPACES
18156
18157         * buffer.C (pop_tag): tie is in namespace boost
18158
18159         * BufferView.h: noncopyable is in namespace boost
18160         * lyxlex.h: ditto
18161         * lyx_main.h: ditto
18162         * lyx_gui.h: ditto
18163         * layout.h: ditto
18164         * lastfiles.h: ditto
18165         * bufferlist.h: ditto
18166         * ShareContainer.h: ditto
18167         * LyXView.h: ditto
18168         * LyXAction.h: ditto
18169         * LaTeX.h: ditto
18170
18171 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18172
18173         * Merging changes from BRANCH_MVC back into HEAD.
18174
18175         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18176
18177 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18178
18179         * BufferView_pimpl.C: change from intl.C
18180
18181         * combox.h:
18182         * combox.C:
18183         * Makefile.am: move combox.*
18184
18185         * form1.h:
18186         * form1.C:
18187         * lyx_gui.C:
18188         * intl.h:
18189         * intl.C: remove dialog (covered by prefs)
18190
18191 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18192
18193         * lyxfunc.C (Dispatch): removed redundant break statement.
18194
18195 2001-03-14  Juergen Vigna  <jug@sad.it>
18196
18197         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18198
18199 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18200
18201         * buffer.C: add hack to fix compability reading of minipages.
18202
18203 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18204
18205         * buffer.C (getLists): Cleanup.
18206
18207 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18208
18209         * lyxfont.C (update): don't honor toggleall on font size.
18210
18211 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18212
18213         * bmtable.c:
18214         * bmtable.h:
18215         * Makefile.am: moved to frontends/xforms/
18216
18217         * lyx_gui_misc.C:
18218         * lyxfunc.C:
18219         * BufferView_pimpl.C: changes for moved mathpanel
18220
18221 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18222
18223         * gettext.h: fix gettext_init() in --disable-nls
18224
18225 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18226
18227         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18228
18229 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18230
18231         * lyx.C:
18232         * lyx.h: strip external form
18233
18234 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18235
18236         * BufferView_pimpl.C: add comment, destroySplash()
18237
18238 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18239
18240         * BufferView_pimpl.C:
18241         * LyXAction.C:
18242         * buffer.C:
18243         * commandtags.h:
18244         * lyxfunc.C: use re-worked insetinclude
18245
18246 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18247
18248         * buffer.C: add using std::stringstream.
18249
18250         * lyx_cb.C: readd using std::ios.
18251
18252         * buffer.C: add using std::map.
18253
18254         * BufferView_pimpl.C: add using std::vector.
18255
18256         * ShareContainer.h: add std:: to swap.
18257
18258         * buffer.h: add some typedefs
18259         * buffer.C (getLists): use them
18260         (getLists): renamed from getTocList.
18261         add a counter for the different float types and use it in the
18262         generated string.
18263         (getLists): use the same counter for the NEW_INSETS and the "non"
18264         NEW_INSETS
18265
18266         * lyx_cb.h: remove unused items, includes, using etc.
18267
18268         * ShareContainer.h: remove some commented code, add more comments
18269         and "documentation".
18270
18271 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18272
18273         * buffer.C (getTocList): make the list also when NEW_INSETS is
18274         defined.
18275
18276         * buffer.h: remove TocType
18277
18278         * buffer.C (getTocList): change to return a map<string,
18279         vector<TocItem> >, implement for dynamic number of list.
18280
18281         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18282         * text2.C (PasteSelection): adjust
18283         * CutAndPaste.C (pasteSelection): adjust
18284
18285         * FloatList.C (FloatList): update from the new_insets branch.
18286         * Floating.[Ch]: ditto
18287         * LaTeXFeatures.C: ditto
18288         * buffer.C: ditto
18289         * lyxlex_pimpl.C: ditto
18290
18291         * paragraph.C (Last): remove when NEW_INSETS is defined.
18292
18293         * other file: changes because of the above.
18294
18295 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18296
18297         * lyxparagraph.h: rename next to next_, previous to previous_,
18298         make them private for NEW_INSETS. Rename Next() to next(),
18299         Previous() to previous().
18300
18301         * other files: changes because of the above.
18302
18303 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18304
18305         * BufferView.h:
18306         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18307         problem.
18308
18309 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18310
18311         * main.C (main): pass lyx_localedir to gettext_init().
18312
18313         * gettext.h: remove locale_init and gettext_init macros
18314
18315         * gettext.C (locale_init): new function
18316         (gettext_init): new function
18317
18318         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18319         setlocale().
18320
18321 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18322
18323         * Moved credits to frontends:
18324         * credits.[Ch]: removed
18325         * credits_form.[Ch]: removed
18326         * lyx_gui_misc.C: remove credits stuff
18327         * Makefile.am:
18328
18329 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18330
18331         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18332
18333         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18334         unneeded destructor.
18335
18336         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18337         a standalone pointer again.
18338
18339         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18340
18341 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18342
18343         * Makefile.am:
18344         * filedlg.h:
18345         * filedlg.C:
18346         * LyXAction.C:
18347         * ToolbarDefaults.C:
18348         * bufferlist.C:
18349         * commandtags.h:
18350         * form1.C:
18351         * form1.h:
18352         * lyx_cb.C:
18353         * lyx_cb.h:
18354         * lyxfunc.h:
18355         * lyxfunc.C:
18356         * BufferView_pimpl.C: use new file dialog in GUII
18357
18358         * lyx_cb.h:
18359         * lyx_cb.C: remove LayoutsCB to Toolbar
18360
18361 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18362
18363         * ShareContainer.h (get): add std:: qualifier
18364
18365 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18366
18367         * ShareContainer.h: define a proper ShareContainer::value_type
18368         type (and use typename to please compaq cxx)
18369
18370 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18371
18372         * lyxparagraph.h: move serveral local vars to
18373         ParameterStruct/ParagraphParameters., use ShareContainer in
18374         FontTable., make vars in FontTable private and add getter and
18375         setter.
18376
18377         * paragraph.C: changes because of the above.
18378
18379         * lyxfont.h: remove copy constructor and copy assignment. (the
18380         default ones is ok), move number inside FontBits. move inlines to
18381         lyxfont.C
18382
18383         * lyxfont.C: add number to initializaton of statics, move several
18384         inlines here. constify several local vars. some whitespace
18385         cleanup. Dont hide outerscope variables.
18386
18387         * Spacing.h: add two new constructors to match the set methods.
18388
18389         * ShareContainer.h: new file, will perhaps be moved to support
18390
18391         * ParameterStruct.h: new file
18392
18393         * ParagraphParameters.h: new file
18394
18395         * ParagraphParameters.C: new file
18396
18397         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18398         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18399
18400         * BufferView_pimpl.C: ParagraphParameter changes.
18401         * buffer.C: Likewise.
18402         * bufferview_funcs.C: Likewise.
18403         * text.C: Likewise.
18404         * text2.C: Likewise.
18405
18406 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18407
18408         * lyxfind.C (LyXReplace): do not redefine default argument in
18409         implementation.
18410         (IsStringInText): ditto
18411         (SearchForward): ditto
18412         (SearchBackward): ditto
18413
18414 2001-03-06  Juergen Vigna  <jug@sad.it>
18415
18416         * lyxfind.C (IsStringInText): put parentes around expressions.
18417
18418 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18419
18420         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18421
18422 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18423
18424         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18425
18426         * stl_string_fwd.h: add comment
18427
18428         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18429
18430         * tabular.h:
18431         * tabular.C: remove unused DocBook methods
18432
18433         * intl.C:
18434         * language.C:
18435         * paragraph.C:
18436         * buffer.C:
18437         killed DO_USE_DEFAULT_LANGUAGE
18438
18439 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18440
18441         * lyx_gui.C: do not include language.h.
18442
18443         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18444         arguments in function implementation.
18445
18446 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18447
18448         * BufferView_pimpl.C: add <ctime>
18449
18450 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18451
18452         * BufferView_pimpl.C: add using std::find_if
18453
18454 2001-02-27  José Matos  <jamatos@fep.up.pt>
18455
18456         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18457         by OnlyPath.
18458
18459 2001-02-11  José Matos  <jamatos@fep.up.pt>
18460
18461         * buffer.C (makeDocBookFile): command styles now have a parameter as
18462         "title" by default.
18463
18464 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18465
18466         * layout_forms.[Ch]: removed
18467         * lyx_cb.[Ch]: out character
18468         * lyx_gui.C: out character
18469         * lyx_gui_misc.C: out character
18470         * bufferview_funcs.C: : out character,
18471         added toggleall as parameter in ToggleAndShow
18472
18473 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18474
18475         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18476
18477         * text2.C (SetCurrentFont): Disable number property at boundary.
18478
18479 2001-02-26  Juergen Vigna  <jug@sad.it>
18480
18481         * lyxfunc.C (getStatus): added a string argument override function so
18482         that this is correctly called from LyXFunc::Dispatch if it contains a
18483         do_not_use_argument which is used!
18484         (Dispatch): added check for "custom" export and call appropriate func.
18485
18486 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18487
18488         * lyxrc.C: Add language_command_local, language_use_babel and
18489         language_global_options.
18490
18491         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18492
18493         * buffer.C (makeLaTeXFile): Use language_use_babel and
18494         language_global_options.
18495
18496 2001-02-23  Juergen Vigna  <jug@sad.it>
18497
18498         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18499         which works with LyXText and putted it inside BufferView. Here now we
18500         only call for that part the BufferView::Dispatch() function.
18501
18502         * BufferView.C (Dispatch): added.
18503
18504         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18505         functions which needs to use a LyXText over from LyXFunc.
18506         (MenuInsertLyXFile): added
18507         (getInsetByCode): added
18508         (moveCursorUpdate): added
18509         (static TEXT): added
18510
18511 2001-02-22  Juergen Vigna  <jug@sad.it>
18512
18513         * BufferView_pimpl.C (update): call a status update to see if LyXText
18514         needs it.
18515
18516 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18517
18518         * vc-backend.C (revert): implement for CVS
18519         (getLog): implement for CVS
18520
18521 2001-02-20  Juergen Vigna  <jug@sad.it>
18522
18523         * text2.C (ClearSelection): added BufferView param for inset_owner call
18524
18525         * lyxfunc.C (TEXT): added this function and use it instead of
18526         directly owner->view()-text of getLyXText().
18527
18528 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18529
18530         * src/layout_forms.C: out preamble
18531         * src/layout_forms.h: out preamble
18532         * src/lyx_cb.C: out preamble
18533         * src/lyx_cb.h: out preamble
18534         * src/lyx_gui.C: out preamble
18535         * src/lyx_gui_misc.C: out preamble
18536         * src/lyxfunc.C: connect with guii preamble
18537
18538 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18539
18540         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18541
18542 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18543
18544         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18545         whether to run bibtex.
18546
18547 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18548
18549         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18550
18551 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18552
18553         * Makefile.am (lyx_SOURCES): removed bibforms.h
18554
18555         * vspace.h: doxygen
18556
18557         * text.C (GetVisibleRow): make several local vars const
18558
18559         * tabular.C: small cleanup.
18560
18561         * lyxserver.C (callback): use compare instead of strncmp
18562
18563         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18564         inlines to after class or to paragraph.C
18565
18566         * lyxfont.h: remove friend operator!=
18567
18568         * converter.h: move friend bool operator< to non friend and after
18569         class def.
18570
18571         * combox.h: small cleanup
18572
18573         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18574         to inlines after class def.
18575
18576         * buffer.C (pop_tag): use string operations instead of strcmp
18577
18578         * bmtable.c: doxygen, small cleanup
18579
18580         * LaTeX.h: remove friend operator==
18581
18582 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18583
18584         * screen.C:
18585         * lyxrc.[Ch]:
18586         * lyxfunc.C:
18587         * lyxfont.[Ch]:
18588         * lyx_cb.C:
18589         * intl.[Ch]:
18590         * commandtags.h:
18591         * buffer.C:
18592         * WorkArea.[Ch]:
18593         * LyXAction.C:
18594         * BufferView_pimpl.C:
18595         * BufferView.[Ch]: remove cruft
18596
18597 2001-02-14  Juergen Vigna  <jug@sad.it>
18598
18599         * lyxfunc.C: removed #if 0 unused code
18600
18601         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18602
18603         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18604
18605         * text2.C (SetSelection): added a BufferView * parameter
18606
18607 2001-02-13  Juergen Vigna  <jug@sad.it>
18608
18609         * lyxfunc.C (Dispatch): fixed protected blank problem.
18610         * BufferView2.C (protectedBlank): added LyxText * parameter.
18611
18612         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18613         (AppendColumn): same as above for column_info.
18614
18615         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18616         (moveCursorUpdate): use a LyXText param for support of InsetText.
18617
18618         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18619         (tripleClick): ditto
18620
18621         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18622
18623         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18624
18625         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18626
18627         * text2.C (SetSelection): set correct update status if inset_owner
18628         (ToggleFree): ditto
18629
18630 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18631
18632         * tabular.C: remove some commented code.
18633
18634 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18635
18636         * BufferView_pimpl.C: call hideSplash()
18637
18638         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18639
18640         * include_form.h:
18641         * bibforms.h: remove
18642
18643         * lyxfunc.C:
18644         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18645           add LFUN_CHILD_CREATE
18646
18647         * counters.h: fix tiny typo
18648
18649         * lyx_cb.C:
18650         * lyx.h:
18651         * lyx_gui.C:
18652         * lyx.C: move splash to frontends/xforms/
18653
18654         * lyx_gui_misc.C: move Include and Bibform to frontends
18655
18656         * lyxvc.h: clarify comment
18657
18658         * vspace.C: tiny housekeeping
18659
18660 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18661
18662         * text.C (PrepareToPrint): RTL Fix.
18663
18664         * paragraph.C (GetUChar): New method.
18665         (String):  Use GetUChar.
18666
18667         * buffer.C (asciiParagraph): Use GetUChar.
18668
18669 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18670
18671         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18672
18673 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18674
18675         * buffer.h:
18676         * buffer.C: rename to getLogName(), handle
18677           build log / latex log nicely
18678
18679 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18680
18681         * MenuBackend.C:
18682         * MenuBackend.h: remove support for reference menuitem type.
18683
18684 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18685
18686         * BufferView_pimpl.C: housekeeping
18687         * BufferView_pimpl.h:
18688         * LyXView.h:
18689         * Makefile.am:
18690         * Timeout.C:
18691         * Timeout.h:
18692         * minibuffer.h: move Timeout GUI-I
18693
18694 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18695
18696         * lyxrc.C (read): Update converters data-structures.
18697
18698 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18699
18700         * LaTeX.h (operator!=): add operator != for Aux_Info
18701
18702 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18703
18704         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18705
18706         * LaTeXLog.C: deleted, useful code moved to Buffer
18707
18708         * buffer.h:
18709         * buffer.C: new function getLatexLogName()
18710
18711         * lyx_gui_misc.C:
18712         * lyx_gui.C:
18713         * lyxvc.C:
18714         * lyxvc.h:
18715         * lyxfunc.C: use frontends for LaTeX and VC logs
18716
18717 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18718
18719         * LaTeX.h: yet another std:: that Allan forgot.
18720
18721         * Variables.C (set): renamed from isset(), because this clashes
18722         with some HP-UX macros (grr).
18723
18724 2001-02-06  Allan Rae  <rae@lyx.org>
18725
18726         * LaTeX.h: Another bug fix.  Missing std:: this time.
18727
18728 2001-02-04  Allan Rae  <rae@lyx.org>
18729
18730         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18731         floats problem. I've left it commented out because it's not quite
18732         correct.  It should also test that the current object is a table or
18733         figure inset.  But I haven't gotten around to figuring out how to do
18734         that.  I *think* it'll be something like: "table" == inset.type()
18735
18736         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18737         bool.
18738
18739 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18740
18741         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18742         all the citation/databases/styles in the auxilary file.
18743         (run): Rerun latex if there was a babel language error.
18744
18745 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18746
18747         * text.C (Backspace): Preserve the font when changing newline char
18748         with a space.
18749         (BreakParagraph): If the cursor is before a space, delete the space.
18750
18751         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18752
18753 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18754
18755         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18756         new argument (code).
18757         (ChangeCitationsIfUnique): New method.
18758
18759         * paragraph.C (GetPositionOfInset): Handle bibkey.
18760
18761 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18762
18763         * BufferView_pimpl.h: change type of Position::par_pos to
18764         LyXParagraph::size_type.
18765
18766 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18767
18768         * BufferView_pimpl.C (savePosition, restorePosition): Write
18769         messages to minibuffer.
18770
18771 2001-01-28  José Matos  <jamatos@fep.up.pt>
18772
18773         * buffer.C (makeDocBookFile): adds support for document language.
18774         A silly restriction on the name of LatexCommand types where removed.
18775         Added support for CDATA sections, allows to chars unescaped, used
18776         among others in code, to avoid escape < and >.
18777
18778 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18779
18780         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18781         saved positions instrad of a stack. Furthermore, a position is
18782         stored using paragraph id/paragraph position.
18783
18784         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18785         Remove LFUN_REF_BACK.
18786
18787 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18788
18789         * converter.C (dvipdfm_options): New method.
18790
18791 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18792
18793         * vspace.C (isValidLength): Fix for empty input string.
18794
18795 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18796
18797         * LyXAction.C (init): change description of LFUN_FIGURE to
18798         "Insert Graphics"
18799
18800 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18801
18802         * LaTeX.C: add using directive
18803
18804 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18805
18806         * MenuBackend.C (expand): Fix the sorting of the formats.
18807
18808 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18809
18810         * lyx_main.C: tiny error message fix
18811
18812 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18813
18814         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18815         calling fl_initialize(). This fixes the problem with ',' as
18816         decimal separator in text files.
18817
18818 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18819
18820         * trans.C (process): Fix the keymap bug.
18821
18822 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18823
18824         * LaTeX.C (scanAuxFiles): New method. Provides support for
18825         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18826         (scanLogFile) Scan for "run BibTeX" messages.
18827
18828         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18829         OT1 font encoding. Also, load the aecompl package if the ae
18830         package is loaded.
18831
18832         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18833
18834 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18835
18836         * texrow.C (increasePos): turn two error messages into debug
18837         messages.
18838
18839 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18840
18841         * LaTeX.C (scanAux): Handle the \@input macro.
18842         (runBibTeX): Use scanAux().
18843
18844         * language.C (latex_options_): New field.
18845
18846         * LaTeXFeatures.C (getMacros): Add language macros.
18847
18848         * buffer.C (makeLaTeXFile): Small fix.
18849
18850 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18851
18852         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18853
18854         * text2.C: add a using directive.
18855
18856 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18857
18858         * BufferView2.C:
18859         * lyx_gui_misc.h:
18860         * lyxfr1.C:
18861         * lyxfunc.C: kill LyXBell.
18862
18863 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18864
18865         * text.C (IsBoundary): Remove the error message
18866
18867         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18868
18869         * lyxrc.C (setDefaults): Correct initialization value for
18870         font_norm_type.
18871
18872 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18873
18874         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18875         gotoError().
18876
18877         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18878         and GotoNextNote().
18879
18880         * src/LyXAction.C: Added reference-next.
18881
18882         * text.C (InsertChar): Use contains instead of strchr.
18883
18884         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18885
18886 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18887
18888         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18889         alignment commands (when needed).
18890
18891         * text.C (InsertChar): Add ':' to number separator chars.