]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e46c766da7b9e9595844794ea63ba164ca69f51e
[lyx.git] / src / ChangeLog
1 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * BufferView_pimpl.C: fix bug 2212: First change is skipped is
4         "Merge changes..." dialog
5
6 2006-03-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX 
9         error if the class has not defined them yet (bug 2053).
10
11 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
12
13         * BufferView.[Ch]:
14         * BufferView_pimpl.[Ch]: 
15         * LyXAction.C:
16         * debug.[Ch]:
17         * rowpainter.C:
18         * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
19
20 2006-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
21
22         * pch.h: fix nullstream.hpp location for boost 1.33.0
23
24 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
25
26         * pch.h:
27         * support/pch.h:
28         * support/debugstream.h: Use the correct nullstream.
29
30 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
31
32         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
33
34 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
35
36         * cursor.C (niceInsert): fix (properly) insertion of
37         fonts/decorations around selection
38
39 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
40
41         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
42
43 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         * text3.C (mathDispatch): fix crash when selection is not empty
46         but selectionAsString is empty (bug 2321).
47
48 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
49
50         * text.C (changeCase): avoid crash in empty paragraph or on last
51         word of the paragraph. (buf 2323)
52         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
53
54 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
55
56         * buffer.C (readHeader): also erase params.preamble in advance
57         so that an empty preamble is actually recognized (bug 2317).
58
59         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
60
61 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
62
63         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
64
65 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
66
67         * buffer.C:
68         * bufferparams.[Ch]:
69         * lyxtext.h:
70         * paragraph.[Ch]:
71         * paragraph_funcs.C
72         * rowpainter.C:
73         * text.C:
74         * text2.C:
75         * text3.C: Fix bug 2115: blue language lines (for default font)
76         popping up when the documnent font is different. This includes work
77         by Georg Baum.
78
79 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
80
81         * exporter.C (Backends): Add "lyx" backend
82         * exporter.C (Export): Handle "lyx" backend
83         * graph.C (getReachable): Don't exclude "lyx"
84         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
85
86 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
87
88         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
89         for correct in-mathed positioning
90
91 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
92
93         * rowpainter.C (paintForeignMark): fix foreign blue line under
94         insets
95
96 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
97
98         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
99         pit of the uno range (bug 2022).
100
101 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
102
103         * messages.C (get): Only warn once if setlocale fails (bug 2177)
104
105 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
106
107         * text2.C (setCharFont): take inset's own font settings into account
108         when defining the font to reduce to, fixes 2019
109
110 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
111
112         * bufferview_funcs.C (coordOffset): remove the check for
113         collapsed collapsables (fix for bug 2094). This is now done
114         on a more general level (cursor.C).
115
116         * dociterator.[Ch] (forwardPos): add an optional argument
117         bool "ignorecollapsed" (default false), which lets forwardPos
118         skip collapsed insets.
119
120         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
121         (fixes bug 2241 and 2094).
122
123 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
124
125         * buffer.C: change tracking (dvipost) doesn't require
126         color.sty anymore.
127
128         * LaTeXFeatures.C (getPackages): no need for the color
129         option "usenames" (bug 2169).
130
131 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
132         * buffer_funcs.C: Trivial fix - added {} around
133         the statements to be affected by a if-test. Now
134         label in a minipage in a float looks ok on screen again.
135
136 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
137
138         * text2.C: fix bug 2015: on screen fonts in nested environments 
139         can be wrong
140
141 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
142
143         * converter.C (convert): handle unknown formats
144
145 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
146
147         * cursor.C (goUpDown): comment out some debug messages.
148
149         * counters.C (newCounter): make error messages more explicit
150         (these appear with some textclasses like beamer)
151
152 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * kbmap.C (defkey): 
155         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
156         have origin set to KEYBOARD. (bug 2221)
157
158 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
159
160         * rowpainter.C (isCursorOnRow): do not exclude endpos().
161
162 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
163
164         * cursor.C (macroModeClose): returns true if an inset actually got
165         inserted; revert faulty fix to bug 2034.
166
167 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         * tabular.C (getLabelList): remove (not used anymore).
170
171 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
172
173         * outputparams.[Ch]: add new flag inComment
174
175 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * text2.C (deleteEmptyParagraphMechanism): since we delete a
178         paragraph, recordUndo should span two paragraphs (bug 2155).
179
180 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
181
182         * rowpainter.C (paintPar): always repaint the row with the
183         cursor in it
184
185 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
186
187         * MenuBackend.h: 
188         * bufferlist.h: 
189         * lyxtext.h: 
190         * paragraph.h:
191         * vspace.h: fix syntax error
192
193 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
194
195         * text3.C (dispatch): Force refresh if typing into inset changes its
196                               metrics
197
198 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
199
200         * RowList_fwd.h:
201         * paragraph.C:
202         * paragraph.h:
203         * rowpainter.C: Speed up rendering by only re-painting rows that
204         have changed. When selection or whole-screen update active, all rows
205         are repainted, as are all rows within insets.
206
207 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
208
209         * version.C.in: Use PACKAGE_VERSION instead of VERSION
210
211 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
212
213         * tabular.C (toggleFixedWidth): Use default layout of text class
214         instead of hardcoded "Standard"
215
216 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
217
218         * lyxfunc.C (dispatch): do not call getStatus again to determine
219         whether a lfun is disabled (bug 2172).
220
221 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * cursor.C (macroModeClose): set the cursor inside the new math
224         atom if relevant (think \frac{}{}) (bug 2034)
225
226 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
227
228         * lyxtext.h:
229         * text.C:
230         * text3.C (Delete, backspace): force update when merging paragraphs
231
232 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         * BufferView.C (mouseSetCursor): clear the selection properly (bug
235         2163). 
236
237 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
238
239         * text.C (redoParagraph): honor inset->noFontChange()
240         * rowpainter.C (paintInset): ditto
241
242 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
243
244         * lyx_main.C (priv_exec): don't initialize Math on startup 
245         (initMath() has been moved to math_hullinset).
246
247 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
248
249         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
250         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
251         * paper.h: dispose dead PAPER_PACKAGES enum.
252
253 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
256         without X support.
257
258 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
259
260         * exporter.C (Export): Don't try to copy a file if it does not exist
261         (bug 1888)
262
263 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
264
265         * text2.C (makeFontEntriesLayoutSpecific): remove.
266         (setLayout): adapt.
267
268         * text.C (insertChar): remove bogus caching of fonts (did not do
269         anything). 
270
271         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
272         ALL_SANE). (bug 2146)
273
274 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * rowpainter.C (paintFirst): fix centering of
277         LABEL_CENTERED_TOP_ENVIRONMENT. 
278
279 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
280
281         * BufferView.C (mouseSetCursor): new method. Calls
282         deleteEmptyParagraphMechanism if necessary.
283
284         * lyxtext.h: make deleteEmptyParagraphMechanism public.
285
286         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
287         BufferView::mouseSetCursor (bug 2109).
288         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
289
290 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
291
292         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
293         do not remove it (this inset behaves differently from the others).
294
295 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
296
297         Fix bug 2096.
298         
299         * BufferView_pimpl.C (getStatus): it is only possible to insert a
300         file in a text inset.
301
302         * buffer.C (readDocument): remove pit argument and code releated
303         to it; set the inset owner correctly (unrelated, but useful).
304         (readFile): get rid of pit argument.
305
306         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
307         textclass instead of a selection index.
308         (pasteParagraphList): new function.
309         (pasteSelection): make it a wrapper around pasteParagraphList.
310
311         * BufferView_pimpl.C (MenuInsertLyXFile): use
312         cap::pasteParagraphList to insert a file.
313
314 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
315
316         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
317
318 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
319
320         * exporter.C: fix typo in text message
321
322 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
323
324         * text2.C (setLayout): move recUndo call to other setLayout method
325         * tabular.C (toggleFixedWidth): new, handle cell width changes
326         * tabular.C (setColumnPWidth): move some code from insettabular.C here
327         and use toggleFixedWidth
328         * tabular.C (setMColumnPWidth): ditto
329
330 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
331
332         * paragraph.C (asString): use new inset->textString method (fix
333         bug 2089) 
334
335 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
336
337         * CutAndPaste.C (numberOfSelections): new helper function.
338
339         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
340
341         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
342         LyXFunc::getStatus; implement LFUN_PASTE.
343
344 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
345
346         * dociterator.[Ch]: new member realInset() that returns the cell
347         for tabulars and the inset for the rest (bug 1952).
348         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
349         (bug 1952).
350
351 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
354
355 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
356
357         * lyxfunc.C:
358         * paragraph.C:
359         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
360         argument.
361
362 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
363
364         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
365         line after typing ctrl-enter
366
367 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
368
369         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
370         math insets do not return a proper editable() state yet (bug 2124).
371
372 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
373
374         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
375         docs containing very large paragraphs.
376
377 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
378
379         * cursor.C (selectionBegin, selectionEnd):
380         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
381         cursor at different depths.
382
383 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
384
385         * bufferview_funcs.C (coordOffset): do not call cursorPos
386         for collapsed collapsables (fix bug 2094).
387
388 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
389
390         * paragraph.C (fontSpan): make sure that the FontSpan does not
391         span across beginOfBody (bug 1947).
392
393 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
394
395         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
396
397 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
398
399         * messages.C: fix crash and localization on MinGW/Windows platform
400
401 2005-11-02  Angus Leeming  <leeming@lyx.org>
402
403         * Bidi.C:
404         * lyxtextclass.C: trivial fixes to some MSVS warnings.
405
406 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
407
408         * text3.C (getStatus): re-enable disabled code. (bug 2081)
409
410         * BranchList.h (empty): constify.
411
412 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
413
414         * text3.C (getStatus): 
415         * MenuBackend.C (expandBranches): take the branch list from the
416         master document (bug 2092).
417         
418         * MenuBackend.C (expandBranches): 
419         * bufferparams.C (writeFile): use BranchList type.
420
421 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
422
423         * text3.C (dispatch, getStatus): 
424         * LyXAction.C (init): 
425         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
426
427 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
428
429         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
430
431 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
432
433         * text.C (insertChar): do not reset boundary (bug 2061)
434
435 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
436
437         * dociterator.C (updateInsets): new method. Updates the inset_
438         cache of all the slices of the iterator.
439
440         * text2.C (deleteEmptyParagraphMechanism): compare also containing
441         insets when comparing pit/pos; pass the right cursor to
442         recordUndo; when a paragraph has been deleted, compare `old.top()' to
443         the right cursor slice of `cur'; use updateInsets on cur to make
444         sure that the inset caches are correct; general cleanup.
445
446 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
447
448         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
449         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
450         containg inset. If this does not work, the same command will be
451         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
452
453         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
454         a dispatch.
455
456 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
457
458         * lyxtextclass.C (Read): convert layout file if the format is wrong
459         * lyxtextclass.C (layout2layout): new, needed for the above
460
461 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
462
463         * messages.C: do not forget to include <cerrno>.
464
465 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
466
467         * dociterator.h (StableDocIterator): add access to pos().
468         * undo.C (samePar): new method to check if two
469         iterators are in the same paragraph
470         * undo.C (recordUndo): check for samePar instead of cell identity
471         (which includes pos() and is too strict) (fixes bug 2097)
472
473 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
474
475         * text.C (setCursorFromCoordinates): return a bool telling whether
476         dEPM triggered.
477
478         * text3.C (cursorPrevious): update if needed after
479         setCursorFromCoordinates (when dEPM triggered).
480
481         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
482         (otherwise the anchor may be completely wrong and make dEPM assert).
483
484 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
485
486         * buffer.C: version upgrade to 245.
487         * bufferparams.C: remove \quotes_times (bug 2090).
488         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
489         quotation marks as default.
490
491 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
492
493         * CutAndPaste.C (nrOfParagraphs): remove (unused)
494         * CutAndPaste.C (cutSelection): Remove debug message
495         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
496         undo information and only copy if this is a real cut
497         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
498         call
499         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
500         (bug 2059)
501         * CutAndPaste.C (eraseSelection): prevent cursor corruption
502         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
503         superflous cur.selection() setting
504         * CutAndPaste.[Ch] (grabSelection): take a const cursor
505         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
506
507 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
508
509         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
510         change anything.
511
512 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
513
514         * BufferView_pimpl.C: comment layout change
515
516 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
517
518         * LyXAction.C:
519         * lfuns.h:
520         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
521         by bibliography managers (bug 2071).
522
523 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
524
525         * BufferView_pimpl.C (update): choose arguments to update call so
526         that single-par update works most times
527         * text3.C (dispatch): carefully tune updating separately for
528         whole-screen and current-paragraph
529         * rowpainter.C (paintText): 1) replace painting by caching for
530         the two extra paragraphs, because we can;
531         2) suppress greying out of areas below/above drawn area in case of
532         single-par refresh
533         * lyxfunc.C (dispatch): remove superfluous update
534         * LyXAction.[Ch]: introduce SingleParUpdate
535
536 2005-10-05  Angus Leeming  <leeming@lyx.org>
537
538         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
539         always initialised before use.
540
541         * text.C (setHeightOfRow): squash warning about comparison
542         of signed and unsigned types.
543
544 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
545
546         * text.C (cursorX): two fixes involving RtL text drawing
547
548 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
549
550         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
551         items, not only large ones (part of bug 2057)
552
553 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
554
555         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
556         argument, use "newcommand".
557
558 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
559
560         * cursor.C (setSelection): do not open collapsable insets;
561         the insets do by themselves now (autoopen).
562
563 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
564
565         * buffer.C: format is up to 244.
566
567 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
568
569         * text.C (redoParagraph): fix calcultation of inset width wrt 
570         leftMargin (bug 1957).
571
572         * text3.C (dispatch): leave inset to the right when hitting ESC 
573         (bug 2034).
574
575 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * text2.C: 
578         * text.C: 
579         * factory.C:
580         * messages.C: include <boost/current_function.hpp> 
581
582 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
585         when command is internal. (bug 1941)
586
587 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
588
589         * text2.C (cursorRight): do not honor boundary when at the end of
590         a paragraph. (bug 2010 again)
591
592 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
593
594         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
595
596 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
597
598         * rowpainter.C (paintText): fix RtL space width display bug (2029)
599
600 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * text2.C (setCursor): remove the unused 'boundary' parameter for
603         the CursorSlice version; adapt the LCursor version.
604
605         * lyxrc.C (write): 
606         * paragraph_pimpl.C (markErased): 
607         * cursor.C (bruteFind2, bruteFond3): fix warnings.
608
609 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
610
611         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
612         as is already done for "chapter".
613
614 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
615
616         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
617         textclass; do not record undo if nothing is changed.
618
619 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
620
621         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
622
623 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
624
625         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
626
627 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
630         combox, it is necessary to search for the topmost paragraph in the
631         cursor stack (bug 1926)
632
633 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
634
635         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
636         end of paragraph. (bug 2010)
637
638 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
639
640         * text.C (leftMargin): check for inInset == 0
641
642 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
643
644         * text.C (leftMargin): test for insetbase's new neverIndent()
645         bool instead of listing each and every inset that does not
646         wish par indendation.
647
648 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
649
650         * buffer_funcs.C (setCounter): put the code to compute enum label
651         here (where it belongs).
652
653         * counters.C (enumLabel): move code to buffer_funcs.C.
654
655 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
656
657         * outputparams.[Ch]: store local_font instead of local_language
658         * paragraph.C (simpleTeXOnePar): adapt to the change above
659
660 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
661
662         * buffer_funcs.C:
663         * counters.[Ch]: clean up special code for Hebrew.
664
665 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
666
667         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
668         than 2.
669
670 2005-09-08  Angus Leeming  <leeming@lyx.org>
671
672         * ispell.C:
673         * lyxrc.C: correct grammar describing invocation of the
674         spellchecker.
675
676 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
677
678         * text.C (read): remove unused variable.
679         (readParToken): remove static Change variable (never good in
680         recursive settings...); add it as a parameter instead.
681
682         * paragraph_pimpl.C (acceptChange): make debug info conditional.
683
684         * metricsinfo.C (PainterInfo): add new member erased_.
685
686         * rowpainter.C (RowPainter): add erased_ member, initialized from
687         PainterInfo. 
688         (paintInset): pass erased_ to Inset::draw.
689
690         * lyxfunc.C (lookupChange): new function. Tells whether change 
691         tracking is disabled at a given postion.
692         (getStatus): disable some actions when in deleted text with change
693         tracking. 
694
695 2005-08-03  John Levon  <levon@movementarian.org>
696         
697         * tabular.C (appendColumn, setMultiColumn): adapt to change to
698         InsetText::clear().
699
700         * paragraph_pimpl.C (markErased): add bool argument and handle it.
701         Also make sure to mark insets recursively.
702         (rejectChange, erase): be recursive
703
704         * paragraph.C (markErased): add bool argument.
705 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
706
707         * lyxfind.C (findNextChange): tiny cleanup.
708
709         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
710         change tracking with the cursor in an inset; make sure the first
711         change is not skipped.
712
713 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
714
715         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
716         tabularStackDirty to work around bug 1919 (tabular needs
717         to know whether its own cell paste buffer or the one of 
718         texted is newer.
719         * CutAndPaste.C: mark tabular_stack_ clean after copy.
720
721 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
722
723         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
724
725 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
726
727         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
728         use old deleteion algorithm when changetracking is on.
729
730 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
731
732         * messages.C (get): add debug output.
733
734 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
735
736         * text.C (cursorX): fix bug 1965: cursor movement at
737         line end broken in RtL.
738         (drawSelection): fix bug 1970: drawing of single-line 
739         selection broken for RtL.
740
741 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
742
743         bug 465.
744
745         * dociterator.h (clear, push_back, pop_back): change from
746         protected to public.
747
748         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
749         and changed to just return the value of the item depth; take a
750         ParIterator as argument; take the itemdepth at outer nesting level
751         in account if necessary; cleanup and comment the code.
752         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
753         and changed to just return true if reset is needed; take a
754         ParIterator as argument; cleanup and comment the code.
755         (setCounter): adapt to above changes.
756
757 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         * text3.C (dispatch): make debug message optional
760
761 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
762
763         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
764         inset. (bug 1963)
765
766 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
767
768         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
769
770 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
771
772         * text.C (insertChar):
773         * text2.C (deleteEmptyParagraphMechanism): take care whether 
774         a blank has been deleted (in change tracking mode) (bug 1254).
775
776 2005-07-20  John Levon  <levon@movementarian.org>
777
778         * text2.C (insertStringAsLines): remove old dubious code,
779         fixing bug 1939.
780
781 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782
783         * MenuBackend.C (expandToc): use Floating::listName() as title of
784         the floats submenus.
785
786 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
787
788         * toc.[Ch]: Do not use translatable strings (bug 1870).
789
790 2005-07-20  John Levon  <levon@movementarian.org>
791
792         * tabular.C: fix 1748 - setting multicolumn adds
793           left line to the first cell
794
795 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
796
797         bug 1920
798         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
799         pars in one go.
800
801 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
802
803         * messages.C: supress some lyxerr messages
804
805 2005-07-18  Juergen Vigna  <jug@lyx.org>
806
807         * text.C (drawSelection): honor boundary when asking for cursorX.
808
809 2005-07-17  José Matos  <jamatos@fc.up.pt>
810
811         * tabular.C (recalculateMulticolumns): fix handling of one column
812         tables.
813
814 2005-07-17  Juergen Vigna  <jug@lyx.org>
815
816         * text.C (Delete, backspace): fixed so that paragraph with the
817         same layout can be merged by Delete/Backspace.
818
819 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
820
821         * text.C (readParToken): fix spelling.
822
823 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
824
825         * text2.C: fix counter update for DEPM problem reported by
826         Georg Baum
827
828 2005-07-17  Juergen Vigna  <jug@lyx.org>
829
830         * BufferView_pimpl.C (setBuffer): save/restore the
831         cursor/selection when switching buffers
832
833         * buffer.h: 
834         * buffer.C (saveCursor): add saveDocumentIterators to save the
835         cursor when switching buffer.
836
837 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
838
839         * debug.C: fix typo
840         * buffer.C: clarify message
841         
842 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
843
844         * dociterator.C (DocIterator): fix initialization order
845
846 2005-07-17  Juergen Vigna  <jug@lyx.org>
847
848         * text2.C (cursorHome): 
849         * text.C (drawSelection, cursorX): 
850         * dociterator.C (textRow): add boundary to getRow() call
851
852         * paragraph.C (getRow): implementation of below
853
854         * paragraph.h: add parameter boundary for getRow() function
855
856 2005-07-17  José Matos  <jamatos@fc.up.pt>
857
858         * buffer.C:
859         * bufferparams.[Ch]:
860         * tex-strings.[Ch]: new file format, remove support for a4.sty,
861         a4wide.sty and a4widemargins.
862
863 2005-07-17  Juergen Vigna  <jug@lyx.org>
864
865         * text2.C (cursorLeft): fix one of error
866
867 2005-07-17  Juergen Vigna  <jug@lyx.org>
868
869         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
870                    cursorEnd):
871         more fixes for boundary handling
872
873         * text3.C (dispatch): don't reset cursor if boundary has changed
874         on cursor movement.
875
876 2005-07-16  Juergen Vigna  <jug@lyx.org>
877
878         * text2.C (getColumnNearX): hopefully got it right now,
879         check if we are on column 0 for special case.
880
881 2005-07-16  Juergen Vigna  <jug@lyx.org>
882
883         * text2.C (getColumnNearX): handle special case Newline Inset
884
885         * text.C (singleWidth): Just remove bogus check
886
887 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
888
889         * funcrequest.C (split): avoid reading uninitialized char c
890
891 2005-07-16  José Matos  <jamatos@fc.up.pt>
892
893         * buffer.C:
894         * converter.C:
895         * lyxrc.C:
896         * paper.h:
897         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
898         single papersize variable.
899
900 2005-07-16  Juergen Vigna  <jug@lyx.org>
901
902         * text3.C (dispatch): honor boundary when checking if a cursor
903         movement has been done
904
905         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
906         (setCursor, setCursorIntern): fix cursor movement with boundary
907
908 2005-07-16  Juergen Vigna  <jug@lyx.org>
909
910         * text.C (currentState): output the actual Boundary
911
912 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
913
914         * factory.C (createInset): fix bad logic for tabular creation
915
916 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
917
918         * lyx_main.C (init): change some reLyX reference to tex2lyx
919
920 2005-07-16  Juergen Vigna  <jug@lyx.org>
921
922         * dociterator.C (DocIterator): initialize boundary
923
924 2005-07-16  Juergen Vigna  <jug@lyx.org>
925
926         * text2.C (getColumnNearX): Consider rows without trailing blank.  
927
928 2005-07-16  André Pönitz  <poenitz@gmx.net>
929
930         * lyxfont.h: Change order of declarations to give the compiler
931         a better chance to inline things
932
933         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
934         questions on unsaved docs for better scritability
935
936 2005-07-16  André Pönitz  <poenitz@gmx.net>
937
938         * paragraph.h (getChar): remove asserts as the same kind of security
939         can be achieved by using a suitable standard library implementation
940         and the function was in the critical path (25.9% in profiler)
941
942 2005-07-16  Juergen Vigna  <jug@lyx.org>
943
944         * cursor.C (bruteFind2):
945         * bufferview_funcs.C (coordOffset): 
946         * text.C (cursorX,cursorY): Handle cursor position after last char
947         in row before a inset which uses a whole row.
948
949 2005-07-15  José Matos <jamatos@lyx.org>
950
951         * output_plaintext.[Ch] (writeFileAscii): control reference title
952         printing.
953         (asciiParagraph): noparbreak was already deal and was incorrectly
954         used.
955
956 2005-07-15  Juergen Vigna <jug@lyx.org>
957
958         * lyxfunc.C (dispatch): save and restore the cursor after a
959         textclass switch.
960
961 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
962
963         * text.C (backspace): bug 806 for empty keepempty paragraphs we
964         change the layout to default before letting DEPM do its thing.
965
966         * paragraph_funcs.C (breakParagraph): dont reset the layout on
967         keepEmpty paragraphs
968
969         * text.C (setCursorFromCoordinates): add a debug statement
970
971         * text2.C (getColumnNearX): bug 1825 make sure that we don't
972         return a pos that is not on the row
973
974         * output_latex.C (TeXDeeper): get rid of potential dereferencing
975         of past the end iterator
976
977 2005-07-14  André Pönitz  <poenitz@gmx.net>
978
979         * undo.C (recordUndoFullBuffer): implement undo for
980         textclass switches
981
982 2005-07-14  André Pönitz  <poenitz@gmx.net>
983
984         * cursor.C (setSelection): open insets when selection is set there
985         to avoid crashs with cold coord cache
986
987 2005-07-14  André Pönitz  <poenitz@gmx.net>
988
989         * trans_mgr.C (insert): move cursor to the right after inserting
990         a char.
991
992 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
993
994         * BufferView_pimpl.C (update): dampen some of the debug blabbering
995         * factory.C (readInset): ditto
996         * text.C, text2.C: ditto
997
998 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
999
1000         * buffer.C: format incremented to 242. There is no file format per
1001         se, but the "frenchb" language has been removed from lib/language
1002         and has to be translated to "french" by lyx2lyx.
1003
1004 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1005
1006         * cursor_slice.h, dociterator.h: add some documentation
1007         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1008
1009 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1010
1011         * text.C (leftMargin): do not add identation to display() style
1012         insets, because they are always centered (bug 1293).
1013
1014 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1015
1016         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1017         formatted_time methods in support/lyxtime.
1018
1019 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1020
1021         * toc.[Ch]: new method getGuiName, which is used by the frontends 
1022         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1023
1024 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1025
1026         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1027         StableDocIterator const &)
1028         * undo.C (recordUndo): use the above instead of cell.size() comparison
1029         (fixes bug 1808; instructed by Andr�.
1030
1031 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1032
1033         * cursor_slice.h: 
1034         * dociterator.h: Fix the assert when copying rows/cols in math
1035
1036 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1037
1038         * BufferView_pimpl.C:
1039         * LyXAction.C:
1040         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1041
1042         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1043         (findInset): new functions, refactored from goto Inset that return 
1044         the position of a certain inset without setting the buffer's cursor
1045         (by Jean-Marc); 
1046         (gotoInset): rewrite to call findInset and then set the cursor
1047         (by Jean-Marc).
1048
1049 2005-06-16  Angus Leeming  <leeming@lyx.org>
1050
1051         * lyxrc.C (output, read): wrap all input and output of paths with
1052         calls to os::internal_path and os::external_path, respectively.
1053         (output): wrap bind_file inside quotes.
1054
1055         * format.C (view): enable the viewer to use the '$$s' placeholder.
1056
1057 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1058
1059         * LColor.[Ch] (getFromLaTeXName): new
1060
1061 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1062
1063         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1064
1065 2005-06-14  Angus Leeming  <leeming@lyx.org>
1066
1067         * lyx_main.C (init): ensure that the LyX binary dir is the first
1068         element in the PATH on non-POSIX builds.
1069
1070 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1071
1072         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1073
1074 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1075
1076         * rowpainter.C (paintInset, paintHebrewComposeChar)
1077         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1078         (paintChars): use getFontSpan to reduce calls to getFont to a
1079         minimum; use Paragraph::lookupChange instead of isXXXText.
1080         (paintForeignMark): rename LyXFont argument.
1081         (paintFromPos): pass a LyXFont object to the various paintXXX
1082         methods.
1083
1084         * FontIterator.C (FontIterator, operator++): use
1085         Paragraph::getFontSpan
1086
1087         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1088         version that returns the font span as a pair.
1089
1090 2005-06-09  Angus Leeming  <leeming@lyx.org>
1091
1092         * converter.C (convert): Don't forget "outfile = real_outfile" as
1093         the final step in a conversion where the input and output file names
1094         are the same. Otherwise, future conversion steps won't work...
1095
1096 2005-06-09  Angus Leeming  <leeming@lyx.org>
1097
1098         * lyxsocket.C: remove stub code as it isn't needed by
1099         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1100
1101 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1102
1103         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1104         effectively disabled -x
1105
1106 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1107
1108         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1109         when it actually makes sense.
1110
1111 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1112
1113         * BufferView_pimpl.C: revert to showCursor in connection with
1114         Lars's front-end stack
1115
1116 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1117
1118         * text.C (redoParagraph): move cursor right after a bibitem
1119         has been inserted.
1120
1121         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1122
1123 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1124
1125         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1126         error range.
1127
1128 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1129
1130         * BufferView.[Ch] (update):
1131         * BufferView_pimpl.[Ch] (update, metrics):
1132         * dimension.h (operator==):
1133         * lyxfunc.C (dispatch):
1134         * metricsinfo.h (ViewMetricsInfo):
1135         * rowpainter.C (paintText):
1136         * lyxtext.h:
1137         * text.C (redoParagraph):
1138         * text3.C (dispatch): Make LyX only repaint current paragraph in
1139         case of character insert --> speedup. Also fix cursor draw
1140         artifacts
1141
1142 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1143
1144         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1145         avoid a crash (bug 1891)
1146
1147 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1148
1149         Fix bug 1892:
1150
1151         * text2.C (getStringToIndex): constify cur argument.
1152
1153         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1154         argument has been given
1155         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1156         try to invoke LFUN_INSET_APPLY).
1157
1158         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1159         if no inset was created by doInsertInset
1160         (doInsertInset): return true if an inset has been inserted.
1161
1162 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1163
1164         * vspace.C (asGUIName): new method. A version of the space
1165         suitable for showing on screen.
1166
1167 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1168
1169         * MenuBackend.C:
1170         * lyxrc.C: rename "ASCII" to "Plain Text"
1171
1172 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1173
1174         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1175         translate the labelstring.
1176         (setCounter): translate labelstring as needed.
1177
1178         * output_docbook.C (makeCommand): fix expandLabel invokation
1179
1180 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1181
1182         * BufferView.C: fix dialog title
1183
1184 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1185
1186         * lyx_main.C (priv_exec): fix logic error with help from Angus
1187         * lyx_main.C (parse_execute): set is_gui = false and remove now
1188         obsolete comment about a segfault
1189
1190 2005-05-18  Angus Leeming  <leeming@lyx.org>
1191
1192         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1193
1194 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1195
1196         * tabular.[hC]: added setCellInset to fix tabular paste.
1197
1198 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1199
1200         * buffer.C (save): check if destination is writable before trying
1201         to copy a file
1202
1203 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1204
1205         * BufferView_pimpl.C (update): fix processEvents -caused update
1206         recursion bug
1207
1208 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1209
1210         * buffer_funcs.C (setCounter): fix test for numbering of
1211         environments.
1212
1213         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1214         depth correctly; use optional argument when it exists
1215
1216         * lyxtextclass.C: remove unused MaxCounterTags enum
1217         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1218         (max_toclevel, min_toclevel): new methods.
1219
1220         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1221         the smallest depth in toc.
1222
1223         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1224         layouts that should not appear in a table of contents.
1225
1226 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1227
1228         * cursor.h (undispatched, noUpdate): add comments from Andr�
1229 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1230
1231         * lfuns.h:
1232         * LyXAction.C:
1233         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1234
1235 2005-05-07  André Pönitz  <poenitz@gmx.net>
1236
1237         * cursor.[Ch] (leaveInset): new function
1238
1239 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1240
1241         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1242
1243 2005-05-04  Angus Leeming  <leeming@lyx.org>
1244
1245         * lyxfunc.C (getStatus): disable the spell checker dialog if
1246         none of USE_[AIP]SPELL are defined.
1247
1248 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1249
1250         * tabular.C (setWidthOfCell): remove obsolete comment
1251
1252 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1253
1254         * paragraph.C (bibitem):
1255         * buffer_funcs.C (setCounter):
1256         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1257
1258 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1259
1260         * text3.C (getStatus): immediately return after setOnOff
1261
1262         * rowpainter.C: fix drawing of appendix start
1263
1264 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1265
1266         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1267         SwitchBetweenClasses and remove the unused return value.
1268         Handle character styles, too
1269
1270 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1271
1272         * factory.C (createInset): handle undefined character styles
1273
1274 2005-05-02  Angus Leeming  <leeming@lyx.org>
1275
1276         * buffer.C: protect the #include of utime.h with a preprocessor
1277         guard.
1278
1279 2005-05-02  Angus Leeming  <leeming@lyx.org>
1280
1281         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1282         function so that auto-saving works, albeit in a blocking manner.
1283
1284         * Makefile.am: make compilation of the client sub directory, of
1285         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1286         on conditionals set at configure time.
1287
1288         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1289         it can be compiled in its own right but has no-op functionality.
1290
1291         * aspell.C, pspell.C: remove preprocessor guards. The files should
1292         be compiled only if the necessary functionality exists.
1293
1294         * lyxserver.C, lyxsocket.C: disable on Windows.
1295
1296 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1297
1298         * text.C (leftMargin): Fix the parindent use bug (1764)
1299         by dirty trick
1300
1301 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1302
1303         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1304         argument.
1305
1306 2005-04-25  Angus Leeming  <leeming@lyx.org>
1307
1308         * Bidi.[Ch]:
1309         * coordcache.[Ch]:
1310         * ispell.C:
1311         * lyxserver.C:
1312         * mover.C:
1313         * pch.h:
1314         include <config.h> in .C files, not .h ones.
1315         add licence blurb.
1316         protect headers inside preprocessor guards.
1317
1318 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1319
1320         * FuncStatus.h (StatusCodes): document
1321
1322 2005-04-21  André Pönitz  <poenitz@gmx.net>
1323
1324         * FuncStatus.h (enabled, onoff): document
1325
1326 2005-04-19  Angus Leeming  <leeming@lyx.org>
1327
1328         * BufferView_pimpl.C (cursorToggle): no longer test whether
1329         any child processes have been reaped before calling
1330         handleCompletedProcesses().
1331
1332 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1333
1334         * text3.C (dispatch): fix, finally fix, the language problem in
1335         new lyxtexts, without disabling on-the-fly font changes (Helge's
1336         bug report)
1337
1338 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1339
1340         * text3.C (dispatch): set cursor on double/triple click events
1341         (bug 1811)
1342
1343 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1344
1345         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1346         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1347
1348         * rowpainter.C (paintFirst): simplify the code a little bit. In
1349         particular, remove the test for secnumdepth.
1350         * text.C (setHeightOfRow): only allocate space for chapter number
1351         when updateCounters provided an actual label, instead of looking
1352         at secnumdepth directly.
1353
1354         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1355
1356         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1357         paragraphs when secnumdepth is large enough or, for environments,
1358         when they are not the first in a sequence.
1359
1360 2005-04-17  Angus Leeming  <leeming@lyx.org>
1361
1362         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1363         containing space and '~' characters with a call to latex_path().
1364
1365 2005-04-17  Angus Leeming  <leeming@lyx.org>
1366
1367         * converter.C (convert): protect all args of convertDefault.sh
1368         script with quotes.
1369
1370 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1371
1372         * text3.C (dispatch): change the layout to "Caption" after inserting
1373         a float.
1374
1375 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1376
1377         * text3.C (dispatch): fix language problem in newly created
1378         textinsets (and main text) in non-english docs
1379
1380 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1381
1382         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1383         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1384         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1385
1386 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1387
1388         * lyxtext.h:
1389         * text.C (metrics):
1390         * text2.C (getFont):
1391         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1392         fonts fix
1393
1394 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1395
1396         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1397         output of \item arguments without trailing text.
1398
1399 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * FontIterator.C (operator*): avoid a copy of the font.
1402
1403 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1404
1405         * rowpainter.C (getFont): fix language bug from previous fix
1406
1407 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1408
1409         * rowpainter.C (RowPainter, getFont): fix font inside inset
1410         (bugs 1766, 1809)
1411
1412 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1413
1414         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1415         preventing inserted font, deco, delim insets jumping to start of
1416         surrounding inset.
1417
1418 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1419
1420         * lyxfunc.C (dispatch): translate message before sending it to the
1421         minibuffer.
1422
1423 2005-03-29  Angus Leeming  <leeming@lyx.org>
1424
1425         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1426         to LyX on the command line.
1427
1428 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1429
1430         * vc-backend.C: use QuoteName to protect file names wherever
1431         necessary.
1432
1433 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1434
1435         * buffer.[Ch]:
1436         * BranchList.h: fix bugs 1844,1845: document settings don't
1437         stick
1438
1439 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1440
1441         * lyxrc.C (setDefaults, read, output, getDescription): add support
1442         for tex_allows_spaces.
1443
1444         * exporter.C (Export): allows files in directory containing spaces
1445         if tex_allows_spaces is true.
1446
1447         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1448         output it in double quotes.
1449
1450 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1451
1452         * rowpainter.C: use default text height for drawing change tracker
1453         strikeout lines.
1454
1455 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1456
1457         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1458
1459 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1460
1461         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1462         directory is missing.
1463
1464 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1465
1466         * text2.C: fixed the fix, extended to other case.
1467
1468 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1469
1470         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1471
1472 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1473
1474         * text2.C (cursorUp): get rid of a crash
1475         * text.C (x2pos): add an assert
1476
1477 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1478
1479         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1480
1481         * text3.C:
1482         * lyxfunc.C:
1483         * dociterator.C: include <boost/current_function.hpp>, which is
1484         needed when assertions are disabled.
1485
1486 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1487
1488         * text2.C: fix for stuck cursor when traversing two
1489         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1490
1491 2005-02-25  Andreas Vox  <avox@arcor.de>
1492
1493         * output_docbook.C (makeParagraph): suppress trailing newline
1494         after a run of paragraphs
1495
1496 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1497
1498         * paragraph.C: fix for confused change tracker when pasting
1499         text that begins with a lineseparator. [bug 1827]
1500         (setChange(0, Change::INSERTED);)
1501
1502         * paragraph_funcs.C: fix for lost changes on triple-paste
1503         in change tracking mode [bug 1827] (par.setChange()).
1504
1505 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1506
1507         * text2.C (updateCounters, setCounter, expandLabel): move to
1508         buffer_funcs.
1509
1510         * buffer_funcs.C (updateCounters): turn into a free standing
1511         function and add a buffer parameter. Remove dead code for tracking
1512         labelstring change.
1513         (setCounter): change into a free-standing function which gets a
1514         dociterator as argument. Use this iterator to fix captions in a
1515         simple way. When no float is found above the caption, use the
1516         labelstring of the caption layout as default.
1517
1518         * text.C (breakParagraph, backspace):
1519         * text2.C (init, setLayout, changeDepth):
1520         * text3.C (dispatch):
1521         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1522         updateCounters.
1523
1524         * dociterator.C (forwardPar): make it much faster by calling
1525         forwardPos() only when really necessary.
1526
1527         * output_docbook.C (makeCommand): adapt to expandLabel move.
1528
1529         * cursor.C: remove unused variable
1530
1531 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1532
1533         * paragraph_funcs.C: fix crash when pasting insets in change
1534         tracking mode [bug 1277] (honour change type in moveItem).
1535
1536 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1537
1538         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1539
1540 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1541
1542         * BufferView.C (setCursor): change to use a DocIterator.
1543         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1544         (putSelectionAt): adapt to BufferView::setCursor change.
1545
1546         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1547         moved here from LyXText and rewritten to use proper cursor
1548         methods. Fixes bug 1787, 616 and 835.
1549
1550         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1551         when inside an inset (part of bug 781).
1552         (dispatch): adapt to change of BufferView::setCursor.
1553         (getStatus, dispatch): handle LFUN_GOTOERROR,
1554         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1555
1556         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1557         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1558         * text3.C (gotoNextInset, gotoInset): removed.
1559
1560 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1561
1562         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1563
1564 2005-02-15  Angus Leeming  <leeming@lyx.org>
1565
1566         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1567         can be used meaningfully in a comparison.
1568
1569 2005-02-13  André Pönitz  <poenitz@gmx.net>
1570
1571         * bufferview_funcs.C (coordOffset): improve cursor drawing
1572
1573 2005-02-13  André Pönitz  <poenitz@gmx.net>
1574
1575         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1576         * Cursor.C (dispatch): use fixIfBroken
1577         * lyxfunc.C (getStatus): use fixIfBroken
1578
1579 2005-02-15  Angus Leeming  <leeming@lyx.org>
1580
1581         * lyx_main.C (error_handler):
1582         * lyxfunc.C:
1583         * lyxrc.C (setDefaults):
1584         s/GetEnv/getEnv/.
1585         #include "environment.h".
1586
1587         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1588
1589 2005-02-15  Angus Leeming  <leeming@lyx.org>
1590
1591         * lyxserver.C (startPipe): squash MSVC warning "local variable
1592         'fd' used without having been initialized".
1593
1594 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1595
1596         * BufferView_pimpl.C: revert accidental commit.
1597
1598 2005-02-14  André Pönitz  <poenitz@gmx.net>
1599
1600         * dociterator.[Ch]: new member forwardPosNoDescent(),
1601         which doesn't enter nested insets.
1602         * text2.C (setFont): use forwardPosNoDescent() instead
1603         of ForwardPos() (fixes crash on font change).
1604
1605 2005-02-13  Angus Leeming  <leeming@lyx.org>
1606
1607         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1608         only if lyxrc.path_prefix is not empty.
1609
1610 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1611
1612         * bufferparams.C (readGraphicsDriver): prevent crash
1613
1614 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1615
1616         * text2.C (setCounter): check for inInset() == 0
1617
1618 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1619
1620         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1621         but use update() to get correct screen display; use convert
1622         instead of istringstream.
1623         (getStatus): handle LFUN_GOTO_PARAGRAPH
1624
1625         * lyxfunc.C (dispatch, getStatus): do not handle
1626         LFUN_GOTO_PARAGRAPH here.
1627
1628 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1629
1630         * text3.C (dispatch): size() -> depth()
1631
1632         * text2.C: remove some debug output
1633
1634         * paragraph.C: ws changes only
1635
1636         * lyxfunc.C (getStatus): size() -> depth()
1637
1638         * dociterator.h (clear, push_back, pop_back, internalData,
1639         operator[], resize, empty): new functions
1640         Make StableDocIterator and operator== be friends. Don't inherit
1641         from std::vector use a privat class variable slices_ instead.
1642         Modify to fit.
1643
1644         * dociterator.C: update because of not inheriting from std::vector
1645         anymore. Call explictly to slices_ instead. Use depth() instead of
1646         size() and top() instead of back()
1647
1648         * cursor.C: chagne size() -> depth and back() -> top(). Also
1649         remove some direct operator[](i) calls in favour of foo[i]
1650         (getFont): remove some dead code
1651
1652         * bufferview_funcs.C (coordOffset): size() -> depth()
1653
1654         * buffer.C: ws changes only
1655
1656         * CutAndPaste.C (eraseSelection): back() -> top()
1657
1658         * BufferView_pimpl.C (selectionRequested): back() -> top()
1659
1660         * BufferView.C (setCursor): size() -> depth()
1661
1662 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1663
1664         * text3.C (cursorPrevious): return true if depm changed something
1665         (cursorNext): ditto
1666         (dispatch): rename sl to oldTopSlice, remove moving use the new
1667         NoUpdate func attrib instead. Make sure that needsUpdate is set
1668         for function that have NoUpdate, but where depm might have changed
1669         the buffer anyway.
1670
1671         * text2.C (cursorLeft): make us return true if depm changed
1672         something
1673         (cursorRight): ditto
1674         (cursorUpParagraph): ditto
1675         (curosrDownParagraph): ditto
1676         (cursorUp, cursorDown): ditto, make sure to read comments in code
1677         (deleteEmptyParagraphMechanism): remove an assert, also return
1678         true if just a single char was deleted.
1679
1680         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1681         cursor that we modify, to avoid modifying an active cursor before
1682         we call setCursor. This allows depm to run. Also return true if
1683         depm deleted something.
1684
1685         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1686         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1687         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1688         something was changed in the buffer because of them (ie. depm run)
1689
1690         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1691         debug messages. Make update by default be false. Make sure that
1692         the result of update is retained throught several calls down to
1693         dispatch.
1694
1695         * LyXAction.h: add a new func_attrib: NoUpdate
1696
1697         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1698         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1699         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1700         and LFUN_WORDLEFT
1701         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1702
1703 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1704
1705         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1706         bv_->owner(), bv_->buffer() by direct references to the private
1707         members.
1708         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1709         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1710         (fitCursor): center() is in BufferView::Pimpl.
1711         (getStatus, trackChanges, dispatch): no need for a temporary buf
1712         variable
1713         (fitCursor, workAreaDispatch): use workarea().workheight()
1714
1715 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1716
1717         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1718
1719 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1720
1721         * buffer.C: format up to 241.
1722         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1723         break if pasting into ERT
1724         * lyxfunc.C (getStatus): suppress mathpanel and
1725         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1726
1727 2005-02-01  Angus Leeming  <leeming@lyx.org>
1728
1729         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1730
1731 2005-02-01  Angus Leeming  <leeming@lyx.org>
1732
1733         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1734         calling fs::is_directory().
1735
1736 2005-01-31  Angus Leeming  <leeming@lyx.org>
1737
1738         * lyx_main.C (priv_exec): specify explicitly the relative location
1739         of the top level build directory when run in-place.
1740
1741 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1742
1743         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1744         LyXText containing the cursor, not the top-level one.
1745
1746         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1747         true.
1748         (insertStringAsLines): rename par to pit; use temporary variable
1749         par to hold a Paragraph; do not store par.layout() in a variable,
1750         since the pointer may die when breaking paragraphs; pass pars to
1751         breakParagraph() instead of Buffer::paragraphs().
1752
1753 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1754
1755         * lyxlex_pimpl.h: #include <fstream>.
1756
1757         * BufferView.[Ch] (getLyXText): add a const version.
1758
1759         * BufferView_pimpl.C: add debug aids.
1760
1761         * RowList_fwd.h:
1762         * buffer.h:
1763         * lyxrow.h:
1764         * paragraph_funcs.h: add commentary explaining what the class does.
1765
1766
1767         * coordcache.[Ch]: add lots of commentary.
1768         (startUpdating, doneUpdating): debug aids.
1769         (arrays, insets, parPos, getParPos): accessors to private data.
1770
1771         * cursor_slice.[Ch] (text): add a const version.
1772         * dociterator.[Ch] (text, innerText): add const versions.
1773
1774         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1775         bool.
1776
1777         * paragraph.C (getRow, pos2ros): add asserts.
1778
1779         * paragraph.h: add commentary. Lots of.
1780
1781         * paragraph.[Ch] (metrucs, draw): removed.
1782
1783         * cursor.C:
1784         * rowpainter.[Ch]: const-correct changes.
1785
1786         * text.C: various obvious clean-ups. Removal of ancient cruft.
1787         Bug fixes, even.
1788
1789 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1790
1791         * vc-backend.C (find_file): rewrite to use boost.filesystem
1792         (scanMaster): ditto
1793
1794         * main.C (main): set default name check for boost.filesystem to
1795         no check
1796
1797         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1798         (open): ditto
1799         (doImport): ditto
1800         (actOnUpdatedPrefs): ditto
1801
1802         * lyx_main.C (init): rewrite to use boost.filesystem
1803         (queryUserLyXDir): ditto
1804
1805         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1806         (getContentsOfAsciiFile): ditto
1807
1808         * lastfiles.C (readFile): rewrite to use boost.filesystem
1809
1810         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1811
1812         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1813         (loadLyXFile): ditto
1814
1815         * buffer.C (Buffer): adjust for destroydir
1816         (getLogName): rewrite to use boost.filesystem
1817         (setFileName): ditto
1818         (save): use fs::copy_file (from fs_extras)
1819
1820         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1821
1822         * LaTeX.C (run): rewrite to use boost.filesystem
1823         (scanAuxFiles): ditto
1824         (handleFoundFile): ditto
1825
1826 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1827
1828         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1829
1830         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1831
1832 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1833
1834         * lyxlayout.[Ch]: change some vars from float to double
1835
1836         * buffer.C (readFile): make a local var const
1837
1838         * Several files: use convert<> instead of atoi,strToXXX and friends
1839
1840 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1841
1842         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1843         holds the contents of packages.lst. New functions getAvailable
1844         and isAvailable to parse and check that list, resp.
1845
1846         * LyXAction.C:
1847         * lfuns.h:
1848         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1849
1850         * bufferparams.[Ch]: new param output_changes.
1851
1852         * Buffer.C: increase file format to 240.
1853         Use output_changes and isVailable.
1854
1855         * changes.[Ch]:
1856         * paragraph.C:
1857         * paragraph_pimpl.C: Use output_changes and isVailable.
1858
1859 2005-01-23  Angus Leeming  <leeming@lyx.org>
1860
1861         * output_latex.C: #include "insetbibitem.h", rather than
1862         forward declare function bibitemWidest.
1863
1864 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1865
1866         * lyx_main.C (init): make it compile on the Mac.
1867
1868 2005-01-20  Angus Leeming  <leeming@lyx.org>
1869
1870         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1871         (setLyXMisc): (char string literal) != (char string literal) is
1872         performing a comparison on the addresses. Convert one operand
1873         explicitly to string to guarantee expected behaviour.
1874         From MSVC warning.
1875
1876 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1877
1878         * buffer.C:
1879         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1880
1881         * output_plaintext.C: remove unneeded #include gzstream.h.
1882
1883 2005-01-20  Angus Leeming  <leeming@lyx.org>
1884
1885         * SpellBase.h: rename some of the elements of the Result enum.
1886
1887         * aspell_local.h:
1888         * ispell.h:
1889         * pspell.h:
1890         * aspell.C (check):
1891         * ispell.C (check):
1892         * pspell.C (check): ditto
1893
1894 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1895
1896         * buffer.C: add #include <fstream>.
1897
1898         * lyx_main.C (init): Compile fix.
1899
1900         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1901
1902 2005-01-20  Angus Leeming  <leeming@lyx.org>
1903
1904         * mover.h: change commentary to reflect the changed meaning of
1905         the $$s placeholder.
1906
1907 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1908
1909         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1910
1911         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1912
1913 2005-01-20  Angus Leeming  <leeming@lyx.org>
1914
1915         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1916         printing diagnostic data by not dereferecing an iterator past the
1917         end.
1918
1919 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1920
1921         * buffer.C (readHeader): use "&&" rather than "and".
1922
1923         * lyxserver.h (inPipeName, outPipeName): make these const.
1924
1925 2005-01-19  Angus Leeming  <leeming@lyx.org>
1926
1927         * lyx_main.C (error_handler, init): protect SIGHUP with
1928         #ifdef SIGHUP guards.
1929
1930 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1931
1932         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1933
1934 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1935
1936         * text.C (setHeightOfRow): add a margin at the top and bottom of
1937         the document (bug 1761)
1938
1939 2005-01-17  Angus Leeming  <leeming@lyx.org>
1940
1941         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1942         with "python ". Workaround for a brain-dead Windows.
1943
1944 2005-01-16  Angus Leeming  <leeming@lyx.org>
1945
1946         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1947         for MacOSX and Windows to use prependEnvPath.
1948         Strip out the hard-coded block to add elements to the PATH for
1949         MacOSX and replace it with a call to prependEnvPath using the
1950         contents of LyXRC::path_prefix.
1951         (queryUserLyXDir): strip out the code to run reconfigure, instead
1952         returning a boolean indicating the necessity to do so.
1953         (reconfigureUserLyXDir): contains the code to reconfigure the
1954         user support directory. Is now called after the various LyXRC data
1955         files have been read.
1956
1957         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1958
1959 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1960
1961         * converter.[Ch] (convert): take a new parameter try_default. Use
1962         a default converter (imagemagick) if try_default is true.
1963
1964 2005-01-13  Angus Leeming  <leeming@lyx.org>
1965
1966         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1967         os::cygwin_path_fix.
1968         (write): output LyXRC::cygwin_path_fix as necessary.
1969
1970 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1971
1972         * lyxrc.h:
1973         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1974
1975 2005-01-12  Angus Leeming  <leeming@lyx.org>
1976
1977         * lyx_main.C (init): set the PATH variable to include the
1978         directory containing the LyX binary when running on Mac or Windows.
1979
1980 2005-01-12  Angus Leeming  <leeming@lyx.org>
1981
1982         * lyx_main.C (init): remove cruft that purports to set the locale
1983         dir. It doesn't and is not needed anyway.
1984
1985 2005-01-10  Angus Leeming  <leeming@lyx.org>
1986
1987         * Makefile.am: remove the lyx_main.C special casing.
1988
1989         * BufferView_pimpl.C:
1990         * bufferlist.C:
1991         * exporter.C:
1992         * lyx_cb.C:
1993         * lyx_main.C:
1994         * lyxfunc.C:
1995         * messages.C: use support/package.h to provide the paths to the
1996         various directories used by LyX.
1997
1998 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1999
2000         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2001         layout if pasting into an empty paragraph)
2002
2003 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2004
2005         * tex-accent.C: add <string>
2006
2007 2005-01-06  José Matos  <jamatos@lyx.org>
2008
2009         * ParagraphParameters.C (write): put every parameter in its own line.
2010         * paragraph.C (write): reduce number of consecutive empty lines exported.
2011         * buffer.C (LYX_FORMAT): increase file format to 239.
2012
2013 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2014
2015         * everywhere: change support/tostr.h -> support/convert.h
2016
2017         * tabular.C: make all write_attributes templates, tostr -> convert
2018
2019         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2020         (emptyTag): and -> &&, and fix type for ret from getChar
2021         (getFirstWord): fix type for ret from getChar
2022         (onlyText): and -> &&
2023         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2024         getChar
2025
2026         * toc.C (goTo, action):
2027         * text3.C (dispatch):
2028         * text.C (currentState):
2029         * tex-accent.C (DoAccent):
2030         * sgml.C:
2031         * lyxrc.C:
2032         * lyxfunc.C (menuNew):
2033         * lyxfinc.C (replace):
2034         * counters.C (laberItem):
2035         * bufferview_funcs.C (font2string):
2036         * bufferparams.C (writeFile):
2037         * buffer.C (readFile):
2038         * Spacing.C (set):
2039         * MenuBackend.C: tostr -> convert
2040
2041         * LaTeX.C (runMessage): fix format
2042         (scanAuxFiles): tostr -> convert
2043
2044         * BufferView_pimpl.C (savePosition): fix format
2045         (restorePosition): ditto
2046         (dispatch): ditto
2047
2048 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2049
2050         * Spacing.[Ch]: New method getValueAsString().
2051
2052         * Spacing.[Ch]:
2053         * bufferparams.C:
2054         * ParagraphParameters.C:
2055         * lyxlayout.C:
2056         * text.C:
2057         * text3.C: store/read spacing value as string.
2058
2059         * rowpainter.C: change float value (spacing_val) to double.
2060
2061         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2062         broken custom document spacing).
2063
2064 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2065
2066         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2067         namespace, also more use of temp references and const
2068
2069         * cursor.[Ch] (getStatus): move to lyxfunc.C
2070
2071         * bufferparams.C: reformat slightly
2072
2073         * bufferview_funcs.C (font2string): constify arg
2074
2075         * changes.C:
2076         * converter.C:
2077         * counters.C:
2078         * bufferlist.C:
2079         * buffer_funcs.C: (many funcs): constify arg on function
2080         definitions, also make more local vars const, also add ASSERTS on
2081         pointer args.
2082
2083         * buffer.C (LYX_FORMAT): put const in correct place
2084         (many funcs): constify arg on function definitions, also make
2085         more local vars const
2086
2087         * aspell_local.h: remove "struct" from typdef setup
2088
2089         * aspell.C (check): make word_ok const
2090         (nextMiss): simplify slightly
2091         (error): ditto
2092
2093 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2094
2095         * lyxrc.[Ch]: store all float values as strings.
2096         use int (not float) for lyxrc.dpi.
2097
2098 2005-01-04  Angus Leeming  <leeming@lyx.org>
2099
2100         * lyx_cb.C (Reconfigure):
2101         * lyx_main.C (queryUserLyXDir):
2102         to run the <system_lyxdir>/configure correctly on Windows, prefix
2103         the path to the script with "sh " when generating the string that
2104         is passed to system().
2105
2106 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2107
2108         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2109
2110 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2111
2112         * lyxlength.C (asLatexString): get rid of setprecision
2113
2114 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2115
2116         * text2.C (setLayout): remove unused variable endpit.
2117         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2118
2119         * paragraph.C (onlyText): remove unused variable style.
2120
2121         * cursor.C (bruteFind): remove unused variables beg and end.
2122
2123         * Makefile.am (dist_noinset_DATA): not needed anymore
2124
2125         * cheaders/*: remove.
2126
2127 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2128
2129         * text3.C: fix LFUN_MATH_MODE.
2130
2131 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2132
2133         * buffer_funcs.C (countWords): new function. Counts words between
2134         two iterators.
2135
2136         * BufferView_pimpl.C (getStatus, dispatch): handle
2137         LFUN_WORDS_COUNT.
2138
2139         * LyXAction.C (init):
2140         * lfuns.h: add LFUN_WORDS_COUNT.
2141
2142 2004-12-19  Angus Leeming  <leeming@lyx.org>
2143
2144         * buffer.C (save): s/slashify_path/internal_path/.
2145
2146 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2147
2148         * lyxfind.C (findChange): do not search for end of pars, because
2149         the change tracker cannot handle this (fixes bug 1719).
2150
2151 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2152
2153         * paragraph.[Ch] (autoBreakRows): remove
2154
2155         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2156
2157         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2158         avoid using the paragraph one
2159
2160         * text2.C (LyXText, insertStringAsLines): adjust
2161
2162 2004-12-16  Angus Leeming  <leeming@lyx.org>
2163
2164         * bufferlist.C:
2165         * lyx_main.C:
2166         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2167
2168 2004-12-14  Angus Leeming  <leeming@lyx.org>
2169
2170         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2171
2172         * bufferlist.C (emergencyWrite):
2173         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2174         GetEnvPath("HOME").
2175
2176 2004-12-14  Angus Leeming  <leeming@lyx.org>
2177
2178         * main.C: (main): no longer pass pointers to os::init.
2179
2180 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2181
2182         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2183         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2184
2185 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2186
2187         * lyxfunc.C:
2188         * text3.C: remove selection_possible global flag
2189
2190 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2191
2192         * text2.C (getSelectionSpan): remove
2193         (changeDepth, changeDepthAllowed): adjust
2194
2195 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2196
2197         * Makefile.am (BOOST_LIBS): use boost variables
2198
2199 2004-12-03  José Matos  <jamatos@lyx.org>
2200
2201         * buffer.C: format up to 238.
2202
2203 2004-12-03  José Matos  <jamatos@lyx.org>
2204
2205         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2206
2207 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2208
2209         * cursor.C (goUpDown): remove call to idxUpDown2
2210
2211 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2212
2213         * tabular.[Ch]: use size_t-like types for cell, row and column
2214         indices
2215
2216 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2217
2218         * lyxfunc.C (getStatus): do not lose previous information when
2219         calling BufferView::getStatus; do not set a default "Command
2220         disabled" message at the beginning, but just before returning.
2221
2222 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2223
2224         * cursor.h (getStatus): add better comment from src/cursor.C
2225
2226 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2227
2228         * text3.C (getStatus): return false when the lfun is not handled
2229
2230 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2231
2232         * broken_headers.h: remove
2233
2234         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2235
2236 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2237
2238         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2239         offset_ref accessors
2240
2241         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2242         top_y_, merge fitcursor with update
2243         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2244         coord scheme
2245         (metrics): introduce
2246         (workAreaDispatch): adapt to new coord scheme
2247         (redoCurrentBuffer): remove
2248
2249         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2250
2251         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2252         CurStatus enum.
2253
2254         * coordcache.[Ch]: add paragraph cache and helpers
2255
2256         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2257         adjust everywhere
2258
2259         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2260         (targetX, setTargetX): introduce
2261
2262         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2263         baseline -> ascent, as the rest of lyx
2264
2265         * lyxtext.h: remove redoParagraphs, updateParPositions,
2266         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2267         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2268         have ascent/descent (ascent is ascent of first par)
2269
2270         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2271         step of BufferView
2272
2273         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2274
2275         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2276
2277         * pariterator.C: fix infinite loop introduced in par->pit renaming
2278
2279         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2280         in insets and LyXText, draw two off-screen paragraphs using
2281         NullPainter, and adapt to new coord scheme
2282
2283         * text.C:
2284         * text2.C:
2285         * text3.C: adapt lfun handlers to the new coord scheme, which
2286         means: there's only guaranteed coord information for onscreen pars
2287         plus one above and one below. This implies that one can do search
2288         from y coordinates in the range [-1,workHeight]
2289
2290 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2291
2292         * rename a lot of InsetOld to InsetBase
2293
2294 2004-11-25  Angus Leeming  <leeming@lyx.org>
2295
2296         * BufferView_pimpl.C:
2297         * lyx_cb.C:
2298         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2299
2300 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2301
2302         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2303         call BufferView::getStatus if LCursor::getStatus did nothing
2304         (setStatusMessage, getStatusMessage): removed.
2305
2306         * FuncStatus.C (message): new methods. Used to provide an error
2307         message indicating why a command is disabled.
2308         (clear, |=, FuncStatus): update for message.
2309
2310 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2311
2312         * lyxfunc.C (dispatch): always call sendDispatchMessage
2313
2314 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2315
2316         * BufferView.C:
2317         * BufferView_pimpl.C:
2318         * CutAndPaste.C:
2319         * FontIterator.C:
2320         * buffer.C:
2321         * cursor.C:
2322         * cursor_slice.[Ch]:
2323         * dociterator.[Ch]:
2324         * lyxfind.C:
2325         * paragraph_funcs.C:
2326         * pariterator.C:
2327         * rowpainter.C:
2328         * text.C:
2329         * text2.C:
2330         * text3.C:
2331         * undo.C: par->pit renaming
2332
2333 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2334
2335         * tabular.C (cellstruct): use initialization, store a shared_ptr
2336         to insettext instead of the insettext directly, adjust to fit.
2337         (operator=):  new function
2338         (swap): new function
2339         (rowstruct): use initialization
2340         (columnstruct): use initialization
2341         (ltType): use initialization
2342
2343
2344         * lyxlength.h (swap): new function
2345
2346         * LColor.[Ch] (operator=): use the common semantics
2347
2348 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2349
2350         * lyxfind.C (findNextChange): update the bufferview after setting
2351         the selection.
2352
2353 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2354
2355         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2356         number of InsetOptArgs has already been inserted.
2357
2358         * output_latex.C (latexOptArgInsets): new method. This outputs all
2359         the optarg insets, up to the limit defined in the layout file.
2360         (optArgInset): removed
2361         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2362
2363 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2364
2365         * paragraph.C (isLetter): remove special spellchecker-related
2366         code; return true also for digits
2367         (isWord, isKomma): remove
2368
2369         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2370         * lyxfind.C (MatchString()): use isLetter instead of isWord
2371
2372 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2373
2374         * pariterator.h (operatir=): comment out un-implemented member
2375         function.
2376
2377         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2378         static cast.
2379
2380 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2381
2382         * lyxfont.h: include LColor.h to satisfy concept checks.
2383
2384 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2385
2386         * pariterator.h: add typdefs for value_type, difference_type,
2387         pointer and reference to satisfy concept checks. Also add default
2388         constructor for same reason.
2389
2390         * pariterator.C (operator++): add post-increment operator to
2391         satisfy concept checks.
2392
2393         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2394         checks.
2395
2396         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2397
2398         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2399         checks. Also rename base_type to BaseType to follow naming
2400         standard better.
2401
2402         * FloatList.h: include Floating.h to satisfy concept checks.
2403
2404 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2405
2406         * lyxfunc.C (getStatus): when the origin of the request is menu or
2407         toolbar, and the LyXView does not have focus, do as if there was
2408         no buffer (bug 1720)
2409
2410         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2411         FuncRequest to individual entries of LFUN_SEQUENCE
2412
2413 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2414
2415         * output_latex.C (TeXOnePar): override runparams.moving_arg
2416         according to the needprotect value of the current paragraph (bug
2417         1739)
2418
2419         * paragraph.C (simpleTeXOnePar): no need to override
2420         runparams.moving_args here
2421
2422 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2423
2424         * vspace.C: fix off-by-one-error, related to fix #1682
2425
2426 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2427
2428         * lengthcommon.C: a more general fix for bug 1682
2429
2430 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2431
2432         * text.C (backspace): fix crash
2433
2434 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2435
2436         * format.[Ch] (getFormatFromFile): new method
2437         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2438
2439 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2440
2441         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2442
2443 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2444
2445         * lyxfunc.C (dispatch): remove the verbose argument
2446         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2447         instead
2448
2449         * kbmap.C (defkey): set the origin of func to KEYBOARD
2450
2451         * MenuBackend.C (MenuItem):
2452         * ToolbarBackend.C (add): set the origin of func to UI
2453
2454         * funcrequest.[Ch]: add origin member, which indicates which part
2455         of LyX requests an action
2456
2457 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2458
2459         * converter.C (move): don't lie in the error message
2460         * converter.h (isReachable, move): document
2461
2462 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2463
2464         * buffer.C: remove unused using lyx::support::atoi
2465         * paragraph_funcs.C: ditto
2466
2467 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2468
2469         * bufferlist.C (exists): use bind and equal_to instead of
2470         compare_memfun
2471         (getBuffer): ditto
2472         * lyxtextclasslist.C (NumberOfClass): ditto
2473
2474         * cursor.C (insert): use for_each instead of explicit for loop
2475
2476         * bufferlist.C (getFileNames): use std::transform and
2477         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2478
2479         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2480         for loop
2481
2482         * buffer.C (changeLanguage): use for_each instead of explicit for
2483         loop
2484         (hasParWithID): implement using getParFromID
2485
2486         * LaTeXFeatures.C: ws change only
2487
2488         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2489         to cleanup a bit.
2490
2491         * BufferView_pimpl.C (trackChanges): use for_each instead of
2492         expilicit for loop
2493
2494 2004-11-04  André Pönitz  <poenitz@gmx.net>
2495
2496         * undo.h:
2497         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2498
2499         * dociterator.C (asDocIterator): use hard assert again.
2500
2501 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2502
2503         * lyxlength.C (asLatexString): rewrite so that it does not use
2504         snprintf anymore
2505
2506 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2507
2508         * text3.C (specialChar, dispatch): make sure cursor moves to the
2509         right after inserting an inset
2510
2511 2004-11-02  José Matos  <jamatos@lyx.org>
2512
2513         * output_docbook.C (docbook):
2514         * paragraph.C (getID):
2515         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2516         garantee that the output is always legal.
2517
2518         * tabular.C (docbook):
2519         * outputprams.[Ch]: remove mixed contents.
2520
2521 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2522
2523         * text2.C (setCounter): prevent endless loop
2524
2525 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2526
2527         * exporter.C (copyFile): use the mover instead of support::copy()
2528         * exporter.C (Export): pass format and latex name to copyFile()
2529         * exporter.h (addExternalFile): document
2530         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2531
2532 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2533
2534         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2535
2536 2004-10-30  José Matos  <jamatos@lyx.org>
2537
2538         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2539         text and no inset or font change. This allows to use CDATA
2540         sections just for the whole paragraph.
2541
2542 2004-10-30  José Matos  <jamatos@lyx.org>
2543
2544         * paragraph.C (getFirstWord): remove unused variable.
2545
2546 2004-10-30  José Matos  <jamatos@lyx.org>
2547
2548         * paragraph.C (getFirstWord): the content should always be escaped
2549         there.
2550         (simpleDocBookOnePar):
2551         * output_docbook.C (makeEnvironment): replace reference to CDATA
2552         to style pass_thru.
2553
2554 2004-10-30  José Matos  <jamatos@lyx.org>
2555
2556         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2557
2558 2004-10-30  José Matos  <jamatos@lyx.org>
2559
2560         * output_docbook.C (makeParagraphs):
2561         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2562         standard paragraph has only a given type of content drop the wrapper.
2563
2564 2004-10-29  José Matos  <jamatos@lyx.org>
2565
2566         * output_docbook.C (makeEnvironment):
2567         * sgml.C (openTag):
2568         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2569
2570 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2571
2572         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2573         (cleanID): sanitize any id.
2574
2575 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2576
2577         * buffer.C, lyxlex_pimpl.C:
2578         * lyxlex_pimpl.C (setFile):
2579         s/getExtFromContents/getFormatFromContents/
2580
2581 2004-10-28  José Matos  <jamatos@lyx.org>
2582
2583         * output_docbook.C (makeEnvironment): move id to broadest possible
2584         scope.
2585
2586         * sgml.C (openTag): apply substitution of <> for all attributes.
2587
2588 2004-10-28  José Matos  <jamatos@lyx.org>
2589
2590         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2591         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2592         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2593
2594         * sgml.[Ch]: new version for open and closeTag for paragraph and
2595         for strings. Now they handle the ids of paragraphs.
2596
2597 2004-10-26  Angus Leeming  <leeming@lyx.org>
2598
2599         * Makefile.am: add mover.[Ch].
2600
2601         * converter.C (convert, move): use the new Movers to move external
2602         files to the temp directory.
2603
2604         * lyx_main.C (init): ensure that the global system_movers data
2605         is initialised.
2606
2607         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2608         preferences file.
2609
2610         * mover.[Ch]: new files, defining a Mover as a utility to move an
2611         external file between directories and, if necessary, manipulate this
2612         file using a helper script.
2613
2614 2004-10-25  José Matos  <jamatos@lyx.org>
2615
2616         * output_docbook.C (makeCommand): merge two if's that tested the
2617         same condition.
2618
2619 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2620
2621         * sgml.C (escapeString): fix warning in a better way
2622
2623 2004-10-25  José Matos  <jamatos@lyx.org>
2624
2625         * sgml.C (escapeString): import the require boosts header file for
2626         tie, and avoid a signed unsigned comparison.
2627
2628 2004-10-25  José Matos  <jamatos@lyx.org>
2629
2630         * sgml.h: add #include <string>
2631
2632 2004-10-25  José Matos  <jamatos@lyx.org>
2633
2634         * sgml.[Ch] (escapeString): new function to escape all the string.
2635
2636 2004-10-24  José Matos  <jamatos@lyx.org>
2637
2638         * paragraph.[Ch] (getFirstWord): new function to get the first
2639         word. Useful for description.
2640         (simpleDocBookOnePar): remove depth argument, add another that
2641         says where to start the paragraph.
2642
2643         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2644         use the new functions to fix cleanly the support for descriptions.
2645
2646 2004-10-24  José Matos  <jamatos@lyx.org>
2647
2648         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2649         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2650         * output_linuxdoc.C (linuxdocParagraphs):
2651         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2652         add buffer as argument.
2653
2654 2004-10-24  José Matos  <jamatos@lyx.org>
2655
2656         * output_docbook.C (makeEnvironment, searchEnvironment): place
2657         CDATA inside paragraphs and fix scope for listitems.
2658
2659 2004-10-24  José Matos  <jamatos@lyx.org>
2660
2661         * output_docbook.C: remove using statement for stack.
2662
2663 2004-10-23  José Matos  <jamatos@lyx.org>
2664
2665         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2666         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2667         docbook. The new scheme is recursive and makes use of iterators, the
2668         same as latex export works.
2669         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2670         directly with the paragraph contents. This code was moved up to
2671         output_docbook.C (docbookParagraphs).
2672         * sgml.C (openTag, closeTag): removed unneeded newlines.
2673         (closeEnvTags) removed.
2674
2675 2004-10-23  André Pönitz  <poenitz@gmx.net>
2676
2677         * undo.C (textUndoOrRedo):
2678         * dociterator.C (asDocIterator): work around crash
2679
2680         * cursor.C (getStatus): replace ASSERT by more verbose error message
2681           and manual correction of the problem. Should increase stability
2682           while providing more sensible information.
2683
2684 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2685
2686         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2687
2688         * bufferlist.C (previous, next): new methods
2689
2690         * lfuns.h:
2691         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2692
2693 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2694
2695         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2696         entities to preamble.
2697
2698 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2699
2700         * messages.C (Pimpl): strip off translation context information
2701
2702 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2703
2704         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2705         the cursor is correct (bug 1694)
2706
2707 2004-10-13  José Matos  <jamatos@lyx.org>
2708
2709         * output_docbook.C (docbookParagraphs): fix closing tags in the
2710         end of the document.
2711
2712 2004-10-09  José Matos  <jamatos@lyx.org>
2713
2714         * buffer.C: format up to 237.
2715         * bufferparams.C (write): use tostr to convert booleans to strings.
2716
2717 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2718
2719         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2720
2721 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2722
2723         * LaTeX.C: implement use of babel language in xindy.
2724
2725 2004-10-05  José Matos  <jamatos@lyx.org>
2726
2727         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2728         Add new translators to help reading and writing the lyx file.
2729
2730 2004-10-05  José Matos  <jamatos@lyx.org>
2731
2732         * ParagraphParameters.C (read):
2733         * text.C (readParToken): replace nexToken by more appropriate lex
2734         methods.
2735
2736 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2737
2738         * LaTeX.C (runMakeIndex):
2739         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2740         (usually 'makeindex') configurable.
2741
2742         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2743         with a variable rather than with a number.
2744
2745 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2746
2747         * output_latex.C (TeXOnePar): make sure font setting is the first
2748         thing that gets output (and the last at the end). Should fix bug
2749         1404.
2750
2751 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2752
2753         * pch.h: use proper signal include
2754
2755         * LaTeX.h: Use preferred calling of Boost.Signal
2756         * buffer.h: ditto
2757
2758 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2759
2760         * pch.h: dont include <boost/function/function0.hpp>
2761
2762         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2763
2764         * paragraph_pimpl.h: remove usage of ShareContainer
2765
2766         * paragraph_pimpl.C: remove initialization of ShareContainer.
2767
2768 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2769
2770         Fix bug #1666
2771
2772         * BufferView.C (putSelectionAt): change the semantics when
2773         backwards == true: now, this just swaps cursor and anchor wrt the
2774         forward case
2775
2776         * BufferView.h (putSelectionAt): add some documentation
2777
2778         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2779         make sure backwardChar is done at least once (to avoid getting
2780         stuck)
2781         (findNextChange): use putSelectionAt in the forward direction
2782         (operator()): use Paragraph::isWord
2783
2784 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2785
2786         * Spacing.C (set): c_str fix
2787
2788 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2789
2790         * lyx_cb.C (Reconfigure): quote the name of configure script in
2791         case it contains spaces
2792
2793 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2794
2795         * client: new dir
2796
2797         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2798         (BOOST_LIBS): use top_buildir when looking for the file
2799
2800 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2801
2802         * pch.h: do not use include boost/format.hpp, multiple symbols
2803                 will result (gcc bug)
2804
2805
2806 2004-08-23  José Matos  <jamatos@lyx.org>
2807
2808         * bufferparams.C (readToken): fix reading of the author field.
2809
2810 2004-08-20  José Matos  <jamatos@lyx.org>
2811
2812         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2813
2814 2004-08-20  José Matos  <jamatos@lyx.org>
2815
2816         * lyxlex.[Ch] (findToken): remove function.
2817
2818         * ParagraphParameters.C (findToken):
2819         * bufferparams.C (findToken): replace call for previous function
2820         with local copy. This local function has one more argument, the
2821         read string argument.
2822
2823 2004-08-16  José Matos  <jamatos@lyx.org>
2824
2825         * ParagraphParameters.C (write):
2826         * Spacing.C (writeFile):
2827         * bufferparams.C (writeLaTeX):
2828         * lyx_cb.C (Reconfigure):
2829         * paragraph.C (write):
2830         * tabular.C (write): remove unnecessary space at end of line.
2831
2832
2833 2004-08-16  José Matos  <jamatos@lyx.org>
2834
2835         * text.C (readParagraph): remove debug message.
2836
2837 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2838
2839         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2840         crash
2841
2842         * output_plaintext.C (asciiParagraph): set depth correctly
2843
2844         * outputparams.h: add member depth
2845
2846         * paragraph_funcs.C (ownerPar): remove.
2847
2848         * text2.C (setCounter): remove first_pit; comment out some
2849         non-working code that uses ownerPar
2850
2851         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2852         uses ownerPar
2853
2854 2004-08-16  José Matos  <jamatos@lyx.org>
2855
2856         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2857         For the same level of importance use the same chanel to report problems.
2858         (read): add code to deal with \begin_body and \end_body.
2859
2860
2861 2004-08-15  José Matos  <jamatos@lyx.org>
2862
2863         * lyxlex.C (getString): fix comment, buffer::readBody is now
2864         buffer:readDocument.
2865
2866         * tex-strings.C (string_papersize): Default -> default,
2867         Custom -> custom, for consistency with other options.
2868
2869 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2870
2871         * pch.h: new file
2872
2873         * Makefile.am: support pch
2874
2875 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2876
2877         * text.C (readParToken): remove the static LyXFont variable and
2878         pass it as a parameter instead. This fixes a nasty bug where an
2879         inset will be inserted with a bad font in some situations
2880         (readParagraph): adapt
2881
2882         * text2.C (setCounter): reduce number of calls to pars_[pit]
2883
2884         * text.C (singleWidth): add an assert, fix a test
2885
2886         * rowpainter.C (paintText): reduce number of calls to singleWidth
2887
2888         * paragraph.C (isHfill):
2889         (isNewline): ws only
2890
2891 2004-08-14  André Pönitz  <poenitz@gmx.net>
2892
2893         * text.C:
2894         * text2.C:
2895         * rowpainter.C:
2896         * lyxtext.h (several functions): use a Paragraph & argument
2897         instead of par_type
2898
2899 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2900
2901         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2902
2903         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2904
2905         * text.C (singleWidth): remove useless test
2906
2907 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2908
2909         * tabular.h: remove bogus comments
2910
2911         * tabular.C (getDescentOfRow):
2912         (isPartOfMultiColumn): add assertions
2913
2914         * lyxlength.C (inPixels): remove #warning
2915
2916 2004-08-14  André Pönitz  <poenitz@gmx.net>
2917
2918         * paragraph.h: inline getChar()
2919
2920         * BufferView.h: remove unused declarations
2921
2922 2004-08-14  José Matos  <jamatos@lyx.org>
2923
2924         * Buffer.[Ch] (readDocument): new name for old readBody.
2925         * Buffer.C: new file format, new keywords: \begin_document,
2926         \begin_header, \begin_body, \end_body.
2927
2928         * bufferparams.C (readToken): replace all calls to lex.nextToken
2929         by lex.next(). Do the same to eatLine except where really needed.
2930
2931         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2932         line when writing to the lyx file.
2933
2934         * output_plaintext.C (asciiParagraph): fix Bibliography style
2935         handling.
2936
2937         * text.C (read): fix end of file handling.
2938
2939 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2940
2941         * MenuBackend.C (Menu::operator[]): new method to access
2942         individual menu items
2943         (Menu::hasFunc): new method. search for an item that corresponds
2944         to a given func
2945         (MenuBackend::specialMenu): new method
2946         (MenuBackend::expand): if a special menu has been set, skip
2947         entries whose func() appears in this menu
2948
2949 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2950
2951         * text3.C: use Debug::DEBUG a bit more
2952
2953         * text.C (leftMargin): try to simplify a tiny bit change var x to
2954         l_margin. Dont output the wide margins always.
2955         (rightMargin): no margin in inner texts
2956
2957         * rowpainter.h (nestMargin): new func
2958         (changebarMargin): new func
2959         (rightMargin): new func
2960
2961         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2962         now functions.
2963         (paintLast): ditto
2964
2965         * factory.C (createInset): modify setDrawFrame
2966
2967         * cursor.C: use Debug::DEBUG a bit more
2968
2969 2004-08-14  André Pönitz  <poenitz@gmx.net>
2970
2971         * coordcache.[Ch]:
2972         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2973         cache for all insets in (at least partially) visible (top-level)
2974         paragraphs.
2975
2976         * BufferView_pimpl.C: reset external coord cache before every update.
2977         This means the coord cache only contains valid entries.
2978
2979 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2980
2981         bug 1096
2982         * BufferView_pimpl.C (getInsetByCode): move function out of class
2983         and change in to a template in anon namespace. Also fix to do what
2984         suits us better.
2985
2986 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2987
2988         bug 1305
2989         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2990         of char
2991         (breakParagraph): rename par to par_offset and use a local
2992         reference. Add code to keep the language over a rebreak.
2993         (breakParagraphConservative): rename par to par_offset, use a
2994         local reference
2995         (mergeParagraph): ditto
2996         (outerHook): ditto
2997         (isFirstInSequence): ditto
2998         (outerFont): rename pit to par_offset
2999
3000         * paragraph.C: ws change
3001         * paragraph.h: ditto
3002         * text3.C: ditto
3003         * text.C: ditto
3004
3005 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3006
3007         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3008         treatment for ']'
3009
3010         * paragraph.C (simpleTeXOnePar): when we have a \item with
3011         optional argument, enclose the argument with curly brackets (in
3012         case it contains a closing square bracket)
3013
3014         * text2.C (editXY):
3015         * text2.C (editXY):
3016         * text3.C (checkInsetHit): constify
3017
3018 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3019
3020         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3021         documents (bug 1629)
3022
3023 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3024
3025         Fix toggling of collapsable insets with the mouse (bug 1558)
3026
3027         * lyxfunc.C (dispatch): adapt to LCursor changes
3028
3029         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3030         make sure that dispatch is not invoked twice
3031
3032         * cursor.C (needsUpdate): new method
3033         (dispatch): return void
3034         (result): new method, to access the DispatchResult of the cursor.
3035
3036 2004-08-13  José Matos  <jamatos@lyx.org>
3037
3038         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3039
3040 2004-08-13  André Pönitz  <poenitz@gmx.net>
3041
3042         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3043
3044         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3045           multiple cells
3046
3047 2004-08-12  André Pönitz  <poenitz@gmx.net>
3048
3049         * text3.C: take out the 'cursor right' form insertInset and only
3050         do it in those places when it is really needed. Fixes crash on
3051         C-m...
3052
3053 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3054
3055         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3056
3057         * BufferView_pimpl.C (setBuffer): initialize the current font of
3058         the underlying LyXText
3059
3060 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3061
3062         * kbsequence.C (print): use UI native formatting for menu
3063         shortcuts
3064
3065         * text.C (insertChar): call Paragraph::insertChar with a font
3066         argument (cosmetic)
3067
3068         * paragraph.C (insertInset, insertChar): the version that takes a
3069         LyXFont argument is now a wrapper around the other one (the
3070         opposite used to be true).
3071
3072         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3073         argument. Font setting is done in Paragraph now.
3074
3075 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3076
3077         * outputparams.h: add new members intitle and lang.
3078
3079         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3080         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3081
3082 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3083
3084         * text3.C (dispatch): remove special handling of button 4 and 5,
3085         it is now taken care of in the frontend code.
3086
3087 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3088
3089         * Spacing.h: add <string> (STLPort compile fix)
3090
3091 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3092
3093         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3094
3095 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3096
3097         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3098         to bool.
3099
3100         * converter.C (showMessage): inherit from unary_function, make
3101         operator() const.
3102
3103         * buffer.C (writeFile): initialize retval
3104
3105         * InsetList.h: rename private variable list to list_
3106         * InsetList.[Ch]: adjust accordingly.
3107
3108 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3109
3110         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3111         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3112         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3113         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3114         * ParagraphParameters.C, LaTeXFeatures.C: replace
3115         "support/std_sstream.h" with <sstream>
3116
3117 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3118
3119         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3120         * lyxsocket.C (LyXServerSocket): ditto
3121         (serverCallback): ditto
3122
3123 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3124
3125         * LaTeXFeatures.C: check release date when loading jurabib.
3126
3127 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3128
3129         * lyxserver.C (startPipe): call register_socket_callback
3130         (endPipe): call unregister_socket_callback
3131
3132 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3133
3134         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3135         (LyXServerSocket): register the callback
3136         (LyXServerSocket): unregister the callback
3137         (fd): delete function
3138         (serverCallback): improve error checking and setup the callbacks.
3139         (dataCallback): change arg to fd.
3140         (writeln): new func (copied fro the client socket) used for server
3141         write to client.
3142         (LyXDataSocket): simplify
3143         (~LyXDataSocket): close ann unregiser callback
3144         (server): delete function
3145         (fd): delete function
3146         (readln): small changes, improve some std::string usage
3147         (writeln): constify a bit
3148
3149 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3150
3151         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3152         Qt frontend
3153
3154 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3155
3156         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3157         after it has been populated
3158
3159 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3160
3161         * text2.C (insertInset): move cursor when inserting inset.
3162
3163 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3164
3165         * kbmap.C (findbindings): a couple of new methods. returns a
3166         container of kb_sequence objects. The real work is done by the
3167         private recursive version
3168         (printbindings): uses findbindings to print out a bracketed list
3169         of bindings (renamed from findbinding).
3170
3171         * MenuBackend.C (binding): use kb_keymap::findbindings
3172
3173         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3174
3175 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3176
3177         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3178
3179 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3180
3181         * paragraph.C (isWord): return true on insets that report
3182         isLetter().
3183
3184         * text.C (getWord): use Paragraph::isWord to decide what is in a
3185         word and what is not; fix bug 1609.
3186
3187 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3188
3189         * tex-strings.C: add "none" to string_paperpackages[], fixes
3190         off-by-one-error in the paperpackage selection.
3191
3192         * lyxlex.[Ch]:
3193         * tex-strings.[Ch]: char const * string[n]
3194         -> char const * const string[]
3195
3196 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3197
3198         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3199         command, return early.
3200
3201 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3202
3203         * debug.h: add DEBUG to enum and fix size of ANY.
3204
3205         * debug.C: add support for Debug::DEBUG
3206         (showTags): cast errorTags.level to unsigned int
3207
3208         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3209         (redoCurrentBuffer): ditto
3210         (updateScrollbar): ditto
3211         * cursor.C (dispatch): ditto
3212         * text2.C (setLayout): ditto
3213         (setFont): ditto
3214         (updateCounters): ditto
3215         (editXY): ditto
3216         (deleteEmptyParagraphMechanism): ditto
3217
3218 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3219
3220         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3221         annotations to cleanup the Makefile slightly.
3222
3223 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3224
3225         * lyxrc.C: do not set user_email to a default value but use empty
3226         instead. The entry used to be translated, which does not work
3227         since at the point where lyxrc is constructed there is no
3228         translation service available
3229
3230         * messages.C (getLocaleDir): remove and use directly
3231         lyx_localedir() instead
3232
3233 2004-06-02  Angus Leeming  <leeming@lyx.org>
3234
3235         Fix crash caused by dereferencing null pointer 'exportdata' in
3236         OutputParams by creating a new ExportData variable on the heap,
3237         storing it in a boost::shared_ptr.
3238         The crash was triggered when generating an Instant Preview
3239         of an external inset.
3240
3241         * Makefile.am: add outputparams.C
3242
3243         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3244         (c-tor): allocate memory to it.
3245
3246         * exporter.C (c-tor): associated changes.
3247
3248 2004-06-01  Angus Leeming  <leeming@lyx.org>
3249
3250         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3251         contains data before calling isInset(0). (Bug 1513.)
3252
3253 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3254
3255         * exporter.C (checkOverwrite): new method
3256         * exporter.C (copyFile): new method
3257         * exporter.C (Export): copy referenced files to the document dir
3258         * exporter.[Ch]: new class ExportedFile
3259         * exporter.[Ch]: new class ExportData. Contains currently the
3260         names of referenced external files
3261         * outputparams.h: add exportdata member.
3262
3263 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3264
3265         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3266         version.C-tmp
3267
3268 2004-05-19  Angus Leeming  <leeming@lyx.org>
3269
3270         * LaTeXFeatures.C:
3271         * ToolbarBackend.C:
3272         * bufferparams.C:
3273         * lyxfunc.C: small changes due to the introduction of namespace
3274         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3275
3276 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3277
3278         * text3.C (dispatch): supress update when only moving the cursor
3279         * cursor.C (selHandle): remove commented code
3280
3281 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3282
3283         * paragraph.C (startTeXParParams): correct column count
3284         * CutAndPaste.C (pasteSelection): remove const_cast
3285         * output_docbook.C (docbookParagraphs): remove const_cast
3286         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3287         const_cast and return ParagraphList::const_iterator
3288         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3289         * output_plaintext.C (writeFileAscii): remove const_cast
3290         * paragraph.[Ch] (simpleTeXOnePar): make const
3291         * paragraph_funcs.C (outerPar): use const iterators
3292         * paragraph_pimpl.C (validate): use const iterators
3293         * text.C (setHeightOfRow): use const iterators
3294
3295 2004-05-17  Angus Leeming  <leeming@lyx.org>
3296
3297         * lfuns.h:
3298         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3299
3300         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3301         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3302         if the citation engine has changed.
3303
3304 2004-05-14  José Matos  <jamatos@lyx.org>
3305
3306         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3307         if the textclass does not provide it. Have it different for sgml and
3308         xml.
3309         support the language of document.
3310         * output_docbook.C (docbookParagraphs):
3311         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3312         first anchor as the id of the paragraph, remove special case code.
3313         * sgml.C (escapeChar): escape only < & >.
3314
3315 2004-05-14  Angus Leeming  <leeming@lyx.org>
3316
3317         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3318         dependencies on src/frontends/controllers/biblio.h. Define a
3319         CiteEngine_enum wrapper class to enable the enum to be forward
3320         declared.
3321
3322 2004-05-12  Angus Leeming  <leeming@lyx.org>
3323
3324         * buffer.C: up LYX_FORMAT to 234.
3325         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3326         use_numerical_citations with a single biblio::CiteEngine cite_engine
3327         variable.
3328         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3329
3330 2004-05-13  José Matos  <jamatos@lyx.org>
3331
3332         * converter.h:
3333         * converter.C (Converter, readFlags): add xml member.
3334         * outputparams.h: add XML flavor.
3335         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3336
3337 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3338
3339         * lyxfunc.C (dispatch):
3340         (getStatus): fix handling of LFUN_SEQUENCE
3341
3342 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3343
3344         * debug.C (showLevel): do not forget the end-of-line marker
3345
3346 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3347
3348         * kbmap.C (read): do not stop parsing a bind file when an error
3349         occurs (bug 1575)
3350
3351 2004-04-29  Angus Leeming  <leeming@lyx.org>
3352
3353         * cursor.C:
3354         * factory.C:
3355         * pariterator.C:
3356         * text2.C: wrap a bunch of #warning statements
3357         inside #ifdef WITH_WARNINGS blocks.
3358
3359 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3360
3361         * buffer.C: increment format to 233.
3362
3363 2004-04-28  Angus Leeming  <leeming@lyx.org>
3364
3365         * BufferView_pimpl.C:
3366         * lyxfunc.C:
3367         * text3.C:
3368         s/updateToolbar()/updateToolbars()/
3369         s/Toolbar.h/Toolbars.h/
3370
3371 2004-04-28  Angus Leeming  <leeming@lyx.org>
3372
3373         * BufferView.[Ch] (c-tor):
3374         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3375         No longer passes these data to the WorkArea generator.
3376
3377 2004-04-28  Angus Leeming  <leeming@lyx.org>
3378
3379         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3380
3381 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3382
3383         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3384
3385 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3386
3387         * output_latex.C (TeXEnvironment): make sure that there is a line
3388         break before \end{foo} for the last paragraph of a document
3389         (TeXOnePar): if the paragraph is at the end of the document (or
3390         inset) and the language has to be reset, then make sure that the
3391         line break is _before_ the language command, not after (fixes bug
3392         1225); also make sure that the language reset command is the first
3393         thing after the paragraph (to ensure proper nesting of
3394         environments and thus fix bug 1404)
3395
3396 2004-04-21  John Levon  <levon@movementarian.org>
3397
3398         * ToolbarBackend.h:
3399         * ToolbarBackend.C: make "name" be a programmatic name
3400         and a gui_name field.
3401
3402         * lyxfunc.C: display the minibuffer on M-x
3403
3404 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3405
3406         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3407         (bug 1526)
3408
3409 2004-04-19  Angus Leeming  <leeming@lyx.org>
3410
3411         * BufferView_pimpl.C (setBuffer): changed preview interface.
3412
3413         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3414         possible values.
3415
3416 2004-04-19  John Levon  <levon@movementarian.org>
3417
3418         * BufferView_pimpl.C:
3419         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3420
3421 2004-04-05  Angus Leeming  <leeming@lyx.org>
3422
3423         * text.C (redoParagraphs): add call to updateCounters(), thereby
3424         fixing the missing "Figure #:" label from the caption of a
3425         figure float.
3426
3427 2004-04-13  Angus Leeming  <leeming@lyx.org>
3428
3429         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3430         cursor is clicked out of an inset.
3431
3432 2004-04-13  Angus Leeming  <leeming@lyx.org>
3433
3434         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3435         than an InsetOld one.
3436
3437 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3438
3439         * format.[Ch]: add editor to Format
3440         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3441         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3442
3443 2004-04-08  André Pönitz  <poenitz@gmx.net>
3444
3445         * metricsinfo.h: remove PainterInfo::width member
3446
3447 2004-04-08  Angus Leeming  <leeming@lyx.org>
3448
3449         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3450         "\providecommand" rather than "\newcommand", thereby preventing
3451         clashes with packages that define "\boldsymbol" themselves.
3452         Eg, beamer.
3453
3454 2004-04-08  Angus Leeming  <leeming@lyx.org>
3455
3456         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3457         thereby squashing an unnecessary warning.
3458
3459 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3460
3461         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3462         setBuffer()
3463
3464 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3465
3466         * BufferView.C (setCursor): call redoParagraph (some insets could
3467         have been opened)
3468         (putSelectionAt): remove the 'double update' trick
3469
3470         * BufferView_pimpl.C (fitCursor): call refreshPar
3471         (workAreaDispatch): remove an uneeded update call
3472         (dispatch): remove some manual update calls
3473
3474         * cursor.[Ch]: remove cached_y_, updatePos
3475         (selHandle): set noUpdate when appropriate
3476
3477         * lyxfunc.C (dispatch): track if we need an update
3478
3479         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3480
3481         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3482         (paintSelection): cheap optimization, do not call cursorX when not
3483         needed
3484         (paintPars): change signature
3485         (refreshPar): add
3486         (paintText): adjust
3487         (paintTextInset): adjust
3488
3489         * text.C: adjust
3490
3491 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3492
3493         * lengthcommon.C: compilation fix: remove explicit array size from
3494         unit_name[] and friends
3495
3496 2004-04-05  Angus Leeming  <leeming@lyx.org>
3497
3498         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3499
3500         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3501         present only for the preferences dialog.
3502         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3503
3504 2004-04-05  Angus Leeming  <leeming@lyx.org>
3505
3506         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3507         to enable the frontends to export changes to lyxrc correctly.
3508
3509         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3510
3511 2004-04-07  André Pönitz  <poenitz@gmx.net>
3512
3513         * cursor.[Ch] (selClear, adjust): remove math
3514
3515         * cursor_slice.C: more agressive assert
3516
3517         * lyxfunc.C:
3518         * BufferView_pimpl.C: rework mouse event dispatch
3519
3520         * dociterator.C:
3521         * paragraph.C:
3522         * text2.C:
3523         * text3.C: adjust
3524
3525 2004-04-05  André Pönitz  <poenitz@gmx.net>
3526
3527         * cursor.[Ch] (valign, halign...): remove unneeded functions
3528
3529 2004-04-05  Angus Leeming  <leeming@lyx.org>
3530
3531         * lyxlength.[Ch] (unit_name et al.): const-correct.
3532
3533 2004-04-05  Angus Leeming  <leeming@lyx.org>
3534
3535         * BufferView_pimpl.C:
3536         * buffer.C:
3537         * counters.C:
3538         * cursor.C:
3539         * lyxfunc.C
3540         * paragraph.C:
3541         * pariterator.C:
3542         * text.C:
3543         * text2.C:
3544         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3545
3546 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3547
3548         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3549
3550 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3551
3552         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3553         * BufferView_pimpl.[Ch] (getStatus)
3554         * BufferView.[Ch] (getStatus): add
3555         * lyxfunc.C (getStatus): move lfuns handled in
3556         BufferView::dispatch to te function above
3557         * Cursor.C (setSelection): set selection() = true
3558
3559 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3560
3561         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3562
3563 2004-03-31  Angus Leeming  <leeming@lyx.org>
3564
3565         * lyxfunc.C (dispatch): Fall through to the generic
3566         Dialogs::show("preamble").
3567
3568 2004-03-31  Angus Leeming  <leeming@lyx.org>
3569
3570         * lyxfunc.C (dispatch): Fall through to the generic
3571         Dialogs::show("spellchecker").
3572
3573 2004-03-31  Angus Leeming  <leeming@lyx.org>
3574
3575         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3576         preferences dialog.
3577
3578 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3579
3580         * BufferView.C
3581         * cursor.[Ch]
3582         * dociterator.[Ch]:
3583         * insetiterator.[Ch]:
3584         * lyxfind.C:
3585         * lyxfunc.C:
3586         * pariterator.[Ch]:
3587         * text2.C:
3588         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3589
3590 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3591
3592         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3593         insets where we are putting the cursor.
3594
3595 2004-03-31  Angus Leeming  <leeming@lyx.org>
3596
3597         * lfuns.h:
3598         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3599
3600         * lyxrc.[Ch] (read, write): overloaded member functions taking
3601         a std::[io]stream arguments.
3602
3603         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3604
3605 2004-03-31  Angus Leeming  <leeming@lyx.org>
3606
3607         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3608         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3609
3610         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3611         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3612
3613 2004-03-31  Angus Leeming  <leeming@lyx.org>
3614
3615         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3616         the LFUN_ALL_INSETS_TOGGLE code.
3617
3618 2004-03-30  Angus Leeming  <leeming@lyx.org>
3619
3620         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3621         has died. Fall through to the generic Dialogs::show("document").
3622
3623 2004-03-30  Angus Leeming  <leeming@lyx.org>
3624
3625         * lfuns.h:
3626         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3627         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3628
3629         * lyxfunc.C (getStatus, dispatch): define the actions for these
3630         lfuns. Little more than a cut and pste job from ControlDocument.C
3631
3632         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3633
3634 2004-03-30  Angus Leeming  <leeming@lyx.org>
3635
3636         * lfuns.h:
3637         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3638         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3639
3640         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3641         open/closed state of ollapsable insets. Usage:
3642
3643         all-inset-toggle <state> <name>, where
3644         <state> == "open" || "closed" || "toggle" and
3645         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3646
3647         * lyxtext.h, text2.C (toggleInset): removed.
3648
3649         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3650         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3651         now passes LFUN_INSET_TOGGLE to the found inset.
3652
3653         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3654         is now invoked as "all-insets-toggle toggle branch".
3655
3656 2004-03-30  Angus Leeming  <leeming@lyx.org>
3657
3658         * dociterator.C:
3659         * insetiterator.C:
3660         * pariterator.[Ch]: added/corrected header blurb.
3661
3662 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3663
3664         * dociterator.[Ch]: add an inset_ member
3665         (backwardPos): implemented
3666         (backwardPos, forwardPos): use inset_ when the stack is empty.
3667         (doc_iterator_begin, doc_iterator_end): implemented
3668         * pariterator.[Ch]: adjust, add begin, end
3669         * insetiterator.[Ch]: adjust, add begin, end
3670         * cursor.C:
3671         * document.C:
3672         * BufferView.C:
3673         * BufferView_pimpl.C:
3674         * CutAndPaste.C: adjust
3675
3676 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3677
3678         * buffer.C: increment file format to 232.
3679         * LaTeXFeatures.C: add bibtopic package.
3680         * bufferparams.[Ch]: param \use_bibtopic.
3681
3682         * lyxrc.[Ch]: add lyxrc bibtex_command
3683         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3684
3685         * buffer.C: increment file format to 231.
3686
3687 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3688
3689         * dociterator.C: implement forwardPar
3690         * iterators.[Ch]: remove, replaced by
3691         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3692         * BufferView.C:
3693         * BufferView_pimpl.C:
3694         * CutAndPaste.C:
3695         * buffer.C:
3696         * bufferview_funcs.C:
3697         * cursor.C:
3698         * lyxfind.C
3699         * lyxfunc.C
3700         * paragraph_funcs.C
3701         * toc.C:
3702         * Makefile.am: adjust
3703
3704 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3705
3706         * CutAndPaste.C (pasteSelection): fix 2 crashes
3707         (eraseSelection): fix a crash
3708         * paragraph_funcs.C: remove a warning
3709
3710 2004-03-28  Angus Leeming  <leeming@lyx.org>
3711
3712         * lfuns.h:
3713         * LyXAction.C (init): new LFUN_PRINT.
3714
3715         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3716
3717 2004-03-27  Angus Leeming  <leeming@lyx.org>
3718
3719         * lfuns.h:
3720         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3721
3722         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3723
3724 2004-03-27  Angus Leeming  <leeming@lyx.org>
3725
3726         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3727         insetlist always contains non-null pointers to insets.
3728
3729 2004-03-26  Angus Leeming  <leeming@lyx.org>
3730
3731         * src/BufferView_pimpl.C:
3732         * src/CutAndPaste.C:
3733         * src/buffer.C:
3734         * src/iterators.C:
3735         * src/output_plaintext.C:
3736         * src/outputparams.h:
3737         * src/paragraph_funcs.C:
3738         * src/rowpainter.C:
3739         * src/text.C:
3740         * src/text2.C:
3741         * src/frontends/controllers/ControlErrorList.C:
3742         * src/frontends/gtk/FileDialogPrivate.C:
3743         * src/frontends/gtk/GPainter.C:
3744         * src/frontends/gtk/GToolbar.C:
3745         * src/frontends/qt2/QRef.C:
3746         * src/mathed/math_scriptinset.C: squash compiler warnings.
3747
3748 2004-03-26  Angus Leeming  <leeming@lyx.org>
3749
3750         * ispell.C (LaunchIspell::start):
3751         * lyx_cb.C (AutoSaveBuffer::start):
3752         invoke run(DontWait) rather than runNonBlocking().
3753
3754 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3755
3756         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3757
3758 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3759
3760         * kbsequence.C (print): adjust
3761
3762         * kbmap.C (printKeySym): rename and change signature
3763         (printKey): use LyXKeySym::print()
3764
3765 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3766
3767         * undo.C: add using std::advance to compile for stlport
3768
3769 2004-03-24  Angus Leeming  <leeming@lyx.org>
3770
3771         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3772         it leads to a crash when no buffer is present.
3773
3774 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3775             Martin Vermeer  <martin.vermeer@hut.fi>
3776
3777         * lyxfunc.C (dispatch):
3778         * bufferparams.C (readToken): use the new LColor::setColor
3779
3780         * LColor.[Ch] (setColor): new version that takes two strings as
3781         argument and creates a new color entry if necessary
3782
3783 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3784
3785         * buffer.C (makeLaTeXFile): if the main latex file that is
3786         processed is usually a subdocument of some master, then pretend
3787         for a while that it is actually the master
3788
3789 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3790
3791         * buffer.C (getLabelList):
3792         (getBibkeyList): use getMasterBuffer()
3793         (getMasterBuffer): new method. Returns the main document in the
3794         case where one is using included documents.
3795
3796 2004-03-25  André Pönitz  <poenitz@gmx.net>
3797
3798         * Makefile.am:
3799         * iterators.[Ch]:
3800         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3801
3802         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3803
3804         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3805         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3806
3807         * ParameterStruct.h: merge with ParagraphParameters
3808
3809         * lyxtext.h: remove LyXText::parOffset() and getPar()
3810
3811         * text3.C: Remove all 'manual' update calls. We do now one per user
3812         interaction which is completely sufficient.
3813
3814         * Bidi.C:
3815         * BufferView.[Ch]:
3816         * BufferView_pimpl.C:
3817         * FontIterator.[Ch]:
3818         * MenuBackend.C:
3819         * ParagraphParameters.[Ch]:
3820         * buffer.C:
3821         * buffer.h:
3822         * bufferlist.C:
3823         * cursor.[Ch]:
3824         * cursor_slice.[Ch]:
3825         * dociterator.[Ch]:
3826         * errorlist.[Ch]:
3827         * factory.C:
3828         * lfuns.h:
3829         * lyxfind.C:
3830         * lyxfunc.C:
3831         * output_docbook.[Ch]:
3832         * output_latex.[Ch]:
3833         * output_linuxdoc.[Ch]:
3834         * output_plaintext.[Ch]:
3835         * paragraph.[Ch]:
3836         * paragraph_funcs.[Ch]:
3837         * paragraph_pimpl.[Ch]:
3838         * rowpainter.C:
3839         * tabular.[Ch]:
3840         * text.C:
3841         * text2.C:
3842         * toc.C:
3843         * undo.[Ch]: adjust
3844
3845         * frontends/controllers/ControlDocument.C:
3846         * frontends/controllers/ControlErrorList.C:
3847         * frontends/controllers/ControlSpellchecker.C:
3848         * insets/inset.C:
3849         * insets/inset.h:
3850         * insets/insetbase.h:
3851         * insets/insetbibitem.C:
3852         * insets/insetbox.C:
3853         * insets/insetbranch.C:
3854         * insets/insetcaption.C:
3855         * insets/insetcharstyle.C:
3856         * insets/insetcharstyle.h:
3857         * insets/insetcollapsable.C:
3858         * insets/insetcollapsable.h:
3859         * insets/insetert.C:
3860         * insets/insetfloat.C:
3861         * insets/insetfoot.C:
3862         * insets/insetmarginal.C:
3863         * insets/insetnote.C:
3864         * insets/insetoptarg.C:
3865         * insets/insettabular.C:
3866         * insets/insettext.C:
3867         * insets/insettext.h:
3868         * insets/insetwrap.C:
3869         * mathed/math_mboxinset.C:
3870         * mathed/math_nestinset.C:
3871         * mathed/math_scriptinset.C:
3872         * mathed/math_scriptinset.h:
3873         * support/types.h:
3874
3875 2004-03-24  Angus Leeming  <leeming@lyx.org>
3876
3877         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3878         deal with any child processes that have finished but are waiting to
3879         communicate this fact to the rest of LyX.
3880
3881 2004-03-24  Angus Leeming  <leeming@lyx.org>
3882
3883         64-bit compile fixes.
3884
3885         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3886         (c-tor): pass lyx::pos_types rather than ints.
3887
3888         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3889         lyx::pos_type.
3890
3891         * text.C (Delete): compile fix.
3892         (getPar): ensure that function declaration is the same as that in
3893         the header file.
3894
3895 2004-03-23  Angus Leeming  <leeming@lyx.org>
3896
3897         * ispell.C (LaunchIspell):
3898         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3899         a boost::shred_ptr rather than a std::auto_ptr.
3900
3901 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3902
3903         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3904         handle LFUN_FILE_INSERT_*
3905
3906         * lyxrc.C (setDefaults, getDescription, output, read):
3907         * lyxrc.h: remove ps_command
3908
3909 2004-03-22  Angus Leeming  <leeming@lyx.org>
3910
3911         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3912         Ensure that error_handler is processed once only and that all data
3913         is saved before attempting to output any warning messages.
3914
3915         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3916
3917 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3918
3919         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3920
3921 2004-03-19  André Pönitz  <poenitz@gmx.net>
3922
3923         * cursor.[Ch] (reset): take main text inset as argument
3924
3925         * BufferView: adjust
3926         * BufferView_pimpl.C: adjust
3927
3928         * paragraph.[Ch]: fix completely broken operator=()
3929
3930 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3931
3932         * LColor.C (getFromLyXName): make sure that the color name is used
3933         as lowercase.
3934
3935 2004-03-17  Angus Leeming  <leeming@lyx.org>
3936
3937         * lfuns.h:
3938         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3939
3940         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3941         dialog and to kill a forked process.
3942
3943 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3944
3945         * text2.C (setCursorFromCoordinates): fix font problem
3946
3947 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3948
3949         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3950         bogus "rebuild cursor" code
3951
3952 2004-03-11  André Pönitz  <poenitz@gmx.net>
3953
3954         * buffer.[Ch]: use InsetText instead of LyXText as container for
3955         the main lyx text.
3956
3957         * dociterator.[Ch]: drop the BufferView * member which is not needed
3958         anymore after the change to buffer.C
3959
3960         * paragraph_funcs.C:
3961         * text.C:
3962         * text2.C:
3963         * BufferView.[Ch]:
3964         * BufferView_pimpl.[Ch]:
3965         * cursor.[Ch]:
3966         * cursor_slice.[Ch]: adjust
3967
3968         * text3.C: fix bug in mathDispatch
3969
3970 2004-03-08  André Pönitz  <poenitz@gmx.net>
3971
3972         * undo.[Ch]: use 'StableDocumentIterator' as base for
3973         the Undo struct.
3974
3975 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3976
3977         * LaTeXFeatures.C:
3978         * bufferparams.[Ch]: add jurabib support and param.
3979
3980         * LaTeX.C: add FIXME/comment.
3981
3982 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3983
3984         * buffer.C: increment file format to 230.
3985
3986 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3987
3988         * cursor.C (dispatch): avoid infinite loops
3989
3990 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3991
3992         * rowpainter.C (paintSelection): fix x coordinates
3993
3994 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3995
3996         * text.C (rowBreakPoint): fix breaking before displayed insets
3997
3998 2004-03-01  André Pönitz  <poenitz@gmx.net>
3999
4000         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4001
4002         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4003
4004         * Makefile.am:
4005         * BufferView.C:
4006         * BufferView_pimpl.C:
4007         * buffer.C:
4008         * lyxfind.C:
4009         * lyxfunc.C:
4010         * text.C:
4011         * text2.C:
4012         * text3.C: adjust
4013
4014 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4015
4016         * lyxtext.h:
4017         * text.C:
4018         * text2.C:
4019         * rowpainter.C:
4020         * BufferView_pimpl.C: rename textwidth -> maxwidth,
4021         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4022
4023 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4024
4025         * Bidi.[Ch] (computeTables): const correctness
4026         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4027         fill_hfill, fill_label_hfill and x from Row
4028         * lyxtext.h: prepareToPrint returns a RowMetrics
4029         * rowPainter.C: adjust
4030         * text.C (prepareToPrint): use width, not textWidth. adjust
4031         (redoParagraphInternal, cursorX): adjust
4032         * text2.C (getColumnNearX): adjust
4033         (init): put a default value to the top LyXText::width
4034
4035 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4036
4037         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4038
4039 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4040
4041         * lyxtext.h: add FontIterator class
4042
4043         * text.C (FontIterator, operator*, operator->, operator++): add
4044         (rowBreakPoint, setRowWidth): adjust (fixing a
4045         rebreaking bug)
4046
4047 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4048
4049         * BufferView_pimpl.C (workAreaDispatch): allow also
4050         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4051
4052 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4053
4054         * text.C (rowBreakPoint): fix a bug showing with very large insets
4055
4056 2004-02-25  André Pönitz  <poenitz@gmx.net>
4057
4058         * text3.C:
4059         * cursor.[Ch]: move some mathed specific code to mathed
4060
4061 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4062
4063         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4064         use_tempdir in preferences
4065         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4066         tempfile creation
4067         * lyx_main.C: ensure that tempdir is valid
4068         * lyxlex.h: correct typo
4069         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4070         * paragraph.[Ch] (isMultiLingual): make const
4071         * cursor.[Ch] (openable): make const
4072
4073 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4074
4075         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4076
4077 2004-02-20  André Pönitz  <poenitz@gmx.net>
4078
4079         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4080
4081         * cursor.[Ch]: prepare for localized getStatus()
4082
4083         * lyxtext.h:
4084         * tabular.C:
4085         * text.C:
4086         * text2.C:
4087         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4088
4089 2004-02-20  André Pönitz  <poenitz@gmx.net>
4090
4091         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4092
4093 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4094
4095         * text2.C (setCursorFromCoordinates): switch to absolute coords
4096         (cursorUp): adjust
4097         (cursorDown): adjust
4098         * text3.C (dispatch): adjust
4099
4100 2004-02-16  André Pönitz  <poenitz@gmx.net>
4101
4102         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4103           insets/ChangeLog)
4104
4105         * cursor_slice.[Ch]: remove unneeded acessor function
4106
4107         * lyxtext.h: rename rtl() to isRTL()
4108
4109         * rowpainter.C:
4110         * tabular.C:
4111         * text.C:
4112         * text2.C:
4113         * text3.C: adjust
4114
4115 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4116
4117         * rowpainter.C (paintSelection): coord fix
4118
4119 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4120
4121         * Spacing.C: compile fix
4122
4123 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4124
4125         * cursor.C (dispatch): restore current_ before returning
4126
4127 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4128
4129         * text2.C (cursorUp, cursorDown): fix coords
4130         (moveUp): fix crash
4131
4132 2004-02-12  André Pönitz  <poenitz@gmx.net>
4133
4134         * lyxtext.h:
4135         * text.C:
4136         * text2.C:
4137         * text3.C: add LCursor & parameter to most cursor movement functions
4138           remove usage of LyXText::cursorRow() and cursorPar()
4139
4140         * cursor.[Ch]: add textRow() needed members
4141
4142         * BufferView.C:
4143         * BufferView_pimpl.C:
4144         * paragraph.[Ch]:
4145         * BufferView.C:
4146         * BufferView_pimpl.C: adjust
4147
4148 2004-02-11  André Pönitz  <poenitz@gmx.net>
4149
4150         * lyxfunc.C:
4151         * BufferView.[Ch]:
4152         * BufferView_pimpl.C: shift undo/redo handling
4153
4154         * cursor.[Ch]: fix mathed crash
4155
4156         * lyxfind.C:
4157         * lyxtext.h: move selectionAsText to LCursor
4158
4159         * output_latex.C:
4160         * paragraph.C:
4161         * text.C:
4162         * text2.C:
4163         * text3.C: adjust
4164
4165         * rowpainter.C: fix excessive drawing
4166
4167 2004-02-06  André Pönitz  <poenitz@gmx.net>
4168
4169         * BufferView.[Ch]:
4170         * BufferView_pimpl.[Ch]:
4171         * text3.C: move some text specific LFUN handling
4172
4173 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4174
4175         * text3.C (checkInsetHit): adjust coords
4176         * text2.C (getColumnNearX): adjust coords
4177         (edit): adjust coords
4178         * text.C (getRowNearY): add two asserts
4179
4180 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4181
4182         * converter.C:
4183         * format.C: add using std::distance to compile on gcc 2.95/stlport
4184
4185 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4186
4187         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4188
4189 2004-02-04  André Pönitz  <poenitz@gmx.net>
4190
4191         * BufferView.[Ch] (insertInset):
4192         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4193
4194         * text2.C:
4195         * text3.C: adjust
4196
4197 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4198
4199         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4200         on the default clause of the switch
4201         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4202         wasn't catched by LCursor::dispatch
4203
4204 2004-02-03  André Pönitz  <poenitz@gmx.net>
4205
4206         * BufferView.C:
4207         * cursor.[Ch]: some additional asserts
4208
4209         * undo.[Ch]: remove LyXText dependency in interface
4210
4211         * lyxfunc.C: adjust
4212
4213         * lyxtext.h (firstPar, lastPar): remove dead functions
4214
4215         * text.C:
4216         * text2.C:
4217         * text3.C:
4218         * paragraph.[Ch]: adjust
4219
4220 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4221
4222         * lyxfind.C (find): fix argument order in call to ::find
4223
4224 2004-02-02  André Pönitz  <poenitz@gmx.net>
4225
4226         * cursor.[Ch]: remove direct access to anchor
4227
4228         * text.C: remove findText() hack
4229
4230 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4231
4232         * iterators.[Ch] (lockPath): remove in favour of...
4233         * BufferView.[Ch] (setCursor): this addition
4234         * BufferView.C (putSelectionAt): adjust
4235         * undo.C (performUndoOrRedo): adjust
4236         * lyxfunc.C (dispatch): adjust
4237
4238 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4239
4240         * iterators.C (lockPath): add a missing slice
4241         * undo.C (performUndoOrRedo): remove redundant positioning code
4242
4243 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4244
4245         * vc-backend.C (scanMaster): ";" -> ';'
4246
4247 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4248
4249         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4250         std::binary_function
4251
4252         * lyxtextclass.C (compare_name): rename to...
4253         (LayoutNamesEqual): ...this
4254
4255         * lyxlex_pimpl.C (compare_tags): inherit from
4256         std::binary_function, put back into anon namespace
4257
4258         * lyxfind.C (MatchString): inherig from std::binary_function
4259         (findChange): use empty() istead of !size()
4260
4261         * format.C (FormatNamesEqual): new functor
4262         (getFormat): use it
4263         (getNumber): use it
4264         (add): use it
4265         (erase): use it
4266         (setViewer): use it
4267
4268         * converter.C (compare_Converter): rename to...
4269         (ConverterEqual): ...this, and fixup a bit.
4270         (getConverter): use it, and make function const
4271         (getNumber): use it, and make function const
4272         (add): use it
4273         (erase): use it:
4274
4275         * bufferlist.C: add using boost::bind
4276
4277         * MenuBackend.C (MenuNamesEqual): new functor
4278         (hasMenu): use it, and make function const
4279         (hasSubmenu): use nested bind to get rid of compare_memfun.
4280
4281 2004-01-30  André Pönitz  <poenitz@gmx.net>
4282
4283         * BufferView_pimpl.C:
4284         * cursor.C:
4285         * cursor.h:
4286         * cursor_slice.[Ch]:
4287         * lyxfunc.C:
4288         * lyxtext.h:
4289         * paragraph_funcs.C:
4290         * paragraph_funcs.h:
4291         * rowpainter.C:
4292         * text.C:
4293         * text2.C:
4294         * text3.C: move some of the edit(x,y) handling to the insets
4295         some coordinate changes.
4296
4297 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4298
4299         * text.C: add using statements for std::advance and std::distance
4300
4301         * paragraph.C: add using statement for std::distance
4302
4303         * lyxfind.C: add using statement for std::advance
4304
4305         * cursor.C (region): remove std:: from swap
4306         (openable): use nucleus in stead of operator->
4307
4308         * BufferView.C: add using statements for std::distance and std::swap
4309
4310 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4311
4312         * iterators.C: Remove the pimple, move the needed structures to
4313         the header file. Create accessor for the positions stack.
4314         (asPosIterator): remove function
4315
4316         * PosIterator.C (PosIterator): move constructors to top of file
4317         (PosIterator): reimplement the constructor taking a ParIterator in
4318         terms of setFrom.
4319         (setFrom): new function
4320         (operator!=): inline it
4321
4322 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * lyxfind.C (replaceAll): use std::advance
4325
4326         * iterators.h: inherit from std::iterator.
4327
4328         * PosIterator.C (advance, distance): remove
4329         * PosIterator.h: interit from std::iterator.
4330
4331 2004-01-26  André Pönitz  <poenitz@gmx.net>
4332
4333         * BufferView.[Ch]:
4334         * BufferView_pimpl.[Ch]:
4335         * InsetList.[Ch]:
4336         * PosIterator.[Ch]:
4337         * buffer.h:
4338         * bufferview_funcs.C:
4339         * cursor.[Ch]:
4340         * cursor_slice.h:
4341         * factory.[Ch]:
4342         * iterators.[Ch]:
4343         * lyxfind.C:
4344         * lyxfunc.C:
4345         * lyxtext.h:
4346         * output_docbook.C:
4347         * output_latex.C:
4348         * output_linuxdoc.C:
4349         * output_plaintext.C:
4350         * paragraph.[Ch]:
4351         * paragraph_funcs.[Ch]:
4352         * paragraph_pimpl.[Ch]:
4353         * rowpainter.C:
4354         * tabular.C:
4355         * tabular.h:
4356         * text.C:
4357         * text2.C:
4358         * text3.C: more IU:  dumps most of the rest of the mathcursor
4359     implementation into cursor.[Ch]; "globalize" a bit of it.
4360
4361 2004-01-25  Angus Leeming  <leeming@lyx.org>
4362
4363         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4364
4365 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4366
4367         * LaTeXFeatures.h: add nice_ and nice() const
4368         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4369
4370 2004-01-20  André Pönitz  <poenitz@gmx.net>
4371
4372         * BufferView.[Ch]:
4373         * BufferView_pimpl.C:
4374         * PosIterator.C:
4375         * bufferview_funcs.C:
4376         * cursor.[Ch]:
4377         * cursor_slice.[Ch]:
4378         * factory.C:
4379         * iterators.C:
4380         * lyx_cb.C:
4381         * lyxfind.C:
4382         * lyxfunc.C:
4383         * lyxtext.h:
4384         * rowpainter.C:
4385         * text.C:
4386         * text2.C:
4387         * text3.C:
4388         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4389           LCursor and mathcursor parts to LCursor and InsetBase.
4390
4391 2004-01-15  André Pönitz  <poenitz@gmx.net>
4392
4393         * cursor_slice.[Ch]: add a few covienience functions
4394
4395         * funcrequest.[Ch]: remove BufferView * member
4396
4397         * BufferView_pimpl.C:
4398         * cursor.C:
4399         * factory.[Ch]:
4400         * lyxfind.[Ch]:
4401         * lyxfunc.C:
4402         * lyxtext.h:
4403         * text3.C:
4404         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4405
4406 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4407
4408         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4409         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4410
4411 2004-01-13  André Pönitz  <poenitz@gmx.net>
4412
4413         * textcursor.[Ch]:
4414         * lyxtext.h: hide cursor and selection anchor behind accessor function
4415
4416         * BufferView.C:
4417         * BufferView_pimpl.[Ch]:
4418         * PosIterator.C:
4419         * bufferview_funcs.C:
4420         * cursor.h:
4421         * lyxfind.C:
4422         * lyxfunc.C:
4423         * text.C:
4424         * text2.C:
4425         * text3.C:
4426         * undo.C: adjust
4427
4428         * cursor.h:
4429         * cursor_slice.[Ch]: some integer type changes for inset unification
4430
4431         * lyxcursor.[hC]: remove, it's CursorSlice now.
4432
4433         * Makefile.am:
4434         * BufferView_pimpl.[Ch]:
4435         * bufferview_funcs.C:
4436         * cursor_slice.C:
4437         * lyxtext.h:
4438         * text.C:
4439         * text2.C:
4440         * text3.C:
4441         * textcursor.[Ch]: adjust
4442
4443 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4444
4445         * text2.C (undoSpan): add and use
4446         * text.C (breakParagraph): use undoSpan (fix bug 578)
4447         * lyxtext.h: adjust
4448
4449 2004-01-08  Angus Leeming  <leeming@lyx.org>
4450
4451         * BufferView_pimpl.C (MenuInsertLyXFile):
4452         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4453         * lyxfunc.C (menuNew, open, doImport):
4454         FileFilterList change to the FileDialog open and save functions.
4455
4456 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4457
4458         * ShareContainer.h: make isEqual and isUnique adaptable
4459
4460         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4461
4462 2004-01-07  Angus Leeming  <leeming@lyx.org>
4463
4464         * LyXAction.C:
4465         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4466
4467         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4468
4469         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4470         functions replacing find, replace and replaceAll.
4471
4472         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4473         LFUN_WORDFIND(FORWARD|BACKWARD).
4474
4475 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4476
4477         * text.C (breakParagraph): remove an outdated #warning
4478
4479 2004-01-07  André Pönitz  <poenitz@gmx.net>
4480
4481         * lyxfind.C: somewhat clearer logic
4482
4483         * text.C: prevent crash in cursorX on unitialized row cache
4484
4485 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4486
4487         * lyxcursor.[Ch] (operator>): add
4488         * textcursor.C (selStart, selEnd): use std::min and std::max
4489
4490 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4491
4492         * Chktex.C: include boost/format.hpp
4493
4494 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4495
4496         * InsetList.C: replace functor MathcIt with adaptable functor
4497         InsetTablePosLess
4498         (insetIterator): modify accordingly
4499
4500         * BranchList.h: move the BranchNamesEqual functor here from...
4501         * BranchList.C: ... to here
4502
4503         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4504         SameName and match.
4505         (add): replace a finding loop with std::find_if.
4506
4507 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4508
4509         * output_docbook.C: moving LatexParam functionality into
4510         .layout files
4511
4512 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4513
4514         * buffer.C: increment format to 229.
4515
4516 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4517
4518         * LaTeXFeatures.C:
4519         * lyx_sty.[Ch]: remove minipageindent_def
4520
4521         * LyXAction.C:
4522         * factory.C:
4523         * lfuns.h:
4524         * lyxfunc.C:
4525         * text3.C: remove LFUN_INSET_MINIPAGE
4526
4527 2003-12-28  Angus Leeming  <leeming@lyx.org>
4528
4529         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4530
4531 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4532
4533         * text2.C (setParagraph): fix off-by-one crash
4534
4535 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4536
4537         * output_docbook.C: header stuff for AGU
4538
4539 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4540
4541         * text2.C (redoCursor): remove
4542         * text.C:
4543         * text3.C:
4544         * BufferView_pimpl.C: remove calls to redoCursor and
4545         setCursor(cursor.par(), cursor.pos()) all around
4546
4547 2003-12-15  Angus Leeming  <leeming@lyx.org>
4548
4549         * buffer.C: up the format to 228.
4550
4551 2003-12-15  André Pönitz  <poenitz@gmx.net>
4552
4553         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4554         slices
4555
4556         * Makefile.am:
4557
4558         * BufferView_pimpl.C:
4559         * cursor.[Ch]:
4560         * lyxcursor.[Ch]:
4561         * rowpainter.[Ch]:
4562         * lyxtext.h:
4563         * text.C:
4564         * text2.C:
4565         * text3.C: adjust
4566
4567 2003-12-15  Angus Leeming  <leeming@lyx.org>
4568
4569         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4570         than getFromGUIName to manipulate the color.
4571
4572 2003-12-14  Angus Leeming  <leeming@lyx.org>
4573
4574         * BranchList.[Ch]: minimize the API.
4575         (Branch::getBranch, getColor): now return a 'const &'.
4576         (Branch::setSelected) now returns a bool set to true if the
4577         selection status changes.
4578         (BranchList::clear, size, getColor, setColor, setSelected,
4579         allBranches, allSelected, separator): removed.
4580         (BranchList::find): new functions, returning the Branch with
4581         the given name.
4582         (BranchList::add, remove): return a bool indicating that
4583         the operation was successful.
4584
4585         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4586         new InsetBranch::isBranchSlected member function.
4587
4588         * LColor.[Ch]: mimimize the API.
4589         (fill): renamed as addColor and made private.
4590         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4591         versions of these functions taking a string arg have been removed.
4592
4593         * bufferparams.C (readToken):
4594         * lyxfunc.C (dispatch):
4595         * lyxrc.C (read): changes due to the altered BranchList and
4596         LColor APIs.
4597
4598         * factory.C (createInset, readInset): changes due to altered
4599         InsetBranch c-tor.
4600
4601 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4602
4603         * factory.C:
4604         * lyxfunc.C: remove insetminipage. "minipage-insert"
4605         now produces a frameless minipage box inset.
4606
4607 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4608
4609         * textcursor.[Ch] (selStart,selEnd): add new methods
4610         remove selection::start, end, use LyXCursor::operator<
4611         * lyxcursor.[Ch] (operator<): add
4612         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4613         * BufferView.[Ch] (unsetXSel): add
4614         * text2.C (clearSelection): use unsetXSel,adjust
4615         * text.C: adjust
4616         * text3.C: adjust
4617         * rowpainter.C: adjust
4618         * bufferview_funcs.C (put_selection_at): adjust
4619
4620 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4621
4622         * BufferView_pimpl.C: small coord. correction
4623
4624 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4625
4626         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4627         dragging over the splash screen.
4628
4629 2003-12-11  Angus Leeming  <leeming@lyx.org>
4630
4631         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4632         as it is now handled in LyXText::dispatch.
4633
4634         * text3.C (doInsertInset): remove a level of nesting.
4635
4636 2003-12-11  Angus Leeming  <leeming@lyx.org>
4637
4638         * factory.C (createInset): changes due to the changed interface to
4639         InsetCommandMailer::string2params.
4640
4641 2003-12-10  Angus Leeming  <leeming@lyx.org>
4642
4643         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4644         'dialog-show-new-inset <inset name>'
4645
4646 2003-12-10  Angus Leeming  <leeming@lyx.org>
4647
4648         * buffer.C: up the format to 227.
4649
4650         * factory.C: the box inset is now identified simply by 'Box'.
4651
4652 2003-12-10  Angus Leeming  <leeming@lyx.org>
4653
4654         * buffer.C: up the format to 226.
4655
4656         * factory.C: the note inset is now identified simply by 'Note'.
4657
4658 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4659
4660         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4661         when a pit is enough. Standarize a couple of loops.
4662
4663 2003-12-05  Angus Leeming  <leeming@lyx.org>
4664
4665         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4666         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4667         data to the re-worked "log" dialog.
4668
4669 2003-12-03  André Pönitz  <poenitz@gmx.net>
4670
4671         * PosIterator.C:
4672         * iterators.C:
4673         * lyxtext.h:
4674         * output_latex.C:
4675         * paragraph_funcs.C:
4676         * text.C:
4677         * text2.C: use Inset::getText instead of Inset::getParagraph
4678
4679 2003-12-03  André Pönitz  <poenitz@gmx.net>
4680
4681         * buffer.[Ch]:
4682         * lyxtext.h:
4683         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4684         InsetText::read() as LyXText::read()
4685
4686 2003-12-02  Angus Leeming  <leeming@lyx.org>
4687
4688         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4689         type. Add a comment in the implementation that the function uses
4690         the stream's bad() function rather than fail() as the std::streams
4691         would do.
4692
4693 2003-12-02  André Pönitz  <poenitz@gmx.net>
4694
4695         * lyxlex.[Ch]: make interface more similar to std::stream
4696
4697         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4698
4699 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4700
4701         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4702
4703 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4704
4705         * vspace.[Ch]: remove VSpace::NONE
4706
4707 2003-12-01  André Pönitz  <poenitz@gmx.net>
4708
4709         * buffer.[Ch]:
4710         * lyxtext.h: move ParagraphList member to LyXText
4711         rename LyXText::ownerParagraphs to LyXText::paragraph
4712
4713         * CutAndPaste.C:
4714         * bufferview_funcs.C:
4715         * iterators.[Ch]:
4716         * lyx_cb.C:
4717         * paragraph.C:
4718         * rowpainter.C:
4719         * tabular.C:
4720         * text.C:
4721         * text2.C:
4722         * text3.C: adjust
4723
4724         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4725
4726         * undo.C: fix cursor positioning
4727
4728 2003-12-01  John Levon  <levon@movementarian.org>
4729
4730         * BufferView_pimpl.C: fix a crash on exit with
4731         a buffer open
4732
4733 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4734
4735         * BranchList.C: fix setSelected() method.
4736
4737 2003-11-28  André Pönitz  <poenitz@gmx.net>
4738
4739         * ParagraphParameters.[Ch]:
4740         * ParameterStruct.h: remove space above/below from Paragraph to
4741          InsetVSpace
4742
4743         * BufferView_pimpl.C:
4744         * factory.C:
4745         * lyxfunc.C:
4746         * lyxtext.h:
4747         * output_latex.C:
4748         * paragraph.C:
4749         * paragraph_funcs.C:
4750         * rowpainter.[Ch]:
4751         * text.C:
4752         * text2.C:
4753         * text3.C: adjust
4754
4755 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4756
4757         * factory.C: Syntax change for CharStyles
4758
4759 2003-11-28  André Pönitz  <poenitz@gmx.net>
4760
4761         * BufferView.[Ch]:
4762         * BufferView.[Ch]:
4763         * buffer.[Ch]:
4764         * buffer.[Ch]: move LyXText member
4765
4766 2003-11-28  André Pönitz  <poenitz@gmx.net>
4767
4768         * BufferView.[Ch]: make LyXText * text a private member
4769
4770         * BufferView_pimpl.C:
4771         * cursor.C:
4772         * iterators.C:
4773         * lyx_cb.C:
4774         * lyxfind.C:
4775         * lyxtext.h:
4776         * rowpainter.[Ch]:
4777         * text.C:
4778         * text2.C:
4779         * undo.C: adjust
4780
4781         * output_plaintext.C: cleanup
4782
4783 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4784
4785         * buffer.C:
4786         * lyxtextclass.[Ch]: parametrize SGML document header
4787
4788 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4789
4790         * converter.[Ch]:
4791         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4792         getFlavor().
4793
4794 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4795
4796         * text2.C (setFont): rework using PosIterator (no more recursive)
4797         (setCharFont): no more needed
4798         (setLayout): no more selection cursors fiddling (done by redoCursor)
4799         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4800         destroy remaining ones)
4801
4802 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4803
4804         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4805         * lyxtext.h: ditto
4806         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4807         selection cursors
4808         * lyxfunc.C: adjust
4809         * text3.C: adjust + re-allow multi par depth changes
4810         * textcursor.C: simplify a bit
4811
4812 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4813
4814         * src/buffer.C:
4815         * src/lyxlayout.C:
4816         * src/lyxlayout.h:
4817         * src/lyxtext.h:
4818         * src/output_docbook.C:
4819         * src/output_latex.C:
4820         * src/paragraph.C:
4821         * src/paragraph.h:
4822         * src/sgml.C:
4823         * src/sgml.h:
4824         * src/text2.C: Introducing a number of tags parametrizing various
4825         XML formats that we may want to support
4826
4827 2003-11-25  André Pönitz  <poenitz@gmx.net>
4828
4829         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4830
4831         * lyxtext.h (leftMargin/rightMargin): simplify interface
4832
4833         * rowpainter.C:
4834         * text.C:
4835         * text2.C:
4836         * text3.C: adjust
4837
4838 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4839
4840         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4841         master file to any child files. Fixes bug 546.
4842
4843 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4844
4845         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4846
4847 2003-11-24  André Pönitz  <poenitz@gmx.net>
4848
4849         * rowpainter.C: simplification
4850
4851         * text2.C (updateCounters): remove call to redoParagraph on
4852         changed labels as this is far too expensive.
4853
4854 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4855
4856         * converter.C (convert): fix a crash: this function gets
4857         called with buffer == 0 from importer code.
4858
4859 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4860
4861         * text3.C (cursorPrevious): make sure that we do not compare
4862         iterators form different containers.
4863         (cursorNext): ditto
4864
4865         * rowpainter.C (paintSelection): make sure that we do not compare
4866         iterators from different containers.
4867
4868         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4869         iterators from different ParagraphList containers.
4870         [NEXT] ditto
4871
4872         * text2.C (LyXText): change order of initialization slightly
4873         (operator=): new function. copy all variables except cache_par_
4874         (moveUp): make sure that we do not compare iterators from
4875         different ParagraphList constainers.
4876         (moveDown): ditto
4877
4878         * text.C (firstPar): new function
4879         (lastPar): new function
4880         (endPar): new function
4881
4882         * lyxtext.h: move things around and group public functions, public
4883         variables, private functions, private variables
4884
4885 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4886
4887         * factory.C: change call to InsetERT constructor to avoid
4888         additional invocation of method status
4889         * text2.C (toggleInset): remove redundant update() call
4890         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4891         instead of a Bufferview pointer
4892
4893 2003-11-21  André Pönitz  <poenitz@gmx.net>
4894
4895         * rowpainter.C: simplification
4896
4897 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4898
4899         * text3.C (dispatch): make possible to extend a word/row selection
4900         with the mouse
4901
4902 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4903
4904         * lyxtext.h: x0_,y0_ -> xo_,yo_
4905         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4906         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4907         * rowpainter.C (paintRows): paint full paragraphs
4908
4909 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4910
4911         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4912         screen coordinates)
4913
4914 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4915
4916         * lyxtext.h: add x0_, y0_
4917         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4918         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4919
4920 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4921
4922         * text2.C (setCursorIntern): move the x_target update here *
4923         * text3.C: change some bv() to true/false in calls to
4924         cursorUp/Down/Right/Left
4925         * cursor.C: use helper function.
4926
4927 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4928
4929         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4930         * paragraph_funcs.[Ch]: correct comment
4931         * rowpainter.C: do not paint selections away from bv->cursor()
4932         Fix a long standing selection painting bug.
4933         * text3.C: generalize mouse-selection code to LyXTexts other that
4934         top one
4935         * textcursor.C: do not use y coords if we can use par offsets
4936
4937 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4938
4939         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4940         cursor position after e.g. inset insert)
4941
4942 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4943
4944         * lyxfind.C (replace): adjust to locking removal + some
4945         code simplification
4946
4947 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4948
4949         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4950         of the path
4951
4952 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4953
4954         * lyxlayout.[Ch]:
4955         * output_docbook.C: XML sanitation: new layout
4956         parameters InnerTag and CommandDepth
4957
4958 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4959
4960         * BufferView_pimpl.C:
4961         * factory.C:
4962         * text3.C: Fix the insertion and modification of button-style
4963         insets
4964
4965 2003-11-13  André Pönitz  <poenitz@gmx.net>
4966
4967         * InsetList.[Ch]: remove deleteLyXText
4968
4969         * paragraph.[Ch]: cache beginOfBody position
4970
4971         * Bidi.C:
4972         * text.C:
4973         * text2.C:
4974         * text3.C: remove superfluous update() calls
4975
4976         * vspace.C: cleanup
4977
4978 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4979
4980         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4981         * BufferView.C (fitLockedInsetCursor): remove
4982         * cursor.[Ch] (getDim): add
4983         * text.C (getRowNearY): add faster version
4984         * text3.C: remove some update calls
4985
4986 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4987
4988         * LaTeXFeatures.C:
4989         * LyXAction.C:
4990         * MenuBackend.C:
4991         * MenuBackend.h:
4992         * dispatchresult.h:
4993         * factory.C:
4994         * lfuns.h:
4995         * lyxfunc.C:
4996         * lyxtextclass.C:
4997         * lyxtextclass.h:
4998         * text3.C: The Character Style /XML short element patch.
4999
5000 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
5001
5002         * text3.C:
5003         * factory.C: Small step to solving 'unable to insert some insets'
5004         problem
5005
5006 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
5007
5008         * cursor.[Ch] (updatePos): new function for updating the y
5009         position of the tip inset
5010         * bufferview_funcs.C (put_selection_at):
5011         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5012
5013 2003-11-11  André Pönitz  <poenitz@gmx.net>
5014
5015         * text.C: remove big comment on invalid Paragraph pointers as it is
5016         not valid anymore
5017
5018 2003-11-11  André Pönitz  <poenitz@gmx.net>
5019
5020         * text_funcs.[Ch]: merge with ...
5021
5022         * text.C: ... this
5023
5024         * lyxtext.h:
5025         * text2.C:
5026         * text3.C: adjust
5027
5028         * Makefile.am: remove text_funcs.[Ch]
5029
5030 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5031
5032         * cursor.C (getPos): return absolute cached y coord
5033
5034         * BufferView_pimpl.C (fitCursor): new simplistic code
5035         (workAreaDispatch): add a fitCursor call
5036
5037 2003-11-10  André Pönitz  <poenitz@gmx.net>
5038
5039         * BufferView.[Ch]:
5040         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5041
5042 2003-11-10  André Pönitz  <poenitz@gmx.net>
5043
5044         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5045         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5046         indicate that the cursor needs to leave an inset
5047
5048         * lyxtext.h: remove inset locking
5049
5050         * cursor.[Ch]: re-implement functionality provided by inset locking
5051
5052         * BufferView.[Ch]:
5053         * BufferView_pimpl.[Ch]:
5054         * LyXAction.C:
5055         * bufferview_funcs.[Ch]:
5056         * factory.C:
5057         * funcrequest.[Ch]:
5058         * iterators.C:
5059         * lyx_cb.C:
5060         * lyxfind.C:
5061         * lyxfunc.C:
5062         * text.C:
5063         * text2.C:
5064         * text3.C:
5065         * undo.C: adjust
5066
5067 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * PosIterator.[Ch]: replace the stack with a vector, add inset
5070         accesor
5071         * iterators.[C]: adjust
5072
5073 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5074
5075         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5076         replaced
5077         * paragraph_funcs.C (readParToken): put the correct id in the
5078         error item, not the id of the top paragraph
5079
5080 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5081
5082         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5083         * bufferview_funcs.C (put_selection_at): use the above
5084
5085 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5086
5087         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5088
5089 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5090
5091         * output_linuxdoc.h:
5092         * output_plaintext.h:
5093         * output.h:
5094         * output_docbook.h: add #include statements
5095
5096 2003-11-05  José Matos  <jamatos@lyx.org>
5097
5098         * output_docbook.[Ch]:
5099         * output_latex.[Ch]:
5100         * output_linuxdoc.[Ch]:
5101         * output_plaintext.[Ch]: New files for output formats.
5102         * output.[Ch]: New file for helper functions.
5103
5104         * buffer.[Ch]:
5105         * paragraph_funcs.[Ch]: output functions moved to new files.
5106
5107         * outputparams.h: rename of latexrunparams.h
5108
5109         * LaTeX.[Ch]:
5110         * buffer.[Ch]:
5111         * bufferlist.[Ch]:
5112         * converter.[Ch]:
5113         * exporter.C:
5114         * paragraph.[Ch]:
5115         * paragraph_funcs.[Ch]:
5116         * paragraph_pimpl.[Ch]:
5117         * tabular.[Ch]: rename ascii to plaintext
5118         and LatexRunParams to OutputParams.
5119
5120 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5121
5122         * iterators.[Ch] (text): require bv argument
5123         * undo.C (recordUndo):
5124         * lyxfunc.C (dispatch):
5125         * bufferview_funcs.C (put_selection_at): adjust
5126
5127 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5128
5129         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5130
5131 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5132
5133         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5134         nestings
5135
5136 2003-11-04  André Pönitz  <poenitz@gmx.net>
5137
5138         * cursor.[Ch]: restructure
5139
5140         * BufferView.[Ch]:
5141         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5142
5143         * iterators.[Ch] (asCursor): remove
5144
5145         * lfuns.h: remove LFUN_INSET_EDIT
5146
5147         * lyxfunc.C:
5148         * tabular.C:
5149         * text.C:
5150         * text2.C:
5151         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5152
5153 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5154
5155         * lyxfind.[Ch]: complete overhaul
5156         * BufferView_pimpl.C:
5157         * lyxfunc.C: adjust
5158         * paragraph.[Ch] (insert): add
5159
5160 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5161
5162         * BufferView.[Ch]:
5163         * lyxtext.h:
5164         * text.C: remove dead spellcheck code
5165
5166 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5167
5168         * dispatchresult.h: add a val setter
5169
5170         * cursor.C (dispatch): use a tempvar for data_[i]
5171
5172 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5173
5174         * PosIterator.[Ch]: compile fix
5175
5176 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5177
5178         * text.C (cursorPar): deactivate the cursor cache
5179
5180 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5181
5182         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5183
5184 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5185
5186         * text3.C (dispatch): adjust for new DisptchResult semantics.
5187
5188         * lyxfunc.C (dispatch): handle update when return from
5189         Cursor::dispatch, adjust for new DispatchResult semantics.
5190
5191         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5192         DispatchResult(true) mean to not update. Add class functions for
5193         setting dispatched and update, as well as reading.
5194
5195         * cursor.C (dispatch): don't handle update here
5196
5197 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5198
5199         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5200         * trans_mgr.C: adjust
5201
5202         * paragraph_funcs.C (readParToken): exception safety
5203
5204         * lyxvc.h: store the vcs pointer in a scoped_ptr
5205         * lyxvc.C: adjust
5206
5207         * lyxsocket.C (serverCallback): exception safety
5208
5209         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5210
5211         * ispell.C (clone): make it return a auto_ptr
5212
5213         * factory.C (createInset): exception safety
5214         (readInset): exception safety
5215
5216         * bufferlist.C (newBuffer): exception safety
5217
5218         * Thesaurus.C (Thesaurus): use initialization for aik_
5219
5220         * MenuBackend.C (expandToc): exception safety.
5221
5222 2003-11-03  André Pönitz  <poenitz@gmx.net>
5223
5224         * buffer.C:
5225         * buffer.h:
5226         * bufferview_funcs.C: remove getInsetFromId()
5227
5228         * lyxcursor.[Ch]:
5229         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5230
5231         * lyxfunc.C:
5232         * text2.C:
5233         * text3.C: adjust
5234
5235 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5236
5237         * PosIterator.C (distance, advance): new
5238         * bufferview_funcs.[Ch] (put_selection_at): new
5239         * iterators.[Ch] (lockPath): new
5240
5241 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5242
5243         * iterators.[Ch] (asPosIterator): added
5244         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5245         * PosIterator.[Ch]: added
5246
5247 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5248
5249         * text3.C:
5250         * lyxfunc.C:
5251         * cursor.C (dispatch):
5252         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5253
5254         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5255         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5256         contructor, add a class function dispatched. Remove operator>=
5257
5258 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5259
5260         * debug.C: only use the default constructor for debugstream
5261         (lyxerr) here.
5262
5263         * main.C (main): include debug.h and setup the lyxerr streambuf
5264         here.
5265
5266 2003-10-31  José Matos  <jamatos@lyx.org>
5267
5268         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5269
5270         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5271         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5272         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5273         * paragraph_pimpl.C (simpleTeXSpecialC):
5274         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5275         add LatexRunParams argument.
5276
5277         * exporter.C (Export): change call accordingly.
5278
5279         * latexrunparams.h: add new member to take care of the other backends.
5280 2003-10-30  José Matos  <jamatos@lyx.org>
5281
5282         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5283         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5284         factorise code for paragraph output.
5285         * buffer.[Ch]:
5286         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5287         move functions.
5288
5289 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5290
5291         * text3.C (dispatch):
5292         * lyxfunc.C (dispatch):
5293         * cursor.C (dispatch):
5294         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5295
5296         * dispatchresult.h: make the dispatch_result_t ctor explicit
5297
5298 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5299
5300         * sgml.[Ch]:
5301         * buffer.C: small refactoring of docbook stuff
5302
5303 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5304
5305         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5306         meaning.
5307
5308 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5309
5310         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5311         operator dispatch_result_t, and operators for == != and >=
5312
5313         * cursor.C (dispatch): adjust for operator dispatch_result_t
5314         removal. comment out call to update
5315
5316         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5317
5318 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5319
5320         * text3.C:
5321         * text2.C:
5322         * text.C:
5323         * lyxtext.h:
5324         * lyxfunc.C:
5325         * cursor.C:
5326         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5327         (dispatch):
5328
5329         * dispatchresult.h: new file, DispatchResult broken out of
5330         insets/insetbase.h
5331
5332         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5333
5334 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5335
5336         * text.C (rowBreakPoint): put a hack inside #if 0
5337
5338 2003-10-28  André Pönitz  <poenitz@gmx.net>
5339
5340         * lyxtext.h:
5341         * metricsinfo.C:
5342         * paragraph_funcs.C:
5343         * rowpainter.C:
5344         * text.C:
5345         * text2.C: general cleanup (lots of small stuff)
5346
5347 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5348
5349         * text2.C (cursorEnd): simple fix to the "end key goes to one
5350         before the end on last row" bug
5351
5352 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5353
5354         * text.C (backspace): fix the "zombie characters"
5355
5356 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5357
5358         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5359
5360 2003-10-27  André Pönitz  <poenitz@gmx.net>
5361
5362         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5363
5364         * factory.C: handle new InsetPagebreak, InsetLine
5365
5366         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5367         and move handling into new InsetPagebreak, InsetLine
5368
5369         * BufferView_pimpl.C:
5370         * LyXAction.C:
5371         * ParagraphParameters.C:
5372         * ParameterStruct.h:
5373         * lyxfunc.C:
5374         * lyxtext.h:
5375         * paragraph.C:
5376         * paragraph.h:
5377         * paragraph_funcs.C:
5378         * paragraph_pimpl.C:
5379         * rowpainter.C:
5380         * text.C:
5381         * text2.C:
5382         * text3.C: adjust
5383
5384 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5385
5386         * text.C:
5387         * lyxrow_funcs.[Ch]:
5388         * Bidi.C:
5389         * paragraph.C:
5390         * lyxtext.h:
5391         * rowpainter.C:
5392         * text2.C:
5393         * text3.C: remove lastPos uses in favour of Row::endpos
5394
5395 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5396
5397         * undo.C (performUndoOrRedo): fix two crashes by setting a
5398         cursor by hand and reordering some calls. Use bv->lockInset instead
5399         of inset->edit because the latter loses cursor information
5400
5401 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5402
5403         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5404         by Martin
5405         (rowBreakPoint): fix width. change point to point + 1.
5406         Add a missing check.
5407
5408 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5409
5410         * MenuBackend.C:
5411         * lyxfunc.C: fix (at least partly) the problems
5412         with the Nav menu and headers inside branch insets
5413         reported by Kayvan
5414
5415 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5416
5417         * paragraph.C (getChar): add strong asserts
5418
5419         * lyxrow_funcs.C (lastPos): remove hideous hack
5420
5421         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5422         (fill): adjust to that (avoid an infinite loop)
5423
5424 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5425
5426         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5427
5428 2003-10-23  André Pönitz  <poenitz@gmx.net>
5429
5430         * RowList_fwd.h: change list<> to vector<> to gain speed
5431         after suggestion from Alfredo
5432
5433 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5434
5435         * lyxtext.h: move the bidi stuff from here...
5436         * text.C: and here
5437         * text2.C: and here
5438         * Bidi.[Ch]: ... to here
5439
5440 2003-10-23  André Pönitz  <poenitz@gmx.net>
5441
5442         * lyxtext.h:
5443         * text.C (isLastRow, isFirstRow): new functions
5444
5445         * paragraph.h: new width cache member
5446
5447         * rowpainter.C: replace RowList::iterator with Row & where possible
5448
5449         * lyxfunc.C: replace several view()->text with a single call
5450
5451         * toc.C: fix 'unused' warning
5452
5453 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5454
5455         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5456         when woring with stream::pos_type
5457         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5458
5459 2003-10-22  André Pönitz  <poenitz@gmx.net>
5460
5461         * lyxtext.h:
5462         * text.C: use Row & instead of RowList::iterator
5463
5464         * lyxrow.h: rename end() to endpos()
5465
5466         * rowpainter.C:
5467         * text.C:
5468         * text2.C: adjust
5469
5470 2003-10-22  Angus Leeming  <leeming@lyx.org>
5471
5472         * buffer.[Ch] (fully_loaded): new member function, returning true
5473         only when the file has been loaded fully.
5474         Used to prevent the premature generation of previews and by the
5475         citation inset to prevent computation of the natbib-style label.
5476
5477         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5478         templates are all set up.
5479
5480         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5481
5482 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5483
5484         * text.C: fixed an "oops" in the "is a bit silly"
5485         bug fix
5486
5487 2003-10-21  André Pönitz  <poenitz@gmx.net>
5488
5489         * FuncStatus.[Ch]: small stuff, whitespace
5490
5491         * lyxfont.[Ch]: operator<<() for debug reasons
5492
5493         * lyxfunc.C:
5494         * lyxrow_funcs.C:
5495         * lyxtext.h: whitespace, spelling
5496
5497         * paragraph.C: naming of variables
5498
5499         * text.C:
5500         * text2.C: small stuff
5501
5502
5503 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5504
5505         * text.C: (1) finish off the inset display() work;
5506         (2) fix the "is a bit silly" bug (accessing char
5507         past end of par).
5508
5509 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5510
5511         * text.C: re-introduce display() for insets, fixing the
5512         various bugs (stretch of line above, math inset
5513         positioning, ...)
5514
5515 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5516
5517         * text.C (rightMargin): remove spurious semicolon
5518
5519         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5520         1415)
5521
5522 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5523
5524         * text3.C: fix one crash due to wrong cursor def
5525
5526 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5527
5528         * vc-backend.C (scanMaster): make the regex static
5529
5530         * LaTeX.C (scanAuxFile): make the regexs static
5531
5532         * text3.C (doInsertInset, dispatch, dispatch):
5533         * text2.C (cursorUp, cursorDown):
5534         * text.C (selectNextWordToSpellcheck):
5535         * BufferView_pimpl.C (dispatch):
5536         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5537
5538 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5539
5540         * lyxsocket.C: include <cerrno>
5541
5542 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * lyxfunc.C (dispatch): remove textcache stuff
5545
5546         * bufferlist.C (release): remove textcache stuff
5547         (closeAll): ditto
5548
5549         * TextCache.C: delete file
5550         * TextCache.h: delete file
5551
5552         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5553
5554         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5555         delete of the bv_->text.
5556         (resizeCurrentBuffer): remove texcache stuff
5557         (workAreaResize): ditto
5558
5559 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5562         action.
5563
5564 2003-10-16  André Pönitz  <poenitz@gmx.net>
5565
5566         * lyxrow.[Ch]:
5567         * paragraph.h:
5568         * rowpainter.C:
5569         * text.C:
5570         * text2.C:
5571         * text3.C: speed up by storing y positions per paragraph plus per-row
5572         offset instead of having a 'full' y position in the row.
5573
5574 2003-10-15  André Pönitz  <poenitz@gmx.net>
5575
5576         * iterators.[Ch]:
5577         * iterators.[Ch]:
5578         * undo.[Ch]: make undo aware of inner insets
5579
5580 2003-10-14  Angus Leeming  <leeming@lyx.org>
5581
5582         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5583         static member functions LyX::ref() and LyX::cref.
5584         (lastfiles): new accessor functions for the new lastfiles_ member var.
5585         (addLyXView, views_): add a new LyXView to the list of views_.
5586         (updateInset): loop over all LyXViews to call their own updateInset
5587         member function, returning a pointer to the Buffer owning the inset.
5588
5589         * BufferView_pimpl.C (loadLyXFile):
5590         * MenuBackend.C (expandLastfiles):
5591         * bufferlist.C (MenuWrite, QuitLyX):
5592         lastfiles is no longer a global variable.
5593         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5594
5595         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5596         static function. Access through LyX::cref().emergencyCleanup().
5597
5598 2003-10-14  André Pönitz  <poenitz@gmx.net>
5599
5600         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5601
5602         * undo.[Ch]: restoring part of 'undo in insets'
5603
5604         * Makefile.am:
5605         * undo_funcs.[Ch]: merge with undo.[Ch]
5606
5607         * tabular.C: small cleansing stuff
5608
5609 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5610
5611         * paragraph_funcs.C (readParToken): report unknown insets as error
5612         boxes. Use the outer paragraph as location (also for unknown
5613         tokens).
5614
5615         * factory.C (readInset): do not abort on reading an unknown inset.
5616         Eat it and return 0.
5617
5618 2003-10-13  Angus Leeming  <leeming@lyx.org>
5619
5620         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5621
5622         * lyxrc.C: displayTranslator is now a function,
5623         declared in GraphicsTypes.h.
5624
5625 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5626
5627         * format.C: new placeholder $$a to pass the socket address.
5628
5629         * bufferlist.[Ch]: new function getBufferFromTmp.
5630
5631         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5632           files in the temporary dir.
5633
5634 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5635
5636         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5637
5638         * Makefile.am: add lyxsocket.[Ch].
5639
5640         * lyx_main.C (error_handler): handle SIGPIPE.
5641
5642 2003-10-13  André Pönitz  <poenitz@gmx.net>
5643
5644         * BufferView_pimpl.C:
5645         * lyxtext.h:
5646         * text.C:
5647         * text2.C:
5648         * text3.C:
5649         * undo_funcs.[Ch]: use paroffset_type instead of
5650           ParagraphList::iterators to prevent multiple conversion
5651           (and get a more robust interface)
5652
5653 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5654
5655         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5656         * lyxtext.h: ditto
5657         * text3.C (dispatch): ditto
5658
5659 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5660
5661         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5662         move the onlyfile, use onlyfile instead of foundfile in a couple
5663         of places.
5664
5665         * DepTable.C (update): flush the error stream a bit more
5666
5667 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5668
5669         * lyxserver.C (callback): adjust
5670
5671         * lyxfunc.C (getStatus): add a missing brace in commented code
5672         (ensureBufferClean): reindent
5673         (dispatch): delete version taking a string
5674
5675 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * LaTeX.C (deplog): move found file handlig from here...
5678         (handleFoundFile): .. to new function here.
5679         (deplog): make sure to discover several files mentioned on the
5680         same log line.
5681
5682 2003-10-10  André Pönitz  <poenitz@gmx.net>
5683
5684         * lyxfunc.C:
5685         * lyxtext.h:
5686         * tabular.C:
5687         * text.C:
5688         * text2.C:
5689         * text3.C: fix some of the tabular crashes
5690
5691 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5692
5693         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5694
5695         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5696
5697 2003-10-09  André Pönitz  <poenitz@gmx.net>
5698
5699         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5700
5701         * BufferView.C:
5702         * BufferView_pimpl.C:
5703         * bufferview_funcs.C:
5704         * lyx_cb.C:
5705         * lyxcursor.C:
5706         * lyxfind.C:
5707         * lyxfunc.C:
5708         * lyxtext.h:
5709         * text.C:
5710         * text2.C:
5711         * text3.C:
5712         * text_funcs.[Ch]:
5713         * textcursor.[Ch]:
5714         * undo_funcs.C: adjust
5715
5716 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5717
5718         * text2.C (incrementItemDepth): new function, use a backtracking
5719         algorithm to discover the correct item depth.
5720         (resetEnumCounterIfNeeded): new function, use a backtracking
5721         algorithm to discover if counter reset is needed.
5722         (setCounter): use them. Simplify a bit. Add different labels for
5723         different item depths for itemize.
5724
5725         * paragraph.C (Paragraph): remove initialization of enumdepth
5726         (operator=): ditto
5727
5728         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5729         enumerate and itemize. Change the type of itemdepth to signed char.
5730
5731 2003-10-08  André Pönitz  <poenitz@gmx.net>
5732
5733         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5734           thing assignable.
5735         * text.C:
5736         * text2.C: adjust
5737
5738         * tabular.[Ch]: fix crash after 'row-insert'
5739
5740 2003-10-08  Angus Leeming  <leeming@lyx.org>
5741
5742         Fix doxygen warnings.
5743
5744         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5745         Remove CutAndPaste:: prefix from header file declaration.
5746
5747         * LColor.h (fill): remove LColor:: prefix from declaration.
5748
5749         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5750         use lyx::depth_type rather than Paragraph::depth_type so that
5751         header file and .C file match.
5752
5753         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5754
5755         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5756         * aspell.C: \file aspell_local.C -> \file aspell.C
5757         * gettext.C: \file gettext.C -> \file src/gettext.C
5758         * gettext.h: \file gettext.h -> \file src/gettext.h
5759         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5760         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5761         * text.C: \file text.C -> \file src/text.C
5762
5763         * toc.C: move comment so that doxygen is not confused.
5764
5765 2003-10-07  Angus Leeming  <leeming@lyx.org>
5766
5767         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5768
5769 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5770
5771         * aspell.C:
5772         * aspell_local.h: add forgotten std::string's.
5773
5774 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5775
5776         * LaTeXFeatures.C:
5777         * LyXAction.C:
5778         * factory.C:
5779         * lfuns.h:
5780         * lyxfunc.C:
5781         * text3.C: The Box patch. Fancybox support, minipage, parbox
5782
5783 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5784
5785         * CutAndPaste.h:
5786         * DepTable.h:
5787         * FloatList.h:
5788         * LaTeXFeatures.h:
5789         * ParagraphParameters.h:
5790         * TextCache.h:
5791         * Thesaurus.h:
5792         * bufferlist.h:
5793         * exporter.h:
5794         * importer.h:
5795         * lastfiles.h:
5796         * lyxfind.h:
5797         * lyxfont.h:
5798         * lyxlex.h:
5799         * lyxtextclasslist.h:
5800         * messages.h:
5801         * paragraph.h:
5802         * paragraph_pimpl.C:
5803         * textcursor.h: add <string> and other small fixes to make Lars'
5804         std::string patch compile with STLport.
5805
5806 2003-10-06  Angus Leeming  <leeming@lyx.org>
5807
5808         * LColor.h: Add missing #include <string>.
5809
5810 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5811
5812         * All most all file in all subdirs: Make <string> be the prefered
5813         way of getting to std::string, add using declarations.
5814
5815 2003-10-06  André Pönitz  <poenitz@gmx.net>
5816
5817         * metricsinfo.C: initialize LyXFont before changing attribute.
5818         (fixes the 'math in \emph is upright' bug)
5819
5820 2003-10-06  André Pönitz  <poenitz@gmx.net>
5821
5822         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5823
5824 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5825
5826         * graph.C:
5827         * paragraph_pimpl.C: Small fixes to build using STLport
5828
5829 2003-10-02  André Pönitz  <poenitz@gmx.net>
5830
5831         * lyxfunc.C:
5832         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5833
5834 2003-10-01  André Pönitz  <poenitz@gmx.net>
5835
5836         * factory.C: assert early
5837
5838 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5839
5840         * lyx_main.C: remove the global debug object
5841
5842         * debug.h: adjust for new debugstream
5843
5844         * debug.C: adjust for new debugstream and keep the global debug
5845         object here.
5846
5847 2003-09-22  Angus Leeming  <leeming@lyx.org>
5848
5849         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5850         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5851         an incomplete class LyXFont.
5852
5853 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5854
5855         * factory.C: bug fix in branches
5856
5857 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5858
5859         * lyxfunc.C (processKeySym): adjust
5860         (dispatch): adjust
5861         (dispatch): change arg name from ev to func, adjust
5862         (sendDispatchMessage): ditto
5863
5864         * lyx_main.C (defaultKeyBindings): adjust keybindings
5865         (deadKeyBindings): ditto
5866
5867         * kbsequence.C (addkey): return a FuncRequest
5868
5869         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5870
5871         * kbmap.C (bind): take a FuncRequest as arg, adjust
5872         (read): adjust
5873         (lookup): adjust
5874         (defkey): change to take a FuncRequest as arg, adjust
5875         (findbinding): take a FuncRequest as arg, adjust.
5876
5877         * funcrequest.h (operator=): added
5878
5879         * funcrequest.C (FuncRequest): default kb_action changed from
5880         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5881
5882         * buffer.C (dispatch): simplify
5883         (dispatch): adjust to take a FuncRequest as arg, adjust
5884
5885         * boost.C (assertion_failed): change assertion message slightly
5886
5887         * ToolbarBackend.C (read): simplify
5888
5889         * MenuBackend.C (binding): adjust call to findbinding, add a
5890         message if no binding is found.
5891         (read): simplify
5892         (expandToc): correct by adding a empty FuncRequest
5893
5894         * LyXAction.C: include <boost/assert.hpp>
5895         (isPseudoAction): delete function
5896         (LookupFunc): change name to...
5897         (lookupFunc): this. change return type to FuncRequest.
5898         (getActionName): take kb_action as arg, simplify
5899         (funcHasFlag): add an assert, simplify.
5900
5901 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5902
5903         * toc.C (action): return a FuncRequest, simplify
5904
5905         * lyxfunc.C (processKeySym): adjust
5906         (getStatus): delete version that takes an int.
5907         (getStatus): adjust
5908         (dispatch): delete version that takes action as int
5909         (dispatch): adjust
5910         (sendDispatchMessage): simplify and adjust
5911
5912         * funcrequest.C (getArg): take unsigned int as arg
5913
5914         * ToolbarBackend.C (read): adjust
5915         (add): delete version that takes func as a string.
5916         (getIton): take a FuncRequest as arg
5917
5918         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5919         action.
5920
5921         * MenuBackend.C (MenuItem): add a new construct that only takes a
5922         Kind, simplify the constructor use for submenus.
5923         (add): adjust
5924         (expandLastfiles): adjust
5925         (expandDocuments): adjust
5926         (expandFormats): adjust
5927         (expandFloatListInsert): adjust
5928         (expandFloatInsert): adjust
5929         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5930
5931         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5932         Remove class variables lyx_pseudo_map and lyx_arg_map
5933
5934         * LyXAction.C (searchActionArg): delete function
5935         (getPseudoAction): delete function
5936         (retrieveActionArg): delete function
5937         (LookupFunc): make it return kb_action, simplify.
5938         (getActionName): simplify
5939
5940         * factory.C (createInset): fix new bug
5941
5942 2003-09-19  Angus Leeming  <leeming@lyx.org>
5943
5944         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5945         masterFilename_ parameter in the include inset.
5946
5947         * factory.C (createInset): changes due to the changes to InsetInclude.
5948
5949 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5950
5951         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5952
5953 2003-09-18  Angus Leeming  <leeming@lyx.org>
5954
5955         * buffer.C:
5956         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5957         Inset::fillWithBibKeys.
5958         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5959
5960 2003-09-18  Angus Leeming  <leeming@lyx.org>
5961
5962         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5963         variables.
5964         (ctor): pass and store a 'Buffer const &'
5965         (buffer): new member function.
5966
5967         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5968         '*this' to the LaTeXFeatures ctor.
5969
5970 2003-09-18  Angus Leeming  <leeming@lyx.org>
5971
5972         * LColor.h:
5973         * lyxfont.C:
5974         * lyxfont.h:
5975         * lyxtext.h:
5976         * text.C: rename EnumLColor as LColor_color.
5977
5978 2003-09-18  Angus Leeming  <leeming@lyx.org>
5979
5980         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5981         remove #include "insets/insetbase.h" from cursor.h.
5982
5983 2003-09-18  Angus Leeming  <leeming@lyx.org>
5984
5985         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5986         InsetOld_code to remove #include "inset.h".
5987
5988         * iterators.C: add #include "insets/inset.h"
5989
5990 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5991
5992         * BufferView.C: remove more locking stuff that apparently doesn't
5993         do anything sensible.
5994
5995 2003-09-16  André Pönitz  <poenitz@gmx.net>
5996
5997         * paragraph.[Ch]:
5998         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5999           performance boost.
6000
6001 2003-09-16  Angus Leeming  <leeming@lyx.org>
6002
6003         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6004
6005         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6006         arg/return type.
6007
6008         * paragraph.h: remove #include "lyxfont.h". Forward declare
6009         LyXFont_size.
6010
6011 2003-09-16  Angus Leeming  <leeming@lyx.org>
6012
6013         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6014         of support/textutils.h.
6015         (isWord): move the contents of support/textutils.h's IsWordChar here.
6016
6017         * buffer.C:
6018         * lyxfind.C:
6019         * rowpainter.C:
6020         * text.C:
6021         * text2.C: add #include "paragraph.h".
6022
6023         * rowpainter.C:
6024         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6025
6026 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6027
6028         * main.C:
6029         * lyx_main.C:
6030         * lyx_cb.C:
6031         * buffer.C:
6032         * LaTeX.C: use namespace alias for lyx::support::os
6033
6034 2003-09-16  Angus Leeming  <leeming@lyx.org>
6035
6036         * bufferparams.C:
6037         * bufferview_funcs.C:
6038         * factory.C:
6039         * lyxfunc.C:
6040         * paragraph_pimpl.C:
6041         * rowpainter.C:
6042         * text.C: add #include "LColor.h".
6043
6044 2003-09-16  Angus Leeming  <leeming@lyx.org>
6045
6046         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6047         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6048         return LyXFont &.
6049         Store the FontBits::color variable as an int rather than as an
6050         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6051         file.
6052
6053         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6054         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6055         string calls together.
6056
6057         * lyxrc.C: add #include "LColor.h".
6058
6059 2003-09-15  Angus Leeming  <leeming@lyx.org>
6060
6061         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6062         a cow_ptr.
6063
6064 2003-09-15  Angus Leeming  <leeming@lyx.org>
6065
6066         * LColor.h: add an EnumLColor wrapper for LColor::color.
6067
6068         * lyxfont.[Ch] (color, setColor, realColor):
6069         * lyxtext.h, text.C (backgroundColor):
6070         pass EnumLColor args to/from the functions, rather than LColor::color
6071         ones.
6072
6073         * lyxfont.h:
6074         * lyxtext.h: forward declare EnumLColor.
6075
6076         * lyx_main.C: add #include "LColor.h".
6077
6078 2003-09-15  Angus Leeming  <leeming@lyx.org>
6079
6080         * .cvsignore: add lyx-gtk.
6081
6082 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6083
6084         * Chktex.C
6085         * LaTeX.C
6086         * LaTeXFeatures.C
6087         * ParagraphParameters.C
6088         * Spacing.C
6089         * buffer.C
6090         * bufferparams.C
6091         * bufferview_funcs.C
6092         * chset.C
6093         * counters.C
6094         * funcrequest.C
6095         * lyxfont.C
6096         * lyxgluelength.C
6097         * lyxlength.C
6098         * paragraph.C
6099         * paragraph_funcs.C
6100         * text3.C
6101         * vc-backend.C: remove usage of STRCONV
6102
6103 2003-09-15  Angus Leeming  <leeming@lyx.org>
6104
6105         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6106         explicitly define the color passed to the painter.
6107
6108 2003-09-15  Angus Leeming  <leeming@lyx.org>
6109
6110         * bufferparams.C (BufferParams): reorder member initializers to avoid
6111         compiler warning.
6112
6113 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6114
6115         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6116         * text.C (updateRowPositions): remove an unusual nop
6117
6118 2003-09-12  André Pönitz  <poenitz@gmx.net>
6119
6120         * BufferView_pimpl.C:
6121         * Bullet.C:
6122         * layout.h:
6123         * lyxfunc.C:
6124         * lyxlayout.[Ch]:
6125         * lyxtextclass.C:
6126         * rowpainter.C:
6127         * text.C:
6128         * text2.C:
6129         * Counters.[Ch]: finish the 'automatic counters' job
6130
6131 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6132
6133         * aspell.C: include <boost/assert.cpp> (compile fix)
6134
6135 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6136
6137         * boost.C (assertion_failed): use lyx::support::abort instead of
6138         assert.
6139
6140 2003-09-10  Angus Leeming  <leeming@lyx.org>
6141
6142         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6143         with their _fwd progeny.
6144
6145 2003-09-09  Angus Leeming  <leeming@lyx.org>
6146
6147         134 files throughtout the source tree: replace 'using namespace abc;'
6148         directives with the appropriate 'using abc::xyz;' declarations.
6149
6150 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6151
6152         * boost.C (emergencyCleanup): moved here from LAssert.c
6153         (assertion_failed): new function, called by BOOST_ASSERT
6154
6155         * several files: change Assert to BOOST_ASSERT
6156
6157 2003-09-09  Angus Leeming  <leeming@lyx.org>
6158
6159         * buffer.[Ch]: Add an Impl class and move Buffer's member
6160         variables into it. As a result move several header files out of
6161         buffer.h.
6162
6163         Add header files to lots of .C files all over the tree as a result.
6164
6165 2003-09-09  Angus Leeming  <leeming@lyx.org>
6166
6167         * buffer.[Ch]: make Buffer's member variables private. Add
6168         accessor functions.
6169
6170         Lots of changes all over the tree as a result.
6171
6172 2003-09-08  Angus Leeming  <leeming@lyx.org>
6173
6174         * graph.C: #include <config.h>.
6175
6176 2003-09-08  Angus Leeming  <leeming@lyx.org>
6177
6178         * BranchList.C:
6179         * BufferView.C:
6180         * BufferView_pimpl.C:
6181         * CutAndPaste.C:
6182         * DepTable.C:
6183         * LaTeX.C:
6184         * LaTeXFeatures.C:
6185         * LyXAction.C:
6186         * MenuBackend.C:
6187         * TextCache.C:
6188         * aspell.C:
6189         * buffer.C:
6190         * bufferlist.C:
6191         * changes.C:
6192         * chset.C:
6193         * converter.C:
6194         * counters.C:
6195         * debug.C:
6196         * graph.C:
6197         * ispell.C:
6198         * lyx_cb.C:
6199         * lyxfind.C:
6200         * lyxfunc.C:
6201         * lyxlex_pimpl.C:
6202         * lyxrc.C:
6203         * lyxrow.C:
6204         * paragraph.C:
6205         * rowpainter.C:
6206         * texrow.C:
6207         * text.C:
6208         * text2.C:
6209         * toc.C: remove redundant using directives.
6210
6211 2003-09-07  Angus Leeming  <leeming@lyx.org>
6212
6213         * LaTeXFeatures.h: remove #include "support/types.h".
6214         * ToolbarBackend.h: remove #include <algorithm>.
6215         * changes.h: remove #include <ctime>.
6216         * debug.h: remove #include <iosfwd>.
6217         * graph.h: remove #include "support/std_string.h".
6218         * lyx_main.h: remove #include <csignal>.
6219         * lyxlex_pimpl.h: remove #include <fstream>.
6220         * sgml.h: remove #include <algorithm>, <utility>.
6221         * toc.h: remove #include "support/std_ostream.h".
6222         Add #include <iosfwd>.
6223
6224 2003-09-07  Angus Leeming  <leeming@lyx.org>
6225
6226         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6227
6228         * converter.h: forward declare LatexRunParams.
6229         * encoding.h: remove #include "lyxrc.h".
6230         * lyxtext.h: remove #include "LColor.h".
6231         * lyxtextclass.h: remove #include "support/types.h".
6232         * trans.h: remove #include "tex-accent.h".
6233         * trans_mgr.h: remove #include "tex-accent.h".
6234         * insets/inset.h: remove #include "support/types.h", <vector>.
6235         * insets/insetcollapsable.h: remove #include "LColor.h".
6236         * insets/insetinclude.h: remove #include "dimension.h".
6237         * insets/insetlatexaccent.h: remove #include "dimension.h".
6238         * insets/insetoptarg.h:: remove #include "insettext.h".
6239         * insets/insettext.h: remove #include "dimension.h",
6240         <boost/shared_ptr.hpp>
6241
6242         * insets/renderers.h: add #include "dimension.h".
6243         * insets/updatableinset.h: add #include "support/types.h".
6244
6245         * many .C files: Associated changes.
6246
6247 2003-09-06  Angus Leeming  <leeming@lyx.org>
6248
6249         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6250         one, inside testInvariant.
6251
6252         * PrinterParams.C: new file.
6253         * PrinterParams.[Ch]: move the function bodies out of line.
6254
6255 2003-09-06  Angus Leeming  <leeming@lyx.org>
6256
6257         * ParagraphParameters.h: forward declare ParameterStruct rather than
6258         including its header file.
6259         (depth): moved out-of-line.
6260
6261 2003-09-06  Angus Leeming  <leeming@lyx.org>
6262
6263         * BufferView_pimpl.h:
6264         * kbmap.h:
6265         * kbsequence.h:
6266         * lyxfunc.h: forward declare LyXKeySym rather than
6267         #include "frontends/LyXKeySym.h".
6268
6269         * BufferView_pimpl.C:
6270         * kbmap.C:
6271         * kbsequence.C:
6272         * lyxfunc.C: associated changes.
6273
6274 2003-09-06  Angus Leeming  <leeming@lyx.org>
6275
6276         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6277         As a result, can remove the #include "insets/inset.h" from BufferView.h
6278
6279 2003-09-06  Angus Leeming  <leeming@lyx.org>
6280
6281         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6282         As a result, can remove the #include "insets/inset.h" from BufferView.h
6283
6284 2003-09-06  Angus Leeming  <leeming@lyx.org>
6285
6286         * buffer_funcs.C:
6287         * buffer.h:
6288         * bufferlist.C:
6289         * BufferView.C:
6290         * bufferview_funcs.C:
6291         * BufferView_pimpl.C:
6292         * CutAndPaste.C:
6293         * lyx_cb.C:
6294         * lyxfunc.C:
6295         * paragraph.h:
6296         * ParagraphParameters.C:
6297         * tabular.C:
6298         * text3.C:
6299         * toc.C:
6300         * undo_funcs.C:
6301         * frontends/controllers/ControlDocument.C:
6302         * insets/insetcaption.C: rearrange the #includes into some sort of
6303         coherent order.
6304
6305         * buffer.h: remove #includes ErrorList.h, undo.h
6306
6307 2003-09-06  Angus Leeming  <leeming@lyx.org>
6308
6309         * support/types.h: add a 'depth_type' typedef, used to store the
6310         nesting depth of a paragraph.
6311
6312         * paragraph.h:
6313         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6314         defining explicitly.
6315
6316         * buffer.h:
6317         * paragraph_funcs.h:
6318         * ParagraphParameters.h:
6319         * sgml.h: use lyx::depth_type rather than Paragraph or
6320         ParameterStruct's depth_type.
6321
6322         * buffer.h
6323         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6324
6325         * BufferView.C:
6326         * BufferView_pimpl.C:
6327         * CutAndPaste.C:
6328         * ParagraphParameters.C:
6329         * buffer_funcs.C:
6330         * bufferlist.C:
6331         * bufferview_funcs.C:
6332         * lyx_cb.C:
6333         * lyxfunc.C:
6334         * tabular.C:
6335         * text3.C:
6336         * toc.C:
6337         * undo_funcs.C:
6338         * frontends/LyXView.C:
6339         * frontends/controllers/ControlDocument.C:
6340         * frontends/controllers/ControlErrorList.C:
6341         * insets/insetbibitem.C:
6342         * insets/insetbranch.C:
6343         * insets/insetcaption.C:
6344         * insets/insetcollapsable.C:
6345         * insets/insetenv.C:
6346         * insets/insetert.C:
6347         * insets/insetfloat.C:
6348         * insets/insetfoot.C:
6349         * insets/insetfootlike.C:
6350         * insets/insetnewline.C:
6351         * insets/insetquotes.C:
6352         * insets/insettabular.C:
6353         * insets/insettext.C:
6354         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6355
6356         * frontends/controllers/ControlChanges.C: #include "changes.h".
6357
6358 2003-09-06  Angus Leeming  <leeming@lyx.org>
6359
6360         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6361         than #including paragraph.h.
6362
6363         * ParagraphList.h:
6364         * RowList.h: deleted. Superfluous.
6365
6366         * CutAndPaste.h:
6367         * iterators.h:
6368         * lyxcursor.h:
6369         * lyxtext.h:
6370         * text_funcs.h:
6371         * undo.h:
6372         * undo_funcs.h:
6373         * insets/inset.h:
6374         * insets/insettext.h: use ParagraphList_fwd.h rather than
6375         ParagraphList.h.
6376
6377         * paragraph.h: don't forward declare ParagraphList.
6378
6379         * buffer.h:
6380         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6381         rather than ParagraphList.h. paragraph.h is still needed for the
6382         Paragraph::depth_type parameters.
6383
6384         * textcursor.h: enable it to compile stand-alone in light of the
6385         above changes.
6386
6387         * bufferview_funcs.C:
6388         * iterators.C:
6389         * lyxfunc.C:
6390         * lyxrow_funcs.C:
6391         * paragraph.C:
6392         * rowpainter.C:
6393         * text.C:
6394         * text2.C:
6395         * text3.C:
6396         * text_funcs.C:
6397         * textcursor.C:
6398         * undo.C:
6399         * frontends/controllers/ControlParagraph.C:
6400         * frontends/controllers/ControlTabular.C:
6401         * insets/insetmarginal.C:
6402         * insets/insetminipage.C:
6403         * insets/insetnote.C:
6404         * insets/insetoptarg.C: add header files needed to compile again.
6405
6406 2003-09-06  Angus Leeming  <leeming@lyx.org>
6407
6408         * RowList_fwd.h: new file, forward-declaring Row rather than
6409         #including lyxrow.h.
6410
6411         * lyxrow_funcs.h:
6412         * lyxtext.h:
6413         * paragraph.h:
6414         * insets/insettext.h: use it instead of RowList.h
6415
6416         * bufferview_funcs.C:
6417         * lyxfunc.C:
6418         * lyxrow_funcs.C:
6419         * paragraph.C:
6420         * rowpainter.C:
6421         * text.C:
6422         * text2.C:
6423         * text3.C: #include "RowList.h".
6424
6425 2003-09-05  Angus Leeming  <leeming@lyx.org>
6426
6427         * factory.C (createInset):
6428         * vspace.C (c-tor): replace sscanf call with an istringstream.
6429         * ispell.C: re-add missing HP/UX headers.
6430         * lyxserver.C: re-add missing  os2 headers.
6431
6432 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6433
6434         * BranchList.C:
6435         * graph.C:
6436         * ispell.C:
6437         * lastfiles.C:
6438         * lyx_cb.C:
6439         * lyxserver.C:
6440         * texrow.C:
6441         * text3.C: re-add missing system headers, needed for 2.95.2.
6442
6443 2003-09-05  Angus Leeming  <leeming@lyx.org>
6444
6445         Changes most place everywhere due to the removal of using directives
6446         from support/std_sstream.h.
6447
6448 2003-09-05  Angus Leeming  <leeming@lyx.org>
6449
6450         Replace LString.h with support/std_string.h,
6451         Lsstream.h with support/std_sstream.h,
6452         support/LIstream.h with support/std_istream.h,
6453         support/LOstream.h with support/std_ostream.h.
6454
6455         Changes resulting throughout the tree.
6456
6457 2003-09-05  Angus Leeming  <leeming@lyx.org>
6458
6459         * sgml.h: ensure that the header file can be compiled stand-alone.
6460         * *.C: strip out redundant #includes. (320 in total.)
6461
6462 2003-09-04  Angus Leeming  <leeming@lyx.org>
6463
6464         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6465         here (from getPackages).
6466
6467         * debug.[Ch]: add a new EXTERNAL tag.
6468
6469 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6470
6471         * text2.C (cursorEnd): simplify
6472         (setCursor): adjust
6473         (getColumnNearX): adjust
6474
6475         * text.C (computeBidiTables): adjust
6476         (fill): adjust
6477
6478         * rowpainter.C (paintChars): adjust
6479         (paintSelection): adjust
6480         (paintChangeBar): adjust
6481         (paintText): adjust
6482
6483         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6484         lastPos instead.
6485         (numberOfSeparators): adjust
6486
6487 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6488
6489         * LyXAction.C:
6490         * box.[Ch]:
6491         * lfuns.h:
6492         * lyxfunc.C:
6493         * text3.C: Restricts the mouse click functionality
6494         of insets like bibtex, include, toc and floatlist to the visible
6495         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6496         up the dialogs. Cursor has to be in front of the inset (i.e.
6497         start of row) for this to function.
6498
6499 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6500
6501         * bufferview_funcs.C (currentState): output row information
6502
6503 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6504
6505         * bufferview_funcs.C (currentState): output paragraph position
6506
6507 2003-09-04  Angus Leeming  <leeming@lyx.org>
6508
6509         * FloatList.h: move out #include "Floating.h".
6510         * LaTeX.h: move out #include "DepTable.h".
6511         * LyXAction.h: move out #include "funcrequest.h".
6512         * buffer.h: move out #include "author.h", "iterators.h".
6513         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6514         * lyx_main.h: move out #include "errorlist.h".
6515         * lyxfunc.h: move out #include "FuncStatus.h".
6516         * lyxtext: move out #include "lyxcursor.h".
6517         * paragraph_pimpl.h: move out #include "counters.h".
6518
6519 2003-09-03  Angus Leeming  <leeming@lyx.org>
6520
6521         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6522         preamble_snippets list, enabling us to add snippets to the preamble
6523         only if the snippet was not there already.
6524
6525 2003-09-04  Angus Leeming  <leeming@lyx.org>
6526
6527         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6528
6529 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6530
6531         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6532         update
6533
6534 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6535
6536         * BranchList.C: point fix, earlier forgotten
6537
6538 2003-09-02  Angus Leeming  <leeming@lyx.org>
6539
6540         * box.C (contains): renamed from 'contained' after a fantastic
6541         amount of hot air.
6542
6543 2003-09-02  John Levon  <levon@movementarian.org>
6544
6545         * BufferView.C:
6546         * lyxcursor.h:
6547         * lyxcursor.C:
6548         * lyxfunc.C:
6549         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6550
6551 2003-09-02  John Levon  <levon@movementarian.org>
6552
6553         * text2.C: simplification of cursorEnd(), including partial
6554         fix for bug 1376
6555
6556 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6557
6558         * buffer.C (readFile): add a space
6559
6560 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6561
6562         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6563
6564 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6565
6566         * buffer.C (readFile): new function, take a filename and a
6567         ParagraphList::iterator
6568         (readFile): adjust
6569         (readFile): adjust, make it private. don't use setStream, make
6570         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6571         always contain the filename.
6572
6573         * BufferView.C (insertLyXFile): simplify and make it work for
6574         gzipped files.
6575
6576 2003-08-30  John Levon  <levon@movementarian.org>
6577
6578         * Makefile.am: fix dist (from Kayvan)
6579
6580 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6581
6582         * most files: change to use const Buffer refs
6583
6584 2003-08-27  André Pönitz  <poenitz@gmx.net>
6585
6586         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6587         on top of ownerPar().
6588
6589 2003-08-27  John Levon  <levon@movementarian.org>
6590
6591         * funcrequest.C: properly initialise POD members
6592
6593 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6594
6595         * lyxtext.h (top_y): move top_y from here
6596         * text.C:
6597         * text2.C:
6598         * text3.C:
6599         * BufferView.[Ch]:
6600         * BufferView_pimpl.[Ch]: to here
6601         * frontends/screen.C:
6602         * insets/insettabular.C:
6603         * insets/insettext.C: adjust
6604         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6605
6606 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6607
6608         * BufferView.[Ch]:
6609         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6610
6611 2003-08-26  André Pönitz  <poenitz@gmx.net>
6612
6613         * paragraph_func.[Ch] (outerPar): new function
6614
6615         * paragraph.C:
6616         * paragraph_funcs.C:
6617         * paragraph_funcs.h:
6618         * paragraph_pimpl.C:
6619         * text2.C: remove Inset::par_owner
6620
6621 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6622
6623         * lyxrow_funcs.C:
6624         * lyxtext.h:
6625         * text.C:
6626         * text2.C: eliminates the needFullRow/display() stuff
6627         altogether, putting the logic in metrics/draw in the insets.
6628
6629 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6630
6631         * text2.C (redoParagraphInternal, redoParagraphs):
6632         * text.C (redoParagraph): add a call to updateRowPositions at the
6633         end of each 'metrics-like' call. Remove all others.
6634         (getRow): remove the 'y-computing' version.
6635         (getRowNearY): do not compute nor return the real y. Solve the
6636         'y < 0' problem and simplify.
6637
6638 2003-08-22  Angus Leeming  <leeming@lyx.org>
6639
6640         * *.[Ch]: clean-up of licence and author blurbs.
6641         Also move config.h out of a few .h files and into a few .C files.
6642
6643 2003-08-22  André Pönitz  <poenitz@gmx.net>
6644
6645         * lyxrow.[Ch]: add x_ and *fill_ members
6646
6647         * lyxtext.h:
6648         * text.C:
6649         * rowpainter.C:
6650         * text2.C: adjust/remove prepareToPrint() calls
6651
6652 2003-08-22  André Pönitz  <poenitz@gmx.net>
6653
6654         * lyxrow.[Ch]: add  end_ member
6655
6656         * lyxrow_funcs.C: use LyXRow::end_
6657
6658         * lyxtext.h (singleWidth): add LyXFont parameter
6659
6660         * rowpainter.C:
6661         * text2.C: adjust LyXText::singleWidth() calls
6662
6663         * text.C (redoParagraph): simplify row breaking logic
6664
6665
6666 2003-08-19  André Pönitz  <poenitz@gmx.net>
6667
6668         * funcrequest.C: initialize button_ member
6669
6670         * text3.C:
6671         * rowpainter.[Ch]: interface consolidation
6672
6673 2003-08-18  André Pönitz  <poenitz@gmx.net>
6674
6675         * BufferView.C:
6676         * BufferView_pimpl.C:
6677         * lyxfind.C:
6678         * paragraph_funcs.C:
6679         * rowpainter.C:
6680         * text3.C: remove LyXScreen::draw() and fitCursor calls
6681
6682         * BranchList.h: remove spurious semicolons
6683
6684         * MenuBackend.C: fix branchlist related crash
6685
6686 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6687
6688         * BranchList.[Ch]:
6689         * InsetList.[Ch]:
6690         * LColor.[Ch]:
6691         * LyXAction.C:
6692         * Makefile.am:
6693         * MenuBackend.[Ch]:
6694         * bufferparams.[Ch]:
6695         * factory.C:
6696         * lfuns.h:
6697         * lyxfunc.C:
6698         * text3.C: implements the 'branch inset'
6699         idea. This allows the output of various versions of a document
6700         from a single source version, selectively outputing or suppressing
6701         output of parts of the text.
6702         This implementation contains a 'branch list editor' in a separate
6703         tab of the document settings dialog. Branches are user definable
6704         and have a "display colour" to distinguish them on-screen.
6705
6706         ColorHandler was somewhat cleaned up.
6707         (1) make possible a dynamically growing LColor list by allowing
6708         the graphic context cache to grow along (vector);
6709         (2) eliminate an IMHO unnecessary step in colour allocation.
6710
6711 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6712
6713         * BufferView_pimpl.C: compile fix
6714
6715 2003-08-15  André Pönitz  <poenitz@gmx.net>
6716
6717         * rowpainter.C: remove extra metrics calls
6718
6719         * lyxtext.h: merge the two constructors into a single one,
6720           pass reference to owner's par list
6721
6722         * BufferView_pimpl.C:
6723         * text.C:
6724         * text2.C: adjust
6725
6726 2003-08-15  André Pönitz  <poenitz@gmx.net>
6727
6728         * lyxrow_funcs.[Ch]:
6729         * lyxtext.h:
6730         * paragraph.h:
6731         * paragraph_funcs.C:
6732         * rowpainter.C:
6733         * text.C:
6734         * text2.C:
6735         * text3.C:
6736         * text_funcs.C: split LyXText::rowlist_ into individual
6737         Paragraph::rows_ chunks
6738
6739         * BufferView.[Ch]:
6740         * BufferView_pimpl.[Ch]:
6741         * lyxfind.C:
6742         * lyxtext.h:
6743         * text3.C: remove toggleSelection()
6744
6745 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6746
6747         * bufferlist.C: beautify two alerts (shorter text of buttons)
6748         * buffer.C: Remove redundant ' ' from message
6749         * tabular.h:
6750         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6751         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6752         rename VALIGN_CENTER to VALIGN_MIDDLE
6753
6754 2003-08-11  André Pönitz  <poenitz@gmx.net>
6755
6756         * lyxtext.h (getPar):
6757         * text.C: new function
6758
6759 2003-08-11  André Pönitz  <poenitz@gmx.net>
6760
6761         * Makefile.am:
6762         * tracer.[Ch]: remove unneeded files
6763
6764         * InsetList.[Ch]: remove resizeInsetsLyXText()
6765
6766         * lyxtext.h:
6767         * text.C:
6768         * text2.C:
6769         * text3.C: merge insertParagraphs() and appendParagraph()
6770         remove breakAgain(), update()
6771
6772         * BufferView_pimpl.[Ch]:
6773         * bufferview_funcs.[Ch]:
6774         * lyxfunc.C:
6775         * paragraph.[Ch]:
6776         * rowpainter.C:
6777         * tabular.C: adjust after text & InsetList changes.
6778
6779 2003-08-08  André Pönitz  <poenitz@gmx.net>
6780
6781         * text.C (insertChar, backspace): replace rowlist fiddling
6782         with rebreak of full par
6783
6784         * lyxtext.h:
6785         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6786         checkParagraph, updateInset): removed
6787
6788 2003-08-07  André Pönitz  <poenitz@gmx.net>
6789
6790         * paragraph.C:
6791         * text3.C: merge some LFUN handlers, remove dead code
6792
6793 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6794
6795         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6796
6797 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6798
6799         * text2.C (DEPM): fix part of bug 1255 and 1256
6800
6801 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6802
6803         * BufferView_pimpl.C (workAreaDispatch): change to use
6804         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6805         that are no mouse related.
6806
6807 2003-08-05  André Pönitz  <poenitz@gmx.net>
6808
6809         * BufferView.[Ch]:
6810         * BufferView_pimpl.[Ch]:
6811         * bufferview_funcs.C:
6812         * text2.C:
6813         * text3.C: rip out "deep update"
6814
6815         * textcursor.[Ch] (last_sel_cursor): remove unused member
6816
6817 2003-08-04  André Pönitz  <poenitz@gmx.net>
6818
6819         * BufferView.[Ch]:
6820         * BufferView_pimpl.[Ch]:
6821         * ParagraphParameters.C:
6822         * bufferview_funcs.C:
6823         * lyx_cb.C:
6824         * lyxfind.C:
6825         * lyxfunc.C:
6826         * text.C:
6827         * text2.C:
6828         * text3.C: replace "complicated" BufferView::update(...) calls with
6829         simpler ones.
6830
6831         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6832
6833 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6834
6835         * Makefile.am (lyx_SOURCES): add paper.h
6836
6837 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6838
6839         * Makefile.am: move things around so that both lyx-qt and
6840         lyx-xforms can be built (according to --with-frontend). Then lyx
6841         is a symbolic link to lyx-[firstfrontend]
6842
6843 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6844
6845         * Always use std::endl with lyxerr
6846
6847 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6848
6849         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6850
6851 2003-08-01  André Pönitz  <poenitz@gmx.net>
6852
6853         * BufferView.[Ch]:
6854         * BufferView_pimpl.[Ch]:
6855         * lyxfunc.C:
6856         * text3.C: merge BufferView::repaint() and BufferView::update()
6857
6858 2003-08-01  José Matos  <jamatos@lyx.org>
6859
6860         * buffer.[Ch]: file_format is no longer a buffer data element.
6861
6862 2003-08-01  André Pönitz  <poenitz@gmx.net>
6863
6864         * BufferView.C:
6865         * lyxtext.h:
6866         * text.C:
6867         * text2.C: make redoParagraph more independent of current cursor
6868
6869         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6870         * text.C:
6871         * text2.C: remove unneeded members
6872
6873 2003-07-30  André Pönitz  <poenitz@gmx.net>
6874
6875         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6876
6877         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6878           create a single function...
6879
6880         * paragraph_funcs.C (moveItem): ... here.
6881
6882         * text.C:
6883           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6884
6885 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6886
6887         * LColor.[Ch]: Add comment and greyedout logical colors.
6888
6889 2003-07-30  André Pönitz  <poenitz@gmx.net>
6890
6891         * tabular.C: don't use Assert too heavily. This crashes where it
6892           shouldn't
6893
6894 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6895
6896         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6897         is disabled (bug 1232)
6898
6899 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6900
6901         * factory.C: limited 'arg' scope
6902
6903 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6904
6905         * factory.C: fixed Note submenu issues
6906
6907 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6908
6909         * factory.C: submenu for Note/Comment/Greyedout
6910
6911 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6912
6913         * lyx_main.C (LyX):
6914         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6915
6916 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6917
6918         * LaTeXFeatures.C:
6919         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6920         greyedout. Patch provided by Jürgen Spitzmüller.
6921
6922 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6923
6924         * kbmap.C (read): fix error message when reading bind files
6925
6926 2003-07-29  Angus Leeming  <leeming@lyx.org>
6927
6928         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6929         certainly does not do what it purports to do. I am doing it, and
6930         us, a favour by killing it.
6931
6932 2003-07-28  José Matos  <jamatos@lyx.org>
6933
6934         * buffer.C (readBody, do_writeFile):
6935         * paragraph.C(readParagraph): \end_document replaces \the_end.
6936
6937 2003-07-29  André Pönitz  <poenitz@gmx.net>
6938
6939         * BufferView.[Ch]:
6940         * BufferView_pimpl.[Ch]:
6941         * lyxfunc.C:
6942         * text2.C:
6943         * text3.C:
6944         * textcursor.[Ch]: remove toggleToggle & Co
6945
6946 2003-07-28  José Matos  <jamatos@fep.up.pt>
6947
6948         * buffer.C (readParagraph):
6949         * params_func (readParToken, readParagraph):
6950         * paragraph.C (write): \layout -> \begin_layout.
6951
6952 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6953
6954         * lyxlex_pimpl.C (setFile): clean up slightly.
6955
6956         * bufferparams.h: add compressed var
6957
6958         * buffer_funcs.C (readFile): adjust for LyXLex change
6959         (newFile): ditto + simplify
6960
6961         * buffer.C (writeFile): handle writing of compressed files
6962
6963         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6964         Check if the file is compressed and set a bufferparm if so.
6965
6966         * Makefile.am (lyx_LDADD): remove explicit -lz
6967
6968 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6969
6970         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6971         makeDocBookFile): put the real LyX version in the first line of
6972         the file
6973
6974         * version.h:
6975         * version.C.in: remove lyx_docversion
6976
6977         * tabular.C (write_attribute): add a template-based version to
6978         write enums properly
6979
6980 2003-07-28  André Pönitz  <poenitz@gmx.net>
6981
6982         * lyxtext.h:
6983         * text.C:
6984         * text2.C:
6985         * text3.C: use doubles again for x-coordinates. They are needed.
6986
6987 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6988
6989         * messages.C (getLocaleDir): use lyx_localedir()
6990
6991         * lyxlex_pimpl.C (setFile): compress stuff
6992
6993         * buffer.C (writeFile): add some compression stuff
6994         (do_writeFile): new func, dont call expliti close... will this
6995         breake anything?
6996
6997         * Makefile.am (lyx_LDADD): add -lz
6998
6999 2003-07-28  José Matos  <jamatos@fep.up.pt>
7000
7001         * buffer.C: increment file format.
7002         * paragraph_funcs (readParagraph, readParToken):
7003         * paragraph.C (readParagraph): add \end_layout.
7004
7005 2003-07-27  Angus Leeming  <leeming@lyx.org>
7006
7007         * Makefile.am: remove special casing for configure-time setting of
7008         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7009
7010         * lyx_main.C (init): remove all Jean-Marc's magic setting of
7011         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7012
7013 2003-07-26  André Pönitz  <poenitz@gmx.net>
7014
7015         * paragraph_func.[Ch]:
7016         * paragraph.C (realizeFont): inline it whereever it is used
7017
7018         * rowpainter.C:
7019         * text.C:
7020         * text2.C:
7021         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7022
7023
7024 2003-07-26  André Pönitz  <poenitz@gmx.net>
7025
7026         *       lyxtext.h:
7027         * text.C:
7028         * text2.C: get rid of LyXText::need_break_row
7029
7030 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7031
7032         * toc.[Ch]: put namespace toc inside namespace lyx
7033
7034         * MenuBackend.C (expandToc2): adjust for lyx::toc
7035         (expandToc): ditto
7036
7037         * lyxfunc.C (dispatch): adjust for lyx::find
7038
7039         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7040         lyx::find instead. Reorganize a bit.
7041         (LyXReplace): rename to replace
7042         (LyXFind): rename to find
7043
7044         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7045         (dispatch): ditto
7046
7047 2003-07-26  André Pönitz  <poenitz@gmx.net>
7048
7049         * text.C (setHeightOfRow): restrict scope of temporary variable
7050
7051         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7052           code (never has been used?)
7053
7054 2003-07-27  Asger Alstrup  <alstrup@local>
7055
7056         * text.C (fill): Optimise algorithm to exploit that we can reuse
7057         the LyXFont for many characters.
7058         (setHeightOfRow): Same thing.
7059         (rowBreakPoint): Same thing.
7060
7061 2003-07-26  Asger Alstrup  <alstrup@local>
7062
7063         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7064
7065         * text.C (singleWidth): Spurious font copying in hot-spot
7066         singleWidth avoided. Reorder tests for arabic for efficiency.
7067
7068         * text.C (fill): handle empty paragraphs better.
7069
7070 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7071
7072         * ispell.C:
7073         * encoding.h: add includes
7074
7075         * lyxrc.C: remove reading of bind files
7076
7077         * lyx_main.C (init): setup bindings and menus only if we have a
7078         gui.
7079
7080         * kbmap.C (read): new method. Do the actual reading of bind
7081         files.
7082
7083         * converter.C (dvipdfm_options):
7084         * bufferparams.C:
7085         * lyxrc.C (read):
7086         (output): adapt PAPER_* enums.
7087
7088         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7089
7090         * bufferparams.h: remove paper-related enums from there
7091
7092         * paper.h: New file. A trivial header file to hold paper-related
7093         enums. It should later expand to contain many paper-related
7094         horrors access.
7095
7096         * lyxrc.C: declare extern displayTranslator
7097
7098 2003-07-27  José Matos  <jamatos@fep.up.pt>
7099
7100         * tabular.[Ch] (linuxdoc): add support for tables and figures
7101         (linuxdoc).
7102
7103 2003-07-27  José Matos  <jamatos@fep.up.pt>
7104
7105         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7106         consistency in both functions.
7107         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7108
7109 2003-07-26  Asger Alstrup  <alstrup@local>
7110
7111         * rowpainter.C (paintRows): Change algorithm to work directly on
7112         the insets rather than asking every character in the document
7113         whether its an inset.
7114
7115 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7116
7117         * buffer.C (openFileWrite): factorize some code
7118
7119 2003-07-26  Angus Leeming  <leeming@lyx.org>
7120
7121         * lyx_cb.C:
7122         * lyx_main.[Ch]: replace occurances of system_tempdir with
7123         os::getTmpDir().
7124
7125 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7126
7127         * rename Inset to InsetOld
7128
7129 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7130
7131         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7132         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7133         which I think is a bit clearer. EDIT is gone, since it was
7134         premature optimisation, and broken for mathed anyway.
7135         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7136         with cursor positioning in insets as well (math insets still do not
7137         work, but that's a different story anyway.) It mysteriously
7138         crashes sometimes with undo in the first paragraph, but I'm fairly
7139         confident that this is a compiler bug.
7140
7141 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7142
7143         * paragraph.C (Paragraph): adjust for new clone return type
7144         (operator==): ditto
7145         (copyIntoMinibuffer): ditto
7146
7147 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7148
7149         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7150         by not having a special case, and always doing a full rebreak of
7151         the document after undo.
7152
7153 2003-07-23  Angus Leeming  <leeming@lyx.org>
7154
7155         * factory.C (createInset): InsetExternal::setParams now takes a
7156         Buffer const * arg.
7157
7158 2003-07-23  Angus Leeming  <leeming@lyx.org>
7159
7160         * factory.C (createInset): changed interface to the external and
7161         graphics mailers' string2params functions.
7162
7163 2003-07-23  Angus Leeming  <leeming@lyx.org>
7164
7165         * factory.C (createInset): pass a
7166         Buffer const * parameter to InsetExternalMailer's string2params.
7167
7168 2003-07-22  John Levon  <levon@movementarian.org>
7169
7170         * Thesaurus.h: include the right aiksaurus header
7171
7172 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7173
7174         * MenuBackend.C (expand): check menu shortcuts unconditionally
7175
7176 2003-07-21  Angus Leeming  <leeming@lyx.org>
7177
7178         * factory.C (createInset): pass a
7179         buffer_path parameter to InsetGraphicsMailer's string2params.
7180
7181 2003-07-21  Angus Leeming  <leeming@lyx.org>
7182
7183         * BufferView_pimpl.C (buffer):
7184         * buffer.C (d-tor):
7185         * lyx_main.C (LyX):
7186         * lyxfunc.C (dispatch):
7187         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7188         rather than the grfx shortcut.
7189
7190 2003-07-21  André Pönitz  <poenitz@gmx.net>
7191
7192         * rowpainter.C: remove unused variables
7193
7194         * tabular_funcs.C:
7195         * tabular_funcs.h: move to tabular.C
7196         * Makefile.am: adjust
7197
7198         * tabular.[Ch]: basic optical cleaning
7199
7200         * author.h: pass references, not values
7201
7202 2003-07-18  André Pönitz  <poenitz@gmx.net>
7203
7204         * lyxtext.h:
7205         * metricsinfo.C:
7206         * metricsinfo.h:
7207         * rowpainter.C:
7208         * text.C:
7209         * text2.C:
7210         * text3.C: two-phase drawing for InsetText and InsetTabular
7211         some float -> int changes.
7212
7213 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7214
7215         * lyx_main.C: fix the fix
7216
7217 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7218
7219         * lyx_main.C: fix a crash in batch mode if no files specified
7220         * converter.C: ws
7221
7222 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7223
7224         * format.[Ch] (papersize): moved to BufferParams
7225         * converter.[Ch] (dvips_options): moved to BufferParams
7226         (dvipdfm_options): moved to anon namespace
7227         * bufferparams.[Ch]: added above functions.
7228
7229 2003-07-17  André Pönitz  <poenitz@gmx.net>
7230
7231         * lyxtext.h:
7232         * rowpainter.C:
7233         * text2.C: don't call inset->update() anymore
7234
7235         * metricsinfo.[Ch]: add convenience constructor
7236
7237 2003-07-16  André Pönitz  <poenitz@gmx.net>
7238
7239         * lyxcursor.[Ch]:
7240         * lyxfunc.[Ch]:
7241         * text.C:
7242         * text2.C: replace the LyXCursor::irow_ member with
7243          on-demand computation of the value
7244
7245 2003-07-16  John Levon  <levon@movementarian.org>
7246
7247         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7248
7249 2003-07-15  André Pönitz  <poenitz@gmx.net>
7250
7251         * text.C:
7252         * text2.C: remove no more needed refresh_row
7253
7254 2003-07-15  André Pönitz  <poenitz@gmx.net>
7255
7256         * lyxtext.h:
7257         * rowpainter.C:
7258         * text2.C:
7259         * text3.C: refresh_status tristate -> need_update bool
7260
7261 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7262
7263         * lyxtext.h (init): remove reinit argument (act as if always true)
7264         * text2.C: adjust to that
7265
7266 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7267
7268         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7269         * text3.C: use it to delete selections in some cases
7270         (bugs 441, 673, 702, 954).
7271
7272 2003-07-14  André Pönitz  <poenitz@gmx.net>
7273
7274         * rowpainter.[Ch]: reduce interface
7275
7276 2003-07-14  André Pönitz  <poenitz@gmx.net>
7277
7278         * BufferView_pimpl.C:
7279         * text2.C: adjust after removing unused BufferView * argument
7280
7281 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7282
7283         * text2.C (init): fix a crash fired on resize
7284
7285 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7286
7287         * buffer.[Ch]: added new closing signal
7288         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7289         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7290         BufferView::Pimpl via the closing the signal
7291
7292 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7293
7294         * buffer.[Ch]: take out all bv-related from buffer
7295         * BufferView.C:
7296         * BufferView_pimpl.[Ch]: connect to new signals
7297         * CutAndPaste.C: removed useless asserts
7298         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7299         * lyxvc.[Ch]:
7300         * vc-backend.[Ch]:
7301         * lyxfunc.C: moved view-related funciontality from vc here
7302         * paragraph.C: removed outdated comments
7303         * text.C: ws
7304
7305 2003-07-10  André Pönitz  <poenitz@gmx.net>
7306
7307         * BufferView_pimpl.C:
7308         * tabular.h:
7309         * tabular_funcs.C:
7310         * text.C:
7311         * text2.C: remove InsetText::InnerCache, clean up consequences
7312
7313 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7314
7315         * ispell.C: fix two typos in error messages
7316
7317 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7318
7319         * Extend Note inset to other forms of annotation like Comment
7320         and Greyedout. Right button click gives dialog.
7321
7322         Files modified or added (+):
7323
7324         * insetnote.[Ch]
7325         * FormNote.[Ch]      +
7326         * ControlNote.[Ch]   +
7327         * form_note.fd       +
7328         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7329         frontends/controllers
7330         * xforms/Dialogs.C
7331         * factory.C
7332
7333 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7334
7335         * aspell.C: add missing namespace lyx::support
7336
7337 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7338
7339         * BufferView.[Ch] (newFile): Add
7340         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7341         * LaTeX.[Ch] (message): added this signal and use it
7342         * buffer.[Ch] (busy, message): added these signals and use them
7343         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7344         * converter.C:
7345         * exporter.C:
7346         * format.C:
7347         * importer.C: use buffer signals instead of direct bv calling
7348         * lyx_cb.[Ch] (ShowMessage): removed
7349         * lyx_main.C:
7350         * lyxfunc.C:
7351         * paragraph_funcs.C:
7352         * text2.C: use buffer signals
7353
7354 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7355
7356         * introduce namespace lyx::graphics
7357
7358 2003-07-02  André Pönitz  <poenitz@gmx.net>
7359
7360         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7361
7362 2003-07-01  André Pönitz  <poenitz@gmx.net>
7363
7364         * text.C:
7365         * text2.C:
7366         * text3.C:
7367         * text_funcs.[Ch]:
7368         * textcursor.h:
7369         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7370           text*.C to text_func.C
7371
7372 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7373
7374         * introduce namespace lyx::support
7375
7376 2003-06-30  André Pönitz  <poenitz@gmx.net>
7377
7378         * Chktex.C:
7379         * funcrequest.C:
7380         * lyxtext.h:
7381         * text.C: re-enable --with-included-string
7382
7383 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7384
7385         * textcursor.C: add <config.h>
7386
7387         * text.C (getWord): remove const from word_location arg
7388
7389         * lyxvc.C (getLogFile): fix const type order
7390
7391         * lyxtext.h: remove const from word_location arg, add arg name
7392
7393         * lyxlayout.h: currect type on labeltype.
7394
7395         * importer.C: correct \file
7396
7397         * converter.C (intToFormat): use std:: on ret val, ws changes
7398
7399         * bufferlist.h: correct \file
7400
7401         * buffer.C (makeLinuxDocFile): fix const type order
7402         (makeDocBookFile): ditto
7403         (fillWithBibKeys): use std:: on stdlib args.
7404
7405         * CutAndPaste.C: fix authors.
7406         (availableSelections): use std:: on return vector
7407
7408 2003-06-27  André Pönitz  <poenitz@gmx.net>
7409
7410         * BufferView_pimpl.C:
7411         * bufferview_funcs.C:
7412         * lyxcursor.C:
7413         * lyxcursor.h:
7414         * lyxfunc.C:
7415         * lyxtext.h:
7416         * rowpainter.C:
7417         * text.C:
7418         * text2.C:
7419         * text3.C: remove LyXCursor::row_ member
7420
7421         * lyxtext.h:
7422         * text.C: rename fullRebreak() to partialRebreak() and implement
7423           a fullRebreak() that really bereks fully
7424
7425         * textcursor.h: new struct for cursor-related data
7426
7427 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7428
7429         * lyx_main.C (LyX): get full path of document loaded on the
7430         command line
7431
7432 2003-06-26  André Pönitz  <poenitz@gmx.net>
7433
7434         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7435           remove unused/broken operator>,<,>=.
7436
7437         *       text.C: remove only use of broken operator<= in an Assert().
7438
7439 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7440
7441         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7442         moved errorlist_.clear to showErrorList
7443
7444 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7445
7446         * converter.C (scanLog, runLaTeX):
7447         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7448         move the bv->showErrorList call to the callers
7449         * lyxfunc.C: i.e. here...
7450         * text2.C: and here
7451         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7452         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7453         namespace, the second to...
7454         * buffer_funcs (BufferFormat, parseErrors): added
7455         * errorlist.C (ErrorList(TeXErrors const &)): removed
7456
7457 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7458
7459         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7460
7461 2003-06-24  "Garst R. Reese" <reese@isn.net>
7462
7463         * debug.C: fix typo
7464
7465 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7466
7467         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7468
7469         * version.C.in: change docversion to 1.4
7470
7471 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7472
7473         * buffer.C: fix a bug just introduced
7474
7475 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7476
7477         * buffer.[Ch]: added the parseError signal and use it, removed
7478         sgmlError
7479         * BufferView.[Ch] (addError): moved to ...
7480         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7481         to the Buffer::parseError signal to catch (guess what) parse errors
7482         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7483
7484 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7485
7486         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7487         ability to create a buffer and to return an existing one from
7488         the list. Moved these functions to...
7489         * buffer_funcs.[Ch]: added
7490         * BufferView.[Ch] (loadLyXFile): added
7491         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7492         job removed from bufferlist::loadLyXFile.
7493         * buffer.C (setReadOnly): make it work without view
7494         (i.e added an if (users))
7495
7496 2003-06-19  Angus Leeming  <leeming@lyx.org>
7497
7498         * lfuns.h:
7499         * LyXAction.C (init):
7500         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7501         with LFUN_DIALOG_SHOW <name> <data>.
7502
7503 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7504
7505         * CutAndPaste.C (availableSelections): small compilation fix for
7506         ancient (gcc 2.9x) compilers
7507
7508 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7509
7510         * text3.C (cursorNext): add tmp var
7511
7512         * text2.C (updateCounters): for function calling out of for clause
7513         (replaceSelectionWithString): ditto
7514         (insertStringAsParagraphs): ditto
7515         (getColumnNearX): add tmp var
7516         (setCursorFromCoordinates): add tmp var
7517         (cursorDownParagraph): add tmp var
7518         (deleteEmptyParagraphMechanism): add tmp var
7519
7520         * text.C (insertChar): add tmp var
7521
7522         * rowpainter.C (paintDepthBar): add tmp var
7523
7524         * CutAndPaste.C (availableSelections): potentially check all
7525         paragraphs in a cut to fill the shown strings.
7526
7527 2003-06-18  André Pönitz  <poenitz@gmx.net>
7528
7529         * kbmap.[Ch]: use vector<> instead of list<>
7530
7531 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7532
7533         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7534         pasteSelection with index
7535
7536         * text2.C (pasteSelection): modify, call pasteSelection with index
7537
7538         * paragraph.C (asString): reimplement version with no interval to
7539         call the one with interval.
7540
7541         * lyxtext.h: add index arg to pasteSelection
7542
7543         * MenuBackend.C (MenuItem): handle PasteRecent
7544         (Menu::read::Menutags): add md_pasterecent
7545         (read): handle it
7546         (expandPasteRecent): new function
7547         (expand): use it
7548
7549         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7550
7551         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7552         the limited stack
7553         (availableSelections): new function
7554
7555 2003-06-17  Angus Leeming  <leeming@lyx.org>
7556
7557         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7558
7559 2003-06-17  Angus Leeming  <leeming@lyx.org>
7560
7561         * lfuns.h:
7562         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7563
7564         * lyxfunc.C (dispatch): invoke it.
7565
7566 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7567
7568         * iterators.C (operator++, ParPosition): reintroduce some
7569         const_cast for the benefit of older compilers.
7570
7571 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7572
7573         * text3.C (dispatch): do not modify clipboard when doing
7574         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7575         LFUN_DELETE_SKIP on a selection selection
7576
7577 2003-06-16  André Pönitz  <poenitz@gmx.net>
7578
7579         * BufferView.C:
7580         * buffer.C:
7581         * buffer.h:
7582         * paragraph.C:
7583         * tabular.[Ch]: IU of clone() and getLabelList();
7584
7585 2003-06-13  André Pönitz  <poenitz@gmx.net>
7586
7587         * tabular.h: compactification
7588
7589 2003-06-12  André Pönitz  <poenitz@gmx.net>
7590
7591         * tabular.C:
7592         * tabular.h:
7593         * tabular_funcs.h: some renaming plus whitespace
7594
7595 2003-06-12  André Pönitz  <poenitz@gmx.net>
7596
7597         * BufferView.C:
7598         * BufferView_pimpl.C:
7599         * CutAndPaste.C:
7600         * buffer.C:
7601         * iterators.[Ch]:
7602         * lyxfunc.C:
7603         * text.C:
7604         * toc.C: Return a Paragraph & for ParIterator::operator*()
7605
7606 2003-06-11  John Levon  <levon@movementarian.org>
7607
7608         * lyx_main.C:
7609         * ToolbarBackend.h:
7610         * ToolbarBackend.C: add "Toolbars" section and
7611         put the flags there
7612
7613 2003-06-10  Angus Leeming  <leeming@lyx.org>
7614
7615         * lfuns.h:
7616         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7617
7618         * lyxfunc.C (dispatch): invoke it.
7619
7620 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7621
7622         * main.C: protect <ios> with HAVE_IOS
7623         (main): protect sync_with_stdio with HAVE_IOS
7624
7625 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7626
7627         * text2.C (cutSelection): adjust
7628         (pasteSelection): adjust
7629
7630         * messages.C: handle get of empty string
7631
7632         * main.C (main): use sync_with_stdio(false)
7633
7634         * lyxfunc.C (dispatch): adjust
7635
7636         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7637         (WriteAs): remove unneeded BufferView arg.
7638
7639         * bufferparams.h: use correct types on papersize, papersize2 and
7640         paperpackage.
7641
7642         * bufferparams.C (readToken): adjust for type
7643         (writeLaTeX): add missing cases to switch.
7644
7645         * bufferlist.C (quitWriteBuffer): adjust
7646         (close): adjust
7647
7648         * buffer.C (asciiParagraph): remove some commented code.
7649
7650         * CutAndPaste.C: remove current_view extern variable.
7651         (cutSelection): add BufferParams arg.
7652         (eraseSelection): add BufferParams arg.
7653         (pasteSelection): add Buffer const & arg
7654
7655 2003-06-07  John Levon  <levon@movementarian.org>
7656
7657         * buffer.C:
7658         * paragraph_funcs.C:
7659         * paragraph_pimpl.C:
7660         * text.C:
7661         * text2.C:
7662         * paragraph.h:
7663         * paragraph.C: allow InsetERT to freely space lines,
7664         and some consolidation of code
7665
7666 2003-06-06  José Matos  <jamatos@fep.up.pt>
7667
7668         * buffer.C (makeDocBookFile): fix bug #821
7669
7670 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7671
7672         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7673
7674 2003-06-04  Angus Leeming  <leeming@lyx.org>
7675
7676         * buffer.C: bump format to 224.
7677
7678 2003-06-05  André Pönitz  <poenitz@gmx.net>
7679
7680         * text2.C (redoParagraphs): remove two const_cast<>
7681
7682 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7683
7684         * ParagraphList.h: remove last remnants of NO_STD_LIST
7685
7686 2003-06-03  Angus Leeming  <leeming@lyx.org>
7687
7688         * factory.C (createInset): small change to the way InsetExternal's params
7689         are set.
7690
7691 2003-06-04  André Pönitz  <poenitz@gmx.net>
7692
7693         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7694
7695         * paragraph_pimpl.h:
7696         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7697
7698         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7699
7700         * undo_funcs.C: make some simple cases of undo work again
7701
7702 2003-06-03  John Levon  <levon@movementarian.org>
7703
7704         * ispell.C: HPUX doesn't have sys/select.h
7705         (from Albert Chin)
7706
7707 2003-06-03  John Levon  <levon@movementarian.org>
7708
7709         * CutAndPaste.C: update tabular and include inset
7710         buffer references
7711
7712         * buffer.h:
7713         * paragraph.h:
7714         * paragraph.C: remove owningBuffer(), don't pass Buffer
7715         to clone()
7716
7717         * factory.C: insetGraphicsParams changed
7718
7719 2003-06-02  John Levon  <levon@movementarian.org>
7720
7721         * LyXAction.C:
7722         * factory.C:
7723         * lfuns.h:
7724         * lyxfunc.C:
7725         * text3.C: remove insetparent
7726
7727 2003-06-02  John Levon  <levon@movementarian.org>
7728
7729         * buffer.h:
7730         * buffer.C: fix inset_iterator.end(), move out of line
7731         (bug 1149)
7732
7733 2003-06-01  John Levon  <levon@movementarian.org>
7734
7735         * text3.C: use a proper cut/paste when doing inset
7736         insert (from Jürgen Spitzmüller)
7737
7738 2003-06-01  John Levon  <levon@movementarian.org>
7739
7740         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7741
7742 2003-05-30  André Pönitz  <poenitz@gmx.net>
7743
7744         * rowpainter.C: unify second drawing phase
7745
7746 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7747
7748         * trans_mgr.C: remove one case of current_view
7749
7750         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7751
7752         * paragraph_funcs.h: remove paragraph.h include
7753
7754         * paragraph.h: delete NO_STD_LIST stuff
7755
7756         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7757
7758         * buffer.h: remove paragraph.h include
7759
7760         * ParagraphList.C: delete file
7761
7762         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7763
7764         * toc.C (getTocList): adjust
7765
7766         * paragraph_pimpl.C (validate): adjust
7767
7768         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7769
7770         * paragraph.C (Paragraph): adjust
7771         (getPositionOfInset): use const_iterator, adjust
7772         (bibitem): use const_iterator, adjust
7773         (setInsetOwner): adjust
7774
7775         * iterators.C (operator++): adjust
7776
7777         * InsetList.[Ch]: Replace selfmade iterator with standard
7778         vector::iterator also introduce const_iterator. Remove getPos,
7779         getInset and setInset from InsetTable. Adjust accordingly.
7780
7781         * BufferView.C (lockInset): adjust
7782         (ChangeInsets): adjust
7783
7784         * tabular.[Ch]: delete commented same_id functions
7785
7786 2003-05-28  John Levon  <levon@movementarian.org>
7787
7788         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7789
7790 2003-05-28  André Pönitz  <poenitz@gmx.net>
7791
7792         * metricsinfo.[Ch]: remove 'fullredraw' member
7793
7794 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7795
7796         * lyxtextclass.C (operator): remove caching.
7797
7798 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7799
7800         * text3.C: adjust
7801
7802         * text2.C (cursorBottom): adjust
7803         (setCounter): use ParagraphList::find, adjust
7804
7805         * text.C (workWidth): use ParagraphList::find, adjust
7806
7807         * lyxcursor.C (LyXCursor): adjust
7808
7809         * buffer.C (inset_iterator): adjust
7810
7811         * ParagraphList.h: make iterator(value_type) private, make
7812         ParagraphList a friend of iterator.
7813
7814         * ParagraphList.C (find): new function
7815
7816         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7817
7818 2003-05-27  André Pönitz  <poenitz@gmx.net>
7819
7820         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7821
7822 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7823
7824         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7825
7826 2003-05-26  John Levon  <levon@movementarian.org>
7827
7828         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7829
7830 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7831
7832         * remove same_id from function signatures, adjust.
7833
7834 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7835
7836         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7837
7838         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7839
7840         * paragraph.C (Paragraph): get rid of same_ids parameter
7841
7842         * ParagraphList.C (insert): adjust
7843         (push_back): adjust
7844
7845 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7846
7847         * paragraph_funcs.C (breakParagraph): adjust
7848         (breakParagraphConservative): adjust
7849
7850         * buffer.C (readParagraph): adjust
7851
7852         * ParagraphList.C (insert): take a reference instead of a pointer
7853         (insert): adjust
7854
7855         * paragraph.[Ch] (id): new function
7856
7857         * bufferlist.C (newFile): adjust
7858
7859         * ParagraphList.C (ParagraphList): adjust
7860         (assign): adjust
7861         (push_back): take a reference instead of a pointer.
7862
7863         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7864
7865         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7866         instead.
7867
7868         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7869         set else use old code.
7870
7871         * ParagraphList.C: remove all NO_NEXT code and only compile this
7872         code of NO_STD_LIST is set.
7873
7874 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7875
7876         * BufferView_pimpl.C:
7877         * TextCache.C:
7878         * TextCache.h:
7879         * bufferlist.C:
7880         * errorlist.h:
7881         * format.C:
7882         * format.h:
7883         * graph.C:
7884         * lyxfunc.C:
7885         * lyxrc.C:
7886         * graphics/GraphicsConverter.C:
7887         * graphics/PreviewLoader.C: header adjustment
7888
7889 2003-05-23  Angus Leeming  <leeming@lyx.org>
7890
7891         * LaTeXFeatures.[Ch] (useBabel): new method.
7892         * bufferparams.C (writeLaTeX): use it.
7893
7894 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7895
7896         * ParagraphList.h (set): remove unused function.
7897
7898 2003-05-23  André Pönitz  <poenitz@gmx.net>
7899
7900         * BufferView.C:
7901         * BufferView_pimpl.C:
7902         * buffer.C:
7903         * buffer.h:
7904         * lyxfunc.C:
7905         * undo_funcs.C: setUndo reworked
7906
7907         * iterators.[Ch]: add access to topmost ParagraphList
7908
7909         * lyxtext.[Ch] (workWidth): add a const
7910
7911 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7912
7913         * texrow.[Ch] (increasePos): remove function
7914         * exporter.C (export): removed unused var and outdated comment
7915
7916 2003-05-23  Angus Leeming  <leeming@lyx.org>
7917
7918         * latexrunparams.h: rename fragile as moving_arg.
7919         * paragraph.C (simpleTeXOnePar): ditto.
7920         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7921
7922 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7923
7924         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7925         (createUndo): ditto
7926         (textUndoOrRedo): comment out a currently unused var.
7927
7928         * paragraph.h (NO_NEXT): enable NO_NEXT
7929
7930         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7931
7932         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7933
7934         * exporter.C (Export): adjust for removeAutoInsets removal.
7935
7936         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7937
7938         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7939
7940         * BufferView.[Ch] (removeAutoInsets): delete function
7941
7942 2003-05-22  Angus Leeming  <leeming@lyx.org>
7943
7944         * latexrunparams.h: add a free_spacing variable.
7945
7946         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7947         to pass moving_arg, as the data is stored in runparams.fragile.
7948
7949         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7950         to Inset::latexOptional or to simpleTeXOnePar.
7951
7952         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7953         free_spacing arg to Inset::latexOptional.
7954
7955         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7956         free_spacing arg.
7957
7958 2003-05-22  Angus Leeming  <leeming@lyx.org>
7959
7960         * latexrunparams.h: add fragile and use_babel variables.
7961
7962         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7963         * buffer.C (makeLaTeXFile): store this returned value in
7964         runparams.use_babel, thus passing it to the inset::latex methods.
7965
7966         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7967         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7968
7969         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7970         longer has a fragile arg, as it is stored in runparams.fragile.
7971
7972         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7973         moving_arg parameter as the data is stored in runparams.fragile.
7974
7975         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7976         a fragile parameter as the data is stored in runparams.fragile.
7977
7978 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7979
7980         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7981
7982 2003-05-22  Angus Leeming  <leeming@lyx.org>
7983
7984         * latexrunparams.h: add a 'bool nice' which defaults to false.
7985
7986         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7987         now encapsulated within runparams.
7988
7989         * bufferlist.C (updateIncludedTeXfiles):
7990         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7991
7992 2003-05-22  Angus Leeming  <leeming@lyx.org>
7993
7994         * latexrunparams.h: new file containing struct LatexRunParams.
7995         * Makefile.am: add new file.
7996
7997         * LaTeX.[Ch] (c-tor, run):
7998         * buffer.[Ch] (makeLaTeXFile):
7999         * bufferlist.[Ch] (updateIncludedTeXfiles):
8000         * converter.C (convert, scanLog):
8001         * converter.[Ch] (runLaTeX):
8002         * exporter.C (Export):
8003         * paragraph.[Ch] (simpleTeXOnePar):
8004         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8005         * paragraph_funcs.[Ch] (latexParagraphs):
8006         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8007         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8008         pass around a LatexRunParams parameter.
8009
8010 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8011
8012         * paragraph.[Ch]: remove unused constructor
8013
8014         * ParagraphList.C (erase): new function, taking two iterators
8015
8016 2003-05-22  André Pönitz  <poenitz@gmx.net>
8017
8018         * undo_funcs.C: remove duplicated code
8019
8020         * iterator.[Ch]: operator=
8021
8022 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8023
8024         * tabular.C (SetMultiColumn): ws changes
8025
8026         * rowpainter.C (paintFirst): get rid of a ->previous
8027
8028         * lyx_cb.C (getPossibleLabel): parlist simplification
8029
8030         * BufferView.C (ChangeInsets): simplify slightly.
8031
8032 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8033
8034         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8035         * lfuns.h: new LFUN_SPACE
8036         * lyxfunc.C: protected space has a new lfun
8037         * paragraph_funcs.C: read new space insets
8038         * text3.C:
8039         * factory.C: handle new space insets
8040
8041 2003-05-22  André Pönitz  <poenitz@gmx.net>
8042
8043         * BufferView.C:
8044         * BufferView_pimpl.C:
8045         * buffer.[Ch]:
8046         * lyxfunc.C:
8047         * undo_funcs.C: return a ParIterator from getParFromID.
8048
8049         * iterators.[Ch]: add two const's
8050
8051 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8052
8053         * toc.C (getTocList): adjust
8054
8055         * iterators.[Ch]: rework for parlist
8056
8057         * buffer.C (par_iterator_begin): adjust
8058         (par_iterator_end): adjust
8059
8060         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8061
8062         * BufferView.C (removeAutoInsets): adjust
8063         (ChangeInsets): adjust
8064
8065 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8066
8067         * text.C (top_y): fix bug 1110
8068
8069 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8070
8071         * errorlist.[Ch]: added
8072         * buffer.C:
8073         * BufferView.[Ch]:
8074         * BufferView_pimpl.C:
8075         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8076         instead
8077
8078 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8079
8080         * Makefile.am: ensure that lyx is relinked upon changes to the
8081         various "convenience" libs.
8082
8083 2003-05-20  Angus Leeming  <leeming@lyx.org>
8084
8085         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8086         files are compiled in alphabetical order again.
8087
8088         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8089
8090 2003-05-19  Angus Leeming  <leeming@lyx.org>
8091
8092         * gettext.[Ch]: remove "char const * _(char const *)".
8093
8094 2003-05-19  André Pönitz  <poenitz@gmx.net>
8095
8096         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8097
8098         * Makefile.am:
8099         * BufferView.C:
8100         * DepTable.h:
8101         * LaTeXFeatures.C:
8102         * buffer.C:
8103         * lyxfont.C:
8104         * lyxlex.h:
8105         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8106
8107 2003-05-19  André Pönitz  <poenitz@gmx.net>
8108
8109         * buffer.C:
8110         * lyxlayout.[Ch]:
8111         * lyxtextclass.[Ch]:
8112         * paragraph.C:
8113         * paragraph_funcs.[Ch]:
8114         * text2.C:
8115         * text3.C: more insetenv work
8116
8117 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8118
8119         * ParagraphParameters.C (params2string): small bug fixed
8120
8121 2003-05-16  André Pönitz  <poenitz@gmx.net>
8122
8123         * debug.C:
8124         * bufferview_funcs.C: patch from Kornel Benko to prevent
8125           crash when _(...) is called twice in a statement
8126
8127 2003-05-16  André Pönitz  <poenitz@gmx.net>
8128
8129         * BufferView.C:
8130         * lyxfunc.C:
8131         * text.C:
8132         * text2.C:
8133         * text3.C:
8134         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8135
8136 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8137
8138         * lyx_main.C (init): remove spurious static_cast
8139
8140 2003-05-14  André Pönitz  <poenitz@gmx.net>
8141
8142         * BufferView.C: fix format string
8143
8144 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8145
8146         * BufferView.[Ch] (insertErrors): removed
8147         * BufferView.[Ch] (showErrorList): added
8148         * buffer.C (runChkTeX):
8149         * converter.C (scanLog): call showErrorList instead of inserterrors
8150
8151 2003-05-13  André Pönitz  <poenitz@gmx.net>
8152
8153         * BufferView_pimpl.C:
8154         * buffer.C:
8155         * bufferview_func.C:
8156         * MenuBackend.C:
8157         * lyxfunc.C:
8158         * lyxrc.C:
8159         * tex-accent.C:
8160         * text3.C:
8161         * toc.C:
8162         * tabular_funcs.h: tostr() from its own header
8163
8164         * ParagraphParameters.C:
8165         * ToolbarBackend.C:
8166         * bufferparams.C:
8167         * format.C:
8168         * lyxlex_pimpl.C:
8169         * text3.C: STRCONV()
8170
8171 2003-05-12  André Pönitz  <poenitz@gmx.net>
8172
8173         * BufferView.C:
8174         * BufferView_pimpl.C:
8175         * CutAndPaste.C:
8176         * LaTeX.C:
8177         * LaTeXFeatures.C:
8178         * ParagraphParameters.C:
8179         * buffer.C:
8180         * bufferlist.C:
8181         * bufferparams.C:
8182         * bufferview_funcs.C:
8183         * converter.C:
8184         * counters.C:
8185         * debug.C:
8186         * exporter.C:
8187         * format.C:
8188         * importer.C:
8189         * lyx_cb.C:
8190         * lyx_main.C:
8191         * lyxfont.C:
8192         * lyxfunc.C:
8193         * lyxvc.C:
8194         * paragraph.C:
8195         * paragraph_funcs.C:
8196         * tabular.C:
8197         * tabular_funcs.C:
8198         * text2.C:
8199         * text3.C:  boost::format -> bformat  all over the place
8200
8201
8202 2003-05-09  André Pönitz  <poenitz@gmx.net>
8203
8204         * LColor.[Ch]: Pimpl the #include <map> away
8205
8206 2003-05-09  John Levon  <levon@movementarian.org>
8207
8208         * bufferlist.C: never remove emergency saves
8209
8210 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8211
8212         * Makefile.am: better lib building
8213
8214 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8215
8216         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8217         instead.
8218         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8219         (simpleTeXSpecialChars): adjust
8220         (simpleTeXSpecialChars): adjust
8221         * paragraph.C (simpleTeXOnePar): adjust
8222         * buffer.C (makeLaTeXFile): adjust
8223
8224         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8225
8226         * text2.C (changeDepth): parlist cleanup
8227         (getColumnNearX): ditto
8228
8229         * rowpainter.C (getLabelFont): parlist cleanup
8230
8231         * bufferlist.C (newFile): parlist cleanup
8232
8233         * CutAndPaste.C (eraseSelection): parlist cleanup
8234
8235         * BufferView_pimpl.C (trackChanges): parlist cleanup
8236         (dispatch): ditto
8237
8238         * BufferView.C (lockInset): parlist cleanup.
8239         (ChangeInsets): ditto
8240
8241 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8242
8243         * CutAndPaste.h: Update file header.
8244
8245         * CutAndPaste.C: Update file header.
8246         Store the parts cut out of the Document in a limited_stack.
8247         (copySelection): adjust
8248         (pasteSelection): new function, takes the index in the limited stack.
8249         (nrOfParagraphs): adjust
8250         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8251         simplify error inset insertion.
8252         (checkPastePossible): adjust
8253
8254 2003-05-06  John Levon  <levon@movementarian.org>
8255
8256         * text2.C: don't cast wrap inset to float
8257
8258 2003-05-05  André Pönitz  <poenitz@gmx.net>
8259
8260         * iterator.C:
8261         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8262
8263         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8264           few naked Paragraph *.
8265
8266 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8267
8268         * bufferparams.C: Output warning if a document with missing
8269         TeX document class is loaded
8270         * exporter.C: Disable TeX exports if the document class is missing
8271         * lyxtextclass.C:
8272         * lyxtextclass.h:
8273         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8274         isTeXClassAvailable()
8275
8276 2003-05-03  John Levon  <levon@movementarian.org>
8277
8278         * BufferView.h:
8279         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8280         explicit cursor show/hide
8281
8282         * BufferView_pimpl.h:
8283         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8284         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8285
8286         * lyxfunc.C: hide cursor before dispatching.
8287
8288         * lyx_cb.C:
8289         * lyxfind.C:
8290         * text.C:
8291         * text3.C: remove explicit cursor hides
8292
8293 2003-05-02  André Pönitz  <poenitz@gmx.net>
8294
8295         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8296
8297         * undo_funcs.C:
8298         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8299           linked lists
8300
8301         * text2.C: tiny whitespace
8302
8303 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8304
8305         * undo_funcs.C: almost only ws changes.
8306
8307         * ParagraphList.C (splice): just return if pl is empty.
8308
8309 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8310
8311         * ParagraphList.C (splice): new function.
8312
8313         * CutAndPaste.C (pasteSelection): use it
8314
8315 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8316
8317         * CutAndPaste.C (pasteSelection): remove the last next and
8318         previous from this file.
8319
8320 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8321
8322         * CutAndPaste.C (pasteSelection): more clean up, user proper
8323         ParagraphList functions for pasteing.
8324
8325         * ParagraphList.C (insert): new function, three arg insert
8326
8327 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8328
8329         * ParagraphList.C (insert): new function, three arg insert
8330
8331         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8332         not on paragraphs.
8333
8334 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8335
8336         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8337
8338 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8339
8340         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8341
8342 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8343
8344         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8345         (copySelection): clean up a bit.
8346         (pasteSelection): use make_pair
8347
8348         * ParagraphList.C (ParagraphList): implement copy constructor
8349         (operator=): implement, base on copy constructor.
8350         (assign): new func
8351
8352         * paragraph.C (erase): return a bool
8353
8354         * paragraph_pimpl.C (erasePos): remove function, move contents...
8355         (erase): ... here. Return a bool.
8356         (erase): call erase instead of erasePos.
8357
8358 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8359
8360         * ParagraphList.h: define PitPosPair
8361         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8362         ParagraphList, fix a bug on pasting multiple pars
8363         * text2.C: change interface to C&P
8364
8365 2003-04-30  André Pönitz  <poenitz@gmx.net>
8366
8367         * undo_func.C: revert part of yesterday's patch 2
8368
8369 2003-04-30  John Levon  <levon@movementarian.org>
8370
8371         * LColor.C: s/tabular/table/
8372
8373 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8374
8375         * text3.C (dispatch): do not convert iterator -> pointer
8376         * undo_funcs.C (setCursorParUndo): ditto
8377         * text_funcs.C (transposeChars): ditto
8378
8379         * text2.C (setLayout): ws changes only
8380
8381         * text.C (breakParagraph): do not convert iterator -> pointer
8382         (insertChar): ditto
8383         (acceptChange): ditto
8384         (rejectChange): ditto
8385         (changeCase): ditto
8386         (Delete): ditto
8387         (backspace): ditto
8388
8389         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8390         pointer
8391
8392 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8393
8394         * text3.C (gotoInset): YABG (yet another bad getChar)
8395
8396 2003-04-29  André Pönitz  <poenitz@gmx.net>
8397
8398         * paragraph.h: make operator= private unimplemented as long as
8399           it is unusable
8400
8401         * ParagraphList.C: whitespace
8402
8403         * paragraph.[Ch]:
8404         * paragraph_pimpl.[Ch]:
8405         * paragraph_funcs.C:
8406         * CutAndPaste.C:
8407         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8408
8409         * text2.C:
8410           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8411
8412 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8413
8414         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8415         * paragraph.[Ch] (erase):
8416         * paragraph_pimpl.[Ch] (erase): change return type and value
8417         * text2.C (cutSelection): some rework
8418
8419 2003-04-28  John Levon  <levon@movementarian.org>
8420
8421         * bufferlist.C: changes for unsaved changes dialog
8422
8423 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8424
8425         * bufferlist.C (newFile): set language (messages_) for new
8426         documents also.
8427
8428         * buffer.C (readFile): ws changes only.
8429
8430 2003-04-28  André Pönitz  <poenitz@gmx.net>
8431
8432         * undo_funcs.C:
8433         * lyxfunc.C:
8434         * buffer.[Ch]:
8435         * BufferView_pimpl.C:
8436         * BufferView.C: getParFromID related ParagraphList::iterator changes
8437
8438 2003-04-28  André Pönitz  <poenitz@gmx.net>
8439
8440         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8441           Changes
8442
8443 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8444
8445         * messages.C: remove one more localedir class variable.
8446
8447 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8448
8449         * messages.C (getLocaleDir): singleton generation function
8450         (Pimpl): use it.
8451         (Messages): add a default constructor.
8452
8453         * main.C (main): do not setup localedir here, do not call
8454         gettext_init.
8455
8456         * gettext.C (_): use it.
8457         (gettext_init): delete funciton
8458
8459 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8460
8461         * gettext.C (getLyXMessages): new singleton generating function.
8462
8463         * buffer.C (updateDocLang): adjust
8464
8465         * Makefile.am (messages.o): add target
8466         (main.o): remove target
8467
8468 2003-04-27  John Levon  <levon@movementarian.org>
8469
8470         * bufferlist.C:
8471         * lyx_cb.C:
8472         * lyxfunc.C:
8473         * lyxvc.C: specify cancel button in Alert::prompt
8474
8475 2003-04-26  John Levon  <levon@movementarian.org>
8476
8477         * text3.C:
8478         * lyxfunc.C:
8479         * lfuns.h:
8480         * LyXAction.C: add LFUN_INSET_SETTINGS
8481
8482         * lyxfunc.C: don't enable tabular-feature when there's
8483         just any locking inset
8484
8485 2003-04-26  John Levon  <levon@movementarian.org>
8486
8487         * bufferlist.C: re-add Cancel to buffer close question
8488
8489         * lyxfunc.C: fix import UI a bit
8490
8491 2003-04-25  John Levon  <levon@movementarian.org>
8492
8493         * gettext.C: remove the broken asserts for now
8494
8495 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8496
8497         * messages.C: make case where setlocale cannot comply work better.
8498
8499         * buffer.C (updateDocLang): new function
8500         (changeLanguage): use it
8501         (readFile): use it
8502
8503         * text2.C (setCounter): use B_ a bit.
8504
8505         * lyxlayout.C (Read): be sure to trim the label strings.
8506
8507         * messages.C (Messages): fix typo in comment
8508
8509         * buffer.C (readFile): set message_ after file is loaded.
8510         (makeDocBookFile): remove double return
8511         (changeLanguage): reset message_ upon language change.
8512         (B_): new func, use this to get translated buffer strings.
8513
8514         * main.C: add myself and Jean Marc as authors.
8515
8516 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8517
8518         * messages.[hC]: pimplify Messages, and three different pimpls to be
8519         used in different circumstances.
8520
8521         * gettext.[Ch]: change for use with new message code.
8522
8523 2003-04-24 André Pönitz <poenitz@gmx.net>
8524
8525         * factory.C: support for eqref
8526
8527 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8528
8529         * messages.[Ch]: add missing char
8530
8531         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8532
8533         * messages.[Ch]: New files
8534
8535 2003-04-18  John Levon  <levon@movementarian.org>
8536
8537         * BufferView.h:
8538         * BufferView.C:
8539         * BufferView_pimpl.C:
8540         * lfuns.h:
8541         * LyXAction.C:
8542         * lyxtext.h:
8543         * text2.C: remove layout-copy/paste (bug 778)
8544
8545 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8546
8547         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8548
8549 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8550
8551         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8552         if they succeed. Act accordingly.
8553
8554 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8555
8556         * text2.C (setCharFont): adjust
8557         (setCounter): adjust
8558         (insertStringAsLines): adjust
8559
8560         * text.C (leftMargin): adjust
8561         (setHeightOfRow): adjust
8562
8563         * rowpainter.C (paintFirst): adjust
8564         (paintLast): adjust
8565
8566         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8567         (outerHook): ditto
8568         (isFirstInSequence): ditto
8569         (getEndLabel): ditto
8570         (outerFont): adjust
8571
8572         * paragraph.C (getParLanguage): comment out some hard stuff.
8573
8574         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8575         (sgmlError): ditto
8576         (simpleDocBookOnePar): ditto
8577         (makeDocBookFile): use ParagraphList::iterator
8578
8579         * CutAndPaste.C (pasteSelection): adjust
8580
8581 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8582
8583         * text2.C (getFont): adjust
8584         (getLayoutFont): adjust
8585         (getLabelFont): adjust
8586
8587         * paragraph_funcs.C (TeXOnePar): adjust
8588
8589         * buffer.C (simpleLinuxDocOnePar): adjust
8590         (simpleDocBookOnePar): adjust
8591
8592         * CutAndPaste.C (pasteSelection): adjust
8593
8594         * BufferView.C (getEncoding): adjust
8595
8596         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8597
8598 2003-04-16  John Levon  <levon@movementarian.org>
8599
8600         * lyxfind.C: use parlist stuff for search/changes
8601
8602 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8603
8604         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8605
8606         * text2.C (deleteEmptyParagraphMechanism): adjust
8607
8608         * text2.[Ch] (ownerParagraph): delete func (both of them
8609
8610 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8611
8612         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8613
8614 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8615
8616         * ParagraphList.C: prepare for NO_NEXT
8617
8618 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * text2.C (getFont): adjust
8621         (getLayoutFont): adjust
8622         (getLabelFont): adjust
8623
8624         * paragraph.C (getFont): adjust
8625         (getLabelFont): adjust
8626         (getLayoutFont): adjust
8627
8628         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8629
8630 2003-04-15  John Levon  <levon@movementarian.org>
8631
8632         From Angus Leeming
8633
8634         * lyx_main.C: handle Include in .ui files
8635
8636 2003-04-15  John Levon  <levon@movementarian.org>
8637
8638         * MenuBackend.C: make the doc files length shorter
8639
8640         * ToolbarBackend.h:
8641         * ToolbarBackend.C: handle toolbar placement flags,
8642         Minibuffer
8643
8644 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8645
8646         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8647         adjust
8648
8649         * paragraph_funcs.C (TeXOnePar): adjust
8650
8651         * paragraph.C (getLabelFont): add outerfont arg, adjust
8652         (getLayoutFont): ditto
8653         (simpleTeXOnePar): adjust
8654
8655         * paragraph_pimpl.C (realizeFont): delete func
8656
8657 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8658
8659         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8660         row argument, constify cur argument.
8661
8662 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8663
8664         * text2.C (getFont): adjust
8665         (getLayoutFont): adjust
8666         (getLabelFont): adjust
8667
8668         * paragraph_funcs.C (TeXOnePar): adjust
8669         (outerFont): new func...
8670         (realizeFont): ...moved out from here, changed this to facilitate
8671         transition
8672
8673         * paragraph.C (getFont): take outerfont as arg, adjust
8674         (simpleTeXOnePar): add outerfont arg, adjust
8675
8676         * buffer.C (simpleLinuxDocOnePar): adjust
8677         (simpleDocBookOnePar): adjust
8678
8679         * CutAndPaste.C (pasteSelection): adjust
8680
8681         * BufferView.C (getEncoding): adjust
8682
8683 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8684
8685         * text2.C (setCharFont): adjust
8686         (setCounter): adjust
8687
8688         * text.C (leftMargin): adjust
8689         (setHeightOfRow): adjust
8690
8691         * rowpainter.C (paintFirst): adjust
8692         (paintLast): adjust
8693
8694         * paragraph_pimpl.C (realizeFont): adjust
8695
8696         * paragraph.C (isFirstInSequence): move from here...
8697         * paragraph_funcs.C (isFirstInSequence): ...to here
8698
8699         * paragraph.C (outerHook): move from here...
8700         * paragraph_funcs.C (outerHook): ...to here
8701
8702         * paragraph.C (depthHook): move from here...
8703         * paragraph_funcs.C (depthHook): ...to here
8704
8705         * paragraph.C (getEndLabel): move from here...
8706         * paragraph_funcs.C (getEndLabel): ...to here
8707
8708         * text2.C (realizeFont): move from here...
8709         * paragraph_funcs.C (realizeFont): ...to here
8710
8711 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8712
8713         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8714
8715 2003-04-14  Angus Leeming  <leeming@lyx.org>
8716
8717         * LColor.[Ch]: scrap LColor mathcursor.
8718
8719 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8720
8721         * lyxlex.[Ch] (text): delete function
8722         * trans.C (Load): adjust
8723         * paragraph_funcs.C (readParToken): adjust
8724
8725 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8726
8727         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8728         vector<char> instead of a char[].
8729
8730         * lyxlex_pimpl.C (getString): adjust
8731         (next): adjust
8732         (lex): use getString
8733         (eatLine): adjust
8734         (nextToken): adjust
8735
8736         * lyxlex.C (text): use pimpl_->getString()
8737         (getBool): ditto
8738         (findToken): ditto
8739
8740 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8741
8742         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8743         (makeFontEntriesLayoutSpecific): temp var for par.size()
8744         (setLayout): temp var for ownerParagraphs().end()
8745         (fullRebreak): temp var for rows().end()
8746         (selectionAsString): temp var for boost::next(startpit), realize
8747         that the while really is a regular for loop.
8748         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8749         setCursor in one place.
8750         (setParagraph): temp vr for ownerParagraphs().end()
8751         (updateCounters): make the while loop a for loop
8752         (cutSelection): temp var for ownerParagraphs().end()
8753         (updateInset): make the do {} while() a regular for loop
8754         (getCursorX): use temp vars
8755         (setCurrentFont): use temp vars
8756         (getColumnNearX): use temp vars
8757
8758 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8759
8760         * text.C (transformChar): use temp var for getChar
8761         (computeBidiTables): use temp var for row->par()
8762         (fill): move temp vars for row->par() and pit->layout() earlier in
8763         the function.
8764         (labelFill): use temp var for row->par()
8765         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8766         asc and desc, realize that pit never changes and that firstpit is
8767         just a duplicate and not needed. Exchange rit->par() with pit in a
8768         lot of places.
8769         (breakAgain): use a temp var for boost::next(rit)
8770         (breakAgainOneRow): ditto
8771         (breakParagraph): use a temp var for rows().begin()
8772         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8773         (cursorRightOneWord): use temp var for cursor.par() and
8774         cursor.pos(), remove usage of tmpcursor.
8775         (cursorLeftOneWord): use temp var for cursor.par() and
8776         cursor.pos() only set cur at end of function.
8777
8778 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8779
8780         * text.C, text2.C: exchange all usage of Paragraph::next with
8781         boost::next(ParagraphList::iterator)
8782
8783         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8784
8785         * text2.C (cursorTop): simplify implementation
8786         (cursorBottom): ditto
8787         (setParagraph): use ParagraphList::iterator
8788         (setCurrentFont): adjust
8789         (getColumnNearX): adjust
8790         (cursorRight): adjust
8791         (cursorLeft): remove usage of Paragraph::previous
8792         (cursorUpParagraph): ditto
8793         (deleteEmptyParagraphMechanism): slight cleanup
8794
8795         * text.C (isBoundary): take a Paragraph const & instead of a
8796         pointer as arg.
8797         (addressBreakPoint): ditto
8798         (leftMargin): remove usage of Paragraph::previous.
8799         (setHeightOfRow): ditto
8800         (cursorLeftOneWord): ditto
8801         (selectNextWordToSpellcheck): ditto
8802         (Delete): ditto
8803         (backspace): ditto
8804         (breakParagraph): remove one usage of Paragraph::next
8805         (redoParagraph): ditto
8806         (acceptChange): ditto
8807         (insertChar): adjust
8808         (rowBreakPoint): adjust
8809
8810         * bufferview_funcs.C (toggleAndShow): adjust
8811
8812 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8813
8814         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8815         methods to access it.
8816         * lyxtext.h:
8817         * text.C: Added updateRowPositions to compute all row positions.
8818         Make top_y and getRowNearY() to use the cached y position
8819
8820 2003-04-11  John Levon  <levon@movementarian.org>
8821
8822         * text.C (rowBreakPoint): reintroduce the labelEnd
8823         checks, code copied from the row fill stuff. Deep voodoo.
8824
8825         * text.C (fill): add a comment and debugging for the
8826         next poor soul.
8827
8828 2003-04-11  John Levon  <levon@movementarian.org>
8829
8830         * text.C: make sure fullrow insets get wrapped to the next line,
8831         even when they're in a manual label
8832
8833 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8834
8835         * text2.C (insertParagraph): make it take ParagraphList::iterator
8836         as arg.
8837         (setLayout): make it return ParagraphList::iterator
8838         (redoParagraphs): ditto
8839         (setCounter): ditto
8840         (checkParagraph): ditto
8841
8842         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8843
8844         * text2.C: adjust several funcs.
8845         (realizeFont): take a ParagraphList::iterator as arg.
8846         (getLayoutFont): ditto
8847         (getLabelFont): ditto
8848         (setCharFont): ditto
8849
8850         * text.C: adjust several funcs.
8851
8852 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8853
8854         * text.C (selectNextWordToSpellcheck): don't accidentally
8855         skip insets
8856
8857 2003-04-10  John Levon  <levon@movementarian.org>
8858
8859         * ToolbarBackend.C (getIcon): special handling for
8860         LFUN_MATH_DELIM
8861
8862 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8863
8864         * text2.C (cursorRight): a getChar assert fixed
8865
8866 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8867
8868         * text2.C (getFont): change to take a ParagraphList::iterator
8869         instead of Paragraph*
8870         Adjust several functions.
8871
8872         * text.C (transformChar): change to take a ParagraphList::iterator
8873         instead of Paragraph*
8874         (singleWidth): ditto
8875         Adjust several functions.
8876
8877         * rowpainter.C: adjust several functions
8878         * rowpainter.h:store a ParagraphList::iterator and not a
8879         Paragraph&.
8880
8881
8882 2003-04-09  John Levon  <levon@movementarian.org>
8883
8884         * lyxfunc.C:
8885         * lfuns.h:
8886         * LyXAction.h:
8887         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8888         and the "help" bits as well
8889
8890 2003-04-09  John Levon  <levon@movementarian.org>
8891
8892         * ToolbarBackend.h:
8893         * ToolbarBackend.C: allow multiple toolbars
8894
8895 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8896
8897         * undo_funcs.C (setCursorParUndo): adjust
8898
8899         * text_funcs.C (transposeChars): adjust
8900
8901         * text3.C (gotoNextInset): adjust
8902         (dispatch): adjust
8903
8904         * text2.C (setLayout): adjust
8905         (changeDepth): adjust
8906         (setFont): adjust
8907         (redoParagraphs): adjust
8908         (selectionAsString): adjust
8909         (setParagraph): adjust
8910         (insertInset): adjust
8911         (cutSelection): adjust
8912         (copySelection): adjust
8913         (pasteSelection): adjust
8914         (insertStringAsLines): adjust
8915         (updateInset): adjust
8916         (setCursor): change to take a ParagraphList::iterator parameter
8917         (setCursorIntern): change to take a ParagraphList::iterator parameter
8918         (setCurrentFont): adjust
8919         (cursorLeft): adjust
8920         (cursorRight): adjust
8921         (deleteEmptyParagraphMechanism): adjust
8922
8923         * text.C (breakParagraph): adjust
8924         (insertChar): adjust
8925         (acceptChange): adjust
8926         (rejectChange): adjust
8927         (selectNextWordToSpellcheck): adjust
8928         (changeCase): adjust
8929         (Delete): adjust
8930         (backspace): adjust
8931
8932         * lyxfind.C (SearchForward): adjust
8933         (SearchBackward): adjust
8934         (nextChange): adjust
8935
8936         * lyxcursor.C (par): adjust
8937
8938         * lyxcursor.h: store a ParagraphList::iterator instead of a
8939         Paragraph*
8940
8941         * lyx_cb.C (getPossibleLabel): adjust
8942
8943         * bufferview_funcs.C (toggleAndShow): adjust
8944
8945         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8946         (dispatch): adjust
8947
8948         * BufferView.C (removeAutoInsets): adjust
8949         (lockedInsetStoreUndo): adjust
8950
8951 2003-04-09  John Levon  <levon@movementarian.org>
8952
8953         * ToolbarBackend.C: try icon without argument
8954         if with argument fails
8955
8956 2003-04-08  John Levon  <levon@movementarian.org>
8957
8958         * ToolbarBackend.h:
8959         * ToolbarBackend.C: add getIcon(), handle tooltip,
8960         and change from "Icon" to "Item".
8961
8962 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8963
8964         * BufferView.C (lockInset): another bad getchar crunched
8965
8966 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8967
8968         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8969         again)
8970
8971 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8972
8973         * lyxfind.C (searchForward, searchBackwards): bug 782
8974
8975 2003-04-07  John Levon  <levon@movementarian.org>
8976
8977         * paragraph.C: remove dead comment
8978
8979         * text.C: remove troublesome depth-fiddling code
8980         in leftMargin() and rightMargin() (bug 1017)
8981
8982         * text.C: fix breaking of rows in nested lists
8983         (bug 1004)
8984
8985         * text2.C (updateCounters): fix up depth values
8986         (bug 1013)
8987
8988 2003-04-07  John Levon  <levon@movementarian.org>
8989
8990         * BufferView_pimpl.C: clear message when doc finishes resizing,
8991         and after a mouse event
8992
8993         * lyxfunc.C: clear message after exiting inset
8994
8995 2003-04-07  John Levon  <levon@movementarian.org>
8996
8997         * bufferview_funcs.C: show math status not outside
8998         status in the statusbar
8999
9000 2003-04-07  John Levon  <levon@movementarian.org>
9001
9002         * lyxfunc.C: note status changed after a depth change
9003
9004 2003-04-04  Angus Leeming  <leeming@lyx.org>
9005
9006         * LaTeX.h: move AuxInfo operator==, != out of line.
9007         Remove LaTeX virtual destructor; nothing derives from it.
9008         Move operator()() out of public area and rename it startscript().
9009         Change protected for private.
9010
9011 2003-04-04  Angus Leeming  <leeming@lyx.org>
9012
9013         * lyxfunc.C:
9014         * text2.C: remove unneeded #includes.
9015
9016 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9017
9018         * text2.C (dEPM): fix the heigth of the next row
9019
9020 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9021
9022         * text.C: squashed an invalid getChar requester + some ws changes
9023
9024 2003-04-03  John Levon  <levon@movementarian.org>
9025
9026         * bufferview_funcs.h:
9027         * bufferview_funcs.C:
9028         * lyxfunc.C:
9029         * lyxtext.h:
9030         * text2.C: make getStatus work for the env depth lfuns
9031
9032 2003-04-03  John Levon  <levon@movementarian.org>
9033
9034         * bufferview_funcs.h:
9035         * bufferview_funcs.C:
9036         * lyxfunc.C:
9037         * lyxtext.h:
9038         * text2.C: parlistize decDepth(), by merging it with incDepth()
9039
9040 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9041
9042         * lyxrow.h: store a ParagraphList::iterator instead of a
9043         Paragraph* and adjust other class functions to suit.
9044
9045         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9046         above.
9047
9048 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9049
9050         * text2.C (setCursor): do not anchor to cursor row for the time being
9051
9052 2003-04-02  John Levon  <levon@movementarian.org>
9053
9054         * LyXAction.C:
9055         * lfuns.h:
9056         * lyx_main.C:
9057         * lyxtext.h:
9058         * text.C:
9059         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9060
9061 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9062
9063         * paragraph.h: make ParagraphList and ParagraphList::iterator
9064         friends of Paragraph.
9065
9066         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9067
9068         * ParagraphList.C: Use the private next_ and previous_ from
9069         Paragraph.
9070
9071 2003-04-01  John Levon  <levon@movementarian.org>
9072
9073         * ToolbarBackend.h:
9074         * ToolbarBackend.C:
9075         * Makefile.am: rename, remove defaults gunk
9076
9077         * MenuBackend.h:
9078         * MenuBackend.C: remove defaults gunk
9079
9080         * Languages.h:
9081         * Languages.C: remove defaults gunk
9082
9083         * lyx_main.h:
9084         * lyx_main.C: error out if files couldn't be found.
9085
9086 2003-04-02  John Levon  <levon@movementarian.org>
9087
9088         * text2.C: make incDepth() use parlist
9089
9090 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9091
9092         * undo_funcs.C (firstUndoParagraph): adjust
9093
9094         * text3.C (gotoInset): adjust
9095         (dispatch): adjust, and rewrite loop.
9096
9097         * text2.C (init): adjust, and rewrite loop.
9098         (redoParagraphs): adjust
9099         (updateInset): adjust, and rewrite loop.
9100         (deleteEmptyParagraphMechanism): adjust
9101
9102         * tabular.C (LyXTabular): adjust
9103         (SetMultiColumn): adjust
9104         (TeXRow): adjust
9105
9106         * lyxtext.[Ch] (ownerParagraph): delete function
9107         (ownerParagraphs): new function returns a ParagraphList.
9108
9109         * BufferView.C (removeAutoInsets): adjust
9110         (insertErrors): adjust
9111         (setCursorFromRow): adjust
9112
9113 2003-04-01  Angus Leeming  <leeming@lyx.org>
9114
9115         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9116         in the frontends.
9117
9118 2003-04-02  John Levon  <levon@movementarian.org>
9119
9120         * lyxtext.h:
9121         * text.C:
9122         * Makefile.am:
9123         * text_funcs.h:
9124         * text_funcs.C: make transposeChars a free function
9125
9126         * lyxrow_funcs.C: remove wrong comment
9127
9128 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9129
9130         * lyxtext.h: adjust
9131         * rowpainter.C: adjust
9132         * text.C: adjust
9133         * text2.C: adjust
9134         * text3.C: adjust
9135
9136         * lyxrow_funcs. [Ch]: new files
9137
9138         * lyxrow.[Ch]: remove next and previous pointers
9139         (next,previous): remove accessor functions
9140         (isParEnd): move to lyxrow_funcs
9141         (lastPos): move to lyxrow_funcs
9142         (nextRowIsAllInset): move to lyxrow_funcs
9143         (lastPrintablePos): move to lyxrow_funcs
9144         (numberOfSeparators): move to lyxrow_funcs
9145         (numberOfHfills): move to lyxrow_funcs
9146         (numberOfLabelHfills): move to lyxrow_funcs
9147         (hfillExpansion): move to lyxrow_funcs
9148
9149         * lyxfunc.C: adjust
9150
9151         * bufferview_funcs.C (toggleAndShow): adjust
9152
9153         * RowList.h: Remove class RowList from file leave just a
9154         std::list<Row>.
9155
9156         * RowList.C: delete file
9157
9158         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9159         and lyxrow_funcs.h
9160
9161 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9162
9163         * text3.C (cursorPrevious): adjust
9164         (cursorNext): adjust
9165         (dispatch): adjust
9166
9167         * text2.C (redoHeightOfParagraph): adjust
9168         (redoDrawingOfParagraph): adjust
9169         (setCursor): adjust
9170
9171         * text.C (breakParagraph): adjust
9172         (insertChar): adjust
9173         (backspace): adjust
9174
9175         * rowpainter.C (RowPainter): adjust
9176         (leftMargin): simplify and adjust
9177         (most rowpainter functions): adjust.
9178
9179         * rowpainter.h: store the row as RowList::iterator not as Row*
9180
9181         * lyxcursor.C (row): taka RowList::iterator as arg
9182         (irow): ditto
9183
9184         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9185         of Row*.
9186
9187 2003-04-01  Angus Leeming  <leeming@lyx.org>
9188
9189         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9190         stuff like bool Bool.
9191
9192 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9193
9194         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9195         rewrite a loop
9196
9197 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9198
9199         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9200         RowList::iterator.
9201
9202         * lyxtext.h (rows): drop one version and leve a const variant that
9203         returns a RowList::iterator.
9204
9205 2003-03-31  Angus Leeming  <leeming@lyx.org>
9206
9207         * text.C (fill): ensure that the signature is the same as that in the
9208         header file.
9209
9210 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9211
9212         * text2.C (redoParagraphs): adjust
9213         (updateCounters): adjust
9214         (checkParagraph): adjust
9215         (getColumnNearX): adjust and reformat a bit.
9216
9217         * text.C (top_y): adjust
9218         (workWidth): adjust
9219         (leftMargin): adjust
9220         (prepareToPrint): adjust
9221         (getRow): adjust
9222         (getRowNearY): adjust
9223
9224         * lyxtext.h: make rowlist_ mutable.
9225
9226         * RowList.h: add const_iterator
9227         * RowList.C: adjust for RowList::const_iterator.
9228
9229         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9230         adjust.
9231
9232 2003-03-31  John Levon  <levon@movementarian.org>
9233
9234         * lyxrc.h:
9235         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9236
9237         * lyx_main.C: set default fonts from using lyx_gui funcs
9238
9239         * exporter.C: pdf_mode moved from lyxrc
9240
9241         * lyx_cb.C:
9242         * lyxfunc.C: changes from above
9243
9244 2003-03-31  John Levon  <levon@movementarian.org>
9245
9246         * lyx_main.C: fix to the last fix
9247
9248 2003-03-31  John Levon  <levon@movementarian.org>
9249
9250         * bufferlist.C: "Load original" -> "Load Original"
9251
9252         * converter.C:
9253         * exporter.C:
9254         * importer.C:
9255         * lyx_main.C:
9256         * format.C: more Alert cleanups
9257
9258 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9259
9260         * text2.C (removeParagraph): make it take a RowList::iterator as
9261         arg, adjust.
9262         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9263         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9264
9265         * text.C (anchor_row): make it take a RowList::iterator as arg,
9266         adjust.
9267         (computeBidiTables): make it take a const reference to Row instead
9268         of Row pointer, adjust.
9269         (leftMargin): make it take a RowList::iterator as arg, adjust.
9270         (rowBreakPoint): adjust
9271         (breakAgainOneRow): make it take a RowList::iterator as arg,
9272         adjust.
9273         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9274
9275         * bufferview_funcs.C (toggleAndShow): adjust
9276
9277 2003-03-30  John Levon  <levon@movementarian.org>
9278
9279         * Makefile.am:
9280         * BoostFormat.h:
9281         * boost-inst.C: moved to support
9282
9283         * several files: changes as a result
9284
9285 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9286
9287         * text2.C (LyXText): adjust.
9288         (init): adjust
9289         (removeRow): make it take a RowList::iterator as arg, adjust.
9290         (fullRebreak): adjust
9291         (deleteEmptyParagraphMechanism): adjust
9292         (clearPaint): adjust
9293         (postPaint): adjust
9294
9295         * text.C (top_y): adjust
9296         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9297         (breakAgain): make it take a RowList::iterator as arg, adjust.
9298         (breakParagraph): adjust
9299         (insertChar): adjust
9300         (backspace): adjust
9301
9302         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9303         need_break_row, and refresh_row.
9304
9305         * text3.C (dispatch): adjust
9306
9307         * text2.C (checkParagraph): adjust
9308         (setCursor): adjust
9309         (setCursorFromCoordinates): adjust
9310
9311         * text.C (top_y): adjust
9312         (workWidth): adjust
9313         (getRow): make it return a RowList::iterator, adjust
9314         (getRowNearY): make it return a RowList::iterator, adjust
9315
9316         * text2.C (init): adjust
9317         (insertRow): remove function
9318         (insertParagraph): adjust
9319         (redoParagraphs): adjust
9320         (fullRebreak): adjust
9321         (updateCounters): adjust
9322
9323         * text.C (top_y): rewrite to use RowList iterators.
9324         (top_y): adjust
9325         (setHeightOfRow): rewrite to sue RowList iterators.
9326         (appendParagraph): adjust
9327         (breakAgain): adjust
9328         (breakAgainOneRow): adjust
9329         (breakParagraph): adjust
9330         (getRow): adjust
9331         (getRowNearY): adjust, and remove commented code.
9332
9333         * lyxtext.h (firstRow): delete function
9334         (lastRow): delete function
9335         (rows): new function (const and non-const versions.)
9336         (insertRow): delete function
9337
9338         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9339
9340 2003-03-29  John Levon  <levon@movementarian.org>
9341
9342         * BufferView_pimpl.C: always update scrollbar top
9343         because pasting text when we're anchored could mean we
9344         miss an update altogether
9345
9346 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9347
9348         * text2.C (init): use rowlist_.end() and not 0.
9349         (insertRow): change to take a RowList::iterator as arg, adjust
9350         for this.
9351         (insertParagraph): change to take a RowList::iterator as arg,
9352         adjust for this.
9353         (redoParagraphs): remove some debug msgs.
9354
9355         * text.C (appendParagraph): change to take a RowList::iterator
9356         arg, adjust for this.
9357         (breakAgain): add an assert
9358         (breakAgainOneRow): ditto
9359
9360 2003-03-29  John Levon  <levon@movementarian.org>
9361
9362         * text2.C: do not clear selection after inc/decDepth
9363         (bug 550)
9364
9365 2003-03-29  John Levon  <levon@movementarian.org>
9366
9367         * BufferView.C:
9368         * buffer.C: fix broken strerrors according to Lars
9369
9370 2003-03-29  John Levon  <levon@movementarian.org>
9371
9372         * converters.C: more Alert cleanups
9373
9374 2003-03-29  John Levon  <levon@movementarian.org>
9375
9376         * bufferview_funcs.C: remove pointless Alert
9377
9378         * buffer.C: fix confusing error message when
9379         a template is chmoded 000
9380
9381 2003-03-29  John Levon  <levon@movementarian.org>
9382
9383         * BufferView.C:
9384         * BufferView.h:
9385         * BufferView_pimpl.C: Alert fixes
9386
9387         * Makefile.am:
9388         * tabular.C:
9389         * tabular-old.C: remove unused table compat reading
9390
9391 2003-03-29  John Levon  <levon@movementarian.org>
9392
9393         * BufferView.C:
9394         * buffer.C:
9395         * lyx_cb.h:
9396         * lyx_cb.C: more Alert cleanups
9397
9398         * lyxfunc.C: don't allow chktex if not latex document
9399
9400 2003-03-29  John Levon  <levon@movementarian.org>
9401
9402         * lyx_cb.C:
9403         * BufferView.C:
9404         * buffer.C: warnings pushed down from support/,
9405         kill err_alert
9406
9407 2003-03-29  John Levon  <levon@movementarian.org>
9408
9409         * lyxfunc.C: safety check for C-r (revert)
9410
9411 2003-03-29  John Levon  <levon@movementarian.org>
9412
9413         * bufferlist.h:
9414         * bufferlist.C: several UI fixes using Alert::prompt.
9415         Fix the pointless looping quit code. Fix stupid revert
9416         behaviour (bug 938)
9417
9418         * lyxvc.h:
9419         * lyxvc.C:
9420         * lyx_cb.C: use Alert::prompt
9421
9422         * lyx_main.C: remove a silly question
9423
9424         * lyxfunc.C: remove a couple of silly questions,
9425         use Alert::prompt
9426
9427 2003-03-28  John Levon  <levon@movementarian.org>
9428
9429         * text2.C: fix bug 974 (End on empty par)
9430
9431 2003-03-28  John Levon  <levon@movementarian.org>
9432
9433         * BufferView_pimpl.C:
9434         * LyXAction.C:
9435         * lfuns.h: remove do-nothing math greek lfuns
9436
9437 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9438
9439         * lyxgluelength.h (isValidGlueLength): add default arg on
9440         parameter 2. Remove default arg from friend in class.
9441
9442         * lyxlength.h (isValidLength): add default arg on parameter 2.
9443         Remove default arg from friend in class.
9444
9445         * text2.C (LyXText): adjust, initialize refresh_row.
9446         (init): adjust
9447         (removeRow): adjust
9448         (insertRow): adjust
9449         (insertParagraph): adjst
9450         (redoParagraphs): adjust
9451         (fullRebreak): adjust
9452         (updateCounters): adjust
9453         (deleteEmptyParagraphMechanism): first attempt at fixing a
9454         crashing bug.
9455
9456         * text.C (top_y): adjust
9457         (setHeightOfRow): adjust
9458         (getRow): adjust
9459         (getRowNearY): adjust
9460
9461         * lyxtext.h: include RowList.h
9462         (~LyXText): not needed anymore, deleted.
9463         (firstRow): modify for RowList
9464         (lastRow): new function
9465         Delete firstrow and lastrow class variables, add a Rowlist
9466         rowlist_ class variable.
9467
9468         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9469         paragraph is empty.
9470
9471         * RowList.C (insert): fix case where it == begin().
9472
9473 2003-03-26  Angus Leeming  <leeming@lyx.org>
9474
9475         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9476         the thesaurus dialog.
9477
9478 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9479
9480         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9481
9482         * RowList.[Ch]: new files
9483
9484         * ParagraphList.C (erase): handle the case where it == begin
9485         correctly.
9486
9487 2003-03-25  John Levon  <levon@movementarian.org>
9488
9489         * Makefile.am:
9490         * aspell_local.h:
9491         * aspell.C: add new aspell support
9492
9493         * lyxrc.h:
9494         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9495         have it accessible.
9496
9497 2003-03-25  Angus Leeming  <leeming@lyx.org>
9498
9499         * lfuns.h:
9500         * LyXAction.C (init): new LFUN_INSET_INSERT.
9501
9502         * BufferView_pimpl.C (dispatch): split out part of the
9503         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9504
9505         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9506         LFUN_INSET_APPLY.
9507
9508 2003-03-25  Angus Leeming  <leeming@lyx.org>
9509
9510         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9511
9512 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9513
9514         * text2.C:
9515         * text3.C: remove useless row->height(0)
9516
9517 2003-03-25  John Levon  <levon@movementarian.org>
9518
9519         * lyxtext.h:
9520         * text2.C:
9521         * text3.C: rename the refreshing stuff to better names
9522
9523 2003-03-24  John Levon  <levon@movementarian.org>
9524
9525         * BufferView_pimpl.h:
9526         * BufferView_pimpl.C: update layout choice on a mouse
9527         press/release
9528
9529 2003-03-23  John Levon  <levon@movementarian.org>
9530
9531         * Makefile.am: fix commandtags.h reference
9532
9533 2003-03-22  John Levon  <levon@movementarian.org>
9534
9535         * BufferView_pimpl.C:
9536         * lyxtext.h:
9537         * rowpainter.C:
9538         * rowpainter.h:
9539         * text.C:
9540         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9541
9542 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9543
9544         * lyxtext.h:
9545         * text.C: take the rtl methods out of line
9546
9547 2003-03-21 André Pönitz <poenitz@gmx.net>
9548
9549         * metricsinfo.[Ch]: new files containing structures to be passed around
9550         during the two-phase-drawing...
9551
9552 2003-03-21 André Pönitz <poenitz@gmx.net>
9553
9554         * lyxtextclass.C: read 'environment' tag.
9555
9556 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9557
9558         * text2.C (removeRow): fix bug 964
9559
9560 2003-03-20  John Levon  <levon@movementarian.org>
9561
9562         * rowpainter.C:
9563         * text.C:
9564         * text2.C: paint cleanups. Inset::update() dropped font
9565         parameter
9566
9567 2003-03-19  John Levon  <levon@movementarian.org>
9568
9569         * lyxfunc.C: only fitcursor/markDirty if available()
9570
9571 2003-03-19  John Levon  <levon@movementarian.org>
9572
9573         * commandtags.h: rename to ...
9574
9575         * lfuns.h: ... this, and renumber / cleanup
9576
9577 2003-03-19  John Levon  <levon@movementarian.org>
9578
9579         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9580         fit the cursor after an lfun
9581
9582         * BufferView.h:
9583         * BufferView.C:
9584         * BufferView_pimpl.h:
9585         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9586
9587         * LyXAction.C: layout-character should have ReadOnly
9588
9589         * ParagraphParameters.C:
9590         * buffer.C:
9591         * bufferview_funcs.C:
9592         * lyx_cb.C:
9593         * lyxfind.C:
9594         * lyxtext.h:
9595         * text.C:
9596         * text2.C:
9597         * text3.C:
9598         * undo_funcs.C: changes from above
9599
9600 2003-03-18  John Levon  <levon@movementarian.org>
9601
9602         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9603         remove it from update()
9604
9605         * lyxfunc.C: update layout choice after an lfun
9606
9607         * text3.C: remove extra updateLayoutChoice()s
9608
9609 2003-03-18  John Levon  <levon@movementarian.org>
9610
9611         * text.C: top_y change means full repaint, fix
9612         a drawing bug with cursor movement
9613
9614 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9615
9616         * lyxtext.h:
9617         * text.C:
9618         * text2.C: anchor row on setCursor
9619
9620 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9621
9622         * lyxtext.h: remove almost all mutable keywords
9623         * text.C:
9624         * text2.C:
9625         * text3.C: remove const keywords accordingly
9626
9627 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9628
9629         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9630         anon namespace
9631         (TeXEnvironment): ditto
9632         (TeXOnePar): ditto
9633
9634 2003-03-17  John Levon  <levon@movementarian.org>
9635
9636         * text.C (rowBreakPoint): remove attempt to fix displayed
9637         math insets inside a manual label
9638
9639 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9640
9641         * lyxtext.h: remove BufferView* as first arg from almost all class
9642         functions.
9643         * other files: adjust.
9644
9645 2003-03-17  John Levon  <levon@movementarian.org>
9646
9647         * lyxtext.h:
9648         * undo_funcs.C:
9649         * text2.C: more paint cleanups
9650
9651         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9652
9653         * rowpainter.h:
9654         * rowpainter.C: remove "smart" background painting code
9655
9656 2003-03-16  John Levon  <levon@movementarian.org>
9657
9658         * lyxtext.h:
9659         * text.C:
9660         * text2.C:
9661         * text3.C: add helper functions for setting refresh_row/y
9662
9663 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9664
9665         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9666         newline inset which *can* get inserted in the pass_thru layouts.
9667         This is primarily for literate documents.
9668
9669 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9670
9671         * buffer.C: increment LYX_FORMAT to 223
9672
9673 2003-03-14 André Pönitz <poenitz@gmx.net>
9674
9675         * textclass.h: prepare for environment handling, ws changes
9676         * lyxlayout.C: read latexheader and latexfooter tags
9677
9678 2003-03-14  John Levon  <levon@movementarian.org>
9679
9680         * text2.C: rewrite ::status() a bit
9681
9682 2003-03-13  John Levon  <levon@movementarian.org>
9683
9684         * lyxtext.h: add some docs
9685
9686 2003-03-13  John Levon  <levon@movementarian.org>
9687
9688         * lyxtext.h:
9689         * text.C:
9690         * text2.C:
9691         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9692
9693 2003-03-13  John Levon  <levon@movementarian.org>
9694
9695         * text3.C: fix appendix redrawing
9696
9697 2003-03-13  John Levon  <levon@movementarian.org>
9698
9699         * text.C (setHeightOfRow):
9700         * rowpainter.h:
9701         * rowpainter.C: make appendix mark have the text
9702           "Appendix" so the user knows what it is
9703
9704         * LColor.h:
9705         * LColor.C: s/appendixline/appendix/ from above
9706
9707 2003-03-13  John Levon  <levon@movementarian.org>
9708
9709         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9710
9711         * text.C: fix a getChar(pos) bug properly
9712
9713 2003-03-13  Angus Leeming  <leeming@lyx.org>
9714
9715         * commandtags.h:
9716         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9717         Probably only temporary. Let's see how things pan out.
9718
9719         * BufferView.C (unlockInset):
9720         * BufferView_pimpl.C (fitCursor):
9721         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9722
9723         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9724         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9725
9726         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9727         new functions that convert ParagraphParameters to and from a string.
9728
9729         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9730         BufferView::Pimpl's dispatch.
9731         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9732
9733 2003-03-13 André Pönitz <poenitz@gmx.net>
9734
9735         * lyxfunc.C:
9736         * text3.C:
9737         * factory.C: make it aware of InsetEnv
9738
9739 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9740
9741         * text2.C (setCursor): never ask for one past last
9742         (setCursor): add some debugging messages.
9743
9744         * text.C (singleWidth): never ask for one past last
9745         (singleWidth): ditto
9746         (leftMargin): ditto
9747         (rightMargin): ditto
9748         (rowBreakPoint): ditto
9749         (setHeightOfRow): ditto
9750         (prepareToPrint): ditto
9751
9752         * rowpainter.C (paintBackground): never ask for one past last
9753         (paintText): never ask for one past last
9754
9755         * paragraph_pimpl.C (getChar): make the assert stricter, never
9756         allow the one past last pos to be taken
9757
9758         * paragraph.C (getChar): ws changes only
9759
9760         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9761         (numberOfSeparators): ditto
9762         (numberOfHfills): ditto
9763
9764 2003-03-12  John Levon  <levon@movementarian.org>
9765
9766         * author.h:
9767         * author.C:
9768         * bufferparams.h:
9769         * bufferparams.C:
9770         * paragraph_funcs.C: fix per-buffer authorlists
9771
9772 2003-03-12  John Levon  <levon@movementarian.org>
9773
9774         * text.C: fix newline in right address
9775
9776 2003-03-12  Angus Leeming  <leeming@lyx.org>
9777
9778         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9779         duplicate those in LyXFunc::dispatch.
9780
9781         * commandtags.h:
9782         * LyXAction.C:
9783         * ToolbarDefaults.C:
9784         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9785         Add LFUN_FONTFREE_UPDATE.
9786
9787         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9788         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9789
9790         * bufferview_func.[Ch]: several new functions to facilliate
9791         transfer of data to and from the character dialog.
9792
9793 2003-03-12  John Levon  <levon@movementarian.org>
9794
9795         * buffer.C:
9796         * paragraph.h:
9797         * paragraph.C:
9798         * paragraph_funcs.C:
9799         * paragraph_pimpl.C:
9800         * sgml.C:
9801         * tabular.C:
9802         * text.C:
9803         * text3.C: remove META_NEWLINE in favour of an inset
9804
9805         * rowpainter.h:
9806         * rowpainter.C: remove paintNewline (done by inset)
9807
9808 2003-03-12  John Levon  <levon@movementarian.org>
9809
9810         * paragraph_pimpl.C: complain about bad getChar()s
9811         for a while at least
9812
9813 2003-03-12  John Levon  <levon@movementarian.org>
9814
9815         * buffer.h:
9816         * buffer.C: move paragraph read into a separate function,
9817         a little renaming to reflect that.
9818
9819         * bufferparams.h:
9820         * bufferparams.C: remove the author_ids map, not necessary now
9821
9822         * factory.h:
9823         * factory.C: moved Buffer::readInset to here
9824
9825         * paragraph_funcs.h:
9826         * paragraph_funcs.C: readParagraph free function moved from
9827         buffer.C
9828
9829         * tabular.C: name change
9830
9831 2003-03-12  John Levon  <levon@movementarian.org>
9832
9833         * buffer.C:
9834         * ParagraphParameters.C: move par params input to
9835         a read() method
9836
9837         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9838         behave like a normal read from the stream wrt reading
9839         a line vs. a \\token
9840
9841 2003-03-12  John Levon  <levon@movementarian.org>
9842
9843         * paragraph.C:
9844         * ParagraphParameters.h:
9845         * ParagraphParameters.C: move output code to a
9846         ::write() method
9847
9848 2003-03-12  John Levon  <levon@movementarian.org>
9849
9850         * BufferView.C (insertLyXFile):
9851         * buffer.h:
9852         * buffer.C:
9853         * tabular.C: use a parlist iterator for creating the
9854           document.
9855
9856 2003-03-12  John Levon  <levon@movementarian.org>
9857
9858         * buffer.C: make current_change static local not
9859           static file-scope
9860
9861 2003-03-12  John Levon  <levon@movementarian.org>
9862
9863         * buffer.C: fix insertStringAsLines for change tracking
9864
9865 2003-03-12  John Levon  <levon@movementarian.org>
9866
9867         * BufferView.C:
9868         * tabular.C:
9869         * buffer.h:
9870         * buffer.C:
9871         * bufferparams.h:
9872         * bufferparams.C: move author list into params. Rename some
9873           functions. Move the header reading into a separate token
9874           loop. Move the header token reading into BufferParams.
9875
9876 2003-03-12  John Levon  <levon@movementarian.org>
9877
9878         * changes.C: put debug inside lyxerr.debugging() checks
9879
9880 2003-03-11 André Pönitz <poenitz@gmx.net>
9881
9882         * factory.C: make it aware of InsetHFill
9883
9884 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9885
9886         * buffer.C (latexParagraphs): move function from here...
9887         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9888         args.
9889
9890 2003-03-10  Angus Leeming  <leeming@lyx.org>
9891
9892         * LyXAction.C (init): fix bug in poplating array with multiple entries
9893         with the same LFUN (spotted by JMarc).
9894
9895 2003-03-10  John Levon  <levon@movementarian.org>
9896
9897         * text.C:
9898         * text2.C: move getColumnNearX() near its
9899         only call site
9900
9901 2003-03-10  John Levon  <levon@movementarian.org>
9902
9903         * text.C: fix break before a minipage
9904
9905 2003-03-10  John Levon  <levon@movementarian.org>
9906
9907         * text.C: fix the last commit
9908
9909 2003-03-09  John Levon  <levon@movementarian.org>
9910
9911         * lyxtext.h:
9912         * text.C:
9913         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9914         bug 365 (don't break before insets unless needed). Don't
9915         return a value > last under any circumstances.
9916
9917 2003-03-09  Angus Leeming  <leeming@lyx.org>
9918
9919         * BufferView_pimpl.C (trackChanges, dispatch): call
9920         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9921
9922 2003-03-09  Angus Leeming  <leeming@lyx.org>
9923
9924         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9925         than Dialogs::showAboutlyx().
9926
9927 2003-03-09  Angus Leeming  <leeming@lyx.org>
9928
9929         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9930         than Dialogs::showTabularCreate().
9931
9932 2003-03-09  John Levon  <levon@movementarian.org>
9933
9934         * lyxtext.h:
9935         * text.C:
9936         * text2.C: 3rd arg to nextBreakPoint was always the same.
9937           Use references.
9938
9939 2003-03-08  John Levon  <levon@movementarian.org>
9940
9941         * lyxrow.C:
9942         * paragraph.C:
9943         * paragraph.h:
9944         * rowpainter.C:
9945         * text.C:
9946         * text2.C: Remove the "main" bit from the "main body"
9947           notion.
9948
9949 2003-03-08  John Levon  <levon@movementarian.org>
9950
9951         * text.C (leftMargin): The left margin of an empty
9952         manual label paragraph should not include the label width
9953         string length.
9954
9955         * text.C (prepareToPrint): don't attempt to measure hfills
9956         for empty manual label paragraphs - the answer should be 0
9957
9958 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9959
9960         * CutAndPaste.C: remove commented code and reindent.
9961
9962 2003-03-08  John Levon  <levon@movementarian.org>
9963
9964         * lyxfunc.h:
9965         * lyxfunc.C: move reloadBuffer()
9966
9967         * BufferView.h:
9968         * BufferView.C: to here
9969
9970         * lyxvc.C: add comment
9971
9972         * vc-backend.h:
9973         * vc-backend.C: call bv->reload() to avoid
9974           getStatus() check on MENURELOAD
9975
9976 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9977
9978         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9979         to an old format .dep file.
9980
9981 2003-03-07  Angus Leeming  <leeming@lyx.org>
9982
9983         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9984         when the LFUN_MOUSE_RELEASE should have been handled by
9985         inset->localDispatch.
9986
9987 2003-03-07  Angus Leeming  <leeming@lyx.org>
9988
9989         * BufferView_pimpl.C (dispatch):
9990         * LyXAction.C (init):
9991         * ToolbarDefaults.C (init):
9992         * commandtags.h:
9993         * lyxfunc.C (getStatus):
9994         remove LFUN_INSET_GRAPHICS.
9995
9996         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9997
9998 2003-03-07  Angus Leeming  <leeming@lyx.org>
9999
10000         * commandtags.h:
10001         * LyXAction.C (init):
10002         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10003
10004         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10005
10006         * commandtags.h:
10007         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10008
10009         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10010         localDispatch method LFUN_INSET_DIALOG_UPDATE.
10011
10012 2003-03-07  Angus Leeming  <leeming@lyx.org>
10013
10014         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10015         remove "ert".
10016
10017 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10018
10019         * ParagraphList.C (front): new function
10020         (back): implement
10021
10022 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10023
10024         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10025         and top_row_offset_. removed var first_y.
10026         * text.C (top_y):
10027         * text2.C (LyXText, removeRow):
10028         * text3.C:
10029         * BufferView_pimpl.C:
10030         use these methods instead of using first_y
10031
10032 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10033
10034         * text2.C (pasteSelection): adjust for checkPastePossible
10035
10036         * CutAndPaste.C: remove Paragraph * buf and replace with
10037         ParagraphList paragraphs.
10038         (DeleteBuffer): delete
10039         (cutSelection): change the tc type to textclass_type
10040         (copySelection): change the tc type to textclass_type
10041         (copySelection): adjust for ParagraphList
10042         (pasteSelection): change the tc type to textclass_type
10043         (pasteSelection): adjust for Paragraphlist
10044         (nrOfParagraphs): simplify for ParagraphList
10045         (checkPastePossible): simplify for ParagraphList
10046         (checkPastePossible): remove unused arg
10047
10048         * ParagraphList.C (insert): handle the case where there are no
10049         paragraphs yet.
10050
10051         * CutAndPaste.h: make CutAndPaste a namespace.
10052
10053         * text3.C (dispatch): adjust
10054
10055         * text.C (breakParagraph): add a ParagraphList as arg
10056
10057         * paragraph_funcs.C (breakParagraph): change to take a
10058         BufferParams and a ParagraphList as args.
10059         (breakParagraphConservative): ditto
10060         (mergeParagraph): ditto
10061         (TeXDeeper): add a ParagraphList arg
10062         (TeXEnvironment): ditto
10063         (TeXOnePar): ditto
10064
10065         * buffer.C (readLyXformat2): adjust
10066         (insertStringAsLines): adjust
10067         (latexParagraphs): adjust
10068
10069         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10070         (cutSelection): adjust
10071         (pasteSelection): adjust
10072
10073         * BufferView_pimpl.C (insertInset): adjust
10074
10075 2003-03-05  Angus Leeming  <leeming@lyx.org>
10076
10077         * commandtags.h:
10078         * LyXAction.C (init):
10079         * BufferView_pimpl.C (dispatch):
10080         * lyxfunc.C (getStatus):
10081         remove LFUN_CHILD_INSERT.
10082
10083         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10084
10085 2003-03-05  Angus Leeming  <leeming@lyx.org>
10086
10087         * commandtags.h:
10088         * LyXAction.C (init):
10089         * src/factory.C (createInset):
10090         * lyxfunc.C (getStatus):
10091         * text3.C (dispatch):
10092         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10093
10094         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10095
10096 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10097
10098         * ParagraphList.C (insert): handle insert right before end()
10099         (erase): fix cases where it can be first or last paragraph.
10100
10101 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10102
10103         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10104         Paragraph::next and Paragraph::previous
10105         (TeXOnePar): ditto
10106
10107         * text.C (breakParagraph): adjust
10108
10109         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10110         BufferParams& as arg.
10111         (breakParagraph): use ParagraphList::insert
10112         (breakParagraphConservative): take a Buffer* instead of a
10113         BufferParams& as arg.
10114         (breakParagraphConservative): use ParagraphList::insert.
10115
10116         * buffer.C (insertStringAsLines): un-const it
10117         (insertStringAsLines): adjust
10118
10119         * ParagraphList.C (insert): new function
10120
10121         * CutAndPaste.C (pasteSelection): adjust
10122
10123         * text.C (backspace): adjust
10124
10125         * tabular.C (SetMultiColumn): adjust
10126
10127         * CutAndPaste.C (cutSelection): adjust
10128         (pasteSelection): adjust
10129
10130         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10131         Buffer const * as arg
10132
10133         * ParagraphList.C (erase): new function
10134         * paragraph_funcs.C (mergeParagraph): use it
10135         (mergeParagraph): make it take a Buffer* instead of a
10136         BufferParams* as arg
10137
10138         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10139         as arg
10140         (breakParagraphConservative): ditto
10141
10142         * paragraph.h: remove the breakParagraph friend
10143
10144         * paragraph.C (eraseIntern): new function
10145         (setChange): new function
10146
10147         * paragraph_funcs.C (mergeParagraph): make it take a
10148         ParagraphList::iterator instead of a Paragraph *, adjust
10149         accordingly.
10150
10151         * paragraph.h: move an #endif so that the change tracking stuff
10152         also works in the NO_NEXT case.
10153
10154 2003-03-04  Angus Leeming  <leeming@lyx.org>
10155
10156         * commandtags.h:
10157         * LyXAction.C: new LFUN_INSET_MODIFY.
10158
10159         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10160         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10161
10162 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10163
10164         * several files: ws changes only
10165
10166         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10167         (TeXEnvironment): ditto
10168         (TeXDeeper): ditto
10169
10170         * buffer.C (makeLaTeXFile): adjust
10171         (latexParagraphs): make it take ParagraphList::iterator as args
10172
10173 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10174
10175         * buffer.C (latexParagraphs): adjust
10176
10177         * paragraph.C (TeXOnePar): move function...
10178         (optArgInset): move function...
10179         (TeXEnvironment): move function...
10180         * paragraph_pimpl.C (TeXDeeper): move function...
10181         * paragraph_funcs.C: ...here
10182
10183         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10184
10185 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10186
10187         * buffer.C (readInset): remove compability code for old Figure and
10188         InsetInfo insets
10189
10190 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10191
10192         * buffer.C: ws changes
10193         (readInset):
10194
10195         * BufferView_pimpl.C: ditto
10196         * author.C: ditto
10197         * buffer.h: ditto
10198         * bufferlist.h: ditto
10199         * changes.h: ditto
10200         * lyxfunc.C: ditto
10201
10202 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10203
10204         * converter.[Ch]: split into itself +
10205         * graph.[Ch]
10206         * format.[Ch]
10207         * Makefile.am: += graph.[Ch] + format.[Ch]
10208         * MenuBackend.C
10209         * buffer.C
10210         * exporter.C
10211         * importer.C
10212         * lyx_main.C
10213         * lyxfunc.C
10214         * lyxrc.C: added #include "format.h"
10215
10216 2003-02-27  Angus Leeming  <leeming@lyx.org>
10217
10218         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10219           a label.
10220
10221         * factory.C (createInset): add "label" to the factory.
10222
10223         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10224           string and do no more.
10225
10226 2003-02-27  Angus Leeming  <leeming@lyx.org>
10227
10228         * commandtags.h:
10229         * LyXAction.C (init):
10230         * factory.C (createInset):
10231         * BufferView_pimpl.C (dispatch):
10232           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10233
10234         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10235
10236         * lyxfunc.C (dispatch):
10237         * text3.C (dispatch): pass name to params2string.
10238
10239 2003-02-26  Angus Leeming  <leeming@lyx.org>
10240
10241         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10242           blocks together.
10243           Rearrange the ~includes. Strip out the unnecessary ones.
10244
10245         * factory.C (createInset): reformat.
10246           create new insets for the various LFUN_XYZ_APPLY lfuns.
10247
10248 2003-02-26  John Levon  <levon@movementarian.org>
10249
10250         * lyxrow.h:
10251         * lyxrow.C: add isParStart,isParEnd helpers
10252
10253         * paragraph.h: make isInserted/DeletedText take refs
10254
10255         * paragraph_funcs.h:
10256         * paragraph_funcs.C: remove #if 0'd code
10257
10258         * lyxtext.h:
10259         * text3.C:
10260         * text2.C:
10261         * text.C: use lyxrow helpers above.
10262           Move draw and paint routines to RowPainter.
10263           Make several methods use refs not pointers.
10264           Make backgroundColor() const.
10265           Add markChangeInDraw(), isInInset().
10266           Merge changeRegionCase into changeCase.
10267           Make workWidth() shouldn't-happen code into an Assert.
10268
10269         * rowpainter.h:
10270         * rowpainter.C: new class for painting a row.
10271
10272         * vspace.h:
10273         * vspace.C: make inPixels take a ref
10274
10275 2003-02-26  Angus Leeming  <leeming@lyx.org>
10276
10277         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10278         LFUN_REF_APPLY.
10279
10280 2003-02-25  John Levon  <levon@movementarian.org>
10281
10282         * ispell.C: give the forked command a more accurate name
10283
10284 2003-02-22  John Levon  <levon@movementarian.org>
10285
10286         * toc.h:
10287         * toc.C: make TocItem store an id not a Paragraph *
10288           (bug #913)
10289
10290 2003-02-21  Angus Leeming  <leeming@lyx.org>
10291
10292         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10293           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10294           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10295           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10296           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10297           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10298
10299         * BufferView_pimpl.C (dispatch):
10300         * LyXAction.C (init):
10301         * factory.C (createInset):
10302         * lyxfunc.C (getStatus, dispatch):
10303         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10304
10305 2003-02-21  Angus Leeming  <leeming@lyx.org>
10306
10307         * BufferView_pimpl.C (MenuInsertLyXFile):
10308         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10309         * lyxfunc.C (menuNew, open, doImport):
10310           no longer pass a LyXView & to fileDlg.
10311
10312 2003-02-21  Angus Leeming  <leeming@lyx.org>
10313
10314         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10315         * LyXAction.C: change, BIBKEY to BIBITEM.
10316         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10317         Change InsetBibKey to InsetBibitem.
10318         Change BIBKEY_CODE to BIBITEM_CODE.
10319         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10320         * factory.C: replace insetbib.h with insetbibitem.h.
10321         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10322         * paragraph.C: replace insetbib.h with insetbibitem.h.
10323         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10324         Change bibkey() to bibitem().
10325         * text.C: remove insetbib.h.
10326         * text2.C: replace insetbib.h with insetbibitem.h.
10327         change bibkey() to bibitem().
10328         * text3.C: remove insetbib.h.
10329         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10330
10331 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10332
10333         * lyxrc.C (output): enclose user email in quotes (in case there are
10334         several words)
10335
10336 2003-02-18  John Levon  <levon@movementarian.org>
10337
10338         * buffer.h: add std::
10339
10340 2003-02-17  John Levon  <levon@movementarian.org>
10341
10342         * SpellBase.h:
10343         * ispell.h:
10344         * ispell.C:
10345         * pspell.h:
10346         * pspell.C: reworking. Especially in ispell, a large
10347           number of clean ups and bug fixes.
10348
10349         * lyxfunc.C: fix revert to behave sensibly
10350
10351 2003-02-17 André Pönitz <poenitz@gmx.net>
10352
10353         * LyXAction.C:
10354         * commandtags.h: new LFUN_INSERT_BIBKEY
10355
10356         * layout.h:
10357         * lyxlayout.C:
10358         * buffer.C:
10359         * factory.C:
10360         * text.C:
10361         * text2.C:
10362         * text3.C:
10363         * paragraph.[Ch]:
10364         * paragraph_func.C: remove special bibkey handling
10365
10366 2003-02-17  John Levon  <levon@movementarian.org>
10367
10368         * text.C (Delete): fix case where delete at the end of
10369           the very first paragraph would not merge the pars
10370
10371 2003-02-17  John Levon  <levon@movementarian.org>
10372
10373         * lyxrow.C: fix lastPrintablePos()
10374
10375 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10376
10377         * bufferparams.C (writeLaTeX): add a std:here
10378
10379         * buffer.C: and remove a using directive there
10380
10381 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10382
10383         * buffer.C (makeLaTeXFile): move the code that generates the
10384           preamble...
10385
10386         * bufferparams.C (writeLaTeX): ... in this new method
10387
10388         * LaTeXFeatures.C (getEncodingSet): make const
10389           (getLanguages): make const
10390
10391         * MenuBackend.C (binding): returns the binding associated to this
10392           action
10393           (add): sets the status of each item by calling getStatus. Adds
10394           some intelligence.
10395           (read): add support for OptSubMenu
10396           (expand): remove extra separator at the end of expanded menu
10397
10398 2003-02-15  John Levon  <levon@movementarian.org>
10399
10400         * BufferView.C:
10401         * BufferView_pimpl.C:
10402         * bufferlist.h:
10403         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10404           inset code that had no actual effect. Remove unneeded status
10405           code.
10406
10407 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10408
10409         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10410           in preamble
10411
10412 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10413
10414         * text.C (drawLengthMarker): also draw an arrow marker for
10415           symbolic lengths (medskip...)
10416
10417 2003-02-14  John Levon  <levon@movementarian.org>
10418
10419         * tabular.h:
10420         * tabular.C: better method names
10421
10422 2003-02-14  John Levon  <levon@movementarian.org>
10423
10424         * BufferView_pimpl.C:
10425         * bufferlist.C:
10426         * buffer.C:
10427         * converter.C:
10428         * lyx_cb.C:
10429         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10430           it's a more accurate name. Remove some pointless uses.
10431
10432 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10433
10434         * text2.C (LyXText): change order of initilizers to shut off
10435           warnings
10436
10437 2003-02-14  John Levon  <levon@movementarian.org>
10438
10439         * buffer.C: use ParIterator for getParFromID()
10440
10441         * paragraph.h:
10442         * paragraph.C:
10443         * paragraph_pimpl.h:
10444         * paragraph_pimpl.C: remove unused getParFromID()
10445
10446 2003-02-14  John Levon  <levon@movementarian.org>
10447
10448         * buffer.C: remove some very old #if 0'd parse code
10449
10450 2003-02-13  John Levon  <levon@movementarian.org>
10451
10452         * text.h:
10453         * text.C:
10454         * text2.C: move hfillExpansion(), numberOfSeparators(),
10455           rowLast(), rowLastPrintable(), numberofHfills(),
10456           numberOfLabelHfills() ...
10457
10458         * lyxrow.h:
10459         * lyxrow.C: ... to member functions here.
10460
10461         * paragraph.h:
10462         * paragraph.C:
10463         * lyxtext.h:
10464         * text.C: remove LyXText::beginningOfMainBody(), and call
10465           p->beginningOfMainBody() directly. Move the check for
10466           LABEL_MANUAL into the latter.
10467
10468         * text.h:
10469         * text.C:
10470         * text2.C:
10471         * vspace.C:
10472         * BufferView.h:
10473         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10474
10475         * text.h:
10476         * text.C:
10477         * text2.C:
10478         * text3.C:
10479         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10480           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10481
10482 2003-02-13  John Levon  <levon@movementarian.org>
10483
10484         * CutAndPaste.C: remove debug
10485
10486 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10487
10488         * paragraph.C (asString): remove two unused variables
10489
10490         * lyxtextclass.C (readTitleType):
10491           (Read):
10492           (LyXTextClass): handle new members titletype_ and titlename_
10493
10494         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10495
10496 2003-02-09  John Levon  <levon@movementarian.org>
10497
10498         * buffer.h:
10499         * buffer.C: replace hand-coded list with a map for the dep clean
10500
10501 2003-02-08  John Levon  <levon@movementarian.org>
10502
10503         * LaTeX.C: consolidate code into showRunMessage() helper
10504
10505 2003-02-08  John Levon  <levon@movementarian.org>
10506
10507         * lyxfind.C:
10508         * lyxtext.h:
10509         * text2.C:
10510         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10511           and pass the size in explicitly
10512
10513         * BufferView_pimpl.h:
10514         * BufferView_pimpl.C:
10515         * BufferView.h:
10516         * BufferView.C: add getCurrentChange()
10517
10518         * BufferView_pimpl.h:
10519         * BufferView_pimpl.C: handle change lfuns
10520
10521         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10522           for changes. Mark pasted paragraphs as new.
10523
10524         * support/lyxtime.h:
10525         * support/lyxtime.C:
10526         * DepTable.C: abstract time_t as lyx::time_type
10527
10528         * LColor.h:
10529         * LColor.C: add colours for new text, deleted text, changebars
10530
10531         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10532           package use "usenames" option.
10533
10534         * commandtags.h:
10535         * lyxfunc.C:
10536         * LyXAction.C: add change lfuns
10537
10538         * Makefile.am:
10539         * author.h:
10540         * author.C: author handling
10541
10542         * buffer.h:
10543         * buffer.C: add a per-buffer author list, with first entry as
10544           current author. Handle new .lyx tokens for change tracking. Output
10545           author list to .lyx file. Output dvipost stuff to .tex preamble.
10546           Bump lyx format to 222.
10547
10548         * bufferlist.h:
10549         * bufferlist.C: add setCurrentAuthor() to reset current author details
10550           in all buffers.
10551
10552         * bufferparams.h:
10553         * bufferparams.C: add param for tracking
10554
10555         * bufferview_funcs.C: output change info in minibuffer
10556
10557         * Makefile.am:
10558         * changes.h:
10559         * changes.C: add change-tracking structure
10560
10561         * debug.h:
10562         * debug.C: add CHANGES debug flag
10563
10564         * lyxfind.h:
10565         * lyxfind.C: add code for finding the next change piece
10566
10567         * lyxrc.h:
10568         * lyxrc.C: add user_name and user_email
10569
10570         * lyxrow.h:
10571         * lyxrow.C: add a metric for the top of the text line
10572
10573         * lyxtext.h:
10574         * text.C: implement accept/rejectChange()
10575
10576         * lyxtext.h:
10577         * text.C: paint changebars. Paint new/deleted text in the chosen
10578         colours. Strike through deleted text.
10579
10580         * paragraph.h:
10581         * paragraph.C:
10582         * paragraph_pimpl.h:
10583         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10584           in the current change to the insert functions. Rework erase to
10585           mark text as deleted, adding an eraseIntern() and a range-based
10586           erase(). Implement per-paragraph change lookup and
10587           accept/reject.
10588
10589         * paragraph_funcs.C: Fixup paste for change tracking.
10590
10591         * tabular.C: mark added row/columns as new.
10592
10593         * text.C: fix rowLast() to never return -1. Don't allow
10594           spellchecking of deleted text. Track transpose changes. Don't
10595           allow paragraph break or merge where appropriate.
10596
10597         * text2.C: leave cursor at end of selection after a cut.
10598
10599 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10600
10601         * text.C (getLengthMarkerHeight):
10602         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10603         visible on screen too.
10604
10605 2003-02-07  John Levon  <levon@movementarian.org>
10606
10607         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10608
10609 2003-02-05  Angus Leeming  <leeming@lyx.org>
10610
10611         * lyxserver.C (read_ready): revert my patch of 11 September last year
10612         as it sends PC cpu through the roof. Presumably this means that
10613         the lyxserver will no longer run on an Alpha...
10614
10615 2003-01-30  Angus Leeming  <leeming@lyx.org>
10616
10617         * factory.C (createInset): create an InsetCommandParam of type "index"
10618         and use it to 'do the right thing'.
10619
10620         * text2.C (getStringToIndex): ensure that cursor position is always
10621         reset to the reset_cursor position.
10622
10623 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10624
10625         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10626         disabled.
10627
10628 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10629
10630         * bufferview.C:
10631         * lyxcb.C:
10632         * lyxfunc.C: Output messages with identical spelling, punctuation,
10633         and spaces
10634
10635 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10636
10637         * MenuBackend.C (expandFormats): List only viewable export formats
10638         in "View" menu
10639
10640         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10641         message
10642
10643         * lyxfunc.C (getStatus): Make sure that formats other than
10644         "fax" can also be disabled
10645
10646 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10647
10648         * text3.C (dispatch): put the lfuns that insert insets in 3
10649         groups, and call doInsertInset with appropriate arguments.
10650         (doInsertInset): new function, that creates an inset and inserts
10651         it according to some boolean parameters.
10652
10653 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10654
10655         * buffer.C (readFile): remember to pass on 'par' when calling
10656         readFile recursively.
10657
10658 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10659
10660         * MenuBackend.C (expandFormats): add "..." to import formats.
10661
10662 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10663
10664         * paragraph.C (asString): Remove XForms RTL hacks.
10665
10666 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10667         * buffer.C: fix typo
10668
10669 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10670
10671         * Makefile.am (LIBS): delete var
10672         (lyx_LDADD): add @LIBS@ here instead.
10673
10674 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10675
10676         * Clarify the meaning of "wheel mouse jump"
10677
10678 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10679
10680         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10681         tabular in a float
10682
10683 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10684
10685         * importer.C (Loaders): do not preallocate 3 elements in the
10686         vector, since one ends up with 6 elements otherwise
10687
10688 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10689
10690         * DepTable.C (write): write the file name as last element of the
10691         .dep file (because it may contain spaces)
10692         (read): read info in the right order
10693
10694 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10695
10696         * paragraph_pimpl.C (simpleTeXBlanks):
10697         (simpleTeXSpecialChars):
10698         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10699
10700         * tabular.C (latex): add some missing case statements. Reindent.
10701
10702         * MenuBackend.C (expandToc): remove unused variable.
10703
10704 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10705
10706         * LColor.C:
10707         * LaTeX.C:
10708         * LyXAction.C:
10709         * MenuBackend.C:
10710         * buffer.C:
10711         * exporter.C:
10712         * lyxfunc.C:
10713         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10714         and the like.
10715
10716 2003-01-05  John Levon  <levon@movementarian.org>
10717
10718         * BufferView.h:
10719         * BufferView.C: add getEncoding()
10720
10721         * kbsequence.h:
10722         * kbsequence.C: do not store last keypress
10723
10724         * lyxfunc.h:
10725         * lyxfunc.C: store last keypress here instead. Pass encoding
10726           to getISOEncoded()
10727
10728 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10729
10730         * lyx_main.C (init): remove annoying error message when following
10731         symbolic links (bug #780)
10732
10733 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10734
10735         * text.C (insertChar):
10736         * lyxrc.C (getDescription): remove extra spaces
10737
10738 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10739
10740         * lyxrc.C (getDescription): remove extra spaces
10741
10742 2002-12-20  John Levon  <levon@movementarian.org>
10743
10744         * text3.C: hack fix for page up/down across tall rows
10745
10746 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10747
10748         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10749         not been invoked
10750
10751 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10752
10753         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10754         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10755         thesaurus is not compiled in
10756
10757 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10758
10759         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10760
10761 2002-12-16  Angus Leeming  <leeming@lyx.org>
10762
10763         * lyxrc.[Ch]:
10764         * lyx_main.C (init): remove override_x_deadkeys stuff.
10765
10766 2002-12-12  John Levon  <levon@movementarian.org>
10767
10768         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10769           insert. Only remove shift modifier under strict
10770           circumstances.
10771
10772 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10773
10774         * MenuBackend.C (expandToc): fix crash.
10775
10776 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10777
10778         * MenuBackend.C (expandToc): gettext on float names.
10779
10780 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10781
10782         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10783         implement bool empty() [bug 490]
10784
10785 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10786
10787         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10788
10789 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10790
10791         * several files: ws changes
10792
10793 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10794
10795         * text2.C (setCounter): clean up a bit, use boost.format.
10796         (updateCounters): initialize par upon declaration.
10797
10798         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10799         if the layout exists. We do not just store the layout any more.
10800         (SwitchLayoutsBetweenClasses): use boost.format
10801
10802 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10803
10804         * converter.C (convert): if from and to files are the same, use a
10805         temporary files as intermediary
10806
10807 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10808
10809         * commandtags.h:
10810         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10811
10812 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10813
10814         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10815
10816 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10817
10818         * tabular.C (asciiPrintCell): use string(size, char) instead of
10819         explicit loop.
10820
10821         * sgml.C (openTag): fix order of arguments to string constructor
10822         (closeTag): ditto
10823
10824         * lyxfunc.C (dispatch): use boost.format
10825
10826         * lots of files: change "c" -> 'c'
10827
10828 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10829
10830         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10831
10832 2002-11-25  Angus Leeming  <leeming@lyx.org>
10833
10834         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10835
10836         * lyx_main.C (init): compile fix.
10837
10838 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10839
10840         * lyx_cb.C (start): boost.formatify
10841         do not include <iostream>
10842
10843         * lengthcommon.C: ws only
10844
10845         * boost-inst.C,BoostFormat.h: add more explict instantations
10846
10847 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10848
10849         * lots of files: handle USE_BOOST_FORMAT
10850
10851 2002-11-21  John Levon  <levon@movementarian.org>
10852
10853         * pspell.C: fix compile
10854
10855 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10856
10857         * lyxfunc.C (dispatch): use boost::format
10858         (open): ditto
10859         (doImport): ditto
10860
10861         * lyxfont.C (stateText): use boost::format
10862
10863         * lyx_main.C (LyX): use boost::format
10864         (init): ditto
10865         (queryUserLyXDir): ditto
10866         (readRcFile): ditto
10867         (parse_dbg): ditto
10868         (typedef boost::function): use the recommened syntax.
10869
10870         * importer.C (Import): use boost::format
10871
10872         * debug.C (showLevel): use boost::format
10873
10874         * converter.C (view): use boost::format
10875         (convert): ditto
10876         (move): ditto
10877         (scanLog): ditto
10878
10879         * bufferview_funcs.C (currentState): use boost::format
10880
10881         * bufferlist.C (emergencyWrite): use boost::format
10882
10883         * buffer.C (readLyXformat2): use boost::format
10884         (parseSingleLyXformat2Token): ditto
10885
10886         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10887
10888         * LaTeX.C (run): use boost::format
10889
10890         * Chktex.C (scanLogFile): use boost::format
10891
10892         * BufferView_pimpl.C (savePosition): use boost::format
10893         (restorePosition): ditto
10894         (MenuInsertLyXFile): ditto
10895
10896         * BoostFormat.h: help file for explicit instation.
10897
10898 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10899
10900         * tabular.C (latex): Support for block alignment in fixed width
10901         columns.
10902
10903 2002-11-17  John Levon  <levon@movementarian.org>
10904
10905         * BufferView_pimpl.C:
10906         * lyx_cb.C:
10907         * lyxfunc.C: split filedialog into open/save
10908
10909 2002-11-08  Juergen Vigna  <jug@sad.it>
10910
10911         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10912         by my last patch (hopefully).
10913
10914 2002-11-08  John Levon  <levon@movementarian.org>
10915
10916         * iterators.h:
10917         * iterators.C:
10918         * buffer.h:
10919         * buffer.C:
10920         * paragraph.h:
10921         * paragraph.C:
10922         * toc.h:
10923         * toc.C: ParConstIterator, and use it (from Lars)
10924
10925 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10926
10927         * lyxtextclass.[Ch]: revise and add doxygen comments
10928
10929 2002-11-07  John Levon  <levon@movementarian.org>
10930
10931         * text.C: fix progress value for spellchecker
10932
10933         * toc.C: fix navigate menu for insetwrap inside minipage
10934
10935         * paragraph_funcs.C: added FIXME for suspect code
10936
10937 2002-11-07  John Levon  <levon@movementarian.org>
10938
10939         * BufferView_pimpl.C: fix redrawing of insets
10940           on buffer switch
10941
10942 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10943
10944         * text2.C (updateCounters): fix bug 668
10945
10946 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10947
10948         * text3.C (dispatch): Do not make the buffer dirty when moving the
10949         cursor.
10950
10951 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10952
10953         * vc-backend.C: STRCONV
10954         (scanMaster): ditto
10955
10956         * text2.C (setCounter): STRCONV
10957
10958         * paragraph.C (asString): STRCONV
10959
10960         * lyxlength.C (asString): STRCONV
10961         (asLatexString): ditto
10962
10963         * lyxgluelength.C (asString): STRCONV
10964         (asLatexString): ditto
10965
10966         * lyxfunc.C (dispatch): STRCONV
10967         (open): ditto
10968
10969         * lyxfont.C (stateText): STRCONV
10970
10971         * importer.C (Import): STRCONV
10972
10973         * counters.C (labelItem): STRCONV
10974         (numberLabel): ditto
10975         (numberLabel): remove unused ostringstream o
10976
10977         * chset.C: STRCONV
10978         (loadFile): ditto
10979
10980         * bufferview_funcs.C (currentState): STRCONV
10981
10982         * buffer.C (readFile): STRCONV
10983         (asciiParagraph): ditto
10984         (makeLaTeXFile): ditto
10985
10986         * Spacing.C (writeEnvirBegin): STRCONV
10987
10988         * LaTeXFeatures.C (getLanguages): STRCONV
10989         (getPackages): ditto
10990         (getMacros): ditto
10991         (getBabelOptions): ditto
10992         (getTClassPreamble): ditto
10993         (getLyXSGMLEntities): ditto
10994         (getIncludedFiles): ditto
10995
10996         * LaTeX.C: STRCONV
10997         (run): ditto
10998         (scanAuxFile): ditto
10999         (deplog): ditto
11000
11001         * LString.h: add the STRCONV macros
11002
11003         * BufferView_pimpl.C (savePosition): STRCONV
11004         (restorePosition): ditto
11005         (MenuInsertLyXFile): ditto
11006
11007         * vc-backend.C (scanMaster): change from submatch[...] to
11008         submatch.str(...)
11009
11010         * funcrequest.C: include config.h
11011
11012         * factory.C: include config.h
11013
11014         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11015
11016         * box.C: include config.h
11017
11018         * LaTeX.C (scanAuxFile): change from submatch[...] to
11019         submatch.str(...)
11020         (deplog): ditto
11021
11022 2002-10-25  Angus Leeming  <leeming@lyx.org>
11023
11024         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11025
11026         * ispell.[Ch] (setError): new method.
11027         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11028         Use setError() insetead of goto END.
11029
11030         * lyx_cb.C (AutoSave): move out child process into new class
11031         AutoSaveBuffer.
11032
11033 2002-10-30  John Levon  <levon@movementarian.org>
11034
11035         * text3.C: make start appendix undoable
11036
11037 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11038
11039         * lyxlength.C (inPixels): Fix returned value.
11040
11041         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11042         environment.
11043
11044 2002-10-24  Angus Leeming  <leeming@lyx.org>
11045
11046         * lyxgluelength.h: no need to forward declare BufferParams
11047         or BufferView, so don't.
11048
11049 2002-10-21  John Levon  <levon@movementarian.org>
11050
11051         * BufferView.C: menuUndo ->undo, redo
11052
11053         * BufferView.h: document, remove dead, make some methods private
11054
11055         * paragraph_funcs.h:
11056         * paragraph_funcs.C:
11057         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11058
11059         * buffer.h:
11060         * buffer.C:
11061         * sgml.h:
11062         * sgml.C: move sgml open/close tag into sgml.C
11063
11064         * bufferview_funcs.h: unused prototype
11065
11066         * lyxfunc.h:
11067         * lyxfunc.C: remove unused
11068
11069         * lyxtext.h:
11070         * text.C: remove unused
11071
11072 2002-10-21  John Levon  <levon@movementarian.org>
11073
11074         * BufferView.h:
11075         * BufferView.C:
11076         * BufferView_pimpl.h:
11077         * BufferView_pimpl.C: fix mouse wheel handling based on
11078           patch from Darren Freeman
11079
11080 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11081
11082         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11083
11084 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11085
11086         * lyxlength.C (inPixels): Fix hanfling of negative length.
11087         Fix LyXLength::MU case.
11088
11089 2002-10-16  John Levon  <levon@movementarian.org>
11090
11091         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11092
11093 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11094
11095         * converter.C (view): add support for $$i (file name) and $$p
11096         (file path) for the viewer command. If $$i is not specified, then
11097         it is appended to the command (for compatibility with old syntax)
11098
11099 2002-10-14  Juergen Vigna  <jug@sad.it>
11100
11101         * undo_funcs.C (textHandleUndo): alter the order in which the
11102         new undopar is added to the LyXText, as we have to set first
11103         the right prev/next and then add it as otherwise the rebuild of
11104         LyXText is not correct. Also reset the cursor to the right paragraph,
11105         with this IMO we could remove the hack in "redoParagraphs()".
11106
11107 2002-10-09  Angus Leeming  <leeming@lyx.org>
11108
11109         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11110         to turn off an optimisation if a new inset is to be inserted.
11111
11112 2002-10-11 André Pönitz <poenitz@gmx.net>
11113
11114         * lyxtext.h: make some functions public to allow access
11115         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11116
11117 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11118
11119         * text3.C (dispatch): when changing layout, avoid an infinite loop
11120         [bug #652]
11121
11122 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11123
11124         * lyxrc.C (read): treat a viewer or converter command of "none" as
11125         if it were empty.
11126
11127         * MenuBackend.C (expandFormats): for an update, also allow the
11128         formats that are not viewable
11129
11130         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11131         script if it is newer than the lyxrc.defaults in user directory
11132
11133 2002-10-07 André Pönitz <poenitz@gmx.net>
11134
11135         * text.C: Vitaly Lipatov's small i18n fix
11136
11137 2002-09-25  Angus Leeming  <leeming@lyx.org>
11138
11139         * ispell.h: doxygen fix.
11140
11141 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11142
11143         * buffer.h (readFile): Add a new argument to the method, to allow
11144         reading of old-format templates.
11145
11146 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11147
11148         * toc.C (getTocList): Get TOC from InsetWrap.
11149
11150 2002-09-16  John Levon  <levon@movementarian.org>
11151
11152         * lyxfunc.C: check tabular for cut/copy too
11153
11154 2002-09-12  John Levon  <levon@movementarian.org>
11155
11156         * LyXAction.C: tidy
11157
11158         * factory.h:
11159         * factory.C: add header
11160
11161         * paragraph_funcs.h:
11162         * paragraph_funcs.C: cleanup
11163
11164 2002-09-11  John Levon  <levon@movementarian.org>
11165
11166         * PrinterParams.h: odd/even default to true
11167
11168 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11169
11170         * PrinterParams.h: update printer parameters for new xforms dialog
11171
11172 2002-09-11  Angus Leeming  <leeming@lyx.org>
11173
11174         * lyxserver.C (read_ready): re-write to make it more transparent
11175         and to make it work in coherent fashion under Tru64 Unix.
11176
11177 2002-09-11  André Pönitz <poenitz@gmx.net>
11178
11179         * commandtags.h:
11180         * LyXAction.C:
11181         * text3.C: implement LFUN_WORDSEL
11182
11183 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11184
11185         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11186         make floatlist_ a boost::shared_ptr<FloatList>
11187
11188         * lyxtextclass.C: include FloatList.h
11189         (LyXTextClass): initialize floatlist_
11190         (TextClassTags): add TC_NOFLOAT
11191         (Read): match "nofloat" to TC_NOFLOAT and use it.
11192         (readFloat): modify call to floatlist_
11193         (floats): ditto
11194         (floats): ditto
11195
11196         * FloatList.[Ch] (FloatList): remove commented out float
11197         initialization.
11198         (erase): new function
11199
11200 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11201
11202         * MenuBackend.C (expandToc): fix crash when there is no document
11203         open
11204
11205 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11206
11207         * many files: Add insetwrap.
11208
11209 2002-09-09  John Levon  <levon@movementarian.org>
11210
11211         * text2.C: remove confusing and awkward depth wraparound
11212
11213 2002-09-09  John Levon  <levon@movementarian.org>
11214
11215         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11216
11217         * buffer.h:
11218         * buffer.C: remove getIncludeonlyList()
11219
11220         * paragraph.C:
11221         * lyxfunc.C: remove headers
11222
11223 2002-09-09  Juergen Vigna  <jug@sad.it>
11224
11225         * text.C (getColumnNearX): fix form Michael this is most
11226         probably a cut&paste bug.
11227
11228 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11229
11230         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11231
11232         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11233         references, ws changes.
11234
11235         * text2.C (init): update counters after init
11236         (insertParagraph): no need to set counter on idividual paragraphs.
11237         (setCounter): access the counters object in the textclass object
11238         on in the buffer object.
11239         (updateCounters): ditto
11240
11241         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11242         shared_ptr<Counters> to avoid loading counters.h in all
11243         compilation units.
11244         (LyXTextClass): initialize ctrs_
11245         (TextClassTags): add TC_COUNTER, and ...
11246         (Read): use it here.
11247         (CounterTags): new tags
11248         (readCounter): new function
11249         (counters): new funtion
11250         (defaultLayoutName): return a const reference
11251
11252         * counters.C (Counters): remove contructor
11253         (newCounter): remove a couple of unneeded statements.
11254         (newCounter): simplify a bit.
11255         (numberLabel): some small formatting changes.
11256
11257         * buffer.[Ch]: remove all traces of counters, move the Counters
11258         object to the LyXTextClass.
11259
11260 2002-09-06  Alain Castera  <castera@in2p3.fr>
11261
11262         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11263         package to set the horizontal alignment on fixed width columns.
11264
11265         * lyx_sty.C:
11266         * lyx_sty.h: added tabularnewline macro def.
11267
11268         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11269
11270 2002-09-06  John Levon  <levon@movementarian.org>
11271
11272         * LyXAction.C: tooltips for sub/superscript
11273
11274         * MenuBackend.C: a bit more verbose
11275
11276         * lyxfunc.C: tiny clean
11277
11278         * undo_funcs.C: document undo_frozen
11279
11280 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11281
11282         * counters.C (Counters): add missing algorithm counter.
11283
11284         * text2.C (setCounter): lookup the counter with layouts latexname
11285         instead of by section number.
11286         (setCounter): use a hackish way to lookup the correct enum
11287         counter.
11288         a float name->type change
11289         reset enum couners with counter name directly instead of depth value.
11290
11291         * counters.C (Counters): remove the push_backs, change to use the
11292         float type not the float name.
11293         (labelItem): remove unused string, float name->type change
11294
11295         * counters.h: don't include vector, loose the enums and sects vectors
11296
11297 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11298
11299         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11300         (Read): add float->TC_FLOAT to textclassTags
11301         (Read): and handle it in the switch
11302         (readFloat): new function
11303
11304         * FloatList.C (FloatList): comment out the hardcoded float
11305         definitions.
11306
11307         * lyxlayout.h: ws change.
11308
11309 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11310
11311         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11312
11313 2002-09-03  Angus Leeming  <leeming@lyx.org>
11314
11315         * BufferView_pimpl.h: qualified name is not allowed in member
11316         declaration: WorkArea & Pimpl::workarea() const;
11317
11318         * factory.C: added using std::endl directive.
11319
11320         * text3.C: added using std::find and std::vector directives.
11321
11322 2002-08-29  André Pönitz <poenitz@gmx.net>
11323
11324         * lyxtext.h:
11325         * text2.C: remove unused member number_of_rows
11326
11327         * Makefile.am:
11328         * BufferView2.C: remove file, move contents to...
11329         * BufferView.C: ... here
11330
11331         * BufferView_pimpl.C:
11332         * factory.C: move more inset creation to factory
11333
11334         * vspace.C: avoid direct usage of LyXText, ws changes
11335
11336         * BufferView.[Ch]:
11337                 don't provide direct access to WorkArea, use two simple
11338                 acessors haveSelction() and workHeight() instead
11339
11340
11341 2002-08-29  John Levon  <levon@movementarian.org>
11342
11343         * BufferView_pimpl.C (dispatch): do not continue when
11344           no buffer
11345
11346 2002-08-28  André Pönitz <poenitz@gmx.net>
11347
11348         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11349
11350         * BufferView.h:
11351         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11352
11353 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11354
11355         * buffer.C: increment LYX_FORMAT to 221
11356
11357         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11358         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11359
11360         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11361
11362         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11363
11364 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11365
11366         * factory.C (createInset): use LyXTextClass::floats
11367
11368         * MenuBackend.C (expandFloatListInsert):
11369         (expandFloatInsert):
11370         (expandToc):
11371
11372         * text2.C (setCounter):
11373
11374         * LaTeXFeatures.C (useFloat):
11375         (getFloatDefinitions):
11376
11377         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11378
11379         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11380         floatlist_, with accessor floats().
11381
11382         * FloatList.h: remove global FloatList
11383
11384 2002-08-26  André Pönitz <poenitz@gmx.net>
11385
11386         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11387
11388         * BufferView.h:
11389         * BufferView2.C:
11390         * BufferView_pimpl.C:
11391         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11392
11393 2002-08-25  John Levon  <levon@movementarian.org>
11394
11395         * LyXAction.C: fix margin note description
11396
11397 2002-08-24  John Levon  <levon@movementarian.org>
11398
11399         * buffer.C:
11400         * bufferlist.C:
11401         * bufferview_funcs.C:
11402         * lyxfont.C:
11403         * undo_funcs.C: cleanups
11404
11405         * lyxfunc.C: disable CUT/COPY when no selection
11406
11407 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11408
11409         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11410         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11411
11412         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11413         Add backward compatibility to "mono", "gray" and "no".
11414
11415 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11416
11417         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11418         (and file_format >= 200).
11419
11420 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11421
11422         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11423
11424 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11425
11426         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11427
11428 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11429
11430         * BufferView_pimpl.C:
11431         * LyXAction.C:
11432         * buffer.C:
11433         * commandtags.h:
11434         * lyxfunc.C:
11435         * paragraph.[Ch]:
11436         * text2.C:
11437         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11438         inset and code to make it  work with the paragraph code. The inset
11439         can be anywhere in the paragraph, but will only do the expected
11440         thing in LaTeX if the layout file contains the parameter line
11441                         OptionalArgs    1
11442         (or more generally, a nonzero value) for that layout.
11443
11444 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11445
11446         * paragraph.h: remove the declaration of undefined counters class
11447         function.
11448
11449 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11450
11451         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11452         Dr. Richard Hawkins.
11453
11454 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11455
11456         * paragraph_funcs.h: remove some unneeded includes
11457
11458         * text.C (backspace): pasteParagraph now in global scipe
11459
11460         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11461         (pasteSelection): ditto
11462
11463         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11464         * paragraph_funcs.C (pasteParagraph): ... here
11465
11466 2002-08-20  André Pönitz <poenitz@gmx.net>
11467
11468         * commandtags.h: new LFUNs for swapping/copying table row/colums
11469
11470         * LyXAction.C:
11471         * lyxfunc.C: support for new lfuns
11472
11473 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11474
11475         * tabular.C:
11476         * buffer.[Ch]: remove NO_COMPABILITY stuff
11477
11478 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11479
11480         * boost.C (throw_exception): new file, with helper function for
11481         boost compiled without exceptions.
11482
11483         * paragraph.h:
11484         * lyxlength.C:
11485         * buffer.C:
11486         * ParameterStruct.h:
11487         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11488
11489         * bufferlist.C (emergencyWriteAll): use boost bind
11490
11491         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11492
11493         * text.C: include paragraph_funcs.h
11494         (breakParagraph): breakParagraph is now in global scope
11495
11496         * paragraph_funcs.[Ch]: new files
11497
11498         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11499         global scope
11500
11501         * buffer.C: include paragraph_funcs.h
11502         (insertStringAsLines): breakParagraph is now in global scope
11503
11504         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11505         paragraph_funcs.C
11506
11507         * CutAndPaste.C: include paragraph_funcs.h
11508         (cutSelection): breakParagraphConservative is now in global scope
11509         (pasteSelection): ditto
11510
11511         * buffer.h: declare oprator== and operator!= for
11512         Buffer::inset_iterator
11513
11514         * bufferlist.C (emergencyWrite): don't use fmt(...)
11515
11516         * text3.C: add using std::endl
11517
11518         * BufferView.C (moveCursorUpdate): remove default arg
11519
11520 2002-08-20  André Pönitz <poenitz@gmx.net>
11521
11522         * buffer.[Ch]: move inline functions to .C
11523
11524         * BufferView2.C:
11525         * BufferView_pimpl.C:
11526         * text.C:
11527         * buffer.[Ch]: use improved inset_iterator
11528
11529         * buffer.C:
11530         * paragraph.[Ch]: write one paragraph at a time
11531
11532 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11533
11534         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11535         style if style is not specified.
11536
11537 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11538
11539         * text2.C (setCounter): when searching for right label for a
11540         caption, make sure to recurse to parent insets (so that a caption
11541         in a minipage in a figure float works) (bug #568)
11542
11543 2002-08-20  André Pönitz <poenitz@gmx.net>
11544
11545         * text3.C: new file for LyXText::dispatch() and helpers
11546
11547         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11548
11549         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11550
11551 2002-08-19  André Pönitz <poenitz@gmx.net>
11552
11553         * lyxtext.h:
11554         * text.C: new LyXText::dispatch()
11555
11556         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11557
11558 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11559
11560         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11561
11562         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11563         Hebrew text.
11564
11565 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11566
11567         * Makefile.am: use $(variables) instead of @substitutions@
11568
11569 2002-08-15  André Pönitz <poenitz@gmx.net>
11570
11571         * lyxfunc.C:
11572         * BufferView_pimpl.C: streamlining mathed <-> outer world
11573         interaction
11574
11575         * commandtags.h:
11576         * LyXAction.C: remove unused LFUN_MATH
11577
11578 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11579
11580         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11581
11582 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11583
11584         * paragraph.C (Paragraph): reformat a bit
11585         (cutIntoMinibuffer): use builtin InsetList function instad of
11586         doing it manually.
11587         (getInset): ditto
11588
11589         * buffer.C: include boost/bind.hpp, add using std::for_each
11590         (writeFileAscii): use ParagraphList iterators
11591         (validate): use for_each for validate traversal of paragraphs
11592         (getBibkeyList): use ParagraphList iterators
11593         (resizeInsets): use for_each to resizeInsetsLyXText for all
11594         paragraphs.
11595         (getParFromID): use ParagraphList iterators
11596
11597         * BufferView2.C (lockInset): use paragraph list and iterators
11598
11599 2002-08-14  John Levon  <levon@movementarian.org>
11600
11601         * lyxserver.C: remove spurious xforms include
11602
11603 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11604
11605         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11606
11607 2002-08-13  André Pönitz <poenitz@gmx.net>
11608
11609         * LyXAction.[Ch]:
11610         * lyxfunc.C: further cleaning
11611
11612 2002-08-13  André Pönitz <poenitz@gmx.net>
11613
11614         * funcrequest.h: new constructor
11615
11616         * funcrequest.C: move stuff here from .h
11617
11618         * Makefile.am:
11619         * BufferView_pimpl.C:
11620         * LyXAction.C:
11621         * toc.C:
11622         * lyxfunc.C: subsequent changes
11623
11624         * lyxfunc.h: new view() member function
11625
11626         * lyxfunc.C: subsequent changes
11627
11628 2002-08-13  Angus Leeming  <leeming@lyx.org>
11629
11630         * BufferView2.C:
11631         * BufferView_pimpl.C:
11632         * buffer.C:
11633         * converter.C:
11634         * importer.C:
11635         * lyxfunc.C:
11636         * lyxvc.C:
11637         * toc.C:
11638         * vc-backend.C:
11639         changes due to the changed LyXView interface that now returns references
11640         to member variables not pointers.
11641
11642 2002-08-13  Angus Leeming  <leeming@lyx.org>
11643
11644         * WordLangTuple (word, lang_code): return references to strings,
11645         not strings.
11646
11647         * BufferView.h:
11648         * SpellBase.h:
11649         * lyxtext.h: forward-declare WordLangTuple.
11650
11651         * BufferView2.C:
11652         * ispell.C:
11653         * pspell.C:
11654         * text.C: #include "WordLangTuple.h".
11655
11656         * lyxtext.h:
11657         * text.C: (selectNextWordToSpellcheck): constify return type.
11658
11659 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11660
11661         * buffer.C:
11662         * buffer.h:
11663         * lyxtext.h:
11664         * paragraph.C:
11665         * paragraph_pimpl.h:
11666         * text.C:
11667         * text2.C:
11668         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11669         suggested by Angus.
11670         Made updateCounter always count from start of buffer, and removed
11671         second argument (par).
11672         Reverted floats number display to '#'. Perhaps I'll try again when the
11673         code base is sanitized a bit.
11674
11675 2002-08-12  Angus Leeming  <leeming@lyx.org>
11676
11677         * buffer.[Ch] (getLabelList): constify.
11678
11679 2002-08-07  André Pönitz <poenitz@gmx.net>
11680
11681         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11682
11683         * funcrequest.h: extension to keep mouse (x,y) position
11684
11685 2002-08-12  Juergen Vigna  <jug@sad.it>
11686
11687         * BufferView2.C (insertErrors): forbid undo when inserting error
11688         insets.
11689
11690         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11691
11692 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11693
11694         * ParagraphList.[Ch]: new files
11695
11696         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11697
11698         * BufferView2.C (lockInset): ParagraphList changes
11699         * toc.C: ditto
11700         * text2.C: ditto
11701         * bufferlist.C: ditto
11702         * buffer.h: ditto
11703         * buffer.C: ditto
11704
11705 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11706
11707         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11708         unused class variable counter_,
11709
11710         * paragraph.[Ch] (getFirstCounter): delete unused function
11711
11712         * counters.C: include LAssert.h
11713         (reset): add a new function with no arg, change other version to
11714         not have def. arg and to not allow empty arg.
11715
11716         * text2.C (setCounter): remove empty arg from call to Counters::reset
11717
11718 2002-08-11  John Levon  <levon@movementarian.org>
11719
11720         * Makefile.am: add WordLangTuple.h
11721
11722 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11723
11724         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11725         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11726
11727         * insets/insettext.C: InsetList changes
11728
11729         * graphics/GraphicsSupport.C (operator()): InsetList changes
11730
11731         * toc.C (getTocList): InsetList changes
11732
11733         * paragraph_pimpl.[Ch]: InsetList changes
11734
11735         * paragraph.[Ch]: InsetList changes
11736
11737         * buffer.C (inset_iterator): InsetList changes
11738         (setParagraph): ditto
11739         * buffer.h (inset_iterator): ditto
11740         * iterators.C (operator++): ditto
11741         * iterators.h: ditto
11742
11743         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11744
11745         * InsetList.[Ch]: new files, most InsetList handling moved out of
11746         paragraph.C.
11747
11748         * BufferView2.C (removeAutoInsets): InsetList changes
11749         (lockInset): ditto
11750         (ChangeInsets): ditto
11751
11752 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11753
11754         * paragraph_pimpl.h (empty): new function
11755
11756         * paragraph.[Ch] (empty): new function
11757
11758         * other files: use the new Paragraph::empty function
11759
11760 2002-08-09  John Levon  <levon@movementarian.org>
11761
11762         * lyxtext.h: remove unused refresh_height
11763
11764 2002-08-09  John Levon  <levon@movementarian.org>
11765
11766         * Makefile.am:
11767         * sgml.h:
11768         * sgml.C:
11769         * buffer.C:
11770         * paragraph.h:
11771         * paragraph.C: move sgml char escaping out of paragraph
11772
11773         * paragraph.h:
11774         * paragraph.C: remove id setter
11775
11776         * buffer.C:
11777         * paragraph.C:
11778         * paragraph_pimpl.C: remove dead tex_code_break_column
11779
11780         * bufferview_funcs.C: small cleanup
11781
11782         * lyxfunc.C: remove dead proto
11783
11784         * lyxtext.h: make some stuff private. Remove some dead stuff.
11785
11786         * lyxgluelength.C: make as[LyX]String() readable
11787
11788 2002-08-08  John Levon  <levon@movementarian.org>
11789
11790         * LyXAction.h:
11791         * LyXAction.C:
11792         * MenuBackend.C:
11793         * ToolbarDefaults.C:
11794         * lyxfunc.C:
11795         * lyxrc.C:
11796         * toc.C: lyxaction cleanup
11797
11798 2002-08-08  John Levon  <levon@movementarian.org>
11799
11800         * BufferView2.C: small cleanup
11801
11802         * lyxfind.h:
11803         * lyxfind.C: move unnecessary header into the .C
11804
11805 2002-08-08  John Levon  <levon@movementarian.org>
11806
11807         * funcrequest.h: just tedious nonsense
11808
11809         * lyx_main.h:
11810         * lyx_main.C: cleanups
11811
11812         * buffer.C:
11813         * vspace.C: remove dead header lyx_main.h
11814
11815 2002-08-07  Angus Leeming  <leeming@lyx.org>
11816
11817         * Paragraph.[Ch]:
11818         * paragraph_pimpl.h:
11819         Forward declare class Counters in paragraph.h by moving the ctrs member
11820         variable into Paragraph::Pimpl.
11821         (counters): new method, returning a reference to pimpl_->ctrs.
11822
11823         * text2.C: ensuing changes.
11824
11825 2002-08-07  John Levon  <levon@movementarian.org>
11826
11827         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11828
11829         * BufferView_pimpl.C: announce X selection on double/triple
11830           click
11831
11832         * lyx_main.C: use correct bool in batch dispatch
11833
11834         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11835
11836 2002-08-07  André Pönitz <poenitz@gmx.net>
11837
11838         * funcrequest.h: new class to wrap a kb_action and its argument
11839
11840         * BufferView.[Ch]:
11841         * BufferView_pimpl[Ch]:
11842         * LaTeX.C:
11843         * LyXAction.[Ch]:
11844         * lyxfunc.[Ch]:
11845         * lyxrc.C: subsequent changes
11846
11847
11848 2002-08-07  John Levon  <levon@movementarian.org>
11849
11850         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11851           document options change.
11852
11853 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11854
11855         * counters.[Ch]
11856         * text2.C
11857         * paragraph.[Ch]
11858         * makefile.am: move counters functionality over from
11859         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11860
11861 2002-08-06  John Levon  <levon@movementarian.org>
11862
11863         * WordLangTuple.h: new file for word + language code tuple
11864
11865         * SpellBase.h:
11866         * pspell.h:
11867         * pspell.C:
11868         * ispell.h:
11869         * ispell.C:
11870         * lyxtext.h:
11871         * text.C:
11872         * text2.C:
11873         * BufferView.h:
11874         * BufferView2.C: use WordLangTuple
11875
11876         * layout.h:
11877         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11878
11879 2002-08-06  John Levon  <levon@movementarian.org>
11880
11881         * lyx_main.C: fix cmdline batch handling
11882
11883 2002-08-06  André Pönitz <poenitz@gmx.net>
11884
11885         * lyxrc.C: set default for show_banner to true
11886
11887 2002-08-06  John Levon  <levon@movementarian.org>
11888
11889         * pspell.C: fix a crash, and allow new aspell to work
11890
11891 2002-08-06  John Levon  <levon@movementarian.org>
11892
11893         * lyxfunc.C:
11894         * kbmap.C: small cleanup
11895
11896         * vspace.h:
11897         * vspace.C: add const
11898
11899 2002-08-05  John Levon  <levon@movementarian.org>
11900
11901         * LyXAction.C: back to tabular-insert
11902
11903 2002-08-04  John Levon  <levon@movementarian.org>
11904
11905         * BufferView.h:
11906         * BufferView.C: cosmetic change
11907
11908         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11909
11910         * bufferlist.C:
11911         * buffer.h:
11912         * buffer.C:
11913         * lyxcb.h:
11914         * lyxcb.C:
11915         * lyxserver.C:
11916         * lyxvc.C:
11917         * vc-backend.C:
11918         * BufferView2.C: purge all "Lyx" not "LyX" strings
11919
11920         * lyxcursor.h:
11921         * lyxcursor.C: attempt to add some documentation
11922
11923         * lyxfunc.C:
11924         * commandtags.h:
11925         * LyXAction.C:
11926         * ToolbarDefaults.C:
11927         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11928           merge with LFUN_TABULAR_INSERT
11929
11930         * Makefile.am:
11931         * SpellBase.h:
11932         * ispell.h:
11933         * ispell.C:
11934         * pspell.h:
11935         * pspell.C: split up i/pspell implementations into separate
11936           files, many cleanups
11937
11938         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11939
11940         * text2.C: some cleanup
11941
11942         * lyxfunc.C: don't check for isp_command == "none" any more, it
11943           didn't make any sense
11944
11945 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11946
11947         * counters.[Ch]
11948         * text2.C
11949         * paragraph.[Ch]
11950         * makefile.am: move counters functionality over
11951         from text2.C/paragraph.[Ch] to counters.[Ch], and
11952         make proper C++.
11953 2002-08-02  John Levon  <levon@movementarian.org>
11954
11955         * buffer.C: s/lyxconvert/lyx2lyx/
11956
11957 2002-08-02  Angus Leeming  <leeming@lyx.org>
11958
11959         * lyxlex.C: revert John's change as it breaks reading of the user
11960         preamble.
11961
11962 2002-08-02  Angus Leeming  <leeming@lyx.org>
11963
11964         * importer.C (Import):
11965         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11966         changes due to LyXView::view() now returning a boost::shared_ptr.
11967
11968 2002-08-02  John Levon  <levon@movementarian.org>
11969
11970         * lyxlex.C: small cleanup
11971
11972 2002-08-02  John Levon  <levon@movementarian.org>
11973
11974         * text2.C (status): small cleanup, no logic change
11975
11976 2002-08-01  John Levon  <levon@movementarian.org>
11977
11978         * buffer.h:
11979         * buffer.C (writeFile): don't output alerts, caller
11980           handles this
11981
11982         * bufferlist.C:
11983         * lyx_cb.C: from above
11984
11985         * lyxfunc.C: allow to open non-existent files
11986
11987 2002-07-31  John Levon  <levon@movementarian.org>
11988
11989         * lyxserver.C: don't let incidental errors get
11990           in the way (errno)
11991
11992 2002-07-30  John Levon  <levon@movementarian.org>
11993
11994         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11995
11996 2002-07-30  John Levon  <levon@movementarian.org>
11997
11998         * lyxserver.h:
11999         * lyxserver.C: remove I/O callback too
12000
12001 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12002
12003         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12004         log.
12005
12006 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12007
12008         * many files: strip,frontStrip -> trim,ltrim,rtrim
12009
12010 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
12011
12012         * PrinterParams.h: remove extern containsOnly, and include
12013         support/lstrings.h instead.
12014
12015         * LaTeX.C (scanAuxFile): modify because of strip changes
12016         (deplog): ditto
12017         * buffer.C (makeLaTeXFile): ditto
12018         * bufferparams.C (writeFile): ditt
12019         * lyxfont.C (stateText): ditto
12020         * lyxserver.C (read_ready): ditto
12021         * vc-backend.C (scanMaster): ditto
12022
12023         * BufferView_pimpl.h: ws changes
12024
12025         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12026
12027 2002-07-26  André Pönitz <poenitz@gmx.net>
12028
12029         * kb_sequence.C: remove unnedred usings
12030
12031 2002-07-26  Juergen Vigna  <jug@sad.it>
12032
12033         * lyxfind.C (LyXReplace): we have to check better if the returned
12034         text is not of theLockingInset()->getLockingInset().
12035
12036 2002-07-25  Juergen Vigna  <jug@sad.it>
12037
12038         * lyxfind.C (LyXReplace): don't replace if we don't get the
12039         right LyXText.
12040
12041         * undo_funcs.C (createUndo): remove debugging code.
12042
12043 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12044
12045         * buffer.C (parseSingleLyXformat2Token): Use default placement
12046         when reading old floats.
12047
12048         * FloatList.C (FloatList): Change the default placement of figure
12049         and tables to "tbp".
12050
12051 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12052
12053         * MenuBackend.C: using std::max
12054
12055 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12056
12057         * MenuBackend.C (expandToc):
12058         (expandToc2): code moved from xforms menu frontend. It is now
12059         generic and TOCs are transparent to menu frontends.
12060
12061 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12062
12063         * toc.C (getTocList): protect against buf=0
12064
12065         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12066         Menu as first parameter. Now, this calls itself recursively to
12067         expand a whole tree (this will be useful for TOC handling)
12068         (expandFloatInsert): remove 'wide' version of floats
12069
12070         * MenuBackend.h (submenuname): returns the name of the submenu.
12071         (submenu): returns the submenu itself, provided it has been
12072         created by MenuBackend::expand
12073
12074 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12075
12076         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12077         insets which have noFontChange == true. (bug #172)
12078
12079 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12080
12081         * BufferView_pimpl.C: add connection objects and use them...
12082         (Pimpl): here.
12083
12084 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12085
12086         * MenuBackend.C (expandLastfiles):
12087         (expandDocuments):
12088         (expandFormats):
12089         (expandFloatListInsert):
12090         (expandFloatInsert):
12091         (expand): split expand in parts
12092
12093 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12094
12095         * lyx_gui.C: use lyx_gui::exit()
12096
12097 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12098
12099         * LyXAction.C: show the failing pseudo action
12100
12101 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12102
12103         * buffer.C (readFile): Run the lyxconvert script in order to read
12104         old files.
12105
12106 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12107
12108         * LyXAction.C:
12109         * commandtags.h:
12110         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12111
12112 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12113
12114         * LyXAction.C:
12115         * commandtags.h:
12116         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12117
12118 2002-07-22  Herbert Voss  <voss@lyx.org>
12119
12120         * lengthcommon.C:
12121         * lyxlength.[Ch]: add support for the vertical lengths
12122
12123 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12124
12125         * toc.[Ch]: std:: fixes
12126
12127 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12128
12129         * lyxrc.C: do not include lyx_main.h
12130
12131         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12132         for layouts
12133
12134         * lyxrc.C:
12135         * encoding.C:
12136         * bufferlist.C:
12137         * BufferView2.C: include "lyxlex.h"
12138
12139         * tabular.h:
12140         * bufferparams.h: do not #include "lyxlex.h"
12141
12142         * lyxtextclasslist.C (Add): remove method
12143         (classlist): renamed to classlist_
12144
12145         * paragraph_pimpl.C:
12146         * paragraph.C:
12147         * text2.C:
12148         * CutAndPaste.C:
12149         * bufferview_funcs.C:
12150         * bufferlist.C:
12151         * text.C:
12152         * LaTeXFeatures.C:
12153         * buffer.C:
12154         * toc.C (getTocList): use BufferParams::getLyXTextClass
12155
12156         * toc.C (getTocList): use InsetFloat::addToToc
12157
12158         * toc.[Ch]: new files, containing helper functions to handle table
12159         of contents
12160
12161         * lyxfunc.C (dispatch): no need to remove spaces around command
12162         given as a string
12163         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12164         first command of the sequence; it is not very clever, but I do not
12165         have a better idea, actually
12166
12167         * LyXAction.C (LookupFunc): make sure to remove space at the
12168         beginning and end of the command
12169
12170 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12171
12172         * MenuBackend.C (getMenubar): new method: return the menubar of
12173         this menu set
12174         (read): treat differently reading of menu and menubar (in
12175         particular, the menubar has no name now)
12176         (Menu::menubar): remove
12177
12178         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12179         saving is finished
12180
12181 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12182
12183         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12184         a bibitem inset in a RTL paragraph.
12185
12186 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12187
12188         * paragraph_pimpl.C: constify
12189
12190         * BufferView_pimpl.C:
12191         * LaTeX.C:
12192         * lyxfunc.C: fix dispatch in a nicer way
12193
12194 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12195
12196         * lyxfunc.C (dispatch):
12197         * BufferView_pimpl.C:
12198         * BufferView_pimpl.h:
12199         * BufferView.C:
12200         * BufferView.h: rename Dispatch() to dispatch()
12201
12202         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12203
12204         * lyxlayout.C (Read): honor DependsOn tag
12205
12206         * lyxlayout.[Ch] (depends_on): new method
12207
12208         * version.C.in: update lyx_docversion
12209
12210         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12211
12212         * paragraph.C (validate): remove from here...
12213         * paragraph_pimpl.C (validate): ... and move here
12214         (isTextAt): make it const
12215
12216         * buffer.C (getLists): ws cleanup
12217
12218 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12219
12220         * language.C (read): Use iso8859-1 encoding in latex_lang
12221         (this prevents LyX from crashing when using iso10646-1 encoding).
12222
12223 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12224
12225         * text2.C (toggleInset): if cursor is inside an inset, close the
12226         inset and leave cursor _after_ it
12227
12228 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12229
12230         * lyxfunc.C: move minibuffer completion handling out of here
12231
12232 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12233
12234         * BufferView_pimpl.C:
12235         * LaTeX.C: fix dispatch calls
12236
12237 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12238
12239         * text.C (drawChars): Fix Arabic text rendering.
12240
12241 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12242
12243         * LyXAction.C:
12244         * commandtags.h:
12245         * lyxfunc.C: remove message-push/pop
12246
12247         * lyxserver.C:
12248         * lyxfunc.h:
12249         * lyxfunc.C: rationalise some code by removing verboseDispatch
12250           in favour of a bool argument to dispatch()
12251
12252 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12253
12254         * lyx_main.C (init): make sure to read symlinks as absolute paths
12255
12256 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * lyxfunc.h:
12259         * lyxfunc.C: no need for commandshortcut to be a member
12260
12261 2002-07-15  André Pönitz <poenitz@gmx.net>
12262
12263         * converter.C: add support for $$s (scripts from lib/scripts dir)
12264         * lyx_main.C: white space
12265
12266 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12267
12268         * bufferlist.C:
12269         * lyxrc.h:
12270         * lyxrc.C: remove second exit confirmation
12271
12272 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * BufferView.h:
12275         * BufferView.C:
12276         * BufferView2.C:
12277         * BufferView_pimpl.h:
12278         * BufferView_pimpl.C:
12279         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12280
12281 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12282
12283         * MenuBackend.C (expand): add numeric shortcuts to document menu
12284
12285         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12286
12287 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12288
12289         * lyxfont.C (setLyXFamily):
12290         (setLyXSeries):
12291         (setLyXShape):
12292         (setLyXSize):
12293         (setLyXMisc):
12294         (lyxRead):
12295         * debug.C (value):
12296         * buffer.C (asciiParagraph): use ascii_lowercase
12297
12298 2002-07-15  Mike Fabian  <mfabian@suse.de>
12299
12300         * lyxlex_pimpl.C (search_kw):
12301         * lyxlex.C (getLongString):
12302         * converter.h (operator<):
12303         * converter.C (operator<):
12304         * buffer.C (parseSingleLyXformat2Token):
12305         (asciiParagraph):
12306         * ToolbarDefaults.C (read):
12307         * MenuBackend.C (checkShortcuts):
12308         (read):
12309         * LColor.C (getFromGUIName):
12310         (getFromLyXName): use the compare_ascii_no_case instead of
12311         compare_no_case, because in turkish, 'i' is not the lowercase
12312         version of 'I', and thus turkish locale breaks parsing of tags.
12313
12314 2002-07-16  Angus Leeming  <leeming@lyx.org>
12315
12316         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12317         now takes a Buffer const & argument.
12318
12319 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12320
12321         * BufferView.C (resize): check there's a buffer to resize
12322
12323 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12324
12325         * lyxfunc.C: remove dead code
12326
12327         * lyxserver.h:
12328         * lyxserver.C: use lyx_guii::set_read_callback
12329
12330 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12331
12332         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12333         an inset in a RTL paragraph.
12334
12335 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12336
12337         * lyxfunc.C: repaint after a font size update
12338
12339 2002-07-15  André Pönitz <poenitz@gmx.net>
12340
12341         * lyxlength.C: inBP should be able to return negative values
12342
12343 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12344
12345         * lyxfunc.C: use lyx_gui::update_fonts()
12346
12347 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12348
12349         * lyxfunc.C: use lyx_gui::update_color()
12350
12351 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12352
12353         * bufferlist.C:
12354         * lyxfunc.h:
12355         * lyxfunc.C:
12356         * lyxrc.h:
12357         * lyxrc.C: remove file->new asks for name option, and let
12358           buffer-new take an argument
12359
12360 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12361
12362         * BufferView_pimpl.C: remove unneeded extra repaint()
12363
12364 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12365
12366         * LyXAction.C: allow command-sequence with NoBuffer
12367
12368         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12369
12370 2002-07-10  Angus Leeming  <leeming@lyx.org>
12371
12372         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12373
12374 2002-07-09  Angus Leeming  <leeming@lyx.org>
12375
12376         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12377
12378 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12379
12380         * lengthcommon.h: whitespace
12381
12382         * lyxfunc.C: update scrollbar after goto paragraph
12383
12384         * lyxtext.h: factor out page break drawing, and fix it so
12385           page break/added space paints as selected nicely
12386
12387 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12388
12389         * BufferView_pimpl.C: add FIXMEs, clean up a little
12390
12391 2002-07-09  André Pönitz <poenitz@gmx.net>
12392
12393         * lyxfont.[Ch]: support for wasy symbols
12394
12395 2002-07-08  André Pönitz <poenitz@gmx.net>
12396
12397         * BufferView_pimpl.C: apply John's patch for #93.
12398
12399 2002-07-05  Angus Leeming  <leeming@lyx.org>
12400
12401         * BufferView_pimpl.C (buffer): generate previews if desired.
12402
12403         * LColor.h: add "preview" to the color enum.
12404
12405         * LColor.C (LColor): add a corresponding entry to the items array.
12406
12407         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12408         with this buffer.
12409
12410 2002-07-05  Angus Leeming  <leeming@lyx.org>
12411
12412         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12413         The body of the code is now in the method that is passed an ostream &
12414         rather than a file name.
12415         Pass an additional only_preamble parameter, useful for the forthcoming
12416         preview stuff.
12417
12418 2002-07-03  André Pönitz <poenitz@gmx.net>
12419
12420         * lyxfunc.C: simplify getStatus() a bit for math stuff
12421
12422 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12423
12424         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12425
12426 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12427
12428         * text.C (changeRegionCase): do not change case of all the
12429         document when region ends at paragraph end (bug #461)
12430
12431 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12432
12433         * paragraph.C (startTeXParParams):
12434         (endTeXParParams): add \protect when necessary
12435
12436 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12437
12438         * BufferView_pimpl.C (workAreaExpose): remove warning
12439
12440 2002-06-27  Angus Leeming  <leeming@lyx.org>
12441
12442         * Makefile.am: add lyxlayout_ptr_fwd.h.
12443
12444 2002-06-26  André Pönitz <poenitz@gmx.net>
12445
12446         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12447
12448 2002-06-25  Angus Leeming  <leeming@lyx.org>
12449
12450         * lyxfunc.C (dispatch): Comment out the call to
12451         grfx::GCache::changeDisplay. The method no longer exists now that the
12452         pixmap generation part of the graphics loader has been moved into
12453         InsetGraphics.
12454
12455 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12456
12457         * text2.C: layout as layout
12458
12459         * text.C: layout as layout
12460
12461         * tabular.C (OldFormatRead): layout as layout
12462
12463         * paragraph_pimpl.C (TeXDeeper): layout as layout
12464         (realizeFont): layout as layout
12465
12466         * paragraph.C (writeFile): layout as layout
12467         (validate): layout as layout
12468         (getFont): layout as layout
12469         (getLabelFont): layout as layout
12470         (getLayoutFont): layout as layout
12471         (breakParagraph): layout as layout
12472         (stripLeadingSpaces): layout as layout
12473         (getEndLabel): layout as layout
12474         (getMaxDepthAfter): layout as layout
12475         (applyLayout): layout as layout
12476         (TeXOnePar): layout as layout
12477         (simpleTeXOnePar): layout as layout
12478         (TeXEnvironment): layout as layout
12479         (layout): layout as layout
12480         (layout): layout as layout
12481
12482         * lyxtextclass.C (compare_name): new functor to work with
12483         shared_ptr, layout as layout
12484         (Read): layout as layout
12485         (hasLayout): layout as layout
12486         (operator): layout as layout
12487         (delete_layout): layout as layout
12488         (defaultLayout): layout as layout
12489
12490         * lyxlayout_ptr_fwd.h: new file
12491
12492         * lyxlayout.C (Read): layout as layout
12493
12494         * lyx_cb.C (MenuInsertLabel): layout as layout
12495
12496         * bufferlist.C (newFile): layout as layout
12497
12498         * buffer.C (readLyXformat2): layout as layout
12499         (parseSingleLyXformat2Token): layout as layout
12500         (insertStringAsLines): layout as layout
12501         (asciiParagraph): layout as layout
12502         (latexParagraphs): layout as layout
12503         (makeLinuxDocFile): layout as layout
12504         (simpleLinuxDocOnePar): layout as layout
12505         (makeDocBookFile): layout as layout
12506         (simpleDocBookOnePar): layout as layout
12507         (getLists): layout as layout
12508
12509         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12510
12511         * CutAndPaste.C (cutSelection): layout as layout
12512         (pasteSelection): layout as layout
12513         (SwitchLayoutsBetweenClasses): layout as layout
12514
12515         * BufferView_pimpl.C (Dispatch): layout as layout
12516         (smartQuote): layout as layout
12517
12518         * BufferView2.C (unlockInset): layout as layout
12519
12520 2002-06-24  André Pönitz <poenitz@gmx.net>
12521
12522         * lyxfunc.C: fix #487
12523
12524 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12525
12526         * lyxrc.h:
12527         * lyxrc.C:
12528         * lyxfunc.C: remove display_shortcuts, show_banner
12529
12530 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12531
12532         * Buffer_pimpl.C: oops, update on resize
12533
12534 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12535
12536         * buffer.C:
12537         * converter.C:
12538         * exporter.C:
12539         * lyxfunc.C:
12540         * BufferView.h:
12541         * BufferView.C: use repaint()
12542
12543         * BufferView_pimpl.h:
12544         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12545           as it's a clearer description. Remove superfluous
12546           redraws.
12547
12548 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12549
12550         * text.C: fix bug 488. Not ideal, but getting
12551           getWord() to work properly for the insets that
12552           matter is more difficult ...
12553
12554 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12555
12556         * BufferView_pimpl.C:
12557         * LyXAction.C:
12558         * commandtags.h:
12559         * lyxfunc.C: remove the six million index lyxfuncs to just
12560           one, and DTRT (bug 458)
12561
12562 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12563
12564         * BufferView.h:
12565         * BufferView.C:
12566         * BufferView_pimpl.h:
12567         * BufferView_pimpl.C: clean up resize() stuff,
12568           and unnecessary updateScreen()s
12569
12570 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * BufferView.h:
12573         * BufferView.C:
12574         * BufferView_pimpl.h:
12575         * BufferView_pimpl.C:
12576         * lyxfind.h:
12577         * lyxfind.C:
12578         * minibuffer.C: remove focus management of workarea,
12579           not needed. Use screen's greyOut()
12580
12581 2002-06-17  Herbert Voss  <voss@lyx.org>
12582
12583         * converter.C: (convert) do not post a message, when converting
12584         fails, let the calling function decide what to do in this case
12585
12586 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12587
12588         * lyxfunc.C: tidy up a little
12589
12590 2002-06-16    <alstrup@diku.dk>
12591
12592         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12593         Got rid of FORMS_H_LOCATION include. Now we are
12594         GUII.
12595
12596 2002-06-15  LyX Development team  <lyx@rilke>
12597
12598         * buffer.[Ch] (sgmlOpenTag):
12599         (sgmlCloseTag): Added support for avoiding pernicious mixed
12600         content. Return number of lines written.
12601
12602         (makeLinuxDocFile):
12603         (makeDocBookFile): Fixed calls to sgml*Tag.
12604         Simple white space clean.
12605
12606         (simpleDocBookOnePar): Simple white space clean.
12607
12608         * tabular.[Ch] (docBook): Renamed to docbook and got another
12609         argument to related with the pernicious mixed content.
12610
12611         (docbookRow): Fixed calls for docbook inset method.
12612
12613 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12614
12615         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12616         so it's X11 independent.
12617
12618         * kb*.[Ch]: ditto.
12619
12620         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12621
12622 2002-06-15  Lyx Development team  <lyx@electronia>
12623
12624         * intl.h: Renamed getTrans to getTransManager.
12625
12626 2002-06-14  Angus Leeming  <leeming@lyx.org>
12627
12628         * Makefile.am: nuke forgotten stl_string_fwd.h.
12629
12630 2002-06-12  Angus Leeming  <leeming@lyx.org>
12631
12632         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12633
12634 2002-06-13  Angus Leeming  <leeming@lyx.org>
12635
12636         * LaTeX.C:
12637         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12638
12639 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12640
12641         * kbmap.C (getiso): add support for cyrillic and greek
12642
12643 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12644
12645         * BufferView.h:
12646         * BufferView.C:
12647         * BufferView_pimpl.h:
12648         * BufferView_pimpl.C: move bogus scrolling logic
12649           to xforms
12650
12651 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12652
12653         * lyxfunc.C:
12654         * BufferView_pimpl.C: view->resize() change
12655
12656 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12657
12658         * BufferView_pimpl.C: topCursorVisible
12659           prototype change
12660
12661 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12662
12663         * Makefile.am:
12664         * lyx_gui.h:
12665         * lyx_gui.C: move to frontends/
12666
12667         * main.C:
12668         * lyx_main.h:
12669         * lyx_main.C: changes from above
12670
12671 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12672
12673         * intl.C:
12674         * intl.h:
12675         * kbmap.C:
12676         * kbsequence.C:
12677         * lyx_cb.C:
12678         * lyx_main.C: minor tidy
12679
12680 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * BufferView_pimpl.h:
12683         * BufferView_pimpl.C:
12684         * BufferView.h:
12685         * BufferView.C: make painter() const,
12686           remove dead code
12687
12688         * BufferView2.C: use screen() accessor
12689
12690         * lyx_main.h:
12691         * lyx_main.C: some minor cleanup
12692
12693 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12694
12695         * BufferView_pimpl.h:
12696         * BufferView_pimpl.C: remove enter/leaveView,
12697           use workHeight()
12698
12699 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12700
12701         * BufferView.h:
12702         * BufferView.C:
12703         * BufferView2.C:
12704         * BufferView_pimpl.h:
12705         * BufferView_pimpl.C: only construct screen once,
12706           rename
12707
12708         * lyxrc.C: remove pointless comment
12709
12710 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12711
12712         * BufferView.h:
12713         * BufferView.C: remove active() and belowMouse()
12714
12715         * BufferView_pimpl.h:
12716         * BufferView_pimpl.C: use workarea() not workarea_,
12717           and make it use a scoped_ptr instead
12718
12719 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12720
12721         * lyx_gui.C: add debug message on BadWindow
12722
12723 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12724
12725         * sp_spell.C: fdopen is not part of the C++ standard.
12726
12727         * paragraph.C (InsetIterator): use >= instead of ==
12728
12729 2002-06-07  Angus Leeming  <leeming@lyx.org>
12730
12731         Fixes needed to compile with Compaq cxx 6.5.
12732         * BufferView_pimpl.C:
12733         * DepTable.C:
12734         * buffer.C:
12735         * converter.C:
12736         * encoding.C:
12737         * lyx_gui.C:
12738         * lyx_main.C:
12739         * lyxtextclasslist.C:
12740         * minibuffer.C:
12741         * sp_spell.C:
12742         * tabular_funcs.C:
12743         * vc-backend.C:
12744         all c-library variables have been moved into namespace std. Wrap
12745         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12746
12747         * lyxlength.C:
12748         * tabular-old.C:
12749         * tabular.C:
12750         Add a using std::abs declaration.
12751
12752         * kbmap.h (modifier_pair):
12753         * paragraph.h (InsetTable, InsetList):
12754         * lyxfont.h (FontBits):
12755         type definition made public.
12756
12757         * bufferlist.C (emergencyWriteAll): the compiler complains that
12758         there is more than one possible lyx::class_fun template to choose from.
12759         I re-named the void specialisation as lyx::void_class_fun.
12760
12761         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12762
12763         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12764         the compiler is is unable to find tostr in write_attribute.
12765
12766 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12767
12768         * buffer.C (sgmlError): hide #warning
12769
12770 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12771
12772         * xtl/*: get rid of xtl, which is not in use anyway
12773
12774         * LyXAction.C (init):
12775         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12776         were unimplemented xtl experimentation
12777
12778 2002-06-04  André Pönitz <poenitz@gmx.net>
12779
12780         * lyxfunc.C: disable array operation on simple formulae
12781
12782 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12783
12784         * converter.C: constify a bit
12785
12786 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12787
12788         * lyx_gui.C: check xforms version correctly
12789
12790 2002-04-30  Herbert Voss  <voss@lyx.org>
12791
12792         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12793         "keep" option
12794
12795 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12796
12797         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12798           attempt to register it with a VCS)
12799
12800 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12801
12802         * lyx_main.C (init): honor variables LYX_DIR_13x and
12803         LYX_USERDIR_13x
12804
12805 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12806
12807         * buffer.h:
12808         * buffer.C:
12809         * lyx_main.C: fix a crash on bad command line,
12810           and give a useful exit status on error
12811
12812         * lyxfunc.C (doImport): allow -i lyx to work
12813
12814 2002-03-30  André Pönitz <poenitz@gmx.net>
12815
12816         * lyxfunc.C: mathed font changes
12817
12818 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12819
12820         * LaTeX.C:
12821         * importer.h:
12822         * importer.C:
12823         * lyx_sty.h:
12824         * lyx_sty.C:
12825         * lyxlex.C:
12826         * lyxrow.h:
12827         * lyxtext.h:
12828         * paragraph.h:
12829         * paragraph.C:
12830         * texrow.h:
12831         * texrow.C:
12832         * text.C:
12833         * trans_mgr.h: srcdocs, and some minor cleanups
12834
12835 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12836
12837         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12838         call getFont all the time)
12839
12840 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12841
12842         * switch from SigC signals to boost::signals
12843
12844 2002-05-29  André Pönitz <poenitz@gmx.net>
12845
12846         * paragraph_pimpl.C (getChar): don't call size() too often...
12847
12848 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12849
12850         * paragraph_pimpl.C (insertChar): do not try to update tables when
12851         appending (pos == size())
12852
12853         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12854         in order to reduce drastically the number of comparisons needed to
12855         parse a large document
12856
12857 2002-05-29  André Pönitz <poenitz@gmx.net>
12858
12859         * text.C:
12860         * text2.C:
12861         * lyxtextclass.C:
12862         * sp_pspell.h:
12863         * textclasslist.[Ch]:
12864         * sp_ispell.h: whitespace change
12865
12866 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12867
12868         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12869         lyxaction directly now.
12870
12871 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12872
12873         * trans.C:
12874         * lyxfont.C:
12875         * lyxvc.C: remove unused headers
12876
12877 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12878
12879         * Makefile.am:
12880         * buffer.h:
12881         * undostack.h:
12882         * undostack.C:
12883         * undo_funcs.h:
12884         * undo_funcs.C: some cleanups. Use shared_ptr
12885           and a template for the undo stacks.
12886
12887 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12888
12889         * BufferView_pimpl.h:
12890         * BufferView_pimpl.C:
12891         * kbmap.h:
12892         * kbmap.C:
12893         * kbsequence.h:
12894         * kbsequence.C:
12895         * lyxfunc.h:
12896         * lyxfunc.C:
12897         * text2.C: use key_state/mouse_state
12898
12899 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12900
12901         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12902         and LSubstring
12903
12904         * chset.C: change include order
12905         (loadFile): use boost regex and get rid of LRegex and LSubstring
12906
12907         * Makefile.am (BOOST_LIBS): new variable
12908         (lyx_LDADD): use it
12909
12910         * LaTeX.C: change include order.
12911         (scanAuxFile): use boost regex and get rid of LRegex and
12912         LSubstring
12913         (deplog): ditto
12914
12915 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12916
12917         * ColorHandler.h:
12918         * ColorHandler.C:
12919         * FontInfo.h:
12920         * FontInfo.C: moved to frontends/xforms/
12921
12922         * FontLoader.h:
12923         * FontLoader.C: moved into frontends for GUIIzation
12924
12925         * Makefile.am:
12926         * lyx_gui.C:
12927         * lyxfont.C:
12928         * lyxfunc.C: changes from above
12929
12930 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12931
12932         * LColor.C: remove spurious X include
12933
12934         * BufferView_pimpl.C:
12935         * Makefile.am:
12936         * font.h:
12937         * font.C:
12938         * text.C:
12939         * text2.C: move font metrics to frontends/
12940
12941 2002-05-24  Juergen Vigna  <jug@sad.it>
12942
12943         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12944         setting the undo_cursor.
12945
12946         * ParagraphParameters.h: include local includes first.
12947
12948 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12949
12950         * BufferView_pimpl.C:
12951         * BufferView_pimpl.h:
12952         * Makefile.am:
12953         * WorkArea.h:
12954         * WorkArea.C:
12955         * screen.C: move WorkArea into frontends/
12956
12957         * lyxscreen.h:
12958         * screen.C:
12959         * text.C:
12960         * BufferView.C:
12961         * BufferView2.C: move LyXScreen into frontends/
12962
12963         * lyxlookup.h:
12964         * lyxlookup.C:
12965         * lyx_gui.C: move lyxlookup into frontends/xforms/
12966
12967 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12968
12969         * BufferView2.C:
12970         * BufferView_pimpl.C:
12971         * FontLoader.C:
12972         * LyXView.h:
12973         * LyXView.C:
12974         * Makefile.am:
12975         * WorkArea.C:
12976         * XFormsView.h:
12977         * XFormsView.C:
12978         * buffer.C:
12979         * bufferlist.C:
12980         * bufferview_funcs.C:
12981         * converter.C:
12982         * importer.C:
12983         * lyx_cb.C:
12984         * lyx_gui.C:
12985         * lyx_main.C:
12986         * lyx_find.C:
12987         * lyxfunc.C:
12988         * lyxvc.C:
12989         * minibuffer.C:
12990         * text.C:
12991         * text2.C:
12992         * trans.C:
12993         * vc-backend.C: move LyX/XFormsView into frontends/
12994
12995 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12996
12997         * Makefile.am:
12998         * PainterBase.C:
12999         * PainterBase.h:
13000         * Painter.C:
13001         * Painter.h:
13002         * WorkArea.C:
13003         * WorkArea.h:
13004         * screen.C:
13005         * tabular.C:
13006         * text.C:
13007         * text2.C: move Painter to frontends/
13008
13009 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13010
13011         * buffer.C: comment out some some code that depend upon lyx_format
13012         < 220
13013
13014         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13015         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13016
13017         * buffer.h (NO_COMPABILITY): turn off compability
13018
13019         * ColorHandler.C: include scoped_array.hpp
13020
13021         * font.C: Use more specific smart_ptr header.
13022         * Painter.C: ditto
13023         * gettext.C: ditto
13024         * ShareContainer.h: ditto
13025         * lyx_main.h: ditto
13026         * kbmap.h: ditto
13027         * FontInfo.h: ditto
13028         * BufferView_pimpl.h: ditto
13029         * ColorHandler.h: ditto
13030
13031         * kbmap.C (defkey): change call to shared_ptr::reset
13032
13033 2002-05-21  Juergen Vigna  <jug@sad.it>
13034
13035         * buffer.C (insertErtContents): fix to insert ert asis if it is
13036         non empty. Skip it completely if it contains only whitespaces.
13037
13038 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13039
13040         * BufferView_pimpl.C:
13041         * BufferView2.C: clear selection on paste (bug 393)
13042
13043 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13044
13045         * DepTable.C: include ctime
13046
13047 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13048
13049         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13050
13051 2002-05-14  Juergen Vigna  <jug@sad.it>
13052
13053         * text.C (breakParagraph): fixed function to honor the keepempty
13054         layout in the right maner and also to permit the right breaking
13055         algorithm on empty or non empyt keepempty paragraphs.
13056
13057         * paragraph.C (breakParagraph): we have to check also if the par
13058         is really empty (!size()) for isempty otherwise we do the wrong
13059         paragraph break.
13060
13061 2002-05-10  Juergen Vigna  <jug@sad.it>
13062
13063         * buffer.[Ch] : The following are only changes to the ert
13064         compatibility read reading old LaTeX layout and font stuff and
13065         convert it to ERTInsets.
13066
13067         * buffer.h: added isErtInset().
13068
13069         * buffer.C (struct ErtComp): add a fromlayout bool to check
13070         if we're inside a LaTeX layout.
13071         (isErtInset): new helper function.
13072         (insertErtContents): look for other ert insets before this one
13073         and insert the contents there, so that we don't have subsequent
13074         ERT insets with nothing between them. This way we create only one
13075         inset with multiple paragraphs. Also check if we don't insert only
13076         spaces ' ' as they are ignored anyway afterwards in the .tex file
13077         so if we have only spaces we will ignore this latex part in the
13078         new file.
13079         (parseSingleLyXformat2Token \\layout): better compatibility when
13080         reading layout-latex stuff.
13081         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13082         language tag.
13083         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13084         stuff after reading the inset only get the information back from
13085         the stack.
13086
13087 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13088
13089         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13090
13091         * LaTeXFeatures.C (getBabelOptions): New method.
13092
13093 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13094
13095         * BufferView_pimpl.C (Dispatch): work around missing argument for
13096         'layout'
13097
13098 2002-05-08  Juergen Vigna  <jug@sad.it>
13099
13100         * text.C (leftMargin): handle paragraph leftindent.
13101
13102         * paragraph.C (writeFile): write the new \\leftindent tag.
13103         (validate): handle leftindent code.
13104         (TeXEnvironment): handle paragraphleftindent code again.
13105
13106         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13107
13108         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13109         for paragrap_extra indent code and new token \\leftindent.
13110         (latexParagraphs): handle the leftindent as environment.
13111
13112         * ParameterStruct.h: added leftindent support.
13113
13114         * ParagraphParameters.C (leftIndent): added support functions for
13115         the paragraph left indent.
13116
13117         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13118         more appropriate.
13119
13120 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13121
13122         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13123         inside insetERT.
13124
13125         * text.C (computeBidiTables): No bidi in insetERT.
13126
13127         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13128         in RTL documents.
13129
13130 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13131
13132         * version.C.in: pre 5
13133
13134 2002-05-02  José Matos  <jamatos@fep.up.pt>
13135         * buffer.C (makeDocBookFile): white space changes, add newline to
13136         command styles.
13137         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13138
13139         * tabular.C (docBook): fix typo.
13140
13141 2002-05-03  Juergen Vigna  <jug@sad.it>
13142
13143         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13144         change in LyXText as we can not be sure it was not freed.
13145         (drawOneRow): remove unused code.
13146
13147         * text.C (drawInset): redo the calculation of the need_break_row as
13148         it could have a row which was already freed.
13149         (draw): look at the return value of drawInset and return false if
13150         it also returned false.
13151         (paintRowText): look at the return value of draw and return false if
13152         it also returned false.
13153
13154         * lyxtext.h: added bool return type to drawInset() and draw() so that
13155         if we have a change in the row so that the rowbreak has to be redone
13156         we abort drawing as it will be called again.
13157
13158 2002-05-02  Juergen Vigna  <jug@sad.it>
13159
13160         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13161         a change in the maintext also if we're inside an inset.
13162         (Dispatch): set the cursor again after a break line and after the
13163         screen has been updated as it could be we're in a different row.
13164
13165         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13166         to set the cursor behind the pargraph with > size().
13167         (setCursor): check also for the same paragraph when checking where
13168         to put the cursor if we have a NFR inset.
13169
13170         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13171         parts of layout read further up as it still was in the wrong
13172         position.
13173
13174 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13175
13176         * screen.C (drawFromTo): change sine fullRebreak always return
13177         true.
13178
13179         * buffer.C (parseSingleLyXformat2Token): reindent some
13180
13181         * BufferView_pimpl.C (update): change since fullRebreak always
13182         return true.
13183         (Dispatch): git rid of the last hardcoded "Standard"s.
13184
13185 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13186
13187         * text2.[Ch] (fullRebreak): make it return void now that we always
13188         returned true.
13189
13190 2002-04-30  Juergen Vigna  <jug@sad.it>
13191
13192         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13193         ert compatibility check for "latex" layout.
13194
13195 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13196
13197         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13198         minipages: use col% instead of p%, and also use the current font.
13199         (makeLaTeXFile): Fix use babel condition.
13200         (parseSingleLyXformat2Token): Correct font when reading old floats.
13201
13202 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13203
13204         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13205         inserting list of floats.
13206
13207 2002-04-25  Herbert Voss  <voss@lyx.org>
13208
13209         * MenuBackend.C (expand): don't add the graphics extensions to the
13210         export menu
13211
13212 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13213
13214         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13215         non-existing layout, do not complain if it was the default layout
13216         of the original class (bug #342)
13217
13218 2002-04-24  Juergen Vigna  <jug@sad.it>
13219
13220         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13221         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13222
13223 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13224
13225         * buffer.C (getBibkeyList): If using \bibliography, return the
13226         option field with the reference itself. Enables us to provide natbib
13227         support when using \bibliography.
13228
13229 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13230
13231         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13232
13233         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13234         natbib is provided by the LaTeX class.
13235
13236 2002-04-23  Juergen Vigna  <jug@sad.it>
13237
13238         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13239         Wakeup functions.
13240
13241         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13242
13243 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13244
13245         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13246
13247         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13248         ensuremath around textordmasculine, textordfeminine and
13249         textdegree.
13250
13251 2002-04-19  Juergen Vigna  <jug@sad.it>
13252
13253         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13254         reinitializing the buffer otherwise row-dimensions may be wrong.
13255         (update): reset also the selection cursors if they do exits otherwise
13256         their x/y positions may be wrong.
13257
13258         * text2.C (cursorDown): don't enter the inset if we came from a row
13259         above and are one row over the inset.
13260
13261         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13262         really leaving an inset.
13263
13264 2002-04-18  Juergen Vigna  <jug@sad.it>
13265
13266         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13267         of the selected paragraph does not have the selected layout also if
13268         the last one had!
13269
13270         * text2.C (setLayout): fixed bug which did not change last selected
13271         paragraph.
13272
13273         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13274         changed the read and substituted \\end_float with \\end_inset!
13275
13276         * BufferView_pimpl.C (cursorPrevious):
13277         (cursorNext): fixed to make it work with rows heigher than the work
13278         area without moving the cursor only the draw of the row.
13279         (workAreaMotionNotify): fix jumping over high rows.
13280
13281 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13282
13283         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13284         Ressler.
13285
13286 2002-04-16  Juergen Vigna  <jug@sad.it>
13287
13288         * text2.C (setCursor): set also the irow().
13289         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13290         (cursorUp):
13291         (cursorDown): support for locking an inset if the x_fix value goes
13292         inside it. That way I can transverse insets too with cursor up/down.
13293
13294         * lyxrow.h: added irow helper function same as other (i) functions.
13295
13296         * BufferView_pimpl.C (cursorPrevious):
13297         (cursorNext): fixed for insets!
13298
13299 2002-04-15  Juergen Vigna  <jug@sad.it>
13300
13301         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13302         position otherwise it is wrong in some cases.
13303
13304         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13305         inside the inset before the call.
13306
13307 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13308
13309         * buffer.[Ch] (getBibkeyList): make it const.
13310
13311 2002-04-12  Juergen Vigna  <jug@sad.it>
13312
13313         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13314
13315         * text2.C (getCursorX): new helper function
13316         (setCursor): compute also ix_
13317         (setCursorFromCoordinates): set also ix.
13318
13319         * lyxcursor.h: added ix_ and helper functions.
13320
13321         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13322
13323         * buffer.C (insertStringAsLines): dont break paragraph if the this
13324         paragraph is inside an inset which does not permit it!
13325
13326         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13327         also with no chars on this paragraph.
13328         (paintRowText): only paint stuff if it's inside the workarea!
13329
13330         * paragraph.C (breakParagraph): honor keepempty flag and break the
13331         paragraph always below not above.
13332
13333         * BufferView2.C (unlockInset): update the paragraph layout on inset
13334         unlock as we changed paragraph in such a case.
13335
13336         * lyxfind.C (LyXFind): clear the former selection if not found!
13337
13338         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13339         again called in insertChar().
13340
13341         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13342         an inset which uses the whole row!
13343         (rightMargin): ditto.
13344         (insertChar): force a rebreak if we inserted an inset!
13345
13346 2002-03-28  Herbert Voss  <voss@lyx.org>
13347
13348         * lyxlength.[Ch]: add inBP() to get the right PS-point
13349         units (BigPoint). With inPixels we have rounding errors
13350
13351 2002-04-11  Juergen Vigna  <jug@sad.it>
13352
13353         * text2.C (setCursorFromCoordinates): set iy to the right value.
13354         (setCursor): add check if row->previous exists!
13355
13356         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13357         an old float_type as this was the case in the old code!
13358
13359         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13360
13361         * BufferView2.C (showLockedInsetCursor): use iy
13362         (fitLockedInsetCursor): ditto
13363
13364         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13365         locked insets as there we have the right value now.
13366
13367         * lyxcursor.C: added iy_ variable and iy functions to set to the
13368         baseline of cursor-y of the locked inset.
13369
13370         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13371         (setCursor): fixed for insets which need a full row.
13372
13373         * text.C (rowLastPrintable): don't ignore the last space when before
13374         an inset which needs a full row.
13375         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13376         as last character of a row when before a inset which needs a full row.
13377
13378 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13379
13380         * version.C.in: update date
13381
13382         * text2.C (fullRebreak): try to always return true and see what
13383         happens...
13384
13385 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13386
13387         * MenuBackend.C (expand): use Floating::listName
13388
13389         * FloatList.C (FloatList): add listName argument to the built-in
13390         floats
13391
13392         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13393         text associated with the float.
13394
13395 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13396
13397         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13398
13399 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13400
13401         * ShareContainer.h: add a couple of missing typenames.
13402
13403 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13404
13405         * lyxrc.C (getDescription): use _() correctly rather than N_().
13406
13407 2002-03-28  Herbert Voss  <voss@lyx.org>
13408
13409         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13410         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13411
13412 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13413
13414         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13415         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13416
13417 2002-03-29  Juergen Vigna  <jug@sad.it>
13418
13419         * lyxfunc.C (dispatch): add a missing fitCursor call.
13420
13421         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13422         it was scrolled by a cursor move, so return the bool status.
13423
13424         * BufferView.C (fitCursor): return the bool flag also to the outside
13425         world as this is needed.
13426
13427         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13428
13429         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13430         call the edit() as it is not needed (and wrong) IMO.
13431         (workAreaButtonPress): set the screen_first variable before evt.
13432         unlock the inset as this may change screen_first and then we have
13433         a wrong y position for the click!
13434
13435 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13436
13437         * MenuBackend.C (expand): another translation that I missed
13438
13439 2002-03-28  Juergen Vigna  <jug@sad.it>
13440
13441         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13442
13443         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13444
13445 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13446
13447         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13448
13449         * MenuBackend.C (expand): fix export/view/update when there is no
13450         document open.
13451
13452 2002-03-27  Herbert Voss  <voss@lyx.org>
13453
13454         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13455         and text%
13456
13457 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13458
13459         * bufferview_funcs.C (currentState): only show paragraph number
13460         for is DEVEL_VERSION is set.
13461
13462         * lyxfunc.C (dispatch): put warning in INFO channel
13463
13464         * MenuBackend.C (expand): translate the name of floats
13465
13466         * FloatList.C (FloatList): mark the float names for translation
13467
13468         * converter.C (convert): use LibScriptSearch
13469
13470 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13471
13472         * MenuBackend.C (defaults): fix default menu (we might as well get
13473         rid of it...)
13474
13475 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13476
13477         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13478         directory.
13479
13480 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13481
13482         * lyxvc.C: reorder includes.
13483
13484 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13485
13486         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13487           properly
13488
13489 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13490
13491         * CutAndPaste.C: change layouts earlier on paste
13492           to avoid crashing when calling getFont()
13493
13494 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13495
13496         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13497         irritating #error.
13498
13499 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13500
13501         * WorkArea.C: remove 'Pending' debug message.
13502
13503         * most files: ws cleanup
13504
13505         * buffer.[Ch]: ws changes
13506
13507         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13508
13509 2002-03-21  Juergen Vigna  <jug@sad.it>
13510
13511         * tabular.C (SetMultiColumn): collapse also the contents of the
13512         cells and set the last border right. Added a Buffer const * param.
13513
13514 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13515
13516         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13517         linking or not.
13518
13519 2002-03-19  Juergen Vigna  <jug@sad.it>
13520
13521         * text2.C (clearSelection): reset also xsel_cache.
13522
13523         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13524         where it needs to be called (John tells us to do so too :)
13525         (selectionLost): reset sel_cache.
13526
13527         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13528
13529 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13530
13531         * text2.C (setCursorIntern): put debuging code in INSETS channel
13532
13533 2002-03-19  André Pönitz <poenitz@gmx.net>
13534
13535         * lyxfunc.C: tiny whitespace change
13536
13537 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13538
13539         * ToolbarDefaults.C (init):
13540         * LyXAction.C (init):
13541         * commandtags.h:
13542         * BufferView_pimpl.C (Dispatch):
13543         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13544
13545 2002-03-19  Allan Rae  <rae@lyx.org>
13546
13547         * exporter.C (Export): removeAutoInsets before doing anything else.
13548         While I've just introduced a dependency on BufferView this really is
13549         the best place to clean the buffer otherwise you need to cleanup in
13550         a dozen places before calling export or cleanup in a dozen functions
13551         that export calls.
13552
13553         * converter.C (runLaTeX):
13554         (scanLog): Better handling of removeAutoInsets and screen updates.
13555
13556         * lyxfunc.C (dispatch): small whitespace changes
13557
13558 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13559
13560         * WorkArea.C (C_WorkAreaEvent): return a value.
13561         (event_cb): return 1 if we handled the event, 0 otherwise.
13562
13563         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13564
13565 2002-03-18  Juergen Vigna  <jug@sad.it>
13566
13567         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13568         (GetAdditionalWidth): ditto.
13569         (RightLine): ditto.
13570         (LeftLine): ditto.
13571
13572         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13573         inset if we're there actually (probably not used right now but this
13574         is the direction to go for unifying code).
13575         (paste): disable code to clear the selection.
13576
13577         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13578         inside an InsetText and move the check further up as it is in the
13579         wrong place.
13580
13581         * text2.C (pasteSelection): set a selection over the pasted text.
13582
13583 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13584
13585         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13586         and libgraphics to build on Cygwin.
13587
13588 2002-03-15  Juergen Vigna  <jug@sad.it>
13589
13590         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13591         inserting an Inset into the paragraph. I know this is not the best
13592         fix but we already use current_view in CutAndPaste so we will remove
13593         all of it's using at the same time.
13594
13595         * buffer.C (sgmlError): deactivated function till it is rewritten in
13596         the right mode, now it can create problems.
13597
13598         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13599         before accessing it.
13600
13601 2002-03-14  Juergen Vigna  <jug@sad.it>
13602
13603         * undo_funcs.C (textHandleUndo): do the right thing when updating
13604         the inset after the undo/redo.
13605
13606         * text2.C (setCursor): just some testcode for #44 not ready yet.
13607
13608         * undo_funcs.C (textHandleUndo): set the next() and previous()
13609         pointers of the paragraph to 0 before deleting otherwise we have
13610         problems with the Paragraph::[destructor].
13611
13612         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13613         on a paragraph insertion.
13614
13615 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13616
13617         * buffer.C (asciiParagraph): use += operator for char append to
13618         string.
13619
13620         * paragraph.C (getFontSettings): compare >= not just >
13621         (highestFontInRange): ditto
13622         (setFont): ditto
13623
13624 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13625
13626         * paragraph.C: change several algorithm to be more appripriate for
13627         the problem domain. This is lookip in FontList and in the InsetList.
13628
13629 2002-03-13  André Pönitz <poenitz@gmx.net>
13630
13631         * commandtags.h:
13632         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13633
13634 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13635
13636         * commandtags.h:
13637         * LyXAction.C:
13638         * lyxfunc.C:
13639         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13640
13641 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13642
13643         * Painter.C (display): anon helper function, adjust code for this
13644         change.
13645         (pixmap): remove function.
13646
13647         * Painter.h: remove private display variable.
13648
13649         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13650
13651 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13652
13653         * WorkArea.[Ch]: remove figinset_canvas cruft.
13654
13655 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13656
13657         * lyxtextclass.C (operator): add one item cache optimization.
13658
13659         * bufferlist.h: doxy changes
13660
13661         * bufferlist.C: ws changes
13662
13663         * DepTable.[Ch] (ext_exist): place const in the right spot.
13664
13665         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13666         call resizeInsets.
13667         (workAreaExpose): call resizeInsets when the with BufferView changes.
13668         (Dispatch): adjust for protectedBlank removal
13669         (specialChar): call updateInset if the insert went ok.
13670
13671         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13672         specialChar instead.
13673
13674         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13675
13676         * BufferView.h: doxy change
13677
13678         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13679
13680         * lyxtextclass.C (operator[]): remove non-const version
13681         (defaultLayout): remove non-const version
13682
13683 2002-03-12  Juergen Vigna  <jug@sad.it>
13684
13685         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13686         did resize the LyXText too.
13687
13688         * buffer.C (readLyXformat2): set layout information on newly allocated
13689         paragraphs.
13690
13691         * tabular.C (OldFormatRead): set layout information on the paragraph.
13692
13693 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13694
13695         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13696
13697 2002-03-11  Juergen Vigna  <jug@sad.it>
13698
13699         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13700         plainly wrong.
13701         (resizeCurrentBuffer): force also the insets to resize themselfes.
13702         (moveCursorUpdate): fixed up for InsetText.
13703
13704 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13705
13706         * commandtags.h:
13707         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13708         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13709         value of Dialogs::tooltipsEnabled().
13710         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13711
13712 2002-03-08  Juergen Vigna  <jug@sad.it>
13713
13714         * BufferView_pimpl.C (updateInset): update inset inside inset also
13715         if it isn't inside theLockingInset().
13716
13717 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13718
13719         * buffer.C (asciiParagraph): redo some of the word and line length
13720         handling.
13721         (getLists): look for Caption instead of caption.
13722
13723 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13724
13725         * buffer.C (Buffer): initialize niceFile to true
13726         (makeLaTeXFile):
13727         (makeLinuxDocFile):
13728         (makeDocBookFile): make sure niceFile is true on exit
13729
13730 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13731
13732         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13733
13734 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13735
13736         * LyXSendto.C: remove.
13737         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13738         * lyx_gui.C: remove now-redundant comment.
13739         * ColorHandler.h: remove forward declaration of class WorkArea.
13740         * lyxfunc.C: remove #include "WorkArea.h".
13741
13742 2002-03-07  Juergen Vigna  <jug@sad.it>
13743
13744         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13745         got moved away with the DEPM and also set the inset_owner always
13746         right which before could have been omitted.
13747
13748 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13749
13750         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13751         wanted layout is not found.
13752
13753 2002-03-07  Juergen Vigna  <jug@sad.it>
13754
13755         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13756
13757 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13758
13759         * paragraph.C (breakParagraph): use default layout not layout of
13760         prev paragraph.
13761         (Paragraph): clear ParagraphParameters.
13762
13763 2002-03-06  Juergen Vigna  <jug@sad.it>
13764
13765         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13766         otherwise it would not be a valid lenght. Fixed a special case in
13767         the minipage compatibility read where we end the document with a
13768         minipage.
13769
13770         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13771         was set as it could be 0 for InsetTexts first entry.
13772
13773 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13774
13775         * paragraph.C (writeFile): if layout is empty write out
13776         defaultLayoutName().
13777
13778         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13779         file without named layout we set layout to defaultLayoutName().
13780
13781 2002-03-06  Juergen Vigna  <jug@sad.it>
13782
13783         * CutAndPaste.C (copySelection): set layout for new paragraph.
13784
13785         * text.C (prepareToPrint): leave ERT inset left aligned
13786         (leftMargin): don't indent paragraphs inside ERT insets
13787
13788 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13789
13790         * paragraph.C (breakParagraph): dont call clear do the work manually
13791
13792         * paragraph.[Ch] (clear): remove function
13793
13794 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13795
13796         * paragraph.C (Paragraph): dont call clear, the work has already
13797         been done.
13798
13799         * lyxtextclass.C (operator): assert if n is empty
13800
13801         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13802         work manually instead.
13803
13804 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13805
13806         * BufferView_pimpl.C: protect selectionLost against text == 0
13807
13808 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13809
13810         * text.C (breakParagraph): fix a setting layout to '0' problem.
13811
13812 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13813
13814         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13815         final location of file, for the included files, and graphics.
13816
13817 2002-03-05  Juergen Vigna  <jug@sad.it>
13818
13819         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13820
13821 2002-03-04  Juergen Vigna  <jug@sad.it>
13822
13823         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13824
13825         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13826         last column of multicolumn cells.
13827         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13828
13829 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13830
13831         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13832         file if it doesn't go to a temporary file.
13833
13834         * buffer.C (sgmlOpenTag):
13835         (sgmlCloseTag):  remove extra newline insertion.
13836
13837 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13838
13839         * text.C (getRowNearY): comment out debug msg
13840
13841 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13842
13843         * text2.C: first -> first_y
13844
13845         * text.C (getRowNearY): add some attemts at a possible
13846         optimization, not working.
13847
13848         * tabular.[Ch]: add BufferParams to several function so that newly
13849         created paragraph can be initialized to he default layotu for the
13850         buffers textclass.
13851
13852         * tabular-old.C (ReadOld): add buf->params to call of Init
13853
13854         * screen.C: rename text->first to text->first_y
13855
13856         * paragraph.C (breakParagraph): always set layout in the broken
13857         paragraph
13858
13859         * lyxtextclass.C (Read): remove lowercase
13860         (hasLayout): ditto
13861         (operator): ditto
13862         (delete_layout): ditto
13863
13864         * lyxtext.h: rename first -> first_y
13865
13866         * lyxlayout.C (Read): remove lowercase
13867         (name): ditto
13868         (setName): ditto
13869         (obsoleted_by): ditto
13870
13871         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13872
13873         * buffer.C (insertErtContents): add params are to InsetERT
13874         (parseSingleLyXformat2Token): add code to check if a paragraphs
13875         layout really exist.
13876         (parseSingleLyXformat2Token): add params to several inset
13877         constructors
13878         (asciiParagraph): remove lowercase, do the layout comparisons with
13879         no_case
13880
13881         * BufferView_pimpl.C (cursorNext): first -> first_y
13882         (resizeCurrentBuffer): first -> first_y
13883         (updateScrollbar): first -> first_y
13884         (scrollCB): first -> first_y
13885         (workAreaMotionNotify): first -> first_y
13886         (workAreaButtonPress): first -> first_y
13887         (checkInsetHit): first -> first_y
13888         (cursorPrevious): first -> first_y
13889         (cursorNext): first -> first_y
13890         (Dispatch): add buffer_->params to severl inset contructors
13891
13892 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13893
13894         * lyxlayout.C (Read): remove some debug info that I forgot.
13895
13896         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13897         clean up the code slightly.
13898         (makeLinuxDocFile): ditto
13899         (makeDocBookFile): ditto
13900
13901         * text2.C: layout as string
13902
13903         * text.C: layout as string
13904
13905         * paragraph_pimpl.C: layout as string
13906
13907         * paragraph.[Ch]: layout as string
13908
13909         * lyxtextclasslist.[Ch]: layout as string
13910
13911         * lyxtextclass.[Ch]: layout as string
13912
13913         * lyxtext.h: layout as string
13914
13915         * lyxlayout.[Ch]: layout as string
13916
13917         * lyx_cb.C: layout as string
13918
13919         * bufferview_funcs.C: layout as string
13920
13921         * bufferparams.C: layout as string
13922
13923         * buffer.C: layout as string
13924
13925         * LyXView.[Ch]: layout as string
13926
13927         * LaTeXFeatures.[Ch]: layout as string
13928
13929         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13930
13931         * BufferView_pimpl.C: change current_layout to string, remove
13932         lyx::layout_type.
13933         (Dispatch):
13934         (smartQuote):
13935         (insertInset):
13936         (workAreaButtonRelease): layout as string
13937
13938         * BufferView2.C (unlockInset): adjust
13939
13940         * vspace.C (asLatexCommand): use an explict temp variable.
13941
13942 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13943
13944         * Makefile.am: use FRONTEND_*
13945
13946 2002-03-01  Juergen Vigna  <jug@sad.it>
13947
13948         * tabular.C (SetWidthOfMulticolCell): changed to something better
13949         I hope but still work in progress.
13950         (recalculateMulticolumnsOfColumn): renamed function from
13951         recalculateMulticolCells as it is more appropriate now.
13952         (SetWidthOfCell): calculate multicols better.
13953
13954 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13955
13956         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13957
13958         * lyxfunc.C (processKeySym): print sequence also if it is
13959         `deleted' (complete)
13960
13961         * kbsequence.C (print): print sequence even if it is deleted
13962         (complete would be a better word, actually).
13963
13964         * lyxfunc.C (dispatch): print complete options after a prefix key
13965
13966         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13967
13968 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13969
13970         * text2.C (setCharFont): eliminate setCharFont code duplication.
13971
13972 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13973
13974         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13975         LFUN_TABULAR_FEATURE (bug #177)
13976
13977 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13978
13979         * Makefile.am: remove figure.h
13980
13981 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13982
13983         * Bufferview_pimpl.C:
13984         * CutAndPasteC:
13985         * LaTeX.C:
13986         * LyXSendto.C:
13987         * buffer.C:
13988         * bufferlist.C:
13989         * converter.C:
13990         * language.C:
13991         * lyxfunc.C:
13992         * lyxvc.C:
13993         * paragraph.C:
13994         * text.C:
13995         * text2.C: remove #include "lyx_gui_misc.h".
13996
13997         * LaTeX.C: added #include <cstdio>
13998
13999 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14000
14001         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14002         that the paragraph following this one can have.
14003
14004         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14005
14006         * vspace.C (asLatexCommand): fix bogus gcc warning
14007
14008         * Makefile.am (lyx_SOURCES): remove vms_defines.h
14009
14010 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
14011
14012         * text2.C (setLayout): get rid of redundant code
14013
14014 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
14015
14016         * text2.C (incDepth): make sure depth cannot be increased beyond
14017         reasonable values.
14018
14019 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
14020
14021         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14022         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14023
14024         * PainterBase.h (image):
14025         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14026         a LyXImage const *.
14027
14028 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14029
14030         * BufferView.C:
14031         * BufferView.h:
14032         * BufferView_pimpl.C:
14033         * BufferView_pimpl.h:
14034         * LaTeXFeatures.C:
14035         * LyXAction.C:
14036         * LyXView.C:
14037         * Makefile.am:
14038         * UpdateList.h:
14039         * UpdateList.C:
14040         * buffer.C:
14041         * figure.h:
14042         * figureForm.C:
14043         * figureForm.h:
14044         * figure_form.C:
14045         * figure_form.h:
14046         * lyx_cb.C:
14047         * lyx_gui.C:
14048         * lyx_gui_misc.C:
14049         * lyxfunc.C:
14050         * sp_base.h:
14051         * sp_ispell.h:
14052         * sp_pspell.h:
14053         * sp_spell.C: remove fig inset, and the crap house of
14054           cards that follows it
14055
14056 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14057
14058         * Makefile.am:
14059         * lyxserver.C:
14060         * os2_defines.h:
14061         * os2_errortable.h:
14062         * nt_defines.h: move .h into support/
14063
14064         * vms_defines.h: remove
14065
14066         * WorkArea.C: add space in debug output
14067
14068         * text2.C:
14069         * paragraph.C:
14070         * buffer.C: add WITH_WARNINGS
14071
14072         * vc-backend.h:
14073         * vc-backend.C:
14074         * bufferlist.C: s/retrive/retrieve/, add docs
14075
14076         * vspace.h:
14077         * vspace.C:
14078         * kbmap.h:
14079         * lyxlength.h:
14080         * lyxgluelength.h:
14081         * length_common.h:
14082         * chset.h:
14083         * chset.C: add docs
14084
14085         * lyxgui.C: add ID to X error handler
14086
14087         * lyxtestclass.c: fix typo
14088
14089 2002-02-26  Juergen Vigna  <jug@sad.it>
14090
14091         * tabular_funcs.C (write_attribute): changed so that some default
14092         attributes are not written at all.
14093         (getTokenValue): set default values before trying to read the
14094         value so we have the return value always set as default if we don't
14095         find the token we search for.
14096
14097         * tabular.C (Write): write bools as bools not as strings!
14098
14099 2002-02-22  Juergen Vigna  <jug@sad.it>
14100
14101         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14102         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14103
14104         * text.C (leftMargin): don't add an indent for paragraphs inside
14105         tabular cells (fix #208).
14106
14107 2002-02-21  José Matos  <jamatos@fep.up.pt>
14108
14109         * tabular.C (docBook): fixed support for long tables.
14110
14111 2002-02-20  Juergen Vigna  <jug@sad.it>
14112
14113         * text2.C (getFont): get the drawing font of the Inset if this
14114         paragraph is inside an inset (only important for InsetERT for now).
14115
14116         * buffer.C (insertErtContents): use new lanugage params in ERT
14117         constructor.
14118
14119         * CutAndPaste.C: commenting out seemingly uneeded code.
14120
14121 2002-02-19  Allan Rae  <rae@lyx.org>
14122
14123         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14124         Iterators might be simple to use but they also get invalidated.
14125         (removeAutoInsets): renamed saved cursor tracking variables and added
14126         some comments to clarify what everything does.
14127
14128 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14129
14130         * Chktex.C:
14131         * LaTeX.C:
14132         * LyXSendto.C:
14133         * converter.C:
14134         * lyx_cb.C:
14135         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14136         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14137
14138         * lyxfunc.C:
14139         * vc-backend.h: remove #include "support/syscall.h"
14140
14141         * LaTeX.C:
14142         * LyXSendto.C:
14143         * converter.C: rearrange #includes in Lars' approved fashion.
14144
14145         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14146         forward declare class Timeout in the header file.
14147
14148         * XFormsView.C: changes due to the above.
14149
14150         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14151         similar to LyXView.
14152
14153         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14154         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14155
14156 2002-02-18  José Matos  <jamatos@fep.up.pt>
14157
14158         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14159         insets contents.
14160
14161 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14162
14163         * a lot of small ws changes
14164         * add a lot of using std::XXX
14165         * use std construcs some places where approp.
14166         * use some exisint stuff from lyxfunctional where approp.
14167         * Make file changes to use partial linking (lets test this now...)
14168
14169 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14170
14171         * Chktex.C:
14172         * buffer.C:
14173         remove #include "support/syscontr.h" as it's redundant. Always has been.
14174
14175         * Chktex.C:
14176         * LaTeX.C:
14177         * LyXSendto.C:
14178         * converter.C:
14179         * lyx_cb.C:
14180         * vc-backend.C:
14181         change Systemcalls::System to Systemcalls::Wait and
14182         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14183         No change of functionality, just reflects the stripped down Systemcalls
14184         class.
14185
14186 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14187
14188         * debug.[Ch]: add a GRAPHICS type to the enum.
14189
14190 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14191
14192         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14193
14194         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14195         there is an inset.
14196
14197 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14198
14199         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14200         match the changes below.
14201
14202         * text2.C (toggleInset): if there is not editable inset at cursor
14203         position, try to see if cursor is _inside_ a collapsable inset
14204         and close it.
14205
14206 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14207
14208         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14209         document menu has a nice checkbox
14210
14211 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14212
14213         * lyxlength.C (asLatexString): change PW to output as percent of
14214         \textwidth.
14215
14216         * lengthcommon.C: change '%' to 't%'
14217
14218         * lyxfunc.C (dispatch): a few comments from Martin
14219
14220 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14221
14222         * WorkArea.h:
14223         * WorkArea.C:
14224         * BufferView_pimpl.h:
14225         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14226           the X selection.
14227
14228 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14229
14230         * vspace.C (inPixels): fix compiler warning
14231
14232 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14233
14234         * lyxfunc.C (getStatus): fix status message for disabled commands.
14235
14236 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14237
14238         * BufferView_pimpl.C: fix crash on close buffer
14239         during selection (#227)
14240
14241 2002-01-27  Herbert Voss  <voss@lyx.org>
14242
14243         * buffer.C: link old Figure to new graphic inset
14244
14245 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14246
14247         * FontLoader.C (getFontinfo): Change the latex font names in order
14248         to match the names of type1inst.
14249
14250 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14251
14252         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14253
14254         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14255         (extchanged): ditto
14256         (ext_exist): ditto
14257         (remove_files_with_extension): ditto
14258         (remove_file): ditto
14259         (write): ditto
14260
14261         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14262         document is smaller than the work area height. Do not initialize
14263         static variables to 0.
14264
14265 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14266
14267         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14268
14269         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14270         LFUN_LAYOUT_PARAGRAPHS.
14271
14272         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14273         tabular. It is possible to provide a possible cell, which will
14274         typically be the actcell from the corresponding insettabular
14275
14276         * lyxfunc.C (getStatus): small cleanup; disable
14277         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14278         true
14279
14280 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14281
14282         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14283
14284         * paragraph.C (startTeXParParams):
14285         (endTeXParParams): new methods. The LaTeX code to
14286         start/end paragraph formatting
14287         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14288         empty (fixes bug #200)
14289
14290         * vspace.C (inPixels): adapt to the change below
14291         (inPixels): [later] more cleanups (remove unused variables)
14292
14293         * lyxlength.C (inPixels): change to use a width and a height as
14294         parameter.
14295
14296 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14297
14298         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14299         Replaced with \paperwidth
14300
14301         * DepTable.C (insert): add std:: qualifier
14302
14303 2002-01-18  Allan Rae  <rae@lyx.org>
14304
14305         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14306         updated also?
14307
14308         * text.C (drawInset): Turned out I didn't know enough about how
14309         rebreaking worked.  This fixes most of the redraw problems.  I see
14310         an occasional cursor trail when a line is broken now and the cursor
14311         placement can seem out by a few pixels also after a rebreak.
14312
14313 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14314
14315         * buffer.C (parseSingleLyXformat2Token): update because minipage
14316         width is now a LyXLength
14317
14318         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14319
14320         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14321         math insets
14322
14323 2002-01-17  Juergen Vigna  <jug@sad.it>
14324
14325         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14326
14327         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14328         is set correctly and the inset is updated correctly.
14329
14330 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14331
14332         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14333         the beginning of the loop.
14334
14335 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14336
14337         * lyxrc.C: improve help for use_scalable_fonts
14338
14339 2002-01-17  Allan Rae  <rae@lyx.org>
14340
14341         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14342
14343 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14344
14345         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14346         make sure to set their inset_owner to the right value (bug #171)
14347
14348 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14349
14350         * DepTable.h
14351         * DepTable.C: Implement mtime checking to reduce time spent doing
14352         CRCs.
14353
14354 2002-01-16  Juergen Vigna  <jug@sad.it>
14355
14356         * tabular.C (GetAdditionalHeight): one of error fixed.
14357
14358         * lyxrc.C (output): small fix in writing use_pspell.
14359
14360 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14361
14362         * sp_base.h: #include LString.h
14363
14364 2002-01-16  Allan Rae  <rae@lyx.org>
14365
14366         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14367         Can someone check this please?
14368
14369         * text.C (drawInset): It was possible that p.row would be removed by
14370         breakAgainOneRow upsetting a few other settings.  There may be another
14371         small tweak possible by setting need_break_row = 0 when p.row has been
14372         removed but I don't know enough about the logic here.
14373
14374 2002-01-15  Allan Rae  <rae@lyx.org>
14375
14376         * text.C (insertChar): removed conditional truism.
14377
14378         * BufferView2.C (removeAutoInsets): More tweaks.
14379         cur_par_prev could be a stray pointer.  Check for trailing empty line
14380         in case last line was cur_par and only had an error inset on it.
14381
14382 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14383
14384         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14385         absolute
14386
14387         * vc-backend.C (most methods):
14388         * exporter.C (Export):
14389         * converter.C (convert):
14390         (runLaTeX):
14391         * LyXSendto.C (SendtoApplyCB):
14392         * lyxfunc.C (dispatch):
14393         (menuNew):
14394         (open):
14395         (doImport):
14396         * lyx_cb.C (AutoSave):
14397         (InsertAsciiFile):
14398         * BufferView_pimpl.C (MenuInsertLyXFile):
14399         * buffer.C (runChktex): use Buffer::filePath().
14400
14401         * buffer.h: rename filename to filename_; rename filepath to
14402         filepath_ and make it private
14403         (filePath): new method
14404
14405         * buffer.C (writeFile): use fileName()
14406         (getLatexName):
14407
14408         * lyx_main.C (init): fix starting  of LyX when the binary is a
14409         link from so,ewhere else.
14410
14411         * minibuffer.C: include <cctype> for isprint
14412
14413 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14414
14415         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14416         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14417         name clash with InsetCollapsable's width function.
14418
14419 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14420
14421         * lastfiles.C: include <iterator>
14422
14423 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14424
14425         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14426         std::count.
14427
14428         * buffer.C (makeLaTeXFile): ditto.
14429         Also make loop operation more transparent.
14430
14431 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14432
14433         * ToolbarDefaults.C: remove trailing comma closing namespace.
14434
14435         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14436
14437         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14438         as in WorkArea.
14439
14440         * trans.C (Load): comment out unused variable, allowed.
14441
14442 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14443
14444         * minibuffer.[Ch] (append_char): new method to recieve input from the
14445         drop-down completion browser. If a key was pressed, then recieve this
14446         char and append it to the existing string.
14447         (peek_event): modify the positioning data passed to the completion
14448         browser so that it can be placed above the minibuffer rather than below.
14449 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14450
14451         * LyXAction.C (init): alloe error-next for readonly documents.
14452
14453         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14454         count.
14455
14456 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14457
14458         * bufferlist.C (readFile): create the buffer _after_ checking that
14459         the file exists.
14460
14461         * lyxfunc.C (verboseDispatch): fix handling of arguments
14462
14463         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14464
14465         * lyxrc.C: use string::erase() instead of initializing to "".
14466
14467
14468 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14469
14470         * BufferView_pimpl.h:
14471         * BufferView_pimpl.C:
14472         * WorkArea.h:
14473         * WorkArea.C:
14474         * text2.C: tell X when we have made a selection for copying
14475
14476 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14477
14478         * BufferView_pimpl.C (MenuInsertLyXFile):
14479         * lyxfunc.C (menuNew):
14480         (open):
14481         (doImport): add shortcuts to directory buttons
14482
14483         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14484         open a float)
14485
14486         * lyxfunc.C (setStatusMessage):
14487         (getStatusMessage): new methods
14488         (getStatus):use setStatusMessage instead of setErrorMessage
14489         (dispatch): when function is disabled, set error message here
14490         [instead of in getStatus previously]
14491
14492         * BufferView_pimpl.C (workAreaButtonRelease): update
14493         toolbar/menubar here too.
14494
14495 2002-01-13  Allan Rae  <rae@lyx.org>
14496
14497         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14498         Now seems indestructible.  Remaining task is to audit all other
14499         code affected by deleteEmptyParagraphMechanism.  One small quirk
14500         left is that an empty document with an error in the preamble can
14501         be made to report an error but no error box appears.  I don't know
14502         where it goes.
14503         (removeAutoInsets): Improved comments.
14504
14505 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14506
14507         * Thesaurus.h:
14508         * Thesaurus.C: update for Aiksaurus 0.14
14509
14510 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14511
14512         * text2.C (firstParagraph): removed member function, all uses
14513         replaces with ownerParagraph
14514         (redoParagraphs): here
14515         (updateInset): here
14516         (toggleAppendix): here
14517         * BufferView2.C (insertErrors): here
14518         (setCursorFromRow): here
14519
14520 2002-01-13  Allan Rae  <rae@lyx.org>
14521
14522         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14523         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14524         There is still a way to segfault this although you may have to do this
14525         multiple times: Have an InsetERT with an unknown command in it.
14526         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14527         <down-arrow>, <Enter> again, View->DVI, BANG!
14528
14529         * text2.C (setCursor):
14530         (deleteEmptyParagraphMechanism):
14531         * lyxtext.h (setCursor):
14532         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14533         Making use of the return value may help fix other bugs.
14534
14535 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14536
14537         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14538
14539         * LyXView.C (updateMenubar): call MenuBar::update here
14540         (updateToolbar): but not here
14541         (showState): do not update toolbar/menubar
14542
14543         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14544         should need to care about that.
14545
14546         * lyxfunc.C (verboseDispatch): simplify a bit
14547         (getStatus): have a version which takes a pseudoaction, and
14548         another which requires a (kb_action,string).
14549
14550         * LyXAction.C (retrieveActionArg): make it work also when action
14551         is not a pseudo-action.
14552         (getActionName): simplify a bit
14553         (helpText):
14554
14555 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14556
14557         * lyxfunc.C (verboseDispatch): new families of methods with
14558         several ways to specify a command and a bool to indicate whether
14559         the command name and shortcut should be displayed in minibuffer
14560         (eventually, we could extend that to a finer bitmask like
14561         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14562         (dispatch): the pristine dispatch command which just, well,
14563         dispatchs! Note it still sets its result to minibuffer; I'm not
14564         sure we want that.
14565
14566         * lyxfunc.h: remove setHintMessage
14567
14568         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14569
14570 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14571
14572         * BufferView_pimpl.C (specialChar): delete new inset if we have
14573         not been able to insert it.
14574
14575         * kbmap.C: revert to using int instead of kb_action, since all we
14576         are dealing with is pseudo-actions.
14577
14578         * LyXAction.C (searchActionArg): change to return int instead of
14579         kb_action, since the result is a pseudoaction.
14580
14581 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14582
14583         * buffer.C (insertErtContents): Fix (partially) the font bug.
14584
14585 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14586
14587         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14588         as the other one is broken on my machine!
14589
14590 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14591
14592         * commandtags.h:
14593         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14594
14595 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14596
14597         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14598         reflect their actual use. Provide compatibility code for older lyxrc
14599         files.
14600
14601         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14602         FL_NORMAL_STYLE.
14603         change names of popup font variables in line with the changes to lyxrc.C
14604
14605 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14606
14607         * buffer.C (asciiParagraph): avoid outputing a word twice after
14608         an inset.
14609
14610         * lyxrc.C (getDescription): document that document_path and
14611         template_path can be empty.
14612
14613 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14614
14615         * LaTeXFeatures.C (getMacros):
14616         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14617
14618         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14619
14620         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14621         getPackages.
14622         (getPackages): rename feature "floats" to "float". Use an array to
14623         iterate over 'simple' features (i.e. just a \usepackage). Add
14624         handling of "amsmath" (renamed from "amsstyle").
14625
14626 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14627
14628         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14629         features list.
14630
14631 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14632
14633         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14634         FuncStaus::FuncStatus & FuncStaus::some_method().
14635
14636 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14637
14638         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14639         of the func_satus stuff. Edited and massaged in various ways by
14640         JMarc.
14641
14642         * lyxfunc.C (getStatus): use FuncStatus
14643
14644 2002-01-08  Juergen Vigna  <jug@sad.it>
14645
14646         * text.C (nextBreakPoint): use function Inset::isChar().
14647
14648         * paragraph.C (TeXOnePar): use function
14649         Inset::forceDefaultParagraphs.
14650
14651         * buffer.C (latexParagraphs): use function
14652         Inset::forceDefaultParagraphs.
14653
14654 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14655
14656         * lyx_gui.C (init): set the style of the menu popups to
14657         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14658
14659 2002-01-07  Juergen Vigna  <jug@sad.it>
14660
14661         * text.C (setHeightOfRow): small fix
14662         (prepareToPrint): don't look at alignment if we don't have the place
14663         for doing it.
14664
14665 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14666
14667         * box.C: New file. Move the Box methods and functions out of box.h,
14668         following Lars' suggestion.
14669
14670 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14671
14672         * box.h: #include "support/LOstream.h", needed for inlined function.
14673
14674         * lyxtextclass.C:
14675         * lyxtextclasslist.C: added some using std declarations.
14676
14677 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14678
14679         * box.h: make signed dimensions to allow insets wider than
14680           the screen (bug #162)
14681
14682         * BufferView_pimpl.C: add some insetHit debug
14683
14684 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14685
14686         * vc-backend.C: add FIXME
14687
14688 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14689
14690         * lyxfunc.C (getStatus): enable code for showing math font status
14691         in toolbar/menu.
14692
14693 2002-01-07  Juergen Vigna  <jug@sad.it>
14694
14695         * text.C (nextBreakPoint): removed debug output not needed anymore.
14696
14697 2002-01-06  Juergen Vigna  <jug@sad.it>
14698
14699         * text.C (nextBreakPoint): fixed up this function we had this bug
14700         since ever but now hopefully we break row better.
14701         (insertChar): we have to check if an inset is the next char as it
14702         could now happen that a large inset is causing a break.
14703
14704 2002-01-05  Juergen Vigna  <jug@sad.it>
14705
14706         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14707         if it doesn't like to be drawed.
14708
14709 2002-01-04  Juergen Vigna  <jug@sad.it>
14710
14711         * BufferView2.C (lockInset): forgot to set a cursor.
14712
14713         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14714
14715 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14716
14717         * FormMathsPanel.C:
14718         * FormMathsPanel.h
14719         * MathsSymbols.C:
14720         * form_maths_panel.C:
14721         * form_maths_panel.h:
14722         * form_maths_panel.fd: implemented sub- and super- buttons in math
14723         panel.
14724
14725         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14726         (or ^ space) to be used as in TeX (req'd by Andr�.
14727
14728         * lyxfunc.C: Allow ^ and _ again to be used both as
14729         super/subscript (mathed) and as themselves (in text).
14730
14731 2002-01-03  Allan Rae  <rae@lyx.org>
14732
14733         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14734         "LyX" or the filename of the current buffer if it has one.  This is a
14735         modified form of John Levon's patch.
14736
14737         * XFormsView.C (setWindowTitle): also set icon title.
14738
14739         * LyXView.h (setWindowTitle): signature changed.
14740         * XFormsView.h (setWindowTitle): ditto.
14741
14742 2002-01-02  Juergen Vigna  <jug@sad.it>
14743
14744         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14745
14746 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14747
14748         * screen.C (topCursorVisible): introduce a temp var for
14749         text->cursor.row(), handle the case where this row is null. (kindo
14750         hachish)
14751
14752         * text2.C (setCursor): add a couple of asserts.
14753
14754         * paragraph.h (inset_iterator): add -> operator
14755
14756         * paragraph.[Ch] (autoDeleteInsets): remove member function
14757
14758         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14759         cursor pos correctly and handle inset deletion by itself.
14760         (insertErrors): move iterator declaration out of for expression
14761
14762         * lyxtextclass.C: add <algorithm>
14763
14764         * Makefile.am: added the new files to sources, removed layout.C
14765
14766         * layout.C: removed file
14767
14768         * layout.h: remove LYX_DUMMY_LAYOUT
14769
14770         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14771         layout.
14772
14773         * lyxlayout.[Ch]:
14774         * lyxtextclass.[Ch]:
14775         * lyxtextclasslist.[Ch]: new files
14776
14777         * include order changes to a lot of files, also changes because of
14778         the six new files.
14779
14780 2001-12-27  Juergen Vigna  <jug@sad.it>
14781
14782         * buffer.C (asciiParagraph): more fixes.
14783
14784         * tabular.C (ascii): make ascii export support export of only the
14785         data separated by a column-delimiter.
14786         (ascii): better support for ascii export.
14787
14788         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14789
14790 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14791
14792         * tabular_funcs.C: use a "using std::getline" instead of the
14793         previous fix from Angus (necessary for cxx + lyxstring)
14794
14795 2001-12-24  Juergen Vigna  <jug@sad.it>
14796
14797         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14798
14799         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14800         problems. First check a minipage also if we have some ert-contents
14801         (not only on par->size(), second set the right depth of the paragraph
14802         on the relink to the root-paragraph-list!
14803
14804         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14805         which then did not anymore update the main paragraphs on undo/redo!
14806
14807 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14808
14809         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14810         code. Support all font-changing funcs (even those which are not in
14811         menu currently). Support for reporting font settings in
14812         mathed (disabled until Andre provides a function on mathed's side).
14813
14814         * func_status.h (toggle): small helper function to set toggle
14815         state on a flag.
14816
14817 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14818
14819         * tabular_funcs.C: getline -> std::getline
14820
14821 2001-12-21  Juergen Vigna  <jug@sad.it>
14822
14823         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14824         accessed and could be 0 (I couldn't generate this but it seems
14825         Michael could!).
14826
14827 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14828
14829         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14830         * tabular_funcs.h: here and include iosfwd
14831
14832 2001-12-20  Juergen Vigna  <jug@sad.it>
14833
14834         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14835         inside inset but undo_par was.
14836
14837 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14838
14839         * Thesaurus.C: always include <config.h> in sources.
14840
14841         * Painter.h:
14842         * lyxlookup.h:
14843         * box.h: do not include <config.h> in header files
14844
14845         * text.C (paintLastRow): remove unused variable
14846
14847         * text.C (transformChar):
14848         (insertChar):
14849         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14850
14851         * Painter.C (text):
14852         * font.C (width): rewrite to use uppercase() instead of
14853         islower/toupper.
14854
14855         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14856
14857 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14858
14859         * lyxfind.C: clean up of find failure position change
14860
14861 2001-12-20  Juergen Vigna  <jug@sad.it>
14862
14863         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14864
14865         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14866         (TeXRow): added to LaTeX a single tabular row.
14867         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14868         (Latex): simplified and finally good LT-h/f support.
14869         (various_functions): just small adaptions for LT-h/f support.
14870
14871         * tabular_funcs.[hC]: added and moved here all not classfunctions
14872         of LyXTabular.
14873
14874 2001-12-19  Juergen Vigna  <jug@sad.it>
14875
14876         * tabular.[Ch]: better support for longtabular options (not finished
14877         yet!)
14878
14879 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14880
14881         * text.C (paintLastRow): use the label font instead of the font of
14882         the last character to compute the size of *_BOX. This makes more
14883         sense and avoids a crash with empty paragraphs.
14884         Use Painter::rectangle to draw EMPTY_BOX.
14885
14886 2001-12-19  Juergen Vigna  <jug@sad.it>
14887
14888         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14889         the paragraphs if the replaced paragraph is not the first one!
14890         Tried to delete not used paragraphs but does not work yet so for
14891         now it's inside #ifdef's and by default off!
14892
14893 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14894
14895         * MenuBackend.C: include "lyx_main.h" instead of declaring
14896         lastfiles (actually was declared as LastFiles* instead of a
14897         scoped_ptr).
14898
14899 2001-12-17  Juergen Vigna  <jug@sad.it>
14900
14901         * tabular.C (AppendColumn): applied John's fix
14902
14903 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14904
14905         * BufferView.h:
14906         * BufferView.C:
14907         * BufferView_pimpl.h:
14908         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14909
14910         * Makefile.am:
14911         * box.h: new start of class for above
14912
14913         * lyxfunc.C: ignore space-only minibuffer dispatches.
14914           Show the command name when it doesn't exist
14915
14916         * minibuffer.C: don't add empty lines to the history
14917
14918         * minibuffer.C: add a space on dropdown completion
14919
14920 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * text.C: fix line above/below drawing in insets
14923
14924 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14925
14926         * lyxlength.C (LyXLength): Initialize private variables.
14927
14928 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14929
14930         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14931         when inserting error insets.
14932
14933 2001-12-13  Juergen Vigna  <jug@sad.it>
14934
14935         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14936         actually sometimes the before-paragraph.
14937         (setUndo): don't clear the redostack if we're not actually undoing!
14938
14939 2001-12-06  Juergen Vigna  <jug@sad.it>
14940
14941         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14942         and fixed redoing of main paragraph, so we can use it now ;)
14943
14944         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14945
14946 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14947
14948         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14949         Juergen's request
14950
14951 2001-12-13  André Pönitz <poenitz@gmx.net>
14952
14953         * undostack.[Ch]:
14954         * undo_func.C: minor cleanup
14955
14956 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14957
14958         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14959         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14960         font in urw-fonts package which is marked as -urw-fontspecific and
14961         does not work (incidentally, changing the encoding in the
14962         fonts.dir of this package to -adobe-fontspecific fixes the
14963         problem).
14964
14965         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14966         is a crash when undoing first paragraph (Juergen, please take a
14967         look). THis does not mean the undo fix is wrong, just that it
14968         uncovers problems.
14969
14970         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14971         the (Paragraph*) version when needed instead of duplicating the
14972         code.
14973
14974         * text.C (workWidth): use Inset::parOwner to find out where the
14975         inset has been inserted. This is a huge performance gain for large
14976         documents with lots of insets. If Inset::parOwner is not set, fall
14977         back on the brute force method
14978
14979         * paragraph_pimpl.C (insertInset):
14980         * paragraph.C (Paragraph):
14981         (cutIntoMinibuffer): set parOwner of insets when
14982         inserting/removing them
14983
14984         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14985
14986 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14987
14988         * commandtags.h:
14989         * LyXAction.C:
14990         * lyx_main.C:
14991         * lyxfunc.C:
14992         * mathed/formulabase.C:
14993         * mathed/math_cursor.[Ch]:
14994         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14995
14996
14997 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14998
14999         * lyxlength.[Ch] (operator!=): new function
15000
15001 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15002
15003         * text.C (workWidth): use Inset::parOwner to find out where the
15004         inset has been inserted. This is a huge performance gain for large
15005         documents with lots of insets. If Inset::parOwner is not set, fall
15006         back on the brute force method
15007
15008         * paragraph_pimpl.C (insertInset):
15009         * paragraph.C (Paragraph):
15010         (cutIntoMinibuffer): set parOwner of insets when
15011         inserting/removing them
15012
15013         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15014
15015 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15016
15017         * tabular-old.C (getTokenValue):
15018         * tabular.C (getTokenValue):
15019         (write_attribute): new versions for LyXLength
15020         (everywhere): adjust the use of widths
15021
15022         * tabular.h: change the type of widths from string to LyXLength
15023
15024 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15025
15026         * paragraph.C: fixed missing line number count when exporting
15027         Environments to LaTeX file
15028
15029         * buffer.C: added informational message for checking line numbers.
15030
15031 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15032
15033         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15034         paragraph, do the 'double space' part, but not the 'empty
15035         paragraph' one.
15036
15037         * text.C (workWidth): small optimization
15038         (getLengthMarkerHeight): use minimal size for negative lengths.
15039
15040 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15041
15042         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15043
15044         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15045
15046 2001-12-11  André Pönitz <poenitz@gmx.net>
15047
15048         * FontLoader.C:
15049         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15050
15051 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15052
15053         * text2.C: keep selection on a setFont()
15054
15055 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15056
15057         * lyx_cb.C: another bv->text misuse, from insert label
15058
15059 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15060
15061         * kbsequence.h:
15062         * kbsequence.C: re-instate nmodifier mask
15063
15064 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15065
15066         * lyx_main.h: make lyxGUI private.
15067
15068 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15069
15070         * lyxfind.C: place the cursor correctly on failed search
15071
15072 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15073
15074         * text.C (getLengthMarkerHeight): for small heights, the arrows
15075         are not always on top/bottom of the text
15076         (drawLengthMarker): smaller arrows; take the left margin in
15077         account; draw also vfills.
15078         (paintFirstRow):
15079         (paintLastRow): remove special code for vfill and standard spaces,
15080         since everything is handled in drawLengthMarker now.
15081
15082 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15083
15084         * buffer.C (insertErtContents): try to handle font and language
15085         interaction a bit better.g
15086
15087         * ColorHandler.C (updateColor): change the hash to cover the whole
15088         LColor enum, ws cleanup
15089         (getGCLinepars): ditto
15090         (getGCLinepars): only lookup in the linecache once.
15091
15092 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15093
15094         * iterators.C (operator++): Make the iterator more robust
15095
15096         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15097         (John's patch)
15098         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15099
15100 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15101
15102         * lyxtext.h:
15103         * text.C: better added space drawing
15104
15105 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15106
15107         * LyXView.C:
15108         * BufferView2.C: fix layout combo update on inset unlock
15109
15110 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15111
15112         * Makefile.am: don't compile unused files
15113
15114 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15115
15116         * lyxfunc.C:
15117         * commandtags.h:
15118         * LyXAction.C: remove old LFUN_LAYOUTNO
15119
15120 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15121
15122         * paragraph_pimpl.h:
15123         * paragraph_pimpl.C: isTextAt() doesn't need font param
15124
15125 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15126
15127         * lyxlex.h:
15128         * lyxlex.C: little cleanup
15129
15130 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15131
15132         * BufferView_pimpl.C: fix insertAscii for insets
15133
15134 2001-12-05  Juergen Vigna  <jug@sad.it>
15135
15136         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15137         set the right font on the "multi" paragraph paste!
15138
15139 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15140
15141         * trans_decl.h:
15142         * trans_mgr.[Ch]:
15143         * trans.[Ch]:
15144         * lyxgluelength.C:
15145         * lyxlength.C: remove out-commented code.
15146
15147         * BufferView_pimpl:
15148         * CutAndPaste.C:
15149         * DepTable.C:
15150         * buffer.C:
15151         * chset.C:
15152         * lastfiles.C:
15153         * lyxlex.C:
15154         * lyxlex_pimpl.C:
15155         * lyxserver.C:
15156         * screen.C:
15157         * tabular-old.C:
15158         * tabular.C:
15159         * text.C:
15160         * trans_mgr.C:
15161         * vc-backend.C: change "while(" to "while ("
15162
15163         * lyxlength.[Ch]: add zero function to check if length is zero or
15164         not
15165         * lyxgluelength.C: use it
15166
15167 2001-12-05  Allan Rae  <rae@lyx.org>
15168
15169         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15170         Works for 2.95.3, from what I understand of Garst's reports this should
15171         work for other g++ versions.  We're screwed if the abs(int) definition
15172         changed between bugfix releases of gcc.
15173
15174 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15175
15176         * text.C: fix chapter label offset !
15177
15178 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15179
15180         * lyxtext.h:
15181         * text.C: fix hfill at end of line, clean up
15182
15183 2001-12-04  Juergen Vigna  <jug@sad.it>
15184
15185         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15186         that we force an update of the inset and it's owners if neccessary.
15187
15188 2001-12-03  Juergen Vigna  <jug@sad.it>
15189
15190         * text.C (rowLast): simplified code
15191
15192 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15193
15194         * lyxfunc.C: fix show options on timeout
15195
15196 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15197
15198         * screen.C (topCursorVisible): scroll half a page when the cursor
15199         reached top of bottom of screen
15200
15201 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15202
15203         * minibuffer.C: deactivate on loss of focus
15204
15205 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15206
15207         * vspace.[Ch] (operator!=): add operator.
15208
15209 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15210
15211         * BufferView_pimpl.C: refuse to open an inset when
15212         there's a selection.
15213
15214 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * BufferView_pimpl.C: allow to click on RHS of full row insets
15217
15218 2001-11-30  Juergen Vigna  <jug@sad.it>
15219
15220         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15221         insets for undo reasons.
15222
15223 2001-11-28  André Pönitz <poenitz@gmx.net>
15224
15225         * vspace.[Ch]: cosmetical changes
15226
15227 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15228
15229         * LyXAction.h:
15230         * LyXAction.C:
15231         * lyxfunc.h:
15232         * lyxfunc.C:
15233         * kbmap.h:
15234         * kbmap.C:
15235         * lyxrc.C:
15236         * kbsequence.h:
15237         * kbsequence.C: part re-write of old kb code
15238
15239         * Painter.C:
15240         * WorkArea.C: remove Lgb_bug_find_hack
15241
15242 2001-11-30  José Matos <jamatos@fep.up.pt>
15243
15244         * buffer.C (makeDocBookFile): add a comment to point a hack.
15245         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15246         Fixed a double write of labels.
15247
15248 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15249
15250         * LaTeX.C:
15251         * LaTeX.h Fixed bug in LaTeX class where it would not
15252         re-run latex if no depfiles were changed, but the .dvi was removed.
15253
15254 2001-11-28  André Pönitz <poenitz@gmx.net>
15255
15256         * all the files from the change on 2001/11/26:
15257         use lyx::layout_type instead of LyXTextClass::size_type
15258         use lyx::textclass_type instead of LyXTextClassList::size_type
15259
15260 2001-11-29  Juergen Vigna  <jug@sad.it>
15261
15262         * text.C: added support for paragraph::isFreeSpacing()
15263
15264         * buffer.C: same as above
15265
15266         * paragraph.h: inserted isFreeSpacing() function to enable
15267         FreeSpacing inside InsetERT.
15268
15269         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15270         of the paragraph's in the cut/copy buffer to 0!
15271
15272         * text2.C (removeRow): remove the assert as it can!
15273
15274         * lyxtext.h: added helper function firstRow returning firstrow and
15275         made firstrow private again.
15276
15277         * BufferView2.C (lockInset): don't relock if we're already locked!
15278
15279         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15280         the only paragraph.
15281         (removeRow): added Assert::(firstrow)
15282
15283         * debug.C: forgot to add INSETTEXT here.
15284
15285 2001-11-28  Juergen Vigna  <jug@sad.it>
15286
15287         * sp_spell.C (initialize): changed error text to more general
15288         spellchecker command use (not only ispell!)
15289
15290         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15291
15292         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15293
15294 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15295
15296         * vspace.C: initialise lyxgluelength on failure
15297
15298 2001-11-28  Allan Rae  <rae@lyx.org>
15299
15300         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15301         declaration & definition that looks like a function declaration.
15302
15303 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15304
15305         * BufferView2.C (copy):
15306         (copyEnvironment): do not clear the selection when doing a copy.
15307
15308         * text.C (paintFirstRow): compilation fix
15309
15310 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15311
15312         * tabular.C (Latex): correct line count when writing latex.
15313
15314 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15315
15316         * paragraph_pimpl.h:
15317         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15318           bug a bit
15319
15320 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15321
15322         * text.C:
15323         * LColor.h:
15324         * LColor.C: change vfillline->added_space
15325
15326         * text.C: add markers and text for added space
15327
15328         * vspace.C: fix comment
15329
15330 2001-11-28  André Pönitz <poenitz@gmx.net>
15331
15332         * paragraph.C: whitespace changes
15333         * all the other files from the change on 2001/11/26:
15334         change *::pos_type into lyx::pos_type
15335
15336 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15337
15338         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15339         language of the document when inserting error insets.
15340
15341 2001-11-26  André Pönitz <poenitz@gmx.net>
15342
15343         * BufferView_pimpl.[Ch]:
15344         *       CutAndPaste.C:
15345         * buffer.[Ch]:
15346         * lyxcursor.[Ch]:
15347         * lyxfind.C:
15348         * lyxfunc.C:
15349         * lyxrow.[Ch]:
15350         * paragraph.[Ch]:
15351         * paragraph_pimpl.[Ch]:
15352         * sp_spell.C:
15353         * text.C:
15354         * text2.C: reduce header dependencies, introduce type for positions
15355
15356 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15357
15358         * <various>: change to use Alert.h
15359
15360 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15361
15362         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15363         when encountering an unknown token.
15364         (readLyXformat2): Show an error message if there were unknown tokens.
15365
15366 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15367
15368         * BufferView2.C:
15369         * BufferView_pimpl.C:
15370         * buffer.C:
15371         * paragraph.h:
15372         * text.C:
15373         * text2.C: use par->isInset()
15374
15375 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15376
15377         * paragraph_pimpl.h:
15378         * paragraph_pimpl.C: cleanup
15379
15380 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15381
15382         * text2.C (removeRow):
15383         * text.C (setHeightOfRow): remove useless (and costly) call to
15384         getRow.
15385
15386 2001-11-20  Allan Rae  <rae@lyx.org>
15387
15388         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15389         Now need Inset*::checkInsertChar() to return true for appropriate
15390         cases so that the characters in the minibuffer will actually be
15391         inserted.
15392
15393 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15394
15395         * text.C: change the order of the includes.
15396         (workWidth): initialize it at once.
15397         (workWidth): make maxw unsigned
15398         (setHeightOfRow): remove unused variable (inset)
15399         (selectSelectedWord): remove unused variable (inset)
15400         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15401
15402 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15403
15404         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15405         server is not running.
15406         (openConnection):
15407         (closeConnection): add debug info when server is disabled.
15408
15409         * ColorHandler.C (getGCForeground): send debug message to GUI
15410         channel.
15411
15412         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15413
15414         * kbmap.C (bind): modify because return conventions of
15415         kb_sequence::parse have changed.
15416
15417         * kbsequence.C (parse): only ignore spaces and not any stupid
15418         control character. This avoids tests like s[i] <= ' ', which are
15419         guaranteed to fail with 8bit characters and signed chars.
15420         Change return code to string::npos when there have been no error
15421         (0 was a bad idea when error is at first character)
15422
15423 2001-11-14  José Matos  <jamatos@fep.up.pt>
15424
15425         * buffer.h:
15426         * buffer.C (simpleDocBookOnePar): removed unused argument.
15427
15428 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15429
15430         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15431         insets which are part of a word. Paragraph::isLetter takes care of
15432         that now. Use Paragraph::isInset to identify insets.
15433         (selectSelectedWord): do not test for hyphenation break.
15434
15435         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15436         that protected spaces are considered as spaces.
15437
15438         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15439         Inset::isLetter.
15440
15441 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15442
15443         * lyxserver.h:
15444         * lyxserver.C: fix it. and small cleanup.
15445
15446 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15447
15448         * BufferView_pimpl.C: use inline helpers
15449
15450         * LaTeXFeatures.h:
15451         * LaTeXFeatures.C: fix typos
15452
15453         * Spacing.h:
15454         * Spacing.C: move spacing_string into class
15455
15456         * ToolbarDefaults.C: move stuff into namespace anon
15457
15458         * layout.h: update enum
15459
15460         * lyxfunc.C: use better debug
15461
15462         * minibuffer.h: fix typo
15463
15464         * debug.h:
15465         * debug.C:
15466         * WorkArea.C: add and use Debug::WORKAREA
15467
15468         * lyxtext.h:
15469         * text.C:
15470         * text2.C: code re-organisation, inline helpers
15471
15472 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15473
15474         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15475         std::vector.empty().
15476
15477 2001-11-09  Allan Rae  <rae@lyx.org>
15478
15479         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15480         '\n's after tables.  Tabular and ERT inset work now makes this no
15481         longer necessary.
15482
15483 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15484
15485         * minibuffer.h:
15486         * minibuffer.C: fix crash, improve drop-down completion
15487
15488 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15489
15490         * lyxserver.h:
15491         * lyxserver.C: invalidate fd's when doing endPipe()
15492
15493 2001-11-08  José Matos  <jamatos@fep.up.pt>
15494
15495         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15496         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15497
15498         * paragraph.h:
15499         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15500
15501 2001-11-07  José Matos  <jamatos@fep.up.pt>
15502
15503         * buffer.h:
15504         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15505         const qualifier.
15506
15507         * buffer.C (sgmlOpenTag):
15508         * buffer.C (sgmlCloseTag): removed debug info.
15509
15510         * buffer.h (sgmlOpenTag):
15511         * buffer.h (sgmlCloseTag): made public.
15512
15513 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15514
15515         * buffer.C (saveParamsAsDefaults):
15516         * lyx_cb.C (MenuLayoutSave): remove
15517
15518         * LyXAction.C (init):
15519         * commandtags.h:
15520         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15521
15522 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15523
15524         * buffer.C (setPaperStuff): removed from here...
15525
15526         * bufferparams.C (setPaperStuff): ... and moved there.
15527
15528 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15529
15530         * minibuffer.h:
15531         * minibuffer.C:
15532         * XFormsView.C: add support for drop-down completion
15533
15534 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15535
15536         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15537         commands.
15538
15539 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15540
15541         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15542         disabled.
15543
15544 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15545
15546         * lyx_main.C: change ref to known bugs
15547
15548 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15549
15550         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15551         to work around older babel problems.
15552
15553 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15554
15555         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15556
15557 2001-10-24  Juergen Vigna  <jug@sad.it>
15558
15559         * tabular-old.C (ReadOld): below variable changes reflected.
15560
15561         * tabular.[Ch]: added ltType struct for longtable header/footer
15562         defines and changed all instances where they are used. Added
15563         future support for double top/bottom rows.
15564
15565 2001-10-24  José Matos  <jamatos@fep.up.pt>
15566
15567         * buffer.h (docbookHandleCaption):
15568         * buffer.C (docbookHandleCaption): removed unused function.
15569         (makeDocBookFile): moved docbook supported version to v4.1.
15570
15571 2001-10-24  José Matos  <jamatos@fep.up.pt>
15572
15573         * tabular.h:
15574         * tabular.C (docbookRow): new function to export docbook code of a row.
15575         (DocBook): now honors the longtable flags.
15576
15577 2001-10-23  José Matos  <jamatos@fep.up.pt>
15578
15579         * LaTeXFeatures.h:
15580         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15581         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15582
15583         * buffer.C (makeLinuxDocFile):
15584         (makeDocBookFile): reworked the preamble, more clean, and with
15585         support for lyx defined entities. Changed the document declaration
15586         to be more XML friendly.
15587
15588         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15589         if we need to output XML that should be done with a filter.
15590
15591 2001-10-22  Juergen Vigna  <jug@sad.it>
15592
15593         * sp_pspell.h (class PSpell): add alive function needed in the
15594         controller to see if the spellchecker could be started.
15595
15596 2001-10-22  Juergen Vigna  <jug@sad.it>
15597
15598         * buffer.C (insertStringAsLines): modify the font for inserting
15599         chars in certain conditions by calling checkInsertChar(font).
15600
15601 2001-10-19  Juergen Vigna  <jug@sad.it>
15602
15603         * text.C (workWidth): use getRow instead of wrong algorithm.
15604         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15605
15606 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15607
15608         * lyxserver.h:
15609         * lyxserver.C:
15610         * lyx_main.h:
15611         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15612
15613 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15614
15615         * text.C (workWidth): do not search for the exact row when
15616         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15617         optimization for big documents.
15618
15619 2001-10-18  Juergen Vigna  <jug@sad.it>
15620
15621         * text.C (workWidth): new function with added Inset * parameter.
15622
15623 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15624
15625         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15626
15627         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15628         change return type of getColumnNearX.
15629
15630
15631         * text.C (changeRegionCase): use uppercase/lowercase instead of
15632         toupper/tolower.
15633         (leftMargin):
15634         (rightMargin): simplify code by factoring out the uses of
15635         textclasslist.
15636         (labelFill):
15637         (numberOfHfills):
15638         (setHeightOfRow):
15639         (appendParagraph): use Paragraph::size_type
15640
15641 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15642
15643         * vspace.C (asLatexString): add a missing break
15644
15645 2001-10-15  Herbert Voss  <voss@perce.de>
15646
15647         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15648
15649 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15650
15651         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15652         is not available.
15653
15654 2001-10-10  André Pönitz <poenitz@gmx.net>
15655
15656         * lyxfunc.C: removed greek_kb_flag.
15657
15658 2001-10-10  Herbert Voss  <voss@perce.de>
15659
15660         * lyx_main.C: delete global string help_lyxdir.
15661
15662 2001-10-09  Herbert Voss  <voss@perce.de>
15663
15664         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15665
15666         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15667
15668         * lyx_main.C: added global string help_lyxdir.
15669
15670         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15671
15672 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15673
15674         * lyxrc.C (set_font_norm_type): support iso8859-4
15675
15676 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15677
15678         * LaTeX.C (deplog): add another regex for MikTeX
15679
15680 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15681
15682         * lyxrc.C (set_font_norm_type): support iso8859-3
15683
15684 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15685
15686         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15687
15688         * LaTeXFeatures.C: remove special case of french and index
15689
15690         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15691         before \begin{document}). This solves several incompatibilities.
15692
15693 2001-10-03  Garst Reese  <reese@isn.net>
15694
15695         * lyx_cb.C: change CheckTex error msg.
15696
15697 2001-10-03  José Matos  <jamatos@fep.up.pt>
15698
15699         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15700
15701 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15702
15703         * .cvsignore: update
15704
15705         * lyx_main.C (commandLineVersionInfo): use new style version info.
15706
15707         * buffer.C (writeFile):
15708         (makeLaTeXFile):
15709         (makeLinuxDocFile):
15710         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15711
15712         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15713
15714         * version.h: update to use stuff in version.C
15715
15716         * version.C.in: new file. Contains version information determined
15717         at compile time. This is a merging of version.h and
15718         version_info.h.in.
15719
15720 2001-10-03  Juergen Vigna  <jug@sad.it>
15721
15722         * BufferView_pimpl.C (update): don't change "dirty" status in
15723         updateInset call.
15724
15725 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15726
15727         * WorkArea.C (c-tor): re-position version string slightly.
15728
15729 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15730
15731         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15732         revert to previous code.
15733
15734         WorkArea.[Ch]: (show, destroySplash): methods removed.
15735
15736         WorkArea.C: rework code so that it's an amalgam of the codes before and
15737         after the splash screen was moved to WorkArea.
15738
15739 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15740
15741         * lyxrc.C (read):
15742         * vspace.C (inPixels):
15743         (lyx_advance):
15744         * kbmap.C (bind):
15745         * buffer.C (insertStringAsLines):
15746         (asciiParagraph): fix types to be large enough
15747
15748         * lyxlex_pimpl.h: change member status from short to int
15749
15750         * layout.h: fix type of endlabeltype
15751
15752         * kbmap.C (bind):
15753         * kbsequence.C (parse): change return type to string::size_type
15754
15755         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15756         variable
15757
15758         * Bullet.C (bulletSize):
15759         (bulletEntry): do not use short ints as parameters
15760
15761         * BufferView2.C (insertLyXFile): change a char to an int.
15762
15763         * WorkArea.C (WorkArea): remove unneeded floats in computation
15764
15765 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15766
15767         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15768
15769         * paragraph.C (asString): Do not ignore newline/hfill chars when
15770         copying to the clipboard.
15771
15772 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15773
15774         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15775         after a multi-line inset.
15776
15777 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15778
15779         * paragraph.C (validate): Set NeedLyXFootnoteCode
15780
15781 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15782
15783         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15784         and decrease-error to decrease.
15785
15786 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15787
15788         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15789         it more readable (should be equivalent)
15790
15791 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15792
15793         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15794
15795 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15796
15797         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15798         of a cursor (row, etc.) after a character has been deleted
15799         (deleteEmptyParagraphMechanism): call the method above on _all_
15800         cursors held by the LyXText when a double space has been
15801         detected/deleted.
15802
15803 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15804
15805         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15806         pixmap.
15807         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15808
15809         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15810         background. Use greyOut() and the new show() methods to toggle between
15811         the foreground and background. Add code to remove the splash after
15812         its initial showing.
15813
15814         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15815         (create_forms): no longer call Dialogs::showSplash.
15816
15817 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15818
15819         * .cvsignore: add version_info.h
15820
15821 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15822
15823         * version_info.h.in: new file
15824
15825         * Makefile.am: add version_info.h.in
15826
15827         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15828         version_info.h instead of VERSION_INFO
15829
15830 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15831
15832         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15833         The ERT inset now returns string().
15834
15835 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15836
15837         * lyxtext.h, text.C (selectNextWord): renamed as
15838         selectNextWordToSpellcheck.
15839
15840         * text.C (selectNextWordToSpellcheck): Modified to not select
15841         words inside an ERT inset.
15842
15843 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15844
15845         * lyx_cb.C (MenuLayoutSave): change a bit the question
15846
15847         * sp_base.h: include <sys/types.h>
15848
15849 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15850
15851         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15852
15853 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15854
15855         * several files: fix typos in user-visible strings
15856
15857 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15858
15859         * text2.C (pasteSelection): do not set the selection, since it
15860         will be cleared later. Actually, the intent was to fix the way the
15861         selection was set, but I figured rmoving the code was just as good.
15862
15863 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15864
15865         * FontLoader.C (available): Check if font is available without
15866         loading the font.
15867
15868 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15869
15870         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15871
15872 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15873
15874         * lyxrc.[Ch]: added display_graphics variable and associated code.
15875
15876 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15877
15878         * bufferparams.C (hasClassDefaults): new method. Returns true if
15879         the buffer parameters correspond to known class defaults
15880
15881 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15882
15883         * XFormsView.C (show): set minimum size to the main window.
15884
15885 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15886
15887         * text2.C (copySelection):
15888         (cutSelection):
15889         * lyxfind.C (LyXReplace):
15890         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15891         LyXText::selectionAsString.
15892
15893         * paragraph.C (asString): add "label" argument to the second form
15894
15895         * text2.C (selectionAsString): add "label" argument and pass it to
15896         Paragraph::asString.
15897
15898 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15899
15900         * lyx_main.C (commandLineHelp): remove version information
15901
15902 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15903
15904         * lyx_main.C: add -version commandline option
15905
15906 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15907
15908         * paragraph.h: make the optional constructor arg required instead.
15909         some modifications to other files because of this.
15910
15911         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15912
15913         * lyxserver.C (C_LyXComm_callback): make it static
15914
15915         * lyx_main.C (error_handler): make it static
15916
15917         * lyx_gui.C (LyX_XErrHandler): make it static
15918
15919         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15920
15921         * WorkArea.C: make the extern "C" methods static.
15922
15923         * Makefile.am (lyx_LDADD): simplify
15924
15925 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15926
15927         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15928         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15929
15930         * LyXAction.C (init):
15931         * lyxfunc.C (dispatch): associated code removal.
15932
15933 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15934
15935         * lyxfont.h (isSymbolFont): shut off warning
15936
15937         * text.C (setHeightOfRow):
15938         (getVisibleRow): fix crash with empty paragraphs which have a
15939         bottom line
15940
15941 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15942
15943         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15944         code.
15945
15946 2001-09-04  José Matos  <jamatos@fep.up.pt>
15947         * buffer.C
15948         * buffer.h
15949         * tabular.C (docbook): rename docBook method to docbook.
15950
15951 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15952
15953         * Makefile.am: add dependencies to main.o.
15954
15955 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15956
15957         * FontLoader.C (available): Return false if !lyxrc.use_gui
15958
15959 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15960
15961         * FontInfo.C (query):
15962         * converter.C (view):
15963         * importer.C (Import):
15964         * exporter.C (Export): Can not -> cannot.
15965
15966 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15967
15968         * BufferView_pimpl.C: allow to create index inset even if
15969           string is empty
15970
15971 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15972
15973         * buffer.C (getLists): replace boost::tie code with an explicit pair
15974         as boost::tie can break some compilers.
15975
15976         * iterators.h: Added a std:: declaration to the return type of
15977         ParIterator::size.
15978
15979 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15980
15981         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15982           case.
15983
15984 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15985
15986         * iterators.[Ch]: New files. Provide paragraph iterators.
15987
15988         * buffer.C (changeLanguage): Use paragraph iterators.
15989         (isMultiLingual): ditto
15990
15991         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15992
15993 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15994
15995         * FontLoader.C: Support for cmr font.
15996
15997 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15998
15999         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16000         (available): New method.
16001
16002         * FontInfo.C (getFontname): Use scalable fonts even when
16003         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16004         found.
16005
16006 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16007
16008         * converter.C (Formats::view): reverted! Incorrect fix.
16009
16010 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16011
16012         * converter.C (Formats::view): only output the -paper option
16013         if the dvi viewer is xdvi, thereby fixing bug #233429.
16014
16015 2001-08-23  Herbert Voss  <voss@perce>
16016
16017         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16018
16019 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
16020
16021         * Spacing.h (Spacing): Set space to Default on in the default
16022         constructor.
16023
16024 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16025
16026         * vc-backend.h (RCS::versionString): add RCS to version
16027         (CVS::versionString): add CVS to version
16028
16029         * vc-backend.C (scanMaster): do not add CVS to version.
16030         (scanMaster): do not add RCS to version
16031
16032         * lyxvc.C (versionString): new method
16033
16034         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16035
16036 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16037
16038         * Spacing.C (set): initialize fval
16039
16040 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16041
16042         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16043         " or \.
16044
16045 2001-08-16  Juergen Vigna  <jug@sad.it>
16046
16047         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16048
16049 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16050
16051         * BufferView_pimpl.C:
16052         * figureForm.C:
16053         * lyxtext.h:
16054         * text2.C: setParagraph takes linespacing now
16055
16056 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16057
16058         * LyxAction.C: add internal LFUN_CITATION_INSERT
16059
16060         * LyXView.C: actually apply fix
16061
16062         * bufferlist.C: fix open non-existent file
16063
16064         * lyxfind.C: fix indentation
16065
16066         * lyxfunc.C: remove unneeded assert, fix typo
16067
16068 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16069
16070         * MenuBackend.C: use "Floatname List"
16071
16072 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16073
16074         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16075         when converting LaTeX layout to insetERT.
16076         Generate a non-collapsed float when reading old float
16077
16078 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16079
16080         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16081         ERT insets.
16082
16083 2001-08-13  Juergen Vigna  <jug@sad.it>
16084
16085         * text.C (fill): return 0 instead of 20 as this seems to be the more
16086         correct value.
16087
16088 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16089
16090         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16091         lyxrc.font_norm.
16092
16093 2001-08-13  Juergen Vigna  <jug@sad.it>
16094
16095         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16096         casesensitive off.
16097         (SearchBackward): comment out the unlocking of the inset_owner this
16098         should not be needed!
16099
16100 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16101
16102         * Many files: Remove inherit_language, and add latex_language
16103
16104         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16105         collapsible insets.
16106
16107 2001-08-10  Juergen Vigna  <jug@sad.it>
16108
16109         * text.C (prepareToPrint): fixed hfill-width in draw!
16110
16111         * BufferView2.C (selectLastWord): save the selection cursor as this
16112         now is cleared in the function LyXText::clearSelection!
16113
16114 2001-08-08  Juergen Vigna  <jug@sad.it>
16115
16116         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16117         BACKSPACE type functions.
16118
16119         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16120         is only cutted from the document but not put in the cut-buffer, where
16121         still the old stuff should be.
16122
16123         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16124
16125         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16126
16127         * tabular.C (SetWidthOfCell): fixed special case where the width
16128         was not updated!
16129         (LeftLine): handle '|' in align_special.
16130         (RightLine): ditto
16131         (LeftAlreadyDrawed): ditto
16132         (SetWidthOfCell): ditto
16133
16134 2001-08-07  Juergen Vigna  <jug@sad.it>
16135
16136         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16137
16138 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16139
16140         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16141         * lyxlex.[hC]: ditto
16142
16143 2001-08-06  Juergen Vigna  <jug@sad.it>
16144
16145         * text.C (getVisibleRow): fix up row clearing a bit.
16146
16147 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16148
16149         * minibuffer.C: make sure the X server sees the changes in the input.
16150
16151 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16152
16153         * paragraph.C (getFont): split into...
16154         (getLabelFont): this
16155         (getLayoutFont): and this
16156         * paragraph_pimpl.C (realizeFont): calling this
16157
16158         * text2.C (getFont): split into...
16159         (getLayoutFont): this
16160         (getLabelFont): and this
16161         (realizeFont): all three calling this
16162
16163         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16164         files where used.
16165
16166 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16167
16168         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16169
16170 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16171
16172         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16173         layouts from the Quote inset insertion.
16174
16175 2001-08-03  Juergen Vigna  <jug@sad.it>
16176
16177         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16178
16179         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16180         only if status not is already CHANGED_IN_DRAW (second level).
16181
16182         * text.C (draw): don't set the need_break_row when inside an
16183         InsetText LyXText.
16184
16185 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16186
16187         * buffer.C (parseSingleLyXformat2Token): handle more latex
16188         conversion cases.
16189
16190         * bufferview_funcs.[hC]: change function names to
16191         begin with small char, adjust other files.
16192
16193 2001-08-02  André Pönitz <poenitz@gmx.net>
16194
16195         * lyxfunc.C:
16196         BufferView_pimpl.C: remove broken special code for math-greek
16197
16198 2001-08-02  Juergen Vigna  <jug@sad.it>
16199
16200         * BufferView_pimpl.C (update): redone this function so that we
16201         update the text again if there was a CHANGE_IN_DRAW.
16202
16203         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16204         (drawFromTo): added a new internal bool which is used by draw() and
16205         redraw() function.
16206         (general): some cursor drawing problems fixed.
16207
16208 2001-08-01  Juergen Vigna  <jug@sad.it>
16209
16210         * lyxfind.C (LyXFind): fixed
16211         (SearchForward): ditto
16212         (SearchBackward): ditto
16213
16214         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16215         spurius drawing of the cursor in the main area.
16216
16217         * text2.C (status): small fix which could lead to a segfault!
16218         (clearSelection): remove unneeded BufferView param.
16219
16220 2001-08-01  André Pönitz <poenitz@gmx.net>
16221
16222         * lyxfunc.C: small change due to changed mathed interface
16223
16224 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16225
16226         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16227
16228 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16229
16230         * lyxfunc.c: fail gracefully if file doesn't exist
16231
16232         * LyXSendto.C:
16233         * buffer.C:
16234         * lyxfunc.C:
16235         * BufferView_pimpl.C: IsDirWriteable() proto changed
16236
16237         * LyXView.C: fix updateWindowTitle() to store the last title
16238
16239 2001-07-31  Juergen Vigna  <jug@sad.it>
16240
16241         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16242         the font (wrong since using of Paragraph::highestFontInRange).
16243
16244         * paragraph.C (highestFontInRange): added a default_size parameter.
16245
16246         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16247         (setHeightOfRow): reformat
16248
16249 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16250
16251         * converter.[hC] + affected files: move to (inital-char)lowercase
16252         function names.
16253
16254         * ParagraphParameters.C (ParagraphParameters): remove commented code
16255
16256         * PainterBase.[Ch]: remove commented code
16257
16258         * LaTeXFeatures.h: add "bool floats" for float.sty
16259
16260         * LaTeXFeatures.C (LaTeXFeatures): init floats
16261         (require): handle float
16262         (getPackages): do it with floats
16263
16264 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16265
16266         * BufferView_pimpl.C (Dispatch): improve handling of
16267         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16268
16269         * commandtags.h: #include lyxfont.h here temporarily to avoid
16270         keybinding bug.
16271
16272         * bufferlist.h: include LString.h here.
16273
16274 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16275
16276         * text2.C (getStringToIndex): new method.
16277
16278 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16279
16280         * *: Reduced header file dependencies all over.
16281
16282 2001-07-30  Baruch Even  <baruch@lyx.org>
16283
16284         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16285
16286 2001-07-29  Baruch Even  <baruch@lyx.org>
16287
16288         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16289
16290 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16291
16292         * ParameterStruct.h (endif): add a default constructor to make
16293         sure that all variables is initialized.
16294
16295         * ParagraphParameters.C (ParagraphParameters): adjust
16296
16297 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16298
16299         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16300         index; also, check that there is something to index, and that it
16301         does not span over several paragraphs.
16302         (doubleClick): use WHOLE_WORD_STRICT for double click.
16303
16304         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16305
16306         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16307         scheme.
16308
16309 2001-07-26  Baruch Even  <baruch@lyx.org>
16310
16311         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16312         an InsetFig figure, backwards compatible reading of old figure code.
16313
16314 2001-07-27  Juergen Vigna  <jug@sad.it>
16315
16316         * text2.C: font.realize function adaption.
16317
16318         * text.C (draw): add a warnings lyxerr text if needed.
16319
16320         * layout.C: font.realize function adaption.
16321
16322         * language.C: add inherit_language and implement it's handlings
16323
16324         * bufferview_funcs.C (StyleReset): remove language parameter from
16325         font creation (should be language_inherit now).
16326
16327         * bufferparams.C (writeFile): handle ignore_language.
16328
16329         * paragraph.C (getFontSettings): the language has to be resolved
16330         otherwise we have problems in LyXFont!
16331
16332         * lyxfont.C (lyxWriteChanges): added document_language parameter
16333         (update): removed unneeded language parameter
16334
16335         * paragraph.C (validate): fixed wrong output of color-package when
16336         using interface colors for certain fonts in certain environments,
16337         which should not seen as that on the final output.
16338
16339 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16340
16341         * BufferView_pimpl.C:
16342         * Thesaurus.h:
16343         * Thesaurus.C:
16344         * Makefile.am:
16345         * commandtags.h:
16346         * LyXAction.C: add thesaurus support
16347
16348         * lyxfind.h:
16349         * lyxfind.C: add "once" parameter, for thesaurus, to not
16350           move to the next match
16351
16352 2001-07-26  Juergen Vigna  <jug@sad.it>
16353
16354         * lyxfont.C (realize): honor ignore_language too!
16355         (resolved): ditto.
16356
16357         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16358
16359         * text.C (draw): one place more for ignore_language to not draw
16360         itself!
16361
16362 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16363
16364         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16365
16366 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16367
16368         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16369         the minipage conversion problem.
16370
16371 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16372
16373         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16374         insert an inset.
16375
16376 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16377
16378         * BufferView.h: don't forward declare WorkArea
16379
16380         * BufferView.C: don't include WorkArea.h
16381
16382 2001-07-25  André Pönitz <poenitz@gmx.net>
16383
16384         * commandtags.h:
16385         * LyXAction.C:
16386         * lyxfunc.C:  new LFUN 'math-space'
16387
16388         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16389
16390 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16391
16392         * text2.C (toggleInset): call open/close
16393
16394 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16395
16396         * lyxfunc.C (dispatch): add debug for the disabled case
16397
16398         * font.C (buttonText): make similar to rectText
16399
16400         * buffer.C (readInset): comment out parsing of insetlist and
16401         insttheorem
16402
16403         * PainterBase.C (rectText): small correction
16404
16405         * BufferView_pimpl.C: comment out insettheorem and insetlist
16406         * LyXAction.C: ditto
16407         * commandtags.h: ditto
16408
16409 2001-07-24  Juergen Vigna  <jug@sad.it>
16410
16411         * text.C (draw): honor the ignore_language.
16412
16413         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16414
16415 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16416
16417         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16418         char inset.
16419
16420 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16421
16422         * lyxtext.h: remove unused (and unimplemented) methods
16423
16424 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16425
16426         * text.C (getVisibleRow): honor background color
16427
16428         * PainterBase.h:
16429         * Painter.h: remove default color argument for fillRectangle
16430
16431         * text.C (backgroundColor): new method
16432
16433 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16434
16435         * text.C (getVisibleRow): adjust
16436
16437         * font.[Ch] (rectText): new method, metrics
16438         (buttonText): new method, metrics
16439
16440         * PainterBase.[hC]: make rectText and buttonText always draw and take
16441         fewer paramteres.
16442
16443 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16444
16445         * ToolbarDefaults.C (read):
16446         * MenuBackend.C (read): allow escaping in all strings
16447
16448         * BufferView_pimpl.C (insertAndEditInset): new method.
16449         (Dispatch): use insertAndEditInset whenever appropriate.
16450
16451         * BufferView_pimpl.C (insertNote): removed
16452
16453         * BufferView_pimpl.C (smartQuote): new method, moved from
16454         BufferView; if an insetquote cannot be inserted, insert a '"'
16455         character instead.
16456
16457         * BufferView2.C: remove insertCorrectQuote();
16458
16459         * lyxfunc.C (getStatus): Add support for all remaingin
16460         inset-insert lfuns.
16461
16462         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16463
16464         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16465         command (necessary to pass " as parameter of self-insert.
16466
16467         * text.C (selectWordWhenUnderCursor):
16468         (selectWord): add word_location parameter
16469         (selectWordWhenUnderCursor): same + remove special code for word
16470         boundary.
16471         (selectNextWord): use kind() to guess type of insetspecialchar,
16472         not latex().
16473
16474         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16475         (insertErtContents): create ert insets as collapsed.
16476         (readInset): better compatibility code for Info inset.
16477
16478 2001-07-20  Juergen Vigna  <jug@sad.it>
16479
16480         * lyxfunc.C (dispatch): use always LyXFind now!
16481
16482         * text2.C (init): add a reinit flag so that the LyXText can be
16483         reinited instead of deleted and reallocated (used in InsetText).
16484
16485         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16486
16487         * text.C: ditto
16488
16489         * text2.C: ditto
16490
16491 2001-07-18  Juergen Vigna  <jug@sad.it>
16492
16493         * text.C (selectNextWord): handle insets inside inset by calling
16494         always the bv->text functions so that we can go up the_locking_inset!
16495
16496         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16497         in strange locations when inside an inset!
16498
16499         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16500         handling to include insets.
16501
16502         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16503
16504 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16505
16506         * LyXAction.C (init):
16507         * commandtags.h:
16508         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16509         LIGATURE_BREAK, since the name is so stupid.
16510
16511 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16512
16513         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16514         InsetInfos.
16515
16516         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16517
16518         * sp_form.[Ch]: remove.
16519
16520         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16521
16522         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16523         InsetInfo.
16524
16525         * src/buffer.C (readInset): ditto.
16526
16527 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16528
16529         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16530         menuSeparator(), endOfSentenceDot(), ldots() and
16531         hyphenationPoint(), which are therefore removed.
16532         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16533
16534         * LyXAction.C (init):
16535         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16536
16537         * paragraph.C (getWord): removed.
16538
16539         * BufferView_pimpl.C (Dispatch): use last word or selection for
16540         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16541
16542         * lyx_main.C (queryUserLyXDir): do not ask before creating
16543         user_dir, except if it has been named explicitely.
16544
16545 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16546
16547         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16548         a document of zero size.
16549
16550 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16551
16552         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16553         approriately in the c-tor and in require().
16554         (getPackages): output the appropriate LaTeX for natbib support.
16555
16556         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16557         variables "use_natbib" and "use_numerical_citations" when reading the
16558         LyX file.
16559         (readInset): read the various natbib cite commands.
16560         (validate): white-space change.
16561
16562         * bufferparams.[Ch]: new variables "bool use_natbib" and
16563         "bool use_numerical_citations".
16564         (writeFile): output them in the LyX file.
16565
16566 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16567
16568         * lyxfunc.C (getStatus): add support for all the inset insertion
16569         commands.
16570
16571         * text2.C (insertInset):
16572         * paragraph.C (insetAllowed):
16573         * BufferView_pimpl.C (insertInset): update to take in account the
16574         renaming of insertInsetAllowed
16575
16576         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16577
16578         * text2.C (getInset): new method. returns inset at cursor position.
16579
16580         * BufferView_pimpl.C (Dispatch): changes because of this.
16581
16582         * LyXAction.C (init): rename open-stuff to inset-toggle.
16583
16584         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16585
16586         * text2.C (toggleInset): renamed from openStuff; use
16587         Inset::open().
16588
16589 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16590
16591         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16592
16593         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16594
16595 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16596
16597         * buffer.C (readLyXformat2): Add filename to the error dialog
16598
16599 2001-07-18  Juergen Vigna  <jug@sad.it>
16600
16601         * tabular.C (GetCellNumber): put an assert here instead of the check!
16602
16603 2001-07-17  Juergen Vigna  <jug@sad.it>
16604
16605         * BufferView_pimpl.C (toggleSelection): adapted too.
16606
16607         * text.C (selectNextWord): adapted for use with insets.
16608         (selectSelectedWord): ditto
16609
16610 2001-07-17  Juergen Vigna  <jug@sad.it>
16611
16612         * sp_spell.C (PSpell): fix initialitation order.
16613
16614 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16615
16616         * paragraph.C: spacing
16617
16618 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16619
16620         * sp_spell.C: repair language selection for pspell
16621
16622 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16623
16624         * lyxfunc.h: change more methods to begin with lower char.
16625
16626 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16627
16628         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16629         for unknown layouts.
16630
16631 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16632
16633         * buffer.C (readLyXformat2): Generate an error dialog if there are
16634         unknown layouts.
16635
16636 2001-07-16  Juergen Vigna  <jug@sad.it>
16637
16638         * sp_spell.C: always compile ISpell part.
16639
16640         * lyxrc.C: added use_pspell entry and it's handling.
16641
16642 2001-07-13  Juergen Vigna  <jug@sad.it>
16643
16644         * sp_spell.C: removed double includes.
16645
16646 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16647
16648         Consistent use of Lsstream.h:
16649         * Lsstream.h: added using std::stringstream for consistencies sake.
16650
16651         * buffer.C: removed using std::stringstream
16652
16653         * lyxfont.C (stateText):
16654         * paragraph.C (asString):
16655         * text.C (selectNextWord, selectSelectedWord):
16656         * text2.C (setCounter):
16657         * vspace.C (asString, asLatexString):
16658         std::ostringstream -> ostringstream.
16659
16660 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16661
16662         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16663         * commandtags.h: add LFUN_HELP_ABOUTLYX
16664         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16665
16666 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16667
16668         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16669         cursorToggle()
16670         * lyx_gui_misc.C: remove spellchecker
16671         * lyxfunc.C: showSpellchecker
16672         * sp_base.h: added
16673         * sp_ispell.h: added
16674         * sp_pspell.h: added
16675         * sp_spell.C: added
16676         * sp_form.[Ch]: removed
16677         * spellchecker.[Ch]: removed
16678
16679 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16680
16681         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16682         is set.
16683         (simpleTeXSpecialChars): Simply print the input character without
16684         any special translation if pass_thru is set.
16685
16686         * layout.h: Added bool pass_thru to layout class for being able to
16687         implement pass through of a paragraph for Literate Programming.
16688
16689         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16690         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16691         * layout.C (Read): add "passthru" to list of layout tags and add
16692         code to set the pass_thru boolean when it is read.
16693
16694 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16695
16696         * trans_decl.h: remove allowed from KmodInfo
16697
16698         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16699         remove allowed code
16700         (Load): adjust
16701
16702         * paragraph_pimpl.C (erase): use boost::prior
16703
16704         * Painter.C (text): use data() instead of c_str() when length is
16705         also provided.
16706         * WorkArea.C (putClipboard): ditto
16707         * font.h (width): ditto
16708
16709         * BufferView2.C: use it-> instead of (*it). for iterators
16710         * texrow.C: ditto
16711         * paragraph_pimpl.C: ditto
16712         * paragraph.C: ditto
16713         * minibuffer.C: ditto
16714         * language.C: ditto
16715         * kbmap.C: ditto
16716         * encoding.C: ditto
16717         * counters.C: ditto
16718         * converter.C: ditto
16719         * chset.C: ditto
16720         * Variables.C: ditto
16721         * TextCache.C: ditto
16722         * MenuBackend.C: ditto
16723         * LyXAction.C: ditto
16724         * LColor.C: ditto
16725         * FloatList.C: ditto
16726         * DepTable.C: ditto
16727         * ColorHandler.C (LyXColorHandler): ditto
16728
16729 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16730
16731         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16732
16733         * text2.C (openStuff): reintroduce this method (which had been
16734         nuked in NEW_INSETS frenzy).
16735
16736         * lyxfunc.C (Dispatch): when an action has not been handled, use
16737         its name in the error message, not its number.
16738
16739         * paragraph.C (inInset): change method name to begin with lowercase.
16740
16741         * undo_funcs.C:
16742         * text2.C: updates because of this.
16743
16744 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16745
16746         * ToolbarDefaults.C (add): add spaces in error message
16747
16748 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16749
16750         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16751         (readLyXformat2): rename return_par to first_par, use lyxlex's
16752         pushToken and remove the manual push handling.
16753         (parseSingleLyXformat2Token): add another ert comp. variable:
16754         in_tabular, rename return_par to first_par. handle newlines better
16755
16756 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16757
16758         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16759
16760 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16761
16762         * text2.C (getParFromID): removed
16763
16764         * buffer.C (getParFromID): new method moved form lyxtext.
16765         * BufferView2.C (insertErrors): adjust
16766         (setCursorFromRow): adjust
16767         * BufferView_pimpl.C (restorePosition): adjust
16768         * lyxfunc.C (Dispatch): adjust
16769         * undo_funcs.C (textUndo): adjust
16770         (textRedo): adjust
16771         (textHandleUndo): adjust
16772         (textHandleUndo): adjust
16773
16774 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16775
16776         * buffer.C: up' the LYX_FORMAT
16777
16778         * lyxfont.h: turn NO_LATEX on as default
16779
16780         * buffer.C (insertErtContents): new methods of tex style compability.
16781         (parseSingleLyXformat2Token): use it several places.
16782         * tabular.C (OldFormatRead): and here
16783
16784 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16785
16786         * text2.C: remove some commented code.
16787         reindent file.
16788
16789         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16790         * trans.C: changes because of the above.
16791
16792 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16793
16794         * text2.C (setCounter): Fix counters bug with bibliography layout.
16795
16796 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16797
16798         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16799         own member functions
16800         (simpleTeXSpecialChars): ditto
16801
16802 2001-07-06  Juergen Vigna  <jug@sad.it>
16803
16804         * a lot of files: changed the access to LyXText::status and the
16805         call of undo-functions.
16806
16807         * undo.[Ch]: added a inset_id to the undo informations.
16808
16809         * undo_funcs.[Ch]: added and moved here all undo functions.
16810
16811         * lyxtext.h: give the status enum a weight, made status_ a private
16812         variable and made accessor functions for it, removed the whole bunch
16813         of undo-functions as they are now in their own file, make some
16814         functions publically available. Added function ownerParagraph with
16815         int parameter.
16816
16817         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16818         made InInset() a const function, added getParFromID() function.
16819
16820         * buffer.[Ch]: added const version for inset_iterator functions,
16821         added getInsetFromID() function.
16822
16823         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16824         changed undo functions for new version.
16825
16826 2001-07-05  Juergen Vigna  <jug@sad.it>
16827
16828         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16829         unknow mechanism does not call the proper constructor but only this
16830         one also if I request the other!?
16831
16832 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16833
16834         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16835
16836         * text2.C (LyXText): use initialization lists.
16837
16838         * lyxtext.h (Selection): initialize set_ and mark_
16839         (init): remove method
16840
16841 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16842
16843         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16844
16845 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16846
16847         * screen.[Ch]: change method names to begin with lowercase
16848
16849         * BufferView_pimpl.C (updateScrollbar): simplify further and
16850         hopefully make it a bit faster.
16851
16852 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16853
16854         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16855         calling directly xforms functions.
16856
16857         * Painter.C (Painter):
16858         * lyx_cb.C (MenuWrite):
16859         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16860         fl_display.
16861
16862         * lyx_gui.C: remove bogus guiruntime extern declaration.
16863
16864 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16865
16866         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16867         in NEW_INSETS
16868         (redoDrawingOfParagraph): ditto
16869         (redoParagraphs): ditto
16870         (cutSelection): don't create a object for CutAndPaste use the
16871         static method directly
16872         (pasteSelection): ditto
16873
16874         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16875         LyXview (+ rename)
16876
16877 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16878
16879         * modifications to some other files because of this.
16880
16881         * Makefile.am (lyx_SOURCES): add XFormsView
16882
16883         * XFormsView.[Ch]: new files
16884
16885         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16886         the main window. Move the gui dependent stuff to XFormsView
16887
16888 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16889
16890         * tabular.C (GetCellInset): update cur_cell also in the row/col
16891         version of this function.
16892
16893         * lyxfunc.C: no need to include figure_form.h here.
16894
16895         * FontLoader.h:
16896         * lyxfunc.h:
16897         * lyxscreen.h:
16898         * text2.C:
16899         * lyxvc.C: no need to include forms.h here.
16900
16901 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16902
16903         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16904
16905         * lyxfunc.C (Dispatch):
16906         * Spacing.C (set):
16907         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16908         constructor argument.
16909
16910 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16911
16912         * paragraph.C (Paragraph): dont't clear, and just set layout.
16913         (makeSameLayout): use params's copy contructor.
16914
16915         * ParagraphParameters.[Ch] (makeSame): delete method
16916
16917 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16918
16919         * Variables.[Ch]: fix indentation, rename set to isSet
16920
16921 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16922
16923         * lyxfunc.C (Dispatch): fix typo
16924
16925 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16926
16927         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16928         upper_bound.
16929
16930         * bufferlist.C: include assert.h for emergencyWrite().
16931
16932 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16933
16934         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16935           give up at last (bug #425202) !
16936
16937 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16938
16939         * lyx_gui_misc.C:
16940         * sp_form.h:
16941         * sp_form.C:
16942         * spellchecker.h:
16943         * spellchecker.C: strip spellchecker options and bring up
16944           preferences tab instead
16945
16946 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16947
16948         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16949         the istringstream constructor
16950
16951 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16952
16953         * paragraph.C (getLayout): fix return value
16954
16955         * paragraph.h: do not declare getLayout as inline.
16956
16957         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16958
16959 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16960
16961         * lyxcursor.h (operator<): new func
16962         (operator>): new func
16963         (operator>=): new func
16964         (operator<=): new func
16965
16966         * text.C (changeCase): use selection.start and selection.end
16967         (changeRegionCase): require from to be <= to. Require par to be a
16968         valid paragraph.
16969
16970         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16971
16972 2001-06-27  Juergen Vigna  <jug@sad.it>
16973
16974         * text.C (cursorLeftOneWord): changed to return the cursor and added
16975         overlay with BufferView * parameter which calls this one.
16976         (getWord): added
16977         (selectWord): use new getWord function.
16978         (changeCase): renamed from changeWordCase as and extended to work
16979         also on selections.
16980
16981         * lyxtext.h: added enum word_location
16982
16983         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16984         changeCase as this operates now also on selections.
16985
16986 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16987
16988         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16989
16990         * many files: send debug output to Debug::INFO instead of
16991         Debug::ANY.
16992
16993         * converter.C (View):
16994         (Convert):
16995         (Move): send debug output to Debug::FILES instead of console.
16996
16997 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16998
16999         * lyxfunc.C (getStatus): use func_status
17000
17001         * func_status.h: new header, describing the results of
17002         LyXFunc::getStatus;
17003
17004         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17005         LFUN_MATH_HALIGN.
17006
17007 2001-06-25  The LyX Project  <jug@sad.it>
17008
17009         * buffer.C (sgmlOpenTag):
17010         (sgmlCloseTag):
17011         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
17012
17013 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17014
17015         * text2.C: remove some dead code
17016
17017         * tabular.C (GetCellInset): store the last cell checked (gotten)
17018
17019         * tabular.h: add the helper for the speedup
17020
17021         * lyxtext.h: remove some dead code
17022
17023 2001-06-26  The LyX Project  <Asger>
17024
17025         * paragraph.C: Change export to LaTeX of alignment to
17026         \begin{center} and family for better roundtrip work with reLyX.
17027
17028         * Tune the math drawing a bit.
17029
17030 2001-06-25  The LyX Project  <Asger>
17031
17032         * LColor.C (LColor): New color for math background. New color
17033         for buttons.
17034
17035 2001-06-25  The LyX Project  <jug@sad.it>
17036
17037         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17038
17039         * lyxfunc.C (Open):
17040         * bufferlist.C (newFile): do not restrict to files ending with
17041         .lyx
17042
17043         * BufferView_pimpl.C (MenuInsertLyXFile):
17044
17045 2001-06-24  The LyX Project  <jug@sad.it>
17046
17047         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17048         of compare_no_case
17049
17050 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17051
17052         * lyxtext.h: rename most methods to begin with a small char.
17053         Lots of changes because of this.
17054
17055         * paragraph.C (Paragraph): do not call fitToSize
17056         (erase): call Pimpl::erase
17057         (insertChar): call Pimpl::insertChar
17058         (insertInset): call Pipl::insertInset
17059         (breakParagraph): do not call fitToSize
17060         (breakParagraphConservative): do not call fitToSize
17061         (fitToSize): remove method
17062
17063         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17064
17065 2001-06-24  The LyX Project  <Asger>
17066
17067         * Fix Qt compilation^2
17068
17069 2001-06-24  The LyX Project  <jug@sad.it>
17070
17071         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17072         depthHook(getDepth()-1).
17073
17074         * paragraph.h:
17075         * ParagraphParameters.h:
17076         * ParameterStruct.h: change type of depth to unsigned int ==
17077         depth_type. Many adaptations to other files before of that.
17078
17079 2001-06-24  The LyX Project  <Asger>
17080
17081         * Fix Qt compilation.
17082
17083 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17084
17085         * paragraph.h: renamed several methods to begin with small letter.
17086         several changes to many parts of the code because of this.
17087
17088 2001-06-23  The LyX Project  <jug@sad.it>
17089
17090         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17091         rewritten to discard all double spaces when KeepEmpty is off
17092         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17093         to only handle newlines but not fiddle with spaces and friends.
17094
17095         * lyxfunc.C (MenuNew): when doing 'new from template', use
17096         template_path as default directory
17097
17098 2001-06-23  The LyX Project  <Asger>
17099
17100         * Clean-up of header file includes all over
17101         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17102
17103 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17104
17105         * paragraph.h: renamed from lyxparagraph.h
17106
17107 2001-06-23  Asger  <lyx@violet.home.sad.it>
17108
17109         * Buffer.h: Removed Buffer::resize
17110         * BufferList.h: Removed BufferList::resize
17111         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17112         the document lazily when we change the width, or the font settings.
17113
17114 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17115
17116         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17117
17118 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17119
17120         * buffer.h: remove out of date comment
17121
17122 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17123
17124         * lyxscreen.h:
17125         * screen.C: fix "theoretical" GC leak
17126
17127 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17128
17129         * LaTeX.C (scanAuxFile):
17130         (deplog): remove trailing \r when reading stream (useful under
17131         win32)
17132
17133 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17134
17135         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17136         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17137         and BufferView::theLockingInset(Inset*), so should use them and not
17138         access bv_->text->the_locking_inset directly.
17139
17140         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17141
17142 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17143
17144         * Makefile.am:
17145         * tex-defs.h: remove old unused file
17146
17147 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17148
17149         * BufferView_pimpl.C: fix typo, remove minibuffer message
17150           when buffer has loaded
17151
17152 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17153
17154         * lyxfunc.C (Dispatch): use stringstream
17155         (MenuNew): use stringstream
17156         (Open): use stringstream
17157
17158         * importer.C (Import): use stringstream
17159
17160         * bufferview_funcs.C (CurrentState): use stringstream
17161
17162         * LaTeX.C (run): use stringstream
17163
17164         * BufferView_pimpl.C (savePosition): use stringstream
17165         (restorePosition): use stringstream
17166         (MenuInsertLyXFile): use stringstream
17167
17168 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17169
17170         * BufferView.C:
17171         * Bullet.C:
17172         * ColorHandler.C:
17173         * FontInfo.C:
17174         * FontLoader.C:
17175         * LColor.C:
17176         * LaTeXFeatures.C:
17177         * Painter.C:
17178         * gettext.C:
17179         * lyx_gui_misc.C:
17180         * lyxserver.C:
17181         * vspace.C: removed // -*- C++ -*- as first line.
17182
17183         * lyxfind.h:
17184         * version.h: added // -*- C++ -*- as first line.
17185
17186 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17187
17188         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17189
17190         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17191         of string
17192
17193 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17194
17195         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17196         of floats.
17197
17198 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17199
17200         * gettext.C: include LString.h even when --disable-nls is on.
17201
17202 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17203
17204         * converter.h (Get): changed argument type from int to
17205         FormatList::size_type to avoid unnecessary conversion.
17206
17207         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17208         before using it.
17209
17210 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17211
17212         * gettext.h: include LString.h even when --disable-nls is on.
17213
17214 2001-06-07  Juergen Vigna  <jug@sad.it>
17215
17216         * text.C (BreakAgain): subst spaces with tabs.
17217
17218         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17219         (resizeInsetsLyXText): set force on resizeLyXText.
17220
17221 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17222
17223         * gettext.h (gettext_init):
17224         (locale_init): use a real definition instead of a macro
17225
17226 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17227
17228         * Bufferview_pimpl.C:
17229         * LColor.h:
17230         * LColor.C: further lcolor tidies
17231
17232 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17233
17234         * BufferView_pimpl.C (updateScrollbar): simplify.
17235
17236         * BufferView2.C: don't include insets/insetinfo.h, change
17237         prototype for insertInset and call the Pimpl version. let
17238         updateInset call Pimpl version.
17239
17240         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17241         gotoInset to BufferView::Pimpl
17242
17243 2001-06-01  Juergen Vigna  <jug@sad.it>
17244
17245         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17246         inside a LockingInset (is the update needed at all?).
17247
17248 2001-05-31  Juergen Vigna  <jug@sad.it>
17249
17250         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17251         here not the old one otherwise how should we compare it afterwards
17252         if it's the same!
17253
17254 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17255
17256         * lyxfont.C:
17257         * tabular.C:
17258         * tabular-old.C:
17259         * FontInfo.C: bring C functions into global namespace when
17260         necessary
17261
17262 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17263
17264         * LString.h: make sure config.h has been loaded before LString.h.
17265
17266         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17267         (one for each char read by EatLine!).
17268
17269         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17270         variables.
17271
17272 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17273
17274         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17275         to the same as the par we break from
17276
17277 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17278
17279         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17280
17281         * MenuBackend.C (expand): also create menu entries for wide
17282         versions of the floats.
17283
17284         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17285
17286         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17287
17288         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17289         frontends/Makefile.am
17290
17291         * text2.C: adjust
17292         * text.C: adjust
17293
17294
17295         * tabular.C (getTokenValue): add std::
17296
17297         * tabular-old.C (getTokenValue): add std::
17298         (getTokenValue): ditto
17299         (getTokenValue): ditto
17300
17301         * screen.C (ToggleSelection): adjust
17302
17303         * lyxtext.h: put selection cursors inside a Selection struct.
17304
17305         * lyxfunc.C (moveCursorUpdate): adjust
17306
17307         * lyxfont.C (latexWriteStartChanges): add std::
17308
17309         * lyxfind.C: adjust
17310
17311         * font.h: delete with(char const *, LyXFont const &)
17312
17313         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17314
17315         * FontInfo.C (getFontname): add std::
17316
17317         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17318         (workAreaButtonPress): adjust
17319         (tripleClick): adjust
17320         (update): adjust
17321         (moveCursorUpdate): adjust
17322         (Dispatch): adjust
17323
17324         * BufferView2.C (gotoInset): adjust
17325
17326 2001-05-30  Juergen Vigna  <jug@sad.it>
17327
17328         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17329         to check pspell I add this as default as I now have new pspell
17330         libraries and they seem to use this.
17331
17332 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17333
17334         * text2.C (CutSelection): make the cursor valid before the call to
17335         ClearSelection.
17336
17337 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17338
17339         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17340         relied on 0 terminated strings and other horrors. Bug found due to
17341         the new assert in lyxstring!
17342
17343         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17344         KP_ keys.
17345
17346 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17347
17348         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17349         to latinkeys.bind.
17350
17351         * lyxfunc.C (processKeySym): change method of getting to the
17352         self-insert char.
17353
17354         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17355         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17356         * BufferView_pimpl.[Ch]: here as private methods.
17357
17358 2001-05-28  Juergen Vigna  <jug@sad.it>
17359
17360         * text.C (SetHeightOfRow): added the update() call again as it is
17361         needed to initialize inset dimensions!
17362
17363 2001-05-16  Juergen Vigna  <jug@sad.it>
17364
17365         * text2.C (SetCharFont): Add new function with BufferView * and
17366         bool toggleall parameters for setting insets internal fonts.
17367         (SetFont): Freeze the undo as we may change fonts in Insets and
17368         all this change should be inside only one Undo!
17369
17370         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17371         setting font's in insets as for them we have the SetFont function!
17372
17373 2001-05-15  Juergen Vigna  <jug@sad.it>
17374
17375         * text2.C (ClearSelection): to be sure we REALLY don't have any
17376         selection anymore!
17377
17378         * tabular.C (TeXCellPreamble): fixed the left border problem for
17379         multicolumn cells.
17380
17381 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17382
17383         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17384         dependancy file
17385
17386 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17387
17388         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17389         LFUN_BREAKPARAGRAPH.
17390
17391         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17392         help test to "internal only", similar for LFUN_INSERT_URL
17393
17394         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17395         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17396         auto_region_delete and deadkeys.
17397
17398 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17399
17400         * LColor.h:
17401         * LColor.C: remove some dead entries, tidy a little
17402
17403 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17404
17405         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17406         commented code.
17407         (Dispatch): implement LFUN_ESCAPE
17408
17409         * commandtags.h: add LFUN_ESCAPE
17410
17411         * LyXAction.C (init): add entry for LFUN_ESCAPE
17412
17413         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17414         Remove commented code.
17415         (insertNote): moved here
17416         (open_new_inset): moved here
17417
17418         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17419         BufferView_pimpl
17420
17421 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17422
17423         * kbmap.C (findbinding): clean it up and make it work correctly.
17424
17425         * lyx_main.C (init): do not pass argc and argv as parameters
17426
17427 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17428
17429         * buffer.C: fix path for OS/2 & Win32
17430
17431         * lyx_gui.C:
17432         * lyx_main:
17433         * lyx_main.C: Added os:: class.
17434
17435         * os2_defines.h: update
17436
17437 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17438
17439         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17440         better by trying again with reduced state.
17441
17442 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17443
17444         * lyxrc.C (read): print error about invalid key sequence only when
17445         debugging (because not all latinX keysyms are known to some X
17446         servers)
17447
17448         * kbsequence.C (getiso): add a few std:: qualifiers
17449         (getiso): comment out extra return statement.
17450
17451 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17452
17453         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17454         handling.
17455         (Dispatch): enhance the accent inset a bit. (not perfect)
17456
17457 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17458
17459         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17460
17461 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17462
17463         * bufferlist.C (emergencyWrite): fix assert() call
17464
17465 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17466
17467         * text.C (InsertChar): Added trivial patch to only send the "you
17468         can not do multiple spaces this way" message once during a
17469         session.
17470
17471 2001-05-08  Baruch Even  <baruch@lyx.org>
17472
17473         * Makefile.am: Changed order of libraries to get LyX to link properly
17474         with the gnome frontend.
17475
17476 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17477
17478         * LaTeXFeatures.h: add a std:: qualifier
17479
17480 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17481
17482         * paragraph.C (String): use stringstream
17483
17484 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17485
17486         * paragraph.C (writeFile): remove footflag arg
17487
17488         * buffer.C (makeLaTeXFile): use stringstream
17489         (latexParagraphs): remove footnot gurba
17490
17491         * LaTeXFeatures.C (getPackages): use stringstream
17492         (getMacros): likewise
17493         (getTClassPreamble): likewise
17494         (getFloatDefinitions): new method
17495
17496         * paragraph.C (writeFile): reindent
17497         (Erase): reindent
17498
17499         * WorkArea.h: revert the xpos + etc changes.
17500
17501         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17502
17503         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17504
17505         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17506         (pasteSelection): likewise
17507         * text2.C (CreateUndo): likewise
17508
17509 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17510
17511         * minibuffer.C (peek_event): temporarily reduce the functionality
17512         of the minibuffer (to allow args on lfuns)
17513
17514         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17515         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17516
17517         * buffer.C (readInset): add compability reading of old float
17518         lists, add reading of new style float list.
17519         (readInset): avoid reevaluation of inscmd.getCmdName()
17520         (getLists): reindent
17521
17522         * MenuBackend.C (MenuItem): implement parsing of
17523         md_floatlistinsert and md_floatinsert.
17524         (expand::LastFiles): move initalizaton of iterators out of loop,
17525         avoid reevaluation.
17526         (expand::Documents): introduce typdedef vector<string> Strings,
17527         and use it.
17528         (expand::ExportFormats): introduce typedef vector<Format const *>
17529         Formats, and use it.
17530         (expand): implement FloatListInsert and FloatInsert.
17531
17532         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17533         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17534         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17535
17536         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17537         handling.
17538         (Dispatch::LFUN_FLOAT_LIST): implement
17539
17540 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17541
17542         * LaTeX.C (run): Fix problem with --export code.
17543
17544 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17545
17546         * BufferView.[Ch] (workarea): removed.
17547         (getClipboard) new method; wrapper for workarea()->getClipboard()
17548
17549         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17550         bug.
17551
17552         * WorkArea.h (width, height, xpos, ypos): These methods all
17553         returned the dimensions of the work_area sub-area of WorkArea,
17554         resulting in a position error if the WorkArea were resized. Now
17555         return the dimensions of the entire WorkArea.
17556
17557         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17558
17559 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17560
17561         * LaTeX.C (deplog): correct the syntax of regex reg1
17562
17563 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17564
17565         * undo.C: remove !NEW_INSETS cruft
17566
17567 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17568
17569         * text2.C: remove !NEW_INSETS cruft
17570
17571         * text.C: remove !NEW_INSETS cruft
17572
17573         * tabular.C: remove !NEW_INSETS cruft
17574
17575         * spellchecker.C: remove !NEW_INSETS cruft
17576
17577         * lyxtext.h: remove !NEW_INSETS cruft
17578
17579         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17580
17581         * lyxfunc.C: remove !NEW_INSETS cruft
17582
17583         * lyxfind.C: remove !NEW_INSETS cruft
17584
17585         * lyx_cb.C: remove !NEW_INSETS cruft
17586
17587         * figureForm.C: remove  !NEW_INSETS cruft
17588
17589         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17590
17591         * buffer.[Ch]: remove !NEW_INSETS cruft
17592
17593         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17594
17595         * CutAndPaste.C: remove !NEW_INSETS cruft
17596
17597         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17598
17599         * BufferView2.C: remove !NEW_INSETS cruft
17600
17601         * BufferView.h: remove !NEW_INSETS cruft
17602
17603 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17604
17605         * Lsstream.h: include LString.h before the sstream headers to
17606         fix problem with gcc 2.95.3 and lyxstring
17607
17608 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17609
17610         * lyx_main.C: add using directives when needed for C functions
17611         declared in std:: namespace.
17612
17613 2001-04-27  Juergen Vigna  <jug@sad.it>
17614
17615         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17616         (SetHeightOfRow): comment out the update call should not be needed!
17617
17618 2001-04-13  Juergen Vigna  <jug@sad.it>
17619
17620         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17621         (LyXTabular): tried to minimize operator= operations (and realized
17622         hopfully Lars wish).
17623
17624 2001-04-27  Juergen Vigna  <jug@sad.it>
17625
17626         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17627
17628 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17629
17630         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17631
17632         * buffer.C (readInset): hack to make listof algorithm work
17633
17634         * BufferView_pimpl.C: hack to make listof algorithm work
17635
17636 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17637
17638         * LyXAction.C: removed all !NEW_INSETS cruft
17639         (init): moved lfun_item in method
17640
17641         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17642
17643 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17644
17645         * BufferView2.C (theLockingInset): white space.
17646
17647 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17648
17649         * minibuffer.C: include <iostream>
17650
17651         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17652
17653         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17654
17655         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17656
17657         * text.[Ch] (TransposeChars): new method
17658
17659 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17660
17661         * call message directly through LyXView instead of through LyXFunc
17662         * BufferView2.C: adjust
17663         * BufferView_pimpl.C: adjust
17664         * FontLoader.C: adjust
17665         * buffer.C: adjust
17666         * bufferview_funcs.C: adjust
17667         * converter.C: adjust
17668         * figureForm.C: adjust
17669         * importer.C: adjust
17670         * lyx_cb.C: adjust
17671         * lyx_gui_misc.C: adjust
17672         * lyxfunc.C: adjust
17673         * lyxvc.C: adjust
17674         * text2.C: adjust
17675         + more files in subdirs
17676
17677         * lyxparagraph.h (size): move up int file
17678         (GetLayout): ditto
17679
17680         * adjust all uses of Assert to lyx::Assert.
17681
17682         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17683         lyxfunctional in namespace lyx
17684         * layout.C (hasLayout): ditto
17685         (GetLayout): ditto
17686         (GetLayout): ditto
17687         (delete_layout): ditto
17688         (NumberOfClass): ditto
17689         * converter.C (GetFormat): ditto
17690         (GetNumber): ditto
17691         (Add): ditto
17692         (Delete): ditto
17693         (SetViewer): ditto
17694         * bufferlist.C (getFileNames): ditto
17695         (emergencyWriteAll): ditto
17696         (exists): ditto
17697         (getBuffer): ditto
17698         * MenuBackend.C (hasSubmenu): ditto
17699         (hasMenu): ditto
17700         (getMenu): ditto
17701         * BufferView_pimpl.C (getInsetByCode): ditto
17702
17703 2001-04-18  Juergen Vigna  <jug@sad.it>
17704
17705         * vspace.C (asLatexString): fixed the 100% problem.
17706
17707 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17708
17709         * lyxfunc.C (Dispatch):
17710         * minibuffer.C:
17711         * minibuffer.h: add a few std:: qualifiers
17712
17713 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17714
17715         * minibuffer.[Ch]: reimplement so that commands is initiated and
17716         run from lyxfunc, simplified som handling, and made the completion
17717         and history code for complete. wip.
17718
17719         * lyxfunc.C (processKeySym): call message
17720         (miniDispatch): new temporary method
17721         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17722         (LFUN_MESSAGE): implement
17723         (LFUN_MESSAGE_PUSH): implement
17724         (LFUN_MESSAGE_POP): implement
17725         (initMiniBuffer): the initial/defualt minibuffer message.
17726
17727         * lyxfont.[Ch]: inline some more getters
17728
17729         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17730
17731         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17732
17733         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17734         (AutoSave): use LFUN_MESSAGE
17735         (Reconfigure): ditto
17736
17737         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17738
17739         * figureForm.C: use LFUN_MESSAGE
17740
17741         * converter.C (runLaTeX): use LFUN_MESSAGE
17742
17743         * bufferview_funcs.C: use LFUN_MESSAGE
17744         (Melt): ditto
17745         (changeDepth): ditto
17746
17747         * bufferparams.h: use boost::
17748
17749         * bufferlist.h: inherit privately from noncopyable
17750
17751         * bufferlist.C (loadLyXFile): remove some commented code.
17752
17753         * buffer.C (runChktex): use LFUN_MESSAGE
17754
17755         * ShareContainer.h: inherit privately from noncopyable
17756
17757         * ParagraphParameters.[hC] (depth): inline it.
17758
17759         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17760         methods.
17761         (message): new method
17762         (messagePush): ditto
17763         (messagePop): ditto
17764         (show): init minibuffer
17765         (showState): direct call
17766
17767         * LaTeX.[Ch]: inherit privately from noncopyable
17768         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17769         instead of WriteStatus.
17770
17771         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17772
17773         * BufferView_pimpl.C (buffer): don't init minibuffer
17774         (workAreaButtonPress): use LFUN_MESSAGE
17775         (workAreaButtonRelease): ditto
17776         (savePosition): ditto
17777         (restorePosition): ditto
17778         (MenuInsertLyXFile): ditto
17779         (workAreaExpose): don't init minibuffer
17780         (update): remove commented code, simplify
17781
17782         * BufferView2.C (openStuff): use LFUN_MESSAGE
17783         (toggleFloat): ditto
17784         (menuUndo): ditto
17785         (menuRedo): ditto
17786         (copyEnvironment): ditto
17787         (pasteEnvironment): ditto
17788         (copy): ditto
17789         (cut): ditto
17790         (paste): ditto
17791         (gotoInset): ditto
17792         (updateInset): remove some commented code
17793
17794         * lastfiles.h: inherit privately from noncopyable
17795         * layout.h: ditto
17796         * lyx_gui.h: ditto
17797         * lyx_main.h: ditto
17798         * lyxlex.h: ditto
17799         * lyxlex_pimpl.h: ditto
17800
17801         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17802         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17803         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17804
17805         * LyXAction.h: inherit privately from noncopyable, add methods
17806         func_begin, func_end, returning iterators to the func map.
17807
17808         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17809         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17810         (func_begin): new method
17811         (func_end): new method
17812
17813         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17814         and not)
17815         (copySelection): ditto
17816         (pasteSelection): ditto
17817
17818         * BufferView.C: whitespace change
17819         * BufferView.h: inherit privately from noncopyable
17820
17821 2001-04-16  Allan Rae  <rae@lyx.org>
17822
17823         * tabular-old.C (l_getline):
17824         * spellchecker.C (sc_check_word):
17825         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17826         an unrecognised preprocessor directive.  So ensure they're wrapped.
17827
17828 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17829
17830         * src/exporter.C (Export): Give an error message when path to file
17831         contains spaces.
17832
17833 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17834
17835         * LaTeX.C (deplog): Always check that foundfile exists.
17836
17837 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17838
17839         * lyx_main.h:
17840         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17841
17842 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17843
17844         * tabular.[Ch] (getLabelList): implement new method
17845
17846         * minibuffer.h: comment ouf setTiimer
17847
17848         * minibuffer.C (ExecutingCB): constify res
17849         (peek_event): constify s
17850         (Set): constify ntext
17851         (Init): constify nicename
17852
17853         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17854
17855         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17856         (savePosition): use two params to Minibuffer::Set
17857         (restorePosition): ditto
17858
17859 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17860
17861         * lyx_main.C: include language.h
17862
17863         * Makefile.am (lyx_main.o): add language.h
17864
17865 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17866
17867         * exporter.C:
17868         * paragraph.C:
17869         * screen.C:
17870         * tabular.C:
17871         * CutAndPaste.C: include gettext.h
17872
17873         * lyxfont.h: remove old hack with ON and OFF.
17874
17875         * lyxparagraph.h:
17876         * lyxfont.h: do not include language.h...
17877
17878         * BufferView2.C:
17879         * LaTeXFeatures.C:
17880         * Painter.C:
17881         * bufferview_funcs.C:
17882         * font.C:
17883         * lyxfont.C:
17884         * text.C:
17885         * text2.C:
17886         * trans_mgr.C:
17887         * paragraph.C: ... but do it here instead
17888
17889 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17890
17891         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17892
17893         * tabular.C: small reformat
17894
17895         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17896         NEW_INSETS version
17897         (GetChar): ditto
17898         (BreakParagraph): ditto
17899         (SetOnlyLayout): ditto
17900         (SetLayout): ditto
17901
17902         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17903         with one arg less.
17904
17905         * lastfiles.C: removed most using decl, add std:: where needed
17906
17907         * buffer.C: ws changes
17908
17909         * MenuBackend.C (class compare_format): put into anon namespace
17910         (expand): constify label, names, action, action2
17911         (expand):
17912
17913         * text.C (SingleWidth): constify font
17914         (IsBoundary): constify rtl2
17915         (GetVisibleRow): constify ww
17916
17917         * LaTeX.C (deplog): constify logfile
17918
17919         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17920         start_x, end_x
17921         (workAreaExpose): constify widthChange, heightChange
17922
17923         * lyxrow.C (par): moved
17924         (height): moved
17925         (next): moved
17926         * lyxrow.h: as inlines here
17927
17928         * lyxfont.h (shape): moved from lyxfont.C
17929         (emph): moved from lyxfont.C
17930
17931         * lyxfont.C (LyXFont): use initialization list for all
17932         constructors
17933         (shape): move to lyxfont.h as inline
17934         (emph): move to lyxfont.h as inline
17935
17936
17937 2001-04-04  Juergen Vigna  <jug@sad.it>
17938
17939         * vspace.C: had to include stdio.h for use of sscanf
17940
17941 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17942
17943         * BufferView.h:
17944         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17945         independent of xforms.
17946
17947 2001-04-02  Juergen Vigna  <jug@sad.it>
17948
17949         * spellchecker.C: fixed namespace placing!
17950
17951 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17952
17953         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17954         the LyXParagraph * is 0.
17955
17956 2001-03-29  Juergen Vigna  <jug@sad.it>
17957
17958         * vspace.C: added support for %, c%, p%, l%.
17959         (stringFromUnit): added helper function.
17960         (asLatexString): changed to give right results for the %-values.
17961
17962         * buffer.C: convert the widthp in a width%.
17963
17964 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17965
17966         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17967         figureForm.[Ch].
17968
17969         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17970         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17971
17972         * lyx_cb.[Ch]: see above.
17973
17974         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17975         form1.[Ch].
17976
17977         * form1.[Ch]:
17978         * lyx.[Ch]: replaced by figure_form.[Ch].
17979
17980         * lyx_gui.C:
17981         * lyx_gui_misc.C:
17982         * lyxfunc.C: changed headers associated with above changes.
17983
17984 2001-03-27  Juergen Vigna  <jug@sad.it>
17985
17986         * BufferView_pimpl.C: set the temporary cursor right!
17987
17988 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17989
17990         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17991
17992 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17993
17994         * LString.h: removed "using std::getline"!
17995
17996         * BufferView_pimpl.C (Dispatch): changes due to changes in
17997         InsetInclude::Params.
17998
17999         * buffer.C (tag_name): removed redundant break statements as they were
18000         producing lots of warnings with my compiler.
18001
18002 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18003
18004         * LString.h: add "using std::getline" when using the real <string>.
18005
18006 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18007
18008         * buffer.C: removed bitset usage.
18009         PAR_TAG moved to an anonymous name space.
18010         (tag_name): new funtion, also in the anonymous namespace.
18011         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18012         (makeDocBookFile): clean code. Completed transition from string arrays
18013         to string vectors.
18014         (SimpleDocBookOnePar): code clean.
18015
18016 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18017
18018         * tabular.C: add some comments.
18019
18020 2001-03-22  Juergen Vigna  <jug@sad.it>
18021
18022         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18023         compatibility read a bit and fixed bug with minipage in different
18024         depth.
18025
18026 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18027
18028         * buffer.C (pop_tag): removed.
18029         (push_tag): removed.
18030         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18031         array replaced with vector. Added support for CDATA sections.
18032         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18033         at any nest level.
18034         (makeDocBookFile): XML conformant declaration of CDATA section,
18035         fixed bug related to <emphasis> in the first paragraph char.
18036         (sgmlOpenTag): exclude empty tags.
18037         (sgmlCloseTag): ditto.
18038
18039         * buffer.h (pop_tag): removed.
18040         (push_tag): removed.
18041
18042 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18043
18044         * language.h (Languages): added size_type and size().
18045
18046 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18047
18048         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18049         response on compability reading of minipages. One probliem is that
18050         the old usage of minipages was flertydig
18051
18052         * several files here and in subdirs: don't use static at file
18053         scope use anon namespaces instead.
18054
18055 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18056
18057         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18058         LaTeX output. This is necessary for Literate document
18059         processing.
18060
18061 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18062
18063         * buffer.C: insert hfill when needed.
18064
18065         * tabular.C (l_getline): use string::erase, small whitespace change.
18066
18067         * BufferView_pimpl.C: try the anon namespace.
18068         * WorkArea.C: ditto
18069
18070 2001-03-16  Juergen Vigna  <jug@sad.it>
18071
18072         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18073         otherwise it won't open options-dialogs.
18074
18075         * buffer.C: honor pextraWidth(p) on converting minipages.
18076
18077         * tabular.C (l_getline): changed the functions to strip trailing \r.
18078
18079 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18080
18081         * BufferView_pimpl.C:
18082         * minibuffer..C: added "using SigC::slot" declaration.
18083
18084 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18085
18086         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18087
18088         * text2.C: ditto
18089
18090         * text.C: ditto
18091
18092         * paragraph.C: ditto
18093
18094         * lyxtext.h: NO_PEXTRA
18095
18096         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18097
18098         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18099         * ParameterStruct.h: ditto
18100         * ParagraphParameters.h: ditto
18101         * lyxparagraph.h: ditto
18102
18103 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18104
18105         * buffer.C: add compability for minipage alignment.
18106         (latexParagraphs): remove unwanted pextra check.
18107
18108         * several files: remove CXX_WORKING_NAMESPACES
18109
18110         * buffer.C (pop_tag): tie is in namespace boost
18111
18112         * BufferView.h: noncopyable is in namespace boost
18113         * lyxlex.h: ditto
18114         * lyx_main.h: ditto
18115         * lyx_gui.h: ditto
18116         * layout.h: ditto
18117         * lastfiles.h: ditto
18118         * bufferlist.h: ditto
18119         * ShareContainer.h: ditto
18120         * LyXView.h: ditto
18121         * LyXAction.h: ditto
18122         * LaTeX.h: ditto
18123
18124 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18125
18126         * Merging changes from BRANCH_MVC back into HEAD.
18127
18128         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18129
18130 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18131
18132         * BufferView_pimpl.C: change from intl.C
18133
18134         * combox.h:
18135         * combox.C:
18136         * Makefile.am: move combox.*
18137
18138         * form1.h:
18139         * form1.C:
18140         * lyx_gui.C:
18141         * intl.h:
18142         * intl.C: remove dialog (covered by prefs)
18143
18144 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18145
18146         * lyxfunc.C (Dispatch): removed redundant break statement.
18147
18148 2001-03-14  Juergen Vigna  <jug@sad.it>
18149
18150         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18151
18152 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18153
18154         * buffer.C: add hack to fix compability reading of minipages.
18155
18156 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18157
18158         * buffer.C (getLists): Cleanup.
18159
18160 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18161
18162         * lyxfont.C (update): don't honor toggleall on font size.
18163
18164 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18165
18166         * bmtable.c:
18167         * bmtable.h:
18168         * Makefile.am: moved to frontends/xforms/
18169
18170         * lyx_gui_misc.C:
18171         * lyxfunc.C:
18172         * BufferView_pimpl.C: changes for moved mathpanel
18173
18174 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18175
18176         * gettext.h: fix gettext_init() in --disable-nls
18177
18178 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18179
18180         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18181
18182 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18183
18184         * lyx.C:
18185         * lyx.h: strip external form
18186
18187 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18188
18189         * BufferView_pimpl.C: add comment, destroySplash()
18190
18191 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18192
18193         * BufferView_pimpl.C:
18194         * LyXAction.C:
18195         * buffer.C:
18196         * commandtags.h:
18197         * lyxfunc.C: use re-worked insetinclude
18198
18199 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18200
18201         * buffer.C: add using std::stringstream.
18202
18203         * lyx_cb.C: readd using std::ios.
18204
18205         * buffer.C: add using std::map.
18206
18207         * BufferView_pimpl.C: add using std::vector.
18208
18209         * ShareContainer.h: add std:: to swap.
18210
18211         * buffer.h: add some typedefs
18212         * buffer.C (getLists): use them
18213         (getLists): renamed from getTocList.
18214         add a counter for the different float types and use it in the
18215         generated string.
18216         (getLists): use the same counter for the NEW_INSETS and the "non"
18217         NEW_INSETS
18218
18219         * lyx_cb.h: remove unused items, includes, using etc.
18220
18221         * ShareContainer.h: remove some commented code, add more comments
18222         and "documentation".
18223
18224 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18225
18226         * buffer.C (getTocList): make the list also when NEW_INSETS is
18227         defined.
18228
18229         * buffer.h: remove TocType
18230
18231         * buffer.C (getTocList): change to return a map<string,
18232         vector<TocItem> >, implement for dynamic number of list.
18233
18234         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18235         * text2.C (PasteSelection): adjust
18236         * CutAndPaste.C (pasteSelection): adjust
18237
18238         * FloatList.C (FloatList): update from the new_insets branch.
18239         * Floating.[Ch]: ditto
18240         * LaTeXFeatures.C: ditto
18241         * buffer.C: ditto
18242         * lyxlex_pimpl.C: ditto
18243
18244         * paragraph.C (Last): remove when NEW_INSETS is defined.
18245
18246         * other file: changes because of the above.
18247
18248 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18249
18250         * lyxparagraph.h: rename next to next_, previous to previous_,
18251         make them private for NEW_INSETS. Rename Next() to next(),
18252         Previous() to previous().
18253
18254         * other files: changes because of the above.
18255
18256 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18257
18258         * BufferView.h:
18259         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18260         problem.
18261
18262 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18263
18264         * main.C (main): pass lyx_localedir to gettext_init().
18265
18266         * gettext.h: remove locale_init and gettext_init macros
18267
18268         * gettext.C (locale_init): new function
18269         (gettext_init): new function
18270
18271         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18272         setlocale().
18273
18274 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18275
18276         * Moved credits to frontends:
18277         * credits.[Ch]: removed
18278         * credits_form.[Ch]: removed
18279         * lyx_gui_misc.C: remove credits stuff
18280         * Makefile.am:
18281
18282 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18283
18284         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18285
18286         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18287         unneeded destructor.
18288
18289         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18290         a standalone pointer again.
18291
18292         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18293
18294 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18295
18296         * Makefile.am:
18297         * filedlg.h:
18298         * filedlg.C:
18299         * LyXAction.C:
18300         * ToolbarDefaults.C:
18301         * bufferlist.C:
18302         * commandtags.h:
18303         * form1.C:
18304         * form1.h:
18305         * lyx_cb.C:
18306         * lyx_cb.h:
18307         * lyxfunc.h:
18308         * lyxfunc.C:
18309         * BufferView_pimpl.C: use new file dialog in GUII
18310
18311         * lyx_cb.h:
18312         * lyx_cb.C: remove LayoutsCB to Toolbar
18313
18314 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18315
18316         * ShareContainer.h (get): add std:: qualifier
18317
18318 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18319
18320         * ShareContainer.h: define a proper ShareContainer::value_type
18321         type (and use typename to please compaq cxx)
18322
18323 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18324
18325         * lyxparagraph.h: move serveral local vars to
18326         ParameterStruct/ParagraphParameters., use ShareContainer in
18327         FontTable., make vars in FontTable private and add getter and
18328         setter.
18329
18330         * paragraph.C: changes because of the above.
18331
18332         * lyxfont.h: remove copy constructor and copy assignment. (the
18333         default ones is ok), move number inside FontBits. move inlines to
18334         lyxfont.C
18335
18336         * lyxfont.C: add number to initializaton of statics, move several
18337         inlines here. constify several local vars. some whitespace
18338         cleanup. Dont hide outerscope variables.
18339
18340         * Spacing.h: add two new constructors to match the set methods.
18341
18342         * ShareContainer.h: new file, will perhaps be moved to support
18343
18344         * ParameterStruct.h: new file
18345
18346         * ParagraphParameters.h: new file
18347
18348         * ParagraphParameters.C: new file
18349
18350         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18351         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18352
18353         * BufferView_pimpl.C: ParagraphParameter changes.
18354         * buffer.C: Likewise.
18355         * bufferview_funcs.C: Likewise.
18356         * text.C: Likewise.
18357         * text2.C: Likewise.
18358
18359 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18360
18361         * lyxfind.C (LyXReplace): do not redefine default argument in
18362         implementation.
18363         (IsStringInText): ditto
18364         (SearchForward): ditto
18365         (SearchBackward): ditto
18366
18367 2001-03-06  Juergen Vigna  <jug@sad.it>
18368
18369         * lyxfind.C (IsStringInText): put parentes around expressions.
18370
18371 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18372
18373         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18374
18375 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18376
18377         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18378
18379         * stl_string_fwd.h: add comment
18380
18381         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18382
18383         * tabular.h:
18384         * tabular.C: remove unused DocBook methods
18385
18386         * intl.C:
18387         * language.C:
18388         * paragraph.C:
18389         * buffer.C:
18390         killed DO_USE_DEFAULT_LANGUAGE
18391
18392 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18393
18394         * lyx_gui.C: do not include language.h.
18395
18396         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18397         arguments in function implementation.
18398
18399 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18400
18401         * BufferView_pimpl.C: add <ctime>
18402
18403 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18404
18405         * BufferView_pimpl.C: add using std::find_if
18406
18407 2001-02-27  José Matos  <jamatos@fep.up.pt>
18408
18409         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18410         by OnlyPath.
18411
18412 2001-02-11  José Matos  <jamatos@fep.up.pt>
18413
18414         * buffer.C (makeDocBookFile): command styles now have a parameter as
18415         "title" by default.
18416
18417 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18418
18419         * layout_forms.[Ch]: removed
18420         * lyx_cb.[Ch]: out character
18421         * lyx_gui.C: out character
18422         * lyx_gui_misc.C: out character
18423         * bufferview_funcs.C: : out character,
18424         added toggleall as parameter in ToggleAndShow
18425
18426 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18427
18428         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18429
18430         * text2.C (SetCurrentFont): Disable number property at boundary.
18431
18432 2001-02-26  Juergen Vigna  <jug@sad.it>
18433
18434         * lyxfunc.C (getStatus): added a string argument override function so
18435         that this is correctly called from LyXFunc::Dispatch if it contains a
18436         do_not_use_argument which is used!
18437         (Dispatch): added check for "custom" export and call appropriate func.
18438
18439 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18440
18441         * lyxrc.C: Add language_command_local, language_use_babel and
18442         language_global_options.
18443
18444         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18445
18446         * buffer.C (makeLaTeXFile): Use language_use_babel and
18447         language_global_options.
18448
18449 2001-02-23  Juergen Vigna  <jug@sad.it>
18450
18451         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18452         which works with LyXText and putted it inside BufferView. Here now we
18453         only call for that part the BufferView::Dispatch() function.
18454
18455         * BufferView.C (Dispatch): added.
18456
18457         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18458         functions which needs to use a LyXText over from LyXFunc.
18459         (MenuInsertLyXFile): added
18460         (getInsetByCode): added
18461         (moveCursorUpdate): added
18462         (static TEXT): added
18463
18464 2001-02-22  Juergen Vigna  <jug@sad.it>
18465
18466         * BufferView_pimpl.C (update): call a status update to see if LyXText
18467         needs it.
18468
18469 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18470
18471         * vc-backend.C (revert): implement for CVS
18472         (getLog): implement for CVS
18473
18474 2001-02-20  Juergen Vigna  <jug@sad.it>
18475
18476         * text2.C (ClearSelection): added BufferView param for inset_owner call
18477
18478         * lyxfunc.C (TEXT): added this function and use it instead of
18479         directly owner->view()-text of getLyXText().
18480
18481 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18482
18483         * src/layout_forms.C: out preamble
18484         * src/layout_forms.h: out preamble
18485         * src/lyx_cb.C: out preamble
18486         * src/lyx_cb.h: out preamble
18487         * src/lyx_gui.C: out preamble
18488         * src/lyx_gui_misc.C: out preamble
18489         * src/lyxfunc.C: connect with guii preamble
18490
18491 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18492
18493         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18494
18495 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18496
18497         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18498         whether to run bibtex.
18499
18500 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18501
18502         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18503
18504 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18505
18506         * Makefile.am (lyx_SOURCES): removed bibforms.h
18507
18508         * vspace.h: doxygen
18509
18510         * text.C (GetVisibleRow): make several local vars const
18511
18512         * tabular.C: small cleanup.
18513
18514         * lyxserver.C (callback): use compare instead of strncmp
18515
18516         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18517         inlines to after class or to paragraph.C
18518
18519         * lyxfont.h: remove friend operator!=
18520
18521         * converter.h: move friend bool operator< to non friend and after
18522         class def.
18523
18524         * combox.h: small cleanup
18525
18526         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18527         to inlines after class def.
18528
18529         * buffer.C (pop_tag): use string operations instead of strcmp
18530
18531         * bmtable.c: doxygen, small cleanup
18532
18533         * LaTeX.h: remove friend operator==
18534
18535 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18536
18537         * screen.C:
18538         * lyxrc.[Ch]:
18539         * lyxfunc.C:
18540         * lyxfont.[Ch]:
18541         * lyx_cb.C:
18542         * intl.[Ch]:
18543         * commandtags.h:
18544         * buffer.C:
18545         * WorkArea.[Ch]:
18546         * LyXAction.C:
18547         * BufferView_pimpl.C:
18548         * BufferView.[Ch]: remove cruft
18549
18550 2001-02-14  Juergen Vigna  <jug@sad.it>
18551
18552         * lyxfunc.C: removed #if 0 unused code
18553
18554         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18555
18556         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18557
18558         * text2.C (SetSelection): added a BufferView * parameter
18559
18560 2001-02-13  Juergen Vigna  <jug@sad.it>
18561
18562         * lyxfunc.C (Dispatch): fixed protected blank problem.
18563         * BufferView2.C (protectedBlank): added LyxText * parameter.
18564
18565         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18566         (AppendColumn): same as above for column_info.
18567
18568         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18569         (moveCursorUpdate): use a LyXText param for support of InsetText.
18570
18571         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18572         (tripleClick): ditto
18573
18574         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18575
18576         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18577
18578         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18579
18580         * text2.C (SetSelection): set correct update status if inset_owner
18581         (ToggleFree): ditto
18582
18583 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18584
18585         * tabular.C: remove some commented code.
18586
18587 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18588
18589         * BufferView_pimpl.C: call hideSplash()
18590
18591         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18592
18593         * include_form.h:
18594         * bibforms.h: remove
18595
18596         * lyxfunc.C:
18597         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18598           add LFUN_CHILD_CREATE
18599
18600         * counters.h: fix tiny typo
18601
18602         * lyx_cb.C:
18603         * lyx.h:
18604         * lyx_gui.C:
18605         * lyx.C: move splash to frontends/xforms/
18606
18607         * lyx_gui_misc.C: move Include and Bibform to frontends
18608
18609         * lyxvc.h: clarify comment
18610
18611         * vspace.C: tiny housekeeping
18612
18613 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18614
18615         * text.C (PrepareToPrint): RTL Fix.
18616
18617         * paragraph.C (GetUChar): New method.
18618         (String):  Use GetUChar.
18619
18620         * buffer.C (asciiParagraph): Use GetUChar.
18621
18622 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18623
18624         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18625
18626 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18627
18628         * buffer.h:
18629         * buffer.C: rename to getLogName(), handle
18630           build log / latex log nicely
18631
18632 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18633
18634         * MenuBackend.C:
18635         * MenuBackend.h: remove support for reference menuitem type.
18636
18637 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18638
18639         * BufferView_pimpl.C: housekeeping
18640         * BufferView_pimpl.h:
18641         * LyXView.h:
18642         * Makefile.am:
18643         * Timeout.C:
18644         * Timeout.h:
18645         * minibuffer.h: move Timeout GUI-I
18646
18647 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18648
18649         * lyxrc.C (read): Update converters data-structures.
18650
18651 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18652
18653         * LaTeX.h (operator!=): add operator != for Aux_Info
18654
18655 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18656
18657         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18658
18659         * LaTeXLog.C: deleted, useful code moved to Buffer
18660
18661         * buffer.h:
18662         * buffer.C: new function getLatexLogName()
18663
18664         * lyx_gui_misc.C:
18665         * lyx_gui.C:
18666         * lyxvc.C:
18667         * lyxvc.h:
18668         * lyxfunc.C: use frontends for LaTeX and VC logs
18669
18670 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18671
18672         * LaTeX.h: yet another std:: that Allan forgot.
18673
18674         * Variables.C (set): renamed from isset(), because this clashes
18675         with some HP-UX macros (grr).
18676
18677 2001-02-06  Allan Rae  <rae@lyx.org>
18678
18679         * LaTeX.h: Another bug fix.  Missing std:: this time.
18680
18681 2001-02-04  Allan Rae  <rae@lyx.org>
18682
18683         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18684         floats problem. I've left it commented out because it's not quite
18685         correct.  It should also test that the current object is a table or
18686         figure inset.  But I haven't gotten around to figuring out how to do
18687         that.  I *think* it'll be something like: "table" == inset.type()
18688
18689         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18690         bool.
18691
18692 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18693
18694         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18695         all the citation/databases/styles in the auxilary file.
18696         (run): Rerun latex if there was a babel language error.
18697
18698 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18699
18700         * text.C (Backspace): Preserve the font when changing newline char
18701         with a space.
18702         (BreakParagraph): If the cursor is before a space, delete the space.
18703
18704         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18705
18706 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18707
18708         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18709         new argument (code).
18710         (ChangeCitationsIfUnique): New method.
18711
18712         * paragraph.C (GetPositionOfInset): Handle bibkey.
18713
18714 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18715
18716         * BufferView_pimpl.h: change type of Position::par_pos to
18717         LyXParagraph::size_type.
18718
18719 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18720
18721         * BufferView_pimpl.C (savePosition, restorePosition): Write
18722         messages to minibuffer.
18723
18724 2001-01-28  José Matos  <jamatos@fep.up.pt>
18725
18726         * buffer.C (makeDocBookFile): adds support for document language.
18727         A silly restriction on the name of LatexCommand types where removed.
18728         Added support for CDATA sections, allows to chars unescaped, used
18729         among others in code, to avoid escape < and >.
18730
18731 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18732
18733         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18734         saved positions instrad of a stack. Furthermore, a position is
18735         stored using paragraph id/paragraph position.
18736
18737         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18738         Remove LFUN_REF_BACK.
18739
18740 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18741
18742         * converter.C (dvipdfm_options): New method.
18743
18744 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18745
18746         * vspace.C (isValidLength): Fix for empty input string.
18747
18748 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18749
18750         * LyXAction.C (init): change description of LFUN_FIGURE to
18751         "Insert Graphics"
18752
18753 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18754
18755         * LaTeX.C: add using directive
18756
18757 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18758
18759         * MenuBackend.C (expand): Fix the sorting of the formats.
18760
18761 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18762
18763         * lyx_main.C: tiny error message fix
18764
18765 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18766
18767         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18768         calling fl_initialize(). This fixes the problem with ',' as
18769         decimal separator in text files.
18770
18771 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18772
18773         * trans.C (process): Fix the keymap bug.
18774
18775 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18776
18777         * LaTeX.C (scanAuxFiles): New method. Provides support for
18778         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18779         (scanLogFile) Scan for "run BibTeX" messages.
18780
18781         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18782         OT1 font encoding. Also, load the aecompl package if the ae
18783         package is loaded.
18784
18785         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18786
18787 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18788
18789         * texrow.C (increasePos): turn two error messages into debug
18790         messages.
18791
18792 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18793
18794         * LaTeX.C (scanAux): Handle the \@input macro.
18795         (runBibTeX): Use scanAux().
18796
18797         * language.C (latex_options_): New field.
18798
18799         * LaTeXFeatures.C (getMacros): Add language macros.
18800
18801         * buffer.C (makeLaTeXFile): Small fix.
18802
18803 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18804
18805         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18806
18807         * text2.C: add a using directive.
18808
18809 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18810
18811         * BufferView2.C:
18812         * lyx_gui_misc.h:
18813         * lyxfr1.C:
18814         * lyxfunc.C: kill LyXBell.
18815
18816 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18817
18818         * text.C (IsBoundary): Remove the error message
18819
18820         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18821
18822         * lyxrc.C (setDefaults): Correct initialization value for
18823         font_norm_type.
18824
18825 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18826
18827         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18828         gotoError().
18829
18830         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18831         and GotoNextNote().
18832
18833         * src/LyXAction.C: Added reference-next.
18834
18835         * text.C (InsertChar): Use contains instead of strchr.
18836
18837         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18838
18839 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18840
18841         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18842         alignment commands (when needed).
18843
18844         * text.C (InsertChar): Add ':' to number separator chars.