]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
c6512a8bf9fe23cf2850d97ac996e3b15d5d7827
[lyx.git] / src / ChangeLog
1 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2
3         * pch.h:
4         * support/pch.h:
5         * support/debugstream.h: Use the correct nullstream.
6
7 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
8
9         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
10
11 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
12
13         * cursor.C (niceInsert): fix (properly) insertion of
14         fonts/decorations around selection
15
16 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
17
18         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
19
20 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
21
22         * text3.C (mathDispatch): fix crash when selection is not empty
23         but selectionAsString is empty (bug 2321).
24
25 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
26
27         * text.C (changeCase): avoid crash in empty paragraph or on last
28         word of the paragraph. (buf 2323)
29         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
30
31 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
32
33         * buffer.C (readHeader): also erase params.preamble in advance
34         so that an empty preamble is actually recognized (bug 2317).
35
36         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
37
38 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
39
40         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
41
42 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
43
44         * buffer.C:
45         * bufferparams.[Ch]:
46         * lyxtext.h:
47         * paragraph.[Ch]:
48         * paragraph_funcs.C
49         * rowpainter.C:
50         * text.C:
51         * text2.C:
52         * text3.C: Fix bug 2115: blue language lines (for default font)
53         popping up when the documnent font is different. This includes work
54         by Georg Baum.
55
56 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
57
58         * exporter.C (Backends): Add "lyx" backend
59         * exporter.C (Export): Handle "lyx" backend
60         * graph.C (getReachable): Don't exclude "lyx"
61         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
62
63 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
64
65         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
66         for correct in-mathed positioning
67
68 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
69
70         * rowpainter.C (paintForeignMark): fix foreign blue line under
71         insets
72
73 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
74
75         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
76         pit of the uno range (bug 2022).
77
78 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
79
80         * messages.C (get): Only warn once if setlocale fails (bug 2177)
81
82 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
83
84         * text2.C (setCharFont): take inset's own font settings into account
85         when defining the font to reduce to, fixes 2019
86
87 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
88
89         * bufferview_funcs.C (coordOffset): remove the check for
90         collapsed collapsables (fix for bug 2094). This is now done
91         on a more general level (cursor.C).
92
93         * dociterator.[Ch] (forwardPos): add an optional argument
94         bool "ignorecollapsed" (default false), which lets forwardPos
95         skip collapsed insets.
96
97         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
98         (fixes bug 2241 and 2094).
99
100 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
101
102         * buffer.C: change tracking (dvipost) doesn't require
103         color.sty anymore.
104
105         * LaTeXFeatures.C (getPackages): no need for the color
106         option "usenames" (bug 2169).
107
108 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
109         * buffer_funcs.C: Trivial fix - added {} around
110         the statements to be affected by a if-test. Now
111         label in a minipage in a float looks ok on screen again.
112
113 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
114
115         * text2.C: fix bug 2015: on screen fonts in nested environments 
116         can be wrong
117
118 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
119
120         * converter.C (convert): handle unknown formats
121
122 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
123
124         * cursor.C (goUpDown): comment out some debug messages.
125
126         * counters.C (newCounter): make error messages more explicit
127         (these appear with some textclasses like beamer)
128
129 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
130
131         * kbmap.C (defkey): 
132         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
133         have origin set to KEYBOARD. (bug 2221)
134
135 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
136
137         * rowpainter.C (isCursorOnRow): do not exclude endpos().
138
139 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
140
141         * cursor.C (macroModeClose): returns true if an inset actually got
142         inserted; revert faulty fix to bug 2034.
143
144 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * tabular.C (getLabelList): remove (not used anymore).
147
148 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
149
150         * outputparams.[Ch]: add new flag inComment
151
152 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * text2.C (deleteEmptyParagraphMechanism): since we delete a
155         paragraph, recordUndo should span two paragraphs (bug 2155).
156
157 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
158
159         * rowpainter.C (paintPar): always repaint the row with the
160         cursor in it
161
162 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
163
164         * MenuBackend.h: 
165         * bufferlist.h: 
166         * lyxtext.h: 
167         * paragraph.h:
168         * vspace.h: fix syntax error
169
170 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
171
172         * text3.C (dispatch): Force refresh if typing into inset changes its
173                               metrics
174
175 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
176
177         * RowList_fwd.h:
178         * paragraph.C:
179         * paragraph.h:
180         * rowpainter.C: Speed up rendering by only re-painting rows that
181         have changed. When selection or whole-screen update active, all rows
182         are repainted, as are all rows within insets.
183
184 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
185
186         * version.C.in: Use PACKAGE_VERSION instead of VERSION
187
188 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
189
190         * tabular.C (toggleFixedWidth): Use default layout of text class
191         instead of hardcoded "Standard"
192
193 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
194
195         * lyxfunc.C (dispatch): do not call getStatus again to determine
196         whether a lfun is disabled (bug 2172).
197
198 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
199
200         * cursor.C (macroModeClose): set the cursor inside the new math
201         atom if relevant (think \frac{}{}) (bug 2034)
202
203 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
204
205         * lyxtext.h:
206         * text.C:
207         * text3.C (Delete, backspace): force update when merging paragraphs
208
209 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * BufferView.C (mouseSetCursor): clear the selection properly (bug
212         2163). 
213
214 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
215
216         * text.C (redoParagraph): honor inset->noFontChange()
217         * rowpainter.C (paintInset): ditto
218
219 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
220
221         * lyx_main.C (priv_exec): don't initialize Math on startup 
222         (initMath() has been moved to math_hullinset).
223
224 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
225
226         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
227         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
228         * paper.h: dispose dead PAPER_PACKAGES enum.
229
230 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
231
232         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
233         without X support.
234
235 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
236
237         * exporter.C (Export): Don't try to copy a file if it does not exist
238         (bug 1888)
239
240 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
241
242         * text2.C (makeFontEntriesLayoutSpecific): remove.
243         (setLayout): adapt.
244
245         * text.C (insertChar): remove bogus caching of fonts (did not do
246         anything). 
247
248         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
249         ALL_SANE). (bug 2146)
250
251 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * rowpainter.C (paintFirst): fix centering of
254         LABEL_CENTERED_TOP_ENVIRONMENT. 
255
256 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * BufferView.C (mouseSetCursor): new method. Calls
259         deleteEmptyParagraphMechanism if necessary.
260
261         * lyxtext.h: make deleteEmptyParagraphMechanism public.
262
263         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
264         BufferView::mouseSetCursor (bug 2109).
265         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
266
267 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
268
269         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
270         do not remove it (this inset behaves differently from the others).
271
272 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         Fix bug 2096.
275         
276         * BufferView_pimpl.C (getStatus): it is only possible to insert a
277         file in a text inset.
278
279         * buffer.C (readDocument): remove pit argument and code releated
280         to it; set the inset owner correctly (unrelated, but useful).
281         (readFile): get rid of pit argument.
282
283         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
284         textclass instead of a selection index.
285         (pasteParagraphList): new function.
286         (pasteSelection): make it a wrapper around pasteParagraphList.
287
288         * BufferView_pimpl.C (MenuInsertLyXFile): use
289         cap::pasteParagraphList to insert a file.
290
291 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
292
293         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
294
295 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
296
297         * exporter.C: fix typo in text message
298
299 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
300
301         * text2.C (setLayout): move recUndo call to other setLayout method
302         * tabular.C (toggleFixedWidth): new, handle cell width changes
303         * tabular.C (setColumnPWidth): move some code from insettabular.C here
304         and use toggleFixedWidth
305         * tabular.C (setMColumnPWidth): ditto
306
307 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
308
309         * paragraph.C (asString): use new inset->textString method (fix
310         bug 2089) 
311
312 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * CutAndPaste.C (numberOfSelections): new helper function.
315
316         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
317
318         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
319         LyXFunc::getStatus; implement LFUN_PASTE.
320
321 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
322
323         * dociterator.[Ch]: new member realInset() that returns the cell
324         for tabulars and the inset for the rest (bug 1952).
325         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
326         (bug 1952).
327
328 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
329
330         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
331
332 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
333
334         * lyxfunc.C:
335         * paragraph.C:
336         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
337         argument.
338
339 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
340
341         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
342         line after typing ctrl-enter
343
344 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
345
346         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
347         math insets do not return a proper editable() state yet (bug 2124).
348
349 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
350
351         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
352         docs containing very large paragraphs.
353
354 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
355
356         * cursor.C (selectionBegin, selectionEnd):
357         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
358         cursor at different depths.
359
360 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
361
362         * bufferview_funcs.C (coordOffset): do not call cursorPos
363         for collapsed collapsables (fix bug 2094).
364
365 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
366
367         * paragraph.C (fontSpan): make sure that the FontSpan does not
368         span across beginOfBody (bug 1947).
369
370 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
371
372         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
373
374 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
375
376         * messages.C: fix crash and localization on MinGW/Windows platform
377
378 2005-11-02  Angus Leeming  <leeming@lyx.org>
379
380         * Bidi.C:
381         * lyxtextclass.C: trivial fixes to some MSVS warnings.
382
383 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
384
385         * text3.C (getStatus): re-enable disabled code. (bug 2081)
386
387         * BranchList.h (empty): constify.
388
389 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
390
391         * text3.C (getStatus): 
392         * MenuBackend.C (expandBranches): take the branch list from the
393         master document (bug 2092).
394         
395         * MenuBackend.C (expandBranches): 
396         * bufferparams.C (writeFile): use BranchList type.
397
398 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
399
400         * text3.C (dispatch, getStatus): 
401         * LyXAction.C (init): 
402         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
403
404 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
407
408 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * text.C (insertChar): do not reset boundary (bug 2061)
411
412 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
413
414         * dociterator.C (updateInsets): new method. Updates the inset_
415         cache of all the slices of the iterator.
416
417         * text2.C (deleteEmptyParagraphMechanism): compare also containing
418         insets when comparing pit/pos; pass the right cursor to
419         recordUndo; when a paragraph has been deleted, compare `old.top()' to
420         the right cursor slice of `cur'; use updateInsets on cur to make
421         sure that the inset caches are correct; general cleanup.
422
423 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
424
425         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
426         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
427         containg inset. If this does not work, the same command will be
428         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
429
430         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
431         a dispatch.
432
433 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
434
435         * lyxtextclass.C (Read): convert layout file if the format is wrong
436         * lyxtextclass.C (layout2layout): new, needed for the above
437
438 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
439
440         * messages.C: do not forget to include <cerrno>.
441
442 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
443
444         * dociterator.h (StableDocIterator): add access to pos().
445         * undo.C (samePar): new method to check if two
446         iterators are in the same paragraph
447         * undo.C (recordUndo): check for samePar instead of cell identity
448         (which includes pos() and is too strict) (fixes bug 2097)
449
450 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
451
452         * text.C (setCursorFromCoordinates): return a bool telling whether
453         dEPM triggered.
454
455         * text3.C (cursorPrevious): update if needed after
456         setCursorFromCoordinates (when dEPM triggered).
457
458         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
459         (otherwise the anchor may be completely wrong and make dEPM assert).
460
461 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
462
463         * buffer.C: version upgrade to 245.
464         * bufferparams.C: remove \quotes_times (bug 2090).
465         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
466         quotation marks as default.
467
468 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
469
470         * CutAndPaste.C (nrOfParagraphs): remove (unused)
471         * CutAndPaste.C (cutSelection): Remove debug message
472         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
473         undo information and only copy if this is a real cut
474         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
475         call
476         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
477         (bug 2059)
478         * CutAndPaste.C (eraseSelection): prevent cursor corruption
479         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
480         superflous cur.selection() setting
481         * CutAndPaste.[Ch] (grabSelection): take a const cursor
482         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
483
484 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
485
486         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
487         change anything.
488
489 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
490
491         * BufferView_pimpl.C: comment layout change
492
493 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
494
495         * LyXAction.C:
496         * lfuns.h:
497         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
498         by bibliography managers (bug 2071).
499
500 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
501
502         * BufferView_pimpl.C (update): choose arguments to update call so
503         that single-par update works most times
504         * text3.C (dispatch): carefully tune updating separately for
505         whole-screen and current-paragraph
506         * rowpainter.C (paintText): 1) replace painting by caching for
507         the two extra paragraphs, because we can;
508         2) suppress greying out of areas below/above drawn area in case of
509         single-par refresh
510         * lyxfunc.C (dispatch): remove superfluous update
511         * LyXAction.[Ch]: introduce SingleParUpdate
512
513 2005-10-05  Angus Leeming  <leeming@lyx.org>
514
515         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
516         always initialised before use.
517
518         * text.C (setHeightOfRow): squash warning about comparison
519         of signed and unsigned types.
520
521 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
522
523         * text.C (cursorX): two fixes involving RtL text drawing
524
525 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
528         items, not only large ones (part of bug 2057)
529
530 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
531
532         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
533         argument, use "newcommand".
534
535 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
536
537         * cursor.C (setSelection): do not open collapsable insets;
538         the insets do by themselves now (autoopen).
539
540 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
541
542         * buffer.C: format is up to 244.
543
544 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
545
546         * text.C (redoParagraph): fix calcultation of inset width wrt 
547         leftMargin (bug 1957).
548
549         * text3.C (dispatch): leave inset to the right when hitting ESC 
550         (bug 2034).
551
552 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
553
554         * text2.C: 
555         * text.C: 
556         * factory.C:
557         * messages.C: include <boost/current_function.hpp> 
558
559 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
560
561         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
562         when command is internal. (bug 1941)
563
564 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
565
566         * text2.C (cursorRight): do not honor boundary when at the end of
567         a paragraph. (bug 2010 again)
568
569 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
570
571         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
572
573 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
574
575         * rowpainter.C (paintText): fix RtL space width display bug (2029)
576
577 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
578
579         * text2.C (setCursor): remove the unused 'boundary' parameter for
580         the CursorSlice version; adapt the LCursor version.
581
582         * lyxrc.C (write): 
583         * paragraph_pimpl.C (markErased): 
584         * cursor.C (bruteFind2, bruteFond3): fix warnings.
585
586 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
587
588         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
589         as is already done for "chapter".
590
591 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
592
593         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
594         textclass; do not record undo if nothing is changed.
595
596 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
597
598         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
599
600 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
601
602         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
603
604 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
605
606         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
607         combox, it is necessary to search for the topmost paragraph in the
608         cursor stack (bug 1926)
609
610 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
611
612         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
613         end of paragraph. (bug 2010)
614
615 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
616
617         * text.C (leftMargin): check for inInset == 0
618
619 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
620
621         * text.C (leftMargin): test for insetbase's new neverIndent()
622         bool instead of listing each and every inset that does not
623         wish par indendation.
624
625 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
626
627         * buffer_funcs.C (setCounter): put the code to compute enum label
628         here (where it belongs).
629
630         * counters.C (enumLabel): move code to buffer_funcs.C.
631
632 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
633
634         * outputparams.[Ch]: store local_font instead of local_language
635         * paragraph.C (simpleTeXOnePar): adapt to the change above
636
637 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
638
639         * buffer_funcs.C:
640         * counters.[Ch]: clean up special code for Hebrew.
641
642 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
643
644         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
645         than 2.
646
647 2005-09-08  Angus Leeming  <leeming@lyx.org>
648
649         * ispell.C:
650         * lyxrc.C: correct grammar describing invocation of the
651         spellchecker.
652
653 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
654
655         * text.C (read): remove unused variable.
656         (readParToken): remove static Change variable (never good in
657         recursive settings...); add it as a parameter instead.
658
659         * paragraph_pimpl.C (acceptChange): make debug info conditional.
660
661         * metricsinfo.C (PainterInfo): add new member erased_.
662
663         * rowpainter.C (RowPainter): add erased_ member, initialized from
664         PainterInfo. 
665         (paintInset): pass erased_ to Inset::draw.
666
667         * lyxfunc.C (lookupChange): new function. Tells whether change 
668         tracking is disabled at a given postion.
669         (getStatus): disable some actions when in deleted text with change
670         tracking. 
671
672 2005-08-03  John Levon  <levon@movementarian.org>
673         
674         * tabular.C (appendColumn, setMultiColumn): adapt to change to
675         InsetText::clear().
676
677         * paragraph_pimpl.C (markErased): add bool argument and handle it.
678         Also make sure to mark insets recursively.
679         (rejectChange, erase): be recursive
680
681         * paragraph.C (markErased): add bool argument.
682 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
683
684         * lyxfind.C (findNextChange): tiny cleanup.
685
686         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
687         change tracking with the cursor in an inset; make sure the first
688         change is not skipped.
689
690 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
691
692         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
693         tabularStackDirty to work around bug 1919 (tabular needs
694         to know whether its own cell paste buffer or the one of 
695         texted is newer.
696         * CutAndPaste.C: mark tabular_stack_ clean after copy.
697
698 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
699
700         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
701
702 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
703
704         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
705         use old deleteion algorithm when changetracking is on.
706
707 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
708
709         * messages.C (get): add debug output.
710
711 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
712
713         * text.C (cursorX): fix bug 1965: cursor movement at
714         line end broken in RtL.
715         (drawSelection): fix bug 1970: drawing of single-line 
716         selection broken for RtL.
717
718 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
719
720         bug 465.
721
722         * dociterator.h (clear, push_back, pop_back): change from
723         protected to public.
724
725         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
726         and changed to just return the value of the item depth; take a
727         ParIterator as argument; take the itemdepth at outer nesting level
728         in account if necessary; cleanup and comment the code.
729         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
730         and changed to just return true if reset is needed; take a
731         ParIterator as argument; cleanup and comment the code.
732         (setCounter): adapt to above changes.
733
734 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
735
736         * text3.C (dispatch): make debug message optional
737
738 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
739
740         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
741         inset. (bug 1963)
742
743 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
744
745         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
746
747 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
748
749         * text.C (insertChar):
750         * text2.C (deleteEmptyParagraphMechanism): take care whether 
751         a blank has been deleted (in change tracking mode) (bug 1254).
752
753 2005-07-20  John Levon  <levon@movementarian.org>
754
755         * text2.C (insertStringAsLines): remove old dubious code,
756         fixing bug 1939.
757
758 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
759
760         * MenuBackend.C (expandToc): use Floating::listName() as title of
761         the floats submenus.
762
763 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
764
765         * toc.[Ch]: Do not use translatable strings (bug 1870).
766
767 2005-07-20  John Levon  <levon@movementarian.org>
768
769         * tabular.C: fix 1748 - setting multicolumn adds
770           left line to the first cell
771
772 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
773
774         bug 1920
775         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
776         pars in one go.
777
778 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
779
780         * messages.C: supress some lyxerr messages
781
782 2005-07-18  Juergen Vigna  <jug@lyx.org>
783
784         * text.C (drawSelection): honor boundary when asking for cursorX.
785
786 2005-07-17  José Matos  <jamatos@fc.up.pt>
787
788         * tabular.C (recalculateMulticolumns): fix handling of one column
789         tables.
790
791 2005-07-17  Juergen Vigna  <jug@lyx.org>
792
793         * text.C (Delete, backspace): fixed so that paragraph with the
794         same layout can be merged by Delete/Backspace.
795
796 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
797
798         * text.C (readParToken): fix spelling.
799
800 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
801
802         * text2.C: fix counter update for DEPM problem reported by
803         Georg Baum
804
805 2005-07-17  Juergen Vigna  <jug@lyx.org>
806
807         * BufferView_pimpl.C (setBuffer): save/restore the
808         cursor/selection when switching buffers
809
810         * buffer.h: 
811         * buffer.C (saveCursor): add saveDocumentIterators to save the
812         cursor when switching buffer.
813
814 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
815
816         * debug.C: fix typo
817         * buffer.C: clarify message
818         
819 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
820
821         * dociterator.C (DocIterator): fix initialization order
822
823 2005-07-17  Juergen Vigna  <jug@lyx.org>
824
825         * text2.C (cursorHome): 
826         * text.C (drawSelection, cursorX): 
827         * dociterator.C (textRow): add boundary to getRow() call
828
829         * paragraph.C (getRow): implementation of below
830
831         * paragraph.h: add parameter boundary for getRow() function
832
833 2005-07-17  José Matos  <jamatos@fc.up.pt>
834
835         * buffer.C:
836         * bufferparams.[Ch]:
837         * tex-strings.[Ch]: new file format, remove support for a4.sty,
838         a4wide.sty and a4widemargins.
839
840 2005-07-17  Juergen Vigna  <jug@lyx.org>
841
842         * text2.C (cursorLeft): fix one of error
843
844 2005-07-17  Juergen Vigna  <jug@lyx.org>
845
846         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
847                    cursorEnd):
848         more fixes for boundary handling
849
850         * text3.C (dispatch): don't reset cursor if boundary has changed
851         on cursor movement.
852
853 2005-07-16  Juergen Vigna  <jug@lyx.org>
854
855         * text2.C (getColumnNearX): hopefully got it right now,
856         check if we are on column 0 for special case.
857
858 2005-07-16  Juergen Vigna  <jug@lyx.org>
859
860         * text2.C (getColumnNearX): handle special case Newline Inset
861
862         * text.C (singleWidth): Just remove bogus check
863
864 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
865
866         * funcrequest.C (split): avoid reading uninitialized char c
867
868 2005-07-16  José Matos  <jamatos@fc.up.pt>
869
870         * buffer.C:
871         * converter.C:
872         * lyxrc.C:
873         * paper.h:
874         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
875         single papersize variable.
876
877 2005-07-16  Juergen Vigna  <jug@lyx.org>
878
879         * text3.C (dispatch): honor boundary when checking if a cursor
880         movement has been done
881
882         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
883         (setCursor, setCursorIntern): fix cursor movement with boundary
884
885 2005-07-16  Juergen Vigna  <jug@lyx.org>
886
887         * text.C (currentState): output the actual Boundary
888
889 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
890
891         * factory.C (createInset): fix bad logic for tabular creation
892
893 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
894
895         * lyx_main.C (init): change some reLyX reference to tex2lyx
896
897 2005-07-16  Juergen Vigna  <jug@lyx.org>
898
899         * dociterator.C (DocIterator): initialize boundary
900
901 2005-07-16  Juergen Vigna  <jug@lyx.org>
902
903         * text2.C (getColumnNearX): Consider rows without trailing blank.  
904
905 2005-07-16  André Pönitz  <poenitz@gmx.net>
906
907         * lyxfont.h: Change order of declarations to give the compiler
908         a better chance to inline things
909
910         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
911         questions on unsaved docs for better scritability
912
913 2005-07-16  André Pönitz  <poenitz@gmx.net>
914
915         * paragraph.h (getChar): remove asserts as the same kind of security
916         can be achieved by using a suitable standard library implementation
917         and the function was in the critical path (25.9% in profiler)
918
919 2005-07-16  Juergen Vigna  <jug@lyx.org>
920
921         * cursor.C (bruteFind2):
922         * bufferview_funcs.C (coordOffset): 
923         * text.C (cursorX,cursorY): Handle cursor position after last char
924         in row before a inset which uses a whole row.
925
926 2005-07-15  José Matos <jamatos@lyx.org>
927
928         * output_plaintext.[Ch] (writeFileAscii): control reference title
929         printing.
930         (asciiParagraph): noparbreak was already deal and was incorrectly
931         used.
932
933 2005-07-15  Juergen Vigna <jug@lyx.org>
934
935         * lyxfunc.C (dispatch): save and restore the cursor after a
936         textclass switch.
937
938 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
939
940         * text.C (backspace): bug 806 for empty keepempty paragraphs we
941         change the layout to default before letting DEPM do its thing.
942
943         * paragraph_funcs.C (breakParagraph): dont reset the layout on
944         keepEmpty paragraphs
945
946         * text.C (setCursorFromCoordinates): add a debug statement
947
948         * text2.C (getColumnNearX): bug 1825 make sure that we don't
949         return a pos that is not on the row
950
951         * output_latex.C (TeXDeeper): get rid of potential dereferencing
952         of past the end iterator
953
954 2005-07-14  André Pönitz  <poenitz@gmx.net>
955
956         * undo.C (recordUndoFullBuffer): implement undo for
957         textclass switches
958
959 2005-07-14  André Pönitz  <poenitz@gmx.net>
960
961         * cursor.C (setSelection): open insets when selection is set there
962         to avoid crashs with cold coord cache
963
964 2005-07-14  André Pönitz  <poenitz@gmx.net>
965
966         * trans_mgr.C (insert): move cursor to the right after inserting
967         a char.
968
969 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
970
971         * BufferView_pimpl.C (update): dampen some of the debug blabbering
972         * factory.C (readInset): ditto
973         * text.C, text2.C: ditto
974
975 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
976
977         * buffer.C: format incremented to 242. There is no file format per
978         se, but the "frenchb" language has been removed from lib/language
979         and has to be translated to "french" by lyx2lyx.
980
981 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
982
983         * cursor_slice.h, dociterator.h: add some documentation
984         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
985
986 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
987
988         * text.C (leftMargin): do not add identation to display() style
989         insets, because they are always centered (bug 1293).
990
991 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
992
993         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
994         formatted_time methods in support/lyxtime.
995
996 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
997
998         * toc.[Ch]: new method getGuiName, which is used by the frontends 
999         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1000
1001 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1002
1003         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1004         StableDocIterator const &)
1005         * undo.C (recordUndo): use the above instead of cell.size() comparison
1006         (fixes bug 1808; instructed by Andr�.
1007
1008 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1009
1010         * cursor_slice.h: 
1011         * dociterator.h: Fix the assert when copying rows/cols in math
1012
1013 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1014
1015         * BufferView_pimpl.C:
1016         * LyXAction.C:
1017         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1018
1019         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1020         (findInset): new functions, refactored from goto Inset that return 
1021         the position of a certain inset without setting the buffer's cursor
1022         (by Jean-Marc); 
1023         (gotoInset): rewrite to call findInset and then set the cursor
1024         (by Jean-Marc).
1025
1026 2005-06-16  Angus Leeming  <leeming@lyx.org>
1027
1028         * lyxrc.C (output, read): wrap all input and output of paths with
1029         calls to os::internal_path and os::external_path, respectively.
1030         (output): wrap bind_file inside quotes.
1031
1032         * format.C (view): enable the viewer to use the '$$s' placeholder.
1033
1034 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1035
1036         * LColor.[Ch] (getFromLaTeXName): new
1037
1038 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1039
1040         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1041
1042 2005-06-14  Angus Leeming  <leeming@lyx.org>
1043
1044         * lyx_main.C (init): ensure that the LyX binary dir is the first
1045         element in the PATH on non-POSIX builds.
1046
1047 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1048
1049         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1050
1051 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1052
1053         * rowpainter.C (paintInset, paintHebrewComposeChar)
1054         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1055         (paintChars): use getFontSpan to reduce calls to getFont to a
1056         minimum; use Paragraph::lookupChange instead of isXXXText.
1057         (paintForeignMark): rename LyXFont argument.
1058         (paintFromPos): pass a LyXFont object to the various paintXXX
1059         methods.
1060
1061         * FontIterator.C (FontIterator, operator++): use
1062         Paragraph::getFontSpan
1063
1064         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1065         version that returns the font span as a pair.
1066
1067 2005-06-09  Angus Leeming  <leeming@lyx.org>
1068
1069         * converter.C (convert): Don't forget "outfile = real_outfile" as
1070         the final step in a conversion where the input and output file names
1071         are the same. Otherwise, future conversion steps won't work...
1072
1073 2005-06-09  Angus Leeming  <leeming@lyx.org>
1074
1075         * lyxsocket.C: remove stub code as it isn't needed by
1076         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1077
1078 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1079
1080         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1081         effectively disabled -x
1082
1083 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1084
1085         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1086         when it actually makes sense.
1087
1088 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1089
1090         * BufferView_pimpl.C: revert to showCursor in connection with
1091         Lars's front-end stack
1092
1093 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1094
1095         * text.C (redoParagraph): move cursor right after a bibitem
1096         has been inserted.
1097
1098         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1099
1100 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1101
1102         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1103         error range.
1104
1105 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1106
1107         * BufferView.[Ch] (update):
1108         * BufferView_pimpl.[Ch] (update, metrics):
1109         * dimension.h (operator==):
1110         * lyxfunc.C (dispatch):
1111         * metricsinfo.h (ViewMetricsInfo):
1112         * rowpainter.C (paintText):
1113         * lyxtext.h:
1114         * text.C (redoParagraph):
1115         * text3.C (dispatch): Make LyX only repaint current paragraph in
1116         case of character insert --> speedup. Also fix cursor draw
1117         artifacts
1118
1119 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1120
1121         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1122         avoid a crash (bug 1891)
1123
1124 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1125
1126         Fix bug 1892:
1127
1128         * text2.C (getStringToIndex): constify cur argument.
1129
1130         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1131         argument has been given
1132         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1133         try to invoke LFUN_INSET_APPLY).
1134
1135         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1136         if no inset was created by doInsertInset
1137         (doInsertInset): return true if an inset has been inserted.
1138
1139 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1140
1141         * vspace.C (asGUIName): new method. A version of the space
1142         suitable for showing on screen.
1143
1144 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1145
1146         * MenuBackend.C:
1147         * lyxrc.C: rename "ASCII" to "Plain Text"
1148
1149 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1150
1151         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1152         translate the labelstring.
1153         (setCounter): translate labelstring as needed.
1154
1155         * output_docbook.C (makeCommand): fix expandLabel invokation
1156
1157 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1158
1159         * BufferView.C: fix dialog title
1160
1161 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1162
1163         * lyx_main.C (priv_exec): fix logic error with help from Angus
1164         * lyx_main.C (parse_execute): set is_gui = false and remove now
1165         obsolete comment about a segfault
1166
1167 2005-05-18  Angus Leeming  <leeming@lyx.org>
1168
1169         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1170
1171 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1172
1173         * tabular.[hC]: added setCellInset to fix tabular paste.
1174
1175 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1176
1177         * buffer.C (save): check if destination is writable before trying
1178         to copy a file
1179
1180 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1181
1182         * BufferView_pimpl.C (update): fix processEvents -caused update
1183         recursion bug
1184
1185 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1186
1187         * buffer_funcs.C (setCounter): fix test for numbering of
1188         environments.
1189
1190         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1191         depth correctly; use optional argument when it exists
1192
1193         * lyxtextclass.C: remove unused MaxCounterTags enum
1194         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1195         (max_toclevel, min_toclevel): new methods.
1196
1197         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1198         the smallest depth in toc.
1199
1200         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1201         layouts that should not appear in a table of contents.
1202
1203 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1204
1205         * cursor.h (undispatched, noUpdate): add comments from Andr�
1206 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1207
1208         * lfuns.h:
1209         * LyXAction.C:
1210         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1211
1212 2005-05-07  André Pönitz  <poenitz@gmx.net>
1213
1214         * cursor.[Ch] (leaveInset): new function
1215
1216 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1217
1218         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1219
1220 2005-05-04  Angus Leeming  <leeming@lyx.org>
1221
1222         * lyxfunc.C (getStatus): disable the spell checker dialog if
1223         none of USE_[AIP]SPELL are defined.
1224
1225 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1226
1227         * tabular.C (setWidthOfCell): remove obsolete comment
1228
1229 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1230
1231         * paragraph.C (bibitem):
1232         * buffer_funcs.C (setCounter):
1233         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1234
1235 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1236
1237         * text3.C (getStatus): immediately return after setOnOff
1238
1239         * rowpainter.C: fix drawing of appendix start
1240
1241 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1242
1243         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1244         SwitchBetweenClasses and remove the unused return value.
1245         Handle character styles, too
1246
1247 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1248
1249         * factory.C (createInset): handle undefined character styles
1250
1251 2005-05-02  Angus Leeming  <leeming@lyx.org>
1252
1253         * buffer.C: protect the #include of utime.h with a preprocessor
1254         guard.
1255
1256 2005-05-02  Angus Leeming  <leeming@lyx.org>
1257
1258         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1259         function so that auto-saving works, albeit in a blocking manner.
1260
1261         * Makefile.am: make compilation of the client sub directory, of
1262         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1263         on conditionals set at configure time.
1264
1265         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1266         it can be compiled in its own right but has no-op functionality.
1267
1268         * aspell.C, pspell.C: remove preprocessor guards. The files should
1269         be compiled only if the necessary functionality exists.
1270
1271         * lyxserver.C, lyxsocket.C: disable on Windows.
1272
1273 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1274
1275         * text.C (leftMargin): Fix the parindent use bug (1764)
1276         by dirty trick
1277
1278 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1279
1280         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1281         argument.
1282
1283 2005-04-25  Angus Leeming  <leeming@lyx.org>
1284
1285         * Bidi.[Ch]:
1286         * coordcache.[Ch]:
1287         * ispell.C:
1288         * lyxserver.C:
1289         * mover.C:
1290         * pch.h:
1291         include <config.h> in .C files, not .h ones.
1292         add licence blurb.
1293         protect headers inside preprocessor guards.
1294
1295 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1296
1297         * FuncStatus.h (StatusCodes): document
1298
1299 2005-04-21  André Pönitz  <poenitz@gmx.net>
1300
1301         * FuncStatus.h (enabled, onoff): document
1302
1303 2005-04-19  Angus Leeming  <leeming@lyx.org>
1304
1305         * BufferView_pimpl.C (cursorToggle): no longer test whether
1306         any child processes have been reaped before calling
1307         handleCompletedProcesses().
1308
1309 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1310
1311         * text3.C (dispatch): fix, finally fix, the language problem in
1312         new lyxtexts, without disabling on-the-fly font changes (Helge's
1313         bug report)
1314
1315 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1316
1317         * text3.C (dispatch): set cursor on double/triple click events
1318         (bug 1811)
1319
1320 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1321
1322         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1323         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1324
1325         * rowpainter.C (paintFirst): simplify the code a little bit. In
1326         particular, remove the test for secnumdepth.
1327         * text.C (setHeightOfRow): only allocate space for chapter number
1328         when updateCounters provided an actual label, instead of looking
1329         at secnumdepth directly.
1330
1331         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1332
1333         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1334         paragraphs when secnumdepth is large enough or, for environments,
1335         when they are not the first in a sequence.
1336
1337 2005-04-17  Angus Leeming  <leeming@lyx.org>
1338
1339         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1340         containing space and '~' characters with a call to latex_path().
1341
1342 2005-04-17  Angus Leeming  <leeming@lyx.org>
1343
1344         * converter.C (convert): protect all args of convertDefault.sh
1345         script with quotes.
1346
1347 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1348
1349         * text3.C (dispatch): change the layout to "Caption" after inserting
1350         a float.
1351
1352 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1353
1354         * text3.C (dispatch): fix language problem in newly created
1355         textinsets (and main text) in non-english docs
1356
1357 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1358
1359         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1360         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1361         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1362
1363 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1364
1365         * lyxtext.h:
1366         * text.C (metrics):
1367         * text2.C (getFont):
1368         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1369         fonts fix
1370
1371 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1372
1373         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1374         output of \item arguments without trailing text.
1375
1376 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1377
1378         * FontIterator.C (operator*): avoid a copy of the font.
1379
1380 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1381
1382         * rowpainter.C (getFont): fix language bug from previous fix
1383
1384 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1385
1386         * rowpainter.C (RowPainter, getFont): fix font inside inset
1387         (bugs 1766, 1809)
1388
1389 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1390
1391         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1392         preventing inserted font, deco, delim insets jumping to start of
1393         surrounding inset.
1394
1395 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1396
1397         * lyxfunc.C (dispatch): translate message before sending it to the
1398         minibuffer.
1399
1400 2005-03-29  Angus Leeming  <leeming@lyx.org>
1401
1402         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1403         to LyX on the command line.
1404
1405 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1406
1407         * vc-backend.C: use QuoteName to protect file names wherever
1408         necessary.
1409
1410 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1411
1412         * buffer.[Ch]:
1413         * BranchList.h: fix bugs 1844,1845: document settings don't
1414         stick
1415
1416 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1417
1418         * lyxrc.C (setDefaults, read, output, getDescription): add support
1419         for tex_allows_spaces.
1420
1421         * exporter.C (Export): allows files in directory containing spaces
1422         if tex_allows_spaces is true.
1423
1424         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1425         output it in double quotes.
1426
1427 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1428
1429         * rowpainter.C: use default text height for drawing change tracker
1430         strikeout lines.
1431
1432 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1433
1434         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1435
1436 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1437
1438         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1439         directory is missing.
1440
1441 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1442
1443         * text2.C: fixed the fix, extended to other case.
1444
1445 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1446
1447         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1448
1449 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1450
1451         * text2.C (cursorUp): get rid of a crash
1452         * text.C (x2pos): add an assert
1453
1454 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1455
1456         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1457
1458         * text3.C:
1459         * lyxfunc.C:
1460         * dociterator.C: include <boost/current_function.hpp>, which is
1461         needed when assertions are disabled.
1462
1463 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1464
1465         * text2.C: fix for stuck cursor when traversing two
1466         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1467
1468 2005-02-25  Andreas Vox  <avox@arcor.de>
1469
1470         * output_docbook.C (makeParagraph): suppress trailing newline
1471         after a run of paragraphs
1472
1473 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1474
1475         * paragraph.C: fix for confused change tracker when pasting
1476         text that begins with a lineseparator. [bug 1827]
1477         (setChange(0, Change::INSERTED);)
1478
1479         * paragraph_funcs.C: fix for lost changes on triple-paste
1480         in change tracking mode [bug 1827] (par.setChange()).
1481
1482 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1483
1484         * text2.C (updateCounters, setCounter, expandLabel): move to
1485         buffer_funcs.
1486
1487         * buffer_funcs.C (updateCounters): turn into a free standing
1488         function and add a buffer parameter. Remove dead code for tracking
1489         labelstring change.
1490         (setCounter): change into a free-standing function which gets a
1491         dociterator as argument. Use this iterator to fix captions in a
1492         simple way. When no float is found above the caption, use the
1493         labelstring of the caption layout as default.
1494
1495         * text.C (breakParagraph, backspace):
1496         * text2.C (init, setLayout, changeDepth):
1497         * text3.C (dispatch):
1498         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1499         updateCounters.
1500
1501         * dociterator.C (forwardPar): make it much faster by calling
1502         forwardPos() only when really necessary.
1503
1504         * output_docbook.C (makeCommand): adapt to expandLabel move.
1505
1506         * cursor.C: remove unused variable
1507
1508 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1509
1510         * paragraph_funcs.C: fix crash when pasting insets in change
1511         tracking mode [bug 1277] (honour change type in moveItem).
1512
1513 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1514
1515         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1516
1517 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1518
1519         * BufferView.C (setCursor): change to use a DocIterator.
1520         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1521         (putSelectionAt): adapt to BufferView::setCursor change.
1522
1523         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1524         moved here from LyXText and rewritten to use proper cursor
1525         methods. Fixes bug 1787, 616 and 835.
1526
1527         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1528         when inside an inset (part of bug 781).
1529         (dispatch): adapt to change of BufferView::setCursor.
1530         (getStatus, dispatch): handle LFUN_GOTOERROR,
1531         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1532
1533         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1534         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1535         * text3.C (gotoNextInset, gotoInset): removed.
1536
1537 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1538
1539         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1540
1541 2005-02-15  Angus Leeming  <leeming@lyx.org>
1542
1543         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1544         can be used meaningfully in a comparison.
1545
1546 2005-02-13  André Pönitz  <poenitz@gmx.net>
1547
1548         * bufferview_funcs.C (coordOffset): improve cursor drawing
1549
1550 2005-02-13  André Pönitz  <poenitz@gmx.net>
1551
1552         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1553         * Cursor.C (dispatch): use fixIfBroken
1554         * lyxfunc.C (getStatus): use fixIfBroken
1555
1556 2005-02-15  Angus Leeming  <leeming@lyx.org>
1557
1558         * lyx_main.C (error_handler):
1559         * lyxfunc.C:
1560         * lyxrc.C (setDefaults):
1561         s/GetEnv/getEnv/.
1562         #include "environment.h".
1563
1564         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1565
1566 2005-02-15  Angus Leeming  <leeming@lyx.org>
1567
1568         * lyxserver.C (startPipe): squash MSVC warning "local variable
1569         'fd' used without having been initialized".
1570
1571 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1572
1573         * BufferView_pimpl.C: revert accidental commit.
1574
1575 2005-02-14  André Pönitz  <poenitz@gmx.net>
1576
1577         * dociterator.[Ch]: new member forwardPosNoDescent(),
1578         which doesn't enter nested insets.
1579         * text2.C (setFont): use forwardPosNoDescent() instead
1580         of ForwardPos() (fixes crash on font change).
1581
1582 2005-02-13  Angus Leeming  <leeming@lyx.org>
1583
1584         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1585         only if lyxrc.path_prefix is not empty.
1586
1587 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1588
1589         * bufferparams.C (readGraphicsDriver): prevent crash
1590
1591 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1592
1593         * text2.C (setCounter): check for inInset() == 0
1594
1595 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1596
1597         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1598         but use update() to get correct screen display; use convert
1599         instead of istringstream.
1600         (getStatus): handle LFUN_GOTO_PARAGRAPH
1601
1602         * lyxfunc.C (dispatch, getStatus): do not handle
1603         LFUN_GOTO_PARAGRAPH here.
1604
1605 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1606
1607         * text3.C (dispatch): size() -> depth()
1608
1609         * text2.C: remove some debug output
1610
1611         * paragraph.C: ws changes only
1612
1613         * lyxfunc.C (getStatus): size() -> depth()
1614
1615         * dociterator.h (clear, push_back, pop_back, internalData,
1616         operator[], resize, empty): new functions
1617         Make StableDocIterator and operator== be friends. Don't inherit
1618         from std::vector use a privat class variable slices_ instead.
1619         Modify to fit.
1620
1621         * dociterator.C: update because of not inheriting from std::vector
1622         anymore. Call explictly to slices_ instead. Use depth() instead of
1623         size() and top() instead of back()
1624
1625         * cursor.C: chagne size() -> depth and back() -> top(). Also
1626         remove some direct operator[](i) calls in favour of foo[i]
1627         (getFont): remove some dead code
1628
1629         * bufferview_funcs.C (coordOffset): size() -> depth()
1630
1631         * buffer.C: ws changes only
1632
1633         * CutAndPaste.C (eraseSelection): back() -> top()
1634
1635         * BufferView_pimpl.C (selectionRequested): back() -> top()
1636
1637         * BufferView.C (setCursor): size() -> depth()
1638
1639 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1640
1641         * text3.C (cursorPrevious): return true if depm changed something
1642         (cursorNext): ditto
1643         (dispatch): rename sl to oldTopSlice, remove moving use the new
1644         NoUpdate func attrib instead. Make sure that needsUpdate is set
1645         for function that have NoUpdate, but where depm might have changed
1646         the buffer anyway.
1647
1648         * text2.C (cursorLeft): make us return true if depm changed
1649         something
1650         (cursorRight): ditto
1651         (cursorUpParagraph): ditto
1652         (curosrDownParagraph): ditto
1653         (cursorUp, cursorDown): ditto, make sure to read comments in code
1654         (deleteEmptyParagraphMechanism): remove an assert, also return
1655         true if just a single char was deleted.
1656
1657         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1658         cursor that we modify, to avoid modifying an active cursor before
1659         we call setCursor. This allows depm to run. Also return true if
1660         depm deleted something.
1661
1662         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1663         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1664         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1665         something was changed in the buffer because of them (ie. depm run)
1666
1667         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1668         debug messages. Make update by default be false. Make sure that
1669         the result of update is retained throught several calls down to
1670         dispatch.
1671
1672         * LyXAction.h: add a new func_attrib: NoUpdate
1673
1674         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1675         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1676         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1677         and LFUN_WORDLEFT
1678         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1679
1680 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1681
1682         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1683         bv_->owner(), bv_->buffer() by direct references to the private
1684         members.
1685         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1686         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1687         (fitCursor): center() is in BufferView::Pimpl.
1688         (getStatus, trackChanges, dispatch): no need for a temporary buf
1689         variable
1690         (fitCursor, workAreaDispatch): use workarea().workheight()
1691
1692 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1693
1694         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1695
1696 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1697
1698         * buffer.C: format up to 241.
1699         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1700         break if pasting into ERT
1701         * lyxfunc.C (getStatus): suppress mathpanel and
1702         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1703
1704 2005-02-01  Angus Leeming  <leeming@lyx.org>
1705
1706         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1707
1708 2005-02-01  Angus Leeming  <leeming@lyx.org>
1709
1710         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1711         calling fs::is_directory().
1712
1713 2005-01-31  Angus Leeming  <leeming@lyx.org>
1714
1715         * lyx_main.C (priv_exec): specify explicitly the relative location
1716         of the top level build directory when run in-place.
1717
1718 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1719
1720         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1721         LyXText containing the cursor, not the top-level one.
1722
1723         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1724         true.
1725         (insertStringAsLines): rename par to pit; use temporary variable
1726         par to hold a Paragraph; do not store par.layout() in a variable,
1727         since the pointer may die when breaking paragraphs; pass pars to
1728         breakParagraph() instead of Buffer::paragraphs().
1729
1730 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1731
1732         * lyxlex_pimpl.h: #include <fstream>.
1733
1734         * BufferView.[Ch] (getLyXText): add a const version.
1735
1736         * BufferView_pimpl.C: add debug aids.
1737
1738         * RowList_fwd.h:
1739         * buffer.h:
1740         * lyxrow.h:
1741         * paragraph_funcs.h: add commentary explaining what the class does.
1742
1743
1744         * coordcache.[Ch]: add lots of commentary.
1745         (startUpdating, doneUpdating): debug aids.
1746         (arrays, insets, parPos, getParPos): accessors to private data.
1747
1748         * cursor_slice.[Ch] (text): add a const version.
1749         * dociterator.[Ch] (text, innerText): add const versions.
1750
1751         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1752         bool.
1753
1754         * paragraph.C (getRow, pos2ros): add asserts.
1755
1756         * paragraph.h: add commentary. Lots of.
1757
1758         * paragraph.[Ch] (metrucs, draw): removed.
1759
1760         * cursor.C:
1761         * rowpainter.[Ch]: const-correct changes.
1762
1763         * text.C: various obvious clean-ups. Removal of ancient cruft.
1764         Bug fixes, even.
1765
1766 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1767
1768         * vc-backend.C (find_file): rewrite to use boost.filesystem
1769         (scanMaster): ditto
1770
1771         * main.C (main): set default name check for boost.filesystem to
1772         no check
1773
1774         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1775         (open): ditto
1776         (doImport): ditto
1777         (actOnUpdatedPrefs): ditto
1778
1779         * lyx_main.C (init): rewrite to use boost.filesystem
1780         (queryUserLyXDir): ditto
1781
1782         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1783         (getContentsOfAsciiFile): ditto
1784
1785         * lastfiles.C (readFile): rewrite to use boost.filesystem
1786
1787         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1788
1789         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1790         (loadLyXFile): ditto
1791
1792         * buffer.C (Buffer): adjust for destroydir
1793         (getLogName): rewrite to use boost.filesystem
1794         (setFileName): ditto
1795         (save): use fs::copy_file (from fs_extras)
1796
1797         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1798
1799         * LaTeX.C (run): rewrite to use boost.filesystem
1800         (scanAuxFiles): ditto
1801         (handleFoundFile): ditto
1802
1803 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1804
1805         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1806
1807         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1808
1809 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1810
1811         * lyxlayout.[Ch]: change some vars from float to double
1812
1813         * buffer.C (readFile): make a local var const
1814
1815         * Several files: use convert<> instead of atoi,strToXXX and friends
1816
1817 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1818
1819         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1820         holds the contents of packages.lst. New functions getAvailable
1821         and isAvailable to parse and check that list, resp.
1822
1823         * LyXAction.C:
1824         * lfuns.h:
1825         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1826
1827         * bufferparams.[Ch]: new param output_changes.
1828
1829         * Buffer.C: increase file format to 240.
1830         Use output_changes and isVailable.
1831
1832         * changes.[Ch]:
1833         * paragraph.C:
1834         * paragraph_pimpl.C: Use output_changes and isVailable.
1835
1836 2005-01-23  Angus Leeming  <leeming@lyx.org>
1837
1838         * output_latex.C: #include "insetbibitem.h", rather than
1839         forward declare function bibitemWidest.
1840
1841 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1842
1843         * lyx_main.C (init): make it compile on the Mac.
1844
1845 2005-01-20  Angus Leeming  <leeming@lyx.org>
1846
1847         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1848         (setLyXMisc): (char string literal) != (char string literal) is
1849         performing a comparison on the addresses. Convert one operand
1850         explicitly to string to guarantee expected behaviour.
1851         From MSVC warning.
1852
1853 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1854
1855         * buffer.C:
1856         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1857
1858         * output_plaintext.C: remove unneeded #include gzstream.h.
1859
1860 2005-01-20  Angus Leeming  <leeming@lyx.org>
1861
1862         * SpellBase.h: rename some of the elements of the Result enum.
1863
1864         * aspell_local.h:
1865         * ispell.h:
1866         * pspell.h:
1867         * aspell.C (check):
1868         * ispell.C (check):
1869         * pspell.C (check): ditto
1870
1871 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1872
1873         * buffer.C: add #include <fstream>.
1874
1875         * lyx_main.C (init): Compile fix.
1876
1877         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1878
1879 2005-01-20  Angus Leeming  <leeming@lyx.org>
1880
1881         * mover.h: change commentary to reflect the changed meaning of
1882         the $$s placeholder.
1883
1884 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1885
1886         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1887
1888         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1889
1890 2005-01-20  Angus Leeming  <leeming@lyx.org>
1891
1892         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1893         printing diagnostic data by not dereferecing an iterator past the
1894         end.
1895
1896 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1897
1898         * buffer.C (readHeader): use "&&" rather than "and".
1899
1900         * lyxserver.h (inPipeName, outPipeName): make these const.
1901
1902 2005-01-19  Angus Leeming  <leeming@lyx.org>
1903
1904         * lyx_main.C (error_handler, init): protect SIGHUP with
1905         #ifdef SIGHUP guards.
1906
1907 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1908
1909         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1910
1911 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1912
1913         * text.C (setHeightOfRow): add a margin at the top and bottom of
1914         the document (bug 1761)
1915
1916 2005-01-17  Angus Leeming  <leeming@lyx.org>
1917
1918         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1919         with "python ". Workaround for a brain-dead Windows.
1920
1921 2005-01-16  Angus Leeming  <leeming@lyx.org>
1922
1923         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1924         for MacOSX and Windows to use prependEnvPath.
1925         Strip out the hard-coded block to add elements to the PATH for
1926         MacOSX and replace it with a call to prependEnvPath using the
1927         contents of LyXRC::path_prefix.
1928         (queryUserLyXDir): strip out the code to run reconfigure, instead
1929         returning a boolean indicating the necessity to do so.
1930         (reconfigureUserLyXDir): contains the code to reconfigure the
1931         user support directory. Is now called after the various LyXRC data
1932         files have been read.
1933
1934         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1935
1936 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1937
1938         * converter.[Ch] (convert): take a new parameter try_default. Use
1939         a default converter (imagemagick) if try_default is true.
1940
1941 2005-01-13  Angus Leeming  <leeming@lyx.org>
1942
1943         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1944         os::cygwin_path_fix.
1945         (write): output LyXRC::cygwin_path_fix as necessary.
1946
1947 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1948
1949         * lyxrc.h:
1950         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1951
1952 2005-01-12  Angus Leeming  <leeming@lyx.org>
1953
1954         * lyx_main.C (init): set the PATH variable to include the
1955         directory containing the LyX binary when running on Mac or Windows.
1956
1957 2005-01-12  Angus Leeming  <leeming@lyx.org>
1958
1959         * lyx_main.C (init): remove cruft that purports to set the locale
1960         dir. It doesn't and is not needed anyway.
1961
1962 2005-01-10  Angus Leeming  <leeming@lyx.org>
1963
1964         * Makefile.am: remove the lyx_main.C special casing.
1965
1966         * BufferView_pimpl.C:
1967         * bufferlist.C:
1968         * exporter.C:
1969         * lyx_cb.C:
1970         * lyx_main.C:
1971         * lyxfunc.C:
1972         * messages.C: use support/package.h to provide the paths to the
1973         various directories used by LyX.
1974
1975 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1976
1977         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1978         layout if pasting into an empty paragraph)
1979
1980 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1981
1982         * tex-accent.C: add <string>
1983
1984 2005-01-06  José Matos  <jamatos@lyx.org>
1985
1986         * ParagraphParameters.C (write): put every parameter in its own line.
1987         * paragraph.C (write): reduce number of consecutive empty lines exported.
1988         * buffer.C (LYX_FORMAT): increase file format to 239.
1989
1990 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1991
1992         * everywhere: change support/tostr.h -> support/convert.h
1993
1994         * tabular.C: make all write_attributes templates, tostr -> convert
1995
1996         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1997         (emptyTag): and -> &&, and fix type for ret from getChar
1998         (getFirstWord): fix type for ret from getChar
1999         (onlyText): and -> &&
2000         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2001         getChar
2002
2003         * toc.C (goTo, action):
2004         * text3.C (dispatch):
2005         * text.C (currentState):
2006         * tex-accent.C (DoAccent):
2007         * sgml.C:
2008         * lyxrc.C:
2009         * lyxfunc.C (menuNew):
2010         * lyxfinc.C (replace):
2011         * counters.C (laberItem):
2012         * bufferview_funcs.C (font2string):
2013         * bufferparams.C (writeFile):
2014         * buffer.C (readFile):
2015         * Spacing.C (set):
2016         * MenuBackend.C: tostr -> convert
2017
2018         * LaTeX.C (runMessage): fix format
2019         (scanAuxFiles): tostr -> convert
2020
2021         * BufferView_pimpl.C (savePosition): fix format
2022         (restorePosition): ditto
2023         (dispatch): ditto
2024
2025 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2026
2027         * Spacing.[Ch]: New method getValueAsString().
2028
2029         * Spacing.[Ch]:
2030         * bufferparams.C:
2031         * ParagraphParameters.C:
2032         * lyxlayout.C:
2033         * text.C:
2034         * text3.C: store/read spacing value as string.
2035
2036         * rowpainter.C: change float value (spacing_val) to double.
2037
2038         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2039         broken custom document spacing).
2040
2041 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2042
2043         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2044         namespace, also more use of temp references and const
2045
2046         * cursor.[Ch] (getStatus): move to lyxfunc.C
2047
2048         * bufferparams.C: reformat slightly
2049
2050         * bufferview_funcs.C (font2string): constify arg
2051
2052         * changes.C:
2053         * converter.C:
2054         * counters.C:
2055         * bufferlist.C:
2056         * buffer_funcs.C: (many funcs): constify arg on function
2057         definitions, also make more local vars const, also add ASSERTS on
2058         pointer args.
2059
2060         * buffer.C (LYX_FORMAT): put const in correct place
2061         (many funcs): constify arg on function definitions, also make
2062         more local vars const
2063
2064         * aspell_local.h: remove "struct" from typdef setup
2065
2066         * aspell.C (check): make word_ok const
2067         (nextMiss): simplify slightly
2068         (error): ditto
2069
2070 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2071
2072         * lyxrc.[Ch]: store all float values as strings.
2073         use int (not float) for lyxrc.dpi.
2074
2075 2005-01-04  Angus Leeming  <leeming@lyx.org>
2076
2077         * lyx_cb.C (Reconfigure):
2078         * lyx_main.C (queryUserLyXDir):
2079         to run the <system_lyxdir>/configure correctly on Windows, prefix
2080         the path to the script with "sh " when generating the string that
2081         is passed to system().
2082
2083 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2084
2085         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2086
2087 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2088
2089         * lyxlength.C (asLatexString): get rid of setprecision
2090
2091 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2092
2093         * text2.C (setLayout): remove unused variable endpit.
2094         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2095
2096         * paragraph.C (onlyText): remove unused variable style.
2097
2098         * cursor.C (bruteFind): remove unused variables beg and end.
2099
2100         * Makefile.am (dist_noinset_DATA): not needed anymore
2101
2102         * cheaders/*: remove.
2103
2104 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2105
2106         * text3.C: fix LFUN_MATH_MODE.
2107
2108 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2109
2110         * buffer_funcs.C (countWords): new function. Counts words between
2111         two iterators.
2112
2113         * BufferView_pimpl.C (getStatus, dispatch): handle
2114         LFUN_WORDS_COUNT.
2115
2116         * LyXAction.C (init):
2117         * lfuns.h: add LFUN_WORDS_COUNT.
2118
2119 2004-12-19  Angus Leeming  <leeming@lyx.org>
2120
2121         * buffer.C (save): s/slashify_path/internal_path/.
2122
2123 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2124
2125         * lyxfind.C (findChange): do not search for end of pars, because
2126         the change tracker cannot handle this (fixes bug 1719).
2127
2128 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2129
2130         * paragraph.[Ch] (autoBreakRows): remove
2131
2132         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2133
2134         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2135         avoid using the paragraph one
2136
2137         * text2.C (LyXText, insertStringAsLines): adjust
2138
2139 2004-12-16  Angus Leeming  <leeming@lyx.org>
2140
2141         * bufferlist.C:
2142         * lyx_main.C:
2143         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2144
2145 2004-12-14  Angus Leeming  <leeming@lyx.org>
2146
2147         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2148
2149         * bufferlist.C (emergencyWrite):
2150         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2151         GetEnvPath("HOME").
2152
2153 2004-12-14  Angus Leeming  <leeming@lyx.org>
2154
2155         * main.C: (main): no longer pass pointers to os::init.
2156
2157 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2158
2159         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2160         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2161
2162 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2163
2164         * lyxfunc.C:
2165         * text3.C: remove selection_possible global flag
2166
2167 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2168
2169         * text2.C (getSelectionSpan): remove
2170         (changeDepth, changeDepthAllowed): adjust
2171
2172 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2173
2174         * Makefile.am (BOOST_LIBS): use boost variables
2175
2176 2004-12-03  José Matos  <jamatos@lyx.org>
2177
2178         * buffer.C: format up to 238.
2179
2180 2004-12-03  José Matos  <jamatos@lyx.org>
2181
2182         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2183
2184 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2185
2186         * cursor.C (goUpDown): remove call to idxUpDown2
2187
2188 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2189
2190         * tabular.[Ch]: use size_t-like types for cell, row and column
2191         indices
2192
2193 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2194
2195         * lyxfunc.C (getStatus): do not lose previous information when
2196         calling BufferView::getStatus; do not set a default "Command
2197         disabled" message at the beginning, but just before returning.
2198
2199 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2200
2201         * cursor.h (getStatus): add better comment from src/cursor.C
2202
2203 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2204
2205         * text3.C (getStatus): return false when the lfun is not handled
2206
2207 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2208
2209         * broken_headers.h: remove
2210
2211         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2212
2213 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2214
2215         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2216         offset_ref accessors
2217
2218         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2219         top_y_, merge fitcursor with update
2220         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2221         coord scheme
2222         (metrics): introduce
2223         (workAreaDispatch): adapt to new coord scheme
2224         (redoCurrentBuffer): remove
2225
2226         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2227
2228         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2229         CurStatus enum.
2230
2231         * coordcache.[Ch]: add paragraph cache and helpers
2232
2233         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2234         adjust everywhere
2235
2236         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2237         (targetX, setTargetX): introduce
2238
2239         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2240         baseline -> ascent, as the rest of lyx
2241
2242         * lyxtext.h: remove redoParagraphs, updateParPositions,
2243         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2244         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2245         have ascent/descent (ascent is ascent of first par)
2246
2247         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2248         step of BufferView
2249
2250         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2251
2252         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2253
2254         * pariterator.C: fix infinite loop introduced in par->pit renaming
2255
2256         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2257         in insets and LyXText, draw two off-screen paragraphs using
2258         NullPainter, and adapt to new coord scheme
2259
2260         * text.C:
2261         * text2.C:
2262         * text3.C: adapt lfun handlers to the new coord scheme, which
2263         means: there's only guaranteed coord information for onscreen pars
2264         plus one above and one below. This implies that one can do search
2265         from y coordinates in the range [-1,workHeight]
2266
2267 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2268
2269         * rename a lot of InsetOld to InsetBase
2270
2271 2004-11-25  Angus Leeming  <leeming@lyx.org>
2272
2273         * BufferView_pimpl.C:
2274         * lyx_cb.C:
2275         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2276
2277 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2278
2279         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2280         call BufferView::getStatus if LCursor::getStatus did nothing
2281         (setStatusMessage, getStatusMessage): removed.
2282
2283         * FuncStatus.C (message): new methods. Used to provide an error
2284         message indicating why a command is disabled.
2285         (clear, |=, FuncStatus): update for message.
2286
2287 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2288
2289         * lyxfunc.C (dispatch): always call sendDispatchMessage
2290
2291 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2292
2293         * BufferView.C:
2294         * BufferView_pimpl.C:
2295         * CutAndPaste.C:
2296         * FontIterator.C:
2297         * buffer.C:
2298         * cursor.C:
2299         * cursor_slice.[Ch]:
2300         * dociterator.[Ch]:
2301         * lyxfind.C:
2302         * paragraph_funcs.C:
2303         * pariterator.C:
2304         * rowpainter.C:
2305         * text.C:
2306         * text2.C:
2307         * text3.C:
2308         * undo.C: par->pit renaming
2309
2310 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * tabular.C (cellstruct): use initialization, store a shared_ptr
2313         to insettext instead of the insettext directly, adjust to fit.
2314         (operator=):  new function
2315         (swap): new function
2316         (rowstruct): use initialization
2317         (columnstruct): use initialization
2318         (ltType): use initialization
2319
2320
2321         * lyxlength.h (swap): new function
2322
2323         * LColor.[Ch] (operator=): use the common semantics
2324
2325 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2326
2327         * lyxfind.C (findNextChange): update the bufferview after setting
2328         the selection.
2329
2330 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2331
2332         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2333         number of InsetOptArgs has already been inserted.
2334
2335         * output_latex.C (latexOptArgInsets): new method. This outputs all
2336         the optarg insets, up to the limit defined in the layout file.
2337         (optArgInset): removed
2338         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2339
2340 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2341
2342         * paragraph.C (isLetter): remove special spellchecker-related
2343         code; return true also for digits
2344         (isWord, isKomma): remove
2345
2346         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2347         * lyxfind.C (MatchString()): use isLetter instead of isWord
2348
2349 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2350
2351         * pariterator.h (operatir=): comment out un-implemented member
2352         function.
2353
2354         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2355         static cast.
2356
2357 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2358
2359         * lyxfont.h: include LColor.h to satisfy concept checks.
2360
2361 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2362
2363         * pariterator.h: add typdefs for value_type, difference_type,
2364         pointer and reference to satisfy concept checks. Also add default
2365         constructor for same reason.
2366
2367         * pariterator.C (operator++): add post-increment operator to
2368         satisfy concept checks.
2369
2370         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2371         checks.
2372
2373         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2374
2375         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2376         checks. Also rename base_type to BaseType to follow naming
2377         standard better.
2378
2379         * FloatList.h: include Floating.h to satisfy concept checks.
2380
2381 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2382
2383         * lyxfunc.C (getStatus): when the origin of the request is menu or
2384         toolbar, and the LyXView does not have focus, do as if there was
2385         no buffer (bug 1720)
2386
2387         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2388         FuncRequest to individual entries of LFUN_SEQUENCE
2389
2390 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2391
2392         * output_latex.C (TeXOnePar): override runparams.moving_arg
2393         according to the needprotect value of the current paragraph (bug
2394         1739)
2395
2396         * paragraph.C (simpleTeXOnePar): no need to override
2397         runparams.moving_args here
2398
2399 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2400
2401         * vspace.C: fix off-by-one-error, related to fix #1682
2402
2403 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2404
2405         * lengthcommon.C: a more general fix for bug 1682
2406
2407 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2408
2409         * text.C (backspace): fix crash
2410
2411 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2412
2413         * format.[Ch] (getFormatFromFile): new method
2414         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2415
2416 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2417
2418         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2419
2420 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2421
2422         * lyxfunc.C (dispatch): remove the verbose argument
2423         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2424         instead
2425
2426         * kbmap.C (defkey): set the origin of func to KEYBOARD
2427
2428         * MenuBackend.C (MenuItem):
2429         * ToolbarBackend.C (add): set the origin of func to UI
2430
2431         * funcrequest.[Ch]: add origin member, which indicates which part
2432         of LyX requests an action
2433
2434 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2435
2436         * converter.C (move): don't lie in the error message
2437         * converter.h (isReachable, move): document
2438
2439 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2440
2441         * buffer.C: remove unused using lyx::support::atoi
2442         * paragraph_funcs.C: ditto
2443
2444 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2445
2446         * bufferlist.C (exists): use bind and equal_to instead of
2447         compare_memfun
2448         (getBuffer): ditto
2449         * lyxtextclasslist.C (NumberOfClass): ditto
2450
2451         * cursor.C (insert): use for_each instead of explicit for loop
2452
2453         * bufferlist.C (getFileNames): use std::transform and
2454         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2455
2456         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2457         for loop
2458
2459         * buffer.C (changeLanguage): use for_each instead of explicit for
2460         loop
2461         (hasParWithID): implement using getParFromID
2462
2463         * LaTeXFeatures.C: ws change only
2464
2465         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2466         to cleanup a bit.
2467
2468         * BufferView_pimpl.C (trackChanges): use for_each instead of
2469         expilicit for loop
2470
2471 2004-11-04  André Pönitz  <poenitz@gmx.net>
2472
2473         * undo.h:
2474         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2475
2476         * dociterator.C (asDocIterator): use hard assert again.
2477
2478 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2479
2480         * lyxlength.C (asLatexString): rewrite so that it does not use
2481         snprintf anymore
2482
2483 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2484
2485         * text3.C (specialChar, dispatch): make sure cursor moves to the
2486         right after inserting an inset
2487
2488 2004-11-02  José Matos  <jamatos@lyx.org>
2489
2490         * output_docbook.C (docbook):
2491         * paragraph.C (getID):
2492         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2493         garantee that the output is always legal.
2494
2495         * tabular.C (docbook):
2496         * outputprams.[Ch]: remove mixed contents.
2497
2498 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2499
2500         * text2.C (setCounter): prevent endless loop
2501
2502 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2503
2504         * exporter.C (copyFile): use the mover instead of support::copy()
2505         * exporter.C (Export): pass format and latex name to copyFile()
2506         * exporter.h (addExternalFile): document
2507         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2508
2509 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2510
2511         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2512
2513 2004-10-30  José Matos  <jamatos@lyx.org>
2514
2515         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2516         text and no inset or font change. This allows to use CDATA
2517         sections just for the whole paragraph.
2518
2519 2004-10-30  José Matos  <jamatos@lyx.org>
2520
2521         * paragraph.C (getFirstWord): remove unused variable.
2522
2523 2004-10-30  José Matos  <jamatos@lyx.org>
2524
2525         * paragraph.C (getFirstWord): the content should always be escaped
2526         there.
2527         (simpleDocBookOnePar):
2528         * output_docbook.C (makeEnvironment): replace reference to CDATA
2529         to style pass_thru.
2530
2531 2004-10-30  José Matos  <jamatos@lyx.org>
2532
2533         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2534
2535 2004-10-30  José Matos  <jamatos@lyx.org>
2536
2537         * output_docbook.C (makeParagraphs):
2538         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2539         standard paragraph has only a given type of content drop the wrapper.
2540
2541 2004-10-29  José Matos  <jamatos@lyx.org>
2542
2543         * output_docbook.C (makeEnvironment):
2544         * sgml.C (openTag):
2545         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2546
2547 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2548
2549         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2550         (cleanID): sanitize any id.
2551
2552 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2553
2554         * buffer.C, lyxlex_pimpl.C:
2555         * lyxlex_pimpl.C (setFile):
2556         s/getExtFromContents/getFormatFromContents/
2557
2558 2004-10-28  José Matos  <jamatos@lyx.org>
2559
2560         * output_docbook.C (makeEnvironment): move id to broadest possible
2561         scope.
2562
2563         * sgml.C (openTag): apply substitution of <> for all attributes.
2564
2565 2004-10-28  José Matos  <jamatos@lyx.org>
2566
2567         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2568         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2569         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2570
2571         * sgml.[Ch]: new version for open and closeTag for paragraph and
2572         for strings. Now they handle the ids of paragraphs.
2573
2574 2004-10-26  Angus Leeming  <leeming@lyx.org>
2575
2576         * Makefile.am: add mover.[Ch].
2577
2578         * converter.C (convert, move): use the new Movers to move external
2579         files to the temp directory.
2580
2581         * lyx_main.C (init): ensure that the global system_movers data
2582         is initialised.
2583
2584         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2585         preferences file.
2586
2587         * mover.[Ch]: new files, defining a Mover as a utility to move an
2588         external file between directories and, if necessary, manipulate this
2589         file using a helper script.
2590
2591 2004-10-25  José Matos  <jamatos@lyx.org>
2592
2593         * output_docbook.C (makeCommand): merge two if's that tested the
2594         same condition.
2595
2596 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2597
2598         * sgml.C (escapeString): fix warning in a better way
2599
2600 2004-10-25  José Matos  <jamatos@lyx.org>
2601
2602         * sgml.C (escapeString): import the require boosts header file for
2603         tie, and avoid a signed unsigned comparison.
2604
2605 2004-10-25  José Matos  <jamatos@lyx.org>
2606
2607         * sgml.h: add #include <string>
2608
2609 2004-10-25  José Matos  <jamatos@lyx.org>
2610
2611         * sgml.[Ch] (escapeString): new function to escape all the string.
2612
2613 2004-10-24  José Matos  <jamatos@lyx.org>
2614
2615         * paragraph.[Ch] (getFirstWord): new function to get the first
2616         word. Useful for description.
2617         (simpleDocBookOnePar): remove depth argument, add another that
2618         says where to start the paragraph.
2619
2620         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2621         use the new functions to fix cleanly the support for descriptions.
2622
2623 2004-10-24  José Matos  <jamatos@lyx.org>
2624
2625         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2626         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2627         * output_linuxdoc.C (linuxdocParagraphs):
2628         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2629         add buffer as argument.
2630
2631 2004-10-24  José Matos  <jamatos@lyx.org>
2632
2633         * output_docbook.C (makeEnvironment, searchEnvironment): place
2634         CDATA inside paragraphs and fix scope for listitems.
2635
2636 2004-10-24  José Matos  <jamatos@lyx.org>
2637
2638         * output_docbook.C: remove using statement for stack.
2639
2640 2004-10-23  José Matos  <jamatos@lyx.org>
2641
2642         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2643         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2644         docbook. The new scheme is recursive and makes use of iterators, the
2645         same as latex export works.
2646         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2647         directly with the paragraph contents. This code was moved up to
2648         output_docbook.C (docbookParagraphs).
2649         * sgml.C (openTag, closeTag): removed unneeded newlines.
2650         (closeEnvTags) removed.
2651
2652 2004-10-23  André Pönitz  <poenitz@gmx.net>
2653
2654         * undo.C (textUndoOrRedo):
2655         * dociterator.C (asDocIterator): work around crash
2656
2657         * cursor.C (getStatus): replace ASSERT by more verbose error message
2658           and manual correction of the problem. Should increase stability
2659           while providing more sensible information.
2660
2661 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2662
2663         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2664
2665         * bufferlist.C (previous, next): new methods
2666
2667         * lfuns.h:
2668         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2669
2670 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2671
2672         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2673         entities to preamble.
2674
2675 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2676
2677         * messages.C (Pimpl): strip off translation context information
2678
2679 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2680
2681         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2682         the cursor is correct (bug 1694)
2683
2684 2004-10-13  José Matos  <jamatos@lyx.org>
2685
2686         * output_docbook.C (docbookParagraphs): fix closing tags in the
2687         end of the document.
2688
2689 2004-10-09  José Matos  <jamatos@lyx.org>
2690
2691         * buffer.C: format up to 237.
2692         * bufferparams.C (write): use tostr to convert booleans to strings.
2693
2694 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2695
2696         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2697
2698 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2699
2700         * LaTeX.C: implement use of babel language in xindy.
2701
2702 2004-10-05  José Matos  <jamatos@lyx.org>
2703
2704         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2705         Add new translators to help reading and writing the lyx file.
2706
2707 2004-10-05  José Matos  <jamatos@lyx.org>
2708
2709         * ParagraphParameters.C (read):
2710         * text.C (readParToken): replace nexToken by more appropriate lex
2711         methods.
2712
2713 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2714
2715         * LaTeX.C (runMakeIndex):
2716         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2717         (usually 'makeindex') configurable.
2718
2719         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2720         with a variable rather than with a number.
2721
2722 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2723
2724         * output_latex.C (TeXOnePar): make sure font setting is the first
2725         thing that gets output (and the last at the end). Should fix bug
2726         1404.
2727
2728 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2729
2730         * pch.h: use proper signal include
2731
2732         * LaTeX.h: Use preferred calling of Boost.Signal
2733         * buffer.h: ditto
2734
2735 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2736
2737         * pch.h: dont include <boost/function/function0.hpp>
2738
2739         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2740
2741         * paragraph_pimpl.h: remove usage of ShareContainer
2742
2743         * paragraph_pimpl.C: remove initialization of ShareContainer.
2744
2745 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2746
2747         Fix bug #1666
2748
2749         * BufferView.C (putSelectionAt): change the semantics when
2750         backwards == true: now, this just swaps cursor and anchor wrt the
2751         forward case
2752
2753         * BufferView.h (putSelectionAt): add some documentation
2754
2755         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2756         make sure backwardChar is done at least once (to avoid getting
2757         stuck)
2758         (findNextChange): use putSelectionAt in the forward direction
2759         (operator()): use Paragraph::isWord
2760
2761 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2762
2763         * Spacing.C (set): c_str fix
2764
2765 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2766
2767         * lyx_cb.C (Reconfigure): quote the name of configure script in
2768         case it contains spaces
2769
2770 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2771
2772         * client: new dir
2773
2774         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2775         (BOOST_LIBS): use top_buildir when looking for the file
2776
2777 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2778
2779         * pch.h: do not use include boost/format.hpp, multiple symbols
2780                 will result (gcc bug)
2781
2782
2783 2004-08-23  José Matos  <jamatos@lyx.org>
2784
2785         * bufferparams.C (readToken): fix reading of the author field.
2786
2787 2004-08-20  José Matos  <jamatos@lyx.org>
2788
2789         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2790
2791 2004-08-20  José Matos  <jamatos@lyx.org>
2792
2793         * lyxlex.[Ch] (findToken): remove function.
2794
2795         * ParagraphParameters.C (findToken):
2796         * bufferparams.C (findToken): replace call for previous function
2797         with local copy. This local function has one more argument, the
2798         read string argument.
2799
2800 2004-08-16  José Matos  <jamatos@lyx.org>
2801
2802         * ParagraphParameters.C (write):
2803         * Spacing.C (writeFile):
2804         * bufferparams.C (writeLaTeX):
2805         * lyx_cb.C (Reconfigure):
2806         * paragraph.C (write):
2807         * tabular.C (write): remove unnecessary space at end of line.
2808
2809
2810 2004-08-16  José Matos  <jamatos@lyx.org>
2811
2812         * text.C (readParagraph): remove debug message.
2813
2814 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2815
2816         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2817         crash
2818
2819         * output_plaintext.C (asciiParagraph): set depth correctly
2820
2821         * outputparams.h: add member depth
2822
2823         * paragraph_funcs.C (ownerPar): remove.
2824
2825         * text2.C (setCounter): remove first_pit; comment out some
2826         non-working code that uses ownerPar
2827
2828         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2829         uses ownerPar
2830
2831 2004-08-16  José Matos  <jamatos@lyx.org>
2832
2833         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2834         For the same level of importance use the same chanel to report problems.
2835         (read): add code to deal with \begin_body and \end_body.
2836
2837
2838 2004-08-15  José Matos  <jamatos@lyx.org>
2839
2840         * lyxlex.C (getString): fix comment, buffer::readBody is now
2841         buffer:readDocument.
2842
2843         * tex-strings.C (string_papersize): Default -> default,
2844         Custom -> custom, for consistency with other options.
2845
2846 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2847
2848         * pch.h: new file
2849
2850         * Makefile.am: support pch
2851
2852 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2853
2854         * text.C (readParToken): remove the static LyXFont variable and
2855         pass it as a parameter instead. This fixes a nasty bug where an
2856         inset will be inserted with a bad font in some situations
2857         (readParagraph): adapt
2858
2859         * text2.C (setCounter): reduce number of calls to pars_[pit]
2860
2861         * text.C (singleWidth): add an assert, fix a test
2862
2863         * rowpainter.C (paintText): reduce number of calls to singleWidth
2864
2865         * paragraph.C (isHfill):
2866         (isNewline): ws only
2867
2868 2004-08-14  André Pönitz  <poenitz@gmx.net>
2869
2870         * text.C:
2871         * text2.C:
2872         * rowpainter.C:
2873         * lyxtext.h (several functions): use a Paragraph & argument
2874         instead of par_type
2875
2876 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2877
2878         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2879
2880         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2881
2882         * text.C (singleWidth): remove useless test
2883
2884 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2885
2886         * tabular.h: remove bogus comments
2887
2888         * tabular.C (getDescentOfRow):
2889         (isPartOfMultiColumn): add assertions
2890
2891         * lyxlength.C (inPixels): remove #warning
2892
2893 2004-08-14  André Pönitz  <poenitz@gmx.net>
2894
2895         * paragraph.h: inline getChar()
2896
2897         * BufferView.h: remove unused declarations
2898
2899 2004-08-14  José Matos  <jamatos@lyx.org>
2900
2901         * Buffer.[Ch] (readDocument): new name for old readBody.
2902         * Buffer.C: new file format, new keywords: \begin_document,
2903         \begin_header, \begin_body, \end_body.
2904
2905         * bufferparams.C (readToken): replace all calls to lex.nextToken
2906         by lex.next(). Do the same to eatLine except where really needed.
2907
2908         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2909         line when writing to the lyx file.
2910
2911         * output_plaintext.C (asciiParagraph): fix Bibliography style
2912         handling.
2913
2914         * text.C (read): fix end of file handling.
2915
2916 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2917
2918         * MenuBackend.C (Menu::operator[]): new method to access
2919         individual menu items
2920         (Menu::hasFunc): new method. search for an item that corresponds
2921         to a given func
2922         (MenuBackend::specialMenu): new method
2923         (MenuBackend::expand): if a special menu has been set, skip
2924         entries whose func() appears in this menu
2925
2926 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2927
2928         * text3.C: use Debug::DEBUG a bit more
2929
2930         * text.C (leftMargin): try to simplify a tiny bit change var x to
2931         l_margin. Dont output the wide margins always.
2932         (rightMargin): no margin in inner texts
2933
2934         * rowpainter.h (nestMargin): new func
2935         (changebarMargin): new func
2936         (rightMargin): new func
2937
2938         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2939         now functions.
2940         (paintLast): ditto
2941
2942         * factory.C (createInset): modify setDrawFrame
2943
2944         * cursor.C: use Debug::DEBUG a bit more
2945
2946 2004-08-14  André Pönitz  <poenitz@gmx.net>
2947
2948         * coordcache.[Ch]:
2949         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2950         cache for all insets in (at least partially) visible (top-level)
2951         paragraphs.
2952
2953         * BufferView_pimpl.C: reset external coord cache before every update.
2954         This means the coord cache only contains valid entries.
2955
2956 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2957
2958         bug 1096
2959         * BufferView_pimpl.C (getInsetByCode): move function out of class
2960         and change in to a template in anon namespace. Also fix to do what
2961         suits us better.
2962
2963 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2964
2965         bug 1305
2966         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2967         of char
2968         (breakParagraph): rename par to par_offset and use a local
2969         reference. Add code to keep the language over a rebreak.
2970         (breakParagraphConservative): rename par to par_offset, use a
2971         local reference
2972         (mergeParagraph): ditto
2973         (outerHook): ditto
2974         (isFirstInSequence): ditto
2975         (outerFont): rename pit to par_offset
2976
2977         * paragraph.C: ws change
2978         * paragraph.h: ditto
2979         * text3.C: ditto
2980         * text.C: ditto
2981
2982 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2983
2984         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2985         treatment for ']'
2986
2987         * paragraph.C (simpleTeXOnePar): when we have a \item with
2988         optional argument, enclose the argument with curly brackets (in
2989         case it contains a closing square bracket)
2990
2991         * text2.C (editXY):
2992         * text2.C (editXY):
2993         * text3.C (checkInsetHit): constify
2994
2995 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2996
2997         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2998         documents (bug 1629)
2999
3000 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3001
3002         Fix toggling of collapsable insets with the mouse (bug 1558)
3003
3004         * lyxfunc.C (dispatch): adapt to LCursor changes
3005
3006         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3007         make sure that dispatch is not invoked twice
3008
3009         * cursor.C (needsUpdate): new method
3010         (dispatch): return void
3011         (result): new method, to access the DispatchResult of the cursor.
3012
3013 2004-08-13  José Matos  <jamatos@lyx.org>
3014
3015         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3016
3017 2004-08-13  André Pönitz  <poenitz@gmx.net>
3018
3019         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3020
3021         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3022           multiple cells
3023
3024 2004-08-12  André Pönitz  <poenitz@gmx.net>
3025
3026         * text3.C: take out the 'cursor right' form insertInset and only
3027         do it in those places when it is really needed. Fixes crash on
3028         C-m...
3029
3030 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3031
3032         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3033
3034         * BufferView_pimpl.C (setBuffer): initialize the current font of
3035         the underlying LyXText
3036
3037 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3038
3039         * kbsequence.C (print): use UI native formatting for menu
3040         shortcuts
3041
3042         * text.C (insertChar): call Paragraph::insertChar with a font
3043         argument (cosmetic)
3044
3045         * paragraph.C (insertInset, insertChar): the version that takes a
3046         LyXFont argument is now a wrapper around the other one (the
3047         opposite used to be true).
3048
3049         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3050         argument. Font setting is done in Paragraph now.
3051
3052 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3053
3054         * outputparams.h: add new members intitle and lang.
3055
3056         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3057         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3058
3059 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3060
3061         * text3.C (dispatch): remove special handling of button 4 and 5,
3062         it is now taken care of in the frontend code.
3063
3064 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3065
3066         * Spacing.h: add <string> (STLPort compile fix)
3067
3068 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3069
3070         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3071
3072 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3073
3074         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3075         to bool.
3076
3077         * converter.C (showMessage): inherit from unary_function, make
3078         operator() const.
3079
3080         * buffer.C (writeFile): initialize retval
3081
3082         * InsetList.h: rename private variable list to list_
3083         * InsetList.[Ch]: adjust accordingly.
3084
3085 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3086
3087         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3088         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3089         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3090         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3091         * ParagraphParameters.C, LaTeXFeatures.C: replace
3092         "support/std_sstream.h" with <sstream>
3093
3094 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3097         * lyxsocket.C (LyXServerSocket): ditto
3098         (serverCallback): ditto
3099
3100 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3101
3102         * LaTeXFeatures.C: check release date when loading jurabib.
3103
3104 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3105
3106         * lyxserver.C (startPipe): call register_socket_callback
3107         (endPipe): call unregister_socket_callback
3108
3109 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3110
3111         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3112         (LyXServerSocket): register the callback
3113         (LyXServerSocket): unregister the callback
3114         (fd): delete function
3115         (serverCallback): improve error checking and setup the callbacks.
3116         (dataCallback): change arg to fd.
3117         (writeln): new func (copied fro the client socket) used for server
3118         write to client.
3119         (LyXDataSocket): simplify
3120         (~LyXDataSocket): close ann unregiser callback
3121         (server): delete function
3122         (fd): delete function
3123         (readln): small changes, improve some std::string usage
3124         (writeln): constify a bit
3125
3126 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3127
3128         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3129         Qt frontend
3130
3131 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3132
3133         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3134         after it has been populated
3135
3136 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3137
3138         * text2.C (insertInset): move cursor when inserting inset.
3139
3140 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3141
3142         * kbmap.C (findbindings): a couple of new methods. returns a
3143         container of kb_sequence objects. The real work is done by the
3144         private recursive version
3145         (printbindings): uses findbindings to print out a bracketed list
3146         of bindings (renamed from findbinding).
3147
3148         * MenuBackend.C (binding): use kb_keymap::findbindings
3149
3150         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3151
3152 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3153
3154         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3155
3156 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3157
3158         * paragraph.C (isWord): return true on insets that report
3159         isLetter().
3160
3161         * text.C (getWord): use Paragraph::isWord to decide what is in a
3162         word and what is not; fix bug 1609.
3163
3164 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3165
3166         * tex-strings.C: add "none" to string_paperpackages[], fixes
3167         off-by-one-error in the paperpackage selection.
3168
3169         * lyxlex.[Ch]:
3170         * tex-strings.[Ch]: char const * string[n]
3171         -> char const * const string[]
3172
3173 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3174
3175         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3176         command, return early.
3177
3178 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3179
3180         * debug.h: add DEBUG to enum and fix size of ANY.
3181
3182         * debug.C: add support for Debug::DEBUG
3183         (showTags): cast errorTags.level to unsigned int
3184
3185         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3186         (redoCurrentBuffer): ditto
3187         (updateScrollbar): ditto
3188         * cursor.C (dispatch): ditto
3189         * text2.C (setLayout): ditto
3190         (setFont): ditto
3191         (updateCounters): ditto
3192         (editXY): ditto
3193         (deleteEmptyParagraphMechanism): ditto
3194
3195 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3196
3197         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3198         annotations to cleanup the Makefile slightly.
3199
3200 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3201
3202         * lyxrc.C: do not set user_email to a default value but use empty
3203         instead. The entry used to be translated, which does not work
3204         since at the point where lyxrc is constructed there is no
3205         translation service available
3206
3207         * messages.C (getLocaleDir): remove and use directly
3208         lyx_localedir() instead
3209
3210 2004-06-02  Angus Leeming  <leeming@lyx.org>
3211
3212         Fix crash caused by dereferencing null pointer 'exportdata' in
3213         OutputParams by creating a new ExportData variable on the heap,
3214         storing it in a boost::shared_ptr.
3215         The crash was triggered when generating an Instant Preview
3216         of an external inset.
3217
3218         * Makefile.am: add outputparams.C
3219
3220         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3221         (c-tor): allocate memory to it.
3222
3223         * exporter.C (c-tor): associated changes.
3224
3225 2004-06-01  Angus Leeming  <leeming@lyx.org>
3226
3227         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3228         contains data before calling isInset(0). (Bug 1513.)
3229
3230 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3231
3232         * exporter.C (checkOverwrite): new method
3233         * exporter.C (copyFile): new method
3234         * exporter.C (Export): copy referenced files to the document dir
3235         * exporter.[Ch]: new class ExportedFile
3236         * exporter.[Ch]: new class ExportData. Contains currently the
3237         names of referenced external files
3238         * outputparams.h: add exportdata member.
3239
3240 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3241
3242         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3243         version.C-tmp
3244
3245 2004-05-19  Angus Leeming  <leeming@lyx.org>
3246
3247         * LaTeXFeatures.C:
3248         * ToolbarBackend.C:
3249         * bufferparams.C:
3250         * lyxfunc.C: small changes due to the introduction of namespace
3251         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3252
3253 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3254
3255         * text3.C (dispatch): supress update when only moving the cursor
3256         * cursor.C (selHandle): remove commented code
3257
3258 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3259
3260         * paragraph.C (startTeXParParams): correct column count
3261         * CutAndPaste.C (pasteSelection): remove const_cast
3262         * output_docbook.C (docbookParagraphs): remove const_cast
3263         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3264         const_cast and return ParagraphList::const_iterator
3265         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3266         * output_plaintext.C (writeFileAscii): remove const_cast
3267         * paragraph.[Ch] (simpleTeXOnePar): make const
3268         * paragraph_funcs.C (outerPar): use const iterators
3269         * paragraph_pimpl.C (validate): use const iterators
3270         * text.C (setHeightOfRow): use const iterators
3271
3272 2004-05-17  Angus Leeming  <leeming@lyx.org>
3273
3274         * lfuns.h:
3275         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3276
3277         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3278         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3279         if the citation engine has changed.
3280
3281 2004-05-14  José Matos  <jamatos@lyx.org>
3282
3283         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3284         if the textclass does not provide it. Have it different for sgml and
3285         xml.
3286         support the language of document.
3287         * output_docbook.C (docbookParagraphs):
3288         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3289         first anchor as the id of the paragraph, remove special case code.
3290         * sgml.C (escapeChar): escape only < & >.
3291
3292 2004-05-14  Angus Leeming  <leeming@lyx.org>
3293
3294         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3295         dependencies on src/frontends/controllers/biblio.h. Define a
3296         CiteEngine_enum wrapper class to enable the enum to be forward
3297         declared.
3298
3299 2004-05-12  Angus Leeming  <leeming@lyx.org>
3300
3301         * buffer.C: up LYX_FORMAT to 234.
3302         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3303         use_numerical_citations with a single biblio::CiteEngine cite_engine
3304         variable.
3305         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3306
3307 2004-05-13  José Matos  <jamatos@lyx.org>
3308
3309         * converter.h:
3310         * converter.C (Converter, readFlags): add xml member.
3311         * outputparams.h: add XML flavor.
3312         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3313
3314 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3315
3316         * lyxfunc.C (dispatch):
3317         (getStatus): fix handling of LFUN_SEQUENCE
3318
3319 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3320
3321         * debug.C (showLevel): do not forget the end-of-line marker
3322
3323 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3324
3325         * kbmap.C (read): do not stop parsing a bind file when an error
3326         occurs (bug 1575)
3327
3328 2004-04-29  Angus Leeming  <leeming@lyx.org>
3329
3330         * cursor.C:
3331         * factory.C:
3332         * pariterator.C:
3333         * text2.C: wrap a bunch of #warning statements
3334         inside #ifdef WITH_WARNINGS blocks.
3335
3336 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3337
3338         * buffer.C: increment format to 233.
3339
3340 2004-04-28  Angus Leeming  <leeming@lyx.org>
3341
3342         * BufferView_pimpl.C:
3343         * lyxfunc.C:
3344         * text3.C:
3345         s/updateToolbar()/updateToolbars()/
3346         s/Toolbar.h/Toolbars.h/
3347
3348 2004-04-28  Angus Leeming  <leeming@lyx.org>
3349
3350         * BufferView.[Ch] (c-tor):
3351         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3352         No longer passes these data to the WorkArea generator.
3353
3354 2004-04-28  Angus Leeming  <leeming@lyx.org>
3355
3356         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3357
3358 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3359
3360         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3361
3362 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3363
3364         * output_latex.C (TeXEnvironment): make sure that there is a line
3365         break before \end{foo} for the last paragraph of a document
3366         (TeXOnePar): if the paragraph is at the end of the document (or
3367         inset) and the language has to be reset, then make sure that the
3368         line break is _before_ the language command, not after (fixes bug
3369         1225); also make sure that the language reset command is the first
3370         thing after the paragraph (to ensure proper nesting of
3371         environments and thus fix bug 1404)
3372
3373 2004-04-21  John Levon  <levon@movementarian.org>
3374
3375         * ToolbarBackend.h:
3376         * ToolbarBackend.C: make "name" be a programmatic name
3377         and a gui_name field.
3378
3379         * lyxfunc.C: display the minibuffer on M-x
3380
3381 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3382
3383         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3384         (bug 1526)
3385
3386 2004-04-19  Angus Leeming  <leeming@lyx.org>
3387
3388         * BufferView_pimpl.C (setBuffer): changed preview interface.
3389
3390         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3391         possible values.
3392
3393 2004-04-19  John Levon  <levon@movementarian.org>
3394
3395         * BufferView_pimpl.C:
3396         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3397
3398 2004-04-05  Angus Leeming  <leeming@lyx.org>
3399
3400         * text.C (redoParagraphs): add call to updateCounters(), thereby
3401         fixing the missing "Figure #:" label from the caption of a
3402         figure float.
3403
3404 2004-04-13  Angus Leeming  <leeming@lyx.org>
3405
3406         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3407         cursor is clicked out of an inset.
3408
3409 2004-04-13  Angus Leeming  <leeming@lyx.org>
3410
3411         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3412         than an InsetOld one.
3413
3414 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3415
3416         * format.[Ch]: add editor to Format
3417         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3418         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3419
3420 2004-04-08  André Pönitz  <poenitz@gmx.net>
3421
3422         * metricsinfo.h: remove PainterInfo::width member
3423
3424 2004-04-08  Angus Leeming  <leeming@lyx.org>
3425
3426         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3427         "\providecommand" rather than "\newcommand", thereby preventing
3428         clashes with packages that define "\boldsymbol" themselves.
3429         Eg, beamer.
3430
3431 2004-04-08  Angus Leeming  <leeming@lyx.org>
3432
3433         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3434         thereby squashing an unnecessary warning.
3435
3436 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3437
3438         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3439         setBuffer()
3440
3441 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3442
3443         * BufferView.C (setCursor): call redoParagraph (some insets could
3444         have been opened)
3445         (putSelectionAt): remove the 'double update' trick
3446
3447         * BufferView_pimpl.C (fitCursor): call refreshPar
3448         (workAreaDispatch): remove an uneeded update call
3449         (dispatch): remove some manual update calls
3450
3451         * cursor.[Ch]: remove cached_y_, updatePos
3452         (selHandle): set noUpdate when appropriate
3453
3454         * lyxfunc.C (dispatch): track if we need an update
3455
3456         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3457
3458         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3459         (paintSelection): cheap optimization, do not call cursorX when not
3460         needed
3461         (paintPars): change signature
3462         (refreshPar): add
3463         (paintText): adjust
3464         (paintTextInset): adjust
3465
3466         * text.C: adjust
3467
3468 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3469
3470         * lengthcommon.C: compilation fix: remove explicit array size from
3471         unit_name[] and friends
3472
3473 2004-04-05  Angus Leeming  <leeming@lyx.org>
3474
3475         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3476
3477         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3478         present only for the preferences dialog.
3479         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3480
3481 2004-04-05  Angus Leeming  <leeming@lyx.org>
3482
3483         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3484         to enable the frontends to export changes to lyxrc correctly.
3485
3486         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3487
3488 2004-04-07  André Pönitz  <poenitz@gmx.net>
3489
3490         * cursor.[Ch] (selClear, adjust): remove math
3491
3492         * cursor_slice.C: more agressive assert
3493
3494         * lyxfunc.C:
3495         * BufferView_pimpl.C: rework mouse event dispatch
3496
3497         * dociterator.C:
3498         * paragraph.C:
3499         * text2.C:
3500         * text3.C: adjust
3501
3502 2004-04-05  André Pönitz  <poenitz@gmx.net>
3503
3504         * cursor.[Ch] (valign, halign...): remove unneeded functions
3505
3506 2004-04-05  Angus Leeming  <leeming@lyx.org>
3507
3508         * lyxlength.[Ch] (unit_name et al.): const-correct.
3509
3510 2004-04-05  Angus Leeming  <leeming@lyx.org>
3511
3512         * BufferView_pimpl.C:
3513         * buffer.C:
3514         * counters.C:
3515         * cursor.C:
3516         * lyxfunc.C
3517         * paragraph.C:
3518         * pariterator.C:
3519         * text.C:
3520         * text2.C:
3521         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3522
3523 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3524
3525         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3526
3527 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3528
3529         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3530         * BufferView_pimpl.[Ch] (getStatus)
3531         * BufferView.[Ch] (getStatus): add
3532         * lyxfunc.C (getStatus): move lfuns handled in
3533         BufferView::dispatch to te function above
3534         * Cursor.C (setSelection): set selection() = true
3535
3536 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3537
3538         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3539
3540 2004-03-31  Angus Leeming  <leeming@lyx.org>
3541
3542         * lyxfunc.C (dispatch): Fall through to the generic
3543         Dialogs::show("preamble").
3544
3545 2004-03-31  Angus Leeming  <leeming@lyx.org>
3546
3547         * lyxfunc.C (dispatch): Fall through to the generic
3548         Dialogs::show("spellchecker").
3549
3550 2004-03-31  Angus Leeming  <leeming@lyx.org>
3551
3552         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3553         preferences dialog.
3554
3555 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3556
3557         * BufferView.C
3558         * cursor.[Ch]
3559         * dociterator.[Ch]:
3560         * insetiterator.[Ch]:
3561         * lyxfind.C:
3562         * lyxfunc.C:
3563         * pariterator.[Ch]:
3564         * text2.C:
3565         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3566
3567 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3568
3569         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3570         insets where we are putting the cursor.
3571
3572 2004-03-31  Angus Leeming  <leeming@lyx.org>
3573
3574         * lfuns.h:
3575         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3576
3577         * lyxrc.[Ch] (read, write): overloaded member functions taking
3578         a std::[io]stream arguments.
3579
3580         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3581
3582 2004-03-31  Angus Leeming  <leeming@lyx.org>
3583
3584         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3585         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3586
3587         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3588         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3589
3590 2004-03-31  Angus Leeming  <leeming@lyx.org>
3591
3592         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3593         the LFUN_ALL_INSETS_TOGGLE code.
3594
3595 2004-03-30  Angus Leeming  <leeming@lyx.org>
3596
3597         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3598         has died. Fall through to the generic Dialogs::show("document").
3599
3600 2004-03-30  Angus Leeming  <leeming@lyx.org>
3601
3602         * lfuns.h:
3603         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3604         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3605
3606         * lyxfunc.C (getStatus, dispatch): define the actions for these
3607         lfuns. Little more than a cut and pste job from ControlDocument.C
3608
3609         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3610
3611 2004-03-30  Angus Leeming  <leeming@lyx.org>
3612
3613         * lfuns.h:
3614         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3615         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3616
3617         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3618         open/closed state of ollapsable insets. Usage:
3619
3620         all-inset-toggle <state> <name>, where
3621         <state> == "open" || "closed" || "toggle" and
3622         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3623
3624         * lyxtext.h, text2.C (toggleInset): removed.
3625
3626         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3627         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3628         now passes LFUN_INSET_TOGGLE to the found inset.
3629
3630         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3631         is now invoked as "all-insets-toggle toggle branch".
3632
3633 2004-03-30  Angus Leeming  <leeming@lyx.org>
3634
3635         * dociterator.C:
3636         * insetiterator.C:
3637         * pariterator.[Ch]: added/corrected header blurb.
3638
3639 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3640
3641         * dociterator.[Ch]: add an inset_ member
3642         (backwardPos): implemented
3643         (backwardPos, forwardPos): use inset_ when the stack is empty.
3644         (doc_iterator_begin, doc_iterator_end): implemented
3645         * pariterator.[Ch]: adjust, add begin, end
3646         * insetiterator.[Ch]: adjust, add begin, end
3647         * cursor.C:
3648         * document.C:
3649         * BufferView.C:
3650         * BufferView_pimpl.C:
3651         * CutAndPaste.C: adjust
3652
3653 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3654
3655         * buffer.C: increment file format to 232.
3656         * LaTeXFeatures.C: add bibtopic package.
3657         * bufferparams.[Ch]: param \use_bibtopic.
3658
3659         * lyxrc.[Ch]: add lyxrc bibtex_command
3660         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3661
3662         * buffer.C: increment file format to 231.
3663
3664 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3665
3666         * dociterator.C: implement forwardPar
3667         * iterators.[Ch]: remove, replaced by
3668         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3669         * BufferView.C:
3670         * BufferView_pimpl.C:
3671         * CutAndPaste.C:
3672         * buffer.C:
3673         * bufferview_funcs.C:
3674         * cursor.C:
3675         * lyxfind.C
3676         * lyxfunc.C
3677         * paragraph_funcs.C
3678         * toc.C:
3679         * Makefile.am: adjust
3680
3681 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3682
3683         * CutAndPaste.C (pasteSelection): fix 2 crashes
3684         (eraseSelection): fix a crash
3685         * paragraph_funcs.C: remove a warning
3686
3687 2004-03-28  Angus Leeming  <leeming@lyx.org>
3688
3689         * lfuns.h:
3690         * LyXAction.C (init): new LFUN_PRINT.
3691
3692         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3693
3694 2004-03-27  Angus Leeming  <leeming@lyx.org>
3695
3696         * lfuns.h:
3697         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3698
3699         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3700
3701 2004-03-27  Angus Leeming  <leeming@lyx.org>
3702
3703         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3704         insetlist always contains non-null pointers to insets.
3705
3706 2004-03-26  Angus Leeming  <leeming@lyx.org>
3707
3708         * src/BufferView_pimpl.C:
3709         * src/CutAndPaste.C:
3710         * src/buffer.C:
3711         * src/iterators.C:
3712         * src/output_plaintext.C:
3713         * src/outputparams.h:
3714         * src/paragraph_funcs.C:
3715         * src/rowpainter.C:
3716         * src/text.C:
3717         * src/text2.C:
3718         * src/frontends/controllers/ControlErrorList.C:
3719         * src/frontends/gtk/FileDialogPrivate.C:
3720         * src/frontends/gtk/GPainter.C:
3721         * src/frontends/gtk/GToolbar.C:
3722         * src/frontends/qt2/QRef.C:
3723         * src/mathed/math_scriptinset.C: squash compiler warnings.
3724
3725 2004-03-26  Angus Leeming  <leeming@lyx.org>
3726
3727         * ispell.C (LaunchIspell::start):
3728         * lyx_cb.C (AutoSaveBuffer::start):
3729         invoke run(DontWait) rather than runNonBlocking().
3730
3731 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3732
3733         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3734
3735 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3736
3737         * kbsequence.C (print): adjust
3738
3739         * kbmap.C (printKeySym): rename and change signature
3740         (printKey): use LyXKeySym::print()
3741
3742 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3743
3744         * undo.C: add using std::advance to compile for stlport
3745
3746 2004-03-24  Angus Leeming  <leeming@lyx.org>
3747
3748         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3749         it leads to a crash when no buffer is present.
3750
3751 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3752             Martin Vermeer  <martin.vermeer@hut.fi>
3753
3754         * lyxfunc.C (dispatch):
3755         * bufferparams.C (readToken): use the new LColor::setColor
3756
3757         * LColor.[Ch] (setColor): new version that takes two strings as
3758         argument and creates a new color entry if necessary
3759
3760 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3761
3762         * buffer.C (makeLaTeXFile): if the main latex file that is
3763         processed is usually a subdocument of some master, then pretend
3764         for a while that it is actually the master
3765
3766 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3767
3768         * buffer.C (getLabelList):
3769         (getBibkeyList): use getMasterBuffer()
3770         (getMasterBuffer): new method. Returns the main document in the
3771         case where one is using included documents.
3772
3773 2004-03-25  André Pönitz  <poenitz@gmx.net>
3774
3775         * Makefile.am:
3776         * iterators.[Ch]:
3777         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3778
3779         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3780
3781         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3782         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3783
3784         * ParameterStruct.h: merge with ParagraphParameters
3785
3786         * lyxtext.h: remove LyXText::parOffset() and getPar()
3787
3788         * text3.C: Remove all 'manual' update calls. We do now one per user
3789         interaction which is completely sufficient.
3790
3791         * Bidi.C:
3792         * BufferView.[Ch]:
3793         * BufferView_pimpl.C:
3794         * FontIterator.[Ch]:
3795         * MenuBackend.C:
3796         * ParagraphParameters.[Ch]:
3797         * buffer.C:
3798         * buffer.h:
3799         * bufferlist.C:
3800         * cursor.[Ch]:
3801         * cursor_slice.[Ch]:
3802         * dociterator.[Ch]:
3803         * errorlist.[Ch]:
3804         * factory.C:
3805         * lfuns.h:
3806         * lyxfind.C:
3807         * lyxfunc.C:
3808         * output_docbook.[Ch]:
3809         * output_latex.[Ch]:
3810         * output_linuxdoc.[Ch]:
3811         * output_plaintext.[Ch]:
3812         * paragraph.[Ch]:
3813         * paragraph_funcs.[Ch]:
3814         * paragraph_pimpl.[Ch]:
3815         * rowpainter.C:
3816         * tabular.[Ch]:
3817         * text.C:
3818         * text2.C:
3819         * toc.C:
3820         * undo.[Ch]: adjust
3821
3822         * frontends/controllers/ControlDocument.C:
3823         * frontends/controllers/ControlErrorList.C:
3824         * frontends/controllers/ControlSpellchecker.C:
3825         * insets/inset.C:
3826         * insets/inset.h:
3827         * insets/insetbase.h:
3828         * insets/insetbibitem.C:
3829         * insets/insetbox.C:
3830         * insets/insetbranch.C:
3831         * insets/insetcaption.C:
3832         * insets/insetcharstyle.C:
3833         * insets/insetcharstyle.h:
3834         * insets/insetcollapsable.C:
3835         * insets/insetcollapsable.h:
3836         * insets/insetert.C:
3837         * insets/insetfloat.C:
3838         * insets/insetfoot.C:
3839         * insets/insetmarginal.C:
3840         * insets/insetnote.C:
3841         * insets/insetoptarg.C:
3842         * insets/insettabular.C:
3843         * insets/insettext.C:
3844         * insets/insettext.h:
3845         * insets/insetwrap.C:
3846         * mathed/math_mboxinset.C:
3847         * mathed/math_nestinset.C:
3848         * mathed/math_scriptinset.C:
3849         * mathed/math_scriptinset.h:
3850         * support/types.h:
3851
3852 2004-03-24  Angus Leeming  <leeming@lyx.org>
3853
3854         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3855         deal with any child processes that have finished but are waiting to
3856         communicate this fact to the rest of LyX.
3857
3858 2004-03-24  Angus Leeming  <leeming@lyx.org>
3859
3860         64-bit compile fixes.
3861
3862         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3863         (c-tor): pass lyx::pos_types rather than ints.
3864
3865         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3866         lyx::pos_type.
3867
3868         * text.C (Delete): compile fix.
3869         (getPar): ensure that function declaration is the same as that in
3870         the header file.
3871
3872 2004-03-23  Angus Leeming  <leeming@lyx.org>
3873
3874         * ispell.C (LaunchIspell):
3875         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3876         a boost::shred_ptr rather than a std::auto_ptr.
3877
3878 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3879
3880         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3881         handle LFUN_FILE_INSERT_*
3882
3883         * lyxrc.C (setDefaults, getDescription, output, read):
3884         * lyxrc.h: remove ps_command
3885
3886 2004-03-22  Angus Leeming  <leeming@lyx.org>
3887
3888         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3889         Ensure that error_handler is processed once only and that all data
3890         is saved before attempting to output any warning messages.
3891
3892         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3893
3894 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3895
3896         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3897
3898 2004-03-19  André Pönitz  <poenitz@gmx.net>
3899
3900         * cursor.[Ch] (reset): take main text inset as argument
3901
3902         * BufferView: adjust
3903         * BufferView_pimpl.C: adjust
3904
3905         * paragraph.[Ch]: fix completely broken operator=()
3906
3907 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3908
3909         * LColor.C (getFromLyXName): make sure that the color name is used
3910         as lowercase.
3911
3912 2004-03-17  Angus Leeming  <leeming@lyx.org>
3913
3914         * lfuns.h:
3915         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3916
3917         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3918         dialog and to kill a forked process.
3919
3920 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3921
3922         * text2.C (setCursorFromCoordinates): fix font problem
3923
3924 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3925
3926         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3927         bogus "rebuild cursor" code
3928
3929 2004-03-11  André Pönitz  <poenitz@gmx.net>
3930
3931         * buffer.[Ch]: use InsetText instead of LyXText as container for
3932         the main lyx text.
3933
3934         * dociterator.[Ch]: drop the BufferView * member which is not needed
3935         anymore after the change to buffer.C
3936
3937         * paragraph_funcs.C:
3938         * text.C:
3939         * text2.C:
3940         * BufferView.[Ch]:
3941         * BufferView_pimpl.[Ch]:
3942         * cursor.[Ch]:
3943         * cursor_slice.[Ch]: adjust
3944
3945         * text3.C: fix bug in mathDispatch
3946
3947 2004-03-08  André Pönitz  <poenitz@gmx.net>
3948
3949         * undo.[Ch]: use 'StableDocumentIterator' as base for
3950         the Undo struct.
3951
3952 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3953
3954         * LaTeXFeatures.C:
3955         * bufferparams.[Ch]: add jurabib support and param.
3956
3957         * LaTeX.C: add FIXME/comment.
3958
3959 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3960
3961         * buffer.C: increment file format to 230.
3962
3963 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3964
3965         * cursor.C (dispatch): avoid infinite loops
3966
3967 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3968
3969         * rowpainter.C (paintSelection): fix x coordinates
3970
3971 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3972
3973         * text.C (rowBreakPoint): fix breaking before displayed insets
3974
3975 2004-03-01  André Pönitz  <poenitz@gmx.net>
3976
3977         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3978
3979         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3980
3981         * Makefile.am:
3982         * BufferView.C:
3983         * BufferView_pimpl.C:
3984         * buffer.C:
3985         * lyxfind.C:
3986         * lyxfunc.C:
3987         * text.C:
3988         * text2.C:
3989         * text3.C: adjust
3990
3991 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3992
3993         * lyxtext.h:
3994         * text.C:
3995         * text2.C:
3996         * rowpainter.C:
3997         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3998         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3999
4000 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4001
4002         * Bidi.[Ch] (computeTables): const correctness
4003         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4004         fill_hfill, fill_label_hfill and x from Row
4005         * lyxtext.h: prepareToPrint returns a RowMetrics
4006         * rowPainter.C: adjust
4007         * text.C (prepareToPrint): use width, not textWidth. adjust
4008         (redoParagraphInternal, cursorX): adjust
4009         * text2.C (getColumnNearX): adjust
4010         (init): put a default value to the top LyXText::width
4011
4012 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4013
4014         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4015
4016 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4017
4018         * lyxtext.h: add FontIterator class
4019
4020         * text.C (FontIterator, operator*, operator->, operator++): add
4021         (rowBreakPoint, setRowWidth): adjust (fixing a
4022         rebreaking bug)
4023
4024 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4025
4026         * BufferView_pimpl.C (workAreaDispatch): allow also
4027         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4028
4029 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4030
4031         * text.C (rowBreakPoint): fix a bug showing with very large insets
4032
4033 2004-02-25  André Pönitz  <poenitz@gmx.net>
4034
4035         * text3.C:
4036         * cursor.[Ch]: move some mathed specific code to mathed
4037
4038 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4039
4040         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4041         use_tempdir in preferences
4042         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4043         tempfile creation
4044         * lyx_main.C: ensure that tempdir is valid
4045         * lyxlex.h: correct typo
4046         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4047         * paragraph.[Ch] (isMultiLingual): make const
4048         * cursor.[Ch] (openable): make const
4049
4050 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4051
4052         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4053
4054 2004-02-20  André Pönitz  <poenitz@gmx.net>
4055
4056         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4057
4058         * cursor.[Ch]: prepare for localized getStatus()
4059
4060         * lyxtext.h:
4061         * tabular.C:
4062         * text.C:
4063         * text2.C:
4064         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4065
4066 2004-02-20  André Pönitz  <poenitz@gmx.net>
4067
4068         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4069
4070 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4071
4072         * text2.C (setCursorFromCoordinates): switch to absolute coords
4073         (cursorUp): adjust
4074         (cursorDown): adjust
4075         * text3.C (dispatch): adjust
4076
4077 2004-02-16  André Pönitz  <poenitz@gmx.net>
4078
4079         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4080           insets/ChangeLog)
4081
4082         * cursor_slice.[Ch]: remove unneeded acessor function
4083
4084         * lyxtext.h: rename rtl() to isRTL()
4085
4086         * rowpainter.C:
4087         * tabular.C:
4088         * text.C:
4089         * text2.C:
4090         * text3.C: adjust
4091
4092 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4093
4094         * rowpainter.C (paintSelection): coord fix
4095
4096 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4097
4098         * Spacing.C: compile fix
4099
4100 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4101
4102         * cursor.C (dispatch): restore current_ before returning
4103
4104 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4105
4106         * text2.C (cursorUp, cursorDown): fix coords
4107         (moveUp): fix crash
4108
4109 2004-02-12  André Pönitz  <poenitz@gmx.net>
4110
4111         * lyxtext.h:
4112         * text.C:
4113         * text2.C:
4114         * text3.C: add LCursor & parameter to most cursor movement functions
4115           remove usage of LyXText::cursorRow() and cursorPar()
4116
4117         * cursor.[Ch]: add textRow() needed members
4118
4119         * BufferView.C:
4120         * BufferView_pimpl.C:
4121         * paragraph.[Ch]:
4122         * BufferView.C:
4123         * BufferView_pimpl.C: adjust
4124
4125 2004-02-11  André Pönitz  <poenitz@gmx.net>
4126
4127         * lyxfunc.C:
4128         * BufferView.[Ch]:
4129         * BufferView_pimpl.C: shift undo/redo handling
4130
4131         * cursor.[Ch]: fix mathed crash
4132
4133         * lyxfind.C:
4134         * lyxtext.h: move selectionAsText to LCursor
4135
4136         * output_latex.C:
4137         * paragraph.C:
4138         * text.C:
4139         * text2.C:
4140         * text3.C: adjust
4141
4142         * rowpainter.C: fix excessive drawing
4143
4144 2004-02-06  André Pönitz  <poenitz@gmx.net>
4145
4146         * BufferView.[Ch]:
4147         * BufferView_pimpl.[Ch]:
4148         * text3.C: move some text specific LFUN handling
4149
4150 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4151
4152         * text3.C (checkInsetHit): adjust coords
4153         * text2.C (getColumnNearX): adjust coords
4154         (edit): adjust coords
4155         * text.C (getRowNearY): add two asserts
4156
4157 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4158
4159         * converter.C:
4160         * format.C: add using std::distance to compile on gcc 2.95/stlport
4161
4162 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4163
4164         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4165
4166 2004-02-04  André Pönitz  <poenitz@gmx.net>
4167
4168         * BufferView.[Ch] (insertInset):
4169         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4170
4171         * text2.C:
4172         * text3.C: adjust
4173
4174 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4175
4176         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4177         on the default clause of the switch
4178         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4179         wasn't catched by LCursor::dispatch
4180
4181 2004-02-03  André Pönitz  <poenitz@gmx.net>
4182
4183         * BufferView.C:
4184         * cursor.[Ch]: some additional asserts
4185
4186         * undo.[Ch]: remove LyXText dependency in interface
4187
4188         * lyxfunc.C: adjust
4189
4190         * lyxtext.h (firstPar, lastPar): remove dead functions
4191
4192         * text.C:
4193         * text2.C:
4194         * text3.C:
4195         * paragraph.[Ch]: adjust
4196
4197 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4198
4199         * lyxfind.C (find): fix argument order in call to ::find
4200
4201 2004-02-02  André Pönitz  <poenitz@gmx.net>
4202
4203         * cursor.[Ch]: remove direct access to anchor
4204
4205         * text.C: remove findText() hack
4206
4207 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4208
4209         * iterators.[Ch] (lockPath): remove in favour of...
4210         * BufferView.[Ch] (setCursor): this addition
4211         * BufferView.C (putSelectionAt): adjust
4212         * undo.C (performUndoOrRedo): adjust
4213         * lyxfunc.C (dispatch): adjust
4214
4215 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4216
4217         * iterators.C (lockPath): add a missing slice
4218         * undo.C (performUndoOrRedo): remove redundant positioning code
4219
4220 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4221
4222         * vc-backend.C (scanMaster): ";" -> ';'
4223
4224 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4225
4226         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4227         std::binary_function
4228
4229         * lyxtextclass.C (compare_name): rename to...
4230         (LayoutNamesEqual): ...this
4231
4232         * lyxlex_pimpl.C (compare_tags): inherit from
4233         std::binary_function, put back into anon namespace
4234
4235         * lyxfind.C (MatchString): inherig from std::binary_function
4236         (findChange): use empty() istead of !size()
4237
4238         * format.C (FormatNamesEqual): new functor
4239         (getFormat): use it
4240         (getNumber): use it
4241         (add): use it
4242         (erase): use it
4243         (setViewer): use it
4244
4245         * converter.C (compare_Converter): rename to...
4246         (ConverterEqual): ...this, and fixup a bit.
4247         (getConverter): use it, and make function const
4248         (getNumber): use it, and make function const
4249         (add): use it
4250         (erase): use it:
4251
4252         * bufferlist.C: add using boost::bind
4253
4254         * MenuBackend.C (MenuNamesEqual): new functor
4255         (hasMenu): use it, and make function const
4256         (hasSubmenu): use nested bind to get rid of compare_memfun.
4257
4258 2004-01-30  André Pönitz  <poenitz@gmx.net>
4259
4260         * BufferView_pimpl.C:
4261         * cursor.C:
4262         * cursor.h:
4263         * cursor_slice.[Ch]:
4264         * lyxfunc.C:
4265         * lyxtext.h:
4266         * paragraph_funcs.C:
4267         * paragraph_funcs.h:
4268         * rowpainter.C:
4269         * text.C:
4270         * text2.C:
4271         * text3.C: move some of the edit(x,y) handling to the insets
4272         some coordinate changes.
4273
4274 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4275
4276         * text.C: add using statements for std::advance and std::distance
4277
4278         * paragraph.C: add using statement for std::distance
4279
4280         * lyxfind.C: add using statement for std::advance
4281
4282         * cursor.C (region): remove std:: from swap
4283         (openable): use nucleus in stead of operator->
4284
4285         * BufferView.C: add using statements for std::distance and std::swap
4286
4287 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * iterators.C: Remove the pimple, move the needed structures to
4290         the header file. Create accessor for the positions stack.
4291         (asPosIterator): remove function
4292
4293         * PosIterator.C (PosIterator): move constructors to top of file
4294         (PosIterator): reimplement the constructor taking a ParIterator in
4295         terms of setFrom.
4296         (setFrom): new function
4297         (operator!=): inline it
4298
4299 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4300
4301         * lyxfind.C (replaceAll): use std::advance
4302
4303         * iterators.h: inherit from std::iterator.
4304
4305         * PosIterator.C (advance, distance): remove
4306         * PosIterator.h: interit from std::iterator.
4307
4308 2004-01-26  André Pönitz  <poenitz@gmx.net>
4309
4310         * BufferView.[Ch]:
4311         * BufferView_pimpl.[Ch]:
4312         * InsetList.[Ch]:
4313         * PosIterator.[Ch]:
4314         * buffer.h:
4315         * bufferview_funcs.C:
4316         * cursor.[Ch]:
4317         * cursor_slice.h:
4318         * factory.[Ch]:
4319         * iterators.[Ch]:
4320         * lyxfind.C:
4321         * lyxfunc.C:
4322         * lyxtext.h:
4323         * output_docbook.C:
4324         * output_latex.C:
4325         * output_linuxdoc.C:
4326         * output_plaintext.C:
4327         * paragraph.[Ch]:
4328         * paragraph_funcs.[Ch]:
4329         * paragraph_pimpl.[Ch]:
4330         * rowpainter.C:
4331         * tabular.C:
4332         * tabular.h:
4333         * text.C:
4334         * text2.C:
4335         * text3.C: more IU:  dumps most of the rest of the mathcursor
4336     implementation into cursor.[Ch]; "globalize" a bit of it.
4337
4338 2004-01-25  Angus Leeming  <leeming@lyx.org>
4339
4340         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4341
4342 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4343
4344         * LaTeXFeatures.h: add nice_ and nice() const
4345         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4346
4347 2004-01-20  André Pönitz  <poenitz@gmx.net>
4348
4349         * BufferView.[Ch]:
4350         * BufferView_pimpl.C:
4351         * PosIterator.C:
4352         * bufferview_funcs.C:
4353         * cursor.[Ch]:
4354         * cursor_slice.[Ch]:
4355         * factory.C:
4356         * iterators.C:
4357         * lyx_cb.C:
4358         * lyxfind.C:
4359         * lyxfunc.C:
4360         * lyxtext.h:
4361         * rowpainter.C:
4362         * text.C:
4363         * text2.C:
4364         * text3.C:
4365         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4366           LCursor and mathcursor parts to LCursor and InsetBase.
4367
4368 2004-01-15  André Pönitz  <poenitz@gmx.net>
4369
4370         * cursor_slice.[Ch]: add a few covienience functions
4371
4372         * funcrequest.[Ch]: remove BufferView * member
4373
4374         * BufferView_pimpl.C:
4375         * cursor.C:
4376         * factory.[Ch]:
4377         * lyxfind.[Ch]:
4378         * lyxfunc.C:
4379         * lyxtext.h:
4380         * text3.C:
4381         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4382
4383 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4384
4385         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4386         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4387
4388 2004-01-13  André Pönitz  <poenitz@gmx.net>
4389
4390         * textcursor.[Ch]:
4391         * lyxtext.h: hide cursor and selection anchor behind accessor function
4392
4393         * BufferView.C:
4394         * BufferView_pimpl.[Ch]:
4395         * PosIterator.C:
4396         * bufferview_funcs.C:
4397         * cursor.h:
4398         * lyxfind.C:
4399         * lyxfunc.C:
4400         * text.C:
4401         * text2.C:
4402         * text3.C:
4403         * undo.C: adjust
4404
4405         * cursor.h:
4406         * cursor_slice.[Ch]: some integer type changes for inset unification
4407
4408         * lyxcursor.[hC]: remove, it's CursorSlice now.
4409
4410         * Makefile.am:
4411         * BufferView_pimpl.[Ch]:
4412         * bufferview_funcs.C:
4413         * cursor_slice.C:
4414         * lyxtext.h:
4415         * text.C:
4416         * text2.C:
4417         * text3.C:
4418         * textcursor.[Ch]: adjust
4419
4420 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4421
4422         * text2.C (undoSpan): add and use
4423         * text.C (breakParagraph): use undoSpan (fix bug 578)
4424         * lyxtext.h: adjust
4425
4426 2004-01-08  Angus Leeming  <leeming@lyx.org>
4427
4428         * BufferView_pimpl.C (MenuInsertLyXFile):
4429         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4430         * lyxfunc.C (menuNew, open, doImport):
4431         FileFilterList change to the FileDialog open and save functions.
4432
4433 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4434
4435         * ShareContainer.h: make isEqual and isUnique adaptable
4436
4437         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4438
4439 2004-01-07  Angus Leeming  <leeming@lyx.org>
4440
4441         * LyXAction.C:
4442         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4443
4444         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4445
4446         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4447         functions replacing find, replace and replaceAll.
4448
4449         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4450         LFUN_WORDFIND(FORWARD|BACKWARD).
4451
4452 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4453
4454         * text.C (breakParagraph): remove an outdated #warning
4455
4456 2004-01-07  André Pönitz  <poenitz@gmx.net>
4457
4458         * lyxfind.C: somewhat clearer logic
4459
4460         * text.C: prevent crash in cursorX on unitialized row cache
4461
4462 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4463
4464         * lyxcursor.[Ch] (operator>): add
4465         * textcursor.C (selStart, selEnd): use std::min and std::max
4466
4467 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4468
4469         * Chktex.C: include boost/format.hpp
4470
4471 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4472
4473         * InsetList.C: replace functor MathcIt with adaptable functor
4474         InsetTablePosLess
4475         (insetIterator): modify accordingly
4476
4477         * BranchList.h: move the BranchNamesEqual functor here from...
4478         * BranchList.C: ... to here
4479
4480         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4481         SameName and match.
4482         (add): replace a finding loop with std::find_if.
4483
4484 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4485
4486         * output_docbook.C: moving LatexParam functionality into
4487         .layout files
4488
4489 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4490
4491         * buffer.C: increment format to 229.
4492
4493 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4494
4495         * LaTeXFeatures.C:
4496         * lyx_sty.[Ch]: remove minipageindent_def
4497
4498         * LyXAction.C:
4499         * factory.C:
4500         * lfuns.h:
4501         * lyxfunc.C:
4502         * text3.C: remove LFUN_INSET_MINIPAGE
4503
4504 2003-12-28  Angus Leeming  <leeming@lyx.org>
4505
4506         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4507
4508 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4509
4510         * text2.C (setParagraph): fix off-by-one crash
4511
4512 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4513
4514         * output_docbook.C: header stuff for AGU
4515
4516 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4517
4518         * text2.C (redoCursor): remove
4519         * text.C:
4520         * text3.C:
4521         * BufferView_pimpl.C: remove calls to redoCursor and
4522         setCursor(cursor.par(), cursor.pos()) all around
4523
4524 2003-12-15  Angus Leeming  <leeming@lyx.org>
4525
4526         * buffer.C: up the format to 228.
4527
4528 2003-12-15  André Pönitz  <poenitz@gmx.net>
4529
4530         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4531         slices
4532
4533         * Makefile.am:
4534
4535         * BufferView_pimpl.C:
4536         * cursor.[Ch]:
4537         * lyxcursor.[Ch]:
4538         * rowpainter.[Ch]:
4539         * lyxtext.h:
4540         * text.C:
4541         * text2.C:
4542         * text3.C: adjust
4543
4544 2003-12-15  Angus Leeming  <leeming@lyx.org>
4545
4546         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4547         than getFromGUIName to manipulate the color.
4548
4549 2003-12-14  Angus Leeming  <leeming@lyx.org>
4550
4551         * BranchList.[Ch]: minimize the API.
4552         (Branch::getBranch, getColor): now return a 'const &'.
4553         (Branch::setSelected) now returns a bool set to true if the
4554         selection status changes.
4555         (BranchList::clear, size, getColor, setColor, setSelected,
4556         allBranches, allSelected, separator): removed.
4557         (BranchList::find): new functions, returning the Branch with
4558         the given name.
4559         (BranchList::add, remove): return a bool indicating that
4560         the operation was successful.
4561
4562         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4563         new InsetBranch::isBranchSlected member function.
4564
4565         * LColor.[Ch]: mimimize the API.
4566         (fill): renamed as addColor and made private.
4567         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4568         versions of these functions taking a string arg have been removed.
4569
4570         * bufferparams.C (readToken):
4571         * lyxfunc.C (dispatch):
4572         * lyxrc.C (read): changes due to the altered BranchList and
4573         LColor APIs.
4574
4575         * factory.C (createInset, readInset): changes due to altered
4576         InsetBranch c-tor.
4577
4578 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4579
4580         * factory.C:
4581         * lyxfunc.C: remove insetminipage. "minipage-insert"
4582         now produces a frameless minipage box inset.
4583
4584 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4585
4586         * textcursor.[Ch] (selStart,selEnd): add new methods
4587         remove selection::start, end, use LyXCursor::operator<
4588         * lyxcursor.[Ch] (operator<): add
4589         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4590         * BufferView.[Ch] (unsetXSel): add
4591         * text2.C (clearSelection): use unsetXSel,adjust
4592         * text.C: adjust
4593         * text3.C: adjust
4594         * rowpainter.C: adjust
4595         * bufferview_funcs.C (put_selection_at): adjust
4596
4597 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4598
4599         * BufferView_pimpl.C: small coord. correction
4600
4601 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4602
4603         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4604         dragging over the splash screen.
4605
4606 2003-12-11  Angus Leeming  <leeming@lyx.org>
4607
4608         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4609         as it is now handled in LyXText::dispatch.
4610
4611         * text3.C (doInsertInset): remove a level of nesting.
4612
4613 2003-12-11  Angus Leeming  <leeming@lyx.org>
4614
4615         * factory.C (createInset): changes due to the changed interface to
4616         InsetCommandMailer::string2params.
4617
4618 2003-12-10  Angus Leeming  <leeming@lyx.org>
4619
4620         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4621         'dialog-show-new-inset <inset name>'
4622
4623 2003-12-10  Angus Leeming  <leeming@lyx.org>
4624
4625         * buffer.C: up the format to 227.
4626
4627         * factory.C: the box inset is now identified simply by 'Box'.
4628
4629 2003-12-10  Angus Leeming  <leeming@lyx.org>
4630
4631         * buffer.C: up the format to 226.
4632
4633         * factory.C: the note inset is now identified simply by 'Note'.
4634
4635 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4636
4637         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4638         when a pit is enough. Standarize a couple of loops.
4639
4640 2003-12-05  Angus Leeming  <leeming@lyx.org>
4641
4642         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4643         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4644         data to the re-worked "log" dialog.
4645
4646 2003-12-03  André Pönitz  <poenitz@gmx.net>
4647
4648         * PosIterator.C:
4649         * iterators.C:
4650         * lyxtext.h:
4651         * output_latex.C:
4652         * paragraph_funcs.C:
4653         * text.C:
4654         * text2.C: use Inset::getText instead of Inset::getParagraph
4655
4656 2003-12-03  André Pönitz  <poenitz@gmx.net>
4657
4658         * buffer.[Ch]:
4659         * lyxtext.h:
4660         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4661         InsetText::read() as LyXText::read()
4662
4663 2003-12-02  Angus Leeming  <leeming@lyx.org>
4664
4665         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4666         type. Add a comment in the implementation that the function uses
4667         the stream's bad() function rather than fail() as the std::streams
4668         would do.
4669
4670 2003-12-02  André Pönitz  <poenitz@gmx.net>
4671
4672         * lyxlex.[Ch]: make interface more similar to std::stream
4673
4674         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4675
4676 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4677
4678         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4679
4680 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4681
4682         * vspace.[Ch]: remove VSpace::NONE
4683
4684 2003-12-01  André Pönitz  <poenitz@gmx.net>
4685
4686         * buffer.[Ch]:
4687         * lyxtext.h: move ParagraphList member to LyXText
4688         rename LyXText::ownerParagraphs to LyXText::paragraph
4689
4690         * CutAndPaste.C:
4691         * bufferview_funcs.C:
4692         * iterators.[Ch]:
4693         * lyx_cb.C:
4694         * paragraph.C:
4695         * rowpainter.C:
4696         * tabular.C:
4697         * text.C:
4698         * text2.C:
4699         * text3.C: adjust
4700
4701         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4702
4703         * undo.C: fix cursor positioning
4704
4705 2003-12-01  John Levon  <levon@movementarian.org>
4706
4707         * BufferView_pimpl.C: fix a crash on exit with
4708         a buffer open
4709
4710 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4711
4712         * BranchList.C: fix setSelected() method.
4713
4714 2003-11-28  André Pönitz  <poenitz@gmx.net>
4715
4716         * ParagraphParameters.[Ch]:
4717         * ParameterStruct.h: remove space above/below from Paragraph to
4718          InsetVSpace
4719
4720         * BufferView_pimpl.C:
4721         * factory.C:
4722         * lyxfunc.C:
4723         * lyxtext.h:
4724         * output_latex.C:
4725         * paragraph.C:
4726         * paragraph_funcs.C:
4727         * rowpainter.[Ch]:
4728         * text.C:
4729         * text2.C:
4730         * text3.C: adjust
4731
4732 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4733
4734         * factory.C: Syntax change for CharStyles
4735
4736 2003-11-28  André Pönitz  <poenitz@gmx.net>
4737
4738         * BufferView.[Ch]:
4739         * BufferView.[Ch]:
4740         * buffer.[Ch]:
4741         * buffer.[Ch]: move LyXText member
4742
4743 2003-11-28  André Pönitz  <poenitz@gmx.net>
4744
4745         * BufferView.[Ch]: make LyXText * text a private member
4746
4747         * BufferView_pimpl.C:
4748         * cursor.C:
4749         * iterators.C:
4750         * lyx_cb.C:
4751         * lyxfind.C:
4752         * lyxtext.h:
4753         * rowpainter.[Ch]:
4754         * text.C:
4755         * text2.C:
4756         * undo.C: adjust
4757
4758         * output_plaintext.C: cleanup
4759
4760 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4761
4762         * buffer.C:
4763         * lyxtextclass.[Ch]: parametrize SGML document header
4764
4765 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4766
4767         * converter.[Ch]:
4768         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4769         getFlavor().
4770
4771 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4772
4773         * text2.C (setFont): rework using PosIterator (no more recursive)
4774         (setCharFont): no more needed
4775         (setLayout): no more selection cursors fiddling (done by redoCursor)
4776         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4777         destroy remaining ones)
4778
4779 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4780
4781         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4782         * lyxtext.h: ditto
4783         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4784         selection cursors
4785         * lyxfunc.C: adjust
4786         * text3.C: adjust + re-allow multi par depth changes
4787         * textcursor.C: simplify a bit
4788
4789 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4790
4791         * src/buffer.C:
4792         * src/lyxlayout.C:
4793         * src/lyxlayout.h:
4794         * src/lyxtext.h:
4795         * src/output_docbook.C:
4796         * src/output_latex.C:
4797         * src/paragraph.C:
4798         * src/paragraph.h:
4799         * src/sgml.C:
4800         * src/sgml.h:
4801         * src/text2.C: Introducing a number of tags parametrizing various
4802         XML formats that we may want to support
4803
4804 2003-11-25  André Pönitz  <poenitz@gmx.net>
4805
4806         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4807
4808         * lyxtext.h (leftMargin/rightMargin): simplify interface
4809
4810         * rowpainter.C:
4811         * text.C:
4812         * text2.C:
4813         * text3.C: adjust
4814
4815 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4816
4817         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4818         master file to any child files. Fixes bug 546.
4819
4820 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4821
4822         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4823
4824 2003-11-24  André Pönitz  <poenitz@gmx.net>
4825
4826         * rowpainter.C: simplification
4827
4828         * text2.C (updateCounters): remove call to redoParagraph on
4829         changed labels as this is far too expensive.
4830
4831 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4832
4833         * converter.C (convert): fix a crash: this function gets
4834         called with buffer == 0 from importer code.
4835
4836 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4837
4838         * text3.C (cursorPrevious): make sure that we do not compare
4839         iterators form different containers.
4840         (cursorNext): ditto
4841
4842         * rowpainter.C (paintSelection): make sure that we do not compare
4843         iterators from different containers.
4844
4845         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4846         iterators from different ParagraphList containers.
4847         [NEXT] ditto
4848
4849         * text2.C (LyXText): change order of initialization slightly
4850         (operator=): new function. copy all variables except cache_par_
4851         (moveUp): make sure that we do not compare iterators from
4852         different ParagraphList constainers.
4853         (moveDown): ditto
4854
4855         * text.C (firstPar): new function
4856         (lastPar): new function
4857         (endPar): new function
4858
4859         * lyxtext.h: move things around and group public functions, public
4860         variables, private functions, private variables
4861
4862 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4863
4864         * factory.C: change call to InsetERT constructor to avoid
4865         additional invocation of method status
4866         * text2.C (toggleInset): remove redundant update() call
4867         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4868         instead of a Bufferview pointer
4869
4870 2003-11-21  André Pönitz  <poenitz@gmx.net>
4871
4872         * rowpainter.C: simplification
4873
4874 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4875
4876         * text3.C (dispatch): make possible to extend a word/row selection
4877         with the mouse
4878
4879 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4880
4881         * lyxtext.h: x0_,y0_ -> xo_,yo_
4882         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4883         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4884         * rowpainter.C (paintRows): paint full paragraphs
4885
4886 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4887
4888         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4889         screen coordinates)
4890
4891 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4892
4893         * lyxtext.h: add x0_, y0_
4894         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4895         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4896
4897 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4898
4899         * text2.C (setCursorIntern): move the x_target update here *
4900         * text3.C: change some bv() to true/false in calls to
4901         cursorUp/Down/Right/Left
4902         * cursor.C: use helper function.
4903
4904 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4905
4906         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4907         * paragraph_funcs.[Ch]: correct comment
4908         * rowpainter.C: do not paint selections away from bv->cursor()
4909         Fix a long standing selection painting bug.
4910         * text3.C: generalize mouse-selection code to LyXTexts other that
4911         top one
4912         * textcursor.C: do not use y coords if we can use par offsets
4913
4914 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4915
4916         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4917         cursor position after e.g. inset insert)
4918
4919 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4920
4921         * lyxfind.C (replace): adjust to locking removal + some
4922         code simplification
4923
4924 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4925
4926         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4927         of the path
4928
4929 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4930
4931         * lyxlayout.[Ch]:
4932         * output_docbook.C: XML sanitation: new layout
4933         parameters InnerTag and CommandDepth
4934
4935 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4936
4937         * BufferView_pimpl.C:
4938         * factory.C:
4939         * text3.C: Fix the insertion and modification of button-style
4940         insets
4941
4942 2003-11-13  André Pönitz  <poenitz@gmx.net>
4943
4944         * InsetList.[Ch]: remove deleteLyXText
4945
4946         * paragraph.[Ch]: cache beginOfBody position
4947
4948         * Bidi.C:
4949         * text.C:
4950         * text2.C:
4951         * text3.C: remove superfluous update() calls
4952
4953         * vspace.C: cleanup
4954
4955 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4956
4957         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4958         * BufferView.C (fitLockedInsetCursor): remove
4959         * cursor.[Ch] (getDim): add
4960         * text.C (getRowNearY): add faster version
4961         * text3.C: remove some update calls
4962
4963 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4964
4965         * LaTeXFeatures.C:
4966         * LyXAction.C:
4967         * MenuBackend.C:
4968         * MenuBackend.h:
4969         * dispatchresult.h:
4970         * factory.C:
4971         * lfuns.h:
4972         * lyxfunc.C:
4973         * lyxtextclass.C:
4974         * lyxtextclass.h:
4975         * text3.C: The Character Style /XML short element patch.
4976
4977 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4978
4979         * text3.C:
4980         * factory.C: Small step to solving 'unable to insert some insets'
4981         problem
4982
4983 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4984
4985         * cursor.[Ch] (updatePos): new function for updating the y
4986         position of the tip inset
4987         * bufferview_funcs.C (put_selection_at):
4988         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4989
4990 2003-11-11  André Pönitz  <poenitz@gmx.net>
4991
4992         * text.C: remove big comment on invalid Paragraph pointers as it is
4993         not valid anymore
4994
4995 2003-11-11  André Pönitz  <poenitz@gmx.net>
4996
4997         * text_funcs.[Ch]: merge with ...
4998
4999         * text.C: ... this
5000
5001         * lyxtext.h:
5002         * text2.C:
5003         * text3.C: adjust
5004
5005         * Makefile.am: remove text_funcs.[Ch]
5006
5007 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5008
5009         * cursor.C (getPos): return absolute cached y coord
5010
5011         * BufferView_pimpl.C (fitCursor): new simplistic code
5012         (workAreaDispatch): add a fitCursor call
5013
5014 2003-11-10  André Pönitz  <poenitz@gmx.net>
5015
5016         * BufferView.[Ch]:
5017         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5018
5019 2003-11-10  André Pönitz  <poenitz@gmx.net>
5020
5021         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5022         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5023         indicate that the cursor needs to leave an inset
5024
5025         * lyxtext.h: remove inset locking
5026
5027         * cursor.[Ch]: re-implement functionality provided by inset locking
5028
5029         * BufferView.[Ch]:
5030         * BufferView_pimpl.[Ch]:
5031         * LyXAction.C:
5032         * bufferview_funcs.[Ch]:
5033         * factory.C:
5034         * funcrequest.[Ch]:
5035         * iterators.C:
5036         * lyx_cb.C:
5037         * lyxfind.C:
5038         * lyxfunc.C:
5039         * text.C:
5040         * text2.C:
5041         * text3.C:
5042         * undo.C: adjust
5043
5044 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5045
5046         * PosIterator.[Ch]: replace the stack with a vector, add inset
5047         accesor
5048         * iterators.[C]: adjust
5049
5050 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5051
5052         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5053         replaced
5054         * paragraph_funcs.C (readParToken): put the correct id in the
5055         error item, not the id of the top paragraph
5056
5057 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5058
5059         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5060         * bufferview_funcs.C (put_selection_at): use the above
5061
5062 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5063
5064         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5065
5066 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5067
5068         * output_linuxdoc.h:
5069         * output_plaintext.h:
5070         * output.h:
5071         * output_docbook.h: add #include statements
5072
5073 2003-11-05  José Matos  <jamatos@lyx.org>
5074
5075         * output_docbook.[Ch]:
5076         * output_latex.[Ch]:
5077         * output_linuxdoc.[Ch]:
5078         * output_plaintext.[Ch]: New files for output formats.
5079         * output.[Ch]: New file for helper functions.
5080
5081         * buffer.[Ch]:
5082         * paragraph_funcs.[Ch]: output functions moved to new files.
5083
5084         * outputparams.h: rename of latexrunparams.h
5085
5086         * LaTeX.[Ch]:
5087         * buffer.[Ch]:
5088         * bufferlist.[Ch]:
5089         * converter.[Ch]:
5090         * exporter.C:
5091         * paragraph.[Ch]:
5092         * paragraph_funcs.[Ch]:
5093         * paragraph_pimpl.[Ch]:
5094         * tabular.[Ch]: rename ascii to plaintext
5095         and LatexRunParams to OutputParams.
5096
5097 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5098
5099         * iterators.[Ch] (text): require bv argument
5100         * undo.C (recordUndo):
5101         * lyxfunc.C (dispatch):
5102         * bufferview_funcs.C (put_selection_at): adjust
5103
5104 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5105
5106         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5107
5108 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5109
5110         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5111         nestings
5112
5113 2003-11-04  André Pönitz  <poenitz@gmx.net>
5114
5115         * cursor.[Ch]: restructure
5116
5117         * BufferView.[Ch]:
5118         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5119
5120         * iterators.[Ch] (asCursor): remove
5121
5122         * lfuns.h: remove LFUN_INSET_EDIT
5123
5124         * lyxfunc.C:
5125         * tabular.C:
5126         * text.C:
5127         * text2.C:
5128         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5129
5130 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5131
5132         * lyxfind.[Ch]: complete overhaul
5133         * BufferView_pimpl.C:
5134         * lyxfunc.C: adjust
5135         * paragraph.[Ch] (insert): add
5136
5137 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * BufferView.[Ch]:
5140         * lyxtext.h:
5141         * text.C: remove dead spellcheck code
5142
5143 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5144
5145         * dispatchresult.h: add a val setter
5146
5147         * cursor.C (dispatch): use a tempvar for data_[i]
5148
5149 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5150
5151         * PosIterator.[Ch]: compile fix
5152
5153 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5154
5155         * text.C (cursorPar): deactivate the cursor cache
5156
5157 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5158
5159         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5160
5161 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5162
5163         * text3.C (dispatch): adjust for new DisptchResult semantics.
5164
5165         * lyxfunc.C (dispatch): handle update when return from
5166         Cursor::dispatch, adjust for new DispatchResult semantics.
5167
5168         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5169         DispatchResult(true) mean to not update. Add class functions for
5170         setting dispatched and update, as well as reading.
5171
5172         * cursor.C (dispatch): don't handle update here
5173
5174 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5175
5176         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5177         * trans_mgr.C: adjust
5178
5179         * paragraph_funcs.C (readParToken): exception safety
5180
5181         * lyxvc.h: store the vcs pointer in a scoped_ptr
5182         * lyxvc.C: adjust
5183
5184         * lyxsocket.C (serverCallback): exception safety
5185
5186         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5187
5188         * ispell.C (clone): make it return a auto_ptr
5189
5190         * factory.C (createInset): exception safety
5191         (readInset): exception safety
5192
5193         * bufferlist.C (newBuffer): exception safety
5194
5195         * Thesaurus.C (Thesaurus): use initialization for aik_
5196
5197         * MenuBackend.C (expandToc): exception safety.
5198
5199 2003-11-03  André Pönitz  <poenitz@gmx.net>
5200
5201         * buffer.C:
5202         * buffer.h:
5203         * bufferview_funcs.C: remove getInsetFromId()
5204
5205         * lyxcursor.[Ch]:
5206         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5207
5208         * lyxfunc.C:
5209         * text2.C:
5210         * text3.C: adjust
5211
5212 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5213
5214         * PosIterator.C (distance, advance): new
5215         * bufferview_funcs.[Ch] (put_selection_at): new
5216         * iterators.[Ch] (lockPath): new
5217
5218 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5219
5220         * iterators.[Ch] (asPosIterator): added
5221         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5222         * PosIterator.[Ch]: added
5223
5224 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5225
5226         * text3.C:
5227         * lyxfunc.C:
5228         * cursor.C (dispatch):
5229         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5230
5231         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5232         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5233         contructor, add a class function dispatched. Remove operator>=
5234
5235 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5236
5237         * debug.C: only use the default constructor for debugstream
5238         (lyxerr) here.
5239
5240         * main.C (main): include debug.h and setup the lyxerr streambuf
5241         here.
5242
5243 2003-10-31  José Matos  <jamatos@lyx.org>
5244
5245         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5246
5247         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5248         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5249         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5250         * paragraph_pimpl.C (simpleTeXSpecialC):
5251         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5252         add LatexRunParams argument.
5253
5254         * exporter.C (Export): change call accordingly.
5255
5256         * latexrunparams.h: add new member to take care of the other backends.
5257 2003-10-30  José Matos  <jamatos@lyx.org>
5258
5259         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5260         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5261         factorise code for paragraph output.
5262         * buffer.[Ch]:
5263         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5264         move functions.
5265
5266 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5267
5268         * text3.C (dispatch):
5269         * lyxfunc.C (dispatch):
5270         * cursor.C (dispatch):
5271         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5272
5273         * dispatchresult.h: make the dispatch_result_t ctor explicit
5274
5275 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5276
5277         * sgml.[Ch]:
5278         * buffer.C: small refactoring of docbook stuff
5279
5280 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5283         meaning.
5284
5285 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5288         operator dispatch_result_t, and operators for == != and >=
5289
5290         * cursor.C (dispatch): adjust for operator dispatch_result_t
5291         removal. comment out call to update
5292
5293         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5294
5295 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5296
5297         * text3.C:
5298         * text2.C:
5299         * text.C:
5300         * lyxtext.h:
5301         * lyxfunc.C:
5302         * cursor.C:
5303         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5304         (dispatch):
5305
5306         * dispatchresult.h: new file, DispatchResult broken out of
5307         insets/insetbase.h
5308
5309         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5310
5311 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5312
5313         * text.C (rowBreakPoint): put a hack inside #if 0
5314
5315 2003-10-28  André Pönitz  <poenitz@gmx.net>
5316
5317         * lyxtext.h:
5318         * metricsinfo.C:
5319         * paragraph_funcs.C:
5320         * rowpainter.C:
5321         * text.C:
5322         * text2.C: general cleanup (lots of small stuff)
5323
5324 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5325
5326         * text2.C (cursorEnd): simple fix to the "end key goes to one
5327         before the end on last row" bug
5328
5329 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5330
5331         * text.C (backspace): fix the "zombie characters"
5332
5333 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5334
5335         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5336
5337 2003-10-27  André Pönitz  <poenitz@gmx.net>
5338
5339         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5340
5341         * factory.C: handle new InsetPagebreak, InsetLine
5342
5343         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5344         and move handling into new InsetPagebreak, InsetLine
5345
5346         * BufferView_pimpl.C:
5347         * LyXAction.C:
5348         * ParagraphParameters.C:
5349         * ParameterStruct.h:
5350         * lyxfunc.C:
5351         * lyxtext.h:
5352         * paragraph.C:
5353         * paragraph.h:
5354         * paragraph_funcs.C:
5355         * paragraph_pimpl.C:
5356         * rowpainter.C:
5357         * text.C:
5358         * text2.C:
5359         * text3.C: adjust
5360
5361 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5362
5363         * text.C:
5364         * lyxrow_funcs.[Ch]:
5365         * Bidi.C:
5366         * paragraph.C:
5367         * lyxtext.h:
5368         * rowpainter.C:
5369         * text2.C:
5370         * text3.C: remove lastPos uses in favour of Row::endpos
5371
5372 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5373
5374         * undo.C (performUndoOrRedo): fix two crashes by setting a
5375         cursor by hand and reordering some calls. Use bv->lockInset instead
5376         of inset->edit because the latter loses cursor information
5377
5378 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5379
5380         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5381         by Martin
5382         (rowBreakPoint): fix width. change point to point + 1.
5383         Add a missing check.
5384
5385 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5386
5387         * MenuBackend.C:
5388         * lyxfunc.C: fix (at least partly) the problems
5389         with the Nav menu and headers inside branch insets
5390         reported by Kayvan
5391
5392 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5393
5394         * paragraph.C (getChar): add strong asserts
5395
5396         * lyxrow_funcs.C (lastPos): remove hideous hack
5397
5398         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5399         (fill): adjust to that (avoid an infinite loop)
5400
5401 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5402
5403         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5404
5405 2003-10-23  André Pönitz  <poenitz@gmx.net>
5406
5407         * RowList_fwd.h: change list<> to vector<> to gain speed
5408         after suggestion from Alfredo
5409
5410 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5411
5412         * lyxtext.h: move the bidi stuff from here...
5413         * text.C: and here
5414         * text2.C: and here
5415         * Bidi.[Ch]: ... to here
5416
5417 2003-10-23  André Pönitz  <poenitz@gmx.net>
5418
5419         * lyxtext.h:
5420         * text.C (isLastRow, isFirstRow): new functions
5421
5422         * paragraph.h: new width cache member
5423
5424         * rowpainter.C: replace RowList::iterator with Row & where possible
5425
5426         * lyxfunc.C: replace several view()->text with a single call
5427
5428         * toc.C: fix 'unused' warning
5429
5430 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5431
5432         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5433         when woring with stream::pos_type
5434         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5435
5436 2003-10-22  André Pönitz  <poenitz@gmx.net>
5437
5438         * lyxtext.h:
5439         * text.C: use Row & instead of RowList::iterator
5440
5441         * lyxrow.h: rename end() to endpos()
5442
5443         * rowpainter.C:
5444         * text.C:
5445         * text2.C: adjust
5446
5447 2003-10-22  Angus Leeming  <leeming@lyx.org>
5448
5449         * buffer.[Ch] (fully_loaded): new member function, returning true
5450         only when the file has been loaded fully.
5451         Used to prevent the premature generation of previews and by the
5452         citation inset to prevent computation of the natbib-style label.
5453
5454         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5455         templates are all set up.
5456
5457         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5458
5459 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5460
5461         * text.C: fixed an "oops" in the "is a bit silly"
5462         bug fix
5463
5464 2003-10-21  André Pönitz  <poenitz@gmx.net>
5465
5466         * FuncStatus.[Ch]: small stuff, whitespace
5467
5468         * lyxfont.[Ch]: operator<<() for debug reasons
5469
5470         * lyxfunc.C:
5471         * lyxrow_funcs.C:
5472         * lyxtext.h: whitespace, spelling
5473
5474         * paragraph.C: naming of variables
5475
5476         * text.C:
5477         * text2.C: small stuff
5478
5479
5480 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5481
5482         * text.C: (1) finish off the inset display() work;
5483         (2) fix the "is a bit silly" bug (accessing char
5484         past end of par).
5485
5486 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5487
5488         * text.C: re-introduce display() for insets, fixing the
5489         various bugs (stretch of line above, math inset
5490         positioning, ...)
5491
5492 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5493
5494         * text.C (rightMargin): remove spurious semicolon
5495
5496         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5497         1415)
5498
5499 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5500
5501         * text3.C: fix one crash due to wrong cursor def
5502
5503 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5504
5505         * vc-backend.C (scanMaster): make the regex static
5506
5507         * LaTeX.C (scanAuxFile): make the regexs static
5508
5509         * text3.C (doInsertInset, dispatch, dispatch):
5510         * text2.C (cursorUp, cursorDown):
5511         * text.C (selectNextWordToSpellcheck):
5512         * BufferView_pimpl.C (dispatch):
5513         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5514
5515 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5516
5517         * lyxsocket.C: include <cerrno>
5518
5519 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5520
5521         * lyxfunc.C (dispatch): remove textcache stuff
5522
5523         * bufferlist.C (release): remove textcache stuff
5524         (closeAll): ditto
5525
5526         * TextCache.C: delete file
5527         * TextCache.h: delete file
5528
5529         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5530
5531         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5532         delete of the bv_->text.
5533         (resizeCurrentBuffer): remove texcache stuff
5534         (workAreaResize): ditto
5535
5536 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5537
5538         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5539         action.
5540
5541 2003-10-16  André Pönitz  <poenitz@gmx.net>
5542
5543         * lyxrow.[Ch]:
5544         * paragraph.h:
5545         * rowpainter.C:
5546         * text.C:
5547         * text2.C:
5548         * text3.C: speed up by storing y positions per paragraph plus per-row
5549         offset instead of having a 'full' y position in the row.
5550
5551 2003-10-15  André Pönitz  <poenitz@gmx.net>
5552
5553         * iterators.[Ch]:
5554         * iterators.[Ch]:
5555         * undo.[Ch]: make undo aware of inner insets
5556
5557 2003-10-14  Angus Leeming  <leeming@lyx.org>
5558
5559         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5560         static member functions LyX::ref() and LyX::cref.
5561         (lastfiles): new accessor functions for the new lastfiles_ member var.
5562         (addLyXView, views_): add a new LyXView to the list of views_.
5563         (updateInset): loop over all LyXViews to call their own updateInset
5564         member function, returning a pointer to the Buffer owning the inset.
5565
5566         * BufferView_pimpl.C (loadLyXFile):
5567         * MenuBackend.C (expandLastfiles):
5568         * bufferlist.C (MenuWrite, QuitLyX):
5569         lastfiles is no longer a global variable.
5570         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5571
5572         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5573         static function. Access through LyX::cref().emergencyCleanup().
5574
5575 2003-10-14  André Pönitz  <poenitz@gmx.net>
5576
5577         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5578
5579         * undo.[Ch]: restoring part of 'undo in insets'
5580
5581         * Makefile.am:
5582         * undo_funcs.[Ch]: merge with undo.[Ch]
5583
5584         * tabular.C: small cleansing stuff
5585
5586 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5587
5588         * paragraph_funcs.C (readParToken): report unknown insets as error
5589         boxes. Use the outer paragraph as location (also for unknown
5590         tokens).
5591
5592         * factory.C (readInset): do not abort on reading an unknown inset.
5593         Eat it and return 0.
5594
5595 2003-10-13  Angus Leeming  <leeming@lyx.org>
5596
5597         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5598
5599         * lyxrc.C: displayTranslator is now a function,
5600         declared in GraphicsTypes.h.
5601
5602 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5603
5604         * format.C: new placeholder $$a to pass the socket address.
5605
5606         * bufferlist.[Ch]: new function getBufferFromTmp.
5607
5608         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5609           files in the temporary dir.
5610
5611 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5612
5613         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5614
5615         * Makefile.am: add lyxsocket.[Ch].
5616
5617         * lyx_main.C (error_handler): handle SIGPIPE.
5618
5619 2003-10-13  André Pönitz  <poenitz@gmx.net>
5620
5621         * BufferView_pimpl.C:
5622         * lyxtext.h:
5623         * text.C:
5624         * text2.C:
5625         * text3.C:
5626         * undo_funcs.[Ch]: use paroffset_type instead of
5627           ParagraphList::iterators to prevent multiple conversion
5628           (and get a more robust interface)
5629
5630 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5633         * lyxtext.h: ditto
5634         * text3.C (dispatch): ditto
5635
5636 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5637
5638         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5639         move the onlyfile, use onlyfile instead of foundfile in a couple
5640         of places.
5641
5642         * DepTable.C (update): flush the error stream a bit more
5643
5644 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5645
5646         * lyxserver.C (callback): adjust
5647
5648         * lyxfunc.C (getStatus): add a missing brace in commented code
5649         (ensureBufferClean): reindent
5650         (dispatch): delete version taking a string
5651
5652 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5653
5654         * LaTeX.C (deplog): move found file handlig from here...
5655         (handleFoundFile): .. to new function here.
5656         (deplog): make sure to discover several files mentioned on the
5657         same log line.
5658
5659 2003-10-10  André Pönitz  <poenitz@gmx.net>
5660
5661         * lyxfunc.C:
5662         * lyxtext.h:
5663         * tabular.C:
5664         * text.C:
5665         * text2.C:
5666         * text3.C: fix some of the tabular crashes
5667
5668 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5669
5670         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5671
5672         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5673
5674 2003-10-09  André Pönitz  <poenitz@gmx.net>
5675
5676         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5677
5678         * BufferView.C:
5679         * BufferView_pimpl.C:
5680         * bufferview_funcs.C:
5681         * lyx_cb.C:
5682         * lyxcursor.C:
5683         * lyxfind.C:
5684         * lyxfunc.C:
5685         * lyxtext.h:
5686         * text.C:
5687         * text2.C:
5688         * text3.C:
5689         * text_funcs.[Ch]:
5690         * textcursor.[Ch]:
5691         * undo_funcs.C: adjust
5692
5693 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * text2.C (incrementItemDepth): new function, use a backtracking
5696         algorithm to discover the correct item depth.
5697         (resetEnumCounterIfNeeded): new function, use a backtracking
5698         algorithm to discover if counter reset is needed.
5699         (setCounter): use them. Simplify a bit. Add different labels for
5700         different item depths for itemize.
5701
5702         * paragraph.C (Paragraph): remove initialization of enumdepth
5703         (operator=): ditto
5704
5705         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5706         enumerate and itemize. Change the type of itemdepth to signed char.
5707
5708 2003-10-08  André Pönitz  <poenitz@gmx.net>
5709
5710         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5711           thing assignable.
5712         * text.C:
5713         * text2.C: adjust
5714
5715         * tabular.[Ch]: fix crash after 'row-insert'
5716
5717 2003-10-08  Angus Leeming  <leeming@lyx.org>
5718
5719         Fix doxygen warnings.
5720
5721         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5722         Remove CutAndPaste:: prefix from header file declaration.
5723
5724         * LColor.h (fill): remove LColor:: prefix from declaration.
5725
5726         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5727         use lyx::depth_type rather than Paragraph::depth_type so that
5728         header file and .C file match.
5729
5730         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5731
5732         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5733         * aspell.C: \file aspell_local.C -> \file aspell.C
5734         * gettext.C: \file gettext.C -> \file src/gettext.C
5735         * gettext.h: \file gettext.h -> \file src/gettext.h
5736         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5737         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5738         * text.C: \file text.C -> \file src/text.C
5739
5740         * toc.C: move comment so that doxygen is not confused.
5741
5742 2003-10-07  Angus Leeming  <leeming@lyx.org>
5743
5744         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5745
5746 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5747
5748         * aspell.C:
5749         * aspell_local.h: add forgotten std::string's.
5750
5751 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5752
5753         * LaTeXFeatures.C:
5754         * LyXAction.C:
5755         * factory.C:
5756         * lfuns.h:
5757         * lyxfunc.C:
5758         * text3.C: The Box patch. Fancybox support, minipage, parbox
5759
5760 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5761
5762         * CutAndPaste.h:
5763         * DepTable.h:
5764         * FloatList.h:
5765         * LaTeXFeatures.h:
5766         * ParagraphParameters.h:
5767         * TextCache.h:
5768         * Thesaurus.h:
5769         * bufferlist.h:
5770         * exporter.h:
5771         * importer.h:
5772         * lastfiles.h:
5773         * lyxfind.h:
5774         * lyxfont.h:
5775         * lyxlex.h:
5776         * lyxtextclasslist.h:
5777         * messages.h:
5778         * paragraph.h:
5779         * paragraph_pimpl.C:
5780         * textcursor.h: add <string> and other small fixes to make Lars'
5781         std::string patch compile with STLport.
5782
5783 2003-10-06  Angus Leeming  <leeming@lyx.org>
5784
5785         * LColor.h: Add missing #include <string>.
5786
5787 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5788
5789         * All most all file in all subdirs: Make <string> be the prefered
5790         way of getting to std::string, add using declarations.
5791
5792 2003-10-06  André Pönitz  <poenitz@gmx.net>
5793
5794         * metricsinfo.C: initialize LyXFont before changing attribute.
5795         (fixes the 'math in \emph is upright' bug)
5796
5797 2003-10-06  André Pönitz  <poenitz@gmx.net>
5798
5799         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5800
5801 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5802
5803         * graph.C:
5804         * paragraph_pimpl.C: Small fixes to build using STLport
5805
5806 2003-10-02  André Pönitz  <poenitz@gmx.net>
5807
5808         * lyxfunc.C:
5809         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5810
5811 2003-10-01  André Pönitz  <poenitz@gmx.net>
5812
5813         * factory.C: assert early
5814
5815 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5816
5817         * lyx_main.C: remove the global debug object
5818
5819         * debug.h: adjust for new debugstream
5820
5821         * debug.C: adjust for new debugstream and keep the global debug
5822         object here.
5823
5824 2003-09-22  Angus Leeming  <leeming@lyx.org>
5825
5826         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5827         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5828         an incomplete class LyXFont.
5829
5830 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5831
5832         * factory.C: bug fix in branches
5833
5834 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5835
5836         * lyxfunc.C (processKeySym): adjust
5837         (dispatch): adjust
5838         (dispatch): change arg name from ev to func, adjust
5839         (sendDispatchMessage): ditto
5840
5841         * lyx_main.C (defaultKeyBindings): adjust keybindings
5842         (deadKeyBindings): ditto
5843
5844         * kbsequence.C (addkey): return a FuncRequest
5845
5846         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5847
5848         * kbmap.C (bind): take a FuncRequest as arg, adjust
5849         (read): adjust
5850         (lookup): adjust
5851         (defkey): change to take a FuncRequest as arg, adjust
5852         (findbinding): take a FuncRequest as arg, adjust.
5853
5854         * funcrequest.h (operator=): added
5855
5856         * funcrequest.C (FuncRequest): default kb_action changed from
5857         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5858
5859         * buffer.C (dispatch): simplify
5860         (dispatch): adjust to take a FuncRequest as arg, adjust
5861
5862         * boost.C (assertion_failed): change assertion message slightly
5863
5864         * ToolbarBackend.C (read): simplify
5865
5866         * MenuBackend.C (binding): adjust call to findbinding, add a
5867         message if no binding is found.
5868         (read): simplify
5869         (expandToc): correct by adding a empty FuncRequest
5870
5871         * LyXAction.C: include <boost/assert.hpp>
5872         (isPseudoAction): delete function
5873         (LookupFunc): change name to...
5874         (lookupFunc): this. change return type to FuncRequest.
5875         (getActionName): take kb_action as arg, simplify
5876         (funcHasFlag): add an assert, simplify.
5877
5878 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5879
5880         * toc.C (action): return a FuncRequest, simplify
5881
5882         * lyxfunc.C (processKeySym): adjust
5883         (getStatus): delete version that takes an int.
5884         (getStatus): adjust
5885         (dispatch): delete version that takes action as int
5886         (dispatch): adjust
5887         (sendDispatchMessage): simplify and adjust
5888
5889         * funcrequest.C (getArg): take unsigned int as arg
5890
5891         * ToolbarBackend.C (read): adjust
5892         (add): delete version that takes func as a string.
5893         (getIton): take a FuncRequest as arg
5894
5895         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5896         action.
5897
5898         * MenuBackend.C (MenuItem): add a new construct that only takes a
5899         Kind, simplify the constructor use for submenus.
5900         (add): adjust
5901         (expandLastfiles): adjust
5902         (expandDocuments): adjust
5903         (expandFormats): adjust
5904         (expandFloatListInsert): adjust
5905         (expandFloatInsert): adjust
5906         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5907
5908         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5909         Remove class variables lyx_pseudo_map and lyx_arg_map
5910
5911         * LyXAction.C (searchActionArg): delete function
5912         (getPseudoAction): delete function
5913         (retrieveActionArg): delete function
5914         (LookupFunc): make it return kb_action, simplify.
5915         (getActionName): simplify
5916
5917         * factory.C (createInset): fix new bug
5918
5919 2003-09-19  Angus Leeming  <leeming@lyx.org>
5920
5921         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5922         masterFilename_ parameter in the include inset.
5923
5924         * factory.C (createInset): changes due to the changes to InsetInclude.
5925
5926 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5927
5928         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5929
5930 2003-09-18  Angus Leeming  <leeming@lyx.org>
5931
5932         * buffer.C:
5933         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5934         Inset::fillWithBibKeys.
5935         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5936
5937 2003-09-18  Angus Leeming  <leeming@lyx.org>
5938
5939         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5940         variables.
5941         (ctor): pass and store a 'Buffer const &'
5942         (buffer): new member function.
5943
5944         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5945         '*this' to the LaTeXFeatures ctor.
5946
5947 2003-09-18  Angus Leeming  <leeming@lyx.org>
5948
5949         * LColor.h:
5950         * lyxfont.C:
5951         * lyxfont.h:
5952         * lyxtext.h:
5953         * text.C: rename EnumLColor as LColor_color.
5954
5955 2003-09-18  Angus Leeming  <leeming@lyx.org>
5956
5957         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5958         remove #include "insets/insetbase.h" from cursor.h.
5959
5960 2003-09-18  Angus Leeming  <leeming@lyx.org>
5961
5962         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5963         InsetOld_code to remove #include "inset.h".
5964
5965         * iterators.C: add #include "insets/inset.h"
5966
5967 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5968
5969         * BufferView.C: remove more locking stuff that apparently doesn't
5970         do anything sensible.
5971
5972 2003-09-16  André Pönitz  <poenitz@gmx.net>
5973
5974         * paragraph.[Ch]:
5975         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5976           performance boost.
5977
5978 2003-09-16  Angus Leeming  <leeming@lyx.org>
5979
5980         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5981
5982         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5983         arg/return type.
5984
5985         * paragraph.h: remove #include "lyxfont.h". Forward declare
5986         LyXFont_size.
5987
5988 2003-09-16  Angus Leeming  <leeming@lyx.org>
5989
5990         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5991         of support/textutils.h.
5992         (isWord): move the contents of support/textutils.h's IsWordChar here.
5993
5994         * buffer.C:
5995         * lyxfind.C:
5996         * rowpainter.C:
5997         * text.C:
5998         * text2.C: add #include "paragraph.h".
5999
6000         * rowpainter.C:
6001         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6002
6003 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6004
6005         * main.C:
6006         * lyx_main.C:
6007         * lyx_cb.C:
6008         * buffer.C:
6009         * LaTeX.C: use namespace alias for lyx::support::os
6010
6011 2003-09-16  Angus Leeming  <leeming@lyx.org>
6012
6013         * bufferparams.C:
6014         * bufferview_funcs.C:
6015         * factory.C:
6016         * lyxfunc.C:
6017         * paragraph_pimpl.C:
6018         * rowpainter.C:
6019         * text.C: add #include "LColor.h".
6020
6021 2003-09-16  Angus Leeming  <leeming@lyx.org>
6022
6023         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6024         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6025         return LyXFont &.
6026         Store the FontBits::color variable as an int rather than as an
6027         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6028         file.
6029
6030         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6031         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6032         string calls together.
6033
6034         * lyxrc.C: add #include "LColor.h".
6035
6036 2003-09-15  Angus Leeming  <leeming@lyx.org>
6037
6038         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6039         a cow_ptr.
6040
6041 2003-09-15  Angus Leeming  <leeming@lyx.org>
6042
6043         * LColor.h: add an EnumLColor wrapper for LColor::color.
6044
6045         * lyxfont.[Ch] (color, setColor, realColor):
6046         * lyxtext.h, text.C (backgroundColor):
6047         pass EnumLColor args to/from the functions, rather than LColor::color
6048         ones.
6049
6050         * lyxfont.h:
6051         * lyxtext.h: forward declare EnumLColor.
6052
6053         * lyx_main.C: add #include "LColor.h".
6054
6055 2003-09-15  Angus Leeming  <leeming@lyx.org>
6056
6057         * .cvsignore: add lyx-gtk.
6058
6059 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6060
6061         * Chktex.C
6062         * LaTeX.C
6063         * LaTeXFeatures.C
6064         * ParagraphParameters.C
6065         * Spacing.C
6066         * buffer.C
6067         * bufferparams.C
6068         * bufferview_funcs.C
6069         * chset.C
6070         * counters.C
6071         * funcrequest.C
6072         * lyxfont.C
6073         * lyxgluelength.C
6074         * lyxlength.C
6075         * paragraph.C
6076         * paragraph_funcs.C
6077         * text3.C
6078         * vc-backend.C: remove usage of STRCONV
6079
6080 2003-09-15  Angus Leeming  <leeming@lyx.org>
6081
6082         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6083         explicitly define the color passed to the painter.
6084
6085 2003-09-15  Angus Leeming  <leeming@lyx.org>
6086
6087         * bufferparams.C (BufferParams): reorder member initializers to avoid
6088         compiler warning.
6089
6090 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6091
6092         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6093         * text.C (updateRowPositions): remove an unusual nop
6094
6095 2003-09-12  André Pönitz  <poenitz@gmx.net>
6096
6097         * BufferView_pimpl.C:
6098         * Bullet.C:
6099         * layout.h:
6100         * lyxfunc.C:
6101         * lyxlayout.[Ch]:
6102         * lyxtextclass.C:
6103         * rowpainter.C:
6104         * text.C:
6105         * text2.C:
6106         * Counters.[Ch]: finish the 'automatic counters' job
6107
6108 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6109
6110         * aspell.C: include <boost/assert.cpp> (compile fix)
6111
6112 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6113
6114         * boost.C (assertion_failed): use lyx::support::abort instead of
6115         assert.
6116
6117 2003-09-10  Angus Leeming  <leeming@lyx.org>
6118
6119         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6120         with their _fwd progeny.
6121
6122 2003-09-09  Angus Leeming  <leeming@lyx.org>
6123
6124         134 files throughtout the source tree: replace 'using namespace abc;'
6125         directives with the appropriate 'using abc::xyz;' declarations.
6126
6127 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6128
6129         * boost.C (emergencyCleanup): moved here from LAssert.c
6130         (assertion_failed): new function, called by BOOST_ASSERT
6131
6132         * several files: change Assert to BOOST_ASSERT
6133
6134 2003-09-09  Angus Leeming  <leeming@lyx.org>
6135
6136         * buffer.[Ch]: Add an Impl class and move Buffer's member
6137         variables into it. As a result move several header files out of
6138         buffer.h.
6139
6140         Add header files to lots of .C files all over the tree as a result.
6141
6142 2003-09-09  Angus Leeming  <leeming@lyx.org>
6143
6144         * buffer.[Ch]: make Buffer's member variables private. Add
6145         accessor functions.
6146
6147         Lots of changes all over the tree as a result.
6148
6149 2003-09-08  Angus Leeming  <leeming@lyx.org>
6150
6151         * graph.C: #include <config.h>.
6152
6153 2003-09-08  Angus Leeming  <leeming@lyx.org>
6154
6155         * BranchList.C:
6156         * BufferView.C:
6157         * BufferView_pimpl.C:
6158         * CutAndPaste.C:
6159         * DepTable.C:
6160         * LaTeX.C:
6161         * LaTeXFeatures.C:
6162         * LyXAction.C:
6163         * MenuBackend.C:
6164         * TextCache.C:
6165         * aspell.C:
6166         * buffer.C:
6167         * bufferlist.C:
6168         * changes.C:
6169         * chset.C:
6170         * converter.C:
6171         * counters.C:
6172         * debug.C:
6173         * graph.C:
6174         * ispell.C:
6175         * lyx_cb.C:
6176         * lyxfind.C:
6177         * lyxfunc.C:
6178         * lyxlex_pimpl.C:
6179         * lyxrc.C:
6180         * lyxrow.C:
6181         * paragraph.C:
6182         * rowpainter.C:
6183         * texrow.C:
6184         * text.C:
6185         * text2.C:
6186         * toc.C: remove redundant using directives.
6187
6188 2003-09-07  Angus Leeming  <leeming@lyx.org>
6189
6190         * LaTeXFeatures.h: remove #include "support/types.h".
6191         * ToolbarBackend.h: remove #include <algorithm>.
6192         * changes.h: remove #include <ctime>.
6193         * debug.h: remove #include <iosfwd>.
6194         * graph.h: remove #include "support/std_string.h".
6195         * lyx_main.h: remove #include <csignal>.
6196         * lyxlex_pimpl.h: remove #include <fstream>.
6197         * sgml.h: remove #include <algorithm>, <utility>.
6198         * toc.h: remove #include "support/std_ostream.h".
6199         Add #include <iosfwd>.
6200
6201 2003-09-07  Angus Leeming  <leeming@lyx.org>
6202
6203         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6204
6205         * converter.h: forward declare LatexRunParams.
6206         * encoding.h: remove #include "lyxrc.h".
6207         * lyxtext.h: remove #include "LColor.h".
6208         * lyxtextclass.h: remove #include "support/types.h".
6209         * trans.h: remove #include "tex-accent.h".
6210         * trans_mgr.h: remove #include "tex-accent.h".
6211         * insets/inset.h: remove #include "support/types.h", <vector>.
6212         * insets/insetcollapsable.h: remove #include "LColor.h".
6213         * insets/insetinclude.h: remove #include "dimension.h".
6214         * insets/insetlatexaccent.h: remove #include "dimension.h".
6215         * insets/insetoptarg.h:: remove #include "insettext.h".
6216         * insets/insettext.h: remove #include "dimension.h",
6217         <boost/shared_ptr.hpp>
6218
6219         * insets/renderers.h: add #include "dimension.h".
6220         * insets/updatableinset.h: add #include "support/types.h".
6221
6222         * many .C files: Associated changes.
6223
6224 2003-09-06  Angus Leeming  <leeming@lyx.org>
6225
6226         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6227         one, inside testInvariant.
6228
6229         * PrinterParams.C: new file.
6230         * PrinterParams.[Ch]: move the function bodies out of line.
6231
6232 2003-09-06  Angus Leeming  <leeming@lyx.org>
6233
6234         * ParagraphParameters.h: forward declare ParameterStruct rather than
6235         including its header file.
6236         (depth): moved out-of-line.
6237
6238 2003-09-06  Angus Leeming  <leeming@lyx.org>
6239
6240         * BufferView_pimpl.h:
6241         * kbmap.h:
6242         * kbsequence.h:
6243         * lyxfunc.h: forward declare LyXKeySym rather than
6244         #include "frontends/LyXKeySym.h".
6245
6246         * BufferView_pimpl.C:
6247         * kbmap.C:
6248         * kbsequence.C:
6249         * lyxfunc.C: associated changes.
6250
6251 2003-09-06  Angus Leeming  <leeming@lyx.org>
6252
6253         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6254         As a result, can remove the #include "insets/inset.h" from BufferView.h
6255
6256 2003-09-06  Angus Leeming  <leeming@lyx.org>
6257
6258         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6259         As a result, can remove the #include "insets/inset.h" from BufferView.h
6260
6261 2003-09-06  Angus Leeming  <leeming@lyx.org>
6262
6263         * buffer_funcs.C:
6264         * buffer.h:
6265         * bufferlist.C:
6266         * BufferView.C:
6267         * bufferview_funcs.C:
6268         * BufferView_pimpl.C:
6269         * CutAndPaste.C:
6270         * lyx_cb.C:
6271         * lyxfunc.C:
6272         * paragraph.h:
6273         * ParagraphParameters.C:
6274         * tabular.C:
6275         * text3.C:
6276         * toc.C:
6277         * undo_funcs.C:
6278         * frontends/controllers/ControlDocument.C:
6279         * insets/insetcaption.C: rearrange the #includes into some sort of
6280         coherent order.
6281
6282         * buffer.h: remove #includes ErrorList.h, undo.h
6283
6284 2003-09-06  Angus Leeming  <leeming@lyx.org>
6285
6286         * support/types.h: add a 'depth_type' typedef, used to store the
6287         nesting depth of a paragraph.
6288
6289         * paragraph.h:
6290         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6291         defining explicitly.
6292
6293         * buffer.h:
6294         * paragraph_funcs.h:
6295         * ParagraphParameters.h:
6296         * sgml.h: use lyx::depth_type rather than Paragraph or
6297         ParameterStruct's depth_type.
6298
6299         * buffer.h
6300         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6301
6302         * BufferView.C:
6303         * BufferView_pimpl.C:
6304         * CutAndPaste.C:
6305         * ParagraphParameters.C:
6306         * buffer_funcs.C:
6307         * bufferlist.C:
6308         * bufferview_funcs.C:
6309         * lyx_cb.C:
6310         * lyxfunc.C:
6311         * tabular.C:
6312         * text3.C:
6313         * toc.C:
6314         * undo_funcs.C:
6315         * frontends/LyXView.C:
6316         * frontends/controllers/ControlDocument.C:
6317         * frontends/controllers/ControlErrorList.C:
6318         * insets/insetbibitem.C:
6319         * insets/insetbranch.C:
6320         * insets/insetcaption.C:
6321         * insets/insetcollapsable.C:
6322         * insets/insetenv.C:
6323         * insets/insetert.C:
6324         * insets/insetfloat.C:
6325         * insets/insetfoot.C:
6326         * insets/insetfootlike.C:
6327         * insets/insetnewline.C:
6328         * insets/insetquotes.C:
6329         * insets/insettabular.C:
6330         * insets/insettext.C:
6331         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6332
6333         * frontends/controllers/ControlChanges.C: #include "changes.h".
6334
6335 2003-09-06  Angus Leeming  <leeming@lyx.org>
6336
6337         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6338         than #including paragraph.h.
6339
6340         * ParagraphList.h:
6341         * RowList.h: deleted. Superfluous.
6342
6343         * CutAndPaste.h:
6344         * iterators.h:
6345         * lyxcursor.h:
6346         * lyxtext.h:
6347         * text_funcs.h:
6348         * undo.h:
6349         * undo_funcs.h:
6350         * insets/inset.h:
6351         * insets/insettext.h: use ParagraphList_fwd.h rather than
6352         ParagraphList.h.
6353
6354         * paragraph.h: don't forward declare ParagraphList.
6355
6356         * buffer.h:
6357         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6358         rather than ParagraphList.h. paragraph.h is still needed for the
6359         Paragraph::depth_type parameters.
6360
6361         * textcursor.h: enable it to compile stand-alone in light of the
6362         above changes.
6363
6364         * bufferview_funcs.C:
6365         * iterators.C:
6366         * lyxfunc.C:
6367         * lyxrow_funcs.C:
6368         * paragraph.C:
6369         * rowpainter.C:
6370         * text.C:
6371         * text2.C:
6372         * text3.C:
6373         * text_funcs.C:
6374         * textcursor.C:
6375         * undo.C:
6376         * frontends/controllers/ControlParagraph.C:
6377         * frontends/controllers/ControlTabular.C:
6378         * insets/insetmarginal.C:
6379         * insets/insetminipage.C:
6380         * insets/insetnote.C:
6381         * insets/insetoptarg.C: add header files needed to compile again.
6382
6383 2003-09-06  Angus Leeming  <leeming@lyx.org>
6384
6385         * RowList_fwd.h: new file, forward-declaring Row rather than
6386         #including lyxrow.h.
6387
6388         * lyxrow_funcs.h:
6389         * lyxtext.h:
6390         * paragraph.h:
6391         * insets/insettext.h: use it instead of RowList.h
6392
6393         * bufferview_funcs.C:
6394         * lyxfunc.C:
6395         * lyxrow_funcs.C:
6396         * paragraph.C:
6397         * rowpainter.C:
6398         * text.C:
6399         * text2.C:
6400         * text3.C: #include "RowList.h".
6401
6402 2003-09-05  Angus Leeming  <leeming@lyx.org>
6403
6404         * factory.C (createInset):
6405         * vspace.C (c-tor): replace sscanf call with an istringstream.
6406         * ispell.C: re-add missing HP/UX headers.
6407         * lyxserver.C: re-add missing  os2 headers.
6408
6409 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6410
6411         * BranchList.C:
6412         * graph.C:
6413         * ispell.C:
6414         * lastfiles.C:
6415         * lyx_cb.C:
6416         * lyxserver.C:
6417         * texrow.C:
6418         * text3.C: re-add missing system headers, needed for 2.95.2.
6419
6420 2003-09-05  Angus Leeming  <leeming@lyx.org>
6421
6422         Changes most place everywhere due to the removal of using directives
6423         from support/std_sstream.h.
6424
6425 2003-09-05  Angus Leeming  <leeming@lyx.org>
6426
6427         Replace LString.h with support/std_string.h,
6428         Lsstream.h with support/std_sstream.h,
6429         support/LIstream.h with support/std_istream.h,
6430         support/LOstream.h with support/std_ostream.h.
6431
6432         Changes resulting throughout the tree.
6433
6434 2003-09-05  Angus Leeming  <leeming@lyx.org>
6435
6436         * sgml.h: ensure that the header file can be compiled stand-alone.
6437         * *.C: strip out redundant #includes. (320 in total.)
6438
6439 2003-09-04  Angus Leeming  <leeming@lyx.org>
6440
6441         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6442         here (from getPackages).
6443
6444         * debug.[Ch]: add a new EXTERNAL tag.
6445
6446 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6447
6448         * text2.C (cursorEnd): simplify
6449         (setCursor): adjust
6450         (getColumnNearX): adjust
6451
6452         * text.C (computeBidiTables): adjust
6453         (fill): adjust
6454
6455         * rowpainter.C (paintChars): adjust
6456         (paintSelection): adjust
6457         (paintChangeBar): adjust
6458         (paintText): adjust
6459
6460         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6461         lastPos instead.
6462         (numberOfSeparators): adjust
6463
6464 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6465
6466         * LyXAction.C:
6467         * box.[Ch]:
6468         * lfuns.h:
6469         * lyxfunc.C:
6470         * text3.C: Restricts the mouse click functionality
6471         of insets like bibtex, include, toc and floatlist to the visible
6472         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6473         up the dialogs. Cursor has to be in front of the inset (i.e.
6474         start of row) for this to function.
6475
6476 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6477
6478         * bufferview_funcs.C (currentState): output row information
6479
6480 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6481
6482         * bufferview_funcs.C (currentState): output paragraph position
6483
6484 2003-09-04  Angus Leeming  <leeming@lyx.org>
6485
6486         * FloatList.h: move out #include "Floating.h".
6487         * LaTeX.h: move out #include "DepTable.h".
6488         * LyXAction.h: move out #include "funcrequest.h".
6489         * buffer.h: move out #include "author.h", "iterators.h".
6490         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6491         * lyx_main.h: move out #include "errorlist.h".
6492         * lyxfunc.h: move out #include "FuncStatus.h".
6493         * lyxtext: move out #include "lyxcursor.h".
6494         * paragraph_pimpl.h: move out #include "counters.h".
6495
6496 2003-09-03  Angus Leeming  <leeming@lyx.org>
6497
6498         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6499         preamble_snippets list, enabling us to add snippets to the preamble
6500         only if the snippet was not there already.
6501
6502 2003-09-04  Angus Leeming  <leeming@lyx.org>
6503
6504         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6505
6506 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6507
6508         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6509         update
6510
6511 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6512
6513         * BranchList.C: point fix, earlier forgotten
6514
6515 2003-09-02  Angus Leeming  <leeming@lyx.org>
6516
6517         * box.C (contains): renamed from 'contained' after a fantastic
6518         amount of hot air.
6519
6520 2003-09-02  John Levon  <levon@movementarian.org>
6521
6522         * BufferView.C:
6523         * lyxcursor.h:
6524         * lyxcursor.C:
6525         * lyxfunc.C:
6526         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6527
6528 2003-09-02  John Levon  <levon@movementarian.org>
6529
6530         * text2.C: simplification of cursorEnd(), including partial
6531         fix for bug 1376
6532
6533 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6534
6535         * buffer.C (readFile): add a space
6536
6537 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6538
6539         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6540
6541 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6542
6543         * buffer.C (readFile): new function, take a filename and a
6544         ParagraphList::iterator
6545         (readFile): adjust
6546         (readFile): adjust, make it private. don't use setStream, make
6547         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6548         always contain the filename.
6549
6550         * BufferView.C (insertLyXFile): simplify and make it work for
6551         gzipped files.
6552
6553 2003-08-30  John Levon  <levon@movementarian.org>
6554
6555         * Makefile.am: fix dist (from Kayvan)
6556
6557 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6558
6559         * most files: change to use const Buffer refs
6560
6561 2003-08-27  André Pönitz  <poenitz@gmx.net>
6562
6563         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6564         on top of ownerPar().
6565
6566 2003-08-27  John Levon  <levon@movementarian.org>
6567
6568         * funcrequest.C: properly initialise POD members
6569
6570 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6571
6572         * lyxtext.h (top_y): move top_y from here
6573         * text.C:
6574         * text2.C:
6575         * text3.C:
6576         * BufferView.[Ch]:
6577         * BufferView_pimpl.[Ch]: to here
6578         * frontends/screen.C:
6579         * insets/insettabular.C:
6580         * insets/insettext.C: adjust
6581         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6582
6583 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6584
6585         * BufferView.[Ch]:
6586         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6587
6588 2003-08-26  André Pönitz  <poenitz@gmx.net>
6589
6590         * paragraph_func.[Ch] (outerPar): new function
6591
6592         * paragraph.C:
6593         * paragraph_funcs.C:
6594         * paragraph_funcs.h:
6595         * paragraph_pimpl.C:
6596         * text2.C: remove Inset::par_owner
6597
6598 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6599
6600         * lyxrow_funcs.C:
6601         * lyxtext.h:
6602         * text.C:
6603         * text2.C: eliminates the needFullRow/display() stuff
6604         altogether, putting the logic in metrics/draw in the insets.
6605
6606 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6607
6608         * text2.C (redoParagraphInternal, redoParagraphs):
6609         * text.C (redoParagraph): add a call to updateRowPositions at the
6610         end of each 'metrics-like' call. Remove all others.
6611         (getRow): remove the 'y-computing' version.
6612         (getRowNearY): do not compute nor return the real y. Solve the
6613         'y < 0' problem and simplify.
6614
6615 2003-08-22  Angus Leeming  <leeming@lyx.org>
6616
6617         * *.[Ch]: clean-up of licence and author blurbs.
6618         Also move config.h out of a few .h files and into a few .C files.
6619
6620 2003-08-22  André Pönitz  <poenitz@gmx.net>
6621
6622         * lyxrow.[Ch]: add x_ and *fill_ members
6623
6624         * lyxtext.h:
6625         * text.C:
6626         * rowpainter.C:
6627         * text2.C: adjust/remove prepareToPrint() calls
6628
6629 2003-08-22  André Pönitz  <poenitz@gmx.net>
6630
6631         * lyxrow.[Ch]: add  end_ member
6632
6633         * lyxrow_funcs.C: use LyXRow::end_
6634
6635         * lyxtext.h (singleWidth): add LyXFont parameter
6636
6637         * rowpainter.C:
6638         * text2.C: adjust LyXText::singleWidth() calls
6639
6640         * text.C (redoParagraph): simplify row breaking logic
6641
6642
6643 2003-08-19  André Pönitz  <poenitz@gmx.net>
6644
6645         * funcrequest.C: initialize button_ member
6646
6647         * text3.C:
6648         * rowpainter.[Ch]: interface consolidation
6649
6650 2003-08-18  André Pönitz  <poenitz@gmx.net>
6651
6652         * BufferView.C:
6653         * BufferView_pimpl.C:
6654         * lyxfind.C:
6655         * paragraph_funcs.C:
6656         * rowpainter.C:
6657         * text3.C: remove LyXScreen::draw() and fitCursor calls
6658
6659         * BranchList.h: remove spurious semicolons
6660
6661         * MenuBackend.C: fix branchlist related crash
6662
6663 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6664
6665         * BranchList.[Ch]:
6666         * InsetList.[Ch]:
6667         * LColor.[Ch]:
6668         * LyXAction.C:
6669         * Makefile.am:
6670         * MenuBackend.[Ch]:
6671         * bufferparams.[Ch]:
6672         * factory.C:
6673         * lfuns.h:
6674         * lyxfunc.C:
6675         * text3.C: implements the 'branch inset'
6676         idea. This allows the output of various versions of a document
6677         from a single source version, selectively outputing or suppressing
6678         output of parts of the text.
6679         This implementation contains a 'branch list editor' in a separate
6680         tab of the document settings dialog. Branches are user definable
6681         and have a "display colour" to distinguish them on-screen.
6682
6683         ColorHandler was somewhat cleaned up.
6684         (1) make possible a dynamically growing LColor list by allowing
6685         the graphic context cache to grow along (vector);
6686         (2) eliminate an IMHO unnecessary step in colour allocation.
6687
6688 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6689
6690         * BufferView_pimpl.C: compile fix
6691
6692 2003-08-15  André Pönitz  <poenitz@gmx.net>
6693
6694         * rowpainter.C: remove extra metrics calls
6695
6696         * lyxtext.h: merge the two constructors into a single one,
6697           pass reference to owner's par list
6698
6699         * BufferView_pimpl.C:
6700         * text.C:
6701         * text2.C: adjust
6702
6703 2003-08-15  André Pönitz  <poenitz@gmx.net>
6704
6705         * lyxrow_funcs.[Ch]:
6706         * lyxtext.h:
6707         * paragraph.h:
6708         * paragraph_funcs.C:
6709         * rowpainter.C:
6710         * text.C:
6711         * text2.C:
6712         * text3.C:
6713         * text_funcs.C: split LyXText::rowlist_ into individual
6714         Paragraph::rows_ chunks
6715
6716         * BufferView.[Ch]:
6717         * BufferView_pimpl.[Ch]:
6718         * lyxfind.C:
6719         * lyxtext.h:
6720         * text3.C: remove toggleSelection()
6721
6722 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6723
6724         * bufferlist.C: beautify two alerts (shorter text of buttons)
6725         * buffer.C: Remove redundant ' ' from message
6726         * tabular.h:
6727         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6728         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6729         rename VALIGN_CENTER to VALIGN_MIDDLE
6730
6731 2003-08-11  André Pönitz  <poenitz@gmx.net>
6732
6733         * lyxtext.h (getPar):
6734         * text.C: new function
6735
6736 2003-08-11  André Pönitz  <poenitz@gmx.net>
6737
6738         * Makefile.am:
6739         * tracer.[Ch]: remove unneeded files
6740
6741         * InsetList.[Ch]: remove resizeInsetsLyXText()
6742
6743         * lyxtext.h:
6744         * text.C:
6745         * text2.C:
6746         * text3.C: merge insertParagraphs() and appendParagraph()
6747         remove breakAgain(), update()
6748
6749         * BufferView_pimpl.[Ch]:
6750         * bufferview_funcs.[Ch]:
6751         * lyxfunc.C:
6752         * paragraph.[Ch]:
6753         * rowpainter.C:
6754         * tabular.C: adjust after text & InsetList changes.
6755
6756 2003-08-08  André Pönitz  <poenitz@gmx.net>
6757
6758         * text.C (insertChar, backspace): replace rowlist fiddling
6759         with rebreak of full par
6760
6761         * lyxtext.h:
6762         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6763         checkParagraph, updateInset): removed
6764
6765 2003-08-07  André Pönitz  <poenitz@gmx.net>
6766
6767         * paragraph.C:
6768         * text3.C: merge some LFUN handlers, remove dead code
6769
6770 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6771
6772         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6773
6774 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6775
6776         * text2.C (DEPM): fix part of bug 1255 and 1256
6777
6778 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6779
6780         * BufferView_pimpl.C (workAreaDispatch): change to use
6781         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6782         that are no mouse related.
6783
6784 2003-08-05  André Pönitz  <poenitz@gmx.net>
6785
6786         * BufferView.[Ch]:
6787         * BufferView_pimpl.[Ch]:
6788         * bufferview_funcs.C:
6789         * text2.C:
6790         * text3.C: rip out "deep update"
6791
6792         * textcursor.[Ch] (last_sel_cursor): remove unused member
6793
6794 2003-08-04  André Pönitz  <poenitz@gmx.net>
6795
6796         * BufferView.[Ch]:
6797         * BufferView_pimpl.[Ch]:
6798         * ParagraphParameters.C:
6799         * bufferview_funcs.C:
6800         * lyx_cb.C:
6801         * lyxfind.C:
6802         * lyxfunc.C:
6803         * text.C:
6804         * text2.C:
6805         * text3.C: replace "complicated" BufferView::update(...) calls with
6806         simpler ones.
6807
6808         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6809
6810 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6811
6812         * Makefile.am (lyx_SOURCES): add paper.h
6813
6814 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6815
6816         * Makefile.am: move things around so that both lyx-qt and
6817         lyx-xforms can be built (according to --with-frontend). Then lyx
6818         is a symbolic link to lyx-[firstfrontend]
6819
6820 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6821
6822         * Always use std::endl with lyxerr
6823
6824 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6825
6826         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6827
6828 2003-08-01  André Pönitz  <poenitz@gmx.net>
6829
6830         * BufferView.[Ch]:
6831         * BufferView_pimpl.[Ch]:
6832         * lyxfunc.C:
6833         * text3.C: merge BufferView::repaint() and BufferView::update()
6834
6835 2003-08-01  José Matos  <jamatos@lyx.org>
6836
6837         * buffer.[Ch]: file_format is no longer a buffer data element.
6838
6839 2003-08-01  André Pönitz  <poenitz@gmx.net>
6840
6841         * BufferView.C:
6842         * lyxtext.h:
6843         * text.C:
6844         * text2.C: make redoParagraph more independent of current cursor
6845
6846         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6847         * text.C:
6848         * text2.C: remove unneeded members
6849
6850 2003-07-30  André Pönitz  <poenitz@gmx.net>
6851
6852         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6853
6854         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6855           create a single function...
6856
6857         * paragraph_funcs.C (moveItem): ... here.
6858
6859         * text.C:
6860           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6861
6862 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6863
6864         * LColor.[Ch]: Add comment and greyedout logical colors.
6865
6866 2003-07-30  André Pönitz  <poenitz@gmx.net>
6867
6868         * tabular.C: don't use Assert too heavily. This crashes where it
6869           shouldn't
6870
6871 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6872
6873         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6874         is disabled (bug 1232)
6875
6876 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6877
6878         * factory.C: limited 'arg' scope
6879
6880 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6881
6882         * factory.C: fixed Note submenu issues
6883
6884 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6885
6886         * factory.C: submenu for Note/Comment/Greyedout
6887
6888 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6889
6890         * lyx_main.C (LyX):
6891         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6892
6893 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6894
6895         * LaTeXFeatures.C:
6896         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6897         greyedout. Patch provided by Jürgen Spitzmüller.
6898
6899 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6900
6901         * kbmap.C (read): fix error message when reading bind files
6902
6903 2003-07-29  Angus Leeming  <leeming@lyx.org>
6904
6905         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6906         certainly does not do what it purports to do. I am doing it, and
6907         us, a favour by killing it.
6908
6909 2003-07-28  José Matos  <jamatos@lyx.org>
6910
6911         * buffer.C (readBody, do_writeFile):
6912         * paragraph.C(readParagraph): \end_document replaces \the_end.
6913
6914 2003-07-29  André Pönitz  <poenitz@gmx.net>
6915
6916         * BufferView.[Ch]:
6917         * BufferView_pimpl.[Ch]:
6918         * lyxfunc.C:
6919         * text2.C:
6920         * text3.C:
6921         * textcursor.[Ch]: remove toggleToggle & Co
6922
6923 2003-07-28  José Matos  <jamatos@fep.up.pt>
6924
6925         * buffer.C (readParagraph):
6926         * params_func (readParToken, readParagraph):
6927         * paragraph.C (write): \layout -> \begin_layout.
6928
6929 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6930
6931         * lyxlex_pimpl.C (setFile): clean up slightly.
6932
6933         * bufferparams.h: add compressed var
6934
6935         * buffer_funcs.C (readFile): adjust for LyXLex change
6936         (newFile): ditto + simplify
6937
6938         * buffer.C (writeFile): handle writing of compressed files
6939
6940         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6941         Check if the file is compressed and set a bufferparm if so.
6942
6943         * Makefile.am (lyx_LDADD): remove explicit -lz
6944
6945 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6946
6947         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6948         makeDocBookFile): put the real LyX version in the first line of
6949         the file
6950
6951         * version.h:
6952         * version.C.in: remove lyx_docversion
6953
6954         * tabular.C (write_attribute): add a template-based version to
6955         write enums properly
6956
6957 2003-07-28  André Pönitz  <poenitz@gmx.net>
6958
6959         * lyxtext.h:
6960         * text.C:
6961         * text2.C:
6962         * text3.C: use doubles again for x-coordinates. They are needed.
6963
6964 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * messages.C (getLocaleDir): use lyx_localedir()
6967
6968         * lyxlex_pimpl.C (setFile): compress stuff
6969
6970         * buffer.C (writeFile): add some compression stuff
6971         (do_writeFile): new func, dont call expliti close... will this
6972         breake anything?
6973
6974         * Makefile.am (lyx_LDADD): add -lz
6975
6976 2003-07-28  José Matos  <jamatos@fep.up.pt>
6977
6978         * buffer.C: increment file format.
6979         * paragraph_funcs (readParagraph, readParToken):
6980         * paragraph.C (readParagraph): add \end_layout.
6981
6982 2003-07-27  Angus Leeming  <leeming@lyx.org>
6983
6984         * Makefile.am: remove special casing for configure-time setting of
6985         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6986
6987         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6988         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6989
6990 2003-07-26  André Pönitz  <poenitz@gmx.net>
6991
6992         * paragraph_func.[Ch]:
6993         * paragraph.C (realizeFont): inline it whereever it is used
6994
6995         * rowpainter.C:
6996         * text.C:
6997         * text2.C:
6998         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6999
7000
7001 2003-07-26  André Pönitz  <poenitz@gmx.net>
7002
7003         *       lyxtext.h:
7004         * text.C:
7005         * text2.C: get rid of LyXText::need_break_row
7006
7007 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7008
7009         * toc.[Ch]: put namespace toc inside namespace lyx
7010
7011         * MenuBackend.C (expandToc2): adjust for lyx::toc
7012         (expandToc): ditto
7013
7014         * lyxfunc.C (dispatch): adjust for lyx::find
7015
7016         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7017         lyx::find instead. Reorganize a bit.
7018         (LyXReplace): rename to replace
7019         (LyXFind): rename to find
7020
7021         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7022         (dispatch): ditto
7023
7024 2003-07-26  André Pönitz  <poenitz@gmx.net>
7025
7026         * text.C (setHeightOfRow): restrict scope of temporary variable
7027
7028         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7029           code (never has been used?)
7030
7031 2003-07-27  Asger Alstrup  <alstrup@local>
7032
7033         * text.C (fill): Optimise algorithm to exploit that we can reuse
7034         the LyXFont for many characters.
7035         (setHeightOfRow): Same thing.
7036         (rowBreakPoint): Same thing.
7037
7038 2003-07-26  Asger Alstrup  <alstrup@local>
7039
7040         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7041
7042         * text.C (singleWidth): Spurious font copying in hot-spot
7043         singleWidth avoided. Reorder tests for arabic for efficiency.
7044
7045         * text.C (fill): handle empty paragraphs better.
7046
7047 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7048
7049         * ispell.C:
7050         * encoding.h: add includes
7051
7052         * lyxrc.C: remove reading of bind files
7053
7054         * lyx_main.C (init): setup bindings and menus only if we have a
7055         gui.
7056
7057         * kbmap.C (read): new method. Do the actual reading of bind
7058         files.
7059
7060         * converter.C (dvipdfm_options):
7061         * bufferparams.C:
7062         * lyxrc.C (read):
7063         (output): adapt PAPER_* enums.
7064
7065         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7066
7067         * bufferparams.h: remove paper-related enums from there
7068
7069         * paper.h: New file. A trivial header file to hold paper-related
7070         enums. It should later expand to contain many paper-related
7071         horrors access.
7072
7073         * lyxrc.C: declare extern displayTranslator
7074
7075 2003-07-27  José Matos  <jamatos@fep.up.pt>
7076
7077         * tabular.[Ch] (linuxdoc): add support for tables and figures
7078         (linuxdoc).
7079
7080 2003-07-27  José Matos  <jamatos@fep.up.pt>
7081
7082         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7083         consistency in both functions.
7084         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7085
7086 2003-07-26  Asger Alstrup  <alstrup@local>
7087
7088         * rowpainter.C (paintRows): Change algorithm to work directly on
7089         the insets rather than asking every character in the document
7090         whether its an inset.
7091
7092 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7093
7094         * buffer.C (openFileWrite): factorize some code
7095
7096 2003-07-26  Angus Leeming  <leeming@lyx.org>
7097
7098         * lyx_cb.C:
7099         * lyx_main.[Ch]: replace occurances of system_tempdir with
7100         os::getTmpDir().
7101
7102 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7103
7104         * rename Inset to InsetOld
7105
7106 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7107
7108         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7109         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7110         which I think is a bit clearer. EDIT is gone, since it was
7111         premature optimisation, and broken for mathed anyway.
7112         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7113         with cursor positioning in insets as well (math insets still do not
7114         work, but that's a different story anyway.) It mysteriously
7115         crashes sometimes with undo in the first paragraph, but I'm fairly
7116         confident that this is a compiler bug.
7117
7118 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7119
7120         * paragraph.C (Paragraph): adjust for new clone return type
7121         (operator==): ditto
7122         (copyIntoMinibuffer): ditto
7123
7124 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7125
7126         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7127         by not having a special case, and always doing a full rebreak of
7128         the document after undo.
7129
7130 2003-07-23  Angus Leeming  <leeming@lyx.org>
7131
7132         * factory.C (createInset): InsetExternal::setParams now takes a
7133         Buffer const * arg.
7134
7135 2003-07-23  Angus Leeming  <leeming@lyx.org>
7136
7137         * factory.C (createInset): changed interface to the external and
7138         graphics mailers' string2params functions.
7139
7140 2003-07-23  Angus Leeming  <leeming@lyx.org>
7141
7142         * factory.C (createInset): pass a
7143         Buffer const * parameter to InsetExternalMailer's string2params.
7144
7145 2003-07-22  John Levon  <levon@movementarian.org>
7146
7147         * Thesaurus.h: include the right aiksaurus header
7148
7149 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7150
7151         * MenuBackend.C (expand): check menu shortcuts unconditionally
7152
7153 2003-07-21  Angus Leeming  <leeming@lyx.org>
7154
7155         * factory.C (createInset): pass a
7156         buffer_path parameter to InsetGraphicsMailer's string2params.
7157
7158 2003-07-21  Angus Leeming  <leeming@lyx.org>
7159
7160         * BufferView_pimpl.C (buffer):
7161         * buffer.C (d-tor):
7162         * lyx_main.C (LyX):
7163         * lyxfunc.C (dispatch):
7164         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7165         rather than the grfx shortcut.
7166
7167 2003-07-21  André Pönitz  <poenitz@gmx.net>
7168
7169         * rowpainter.C: remove unused variables
7170
7171         * tabular_funcs.C:
7172         * tabular_funcs.h: move to tabular.C
7173         * Makefile.am: adjust
7174
7175         * tabular.[Ch]: basic optical cleaning
7176
7177         * author.h: pass references, not values
7178
7179 2003-07-18  André Pönitz  <poenitz@gmx.net>
7180
7181         * lyxtext.h:
7182         * metricsinfo.C:
7183         * metricsinfo.h:
7184         * rowpainter.C:
7185         * text.C:
7186         * text2.C:
7187         * text3.C: two-phase drawing for InsetText and InsetTabular
7188         some float -> int changes.
7189
7190 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7191
7192         * lyx_main.C: fix the fix
7193
7194 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7195
7196         * lyx_main.C: fix a crash in batch mode if no files specified
7197         * converter.C: ws
7198
7199 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7200
7201         * format.[Ch] (papersize): moved to BufferParams
7202         * converter.[Ch] (dvips_options): moved to BufferParams
7203         (dvipdfm_options): moved to anon namespace
7204         * bufferparams.[Ch]: added above functions.
7205
7206 2003-07-17  André Pönitz  <poenitz@gmx.net>
7207
7208         * lyxtext.h:
7209         * rowpainter.C:
7210         * text2.C: don't call inset->update() anymore
7211
7212         * metricsinfo.[Ch]: add convenience constructor
7213
7214 2003-07-16  André Pönitz  <poenitz@gmx.net>
7215
7216         * lyxcursor.[Ch]:
7217         * lyxfunc.[Ch]:
7218         * text.C:
7219         * text2.C: replace the LyXCursor::irow_ member with
7220          on-demand computation of the value
7221
7222 2003-07-16  John Levon  <levon@movementarian.org>
7223
7224         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7225
7226 2003-07-15  André Pönitz  <poenitz@gmx.net>
7227
7228         * text.C:
7229         * text2.C: remove no more needed refresh_row
7230
7231 2003-07-15  André Pönitz  <poenitz@gmx.net>
7232
7233         * lyxtext.h:
7234         * rowpainter.C:
7235         * text2.C:
7236         * text3.C: refresh_status tristate -> need_update bool
7237
7238 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7239
7240         * lyxtext.h (init): remove reinit argument (act as if always true)
7241         * text2.C: adjust to that
7242
7243 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7244
7245         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7246         * text3.C: use it to delete selections in some cases
7247         (bugs 441, 673, 702, 954).
7248
7249 2003-07-14  André Pönitz  <poenitz@gmx.net>
7250
7251         * rowpainter.[Ch]: reduce interface
7252
7253 2003-07-14  André Pönitz  <poenitz@gmx.net>
7254
7255         * BufferView_pimpl.C:
7256         * text2.C: adjust after removing unused BufferView * argument
7257
7258 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7259
7260         * text2.C (init): fix a crash fired on resize
7261
7262 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7263
7264         * buffer.[Ch]: added new closing signal
7265         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7266         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7267         BufferView::Pimpl via the closing the signal
7268
7269 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7270
7271         * buffer.[Ch]: take out all bv-related from buffer
7272         * BufferView.C:
7273         * BufferView_pimpl.[Ch]: connect to new signals
7274         * CutAndPaste.C: removed useless asserts
7275         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7276         * lyxvc.[Ch]:
7277         * vc-backend.[Ch]:
7278         * lyxfunc.C: moved view-related funciontality from vc here
7279         * paragraph.C: removed outdated comments
7280         * text.C: ws
7281
7282 2003-07-10  André Pönitz  <poenitz@gmx.net>
7283
7284         * BufferView_pimpl.C:
7285         * tabular.h:
7286         * tabular_funcs.C:
7287         * text.C:
7288         * text2.C: remove InsetText::InnerCache, clean up consequences
7289
7290 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7291
7292         * ispell.C: fix two typos in error messages
7293
7294 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7295
7296         * Extend Note inset to other forms of annotation like Comment
7297         and Greyedout. Right button click gives dialog.
7298
7299         Files modified or added (+):
7300
7301         * insetnote.[Ch]
7302         * FormNote.[Ch]      +
7303         * ControlNote.[Ch]   +
7304         * form_note.fd       +
7305         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7306         frontends/controllers
7307         * xforms/Dialogs.C
7308         * factory.C
7309
7310 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7311
7312         * aspell.C: add missing namespace lyx::support
7313
7314 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7315
7316         * BufferView.[Ch] (newFile): Add
7317         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7318         * LaTeX.[Ch] (message): added this signal and use it
7319         * buffer.[Ch] (busy, message): added these signals and use them
7320         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7321         * converter.C:
7322         * exporter.C:
7323         * format.C:
7324         * importer.C: use buffer signals instead of direct bv calling
7325         * lyx_cb.[Ch] (ShowMessage): removed
7326         * lyx_main.C:
7327         * lyxfunc.C:
7328         * paragraph_funcs.C:
7329         * text2.C: use buffer signals
7330
7331 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * introduce namespace lyx::graphics
7334
7335 2003-07-02  André Pönitz  <poenitz@gmx.net>
7336
7337         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7338
7339 2003-07-01  André Pönitz  <poenitz@gmx.net>
7340
7341         * text.C:
7342         * text2.C:
7343         * text3.C:
7344         * text_funcs.[Ch]:
7345         * textcursor.h:
7346         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7347           text*.C to text_func.C
7348
7349 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7350
7351         * introduce namespace lyx::support
7352
7353 2003-06-30  André Pönitz  <poenitz@gmx.net>
7354
7355         * Chktex.C:
7356         * funcrequest.C:
7357         * lyxtext.h:
7358         * text.C: re-enable --with-included-string
7359
7360 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7361
7362         * textcursor.C: add <config.h>
7363
7364         * text.C (getWord): remove const from word_location arg
7365
7366         * lyxvc.C (getLogFile): fix const type order
7367
7368         * lyxtext.h: remove const from word_location arg, add arg name
7369
7370         * lyxlayout.h: currect type on labeltype.
7371
7372         * importer.C: correct \file
7373
7374         * converter.C (intToFormat): use std:: on ret val, ws changes
7375
7376         * bufferlist.h: correct \file
7377
7378         * buffer.C (makeLinuxDocFile): fix const type order
7379         (makeDocBookFile): ditto
7380         (fillWithBibKeys): use std:: on stdlib args.
7381
7382         * CutAndPaste.C: fix authors.
7383         (availableSelections): use std:: on return vector
7384
7385 2003-06-27  André Pönitz  <poenitz@gmx.net>
7386
7387         * BufferView_pimpl.C:
7388         * bufferview_funcs.C:
7389         * lyxcursor.C:
7390         * lyxcursor.h:
7391         * lyxfunc.C:
7392         * lyxtext.h:
7393         * rowpainter.C:
7394         * text.C:
7395         * text2.C:
7396         * text3.C: remove LyXCursor::row_ member
7397
7398         * lyxtext.h:
7399         * text.C: rename fullRebreak() to partialRebreak() and implement
7400           a fullRebreak() that really bereks fully
7401
7402         * textcursor.h: new struct for cursor-related data
7403
7404 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7405
7406         * lyx_main.C (LyX): get full path of document loaded on the
7407         command line
7408
7409 2003-06-26  André Pönitz  <poenitz@gmx.net>
7410
7411         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7412           remove unused/broken operator>,<,>=.
7413
7414         *       text.C: remove only use of broken operator<= in an Assert().
7415
7416 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7417
7418         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7419         moved errorlist_.clear to showErrorList
7420
7421 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7422
7423         * converter.C (scanLog, runLaTeX):
7424         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7425         move the bv->showErrorList call to the callers
7426         * lyxfunc.C: i.e. here...
7427         * text2.C: and here
7428         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7429         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7430         namespace, the second to...
7431         * buffer_funcs (BufferFormat, parseErrors): added
7432         * errorlist.C (ErrorList(TeXErrors const &)): removed
7433
7434 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7435
7436         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7437
7438 2003-06-24  "Garst R. Reese" <reese@isn.net>
7439
7440         * debug.C: fix typo
7441
7442 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7443
7444         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7445
7446         * version.C.in: change docversion to 1.4
7447
7448 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7449
7450         * buffer.C: fix a bug just introduced
7451
7452 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7453
7454         * buffer.[Ch]: added the parseError signal and use it, removed
7455         sgmlError
7456         * BufferView.[Ch] (addError): moved to ...
7457         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7458         to the Buffer::parseError signal to catch (guess what) parse errors
7459         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7460
7461 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7462
7463         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7464         ability to create a buffer and to return an existing one from
7465         the list. Moved these functions to...
7466         * buffer_funcs.[Ch]: added
7467         * BufferView.[Ch] (loadLyXFile): added
7468         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7469         job removed from bufferlist::loadLyXFile.
7470         * buffer.C (setReadOnly): make it work without view
7471         (i.e added an if (users))
7472
7473 2003-06-19  Angus Leeming  <leeming@lyx.org>
7474
7475         * lfuns.h:
7476         * LyXAction.C (init):
7477         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7478         with LFUN_DIALOG_SHOW <name> <data>.
7479
7480 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7481
7482         * CutAndPaste.C (availableSelections): small compilation fix for
7483         ancient (gcc 2.9x) compilers
7484
7485 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7486
7487         * text3.C (cursorNext): add tmp var
7488
7489         * text2.C (updateCounters): for function calling out of for clause
7490         (replaceSelectionWithString): ditto
7491         (insertStringAsParagraphs): ditto
7492         (getColumnNearX): add tmp var
7493         (setCursorFromCoordinates): add tmp var
7494         (cursorDownParagraph): add tmp var
7495         (deleteEmptyParagraphMechanism): add tmp var
7496
7497         * text.C (insertChar): add tmp var
7498
7499         * rowpainter.C (paintDepthBar): add tmp var
7500
7501         * CutAndPaste.C (availableSelections): potentially check all
7502         paragraphs in a cut to fill the shown strings.
7503
7504 2003-06-18  André Pönitz  <poenitz@gmx.net>
7505
7506         * kbmap.[Ch]: use vector<> instead of list<>
7507
7508 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7509
7510         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7511         pasteSelection with index
7512
7513         * text2.C (pasteSelection): modify, call pasteSelection with index
7514
7515         * paragraph.C (asString): reimplement version with no interval to
7516         call the one with interval.
7517
7518         * lyxtext.h: add index arg to pasteSelection
7519
7520         * MenuBackend.C (MenuItem): handle PasteRecent
7521         (Menu::read::Menutags): add md_pasterecent
7522         (read): handle it
7523         (expandPasteRecent): new function
7524         (expand): use it
7525
7526         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7527
7528         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7529         the limited stack
7530         (availableSelections): new function
7531
7532 2003-06-17  Angus Leeming  <leeming@lyx.org>
7533
7534         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7535
7536 2003-06-17  Angus Leeming  <leeming@lyx.org>
7537
7538         * lfuns.h:
7539         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7540
7541         * lyxfunc.C (dispatch): invoke it.
7542
7543 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7544
7545         * iterators.C (operator++, ParPosition): reintroduce some
7546         const_cast for the benefit of older compilers.
7547
7548 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7549
7550         * text3.C (dispatch): do not modify clipboard when doing
7551         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7552         LFUN_DELETE_SKIP on a selection selection
7553
7554 2003-06-16  André Pönitz  <poenitz@gmx.net>
7555
7556         * BufferView.C:
7557         * buffer.C:
7558         * buffer.h:
7559         * paragraph.C:
7560         * tabular.[Ch]: IU of clone() and getLabelList();
7561
7562 2003-06-13  André Pönitz  <poenitz@gmx.net>
7563
7564         * tabular.h: compactification
7565
7566 2003-06-12  André Pönitz  <poenitz@gmx.net>
7567
7568         * tabular.C:
7569         * tabular.h:
7570         * tabular_funcs.h: some renaming plus whitespace
7571
7572 2003-06-12  André Pönitz  <poenitz@gmx.net>
7573
7574         * BufferView.C:
7575         * BufferView_pimpl.C:
7576         * CutAndPaste.C:
7577         * buffer.C:
7578         * iterators.[Ch]:
7579         * lyxfunc.C:
7580         * text.C:
7581         * toc.C: Return a Paragraph & for ParIterator::operator*()
7582
7583 2003-06-11  John Levon  <levon@movementarian.org>
7584
7585         * lyx_main.C:
7586         * ToolbarBackend.h:
7587         * ToolbarBackend.C: add "Toolbars" section and
7588         put the flags there
7589
7590 2003-06-10  Angus Leeming  <leeming@lyx.org>
7591
7592         * lfuns.h:
7593         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7594
7595         * lyxfunc.C (dispatch): invoke it.
7596
7597 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7598
7599         * main.C: protect <ios> with HAVE_IOS
7600         (main): protect sync_with_stdio with HAVE_IOS
7601
7602 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7603
7604         * text2.C (cutSelection): adjust
7605         (pasteSelection): adjust
7606
7607         * messages.C: handle get of empty string
7608
7609         * main.C (main): use sync_with_stdio(false)
7610
7611         * lyxfunc.C (dispatch): adjust
7612
7613         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7614         (WriteAs): remove unneeded BufferView arg.
7615
7616         * bufferparams.h: use correct types on papersize, papersize2 and
7617         paperpackage.
7618
7619         * bufferparams.C (readToken): adjust for type
7620         (writeLaTeX): add missing cases to switch.
7621
7622         * bufferlist.C (quitWriteBuffer): adjust
7623         (close): adjust
7624
7625         * buffer.C (asciiParagraph): remove some commented code.
7626
7627         * CutAndPaste.C: remove current_view extern variable.
7628         (cutSelection): add BufferParams arg.
7629         (eraseSelection): add BufferParams arg.
7630         (pasteSelection): add Buffer const & arg
7631
7632 2003-06-07  John Levon  <levon@movementarian.org>
7633
7634         * buffer.C:
7635         * paragraph_funcs.C:
7636         * paragraph_pimpl.C:
7637         * text.C:
7638         * text2.C:
7639         * paragraph.h:
7640         * paragraph.C: allow InsetERT to freely space lines,
7641         and some consolidation of code
7642
7643 2003-06-06  José Matos  <jamatos@fep.up.pt>
7644
7645         * buffer.C (makeDocBookFile): fix bug #821
7646
7647 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7648
7649         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7650
7651 2003-06-04  Angus Leeming  <leeming@lyx.org>
7652
7653         * buffer.C: bump format to 224.
7654
7655 2003-06-05  André Pönitz  <poenitz@gmx.net>
7656
7657         * text2.C (redoParagraphs): remove two const_cast<>
7658
7659 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7660
7661         * ParagraphList.h: remove last remnants of NO_STD_LIST
7662
7663 2003-06-03  Angus Leeming  <leeming@lyx.org>
7664
7665         * factory.C (createInset): small change to the way InsetExternal's params
7666         are set.
7667
7668 2003-06-04  André Pönitz  <poenitz@gmx.net>
7669
7670         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7671
7672         * paragraph_pimpl.h:
7673         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7674
7675         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7676
7677         * undo_funcs.C: make some simple cases of undo work again
7678
7679 2003-06-03  John Levon  <levon@movementarian.org>
7680
7681         * ispell.C: HPUX doesn't have sys/select.h
7682         (from Albert Chin)
7683
7684 2003-06-03  John Levon  <levon@movementarian.org>
7685
7686         * CutAndPaste.C: update tabular and include inset
7687         buffer references
7688
7689         * buffer.h:
7690         * paragraph.h:
7691         * paragraph.C: remove owningBuffer(), don't pass Buffer
7692         to clone()
7693
7694         * factory.C: insetGraphicsParams changed
7695
7696 2003-06-02  John Levon  <levon@movementarian.org>
7697
7698         * LyXAction.C:
7699         * factory.C:
7700         * lfuns.h:
7701         * lyxfunc.C:
7702         * text3.C: remove insetparent
7703
7704 2003-06-02  John Levon  <levon@movementarian.org>
7705
7706         * buffer.h:
7707         * buffer.C: fix inset_iterator.end(), move out of line
7708         (bug 1149)
7709
7710 2003-06-01  John Levon  <levon@movementarian.org>
7711
7712         * text3.C: use a proper cut/paste when doing inset
7713         insert (from Jürgen Spitzmüller)
7714
7715 2003-06-01  John Levon  <levon@movementarian.org>
7716
7717         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7718
7719 2003-05-30  André Pönitz  <poenitz@gmx.net>
7720
7721         * rowpainter.C: unify second drawing phase
7722
7723 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7724
7725         * trans_mgr.C: remove one case of current_view
7726
7727         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7728
7729         * paragraph_funcs.h: remove paragraph.h include
7730
7731         * paragraph.h: delete NO_STD_LIST stuff
7732
7733         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7734
7735         * buffer.h: remove paragraph.h include
7736
7737         * ParagraphList.C: delete file
7738
7739         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7740
7741         * toc.C (getTocList): adjust
7742
7743         * paragraph_pimpl.C (validate): adjust
7744
7745         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7746
7747         * paragraph.C (Paragraph): adjust
7748         (getPositionOfInset): use const_iterator, adjust
7749         (bibitem): use const_iterator, adjust
7750         (setInsetOwner): adjust
7751
7752         * iterators.C (operator++): adjust
7753
7754         * InsetList.[Ch]: Replace selfmade iterator with standard
7755         vector::iterator also introduce const_iterator. Remove getPos,
7756         getInset and setInset from InsetTable. Adjust accordingly.
7757
7758         * BufferView.C (lockInset): adjust
7759         (ChangeInsets): adjust
7760
7761         * tabular.[Ch]: delete commented same_id functions
7762
7763 2003-05-28  John Levon  <levon@movementarian.org>
7764
7765         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7766
7767 2003-05-28  André Pönitz  <poenitz@gmx.net>
7768
7769         * metricsinfo.[Ch]: remove 'fullredraw' member
7770
7771 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7772
7773         * lyxtextclass.C (operator): remove caching.
7774
7775 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7776
7777         * text3.C: adjust
7778
7779         * text2.C (cursorBottom): adjust
7780         (setCounter): use ParagraphList::find, adjust
7781
7782         * text.C (workWidth): use ParagraphList::find, adjust
7783
7784         * lyxcursor.C (LyXCursor): adjust
7785
7786         * buffer.C (inset_iterator): adjust
7787
7788         * ParagraphList.h: make iterator(value_type) private, make
7789         ParagraphList a friend of iterator.
7790
7791         * ParagraphList.C (find): new function
7792
7793         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7794
7795 2003-05-27  André Pönitz  <poenitz@gmx.net>
7796
7797         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7798
7799 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7800
7801         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7802
7803 2003-05-26  John Levon  <levon@movementarian.org>
7804
7805         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7806
7807 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7808
7809         * remove same_id from function signatures, adjust.
7810
7811 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7814
7815         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7816
7817         * paragraph.C (Paragraph): get rid of same_ids parameter
7818
7819         * ParagraphList.C (insert): adjust
7820         (push_back): adjust
7821
7822 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7823
7824         * paragraph_funcs.C (breakParagraph): adjust
7825         (breakParagraphConservative): adjust
7826
7827         * buffer.C (readParagraph): adjust
7828
7829         * ParagraphList.C (insert): take a reference instead of a pointer
7830         (insert): adjust
7831
7832         * paragraph.[Ch] (id): new function
7833
7834         * bufferlist.C (newFile): adjust
7835
7836         * ParagraphList.C (ParagraphList): adjust
7837         (assign): adjust
7838         (push_back): take a reference instead of a pointer.
7839
7840         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7841
7842         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7843         instead.
7844
7845         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7846         set else use old code.
7847
7848         * ParagraphList.C: remove all NO_NEXT code and only compile this
7849         code of NO_STD_LIST is set.
7850
7851 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7852
7853         * BufferView_pimpl.C:
7854         * TextCache.C:
7855         * TextCache.h:
7856         * bufferlist.C:
7857         * errorlist.h:
7858         * format.C:
7859         * format.h:
7860         * graph.C:
7861         * lyxfunc.C:
7862         * lyxrc.C:
7863         * graphics/GraphicsConverter.C:
7864         * graphics/PreviewLoader.C: header adjustment
7865
7866 2003-05-23  Angus Leeming  <leeming@lyx.org>
7867
7868         * LaTeXFeatures.[Ch] (useBabel): new method.
7869         * bufferparams.C (writeLaTeX): use it.
7870
7871 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7872
7873         * ParagraphList.h (set): remove unused function.
7874
7875 2003-05-23  André Pönitz  <poenitz@gmx.net>
7876
7877         * BufferView.C:
7878         * BufferView_pimpl.C:
7879         * buffer.C:
7880         * buffer.h:
7881         * lyxfunc.C:
7882         * undo_funcs.C: setUndo reworked
7883
7884         * iterators.[Ch]: add access to topmost ParagraphList
7885
7886         * lyxtext.[Ch] (workWidth): add a const
7887
7888 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7889
7890         * texrow.[Ch] (increasePos): remove function
7891         * exporter.C (export): removed unused var and outdated comment
7892
7893 2003-05-23  Angus Leeming  <leeming@lyx.org>
7894
7895         * latexrunparams.h: rename fragile as moving_arg.
7896         * paragraph.C (simpleTeXOnePar): ditto.
7897         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7898
7899 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7900
7901         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7902         (createUndo): ditto
7903         (textUndoOrRedo): comment out a currently unused var.
7904
7905         * paragraph.h (NO_NEXT): enable NO_NEXT
7906
7907         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7908
7909         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7910
7911         * exporter.C (Export): adjust for removeAutoInsets removal.
7912
7913         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7914
7915         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7916
7917         * BufferView.[Ch] (removeAutoInsets): delete function
7918
7919 2003-05-22  Angus Leeming  <leeming@lyx.org>
7920
7921         * latexrunparams.h: add a free_spacing variable.
7922
7923         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7924         to pass moving_arg, as the data is stored in runparams.fragile.
7925
7926         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7927         to Inset::latexOptional or to simpleTeXOnePar.
7928
7929         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7930         free_spacing arg to Inset::latexOptional.
7931
7932         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7933         free_spacing arg.
7934
7935 2003-05-22  Angus Leeming  <leeming@lyx.org>
7936
7937         * latexrunparams.h: add fragile and use_babel variables.
7938
7939         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7940         * buffer.C (makeLaTeXFile): store this returned value in
7941         runparams.use_babel, thus passing it to the inset::latex methods.
7942
7943         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7944         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7945
7946         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7947         longer has a fragile arg, as it is stored in runparams.fragile.
7948
7949         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7950         moving_arg parameter as the data is stored in runparams.fragile.
7951
7952         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7953         a fragile parameter as the data is stored in runparams.fragile.
7954
7955 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7956
7957         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7958
7959 2003-05-22  Angus Leeming  <leeming@lyx.org>
7960
7961         * latexrunparams.h: add a 'bool nice' which defaults to false.
7962
7963         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7964         now encapsulated within runparams.
7965
7966         * bufferlist.C (updateIncludedTeXfiles):
7967         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7968
7969 2003-05-22  Angus Leeming  <leeming@lyx.org>
7970
7971         * latexrunparams.h: new file containing struct LatexRunParams.
7972         * Makefile.am: add new file.
7973
7974         * LaTeX.[Ch] (c-tor, run):
7975         * buffer.[Ch] (makeLaTeXFile):
7976         * bufferlist.[Ch] (updateIncludedTeXfiles):
7977         * converter.C (convert, scanLog):
7978         * converter.[Ch] (runLaTeX):
7979         * exporter.C (Export):
7980         * paragraph.[Ch] (simpleTeXOnePar):
7981         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7982         * paragraph_funcs.[Ch] (latexParagraphs):
7983         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7984         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7985         pass around a LatexRunParams parameter.
7986
7987 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * paragraph.[Ch]: remove unused constructor
7990
7991         * ParagraphList.C (erase): new function, taking two iterators
7992
7993 2003-05-22  André Pönitz  <poenitz@gmx.net>
7994
7995         * undo_funcs.C: remove duplicated code
7996
7997         * iterator.[Ch]: operator=
7998
7999 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8000
8001         * tabular.C (SetMultiColumn): ws changes
8002
8003         * rowpainter.C (paintFirst): get rid of a ->previous
8004
8005         * lyx_cb.C (getPossibleLabel): parlist simplification
8006
8007         * BufferView.C (ChangeInsets): simplify slightly.
8008
8009 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8010
8011         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8012         * lfuns.h: new LFUN_SPACE
8013         * lyxfunc.C: protected space has a new lfun
8014         * paragraph_funcs.C: read new space insets
8015         * text3.C:
8016         * factory.C: handle new space insets
8017
8018 2003-05-22  André Pönitz  <poenitz@gmx.net>
8019
8020         * BufferView.C:
8021         * BufferView_pimpl.C:
8022         * buffer.[Ch]:
8023         * lyxfunc.C:
8024         * undo_funcs.C: return a ParIterator from getParFromID.
8025
8026         * iterators.[Ch]: add two const's
8027
8028 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8029
8030         * toc.C (getTocList): adjust
8031
8032         * iterators.[Ch]: rework for parlist
8033
8034         * buffer.C (par_iterator_begin): adjust
8035         (par_iterator_end): adjust
8036
8037         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8038
8039         * BufferView.C (removeAutoInsets): adjust
8040         (ChangeInsets): adjust
8041
8042 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8043
8044         * text.C (top_y): fix bug 1110
8045
8046 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8047
8048         * errorlist.[Ch]: added
8049         * buffer.C:
8050         * BufferView.[Ch]:
8051         * BufferView_pimpl.C:
8052         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8053         instead
8054
8055 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8056
8057         * Makefile.am: ensure that lyx is relinked upon changes to the
8058         various "convenience" libs.
8059
8060 2003-05-20  Angus Leeming  <leeming@lyx.org>
8061
8062         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8063         files are compiled in alphabetical order again.
8064
8065         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8066
8067 2003-05-19  Angus Leeming  <leeming@lyx.org>
8068
8069         * gettext.[Ch]: remove "char const * _(char const *)".
8070
8071 2003-05-19  André Pönitz  <poenitz@gmx.net>
8072
8073         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8074
8075         * Makefile.am:
8076         * BufferView.C:
8077         * DepTable.h:
8078         * LaTeXFeatures.C:
8079         * buffer.C:
8080         * lyxfont.C:
8081         * lyxlex.h:
8082         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8083
8084 2003-05-19  André Pönitz  <poenitz@gmx.net>
8085
8086         * buffer.C:
8087         * lyxlayout.[Ch]:
8088         * lyxtextclass.[Ch]:
8089         * paragraph.C:
8090         * paragraph_funcs.[Ch]:
8091         * text2.C:
8092         * text3.C: more insetenv work
8093
8094 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8095
8096         * ParagraphParameters.C (params2string): small bug fixed
8097
8098 2003-05-16  André Pönitz  <poenitz@gmx.net>
8099
8100         * debug.C:
8101         * bufferview_funcs.C: patch from Kornel Benko to prevent
8102           crash when _(...) is called twice in a statement
8103
8104 2003-05-16  André Pönitz  <poenitz@gmx.net>
8105
8106         * BufferView.C:
8107         * lyxfunc.C:
8108         * text.C:
8109         * text2.C:
8110         * text3.C:
8111         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8112
8113 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8114
8115         * lyx_main.C (init): remove spurious static_cast
8116
8117 2003-05-14  André Pönitz  <poenitz@gmx.net>
8118
8119         * BufferView.C: fix format string
8120
8121 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8122
8123         * BufferView.[Ch] (insertErrors): removed
8124         * BufferView.[Ch] (showErrorList): added
8125         * buffer.C (runChkTeX):
8126         * converter.C (scanLog): call showErrorList instead of inserterrors
8127
8128 2003-05-13  André Pönitz  <poenitz@gmx.net>
8129
8130         * BufferView_pimpl.C:
8131         * buffer.C:
8132         * bufferview_func.C:
8133         * MenuBackend.C:
8134         * lyxfunc.C:
8135         * lyxrc.C:
8136         * tex-accent.C:
8137         * text3.C:
8138         * toc.C:
8139         * tabular_funcs.h: tostr() from its own header
8140
8141         * ParagraphParameters.C:
8142         * ToolbarBackend.C:
8143         * bufferparams.C:
8144         * format.C:
8145         * lyxlex_pimpl.C:
8146         * text3.C: STRCONV()
8147
8148 2003-05-12  André Pönitz  <poenitz@gmx.net>
8149
8150         * BufferView.C:
8151         * BufferView_pimpl.C:
8152         * CutAndPaste.C:
8153         * LaTeX.C:
8154         * LaTeXFeatures.C:
8155         * ParagraphParameters.C:
8156         * buffer.C:
8157         * bufferlist.C:
8158         * bufferparams.C:
8159         * bufferview_funcs.C:
8160         * converter.C:
8161         * counters.C:
8162         * debug.C:
8163         * exporter.C:
8164         * format.C:
8165         * importer.C:
8166         * lyx_cb.C:
8167         * lyx_main.C:
8168         * lyxfont.C:
8169         * lyxfunc.C:
8170         * lyxvc.C:
8171         * paragraph.C:
8172         * paragraph_funcs.C:
8173         * tabular.C:
8174         * tabular_funcs.C:
8175         * text2.C:
8176         * text3.C:  boost::format -> bformat  all over the place
8177
8178
8179 2003-05-09  André Pönitz  <poenitz@gmx.net>
8180
8181         * LColor.[Ch]: Pimpl the #include <map> away
8182
8183 2003-05-09  John Levon  <levon@movementarian.org>
8184
8185         * bufferlist.C: never remove emergency saves
8186
8187 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8188
8189         * Makefile.am: better lib building
8190
8191 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8192
8193         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8194         instead.
8195         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8196         (simpleTeXSpecialChars): adjust
8197         (simpleTeXSpecialChars): adjust
8198         * paragraph.C (simpleTeXOnePar): adjust
8199         * buffer.C (makeLaTeXFile): adjust
8200
8201         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8202
8203         * text2.C (changeDepth): parlist cleanup
8204         (getColumnNearX): ditto
8205
8206         * rowpainter.C (getLabelFont): parlist cleanup
8207
8208         * bufferlist.C (newFile): parlist cleanup
8209
8210         * CutAndPaste.C (eraseSelection): parlist cleanup
8211
8212         * BufferView_pimpl.C (trackChanges): parlist cleanup
8213         (dispatch): ditto
8214
8215         * BufferView.C (lockInset): parlist cleanup.
8216         (ChangeInsets): ditto
8217
8218 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8219
8220         * CutAndPaste.h: Update file header.
8221
8222         * CutAndPaste.C: Update file header.
8223         Store the parts cut out of the Document in a limited_stack.
8224         (copySelection): adjust
8225         (pasteSelection): new function, takes the index in the limited stack.
8226         (nrOfParagraphs): adjust
8227         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8228         simplify error inset insertion.
8229         (checkPastePossible): adjust
8230
8231 2003-05-06  John Levon  <levon@movementarian.org>
8232
8233         * text2.C: don't cast wrap inset to float
8234
8235 2003-05-05  André Pönitz  <poenitz@gmx.net>
8236
8237         * iterator.C:
8238         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8239
8240         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8241           few naked Paragraph *.
8242
8243 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8244
8245         * bufferparams.C: Output warning if a document with missing
8246         TeX document class is loaded
8247         * exporter.C: Disable TeX exports if the document class is missing
8248         * lyxtextclass.C:
8249         * lyxtextclass.h:
8250         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8251         isTeXClassAvailable()
8252
8253 2003-05-03  John Levon  <levon@movementarian.org>
8254
8255         * BufferView.h:
8256         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8257         explicit cursor show/hide
8258
8259         * BufferView_pimpl.h:
8260         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8261         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8262
8263         * lyxfunc.C: hide cursor before dispatching.
8264
8265         * lyx_cb.C:
8266         * lyxfind.C:
8267         * text.C:
8268         * text3.C: remove explicit cursor hides
8269
8270 2003-05-02  André Pönitz  <poenitz@gmx.net>
8271
8272         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8273
8274         * undo_funcs.C:
8275         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8276           linked lists
8277
8278         * text2.C: tiny whitespace
8279
8280 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * undo_funcs.C: almost only ws changes.
8283
8284         * ParagraphList.C (splice): just return if pl is empty.
8285
8286 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8287
8288         * ParagraphList.C (splice): new function.
8289
8290         * CutAndPaste.C (pasteSelection): use it
8291
8292 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8293
8294         * CutAndPaste.C (pasteSelection): remove the last next and
8295         previous from this file.
8296
8297 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8298
8299         * CutAndPaste.C (pasteSelection): more clean up, user proper
8300         ParagraphList functions for pasteing.
8301
8302         * ParagraphList.C (insert): new function, three arg insert
8303
8304 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8305
8306         * ParagraphList.C (insert): new function, three arg insert
8307
8308         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8309         not on paragraphs.
8310
8311 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8312
8313         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8314
8315 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8316
8317         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8318
8319 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8320
8321         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8322         (copySelection): clean up a bit.
8323         (pasteSelection): use make_pair
8324
8325         * ParagraphList.C (ParagraphList): implement copy constructor
8326         (operator=): implement, base on copy constructor.
8327         (assign): new func
8328
8329         * paragraph.C (erase): return a bool
8330
8331         * paragraph_pimpl.C (erasePos): remove function, move contents...
8332         (erase): ... here. Return a bool.
8333         (erase): call erase instead of erasePos.
8334
8335 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8336
8337         * ParagraphList.h: define PitPosPair
8338         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8339         ParagraphList, fix a bug on pasting multiple pars
8340         * text2.C: change interface to C&P
8341
8342 2003-04-30  André Pönitz  <poenitz@gmx.net>
8343
8344         * undo_func.C: revert part of yesterday's patch 2
8345
8346 2003-04-30  John Levon  <levon@movementarian.org>
8347
8348         * LColor.C: s/tabular/table/
8349
8350 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8351
8352         * text3.C (dispatch): do not convert iterator -> pointer
8353         * undo_funcs.C (setCursorParUndo): ditto
8354         * text_funcs.C (transposeChars): ditto
8355
8356         * text2.C (setLayout): ws changes only
8357
8358         * text.C (breakParagraph): do not convert iterator -> pointer
8359         (insertChar): ditto
8360         (acceptChange): ditto
8361         (rejectChange): ditto
8362         (changeCase): ditto
8363         (Delete): ditto
8364         (backspace): ditto
8365
8366         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8367         pointer
8368
8369 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8370
8371         * text3.C (gotoInset): YABG (yet another bad getChar)
8372
8373 2003-04-29  André Pönitz  <poenitz@gmx.net>
8374
8375         * paragraph.h: make operator= private unimplemented as long as
8376           it is unusable
8377
8378         * ParagraphList.C: whitespace
8379
8380         * paragraph.[Ch]:
8381         * paragraph_pimpl.[Ch]:
8382         * paragraph_funcs.C:
8383         * CutAndPaste.C:
8384         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8385
8386         * text2.C:
8387           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8388
8389 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8390
8391         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8392         * paragraph.[Ch] (erase):
8393         * paragraph_pimpl.[Ch] (erase): change return type and value
8394         * text2.C (cutSelection): some rework
8395
8396 2003-04-28  John Levon  <levon@movementarian.org>
8397
8398         * bufferlist.C: changes for unsaved changes dialog
8399
8400 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8401
8402         * bufferlist.C (newFile): set language (messages_) for new
8403         documents also.
8404
8405         * buffer.C (readFile): ws changes only.
8406
8407 2003-04-28  André Pönitz  <poenitz@gmx.net>
8408
8409         * undo_funcs.C:
8410         * lyxfunc.C:
8411         * buffer.[Ch]:
8412         * BufferView_pimpl.C:
8413         * BufferView.C: getParFromID related ParagraphList::iterator changes
8414
8415 2003-04-28  André Pönitz  <poenitz@gmx.net>
8416
8417         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8418           Changes
8419
8420 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8421
8422         * messages.C: remove one more localedir class variable.
8423
8424 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * messages.C (getLocaleDir): singleton generation function
8427         (Pimpl): use it.
8428         (Messages): add a default constructor.
8429
8430         * main.C (main): do not setup localedir here, do not call
8431         gettext_init.
8432
8433         * gettext.C (_): use it.
8434         (gettext_init): delete funciton
8435
8436 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8437
8438         * gettext.C (getLyXMessages): new singleton generating function.
8439
8440         * buffer.C (updateDocLang): adjust
8441
8442         * Makefile.am (messages.o): add target
8443         (main.o): remove target
8444
8445 2003-04-27  John Levon  <levon@movementarian.org>
8446
8447         * bufferlist.C:
8448         * lyx_cb.C:
8449         * lyxfunc.C:
8450         * lyxvc.C: specify cancel button in Alert::prompt
8451
8452 2003-04-26  John Levon  <levon@movementarian.org>
8453
8454         * text3.C:
8455         * lyxfunc.C:
8456         * lfuns.h:
8457         * LyXAction.C: add LFUN_INSET_SETTINGS
8458
8459         * lyxfunc.C: don't enable tabular-feature when there's
8460         just any locking inset
8461
8462 2003-04-26  John Levon  <levon@movementarian.org>
8463
8464         * bufferlist.C: re-add Cancel to buffer close question
8465
8466         * lyxfunc.C: fix import UI a bit
8467
8468 2003-04-25  John Levon  <levon@movementarian.org>
8469
8470         * gettext.C: remove the broken asserts for now
8471
8472 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8473
8474         * messages.C: make case where setlocale cannot comply work better.
8475
8476         * buffer.C (updateDocLang): new function
8477         (changeLanguage): use it
8478         (readFile): use it
8479
8480         * text2.C (setCounter): use B_ a bit.
8481
8482         * lyxlayout.C (Read): be sure to trim the label strings.
8483
8484         * messages.C (Messages): fix typo in comment
8485
8486         * buffer.C (readFile): set message_ after file is loaded.
8487         (makeDocBookFile): remove double return
8488         (changeLanguage): reset message_ upon language change.
8489         (B_): new func, use this to get translated buffer strings.
8490
8491         * main.C: add myself and Jean Marc as authors.
8492
8493 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8494
8495         * messages.[hC]: pimplify Messages, and three different pimpls to be
8496         used in different circumstances.
8497
8498         * gettext.[Ch]: change for use with new message code.
8499
8500 2003-04-24 André Pönitz <poenitz@gmx.net>
8501
8502         * factory.C: support for eqref
8503
8504 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8505
8506         * messages.[Ch]: add missing char
8507
8508         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8509
8510         * messages.[Ch]: New files
8511
8512 2003-04-18  John Levon  <levon@movementarian.org>
8513
8514         * BufferView.h:
8515         * BufferView.C:
8516         * BufferView_pimpl.C:
8517         * lfuns.h:
8518         * LyXAction.C:
8519         * lyxtext.h:
8520         * text2.C: remove layout-copy/paste (bug 778)
8521
8522 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8523
8524         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8525
8526 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8527
8528         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8529         if they succeed. Act accordingly.
8530
8531 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8532
8533         * text2.C (setCharFont): adjust
8534         (setCounter): adjust
8535         (insertStringAsLines): adjust
8536
8537         * text.C (leftMargin): adjust
8538         (setHeightOfRow): adjust
8539
8540         * rowpainter.C (paintFirst): adjust
8541         (paintLast): adjust
8542
8543         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8544         (outerHook): ditto
8545         (isFirstInSequence): ditto
8546         (getEndLabel): ditto
8547         (outerFont): adjust
8548
8549         * paragraph.C (getParLanguage): comment out some hard stuff.
8550
8551         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8552         (sgmlError): ditto
8553         (simpleDocBookOnePar): ditto
8554         (makeDocBookFile): use ParagraphList::iterator
8555
8556         * CutAndPaste.C (pasteSelection): adjust
8557
8558 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8559
8560         * text2.C (getFont): adjust
8561         (getLayoutFont): adjust
8562         (getLabelFont): adjust
8563
8564         * paragraph_funcs.C (TeXOnePar): adjust
8565
8566         * buffer.C (simpleLinuxDocOnePar): adjust
8567         (simpleDocBookOnePar): adjust
8568
8569         * CutAndPaste.C (pasteSelection): adjust
8570
8571         * BufferView.C (getEncoding): adjust
8572
8573         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8574
8575 2003-04-16  John Levon  <levon@movementarian.org>
8576
8577         * lyxfind.C: use parlist stuff for search/changes
8578
8579 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8580
8581         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8582
8583         * text2.C (deleteEmptyParagraphMechanism): adjust
8584
8585         * text2.[Ch] (ownerParagraph): delete func (both of them
8586
8587 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8588
8589         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8590
8591 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8592
8593         * ParagraphList.C: prepare for NO_NEXT
8594
8595 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8596
8597         * text2.C (getFont): adjust
8598         (getLayoutFont): adjust
8599         (getLabelFont): adjust
8600
8601         * paragraph.C (getFont): adjust
8602         (getLabelFont): adjust
8603         (getLayoutFont): adjust
8604
8605         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8606
8607 2003-04-15  John Levon  <levon@movementarian.org>
8608
8609         From Angus Leeming
8610
8611         * lyx_main.C: handle Include in .ui files
8612
8613 2003-04-15  John Levon  <levon@movementarian.org>
8614
8615         * MenuBackend.C: make the doc files length shorter
8616
8617         * ToolbarBackend.h:
8618         * ToolbarBackend.C: handle toolbar placement flags,
8619         Minibuffer
8620
8621 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8622
8623         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8624         adjust
8625
8626         * paragraph_funcs.C (TeXOnePar): adjust
8627
8628         * paragraph.C (getLabelFont): add outerfont arg, adjust
8629         (getLayoutFont): ditto
8630         (simpleTeXOnePar): adjust
8631
8632         * paragraph_pimpl.C (realizeFont): delete func
8633
8634 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8635
8636         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8637         row argument, constify cur argument.
8638
8639 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8640
8641         * text2.C (getFont): adjust
8642         (getLayoutFont): adjust
8643         (getLabelFont): adjust
8644
8645         * paragraph_funcs.C (TeXOnePar): adjust
8646         (outerFont): new func...
8647         (realizeFont): ...moved out from here, changed this to facilitate
8648         transition
8649
8650         * paragraph.C (getFont): take outerfont as arg, adjust
8651         (simpleTeXOnePar): add outerfont arg, adjust
8652
8653         * buffer.C (simpleLinuxDocOnePar): adjust
8654         (simpleDocBookOnePar): adjust
8655
8656         * CutAndPaste.C (pasteSelection): adjust
8657
8658         * BufferView.C (getEncoding): adjust
8659
8660 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8661
8662         * text2.C (setCharFont): adjust
8663         (setCounter): adjust
8664
8665         * text.C (leftMargin): adjust
8666         (setHeightOfRow): adjust
8667
8668         * rowpainter.C (paintFirst): adjust
8669         (paintLast): adjust
8670
8671         * paragraph_pimpl.C (realizeFont): adjust
8672
8673         * paragraph.C (isFirstInSequence): move from here...
8674         * paragraph_funcs.C (isFirstInSequence): ...to here
8675
8676         * paragraph.C (outerHook): move from here...
8677         * paragraph_funcs.C (outerHook): ...to here
8678
8679         * paragraph.C (depthHook): move from here...
8680         * paragraph_funcs.C (depthHook): ...to here
8681
8682         * paragraph.C (getEndLabel): move from here...
8683         * paragraph_funcs.C (getEndLabel): ...to here
8684
8685         * text2.C (realizeFont): move from here...
8686         * paragraph_funcs.C (realizeFont): ...to here
8687
8688 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8689
8690         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8691
8692 2003-04-14  Angus Leeming  <leeming@lyx.org>
8693
8694         * LColor.[Ch]: scrap LColor mathcursor.
8695
8696 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8697
8698         * lyxlex.[Ch] (text): delete function
8699         * trans.C (Load): adjust
8700         * paragraph_funcs.C (readParToken): adjust
8701
8702 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8703
8704         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8705         vector<char> instead of a char[].
8706
8707         * lyxlex_pimpl.C (getString): adjust
8708         (next): adjust
8709         (lex): use getString
8710         (eatLine): adjust
8711         (nextToken): adjust
8712
8713         * lyxlex.C (text): use pimpl_->getString()
8714         (getBool): ditto
8715         (findToken): ditto
8716
8717 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8718
8719         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8720         (makeFontEntriesLayoutSpecific): temp var for par.size()
8721         (setLayout): temp var for ownerParagraphs().end()
8722         (fullRebreak): temp var for rows().end()
8723         (selectionAsString): temp var for boost::next(startpit), realize
8724         that the while really is a regular for loop.
8725         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8726         setCursor in one place.
8727         (setParagraph): temp vr for ownerParagraphs().end()
8728         (updateCounters): make the while loop a for loop
8729         (cutSelection): temp var for ownerParagraphs().end()
8730         (updateInset): make the do {} while() a regular for loop
8731         (getCursorX): use temp vars
8732         (setCurrentFont): use temp vars
8733         (getColumnNearX): use temp vars
8734
8735 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8736
8737         * text.C (transformChar): use temp var for getChar
8738         (computeBidiTables): use temp var for row->par()
8739         (fill): move temp vars for row->par() and pit->layout() earlier in
8740         the function.
8741         (labelFill): use temp var for row->par()
8742         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8743         asc and desc, realize that pit never changes and that firstpit is
8744         just a duplicate and not needed. Exchange rit->par() with pit in a
8745         lot of places.
8746         (breakAgain): use a temp var for boost::next(rit)
8747         (breakAgainOneRow): ditto
8748         (breakParagraph): use a temp var for rows().begin()
8749         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8750         (cursorRightOneWord): use temp var for cursor.par() and
8751         cursor.pos(), remove usage of tmpcursor.
8752         (cursorLeftOneWord): use temp var for cursor.par() and
8753         cursor.pos() only set cur at end of function.
8754
8755 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8756
8757         * text.C, text2.C: exchange all usage of Paragraph::next with
8758         boost::next(ParagraphList::iterator)
8759
8760         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8761
8762         * text2.C (cursorTop): simplify implementation
8763         (cursorBottom): ditto
8764         (setParagraph): use ParagraphList::iterator
8765         (setCurrentFont): adjust
8766         (getColumnNearX): adjust
8767         (cursorRight): adjust
8768         (cursorLeft): remove usage of Paragraph::previous
8769         (cursorUpParagraph): ditto
8770         (deleteEmptyParagraphMechanism): slight cleanup
8771
8772         * text.C (isBoundary): take a Paragraph const & instead of a
8773         pointer as arg.
8774         (addressBreakPoint): ditto
8775         (leftMargin): remove usage of Paragraph::previous.
8776         (setHeightOfRow): ditto
8777         (cursorLeftOneWord): ditto
8778         (selectNextWordToSpellcheck): ditto
8779         (Delete): ditto
8780         (backspace): ditto
8781         (breakParagraph): remove one usage of Paragraph::next
8782         (redoParagraph): ditto
8783         (acceptChange): ditto
8784         (insertChar): adjust
8785         (rowBreakPoint): adjust
8786
8787         * bufferview_funcs.C (toggleAndShow): adjust
8788
8789 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8790
8791         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8792         methods to access it.
8793         * lyxtext.h:
8794         * text.C: Added updateRowPositions to compute all row positions.
8795         Make top_y and getRowNearY() to use the cached y position
8796
8797 2003-04-11  John Levon  <levon@movementarian.org>
8798
8799         * text.C (rowBreakPoint): reintroduce the labelEnd
8800         checks, code copied from the row fill stuff. Deep voodoo.
8801
8802         * text.C (fill): add a comment and debugging for the
8803         next poor soul.
8804
8805 2003-04-11  John Levon  <levon@movementarian.org>
8806
8807         * text.C: make sure fullrow insets get wrapped to the next line,
8808         even when they're in a manual label
8809
8810 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8811
8812         * text2.C (insertParagraph): make it take ParagraphList::iterator
8813         as arg.
8814         (setLayout): make it return ParagraphList::iterator
8815         (redoParagraphs): ditto
8816         (setCounter): ditto
8817         (checkParagraph): ditto
8818
8819         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8820
8821         * text2.C: adjust several funcs.
8822         (realizeFont): take a ParagraphList::iterator as arg.
8823         (getLayoutFont): ditto
8824         (getLabelFont): ditto
8825         (setCharFont): ditto
8826
8827         * text.C: adjust several funcs.
8828
8829 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8830
8831         * text.C (selectNextWordToSpellcheck): don't accidentally
8832         skip insets
8833
8834 2003-04-10  John Levon  <levon@movementarian.org>
8835
8836         * ToolbarBackend.C (getIcon): special handling for
8837         LFUN_MATH_DELIM
8838
8839 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8840
8841         * text2.C (cursorRight): a getChar assert fixed
8842
8843 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8844
8845         * text2.C (getFont): change to take a ParagraphList::iterator
8846         instead of Paragraph*
8847         Adjust several functions.
8848
8849         * text.C (transformChar): change to take a ParagraphList::iterator
8850         instead of Paragraph*
8851         (singleWidth): ditto
8852         Adjust several functions.
8853
8854         * rowpainter.C: adjust several functions
8855         * rowpainter.h:store a ParagraphList::iterator and not a
8856         Paragraph&.
8857
8858
8859 2003-04-09  John Levon  <levon@movementarian.org>
8860
8861         * lyxfunc.C:
8862         * lfuns.h:
8863         * LyXAction.h:
8864         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8865         and the "help" bits as well
8866
8867 2003-04-09  John Levon  <levon@movementarian.org>
8868
8869         * ToolbarBackend.h:
8870         * ToolbarBackend.C: allow multiple toolbars
8871
8872 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8873
8874         * undo_funcs.C (setCursorParUndo): adjust
8875
8876         * text_funcs.C (transposeChars): adjust
8877
8878         * text3.C (gotoNextInset): adjust
8879         (dispatch): adjust
8880
8881         * text2.C (setLayout): adjust
8882         (changeDepth): adjust
8883         (setFont): adjust
8884         (redoParagraphs): adjust
8885         (selectionAsString): adjust
8886         (setParagraph): adjust
8887         (insertInset): adjust
8888         (cutSelection): adjust
8889         (copySelection): adjust
8890         (pasteSelection): adjust
8891         (insertStringAsLines): adjust
8892         (updateInset): adjust
8893         (setCursor): change to take a ParagraphList::iterator parameter
8894         (setCursorIntern): change to take a ParagraphList::iterator parameter
8895         (setCurrentFont): adjust
8896         (cursorLeft): adjust
8897         (cursorRight): adjust
8898         (deleteEmptyParagraphMechanism): adjust
8899
8900         * text.C (breakParagraph): adjust
8901         (insertChar): adjust
8902         (acceptChange): adjust
8903         (rejectChange): adjust
8904         (selectNextWordToSpellcheck): adjust
8905         (changeCase): adjust
8906         (Delete): adjust
8907         (backspace): adjust
8908
8909         * lyxfind.C (SearchForward): adjust
8910         (SearchBackward): adjust
8911         (nextChange): adjust
8912
8913         * lyxcursor.C (par): adjust
8914
8915         * lyxcursor.h: store a ParagraphList::iterator instead of a
8916         Paragraph*
8917
8918         * lyx_cb.C (getPossibleLabel): adjust
8919
8920         * bufferview_funcs.C (toggleAndShow): adjust
8921
8922         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8923         (dispatch): adjust
8924
8925         * BufferView.C (removeAutoInsets): adjust
8926         (lockedInsetStoreUndo): adjust
8927
8928 2003-04-09  John Levon  <levon@movementarian.org>
8929
8930         * ToolbarBackend.C: try icon without argument
8931         if with argument fails
8932
8933 2003-04-08  John Levon  <levon@movementarian.org>
8934
8935         * ToolbarBackend.h:
8936         * ToolbarBackend.C: add getIcon(), handle tooltip,
8937         and change from "Icon" to "Item".
8938
8939 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8940
8941         * BufferView.C (lockInset): another bad getchar crunched
8942
8943 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8944
8945         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8946         again)
8947
8948 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8949
8950         * lyxfind.C (searchForward, searchBackwards): bug 782
8951
8952 2003-04-07  John Levon  <levon@movementarian.org>
8953
8954         * paragraph.C: remove dead comment
8955
8956         * text.C: remove troublesome depth-fiddling code
8957         in leftMargin() and rightMargin() (bug 1017)
8958
8959         * text.C: fix breaking of rows in nested lists
8960         (bug 1004)
8961
8962         * text2.C (updateCounters): fix up depth values
8963         (bug 1013)
8964
8965 2003-04-07  John Levon  <levon@movementarian.org>
8966
8967         * BufferView_pimpl.C: clear message when doc finishes resizing,
8968         and after a mouse event
8969
8970         * lyxfunc.C: clear message after exiting inset
8971
8972 2003-04-07  John Levon  <levon@movementarian.org>
8973
8974         * bufferview_funcs.C: show math status not outside
8975         status in the statusbar
8976
8977 2003-04-07  John Levon  <levon@movementarian.org>
8978
8979         * lyxfunc.C: note status changed after a depth change
8980
8981 2003-04-04  Angus Leeming  <leeming@lyx.org>
8982
8983         * LaTeX.h: move AuxInfo operator==, != out of line.
8984         Remove LaTeX virtual destructor; nothing derives from it.
8985         Move operator()() out of public area and rename it startscript().
8986         Change protected for private.
8987
8988 2003-04-04  Angus Leeming  <leeming@lyx.org>
8989
8990         * lyxfunc.C:
8991         * text2.C: remove unneeded #includes.
8992
8993 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8994
8995         * text2.C (dEPM): fix the heigth of the next row
8996
8997 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8998
8999         * text.C: squashed an invalid getChar requester + some ws changes
9000
9001 2003-04-03  John Levon  <levon@movementarian.org>
9002
9003         * bufferview_funcs.h:
9004         * bufferview_funcs.C:
9005         * lyxfunc.C:
9006         * lyxtext.h:
9007         * text2.C: make getStatus work for the env depth lfuns
9008
9009 2003-04-03  John Levon  <levon@movementarian.org>
9010
9011         * bufferview_funcs.h:
9012         * bufferview_funcs.C:
9013         * lyxfunc.C:
9014         * lyxtext.h:
9015         * text2.C: parlistize decDepth(), by merging it with incDepth()
9016
9017 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9018
9019         * lyxrow.h: store a ParagraphList::iterator instead of a
9020         Paragraph* and adjust other class functions to suit.
9021
9022         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9023         above.
9024
9025 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9026
9027         * text2.C (setCursor): do not anchor to cursor row for the time being
9028
9029 2003-04-02  John Levon  <levon@movementarian.org>
9030
9031         * LyXAction.C:
9032         * lfuns.h:
9033         * lyx_main.C:
9034         * lyxtext.h:
9035         * text.C:
9036         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9037
9038 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9039
9040         * paragraph.h: make ParagraphList and ParagraphList::iterator
9041         friends of Paragraph.
9042
9043         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9044
9045         * ParagraphList.C: Use the private next_ and previous_ from
9046         Paragraph.
9047
9048 2003-04-01  John Levon  <levon@movementarian.org>
9049
9050         * ToolbarBackend.h:
9051         * ToolbarBackend.C:
9052         * Makefile.am: rename, remove defaults gunk
9053
9054         * MenuBackend.h:
9055         * MenuBackend.C: remove defaults gunk
9056
9057         * Languages.h:
9058         * Languages.C: remove defaults gunk
9059
9060         * lyx_main.h:
9061         * lyx_main.C: error out if files couldn't be found.
9062
9063 2003-04-02  John Levon  <levon@movementarian.org>
9064
9065         * text2.C: make incDepth() use parlist
9066
9067 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9068
9069         * undo_funcs.C (firstUndoParagraph): adjust
9070
9071         * text3.C (gotoInset): adjust
9072         (dispatch): adjust, and rewrite loop.
9073
9074         * text2.C (init): adjust, and rewrite loop.
9075         (redoParagraphs): adjust
9076         (updateInset): adjust, and rewrite loop.
9077         (deleteEmptyParagraphMechanism): adjust
9078
9079         * tabular.C (LyXTabular): adjust
9080         (SetMultiColumn): adjust
9081         (TeXRow): adjust
9082
9083         * lyxtext.[Ch] (ownerParagraph): delete function
9084         (ownerParagraphs): new function returns a ParagraphList.
9085
9086         * BufferView.C (removeAutoInsets): adjust
9087         (insertErrors): adjust
9088         (setCursorFromRow): adjust
9089
9090 2003-04-01  Angus Leeming  <leeming@lyx.org>
9091
9092         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9093         in the frontends.
9094
9095 2003-04-02  John Levon  <levon@movementarian.org>
9096
9097         * lyxtext.h:
9098         * text.C:
9099         * Makefile.am:
9100         * text_funcs.h:
9101         * text_funcs.C: make transposeChars a free function
9102
9103         * lyxrow_funcs.C: remove wrong comment
9104
9105 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9106
9107         * lyxtext.h: adjust
9108         * rowpainter.C: adjust
9109         * text.C: adjust
9110         * text2.C: adjust
9111         * text3.C: adjust
9112
9113         * lyxrow_funcs. [Ch]: new files
9114
9115         * lyxrow.[Ch]: remove next and previous pointers
9116         (next,previous): remove accessor functions
9117         (isParEnd): move to lyxrow_funcs
9118         (lastPos): move to lyxrow_funcs
9119         (nextRowIsAllInset): move to lyxrow_funcs
9120         (lastPrintablePos): move to lyxrow_funcs
9121         (numberOfSeparators): move to lyxrow_funcs
9122         (numberOfHfills): move to lyxrow_funcs
9123         (numberOfLabelHfills): move to lyxrow_funcs
9124         (hfillExpansion): move to lyxrow_funcs
9125
9126         * lyxfunc.C: adjust
9127
9128         * bufferview_funcs.C (toggleAndShow): adjust
9129
9130         * RowList.h: Remove class RowList from file leave just a
9131         std::list<Row>.
9132
9133         * RowList.C: delete file
9134
9135         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9136         and lyxrow_funcs.h
9137
9138 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9139
9140         * text3.C (cursorPrevious): adjust
9141         (cursorNext): adjust
9142         (dispatch): adjust
9143
9144         * text2.C (redoHeightOfParagraph): adjust
9145         (redoDrawingOfParagraph): adjust
9146         (setCursor): adjust
9147
9148         * text.C (breakParagraph): adjust
9149         (insertChar): adjust
9150         (backspace): adjust
9151
9152         * rowpainter.C (RowPainter): adjust
9153         (leftMargin): simplify and adjust
9154         (most rowpainter functions): adjust.
9155
9156         * rowpainter.h: store the row as RowList::iterator not as Row*
9157
9158         * lyxcursor.C (row): taka RowList::iterator as arg
9159         (irow): ditto
9160
9161         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9162         of Row*.
9163
9164 2003-04-01  Angus Leeming  <leeming@lyx.org>
9165
9166         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9167         stuff like bool Bool.
9168
9169 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9170
9171         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9172         rewrite a loop
9173
9174 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9175
9176         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9177         RowList::iterator.
9178
9179         * lyxtext.h (rows): drop one version and leve a const variant that
9180         returns a RowList::iterator.
9181
9182 2003-03-31  Angus Leeming  <leeming@lyx.org>
9183
9184         * text.C (fill): ensure that the signature is the same as that in the
9185         header file.
9186
9187 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9188
9189         * text2.C (redoParagraphs): adjust
9190         (updateCounters): adjust
9191         (checkParagraph): adjust
9192         (getColumnNearX): adjust and reformat a bit.
9193
9194         * text.C (top_y): adjust
9195         (workWidth): adjust
9196         (leftMargin): adjust
9197         (prepareToPrint): adjust
9198         (getRow): adjust
9199         (getRowNearY): adjust
9200
9201         * lyxtext.h: make rowlist_ mutable.
9202
9203         * RowList.h: add const_iterator
9204         * RowList.C: adjust for RowList::const_iterator.
9205
9206         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9207         adjust.
9208
9209 2003-03-31  John Levon  <levon@movementarian.org>
9210
9211         * lyxrc.h:
9212         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9213
9214         * lyx_main.C: set default fonts from using lyx_gui funcs
9215
9216         * exporter.C: pdf_mode moved from lyxrc
9217
9218         * lyx_cb.C:
9219         * lyxfunc.C: changes from above
9220
9221 2003-03-31  John Levon  <levon@movementarian.org>
9222
9223         * lyx_main.C: fix to the last fix
9224
9225 2003-03-31  John Levon  <levon@movementarian.org>
9226
9227         * bufferlist.C: "Load original" -> "Load Original"
9228
9229         * converter.C:
9230         * exporter.C:
9231         * importer.C:
9232         * lyx_main.C:
9233         * format.C: more Alert cleanups
9234
9235 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9236
9237         * text2.C (removeParagraph): make it take a RowList::iterator as
9238         arg, adjust.
9239         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9240         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9241
9242         * text.C (anchor_row): make it take a RowList::iterator as arg,
9243         adjust.
9244         (computeBidiTables): make it take a const reference to Row instead
9245         of Row pointer, adjust.
9246         (leftMargin): make it take a RowList::iterator as arg, adjust.
9247         (rowBreakPoint): adjust
9248         (breakAgainOneRow): make it take a RowList::iterator as arg,
9249         adjust.
9250         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9251
9252         * bufferview_funcs.C (toggleAndShow): adjust
9253
9254 2003-03-30  John Levon  <levon@movementarian.org>
9255
9256         * Makefile.am:
9257         * BoostFormat.h:
9258         * boost-inst.C: moved to support
9259
9260         * several files: changes as a result
9261
9262 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9263
9264         * text2.C (LyXText): adjust.
9265         (init): adjust
9266         (removeRow): make it take a RowList::iterator as arg, adjust.
9267         (fullRebreak): adjust
9268         (deleteEmptyParagraphMechanism): adjust
9269         (clearPaint): adjust
9270         (postPaint): adjust
9271
9272         * text.C (top_y): adjust
9273         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9274         (breakAgain): make it take a RowList::iterator as arg, adjust.
9275         (breakParagraph): adjust
9276         (insertChar): adjust
9277         (backspace): adjust
9278
9279         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9280         need_break_row, and refresh_row.
9281
9282         * text3.C (dispatch): adjust
9283
9284         * text2.C (checkParagraph): adjust
9285         (setCursor): adjust
9286         (setCursorFromCoordinates): adjust
9287
9288         * text.C (top_y): adjust
9289         (workWidth): adjust
9290         (getRow): make it return a RowList::iterator, adjust
9291         (getRowNearY): make it return a RowList::iterator, adjust
9292
9293         * text2.C (init): adjust
9294         (insertRow): remove function
9295         (insertParagraph): adjust
9296         (redoParagraphs): adjust
9297         (fullRebreak): adjust
9298         (updateCounters): adjust
9299
9300         * text.C (top_y): rewrite to use RowList iterators.
9301         (top_y): adjust
9302         (setHeightOfRow): rewrite to sue RowList iterators.
9303         (appendParagraph): adjust
9304         (breakAgain): adjust
9305         (breakAgainOneRow): adjust
9306         (breakParagraph): adjust
9307         (getRow): adjust
9308         (getRowNearY): adjust, and remove commented code.
9309
9310         * lyxtext.h (firstRow): delete function
9311         (lastRow): delete function
9312         (rows): new function (const and non-const versions.)
9313         (insertRow): delete function
9314
9315         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9316
9317 2003-03-29  John Levon  <levon@movementarian.org>
9318
9319         * BufferView_pimpl.C: always update scrollbar top
9320         because pasting text when we're anchored could mean we
9321         miss an update altogether
9322
9323 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9324
9325         * text2.C (init): use rowlist_.end() and not 0.
9326         (insertRow): change to take a RowList::iterator as arg, adjust
9327         for this.
9328         (insertParagraph): change to take a RowList::iterator as arg,
9329         adjust for this.
9330         (redoParagraphs): remove some debug msgs.
9331
9332         * text.C (appendParagraph): change to take a RowList::iterator
9333         arg, adjust for this.
9334         (breakAgain): add an assert
9335         (breakAgainOneRow): ditto
9336
9337 2003-03-29  John Levon  <levon@movementarian.org>
9338
9339         * text2.C: do not clear selection after inc/decDepth
9340         (bug 550)
9341
9342 2003-03-29  John Levon  <levon@movementarian.org>
9343
9344         * BufferView.C:
9345         * buffer.C: fix broken strerrors according to Lars
9346
9347 2003-03-29  John Levon  <levon@movementarian.org>
9348
9349         * converters.C: more Alert cleanups
9350
9351 2003-03-29  John Levon  <levon@movementarian.org>
9352
9353         * bufferview_funcs.C: remove pointless Alert
9354
9355         * buffer.C: fix confusing error message when
9356         a template is chmoded 000
9357
9358 2003-03-29  John Levon  <levon@movementarian.org>
9359
9360         * BufferView.C:
9361         * BufferView.h:
9362         * BufferView_pimpl.C: Alert fixes
9363
9364         * Makefile.am:
9365         * tabular.C:
9366         * tabular-old.C: remove unused table compat reading
9367
9368 2003-03-29  John Levon  <levon@movementarian.org>
9369
9370         * BufferView.C:
9371         * buffer.C:
9372         * lyx_cb.h:
9373         * lyx_cb.C: more Alert cleanups
9374
9375         * lyxfunc.C: don't allow chktex if not latex document
9376
9377 2003-03-29  John Levon  <levon@movementarian.org>
9378
9379         * lyx_cb.C:
9380         * BufferView.C:
9381         * buffer.C: warnings pushed down from support/,
9382         kill err_alert
9383
9384 2003-03-29  John Levon  <levon@movementarian.org>
9385
9386         * lyxfunc.C: safety check for C-r (revert)
9387
9388 2003-03-29  John Levon  <levon@movementarian.org>
9389
9390         * bufferlist.h:
9391         * bufferlist.C: several UI fixes using Alert::prompt.
9392         Fix the pointless looping quit code. Fix stupid revert
9393         behaviour (bug 938)
9394
9395         * lyxvc.h:
9396         * lyxvc.C:
9397         * lyx_cb.C: use Alert::prompt
9398
9399         * lyx_main.C: remove a silly question
9400
9401         * lyxfunc.C: remove a couple of silly questions,
9402         use Alert::prompt
9403
9404 2003-03-28  John Levon  <levon@movementarian.org>
9405
9406         * text2.C: fix bug 974 (End on empty par)
9407
9408 2003-03-28  John Levon  <levon@movementarian.org>
9409
9410         * BufferView_pimpl.C:
9411         * LyXAction.C:
9412         * lfuns.h: remove do-nothing math greek lfuns
9413
9414 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9415
9416         * lyxgluelength.h (isValidGlueLength): add default arg on
9417         parameter 2. Remove default arg from friend in class.
9418
9419         * lyxlength.h (isValidLength): add default arg on parameter 2.
9420         Remove default arg from friend in class.
9421
9422         * text2.C (LyXText): adjust, initialize refresh_row.
9423         (init): adjust
9424         (removeRow): adjust
9425         (insertRow): adjust
9426         (insertParagraph): adjst
9427         (redoParagraphs): adjust
9428         (fullRebreak): adjust
9429         (updateCounters): adjust
9430         (deleteEmptyParagraphMechanism): first attempt at fixing a
9431         crashing bug.
9432
9433         * text.C (top_y): adjust
9434         (setHeightOfRow): adjust
9435         (getRow): adjust
9436         (getRowNearY): adjust
9437
9438         * lyxtext.h: include RowList.h
9439         (~LyXText): not needed anymore, deleted.
9440         (firstRow): modify for RowList
9441         (lastRow): new function
9442         Delete firstrow and lastrow class variables, add a Rowlist
9443         rowlist_ class variable.
9444
9445         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9446         paragraph is empty.
9447
9448         * RowList.C (insert): fix case where it == begin().
9449
9450 2003-03-26  Angus Leeming  <leeming@lyx.org>
9451
9452         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9453         the thesaurus dialog.
9454
9455 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9456
9457         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9458
9459         * RowList.[Ch]: new files
9460
9461         * ParagraphList.C (erase): handle the case where it == begin
9462         correctly.
9463
9464 2003-03-25  John Levon  <levon@movementarian.org>
9465
9466         * Makefile.am:
9467         * aspell_local.h:
9468         * aspell.C: add new aspell support
9469
9470         * lyxrc.h:
9471         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9472         have it accessible.
9473
9474 2003-03-25  Angus Leeming  <leeming@lyx.org>
9475
9476         * lfuns.h:
9477         * LyXAction.C (init): new LFUN_INSET_INSERT.
9478
9479         * BufferView_pimpl.C (dispatch): split out part of the
9480         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9481
9482         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9483         LFUN_INSET_APPLY.
9484
9485 2003-03-25  Angus Leeming  <leeming@lyx.org>
9486
9487         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9488
9489 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9490
9491         * text2.C:
9492         * text3.C: remove useless row->height(0)
9493
9494 2003-03-25  John Levon  <levon@movementarian.org>
9495
9496         * lyxtext.h:
9497         * text2.C:
9498         * text3.C: rename the refreshing stuff to better names
9499
9500 2003-03-24  John Levon  <levon@movementarian.org>
9501
9502         * BufferView_pimpl.h:
9503         * BufferView_pimpl.C: update layout choice on a mouse
9504         press/release
9505
9506 2003-03-23  John Levon  <levon@movementarian.org>
9507
9508         * Makefile.am: fix commandtags.h reference
9509
9510 2003-03-22  John Levon  <levon@movementarian.org>
9511
9512         * BufferView_pimpl.C:
9513         * lyxtext.h:
9514         * rowpainter.C:
9515         * rowpainter.h:
9516         * text.C:
9517         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9518
9519 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9520
9521         * lyxtext.h:
9522         * text.C: take the rtl methods out of line
9523
9524 2003-03-21 André Pönitz <poenitz@gmx.net>
9525
9526         * metricsinfo.[Ch]: new files containing structures to be passed around
9527         during the two-phase-drawing...
9528
9529 2003-03-21 André Pönitz <poenitz@gmx.net>
9530
9531         * lyxtextclass.C: read 'environment' tag.
9532
9533 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9534
9535         * text2.C (removeRow): fix bug 964
9536
9537 2003-03-20  John Levon  <levon@movementarian.org>
9538
9539         * rowpainter.C:
9540         * text.C:
9541         * text2.C: paint cleanups. Inset::update() dropped font
9542         parameter
9543
9544 2003-03-19  John Levon  <levon@movementarian.org>
9545
9546         * lyxfunc.C: only fitcursor/markDirty if available()
9547
9548 2003-03-19  John Levon  <levon@movementarian.org>
9549
9550         * commandtags.h: rename to ...
9551
9552         * lfuns.h: ... this, and renumber / cleanup
9553
9554 2003-03-19  John Levon  <levon@movementarian.org>
9555
9556         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9557         fit the cursor after an lfun
9558
9559         * BufferView.h:
9560         * BufferView.C:
9561         * BufferView_pimpl.h:
9562         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9563
9564         * LyXAction.C: layout-character should have ReadOnly
9565
9566         * ParagraphParameters.C:
9567         * buffer.C:
9568         * bufferview_funcs.C:
9569         * lyx_cb.C:
9570         * lyxfind.C:
9571         * lyxtext.h:
9572         * text.C:
9573         * text2.C:
9574         * text3.C:
9575         * undo_funcs.C: changes from above
9576
9577 2003-03-18  John Levon  <levon@movementarian.org>
9578
9579         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9580         remove it from update()
9581
9582         * lyxfunc.C: update layout choice after an lfun
9583
9584         * text3.C: remove extra updateLayoutChoice()s
9585
9586 2003-03-18  John Levon  <levon@movementarian.org>
9587
9588         * text.C: top_y change means full repaint, fix
9589         a drawing bug with cursor movement
9590
9591 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9592
9593         * lyxtext.h:
9594         * text.C:
9595         * text2.C: anchor row on setCursor
9596
9597 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9598
9599         * lyxtext.h: remove almost all mutable keywords
9600         * text.C:
9601         * text2.C:
9602         * text3.C: remove const keywords accordingly
9603
9604 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9605
9606         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9607         anon namespace
9608         (TeXEnvironment): ditto
9609         (TeXOnePar): ditto
9610
9611 2003-03-17  John Levon  <levon@movementarian.org>
9612
9613         * text.C (rowBreakPoint): remove attempt to fix displayed
9614         math insets inside a manual label
9615
9616 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9617
9618         * lyxtext.h: remove BufferView* as first arg from almost all class
9619         functions.
9620         * other files: adjust.
9621
9622 2003-03-17  John Levon  <levon@movementarian.org>
9623
9624         * lyxtext.h:
9625         * undo_funcs.C:
9626         * text2.C: more paint cleanups
9627
9628         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9629
9630         * rowpainter.h:
9631         * rowpainter.C: remove "smart" background painting code
9632
9633 2003-03-16  John Levon  <levon@movementarian.org>
9634
9635         * lyxtext.h:
9636         * text.C:
9637         * text2.C:
9638         * text3.C: add helper functions for setting refresh_row/y
9639
9640 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9641
9642         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9643         newline inset which *can* get inserted in the pass_thru layouts.
9644         This is primarily for literate documents.
9645
9646 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9647
9648         * buffer.C: increment LYX_FORMAT to 223
9649
9650 2003-03-14 André Pönitz <poenitz@gmx.net>
9651
9652         * textclass.h: prepare for environment handling, ws changes
9653         * lyxlayout.C: read latexheader and latexfooter tags
9654
9655 2003-03-14  John Levon  <levon@movementarian.org>
9656
9657         * text2.C: rewrite ::status() a bit
9658
9659 2003-03-13  John Levon  <levon@movementarian.org>
9660
9661         * lyxtext.h: add some docs
9662
9663 2003-03-13  John Levon  <levon@movementarian.org>
9664
9665         * lyxtext.h:
9666         * text.C:
9667         * text2.C:
9668         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9669
9670 2003-03-13  John Levon  <levon@movementarian.org>
9671
9672         * text3.C: fix appendix redrawing
9673
9674 2003-03-13  John Levon  <levon@movementarian.org>
9675
9676         * text.C (setHeightOfRow):
9677         * rowpainter.h:
9678         * rowpainter.C: make appendix mark have the text
9679           "Appendix" so the user knows what it is
9680
9681         * LColor.h:
9682         * LColor.C: s/appendixline/appendix/ from above
9683
9684 2003-03-13  John Levon  <levon@movementarian.org>
9685
9686         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9687
9688         * text.C: fix a getChar(pos) bug properly
9689
9690 2003-03-13  Angus Leeming  <leeming@lyx.org>
9691
9692         * commandtags.h:
9693         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9694         Probably only temporary. Let's see how things pan out.
9695
9696         * BufferView.C (unlockInset):
9697         * BufferView_pimpl.C (fitCursor):
9698         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9699
9700         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9701         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9702
9703         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9704         new functions that convert ParagraphParameters to and from a string.
9705
9706         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9707         BufferView::Pimpl's dispatch.
9708         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9709
9710 2003-03-13 André Pönitz <poenitz@gmx.net>
9711
9712         * lyxfunc.C:
9713         * text3.C:
9714         * factory.C: make it aware of InsetEnv
9715
9716 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9717
9718         * text2.C (setCursor): never ask for one past last
9719         (setCursor): add some debugging messages.
9720
9721         * text.C (singleWidth): never ask for one past last
9722         (singleWidth): ditto
9723         (leftMargin): ditto
9724         (rightMargin): ditto
9725         (rowBreakPoint): ditto
9726         (setHeightOfRow): ditto
9727         (prepareToPrint): ditto
9728
9729         * rowpainter.C (paintBackground): never ask for one past last
9730         (paintText): never ask for one past last
9731
9732         * paragraph_pimpl.C (getChar): make the assert stricter, never
9733         allow the one past last pos to be taken
9734
9735         * paragraph.C (getChar): ws changes only
9736
9737         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9738         (numberOfSeparators): ditto
9739         (numberOfHfills): ditto
9740
9741 2003-03-12  John Levon  <levon@movementarian.org>
9742
9743         * author.h:
9744         * author.C:
9745         * bufferparams.h:
9746         * bufferparams.C:
9747         * paragraph_funcs.C: fix per-buffer authorlists
9748
9749 2003-03-12  John Levon  <levon@movementarian.org>
9750
9751         * text.C: fix newline in right address
9752
9753 2003-03-12  Angus Leeming  <leeming@lyx.org>
9754
9755         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9756         duplicate those in LyXFunc::dispatch.
9757
9758         * commandtags.h:
9759         * LyXAction.C:
9760         * ToolbarDefaults.C:
9761         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9762         Add LFUN_FONTFREE_UPDATE.
9763
9764         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9765         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9766
9767         * bufferview_func.[Ch]: several new functions to facilliate
9768         transfer of data to and from the character dialog.
9769
9770 2003-03-12  John Levon  <levon@movementarian.org>
9771
9772         * buffer.C:
9773         * paragraph.h:
9774         * paragraph.C:
9775         * paragraph_funcs.C:
9776         * paragraph_pimpl.C:
9777         * sgml.C:
9778         * tabular.C:
9779         * text.C:
9780         * text3.C: remove META_NEWLINE in favour of an inset
9781
9782         * rowpainter.h:
9783         * rowpainter.C: remove paintNewline (done by inset)
9784
9785 2003-03-12  John Levon  <levon@movementarian.org>
9786
9787         * paragraph_pimpl.C: complain about bad getChar()s
9788         for a while at least
9789
9790 2003-03-12  John Levon  <levon@movementarian.org>
9791
9792         * buffer.h:
9793         * buffer.C: move paragraph read into a separate function,
9794         a little renaming to reflect that.
9795
9796         * bufferparams.h:
9797         * bufferparams.C: remove the author_ids map, not necessary now
9798
9799         * factory.h:
9800         * factory.C: moved Buffer::readInset to here
9801
9802         * paragraph_funcs.h:
9803         * paragraph_funcs.C: readParagraph free function moved from
9804         buffer.C
9805
9806         * tabular.C: name change
9807
9808 2003-03-12  John Levon  <levon@movementarian.org>
9809
9810         * buffer.C:
9811         * ParagraphParameters.C: move par params input to
9812         a read() method
9813
9814         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9815         behave like a normal read from the stream wrt reading
9816         a line vs. a \\token
9817
9818 2003-03-12  John Levon  <levon@movementarian.org>
9819
9820         * paragraph.C:
9821         * ParagraphParameters.h:
9822         * ParagraphParameters.C: move output code to a
9823         ::write() method
9824
9825 2003-03-12  John Levon  <levon@movementarian.org>
9826
9827         * BufferView.C (insertLyXFile):
9828         * buffer.h:
9829         * buffer.C:
9830         * tabular.C: use a parlist iterator for creating the
9831           document.
9832
9833 2003-03-12  John Levon  <levon@movementarian.org>
9834
9835         * buffer.C: make current_change static local not
9836           static file-scope
9837
9838 2003-03-12  John Levon  <levon@movementarian.org>
9839
9840         * buffer.C: fix insertStringAsLines for change tracking
9841
9842 2003-03-12  John Levon  <levon@movementarian.org>
9843
9844         * BufferView.C:
9845         * tabular.C:
9846         * buffer.h:
9847         * buffer.C:
9848         * bufferparams.h:
9849         * bufferparams.C: move author list into params. Rename some
9850           functions. Move the header reading into a separate token
9851           loop. Move the header token reading into BufferParams.
9852
9853 2003-03-12  John Levon  <levon@movementarian.org>
9854
9855         * changes.C: put debug inside lyxerr.debugging() checks
9856
9857 2003-03-11 André Pönitz <poenitz@gmx.net>
9858
9859         * factory.C: make it aware of InsetHFill
9860
9861 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9862
9863         * buffer.C (latexParagraphs): move function from here...
9864         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9865         args.
9866
9867 2003-03-10  Angus Leeming  <leeming@lyx.org>
9868
9869         * LyXAction.C (init): fix bug in poplating array with multiple entries
9870         with the same LFUN (spotted by JMarc).
9871
9872 2003-03-10  John Levon  <levon@movementarian.org>
9873
9874         * text.C:
9875         * text2.C: move getColumnNearX() near its
9876         only call site
9877
9878 2003-03-10  John Levon  <levon@movementarian.org>
9879
9880         * text.C: fix break before a minipage
9881
9882 2003-03-10  John Levon  <levon@movementarian.org>
9883
9884         * text.C: fix the last commit
9885
9886 2003-03-09  John Levon  <levon@movementarian.org>
9887
9888         * lyxtext.h:
9889         * text.C:
9890         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9891         bug 365 (don't break before insets unless needed). Don't
9892         return a value > last under any circumstances.
9893
9894 2003-03-09  Angus Leeming  <leeming@lyx.org>
9895
9896         * BufferView_pimpl.C (trackChanges, dispatch): call
9897         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9898
9899 2003-03-09  Angus Leeming  <leeming@lyx.org>
9900
9901         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9902         than Dialogs::showAboutlyx().
9903
9904 2003-03-09  Angus Leeming  <leeming@lyx.org>
9905
9906         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9907         than Dialogs::showTabularCreate().
9908
9909 2003-03-09  John Levon  <levon@movementarian.org>
9910
9911         * lyxtext.h:
9912         * text.C:
9913         * text2.C: 3rd arg to nextBreakPoint was always the same.
9914           Use references.
9915
9916 2003-03-08  John Levon  <levon@movementarian.org>
9917
9918         * lyxrow.C:
9919         * paragraph.C:
9920         * paragraph.h:
9921         * rowpainter.C:
9922         * text.C:
9923         * text2.C: Remove the "main" bit from the "main body"
9924           notion.
9925
9926 2003-03-08  John Levon  <levon@movementarian.org>
9927
9928         * text.C (leftMargin): The left margin of an empty
9929         manual label paragraph should not include the label width
9930         string length.
9931
9932         * text.C (prepareToPrint): don't attempt to measure hfills
9933         for empty manual label paragraphs - the answer should be 0
9934
9935 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9936
9937         * CutAndPaste.C: remove commented code and reindent.
9938
9939 2003-03-08  John Levon  <levon@movementarian.org>
9940
9941         * lyxfunc.h:
9942         * lyxfunc.C: move reloadBuffer()
9943
9944         * BufferView.h:
9945         * BufferView.C: to here
9946
9947         * lyxvc.C: add comment
9948
9949         * vc-backend.h:
9950         * vc-backend.C: call bv->reload() to avoid
9951           getStatus() check on MENURELOAD
9952
9953 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9954
9955         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9956         to an old format .dep file.
9957
9958 2003-03-07  Angus Leeming  <leeming@lyx.org>
9959
9960         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9961         when the LFUN_MOUSE_RELEASE should have been handled by
9962         inset->localDispatch.
9963
9964 2003-03-07  Angus Leeming  <leeming@lyx.org>
9965
9966         * BufferView_pimpl.C (dispatch):
9967         * LyXAction.C (init):
9968         * ToolbarDefaults.C (init):
9969         * commandtags.h:
9970         * lyxfunc.C (getStatus):
9971         remove LFUN_INSET_GRAPHICS.
9972
9973         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9974
9975 2003-03-07  Angus Leeming  <leeming@lyx.org>
9976
9977         * commandtags.h:
9978         * LyXAction.C (init):
9979         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9980
9981         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9982
9983         * commandtags.h:
9984         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9985
9986         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9987         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9988
9989 2003-03-07  Angus Leeming  <leeming@lyx.org>
9990
9991         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9992         remove "ert".
9993
9994 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9995
9996         * ParagraphList.C (front): new function
9997         (back): implement
9998
9999 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10000
10001         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10002         and top_row_offset_. removed var first_y.
10003         * text.C (top_y):
10004         * text2.C (LyXText, removeRow):
10005         * text3.C:
10006         * BufferView_pimpl.C:
10007         use these methods instead of using first_y
10008
10009 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10010
10011         * text2.C (pasteSelection): adjust for checkPastePossible
10012
10013         * CutAndPaste.C: remove Paragraph * buf and replace with
10014         ParagraphList paragraphs.
10015         (DeleteBuffer): delete
10016         (cutSelection): change the tc type to textclass_type
10017         (copySelection): change the tc type to textclass_type
10018         (copySelection): adjust for ParagraphList
10019         (pasteSelection): change the tc type to textclass_type
10020         (pasteSelection): adjust for Paragraphlist
10021         (nrOfParagraphs): simplify for ParagraphList
10022         (checkPastePossible): simplify for ParagraphList
10023         (checkPastePossible): remove unused arg
10024
10025         * ParagraphList.C (insert): handle the case where there are no
10026         paragraphs yet.
10027
10028         * CutAndPaste.h: make CutAndPaste a namespace.
10029
10030         * text3.C (dispatch): adjust
10031
10032         * text.C (breakParagraph): add a ParagraphList as arg
10033
10034         * paragraph_funcs.C (breakParagraph): change to take a
10035         BufferParams and a ParagraphList as args.
10036         (breakParagraphConservative): ditto
10037         (mergeParagraph): ditto
10038         (TeXDeeper): add a ParagraphList arg
10039         (TeXEnvironment): ditto
10040         (TeXOnePar): ditto
10041
10042         * buffer.C (readLyXformat2): adjust
10043         (insertStringAsLines): adjust
10044         (latexParagraphs): adjust
10045
10046         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10047         (cutSelection): adjust
10048         (pasteSelection): adjust
10049
10050         * BufferView_pimpl.C (insertInset): adjust
10051
10052 2003-03-05  Angus Leeming  <leeming@lyx.org>
10053
10054         * commandtags.h:
10055         * LyXAction.C (init):
10056         * BufferView_pimpl.C (dispatch):
10057         * lyxfunc.C (getStatus):
10058         remove LFUN_CHILD_INSERT.
10059
10060         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10061
10062 2003-03-05  Angus Leeming  <leeming@lyx.org>
10063
10064         * commandtags.h:
10065         * LyXAction.C (init):
10066         * src/factory.C (createInset):
10067         * lyxfunc.C (getStatus):
10068         * text3.C (dispatch):
10069         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10070
10071         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10072
10073 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10074
10075         * ParagraphList.C (insert): handle insert right before end()
10076         (erase): fix cases where it can be first or last paragraph.
10077
10078 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10079
10080         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10081         Paragraph::next and Paragraph::previous
10082         (TeXOnePar): ditto
10083
10084         * text.C (breakParagraph): adjust
10085
10086         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10087         BufferParams& as arg.
10088         (breakParagraph): use ParagraphList::insert
10089         (breakParagraphConservative): take a Buffer* instead of a
10090         BufferParams& as arg.
10091         (breakParagraphConservative): use ParagraphList::insert.
10092
10093         * buffer.C (insertStringAsLines): un-const it
10094         (insertStringAsLines): adjust
10095
10096         * ParagraphList.C (insert): new function
10097
10098         * CutAndPaste.C (pasteSelection): adjust
10099
10100         * text.C (backspace): adjust
10101
10102         * tabular.C (SetMultiColumn): adjust
10103
10104         * CutAndPaste.C (cutSelection): adjust
10105         (pasteSelection): adjust
10106
10107         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10108         Buffer const * as arg
10109
10110         * ParagraphList.C (erase): new function
10111         * paragraph_funcs.C (mergeParagraph): use it
10112         (mergeParagraph): make it take a Buffer* instead of a
10113         BufferParams* as arg
10114
10115         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10116         as arg
10117         (breakParagraphConservative): ditto
10118
10119         * paragraph.h: remove the breakParagraph friend
10120
10121         * paragraph.C (eraseIntern): new function
10122         (setChange): new function
10123
10124         * paragraph_funcs.C (mergeParagraph): make it take a
10125         ParagraphList::iterator instead of a Paragraph *, adjust
10126         accordingly.
10127
10128         * paragraph.h: move an #endif so that the change tracking stuff
10129         also works in the NO_NEXT case.
10130
10131 2003-03-04  Angus Leeming  <leeming@lyx.org>
10132
10133         * commandtags.h:
10134         * LyXAction.C: new LFUN_INSET_MODIFY.
10135
10136         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10137         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10138
10139 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10140
10141         * several files: ws changes only
10142
10143         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10144         (TeXEnvironment): ditto
10145         (TeXDeeper): ditto
10146
10147         * buffer.C (makeLaTeXFile): adjust
10148         (latexParagraphs): make it take ParagraphList::iterator as args
10149
10150 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10151
10152         * buffer.C (latexParagraphs): adjust
10153
10154         * paragraph.C (TeXOnePar): move function...
10155         (optArgInset): move function...
10156         (TeXEnvironment): move function...
10157         * paragraph_pimpl.C (TeXDeeper): move function...
10158         * paragraph_funcs.C: ...here
10159
10160         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10161
10162 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10163
10164         * buffer.C (readInset): remove compability code for old Figure and
10165         InsetInfo insets
10166
10167 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10168
10169         * buffer.C: ws changes
10170         (readInset):
10171
10172         * BufferView_pimpl.C: ditto
10173         * author.C: ditto
10174         * buffer.h: ditto
10175         * bufferlist.h: ditto
10176         * changes.h: ditto
10177         * lyxfunc.C: ditto
10178
10179 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10180
10181         * converter.[Ch]: split into itself +
10182         * graph.[Ch]
10183         * format.[Ch]
10184         * Makefile.am: += graph.[Ch] + format.[Ch]
10185         * MenuBackend.C
10186         * buffer.C
10187         * exporter.C
10188         * importer.C
10189         * lyx_main.C
10190         * lyxfunc.C
10191         * lyxrc.C: added #include "format.h"
10192
10193 2003-02-27  Angus Leeming  <leeming@lyx.org>
10194
10195         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10196           a label.
10197
10198         * factory.C (createInset): add "label" to the factory.
10199
10200         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10201           string and do no more.
10202
10203 2003-02-27  Angus Leeming  <leeming@lyx.org>
10204
10205         * commandtags.h:
10206         * LyXAction.C (init):
10207         * factory.C (createInset):
10208         * BufferView_pimpl.C (dispatch):
10209           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10210
10211         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10212
10213         * lyxfunc.C (dispatch):
10214         * text3.C (dispatch): pass name to params2string.
10215
10216 2003-02-26  Angus Leeming  <leeming@lyx.org>
10217
10218         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10219           blocks together.
10220           Rearrange the ~includes. Strip out the unnecessary ones.
10221
10222         * factory.C (createInset): reformat.
10223           create new insets for the various LFUN_XYZ_APPLY lfuns.
10224
10225 2003-02-26  John Levon  <levon@movementarian.org>
10226
10227         * lyxrow.h:
10228         * lyxrow.C: add isParStart,isParEnd helpers
10229
10230         * paragraph.h: make isInserted/DeletedText take refs
10231
10232         * paragraph_funcs.h:
10233         * paragraph_funcs.C: remove #if 0'd code
10234
10235         * lyxtext.h:
10236         * text3.C:
10237         * text2.C:
10238         * text.C: use lyxrow helpers above.
10239           Move draw and paint routines to RowPainter.
10240           Make several methods use refs not pointers.
10241           Make backgroundColor() const.
10242           Add markChangeInDraw(), isInInset().
10243           Merge changeRegionCase into changeCase.
10244           Make workWidth() shouldn't-happen code into an Assert.
10245
10246         * rowpainter.h:
10247         * rowpainter.C: new class for painting a row.
10248
10249         * vspace.h:
10250         * vspace.C: make inPixels take a ref
10251
10252 2003-02-26  Angus Leeming  <leeming@lyx.org>
10253
10254         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10255         LFUN_REF_APPLY.
10256
10257 2003-02-25  John Levon  <levon@movementarian.org>
10258
10259         * ispell.C: give the forked command a more accurate name
10260
10261 2003-02-22  John Levon  <levon@movementarian.org>
10262
10263         * toc.h:
10264         * toc.C: make TocItem store an id not a Paragraph *
10265           (bug #913)
10266
10267 2003-02-21  Angus Leeming  <leeming@lyx.org>
10268
10269         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10270           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10271           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10272           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10273           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10274           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10275
10276         * BufferView_pimpl.C (dispatch):
10277         * LyXAction.C (init):
10278         * factory.C (createInset):
10279         * lyxfunc.C (getStatus, dispatch):
10280         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10281
10282 2003-02-21  Angus Leeming  <leeming@lyx.org>
10283
10284         * BufferView_pimpl.C (MenuInsertLyXFile):
10285         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10286         * lyxfunc.C (menuNew, open, doImport):
10287           no longer pass a LyXView & to fileDlg.
10288
10289 2003-02-21  Angus Leeming  <leeming@lyx.org>
10290
10291         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10292         * LyXAction.C: change, BIBKEY to BIBITEM.
10293         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10294         Change InsetBibKey to InsetBibitem.
10295         Change BIBKEY_CODE to BIBITEM_CODE.
10296         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10297         * factory.C: replace insetbib.h with insetbibitem.h.
10298         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10299         * paragraph.C: replace insetbib.h with insetbibitem.h.
10300         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10301         Change bibkey() to bibitem().
10302         * text.C: remove insetbib.h.
10303         * text2.C: replace insetbib.h with insetbibitem.h.
10304         change bibkey() to bibitem().
10305         * text3.C: remove insetbib.h.
10306         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10307
10308 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10309
10310         * lyxrc.C (output): enclose user email in quotes (in case there are
10311         several words)
10312
10313 2003-02-18  John Levon  <levon@movementarian.org>
10314
10315         * buffer.h: add std::
10316
10317 2003-02-17  John Levon  <levon@movementarian.org>
10318
10319         * SpellBase.h:
10320         * ispell.h:
10321         * ispell.C:
10322         * pspell.h:
10323         * pspell.C: reworking. Especially in ispell, a large
10324           number of clean ups and bug fixes.
10325
10326         * lyxfunc.C: fix revert to behave sensibly
10327
10328 2003-02-17 André Pönitz <poenitz@gmx.net>
10329
10330         * LyXAction.C:
10331         * commandtags.h: new LFUN_INSERT_BIBKEY
10332
10333         * layout.h:
10334         * lyxlayout.C:
10335         * buffer.C:
10336         * factory.C:
10337         * text.C:
10338         * text2.C:
10339         * text3.C:
10340         * paragraph.[Ch]:
10341         * paragraph_func.C: remove special bibkey handling
10342
10343 2003-02-17  John Levon  <levon@movementarian.org>
10344
10345         * text.C (Delete): fix case where delete at the end of
10346           the very first paragraph would not merge the pars
10347
10348 2003-02-17  John Levon  <levon@movementarian.org>
10349
10350         * lyxrow.C: fix lastPrintablePos()
10351
10352 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10353
10354         * bufferparams.C (writeLaTeX): add a std:here
10355
10356         * buffer.C: and remove a using directive there
10357
10358 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10359
10360         * buffer.C (makeLaTeXFile): move the code that generates the
10361           preamble...
10362
10363         * bufferparams.C (writeLaTeX): ... in this new method
10364
10365         * LaTeXFeatures.C (getEncodingSet): make const
10366           (getLanguages): make const
10367
10368         * MenuBackend.C (binding): returns the binding associated to this
10369           action
10370           (add): sets the status of each item by calling getStatus. Adds
10371           some intelligence.
10372           (read): add support for OptSubMenu
10373           (expand): remove extra separator at the end of expanded menu
10374
10375 2003-02-15  John Levon  <levon@movementarian.org>
10376
10377         * BufferView.C:
10378         * BufferView_pimpl.C:
10379         * bufferlist.h:
10380         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10381           inset code that had no actual effect. Remove unneeded status
10382           code.
10383
10384 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10385
10386         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10387           in preamble
10388
10389 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10390
10391         * text.C (drawLengthMarker): also draw an arrow marker for
10392           symbolic lengths (medskip...)
10393
10394 2003-02-14  John Levon  <levon@movementarian.org>
10395
10396         * tabular.h:
10397         * tabular.C: better method names
10398
10399 2003-02-14  John Levon  <levon@movementarian.org>
10400
10401         * BufferView_pimpl.C:
10402         * bufferlist.C:
10403         * buffer.C:
10404         * converter.C:
10405         * lyx_cb.C:
10406         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10407           it's a more accurate name. Remove some pointless uses.
10408
10409 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10410
10411         * text2.C (LyXText): change order of initilizers to shut off
10412           warnings
10413
10414 2003-02-14  John Levon  <levon@movementarian.org>
10415
10416         * buffer.C: use ParIterator for getParFromID()
10417
10418         * paragraph.h:
10419         * paragraph.C:
10420         * paragraph_pimpl.h:
10421         * paragraph_pimpl.C: remove unused getParFromID()
10422
10423 2003-02-14  John Levon  <levon@movementarian.org>
10424
10425         * buffer.C: remove some very old #if 0'd parse code
10426
10427 2003-02-13  John Levon  <levon@movementarian.org>
10428
10429         * text.h:
10430         * text.C:
10431         * text2.C: move hfillExpansion(), numberOfSeparators(),
10432           rowLast(), rowLastPrintable(), numberofHfills(),
10433           numberOfLabelHfills() ...
10434
10435         * lyxrow.h:
10436         * lyxrow.C: ... to member functions here.
10437
10438         * paragraph.h:
10439         * paragraph.C:
10440         * lyxtext.h:
10441         * text.C: remove LyXText::beginningOfMainBody(), and call
10442           p->beginningOfMainBody() directly. Move the check for
10443           LABEL_MANUAL into the latter.
10444
10445         * text.h:
10446         * text.C:
10447         * text2.C:
10448         * vspace.C:
10449         * BufferView.h:
10450         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10451
10452         * text.h:
10453         * text.C:
10454         * text2.C:
10455         * text3.C:
10456         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10457           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10458
10459 2003-02-13  John Levon  <levon@movementarian.org>
10460
10461         * CutAndPaste.C: remove debug
10462
10463 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * paragraph.C (asString): remove two unused variables
10466
10467         * lyxtextclass.C (readTitleType):
10468           (Read):
10469           (LyXTextClass): handle new members titletype_ and titlename_
10470
10471         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10472
10473 2003-02-09  John Levon  <levon@movementarian.org>
10474
10475         * buffer.h:
10476         * buffer.C: replace hand-coded list with a map for the dep clean
10477
10478 2003-02-08  John Levon  <levon@movementarian.org>
10479
10480         * LaTeX.C: consolidate code into showRunMessage() helper
10481
10482 2003-02-08  John Levon  <levon@movementarian.org>
10483
10484         * lyxfind.C:
10485         * lyxtext.h:
10486         * text2.C:
10487         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10488           and pass the size in explicitly
10489
10490         * BufferView_pimpl.h:
10491         * BufferView_pimpl.C:
10492         * BufferView.h:
10493         * BufferView.C: add getCurrentChange()
10494
10495         * BufferView_pimpl.h:
10496         * BufferView_pimpl.C: handle change lfuns
10497
10498         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10499           for changes. Mark pasted paragraphs as new.
10500
10501         * support/lyxtime.h:
10502         * support/lyxtime.C:
10503         * DepTable.C: abstract time_t as lyx::time_type
10504
10505         * LColor.h:
10506         * LColor.C: add colours for new text, deleted text, changebars
10507
10508         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10509           package use "usenames" option.
10510
10511         * commandtags.h:
10512         * lyxfunc.C:
10513         * LyXAction.C: add change lfuns
10514
10515         * Makefile.am:
10516         * author.h:
10517         * author.C: author handling
10518
10519         * buffer.h:
10520         * buffer.C: add a per-buffer author list, with first entry as
10521           current author. Handle new .lyx tokens for change tracking. Output
10522           author list to .lyx file. Output dvipost stuff to .tex preamble.
10523           Bump lyx format to 222.
10524
10525         * bufferlist.h:
10526         * bufferlist.C: add setCurrentAuthor() to reset current author details
10527           in all buffers.
10528
10529         * bufferparams.h:
10530         * bufferparams.C: add param for tracking
10531
10532         * bufferview_funcs.C: output change info in minibuffer
10533
10534         * Makefile.am:
10535         * changes.h:
10536         * changes.C: add change-tracking structure
10537
10538         * debug.h:
10539         * debug.C: add CHANGES debug flag
10540
10541         * lyxfind.h:
10542         * lyxfind.C: add code for finding the next change piece
10543
10544         * lyxrc.h:
10545         * lyxrc.C: add user_name and user_email
10546
10547         * lyxrow.h:
10548         * lyxrow.C: add a metric for the top of the text line
10549
10550         * lyxtext.h:
10551         * text.C: implement accept/rejectChange()
10552
10553         * lyxtext.h:
10554         * text.C: paint changebars. Paint new/deleted text in the chosen
10555         colours. Strike through deleted text.
10556
10557         * paragraph.h:
10558         * paragraph.C:
10559         * paragraph_pimpl.h:
10560         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10561           in the current change to the insert functions. Rework erase to
10562           mark text as deleted, adding an eraseIntern() and a range-based
10563           erase(). Implement per-paragraph change lookup and
10564           accept/reject.
10565
10566         * paragraph_funcs.C: Fixup paste for change tracking.
10567
10568         * tabular.C: mark added row/columns as new.
10569
10570         * text.C: fix rowLast() to never return -1. Don't allow
10571           spellchecking of deleted text. Track transpose changes. Don't
10572           allow paragraph break or merge where appropriate.
10573
10574         * text2.C: leave cursor at end of selection after a cut.
10575
10576 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10577
10578         * text.C (getLengthMarkerHeight):
10579         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10580         visible on screen too.
10581
10582 2003-02-07  John Levon  <levon@movementarian.org>
10583
10584         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10585
10586 2003-02-05  Angus Leeming  <leeming@lyx.org>
10587
10588         * lyxserver.C (read_ready): revert my patch of 11 September last year
10589         as it sends PC cpu through the roof. Presumably this means that
10590         the lyxserver will no longer run on an Alpha...
10591
10592 2003-01-30  Angus Leeming  <leeming@lyx.org>
10593
10594         * factory.C (createInset): create an InsetCommandParam of type "index"
10595         and use it to 'do the right thing'.
10596
10597         * text2.C (getStringToIndex): ensure that cursor position is always
10598         reset to the reset_cursor position.
10599
10600 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10601
10602         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10603         disabled.
10604
10605 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10606
10607         * bufferview.C:
10608         * lyxcb.C:
10609         * lyxfunc.C: Output messages with identical spelling, punctuation,
10610         and spaces
10611
10612 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10613
10614         * MenuBackend.C (expandFormats): List only viewable export formats
10615         in "View" menu
10616
10617         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10618         message
10619
10620         * lyxfunc.C (getStatus): Make sure that formats other than
10621         "fax" can also be disabled
10622
10623 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10624
10625         * text3.C (dispatch): put the lfuns that insert insets in 3
10626         groups, and call doInsertInset with appropriate arguments.
10627         (doInsertInset): new function, that creates an inset and inserts
10628         it according to some boolean parameters.
10629
10630 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10631
10632         * buffer.C (readFile): remember to pass on 'par' when calling
10633         readFile recursively.
10634
10635 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10636
10637         * MenuBackend.C (expandFormats): add "..." to import formats.
10638
10639 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10640
10641         * paragraph.C (asString): Remove XForms RTL hacks.
10642
10643 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10644         * buffer.C: fix typo
10645
10646 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10647
10648         * Makefile.am (LIBS): delete var
10649         (lyx_LDADD): add @LIBS@ here instead.
10650
10651 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10652
10653         * Clarify the meaning of "wheel mouse jump"
10654
10655 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10656
10657         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10658         tabular in a float
10659
10660 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10661
10662         * importer.C (Loaders): do not preallocate 3 elements in the
10663         vector, since one ends up with 6 elements otherwise
10664
10665 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10666
10667         * DepTable.C (write): write the file name as last element of the
10668         .dep file (because it may contain spaces)
10669         (read): read info in the right order
10670
10671 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10672
10673         * paragraph_pimpl.C (simpleTeXBlanks):
10674         (simpleTeXSpecialChars):
10675         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10676
10677         * tabular.C (latex): add some missing case statements. Reindent.
10678
10679         * MenuBackend.C (expandToc): remove unused variable.
10680
10681 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10682
10683         * LColor.C:
10684         * LaTeX.C:
10685         * LyXAction.C:
10686         * MenuBackend.C:
10687         * buffer.C:
10688         * exporter.C:
10689         * lyxfunc.C:
10690         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10691         and the like.
10692
10693 2003-01-05  John Levon  <levon@movementarian.org>
10694
10695         * BufferView.h:
10696         * BufferView.C: add getEncoding()
10697
10698         * kbsequence.h:
10699         * kbsequence.C: do not store last keypress
10700
10701         * lyxfunc.h:
10702         * lyxfunc.C: store last keypress here instead. Pass encoding
10703           to getISOEncoded()
10704
10705 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10706
10707         * lyx_main.C (init): remove annoying error message when following
10708         symbolic links (bug #780)
10709
10710 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10711
10712         * text.C (insertChar):
10713         * lyxrc.C (getDescription): remove extra spaces
10714
10715 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10716
10717         * lyxrc.C (getDescription): remove extra spaces
10718
10719 2002-12-20  John Levon  <levon@movementarian.org>
10720
10721         * text3.C: hack fix for page up/down across tall rows
10722
10723 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10724
10725         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10726         not been invoked
10727
10728 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10729
10730         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10731         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10732         thesaurus is not compiled in
10733
10734 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10735
10736         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10737
10738 2002-12-16  Angus Leeming  <leeming@lyx.org>
10739
10740         * lyxrc.[Ch]:
10741         * lyx_main.C (init): remove override_x_deadkeys stuff.
10742
10743 2002-12-12  John Levon  <levon@movementarian.org>
10744
10745         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10746           insert. Only remove shift modifier under strict
10747           circumstances.
10748
10749 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10750
10751         * MenuBackend.C (expandToc): fix crash.
10752
10753 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10754
10755         * MenuBackend.C (expandToc): gettext on float names.
10756
10757 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10758
10759         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10760         implement bool empty() [bug 490]
10761
10762 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10763
10764         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10765
10766 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10767
10768         * several files: ws changes
10769
10770 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10771
10772         * text2.C (setCounter): clean up a bit, use boost.format.
10773         (updateCounters): initialize par upon declaration.
10774
10775         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10776         if the layout exists. We do not just store the layout any more.
10777         (SwitchLayoutsBetweenClasses): use boost.format
10778
10779 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10780
10781         * converter.C (convert): if from and to files are the same, use a
10782         temporary files as intermediary
10783
10784 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10785
10786         * commandtags.h:
10787         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10788
10789 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10790
10791         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10792
10793 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10794
10795         * tabular.C (asciiPrintCell): use string(size, char) instead of
10796         explicit loop.
10797
10798         * sgml.C (openTag): fix order of arguments to string constructor
10799         (closeTag): ditto
10800
10801         * lyxfunc.C (dispatch): use boost.format
10802
10803         * lots of files: change "c" -> 'c'
10804
10805 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10806
10807         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10808
10809 2002-11-25  Angus Leeming  <leeming@lyx.org>
10810
10811         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10812
10813         * lyx_main.C (init): compile fix.
10814
10815 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10816
10817         * lyx_cb.C (start): boost.formatify
10818         do not include <iostream>
10819
10820         * lengthcommon.C: ws only
10821
10822         * boost-inst.C,BoostFormat.h: add more explict instantations
10823
10824 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10825
10826         * lots of files: handle USE_BOOST_FORMAT
10827
10828 2002-11-21  John Levon  <levon@movementarian.org>
10829
10830         * pspell.C: fix compile
10831
10832 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10833
10834         * lyxfunc.C (dispatch): use boost::format
10835         (open): ditto
10836         (doImport): ditto
10837
10838         * lyxfont.C (stateText): use boost::format
10839
10840         * lyx_main.C (LyX): use boost::format
10841         (init): ditto
10842         (queryUserLyXDir): ditto
10843         (readRcFile): ditto
10844         (parse_dbg): ditto
10845         (typedef boost::function): use the recommened syntax.
10846
10847         * importer.C (Import): use boost::format
10848
10849         * debug.C (showLevel): use boost::format
10850
10851         * converter.C (view): use boost::format
10852         (convert): ditto
10853         (move): ditto
10854         (scanLog): ditto
10855
10856         * bufferview_funcs.C (currentState): use boost::format
10857
10858         * bufferlist.C (emergencyWrite): use boost::format
10859
10860         * buffer.C (readLyXformat2): use boost::format
10861         (parseSingleLyXformat2Token): ditto
10862
10863         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10864
10865         * LaTeX.C (run): use boost::format
10866
10867         * Chktex.C (scanLogFile): use boost::format
10868
10869         * BufferView_pimpl.C (savePosition): use boost::format
10870         (restorePosition): ditto
10871         (MenuInsertLyXFile): ditto
10872
10873         * BoostFormat.h: help file for explicit instation.
10874
10875 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10876
10877         * tabular.C (latex): Support for block alignment in fixed width
10878         columns.
10879
10880 2002-11-17  John Levon  <levon@movementarian.org>
10881
10882         * BufferView_pimpl.C:
10883         * lyx_cb.C:
10884         * lyxfunc.C: split filedialog into open/save
10885
10886 2002-11-08  Juergen Vigna  <jug@sad.it>
10887
10888         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10889         by my last patch (hopefully).
10890
10891 2002-11-08  John Levon  <levon@movementarian.org>
10892
10893         * iterators.h:
10894         * iterators.C:
10895         * buffer.h:
10896         * buffer.C:
10897         * paragraph.h:
10898         * paragraph.C:
10899         * toc.h:
10900         * toc.C: ParConstIterator, and use it (from Lars)
10901
10902 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10903
10904         * lyxtextclass.[Ch]: revise and add doxygen comments
10905
10906 2002-11-07  John Levon  <levon@movementarian.org>
10907
10908         * text.C: fix progress value for spellchecker
10909
10910         * toc.C: fix navigate menu for insetwrap inside minipage
10911
10912         * paragraph_funcs.C: added FIXME for suspect code
10913
10914 2002-11-07  John Levon  <levon@movementarian.org>
10915
10916         * BufferView_pimpl.C: fix redrawing of insets
10917           on buffer switch
10918
10919 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10920
10921         * text2.C (updateCounters): fix bug 668
10922
10923 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10924
10925         * text3.C (dispatch): Do not make the buffer dirty when moving the
10926         cursor.
10927
10928 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10929
10930         * vc-backend.C: STRCONV
10931         (scanMaster): ditto
10932
10933         * text2.C (setCounter): STRCONV
10934
10935         * paragraph.C (asString): STRCONV
10936
10937         * lyxlength.C (asString): STRCONV
10938         (asLatexString): ditto
10939
10940         * lyxgluelength.C (asString): STRCONV
10941         (asLatexString): ditto
10942
10943         * lyxfunc.C (dispatch): STRCONV
10944         (open): ditto
10945
10946         * lyxfont.C (stateText): STRCONV
10947
10948         * importer.C (Import): STRCONV
10949
10950         * counters.C (labelItem): STRCONV
10951         (numberLabel): ditto
10952         (numberLabel): remove unused ostringstream o
10953
10954         * chset.C: STRCONV
10955         (loadFile): ditto
10956
10957         * bufferview_funcs.C (currentState): STRCONV
10958
10959         * buffer.C (readFile): STRCONV
10960         (asciiParagraph): ditto
10961         (makeLaTeXFile): ditto
10962
10963         * Spacing.C (writeEnvirBegin): STRCONV
10964
10965         * LaTeXFeatures.C (getLanguages): STRCONV
10966         (getPackages): ditto
10967         (getMacros): ditto
10968         (getBabelOptions): ditto
10969         (getTClassPreamble): ditto
10970         (getLyXSGMLEntities): ditto
10971         (getIncludedFiles): ditto
10972
10973         * LaTeX.C: STRCONV
10974         (run): ditto
10975         (scanAuxFile): ditto
10976         (deplog): ditto
10977
10978         * LString.h: add the STRCONV macros
10979
10980         * BufferView_pimpl.C (savePosition): STRCONV
10981         (restorePosition): ditto
10982         (MenuInsertLyXFile): ditto
10983
10984         * vc-backend.C (scanMaster): change from submatch[...] to
10985         submatch.str(...)
10986
10987         * funcrequest.C: include config.h
10988
10989         * factory.C: include config.h
10990
10991         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10992
10993         * box.C: include config.h
10994
10995         * LaTeX.C (scanAuxFile): change from submatch[...] to
10996         submatch.str(...)
10997         (deplog): ditto
10998
10999 2002-10-25  Angus Leeming  <leeming@lyx.org>
11000
11001         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11002
11003         * ispell.[Ch] (setError): new method.
11004         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11005         Use setError() insetead of goto END.
11006
11007         * lyx_cb.C (AutoSave): move out child process into new class
11008         AutoSaveBuffer.
11009
11010 2002-10-30  John Levon  <levon@movementarian.org>
11011
11012         * text3.C: make start appendix undoable
11013
11014 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11015
11016         * lyxlength.C (inPixels): Fix returned value.
11017
11018         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11019         environment.
11020
11021 2002-10-24  Angus Leeming  <leeming@lyx.org>
11022
11023         * lyxgluelength.h: no need to forward declare BufferParams
11024         or BufferView, so don't.
11025
11026 2002-10-21  John Levon  <levon@movementarian.org>
11027
11028         * BufferView.C: menuUndo ->undo, redo
11029
11030         * BufferView.h: document, remove dead, make some methods private
11031
11032         * paragraph_funcs.h:
11033         * paragraph_funcs.C:
11034         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11035
11036         * buffer.h:
11037         * buffer.C:
11038         * sgml.h:
11039         * sgml.C: move sgml open/close tag into sgml.C
11040
11041         * bufferview_funcs.h: unused prototype
11042
11043         * lyxfunc.h:
11044         * lyxfunc.C: remove unused
11045
11046         * lyxtext.h:
11047         * text.C: remove unused
11048
11049 2002-10-21  John Levon  <levon@movementarian.org>
11050
11051         * BufferView.h:
11052         * BufferView.C:
11053         * BufferView_pimpl.h:
11054         * BufferView_pimpl.C: fix mouse wheel handling based on
11055           patch from Darren Freeman
11056
11057 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11058
11059         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11060
11061 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11062
11063         * lyxlength.C (inPixels): Fix hanfling of negative length.
11064         Fix LyXLength::MU case.
11065
11066 2002-10-16  John Levon  <levon@movementarian.org>
11067
11068         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11069
11070 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11071
11072         * converter.C (view): add support for $$i (file name) and $$p
11073         (file path) for the viewer command. If $$i is not specified, then
11074         it is appended to the command (for compatibility with old syntax)
11075
11076 2002-10-14  Juergen Vigna  <jug@sad.it>
11077
11078         * undo_funcs.C (textHandleUndo): alter the order in which the
11079         new undopar is added to the LyXText, as we have to set first
11080         the right prev/next and then add it as otherwise the rebuild of
11081         LyXText is not correct. Also reset the cursor to the right paragraph,
11082         with this IMO we could remove the hack in "redoParagraphs()".
11083
11084 2002-10-09  Angus Leeming  <leeming@lyx.org>
11085
11086         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11087         to turn off an optimisation if a new inset is to be inserted.
11088
11089 2002-10-11 André Pönitz <poenitz@gmx.net>
11090
11091         * lyxtext.h: make some functions public to allow access
11092         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11093
11094 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11095
11096         * text3.C (dispatch): when changing layout, avoid an infinite loop
11097         [bug #652]
11098
11099 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11100
11101         * lyxrc.C (read): treat a viewer or converter command of "none" as
11102         if it were empty.
11103
11104         * MenuBackend.C (expandFormats): for an update, also allow the
11105         formats that are not viewable
11106
11107         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11108         script if it is newer than the lyxrc.defaults in user directory
11109
11110 2002-10-07 André Pönitz <poenitz@gmx.net>
11111
11112         * text.C: Vitaly Lipatov's small i18n fix
11113
11114 2002-09-25  Angus Leeming  <leeming@lyx.org>
11115
11116         * ispell.h: doxygen fix.
11117
11118 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11119
11120         * buffer.h (readFile): Add a new argument to the method, to allow
11121         reading of old-format templates.
11122
11123 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11124
11125         * toc.C (getTocList): Get TOC from InsetWrap.
11126
11127 2002-09-16  John Levon  <levon@movementarian.org>
11128
11129         * lyxfunc.C: check tabular for cut/copy too
11130
11131 2002-09-12  John Levon  <levon@movementarian.org>
11132
11133         * LyXAction.C: tidy
11134
11135         * factory.h:
11136         * factory.C: add header
11137
11138         * paragraph_funcs.h:
11139         * paragraph_funcs.C: cleanup
11140
11141 2002-09-11  John Levon  <levon@movementarian.org>
11142
11143         * PrinterParams.h: odd/even default to true
11144
11145 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11146
11147         * PrinterParams.h: update printer parameters for new xforms dialog
11148
11149 2002-09-11  Angus Leeming  <leeming@lyx.org>
11150
11151         * lyxserver.C (read_ready): re-write to make it more transparent
11152         and to make it work in coherent fashion under Tru64 Unix.
11153
11154 2002-09-11  André Pönitz <poenitz@gmx.net>
11155
11156         * commandtags.h:
11157         * LyXAction.C:
11158         * text3.C: implement LFUN_WORDSEL
11159
11160 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11161
11162         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11163         make floatlist_ a boost::shared_ptr<FloatList>
11164
11165         * lyxtextclass.C: include FloatList.h
11166         (LyXTextClass): initialize floatlist_
11167         (TextClassTags): add TC_NOFLOAT
11168         (Read): match "nofloat" to TC_NOFLOAT and use it.
11169         (readFloat): modify call to floatlist_
11170         (floats): ditto
11171         (floats): ditto
11172
11173         * FloatList.[Ch] (FloatList): remove commented out float
11174         initialization.
11175         (erase): new function
11176
11177 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11178
11179         * MenuBackend.C (expandToc): fix crash when there is no document
11180         open
11181
11182 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11183
11184         * many files: Add insetwrap.
11185
11186 2002-09-09  John Levon  <levon@movementarian.org>
11187
11188         * text2.C: remove confusing and awkward depth wraparound
11189
11190 2002-09-09  John Levon  <levon@movementarian.org>
11191
11192         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11193
11194         * buffer.h:
11195         * buffer.C: remove getIncludeonlyList()
11196
11197         * paragraph.C:
11198         * lyxfunc.C: remove headers
11199
11200 2002-09-09  Juergen Vigna  <jug@sad.it>
11201
11202         * text.C (getColumnNearX): fix form Michael this is most
11203         probably a cut&paste bug.
11204
11205 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11206
11207         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11208
11209         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11210         references, ws changes.
11211
11212         * text2.C (init): update counters after init
11213         (insertParagraph): no need to set counter on idividual paragraphs.
11214         (setCounter): access the counters object in the textclass object
11215         on in the buffer object.
11216         (updateCounters): ditto
11217
11218         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11219         shared_ptr<Counters> to avoid loading counters.h in all
11220         compilation units.
11221         (LyXTextClass): initialize ctrs_
11222         (TextClassTags): add TC_COUNTER, and ...
11223         (Read): use it here.
11224         (CounterTags): new tags
11225         (readCounter): new function
11226         (counters): new funtion
11227         (defaultLayoutName): return a const reference
11228
11229         * counters.C (Counters): remove contructor
11230         (newCounter): remove a couple of unneeded statements.
11231         (newCounter): simplify a bit.
11232         (numberLabel): some small formatting changes.
11233
11234         * buffer.[Ch]: remove all traces of counters, move the Counters
11235         object to the LyXTextClass.
11236
11237 2002-09-06  Alain Castera  <castera@in2p3.fr>
11238
11239         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11240         package to set the horizontal alignment on fixed width columns.
11241
11242         * lyx_sty.C:
11243         * lyx_sty.h: added tabularnewline macro def.
11244
11245         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11246
11247 2002-09-06  John Levon  <levon@movementarian.org>
11248
11249         * LyXAction.C: tooltips for sub/superscript
11250
11251         * MenuBackend.C: a bit more verbose
11252
11253         * lyxfunc.C: tiny clean
11254
11255         * undo_funcs.C: document undo_frozen
11256
11257 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11258
11259         * counters.C (Counters): add missing algorithm counter.
11260
11261         * text2.C (setCounter): lookup the counter with layouts latexname
11262         instead of by section number.
11263         (setCounter): use a hackish way to lookup the correct enum
11264         counter.
11265         a float name->type change
11266         reset enum couners with counter name directly instead of depth value.
11267
11268         * counters.C (Counters): remove the push_backs, change to use the
11269         float type not the float name.
11270         (labelItem): remove unused string, float name->type change
11271
11272         * counters.h: don't include vector, loose the enums and sects vectors
11273
11274 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11275
11276         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11277         (Read): add float->TC_FLOAT to textclassTags
11278         (Read): and handle it in the switch
11279         (readFloat): new function
11280
11281         * FloatList.C (FloatList): comment out the hardcoded float
11282         definitions.
11283
11284         * lyxlayout.h: ws change.
11285
11286 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11287
11288         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11289
11290 2002-09-03  Angus Leeming  <leeming@lyx.org>
11291
11292         * BufferView_pimpl.h: qualified name is not allowed in member
11293         declaration: WorkArea & Pimpl::workarea() const;
11294
11295         * factory.C: added using std::endl directive.
11296
11297         * text3.C: added using std::find and std::vector directives.
11298
11299 2002-08-29  André Pönitz <poenitz@gmx.net>
11300
11301         * lyxtext.h:
11302         * text2.C: remove unused member number_of_rows
11303
11304         * Makefile.am:
11305         * BufferView2.C: remove file, move contents to...
11306         * BufferView.C: ... here
11307
11308         * BufferView_pimpl.C:
11309         * factory.C: move more inset creation to factory
11310
11311         * vspace.C: avoid direct usage of LyXText, ws changes
11312
11313         * BufferView.[Ch]:
11314                 don't provide direct access to WorkArea, use two simple
11315                 acessors haveSelction() and workHeight() instead
11316
11317
11318 2002-08-29  John Levon  <levon@movementarian.org>
11319
11320         * BufferView_pimpl.C (dispatch): do not continue when
11321           no buffer
11322
11323 2002-08-28  André Pönitz <poenitz@gmx.net>
11324
11325         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11326
11327         * BufferView.h:
11328         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11329
11330 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11331
11332         * buffer.C: increment LYX_FORMAT to 221
11333
11334         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11335         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11336
11337         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11338
11339         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11340
11341 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11342
11343         * factory.C (createInset): use LyXTextClass::floats
11344
11345         * MenuBackend.C (expandFloatListInsert):
11346         (expandFloatInsert):
11347         (expandToc):
11348
11349         * text2.C (setCounter):
11350
11351         * LaTeXFeatures.C (useFloat):
11352         (getFloatDefinitions):
11353
11354         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11355
11356         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11357         floatlist_, with accessor floats().
11358
11359         * FloatList.h: remove global FloatList
11360
11361 2002-08-26  André Pönitz <poenitz@gmx.net>
11362
11363         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11364
11365         * BufferView.h:
11366         * BufferView2.C:
11367         * BufferView_pimpl.C:
11368         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11369
11370 2002-08-25  John Levon  <levon@movementarian.org>
11371
11372         * LyXAction.C: fix margin note description
11373
11374 2002-08-24  John Levon  <levon@movementarian.org>
11375
11376         * buffer.C:
11377         * bufferlist.C:
11378         * bufferview_funcs.C:
11379         * lyxfont.C:
11380         * undo_funcs.C: cleanups
11381
11382         * lyxfunc.C: disable CUT/COPY when no selection
11383
11384 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11385
11386         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11387         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11388
11389         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11390         Add backward compatibility to "mono", "gray" and "no".
11391
11392 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11393
11394         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11395         (and file_format >= 200).
11396
11397 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11398
11399         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11400
11401 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11402
11403         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11404
11405 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11406
11407         * BufferView_pimpl.C:
11408         * LyXAction.C:
11409         * buffer.C:
11410         * commandtags.h:
11411         * lyxfunc.C:
11412         * paragraph.[Ch]:
11413         * text2.C:
11414         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11415         inset and code to make it  work with the paragraph code. The inset
11416         can be anywhere in the paragraph, but will only do the expected
11417         thing in LaTeX if the layout file contains the parameter line
11418                         OptionalArgs    1
11419         (or more generally, a nonzero value) for that layout.
11420
11421 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11422
11423         * paragraph.h: remove the declaration of undefined counters class
11424         function.
11425
11426 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11427
11428         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11429         Dr. Richard Hawkins.
11430
11431 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11432
11433         * paragraph_funcs.h: remove some unneeded includes
11434
11435         * text.C (backspace): pasteParagraph now in global scipe
11436
11437         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11438         (pasteSelection): ditto
11439
11440         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11441         * paragraph_funcs.C (pasteParagraph): ... here
11442
11443 2002-08-20  André Pönitz <poenitz@gmx.net>
11444
11445         * commandtags.h: new LFUNs for swapping/copying table row/colums
11446
11447         * LyXAction.C:
11448         * lyxfunc.C: support for new lfuns
11449
11450 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11451
11452         * tabular.C:
11453         * buffer.[Ch]: remove NO_COMPABILITY stuff
11454
11455 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11456
11457         * boost.C (throw_exception): new file, with helper function for
11458         boost compiled without exceptions.
11459
11460         * paragraph.h:
11461         * lyxlength.C:
11462         * buffer.C:
11463         * ParameterStruct.h:
11464         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11465
11466         * bufferlist.C (emergencyWriteAll): use boost bind
11467
11468         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11469
11470         * text.C: include paragraph_funcs.h
11471         (breakParagraph): breakParagraph is now in global scope
11472
11473         * paragraph_funcs.[Ch]: new files
11474
11475         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11476         global scope
11477
11478         * buffer.C: include paragraph_funcs.h
11479         (insertStringAsLines): breakParagraph is now in global scope
11480
11481         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11482         paragraph_funcs.C
11483
11484         * CutAndPaste.C: include paragraph_funcs.h
11485         (cutSelection): breakParagraphConservative is now in global scope
11486         (pasteSelection): ditto
11487
11488         * buffer.h: declare oprator== and operator!= for
11489         Buffer::inset_iterator
11490
11491         * bufferlist.C (emergencyWrite): don't use fmt(...)
11492
11493         * text3.C: add using std::endl
11494
11495         * BufferView.C (moveCursorUpdate): remove default arg
11496
11497 2002-08-20  André Pönitz <poenitz@gmx.net>
11498
11499         * buffer.[Ch]: move inline functions to .C
11500
11501         * BufferView2.C:
11502         * BufferView_pimpl.C:
11503         * text.C:
11504         * buffer.[Ch]: use improved inset_iterator
11505
11506         * buffer.C:
11507         * paragraph.[Ch]: write one paragraph at a time
11508
11509 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11510
11511         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11512         style if style is not specified.
11513
11514 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11515
11516         * text2.C (setCounter): when searching for right label for a
11517         caption, make sure to recurse to parent insets (so that a caption
11518         in a minipage in a figure float works) (bug #568)
11519
11520 2002-08-20  André Pönitz <poenitz@gmx.net>
11521
11522         * text3.C: new file for LyXText::dispatch() and helpers
11523
11524         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11525
11526         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11527
11528 2002-08-19  André Pönitz <poenitz@gmx.net>
11529
11530         * lyxtext.h:
11531         * text.C: new LyXText::dispatch()
11532
11533         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11534
11535 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11536
11537         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11538
11539         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11540         Hebrew text.
11541
11542 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11543
11544         * Makefile.am: use $(variables) instead of @substitutions@
11545
11546 2002-08-15  André Pönitz <poenitz@gmx.net>
11547
11548         * lyxfunc.C:
11549         * BufferView_pimpl.C: streamlining mathed <-> outer world
11550         interaction
11551
11552         * commandtags.h:
11553         * LyXAction.C: remove unused LFUN_MATH
11554
11555 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11556
11557         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11558
11559 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11560
11561         * paragraph.C (Paragraph): reformat a bit
11562         (cutIntoMinibuffer): use builtin InsetList function instad of
11563         doing it manually.
11564         (getInset): ditto
11565
11566         * buffer.C: include boost/bind.hpp, add using std::for_each
11567         (writeFileAscii): use ParagraphList iterators
11568         (validate): use for_each for validate traversal of paragraphs
11569         (getBibkeyList): use ParagraphList iterators
11570         (resizeInsets): use for_each to resizeInsetsLyXText for all
11571         paragraphs.
11572         (getParFromID): use ParagraphList iterators
11573
11574         * BufferView2.C (lockInset): use paragraph list and iterators
11575
11576 2002-08-14  John Levon  <levon@movementarian.org>
11577
11578         * lyxserver.C: remove spurious xforms include
11579
11580 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11581
11582         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11583
11584 2002-08-13  André Pönitz <poenitz@gmx.net>
11585
11586         * LyXAction.[Ch]:
11587         * lyxfunc.C: further cleaning
11588
11589 2002-08-13  André Pönitz <poenitz@gmx.net>
11590
11591         * funcrequest.h: new constructor
11592
11593         * funcrequest.C: move stuff here from .h
11594
11595         * Makefile.am:
11596         * BufferView_pimpl.C:
11597         * LyXAction.C:
11598         * toc.C:
11599         * lyxfunc.C: subsequent changes
11600
11601         * lyxfunc.h: new view() member function
11602
11603         * lyxfunc.C: subsequent changes
11604
11605 2002-08-13  Angus Leeming  <leeming@lyx.org>
11606
11607         * BufferView2.C:
11608         * BufferView_pimpl.C:
11609         * buffer.C:
11610         * converter.C:
11611         * importer.C:
11612         * lyxfunc.C:
11613         * lyxvc.C:
11614         * toc.C:
11615         * vc-backend.C:
11616         changes due to the changed LyXView interface that now returns references
11617         to member variables not pointers.
11618
11619 2002-08-13  Angus Leeming  <leeming@lyx.org>
11620
11621         * WordLangTuple (word, lang_code): return references to strings,
11622         not strings.
11623
11624         * BufferView.h:
11625         * SpellBase.h:
11626         * lyxtext.h: forward-declare WordLangTuple.
11627
11628         * BufferView2.C:
11629         * ispell.C:
11630         * pspell.C:
11631         * text.C: #include "WordLangTuple.h".
11632
11633         * lyxtext.h:
11634         * text.C: (selectNextWordToSpellcheck): constify return type.
11635
11636 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11637
11638         * buffer.C:
11639         * buffer.h:
11640         * lyxtext.h:
11641         * paragraph.C:
11642         * paragraph_pimpl.h:
11643         * text.C:
11644         * text2.C:
11645         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11646         suggested by Angus.
11647         Made updateCounter always count from start of buffer, and removed
11648         second argument (par).
11649         Reverted floats number display to '#'. Perhaps I'll try again when the
11650         code base is sanitized a bit.
11651
11652 2002-08-12  Angus Leeming  <leeming@lyx.org>
11653
11654         * buffer.[Ch] (getLabelList): constify.
11655
11656 2002-08-07  André Pönitz <poenitz@gmx.net>
11657
11658         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11659
11660         * funcrequest.h: extension to keep mouse (x,y) position
11661
11662 2002-08-12  Juergen Vigna  <jug@sad.it>
11663
11664         * BufferView2.C (insertErrors): forbid undo when inserting error
11665         insets.
11666
11667         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11668
11669 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11670
11671         * ParagraphList.[Ch]: new files
11672
11673         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11674
11675         * BufferView2.C (lockInset): ParagraphList changes
11676         * toc.C: ditto
11677         * text2.C: ditto
11678         * bufferlist.C: ditto
11679         * buffer.h: ditto
11680         * buffer.C: ditto
11681
11682 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11683
11684         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11685         unused class variable counter_,
11686
11687         * paragraph.[Ch] (getFirstCounter): delete unused function
11688
11689         * counters.C: include LAssert.h
11690         (reset): add a new function with no arg, change other version to
11691         not have def. arg and to not allow empty arg.
11692
11693         * text2.C (setCounter): remove empty arg from call to Counters::reset
11694
11695 2002-08-11  John Levon  <levon@movementarian.org>
11696
11697         * Makefile.am: add WordLangTuple.h
11698
11699 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11700
11701         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11702         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11703
11704         * insets/insettext.C: InsetList changes
11705
11706         * graphics/GraphicsSupport.C (operator()): InsetList changes
11707
11708         * toc.C (getTocList): InsetList changes
11709
11710         * paragraph_pimpl.[Ch]: InsetList changes
11711
11712         * paragraph.[Ch]: InsetList changes
11713
11714         * buffer.C (inset_iterator): InsetList changes
11715         (setParagraph): ditto
11716         * buffer.h (inset_iterator): ditto
11717         * iterators.C (operator++): ditto
11718         * iterators.h: ditto
11719
11720         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11721
11722         * InsetList.[Ch]: new files, most InsetList handling moved out of
11723         paragraph.C.
11724
11725         * BufferView2.C (removeAutoInsets): InsetList changes
11726         (lockInset): ditto
11727         (ChangeInsets): ditto
11728
11729 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11730
11731         * paragraph_pimpl.h (empty): new function
11732
11733         * paragraph.[Ch] (empty): new function
11734
11735         * other files: use the new Paragraph::empty function
11736
11737 2002-08-09  John Levon  <levon@movementarian.org>
11738
11739         * lyxtext.h: remove unused refresh_height
11740
11741 2002-08-09  John Levon  <levon@movementarian.org>
11742
11743         * Makefile.am:
11744         * sgml.h:
11745         * sgml.C:
11746         * buffer.C:
11747         * paragraph.h:
11748         * paragraph.C: move sgml char escaping out of paragraph
11749
11750         * paragraph.h:
11751         * paragraph.C: remove id setter
11752
11753         * buffer.C:
11754         * paragraph.C:
11755         * paragraph_pimpl.C: remove dead tex_code_break_column
11756
11757         * bufferview_funcs.C: small cleanup
11758
11759         * lyxfunc.C: remove dead proto
11760
11761         * lyxtext.h: make some stuff private. Remove some dead stuff.
11762
11763         * lyxgluelength.C: make as[LyX]String() readable
11764
11765 2002-08-08  John Levon  <levon@movementarian.org>
11766
11767         * LyXAction.h:
11768         * LyXAction.C:
11769         * MenuBackend.C:
11770         * ToolbarDefaults.C:
11771         * lyxfunc.C:
11772         * lyxrc.C:
11773         * toc.C: lyxaction cleanup
11774
11775 2002-08-08  John Levon  <levon@movementarian.org>
11776
11777         * BufferView2.C: small cleanup
11778
11779         * lyxfind.h:
11780         * lyxfind.C: move unnecessary header into the .C
11781
11782 2002-08-08  John Levon  <levon@movementarian.org>
11783
11784         * funcrequest.h: just tedious nonsense
11785
11786         * lyx_main.h:
11787         * lyx_main.C: cleanups
11788
11789         * buffer.C:
11790         * vspace.C: remove dead header lyx_main.h
11791
11792 2002-08-07  Angus Leeming  <leeming@lyx.org>
11793
11794         * Paragraph.[Ch]:
11795         * paragraph_pimpl.h:
11796         Forward declare class Counters in paragraph.h by moving the ctrs member
11797         variable into Paragraph::Pimpl.
11798         (counters): new method, returning a reference to pimpl_->ctrs.
11799
11800         * text2.C: ensuing changes.
11801
11802 2002-08-07  John Levon  <levon@movementarian.org>
11803
11804         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11805
11806         * BufferView_pimpl.C: announce X selection on double/triple
11807           click
11808
11809         * lyx_main.C: use correct bool in batch dispatch
11810
11811         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11812
11813 2002-08-07  André Pönitz <poenitz@gmx.net>
11814
11815         * funcrequest.h: new class to wrap a kb_action and its argument
11816
11817         * BufferView.[Ch]:
11818         * BufferView_pimpl[Ch]:
11819         * LaTeX.C:
11820         * LyXAction.[Ch]:
11821         * lyxfunc.[Ch]:
11822         * lyxrc.C: subsequent changes
11823
11824
11825 2002-08-07  John Levon  <levon@movementarian.org>
11826
11827         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11828           document options change.
11829
11830 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11831
11832         * counters.[Ch]
11833         * text2.C
11834         * paragraph.[Ch]
11835         * makefile.am: move counters functionality over from
11836         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11837
11838 2002-08-06  John Levon  <levon@movementarian.org>
11839
11840         * WordLangTuple.h: new file for word + language code tuple
11841
11842         * SpellBase.h:
11843         * pspell.h:
11844         * pspell.C:
11845         * ispell.h:
11846         * ispell.C:
11847         * lyxtext.h:
11848         * text.C:
11849         * text2.C:
11850         * BufferView.h:
11851         * BufferView2.C: use WordLangTuple
11852
11853         * layout.h:
11854         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11855
11856 2002-08-06  John Levon  <levon@movementarian.org>
11857
11858         * lyx_main.C: fix cmdline batch handling
11859
11860 2002-08-06  André Pönitz <poenitz@gmx.net>
11861
11862         * lyxrc.C: set default for show_banner to true
11863
11864 2002-08-06  John Levon  <levon@movementarian.org>
11865
11866         * pspell.C: fix a crash, and allow new aspell to work
11867
11868 2002-08-06  John Levon  <levon@movementarian.org>
11869
11870         * lyxfunc.C:
11871         * kbmap.C: small cleanup
11872
11873         * vspace.h:
11874         * vspace.C: add const
11875
11876 2002-08-05  John Levon  <levon@movementarian.org>
11877
11878         * LyXAction.C: back to tabular-insert
11879
11880 2002-08-04  John Levon  <levon@movementarian.org>
11881
11882         * BufferView.h:
11883         * BufferView.C: cosmetic change
11884
11885         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11886
11887         * bufferlist.C:
11888         * buffer.h:
11889         * buffer.C:
11890         * lyxcb.h:
11891         * lyxcb.C:
11892         * lyxserver.C:
11893         * lyxvc.C:
11894         * vc-backend.C:
11895         * BufferView2.C: purge all "Lyx" not "LyX" strings
11896
11897         * lyxcursor.h:
11898         * lyxcursor.C: attempt to add some documentation
11899
11900         * lyxfunc.C:
11901         * commandtags.h:
11902         * LyXAction.C:
11903         * ToolbarDefaults.C:
11904         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11905           merge with LFUN_TABULAR_INSERT
11906
11907         * Makefile.am:
11908         * SpellBase.h:
11909         * ispell.h:
11910         * ispell.C:
11911         * pspell.h:
11912         * pspell.C: split up i/pspell implementations into separate
11913           files, many cleanups
11914
11915         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11916
11917         * text2.C: some cleanup
11918
11919         * lyxfunc.C: don't check for isp_command == "none" any more, it
11920           didn't make any sense
11921
11922 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11923
11924         * counters.[Ch]
11925         * text2.C
11926         * paragraph.[Ch]
11927         * makefile.am: move counters functionality over
11928         from text2.C/paragraph.[Ch] to counters.[Ch], and
11929         make proper C++.
11930 2002-08-02  John Levon  <levon@movementarian.org>
11931
11932         * buffer.C: s/lyxconvert/lyx2lyx/
11933
11934 2002-08-02  Angus Leeming  <leeming@lyx.org>
11935
11936         * lyxlex.C: revert John's change as it breaks reading of the user
11937         preamble.
11938
11939 2002-08-02  Angus Leeming  <leeming@lyx.org>
11940
11941         * importer.C (Import):
11942         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11943         changes due to LyXView::view() now returning a boost::shared_ptr.
11944
11945 2002-08-02  John Levon  <levon@movementarian.org>
11946
11947         * lyxlex.C: small cleanup
11948
11949 2002-08-02  John Levon  <levon@movementarian.org>
11950
11951         * text2.C (status): small cleanup, no logic change
11952
11953 2002-08-01  John Levon  <levon@movementarian.org>
11954
11955         * buffer.h:
11956         * buffer.C (writeFile): don't output alerts, caller
11957           handles this
11958
11959         * bufferlist.C:
11960         * lyx_cb.C: from above
11961
11962         * lyxfunc.C: allow to open non-existent files
11963
11964 2002-07-31  John Levon  <levon@movementarian.org>
11965
11966         * lyxserver.C: don't let incidental errors get
11967           in the way (errno)
11968
11969 2002-07-30  John Levon  <levon@movementarian.org>
11970
11971         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11972
11973 2002-07-30  John Levon  <levon@movementarian.org>
11974
11975         * lyxserver.h:
11976         * lyxserver.C: remove I/O callback too
11977
11978 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11979
11980         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11981         log.
11982
11983 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11984
11985         * many files: strip,frontStrip -> trim,ltrim,rtrim
11986
11987 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11988
11989         * PrinterParams.h: remove extern containsOnly, and include
11990         support/lstrings.h instead.
11991
11992         * LaTeX.C (scanAuxFile): modify because of strip changes
11993         (deplog): ditto
11994         * buffer.C (makeLaTeXFile): ditto
11995         * bufferparams.C (writeFile): ditt
11996         * lyxfont.C (stateText): ditto
11997         * lyxserver.C (read_ready): ditto
11998         * vc-backend.C (scanMaster): ditto
11999
12000         * BufferView_pimpl.h: ws changes
12001
12002         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12003
12004 2002-07-26  André Pönitz <poenitz@gmx.net>
12005
12006         * kb_sequence.C: remove unnedred usings
12007
12008 2002-07-26  Juergen Vigna  <jug@sad.it>
12009
12010         * lyxfind.C (LyXReplace): we have to check better if the returned
12011         text is not of theLockingInset()->getLockingInset().
12012
12013 2002-07-25  Juergen Vigna  <jug@sad.it>
12014
12015         * lyxfind.C (LyXReplace): don't replace if we don't get the
12016         right LyXText.
12017
12018         * undo_funcs.C (createUndo): remove debugging code.
12019
12020 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12021
12022         * buffer.C (parseSingleLyXformat2Token): Use default placement
12023         when reading old floats.
12024
12025         * FloatList.C (FloatList): Change the default placement of figure
12026         and tables to "tbp".
12027
12028 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12029
12030         * MenuBackend.C: using std::max
12031
12032 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12033
12034         * MenuBackend.C (expandToc):
12035         (expandToc2): code moved from xforms menu frontend. It is now
12036         generic and TOCs are transparent to menu frontends.
12037
12038 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12039
12040         * toc.C (getTocList): protect against buf=0
12041
12042         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12043         Menu as first parameter. Now, this calls itself recursively to
12044         expand a whole tree (this will be useful for TOC handling)
12045         (expandFloatInsert): remove 'wide' version of floats
12046
12047         * MenuBackend.h (submenuname): returns the name of the submenu.
12048         (submenu): returns the submenu itself, provided it has been
12049         created by MenuBackend::expand
12050
12051 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12052
12053         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12054         insets which have noFontChange == true. (bug #172)
12055
12056 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12057
12058         * BufferView_pimpl.C: add connection objects and use them...
12059         (Pimpl): here.
12060
12061 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12062
12063         * MenuBackend.C (expandLastfiles):
12064         (expandDocuments):
12065         (expandFormats):
12066         (expandFloatListInsert):
12067         (expandFloatInsert):
12068         (expand): split expand in parts
12069
12070 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12071
12072         * lyx_gui.C: use lyx_gui::exit()
12073
12074 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12075
12076         * LyXAction.C: show the failing pseudo action
12077
12078 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12079
12080         * buffer.C (readFile): Run the lyxconvert script in order to read
12081         old files.
12082
12083 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12084
12085         * LyXAction.C:
12086         * commandtags.h:
12087         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12088
12089 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12090
12091         * LyXAction.C:
12092         * commandtags.h:
12093         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12094
12095 2002-07-22  Herbert Voss  <voss@lyx.org>
12096
12097         * lengthcommon.C:
12098         * lyxlength.[Ch]: add support for the vertical lengths
12099
12100 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12101
12102         * toc.[Ch]: std:: fixes
12103
12104 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12105
12106         * lyxrc.C: do not include lyx_main.h
12107
12108         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12109         for layouts
12110
12111         * lyxrc.C:
12112         * encoding.C:
12113         * bufferlist.C:
12114         * BufferView2.C: include "lyxlex.h"
12115
12116         * tabular.h:
12117         * bufferparams.h: do not #include "lyxlex.h"
12118
12119         * lyxtextclasslist.C (Add): remove method
12120         (classlist): renamed to classlist_
12121
12122         * paragraph_pimpl.C:
12123         * paragraph.C:
12124         * text2.C:
12125         * CutAndPaste.C:
12126         * bufferview_funcs.C:
12127         * bufferlist.C:
12128         * text.C:
12129         * LaTeXFeatures.C:
12130         * buffer.C:
12131         * toc.C (getTocList): use BufferParams::getLyXTextClass
12132
12133         * toc.C (getTocList): use InsetFloat::addToToc
12134
12135         * toc.[Ch]: new files, containing helper functions to handle table
12136         of contents
12137
12138         * lyxfunc.C (dispatch): no need to remove spaces around command
12139         given as a string
12140         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12141         first command of the sequence; it is not very clever, but I do not
12142         have a better idea, actually
12143
12144         * LyXAction.C (LookupFunc): make sure to remove space at the
12145         beginning and end of the command
12146
12147 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12148
12149         * MenuBackend.C (getMenubar): new method: return the menubar of
12150         this menu set
12151         (read): treat differently reading of menu and menubar (in
12152         particular, the menubar has no name now)
12153         (Menu::menubar): remove
12154
12155         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12156         saving is finished
12157
12158 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12159
12160         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12161         a bibitem inset in a RTL paragraph.
12162
12163 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * paragraph_pimpl.C: constify
12166
12167         * BufferView_pimpl.C:
12168         * LaTeX.C:
12169         * lyxfunc.C: fix dispatch in a nicer way
12170
12171 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12172
12173         * lyxfunc.C (dispatch):
12174         * BufferView_pimpl.C:
12175         * BufferView_pimpl.h:
12176         * BufferView.C:
12177         * BufferView.h: rename Dispatch() to dispatch()
12178
12179         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12180
12181         * lyxlayout.C (Read): honor DependsOn tag
12182
12183         * lyxlayout.[Ch] (depends_on): new method
12184
12185         * version.C.in: update lyx_docversion
12186
12187         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12188
12189         * paragraph.C (validate): remove from here...
12190         * paragraph_pimpl.C (validate): ... and move here
12191         (isTextAt): make it const
12192
12193         * buffer.C (getLists): ws cleanup
12194
12195 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12196
12197         * language.C (read): Use iso8859-1 encoding in latex_lang
12198         (this prevents LyX from crashing when using iso10646-1 encoding).
12199
12200 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12201
12202         * text2.C (toggleInset): if cursor is inside an inset, close the
12203         inset and leave cursor _after_ it
12204
12205 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12206
12207         * lyxfunc.C: move minibuffer completion handling out of here
12208
12209 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12210
12211         * BufferView_pimpl.C:
12212         * LaTeX.C: fix dispatch calls
12213
12214 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12215
12216         * text.C (drawChars): Fix Arabic text rendering.
12217
12218 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12219
12220         * LyXAction.C:
12221         * commandtags.h:
12222         * lyxfunc.C: remove message-push/pop
12223
12224         * lyxserver.C:
12225         * lyxfunc.h:
12226         * lyxfunc.C: rationalise some code by removing verboseDispatch
12227           in favour of a bool argument to dispatch()
12228
12229 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12230
12231         * lyx_main.C (init): make sure to read symlinks as absolute paths
12232
12233 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12234
12235         * lyxfunc.h:
12236         * lyxfunc.C: no need for commandshortcut to be a member
12237
12238 2002-07-15  André Pönitz <poenitz@gmx.net>
12239
12240         * converter.C: add support for $$s (scripts from lib/scripts dir)
12241         * lyx_main.C: white space
12242
12243 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * bufferlist.C:
12246         * lyxrc.h:
12247         * lyxrc.C: remove second exit confirmation
12248
12249 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12250
12251         * BufferView.h:
12252         * BufferView.C:
12253         * BufferView2.C:
12254         * BufferView_pimpl.h:
12255         * BufferView_pimpl.C:
12256         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12257
12258 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12259
12260         * MenuBackend.C (expand): add numeric shortcuts to document menu
12261
12262         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12263
12264 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12265
12266         * lyxfont.C (setLyXFamily):
12267         (setLyXSeries):
12268         (setLyXShape):
12269         (setLyXSize):
12270         (setLyXMisc):
12271         (lyxRead):
12272         * debug.C (value):
12273         * buffer.C (asciiParagraph): use ascii_lowercase
12274
12275 2002-07-15  Mike Fabian  <mfabian@suse.de>
12276
12277         * lyxlex_pimpl.C (search_kw):
12278         * lyxlex.C (getLongString):
12279         * converter.h (operator<):
12280         * converter.C (operator<):
12281         * buffer.C (parseSingleLyXformat2Token):
12282         (asciiParagraph):
12283         * ToolbarDefaults.C (read):
12284         * MenuBackend.C (checkShortcuts):
12285         (read):
12286         * LColor.C (getFromGUIName):
12287         (getFromLyXName): use the compare_ascii_no_case instead of
12288         compare_no_case, because in turkish, 'i' is not the lowercase
12289         version of 'I', and thus turkish locale breaks parsing of tags.
12290
12291 2002-07-16  Angus Leeming  <leeming@lyx.org>
12292
12293         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12294         now takes a Buffer const & argument.
12295
12296 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12297
12298         * BufferView.C (resize): check there's a buffer to resize
12299
12300 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12301
12302         * lyxfunc.C: remove dead code
12303
12304         * lyxserver.h:
12305         * lyxserver.C: use lyx_guii::set_read_callback
12306
12307 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12308
12309         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12310         an inset in a RTL paragraph.
12311
12312 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12313
12314         * lyxfunc.C: repaint after a font size update
12315
12316 2002-07-15  André Pönitz <poenitz@gmx.net>
12317
12318         * lyxlength.C: inBP should be able to return negative values
12319
12320 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12321
12322         * lyxfunc.C: use lyx_gui::update_fonts()
12323
12324 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12325
12326         * lyxfunc.C: use lyx_gui::update_color()
12327
12328 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12329
12330         * bufferlist.C:
12331         * lyxfunc.h:
12332         * lyxfunc.C:
12333         * lyxrc.h:
12334         * lyxrc.C: remove file->new asks for name option, and let
12335           buffer-new take an argument
12336
12337 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12338
12339         * BufferView_pimpl.C: remove unneeded extra repaint()
12340
12341 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12342
12343         * LyXAction.C: allow command-sequence with NoBuffer
12344
12345         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12346
12347 2002-07-10  Angus Leeming  <leeming@lyx.org>
12348
12349         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12350
12351 2002-07-09  Angus Leeming  <leeming@lyx.org>
12352
12353         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12354
12355 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12356
12357         * lengthcommon.h: whitespace
12358
12359         * lyxfunc.C: update scrollbar after goto paragraph
12360
12361         * lyxtext.h: factor out page break drawing, and fix it so
12362           page break/added space paints as selected nicely
12363
12364 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12365
12366         * BufferView_pimpl.C: add FIXMEs, clean up a little
12367
12368 2002-07-09  André Pönitz <poenitz@gmx.net>
12369
12370         * lyxfont.[Ch]: support for wasy symbols
12371
12372 2002-07-08  André Pönitz <poenitz@gmx.net>
12373
12374         * BufferView_pimpl.C: apply John's patch for #93.
12375
12376 2002-07-05  Angus Leeming  <leeming@lyx.org>
12377
12378         * BufferView_pimpl.C (buffer): generate previews if desired.
12379
12380         * LColor.h: add "preview" to the color enum.
12381
12382         * LColor.C (LColor): add a corresponding entry to the items array.
12383
12384         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12385         with this buffer.
12386
12387 2002-07-05  Angus Leeming  <leeming@lyx.org>
12388
12389         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12390         The body of the code is now in the method that is passed an ostream &
12391         rather than a file name.
12392         Pass an additional only_preamble parameter, useful for the forthcoming
12393         preview stuff.
12394
12395 2002-07-03  André Pönitz <poenitz@gmx.net>
12396
12397         * lyxfunc.C: simplify getStatus() a bit for math stuff
12398
12399 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12400
12401         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12402
12403 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12404
12405         * text.C (changeRegionCase): do not change case of all the
12406         document when region ends at paragraph end (bug #461)
12407
12408 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12409
12410         * paragraph.C (startTeXParParams):
12411         (endTeXParParams): add \protect when necessary
12412
12413 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12414
12415         * BufferView_pimpl.C (workAreaExpose): remove warning
12416
12417 2002-06-27  Angus Leeming  <leeming@lyx.org>
12418
12419         * Makefile.am: add lyxlayout_ptr_fwd.h.
12420
12421 2002-06-26  André Pönitz <poenitz@gmx.net>
12422
12423         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12424
12425 2002-06-25  Angus Leeming  <leeming@lyx.org>
12426
12427         * lyxfunc.C (dispatch): Comment out the call to
12428         grfx::GCache::changeDisplay. The method no longer exists now that the
12429         pixmap generation part of the graphics loader has been moved into
12430         InsetGraphics.
12431
12432 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12433
12434         * text2.C: layout as layout
12435
12436         * text.C: layout as layout
12437
12438         * tabular.C (OldFormatRead): layout as layout
12439
12440         * paragraph_pimpl.C (TeXDeeper): layout as layout
12441         (realizeFont): layout as layout
12442
12443         * paragraph.C (writeFile): layout as layout
12444         (validate): layout as layout
12445         (getFont): layout as layout
12446         (getLabelFont): layout as layout
12447         (getLayoutFont): layout as layout
12448         (breakParagraph): layout as layout
12449         (stripLeadingSpaces): layout as layout
12450         (getEndLabel): layout as layout
12451         (getMaxDepthAfter): layout as layout
12452         (applyLayout): layout as layout
12453         (TeXOnePar): layout as layout
12454         (simpleTeXOnePar): layout as layout
12455         (TeXEnvironment): layout as layout
12456         (layout): layout as layout
12457         (layout): layout as layout
12458
12459         * lyxtextclass.C (compare_name): new functor to work with
12460         shared_ptr, layout as layout
12461         (Read): layout as layout
12462         (hasLayout): layout as layout
12463         (operator): layout as layout
12464         (delete_layout): layout as layout
12465         (defaultLayout): layout as layout
12466
12467         * lyxlayout_ptr_fwd.h: new file
12468
12469         * lyxlayout.C (Read): layout as layout
12470
12471         * lyx_cb.C (MenuInsertLabel): layout as layout
12472
12473         * bufferlist.C (newFile): layout as layout
12474
12475         * buffer.C (readLyXformat2): layout as layout
12476         (parseSingleLyXformat2Token): layout as layout
12477         (insertStringAsLines): layout as layout
12478         (asciiParagraph): layout as layout
12479         (latexParagraphs): layout as layout
12480         (makeLinuxDocFile): layout as layout
12481         (simpleLinuxDocOnePar): layout as layout
12482         (makeDocBookFile): layout as layout
12483         (simpleDocBookOnePar): layout as layout
12484         (getLists): layout as layout
12485
12486         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12487
12488         * CutAndPaste.C (cutSelection): layout as layout
12489         (pasteSelection): layout as layout
12490         (SwitchLayoutsBetweenClasses): layout as layout
12491
12492         * BufferView_pimpl.C (Dispatch): layout as layout
12493         (smartQuote): layout as layout
12494
12495         * BufferView2.C (unlockInset): layout as layout
12496
12497 2002-06-24  André Pönitz <poenitz@gmx.net>
12498
12499         * lyxfunc.C: fix #487
12500
12501 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12502
12503         * lyxrc.h:
12504         * lyxrc.C:
12505         * lyxfunc.C: remove display_shortcuts, show_banner
12506
12507 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12508
12509         * Buffer_pimpl.C: oops, update on resize
12510
12511 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12512
12513         * buffer.C:
12514         * converter.C:
12515         * exporter.C:
12516         * lyxfunc.C:
12517         * BufferView.h:
12518         * BufferView.C: use repaint()
12519
12520         * BufferView_pimpl.h:
12521         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12522           as it's a clearer description. Remove superfluous
12523           redraws.
12524
12525 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12526
12527         * text.C: fix bug 488. Not ideal, but getting
12528           getWord() to work properly for the insets that
12529           matter is more difficult ...
12530
12531 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12532
12533         * BufferView_pimpl.C:
12534         * LyXAction.C:
12535         * commandtags.h:
12536         * lyxfunc.C: remove the six million index lyxfuncs to just
12537           one, and DTRT (bug 458)
12538
12539 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12540
12541         * BufferView.h:
12542         * BufferView.C:
12543         * BufferView_pimpl.h:
12544         * BufferView_pimpl.C: clean up resize() stuff,
12545           and unnecessary updateScreen()s
12546
12547 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * BufferView.h:
12550         * BufferView.C:
12551         * BufferView_pimpl.h:
12552         * BufferView_pimpl.C:
12553         * lyxfind.h:
12554         * lyxfind.C:
12555         * minibuffer.C: remove focus management of workarea,
12556           not needed. Use screen's greyOut()
12557
12558 2002-06-17  Herbert Voss  <voss@lyx.org>
12559
12560         * converter.C: (convert) do not post a message, when converting
12561         fails, let the calling function decide what to do in this case
12562
12563 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12564
12565         * lyxfunc.C: tidy up a little
12566
12567 2002-06-16    <alstrup@diku.dk>
12568
12569         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12570         Got rid of FORMS_H_LOCATION include. Now we are
12571         GUII.
12572
12573 2002-06-15  LyX Development team  <lyx@rilke>
12574
12575         * buffer.[Ch] (sgmlOpenTag):
12576         (sgmlCloseTag): Added support for avoiding pernicious mixed
12577         content. Return number of lines written.
12578
12579         (makeLinuxDocFile):
12580         (makeDocBookFile): Fixed calls to sgml*Tag.
12581         Simple white space clean.
12582
12583         (simpleDocBookOnePar): Simple white space clean.
12584
12585         * tabular.[Ch] (docBook): Renamed to docbook and got another
12586         argument to related with the pernicious mixed content.
12587
12588         (docbookRow): Fixed calls for docbook inset method.
12589
12590 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12591
12592         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12593         so it's X11 independent.
12594
12595         * kb*.[Ch]: ditto.
12596
12597         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12598
12599 2002-06-15  Lyx Development team  <lyx@electronia>
12600
12601         * intl.h: Renamed getTrans to getTransManager.
12602
12603 2002-06-14  Angus Leeming  <leeming@lyx.org>
12604
12605         * Makefile.am: nuke forgotten stl_string_fwd.h.
12606
12607 2002-06-12  Angus Leeming  <leeming@lyx.org>
12608
12609         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12610
12611 2002-06-13  Angus Leeming  <leeming@lyx.org>
12612
12613         * LaTeX.C:
12614         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12615
12616 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12617
12618         * kbmap.C (getiso): add support for cyrillic and greek
12619
12620 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12621
12622         * BufferView.h:
12623         * BufferView.C:
12624         * BufferView_pimpl.h:
12625         * BufferView_pimpl.C: move bogus scrolling logic
12626           to xforms
12627
12628 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12629
12630         * lyxfunc.C:
12631         * BufferView_pimpl.C: view->resize() change
12632
12633 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12634
12635         * BufferView_pimpl.C: topCursorVisible
12636           prototype change
12637
12638 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * Makefile.am:
12641         * lyx_gui.h:
12642         * lyx_gui.C: move to frontends/
12643
12644         * main.C:
12645         * lyx_main.h:
12646         * lyx_main.C: changes from above
12647
12648 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12649
12650         * intl.C:
12651         * intl.h:
12652         * kbmap.C:
12653         * kbsequence.C:
12654         * lyx_cb.C:
12655         * lyx_main.C: minor tidy
12656
12657 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12658
12659         * BufferView_pimpl.h:
12660         * BufferView_pimpl.C:
12661         * BufferView.h:
12662         * BufferView.C: make painter() const,
12663           remove dead code
12664
12665         * BufferView2.C: use screen() accessor
12666
12667         * lyx_main.h:
12668         * lyx_main.C: some minor cleanup
12669
12670 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12671
12672         * BufferView_pimpl.h:
12673         * BufferView_pimpl.C: remove enter/leaveView,
12674           use workHeight()
12675
12676 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12677
12678         * BufferView.h:
12679         * BufferView.C:
12680         * BufferView2.C:
12681         * BufferView_pimpl.h:
12682         * BufferView_pimpl.C: only construct screen once,
12683           rename
12684
12685         * lyxrc.C: remove pointless comment
12686
12687 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12688
12689         * BufferView.h:
12690         * BufferView.C: remove active() and belowMouse()
12691
12692         * BufferView_pimpl.h:
12693         * BufferView_pimpl.C: use workarea() not workarea_,
12694           and make it use a scoped_ptr instead
12695
12696 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * lyx_gui.C: add debug message on BadWindow
12699
12700 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12701
12702         * sp_spell.C: fdopen is not part of the C++ standard.
12703
12704         * paragraph.C (InsetIterator): use >= instead of ==
12705
12706 2002-06-07  Angus Leeming  <leeming@lyx.org>
12707
12708         Fixes needed to compile with Compaq cxx 6.5.
12709         * BufferView_pimpl.C:
12710         * DepTable.C:
12711         * buffer.C:
12712         * converter.C:
12713         * encoding.C:
12714         * lyx_gui.C:
12715         * lyx_main.C:
12716         * lyxtextclasslist.C:
12717         * minibuffer.C:
12718         * sp_spell.C:
12719         * tabular_funcs.C:
12720         * vc-backend.C:
12721         all c-library variables have been moved into namespace std. Wrap
12722         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12723
12724         * lyxlength.C:
12725         * tabular-old.C:
12726         * tabular.C:
12727         Add a using std::abs declaration.
12728
12729         * kbmap.h (modifier_pair):
12730         * paragraph.h (InsetTable, InsetList):
12731         * lyxfont.h (FontBits):
12732         type definition made public.
12733
12734         * bufferlist.C (emergencyWriteAll): the compiler complains that
12735         there is more than one possible lyx::class_fun template to choose from.
12736         I re-named the void specialisation as lyx::void_class_fun.
12737
12738         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12739
12740         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12741         the compiler is is unable to find tostr in write_attribute.
12742
12743 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12744
12745         * buffer.C (sgmlError): hide #warning
12746
12747 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12748
12749         * xtl/*: get rid of xtl, which is not in use anyway
12750
12751         * LyXAction.C (init):
12752         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12753         were unimplemented xtl experimentation
12754
12755 2002-06-04  André Pönitz <poenitz@gmx.net>
12756
12757         * lyxfunc.C: disable array operation on simple formulae
12758
12759 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12760
12761         * converter.C: constify a bit
12762
12763 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12764
12765         * lyx_gui.C: check xforms version correctly
12766
12767 2002-04-30  Herbert Voss  <voss@lyx.org>
12768
12769         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12770         "keep" option
12771
12772 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12773
12774         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12775           attempt to register it with a VCS)
12776
12777 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12778
12779         * lyx_main.C (init): honor variables LYX_DIR_13x and
12780         LYX_USERDIR_13x
12781
12782 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12783
12784         * buffer.h:
12785         * buffer.C:
12786         * lyx_main.C: fix a crash on bad command line,
12787           and give a useful exit status on error
12788
12789         * lyxfunc.C (doImport): allow -i lyx to work
12790
12791 2002-03-30  André Pönitz <poenitz@gmx.net>
12792
12793         * lyxfunc.C: mathed font changes
12794
12795 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12796
12797         * LaTeX.C:
12798         * importer.h:
12799         * importer.C:
12800         * lyx_sty.h:
12801         * lyx_sty.C:
12802         * lyxlex.C:
12803         * lyxrow.h:
12804         * lyxtext.h:
12805         * paragraph.h:
12806         * paragraph.C:
12807         * texrow.h:
12808         * texrow.C:
12809         * text.C:
12810         * trans_mgr.h: srcdocs, and some minor cleanups
12811
12812 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12813
12814         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12815         call getFont all the time)
12816
12817 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12818
12819         * switch from SigC signals to boost::signals
12820
12821 2002-05-29  André Pönitz <poenitz@gmx.net>
12822
12823         * paragraph_pimpl.C (getChar): don't call size() too often...
12824
12825 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12826
12827         * paragraph_pimpl.C (insertChar): do not try to update tables when
12828         appending (pos == size())
12829
12830         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12831         in order to reduce drastically the number of comparisons needed to
12832         parse a large document
12833
12834 2002-05-29  André Pönitz <poenitz@gmx.net>
12835
12836         * text.C:
12837         * text2.C:
12838         * lyxtextclass.C:
12839         * sp_pspell.h:
12840         * textclasslist.[Ch]:
12841         * sp_ispell.h: whitespace change
12842
12843 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12844
12845         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12846         lyxaction directly now.
12847
12848 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12849
12850         * trans.C:
12851         * lyxfont.C:
12852         * lyxvc.C: remove unused headers
12853
12854 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12855
12856         * Makefile.am:
12857         * buffer.h:
12858         * undostack.h:
12859         * undostack.C:
12860         * undo_funcs.h:
12861         * undo_funcs.C: some cleanups. Use shared_ptr
12862           and a template for the undo stacks.
12863
12864 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12865
12866         * BufferView_pimpl.h:
12867         * BufferView_pimpl.C:
12868         * kbmap.h:
12869         * kbmap.C:
12870         * kbsequence.h:
12871         * kbsequence.C:
12872         * lyxfunc.h:
12873         * lyxfunc.C:
12874         * text2.C: use key_state/mouse_state
12875
12876 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12877
12878         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12879         and LSubstring
12880
12881         * chset.C: change include order
12882         (loadFile): use boost regex and get rid of LRegex and LSubstring
12883
12884         * Makefile.am (BOOST_LIBS): new variable
12885         (lyx_LDADD): use it
12886
12887         * LaTeX.C: change include order.
12888         (scanAuxFile): use boost regex and get rid of LRegex and
12889         LSubstring
12890         (deplog): ditto
12891
12892 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12893
12894         * ColorHandler.h:
12895         * ColorHandler.C:
12896         * FontInfo.h:
12897         * FontInfo.C: moved to frontends/xforms/
12898
12899         * FontLoader.h:
12900         * FontLoader.C: moved into frontends for GUIIzation
12901
12902         * Makefile.am:
12903         * lyx_gui.C:
12904         * lyxfont.C:
12905         * lyxfunc.C: changes from above
12906
12907 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12908
12909         * LColor.C: remove spurious X include
12910
12911         * BufferView_pimpl.C:
12912         * Makefile.am:
12913         * font.h:
12914         * font.C:
12915         * text.C:
12916         * text2.C: move font metrics to frontends/
12917
12918 2002-05-24  Juergen Vigna  <jug@sad.it>
12919
12920         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12921         setting the undo_cursor.
12922
12923         * ParagraphParameters.h: include local includes first.
12924
12925 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12926
12927         * BufferView_pimpl.C:
12928         * BufferView_pimpl.h:
12929         * Makefile.am:
12930         * WorkArea.h:
12931         * WorkArea.C:
12932         * screen.C: move WorkArea into frontends/
12933
12934         * lyxscreen.h:
12935         * screen.C:
12936         * text.C:
12937         * BufferView.C:
12938         * BufferView2.C: move LyXScreen into frontends/
12939
12940         * lyxlookup.h:
12941         * lyxlookup.C:
12942         * lyx_gui.C: move lyxlookup into frontends/xforms/
12943
12944 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12945
12946         * BufferView2.C:
12947         * BufferView_pimpl.C:
12948         * FontLoader.C:
12949         * LyXView.h:
12950         * LyXView.C:
12951         * Makefile.am:
12952         * WorkArea.C:
12953         * XFormsView.h:
12954         * XFormsView.C:
12955         * buffer.C:
12956         * bufferlist.C:
12957         * bufferview_funcs.C:
12958         * converter.C:
12959         * importer.C:
12960         * lyx_cb.C:
12961         * lyx_gui.C:
12962         * lyx_main.C:
12963         * lyx_find.C:
12964         * lyxfunc.C:
12965         * lyxvc.C:
12966         * minibuffer.C:
12967         * text.C:
12968         * text2.C:
12969         * trans.C:
12970         * vc-backend.C: move LyX/XFormsView into frontends/
12971
12972 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12973
12974         * Makefile.am:
12975         * PainterBase.C:
12976         * PainterBase.h:
12977         * Painter.C:
12978         * Painter.h:
12979         * WorkArea.C:
12980         * WorkArea.h:
12981         * screen.C:
12982         * tabular.C:
12983         * text.C:
12984         * text2.C: move Painter to frontends/
12985
12986 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12987
12988         * buffer.C: comment out some some code that depend upon lyx_format
12989         < 220
12990
12991         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12992         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12993
12994         * buffer.h (NO_COMPABILITY): turn off compability
12995
12996         * ColorHandler.C: include scoped_array.hpp
12997
12998         * font.C: Use more specific smart_ptr header.
12999         * Painter.C: ditto
13000         * gettext.C: ditto
13001         * ShareContainer.h: ditto
13002         * lyx_main.h: ditto
13003         * kbmap.h: ditto
13004         * FontInfo.h: ditto
13005         * BufferView_pimpl.h: ditto
13006         * ColorHandler.h: ditto
13007
13008         * kbmap.C (defkey): change call to shared_ptr::reset
13009
13010 2002-05-21  Juergen Vigna  <jug@sad.it>
13011
13012         * buffer.C (insertErtContents): fix to insert ert asis if it is
13013         non empty. Skip it completely if it contains only whitespaces.
13014
13015 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13016
13017         * BufferView_pimpl.C:
13018         * BufferView2.C: clear selection on paste (bug 393)
13019
13020 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13021
13022         * DepTable.C: include ctime
13023
13024 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13025
13026         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13027
13028 2002-05-14  Juergen Vigna  <jug@sad.it>
13029
13030         * text.C (breakParagraph): fixed function to honor the keepempty
13031         layout in the right maner and also to permit the right breaking
13032         algorithm on empty or non empyt keepempty paragraphs.
13033
13034         * paragraph.C (breakParagraph): we have to check also if the par
13035         is really empty (!size()) for isempty otherwise we do the wrong
13036         paragraph break.
13037
13038 2002-05-10  Juergen Vigna  <jug@sad.it>
13039
13040         * buffer.[Ch] : The following are only changes to the ert
13041         compatibility read reading old LaTeX layout and font stuff and
13042         convert it to ERTInsets.
13043
13044         * buffer.h: added isErtInset().
13045
13046         * buffer.C (struct ErtComp): add a fromlayout bool to check
13047         if we're inside a LaTeX layout.
13048         (isErtInset): new helper function.
13049         (insertErtContents): look for other ert insets before this one
13050         and insert the contents there, so that we don't have subsequent
13051         ERT insets with nothing between them. This way we create only one
13052         inset with multiple paragraphs. Also check if we don't insert only
13053         spaces ' ' as they are ignored anyway afterwards in the .tex file
13054         so if we have only spaces we will ignore this latex part in the
13055         new file.
13056         (parseSingleLyXformat2Token \\layout): better compatibility when
13057         reading layout-latex stuff.
13058         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13059         language tag.
13060         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13061         stuff after reading the inset only get the information back from
13062         the stack.
13063
13064 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13065
13066         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13067
13068         * LaTeXFeatures.C (getBabelOptions): New method.
13069
13070 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * BufferView_pimpl.C (Dispatch): work around missing argument for
13073         'layout'
13074
13075 2002-05-08  Juergen Vigna  <jug@sad.it>
13076
13077         * text.C (leftMargin): handle paragraph leftindent.
13078
13079         * paragraph.C (writeFile): write the new \\leftindent tag.
13080         (validate): handle leftindent code.
13081         (TeXEnvironment): handle paragraphleftindent code again.
13082
13083         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13084
13085         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13086         for paragrap_extra indent code and new token \\leftindent.
13087         (latexParagraphs): handle the leftindent as environment.
13088
13089         * ParameterStruct.h: added leftindent support.
13090
13091         * ParagraphParameters.C (leftIndent): added support functions for
13092         the paragraph left indent.
13093
13094         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13095         more appropriate.
13096
13097 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13098
13099         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13100         inside insetERT.
13101
13102         * text.C (computeBidiTables): No bidi in insetERT.
13103
13104         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13105         in RTL documents.
13106
13107 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13108
13109         * version.C.in: pre 5
13110
13111 2002-05-02  José Matos  <jamatos@fep.up.pt>
13112         * buffer.C (makeDocBookFile): white space changes, add newline to
13113         command styles.
13114         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13115
13116         * tabular.C (docBook): fix typo.
13117
13118 2002-05-03  Juergen Vigna  <jug@sad.it>
13119
13120         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13121         change in LyXText as we can not be sure it was not freed.
13122         (drawOneRow): remove unused code.
13123
13124         * text.C (drawInset): redo the calculation of the need_break_row as
13125         it could have a row which was already freed.
13126         (draw): look at the return value of drawInset and return false if
13127         it also returned false.
13128         (paintRowText): look at the return value of draw and return false if
13129         it also returned false.
13130
13131         * lyxtext.h: added bool return type to drawInset() and draw() so that
13132         if we have a change in the row so that the rowbreak has to be redone
13133         we abort drawing as it will be called again.
13134
13135 2002-05-02  Juergen Vigna  <jug@sad.it>
13136
13137         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13138         a change in the maintext also if we're inside an inset.
13139         (Dispatch): set the cursor again after a break line and after the
13140         screen has been updated as it could be we're in a different row.
13141
13142         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13143         to set the cursor behind the pargraph with > size().
13144         (setCursor): check also for the same paragraph when checking where
13145         to put the cursor if we have a NFR inset.
13146
13147         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13148         parts of layout read further up as it still was in the wrong
13149         position.
13150
13151 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13152
13153         * screen.C (drawFromTo): change sine fullRebreak always return
13154         true.
13155
13156         * buffer.C (parseSingleLyXformat2Token): reindent some
13157
13158         * BufferView_pimpl.C (update): change since fullRebreak always
13159         return true.
13160         (Dispatch): git rid of the last hardcoded "Standard"s.
13161
13162 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * text2.[Ch] (fullRebreak): make it return void now that we always
13165         returned true.
13166
13167 2002-04-30  Juergen Vigna  <jug@sad.it>
13168
13169         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13170         ert compatibility check for "latex" layout.
13171
13172 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13173
13174         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13175         minipages: use col% instead of p%, and also use the current font.
13176         (makeLaTeXFile): Fix use babel condition.
13177         (parseSingleLyXformat2Token): Correct font when reading old floats.
13178
13179 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13180
13181         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13182         inserting list of floats.
13183
13184 2002-04-25  Herbert Voss  <voss@lyx.org>
13185
13186         * MenuBackend.C (expand): don't add the graphics extensions to the
13187         export menu
13188
13189 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13190
13191         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13192         non-existing layout, do not complain if it was the default layout
13193         of the original class (bug #342)
13194
13195 2002-04-24  Juergen Vigna  <jug@sad.it>
13196
13197         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13198         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13199
13200 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13201
13202         * buffer.C (getBibkeyList): If using \bibliography, return the
13203         option field with the reference itself. Enables us to provide natbib
13204         support when using \bibliography.
13205
13206 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13207
13208         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13209
13210         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13211         natbib is provided by the LaTeX class.
13212
13213 2002-04-23  Juergen Vigna  <jug@sad.it>
13214
13215         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13216         Wakeup functions.
13217
13218         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13219
13220 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13221
13222         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13223
13224         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13225         ensuremath around textordmasculine, textordfeminine and
13226         textdegree.
13227
13228 2002-04-19  Juergen Vigna  <jug@sad.it>
13229
13230         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13231         reinitializing the buffer otherwise row-dimensions may be wrong.
13232         (update): reset also the selection cursors if they do exits otherwise
13233         their x/y positions may be wrong.
13234
13235         * text2.C (cursorDown): don't enter the inset if we came from a row
13236         above and are one row over the inset.
13237
13238         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13239         really leaving an inset.
13240
13241 2002-04-18  Juergen Vigna  <jug@sad.it>
13242
13243         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13244         of the selected paragraph does not have the selected layout also if
13245         the last one had!
13246
13247         * text2.C (setLayout): fixed bug which did not change last selected
13248         paragraph.
13249
13250         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13251         changed the read and substituted \\end_float with \\end_inset!
13252
13253         * BufferView_pimpl.C (cursorPrevious):
13254         (cursorNext): fixed to make it work with rows heigher than the work
13255         area without moving the cursor only the draw of the row.
13256         (workAreaMotionNotify): fix jumping over high rows.
13257
13258 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13259
13260         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13261         Ressler.
13262
13263 2002-04-16  Juergen Vigna  <jug@sad.it>
13264
13265         * text2.C (setCursor): set also the irow().
13266         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13267         (cursorUp):
13268         (cursorDown): support for locking an inset if the x_fix value goes
13269         inside it. That way I can transverse insets too with cursor up/down.
13270
13271         * lyxrow.h: added irow helper function same as other (i) functions.
13272
13273         * BufferView_pimpl.C (cursorPrevious):
13274         (cursorNext): fixed for insets!
13275
13276 2002-04-15  Juergen Vigna  <jug@sad.it>
13277
13278         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13279         position otherwise it is wrong in some cases.
13280
13281         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13282         inside the inset before the call.
13283
13284 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13285
13286         * buffer.[Ch] (getBibkeyList): make it const.
13287
13288 2002-04-12  Juergen Vigna  <jug@sad.it>
13289
13290         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13291
13292         * text2.C (getCursorX): new helper function
13293         (setCursor): compute also ix_
13294         (setCursorFromCoordinates): set also ix.
13295
13296         * lyxcursor.h: added ix_ and helper functions.
13297
13298         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13299
13300         * buffer.C (insertStringAsLines): dont break paragraph if the this
13301         paragraph is inside an inset which does not permit it!
13302
13303         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13304         also with no chars on this paragraph.
13305         (paintRowText): only paint stuff if it's inside the workarea!
13306
13307         * paragraph.C (breakParagraph): honor keepempty flag and break the
13308         paragraph always below not above.
13309
13310         * BufferView2.C (unlockInset): update the paragraph layout on inset
13311         unlock as we changed paragraph in such a case.
13312
13313         * lyxfind.C (LyXFind): clear the former selection if not found!
13314
13315         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13316         again called in insertChar().
13317
13318         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13319         an inset which uses the whole row!
13320         (rightMargin): ditto.
13321         (insertChar): force a rebreak if we inserted an inset!
13322
13323 2002-03-28  Herbert Voss  <voss@lyx.org>
13324
13325         * lyxlength.[Ch]: add inBP() to get the right PS-point
13326         units (BigPoint). With inPixels we have rounding errors
13327
13328 2002-04-11  Juergen Vigna  <jug@sad.it>
13329
13330         * text2.C (setCursorFromCoordinates): set iy to the right value.
13331         (setCursor): add check if row->previous exists!
13332
13333         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13334         an old float_type as this was the case in the old code!
13335
13336         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13337
13338         * BufferView2.C (showLockedInsetCursor): use iy
13339         (fitLockedInsetCursor): ditto
13340
13341         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13342         locked insets as there we have the right value now.
13343
13344         * lyxcursor.C: added iy_ variable and iy functions to set to the
13345         baseline of cursor-y of the locked inset.
13346
13347         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13348         (setCursor): fixed for insets which need a full row.
13349
13350         * text.C (rowLastPrintable): don't ignore the last space when before
13351         an inset which needs a full row.
13352         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13353         as last character of a row when before a inset which needs a full row.
13354
13355 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13356
13357         * version.C.in: update date
13358
13359         * text2.C (fullRebreak): try to always return true and see what
13360         happens...
13361
13362 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13363
13364         * MenuBackend.C (expand): use Floating::listName
13365
13366         * FloatList.C (FloatList): add listName argument to the built-in
13367         floats
13368
13369         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13370         text associated with the float.
13371
13372 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13373
13374         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13375
13376 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13377
13378         * ShareContainer.h: add a couple of missing typenames.
13379
13380 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13381
13382         * lyxrc.C (getDescription): use _() correctly rather than N_().
13383
13384 2002-03-28  Herbert Voss  <voss@lyx.org>
13385
13386         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13387         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13388
13389 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13390
13391         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13392         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13393
13394 2002-03-29  Juergen Vigna  <jug@sad.it>
13395
13396         * lyxfunc.C (dispatch): add a missing fitCursor call.
13397
13398         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13399         it was scrolled by a cursor move, so return the bool status.
13400
13401         * BufferView.C (fitCursor): return the bool flag also to the outside
13402         world as this is needed.
13403
13404         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13405
13406         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13407         call the edit() as it is not needed (and wrong) IMO.
13408         (workAreaButtonPress): set the screen_first variable before evt.
13409         unlock the inset as this may change screen_first and then we have
13410         a wrong y position for the click!
13411
13412 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13413
13414         * MenuBackend.C (expand): another translation that I missed
13415
13416 2002-03-28  Juergen Vigna  <jug@sad.it>
13417
13418         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13419
13420         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13421
13422 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13423
13424         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13425
13426         * MenuBackend.C (expand): fix export/view/update when there is no
13427         document open.
13428
13429 2002-03-27  Herbert Voss  <voss@lyx.org>
13430
13431         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13432         and text%
13433
13434 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13435
13436         * bufferview_funcs.C (currentState): only show paragraph number
13437         for is DEVEL_VERSION is set.
13438
13439         * lyxfunc.C (dispatch): put warning in INFO channel
13440
13441         * MenuBackend.C (expand): translate the name of floats
13442
13443         * FloatList.C (FloatList): mark the float names for translation
13444
13445         * converter.C (convert): use LibScriptSearch
13446
13447 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13448
13449         * MenuBackend.C (defaults): fix default menu (we might as well get
13450         rid of it...)
13451
13452 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13453
13454         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13455         directory.
13456
13457 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13458
13459         * lyxvc.C: reorder includes.
13460
13461 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13462
13463         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13464           properly
13465
13466 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13467
13468         * CutAndPaste.C: change layouts earlier on paste
13469           to avoid crashing when calling getFont()
13470
13471 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13472
13473         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13474         irritating #error.
13475
13476 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13477
13478         * WorkArea.C: remove 'Pending' debug message.
13479
13480         * most files: ws cleanup
13481
13482         * buffer.[Ch]: ws changes
13483
13484         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13485
13486 2002-03-21  Juergen Vigna  <jug@sad.it>
13487
13488         * tabular.C (SetMultiColumn): collapse also the contents of the
13489         cells and set the last border right. Added a Buffer const * param.
13490
13491 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13492
13493         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13494         linking or not.
13495
13496 2002-03-19  Juergen Vigna  <jug@sad.it>
13497
13498         * text2.C (clearSelection): reset also xsel_cache.
13499
13500         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13501         where it needs to be called (John tells us to do so too :)
13502         (selectionLost): reset sel_cache.
13503
13504         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13505
13506 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13507
13508         * text2.C (setCursorIntern): put debuging code in INSETS channel
13509
13510 2002-03-19  André Pönitz <poenitz@gmx.net>
13511
13512         * lyxfunc.C: tiny whitespace change
13513
13514 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13515
13516         * ToolbarDefaults.C (init):
13517         * LyXAction.C (init):
13518         * commandtags.h:
13519         * BufferView_pimpl.C (Dispatch):
13520         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13521
13522 2002-03-19  Allan Rae  <rae@lyx.org>
13523
13524         * exporter.C (Export): removeAutoInsets before doing anything else.
13525         While I've just introduced a dependency on BufferView this really is
13526         the best place to clean the buffer otherwise you need to cleanup in
13527         a dozen places before calling export or cleanup in a dozen functions
13528         that export calls.
13529
13530         * converter.C (runLaTeX):
13531         (scanLog): Better handling of removeAutoInsets and screen updates.
13532
13533         * lyxfunc.C (dispatch): small whitespace changes
13534
13535 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13536
13537         * WorkArea.C (C_WorkAreaEvent): return a value.
13538         (event_cb): return 1 if we handled the event, 0 otherwise.
13539
13540         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13541
13542 2002-03-18  Juergen Vigna  <jug@sad.it>
13543
13544         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13545         (GetAdditionalWidth): ditto.
13546         (RightLine): ditto.
13547         (LeftLine): ditto.
13548
13549         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13550         inset if we're there actually (probably not used right now but this
13551         is the direction to go for unifying code).
13552         (paste): disable code to clear the selection.
13553
13554         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13555         inside an InsetText and move the check further up as it is in the
13556         wrong place.
13557
13558         * text2.C (pasteSelection): set a selection over the pasted text.
13559
13560 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13561
13562         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13563         and libgraphics to build on Cygwin.
13564
13565 2002-03-15  Juergen Vigna  <jug@sad.it>
13566
13567         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13568         inserting an Inset into the paragraph. I know this is not the best
13569         fix but we already use current_view in CutAndPaste so we will remove
13570         all of it's using at the same time.
13571
13572         * buffer.C (sgmlError): deactivated function till it is rewritten in
13573         the right mode, now it can create problems.
13574
13575         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13576         before accessing it.
13577
13578 2002-03-14  Juergen Vigna  <jug@sad.it>
13579
13580         * undo_funcs.C (textHandleUndo): do the right thing when updating
13581         the inset after the undo/redo.
13582
13583         * text2.C (setCursor): just some testcode for #44 not ready yet.
13584
13585         * undo_funcs.C (textHandleUndo): set the next() and previous()
13586         pointers of the paragraph to 0 before deleting otherwise we have
13587         problems with the Paragraph::[destructor].
13588
13589         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13590         on a paragraph insertion.
13591
13592 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13593
13594         * buffer.C (asciiParagraph): use += operator for char append to
13595         string.
13596
13597         * paragraph.C (getFontSettings): compare >= not just >
13598         (highestFontInRange): ditto
13599         (setFont): ditto
13600
13601 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13602
13603         * paragraph.C: change several algorithm to be more appripriate for
13604         the problem domain. This is lookip in FontList and in the InsetList.
13605
13606 2002-03-13  André Pönitz <poenitz@gmx.net>
13607
13608         * commandtags.h:
13609         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13610
13611 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13612
13613         * commandtags.h:
13614         * LyXAction.C:
13615         * lyxfunc.C:
13616         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13617
13618 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13619
13620         * Painter.C (display): anon helper function, adjust code for this
13621         change.
13622         (pixmap): remove function.
13623
13624         * Painter.h: remove private display variable.
13625
13626         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13627
13628 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13629
13630         * WorkArea.[Ch]: remove figinset_canvas cruft.
13631
13632 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13633
13634         * lyxtextclass.C (operator): add one item cache optimization.
13635
13636         * bufferlist.h: doxy changes
13637
13638         * bufferlist.C: ws changes
13639
13640         * DepTable.[Ch] (ext_exist): place const in the right spot.
13641
13642         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13643         call resizeInsets.
13644         (workAreaExpose): call resizeInsets when the with BufferView changes.
13645         (Dispatch): adjust for protectedBlank removal
13646         (specialChar): call updateInset if the insert went ok.
13647
13648         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13649         specialChar instead.
13650
13651         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13652
13653         * BufferView.h: doxy change
13654
13655         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13656
13657         * lyxtextclass.C (operator[]): remove non-const version
13658         (defaultLayout): remove non-const version
13659
13660 2002-03-12  Juergen Vigna  <jug@sad.it>
13661
13662         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13663         did resize the LyXText too.
13664
13665         * buffer.C (readLyXformat2): set layout information on newly allocated
13666         paragraphs.
13667
13668         * tabular.C (OldFormatRead): set layout information on the paragraph.
13669
13670 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13671
13672         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13673
13674 2002-03-11  Juergen Vigna  <jug@sad.it>
13675
13676         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13677         plainly wrong.
13678         (resizeCurrentBuffer): force also the insets to resize themselfes.
13679         (moveCursorUpdate): fixed up for InsetText.
13680
13681 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13682
13683         * commandtags.h:
13684         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13685         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13686         value of Dialogs::tooltipsEnabled().
13687         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13688
13689 2002-03-08  Juergen Vigna  <jug@sad.it>
13690
13691         * BufferView_pimpl.C (updateInset): update inset inside inset also
13692         if it isn't inside theLockingInset().
13693
13694 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13695
13696         * buffer.C (asciiParagraph): redo some of the word and line length
13697         handling.
13698         (getLists): look for Caption instead of caption.
13699
13700 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13701
13702         * buffer.C (Buffer): initialize niceFile to true
13703         (makeLaTeXFile):
13704         (makeLinuxDocFile):
13705         (makeDocBookFile): make sure niceFile is true on exit
13706
13707 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13708
13709         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13710
13711 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13712
13713         * LyXSendto.C: remove.
13714         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13715         * lyx_gui.C: remove now-redundant comment.
13716         * ColorHandler.h: remove forward declaration of class WorkArea.
13717         * lyxfunc.C: remove #include "WorkArea.h".
13718
13719 2002-03-07  Juergen Vigna  <jug@sad.it>
13720
13721         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13722         got moved away with the DEPM and also set the inset_owner always
13723         right which before could have been omitted.
13724
13725 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13726
13727         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13728         wanted layout is not found.
13729
13730 2002-03-07  Juergen Vigna  <jug@sad.it>
13731
13732         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13733
13734 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13735
13736         * paragraph.C (breakParagraph): use default layout not layout of
13737         prev paragraph.
13738         (Paragraph): clear ParagraphParameters.
13739
13740 2002-03-06  Juergen Vigna  <jug@sad.it>
13741
13742         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13743         otherwise it would not be a valid lenght. Fixed a special case in
13744         the minipage compatibility read where we end the document with a
13745         minipage.
13746
13747         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13748         was set as it could be 0 for InsetTexts first entry.
13749
13750 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13751
13752         * paragraph.C (writeFile): if layout is empty write out
13753         defaultLayoutName().
13754
13755         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13756         file without named layout we set layout to defaultLayoutName().
13757
13758 2002-03-06  Juergen Vigna  <jug@sad.it>
13759
13760         * CutAndPaste.C (copySelection): set layout for new paragraph.
13761
13762         * text.C (prepareToPrint): leave ERT inset left aligned
13763         (leftMargin): don't indent paragraphs inside ERT insets
13764
13765 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13766
13767         * paragraph.C (breakParagraph): dont call clear do the work manually
13768
13769         * paragraph.[Ch] (clear): remove function
13770
13771 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13772
13773         * paragraph.C (Paragraph): dont call clear, the work has already
13774         been done.
13775
13776         * lyxtextclass.C (operator): assert if n is empty
13777
13778         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13779         work manually instead.
13780
13781 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13782
13783         * BufferView_pimpl.C: protect selectionLost against text == 0
13784
13785 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13786
13787         * text.C (breakParagraph): fix a setting layout to '0' problem.
13788
13789 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13790
13791         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13792         final location of file, for the included files, and graphics.
13793
13794 2002-03-05  Juergen Vigna  <jug@sad.it>
13795
13796         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13797
13798 2002-03-04  Juergen Vigna  <jug@sad.it>
13799
13800         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13801
13802         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13803         last column of multicolumn cells.
13804         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13805
13806 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13807
13808         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13809         file if it doesn't go to a temporary file.
13810
13811         * buffer.C (sgmlOpenTag):
13812         (sgmlCloseTag):  remove extra newline insertion.
13813
13814 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13815
13816         * text.C (getRowNearY): comment out debug msg
13817
13818 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13819
13820         * text2.C: first -> first_y
13821
13822         * text.C (getRowNearY): add some attemts at a possible
13823         optimization, not working.
13824
13825         * tabular.[Ch]: add BufferParams to several function so that newly
13826         created paragraph can be initialized to he default layotu for the
13827         buffers textclass.
13828
13829         * tabular-old.C (ReadOld): add buf->params to call of Init
13830
13831         * screen.C: rename text->first to text->first_y
13832
13833         * paragraph.C (breakParagraph): always set layout in the broken
13834         paragraph
13835
13836         * lyxtextclass.C (Read): remove lowercase
13837         (hasLayout): ditto
13838         (operator): ditto
13839         (delete_layout): ditto
13840
13841         * lyxtext.h: rename first -> first_y
13842
13843         * lyxlayout.C (Read): remove lowercase
13844         (name): ditto
13845         (setName): ditto
13846         (obsoleted_by): ditto
13847
13848         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13849
13850         * buffer.C (insertErtContents): add params are to InsetERT
13851         (parseSingleLyXformat2Token): add code to check if a paragraphs
13852         layout really exist.
13853         (parseSingleLyXformat2Token): add params to several inset
13854         constructors
13855         (asciiParagraph): remove lowercase, do the layout comparisons with
13856         no_case
13857
13858         * BufferView_pimpl.C (cursorNext): first -> first_y
13859         (resizeCurrentBuffer): first -> first_y
13860         (updateScrollbar): first -> first_y
13861         (scrollCB): first -> first_y
13862         (workAreaMotionNotify): first -> first_y
13863         (workAreaButtonPress): first -> first_y
13864         (checkInsetHit): first -> first_y
13865         (cursorPrevious): first -> first_y
13866         (cursorNext): first -> first_y
13867         (Dispatch): add buffer_->params to severl inset contructors
13868
13869 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13870
13871         * lyxlayout.C (Read): remove some debug info that I forgot.
13872
13873         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13874         clean up the code slightly.
13875         (makeLinuxDocFile): ditto
13876         (makeDocBookFile): ditto
13877
13878         * text2.C: layout as string
13879
13880         * text.C: layout as string
13881
13882         * paragraph_pimpl.C: layout as string
13883
13884         * paragraph.[Ch]: layout as string
13885
13886         * lyxtextclasslist.[Ch]: layout as string
13887
13888         * lyxtextclass.[Ch]: layout as string
13889
13890         * lyxtext.h: layout as string
13891
13892         * lyxlayout.[Ch]: layout as string
13893
13894         * lyx_cb.C: layout as string
13895
13896         * bufferview_funcs.C: layout as string
13897
13898         * bufferparams.C: layout as string
13899
13900         * buffer.C: layout as string
13901
13902         * LyXView.[Ch]: layout as string
13903
13904         * LaTeXFeatures.[Ch]: layout as string
13905
13906         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13907
13908         * BufferView_pimpl.C: change current_layout to string, remove
13909         lyx::layout_type.
13910         (Dispatch):
13911         (smartQuote):
13912         (insertInset):
13913         (workAreaButtonRelease): layout as string
13914
13915         * BufferView2.C (unlockInset): adjust
13916
13917         * vspace.C (asLatexCommand): use an explict temp variable.
13918
13919 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13920
13921         * Makefile.am: use FRONTEND_*
13922
13923 2002-03-01  Juergen Vigna  <jug@sad.it>
13924
13925         * tabular.C (SetWidthOfMulticolCell): changed to something better
13926         I hope but still work in progress.
13927         (recalculateMulticolumnsOfColumn): renamed function from
13928         recalculateMulticolCells as it is more appropriate now.
13929         (SetWidthOfCell): calculate multicols better.
13930
13931 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13932
13933         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13934
13935         * lyxfunc.C (processKeySym): print sequence also if it is
13936         `deleted' (complete)
13937
13938         * kbsequence.C (print): print sequence even if it is deleted
13939         (complete would be a better word, actually).
13940
13941         * lyxfunc.C (dispatch): print complete options after a prefix key
13942
13943         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13944
13945 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13946
13947         * text2.C (setCharFont): eliminate setCharFont code duplication.
13948
13949 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13950
13951         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13952         LFUN_TABULAR_FEATURE (bug #177)
13953
13954 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13955
13956         * Makefile.am: remove figure.h
13957
13958 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13959
13960         * Bufferview_pimpl.C:
13961         * CutAndPasteC:
13962         * LaTeX.C:
13963         * LyXSendto.C:
13964         * buffer.C:
13965         * bufferlist.C:
13966         * converter.C:
13967         * language.C:
13968         * lyxfunc.C:
13969         * lyxvc.C:
13970         * paragraph.C:
13971         * text.C:
13972         * text2.C: remove #include "lyx_gui_misc.h".
13973
13974         * LaTeX.C: added #include <cstdio>
13975
13976 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13977
13978         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13979         that the paragraph following this one can have.
13980
13981         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13982
13983         * vspace.C (asLatexCommand): fix bogus gcc warning
13984
13985         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13986
13987 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13988
13989         * text2.C (setLayout): get rid of redundant code
13990
13991 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13992
13993         * text2.C (incDepth): make sure depth cannot be increased beyond
13994         reasonable values.
13995
13996 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13997
13998         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13999         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14000
14001         * PainterBase.h (image):
14002         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14003         a LyXImage const *.
14004
14005 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14006
14007         * BufferView.C:
14008         * BufferView.h:
14009         * BufferView_pimpl.C:
14010         * BufferView_pimpl.h:
14011         * LaTeXFeatures.C:
14012         * LyXAction.C:
14013         * LyXView.C:
14014         * Makefile.am:
14015         * UpdateList.h:
14016         * UpdateList.C:
14017         * buffer.C:
14018         * figure.h:
14019         * figureForm.C:
14020         * figureForm.h:
14021         * figure_form.C:
14022         * figure_form.h:
14023         * lyx_cb.C:
14024         * lyx_gui.C:
14025         * lyx_gui_misc.C:
14026         * lyxfunc.C:
14027         * sp_base.h:
14028         * sp_ispell.h:
14029         * sp_pspell.h:
14030         * sp_spell.C: remove fig inset, and the crap house of
14031           cards that follows it
14032
14033 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14034
14035         * Makefile.am:
14036         * lyxserver.C:
14037         * os2_defines.h:
14038         * os2_errortable.h:
14039         * nt_defines.h: move .h into support/
14040
14041         * vms_defines.h: remove
14042
14043         * WorkArea.C: add space in debug output
14044
14045         * text2.C:
14046         * paragraph.C:
14047         * buffer.C: add WITH_WARNINGS
14048
14049         * vc-backend.h:
14050         * vc-backend.C:
14051         * bufferlist.C: s/retrive/retrieve/, add docs
14052
14053         * vspace.h:
14054         * vspace.C:
14055         * kbmap.h:
14056         * lyxlength.h:
14057         * lyxgluelength.h:
14058         * length_common.h:
14059         * chset.h:
14060         * chset.C: add docs
14061
14062         * lyxgui.C: add ID to X error handler
14063
14064         * lyxtestclass.c: fix typo
14065
14066 2002-02-26  Juergen Vigna  <jug@sad.it>
14067
14068         * tabular_funcs.C (write_attribute): changed so that some default
14069         attributes are not written at all.
14070         (getTokenValue): set default values before trying to read the
14071         value so we have the return value always set as default if we don't
14072         find the token we search for.
14073
14074         * tabular.C (Write): write bools as bools not as strings!
14075
14076 2002-02-22  Juergen Vigna  <jug@sad.it>
14077
14078         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14079         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14080
14081         * text.C (leftMargin): don't add an indent for paragraphs inside
14082         tabular cells (fix #208).
14083
14084 2002-02-21  José Matos  <jamatos@fep.up.pt>
14085
14086         * tabular.C (docBook): fixed support for long tables.
14087
14088 2002-02-20  Juergen Vigna  <jug@sad.it>
14089
14090         * text2.C (getFont): get the drawing font of the Inset if this
14091         paragraph is inside an inset (only important for InsetERT for now).
14092
14093         * buffer.C (insertErtContents): use new lanugage params in ERT
14094         constructor.
14095
14096         * CutAndPaste.C: commenting out seemingly uneeded code.
14097
14098 2002-02-19  Allan Rae  <rae@lyx.org>
14099
14100         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14101         Iterators might be simple to use but they also get invalidated.
14102         (removeAutoInsets): renamed saved cursor tracking variables and added
14103         some comments to clarify what everything does.
14104
14105 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14106
14107         * Chktex.C:
14108         * LaTeX.C:
14109         * LyXSendto.C:
14110         * converter.C:
14111         * lyx_cb.C:
14112         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14113         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14114
14115         * lyxfunc.C:
14116         * vc-backend.h: remove #include "support/syscall.h"
14117
14118         * LaTeX.C:
14119         * LyXSendto.C:
14120         * converter.C: rearrange #includes in Lars' approved fashion.
14121
14122         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14123         forward declare class Timeout in the header file.
14124
14125         * XFormsView.C: changes due to the above.
14126
14127         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14128         similar to LyXView.
14129
14130         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14131         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14132
14133 2002-02-18  José Matos  <jamatos@fep.up.pt>
14134
14135         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14136         insets contents.
14137
14138 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14139
14140         * a lot of small ws changes
14141         * add a lot of using std::XXX
14142         * use std construcs some places where approp.
14143         * use some exisint stuff from lyxfunctional where approp.
14144         * Make file changes to use partial linking (lets test this now...)
14145
14146 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14147
14148         * Chktex.C:
14149         * buffer.C:
14150         remove #include "support/syscontr.h" as it's redundant. Always has been.
14151
14152         * Chktex.C:
14153         * LaTeX.C:
14154         * LyXSendto.C:
14155         * converter.C:
14156         * lyx_cb.C:
14157         * vc-backend.C:
14158         change Systemcalls::System to Systemcalls::Wait and
14159         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14160         No change of functionality, just reflects the stripped down Systemcalls
14161         class.
14162
14163 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14164
14165         * debug.[Ch]: add a GRAPHICS type to the enum.
14166
14167 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14168
14169         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14170
14171         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14172         there is an inset.
14173
14174 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14175
14176         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14177         match the changes below.
14178
14179         * text2.C (toggleInset): if there is not editable inset at cursor
14180         position, try to see if cursor is _inside_ a collapsable inset
14181         and close it.
14182
14183 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14184
14185         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14186         document menu has a nice checkbox
14187
14188 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14189
14190         * lyxlength.C (asLatexString): change PW to output as percent of
14191         \textwidth.
14192
14193         * lengthcommon.C: change '%' to 't%'
14194
14195         * lyxfunc.C (dispatch): a few comments from Martin
14196
14197 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14198
14199         * WorkArea.h:
14200         * WorkArea.C:
14201         * BufferView_pimpl.h:
14202         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14203           the X selection.
14204
14205 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14206
14207         * vspace.C (inPixels): fix compiler warning
14208
14209 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14210
14211         * lyxfunc.C (getStatus): fix status message for disabled commands.
14212
14213 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14214
14215         * BufferView_pimpl.C: fix crash on close buffer
14216         during selection (#227)
14217
14218 2002-01-27  Herbert Voss  <voss@lyx.org>
14219
14220         * buffer.C: link old Figure to new graphic inset
14221
14222 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14223
14224         * FontLoader.C (getFontinfo): Change the latex font names in order
14225         to match the names of type1inst.
14226
14227 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14228
14229         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14230
14231         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14232         (extchanged): ditto
14233         (ext_exist): ditto
14234         (remove_files_with_extension): ditto
14235         (remove_file): ditto
14236         (write): ditto
14237
14238         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14239         document is smaller than the work area height. Do not initialize
14240         static variables to 0.
14241
14242 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14243
14244         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14245
14246         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14247         LFUN_LAYOUT_PARAGRAPHS.
14248
14249         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14250         tabular. It is possible to provide a possible cell, which will
14251         typically be the actcell from the corresponding insettabular
14252
14253         * lyxfunc.C (getStatus): small cleanup; disable
14254         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14255         true
14256
14257 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14258
14259         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14260
14261         * paragraph.C (startTeXParParams):
14262         (endTeXParParams): new methods. The LaTeX code to
14263         start/end paragraph formatting
14264         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14265         empty (fixes bug #200)
14266
14267         * vspace.C (inPixels): adapt to the change below
14268         (inPixels): [later] more cleanups (remove unused variables)
14269
14270         * lyxlength.C (inPixels): change to use a width and a height as
14271         parameter.
14272
14273 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14274
14275         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14276         Replaced with \paperwidth
14277
14278         * DepTable.C (insert): add std:: qualifier
14279
14280 2002-01-18  Allan Rae  <rae@lyx.org>
14281
14282         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14283         updated also?
14284
14285         * text.C (drawInset): Turned out I didn't know enough about how
14286         rebreaking worked.  This fixes most of the redraw problems.  I see
14287         an occasional cursor trail when a line is broken now and the cursor
14288         placement can seem out by a few pixels also after a rebreak.
14289
14290 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14291
14292         * buffer.C (parseSingleLyXformat2Token): update because minipage
14293         width is now a LyXLength
14294
14295         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14296
14297         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14298         math insets
14299
14300 2002-01-17  Juergen Vigna  <jug@sad.it>
14301
14302         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14303
14304         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14305         is set correctly and the inset is updated correctly.
14306
14307 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14308
14309         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14310         the beginning of the loop.
14311
14312 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14313
14314         * lyxrc.C: improve help for use_scalable_fonts
14315
14316 2002-01-17  Allan Rae  <rae@lyx.org>
14317
14318         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14319
14320 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14321
14322         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14323         make sure to set their inset_owner to the right value (bug #171)
14324
14325 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14326
14327         * DepTable.h
14328         * DepTable.C: Implement mtime checking to reduce time spent doing
14329         CRCs.
14330
14331 2002-01-16  Juergen Vigna  <jug@sad.it>
14332
14333         * tabular.C (GetAdditionalHeight): one of error fixed.
14334
14335         * lyxrc.C (output): small fix in writing use_pspell.
14336
14337 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14338
14339         * sp_base.h: #include LString.h
14340
14341 2002-01-16  Allan Rae  <rae@lyx.org>
14342
14343         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14344         Can someone check this please?
14345
14346         * text.C (drawInset): It was possible that p.row would be removed by
14347         breakAgainOneRow upsetting a few other settings.  There may be another
14348         small tweak possible by setting need_break_row = 0 when p.row has been
14349         removed but I don't know enough about the logic here.
14350
14351 2002-01-15  Allan Rae  <rae@lyx.org>
14352
14353         * text.C (insertChar): removed conditional truism.
14354
14355         * BufferView2.C (removeAutoInsets): More tweaks.
14356         cur_par_prev could be a stray pointer.  Check for trailing empty line
14357         in case last line was cur_par and only had an error inset on it.
14358
14359 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14360
14361         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14362         absolute
14363
14364         * vc-backend.C (most methods):
14365         * exporter.C (Export):
14366         * converter.C (convert):
14367         (runLaTeX):
14368         * LyXSendto.C (SendtoApplyCB):
14369         * lyxfunc.C (dispatch):
14370         (menuNew):
14371         (open):
14372         (doImport):
14373         * lyx_cb.C (AutoSave):
14374         (InsertAsciiFile):
14375         * BufferView_pimpl.C (MenuInsertLyXFile):
14376         * buffer.C (runChktex): use Buffer::filePath().
14377
14378         * buffer.h: rename filename to filename_; rename filepath to
14379         filepath_ and make it private
14380         (filePath): new method
14381
14382         * buffer.C (writeFile): use fileName()
14383         (getLatexName):
14384
14385         * lyx_main.C (init): fix starting  of LyX when the binary is a
14386         link from so,ewhere else.
14387
14388         * minibuffer.C: include <cctype> for isprint
14389
14390 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14391
14392         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14393         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14394         name clash with InsetCollapsable's width function.
14395
14396 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14397
14398         * lastfiles.C: include <iterator>
14399
14400 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14401
14402         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14403         std::count.
14404
14405         * buffer.C (makeLaTeXFile): ditto.
14406         Also make loop operation more transparent.
14407
14408 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14409
14410         * ToolbarDefaults.C: remove trailing comma closing namespace.
14411
14412         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14413
14414         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14415         as in WorkArea.
14416
14417         * trans.C (Load): comment out unused variable, allowed.
14418
14419 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14420
14421         * minibuffer.[Ch] (append_char): new method to recieve input from the
14422         drop-down completion browser. If a key was pressed, then recieve this
14423         char and append it to the existing string.
14424         (peek_event): modify the positioning data passed to the completion
14425         browser so that it can be placed above the minibuffer rather than below.
14426 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14427
14428         * LyXAction.C (init): alloe error-next for readonly documents.
14429
14430         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14431         count.
14432
14433 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14434
14435         * bufferlist.C (readFile): create the buffer _after_ checking that
14436         the file exists.
14437
14438         * lyxfunc.C (verboseDispatch): fix handling of arguments
14439
14440         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14441
14442         * lyxrc.C: use string::erase() instead of initializing to "".
14443
14444
14445 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14446
14447         * BufferView_pimpl.h:
14448         * BufferView_pimpl.C:
14449         * WorkArea.h:
14450         * WorkArea.C:
14451         * text2.C: tell X when we have made a selection for copying
14452
14453 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14454
14455         * BufferView_pimpl.C (MenuInsertLyXFile):
14456         * lyxfunc.C (menuNew):
14457         (open):
14458         (doImport): add shortcuts to directory buttons
14459
14460         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14461         open a float)
14462
14463         * lyxfunc.C (setStatusMessage):
14464         (getStatusMessage): new methods
14465         (getStatus):use setStatusMessage instead of setErrorMessage
14466         (dispatch): when function is disabled, set error message here
14467         [instead of in getStatus previously]
14468
14469         * BufferView_pimpl.C (workAreaButtonRelease): update
14470         toolbar/menubar here too.
14471
14472 2002-01-13  Allan Rae  <rae@lyx.org>
14473
14474         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14475         Now seems indestructible.  Remaining task is to audit all other
14476         code affected by deleteEmptyParagraphMechanism.  One small quirk
14477         left is that an empty document with an error in the preamble can
14478         be made to report an error but no error box appears.  I don't know
14479         where it goes.
14480         (removeAutoInsets): Improved comments.
14481
14482 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14483
14484         * Thesaurus.h:
14485         * Thesaurus.C: update for Aiksaurus 0.14
14486
14487 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14488
14489         * text2.C (firstParagraph): removed member function, all uses
14490         replaces with ownerParagraph
14491         (redoParagraphs): here
14492         (updateInset): here
14493         (toggleAppendix): here
14494         * BufferView2.C (insertErrors): here
14495         (setCursorFromRow): here
14496
14497 2002-01-13  Allan Rae  <rae@lyx.org>
14498
14499         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14500         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14501         There is still a way to segfault this although you may have to do this
14502         multiple times: Have an InsetERT with an unknown command in it.
14503         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14504         <down-arrow>, <Enter> again, View->DVI, BANG!
14505
14506         * text2.C (setCursor):
14507         (deleteEmptyParagraphMechanism):
14508         * lyxtext.h (setCursor):
14509         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14510         Making use of the return value may help fix other bugs.
14511
14512 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14513
14514         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14515
14516         * LyXView.C (updateMenubar): call MenuBar::update here
14517         (updateToolbar): but not here
14518         (showState): do not update toolbar/menubar
14519
14520         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14521         should need to care about that.
14522
14523         * lyxfunc.C (verboseDispatch): simplify a bit
14524         (getStatus): have a version which takes a pseudoaction, and
14525         another which requires a (kb_action,string).
14526
14527         * LyXAction.C (retrieveActionArg): make it work also when action
14528         is not a pseudo-action.
14529         (getActionName): simplify a bit
14530         (helpText):
14531
14532 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14533
14534         * lyxfunc.C (verboseDispatch): new families of methods with
14535         several ways to specify a command and a bool to indicate whether
14536         the command name and shortcut should be displayed in minibuffer
14537         (eventually, we could extend that to a finer bitmask like
14538         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14539         (dispatch): the pristine dispatch command which just, well,
14540         dispatchs! Note it still sets its result to minibuffer; I'm not
14541         sure we want that.
14542
14543         * lyxfunc.h: remove setHintMessage
14544
14545         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14546
14547 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14548
14549         * BufferView_pimpl.C (specialChar): delete new inset if we have
14550         not been able to insert it.
14551
14552         * kbmap.C: revert to using int instead of kb_action, since all we
14553         are dealing with is pseudo-actions.
14554
14555         * LyXAction.C (searchActionArg): change to return int instead of
14556         kb_action, since the result is a pseudoaction.
14557
14558 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14559
14560         * buffer.C (insertErtContents): Fix (partially) the font bug.
14561
14562 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14563
14564         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14565         as the other one is broken on my machine!
14566
14567 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14568
14569         * commandtags.h:
14570         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14571
14572 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14573
14574         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14575         reflect their actual use. Provide compatibility code for older lyxrc
14576         files.
14577
14578         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14579         FL_NORMAL_STYLE.
14580         change names of popup font variables in line with the changes to lyxrc.C
14581
14582 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14583
14584         * buffer.C (asciiParagraph): avoid outputing a word twice after
14585         an inset.
14586
14587         * lyxrc.C (getDescription): document that document_path and
14588         template_path can be empty.
14589
14590 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14591
14592         * LaTeXFeatures.C (getMacros):
14593         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14594
14595         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14596
14597         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14598         getPackages.
14599         (getPackages): rename feature "floats" to "float". Use an array to
14600         iterate over 'simple' features (i.e. just a \usepackage). Add
14601         handling of "amsmath" (renamed from "amsstyle").
14602
14603 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14604
14605         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14606         features list.
14607
14608 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14609
14610         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14611         FuncStaus::FuncStatus & FuncStaus::some_method().
14612
14613 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14614
14615         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14616         of the func_satus stuff. Edited and massaged in various ways by
14617         JMarc.
14618
14619         * lyxfunc.C (getStatus): use FuncStatus
14620
14621 2002-01-08  Juergen Vigna  <jug@sad.it>
14622
14623         * text.C (nextBreakPoint): use function Inset::isChar().
14624
14625         * paragraph.C (TeXOnePar): use function
14626         Inset::forceDefaultParagraphs.
14627
14628         * buffer.C (latexParagraphs): use function
14629         Inset::forceDefaultParagraphs.
14630
14631 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14632
14633         * lyx_gui.C (init): set the style of the menu popups to
14634         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14635
14636 2002-01-07  Juergen Vigna  <jug@sad.it>
14637
14638         * text.C (setHeightOfRow): small fix
14639         (prepareToPrint): don't look at alignment if we don't have the place
14640         for doing it.
14641
14642 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14643
14644         * box.C: New file. Move the Box methods and functions out of box.h,
14645         following Lars' suggestion.
14646
14647 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14648
14649         * box.h: #include "support/LOstream.h", needed for inlined function.
14650
14651         * lyxtextclass.C:
14652         * lyxtextclasslist.C: added some using std declarations.
14653
14654 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14655
14656         * box.h: make signed dimensions to allow insets wider than
14657           the screen (bug #162)
14658
14659         * BufferView_pimpl.C: add some insetHit debug
14660
14661 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14662
14663         * vc-backend.C: add FIXME
14664
14665 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14666
14667         * lyxfunc.C (getStatus): enable code for showing math font status
14668         in toolbar/menu.
14669
14670 2002-01-07  Juergen Vigna  <jug@sad.it>
14671
14672         * text.C (nextBreakPoint): removed debug output not needed anymore.
14673
14674 2002-01-06  Juergen Vigna  <jug@sad.it>
14675
14676         * text.C (nextBreakPoint): fixed up this function we had this bug
14677         since ever but now hopefully we break row better.
14678         (insertChar): we have to check if an inset is the next char as it
14679         could now happen that a large inset is causing a break.
14680
14681 2002-01-05  Juergen Vigna  <jug@sad.it>
14682
14683         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14684         if it doesn't like to be drawed.
14685
14686 2002-01-04  Juergen Vigna  <jug@sad.it>
14687
14688         * BufferView2.C (lockInset): forgot to set a cursor.
14689
14690         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14691
14692 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14693
14694         * FormMathsPanel.C:
14695         * FormMathsPanel.h
14696         * MathsSymbols.C:
14697         * form_maths_panel.C:
14698         * form_maths_panel.h:
14699         * form_maths_panel.fd: implemented sub- and super- buttons in math
14700         panel.
14701
14702         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14703         (or ^ space) to be used as in TeX (req'd by Andr�.
14704
14705         * lyxfunc.C: Allow ^ and _ again to be used both as
14706         super/subscript (mathed) and as themselves (in text).
14707
14708 2002-01-03  Allan Rae  <rae@lyx.org>
14709
14710         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14711         "LyX" or the filename of the current buffer if it has one.  This is a
14712         modified form of John Levon's patch.
14713
14714         * XFormsView.C (setWindowTitle): also set icon title.
14715
14716         * LyXView.h (setWindowTitle): signature changed.
14717         * XFormsView.h (setWindowTitle): ditto.
14718
14719 2002-01-02  Juergen Vigna  <jug@sad.it>
14720
14721         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14722
14723 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14724
14725         * screen.C (topCursorVisible): introduce a temp var for
14726         text->cursor.row(), handle the case where this row is null. (kindo
14727         hachish)
14728
14729         * text2.C (setCursor): add a couple of asserts.
14730
14731         * paragraph.h (inset_iterator): add -> operator
14732
14733         * paragraph.[Ch] (autoDeleteInsets): remove member function
14734
14735         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14736         cursor pos correctly and handle inset deletion by itself.
14737         (insertErrors): move iterator declaration out of for expression
14738
14739         * lyxtextclass.C: add <algorithm>
14740
14741         * Makefile.am: added the new files to sources, removed layout.C
14742
14743         * layout.C: removed file
14744
14745         * layout.h: remove LYX_DUMMY_LAYOUT
14746
14747         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14748         layout.
14749
14750         * lyxlayout.[Ch]:
14751         * lyxtextclass.[Ch]:
14752         * lyxtextclasslist.[Ch]: new files
14753
14754         * include order changes to a lot of files, also changes because of
14755         the six new files.
14756
14757 2001-12-27  Juergen Vigna  <jug@sad.it>
14758
14759         * buffer.C (asciiParagraph): more fixes.
14760
14761         * tabular.C (ascii): make ascii export support export of only the
14762         data separated by a column-delimiter.
14763         (ascii): better support for ascii export.
14764
14765         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14766
14767 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14768
14769         * tabular_funcs.C: use a "using std::getline" instead of the
14770         previous fix from Angus (necessary for cxx + lyxstring)
14771
14772 2001-12-24  Juergen Vigna  <jug@sad.it>
14773
14774         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14775
14776         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14777         problems. First check a minipage also if we have some ert-contents
14778         (not only on par->size(), second set the right depth of the paragraph
14779         on the relink to the root-paragraph-list!
14780
14781         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14782         which then did not anymore update the main paragraphs on undo/redo!
14783
14784 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14785
14786         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14787         code. Support all font-changing funcs (even those which are not in
14788         menu currently). Support for reporting font settings in
14789         mathed (disabled until Andre provides a function on mathed's side).
14790
14791         * func_status.h (toggle): small helper function to set toggle
14792         state on a flag.
14793
14794 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14795
14796         * tabular_funcs.C: getline -> std::getline
14797
14798 2001-12-21  Juergen Vigna  <jug@sad.it>
14799
14800         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14801         accessed and could be 0 (I couldn't generate this but it seems
14802         Michael could!).
14803
14804 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14805
14806         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14807         * tabular_funcs.h: here and include iosfwd
14808
14809 2001-12-20  Juergen Vigna  <jug@sad.it>
14810
14811         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14812         inside inset but undo_par was.
14813
14814 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14815
14816         * Thesaurus.C: always include <config.h> in sources.
14817
14818         * Painter.h:
14819         * lyxlookup.h:
14820         * box.h: do not include <config.h> in header files
14821
14822         * text.C (paintLastRow): remove unused variable
14823
14824         * text.C (transformChar):
14825         (insertChar):
14826         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14827
14828         * Painter.C (text):
14829         * font.C (width): rewrite to use uppercase() instead of
14830         islower/toupper.
14831
14832         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14833
14834 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14835
14836         * lyxfind.C: clean up of find failure position change
14837
14838 2001-12-20  Juergen Vigna  <jug@sad.it>
14839
14840         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14841
14842         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14843         (TeXRow): added to LaTeX a single tabular row.
14844         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14845         (Latex): simplified and finally good LT-h/f support.
14846         (various_functions): just small adaptions for LT-h/f support.
14847
14848         * tabular_funcs.[hC]: added and moved here all not classfunctions
14849         of LyXTabular.
14850
14851 2001-12-19  Juergen Vigna  <jug@sad.it>
14852
14853         * tabular.[Ch]: better support for longtabular options (not finished
14854         yet!)
14855
14856 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14857
14858         * text.C (paintLastRow): use the label font instead of the font of
14859         the last character to compute the size of *_BOX. This makes more
14860         sense and avoids a crash with empty paragraphs.
14861         Use Painter::rectangle to draw EMPTY_BOX.
14862
14863 2001-12-19  Juergen Vigna  <jug@sad.it>
14864
14865         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14866         the paragraphs if the replaced paragraph is not the first one!
14867         Tried to delete not used paragraphs but does not work yet so for
14868         now it's inside #ifdef's and by default off!
14869
14870 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14871
14872         * MenuBackend.C: include "lyx_main.h" instead of declaring
14873         lastfiles (actually was declared as LastFiles* instead of a
14874         scoped_ptr).
14875
14876 2001-12-17  Juergen Vigna  <jug@sad.it>
14877
14878         * tabular.C (AppendColumn): applied John's fix
14879
14880 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14881
14882         * BufferView.h:
14883         * BufferView.C:
14884         * BufferView_pimpl.h:
14885         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14886
14887         * Makefile.am:
14888         * box.h: new start of class for above
14889
14890         * lyxfunc.C: ignore space-only minibuffer dispatches.
14891           Show the command name when it doesn't exist
14892
14893         * minibuffer.C: don't add empty lines to the history
14894
14895         * minibuffer.C: add a space on dropdown completion
14896
14897 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14898
14899         * text.C: fix line above/below drawing in insets
14900
14901 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14902
14903         * lyxlength.C (LyXLength): Initialize private variables.
14904
14905 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14906
14907         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14908         when inserting error insets.
14909
14910 2001-12-13  Juergen Vigna  <jug@sad.it>
14911
14912         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14913         actually sometimes the before-paragraph.
14914         (setUndo): don't clear the redostack if we're not actually undoing!
14915
14916 2001-12-06  Juergen Vigna  <jug@sad.it>
14917
14918         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14919         and fixed redoing of main paragraph, so we can use it now ;)
14920
14921         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14922
14923 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14924
14925         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14926         Juergen's request
14927
14928 2001-12-13  André Pönitz <poenitz@gmx.net>
14929
14930         * undostack.[Ch]:
14931         * undo_func.C: minor cleanup
14932
14933 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14934
14935         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14936         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14937         font in urw-fonts package which is marked as -urw-fontspecific and
14938         does not work (incidentally, changing the encoding in the
14939         fonts.dir of this package to -adobe-fontspecific fixes the
14940         problem).
14941
14942         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14943         is a crash when undoing first paragraph (Juergen, please take a
14944         look). THis does not mean the undo fix is wrong, just that it
14945         uncovers problems.
14946
14947         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14948         the (Paragraph*) version when needed instead of duplicating the
14949         code.
14950
14951         * text.C (workWidth): use Inset::parOwner to find out where the
14952         inset has been inserted. This is a huge performance gain for large
14953         documents with lots of insets. If Inset::parOwner is not set, fall
14954         back on the brute force method
14955
14956         * paragraph_pimpl.C (insertInset):
14957         * paragraph.C (Paragraph):
14958         (cutIntoMinibuffer): set parOwner of insets when
14959         inserting/removing them
14960
14961         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14962
14963 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14964
14965         * commandtags.h:
14966         * LyXAction.C:
14967         * lyx_main.C:
14968         * lyxfunc.C:
14969         * mathed/formulabase.C:
14970         * mathed/math_cursor.[Ch]:
14971         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14972
14973
14974 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14975
14976         * lyxlength.[Ch] (operator!=): new function
14977
14978 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14979
14980         * text.C (workWidth): use Inset::parOwner to find out where the
14981         inset has been inserted. This is a huge performance gain for large
14982         documents with lots of insets. If Inset::parOwner is not set, fall
14983         back on the brute force method
14984
14985         * paragraph_pimpl.C (insertInset):
14986         * paragraph.C (Paragraph):
14987         (cutIntoMinibuffer): set parOwner of insets when
14988         inserting/removing them
14989
14990         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14991
14992 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14993
14994         * tabular-old.C (getTokenValue):
14995         * tabular.C (getTokenValue):
14996         (write_attribute): new versions for LyXLength
14997         (everywhere): adjust the use of widths
14998
14999         * tabular.h: change the type of widths from string to LyXLength
15000
15001 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15002
15003         * paragraph.C: fixed missing line number count when exporting
15004         Environments to LaTeX file
15005
15006         * buffer.C: added informational message for checking line numbers.
15007
15008 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15009
15010         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15011         paragraph, do the 'double space' part, but not the 'empty
15012         paragraph' one.
15013
15014         * text.C (workWidth): small optimization
15015         (getLengthMarkerHeight): use minimal size for negative lengths.
15016
15017 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15018
15019         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15020
15021         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15022
15023 2001-12-11  André Pönitz <poenitz@gmx.net>
15024
15025         * FontLoader.C:
15026         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15027
15028 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15029
15030         * text2.C: keep selection on a setFont()
15031
15032 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15033
15034         * lyx_cb.C: another bv->text misuse, from insert label
15035
15036 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15037
15038         * kbsequence.h:
15039         * kbsequence.C: re-instate nmodifier mask
15040
15041 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15042
15043         * lyx_main.h: make lyxGUI private.
15044
15045 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15046
15047         * lyxfind.C: place the cursor correctly on failed search
15048
15049 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15050
15051         * text.C (getLengthMarkerHeight): for small heights, the arrows
15052         are not always on top/bottom of the text
15053         (drawLengthMarker): smaller arrows; take the left margin in
15054         account; draw also vfills.
15055         (paintFirstRow):
15056         (paintLastRow): remove special code for vfill and standard spaces,
15057         since everything is handled in drawLengthMarker now.
15058
15059 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15060
15061         * buffer.C (insertErtContents): try to handle font and language
15062         interaction a bit better.g
15063
15064         * ColorHandler.C (updateColor): change the hash to cover the whole
15065         LColor enum, ws cleanup
15066         (getGCLinepars): ditto
15067         (getGCLinepars): only lookup in the linecache once.
15068
15069 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15070
15071         * iterators.C (operator++): Make the iterator more robust
15072
15073         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15074         (John's patch)
15075         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15076
15077 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15078
15079         * lyxtext.h:
15080         * text.C: better added space drawing
15081
15082 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15083
15084         * LyXView.C:
15085         * BufferView2.C: fix layout combo update on inset unlock
15086
15087 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15088
15089         * Makefile.am: don't compile unused files
15090
15091 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15092
15093         * lyxfunc.C:
15094         * commandtags.h:
15095         * LyXAction.C: remove old LFUN_LAYOUTNO
15096
15097 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15098
15099         * paragraph_pimpl.h:
15100         * paragraph_pimpl.C: isTextAt() doesn't need font param
15101
15102 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15103
15104         * lyxlex.h:
15105         * lyxlex.C: little cleanup
15106
15107 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15108
15109         * BufferView_pimpl.C: fix insertAscii for insets
15110
15111 2001-12-05  Juergen Vigna  <jug@sad.it>
15112
15113         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15114         set the right font on the "multi" paragraph paste!
15115
15116 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15117
15118         * trans_decl.h:
15119         * trans_mgr.[Ch]:
15120         * trans.[Ch]:
15121         * lyxgluelength.C:
15122         * lyxlength.C: remove out-commented code.
15123
15124         * BufferView_pimpl:
15125         * CutAndPaste.C:
15126         * DepTable.C:
15127         * buffer.C:
15128         * chset.C:
15129         * lastfiles.C:
15130         * lyxlex.C:
15131         * lyxlex_pimpl.C:
15132         * lyxserver.C:
15133         * screen.C:
15134         * tabular-old.C:
15135         * tabular.C:
15136         * text.C:
15137         * trans_mgr.C:
15138         * vc-backend.C: change "while(" to "while ("
15139
15140         * lyxlength.[Ch]: add zero function to check if length is zero or
15141         not
15142         * lyxgluelength.C: use it
15143
15144 2001-12-05  Allan Rae  <rae@lyx.org>
15145
15146         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15147         Works for 2.95.3, from what I understand of Garst's reports this should
15148         work for other g++ versions.  We're screwed if the abs(int) definition
15149         changed between bugfix releases of gcc.
15150
15151 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15152
15153         * text.C: fix chapter label offset !
15154
15155 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15156
15157         * lyxtext.h:
15158         * text.C: fix hfill at end of line, clean up
15159
15160 2001-12-04  Juergen Vigna  <jug@sad.it>
15161
15162         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15163         that we force an update of the inset and it's owners if neccessary.
15164
15165 2001-12-03  Juergen Vigna  <jug@sad.it>
15166
15167         * text.C (rowLast): simplified code
15168
15169 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15170
15171         * lyxfunc.C: fix show options on timeout
15172
15173 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15174
15175         * screen.C (topCursorVisible): scroll half a page when the cursor
15176         reached top of bottom of screen
15177
15178 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15179
15180         * minibuffer.C: deactivate on loss of focus
15181
15182 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15183
15184         * vspace.[Ch] (operator!=): add operator.
15185
15186 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15187
15188         * BufferView_pimpl.C: refuse to open an inset when
15189         there's a selection.
15190
15191 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15192
15193         * BufferView_pimpl.C: allow to click on RHS of full row insets
15194
15195 2001-11-30  Juergen Vigna  <jug@sad.it>
15196
15197         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15198         insets for undo reasons.
15199
15200 2001-11-28  André Pönitz <poenitz@gmx.net>
15201
15202         * vspace.[Ch]: cosmetical changes
15203
15204 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15205
15206         * LyXAction.h:
15207         * LyXAction.C:
15208         * lyxfunc.h:
15209         * lyxfunc.C:
15210         * kbmap.h:
15211         * kbmap.C:
15212         * lyxrc.C:
15213         * kbsequence.h:
15214         * kbsequence.C: part re-write of old kb code
15215
15216         * Painter.C:
15217         * WorkArea.C: remove Lgb_bug_find_hack
15218
15219 2001-11-30  José Matos <jamatos@fep.up.pt>
15220
15221         * buffer.C (makeDocBookFile): add a comment to point a hack.
15222         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15223         Fixed a double write of labels.
15224
15225 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15226
15227         * LaTeX.C:
15228         * LaTeX.h Fixed bug in LaTeX class where it would not
15229         re-run latex if no depfiles were changed, but the .dvi was removed.
15230
15231 2001-11-28  André Pönitz <poenitz@gmx.net>
15232
15233         * all the files from the change on 2001/11/26:
15234         use lyx::layout_type instead of LyXTextClass::size_type
15235         use lyx::textclass_type instead of LyXTextClassList::size_type
15236
15237 2001-11-29  Juergen Vigna  <jug@sad.it>
15238
15239         * text.C: added support for paragraph::isFreeSpacing()
15240
15241         * buffer.C: same as above
15242
15243         * paragraph.h: inserted isFreeSpacing() function to enable
15244         FreeSpacing inside InsetERT.
15245
15246         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15247         of the paragraph's in the cut/copy buffer to 0!
15248
15249         * text2.C (removeRow): remove the assert as it can!
15250
15251         * lyxtext.h: added helper function firstRow returning firstrow and
15252         made firstrow private again.
15253
15254         * BufferView2.C (lockInset): don't relock if we're already locked!
15255
15256         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15257         the only paragraph.
15258         (removeRow): added Assert::(firstrow)
15259
15260         * debug.C: forgot to add INSETTEXT here.
15261
15262 2001-11-28  Juergen Vigna  <jug@sad.it>
15263
15264         * sp_spell.C (initialize): changed error text to more general
15265         spellchecker command use (not only ispell!)
15266
15267         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15268
15269         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15270
15271 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15272
15273         * vspace.C: initialise lyxgluelength on failure
15274
15275 2001-11-28  Allan Rae  <rae@lyx.org>
15276
15277         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15278         declaration & definition that looks like a function declaration.
15279
15280 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15281
15282         * BufferView2.C (copy):
15283         (copyEnvironment): do not clear the selection when doing a copy.
15284
15285         * text.C (paintFirstRow): compilation fix
15286
15287 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15288
15289         * tabular.C (Latex): correct line count when writing latex.
15290
15291 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15292
15293         * paragraph_pimpl.h:
15294         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15295           bug a bit
15296
15297 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15298
15299         * text.C:
15300         * LColor.h:
15301         * LColor.C: change vfillline->added_space
15302
15303         * text.C: add markers and text for added space
15304
15305         * vspace.C: fix comment
15306
15307 2001-11-28  André Pönitz <poenitz@gmx.net>
15308
15309         * paragraph.C: whitespace changes
15310         * all the other files from the change on 2001/11/26:
15311         change *::pos_type into lyx::pos_type
15312
15313 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15314
15315         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15316         language of the document when inserting error insets.
15317
15318 2001-11-26  André Pönitz <poenitz@gmx.net>
15319
15320         * BufferView_pimpl.[Ch]:
15321         *       CutAndPaste.C:
15322         * buffer.[Ch]:
15323         * lyxcursor.[Ch]:
15324         * lyxfind.C:
15325         * lyxfunc.C:
15326         * lyxrow.[Ch]:
15327         * paragraph.[Ch]:
15328         * paragraph_pimpl.[Ch]:
15329         * sp_spell.C:
15330         * text.C:
15331         * text2.C: reduce header dependencies, introduce type for positions
15332
15333 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15334
15335         * <various>: change to use Alert.h
15336
15337 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15338
15339         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15340         when encountering an unknown token.
15341         (readLyXformat2): Show an error message if there were unknown tokens.
15342
15343 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15344
15345         * BufferView2.C:
15346         * BufferView_pimpl.C:
15347         * buffer.C:
15348         * paragraph.h:
15349         * text.C:
15350         * text2.C: use par->isInset()
15351
15352 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15353
15354         * paragraph_pimpl.h:
15355         * paragraph_pimpl.C: cleanup
15356
15357 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15358
15359         * text2.C (removeRow):
15360         * text.C (setHeightOfRow): remove useless (and costly) call to
15361         getRow.
15362
15363 2001-11-20  Allan Rae  <rae@lyx.org>
15364
15365         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15366         Now need Inset*::checkInsertChar() to return true for appropriate
15367         cases so that the characters in the minibuffer will actually be
15368         inserted.
15369
15370 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15371
15372         * text.C: change the order of the includes.
15373         (workWidth): initialize it at once.
15374         (workWidth): make maxw unsigned
15375         (setHeightOfRow): remove unused variable (inset)
15376         (selectSelectedWord): remove unused variable (inset)
15377         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15378
15379 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15382         server is not running.
15383         (openConnection):
15384         (closeConnection): add debug info when server is disabled.
15385
15386         * ColorHandler.C (getGCForeground): send debug message to GUI
15387         channel.
15388
15389         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15390
15391         * kbmap.C (bind): modify because return conventions of
15392         kb_sequence::parse have changed.
15393
15394         * kbsequence.C (parse): only ignore spaces and not any stupid
15395         control character. This avoids tests like s[i] <= ' ', which are
15396         guaranteed to fail with 8bit characters and signed chars.
15397         Change return code to string::npos when there have been no error
15398         (0 was a bad idea when error is at first character)
15399
15400 2001-11-14  José Matos  <jamatos@fep.up.pt>
15401
15402         * buffer.h:
15403         * buffer.C (simpleDocBookOnePar): removed unused argument.
15404
15405 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15406
15407         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15408         insets which are part of a word. Paragraph::isLetter takes care of
15409         that now. Use Paragraph::isInset to identify insets.
15410         (selectSelectedWord): do not test for hyphenation break.
15411
15412         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15413         that protected spaces are considered as spaces.
15414
15415         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15416         Inset::isLetter.
15417
15418 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15419
15420         * lyxserver.h:
15421         * lyxserver.C: fix it. and small cleanup.
15422
15423 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15424
15425         * BufferView_pimpl.C: use inline helpers
15426
15427         * LaTeXFeatures.h:
15428         * LaTeXFeatures.C: fix typos
15429
15430         * Spacing.h:
15431         * Spacing.C: move spacing_string into class
15432
15433         * ToolbarDefaults.C: move stuff into namespace anon
15434
15435         * layout.h: update enum
15436
15437         * lyxfunc.C: use better debug
15438
15439         * minibuffer.h: fix typo
15440
15441         * debug.h:
15442         * debug.C:
15443         * WorkArea.C: add and use Debug::WORKAREA
15444
15445         * lyxtext.h:
15446         * text.C:
15447         * text2.C: code re-organisation, inline helpers
15448
15449 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15450
15451         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15452         std::vector.empty().
15453
15454 2001-11-09  Allan Rae  <rae@lyx.org>
15455
15456         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15457         '\n's after tables.  Tabular and ERT inset work now makes this no
15458         longer necessary.
15459
15460 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15461
15462         * minibuffer.h:
15463         * minibuffer.C: fix crash, improve drop-down completion
15464
15465 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15466
15467         * lyxserver.h:
15468         * lyxserver.C: invalidate fd's when doing endPipe()
15469
15470 2001-11-08  José Matos  <jamatos@fep.up.pt>
15471
15472         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15473         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15474
15475         * paragraph.h:
15476         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15477
15478 2001-11-07  José Matos  <jamatos@fep.up.pt>
15479
15480         * buffer.h:
15481         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15482         const qualifier.
15483
15484         * buffer.C (sgmlOpenTag):
15485         * buffer.C (sgmlCloseTag): removed debug info.
15486
15487         * buffer.h (sgmlOpenTag):
15488         * buffer.h (sgmlCloseTag): made public.
15489
15490 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15491
15492         * buffer.C (saveParamsAsDefaults):
15493         * lyx_cb.C (MenuLayoutSave): remove
15494
15495         * LyXAction.C (init):
15496         * commandtags.h:
15497         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15498
15499 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15500
15501         * buffer.C (setPaperStuff): removed from here...
15502
15503         * bufferparams.C (setPaperStuff): ... and moved there.
15504
15505 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15506
15507         * minibuffer.h:
15508         * minibuffer.C:
15509         * XFormsView.C: add support for drop-down completion
15510
15511 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15512
15513         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15514         commands.
15515
15516 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15517
15518         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15519         disabled.
15520
15521 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15522
15523         * lyx_main.C: change ref to known bugs
15524
15525 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15526
15527         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15528         to work around older babel problems.
15529
15530 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15531
15532         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15533
15534 2001-10-24  Juergen Vigna  <jug@sad.it>
15535
15536         * tabular-old.C (ReadOld): below variable changes reflected.
15537
15538         * tabular.[Ch]: added ltType struct for longtable header/footer
15539         defines and changed all instances where they are used. Added
15540         future support for double top/bottom rows.
15541
15542 2001-10-24  José Matos  <jamatos@fep.up.pt>
15543
15544         * buffer.h (docbookHandleCaption):
15545         * buffer.C (docbookHandleCaption): removed unused function.
15546         (makeDocBookFile): moved docbook supported version to v4.1.
15547
15548 2001-10-24  José Matos  <jamatos@fep.up.pt>
15549
15550         * tabular.h:
15551         * tabular.C (docbookRow): new function to export docbook code of a row.
15552         (DocBook): now honors the longtable flags.
15553
15554 2001-10-23  José Matos  <jamatos@fep.up.pt>
15555
15556         * LaTeXFeatures.h:
15557         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15558         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15559
15560         * buffer.C (makeLinuxDocFile):
15561         (makeDocBookFile): reworked the preamble, more clean, and with
15562         support for lyx defined entities. Changed the document declaration
15563         to be more XML friendly.
15564
15565         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15566         if we need to output XML that should be done with a filter.
15567
15568 2001-10-22  Juergen Vigna  <jug@sad.it>
15569
15570         * sp_pspell.h (class PSpell): add alive function needed in the
15571         controller to see if the spellchecker could be started.
15572
15573 2001-10-22  Juergen Vigna  <jug@sad.it>
15574
15575         * buffer.C (insertStringAsLines): modify the font for inserting
15576         chars in certain conditions by calling checkInsertChar(font).
15577
15578 2001-10-19  Juergen Vigna  <jug@sad.it>
15579
15580         * text.C (workWidth): use getRow instead of wrong algorithm.
15581         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15582
15583 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15584
15585         * lyxserver.h:
15586         * lyxserver.C:
15587         * lyx_main.h:
15588         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15589
15590 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15591
15592         * text.C (workWidth): do not search for the exact row when
15593         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15594         optimization for big documents.
15595
15596 2001-10-18  Juergen Vigna  <jug@sad.it>
15597
15598         * text.C (workWidth): new function with added Inset * parameter.
15599
15600 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15601
15602         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15603
15604         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15605         change return type of getColumnNearX.
15606
15607
15608         * text.C (changeRegionCase): use uppercase/lowercase instead of
15609         toupper/tolower.
15610         (leftMargin):
15611         (rightMargin): simplify code by factoring out the uses of
15612         textclasslist.
15613         (labelFill):
15614         (numberOfHfills):
15615         (setHeightOfRow):
15616         (appendParagraph): use Paragraph::size_type
15617
15618 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15619
15620         * vspace.C (asLatexString): add a missing break
15621
15622 2001-10-15  Herbert Voss  <voss@perce.de>
15623
15624         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15625
15626 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15627
15628         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15629         is not available.
15630
15631 2001-10-10  André Pönitz <poenitz@gmx.net>
15632
15633         * lyxfunc.C: removed greek_kb_flag.
15634
15635 2001-10-10  Herbert Voss  <voss@perce.de>
15636
15637         * lyx_main.C: delete global string help_lyxdir.
15638
15639 2001-10-09  Herbert Voss  <voss@perce.de>
15640
15641         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15642
15643         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15644
15645         * lyx_main.C: added global string help_lyxdir.
15646
15647         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15648
15649 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15650
15651         * lyxrc.C (set_font_norm_type): support iso8859-4
15652
15653 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15654
15655         * LaTeX.C (deplog): add another regex for MikTeX
15656
15657 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15658
15659         * lyxrc.C (set_font_norm_type): support iso8859-3
15660
15661 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15662
15663         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15664
15665         * LaTeXFeatures.C: remove special case of french and index
15666
15667         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15668         before \begin{document}). This solves several incompatibilities.
15669
15670 2001-10-03  Garst Reese  <reese@isn.net>
15671
15672         * lyx_cb.C: change CheckTex error msg.
15673
15674 2001-10-03  José Matos  <jamatos@fep.up.pt>
15675
15676         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15677
15678 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15679
15680         * .cvsignore: update
15681
15682         * lyx_main.C (commandLineVersionInfo): use new style version info.
15683
15684         * buffer.C (writeFile):
15685         (makeLaTeXFile):
15686         (makeLinuxDocFile):
15687         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15688
15689         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15690
15691         * version.h: update to use stuff in version.C
15692
15693         * version.C.in: new file. Contains version information determined
15694         at compile time. This is a merging of version.h and
15695         version_info.h.in.
15696
15697 2001-10-03  Juergen Vigna  <jug@sad.it>
15698
15699         * BufferView_pimpl.C (update): don't change "dirty" status in
15700         updateInset call.
15701
15702 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15703
15704         * WorkArea.C (c-tor): re-position version string slightly.
15705
15706 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15707
15708         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15709         revert to previous code.
15710
15711         WorkArea.[Ch]: (show, destroySplash): methods removed.
15712
15713         WorkArea.C: rework code so that it's an amalgam of the codes before and
15714         after the splash screen was moved to WorkArea.
15715
15716 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15717
15718         * lyxrc.C (read):
15719         * vspace.C (inPixels):
15720         (lyx_advance):
15721         * kbmap.C (bind):
15722         * buffer.C (insertStringAsLines):
15723         (asciiParagraph): fix types to be large enough
15724
15725         * lyxlex_pimpl.h: change member status from short to int
15726
15727         * layout.h: fix type of endlabeltype
15728
15729         * kbmap.C (bind):
15730         * kbsequence.C (parse): change return type to string::size_type
15731
15732         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15733         variable
15734
15735         * Bullet.C (bulletSize):
15736         (bulletEntry): do not use short ints as parameters
15737
15738         * BufferView2.C (insertLyXFile): change a char to an int.
15739
15740         * WorkArea.C (WorkArea): remove unneeded floats in computation
15741
15742 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15743
15744         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15745
15746         * paragraph.C (asString): Do not ignore newline/hfill chars when
15747         copying to the clipboard.
15748
15749 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15750
15751         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15752         after a multi-line inset.
15753
15754 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15755
15756         * paragraph.C (validate): Set NeedLyXFootnoteCode
15757
15758 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15759
15760         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15761         and decrease-error to decrease.
15762
15763 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15764
15765         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15766         it more readable (should be equivalent)
15767
15768 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15769
15770         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15771
15772 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15773
15774         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15775         of a cursor (row, etc.) after a character has been deleted
15776         (deleteEmptyParagraphMechanism): call the method above on _all_
15777         cursors held by the LyXText when a double space has been
15778         detected/deleted.
15779
15780 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15781
15782         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15783         pixmap.
15784         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15785
15786         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15787         background. Use greyOut() and the new show() methods to toggle between
15788         the foreground and background. Add code to remove the splash after
15789         its initial showing.
15790
15791         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15792         (create_forms): no longer call Dialogs::showSplash.
15793
15794 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15795
15796         * .cvsignore: add version_info.h
15797
15798 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15799
15800         * version_info.h.in: new file
15801
15802         * Makefile.am: add version_info.h.in
15803
15804         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15805         version_info.h instead of VERSION_INFO
15806
15807 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15808
15809         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15810         The ERT inset now returns string().
15811
15812 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15813
15814         * lyxtext.h, text.C (selectNextWord): renamed as
15815         selectNextWordToSpellcheck.
15816
15817         * text.C (selectNextWordToSpellcheck): Modified to not select
15818         words inside an ERT inset.
15819
15820 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15821
15822         * lyx_cb.C (MenuLayoutSave): change a bit the question
15823
15824         * sp_base.h: include <sys/types.h>
15825
15826 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15827
15828         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15829
15830 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15831
15832         * several files: fix typos in user-visible strings
15833
15834 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15835
15836         * text2.C (pasteSelection): do not set the selection, since it
15837         will be cleared later. Actually, the intent was to fix the way the
15838         selection was set, but I figured rmoving the code was just as good.
15839
15840 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15841
15842         * FontLoader.C (available): Check if font is available without
15843         loading the font.
15844
15845 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15846
15847         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15848
15849 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15850
15851         * lyxrc.[Ch]: added display_graphics variable and associated code.
15852
15853 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15854
15855         * bufferparams.C (hasClassDefaults): new method. Returns true if
15856         the buffer parameters correspond to known class defaults
15857
15858 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15859
15860         * XFormsView.C (show): set minimum size to the main window.
15861
15862 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15863
15864         * text2.C (copySelection):
15865         (cutSelection):
15866         * lyxfind.C (LyXReplace):
15867         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15868         LyXText::selectionAsString.
15869
15870         * paragraph.C (asString): add "label" argument to the second form
15871
15872         * text2.C (selectionAsString): add "label" argument and pass it to
15873         Paragraph::asString.
15874
15875 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15876
15877         * lyx_main.C (commandLineHelp): remove version information
15878
15879 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15880
15881         * lyx_main.C: add -version commandline option
15882
15883 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15884
15885         * paragraph.h: make the optional constructor arg required instead.
15886         some modifications to other files because of this.
15887
15888         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15889
15890         * lyxserver.C (C_LyXComm_callback): make it static
15891
15892         * lyx_main.C (error_handler): make it static
15893
15894         * lyx_gui.C (LyX_XErrHandler): make it static
15895
15896         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15897
15898         * WorkArea.C: make the extern "C" methods static.
15899
15900         * Makefile.am (lyx_LDADD): simplify
15901
15902 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15903
15904         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15905         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15906
15907         * LyXAction.C (init):
15908         * lyxfunc.C (dispatch): associated code removal.
15909
15910 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15911
15912         * lyxfont.h (isSymbolFont): shut off warning
15913
15914         * text.C (setHeightOfRow):
15915         (getVisibleRow): fix crash with empty paragraphs which have a
15916         bottom line
15917
15918 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15919
15920         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15921         code.
15922
15923 2001-09-04  José Matos  <jamatos@fep.up.pt>
15924         * buffer.C
15925         * buffer.h
15926         * tabular.C (docbook): rename docBook method to docbook.
15927
15928 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15929
15930         * Makefile.am: add dependencies to main.o.
15931
15932 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15933
15934         * FontLoader.C (available): Return false if !lyxrc.use_gui
15935
15936 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15937
15938         * FontInfo.C (query):
15939         * converter.C (view):
15940         * importer.C (Import):
15941         * exporter.C (Export): Can not -> cannot.
15942
15943 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15944
15945         * BufferView_pimpl.C: allow to create index inset even if
15946           string is empty
15947
15948 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15949
15950         * buffer.C (getLists): replace boost::tie code with an explicit pair
15951         as boost::tie can break some compilers.
15952
15953         * iterators.h: Added a std:: declaration to the return type of
15954         ParIterator::size.
15955
15956 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15957
15958         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15959           case.
15960
15961 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15962
15963         * iterators.[Ch]: New files. Provide paragraph iterators.
15964
15965         * buffer.C (changeLanguage): Use paragraph iterators.
15966         (isMultiLingual): ditto
15967
15968         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15969
15970 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15971
15972         * FontLoader.C: Support for cmr font.
15973
15974 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15975
15976         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15977         (available): New method.
15978
15979         * FontInfo.C (getFontname): Use scalable fonts even when
15980         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15981         found.
15982
15983 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15984
15985         * converter.C (Formats::view): reverted! Incorrect fix.
15986
15987 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15988
15989         * converter.C (Formats::view): only output the -paper option
15990         if the dvi viewer is xdvi, thereby fixing bug #233429.
15991
15992 2001-08-23  Herbert Voss  <voss@perce>
15993
15994         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15995
15996 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15997
15998         * Spacing.h (Spacing): Set space to Default on in the default
15999         constructor.
16000
16001 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16002
16003         * vc-backend.h (RCS::versionString): add RCS to version
16004         (CVS::versionString): add CVS to version
16005
16006         * vc-backend.C (scanMaster): do not add CVS to version.
16007         (scanMaster): do not add RCS to version
16008
16009         * lyxvc.C (versionString): new method
16010
16011         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16012
16013 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16014
16015         * Spacing.C (set): initialize fval
16016
16017 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16018
16019         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16020         " or \.
16021
16022 2001-08-16  Juergen Vigna  <jug@sad.it>
16023
16024         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16025
16026 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16027
16028         * BufferView_pimpl.C:
16029         * figureForm.C:
16030         * lyxtext.h:
16031         * text2.C: setParagraph takes linespacing now
16032
16033 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16034
16035         * LyxAction.C: add internal LFUN_CITATION_INSERT
16036
16037         * LyXView.C: actually apply fix
16038
16039         * bufferlist.C: fix open non-existent file
16040
16041         * lyxfind.C: fix indentation
16042
16043         * lyxfunc.C: remove unneeded assert, fix typo
16044
16045 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16046
16047         * MenuBackend.C: use "Floatname List"
16048
16049 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16050
16051         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16052         when converting LaTeX layout to insetERT.
16053         Generate a non-collapsed float when reading old float
16054
16055 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16056
16057         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16058         ERT insets.
16059
16060 2001-08-13  Juergen Vigna  <jug@sad.it>
16061
16062         * text.C (fill): return 0 instead of 20 as this seems to be the more
16063         correct value.
16064
16065 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16066
16067         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16068         lyxrc.font_norm.
16069
16070 2001-08-13  Juergen Vigna  <jug@sad.it>
16071
16072         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16073         casesensitive off.
16074         (SearchBackward): comment out the unlocking of the inset_owner this
16075         should not be needed!
16076
16077 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16078
16079         * Many files: Remove inherit_language, and add latex_language
16080
16081         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16082         collapsible insets.
16083
16084 2001-08-10  Juergen Vigna  <jug@sad.it>
16085
16086         * text.C (prepareToPrint): fixed hfill-width in draw!
16087
16088         * BufferView2.C (selectLastWord): save the selection cursor as this
16089         now is cleared in the function LyXText::clearSelection!
16090
16091 2001-08-08  Juergen Vigna  <jug@sad.it>
16092
16093         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16094         BACKSPACE type functions.
16095
16096         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16097         is only cutted from the document but not put in the cut-buffer, where
16098         still the old stuff should be.
16099
16100         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16101
16102         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16103
16104         * tabular.C (SetWidthOfCell): fixed special case where the width
16105         was not updated!
16106         (LeftLine): handle '|' in align_special.
16107         (RightLine): ditto
16108         (LeftAlreadyDrawed): ditto
16109         (SetWidthOfCell): ditto
16110
16111 2001-08-07  Juergen Vigna  <jug@sad.it>
16112
16113         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16114
16115 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16116
16117         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16118         * lyxlex.[hC]: ditto
16119
16120 2001-08-06  Juergen Vigna  <jug@sad.it>
16121
16122         * text.C (getVisibleRow): fix up row clearing a bit.
16123
16124 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16125
16126         * minibuffer.C: make sure the X server sees the changes in the input.
16127
16128 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16129
16130         * paragraph.C (getFont): split into...
16131         (getLabelFont): this
16132         (getLayoutFont): and this
16133         * paragraph_pimpl.C (realizeFont): calling this
16134
16135         * text2.C (getFont): split into...
16136         (getLayoutFont): this
16137         (getLabelFont): and this
16138         (realizeFont): all three calling this
16139
16140         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16141         files where used.
16142
16143 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16144
16145         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16146
16147 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16148
16149         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16150         layouts from the Quote inset insertion.
16151
16152 2001-08-03  Juergen Vigna  <jug@sad.it>
16153
16154         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16155
16156         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16157         only if status not is already CHANGED_IN_DRAW (second level).
16158
16159         * text.C (draw): don't set the need_break_row when inside an
16160         InsetText LyXText.
16161
16162 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16163
16164         * buffer.C (parseSingleLyXformat2Token): handle more latex
16165         conversion cases.
16166
16167         * bufferview_funcs.[hC]: change function names to
16168         begin with small char, adjust other files.
16169
16170 2001-08-02  André Pönitz <poenitz@gmx.net>
16171
16172         * lyxfunc.C:
16173         BufferView_pimpl.C: remove broken special code for math-greek
16174
16175 2001-08-02  Juergen Vigna  <jug@sad.it>
16176
16177         * BufferView_pimpl.C (update): redone this function so that we
16178         update the text again if there was a CHANGE_IN_DRAW.
16179
16180         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16181         (drawFromTo): added a new internal bool which is used by draw() and
16182         redraw() function.
16183         (general): some cursor drawing problems fixed.
16184
16185 2001-08-01  Juergen Vigna  <jug@sad.it>
16186
16187         * lyxfind.C (LyXFind): fixed
16188         (SearchForward): ditto
16189         (SearchBackward): ditto
16190
16191         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16192         spurius drawing of the cursor in the main area.
16193
16194         * text2.C (status): small fix which could lead to a segfault!
16195         (clearSelection): remove unneeded BufferView param.
16196
16197 2001-08-01  André Pönitz <poenitz@gmx.net>
16198
16199         * lyxfunc.C: small change due to changed mathed interface
16200
16201 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16202
16203         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16204
16205 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16206
16207         * lyxfunc.c: fail gracefully if file doesn't exist
16208
16209         * LyXSendto.C:
16210         * buffer.C:
16211         * lyxfunc.C:
16212         * BufferView_pimpl.C: IsDirWriteable() proto changed
16213
16214         * LyXView.C: fix updateWindowTitle() to store the last title
16215
16216 2001-07-31  Juergen Vigna  <jug@sad.it>
16217
16218         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16219         the font (wrong since using of Paragraph::highestFontInRange).
16220
16221         * paragraph.C (highestFontInRange): added a default_size parameter.
16222
16223         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16224         (setHeightOfRow): reformat
16225
16226 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16227
16228         * converter.[hC] + affected files: move to (inital-char)lowercase
16229         function names.
16230
16231         * ParagraphParameters.C (ParagraphParameters): remove commented code
16232
16233         * PainterBase.[Ch]: remove commented code
16234
16235         * LaTeXFeatures.h: add "bool floats" for float.sty
16236
16237         * LaTeXFeatures.C (LaTeXFeatures): init floats
16238         (require): handle float
16239         (getPackages): do it with floats
16240
16241 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16242
16243         * BufferView_pimpl.C (Dispatch): improve handling of
16244         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16245
16246         * commandtags.h: #include lyxfont.h here temporarily to avoid
16247         keybinding bug.
16248
16249         * bufferlist.h: include LString.h here.
16250
16251 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16252
16253         * text2.C (getStringToIndex): new method.
16254
16255 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16256
16257         * *: Reduced header file dependencies all over.
16258
16259 2001-07-30  Baruch Even  <baruch@lyx.org>
16260
16261         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16262
16263 2001-07-29  Baruch Even  <baruch@lyx.org>
16264
16265         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16266
16267 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16268
16269         * ParameterStruct.h (endif): add a default constructor to make
16270         sure that all variables is initialized.
16271
16272         * ParagraphParameters.C (ParagraphParameters): adjust
16273
16274 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16275
16276         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16277         index; also, check that there is something to index, and that it
16278         does not span over several paragraphs.
16279         (doubleClick): use WHOLE_WORD_STRICT for double click.
16280
16281         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16282
16283         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16284         scheme.
16285
16286 2001-07-26  Baruch Even  <baruch@lyx.org>
16287
16288         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16289         an InsetFig figure, backwards compatible reading of old figure code.
16290
16291 2001-07-27  Juergen Vigna  <jug@sad.it>
16292
16293         * text2.C: font.realize function adaption.
16294
16295         * text.C (draw): add a warnings lyxerr text if needed.
16296
16297         * layout.C: font.realize function adaption.
16298
16299         * language.C: add inherit_language and implement it's handlings
16300
16301         * bufferview_funcs.C (StyleReset): remove language parameter from
16302         font creation (should be language_inherit now).
16303
16304         * bufferparams.C (writeFile): handle ignore_language.
16305
16306         * paragraph.C (getFontSettings): the language has to be resolved
16307         otherwise we have problems in LyXFont!
16308
16309         * lyxfont.C (lyxWriteChanges): added document_language parameter
16310         (update): removed unneeded language parameter
16311
16312         * paragraph.C (validate): fixed wrong output of color-package when
16313         using interface colors for certain fonts in certain environments,
16314         which should not seen as that on the final output.
16315
16316 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16317
16318         * BufferView_pimpl.C:
16319         * Thesaurus.h:
16320         * Thesaurus.C:
16321         * Makefile.am:
16322         * commandtags.h:
16323         * LyXAction.C: add thesaurus support
16324
16325         * lyxfind.h:
16326         * lyxfind.C: add "once" parameter, for thesaurus, to not
16327           move to the next match
16328
16329 2001-07-26  Juergen Vigna  <jug@sad.it>
16330
16331         * lyxfont.C (realize): honor ignore_language too!
16332         (resolved): ditto.
16333
16334         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16335
16336         * text.C (draw): one place more for ignore_language to not draw
16337         itself!
16338
16339 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16340
16341         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16342
16343 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16344
16345         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16346         the minipage conversion problem.
16347
16348 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16349
16350         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16351         insert an inset.
16352
16353 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16354
16355         * BufferView.h: don't forward declare WorkArea
16356
16357         * BufferView.C: don't include WorkArea.h
16358
16359 2001-07-25  André Pönitz <poenitz@gmx.net>
16360
16361         * commandtags.h:
16362         * LyXAction.C:
16363         * lyxfunc.C:  new LFUN 'math-space'
16364
16365         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16366
16367 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16368
16369         * text2.C (toggleInset): call open/close
16370
16371 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16372
16373         * lyxfunc.C (dispatch): add debug for the disabled case
16374
16375         * font.C (buttonText): make similar to rectText
16376
16377         * buffer.C (readInset): comment out parsing of insetlist and
16378         insttheorem
16379
16380         * PainterBase.C (rectText): small correction
16381
16382         * BufferView_pimpl.C: comment out insettheorem and insetlist
16383         * LyXAction.C: ditto
16384         * commandtags.h: ditto
16385
16386 2001-07-24  Juergen Vigna  <jug@sad.it>
16387
16388         * text.C (draw): honor the ignore_language.
16389
16390         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16391
16392 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16393
16394         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16395         char inset.
16396
16397 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16398
16399         * lyxtext.h: remove unused (and unimplemented) methods
16400
16401 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16402
16403         * text.C (getVisibleRow): honor background color
16404
16405         * PainterBase.h:
16406         * Painter.h: remove default color argument for fillRectangle
16407
16408         * text.C (backgroundColor): new method
16409
16410 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16411
16412         * text.C (getVisibleRow): adjust
16413
16414         * font.[Ch] (rectText): new method, metrics
16415         (buttonText): new method, metrics
16416
16417         * PainterBase.[hC]: make rectText and buttonText always draw and take
16418         fewer paramteres.
16419
16420 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16421
16422         * ToolbarDefaults.C (read):
16423         * MenuBackend.C (read): allow escaping in all strings
16424
16425         * BufferView_pimpl.C (insertAndEditInset): new method.
16426         (Dispatch): use insertAndEditInset whenever appropriate.
16427
16428         * BufferView_pimpl.C (insertNote): removed
16429
16430         * BufferView_pimpl.C (smartQuote): new method, moved from
16431         BufferView; if an insetquote cannot be inserted, insert a '"'
16432         character instead.
16433
16434         * BufferView2.C: remove insertCorrectQuote();
16435
16436         * lyxfunc.C (getStatus): Add support for all remaingin
16437         inset-insert lfuns.
16438
16439         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16440
16441         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16442         command (necessary to pass " as parameter of self-insert.
16443
16444         * text.C (selectWordWhenUnderCursor):
16445         (selectWord): add word_location parameter
16446         (selectWordWhenUnderCursor): same + remove special code for word
16447         boundary.
16448         (selectNextWord): use kind() to guess type of insetspecialchar,
16449         not latex().
16450
16451         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16452         (insertErtContents): create ert insets as collapsed.
16453         (readInset): better compatibility code for Info inset.
16454
16455 2001-07-20  Juergen Vigna  <jug@sad.it>
16456
16457         * lyxfunc.C (dispatch): use always LyXFind now!
16458
16459         * text2.C (init): add a reinit flag so that the LyXText can be
16460         reinited instead of deleted and reallocated (used in InsetText).
16461
16462         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16463
16464         * text.C: ditto
16465
16466         * text2.C: ditto
16467
16468 2001-07-18  Juergen Vigna  <jug@sad.it>
16469
16470         * text.C (selectNextWord): handle insets inside inset by calling
16471         always the bv->text functions so that we can go up the_locking_inset!
16472
16473         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16474         in strange locations when inside an inset!
16475
16476         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16477         handling to include insets.
16478
16479         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16480
16481 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16482
16483         * LyXAction.C (init):
16484         * commandtags.h:
16485         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16486         LIGATURE_BREAK, since the name is so stupid.
16487
16488 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16489
16490         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16491         InsetInfos.
16492
16493         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16494
16495         * sp_form.[Ch]: remove.
16496
16497         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16498
16499         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16500         InsetInfo.
16501
16502         * src/buffer.C (readInset): ditto.
16503
16504 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16505
16506         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16507         menuSeparator(), endOfSentenceDot(), ldots() and
16508         hyphenationPoint(), which are therefore removed.
16509         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16510
16511         * LyXAction.C (init):
16512         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16513
16514         * paragraph.C (getWord): removed.
16515
16516         * BufferView_pimpl.C (Dispatch): use last word or selection for
16517         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16518
16519         * lyx_main.C (queryUserLyXDir): do not ask before creating
16520         user_dir, except if it has been named explicitely.
16521
16522 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16523
16524         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16525         a document of zero size.
16526
16527 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16528
16529         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16530         approriately in the c-tor and in require().
16531         (getPackages): output the appropriate LaTeX for natbib support.
16532
16533         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16534         variables "use_natbib" and "use_numerical_citations" when reading the
16535         LyX file.
16536         (readInset): read the various natbib cite commands.
16537         (validate): white-space change.
16538
16539         * bufferparams.[Ch]: new variables "bool use_natbib" and
16540         "bool use_numerical_citations".
16541         (writeFile): output them in the LyX file.
16542
16543 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16544
16545         * lyxfunc.C (getStatus): add support for all the inset insertion
16546         commands.
16547
16548         * text2.C (insertInset):
16549         * paragraph.C (insetAllowed):
16550         * BufferView_pimpl.C (insertInset): update to take in account the
16551         renaming of insertInsetAllowed
16552
16553         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16554
16555         * text2.C (getInset): new method. returns inset at cursor position.
16556
16557         * BufferView_pimpl.C (Dispatch): changes because of this.
16558
16559         * LyXAction.C (init): rename open-stuff to inset-toggle.
16560
16561         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16562
16563         * text2.C (toggleInset): renamed from openStuff; use
16564         Inset::open().
16565
16566 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16567
16568         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16569
16570         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16571
16572 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16573
16574         * buffer.C (readLyXformat2): Add filename to the error dialog
16575
16576 2001-07-18  Juergen Vigna  <jug@sad.it>
16577
16578         * tabular.C (GetCellNumber): put an assert here instead of the check!
16579
16580 2001-07-17  Juergen Vigna  <jug@sad.it>
16581
16582         * BufferView_pimpl.C (toggleSelection): adapted too.
16583
16584         * text.C (selectNextWord): adapted for use with insets.
16585         (selectSelectedWord): ditto
16586
16587 2001-07-17  Juergen Vigna  <jug@sad.it>
16588
16589         * sp_spell.C (PSpell): fix initialitation order.
16590
16591 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16592
16593         * paragraph.C: spacing
16594
16595 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16596
16597         * sp_spell.C: repair language selection for pspell
16598
16599 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16600
16601         * lyxfunc.h: change more methods to begin with lower char.
16602
16603 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16604
16605         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16606         for unknown layouts.
16607
16608 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16609
16610         * buffer.C (readLyXformat2): Generate an error dialog if there are
16611         unknown layouts.
16612
16613 2001-07-16  Juergen Vigna  <jug@sad.it>
16614
16615         * sp_spell.C: always compile ISpell part.
16616
16617         * lyxrc.C: added use_pspell entry and it's handling.
16618
16619 2001-07-13  Juergen Vigna  <jug@sad.it>
16620
16621         * sp_spell.C: removed double includes.
16622
16623 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16624
16625         Consistent use of Lsstream.h:
16626         * Lsstream.h: added using std::stringstream for consistencies sake.
16627
16628         * buffer.C: removed using std::stringstream
16629
16630         * lyxfont.C (stateText):
16631         * paragraph.C (asString):
16632         * text.C (selectNextWord, selectSelectedWord):
16633         * text2.C (setCounter):
16634         * vspace.C (asString, asLatexString):
16635         std::ostringstream -> ostringstream.
16636
16637 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16638
16639         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16640         * commandtags.h: add LFUN_HELP_ABOUTLYX
16641         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16642
16643 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16644
16645         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16646         cursorToggle()
16647         * lyx_gui_misc.C: remove spellchecker
16648         * lyxfunc.C: showSpellchecker
16649         * sp_base.h: added
16650         * sp_ispell.h: added
16651         * sp_pspell.h: added
16652         * sp_spell.C: added
16653         * sp_form.[Ch]: removed
16654         * spellchecker.[Ch]: removed
16655
16656 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16657
16658         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16659         is set.
16660         (simpleTeXSpecialChars): Simply print the input character without
16661         any special translation if pass_thru is set.
16662
16663         * layout.h: Added bool pass_thru to layout class for being able to
16664         implement pass through of a paragraph for Literate Programming.
16665
16666         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16667         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16668         * layout.C (Read): add "passthru" to list of layout tags and add
16669         code to set the pass_thru boolean when it is read.
16670
16671 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16672
16673         * trans_decl.h: remove allowed from KmodInfo
16674
16675         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16676         remove allowed code
16677         (Load): adjust
16678
16679         * paragraph_pimpl.C (erase): use boost::prior
16680
16681         * Painter.C (text): use data() instead of c_str() when length is
16682         also provided.
16683         * WorkArea.C (putClipboard): ditto
16684         * font.h (width): ditto
16685
16686         * BufferView2.C: use it-> instead of (*it). for iterators
16687         * texrow.C: ditto
16688         * paragraph_pimpl.C: ditto
16689         * paragraph.C: ditto
16690         * minibuffer.C: ditto
16691         * language.C: ditto
16692         * kbmap.C: ditto
16693         * encoding.C: ditto
16694         * counters.C: ditto
16695         * converter.C: ditto
16696         * chset.C: ditto
16697         * Variables.C: ditto
16698         * TextCache.C: ditto
16699         * MenuBackend.C: ditto
16700         * LyXAction.C: ditto
16701         * LColor.C: ditto
16702         * FloatList.C: ditto
16703         * DepTable.C: ditto
16704         * ColorHandler.C (LyXColorHandler): ditto
16705
16706 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16707
16708         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16709
16710         * text2.C (openStuff): reintroduce this method (which had been
16711         nuked in NEW_INSETS frenzy).
16712
16713         * lyxfunc.C (Dispatch): when an action has not been handled, use
16714         its name in the error message, not its number.
16715
16716         * paragraph.C (inInset): change method name to begin with lowercase.
16717
16718         * undo_funcs.C:
16719         * text2.C: updates because of this.
16720
16721 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16722
16723         * ToolbarDefaults.C (add): add spaces in error message
16724
16725 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16726
16727         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16728         (readLyXformat2): rename return_par to first_par, use lyxlex's
16729         pushToken and remove the manual push handling.
16730         (parseSingleLyXformat2Token): add another ert comp. variable:
16731         in_tabular, rename return_par to first_par. handle newlines better
16732
16733 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16734
16735         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16736
16737 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16738
16739         * text2.C (getParFromID): removed
16740
16741         * buffer.C (getParFromID): new method moved form lyxtext.
16742         * BufferView2.C (insertErrors): adjust
16743         (setCursorFromRow): adjust
16744         * BufferView_pimpl.C (restorePosition): adjust
16745         * lyxfunc.C (Dispatch): adjust
16746         * undo_funcs.C (textUndo): adjust
16747         (textRedo): adjust
16748         (textHandleUndo): adjust
16749         (textHandleUndo): adjust
16750
16751 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16752
16753         * buffer.C: up' the LYX_FORMAT
16754
16755         * lyxfont.h: turn NO_LATEX on as default
16756
16757         * buffer.C (insertErtContents): new methods of tex style compability.
16758         (parseSingleLyXformat2Token): use it several places.
16759         * tabular.C (OldFormatRead): and here
16760
16761 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16762
16763         * text2.C: remove some commented code.
16764         reindent file.
16765
16766         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16767         * trans.C: changes because of the above.
16768
16769 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16770
16771         * text2.C (setCounter): Fix counters bug with bibliography layout.
16772
16773 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16774
16775         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16776         own member functions
16777         (simpleTeXSpecialChars): ditto
16778
16779 2001-07-06  Juergen Vigna  <jug@sad.it>
16780
16781         * a lot of files: changed the access to LyXText::status and the
16782         call of undo-functions.
16783
16784         * undo.[Ch]: added a inset_id to the undo informations.
16785
16786         * undo_funcs.[Ch]: added and moved here all undo functions.
16787
16788         * lyxtext.h: give the status enum a weight, made status_ a private
16789         variable and made accessor functions for it, removed the whole bunch
16790         of undo-functions as they are now in their own file, make some
16791         functions publically available. Added function ownerParagraph with
16792         int parameter.
16793
16794         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16795         made InInset() a const function, added getParFromID() function.
16796
16797         * buffer.[Ch]: added const version for inset_iterator functions,
16798         added getInsetFromID() function.
16799
16800         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16801         changed undo functions for new version.
16802
16803 2001-07-05  Juergen Vigna  <jug@sad.it>
16804
16805         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16806         unknow mechanism does not call the proper constructor but only this
16807         one also if I request the other!?
16808
16809 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16810
16811         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16812
16813         * text2.C (LyXText): use initialization lists.
16814
16815         * lyxtext.h (Selection): initialize set_ and mark_
16816         (init): remove method
16817
16818 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16819
16820         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16821
16822 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16823
16824         * screen.[Ch]: change method names to begin with lowercase
16825
16826         * BufferView_pimpl.C (updateScrollbar): simplify further and
16827         hopefully make it a bit faster.
16828
16829 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16830
16831         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16832         calling directly xforms functions.
16833
16834         * Painter.C (Painter):
16835         * lyx_cb.C (MenuWrite):
16836         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16837         fl_display.
16838
16839         * lyx_gui.C: remove bogus guiruntime extern declaration.
16840
16841 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16842
16843         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16844         in NEW_INSETS
16845         (redoDrawingOfParagraph): ditto
16846         (redoParagraphs): ditto
16847         (cutSelection): don't create a object for CutAndPaste use the
16848         static method directly
16849         (pasteSelection): ditto
16850
16851         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16852         LyXview (+ rename)
16853
16854 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16855
16856         * modifications to some other files because of this.
16857
16858         * Makefile.am (lyx_SOURCES): add XFormsView
16859
16860         * XFormsView.[Ch]: new files
16861
16862         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16863         the main window. Move the gui dependent stuff to XFormsView
16864
16865 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16866
16867         * tabular.C (GetCellInset): update cur_cell also in the row/col
16868         version of this function.
16869
16870         * lyxfunc.C: no need to include figure_form.h here.
16871
16872         * FontLoader.h:
16873         * lyxfunc.h:
16874         * lyxscreen.h:
16875         * text2.C:
16876         * lyxvc.C: no need to include forms.h here.
16877
16878 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16879
16880         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16881
16882         * lyxfunc.C (Dispatch):
16883         * Spacing.C (set):
16884         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16885         constructor argument.
16886
16887 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16888
16889         * paragraph.C (Paragraph): dont't clear, and just set layout.
16890         (makeSameLayout): use params's copy contructor.
16891
16892         * ParagraphParameters.[Ch] (makeSame): delete method
16893
16894 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16895
16896         * Variables.[Ch]: fix indentation, rename set to isSet
16897
16898 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16899
16900         * lyxfunc.C (Dispatch): fix typo
16901
16902 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16903
16904         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16905         upper_bound.
16906
16907         * bufferlist.C: include assert.h for emergencyWrite().
16908
16909 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16910
16911         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16912           give up at last (bug #425202) !
16913
16914 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16915
16916         * lyx_gui_misc.C:
16917         * sp_form.h:
16918         * sp_form.C:
16919         * spellchecker.h:
16920         * spellchecker.C: strip spellchecker options and bring up
16921           preferences tab instead
16922
16923 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16924
16925         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16926         the istringstream constructor
16927
16928 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16929
16930         * paragraph.C (getLayout): fix return value
16931
16932         * paragraph.h: do not declare getLayout as inline.
16933
16934         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16935
16936 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16937
16938         * lyxcursor.h (operator<): new func
16939         (operator>): new func
16940         (operator>=): new func
16941         (operator<=): new func
16942
16943         * text.C (changeCase): use selection.start and selection.end
16944         (changeRegionCase): require from to be <= to. Require par to be a
16945         valid paragraph.
16946
16947         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16948
16949 2001-06-27  Juergen Vigna  <jug@sad.it>
16950
16951         * text.C (cursorLeftOneWord): changed to return the cursor and added
16952         overlay with BufferView * parameter which calls this one.
16953         (getWord): added
16954         (selectWord): use new getWord function.
16955         (changeCase): renamed from changeWordCase as and extended to work
16956         also on selections.
16957
16958         * lyxtext.h: added enum word_location
16959
16960         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16961         changeCase as this operates now also on selections.
16962
16963 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16964
16965         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16966
16967         * many files: send debug output to Debug::INFO instead of
16968         Debug::ANY.
16969
16970         * converter.C (View):
16971         (Convert):
16972         (Move): send debug output to Debug::FILES instead of console.
16973
16974 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16975
16976         * lyxfunc.C (getStatus): use func_status
16977
16978         * func_status.h: new header, describing the results of
16979         LyXFunc::getStatus;
16980
16981         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16982         LFUN_MATH_HALIGN.
16983
16984 2001-06-25  The LyX Project  <jug@sad.it>
16985
16986         * buffer.C (sgmlOpenTag):
16987         (sgmlCloseTag):
16988         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16989
16990 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16991
16992         * text2.C: remove some dead code
16993
16994         * tabular.C (GetCellInset): store the last cell checked (gotten)
16995
16996         * tabular.h: add the helper for the speedup
16997
16998         * lyxtext.h: remove some dead code
16999
17000 2001-06-26  The LyX Project  <Asger>
17001
17002         * paragraph.C: Change export to LaTeX of alignment to
17003         \begin{center} and family for better roundtrip work with reLyX.
17004
17005         * Tune the math drawing a bit.
17006
17007 2001-06-25  The LyX Project  <Asger>
17008
17009         * LColor.C (LColor): New color for math background. New color
17010         for buttons.
17011
17012 2001-06-25  The LyX Project  <jug@sad.it>
17013
17014         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17015
17016         * lyxfunc.C (Open):
17017         * bufferlist.C (newFile): do not restrict to files ending with
17018         .lyx
17019
17020         * BufferView_pimpl.C (MenuInsertLyXFile):
17021
17022 2001-06-24  The LyX Project  <jug@sad.it>
17023
17024         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17025         of compare_no_case
17026
17027 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17028
17029         * lyxtext.h: rename most methods to begin with a small char.
17030         Lots of changes because of this.
17031
17032         * paragraph.C (Paragraph): do not call fitToSize
17033         (erase): call Pimpl::erase
17034         (insertChar): call Pimpl::insertChar
17035         (insertInset): call Pipl::insertInset
17036         (breakParagraph): do not call fitToSize
17037         (breakParagraphConservative): do not call fitToSize
17038         (fitToSize): remove method
17039
17040         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17041
17042 2001-06-24  The LyX Project  <Asger>
17043
17044         * Fix Qt compilation^2
17045
17046 2001-06-24  The LyX Project  <jug@sad.it>
17047
17048         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17049         depthHook(getDepth()-1).
17050
17051         * paragraph.h:
17052         * ParagraphParameters.h:
17053         * ParameterStruct.h: change type of depth to unsigned int ==
17054         depth_type. Many adaptations to other files before of that.
17055
17056 2001-06-24  The LyX Project  <Asger>
17057
17058         * Fix Qt compilation.
17059
17060 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17061
17062         * paragraph.h: renamed several methods to begin with small letter.
17063         several changes to many parts of the code because of this.
17064
17065 2001-06-23  The LyX Project  <jug@sad.it>
17066
17067         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17068         rewritten to discard all double spaces when KeepEmpty is off
17069         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17070         to only handle newlines but not fiddle with spaces and friends.
17071
17072         * lyxfunc.C (MenuNew): when doing 'new from template', use
17073         template_path as default directory
17074
17075 2001-06-23  The LyX Project  <Asger>
17076
17077         * Clean-up of header file includes all over
17078         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17079
17080 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17081
17082         * paragraph.h: renamed from lyxparagraph.h
17083
17084 2001-06-23  Asger  <lyx@violet.home.sad.it>
17085
17086         * Buffer.h: Removed Buffer::resize
17087         * BufferList.h: Removed BufferList::resize
17088         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17089         the document lazily when we change the width, or the font settings.
17090
17091 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17092
17093         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17094
17095 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17096
17097         * buffer.h: remove out of date comment
17098
17099 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17100
17101         * lyxscreen.h:
17102         * screen.C: fix "theoretical" GC leak
17103
17104 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17105
17106         * LaTeX.C (scanAuxFile):
17107         (deplog): remove trailing \r when reading stream (useful under
17108         win32)
17109
17110 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17111
17112         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17113         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17114         and BufferView::theLockingInset(Inset*), so should use them and not
17115         access bv_->text->the_locking_inset directly.
17116
17117         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17118
17119 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17120
17121         * Makefile.am:
17122         * tex-defs.h: remove old unused file
17123
17124 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17125
17126         * BufferView_pimpl.C: fix typo, remove minibuffer message
17127           when buffer has loaded
17128
17129 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17130
17131         * lyxfunc.C (Dispatch): use stringstream
17132         (MenuNew): use stringstream
17133         (Open): use stringstream
17134
17135         * importer.C (Import): use stringstream
17136
17137         * bufferview_funcs.C (CurrentState): use stringstream
17138
17139         * LaTeX.C (run): use stringstream
17140
17141         * BufferView_pimpl.C (savePosition): use stringstream
17142         (restorePosition): use stringstream
17143         (MenuInsertLyXFile): use stringstream
17144
17145 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17146
17147         * BufferView.C:
17148         * Bullet.C:
17149         * ColorHandler.C:
17150         * FontInfo.C:
17151         * FontLoader.C:
17152         * LColor.C:
17153         * LaTeXFeatures.C:
17154         * Painter.C:
17155         * gettext.C:
17156         * lyx_gui_misc.C:
17157         * lyxserver.C:
17158         * vspace.C: removed // -*- C++ -*- as first line.
17159
17160         * lyxfind.h:
17161         * version.h: added // -*- C++ -*- as first line.
17162
17163 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17164
17165         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17166
17167         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17168         of string
17169
17170 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17171
17172         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17173         of floats.
17174
17175 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17176
17177         * gettext.C: include LString.h even when --disable-nls is on.
17178
17179 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17180
17181         * converter.h (Get): changed argument type from int to
17182         FormatList::size_type to avoid unnecessary conversion.
17183
17184         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17185         before using it.
17186
17187 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17188
17189         * gettext.h: include LString.h even when --disable-nls is on.
17190
17191 2001-06-07  Juergen Vigna  <jug@sad.it>
17192
17193         * text.C (BreakAgain): subst spaces with tabs.
17194
17195         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17196         (resizeInsetsLyXText): set force on resizeLyXText.
17197
17198 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17199
17200         * gettext.h (gettext_init):
17201         (locale_init): use a real definition instead of a macro
17202
17203 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17204
17205         * Bufferview_pimpl.C:
17206         * LColor.h:
17207         * LColor.C: further lcolor tidies
17208
17209 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17210
17211         * BufferView_pimpl.C (updateScrollbar): simplify.
17212
17213         * BufferView2.C: don't include insets/insetinfo.h, change
17214         prototype for insertInset and call the Pimpl version. let
17215         updateInset call Pimpl version.
17216
17217         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17218         gotoInset to BufferView::Pimpl
17219
17220 2001-06-01  Juergen Vigna  <jug@sad.it>
17221
17222         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17223         inside a LockingInset (is the update needed at all?).
17224
17225 2001-05-31  Juergen Vigna  <jug@sad.it>
17226
17227         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17228         here not the old one otherwise how should we compare it afterwards
17229         if it's the same!
17230
17231 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17232
17233         * lyxfont.C:
17234         * tabular.C:
17235         * tabular-old.C:
17236         * FontInfo.C: bring C functions into global namespace when
17237         necessary
17238
17239 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17240
17241         * LString.h: make sure config.h has been loaded before LString.h.
17242
17243         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17244         (one for each char read by EatLine!).
17245
17246         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17247         variables.
17248
17249 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17250
17251         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17252         to the same as the par we break from
17253
17254 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17255
17256         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17257
17258         * MenuBackend.C (expand): also create menu entries for wide
17259         versions of the floats.
17260
17261         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17262
17263         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17264
17265         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17266         frontends/Makefile.am
17267
17268         * text2.C: adjust
17269         * text.C: adjust
17270
17271
17272         * tabular.C (getTokenValue): add std::
17273
17274         * tabular-old.C (getTokenValue): add std::
17275         (getTokenValue): ditto
17276         (getTokenValue): ditto
17277
17278         * screen.C (ToggleSelection): adjust
17279
17280         * lyxtext.h: put selection cursors inside a Selection struct.
17281
17282         * lyxfunc.C (moveCursorUpdate): adjust
17283
17284         * lyxfont.C (latexWriteStartChanges): add std::
17285
17286         * lyxfind.C: adjust
17287
17288         * font.h: delete with(char const *, LyXFont const &)
17289
17290         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17291
17292         * FontInfo.C (getFontname): add std::
17293
17294         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17295         (workAreaButtonPress): adjust
17296         (tripleClick): adjust
17297         (update): adjust
17298         (moveCursorUpdate): adjust
17299         (Dispatch): adjust
17300
17301         * BufferView2.C (gotoInset): adjust
17302
17303 2001-05-30  Juergen Vigna  <jug@sad.it>
17304
17305         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17306         to check pspell I add this as default as I now have new pspell
17307         libraries and they seem to use this.
17308
17309 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17310
17311         * text2.C (CutSelection): make the cursor valid before the call to
17312         ClearSelection.
17313
17314 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17315
17316         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17317         relied on 0 terminated strings and other horrors. Bug found due to
17318         the new assert in lyxstring!
17319
17320         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17321         KP_ keys.
17322
17323 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17324
17325         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17326         to latinkeys.bind.
17327
17328         * lyxfunc.C (processKeySym): change method of getting to the
17329         self-insert char.
17330
17331         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17332         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17333         * BufferView_pimpl.[Ch]: here as private methods.
17334
17335 2001-05-28  Juergen Vigna  <jug@sad.it>
17336
17337         * text.C (SetHeightOfRow): added the update() call again as it is
17338         needed to initialize inset dimensions!
17339
17340 2001-05-16  Juergen Vigna  <jug@sad.it>
17341
17342         * text2.C (SetCharFont): Add new function with BufferView * and
17343         bool toggleall parameters for setting insets internal fonts.
17344         (SetFont): Freeze the undo as we may change fonts in Insets and
17345         all this change should be inside only one Undo!
17346
17347         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17348         setting font's in insets as for them we have the SetFont function!
17349
17350 2001-05-15  Juergen Vigna  <jug@sad.it>
17351
17352         * text2.C (ClearSelection): to be sure we REALLY don't have any
17353         selection anymore!
17354
17355         * tabular.C (TeXCellPreamble): fixed the left border problem for
17356         multicolumn cells.
17357
17358 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17359
17360         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17361         dependancy file
17362
17363 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17364
17365         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17366         LFUN_BREAKPARAGRAPH.
17367
17368         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17369         help test to "internal only", similar for LFUN_INSERT_URL
17370
17371         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17372         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17373         auto_region_delete and deadkeys.
17374
17375 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17376
17377         * LColor.h:
17378         * LColor.C: remove some dead entries, tidy a little
17379
17380 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17381
17382         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17383         commented code.
17384         (Dispatch): implement LFUN_ESCAPE
17385
17386         * commandtags.h: add LFUN_ESCAPE
17387
17388         * LyXAction.C (init): add entry for LFUN_ESCAPE
17389
17390         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17391         Remove commented code.
17392         (insertNote): moved here
17393         (open_new_inset): moved here
17394
17395         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17396         BufferView_pimpl
17397
17398 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17399
17400         * kbmap.C (findbinding): clean it up and make it work correctly.
17401
17402         * lyx_main.C (init): do not pass argc and argv as parameters
17403
17404 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17405
17406         * buffer.C: fix path for OS/2 & Win32
17407
17408         * lyx_gui.C:
17409         * lyx_main:
17410         * lyx_main.C: Added os:: class.
17411
17412         * os2_defines.h: update
17413
17414 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17415
17416         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17417         better by trying again with reduced state.
17418
17419 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17420
17421         * lyxrc.C (read): print error about invalid key sequence only when
17422         debugging (because not all latinX keysyms are known to some X
17423         servers)
17424
17425         * kbsequence.C (getiso): add a few std:: qualifiers
17426         (getiso): comment out extra return statement.
17427
17428 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17429
17430         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17431         handling.
17432         (Dispatch): enhance the accent inset a bit. (not perfect)
17433
17434 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17435
17436         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17437
17438 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17439
17440         * bufferlist.C (emergencyWrite): fix assert() call
17441
17442 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17443
17444         * text.C (InsertChar): Added trivial patch to only send the "you
17445         can not do multiple spaces this way" message once during a
17446         session.
17447
17448 2001-05-08  Baruch Even  <baruch@lyx.org>
17449
17450         * Makefile.am: Changed order of libraries to get LyX to link properly
17451         with the gnome frontend.
17452
17453 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17454
17455         * LaTeXFeatures.h: add a std:: qualifier
17456
17457 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17458
17459         * paragraph.C (String): use stringstream
17460
17461 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17462
17463         * paragraph.C (writeFile): remove footflag arg
17464
17465         * buffer.C (makeLaTeXFile): use stringstream
17466         (latexParagraphs): remove footnot gurba
17467
17468         * LaTeXFeatures.C (getPackages): use stringstream
17469         (getMacros): likewise
17470         (getTClassPreamble): likewise
17471         (getFloatDefinitions): new method
17472
17473         * paragraph.C (writeFile): reindent
17474         (Erase): reindent
17475
17476         * WorkArea.h: revert the xpos + etc changes.
17477
17478         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17479
17480         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17481
17482         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17483         (pasteSelection): likewise
17484         * text2.C (CreateUndo): likewise
17485
17486 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17487
17488         * minibuffer.C (peek_event): temporarily reduce the functionality
17489         of the minibuffer (to allow args on lfuns)
17490
17491         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17492         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17493
17494         * buffer.C (readInset): add compability reading of old float
17495         lists, add reading of new style float list.
17496         (readInset): avoid reevaluation of inscmd.getCmdName()
17497         (getLists): reindent
17498
17499         * MenuBackend.C (MenuItem): implement parsing of
17500         md_floatlistinsert and md_floatinsert.
17501         (expand::LastFiles): move initalizaton of iterators out of loop,
17502         avoid reevaluation.
17503         (expand::Documents): introduce typdedef vector<string> Strings,
17504         and use it.
17505         (expand::ExportFormats): introduce typedef vector<Format const *>
17506         Formats, and use it.
17507         (expand): implement FloatListInsert and FloatInsert.
17508
17509         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17510         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17511         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17512
17513         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17514         handling.
17515         (Dispatch::LFUN_FLOAT_LIST): implement
17516
17517 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17518
17519         * LaTeX.C (run): Fix problem with --export code.
17520
17521 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17522
17523         * BufferView.[Ch] (workarea): removed.
17524         (getClipboard) new method; wrapper for workarea()->getClipboard()
17525
17526         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17527         bug.
17528
17529         * WorkArea.h (width, height, xpos, ypos): These methods all
17530         returned the dimensions of the work_area sub-area of WorkArea,
17531         resulting in a position error if the WorkArea were resized. Now
17532         return the dimensions of the entire WorkArea.
17533
17534         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17535
17536 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17537
17538         * LaTeX.C (deplog): correct the syntax of regex reg1
17539
17540 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17541
17542         * undo.C: remove !NEW_INSETS cruft
17543
17544 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17545
17546         * text2.C: remove !NEW_INSETS cruft
17547
17548         * text.C: remove !NEW_INSETS cruft
17549
17550         * tabular.C: remove !NEW_INSETS cruft
17551
17552         * spellchecker.C: remove !NEW_INSETS cruft
17553
17554         * lyxtext.h: remove !NEW_INSETS cruft
17555
17556         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17557
17558         * lyxfunc.C: remove !NEW_INSETS cruft
17559
17560         * lyxfind.C: remove !NEW_INSETS cruft
17561
17562         * lyx_cb.C: remove !NEW_INSETS cruft
17563
17564         * figureForm.C: remove  !NEW_INSETS cruft
17565
17566         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17567
17568         * buffer.[Ch]: remove !NEW_INSETS cruft
17569
17570         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17571
17572         * CutAndPaste.C: remove !NEW_INSETS cruft
17573
17574         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17575
17576         * BufferView2.C: remove !NEW_INSETS cruft
17577
17578         * BufferView.h: remove !NEW_INSETS cruft
17579
17580 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17581
17582         * Lsstream.h: include LString.h before the sstream headers to
17583         fix problem with gcc 2.95.3 and lyxstring
17584
17585 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17586
17587         * lyx_main.C: add using directives when needed for C functions
17588         declared in std:: namespace.
17589
17590 2001-04-27  Juergen Vigna  <jug@sad.it>
17591
17592         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17593         (SetHeightOfRow): comment out the update call should not be needed!
17594
17595 2001-04-13  Juergen Vigna  <jug@sad.it>
17596
17597         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17598         (LyXTabular): tried to minimize operator= operations (and realized
17599         hopfully Lars wish).
17600
17601 2001-04-27  Juergen Vigna  <jug@sad.it>
17602
17603         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17604
17605 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17606
17607         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17608
17609         * buffer.C (readInset): hack to make listof algorithm work
17610
17611         * BufferView_pimpl.C: hack to make listof algorithm work
17612
17613 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17614
17615         * LyXAction.C: removed all !NEW_INSETS cruft
17616         (init): moved lfun_item in method
17617
17618         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17619
17620 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17621
17622         * BufferView2.C (theLockingInset): white space.
17623
17624 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17625
17626         * minibuffer.C: include <iostream>
17627
17628         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17629
17630         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17631
17632         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17633
17634         * text.[Ch] (TransposeChars): new method
17635
17636 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17637
17638         * call message directly through LyXView instead of through LyXFunc
17639         * BufferView2.C: adjust
17640         * BufferView_pimpl.C: adjust
17641         * FontLoader.C: adjust
17642         * buffer.C: adjust
17643         * bufferview_funcs.C: adjust
17644         * converter.C: adjust
17645         * figureForm.C: adjust
17646         * importer.C: adjust
17647         * lyx_cb.C: adjust
17648         * lyx_gui_misc.C: adjust
17649         * lyxfunc.C: adjust
17650         * lyxvc.C: adjust
17651         * text2.C: adjust
17652         + more files in subdirs
17653
17654         * lyxparagraph.h (size): move up int file
17655         (GetLayout): ditto
17656
17657         * adjust all uses of Assert to lyx::Assert.
17658
17659         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17660         lyxfunctional in namespace lyx
17661         * layout.C (hasLayout): ditto
17662         (GetLayout): ditto
17663         (GetLayout): ditto
17664         (delete_layout): ditto
17665         (NumberOfClass): ditto
17666         * converter.C (GetFormat): ditto
17667         (GetNumber): ditto
17668         (Add): ditto
17669         (Delete): ditto
17670         (SetViewer): ditto
17671         * bufferlist.C (getFileNames): ditto
17672         (emergencyWriteAll): ditto
17673         (exists): ditto
17674         (getBuffer): ditto
17675         * MenuBackend.C (hasSubmenu): ditto
17676         (hasMenu): ditto
17677         (getMenu): ditto
17678         * BufferView_pimpl.C (getInsetByCode): ditto
17679
17680 2001-04-18  Juergen Vigna  <jug@sad.it>
17681
17682         * vspace.C (asLatexString): fixed the 100% problem.
17683
17684 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17685
17686         * lyxfunc.C (Dispatch):
17687         * minibuffer.C:
17688         * minibuffer.h: add a few std:: qualifiers
17689
17690 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17691
17692         * minibuffer.[Ch]: reimplement so that commands is initiated and
17693         run from lyxfunc, simplified som handling, and made the completion
17694         and history code for complete. wip.
17695
17696         * lyxfunc.C (processKeySym): call message
17697         (miniDispatch): new temporary method
17698         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17699         (LFUN_MESSAGE): implement
17700         (LFUN_MESSAGE_PUSH): implement
17701         (LFUN_MESSAGE_POP): implement
17702         (initMiniBuffer): the initial/defualt minibuffer message.
17703
17704         * lyxfont.[Ch]: inline some more getters
17705
17706         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17707
17708         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17709
17710         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17711         (AutoSave): use LFUN_MESSAGE
17712         (Reconfigure): ditto
17713
17714         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17715
17716         * figureForm.C: use LFUN_MESSAGE
17717
17718         * converter.C (runLaTeX): use LFUN_MESSAGE
17719
17720         * bufferview_funcs.C: use LFUN_MESSAGE
17721         (Melt): ditto
17722         (changeDepth): ditto
17723
17724         * bufferparams.h: use boost::
17725
17726         * bufferlist.h: inherit privately from noncopyable
17727
17728         * bufferlist.C (loadLyXFile): remove some commented code.
17729
17730         * buffer.C (runChktex): use LFUN_MESSAGE
17731
17732         * ShareContainer.h: inherit privately from noncopyable
17733
17734         * ParagraphParameters.[hC] (depth): inline it.
17735
17736         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17737         methods.
17738         (message): new method
17739         (messagePush): ditto
17740         (messagePop): ditto
17741         (show): init minibuffer
17742         (showState): direct call
17743
17744         * LaTeX.[Ch]: inherit privately from noncopyable
17745         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17746         instead of WriteStatus.
17747
17748         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17749
17750         * BufferView_pimpl.C (buffer): don't init minibuffer
17751         (workAreaButtonPress): use LFUN_MESSAGE
17752         (workAreaButtonRelease): ditto
17753         (savePosition): ditto
17754         (restorePosition): ditto
17755         (MenuInsertLyXFile): ditto
17756         (workAreaExpose): don't init minibuffer
17757         (update): remove commented code, simplify
17758
17759         * BufferView2.C (openStuff): use LFUN_MESSAGE
17760         (toggleFloat): ditto
17761         (menuUndo): ditto
17762         (menuRedo): ditto
17763         (copyEnvironment): ditto
17764         (pasteEnvironment): ditto
17765         (copy): ditto
17766         (cut): ditto
17767         (paste): ditto
17768         (gotoInset): ditto
17769         (updateInset): remove some commented code
17770
17771         * lastfiles.h: inherit privately from noncopyable
17772         * layout.h: ditto
17773         * lyx_gui.h: ditto
17774         * lyx_main.h: ditto
17775         * lyxlex.h: ditto
17776         * lyxlex_pimpl.h: ditto
17777
17778         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17779         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17780         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17781
17782         * LyXAction.h: inherit privately from noncopyable, add methods
17783         func_begin, func_end, returning iterators to the func map.
17784
17785         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17786         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17787         (func_begin): new method
17788         (func_end): new method
17789
17790         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17791         and not)
17792         (copySelection): ditto
17793         (pasteSelection): ditto
17794
17795         * BufferView.C: whitespace change
17796         * BufferView.h: inherit privately from noncopyable
17797
17798 2001-04-16  Allan Rae  <rae@lyx.org>
17799
17800         * tabular-old.C (l_getline):
17801         * spellchecker.C (sc_check_word):
17802         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17803         an unrecognised preprocessor directive.  So ensure they're wrapped.
17804
17805 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17806
17807         * src/exporter.C (Export): Give an error message when path to file
17808         contains spaces.
17809
17810 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17811
17812         * LaTeX.C (deplog): Always check that foundfile exists.
17813
17814 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17815
17816         * lyx_main.h:
17817         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17818
17819 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17820
17821         * tabular.[Ch] (getLabelList): implement new method
17822
17823         * minibuffer.h: comment ouf setTiimer
17824
17825         * minibuffer.C (ExecutingCB): constify res
17826         (peek_event): constify s
17827         (Set): constify ntext
17828         (Init): constify nicename
17829
17830         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17831
17832         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17833         (savePosition): use two params to Minibuffer::Set
17834         (restorePosition): ditto
17835
17836 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17837
17838         * lyx_main.C: include language.h
17839
17840         * Makefile.am (lyx_main.o): add language.h
17841
17842 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17843
17844         * exporter.C:
17845         * paragraph.C:
17846         * screen.C:
17847         * tabular.C:
17848         * CutAndPaste.C: include gettext.h
17849
17850         * lyxfont.h: remove old hack with ON and OFF.
17851
17852         * lyxparagraph.h:
17853         * lyxfont.h: do not include language.h...
17854
17855         * BufferView2.C:
17856         * LaTeXFeatures.C:
17857         * Painter.C:
17858         * bufferview_funcs.C:
17859         * font.C:
17860         * lyxfont.C:
17861         * text.C:
17862         * text2.C:
17863         * trans_mgr.C:
17864         * paragraph.C: ... but do it here instead
17865
17866 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17867
17868         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17869
17870         * tabular.C: small reformat
17871
17872         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17873         NEW_INSETS version
17874         (GetChar): ditto
17875         (BreakParagraph): ditto
17876         (SetOnlyLayout): ditto
17877         (SetLayout): ditto
17878
17879         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17880         with one arg less.
17881
17882         * lastfiles.C: removed most using decl, add std:: where needed
17883
17884         * buffer.C: ws changes
17885
17886         * MenuBackend.C (class compare_format): put into anon namespace
17887         (expand): constify label, names, action, action2
17888         (expand):
17889
17890         * text.C (SingleWidth): constify font
17891         (IsBoundary): constify rtl2
17892         (GetVisibleRow): constify ww
17893
17894         * LaTeX.C (deplog): constify logfile
17895
17896         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17897         start_x, end_x
17898         (workAreaExpose): constify widthChange, heightChange
17899
17900         * lyxrow.C (par): moved
17901         (height): moved
17902         (next): moved
17903         * lyxrow.h: as inlines here
17904
17905         * lyxfont.h (shape): moved from lyxfont.C
17906         (emph): moved from lyxfont.C
17907
17908         * lyxfont.C (LyXFont): use initialization list for all
17909         constructors
17910         (shape): move to lyxfont.h as inline
17911         (emph): move to lyxfont.h as inline
17912
17913
17914 2001-04-04  Juergen Vigna  <jug@sad.it>
17915
17916         * vspace.C: had to include stdio.h for use of sscanf
17917
17918 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17919
17920         * BufferView.h:
17921         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17922         independent of xforms.
17923
17924 2001-04-02  Juergen Vigna  <jug@sad.it>
17925
17926         * spellchecker.C: fixed namespace placing!
17927
17928 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17929
17930         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17931         the LyXParagraph * is 0.
17932
17933 2001-03-29  Juergen Vigna  <jug@sad.it>
17934
17935         * vspace.C: added support for %, c%, p%, l%.
17936         (stringFromUnit): added helper function.
17937         (asLatexString): changed to give right results for the %-values.
17938
17939         * buffer.C: convert the widthp in a width%.
17940
17941 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17942
17943         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17944         figureForm.[Ch].
17945
17946         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17947         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17948
17949         * lyx_cb.[Ch]: see above.
17950
17951         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17952         form1.[Ch].
17953
17954         * form1.[Ch]:
17955         * lyx.[Ch]: replaced by figure_form.[Ch].
17956
17957         * lyx_gui.C:
17958         * lyx_gui_misc.C:
17959         * lyxfunc.C: changed headers associated with above changes.
17960
17961 2001-03-27  Juergen Vigna  <jug@sad.it>
17962
17963         * BufferView_pimpl.C: set the temporary cursor right!
17964
17965 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17966
17967         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17968
17969 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17970
17971         * LString.h: removed "using std::getline"!
17972
17973         * BufferView_pimpl.C (Dispatch): changes due to changes in
17974         InsetInclude::Params.
17975
17976         * buffer.C (tag_name): removed redundant break statements as they were
17977         producing lots of warnings with my compiler.
17978
17979 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17980
17981         * LString.h: add "using std::getline" when using the real <string>.
17982
17983 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17984
17985         * buffer.C: removed bitset usage.
17986         PAR_TAG moved to an anonymous name space.
17987         (tag_name): new funtion, also in the anonymous namespace.
17988         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17989         (makeDocBookFile): clean code. Completed transition from string arrays
17990         to string vectors.
17991         (SimpleDocBookOnePar): code clean.
17992
17993 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17994
17995         * tabular.C: add some comments.
17996
17997 2001-03-22  Juergen Vigna  <jug@sad.it>
17998
17999         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18000         compatibility read a bit and fixed bug with minipage in different
18001         depth.
18002
18003 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18004
18005         * buffer.C (pop_tag): removed.
18006         (push_tag): removed.
18007         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18008         array replaced with vector. Added support for CDATA sections.
18009         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18010         at any nest level.
18011         (makeDocBookFile): XML conformant declaration of CDATA section,
18012         fixed bug related to <emphasis> in the first paragraph char.
18013         (sgmlOpenTag): exclude empty tags.
18014         (sgmlCloseTag): ditto.
18015
18016         * buffer.h (pop_tag): removed.
18017         (push_tag): removed.
18018
18019 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18020
18021         * language.h (Languages): added size_type and size().
18022
18023 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18024
18025         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18026         response on compability reading of minipages. One probliem is that
18027         the old usage of minipages was flertydig
18028
18029         * several files here and in subdirs: don't use static at file
18030         scope use anon namespaces instead.
18031
18032 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18033
18034         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18035         LaTeX output. This is necessary for Literate document
18036         processing.
18037
18038 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18039
18040         * buffer.C: insert hfill when needed.
18041
18042         * tabular.C (l_getline): use string::erase, small whitespace change.
18043
18044         * BufferView_pimpl.C: try the anon namespace.
18045         * WorkArea.C: ditto
18046
18047 2001-03-16  Juergen Vigna  <jug@sad.it>
18048
18049         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18050         otherwise it won't open options-dialogs.
18051
18052         * buffer.C: honor pextraWidth(p) on converting minipages.
18053
18054         * tabular.C (l_getline): changed the functions to strip trailing \r.
18055
18056 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18057
18058         * BufferView_pimpl.C:
18059         * minibuffer..C: added "using SigC::slot" declaration.
18060
18061 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18062
18063         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18064
18065         * text2.C: ditto
18066
18067         * text.C: ditto
18068
18069         * paragraph.C: ditto
18070
18071         * lyxtext.h: NO_PEXTRA
18072
18073         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18074
18075         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18076         * ParameterStruct.h: ditto
18077         * ParagraphParameters.h: ditto
18078         * lyxparagraph.h: ditto
18079
18080 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18081
18082         * buffer.C: add compability for minipage alignment.
18083         (latexParagraphs): remove unwanted pextra check.
18084
18085         * several files: remove CXX_WORKING_NAMESPACES
18086
18087         * buffer.C (pop_tag): tie is in namespace boost
18088
18089         * BufferView.h: noncopyable is in namespace boost
18090         * lyxlex.h: ditto
18091         * lyx_main.h: ditto
18092         * lyx_gui.h: ditto
18093         * layout.h: ditto
18094         * lastfiles.h: ditto
18095         * bufferlist.h: ditto
18096         * ShareContainer.h: ditto
18097         * LyXView.h: ditto
18098         * LyXAction.h: ditto
18099         * LaTeX.h: ditto
18100
18101 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18102
18103         * Merging changes from BRANCH_MVC back into HEAD.
18104
18105         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18106
18107 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18108
18109         * BufferView_pimpl.C: change from intl.C
18110
18111         * combox.h:
18112         * combox.C:
18113         * Makefile.am: move combox.*
18114
18115         * form1.h:
18116         * form1.C:
18117         * lyx_gui.C:
18118         * intl.h:
18119         * intl.C: remove dialog (covered by prefs)
18120
18121 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18122
18123         * lyxfunc.C (Dispatch): removed redundant break statement.
18124
18125 2001-03-14  Juergen Vigna  <jug@sad.it>
18126
18127         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18128
18129 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18130
18131         * buffer.C: add hack to fix compability reading of minipages.
18132
18133 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18134
18135         * buffer.C (getLists): Cleanup.
18136
18137 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18138
18139         * lyxfont.C (update): don't honor toggleall on font size.
18140
18141 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18142
18143         * bmtable.c:
18144         * bmtable.h:
18145         * Makefile.am: moved to frontends/xforms/
18146
18147         * lyx_gui_misc.C:
18148         * lyxfunc.C:
18149         * BufferView_pimpl.C: changes for moved mathpanel
18150
18151 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18152
18153         * gettext.h: fix gettext_init() in --disable-nls
18154
18155 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18156
18157         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18158
18159 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18160
18161         * lyx.C:
18162         * lyx.h: strip external form
18163
18164 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18165
18166         * BufferView_pimpl.C: add comment, destroySplash()
18167
18168 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18169
18170         * BufferView_pimpl.C:
18171         * LyXAction.C:
18172         * buffer.C:
18173         * commandtags.h:
18174         * lyxfunc.C: use re-worked insetinclude
18175
18176 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18177
18178         * buffer.C: add using std::stringstream.
18179
18180         * lyx_cb.C: readd using std::ios.
18181
18182         * buffer.C: add using std::map.
18183
18184         * BufferView_pimpl.C: add using std::vector.
18185
18186         * ShareContainer.h: add std:: to swap.
18187
18188         * buffer.h: add some typedefs
18189         * buffer.C (getLists): use them
18190         (getLists): renamed from getTocList.
18191         add a counter for the different float types and use it in the
18192         generated string.
18193         (getLists): use the same counter for the NEW_INSETS and the "non"
18194         NEW_INSETS
18195
18196         * lyx_cb.h: remove unused items, includes, using etc.
18197
18198         * ShareContainer.h: remove some commented code, add more comments
18199         and "documentation".
18200
18201 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18202
18203         * buffer.C (getTocList): make the list also when NEW_INSETS is
18204         defined.
18205
18206         * buffer.h: remove TocType
18207
18208         * buffer.C (getTocList): change to return a map<string,
18209         vector<TocItem> >, implement for dynamic number of list.
18210
18211         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18212         * text2.C (PasteSelection): adjust
18213         * CutAndPaste.C (pasteSelection): adjust
18214
18215         * FloatList.C (FloatList): update from the new_insets branch.
18216         * Floating.[Ch]: ditto
18217         * LaTeXFeatures.C: ditto
18218         * buffer.C: ditto
18219         * lyxlex_pimpl.C: ditto
18220
18221         * paragraph.C (Last): remove when NEW_INSETS is defined.
18222
18223         * other file: changes because of the above.
18224
18225 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18226
18227         * lyxparagraph.h: rename next to next_, previous to previous_,
18228         make them private for NEW_INSETS. Rename Next() to next(),
18229         Previous() to previous().
18230
18231         * other files: changes because of the above.
18232
18233 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18234
18235         * BufferView.h:
18236         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18237         problem.
18238
18239 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18240
18241         * main.C (main): pass lyx_localedir to gettext_init().
18242
18243         * gettext.h: remove locale_init and gettext_init macros
18244
18245         * gettext.C (locale_init): new function
18246         (gettext_init): new function
18247
18248         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18249         setlocale().
18250
18251 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18252
18253         * Moved credits to frontends:
18254         * credits.[Ch]: removed
18255         * credits_form.[Ch]: removed
18256         * lyx_gui_misc.C: remove credits stuff
18257         * Makefile.am:
18258
18259 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18260
18261         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18262
18263         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18264         unneeded destructor.
18265
18266         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18267         a standalone pointer again.
18268
18269         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18270
18271 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18272
18273         * Makefile.am:
18274         * filedlg.h:
18275         * filedlg.C:
18276         * LyXAction.C:
18277         * ToolbarDefaults.C:
18278         * bufferlist.C:
18279         * commandtags.h:
18280         * form1.C:
18281         * form1.h:
18282         * lyx_cb.C:
18283         * lyx_cb.h:
18284         * lyxfunc.h:
18285         * lyxfunc.C:
18286         * BufferView_pimpl.C: use new file dialog in GUII
18287
18288         * lyx_cb.h:
18289         * lyx_cb.C: remove LayoutsCB to Toolbar
18290
18291 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18292
18293         * ShareContainer.h (get): add std:: qualifier
18294
18295 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18296
18297         * ShareContainer.h: define a proper ShareContainer::value_type
18298         type (and use typename to please compaq cxx)
18299
18300 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18301
18302         * lyxparagraph.h: move serveral local vars to
18303         ParameterStruct/ParagraphParameters., use ShareContainer in
18304         FontTable., make vars in FontTable private and add getter and
18305         setter.
18306
18307         * paragraph.C: changes because of the above.
18308
18309         * lyxfont.h: remove copy constructor and copy assignment. (the
18310         default ones is ok), move number inside FontBits. move inlines to
18311         lyxfont.C
18312
18313         * lyxfont.C: add number to initializaton of statics, move several
18314         inlines here. constify several local vars. some whitespace
18315         cleanup. Dont hide outerscope variables.
18316
18317         * Spacing.h: add two new constructors to match the set methods.
18318
18319         * ShareContainer.h: new file, will perhaps be moved to support
18320
18321         * ParameterStruct.h: new file
18322
18323         * ParagraphParameters.h: new file
18324
18325         * ParagraphParameters.C: new file
18326
18327         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18328         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18329
18330         * BufferView_pimpl.C: ParagraphParameter changes.
18331         * buffer.C: Likewise.
18332         * bufferview_funcs.C: Likewise.
18333         * text.C: Likewise.
18334         * text2.C: Likewise.
18335
18336 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18337
18338         * lyxfind.C (LyXReplace): do not redefine default argument in
18339         implementation.
18340         (IsStringInText): ditto
18341         (SearchForward): ditto
18342         (SearchBackward): ditto
18343
18344 2001-03-06  Juergen Vigna  <jug@sad.it>
18345
18346         * lyxfind.C (IsStringInText): put parentes around expressions.
18347
18348 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18349
18350         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18351
18352 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18353
18354         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18355
18356         * stl_string_fwd.h: add comment
18357
18358         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18359
18360         * tabular.h:
18361         * tabular.C: remove unused DocBook methods
18362
18363         * intl.C:
18364         * language.C:
18365         * paragraph.C:
18366         * buffer.C:
18367         killed DO_USE_DEFAULT_LANGUAGE
18368
18369 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18370
18371         * lyx_gui.C: do not include language.h.
18372
18373         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18374         arguments in function implementation.
18375
18376 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18377
18378         * BufferView_pimpl.C: add <ctime>
18379
18380 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18381
18382         * BufferView_pimpl.C: add using std::find_if
18383
18384 2001-02-27  José Matos  <jamatos@fep.up.pt>
18385
18386         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18387         by OnlyPath.
18388
18389 2001-02-11  José Matos  <jamatos@fep.up.pt>
18390
18391         * buffer.C (makeDocBookFile): command styles now have a parameter as
18392         "title" by default.
18393
18394 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18395
18396         * layout_forms.[Ch]: removed
18397         * lyx_cb.[Ch]: out character
18398         * lyx_gui.C: out character
18399         * lyx_gui_misc.C: out character
18400         * bufferview_funcs.C: : out character,
18401         added toggleall as parameter in ToggleAndShow
18402
18403 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18404
18405         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18406
18407         * text2.C (SetCurrentFont): Disable number property at boundary.
18408
18409 2001-02-26  Juergen Vigna  <jug@sad.it>
18410
18411         * lyxfunc.C (getStatus): added a string argument override function so
18412         that this is correctly called from LyXFunc::Dispatch if it contains a
18413         do_not_use_argument which is used!
18414         (Dispatch): added check for "custom" export and call appropriate func.
18415
18416 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18417
18418         * lyxrc.C: Add language_command_local, language_use_babel and
18419         language_global_options.
18420
18421         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18422
18423         * buffer.C (makeLaTeXFile): Use language_use_babel and
18424         language_global_options.
18425
18426 2001-02-23  Juergen Vigna  <jug@sad.it>
18427
18428         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18429         which works with LyXText and putted it inside BufferView. Here now we
18430         only call for that part the BufferView::Dispatch() function.
18431
18432         * BufferView.C (Dispatch): added.
18433
18434         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18435         functions which needs to use a LyXText over from LyXFunc.
18436         (MenuInsertLyXFile): added
18437         (getInsetByCode): added
18438         (moveCursorUpdate): added
18439         (static TEXT): added
18440
18441 2001-02-22  Juergen Vigna  <jug@sad.it>
18442
18443         * BufferView_pimpl.C (update): call a status update to see if LyXText
18444         needs it.
18445
18446 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18447
18448         * vc-backend.C (revert): implement for CVS
18449         (getLog): implement for CVS
18450
18451 2001-02-20  Juergen Vigna  <jug@sad.it>
18452
18453         * text2.C (ClearSelection): added BufferView param for inset_owner call
18454
18455         * lyxfunc.C (TEXT): added this function and use it instead of
18456         directly owner->view()-text of getLyXText().
18457
18458 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18459
18460         * src/layout_forms.C: out preamble
18461         * src/layout_forms.h: out preamble
18462         * src/lyx_cb.C: out preamble
18463         * src/lyx_cb.h: out preamble
18464         * src/lyx_gui.C: out preamble
18465         * src/lyx_gui_misc.C: out preamble
18466         * src/lyxfunc.C: connect with guii preamble
18467
18468 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18469
18470         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18471
18472 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18473
18474         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18475         whether to run bibtex.
18476
18477 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18478
18479         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18480
18481 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18482
18483         * Makefile.am (lyx_SOURCES): removed bibforms.h
18484
18485         * vspace.h: doxygen
18486
18487         * text.C (GetVisibleRow): make several local vars const
18488
18489         * tabular.C: small cleanup.
18490
18491         * lyxserver.C (callback): use compare instead of strncmp
18492
18493         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18494         inlines to after class or to paragraph.C
18495
18496         * lyxfont.h: remove friend operator!=
18497
18498         * converter.h: move friend bool operator< to non friend and after
18499         class def.
18500
18501         * combox.h: small cleanup
18502
18503         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18504         to inlines after class def.
18505
18506         * buffer.C (pop_tag): use string operations instead of strcmp
18507
18508         * bmtable.c: doxygen, small cleanup
18509
18510         * LaTeX.h: remove friend operator==
18511
18512 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18513
18514         * screen.C:
18515         * lyxrc.[Ch]:
18516         * lyxfunc.C:
18517         * lyxfont.[Ch]:
18518         * lyx_cb.C:
18519         * intl.[Ch]:
18520         * commandtags.h:
18521         * buffer.C:
18522         * WorkArea.[Ch]:
18523         * LyXAction.C:
18524         * BufferView_pimpl.C:
18525         * BufferView.[Ch]: remove cruft
18526
18527 2001-02-14  Juergen Vigna  <jug@sad.it>
18528
18529         * lyxfunc.C: removed #if 0 unused code
18530
18531         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18532
18533         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18534
18535         * text2.C (SetSelection): added a BufferView * parameter
18536
18537 2001-02-13  Juergen Vigna  <jug@sad.it>
18538
18539         * lyxfunc.C (Dispatch): fixed protected blank problem.
18540         * BufferView2.C (protectedBlank): added LyxText * parameter.
18541
18542         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18543         (AppendColumn): same as above for column_info.
18544
18545         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18546         (moveCursorUpdate): use a LyXText param for support of InsetText.
18547
18548         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18549         (tripleClick): ditto
18550
18551         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18552
18553         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18554
18555         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18556
18557         * text2.C (SetSelection): set correct update status if inset_owner
18558         (ToggleFree): ditto
18559
18560 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18561
18562         * tabular.C: remove some commented code.
18563
18564 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18565
18566         * BufferView_pimpl.C: call hideSplash()
18567
18568         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18569
18570         * include_form.h:
18571         * bibforms.h: remove
18572
18573         * lyxfunc.C:
18574         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18575           add LFUN_CHILD_CREATE
18576
18577         * counters.h: fix tiny typo
18578
18579         * lyx_cb.C:
18580         * lyx.h:
18581         * lyx_gui.C:
18582         * lyx.C: move splash to frontends/xforms/
18583
18584         * lyx_gui_misc.C: move Include and Bibform to frontends
18585
18586         * lyxvc.h: clarify comment
18587
18588         * vspace.C: tiny housekeeping
18589
18590 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18591
18592         * text.C (PrepareToPrint): RTL Fix.
18593
18594         * paragraph.C (GetUChar): New method.
18595         (String):  Use GetUChar.
18596
18597         * buffer.C (asciiParagraph): Use GetUChar.
18598
18599 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18600
18601         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18602
18603 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18604
18605         * buffer.h:
18606         * buffer.C: rename to getLogName(), handle
18607           build log / latex log nicely
18608
18609 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18610
18611         * MenuBackend.C:
18612         * MenuBackend.h: remove support for reference menuitem type.
18613
18614 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18615
18616         * BufferView_pimpl.C: housekeeping
18617         * BufferView_pimpl.h:
18618         * LyXView.h:
18619         * Makefile.am:
18620         * Timeout.C:
18621         * Timeout.h:
18622         * minibuffer.h: move Timeout GUI-I
18623
18624 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18625
18626         * lyxrc.C (read): Update converters data-structures.
18627
18628 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18629
18630         * LaTeX.h (operator!=): add operator != for Aux_Info
18631
18632 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18633
18634         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18635
18636         * LaTeXLog.C: deleted, useful code moved to Buffer
18637
18638         * buffer.h:
18639         * buffer.C: new function getLatexLogName()
18640
18641         * lyx_gui_misc.C:
18642         * lyx_gui.C:
18643         * lyxvc.C:
18644         * lyxvc.h:
18645         * lyxfunc.C: use frontends for LaTeX and VC logs
18646
18647 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18648
18649         * LaTeX.h: yet another std:: that Allan forgot.
18650
18651         * Variables.C (set): renamed from isset(), because this clashes
18652         with some HP-UX macros (grr).
18653
18654 2001-02-06  Allan Rae  <rae@lyx.org>
18655
18656         * LaTeX.h: Another bug fix.  Missing std:: this time.
18657
18658 2001-02-04  Allan Rae  <rae@lyx.org>
18659
18660         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18661         floats problem. I've left it commented out because it's not quite
18662         correct.  It should also test that the current object is a table or
18663         figure inset.  But I haven't gotten around to figuring out how to do
18664         that.  I *think* it'll be something like: "table" == inset.type()
18665
18666         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18667         bool.
18668
18669 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18670
18671         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18672         all the citation/databases/styles in the auxilary file.
18673         (run): Rerun latex if there was a babel language error.
18674
18675 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18676
18677         * text.C (Backspace): Preserve the font when changing newline char
18678         with a space.
18679         (BreakParagraph): If the cursor is before a space, delete the space.
18680
18681         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18682
18683 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18684
18685         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18686         new argument (code).
18687         (ChangeCitationsIfUnique): New method.
18688
18689         * paragraph.C (GetPositionOfInset): Handle bibkey.
18690
18691 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18692
18693         * BufferView_pimpl.h: change type of Position::par_pos to
18694         LyXParagraph::size_type.
18695
18696 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18697
18698         * BufferView_pimpl.C (savePosition, restorePosition): Write
18699         messages to minibuffer.
18700
18701 2001-01-28  José Matos  <jamatos@fep.up.pt>
18702
18703         * buffer.C (makeDocBookFile): adds support for document language.
18704         A silly restriction on the name of LatexCommand types where removed.
18705         Added support for CDATA sections, allows to chars unescaped, used
18706         among others in code, to avoid escape < and >.
18707
18708 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18709
18710         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18711         saved positions instrad of a stack. Furthermore, a position is
18712         stored using paragraph id/paragraph position.
18713
18714         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18715         Remove LFUN_REF_BACK.
18716
18717 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18718
18719         * converter.C (dvipdfm_options): New method.
18720
18721 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18722
18723         * vspace.C (isValidLength): Fix for empty input string.
18724
18725 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18726
18727         * LyXAction.C (init): change description of LFUN_FIGURE to
18728         "Insert Graphics"
18729
18730 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18731
18732         * LaTeX.C: add using directive
18733
18734 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18735
18736         * MenuBackend.C (expand): Fix the sorting of the formats.
18737
18738 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18739
18740         * lyx_main.C: tiny error message fix
18741
18742 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18743
18744         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18745         calling fl_initialize(). This fixes the problem with ',' as
18746         decimal separator in text files.
18747
18748 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18749
18750         * trans.C (process): Fix the keymap bug.
18751
18752 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18753
18754         * LaTeX.C (scanAuxFiles): New method. Provides support for
18755         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18756         (scanLogFile) Scan for "run BibTeX" messages.
18757
18758         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18759         OT1 font encoding. Also, load the aecompl package if the ae
18760         package is loaded.
18761
18762         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18763
18764 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18765
18766         * texrow.C (increasePos): turn two error messages into debug
18767         messages.
18768
18769 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18770
18771         * LaTeX.C (scanAux): Handle the \@input macro.
18772         (runBibTeX): Use scanAux().
18773
18774         * language.C (latex_options_): New field.
18775
18776         * LaTeXFeatures.C (getMacros): Add language macros.
18777
18778         * buffer.C (makeLaTeXFile): Small fix.
18779
18780 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18781
18782         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18783
18784         * text2.C: add a using directive.
18785
18786 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18787
18788         * BufferView2.C:
18789         * lyx_gui_misc.h:
18790         * lyxfr1.C:
18791         * lyxfunc.C: kill LyXBell.
18792
18793 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18794
18795         * text.C (IsBoundary): Remove the error message
18796
18797         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18798
18799         * lyxrc.C (setDefaults): Correct initialization value for
18800         font_norm_type.
18801
18802 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18803
18804         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18805         gotoError().
18806
18807         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18808         and GotoNextNote().
18809
18810         * src/LyXAction.C: Added reference-next.
18811
18812         * text.C (InsertChar): Use contains instead of strchr.
18813
18814         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18815
18816 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18817
18818         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18819         alignment commands (when needed).
18820
18821         * text.C (InsertChar): Add ':' to number separator chars.