]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fix bug 2195: Slowness in rendering inside insets, especially on the Mac
[lyx.git] / src / ChangeLog
1 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * BufferView.[Ch]:
4         * BufferView_pimpl.[Ch]: 
5         * LyXAction.C:
6         * debug.[Ch]:
7         * rowpainter.C:
8         * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
9
10 2006-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
11
12         * pch.h: fix nullstream.hpp location for boost 1.33.0
13
14 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
15
16         * pch.h:
17         * support/pch.h:
18         * support/debugstream.h: Use the correct nullstream.
19
20 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
21
22         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
23
24 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
25
26         * cursor.C (niceInsert): fix (properly) insertion of
27         fonts/decorations around selection
28
29 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
30
31         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
32
33 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * text3.C (mathDispatch): fix crash when selection is not empty
36         but selectionAsString is empty (bug 2321).
37
38 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * text.C (changeCase): avoid crash in empty paragraph or on last
41         word of the paragraph. (buf 2323)
42         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
43
44 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
45
46         * buffer.C (readHeader): also erase params.preamble in advance
47         so that an empty preamble is actually recognized (bug 2317).
48
49         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
50
51 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
52
53         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
54
55 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
56
57         * buffer.C:
58         * bufferparams.[Ch]:
59         * lyxtext.h:
60         * paragraph.[Ch]:
61         * paragraph_funcs.C
62         * rowpainter.C:
63         * text.C:
64         * text2.C:
65         * text3.C: Fix bug 2115: blue language lines (for default font)
66         popping up when the documnent font is different. This includes work
67         by Georg Baum.
68
69 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
70
71         * exporter.C (Backends): Add "lyx" backend
72         * exporter.C (Export): Handle "lyx" backend
73         * graph.C (getReachable): Don't exclude "lyx"
74         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
75
76 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
77
78         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
79         for correct in-mathed positioning
80
81 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
82
83         * rowpainter.C (paintForeignMark): fix foreign blue line under
84         insets
85
86 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
87
88         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
89         pit of the uno range (bug 2022).
90
91 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
92
93         * messages.C (get): Only warn once if setlocale fails (bug 2177)
94
95 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
96
97         * text2.C (setCharFont): take inset's own font settings into account
98         when defining the font to reduce to, fixes 2019
99
100 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
101
102         * bufferview_funcs.C (coordOffset): remove the check for
103         collapsed collapsables (fix for bug 2094). This is now done
104         on a more general level (cursor.C).
105
106         * dociterator.[Ch] (forwardPos): add an optional argument
107         bool "ignorecollapsed" (default false), which lets forwardPos
108         skip collapsed insets.
109
110         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
111         (fixes bug 2241 and 2094).
112
113 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
114
115         * buffer.C: change tracking (dvipost) doesn't require
116         color.sty anymore.
117
118         * LaTeXFeatures.C (getPackages): no need for the color
119         option "usenames" (bug 2169).
120
121 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
122         * buffer_funcs.C: Trivial fix - added {} around
123         the statements to be affected by a if-test. Now
124         label in a minipage in a float looks ok on screen again.
125
126 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
127
128         * text2.C: fix bug 2015: on screen fonts in nested environments 
129         can be wrong
130
131 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
132
133         * converter.C (convert): handle unknown formats
134
135 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
136
137         * cursor.C (goUpDown): comment out some debug messages.
138
139         * counters.C (newCounter): make error messages more explicit
140         (these appear with some textclasses like beamer)
141
142 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * kbmap.C (defkey): 
145         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
146         have origin set to KEYBOARD. (bug 2221)
147
148 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
149
150         * rowpainter.C (isCursorOnRow): do not exclude endpos().
151
152 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * cursor.C (macroModeClose): returns true if an inset actually got
155         inserted; revert faulty fix to bug 2034.
156
157 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * tabular.C (getLabelList): remove (not used anymore).
160
161 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
162
163         * outputparams.[Ch]: add new flag inComment
164
165 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
166
167         * text2.C (deleteEmptyParagraphMechanism): since we delete a
168         paragraph, recordUndo should span two paragraphs (bug 2155).
169
170 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
171
172         * rowpainter.C (paintPar): always repaint the row with the
173         cursor in it
174
175 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
176
177         * MenuBackend.h: 
178         * bufferlist.h: 
179         * lyxtext.h: 
180         * paragraph.h:
181         * vspace.h: fix syntax error
182
183 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
184
185         * text3.C (dispatch): Force refresh if typing into inset changes its
186                               metrics
187
188 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
189
190         * RowList_fwd.h:
191         * paragraph.C:
192         * paragraph.h:
193         * rowpainter.C: Speed up rendering by only re-painting rows that
194         have changed. When selection or whole-screen update active, all rows
195         are repainted, as are all rows within insets.
196
197 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
198
199         * version.C.in: Use PACKAGE_VERSION instead of VERSION
200
201 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
202
203         * tabular.C (toggleFixedWidth): Use default layout of text class
204         instead of hardcoded "Standard"
205
206 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * lyxfunc.C (dispatch): do not call getStatus again to determine
209         whether a lfun is disabled (bug 2172).
210
211 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
212
213         * cursor.C (macroModeClose): set the cursor inside the new math
214         atom if relevant (think \frac{}{}) (bug 2034)
215
216 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
217
218         * lyxtext.h:
219         * text.C:
220         * text3.C (Delete, backspace): force update when merging paragraphs
221
222 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
223
224         * BufferView.C (mouseSetCursor): clear the selection properly (bug
225         2163). 
226
227 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
228
229         * text.C (redoParagraph): honor inset->noFontChange()
230         * rowpainter.C (paintInset): ditto
231
232 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
233
234         * lyx_main.C (priv_exec): don't initialize Math on startup 
235         (initMath() has been moved to math_hullinset).
236
237 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
238
239         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
240         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
241         * paper.h: dispose dead PAPER_PACKAGES enum.
242
243 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
244
245         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
246         without X support.
247
248 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
249
250         * exporter.C (Export): Don't try to copy a file if it does not exist
251         (bug 1888)
252
253 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * text2.C (makeFontEntriesLayoutSpecific): remove.
256         (setLayout): adapt.
257
258         * text.C (insertChar): remove bogus caching of fonts (did not do
259         anything). 
260
261         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
262         ALL_SANE). (bug 2146)
263
264 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
265
266         * rowpainter.C (paintFirst): fix centering of
267         LABEL_CENTERED_TOP_ENVIRONMENT. 
268
269 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
270
271         * BufferView.C (mouseSetCursor): new method. Calls
272         deleteEmptyParagraphMechanism if necessary.
273
274         * lyxtext.h: make deleteEmptyParagraphMechanism public.
275
276         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
277         BufferView::mouseSetCursor (bug 2109).
278         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
279
280 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
281
282         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
283         do not remove it (this inset behaves differently from the others).
284
285 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
286
287         Fix bug 2096.
288         
289         * BufferView_pimpl.C (getStatus): it is only possible to insert a
290         file in a text inset.
291
292         * buffer.C (readDocument): remove pit argument and code releated
293         to it; set the inset owner correctly (unrelated, but useful).
294         (readFile): get rid of pit argument.
295
296         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
297         textclass instead of a selection index.
298         (pasteParagraphList): new function.
299         (pasteSelection): make it a wrapper around pasteParagraphList.
300
301         * BufferView_pimpl.C (MenuInsertLyXFile): use
302         cap::pasteParagraphList to insert a file.
303
304 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
305
306         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
307
308 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
309
310         * exporter.C: fix typo in text message
311
312 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
313
314         * text2.C (setLayout): move recUndo call to other setLayout method
315         * tabular.C (toggleFixedWidth): new, handle cell width changes
316         * tabular.C (setColumnPWidth): move some code from insettabular.C here
317         and use toggleFixedWidth
318         * tabular.C (setMColumnPWidth): ditto
319
320 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
321
322         * paragraph.C (asString): use new inset->textString method (fix
323         bug 2089) 
324
325 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
326
327         * CutAndPaste.C (numberOfSelections): new helper function.
328
329         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
330
331         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
332         LyXFunc::getStatus; implement LFUN_PASTE.
333
334 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
335
336         * dociterator.[Ch]: new member realInset() that returns the cell
337         for tabulars and the inset for the rest (bug 1952).
338         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
339         (bug 1952).
340
341 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
342
343         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
344
345 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
346
347         * lyxfunc.C:
348         * paragraph.C:
349         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
350         argument.
351
352 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
353
354         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
355         line after typing ctrl-enter
356
357 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
358
359         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
360         math insets do not return a proper editable() state yet (bug 2124).
361
362 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
363
364         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
365         docs containing very large paragraphs.
366
367 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
368
369         * cursor.C (selectionBegin, selectionEnd):
370         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
371         cursor at different depths.
372
373 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
374
375         * bufferview_funcs.C (coordOffset): do not call cursorPos
376         for collapsed collapsables (fix bug 2094).
377
378 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
379
380         * paragraph.C (fontSpan): make sure that the FontSpan does not
381         span across beginOfBody (bug 1947).
382
383 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
384
385         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
386
387 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
388
389         * messages.C: fix crash and localization on MinGW/Windows platform
390
391 2005-11-02  Angus Leeming  <leeming@lyx.org>
392
393         * Bidi.C:
394         * lyxtextclass.C: trivial fixes to some MSVS warnings.
395
396 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * text3.C (getStatus): re-enable disabled code. (bug 2081)
399
400         * BranchList.h (empty): constify.
401
402 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
403
404         * text3.C (getStatus): 
405         * MenuBackend.C (expandBranches): take the branch list from the
406         master document (bug 2092).
407         
408         * MenuBackend.C (expandBranches): 
409         * bufferparams.C (writeFile): use BranchList type.
410
411 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
412
413         * text3.C (dispatch, getStatus): 
414         * LyXAction.C (init): 
415         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
416
417 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
418
419         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
420
421 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
422
423         * text.C (insertChar): do not reset boundary (bug 2061)
424
425 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
426
427         * dociterator.C (updateInsets): new method. Updates the inset_
428         cache of all the slices of the iterator.
429
430         * text2.C (deleteEmptyParagraphMechanism): compare also containing
431         insets when comparing pit/pos; pass the right cursor to
432         recordUndo; when a paragraph has been deleted, compare `old.top()' to
433         the right cursor slice of `cur'; use updateInsets on cur to make
434         sure that the inset caches are correct; general cleanup.
435
436 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
437
438         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
439         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
440         containg inset. If this does not work, the same command will be
441         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
442
443         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
444         a dispatch.
445
446 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
447
448         * lyxtextclass.C (Read): convert layout file if the format is wrong
449         * lyxtextclass.C (layout2layout): new, needed for the above
450
451 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
452
453         * messages.C: do not forget to include <cerrno>.
454
455 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
456
457         * dociterator.h (StableDocIterator): add access to pos().
458         * undo.C (samePar): new method to check if two
459         iterators are in the same paragraph
460         * undo.C (recordUndo): check for samePar instead of cell identity
461         (which includes pos() and is too strict) (fixes bug 2097)
462
463 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         * text.C (setCursorFromCoordinates): return a bool telling whether
466         dEPM triggered.
467
468         * text3.C (cursorPrevious): update if needed after
469         setCursorFromCoordinates (when dEPM triggered).
470
471         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
472         (otherwise the anchor may be completely wrong and make dEPM assert).
473
474 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
475
476         * buffer.C: version upgrade to 245.
477         * bufferparams.C: remove \quotes_times (bug 2090).
478         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
479         quotation marks as default.
480
481 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
482
483         * CutAndPaste.C (nrOfParagraphs): remove (unused)
484         * CutAndPaste.C (cutSelection): Remove debug message
485         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
486         undo information and only copy if this is a real cut
487         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
488         call
489         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
490         (bug 2059)
491         * CutAndPaste.C (eraseSelection): prevent cursor corruption
492         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
493         superflous cur.selection() setting
494         * CutAndPaste.[Ch] (grabSelection): take a const cursor
495         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
496
497 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
498
499         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
500         change anything.
501
502 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
503
504         * BufferView_pimpl.C: comment layout change
505
506 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
507
508         * LyXAction.C:
509         * lfuns.h:
510         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
511         by bibliography managers (bug 2071).
512
513 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
514
515         * BufferView_pimpl.C (update): choose arguments to update call so
516         that single-par update works most times
517         * text3.C (dispatch): carefully tune updating separately for
518         whole-screen and current-paragraph
519         * rowpainter.C (paintText): 1) replace painting by caching for
520         the two extra paragraphs, because we can;
521         2) suppress greying out of areas below/above drawn area in case of
522         single-par refresh
523         * lyxfunc.C (dispatch): remove superfluous update
524         * LyXAction.[Ch]: introduce SingleParUpdate
525
526 2005-10-05  Angus Leeming  <leeming@lyx.org>
527
528         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
529         always initialised before use.
530
531         * text.C (setHeightOfRow): squash warning about comparison
532         of signed and unsigned types.
533
534 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
535
536         * text.C (cursorX): two fixes involving RtL text drawing
537
538 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539
540         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
541         items, not only large ones (part of bug 2057)
542
543 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
546         argument, use "newcommand".
547
548 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
549
550         * cursor.C (setSelection): do not open collapsable insets;
551         the insets do by themselves now (autoopen).
552
553 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
554
555         * buffer.C: format is up to 244.
556
557 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
558
559         * text.C (redoParagraph): fix calcultation of inset width wrt 
560         leftMargin (bug 1957).
561
562         * text3.C (dispatch): leave inset to the right when hitting ESC 
563         (bug 2034).
564
565 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
566
567         * text2.C: 
568         * text.C: 
569         * factory.C:
570         * messages.C: include <boost/current_function.hpp> 
571
572 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
575         when command is internal. (bug 1941)
576
577 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
578
579         * text2.C (cursorRight): do not honor boundary when at the end of
580         a paragraph. (bug 2010 again)
581
582 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
585
586 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
587
588         * rowpainter.C (paintText): fix RtL space width display bug (2029)
589
590 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
591
592         * text2.C (setCursor): remove the unused 'boundary' parameter for
593         the CursorSlice version; adapt the LCursor version.
594
595         * lyxrc.C (write): 
596         * paragraph_pimpl.C (markErased): 
597         * cursor.C (bruteFind2, bruteFond3): fix warnings.
598
599 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
600
601         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
602         as is already done for "chapter".
603
604 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
605
606         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
607         textclass; do not record undo if nothing is changed.
608
609 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
610
611         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
612
613 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
614
615         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
616
617 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
618
619         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
620         combox, it is necessary to search for the topmost paragraph in the
621         cursor stack (bug 1926)
622
623 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
624
625         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
626         end of paragraph. (bug 2010)
627
628 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
629
630         * text.C (leftMargin): check for inInset == 0
631
632 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
633
634         * text.C (leftMargin): test for insetbase's new neverIndent()
635         bool instead of listing each and every inset that does not
636         wish par indendation.
637
638 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
639
640         * buffer_funcs.C (setCounter): put the code to compute enum label
641         here (where it belongs).
642
643         * counters.C (enumLabel): move code to buffer_funcs.C.
644
645 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
646
647         * outputparams.[Ch]: store local_font instead of local_language
648         * paragraph.C (simpleTeXOnePar): adapt to the change above
649
650 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
651
652         * buffer_funcs.C:
653         * counters.[Ch]: clean up special code for Hebrew.
654
655 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
656
657         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
658         than 2.
659
660 2005-09-08  Angus Leeming  <leeming@lyx.org>
661
662         * ispell.C:
663         * lyxrc.C: correct grammar describing invocation of the
664         spellchecker.
665
666 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
667
668         * text.C (read): remove unused variable.
669         (readParToken): remove static Change variable (never good in
670         recursive settings...); add it as a parameter instead.
671
672         * paragraph_pimpl.C (acceptChange): make debug info conditional.
673
674         * metricsinfo.C (PainterInfo): add new member erased_.
675
676         * rowpainter.C (RowPainter): add erased_ member, initialized from
677         PainterInfo. 
678         (paintInset): pass erased_ to Inset::draw.
679
680         * lyxfunc.C (lookupChange): new function. Tells whether change 
681         tracking is disabled at a given postion.
682         (getStatus): disable some actions when in deleted text with change
683         tracking. 
684
685 2005-08-03  John Levon  <levon@movementarian.org>
686         
687         * tabular.C (appendColumn, setMultiColumn): adapt to change to
688         InsetText::clear().
689
690         * paragraph_pimpl.C (markErased): add bool argument and handle it.
691         Also make sure to mark insets recursively.
692         (rejectChange, erase): be recursive
693
694         * paragraph.C (markErased): add bool argument.
695 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
696
697         * lyxfind.C (findNextChange): tiny cleanup.
698
699         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
700         change tracking with the cursor in an inset; make sure the first
701         change is not skipped.
702
703 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
704
705         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
706         tabularStackDirty to work around bug 1919 (tabular needs
707         to know whether its own cell paste buffer or the one of 
708         texted is newer.
709         * CutAndPaste.C: mark tabular_stack_ clean after copy.
710
711 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
712
713         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
714
715 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
716
717         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
718         use old deleteion algorithm when changetracking is on.
719
720 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
721
722         * messages.C (get): add debug output.
723
724 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
725
726         * text.C (cursorX): fix bug 1965: cursor movement at
727         line end broken in RtL.
728         (drawSelection): fix bug 1970: drawing of single-line 
729         selection broken for RtL.
730
731 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
732
733         bug 465.
734
735         * dociterator.h (clear, push_back, pop_back): change from
736         protected to public.
737
738         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
739         and changed to just return the value of the item depth; take a
740         ParIterator as argument; take the itemdepth at outer nesting level
741         in account if necessary; cleanup and comment the code.
742         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
743         and changed to just return true if reset is needed; take a
744         ParIterator as argument; cleanup and comment the code.
745         (setCounter): adapt to above changes.
746
747 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
748
749         * text3.C (dispatch): make debug message optional
750
751 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
752
753         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
754         inset. (bug 1963)
755
756 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
757
758         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
759
760 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
761
762         * text.C (insertChar):
763         * text2.C (deleteEmptyParagraphMechanism): take care whether 
764         a blank has been deleted (in change tracking mode) (bug 1254).
765
766 2005-07-20  John Levon  <levon@movementarian.org>
767
768         * text2.C (insertStringAsLines): remove old dubious code,
769         fixing bug 1939.
770
771 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
772
773         * MenuBackend.C (expandToc): use Floating::listName() as title of
774         the floats submenus.
775
776 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
777
778         * toc.[Ch]: Do not use translatable strings (bug 1870).
779
780 2005-07-20  John Levon  <levon@movementarian.org>
781
782         * tabular.C: fix 1748 - setting multicolumn adds
783           left line to the first cell
784
785 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
786
787         bug 1920
788         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
789         pars in one go.
790
791 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
792
793         * messages.C: supress some lyxerr messages
794
795 2005-07-18  Juergen Vigna  <jug@lyx.org>
796
797         * text.C (drawSelection): honor boundary when asking for cursorX.
798
799 2005-07-17  José Matos  <jamatos@fc.up.pt>
800
801         * tabular.C (recalculateMulticolumns): fix handling of one column
802         tables.
803
804 2005-07-17  Juergen Vigna  <jug@lyx.org>
805
806         * text.C (Delete, backspace): fixed so that paragraph with the
807         same layout can be merged by Delete/Backspace.
808
809 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
810
811         * text.C (readParToken): fix spelling.
812
813 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
814
815         * text2.C: fix counter update for DEPM problem reported by
816         Georg Baum
817
818 2005-07-17  Juergen Vigna  <jug@lyx.org>
819
820         * BufferView_pimpl.C (setBuffer): save/restore the
821         cursor/selection when switching buffers
822
823         * buffer.h: 
824         * buffer.C (saveCursor): add saveDocumentIterators to save the
825         cursor when switching buffer.
826
827 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
828
829         * debug.C: fix typo
830         * buffer.C: clarify message
831         
832 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
833
834         * dociterator.C (DocIterator): fix initialization order
835
836 2005-07-17  Juergen Vigna  <jug@lyx.org>
837
838         * text2.C (cursorHome): 
839         * text.C (drawSelection, cursorX): 
840         * dociterator.C (textRow): add boundary to getRow() call
841
842         * paragraph.C (getRow): implementation of below
843
844         * paragraph.h: add parameter boundary for getRow() function
845
846 2005-07-17  José Matos  <jamatos@fc.up.pt>
847
848         * buffer.C:
849         * bufferparams.[Ch]:
850         * tex-strings.[Ch]: new file format, remove support for a4.sty,
851         a4wide.sty and a4widemargins.
852
853 2005-07-17  Juergen Vigna  <jug@lyx.org>
854
855         * text2.C (cursorLeft): fix one of error
856
857 2005-07-17  Juergen Vigna  <jug@lyx.org>
858
859         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
860                    cursorEnd):
861         more fixes for boundary handling
862
863         * text3.C (dispatch): don't reset cursor if boundary has changed
864         on cursor movement.
865
866 2005-07-16  Juergen Vigna  <jug@lyx.org>
867
868         * text2.C (getColumnNearX): hopefully got it right now,
869         check if we are on column 0 for special case.
870
871 2005-07-16  Juergen Vigna  <jug@lyx.org>
872
873         * text2.C (getColumnNearX): handle special case Newline Inset
874
875         * text.C (singleWidth): Just remove bogus check
876
877 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
878
879         * funcrequest.C (split): avoid reading uninitialized char c
880
881 2005-07-16  José Matos  <jamatos@fc.up.pt>
882
883         * buffer.C:
884         * converter.C:
885         * lyxrc.C:
886         * paper.h:
887         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
888         single papersize variable.
889
890 2005-07-16  Juergen Vigna  <jug@lyx.org>
891
892         * text3.C (dispatch): honor boundary when checking if a cursor
893         movement has been done
894
895         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
896         (setCursor, setCursorIntern): fix cursor movement with boundary
897
898 2005-07-16  Juergen Vigna  <jug@lyx.org>
899
900         * text.C (currentState): output the actual Boundary
901
902 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
903
904         * factory.C (createInset): fix bad logic for tabular creation
905
906 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
907
908         * lyx_main.C (init): change some reLyX reference to tex2lyx
909
910 2005-07-16  Juergen Vigna  <jug@lyx.org>
911
912         * dociterator.C (DocIterator): initialize boundary
913
914 2005-07-16  Juergen Vigna  <jug@lyx.org>
915
916         * text2.C (getColumnNearX): Consider rows without trailing blank.  
917
918 2005-07-16  André Pönitz  <poenitz@gmx.net>
919
920         * lyxfont.h: Change order of declarations to give the compiler
921         a better chance to inline things
922
923         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
924         questions on unsaved docs for better scritability
925
926 2005-07-16  André Pönitz  <poenitz@gmx.net>
927
928         * paragraph.h (getChar): remove asserts as the same kind of security
929         can be achieved by using a suitable standard library implementation
930         and the function was in the critical path (25.9% in profiler)
931
932 2005-07-16  Juergen Vigna  <jug@lyx.org>
933
934         * cursor.C (bruteFind2):
935         * bufferview_funcs.C (coordOffset): 
936         * text.C (cursorX,cursorY): Handle cursor position after last char
937         in row before a inset which uses a whole row.
938
939 2005-07-15  José Matos <jamatos@lyx.org>
940
941         * output_plaintext.[Ch] (writeFileAscii): control reference title
942         printing.
943         (asciiParagraph): noparbreak was already deal and was incorrectly
944         used.
945
946 2005-07-15  Juergen Vigna <jug@lyx.org>
947
948         * lyxfunc.C (dispatch): save and restore the cursor after a
949         textclass switch.
950
951 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
952
953         * text.C (backspace): bug 806 for empty keepempty paragraphs we
954         change the layout to default before letting DEPM do its thing.
955
956         * paragraph_funcs.C (breakParagraph): dont reset the layout on
957         keepEmpty paragraphs
958
959         * text.C (setCursorFromCoordinates): add a debug statement
960
961         * text2.C (getColumnNearX): bug 1825 make sure that we don't
962         return a pos that is not on the row
963
964         * output_latex.C (TeXDeeper): get rid of potential dereferencing
965         of past the end iterator
966
967 2005-07-14  André Pönitz  <poenitz@gmx.net>
968
969         * undo.C (recordUndoFullBuffer): implement undo for
970         textclass switches
971
972 2005-07-14  André Pönitz  <poenitz@gmx.net>
973
974         * cursor.C (setSelection): open insets when selection is set there
975         to avoid crashs with cold coord cache
976
977 2005-07-14  André Pönitz  <poenitz@gmx.net>
978
979         * trans_mgr.C (insert): move cursor to the right after inserting
980         a char.
981
982 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
983
984         * BufferView_pimpl.C (update): dampen some of the debug blabbering
985         * factory.C (readInset): ditto
986         * text.C, text2.C: ditto
987
988 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
989
990         * buffer.C: format incremented to 242. There is no file format per
991         se, but the "frenchb" language has been removed from lib/language
992         and has to be translated to "french" by lyx2lyx.
993
994 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
995
996         * cursor_slice.h, dociterator.h: add some documentation
997         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
998
999 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1000
1001         * text.C (leftMargin): do not add identation to display() style
1002         insets, because they are always centered (bug 1293).
1003
1004 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1005
1006         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1007         formatted_time methods in support/lyxtime.
1008
1009 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1010
1011         * toc.[Ch]: new method getGuiName, which is used by the frontends 
1012         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1013
1014 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1015
1016         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1017         StableDocIterator const &)
1018         * undo.C (recordUndo): use the above instead of cell.size() comparison
1019         (fixes bug 1808; instructed by Andr�.
1020
1021 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1022
1023         * cursor_slice.h: 
1024         * dociterator.h: Fix the assert when copying rows/cols in math
1025
1026 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1027
1028         * BufferView_pimpl.C:
1029         * LyXAction.C:
1030         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1031
1032         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1033         (findInset): new functions, refactored from goto Inset that return 
1034         the position of a certain inset without setting the buffer's cursor
1035         (by Jean-Marc); 
1036         (gotoInset): rewrite to call findInset and then set the cursor
1037         (by Jean-Marc).
1038
1039 2005-06-16  Angus Leeming  <leeming@lyx.org>
1040
1041         * lyxrc.C (output, read): wrap all input and output of paths with
1042         calls to os::internal_path and os::external_path, respectively.
1043         (output): wrap bind_file inside quotes.
1044
1045         * format.C (view): enable the viewer to use the '$$s' placeholder.
1046
1047 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1048
1049         * LColor.[Ch] (getFromLaTeXName): new
1050
1051 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1052
1053         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1054
1055 2005-06-14  Angus Leeming  <leeming@lyx.org>
1056
1057         * lyx_main.C (init): ensure that the LyX binary dir is the first
1058         element in the PATH on non-POSIX builds.
1059
1060 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1061
1062         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1063
1064 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1065
1066         * rowpainter.C (paintInset, paintHebrewComposeChar)
1067         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1068         (paintChars): use getFontSpan to reduce calls to getFont to a
1069         minimum; use Paragraph::lookupChange instead of isXXXText.
1070         (paintForeignMark): rename LyXFont argument.
1071         (paintFromPos): pass a LyXFont object to the various paintXXX
1072         methods.
1073
1074         * FontIterator.C (FontIterator, operator++): use
1075         Paragraph::getFontSpan
1076
1077         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1078         version that returns the font span as a pair.
1079
1080 2005-06-09  Angus Leeming  <leeming@lyx.org>
1081
1082         * converter.C (convert): Don't forget "outfile = real_outfile" as
1083         the final step in a conversion where the input and output file names
1084         are the same. Otherwise, future conversion steps won't work...
1085
1086 2005-06-09  Angus Leeming  <leeming@lyx.org>
1087
1088         * lyxsocket.C: remove stub code as it isn't needed by
1089         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1090
1091 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1092
1093         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1094         effectively disabled -x
1095
1096 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1097
1098         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1099         when it actually makes sense.
1100
1101 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1102
1103         * BufferView_pimpl.C: revert to showCursor in connection with
1104         Lars's front-end stack
1105
1106 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1107
1108         * text.C (redoParagraph): move cursor right after a bibitem
1109         has been inserted.
1110
1111         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1112
1113 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1114
1115         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1116         error range.
1117
1118 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1119
1120         * BufferView.[Ch] (update):
1121         * BufferView_pimpl.[Ch] (update, metrics):
1122         * dimension.h (operator==):
1123         * lyxfunc.C (dispatch):
1124         * metricsinfo.h (ViewMetricsInfo):
1125         * rowpainter.C (paintText):
1126         * lyxtext.h:
1127         * text.C (redoParagraph):
1128         * text3.C (dispatch): Make LyX only repaint current paragraph in
1129         case of character insert --> speedup. Also fix cursor draw
1130         artifacts
1131
1132 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1133
1134         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1135         avoid a crash (bug 1891)
1136
1137 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1138
1139         Fix bug 1892:
1140
1141         * text2.C (getStringToIndex): constify cur argument.
1142
1143         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1144         argument has been given
1145         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1146         try to invoke LFUN_INSET_APPLY).
1147
1148         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1149         if no inset was created by doInsertInset
1150         (doInsertInset): return true if an inset has been inserted.
1151
1152 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1153
1154         * vspace.C (asGUIName): new method. A version of the space
1155         suitable for showing on screen.
1156
1157 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1158
1159         * MenuBackend.C:
1160         * lyxrc.C: rename "ASCII" to "Plain Text"
1161
1162 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1163
1164         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1165         translate the labelstring.
1166         (setCounter): translate labelstring as needed.
1167
1168         * output_docbook.C (makeCommand): fix expandLabel invokation
1169
1170 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1171
1172         * BufferView.C: fix dialog title
1173
1174 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1175
1176         * lyx_main.C (priv_exec): fix logic error with help from Angus
1177         * lyx_main.C (parse_execute): set is_gui = false and remove now
1178         obsolete comment about a segfault
1179
1180 2005-05-18  Angus Leeming  <leeming@lyx.org>
1181
1182         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1183
1184 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1185
1186         * tabular.[hC]: added setCellInset to fix tabular paste.
1187
1188 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1189
1190         * buffer.C (save): check if destination is writable before trying
1191         to copy a file
1192
1193 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1194
1195         * BufferView_pimpl.C (update): fix processEvents -caused update
1196         recursion bug
1197
1198 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1199
1200         * buffer_funcs.C (setCounter): fix test for numbering of
1201         environments.
1202
1203         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1204         depth correctly; use optional argument when it exists
1205
1206         * lyxtextclass.C: remove unused MaxCounterTags enum
1207         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1208         (max_toclevel, min_toclevel): new methods.
1209
1210         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1211         the smallest depth in toc.
1212
1213         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1214         layouts that should not appear in a table of contents.
1215
1216 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1217
1218         * cursor.h (undispatched, noUpdate): add comments from Andr�
1219 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1220
1221         * lfuns.h:
1222         * LyXAction.C:
1223         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1224
1225 2005-05-07  André Pönitz  <poenitz@gmx.net>
1226
1227         * cursor.[Ch] (leaveInset): new function
1228
1229 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1230
1231         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1232
1233 2005-05-04  Angus Leeming  <leeming@lyx.org>
1234
1235         * lyxfunc.C (getStatus): disable the spell checker dialog if
1236         none of USE_[AIP]SPELL are defined.
1237
1238 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1239
1240         * tabular.C (setWidthOfCell): remove obsolete comment
1241
1242 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1243
1244         * paragraph.C (bibitem):
1245         * buffer_funcs.C (setCounter):
1246         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1247
1248 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1249
1250         * text3.C (getStatus): immediately return after setOnOff
1251
1252         * rowpainter.C: fix drawing of appendix start
1253
1254 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1255
1256         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1257         SwitchBetweenClasses and remove the unused return value.
1258         Handle character styles, too
1259
1260 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1261
1262         * factory.C (createInset): handle undefined character styles
1263
1264 2005-05-02  Angus Leeming  <leeming@lyx.org>
1265
1266         * buffer.C: protect the #include of utime.h with a preprocessor
1267         guard.
1268
1269 2005-05-02  Angus Leeming  <leeming@lyx.org>
1270
1271         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1272         function so that auto-saving works, albeit in a blocking manner.
1273
1274         * Makefile.am: make compilation of the client sub directory, of
1275         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1276         on conditionals set at configure time.
1277
1278         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1279         it can be compiled in its own right but has no-op functionality.
1280
1281         * aspell.C, pspell.C: remove preprocessor guards. The files should
1282         be compiled only if the necessary functionality exists.
1283
1284         * lyxserver.C, lyxsocket.C: disable on Windows.
1285
1286 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1287
1288         * text.C (leftMargin): Fix the parindent use bug (1764)
1289         by dirty trick
1290
1291 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1292
1293         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1294         argument.
1295
1296 2005-04-25  Angus Leeming  <leeming@lyx.org>
1297
1298         * Bidi.[Ch]:
1299         * coordcache.[Ch]:
1300         * ispell.C:
1301         * lyxserver.C:
1302         * mover.C:
1303         * pch.h:
1304         include <config.h> in .C files, not .h ones.
1305         add licence blurb.
1306         protect headers inside preprocessor guards.
1307
1308 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1309
1310         * FuncStatus.h (StatusCodes): document
1311
1312 2005-04-21  André Pönitz  <poenitz@gmx.net>
1313
1314         * FuncStatus.h (enabled, onoff): document
1315
1316 2005-04-19  Angus Leeming  <leeming@lyx.org>
1317
1318         * BufferView_pimpl.C (cursorToggle): no longer test whether
1319         any child processes have been reaped before calling
1320         handleCompletedProcesses().
1321
1322 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1323
1324         * text3.C (dispatch): fix, finally fix, the language problem in
1325         new lyxtexts, without disabling on-the-fly font changes (Helge's
1326         bug report)
1327
1328 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1329
1330         * text3.C (dispatch): set cursor on double/triple click events
1331         (bug 1811)
1332
1333 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1334
1335         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1336         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1337
1338         * rowpainter.C (paintFirst): simplify the code a little bit. In
1339         particular, remove the test for secnumdepth.
1340         * text.C (setHeightOfRow): only allocate space for chapter number
1341         when updateCounters provided an actual label, instead of looking
1342         at secnumdepth directly.
1343
1344         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1345
1346         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1347         paragraphs when secnumdepth is large enough or, for environments,
1348         when they are not the first in a sequence.
1349
1350 2005-04-17  Angus Leeming  <leeming@lyx.org>
1351
1352         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1353         containing space and '~' characters with a call to latex_path().
1354
1355 2005-04-17  Angus Leeming  <leeming@lyx.org>
1356
1357         * converter.C (convert): protect all args of convertDefault.sh
1358         script with quotes.
1359
1360 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1361
1362         * text3.C (dispatch): change the layout to "Caption" after inserting
1363         a float.
1364
1365 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1366
1367         * text3.C (dispatch): fix language problem in newly created
1368         textinsets (and main text) in non-english docs
1369
1370 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1371
1372         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1373         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1374         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1375
1376 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1377
1378         * lyxtext.h:
1379         * text.C (metrics):
1380         * text2.C (getFont):
1381         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1382         fonts fix
1383
1384 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1385
1386         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1387         output of \item arguments without trailing text.
1388
1389 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1390
1391         * FontIterator.C (operator*): avoid a copy of the font.
1392
1393 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1394
1395         * rowpainter.C (getFont): fix language bug from previous fix
1396
1397 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1398
1399         * rowpainter.C (RowPainter, getFont): fix font inside inset
1400         (bugs 1766, 1809)
1401
1402 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1403
1404         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1405         preventing inserted font, deco, delim insets jumping to start of
1406         surrounding inset.
1407
1408 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1409
1410         * lyxfunc.C (dispatch): translate message before sending it to the
1411         minibuffer.
1412
1413 2005-03-29  Angus Leeming  <leeming@lyx.org>
1414
1415         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1416         to LyX on the command line.
1417
1418 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1419
1420         * vc-backend.C: use QuoteName to protect file names wherever
1421         necessary.
1422
1423 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1424
1425         * buffer.[Ch]:
1426         * BranchList.h: fix bugs 1844,1845: document settings don't
1427         stick
1428
1429 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1430
1431         * lyxrc.C (setDefaults, read, output, getDescription): add support
1432         for tex_allows_spaces.
1433
1434         * exporter.C (Export): allows files in directory containing spaces
1435         if tex_allows_spaces is true.
1436
1437         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1438         output it in double quotes.
1439
1440 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1441
1442         * rowpainter.C: use default text height for drawing change tracker
1443         strikeout lines.
1444
1445 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1446
1447         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1448
1449 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1450
1451         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1452         directory is missing.
1453
1454 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1455
1456         * text2.C: fixed the fix, extended to other case.
1457
1458 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1459
1460         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1461
1462 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1463
1464         * text2.C (cursorUp): get rid of a crash
1465         * text.C (x2pos): add an assert
1466
1467 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1468
1469         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1470
1471         * text3.C:
1472         * lyxfunc.C:
1473         * dociterator.C: include <boost/current_function.hpp>, which is
1474         needed when assertions are disabled.
1475
1476 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1477
1478         * text2.C: fix for stuck cursor when traversing two
1479         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1480
1481 2005-02-25  Andreas Vox  <avox@arcor.de>
1482
1483         * output_docbook.C (makeParagraph): suppress trailing newline
1484         after a run of paragraphs
1485
1486 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1487
1488         * paragraph.C: fix for confused change tracker when pasting
1489         text that begins with a lineseparator. [bug 1827]
1490         (setChange(0, Change::INSERTED);)
1491
1492         * paragraph_funcs.C: fix for lost changes on triple-paste
1493         in change tracking mode [bug 1827] (par.setChange()).
1494
1495 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1496
1497         * text2.C (updateCounters, setCounter, expandLabel): move to
1498         buffer_funcs.
1499
1500         * buffer_funcs.C (updateCounters): turn into a free standing
1501         function and add a buffer parameter. Remove dead code for tracking
1502         labelstring change.
1503         (setCounter): change into a free-standing function which gets a
1504         dociterator as argument. Use this iterator to fix captions in a
1505         simple way. When no float is found above the caption, use the
1506         labelstring of the caption layout as default.
1507
1508         * text.C (breakParagraph, backspace):
1509         * text2.C (init, setLayout, changeDepth):
1510         * text3.C (dispatch):
1511         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1512         updateCounters.
1513
1514         * dociterator.C (forwardPar): make it much faster by calling
1515         forwardPos() only when really necessary.
1516
1517         * output_docbook.C (makeCommand): adapt to expandLabel move.
1518
1519         * cursor.C: remove unused variable
1520
1521 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1522
1523         * paragraph_funcs.C: fix crash when pasting insets in change
1524         tracking mode [bug 1277] (honour change type in moveItem).
1525
1526 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1527
1528         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1529
1530 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1531
1532         * BufferView.C (setCursor): change to use a DocIterator.
1533         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1534         (putSelectionAt): adapt to BufferView::setCursor change.
1535
1536         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1537         moved here from LyXText and rewritten to use proper cursor
1538         methods. Fixes bug 1787, 616 and 835.
1539
1540         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1541         when inside an inset (part of bug 781).
1542         (dispatch): adapt to change of BufferView::setCursor.
1543         (getStatus, dispatch): handle LFUN_GOTOERROR,
1544         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1545
1546         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1547         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1548         * text3.C (gotoNextInset, gotoInset): removed.
1549
1550 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1551
1552         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1553
1554 2005-02-15  Angus Leeming  <leeming@lyx.org>
1555
1556         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1557         can be used meaningfully in a comparison.
1558
1559 2005-02-13  André Pönitz  <poenitz@gmx.net>
1560
1561         * bufferview_funcs.C (coordOffset): improve cursor drawing
1562
1563 2005-02-13  André Pönitz  <poenitz@gmx.net>
1564
1565         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1566         * Cursor.C (dispatch): use fixIfBroken
1567         * lyxfunc.C (getStatus): use fixIfBroken
1568
1569 2005-02-15  Angus Leeming  <leeming@lyx.org>
1570
1571         * lyx_main.C (error_handler):
1572         * lyxfunc.C:
1573         * lyxrc.C (setDefaults):
1574         s/GetEnv/getEnv/.
1575         #include "environment.h".
1576
1577         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1578
1579 2005-02-15  Angus Leeming  <leeming@lyx.org>
1580
1581         * lyxserver.C (startPipe): squash MSVC warning "local variable
1582         'fd' used without having been initialized".
1583
1584 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1585
1586         * BufferView_pimpl.C: revert accidental commit.
1587
1588 2005-02-14  André Pönitz  <poenitz@gmx.net>
1589
1590         * dociterator.[Ch]: new member forwardPosNoDescent(),
1591         which doesn't enter nested insets.
1592         * text2.C (setFont): use forwardPosNoDescent() instead
1593         of ForwardPos() (fixes crash on font change).
1594
1595 2005-02-13  Angus Leeming  <leeming@lyx.org>
1596
1597         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1598         only if lyxrc.path_prefix is not empty.
1599
1600 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1601
1602         * bufferparams.C (readGraphicsDriver): prevent crash
1603
1604 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1605
1606         * text2.C (setCounter): check for inInset() == 0
1607
1608 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1609
1610         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1611         but use update() to get correct screen display; use convert
1612         instead of istringstream.
1613         (getStatus): handle LFUN_GOTO_PARAGRAPH
1614
1615         * lyxfunc.C (dispatch, getStatus): do not handle
1616         LFUN_GOTO_PARAGRAPH here.
1617
1618 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1619
1620         * text3.C (dispatch): size() -> depth()
1621
1622         * text2.C: remove some debug output
1623
1624         * paragraph.C: ws changes only
1625
1626         * lyxfunc.C (getStatus): size() -> depth()
1627
1628         * dociterator.h (clear, push_back, pop_back, internalData,
1629         operator[], resize, empty): new functions
1630         Make StableDocIterator and operator== be friends. Don't inherit
1631         from std::vector use a privat class variable slices_ instead.
1632         Modify to fit.
1633
1634         * dociterator.C: update because of not inheriting from std::vector
1635         anymore. Call explictly to slices_ instead. Use depth() instead of
1636         size() and top() instead of back()
1637
1638         * cursor.C: chagne size() -> depth and back() -> top(). Also
1639         remove some direct operator[](i) calls in favour of foo[i]
1640         (getFont): remove some dead code
1641
1642         * bufferview_funcs.C (coordOffset): size() -> depth()
1643
1644         * buffer.C: ws changes only
1645
1646         * CutAndPaste.C (eraseSelection): back() -> top()
1647
1648         * BufferView_pimpl.C (selectionRequested): back() -> top()
1649
1650         * BufferView.C (setCursor): size() -> depth()
1651
1652 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1653
1654         * text3.C (cursorPrevious): return true if depm changed something
1655         (cursorNext): ditto
1656         (dispatch): rename sl to oldTopSlice, remove moving use the new
1657         NoUpdate func attrib instead. Make sure that needsUpdate is set
1658         for function that have NoUpdate, but where depm might have changed
1659         the buffer anyway.
1660
1661         * text2.C (cursorLeft): make us return true if depm changed
1662         something
1663         (cursorRight): ditto
1664         (cursorUpParagraph): ditto
1665         (curosrDownParagraph): ditto
1666         (cursorUp, cursorDown): ditto, make sure to read comments in code
1667         (deleteEmptyParagraphMechanism): remove an assert, also return
1668         true if just a single char was deleted.
1669
1670         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1671         cursor that we modify, to avoid modifying an active cursor before
1672         we call setCursor. This allows depm to run. Also return true if
1673         depm deleted something.
1674
1675         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1676         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1677         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1678         something was changed in the buffer because of them (ie. depm run)
1679
1680         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1681         debug messages. Make update by default be false. Make sure that
1682         the result of update is retained throught several calls down to
1683         dispatch.
1684
1685         * LyXAction.h: add a new func_attrib: NoUpdate
1686
1687         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1688         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1689         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1690         and LFUN_WORDLEFT
1691         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1692
1693 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1694
1695         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1696         bv_->owner(), bv_->buffer() by direct references to the private
1697         members.
1698         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1699         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1700         (fitCursor): center() is in BufferView::Pimpl.
1701         (getStatus, trackChanges, dispatch): no need for a temporary buf
1702         variable
1703         (fitCursor, workAreaDispatch): use workarea().workheight()
1704
1705 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1706
1707         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1708
1709 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1710
1711         * buffer.C: format up to 241.
1712         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1713         break if pasting into ERT
1714         * lyxfunc.C (getStatus): suppress mathpanel and
1715         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1716
1717 2005-02-01  Angus Leeming  <leeming@lyx.org>
1718
1719         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1720
1721 2005-02-01  Angus Leeming  <leeming@lyx.org>
1722
1723         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1724         calling fs::is_directory().
1725
1726 2005-01-31  Angus Leeming  <leeming@lyx.org>
1727
1728         * lyx_main.C (priv_exec): specify explicitly the relative location
1729         of the top level build directory when run in-place.
1730
1731 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1732
1733         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1734         LyXText containing the cursor, not the top-level one.
1735
1736         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1737         true.
1738         (insertStringAsLines): rename par to pit; use temporary variable
1739         par to hold a Paragraph; do not store par.layout() in a variable,
1740         since the pointer may die when breaking paragraphs; pass pars to
1741         breakParagraph() instead of Buffer::paragraphs().
1742
1743 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1744
1745         * lyxlex_pimpl.h: #include <fstream>.
1746
1747         * BufferView.[Ch] (getLyXText): add a const version.
1748
1749         * BufferView_pimpl.C: add debug aids.
1750
1751         * RowList_fwd.h:
1752         * buffer.h:
1753         * lyxrow.h:
1754         * paragraph_funcs.h: add commentary explaining what the class does.
1755
1756
1757         * coordcache.[Ch]: add lots of commentary.
1758         (startUpdating, doneUpdating): debug aids.
1759         (arrays, insets, parPos, getParPos): accessors to private data.
1760
1761         * cursor_slice.[Ch] (text): add a const version.
1762         * dociterator.[Ch] (text, innerText): add const versions.
1763
1764         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1765         bool.
1766
1767         * paragraph.C (getRow, pos2ros): add asserts.
1768
1769         * paragraph.h: add commentary. Lots of.
1770
1771         * paragraph.[Ch] (metrucs, draw): removed.
1772
1773         * cursor.C:
1774         * rowpainter.[Ch]: const-correct changes.
1775
1776         * text.C: various obvious clean-ups. Removal of ancient cruft.
1777         Bug fixes, even.
1778
1779 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1780
1781         * vc-backend.C (find_file): rewrite to use boost.filesystem
1782         (scanMaster): ditto
1783
1784         * main.C (main): set default name check for boost.filesystem to
1785         no check
1786
1787         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1788         (open): ditto
1789         (doImport): ditto
1790         (actOnUpdatedPrefs): ditto
1791
1792         * lyx_main.C (init): rewrite to use boost.filesystem
1793         (queryUserLyXDir): ditto
1794
1795         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1796         (getContentsOfAsciiFile): ditto
1797
1798         * lastfiles.C (readFile): rewrite to use boost.filesystem
1799
1800         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1801
1802         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1803         (loadLyXFile): ditto
1804
1805         * buffer.C (Buffer): adjust for destroydir
1806         (getLogName): rewrite to use boost.filesystem
1807         (setFileName): ditto
1808         (save): use fs::copy_file (from fs_extras)
1809
1810         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1811
1812         * LaTeX.C (run): rewrite to use boost.filesystem
1813         (scanAuxFiles): ditto
1814         (handleFoundFile): ditto
1815
1816 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1817
1818         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1819
1820         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1821
1822 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1823
1824         * lyxlayout.[Ch]: change some vars from float to double
1825
1826         * buffer.C (readFile): make a local var const
1827
1828         * Several files: use convert<> instead of atoi,strToXXX and friends
1829
1830 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1831
1832         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1833         holds the contents of packages.lst. New functions getAvailable
1834         and isAvailable to parse and check that list, resp.
1835
1836         * LyXAction.C:
1837         * lfuns.h:
1838         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1839
1840         * bufferparams.[Ch]: new param output_changes.
1841
1842         * Buffer.C: increase file format to 240.
1843         Use output_changes and isVailable.
1844
1845         * changes.[Ch]:
1846         * paragraph.C:
1847         * paragraph_pimpl.C: Use output_changes and isVailable.
1848
1849 2005-01-23  Angus Leeming  <leeming@lyx.org>
1850
1851         * output_latex.C: #include "insetbibitem.h", rather than
1852         forward declare function bibitemWidest.
1853
1854 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1855
1856         * lyx_main.C (init): make it compile on the Mac.
1857
1858 2005-01-20  Angus Leeming  <leeming@lyx.org>
1859
1860         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1861         (setLyXMisc): (char string literal) != (char string literal) is
1862         performing a comparison on the addresses. Convert one operand
1863         explicitly to string to guarantee expected behaviour.
1864         From MSVC warning.
1865
1866 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1867
1868         * buffer.C:
1869         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1870
1871         * output_plaintext.C: remove unneeded #include gzstream.h.
1872
1873 2005-01-20  Angus Leeming  <leeming@lyx.org>
1874
1875         * SpellBase.h: rename some of the elements of the Result enum.
1876
1877         * aspell_local.h:
1878         * ispell.h:
1879         * pspell.h:
1880         * aspell.C (check):
1881         * ispell.C (check):
1882         * pspell.C (check): ditto
1883
1884 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1885
1886         * buffer.C: add #include <fstream>.
1887
1888         * lyx_main.C (init): Compile fix.
1889
1890         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1891
1892 2005-01-20  Angus Leeming  <leeming@lyx.org>
1893
1894         * mover.h: change commentary to reflect the changed meaning of
1895         the $$s placeholder.
1896
1897 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1898
1899         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1900
1901         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1902
1903 2005-01-20  Angus Leeming  <leeming@lyx.org>
1904
1905         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1906         printing diagnostic data by not dereferecing an iterator past the
1907         end.
1908
1909 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1910
1911         * buffer.C (readHeader): use "&&" rather than "and".
1912
1913         * lyxserver.h (inPipeName, outPipeName): make these const.
1914
1915 2005-01-19  Angus Leeming  <leeming@lyx.org>
1916
1917         * lyx_main.C (error_handler, init): protect SIGHUP with
1918         #ifdef SIGHUP guards.
1919
1920 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1921
1922         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1923
1924 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1925
1926         * text.C (setHeightOfRow): add a margin at the top and bottom of
1927         the document (bug 1761)
1928
1929 2005-01-17  Angus Leeming  <leeming@lyx.org>
1930
1931         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1932         with "python ". Workaround for a brain-dead Windows.
1933
1934 2005-01-16  Angus Leeming  <leeming@lyx.org>
1935
1936         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1937         for MacOSX and Windows to use prependEnvPath.
1938         Strip out the hard-coded block to add elements to the PATH for
1939         MacOSX and replace it with a call to prependEnvPath using the
1940         contents of LyXRC::path_prefix.
1941         (queryUserLyXDir): strip out the code to run reconfigure, instead
1942         returning a boolean indicating the necessity to do so.
1943         (reconfigureUserLyXDir): contains the code to reconfigure the
1944         user support directory. Is now called after the various LyXRC data
1945         files have been read.
1946
1947         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1948
1949 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1950
1951         * converter.[Ch] (convert): take a new parameter try_default. Use
1952         a default converter (imagemagick) if try_default is true.
1953
1954 2005-01-13  Angus Leeming  <leeming@lyx.org>
1955
1956         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1957         os::cygwin_path_fix.
1958         (write): output LyXRC::cygwin_path_fix as necessary.
1959
1960 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1961
1962         * lyxrc.h:
1963         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1964
1965 2005-01-12  Angus Leeming  <leeming@lyx.org>
1966
1967         * lyx_main.C (init): set the PATH variable to include the
1968         directory containing the LyX binary when running on Mac or Windows.
1969
1970 2005-01-12  Angus Leeming  <leeming@lyx.org>
1971
1972         * lyx_main.C (init): remove cruft that purports to set the locale
1973         dir. It doesn't and is not needed anyway.
1974
1975 2005-01-10  Angus Leeming  <leeming@lyx.org>
1976
1977         * Makefile.am: remove the lyx_main.C special casing.
1978
1979         * BufferView_pimpl.C:
1980         * bufferlist.C:
1981         * exporter.C:
1982         * lyx_cb.C:
1983         * lyx_main.C:
1984         * lyxfunc.C:
1985         * messages.C: use support/package.h to provide the paths to the
1986         various directories used by LyX.
1987
1988 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1989
1990         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1991         layout if pasting into an empty paragraph)
1992
1993 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1994
1995         * tex-accent.C: add <string>
1996
1997 2005-01-06  José Matos  <jamatos@lyx.org>
1998
1999         * ParagraphParameters.C (write): put every parameter in its own line.
2000         * paragraph.C (write): reduce number of consecutive empty lines exported.
2001         * buffer.C (LYX_FORMAT): increase file format to 239.
2002
2003 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2004
2005         * everywhere: change support/tostr.h -> support/convert.h
2006
2007         * tabular.C: make all write_attributes templates, tostr -> convert
2008
2009         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2010         (emptyTag): and -> &&, and fix type for ret from getChar
2011         (getFirstWord): fix type for ret from getChar
2012         (onlyText): and -> &&
2013         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2014         getChar
2015
2016         * toc.C (goTo, action):
2017         * text3.C (dispatch):
2018         * text.C (currentState):
2019         * tex-accent.C (DoAccent):
2020         * sgml.C:
2021         * lyxrc.C:
2022         * lyxfunc.C (menuNew):
2023         * lyxfinc.C (replace):
2024         * counters.C (laberItem):
2025         * bufferview_funcs.C (font2string):
2026         * bufferparams.C (writeFile):
2027         * buffer.C (readFile):
2028         * Spacing.C (set):
2029         * MenuBackend.C: tostr -> convert
2030
2031         * LaTeX.C (runMessage): fix format
2032         (scanAuxFiles): tostr -> convert
2033
2034         * BufferView_pimpl.C (savePosition): fix format
2035         (restorePosition): ditto
2036         (dispatch): ditto
2037
2038 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2039
2040         * Spacing.[Ch]: New method getValueAsString().
2041
2042         * Spacing.[Ch]:
2043         * bufferparams.C:
2044         * ParagraphParameters.C:
2045         * lyxlayout.C:
2046         * text.C:
2047         * text3.C: store/read spacing value as string.
2048
2049         * rowpainter.C: change float value (spacing_val) to double.
2050
2051         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2052         broken custom document spacing).
2053
2054 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2055
2056         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2057         namespace, also more use of temp references and const
2058
2059         * cursor.[Ch] (getStatus): move to lyxfunc.C
2060
2061         * bufferparams.C: reformat slightly
2062
2063         * bufferview_funcs.C (font2string): constify arg
2064
2065         * changes.C:
2066         * converter.C:
2067         * counters.C:
2068         * bufferlist.C:
2069         * buffer_funcs.C: (many funcs): constify arg on function
2070         definitions, also make more local vars const, also add ASSERTS on
2071         pointer args.
2072
2073         * buffer.C (LYX_FORMAT): put const in correct place
2074         (many funcs): constify arg on function definitions, also make
2075         more local vars const
2076
2077         * aspell_local.h: remove "struct" from typdef setup
2078
2079         * aspell.C (check): make word_ok const
2080         (nextMiss): simplify slightly
2081         (error): ditto
2082
2083 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2084
2085         * lyxrc.[Ch]: store all float values as strings.
2086         use int (not float) for lyxrc.dpi.
2087
2088 2005-01-04  Angus Leeming  <leeming@lyx.org>
2089
2090         * lyx_cb.C (Reconfigure):
2091         * lyx_main.C (queryUserLyXDir):
2092         to run the <system_lyxdir>/configure correctly on Windows, prefix
2093         the path to the script with "sh " when generating the string that
2094         is passed to system().
2095
2096 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2097
2098         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2099
2100 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2101
2102         * lyxlength.C (asLatexString): get rid of setprecision
2103
2104 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2105
2106         * text2.C (setLayout): remove unused variable endpit.
2107         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2108
2109         * paragraph.C (onlyText): remove unused variable style.
2110
2111         * cursor.C (bruteFind): remove unused variables beg and end.
2112
2113         * Makefile.am (dist_noinset_DATA): not needed anymore
2114
2115         * cheaders/*: remove.
2116
2117 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2118
2119         * text3.C: fix LFUN_MATH_MODE.
2120
2121 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2122
2123         * buffer_funcs.C (countWords): new function. Counts words between
2124         two iterators.
2125
2126         * BufferView_pimpl.C (getStatus, dispatch): handle
2127         LFUN_WORDS_COUNT.
2128
2129         * LyXAction.C (init):
2130         * lfuns.h: add LFUN_WORDS_COUNT.
2131
2132 2004-12-19  Angus Leeming  <leeming@lyx.org>
2133
2134         * buffer.C (save): s/slashify_path/internal_path/.
2135
2136 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2137
2138         * lyxfind.C (findChange): do not search for end of pars, because
2139         the change tracker cannot handle this (fixes bug 1719).
2140
2141 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2142
2143         * paragraph.[Ch] (autoBreakRows): remove
2144
2145         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2146
2147         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2148         avoid using the paragraph one
2149
2150         * text2.C (LyXText, insertStringAsLines): adjust
2151
2152 2004-12-16  Angus Leeming  <leeming@lyx.org>
2153
2154         * bufferlist.C:
2155         * lyx_main.C:
2156         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2157
2158 2004-12-14  Angus Leeming  <leeming@lyx.org>
2159
2160         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2161
2162         * bufferlist.C (emergencyWrite):
2163         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2164         GetEnvPath("HOME").
2165
2166 2004-12-14  Angus Leeming  <leeming@lyx.org>
2167
2168         * main.C: (main): no longer pass pointers to os::init.
2169
2170 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2171
2172         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2173         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2174
2175 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2176
2177         * lyxfunc.C:
2178         * text3.C: remove selection_possible global flag
2179
2180 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2181
2182         * text2.C (getSelectionSpan): remove
2183         (changeDepth, changeDepthAllowed): adjust
2184
2185 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2186
2187         * Makefile.am (BOOST_LIBS): use boost variables
2188
2189 2004-12-03  José Matos  <jamatos@lyx.org>
2190
2191         * buffer.C: format up to 238.
2192
2193 2004-12-03  José Matos  <jamatos@lyx.org>
2194
2195         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2196
2197 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2198
2199         * cursor.C (goUpDown): remove call to idxUpDown2
2200
2201 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2202
2203         * tabular.[Ch]: use size_t-like types for cell, row and column
2204         indices
2205
2206 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2207
2208         * lyxfunc.C (getStatus): do not lose previous information when
2209         calling BufferView::getStatus; do not set a default "Command
2210         disabled" message at the beginning, but just before returning.
2211
2212 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2213
2214         * cursor.h (getStatus): add better comment from src/cursor.C
2215
2216 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2217
2218         * text3.C (getStatus): return false when the lfun is not handled
2219
2220 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2221
2222         * broken_headers.h: remove
2223
2224         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2225
2226 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2227
2228         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2229         offset_ref accessors
2230
2231         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2232         top_y_, merge fitcursor with update
2233         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2234         coord scheme
2235         (metrics): introduce
2236         (workAreaDispatch): adapt to new coord scheme
2237         (redoCurrentBuffer): remove
2238
2239         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2240
2241         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2242         CurStatus enum.
2243
2244         * coordcache.[Ch]: add paragraph cache and helpers
2245
2246         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2247         adjust everywhere
2248
2249         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2250         (targetX, setTargetX): introduce
2251
2252         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2253         baseline -> ascent, as the rest of lyx
2254
2255         * lyxtext.h: remove redoParagraphs, updateParPositions,
2256         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2257         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2258         have ascent/descent (ascent is ascent of first par)
2259
2260         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2261         step of BufferView
2262
2263         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2264
2265         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2266
2267         * pariterator.C: fix infinite loop introduced in par->pit renaming
2268
2269         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2270         in insets and LyXText, draw two off-screen paragraphs using
2271         NullPainter, and adapt to new coord scheme
2272
2273         * text.C:
2274         * text2.C:
2275         * text3.C: adapt lfun handlers to the new coord scheme, which
2276         means: there's only guaranteed coord information for onscreen pars
2277         plus one above and one below. This implies that one can do search
2278         from y coordinates in the range [-1,workHeight]
2279
2280 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2281
2282         * rename a lot of InsetOld to InsetBase
2283
2284 2004-11-25  Angus Leeming  <leeming@lyx.org>
2285
2286         * BufferView_pimpl.C:
2287         * lyx_cb.C:
2288         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2289
2290 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2291
2292         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2293         call BufferView::getStatus if LCursor::getStatus did nothing
2294         (setStatusMessage, getStatusMessage): removed.
2295
2296         * FuncStatus.C (message): new methods. Used to provide an error
2297         message indicating why a command is disabled.
2298         (clear, |=, FuncStatus): update for message.
2299
2300 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2301
2302         * lyxfunc.C (dispatch): always call sendDispatchMessage
2303
2304 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2305
2306         * BufferView.C:
2307         * BufferView_pimpl.C:
2308         * CutAndPaste.C:
2309         * FontIterator.C:
2310         * buffer.C:
2311         * cursor.C:
2312         * cursor_slice.[Ch]:
2313         * dociterator.[Ch]:
2314         * lyxfind.C:
2315         * paragraph_funcs.C:
2316         * pariterator.C:
2317         * rowpainter.C:
2318         * text.C:
2319         * text2.C:
2320         * text3.C:
2321         * undo.C: par->pit renaming
2322
2323 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2324
2325         * tabular.C (cellstruct): use initialization, store a shared_ptr
2326         to insettext instead of the insettext directly, adjust to fit.
2327         (operator=):  new function
2328         (swap): new function
2329         (rowstruct): use initialization
2330         (columnstruct): use initialization
2331         (ltType): use initialization
2332
2333
2334         * lyxlength.h (swap): new function
2335
2336         * LColor.[Ch] (operator=): use the common semantics
2337
2338 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2339
2340         * lyxfind.C (findNextChange): update the bufferview after setting
2341         the selection.
2342
2343 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2344
2345         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2346         number of InsetOptArgs has already been inserted.
2347
2348         * output_latex.C (latexOptArgInsets): new method. This outputs all
2349         the optarg insets, up to the limit defined in the layout file.
2350         (optArgInset): removed
2351         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2352
2353 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2354
2355         * paragraph.C (isLetter): remove special spellchecker-related
2356         code; return true also for digits
2357         (isWord, isKomma): remove
2358
2359         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2360         * lyxfind.C (MatchString()): use isLetter instead of isWord
2361
2362 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2363
2364         * pariterator.h (operatir=): comment out un-implemented member
2365         function.
2366
2367         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2368         static cast.
2369
2370 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2371
2372         * lyxfont.h: include LColor.h to satisfy concept checks.
2373
2374 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2375
2376         * pariterator.h: add typdefs for value_type, difference_type,
2377         pointer and reference to satisfy concept checks. Also add default
2378         constructor for same reason.
2379
2380         * pariterator.C (operator++): add post-increment operator to
2381         satisfy concept checks.
2382
2383         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2384         checks.
2385
2386         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2387
2388         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2389         checks. Also rename base_type to BaseType to follow naming
2390         standard better.
2391
2392         * FloatList.h: include Floating.h to satisfy concept checks.
2393
2394 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2395
2396         * lyxfunc.C (getStatus): when the origin of the request is menu or
2397         toolbar, and the LyXView does not have focus, do as if there was
2398         no buffer (bug 1720)
2399
2400         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2401         FuncRequest to individual entries of LFUN_SEQUENCE
2402
2403 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2404
2405         * output_latex.C (TeXOnePar): override runparams.moving_arg
2406         according to the needprotect value of the current paragraph (bug
2407         1739)
2408
2409         * paragraph.C (simpleTeXOnePar): no need to override
2410         runparams.moving_args here
2411
2412 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2413
2414         * vspace.C: fix off-by-one-error, related to fix #1682
2415
2416 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2417
2418         * lengthcommon.C: a more general fix for bug 1682
2419
2420 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2421
2422         * text.C (backspace): fix crash
2423
2424 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2425
2426         * format.[Ch] (getFormatFromFile): new method
2427         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2428
2429 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2430
2431         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2432
2433 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2434
2435         * lyxfunc.C (dispatch): remove the verbose argument
2436         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2437         instead
2438
2439         * kbmap.C (defkey): set the origin of func to KEYBOARD
2440
2441         * MenuBackend.C (MenuItem):
2442         * ToolbarBackend.C (add): set the origin of func to UI
2443
2444         * funcrequest.[Ch]: add origin member, which indicates which part
2445         of LyX requests an action
2446
2447 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2448
2449         * converter.C (move): don't lie in the error message
2450         * converter.h (isReachable, move): document
2451
2452 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2453
2454         * buffer.C: remove unused using lyx::support::atoi
2455         * paragraph_funcs.C: ditto
2456
2457 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2458
2459         * bufferlist.C (exists): use bind and equal_to instead of
2460         compare_memfun
2461         (getBuffer): ditto
2462         * lyxtextclasslist.C (NumberOfClass): ditto
2463
2464         * cursor.C (insert): use for_each instead of explicit for loop
2465
2466         * bufferlist.C (getFileNames): use std::transform and
2467         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2468
2469         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2470         for loop
2471
2472         * buffer.C (changeLanguage): use for_each instead of explicit for
2473         loop
2474         (hasParWithID): implement using getParFromID
2475
2476         * LaTeXFeatures.C: ws change only
2477
2478         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2479         to cleanup a bit.
2480
2481         * BufferView_pimpl.C (trackChanges): use for_each instead of
2482         expilicit for loop
2483
2484 2004-11-04  André Pönitz  <poenitz@gmx.net>
2485
2486         * undo.h:
2487         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2488
2489         * dociterator.C (asDocIterator): use hard assert again.
2490
2491 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2492
2493         * lyxlength.C (asLatexString): rewrite so that it does not use
2494         snprintf anymore
2495
2496 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2497
2498         * text3.C (specialChar, dispatch): make sure cursor moves to the
2499         right after inserting an inset
2500
2501 2004-11-02  José Matos  <jamatos@lyx.org>
2502
2503         * output_docbook.C (docbook):
2504         * paragraph.C (getID):
2505         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2506         garantee that the output is always legal.
2507
2508         * tabular.C (docbook):
2509         * outputprams.[Ch]: remove mixed contents.
2510
2511 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2512
2513         * text2.C (setCounter): prevent endless loop
2514
2515 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2516
2517         * exporter.C (copyFile): use the mover instead of support::copy()
2518         * exporter.C (Export): pass format and latex name to copyFile()
2519         * exporter.h (addExternalFile): document
2520         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2521
2522 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2523
2524         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2525
2526 2004-10-30  José Matos  <jamatos@lyx.org>
2527
2528         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2529         text and no inset or font change. This allows to use CDATA
2530         sections just for the whole paragraph.
2531
2532 2004-10-30  José Matos  <jamatos@lyx.org>
2533
2534         * paragraph.C (getFirstWord): remove unused variable.
2535
2536 2004-10-30  José Matos  <jamatos@lyx.org>
2537
2538         * paragraph.C (getFirstWord): the content should always be escaped
2539         there.
2540         (simpleDocBookOnePar):
2541         * output_docbook.C (makeEnvironment): replace reference to CDATA
2542         to style pass_thru.
2543
2544 2004-10-30  José Matos  <jamatos@lyx.org>
2545
2546         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2547
2548 2004-10-30  José Matos  <jamatos@lyx.org>
2549
2550         * output_docbook.C (makeParagraphs):
2551         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2552         standard paragraph has only a given type of content drop the wrapper.
2553
2554 2004-10-29  José Matos  <jamatos@lyx.org>
2555
2556         * output_docbook.C (makeEnvironment):
2557         * sgml.C (openTag):
2558         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2559
2560 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2561
2562         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2563         (cleanID): sanitize any id.
2564
2565 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2566
2567         * buffer.C, lyxlex_pimpl.C:
2568         * lyxlex_pimpl.C (setFile):
2569         s/getExtFromContents/getFormatFromContents/
2570
2571 2004-10-28  José Matos  <jamatos@lyx.org>
2572
2573         * output_docbook.C (makeEnvironment): move id to broadest possible
2574         scope.
2575
2576         * sgml.C (openTag): apply substitution of <> for all attributes.
2577
2578 2004-10-28  José Matos  <jamatos@lyx.org>
2579
2580         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2581         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2582         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2583
2584         * sgml.[Ch]: new version for open and closeTag for paragraph and
2585         for strings. Now they handle the ids of paragraphs.
2586
2587 2004-10-26  Angus Leeming  <leeming@lyx.org>
2588
2589         * Makefile.am: add mover.[Ch].
2590
2591         * converter.C (convert, move): use the new Movers to move external
2592         files to the temp directory.
2593
2594         * lyx_main.C (init): ensure that the global system_movers data
2595         is initialised.
2596
2597         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2598         preferences file.
2599
2600         * mover.[Ch]: new files, defining a Mover as a utility to move an
2601         external file between directories and, if necessary, manipulate this
2602         file using a helper script.
2603
2604 2004-10-25  José Matos  <jamatos@lyx.org>
2605
2606         * output_docbook.C (makeCommand): merge two if's that tested the
2607         same condition.
2608
2609 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2610
2611         * sgml.C (escapeString): fix warning in a better way
2612
2613 2004-10-25  José Matos  <jamatos@lyx.org>
2614
2615         * sgml.C (escapeString): import the require boosts header file for
2616         tie, and avoid a signed unsigned comparison.
2617
2618 2004-10-25  José Matos  <jamatos@lyx.org>
2619
2620         * sgml.h: add #include <string>
2621
2622 2004-10-25  José Matos  <jamatos@lyx.org>
2623
2624         * sgml.[Ch] (escapeString): new function to escape all the string.
2625
2626 2004-10-24  José Matos  <jamatos@lyx.org>
2627
2628         * paragraph.[Ch] (getFirstWord): new function to get the first
2629         word. Useful for description.
2630         (simpleDocBookOnePar): remove depth argument, add another that
2631         says where to start the paragraph.
2632
2633         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2634         use the new functions to fix cleanly the support for descriptions.
2635
2636 2004-10-24  José Matos  <jamatos@lyx.org>
2637
2638         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2639         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2640         * output_linuxdoc.C (linuxdocParagraphs):
2641         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2642         add buffer as argument.
2643
2644 2004-10-24  José Matos  <jamatos@lyx.org>
2645
2646         * output_docbook.C (makeEnvironment, searchEnvironment): place
2647         CDATA inside paragraphs and fix scope for listitems.
2648
2649 2004-10-24  José Matos  <jamatos@lyx.org>
2650
2651         * output_docbook.C: remove using statement for stack.
2652
2653 2004-10-23  José Matos  <jamatos@lyx.org>
2654
2655         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2656         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2657         docbook. The new scheme is recursive and makes use of iterators, the
2658         same as latex export works.
2659         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2660         directly with the paragraph contents. This code was moved up to
2661         output_docbook.C (docbookParagraphs).
2662         * sgml.C (openTag, closeTag): removed unneeded newlines.
2663         (closeEnvTags) removed.
2664
2665 2004-10-23  André Pönitz  <poenitz@gmx.net>
2666
2667         * undo.C (textUndoOrRedo):
2668         * dociterator.C (asDocIterator): work around crash
2669
2670         * cursor.C (getStatus): replace ASSERT by more verbose error message
2671           and manual correction of the problem. Should increase stability
2672           while providing more sensible information.
2673
2674 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2675
2676         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2677
2678         * bufferlist.C (previous, next): new methods
2679
2680         * lfuns.h:
2681         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2682
2683 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2684
2685         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2686         entities to preamble.
2687
2688 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2689
2690         * messages.C (Pimpl): strip off translation context information
2691
2692 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2693
2694         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2695         the cursor is correct (bug 1694)
2696
2697 2004-10-13  José Matos  <jamatos@lyx.org>
2698
2699         * output_docbook.C (docbookParagraphs): fix closing tags in the
2700         end of the document.
2701
2702 2004-10-09  José Matos  <jamatos@lyx.org>
2703
2704         * buffer.C: format up to 237.
2705         * bufferparams.C (write): use tostr to convert booleans to strings.
2706
2707 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2708
2709         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2710
2711 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2712
2713         * LaTeX.C: implement use of babel language in xindy.
2714
2715 2004-10-05  José Matos  <jamatos@lyx.org>
2716
2717         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2718         Add new translators to help reading and writing the lyx file.
2719
2720 2004-10-05  José Matos  <jamatos@lyx.org>
2721
2722         * ParagraphParameters.C (read):
2723         * text.C (readParToken): replace nexToken by more appropriate lex
2724         methods.
2725
2726 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2727
2728         * LaTeX.C (runMakeIndex):
2729         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2730         (usually 'makeindex') configurable.
2731
2732         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2733         with a variable rather than with a number.
2734
2735 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2736
2737         * output_latex.C (TeXOnePar): make sure font setting is the first
2738         thing that gets output (and the last at the end). Should fix bug
2739         1404.
2740
2741 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2742
2743         * pch.h: use proper signal include
2744
2745         * LaTeX.h: Use preferred calling of Boost.Signal
2746         * buffer.h: ditto
2747
2748 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2749
2750         * pch.h: dont include <boost/function/function0.hpp>
2751
2752         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2753
2754         * paragraph_pimpl.h: remove usage of ShareContainer
2755
2756         * paragraph_pimpl.C: remove initialization of ShareContainer.
2757
2758 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2759
2760         Fix bug #1666
2761
2762         * BufferView.C (putSelectionAt): change the semantics when
2763         backwards == true: now, this just swaps cursor and anchor wrt the
2764         forward case
2765
2766         * BufferView.h (putSelectionAt): add some documentation
2767
2768         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2769         make sure backwardChar is done at least once (to avoid getting
2770         stuck)
2771         (findNextChange): use putSelectionAt in the forward direction
2772         (operator()): use Paragraph::isWord
2773
2774 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2775
2776         * Spacing.C (set): c_str fix
2777
2778 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2779
2780         * lyx_cb.C (Reconfigure): quote the name of configure script in
2781         case it contains spaces
2782
2783 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2784
2785         * client: new dir
2786
2787         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2788         (BOOST_LIBS): use top_buildir when looking for the file
2789
2790 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2791
2792         * pch.h: do not use include boost/format.hpp, multiple symbols
2793                 will result (gcc bug)
2794
2795
2796 2004-08-23  José Matos  <jamatos@lyx.org>
2797
2798         * bufferparams.C (readToken): fix reading of the author field.
2799
2800 2004-08-20  José Matos  <jamatos@lyx.org>
2801
2802         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2803
2804 2004-08-20  José Matos  <jamatos@lyx.org>
2805
2806         * lyxlex.[Ch] (findToken): remove function.
2807
2808         * ParagraphParameters.C (findToken):
2809         * bufferparams.C (findToken): replace call for previous function
2810         with local copy. This local function has one more argument, the
2811         read string argument.
2812
2813 2004-08-16  José Matos  <jamatos@lyx.org>
2814
2815         * ParagraphParameters.C (write):
2816         * Spacing.C (writeFile):
2817         * bufferparams.C (writeLaTeX):
2818         * lyx_cb.C (Reconfigure):
2819         * paragraph.C (write):
2820         * tabular.C (write): remove unnecessary space at end of line.
2821
2822
2823 2004-08-16  José Matos  <jamatos@lyx.org>
2824
2825         * text.C (readParagraph): remove debug message.
2826
2827 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2828
2829         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2830         crash
2831
2832         * output_plaintext.C (asciiParagraph): set depth correctly
2833
2834         * outputparams.h: add member depth
2835
2836         * paragraph_funcs.C (ownerPar): remove.
2837
2838         * text2.C (setCounter): remove first_pit; comment out some
2839         non-working code that uses ownerPar
2840
2841         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2842         uses ownerPar
2843
2844 2004-08-16  José Matos  <jamatos@lyx.org>
2845
2846         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2847         For the same level of importance use the same chanel to report problems.
2848         (read): add code to deal with \begin_body and \end_body.
2849
2850
2851 2004-08-15  José Matos  <jamatos@lyx.org>
2852
2853         * lyxlex.C (getString): fix comment, buffer::readBody is now
2854         buffer:readDocument.
2855
2856         * tex-strings.C (string_papersize): Default -> default,
2857         Custom -> custom, for consistency with other options.
2858
2859 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2860
2861         * pch.h: new file
2862
2863         * Makefile.am: support pch
2864
2865 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2866
2867         * text.C (readParToken): remove the static LyXFont variable and
2868         pass it as a parameter instead. This fixes a nasty bug where an
2869         inset will be inserted with a bad font in some situations
2870         (readParagraph): adapt
2871
2872         * text2.C (setCounter): reduce number of calls to pars_[pit]
2873
2874         * text.C (singleWidth): add an assert, fix a test
2875
2876         * rowpainter.C (paintText): reduce number of calls to singleWidth
2877
2878         * paragraph.C (isHfill):
2879         (isNewline): ws only
2880
2881 2004-08-14  André Pönitz  <poenitz@gmx.net>
2882
2883         * text.C:
2884         * text2.C:
2885         * rowpainter.C:
2886         * lyxtext.h (several functions): use a Paragraph & argument
2887         instead of par_type
2888
2889 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2890
2891         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2892
2893         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2894
2895         * text.C (singleWidth): remove useless test
2896
2897 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2898
2899         * tabular.h: remove bogus comments
2900
2901         * tabular.C (getDescentOfRow):
2902         (isPartOfMultiColumn): add assertions
2903
2904         * lyxlength.C (inPixels): remove #warning
2905
2906 2004-08-14  André Pönitz  <poenitz@gmx.net>
2907
2908         * paragraph.h: inline getChar()
2909
2910         * BufferView.h: remove unused declarations
2911
2912 2004-08-14  José Matos  <jamatos@lyx.org>
2913
2914         * Buffer.[Ch] (readDocument): new name for old readBody.
2915         * Buffer.C: new file format, new keywords: \begin_document,
2916         \begin_header, \begin_body, \end_body.
2917
2918         * bufferparams.C (readToken): replace all calls to lex.nextToken
2919         by lex.next(). Do the same to eatLine except where really needed.
2920
2921         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2922         line when writing to the lyx file.
2923
2924         * output_plaintext.C (asciiParagraph): fix Bibliography style
2925         handling.
2926
2927         * text.C (read): fix end of file handling.
2928
2929 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2930
2931         * MenuBackend.C (Menu::operator[]): new method to access
2932         individual menu items
2933         (Menu::hasFunc): new method. search for an item that corresponds
2934         to a given func
2935         (MenuBackend::specialMenu): new method
2936         (MenuBackend::expand): if a special menu has been set, skip
2937         entries whose func() appears in this menu
2938
2939 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2940
2941         * text3.C: use Debug::DEBUG a bit more
2942
2943         * text.C (leftMargin): try to simplify a tiny bit change var x to
2944         l_margin. Dont output the wide margins always.
2945         (rightMargin): no margin in inner texts
2946
2947         * rowpainter.h (nestMargin): new func
2948         (changebarMargin): new func
2949         (rightMargin): new func
2950
2951         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2952         now functions.
2953         (paintLast): ditto
2954
2955         * factory.C (createInset): modify setDrawFrame
2956
2957         * cursor.C: use Debug::DEBUG a bit more
2958
2959 2004-08-14  André Pönitz  <poenitz@gmx.net>
2960
2961         * coordcache.[Ch]:
2962         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2963         cache for all insets in (at least partially) visible (top-level)
2964         paragraphs.
2965
2966         * BufferView_pimpl.C: reset external coord cache before every update.
2967         This means the coord cache only contains valid entries.
2968
2969 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2970
2971         bug 1096
2972         * BufferView_pimpl.C (getInsetByCode): move function out of class
2973         and change in to a template in anon namespace. Also fix to do what
2974         suits us better.
2975
2976 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2977
2978         bug 1305
2979         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2980         of char
2981         (breakParagraph): rename par to par_offset and use a local
2982         reference. Add code to keep the language over a rebreak.
2983         (breakParagraphConservative): rename par to par_offset, use a
2984         local reference
2985         (mergeParagraph): ditto
2986         (outerHook): ditto
2987         (isFirstInSequence): ditto
2988         (outerFont): rename pit to par_offset
2989
2990         * paragraph.C: ws change
2991         * paragraph.h: ditto
2992         * text3.C: ditto
2993         * text.C: ditto
2994
2995 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2996
2997         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2998         treatment for ']'
2999
3000         * paragraph.C (simpleTeXOnePar): when we have a \item with
3001         optional argument, enclose the argument with curly brackets (in
3002         case it contains a closing square bracket)
3003
3004         * text2.C (editXY):
3005         * text2.C (editXY):
3006         * text3.C (checkInsetHit): constify
3007
3008 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3009
3010         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3011         documents (bug 1629)
3012
3013 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3014
3015         Fix toggling of collapsable insets with the mouse (bug 1558)
3016
3017         * lyxfunc.C (dispatch): adapt to LCursor changes
3018
3019         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3020         make sure that dispatch is not invoked twice
3021
3022         * cursor.C (needsUpdate): new method
3023         (dispatch): return void
3024         (result): new method, to access the DispatchResult of the cursor.
3025
3026 2004-08-13  José Matos  <jamatos@lyx.org>
3027
3028         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3029
3030 2004-08-13  André Pönitz  <poenitz@gmx.net>
3031
3032         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3033
3034         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3035           multiple cells
3036
3037 2004-08-12  André Pönitz  <poenitz@gmx.net>
3038
3039         * text3.C: take out the 'cursor right' form insertInset and only
3040         do it in those places when it is really needed. Fixes crash on
3041         C-m...
3042
3043 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3044
3045         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3046
3047         * BufferView_pimpl.C (setBuffer): initialize the current font of
3048         the underlying LyXText
3049
3050 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3051
3052         * kbsequence.C (print): use UI native formatting for menu
3053         shortcuts
3054
3055         * text.C (insertChar): call Paragraph::insertChar with a font
3056         argument (cosmetic)
3057
3058         * paragraph.C (insertInset, insertChar): the version that takes a
3059         LyXFont argument is now a wrapper around the other one (the
3060         opposite used to be true).
3061
3062         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3063         argument. Font setting is done in Paragraph now.
3064
3065 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3066
3067         * outputparams.h: add new members intitle and lang.
3068
3069         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3070         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3071
3072 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3073
3074         * text3.C (dispatch): remove special handling of button 4 and 5,
3075         it is now taken care of in the frontend code.
3076
3077 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3078
3079         * Spacing.h: add <string> (STLPort compile fix)
3080
3081 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3082
3083         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3084
3085 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3086
3087         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3088         to bool.
3089
3090         * converter.C (showMessage): inherit from unary_function, make
3091         operator() const.
3092
3093         * buffer.C (writeFile): initialize retval
3094
3095         * InsetList.h: rename private variable list to list_
3096         * InsetList.[Ch]: adjust accordingly.
3097
3098 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3099
3100         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3101         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3102         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3103         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3104         * ParagraphParameters.C, LaTeXFeatures.C: replace
3105         "support/std_sstream.h" with <sstream>
3106
3107 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3108
3109         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3110         * lyxsocket.C (LyXServerSocket): ditto
3111         (serverCallback): ditto
3112
3113 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3114
3115         * LaTeXFeatures.C: check release date when loading jurabib.
3116
3117 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3118
3119         * lyxserver.C (startPipe): call register_socket_callback
3120         (endPipe): call unregister_socket_callback
3121
3122 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3123
3124         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3125         (LyXServerSocket): register the callback
3126         (LyXServerSocket): unregister the callback
3127         (fd): delete function
3128         (serverCallback): improve error checking and setup the callbacks.
3129         (dataCallback): change arg to fd.
3130         (writeln): new func (copied fro the client socket) used for server
3131         write to client.
3132         (LyXDataSocket): simplify
3133         (~LyXDataSocket): close ann unregiser callback
3134         (server): delete function
3135         (fd): delete function
3136         (readln): small changes, improve some std::string usage
3137         (writeln): constify a bit
3138
3139 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3140
3141         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3142         Qt frontend
3143
3144 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3145
3146         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3147         after it has been populated
3148
3149 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3150
3151         * text2.C (insertInset): move cursor when inserting inset.
3152
3153 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3154
3155         * kbmap.C (findbindings): a couple of new methods. returns a
3156         container of kb_sequence objects. The real work is done by the
3157         private recursive version
3158         (printbindings): uses findbindings to print out a bracketed list
3159         of bindings (renamed from findbinding).
3160
3161         * MenuBackend.C (binding): use kb_keymap::findbindings
3162
3163         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3164
3165 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3166
3167         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3168
3169 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3170
3171         * paragraph.C (isWord): return true on insets that report
3172         isLetter().
3173
3174         * text.C (getWord): use Paragraph::isWord to decide what is in a
3175         word and what is not; fix bug 1609.
3176
3177 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3178
3179         * tex-strings.C: add "none" to string_paperpackages[], fixes
3180         off-by-one-error in the paperpackage selection.
3181
3182         * lyxlex.[Ch]:
3183         * tex-strings.[Ch]: char const * string[n]
3184         -> char const * const string[]
3185
3186 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3187
3188         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3189         command, return early.
3190
3191 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3192
3193         * debug.h: add DEBUG to enum and fix size of ANY.
3194
3195         * debug.C: add support for Debug::DEBUG
3196         (showTags): cast errorTags.level to unsigned int
3197
3198         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3199         (redoCurrentBuffer): ditto
3200         (updateScrollbar): ditto
3201         * cursor.C (dispatch): ditto
3202         * text2.C (setLayout): ditto
3203         (setFont): ditto
3204         (updateCounters): ditto
3205         (editXY): ditto
3206         (deleteEmptyParagraphMechanism): ditto
3207
3208 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3209
3210         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3211         annotations to cleanup the Makefile slightly.
3212
3213 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3214
3215         * lyxrc.C: do not set user_email to a default value but use empty
3216         instead. The entry used to be translated, which does not work
3217         since at the point where lyxrc is constructed there is no
3218         translation service available
3219
3220         * messages.C (getLocaleDir): remove and use directly
3221         lyx_localedir() instead
3222
3223 2004-06-02  Angus Leeming  <leeming@lyx.org>
3224
3225         Fix crash caused by dereferencing null pointer 'exportdata' in
3226         OutputParams by creating a new ExportData variable on the heap,
3227         storing it in a boost::shared_ptr.
3228         The crash was triggered when generating an Instant Preview
3229         of an external inset.
3230
3231         * Makefile.am: add outputparams.C
3232
3233         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3234         (c-tor): allocate memory to it.
3235
3236         * exporter.C (c-tor): associated changes.
3237
3238 2004-06-01  Angus Leeming  <leeming@lyx.org>
3239
3240         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3241         contains data before calling isInset(0). (Bug 1513.)
3242
3243 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3244
3245         * exporter.C (checkOverwrite): new method
3246         * exporter.C (copyFile): new method
3247         * exporter.C (Export): copy referenced files to the document dir
3248         * exporter.[Ch]: new class ExportedFile
3249         * exporter.[Ch]: new class ExportData. Contains currently the
3250         names of referenced external files
3251         * outputparams.h: add exportdata member.
3252
3253 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3254
3255         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3256         version.C-tmp
3257
3258 2004-05-19  Angus Leeming  <leeming@lyx.org>
3259
3260         * LaTeXFeatures.C:
3261         * ToolbarBackend.C:
3262         * bufferparams.C:
3263         * lyxfunc.C: small changes due to the introduction of namespace
3264         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3265
3266 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3267
3268         * text3.C (dispatch): supress update when only moving the cursor
3269         * cursor.C (selHandle): remove commented code
3270
3271 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3272
3273         * paragraph.C (startTeXParParams): correct column count
3274         * CutAndPaste.C (pasteSelection): remove const_cast
3275         * output_docbook.C (docbookParagraphs): remove const_cast
3276         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3277         const_cast and return ParagraphList::const_iterator
3278         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3279         * output_plaintext.C (writeFileAscii): remove const_cast
3280         * paragraph.[Ch] (simpleTeXOnePar): make const
3281         * paragraph_funcs.C (outerPar): use const iterators
3282         * paragraph_pimpl.C (validate): use const iterators
3283         * text.C (setHeightOfRow): use const iterators
3284
3285 2004-05-17  Angus Leeming  <leeming@lyx.org>
3286
3287         * lfuns.h:
3288         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3289
3290         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3291         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3292         if the citation engine has changed.
3293
3294 2004-05-14  José Matos  <jamatos@lyx.org>
3295
3296         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3297         if the textclass does not provide it. Have it different for sgml and
3298         xml.
3299         support the language of document.
3300         * output_docbook.C (docbookParagraphs):
3301         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3302         first anchor as the id of the paragraph, remove special case code.
3303         * sgml.C (escapeChar): escape only < & >.
3304
3305 2004-05-14  Angus Leeming  <leeming@lyx.org>
3306
3307         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3308         dependencies on src/frontends/controllers/biblio.h. Define a
3309         CiteEngine_enum wrapper class to enable the enum to be forward
3310         declared.
3311
3312 2004-05-12  Angus Leeming  <leeming@lyx.org>
3313
3314         * buffer.C: up LYX_FORMAT to 234.
3315         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3316         use_numerical_citations with a single biblio::CiteEngine cite_engine
3317         variable.
3318         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3319
3320 2004-05-13  José Matos  <jamatos@lyx.org>
3321
3322         * converter.h:
3323         * converter.C (Converter, readFlags): add xml member.
3324         * outputparams.h: add XML flavor.
3325         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3326
3327 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3328
3329         * lyxfunc.C (dispatch):
3330         (getStatus): fix handling of LFUN_SEQUENCE
3331
3332 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3333
3334         * debug.C (showLevel): do not forget the end-of-line marker
3335
3336 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3337
3338         * kbmap.C (read): do not stop parsing a bind file when an error
3339         occurs (bug 1575)
3340
3341 2004-04-29  Angus Leeming  <leeming@lyx.org>
3342
3343         * cursor.C:
3344         * factory.C:
3345         * pariterator.C:
3346         * text2.C: wrap a bunch of #warning statements
3347         inside #ifdef WITH_WARNINGS blocks.
3348
3349 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3350
3351         * buffer.C: increment format to 233.
3352
3353 2004-04-28  Angus Leeming  <leeming@lyx.org>
3354
3355         * BufferView_pimpl.C:
3356         * lyxfunc.C:
3357         * text3.C:
3358         s/updateToolbar()/updateToolbars()/
3359         s/Toolbar.h/Toolbars.h/
3360
3361 2004-04-28  Angus Leeming  <leeming@lyx.org>
3362
3363         * BufferView.[Ch] (c-tor):
3364         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3365         No longer passes these data to the WorkArea generator.
3366
3367 2004-04-28  Angus Leeming  <leeming@lyx.org>
3368
3369         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3370
3371 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3372
3373         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3374
3375 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3376
3377         * output_latex.C (TeXEnvironment): make sure that there is a line
3378         break before \end{foo} for the last paragraph of a document
3379         (TeXOnePar): if the paragraph is at the end of the document (or
3380         inset) and the language has to be reset, then make sure that the
3381         line break is _before_ the language command, not after (fixes bug
3382         1225); also make sure that the language reset command is the first
3383         thing after the paragraph (to ensure proper nesting of
3384         environments and thus fix bug 1404)
3385
3386 2004-04-21  John Levon  <levon@movementarian.org>
3387
3388         * ToolbarBackend.h:
3389         * ToolbarBackend.C: make "name" be a programmatic name
3390         and a gui_name field.
3391
3392         * lyxfunc.C: display the minibuffer on M-x
3393
3394 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3395
3396         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3397         (bug 1526)
3398
3399 2004-04-19  Angus Leeming  <leeming@lyx.org>
3400
3401         * BufferView_pimpl.C (setBuffer): changed preview interface.
3402
3403         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3404         possible values.
3405
3406 2004-04-19  John Levon  <levon@movementarian.org>
3407
3408         * BufferView_pimpl.C:
3409         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3410
3411 2004-04-05  Angus Leeming  <leeming@lyx.org>
3412
3413         * text.C (redoParagraphs): add call to updateCounters(), thereby
3414         fixing the missing "Figure #:" label from the caption of a
3415         figure float.
3416
3417 2004-04-13  Angus Leeming  <leeming@lyx.org>
3418
3419         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3420         cursor is clicked out of an inset.
3421
3422 2004-04-13  Angus Leeming  <leeming@lyx.org>
3423
3424         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3425         than an InsetOld one.
3426
3427 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3428
3429         * format.[Ch]: add editor to Format
3430         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3431         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3432
3433 2004-04-08  André Pönitz  <poenitz@gmx.net>
3434
3435         * metricsinfo.h: remove PainterInfo::width member
3436
3437 2004-04-08  Angus Leeming  <leeming@lyx.org>
3438
3439         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3440         "\providecommand" rather than "\newcommand", thereby preventing
3441         clashes with packages that define "\boldsymbol" themselves.
3442         Eg, beamer.
3443
3444 2004-04-08  Angus Leeming  <leeming@lyx.org>
3445
3446         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3447         thereby squashing an unnecessary warning.
3448
3449 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3450
3451         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3452         setBuffer()
3453
3454 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3455
3456         * BufferView.C (setCursor): call redoParagraph (some insets could
3457         have been opened)
3458         (putSelectionAt): remove the 'double update' trick
3459
3460         * BufferView_pimpl.C (fitCursor): call refreshPar
3461         (workAreaDispatch): remove an uneeded update call
3462         (dispatch): remove some manual update calls
3463
3464         * cursor.[Ch]: remove cached_y_, updatePos
3465         (selHandle): set noUpdate when appropriate
3466
3467         * lyxfunc.C (dispatch): track if we need an update
3468
3469         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3470
3471         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3472         (paintSelection): cheap optimization, do not call cursorX when not
3473         needed
3474         (paintPars): change signature
3475         (refreshPar): add
3476         (paintText): adjust
3477         (paintTextInset): adjust
3478
3479         * text.C: adjust
3480
3481 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3482
3483         * lengthcommon.C: compilation fix: remove explicit array size from
3484         unit_name[] and friends
3485
3486 2004-04-05  Angus Leeming  <leeming@lyx.org>
3487
3488         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3489
3490         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3491         present only for the preferences dialog.
3492         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3493
3494 2004-04-05  Angus Leeming  <leeming@lyx.org>
3495
3496         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3497         to enable the frontends to export changes to lyxrc correctly.
3498
3499         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3500
3501 2004-04-07  André Pönitz  <poenitz@gmx.net>
3502
3503         * cursor.[Ch] (selClear, adjust): remove math
3504
3505         * cursor_slice.C: more agressive assert
3506
3507         * lyxfunc.C:
3508         * BufferView_pimpl.C: rework mouse event dispatch
3509
3510         * dociterator.C:
3511         * paragraph.C:
3512         * text2.C:
3513         * text3.C: adjust
3514
3515 2004-04-05  André Pönitz  <poenitz@gmx.net>
3516
3517         * cursor.[Ch] (valign, halign...): remove unneeded functions
3518
3519 2004-04-05  Angus Leeming  <leeming@lyx.org>
3520
3521         * lyxlength.[Ch] (unit_name et al.): const-correct.
3522
3523 2004-04-05  Angus Leeming  <leeming@lyx.org>
3524
3525         * BufferView_pimpl.C:
3526         * buffer.C:
3527         * counters.C:
3528         * cursor.C:
3529         * lyxfunc.C
3530         * paragraph.C:
3531         * pariterator.C:
3532         * text.C:
3533         * text2.C:
3534         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3535
3536 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3537
3538         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3539
3540 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3541
3542         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3543         * BufferView_pimpl.[Ch] (getStatus)
3544         * BufferView.[Ch] (getStatus): add
3545         * lyxfunc.C (getStatus): move lfuns handled in
3546         BufferView::dispatch to te function above
3547         * Cursor.C (setSelection): set selection() = true
3548
3549 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3550
3551         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3552
3553 2004-03-31  Angus Leeming  <leeming@lyx.org>
3554
3555         * lyxfunc.C (dispatch): Fall through to the generic
3556         Dialogs::show("preamble").
3557
3558 2004-03-31  Angus Leeming  <leeming@lyx.org>
3559
3560         * lyxfunc.C (dispatch): Fall through to the generic
3561         Dialogs::show("spellchecker").
3562
3563 2004-03-31  Angus Leeming  <leeming@lyx.org>
3564
3565         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3566         preferences dialog.
3567
3568 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3569
3570         * BufferView.C
3571         * cursor.[Ch]
3572         * dociterator.[Ch]:
3573         * insetiterator.[Ch]:
3574         * lyxfind.C:
3575         * lyxfunc.C:
3576         * pariterator.[Ch]:
3577         * text2.C:
3578         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3579
3580 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3581
3582         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3583         insets where we are putting the cursor.
3584
3585 2004-03-31  Angus Leeming  <leeming@lyx.org>
3586
3587         * lfuns.h:
3588         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3589
3590         * lyxrc.[Ch] (read, write): overloaded member functions taking
3591         a std::[io]stream arguments.
3592
3593         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3594
3595 2004-03-31  Angus Leeming  <leeming@lyx.org>
3596
3597         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3598         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3599
3600         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3601         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3602
3603 2004-03-31  Angus Leeming  <leeming@lyx.org>
3604
3605         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3606         the LFUN_ALL_INSETS_TOGGLE code.
3607
3608 2004-03-30  Angus Leeming  <leeming@lyx.org>
3609
3610         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3611         has died. Fall through to the generic Dialogs::show("document").
3612
3613 2004-03-30  Angus Leeming  <leeming@lyx.org>
3614
3615         * lfuns.h:
3616         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3617         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3618
3619         * lyxfunc.C (getStatus, dispatch): define the actions for these
3620         lfuns. Little more than a cut and pste job from ControlDocument.C
3621
3622         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3623
3624 2004-03-30  Angus Leeming  <leeming@lyx.org>
3625
3626         * lfuns.h:
3627         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3628         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3629
3630         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3631         open/closed state of ollapsable insets. Usage:
3632
3633         all-inset-toggle <state> <name>, where
3634         <state> == "open" || "closed" || "toggle" and
3635         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3636
3637         * lyxtext.h, text2.C (toggleInset): removed.
3638
3639         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3640         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3641         now passes LFUN_INSET_TOGGLE to the found inset.
3642
3643         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3644         is now invoked as "all-insets-toggle toggle branch".
3645
3646 2004-03-30  Angus Leeming  <leeming@lyx.org>
3647
3648         * dociterator.C:
3649         * insetiterator.C:
3650         * pariterator.[Ch]: added/corrected header blurb.
3651
3652 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3653
3654         * dociterator.[Ch]: add an inset_ member
3655         (backwardPos): implemented
3656         (backwardPos, forwardPos): use inset_ when the stack is empty.
3657         (doc_iterator_begin, doc_iterator_end): implemented
3658         * pariterator.[Ch]: adjust, add begin, end
3659         * insetiterator.[Ch]: adjust, add begin, end
3660         * cursor.C:
3661         * document.C:
3662         * BufferView.C:
3663         * BufferView_pimpl.C:
3664         * CutAndPaste.C: adjust
3665
3666 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3667
3668         * buffer.C: increment file format to 232.
3669         * LaTeXFeatures.C: add bibtopic package.
3670         * bufferparams.[Ch]: param \use_bibtopic.
3671
3672         * lyxrc.[Ch]: add lyxrc bibtex_command
3673         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3674
3675         * buffer.C: increment file format to 231.
3676
3677 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3678
3679         * dociterator.C: implement forwardPar
3680         * iterators.[Ch]: remove, replaced by
3681         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3682         * BufferView.C:
3683         * BufferView_pimpl.C:
3684         * CutAndPaste.C:
3685         * buffer.C:
3686         * bufferview_funcs.C:
3687         * cursor.C:
3688         * lyxfind.C
3689         * lyxfunc.C
3690         * paragraph_funcs.C
3691         * toc.C:
3692         * Makefile.am: adjust
3693
3694 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3695
3696         * CutAndPaste.C (pasteSelection): fix 2 crashes
3697         (eraseSelection): fix a crash
3698         * paragraph_funcs.C: remove a warning
3699
3700 2004-03-28  Angus Leeming  <leeming@lyx.org>
3701
3702         * lfuns.h:
3703         * LyXAction.C (init): new LFUN_PRINT.
3704
3705         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3706
3707 2004-03-27  Angus Leeming  <leeming@lyx.org>
3708
3709         * lfuns.h:
3710         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3711
3712         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3713
3714 2004-03-27  Angus Leeming  <leeming@lyx.org>
3715
3716         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3717         insetlist always contains non-null pointers to insets.
3718
3719 2004-03-26  Angus Leeming  <leeming@lyx.org>
3720
3721         * src/BufferView_pimpl.C:
3722         * src/CutAndPaste.C:
3723         * src/buffer.C:
3724         * src/iterators.C:
3725         * src/output_plaintext.C:
3726         * src/outputparams.h:
3727         * src/paragraph_funcs.C:
3728         * src/rowpainter.C:
3729         * src/text.C:
3730         * src/text2.C:
3731         * src/frontends/controllers/ControlErrorList.C:
3732         * src/frontends/gtk/FileDialogPrivate.C:
3733         * src/frontends/gtk/GPainter.C:
3734         * src/frontends/gtk/GToolbar.C:
3735         * src/frontends/qt2/QRef.C:
3736         * src/mathed/math_scriptinset.C: squash compiler warnings.
3737
3738 2004-03-26  Angus Leeming  <leeming@lyx.org>
3739
3740         * ispell.C (LaunchIspell::start):
3741         * lyx_cb.C (AutoSaveBuffer::start):
3742         invoke run(DontWait) rather than runNonBlocking().
3743
3744 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3745
3746         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3747
3748 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3749
3750         * kbsequence.C (print): adjust
3751
3752         * kbmap.C (printKeySym): rename and change signature
3753         (printKey): use LyXKeySym::print()
3754
3755 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3756
3757         * undo.C: add using std::advance to compile for stlport
3758
3759 2004-03-24  Angus Leeming  <leeming@lyx.org>
3760
3761         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3762         it leads to a crash when no buffer is present.
3763
3764 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3765             Martin Vermeer  <martin.vermeer@hut.fi>
3766
3767         * lyxfunc.C (dispatch):
3768         * bufferparams.C (readToken): use the new LColor::setColor
3769
3770         * LColor.[Ch] (setColor): new version that takes two strings as
3771         argument and creates a new color entry if necessary
3772
3773 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3774
3775         * buffer.C (makeLaTeXFile): if the main latex file that is
3776         processed is usually a subdocument of some master, then pretend
3777         for a while that it is actually the master
3778
3779 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3780
3781         * buffer.C (getLabelList):
3782         (getBibkeyList): use getMasterBuffer()
3783         (getMasterBuffer): new method. Returns the main document in the
3784         case where one is using included documents.
3785
3786 2004-03-25  André Pönitz  <poenitz@gmx.net>
3787
3788         * Makefile.am:
3789         * iterators.[Ch]:
3790         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3791
3792         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3793
3794         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3795         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3796
3797         * ParameterStruct.h: merge with ParagraphParameters
3798
3799         * lyxtext.h: remove LyXText::parOffset() and getPar()
3800
3801         * text3.C: Remove all 'manual' update calls. We do now one per user
3802         interaction which is completely sufficient.
3803
3804         * Bidi.C:
3805         * BufferView.[Ch]:
3806         * BufferView_pimpl.C:
3807         * FontIterator.[Ch]:
3808         * MenuBackend.C:
3809         * ParagraphParameters.[Ch]:
3810         * buffer.C:
3811         * buffer.h:
3812         * bufferlist.C:
3813         * cursor.[Ch]:
3814         * cursor_slice.[Ch]:
3815         * dociterator.[Ch]:
3816         * errorlist.[Ch]:
3817         * factory.C:
3818         * lfuns.h:
3819         * lyxfind.C:
3820         * lyxfunc.C:
3821         * output_docbook.[Ch]:
3822         * output_latex.[Ch]:
3823         * output_linuxdoc.[Ch]:
3824         * output_plaintext.[Ch]:
3825         * paragraph.[Ch]:
3826         * paragraph_funcs.[Ch]:
3827         * paragraph_pimpl.[Ch]:
3828         * rowpainter.C:
3829         * tabular.[Ch]:
3830         * text.C:
3831         * text2.C:
3832         * toc.C:
3833         * undo.[Ch]: adjust
3834
3835         * frontends/controllers/ControlDocument.C:
3836         * frontends/controllers/ControlErrorList.C:
3837         * frontends/controllers/ControlSpellchecker.C:
3838         * insets/inset.C:
3839         * insets/inset.h:
3840         * insets/insetbase.h:
3841         * insets/insetbibitem.C:
3842         * insets/insetbox.C:
3843         * insets/insetbranch.C:
3844         * insets/insetcaption.C:
3845         * insets/insetcharstyle.C:
3846         * insets/insetcharstyle.h:
3847         * insets/insetcollapsable.C:
3848         * insets/insetcollapsable.h:
3849         * insets/insetert.C:
3850         * insets/insetfloat.C:
3851         * insets/insetfoot.C:
3852         * insets/insetmarginal.C:
3853         * insets/insetnote.C:
3854         * insets/insetoptarg.C:
3855         * insets/insettabular.C:
3856         * insets/insettext.C:
3857         * insets/insettext.h:
3858         * insets/insetwrap.C:
3859         * mathed/math_mboxinset.C:
3860         * mathed/math_nestinset.C:
3861         * mathed/math_scriptinset.C:
3862         * mathed/math_scriptinset.h:
3863         * support/types.h:
3864
3865 2004-03-24  Angus Leeming  <leeming@lyx.org>
3866
3867         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3868         deal with any child processes that have finished but are waiting to
3869         communicate this fact to the rest of LyX.
3870
3871 2004-03-24  Angus Leeming  <leeming@lyx.org>
3872
3873         64-bit compile fixes.
3874
3875         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3876         (c-tor): pass lyx::pos_types rather than ints.
3877
3878         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3879         lyx::pos_type.
3880
3881         * text.C (Delete): compile fix.
3882         (getPar): ensure that function declaration is the same as that in
3883         the header file.
3884
3885 2004-03-23  Angus Leeming  <leeming@lyx.org>
3886
3887         * ispell.C (LaunchIspell):
3888         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3889         a boost::shred_ptr rather than a std::auto_ptr.
3890
3891 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3892
3893         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3894         handle LFUN_FILE_INSERT_*
3895
3896         * lyxrc.C (setDefaults, getDescription, output, read):
3897         * lyxrc.h: remove ps_command
3898
3899 2004-03-22  Angus Leeming  <leeming@lyx.org>
3900
3901         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3902         Ensure that error_handler is processed once only and that all data
3903         is saved before attempting to output any warning messages.
3904
3905         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3906
3907 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3908
3909         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3910
3911 2004-03-19  André Pönitz  <poenitz@gmx.net>
3912
3913         * cursor.[Ch] (reset): take main text inset as argument
3914
3915         * BufferView: adjust
3916         * BufferView_pimpl.C: adjust
3917
3918         * paragraph.[Ch]: fix completely broken operator=()
3919
3920 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3921
3922         * LColor.C (getFromLyXName): make sure that the color name is used
3923         as lowercase.
3924
3925 2004-03-17  Angus Leeming  <leeming@lyx.org>
3926
3927         * lfuns.h:
3928         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3929
3930         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3931         dialog and to kill a forked process.
3932
3933 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3934
3935         * text2.C (setCursorFromCoordinates): fix font problem
3936
3937 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3938
3939         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3940         bogus "rebuild cursor" code
3941
3942 2004-03-11  André Pönitz  <poenitz@gmx.net>
3943
3944         * buffer.[Ch]: use InsetText instead of LyXText as container for
3945         the main lyx text.
3946
3947         * dociterator.[Ch]: drop the BufferView * member which is not needed
3948         anymore after the change to buffer.C
3949
3950         * paragraph_funcs.C:
3951         * text.C:
3952         * text2.C:
3953         * BufferView.[Ch]:
3954         * BufferView_pimpl.[Ch]:
3955         * cursor.[Ch]:
3956         * cursor_slice.[Ch]: adjust
3957
3958         * text3.C: fix bug in mathDispatch
3959
3960 2004-03-08  André Pönitz  <poenitz@gmx.net>
3961
3962         * undo.[Ch]: use 'StableDocumentIterator' as base for
3963         the Undo struct.
3964
3965 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3966
3967         * LaTeXFeatures.C:
3968         * bufferparams.[Ch]: add jurabib support and param.
3969
3970         * LaTeX.C: add FIXME/comment.
3971
3972 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3973
3974         * buffer.C: increment file format to 230.
3975
3976 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3977
3978         * cursor.C (dispatch): avoid infinite loops
3979
3980 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3981
3982         * rowpainter.C (paintSelection): fix x coordinates
3983
3984 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3985
3986         * text.C (rowBreakPoint): fix breaking before displayed insets
3987
3988 2004-03-01  André Pönitz  <poenitz@gmx.net>
3989
3990         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3991
3992         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3993
3994         * Makefile.am:
3995         * BufferView.C:
3996         * BufferView_pimpl.C:
3997         * buffer.C:
3998         * lyxfind.C:
3999         * lyxfunc.C:
4000         * text.C:
4001         * text2.C:
4002         * text3.C: adjust
4003
4004 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4005
4006         * lyxtext.h:
4007         * text.C:
4008         * text2.C:
4009         * rowpainter.C:
4010         * BufferView_pimpl.C: rename textwidth -> maxwidth,
4011         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4012
4013 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4014
4015         * Bidi.[Ch] (computeTables): const correctness
4016         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4017         fill_hfill, fill_label_hfill and x from Row
4018         * lyxtext.h: prepareToPrint returns a RowMetrics
4019         * rowPainter.C: adjust
4020         * text.C (prepareToPrint): use width, not textWidth. adjust
4021         (redoParagraphInternal, cursorX): adjust
4022         * text2.C (getColumnNearX): adjust
4023         (init): put a default value to the top LyXText::width
4024
4025 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4026
4027         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4028
4029 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4030
4031         * lyxtext.h: add FontIterator class
4032
4033         * text.C (FontIterator, operator*, operator->, operator++): add
4034         (rowBreakPoint, setRowWidth): adjust (fixing a
4035         rebreaking bug)
4036
4037 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4038
4039         * BufferView_pimpl.C (workAreaDispatch): allow also
4040         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4041
4042 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4043
4044         * text.C (rowBreakPoint): fix a bug showing with very large insets
4045
4046 2004-02-25  André Pönitz  <poenitz@gmx.net>
4047
4048         * text3.C:
4049         * cursor.[Ch]: move some mathed specific code to mathed
4050
4051 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4052
4053         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4054         use_tempdir in preferences
4055         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4056         tempfile creation
4057         * lyx_main.C: ensure that tempdir is valid
4058         * lyxlex.h: correct typo
4059         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4060         * paragraph.[Ch] (isMultiLingual): make const
4061         * cursor.[Ch] (openable): make const
4062
4063 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4064
4065         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4066
4067 2004-02-20  André Pönitz  <poenitz@gmx.net>
4068
4069         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4070
4071         * cursor.[Ch]: prepare for localized getStatus()
4072
4073         * lyxtext.h:
4074         * tabular.C:
4075         * text.C:
4076         * text2.C:
4077         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4078
4079 2004-02-20  André Pönitz  <poenitz@gmx.net>
4080
4081         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4082
4083 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4084
4085         * text2.C (setCursorFromCoordinates): switch to absolute coords
4086         (cursorUp): adjust
4087         (cursorDown): adjust
4088         * text3.C (dispatch): adjust
4089
4090 2004-02-16  André Pönitz  <poenitz@gmx.net>
4091
4092         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4093           insets/ChangeLog)
4094
4095         * cursor_slice.[Ch]: remove unneeded acessor function
4096
4097         * lyxtext.h: rename rtl() to isRTL()
4098
4099         * rowpainter.C:
4100         * tabular.C:
4101         * text.C:
4102         * text2.C:
4103         * text3.C: adjust
4104
4105 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4106
4107         * rowpainter.C (paintSelection): coord fix
4108
4109 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4110
4111         * Spacing.C: compile fix
4112
4113 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4114
4115         * cursor.C (dispatch): restore current_ before returning
4116
4117 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4118
4119         * text2.C (cursorUp, cursorDown): fix coords
4120         (moveUp): fix crash
4121
4122 2004-02-12  André Pönitz  <poenitz@gmx.net>
4123
4124         * lyxtext.h:
4125         * text.C:
4126         * text2.C:
4127         * text3.C: add LCursor & parameter to most cursor movement functions
4128           remove usage of LyXText::cursorRow() and cursorPar()
4129
4130         * cursor.[Ch]: add textRow() needed members
4131
4132         * BufferView.C:
4133         * BufferView_pimpl.C:
4134         * paragraph.[Ch]:
4135         * BufferView.C:
4136         * BufferView_pimpl.C: adjust
4137
4138 2004-02-11  André Pönitz  <poenitz@gmx.net>
4139
4140         * lyxfunc.C:
4141         * BufferView.[Ch]:
4142         * BufferView_pimpl.C: shift undo/redo handling
4143
4144         * cursor.[Ch]: fix mathed crash
4145
4146         * lyxfind.C:
4147         * lyxtext.h: move selectionAsText to LCursor
4148
4149         * output_latex.C:
4150         * paragraph.C:
4151         * text.C:
4152         * text2.C:
4153         * text3.C: adjust
4154
4155         * rowpainter.C: fix excessive drawing
4156
4157 2004-02-06  André Pönitz  <poenitz@gmx.net>
4158
4159         * BufferView.[Ch]:
4160         * BufferView_pimpl.[Ch]:
4161         * text3.C: move some text specific LFUN handling
4162
4163 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4164
4165         * text3.C (checkInsetHit): adjust coords
4166         * text2.C (getColumnNearX): adjust coords
4167         (edit): adjust coords
4168         * text.C (getRowNearY): add two asserts
4169
4170 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4171
4172         * converter.C:
4173         * format.C: add using std::distance to compile on gcc 2.95/stlport
4174
4175 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4176
4177         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4178
4179 2004-02-04  André Pönitz  <poenitz@gmx.net>
4180
4181         * BufferView.[Ch] (insertInset):
4182         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4183
4184         * text2.C:
4185         * text3.C: adjust
4186
4187 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4188
4189         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4190         on the default clause of the switch
4191         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4192         wasn't catched by LCursor::dispatch
4193
4194 2004-02-03  André Pönitz  <poenitz@gmx.net>
4195
4196         * BufferView.C:
4197         * cursor.[Ch]: some additional asserts
4198
4199         * undo.[Ch]: remove LyXText dependency in interface
4200
4201         * lyxfunc.C: adjust
4202
4203         * lyxtext.h (firstPar, lastPar): remove dead functions
4204
4205         * text.C:
4206         * text2.C:
4207         * text3.C:
4208         * paragraph.[Ch]: adjust
4209
4210 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4211
4212         * lyxfind.C (find): fix argument order in call to ::find
4213
4214 2004-02-02  André Pönitz  <poenitz@gmx.net>
4215
4216         * cursor.[Ch]: remove direct access to anchor
4217
4218         * text.C: remove findText() hack
4219
4220 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4221
4222         * iterators.[Ch] (lockPath): remove in favour of...
4223         * BufferView.[Ch] (setCursor): this addition
4224         * BufferView.C (putSelectionAt): adjust
4225         * undo.C (performUndoOrRedo): adjust
4226         * lyxfunc.C (dispatch): adjust
4227
4228 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4229
4230         * iterators.C (lockPath): add a missing slice
4231         * undo.C (performUndoOrRedo): remove redundant positioning code
4232
4233 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4234
4235         * vc-backend.C (scanMaster): ";" -> ';'
4236
4237 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4238
4239         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4240         std::binary_function
4241
4242         * lyxtextclass.C (compare_name): rename to...
4243         (LayoutNamesEqual): ...this
4244
4245         * lyxlex_pimpl.C (compare_tags): inherit from
4246         std::binary_function, put back into anon namespace
4247
4248         * lyxfind.C (MatchString): inherig from std::binary_function
4249         (findChange): use empty() istead of !size()
4250
4251         * format.C (FormatNamesEqual): new functor
4252         (getFormat): use it
4253         (getNumber): use it
4254         (add): use it
4255         (erase): use it
4256         (setViewer): use it
4257
4258         * converter.C (compare_Converter): rename to...
4259         (ConverterEqual): ...this, and fixup a bit.
4260         (getConverter): use it, and make function const
4261         (getNumber): use it, and make function const
4262         (add): use it
4263         (erase): use it:
4264
4265         * bufferlist.C: add using boost::bind
4266
4267         * MenuBackend.C (MenuNamesEqual): new functor
4268         (hasMenu): use it, and make function const
4269         (hasSubmenu): use nested bind to get rid of compare_memfun.
4270
4271 2004-01-30  André Pönitz  <poenitz@gmx.net>
4272
4273         * BufferView_pimpl.C:
4274         * cursor.C:
4275         * cursor.h:
4276         * cursor_slice.[Ch]:
4277         * lyxfunc.C:
4278         * lyxtext.h:
4279         * paragraph_funcs.C:
4280         * paragraph_funcs.h:
4281         * rowpainter.C:
4282         * text.C:
4283         * text2.C:
4284         * text3.C: move some of the edit(x,y) handling to the insets
4285         some coordinate changes.
4286
4287 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * text.C: add using statements for std::advance and std::distance
4290
4291         * paragraph.C: add using statement for std::distance
4292
4293         * lyxfind.C: add using statement for std::advance
4294
4295         * cursor.C (region): remove std:: from swap
4296         (openable): use nucleus in stead of operator->
4297
4298         * BufferView.C: add using statements for std::distance and std::swap
4299
4300 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4301
4302         * iterators.C: Remove the pimple, move the needed structures to
4303         the header file. Create accessor for the positions stack.
4304         (asPosIterator): remove function
4305
4306         * PosIterator.C (PosIterator): move constructors to top of file
4307         (PosIterator): reimplement the constructor taking a ParIterator in
4308         terms of setFrom.
4309         (setFrom): new function
4310         (operator!=): inline it
4311
4312 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4313
4314         * lyxfind.C (replaceAll): use std::advance
4315
4316         * iterators.h: inherit from std::iterator.
4317
4318         * PosIterator.C (advance, distance): remove
4319         * PosIterator.h: interit from std::iterator.
4320
4321 2004-01-26  André Pönitz  <poenitz@gmx.net>
4322
4323         * BufferView.[Ch]:
4324         * BufferView_pimpl.[Ch]:
4325         * InsetList.[Ch]:
4326         * PosIterator.[Ch]:
4327         * buffer.h:
4328         * bufferview_funcs.C:
4329         * cursor.[Ch]:
4330         * cursor_slice.h:
4331         * factory.[Ch]:
4332         * iterators.[Ch]:
4333         * lyxfind.C:
4334         * lyxfunc.C:
4335         * lyxtext.h:
4336         * output_docbook.C:
4337         * output_latex.C:
4338         * output_linuxdoc.C:
4339         * output_plaintext.C:
4340         * paragraph.[Ch]:
4341         * paragraph_funcs.[Ch]:
4342         * paragraph_pimpl.[Ch]:
4343         * rowpainter.C:
4344         * tabular.C:
4345         * tabular.h:
4346         * text.C:
4347         * text2.C:
4348         * text3.C: more IU:  dumps most of the rest of the mathcursor
4349     implementation into cursor.[Ch]; "globalize" a bit of it.
4350
4351 2004-01-25  Angus Leeming  <leeming@lyx.org>
4352
4353         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4354
4355 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4356
4357         * LaTeXFeatures.h: add nice_ and nice() const
4358         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4359
4360 2004-01-20  André Pönitz  <poenitz@gmx.net>
4361
4362         * BufferView.[Ch]:
4363         * BufferView_pimpl.C:
4364         * PosIterator.C:
4365         * bufferview_funcs.C:
4366         * cursor.[Ch]:
4367         * cursor_slice.[Ch]:
4368         * factory.C:
4369         * iterators.C:
4370         * lyx_cb.C:
4371         * lyxfind.C:
4372         * lyxfunc.C:
4373         * lyxtext.h:
4374         * rowpainter.C:
4375         * text.C:
4376         * text2.C:
4377         * text3.C:
4378         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4379           LCursor and mathcursor parts to LCursor and InsetBase.
4380
4381 2004-01-15  André Pönitz  <poenitz@gmx.net>
4382
4383         * cursor_slice.[Ch]: add a few covienience functions
4384
4385         * funcrequest.[Ch]: remove BufferView * member
4386
4387         * BufferView_pimpl.C:
4388         * cursor.C:
4389         * factory.[Ch]:
4390         * lyxfind.[Ch]:
4391         * lyxfunc.C:
4392         * lyxtext.h:
4393         * text3.C:
4394         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4395
4396 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4397
4398         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4399         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4400
4401 2004-01-13  André Pönitz  <poenitz@gmx.net>
4402
4403         * textcursor.[Ch]:
4404         * lyxtext.h: hide cursor and selection anchor behind accessor function
4405
4406         * BufferView.C:
4407         * BufferView_pimpl.[Ch]:
4408         * PosIterator.C:
4409         * bufferview_funcs.C:
4410         * cursor.h:
4411         * lyxfind.C:
4412         * lyxfunc.C:
4413         * text.C:
4414         * text2.C:
4415         * text3.C:
4416         * undo.C: adjust
4417
4418         * cursor.h:
4419         * cursor_slice.[Ch]: some integer type changes for inset unification
4420
4421         * lyxcursor.[hC]: remove, it's CursorSlice now.
4422
4423         * Makefile.am:
4424         * BufferView_pimpl.[Ch]:
4425         * bufferview_funcs.C:
4426         * cursor_slice.C:
4427         * lyxtext.h:
4428         * text.C:
4429         * text2.C:
4430         * text3.C:
4431         * textcursor.[Ch]: adjust
4432
4433 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4434
4435         * text2.C (undoSpan): add and use
4436         * text.C (breakParagraph): use undoSpan (fix bug 578)
4437         * lyxtext.h: adjust
4438
4439 2004-01-08  Angus Leeming  <leeming@lyx.org>
4440
4441         * BufferView_pimpl.C (MenuInsertLyXFile):
4442         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4443         * lyxfunc.C (menuNew, open, doImport):
4444         FileFilterList change to the FileDialog open and save functions.
4445
4446 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * ShareContainer.h: make isEqual and isUnique adaptable
4449
4450         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4451
4452 2004-01-07  Angus Leeming  <leeming@lyx.org>
4453
4454         * LyXAction.C:
4455         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4456
4457         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4458
4459         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4460         functions replacing find, replace and replaceAll.
4461
4462         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4463         LFUN_WORDFIND(FORWARD|BACKWARD).
4464
4465 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4466
4467         * text.C (breakParagraph): remove an outdated #warning
4468
4469 2004-01-07  André Pönitz  <poenitz@gmx.net>
4470
4471         * lyxfind.C: somewhat clearer logic
4472
4473         * text.C: prevent crash in cursorX on unitialized row cache
4474
4475 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4476
4477         * lyxcursor.[Ch] (operator>): add
4478         * textcursor.C (selStart, selEnd): use std::min and std::max
4479
4480 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4481
4482         * Chktex.C: include boost/format.hpp
4483
4484 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4485
4486         * InsetList.C: replace functor MathcIt with adaptable functor
4487         InsetTablePosLess
4488         (insetIterator): modify accordingly
4489
4490         * BranchList.h: move the BranchNamesEqual functor here from...
4491         * BranchList.C: ... to here
4492
4493         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4494         SameName and match.
4495         (add): replace a finding loop with std::find_if.
4496
4497 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4498
4499         * output_docbook.C: moving LatexParam functionality into
4500         .layout files
4501
4502 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4503
4504         * buffer.C: increment format to 229.
4505
4506 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4507
4508         * LaTeXFeatures.C:
4509         * lyx_sty.[Ch]: remove minipageindent_def
4510
4511         * LyXAction.C:
4512         * factory.C:
4513         * lfuns.h:
4514         * lyxfunc.C:
4515         * text3.C: remove LFUN_INSET_MINIPAGE
4516
4517 2003-12-28  Angus Leeming  <leeming@lyx.org>
4518
4519         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4520
4521 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4522
4523         * text2.C (setParagraph): fix off-by-one crash
4524
4525 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4526
4527         * output_docbook.C: header stuff for AGU
4528
4529 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4530
4531         * text2.C (redoCursor): remove
4532         * text.C:
4533         * text3.C:
4534         * BufferView_pimpl.C: remove calls to redoCursor and
4535         setCursor(cursor.par(), cursor.pos()) all around
4536
4537 2003-12-15  Angus Leeming  <leeming@lyx.org>
4538
4539         * buffer.C: up the format to 228.
4540
4541 2003-12-15  André Pönitz  <poenitz@gmx.net>
4542
4543         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4544         slices
4545
4546         * Makefile.am:
4547
4548         * BufferView_pimpl.C:
4549         * cursor.[Ch]:
4550         * lyxcursor.[Ch]:
4551         * rowpainter.[Ch]:
4552         * lyxtext.h:
4553         * text.C:
4554         * text2.C:
4555         * text3.C: adjust
4556
4557 2003-12-15  Angus Leeming  <leeming@lyx.org>
4558
4559         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4560         than getFromGUIName to manipulate the color.
4561
4562 2003-12-14  Angus Leeming  <leeming@lyx.org>
4563
4564         * BranchList.[Ch]: minimize the API.
4565         (Branch::getBranch, getColor): now return a 'const &'.
4566         (Branch::setSelected) now returns a bool set to true if the
4567         selection status changes.
4568         (BranchList::clear, size, getColor, setColor, setSelected,
4569         allBranches, allSelected, separator): removed.
4570         (BranchList::find): new functions, returning the Branch with
4571         the given name.
4572         (BranchList::add, remove): return a bool indicating that
4573         the operation was successful.
4574
4575         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4576         new InsetBranch::isBranchSlected member function.
4577
4578         * LColor.[Ch]: mimimize the API.
4579         (fill): renamed as addColor and made private.
4580         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4581         versions of these functions taking a string arg have been removed.
4582
4583         * bufferparams.C (readToken):
4584         * lyxfunc.C (dispatch):
4585         * lyxrc.C (read): changes due to the altered BranchList and
4586         LColor APIs.
4587
4588         * factory.C (createInset, readInset): changes due to altered
4589         InsetBranch c-tor.
4590
4591 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4592
4593         * factory.C:
4594         * lyxfunc.C: remove insetminipage. "minipage-insert"
4595         now produces a frameless minipage box inset.
4596
4597 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4598
4599         * textcursor.[Ch] (selStart,selEnd): add new methods
4600         remove selection::start, end, use LyXCursor::operator<
4601         * lyxcursor.[Ch] (operator<): add
4602         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4603         * BufferView.[Ch] (unsetXSel): add
4604         * text2.C (clearSelection): use unsetXSel,adjust
4605         * text.C: adjust
4606         * text3.C: adjust
4607         * rowpainter.C: adjust
4608         * bufferview_funcs.C (put_selection_at): adjust
4609
4610 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4611
4612         * BufferView_pimpl.C: small coord. correction
4613
4614 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4615
4616         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4617         dragging over the splash screen.
4618
4619 2003-12-11  Angus Leeming  <leeming@lyx.org>
4620
4621         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4622         as it is now handled in LyXText::dispatch.
4623
4624         * text3.C (doInsertInset): remove a level of nesting.
4625
4626 2003-12-11  Angus Leeming  <leeming@lyx.org>
4627
4628         * factory.C (createInset): changes due to the changed interface to
4629         InsetCommandMailer::string2params.
4630
4631 2003-12-10  Angus Leeming  <leeming@lyx.org>
4632
4633         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4634         'dialog-show-new-inset <inset name>'
4635
4636 2003-12-10  Angus Leeming  <leeming@lyx.org>
4637
4638         * buffer.C: up the format to 227.
4639
4640         * factory.C: the box inset is now identified simply by 'Box'.
4641
4642 2003-12-10  Angus Leeming  <leeming@lyx.org>
4643
4644         * buffer.C: up the format to 226.
4645
4646         * factory.C: the note inset is now identified simply by 'Note'.
4647
4648 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4649
4650         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4651         when a pit is enough. Standarize a couple of loops.
4652
4653 2003-12-05  Angus Leeming  <leeming@lyx.org>
4654
4655         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4656         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4657         data to the re-worked "log" dialog.
4658
4659 2003-12-03  André Pönitz  <poenitz@gmx.net>
4660
4661         * PosIterator.C:
4662         * iterators.C:
4663         * lyxtext.h:
4664         * output_latex.C:
4665         * paragraph_funcs.C:
4666         * text.C:
4667         * text2.C: use Inset::getText instead of Inset::getParagraph
4668
4669 2003-12-03  André Pönitz  <poenitz@gmx.net>
4670
4671         * buffer.[Ch]:
4672         * lyxtext.h:
4673         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4674         InsetText::read() as LyXText::read()
4675
4676 2003-12-02  Angus Leeming  <leeming@lyx.org>
4677
4678         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4679         type. Add a comment in the implementation that the function uses
4680         the stream's bad() function rather than fail() as the std::streams
4681         would do.
4682
4683 2003-12-02  André Pönitz  <poenitz@gmx.net>
4684
4685         * lyxlex.[Ch]: make interface more similar to std::stream
4686
4687         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4688
4689 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4690
4691         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4692
4693 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4694
4695         * vspace.[Ch]: remove VSpace::NONE
4696
4697 2003-12-01  André Pönitz  <poenitz@gmx.net>
4698
4699         * buffer.[Ch]:
4700         * lyxtext.h: move ParagraphList member to LyXText
4701         rename LyXText::ownerParagraphs to LyXText::paragraph
4702
4703         * CutAndPaste.C:
4704         * bufferview_funcs.C:
4705         * iterators.[Ch]:
4706         * lyx_cb.C:
4707         * paragraph.C:
4708         * rowpainter.C:
4709         * tabular.C:
4710         * text.C:
4711         * text2.C:
4712         * text3.C: adjust
4713
4714         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4715
4716         * undo.C: fix cursor positioning
4717
4718 2003-12-01  John Levon  <levon@movementarian.org>
4719
4720         * BufferView_pimpl.C: fix a crash on exit with
4721         a buffer open
4722
4723 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4724
4725         * BranchList.C: fix setSelected() method.
4726
4727 2003-11-28  André Pönitz  <poenitz@gmx.net>
4728
4729         * ParagraphParameters.[Ch]:
4730         * ParameterStruct.h: remove space above/below from Paragraph to
4731          InsetVSpace
4732
4733         * BufferView_pimpl.C:
4734         * factory.C:
4735         * lyxfunc.C:
4736         * lyxtext.h:
4737         * output_latex.C:
4738         * paragraph.C:
4739         * paragraph_funcs.C:
4740         * rowpainter.[Ch]:
4741         * text.C:
4742         * text2.C:
4743         * text3.C: adjust
4744
4745 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4746
4747         * factory.C: Syntax change for CharStyles
4748
4749 2003-11-28  André Pönitz  <poenitz@gmx.net>
4750
4751         * BufferView.[Ch]:
4752         * BufferView.[Ch]:
4753         * buffer.[Ch]:
4754         * buffer.[Ch]: move LyXText member
4755
4756 2003-11-28  André Pönitz  <poenitz@gmx.net>
4757
4758         * BufferView.[Ch]: make LyXText * text a private member
4759
4760         * BufferView_pimpl.C:
4761         * cursor.C:
4762         * iterators.C:
4763         * lyx_cb.C:
4764         * lyxfind.C:
4765         * lyxtext.h:
4766         * rowpainter.[Ch]:
4767         * text.C:
4768         * text2.C:
4769         * undo.C: adjust
4770
4771         * output_plaintext.C: cleanup
4772
4773 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4774
4775         * buffer.C:
4776         * lyxtextclass.[Ch]: parametrize SGML document header
4777
4778 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4779
4780         * converter.[Ch]:
4781         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4782         getFlavor().
4783
4784 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4785
4786         * text2.C (setFont): rework using PosIterator (no more recursive)
4787         (setCharFont): no more needed
4788         (setLayout): no more selection cursors fiddling (done by redoCursor)
4789         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4790         destroy remaining ones)
4791
4792 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4793
4794         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4795         * lyxtext.h: ditto
4796         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4797         selection cursors
4798         * lyxfunc.C: adjust
4799         * text3.C: adjust + re-allow multi par depth changes
4800         * textcursor.C: simplify a bit
4801
4802 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4803
4804         * src/buffer.C:
4805         * src/lyxlayout.C:
4806         * src/lyxlayout.h:
4807         * src/lyxtext.h:
4808         * src/output_docbook.C:
4809         * src/output_latex.C:
4810         * src/paragraph.C:
4811         * src/paragraph.h:
4812         * src/sgml.C:
4813         * src/sgml.h:
4814         * src/text2.C: Introducing a number of tags parametrizing various
4815         XML formats that we may want to support
4816
4817 2003-11-25  André Pönitz  <poenitz@gmx.net>
4818
4819         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4820
4821         * lyxtext.h (leftMargin/rightMargin): simplify interface
4822
4823         * rowpainter.C:
4824         * text.C:
4825         * text2.C:
4826         * text3.C: adjust
4827
4828 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4829
4830         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4831         master file to any child files. Fixes bug 546.
4832
4833 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4834
4835         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4836
4837 2003-11-24  André Pönitz  <poenitz@gmx.net>
4838
4839         * rowpainter.C: simplification
4840
4841         * text2.C (updateCounters): remove call to redoParagraph on
4842         changed labels as this is far too expensive.
4843
4844 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4845
4846         * converter.C (convert): fix a crash: this function gets
4847         called with buffer == 0 from importer code.
4848
4849 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4850
4851         * text3.C (cursorPrevious): make sure that we do not compare
4852         iterators form different containers.
4853         (cursorNext): ditto
4854
4855         * rowpainter.C (paintSelection): make sure that we do not compare
4856         iterators from different containers.
4857
4858         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4859         iterators from different ParagraphList containers.
4860         [NEXT] ditto
4861
4862         * text2.C (LyXText): change order of initialization slightly
4863         (operator=): new function. copy all variables except cache_par_
4864         (moveUp): make sure that we do not compare iterators from
4865         different ParagraphList constainers.
4866         (moveDown): ditto
4867
4868         * text.C (firstPar): new function
4869         (lastPar): new function
4870         (endPar): new function
4871
4872         * lyxtext.h: move things around and group public functions, public
4873         variables, private functions, private variables
4874
4875 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4876
4877         * factory.C: change call to InsetERT constructor to avoid
4878         additional invocation of method status
4879         * text2.C (toggleInset): remove redundant update() call
4880         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4881         instead of a Bufferview pointer
4882
4883 2003-11-21  André Pönitz  <poenitz@gmx.net>
4884
4885         * rowpainter.C: simplification
4886
4887 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4888
4889         * text3.C (dispatch): make possible to extend a word/row selection
4890         with the mouse
4891
4892 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4893
4894         * lyxtext.h: x0_,y0_ -> xo_,yo_
4895         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4896         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4897         * rowpainter.C (paintRows): paint full paragraphs
4898
4899 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4900
4901         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4902         screen coordinates)
4903
4904 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4905
4906         * lyxtext.h: add x0_, y0_
4907         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4908         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4909
4910 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4911
4912         * text2.C (setCursorIntern): move the x_target update here *
4913         * text3.C: change some bv() to true/false in calls to
4914         cursorUp/Down/Right/Left
4915         * cursor.C: use helper function.
4916
4917 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4918
4919         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4920         * paragraph_funcs.[Ch]: correct comment
4921         * rowpainter.C: do not paint selections away from bv->cursor()
4922         Fix a long standing selection painting bug.
4923         * text3.C: generalize mouse-selection code to LyXTexts other that
4924         top one
4925         * textcursor.C: do not use y coords if we can use par offsets
4926
4927 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4928
4929         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4930         cursor position after e.g. inset insert)
4931
4932 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4933
4934         * lyxfind.C (replace): adjust to locking removal + some
4935         code simplification
4936
4937 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4938
4939         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4940         of the path
4941
4942 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4943
4944         * lyxlayout.[Ch]:
4945         * output_docbook.C: XML sanitation: new layout
4946         parameters InnerTag and CommandDepth
4947
4948 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4949
4950         * BufferView_pimpl.C:
4951         * factory.C:
4952         * text3.C: Fix the insertion and modification of button-style
4953         insets
4954
4955 2003-11-13  André Pönitz  <poenitz@gmx.net>
4956
4957         * InsetList.[Ch]: remove deleteLyXText
4958
4959         * paragraph.[Ch]: cache beginOfBody position
4960
4961         * Bidi.C:
4962         * text.C:
4963         * text2.C:
4964         * text3.C: remove superfluous update() calls
4965
4966         * vspace.C: cleanup
4967
4968 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4969
4970         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4971         * BufferView.C (fitLockedInsetCursor): remove
4972         * cursor.[Ch] (getDim): add
4973         * text.C (getRowNearY): add faster version
4974         * text3.C: remove some update calls
4975
4976 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4977
4978         * LaTeXFeatures.C:
4979         * LyXAction.C:
4980         * MenuBackend.C:
4981         * MenuBackend.h:
4982         * dispatchresult.h:
4983         * factory.C:
4984         * lfuns.h:
4985         * lyxfunc.C:
4986         * lyxtextclass.C:
4987         * lyxtextclass.h:
4988         * text3.C: The Character Style /XML short element patch.
4989
4990 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4991
4992         * text3.C:
4993         * factory.C: Small step to solving 'unable to insert some insets'
4994         problem
4995
4996 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4997
4998         * cursor.[Ch] (updatePos): new function for updating the y
4999         position of the tip inset
5000         * bufferview_funcs.C (put_selection_at):
5001         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5002
5003 2003-11-11  André Pönitz  <poenitz@gmx.net>
5004
5005         * text.C: remove big comment on invalid Paragraph pointers as it is
5006         not valid anymore
5007
5008 2003-11-11  André Pönitz  <poenitz@gmx.net>
5009
5010         * text_funcs.[Ch]: merge with ...
5011
5012         * text.C: ... this
5013
5014         * lyxtext.h:
5015         * text2.C:
5016         * text3.C: adjust
5017
5018         * Makefile.am: remove text_funcs.[Ch]
5019
5020 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5021
5022         * cursor.C (getPos): return absolute cached y coord
5023
5024         * BufferView_pimpl.C (fitCursor): new simplistic code
5025         (workAreaDispatch): add a fitCursor call
5026
5027 2003-11-10  André Pönitz  <poenitz@gmx.net>
5028
5029         * BufferView.[Ch]:
5030         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5031
5032 2003-11-10  André Pönitz  <poenitz@gmx.net>
5033
5034         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5035         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5036         indicate that the cursor needs to leave an inset
5037
5038         * lyxtext.h: remove inset locking
5039
5040         * cursor.[Ch]: re-implement functionality provided by inset locking
5041
5042         * BufferView.[Ch]:
5043         * BufferView_pimpl.[Ch]:
5044         * LyXAction.C:
5045         * bufferview_funcs.[Ch]:
5046         * factory.C:
5047         * funcrequest.[Ch]:
5048         * iterators.C:
5049         * lyx_cb.C:
5050         * lyxfind.C:
5051         * lyxfunc.C:
5052         * text.C:
5053         * text2.C:
5054         * text3.C:
5055         * undo.C: adjust
5056
5057 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5058
5059         * PosIterator.[Ch]: replace the stack with a vector, add inset
5060         accesor
5061         * iterators.[C]: adjust
5062
5063 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5066         replaced
5067         * paragraph_funcs.C (readParToken): put the correct id in the
5068         error item, not the id of the top paragraph
5069
5070 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5071
5072         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5073         * bufferview_funcs.C (put_selection_at): use the above
5074
5075 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5076
5077         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5078
5079 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5080
5081         * output_linuxdoc.h:
5082         * output_plaintext.h:
5083         * output.h:
5084         * output_docbook.h: add #include statements
5085
5086 2003-11-05  José Matos  <jamatos@lyx.org>
5087
5088         * output_docbook.[Ch]:
5089         * output_latex.[Ch]:
5090         * output_linuxdoc.[Ch]:
5091         * output_plaintext.[Ch]: New files for output formats.
5092         * output.[Ch]: New file for helper functions.
5093
5094         * buffer.[Ch]:
5095         * paragraph_funcs.[Ch]: output functions moved to new files.
5096
5097         * outputparams.h: rename of latexrunparams.h
5098
5099         * LaTeX.[Ch]:
5100         * buffer.[Ch]:
5101         * bufferlist.[Ch]:
5102         * converter.[Ch]:
5103         * exporter.C:
5104         * paragraph.[Ch]:
5105         * paragraph_funcs.[Ch]:
5106         * paragraph_pimpl.[Ch]:
5107         * tabular.[Ch]: rename ascii to plaintext
5108         and LatexRunParams to OutputParams.
5109
5110 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5111
5112         * iterators.[Ch] (text): require bv argument
5113         * undo.C (recordUndo):
5114         * lyxfunc.C (dispatch):
5115         * bufferview_funcs.C (put_selection_at): adjust
5116
5117 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5118
5119         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5120
5121 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5122
5123         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5124         nestings
5125
5126 2003-11-04  André Pönitz  <poenitz@gmx.net>
5127
5128         * cursor.[Ch]: restructure
5129
5130         * BufferView.[Ch]:
5131         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5132
5133         * iterators.[Ch] (asCursor): remove
5134
5135         * lfuns.h: remove LFUN_INSET_EDIT
5136
5137         * lyxfunc.C:
5138         * tabular.C:
5139         * text.C:
5140         * text2.C:
5141         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5142
5143 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5144
5145         * lyxfind.[Ch]: complete overhaul
5146         * BufferView_pimpl.C:
5147         * lyxfunc.C: adjust
5148         * paragraph.[Ch] (insert): add
5149
5150 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5151
5152         * BufferView.[Ch]:
5153         * lyxtext.h:
5154         * text.C: remove dead spellcheck code
5155
5156 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * dispatchresult.h: add a val setter
5159
5160         * cursor.C (dispatch): use a tempvar for data_[i]
5161
5162 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5163
5164         * PosIterator.[Ch]: compile fix
5165
5166 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5167
5168         * text.C (cursorPar): deactivate the cursor cache
5169
5170 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5171
5172         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5173
5174 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5175
5176         * text3.C (dispatch): adjust for new DisptchResult semantics.
5177
5178         * lyxfunc.C (dispatch): handle update when return from
5179         Cursor::dispatch, adjust for new DispatchResult semantics.
5180
5181         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5182         DispatchResult(true) mean to not update. Add class functions for
5183         setting dispatched and update, as well as reading.
5184
5185         * cursor.C (dispatch): don't handle update here
5186
5187 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5190         * trans_mgr.C: adjust
5191
5192         * paragraph_funcs.C (readParToken): exception safety
5193
5194         * lyxvc.h: store the vcs pointer in a scoped_ptr
5195         * lyxvc.C: adjust
5196
5197         * lyxsocket.C (serverCallback): exception safety
5198
5199         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5200
5201         * ispell.C (clone): make it return a auto_ptr
5202
5203         * factory.C (createInset): exception safety
5204         (readInset): exception safety
5205
5206         * bufferlist.C (newBuffer): exception safety
5207
5208         * Thesaurus.C (Thesaurus): use initialization for aik_
5209
5210         * MenuBackend.C (expandToc): exception safety.
5211
5212 2003-11-03  André Pönitz  <poenitz@gmx.net>
5213
5214         * buffer.C:
5215         * buffer.h:
5216         * bufferview_funcs.C: remove getInsetFromId()
5217
5218         * lyxcursor.[Ch]:
5219         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5220
5221         * lyxfunc.C:
5222         * text2.C:
5223         * text3.C: adjust
5224
5225 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5226
5227         * PosIterator.C (distance, advance): new
5228         * bufferview_funcs.[Ch] (put_selection_at): new
5229         * iterators.[Ch] (lockPath): new
5230
5231 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5232
5233         * iterators.[Ch] (asPosIterator): added
5234         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5235         * PosIterator.[Ch]: added
5236
5237 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5238
5239         * text3.C:
5240         * lyxfunc.C:
5241         * cursor.C (dispatch):
5242         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5243
5244         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5245         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5246         contructor, add a class function dispatched. Remove operator>=
5247
5248 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * debug.C: only use the default constructor for debugstream
5251         (lyxerr) here.
5252
5253         * main.C (main): include debug.h and setup the lyxerr streambuf
5254         here.
5255
5256 2003-10-31  José Matos  <jamatos@lyx.org>
5257
5258         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5259
5260         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5261         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5262         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5263         * paragraph_pimpl.C (simpleTeXSpecialC):
5264         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5265         add LatexRunParams argument.
5266
5267         * exporter.C (Export): change call accordingly.
5268
5269         * latexrunparams.h: add new member to take care of the other backends.
5270 2003-10-30  José Matos  <jamatos@lyx.org>
5271
5272         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5273         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5274         factorise code for paragraph output.
5275         * buffer.[Ch]:
5276         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5277         move functions.
5278
5279 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * text3.C (dispatch):
5282         * lyxfunc.C (dispatch):
5283         * cursor.C (dispatch):
5284         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5285
5286         * dispatchresult.h: make the dispatch_result_t ctor explicit
5287
5288 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5289
5290         * sgml.[Ch]:
5291         * buffer.C: small refactoring of docbook stuff
5292
5293 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5294
5295         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5296         meaning.
5297
5298 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5299
5300         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5301         operator dispatch_result_t, and operators for == != and >=
5302
5303         * cursor.C (dispatch): adjust for operator dispatch_result_t
5304         removal. comment out call to update
5305
5306         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5307
5308 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5309
5310         * text3.C:
5311         * text2.C:
5312         * text.C:
5313         * lyxtext.h:
5314         * lyxfunc.C:
5315         * cursor.C:
5316         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5317         (dispatch):
5318
5319         * dispatchresult.h: new file, DispatchResult broken out of
5320         insets/insetbase.h
5321
5322         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5323
5324 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5325
5326         * text.C (rowBreakPoint): put a hack inside #if 0
5327
5328 2003-10-28  André Pönitz  <poenitz@gmx.net>
5329
5330         * lyxtext.h:
5331         * metricsinfo.C:
5332         * paragraph_funcs.C:
5333         * rowpainter.C:
5334         * text.C:
5335         * text2.C: general cleanup (lots of small stuff)
5336
5337 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5338
5339         * text2.C (cursorEnd): simple fix to the "end key goes to one
5340         before the end on last row" bug
5341
5342 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5343
5344         * text.C (backspace): fix the "zombie characters"
5345
5346 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5347
5348         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5349
5350 2003-10-27  André Pönitz  <poenitz@gmx.net>
5351
5352         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5353
5354         * factory.C: handle new InsetPagebreak, InsetLine
5355
5356         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5357         and move handling into new InsetPagebreak, InsetLine
5358
5359         * BufferView_pimpl.C:
5360         * LyXAction.C:
5361         * ParagraphParameters.C:
5362         * ParameterStruct.h:
5363         * lyxfunc.C:
5364         * lyxtext.h:
5365         * paragraph.C:
5366         * paragraph.h:
5367         * paragraph_funcs.C:
5368         * paragraph_pimpl.C:
5369         * rowpainter.C:
5370         * text.C:
5371         * text2.C:
5372         * text3.C: adjust
5373
5374 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5375
5376         * text.C:
5377         * lyxrow_funcs.[Ch]:
5378         * Bidi.C:
5379         * paragraph.C:
5380         * lyxtext.h:
5381         * rowpainter.C:
5382         * text2.C:
5383         * text3.C: remove lastPos uses in favour of Row::endpos
5384
5385 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5386
5387         * undo.C (performUndoOrRedo): fix two crashes by setting a
5388         cursor by hand and reordering some calls. Use bv->lockInset instead
5389         of inset->edit because the latter loses cursor information
5390
5391 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5392
5393         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5394         by Martin
5395         (rowBreakPoint): fix width. change point to point + 1.
5396         Add a missing check.
5397
5398 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5399
5400         * MenuBackend.C:
5401         * lyxfunc.C: fix (at least partly) the problems
5402         with the Nav menu and headers inside branch insets
5403         reported by Kayvan
5404
5405 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5406
5407         * paragraph.C (getChar): add strong asserts
5408
5409         * lyxrow_funcs.C (lastPos): remove hideous hack
5410
5411         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5412         (fill): adjust to that (avoid an infinite loop)
5413
5414 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5415
5416         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5417
5418 2003-10-23  André Pönitz  <poenitz@gmx.net>
5419
5420         * RowList_fwd.h: change list<> to vector<> to gain speed
5421         after suggestion from Alfredo
5422
5423 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5424
5425         * lyxtext.h: move the bidi stuff from here...
5426         * text.C: and here
5427         * text2.C: and here
5428         * Bidi.[Ch]: ... to here
5429
5430 2003-10-23  André Pönitz  <poenitz@gmx.net>
5431
5432         * lyxtext.h:
5433         * text.C (isLastRow, isFirstRow): new functions
5434
5435         * paragraph.h: new width cache member
5436
5437         * rowpainter.C: replace RowList::iterator with Row & where possible
5438
5439         * lyxfunc.C: replace several view()->text with a single call
5440
5441         * toc.C: fix 'unused' warning
5442
5443 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5444
5445         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5446         when woring with stream::pos_type
5447         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5448
5449 2003-10-22  André Pönitz  <poenitz@gmx.net>
5450
5451         * lyxtext.h:
5452         * text.C: use Row & instead of RowList::iterator
5453
5454         * lyxrow.h: rename end() to endpos()
5455
5456         * rowpainter.C:
5457         * text.C:
5458         * text2.C: adjust
5459
5460 2003-10-22  Angus Leeming  <leeming@lyx.org>
5461
5462         * buffer.[Ch] (fully_loaded): new member function, returning true
5463         only when the file has been loaded fully.
5464         Used to prevent the premature generation of previews and by the
5465         citation inset to prevent computation of the natbib-style label.
5466
5467         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5468         templates are all set up.
5469
5470         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5471
5472 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5473
5474         * text.C: fixed an "oops" in the "is a bit silly"
5475         bug fix
5476
5477 2003-10-21  André Pönitz  <poenitz@gmx.net>
5478
5479         * FuncStatus.[Ch]: small stuff, whitespace
5480
5481         * lyxfont.[Ch]: operator<<() for debug reasons
5482
5483         * lyxfunc.C:
5484         * lyxrow_funcs.C:
5485         * lyxtext.h: whitespace, spelling
5486
5487         * paragraph.C: naming of variables
5488
5489         * text.C:
5490         * text2.C: small stuff
5491
5492
5493 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5494
5495         * text.C: (1) finish off the inset display() work;
5496         (2) fix the "is a bit silly" bug (accessing char
5497         past end of par).
5498
5499 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5500
5501         * text.C: re-introduce display() for insets, fixing the
5502         various bugs (stretch of line above, math inset
5503         positioning, ...)
5504
5505 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5506
5507         * text.C (rightMargin): remove spurious semicolon
5508
5509         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5510         1415)
5511
5512 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5513
5514         * text3.C: fix one crash due to wrong cursor def
5515
5516 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * vc-backend.C (scanMaster): make the regex static
5519
5520         * LaTeX.C (scanAuxFile): make the regexs static
5521
5522         * text3.C (doInsertInset, dispatch, dispatch):
5523         * text2.C (cursorUp, cursorDown):
5524         * text.C (selectNextWordToSpellcheck):
5525         * BufferView_pimpl.C (dispatch):
5526         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5527
5528 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5529
5530         * lyxsocket.C: include <cerrno>
5531
5532 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5533
5534         * lyxfunc.C (dispatch): remove textcache stuff
5535
5536         * bufferlist.C (release): remove textcache stuff
5537         (closeAll): ditto
5538
5539         * TextCache.C: delete file
5540         * TextCache.h: delete file
5541
5542         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5543
5544         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5545         delete of the bv_->text.
5546         (resizeCurrentBuffer): remove texcache stuff
5547         (workAreaResize): ditto
5548
5549 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5550
5551         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5552         action.
5553
5554 2003-10-16  André Pönitz  <poenitz@gmx.net>
5555
5556         * lyxrow.[Ch]:
5557         * paragraph.h:
5558         * rowpainter.C:
5559         * text.C:
5560         * text2.C:
5561         * text3.C: speed up by storing y positions per paragraph plus per-row
5562         offset instead of having a 'full' y position in the row.
5563
5564 2003-10-15  André Pönitz  <poenitz@gmx.net>
5565
5566         * iterators.[Ch]:
5567         * iterators.[Ch]:
5568         * undo.[Ch]: make undo aware of inner insets
5569
5570 2003-10-14  Angus Leeming  <leeming@lyx.org>
5571
5572         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5573         static member functions LyX::ref() and LyX::cref.
5574         (lastfiles): new accessor functions for the new lastfiles_ member var.
5575         (addLyXView, views_): add a new LyXView to the list of views_.
5576         (updateInset): loop over all LyXViews to call their own updateInset
5577         member function, returning a pointer to the Buffer owning the inset.
5578
5579         * BufferView_pimpl.C (loadLyXFile):
5580         * MenuBackend.C (expandLastfiles):
5581         * bufferlist.C (MenuWrite, QuitLyX):
5582         lastfiles is no longer a global variable.
5583         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5584
5585         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5586         static function. Access through LyX::cref().emergencyCleanup().
5587
5588 2003-10-14  André Pönitz  <poenitz@gmx.net>
5589
5590         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5591
5592         * undo.[Ch]: restoring part of 'undo in insets'
5593
5594         * Makefile.am:
5595         * undo_funcs.[Ch]: merge with undo.[Ch]
5596
5597         * tabular.C: small cleansing stuff
5598
5599 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5600
5601         * paragraph_funcs.C (readParToken): report unknown insets as error
5602         boxes. Use the outer paragraph as location (also for unknown
5603         tokens).
5604
5605         * factory.C (readInset): do not abort on reading an unknown inset.
5606         Eat it and return 0.
5607
5608 2003-10-13  Angus Leeming  <leeming@lyx.org>
5609
5610         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5611
5612         * lyxrc.C: displayTranslator is now a function,
5613         declared in GraphicsTypes.h.
5614
5615 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5616
5617         * format.C: new placeholder $$a to pass the socket address.
5618
5619         * bufferlist.[Ch]: new function getBufferFromTmp.
5620
5621         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5622           files in the temporary dir.
5623
5624 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5625
5626         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5627
5628         * Makefile.am: add lyxsocket.[Ch].
5629
5630         * lyx_main.C (error_handler): handle SIGPIPE.
5631
5632 2003-10-13  André Pönitz  <poenitz@gmx.net>
5633
5634         * BufferView_pimpl.C:
5635         * lyxtext.h:
5636         * text.C:
5637         * text2.C:
5638         * text3.C:
5639         * undo_funcs.[Ch]: use paroffset_type instead of
5640           ParagraphList::iterators to prevent multiple conversion
5641           (and get a more robust interface)
5642
5643 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5644
5645         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5646         * lyxtext.h: ditto
5647         * text3.C (dispatch): ditto
5648
5649 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5650
5651         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5652         move the onlyfile, use onlyfile instead of foundfile in a couple
5653         of places.
5654
5655         * DepTable.C (update): flush the error stream a bit more
5656
5657 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5658
5659         * lyxserver.C (callback): adjust
5660
5661         * lyxfunc.C (getStatus): add a missing brace in commented code
5662         (ensureBufferClean): reindent
5663         (dispatch): delete version taking a string
5664
5665 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * LaTeX.C (deplog): move found file handlig from here...
5668         (handleFoundFile): .. to new function here.
5669         (deplog): make sure to discover several files mentioned on the
5670         same log line.
5671
5672 2003-10-10  André Pönitz  <poenitz@gmx.net>
5673
5674         * lyxfunc.C:
5675         * lyxtext.h:
5676         * tabular.C:
5677         * text.C:
5678         * text2.C:
5679         * text3.C: fix some of the tabular crashes
5680
5681 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5682
5683         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5684
5685         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5686
5687 2003-10-09  André Pönitz  <poenitz@gmx.net>
5688
5689         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5690
5691         * BufferView.C:
5692         * BufferView_pimpl.C:
5693         * bufferview_funcs.C:
5694         * lyx_cb.C:
5695         * lyxcursor.C:
5696         * lyxfind.C:
5697         * lyxfunc.C:
5698         * lyxtext.h:
5699         * text.C:
5700         * text2.C:
5701         * text3.C:
5702         * text_funcs.[Ch]:
5703         * textcursor.[Ch]:
5704         * undo_funcs.C: adjust
5705
5706 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5707
5708         * text2.C (incrementItemDepth): new function, use a backtracking
5709         algorithm to discover the correct item depth.
5710         (resetEnumCounterIfNeeded): new function, use a backtracking
5711         algorithm to discover if counter reset is needed.
5712         (setCounter): use them. Simplify a bit. Add different labels for
5713         different item depths for itemize.
5714
5715         * paragraph.C (Paragraph): remove initialization of enumdepth
5716         (operator=): ditto
5717
5718         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5719         enumerate and itemize. Change the type of itemdepth to signed char.
5720
5721 2003-10-08  André Pönitz  <poenitz@gmx.net>
5722
5723         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5724           thing assignable.
5725         * text.C:
5726         * text2.C: adjust
5727
5728         * tabular.[Ch]: fix crash after 'row-insert'
5729
5730 2003-10-08  Angus Leeming  <leeming@lyx.org>
5731
5732         Fix doxygen warnings.
5733
5734         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5735         Remove CutAndPaste:: prefix from header file declaration.
5736
5737         * LColor.h (fill): remove LColor:: prefix from declaration.
5738
5739         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5740         use lyx::depth_type rather than Paragraph::depth_type so that
5741         header file and .C file match.
5742
5743         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5744
5745         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5746         * aspell.C: \file aspell_local.C -> \file aspell.C
5747         * gettext.C: \file gettext.C -> \file src/gettext.C
5748         * gettext.h: \file gettext.h -> \file src/gettext.h
5749         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5750         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5751         * text.C: \file text.C -> \file src/text.C
5752
5753         * toc.C: move comment so that doxygen is not confused.
5754
5755 2003-10-07  Angus Leeming  <leeming@lyx.org>
5756
5757         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5758
5759 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5760
5761         * aspell.C:
5762         * aspell_local.h: add forgotten std::string's.
5763
5764 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5765
5766         * LaTeXFeatures.C:
5767         * LyXAction.C:
5768         * factory.C:
5769         * lfuns.h:
5770         * lyxfunc.C:
5771         * text3.C: The Box patch. Fancybox support, minipage, parbox
5772
5773 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5774
5775         * CutAndPaste.h:
5776         * DepTable.h:
5777         * FloatList.h:
5778         * LaTeXFeatures.h:
5779         * ParagraphParameters.h:
5780         * TextCache.h:
5781         * Thesaurus.h:
5782         * bufferlist.h:
5783         * exporter.h:
5784         * importer.h:
5785         * lastfiles.h:
5786         * lyxfind.h:
5787         * lyxfont.h:
5788         * lyxlex.h:
5789         * lyxtextclasslist.h:
5790         * messages.h:
5791         * paragraph.h:
5792         * paragraph_pimpl.C:
5793         * textcursor.h: add <string> and other small fixes to make Lars'
5794         std::string patch compile with STLport.
5795
5796 2003-10-06  Angus Leeming  <leeming@lyx.org>
5797
5798         * LColor.h: Add missing #include <string>.
5799
5800 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5801
5802         * All most all file in all subdirs: Make <string> be the prefered
5803         way of getting to std::string, add using declarations.
5804
5805 2003-10-06  André Pönitz  <poenitz@gmx.net>
5806
5807         * metricsinfo.C: initialize LyXFont before changing attribute.
5808         (fixes the 'math in \emph is upright' bug)
5809
5810 2003-10-06  André Pönitz  <poenitz@gmx.net>
5811
5812         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5813
5814 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5815
5816         * graph.C:
5817         * paragraph_pimpl.C: Small fixes to build using STLport
5818
5819 2003-10-02  André Pönitz  <poenitz@gmx.net>
5820
5821         * lyxfunc.C:
5822         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5823
5824 2003-10-01  André Pönitz  <poenitz@gmx.net>
5825
5826         * factory.C: assert early
5827
5828 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5829
5830         * lyx_main.C: remove the global debug object
5831
5832         * debug.h: adjust for new debugstream
5833
5834         * debug.C: adjust for new debugstream and keep the global debug
5835         object here.
5836
5837 2003-09-22  Angus Leeming  <leeming@lyx.org>
5838
5839         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5840         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5841         an incomplete class LyXFont.
5842
5843 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5844
5845         * factory.C: bug fix in branches
5846
5847 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5848
5849         * lyxfunc.C (processKeySym): adjust
5850         (dispatch): adjust
5851         (dispatch): change arg name from ev to func, adjust
5852         (sendDispatchMessage): ditto
5853
5854         * lyx_main.C (defaultKeyBindings): adjust keybindings
5855         (deadKeyBindings): ditto
5856
5857         * kbsequence.C (addkey): return a FuncRequest
5858
5859         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5860
5861         * kbmap.C (bind): take a FuncRequest as arg, adjust
5862         (read): adjust
5863         (lookup): adjust
5864         (defkey): change to take a FuncRequest as arg, adjust
5865         (findbinding): take a FuncRequest as arg, adjust.
5866
5867         * funcrequest.h (operator=): added
5868
5869         * funcrequest.C (FuncRequest): default kb_action changed from
5870         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5871
5872         * buffer.C (dispatch): simplify
5873         (dispatch): adjust to take a FuncRequest as arg, adjust
5874
5875         * boost.C (assertion_failed): change assertion message slightly
5876
5877         * ToolbarBackend.C (read): simplify
5878
5879         * MenuBackend.C (binding): adjust call to findbinding, add a
5880         message if no binding is found.
5881         (read): simplify
5882         (expandToc): correct by adding a empty FuncRequest
5883
5884         * LyXAction.C: include <boost/assert.hpp>
5885         (isPseudoAction): delete function
5886         (LookupFunc): change name to...
5887         (lookupFunc): this. change return type to FuncRequest.
5888         (getActionName): take kb_action as arg, simplify
5889         (funcHasFlag): add an assert, simplify.
5890
5891 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5892
5893         * toc.C (action): return a FuncRequest, simplify
5894
5895         * lyxfunc.C (processKeySym): adjust
5896         (getStatus): delete version that takes an int.
5897         (getStatus): adjust
5898         (dispatch): delete version that takes action as int
5899         (dispatch): adjust
5900         (sendDispatchMessage): simplify and adjust
5901
5902         * funcrequest.C (getArg): take unsigned int as arg
5903
5904         * ToolbarBackend.C (read): adjust
5905         (add): delete version that takes func as a string.
5906         (getIton): take a FuncRequest as arg
5907
5908         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5909         action.
5910
5911         * MenuBackend.C (MenuItem): add a new construct that only takes a
5912         Kind, simplify the constructor use for submenus.
5913         (add): adjust
5914         (expandLastfiles): adjust
5915         (expandDocuments): adjust
5916         (expandFormats): adjust
5917         (expandFloatListInsert): adjust
5918         (expandFloatInsert): adjust
5919         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5920
5921         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5922         Remove class variables lyx_pseudo_map and lyx_arg_map
5923
5924         * LyXAction.C (searchActionArg): delete function
5925         (getPseudoAction): delete function
5926         (retrieveActionArg): delete function
5927         (LookupFunc): make it return kb_action, simplify.
5928         (getActionName): simplify
5929
5930         * factory.C (createInset): fix new bug
5931
5932 2003-09-19  Angus Leeming  <leeming@lyx.org>
5933
5934         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5935         masterFilename_ parameter in the include inset.
5936
5937         * factory.C (createInset): changes due to the changes to InsetInclude.
5938
5939 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5940
5941         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5942
5943 2003-09-18  Angus Leeming  <leeming@lyx.org>
5944
5945         * buffer.C:
5946         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5947         Inset::fillWithBibKeys.
5948         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5949
5950 2003-09-18  Angus Leeming  <leeming@lyx.org>
5951
5952         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5953         variables.
5954         (ctor): pass and store a 'Buffer const &'
5955         (buffer): new member function.
5956
5957         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5958         '*this' to the LaTeXFeatures ctor.
5959
5960 2003-09-18  Angus Leeming  <leeming@lyx.org>
5961
5962         * LColor.h:
5963         * lyxfont.C:
5964         * lyxfont.h:
5965         * lyxtext.h:
5966         * text.C: rename EnumLColor as LColor_color.
5967
5968 2003-09-18  Angus Leeming  <leeming@lyx.org>
5969
5970         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5971         remove #include "insets/insetbase.h" from cursor.h.
5972
5973 2003-09-18  Angus Leeming  <leeming@lyx.org>
5974
5975         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5976         InsetOld_code to remove #include "inset.h".
5977
5978         * iterators.C: add #include "insets/inset.h"
5979
5980 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5981
5982         * BufferView.C: remove more locking stuff that apparently doesn't
5983         do anything sensible.
5984
5985 2003-09-16  André Pönitz  <poenitz@gmx.net>
5986
5987         * paragraph.[Ch]:
5988         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5989           performance boost.
5990
5991 2003-09-16  Angus Leeming  <leeming@lyx.org>
5992
5993         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5994
5995         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5996         arg/return type.
5997
5998         * paragraph.h: remove #include "lyxfont.h". Forward declare
5999         LyXFont_size.
6000
6001 2003-09-16  Angus Leeming  <leeming@lyx.org>
6002
6003         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6004         of support/textutils.h.
6005         (isWord): move the contents of support/textutils.h's IsWordChar here.
6006
6007         * buffer.C:
6008         * lyxfind.C:
6009         * rowpainter.C:
6010         * text.C:
6011         * text2.C: add #include "paragraph.h".
6012
6013         * rowpainter.C:
6014         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6015
6016 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * main.C:
6019         * lyx_main.C:
6020         * lyx_cb.C:
6021         * buffer.C:
6022         * LaTeX.C: use namespace alias for lyx::support::os
6023
6024 2003-09-16  Angus Leeming  <leeming@lyx.org>
6025
6026         * bufferparams.C:
6027         * bufferview_funcs.C:
6028         * factory.C:
6029         * lyxfunc.C:
6030         * paragraph_pimpl.C:
6031         * rowpainter.C:
6032         * text.C: add #include "LColor.h".
6033
6034 2003-09-16  Angus Leeming  <leeming@lyx.org>
6035
6036         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6037         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6038         return LyXFont &.
6039         Store the FontBits::color variable as an int rather than as an
6040         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6041         file.
6042
6043         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6044         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6045         string calls together.
6046
6047         * lyxrc.C: add #include "LColor.h".
6048
6049 2003-09-15  Angus Leeming  <leeming@lyx.org>
6050
6051         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6052         a cow_ptr.
6053
6054 2003-09-15  Angus Leeming  <leeming@lyx.org>
6055
6056         * LColor.h: add an EnumLColor wrapper for LColor::color.
6057
6058         * lyxfont.[Ch] (color, setColor, realColor):
6059         * lyxtext.h, text.C (backgroundColor):
6060         pass EnumLColor args to/from the functions, rather than LColor::color
6061         ones.
6062
6063         * lyxfont.h:
6064         * lyxtext.h: forward declare EnumLColor.
6065
6066         * lyx_main.C: add #include "LColor.h".
6067
6068 2003-09-15  Angus Leeming  <leeming@lyx.org>
6069
6070         * .cvsignore: add lyx-gtk.
6071
6072 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * Chktex.C
6075         * LaTeX.C
6076         * LaTeXFeatures.C
6077         * ParagraphParameters.C
6078         * Spacing.C
6079         * buffer.C
6080         * bufferparams.C
6081         * bufferview_funcs.C
6082         * chset.C
6083         * counters.C
6084         * funcrequest.C
6085         * lyxfont.C
6086         * lyxgluelength.C
6087         * lyxlength.C
6088         * paragraph.C
6089         * paragraph_funcs.C
6090         * text3.C
6091         * vc-backend.C: remove usage of STRCONV
6092
6093 2003-09-15  Angus Leeming  <leeming@lyx.org>
6094
6095         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6096         explicitly define the color passed to the painter.
6097
6098 2003-09-15  Angus Leeming  <leeming@lyx.org>
6099
6100         * bufferparams.C (BufferParams): reorder member initializers to avoid
6101         compiler warning.
6102
6103 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6104
6105         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6106         * text.C (updateRowPositions): remove an unusual nop
6107
6108 2003-09-12  André Pönitz  <poenitz@gmx.net>
6109
6110         * BufferView_pimpl.C:
6111         * Bullet.C:
6112         * layout.h:
6113         * lyxfunc.C:
6114         * lyxlayout.[Ch]:
6115         * lyxtextclass.C:
6116         * rowpainter.C:
6117         * text.C:
6118         * text2.C:
6119         * Counters.[Ch]: finish the 'automatic counters' job
6120
6121 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6122
6123         * aspell.C: include <boost/assert.cpp> (compile fix)
6124
6125 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6126
6127         * boost.C (assertion_failed): use lyx::support::abort instead of
6128         assert.
6129
6130 2003-09-10  Angus Leeming  <leeming@lyx.org>
6131
6132         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6133         with their _fwd progeny.
6134
6135 2003-09-09  Angus Leeming  <leeming@lyx.org>
6136
6137         134 files throughtout the source tree: replace 'using namespace abc;'
6138         directives with the appropriate 'using abc::xyz;' declarations.
6139
6140 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6141
6142         * boost.C (emergencyCleanup): moved here from LAssert.c
6143         (assertion_failed): new function, called by BOOST_ASSERT
6144
6145         * several files: change Assert to BOOST_ASSERT
6146
6147 2003-09-09  Angus Leeming  <leeming@lyx.org>
6148
6149         * buffer.[Ch]: Add an Impl class and move Buffer's member
6150         variables into it. As a result move several header files out of
6151         buffer.h.
6152
6153         Add header files to lots of .C files all over the tree as a result.
6154
6155 2003-09-09  Angus Leeming  <leeming@lyx.org>
6156
6157         * buffer.[Ch]: make Buffer's member variables private. Add
6158         accessor functions.
6159
6160         Lots of changes all over the tree as a result.
6161
6162 2003-09-08  Angus Leeming  <leeming@lyx.org>
6163
6164         * graph.C: #include <config.h>.
6165
6166 2003-09-08  Angus Leeming  <leeming@lyx.org>
6167
6168         * BranchList.C:
6169         * BufferView.C:
6170         * BufferView_pimpl.C:
6171         * CutAndPaste.C:
6172         * DepTable.C:
6173         * LaTeX.C:
6174         * LaTeXFeatures.C:
6175         * LyXAction.C:
6176         * MenuBackend.C:
6177         * TextCache.C:
6178         * aspell.C:
6179         * buffer.C:
6180         * bufferlist.C:
6181         * changes.C:
6182         * chset.C:
6183         * converter.C:
6184         * counters.C:
6185         * debug.C:
6186         * graph.C:
6187         * ispell.C:
6188         * lyx_cb.C:
6189         * lyxfind.C:
6190         * lyxfunc.C:
6191         * lyxlex_pimpl.C:
6192         * lyxrc.C:
6193         * lyxrow.C:
6194         * paragraph.C:
6195         * rowpainter.C:
6196         * texrow.C:
6197         * text.C:
6198         * text2.C:
6199         * toc.C: remove redundant using directives.
6200
6201 2003-09-07  Angus Leeming  <leeming@lyx.org>
6202
6203         * LaTeXFeatures.h: remove #include "support/types.h".
6204         * ToolbarBackend.h: remove #include <algorithm>.
6205         * changes.h: remove #include <ctime>.
6206         * debug.h: remove #include <iosfwd>.
6207         * graph.h: remove #include "support/std_string.h".
6208         * lyx_main.h: remove #include <csignal>.
6209         * lyxlex_pimpl.h: remove #include <fstream>.
6210         * sgml.h: remove #include <algorithm>, <utility>.
6211         * toc.h: remove #include "support/std_ostream.h".
6212         Add #include <iosfwd>.
6213
6214 2003-09-07  Angus Leeming  <leeming@lyx.org>
6215
6216         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6217
6218         * converter.h: forward declare LatexRunParams.
6219         * encoding.h: remove #include "lyxrc.h".
6220         * lyxtext.h: remove #include "LColor.h".
6221         * lyxtextclass.h: remove #include "support/types.h".
6222         * trans.h: remove #include "tex-accent.h".
6223         * trans_mgr.h: remove #include "tex-accent.h".
6224         * insets/inset.h: remove #include "support/types.h", <vector>.
6225         * insets/insetcollapsable.h: remove #include "LColor.h".
6226         * insets/insetinclude.h: remove #include "dimension.h".
6227         * insets/insetlatexaccent.h: remove #include "dimension.h".
6228         * insets/insetoptarg.h:: remove #include "insettext.h".
6229         * insets/insettext.h: remove #include "dimension.h",
6230         <boost/shared_ptr.hpp>
6231
6232         * insets/renderers.h: add #include "dimension.h".
6233         * insets/updatableinset.h: add #include "support/types.h".
6234
6235         * many .C files: Associated changes.
6236
6237 2003-09-06  Angus Leeming  <leeming@lyx.org>
6238
6239         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6240         one, inside testInvariant.
6241
6242         * PrinterParams.C: new file.
6243         * PrinterParams.[Ch]: move the function bodies out of line.
6244
6245 2003-09-06  Angus Leeming  <leeming@lyx.org>
6246
6247         * ParagraphParameters.h: forward declare ParameterStruct rather than
6248         including its header file.
6249         (depth): moved out-of-line.
6250
6251 2003-09-06  Angus Leeming  <leeming@lyx.org>
6252
6253         * BufferView_pimpl.h:
6254         * kbmap.h:
6255         * kbsequence.h:
6256         * lyxfunc.h: forward declare LyXKeySym rather than
6257         #include "frontends/LyXKeySym.h".
6258
6259         * BufferView_pimpl.C:
6260         * kbmap.C:
6261         * kbsequence.C:
6262         * lyxfunc.C: associated changes.
6263
6264 2003-09-06  Angus Leeming  <leeming@lyx.org>
6265
6266         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6267         As a result, can remove the #include "insets/inset.h" from BufferView.h
6268
6269 2003-09-06  Angus Leeming  <leeming@lyx.org>
6270
6271         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6272         As a result, can remove the #include "insets/inset.h" from BufferView.h
6273
6274 2003-09-06  Angus Leeming  <leeming@lyx.org>
6275
6276         * buffer_funcs.C:
6277         * buffer.h:
6278         * bufferlist.C:
6279         * BufferView.C:
6280         * bufferview_funcs.C:
6281         * BufferView_pimpl.C:
6282         * CutAndPaste.C:
6283         * lyx_cb.C:
6284         * lyxfunc.C:
6285         * paragraph.h:
6286         * ParagraphParameters.C:
6287         * tabular.C:
6288         * text3.C:
6289         * toc.C:
6290         * undo_funcs.C:
6291         * frontends/controllers/ControlDocument.C:
6292         * insets/insetcaption.C: rearrange the #includes into some sort of
6293         coherent order.
6294
6295         * buffer.h: remove #includes ErrorList.h, undo.h
6296
6297 2003-09-06  Angus Leeming  <leeming@lyx.org>
6298
6299         * support/types.h: add a 'depth_type' typedef, used to store the
6300         nesting depth of a paragraph.
6301
6302         * paragraph.h:
6303         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6304         defining explicitly.
6305
6306         * buffer.h:
6307         * paragraph_funcs.h:
6308         * ParagraphParameters.h:
6309         * sgml.h: use lyx::depth_type rather than Paragraph or
6310         ParameterStruct's depth_type.
6311
6312         * buffer.h
6313         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6314
6315         * BufferView.C:
6316         * BufferView_pimpl.C:
6317         * CutAndPaste.C:
6318         * ParagraphParameters.C:
6319         * buffer_funcs.C:
6320         * bufferlist.C:
6321         * bufferview_funcs.C:
6322         * lyx_cb.C:
6323         * lyxfunc.C:
6324         * tabular.C:
6325         * text3.C:
6326         * toc.C:
6327         * undo_funcs.C:
6328         * frontends/LyXView.C:
6329         * frontends/controllers/ControlDocument.C:
6330         * frontends/controllers/ControlErrorList.C:
6331         * insets/insetbibitem.C:
6332         * insets/insetbranch.C:
6333         * insets/insetcaption.C:
6334         * insets/insetcollapsable.C:
6335         * insets/insetenv.C:
6336         * insets/insetert.C:
6337         * insets/insetfloat.C:
6338         * insets/insetfoot.C:
6339         * insets/insetfootlike.C:
6340         * insets/insetnewline.C:
6341         * insets/insetquotes.C:
6342         * insets/insettabular.C:
6343         * insets/insettext.C:
6344         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6345
6346         * frontends/controllers/ControlChanges.C: #include "changes.h".
6347
6348 2003-09-06  Angus Leeming  <leeming@lyx.org>
6349
6350         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6351         than #including paragraph.h.
6352
6353         * ParagraphList.h:
6354         * RowList.h: deleted. Superfluous.
6355
6356         * CutAndPaste.h:
6357         * iterators.h:
6358         * lyxcursor.h:
6359         * lyxtext.h:
6360         * text_funcs.h:
6361         * undo.h:
6362         * undo_funcs.h:
6363         * insets/inset.h:
6364         * insets/insettext.h: use ParagraphList_fwd.h rather than
6365         ParagraphList.h.
6366
6367         * paragraph.h: don't forward declare ParagraphList.
6368
6369         * buffer.h:
6370         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6371         rather than ParagraphList.h. paragraph.h is still needed for the
6372         Paragraph::depth_type parameters.
6373
6374         * textcursor.h: enable it to compile stand-alone in light of the
6375         above changes.
6376
6377         * bufferview_funcs.C:
6378         * iterators.C:
6379         * lyxfunc.C:
6380         * lyxrow_funcs.C:
6381         * paragraph.C:
6382         * rowpainter.C:
6383         * text.C:
6384         * text2.C:
6385         * text3.C:
6386         * text_funcs.C:
6387         * textcursor.C:
6388         * undo.C:
6389         * frontends/controllers/ControlParagraph.C:
6390         * frontends/controllers/ControlTabular.C:
6391         * insets/insetmarginal.C:
6392         * insets/insetminipage.C:
6393         * insets/insetnote.C:
6394         * insets/insetoptarg.C: add header files needed to compile again.
6395
6396 2003-09-06  Angus Leeming  <leeming@lyx.org>
6397
6398         * RowList_fwd.h: new file, forward-declaring Row rather than
6399         #including lyxrow.h.
6400
6401         * lyxrow_funcs.h:
6402         * lyxtext.h:
6403         * paragraph.h:
6404         * insets/insettext.h: use it instead of RowList.h
6405
6406         * bufferview_funcs.C:
6407         * lyxfunc.C:
6408         * lyxrow_funcs.C:
6409         * paragraph.C:
6410         * rowpainter.C:
6411         * text.C:
6412         * text2.C:
6413         * text3.C: #include "RowList.h".
6414
6415 2003-09-05  Angus Leeming  <leeming@lyx.org>
6416
6417         * factory.C (createInset):
6418         * vspace.C (c-tor): replace sscanf call with an istringstream.
6419         * ispell.C: re-add missing HP/UX headers.
6420         * lyxserver.C: re-add missing  os2 headers.
6421
6422 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6423
6424         * BranchList.C:
6425         * graph.C:
6426         * ispell.C:
6427         * lastfiles.C:
6428         * lyx_cb.C:
6429         * lyxserver.C:
6430         * texrow.C:
6431         * text3.C: re-add missing system headers, needed for 2.95.2.
6432
6433 2003-09-05  Angus Leeming  <leeming@lyx.org>
6434
6435         Changes most place everywhere due to the removal of using directives
6436         from support/std_sstream.h.
6437
6438 2003-09-05  Angus Leeming  <leeming@lyx.org>
6439
6440         Replace LString.h with support/std_string.h,
6441         Lsstream.h with support/std_sstream.h,
6442         support/LIstream.h with support/std_istream.h,
6443         support/LOstream.h with support/std_ostream.h.
6444
6445         Changes resulting throughout the tree.
6446
6447 2003-09-05  Angus Leeming  <leeming@lyx.org>
6448
6449         * sgml.h: ensure that the header file can be compiled stand-alone.
6450         * *.C: strip out redundant #includes. (320 in total.)
6451
6452 2003-09-04  Angus Leeming  <leeming@lyx.org>
6453
6454         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6455         here (from getPackages).
6456
6457         * debug.[Ch]: add a new EXTERNAL tag.
6458
6459 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6460
6461         * text2.C (cursorEnd): simplify
6462         (setCursor): adjust
6463         (getColumnNearX): adjust
6464
6465         * text.C (computeBidiTables): adjust
6466         (fill): adjust
6467
6468         * rowpainter.C (paintChars): adjust
6469         (paintSelection): adjust
6470         (paintChangeBar): adjust
6471         (paintText): adjust
6472
6473         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6474         lastPos instead.
6475         (numberOfSeparators): adjust
6476
6477 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6478
6479         * LyXAction.C:
6480         * box.[Ch]:
6481         * lfuns.h:
6482         * lyxfunc.C:
6483         * text3.C: Restricts the mouse click functionality
6484         of insets like bibtex, include, toc and floatlist to the visible
6485         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6486         up the dialogs. Cursor has to be in front of the inset (i.e.
6487         start of row) for this to function.
6488
6489 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6490
6491         * bufferview_funcs.C (currentState): output row information
6492
6493 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6494
6495         * bufferview_funcs.C (currentState): output paragraph position
6496
6497 2003-09-04  Angus Leeming  <leeming@lyx.org>
6498
6499         * FloatList.h: move out #include "Floating.h".
6500         * LaTeX.h: move out #include "DepTable.h".
6501         * LyXAction.h: move out #include "funcrequest.h".
6502         * buffer.h: move out #include "author.h", "iterators.h".
6503         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6504         * lyx_main.h: move out #include "errorlist.h".
6505         * lyxfunc.h: move out #include "FuncStatus.h".
6506         * lyxtext: move out #include "lyxcursor.h".
6507         * paragraph_pimpl.h: move out #include "counters.h".
6508
6509 2003-09-03  Angus Leeming  <leeming@lyx.org>
6510
6511         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6512         preamble_snippets list, enabling us to add snippets to the preamble
6513         only if the snippet was not there already.
6514
6515 2003-09-04  Angus Leeming  <leeming@lyx.org>
6516
6517         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6518
6519 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6520
6521         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6522         update
6523
6524 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6525
6526         * BranchList.C: point fix, earlier forgotten
6527
6528 2003-09-02  Angus Leeming  <leeming@lyx.org>
6529
6530         * box.C (contains): renamed from 'contained' after a fantastic
6531         amount of hot air.
6532
6533 2003-09-02  John Levon  <levon@movementarian.org>
6534
6535         * BufferView.C:
6536         * lyxcursor.h:
6537         * lyxcursor.C:
6538         * lyxfunc.C:
6539         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6540
6541 2003-09-02  John Levon  <levon@movementarian.org>
6542
6543         * text2.C: simplification of cursorEnd(), including partial
6544         fix for bug 1376
6545
6546 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6547
6548         * buffer.C (readFile): add a space
6549
6550 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6551
6552         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6553
6554 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6555
6556         * buffer.C (readFile): new function, take a filename and a
6557         ParagraphList::iterator
6558         (readFile): adjust
6559         (readFile): adjust, make it private. don't use setStream, make
6560         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6561         always contain the filename.
6562
6563         * BufferView.C (insertLyXFile): simplify and make it work for
6564         gzipped files.
6565
6566 2003-08-30  John Levon  <levon@movementarian.org>
6567
6568         * Makefile.am: fix dist (from Kayvan)
6569
6570 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6571
6572         * most files: change to use const Buffer refs
6573
6574 2003-08-27  André Pönitz  <poenitz@gmx.net>
6575
6576         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6577         on top of ownerPar().
6578
6579 2003-08-27  John Levon  <levon@movementarian.org>
6580
6581         * funcrequest.C: properly initialise POD members
6582
6583 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6584
6585         * lyxtext.h (top_y): move top_y from here
6586         * text.C:
6587         * text2.C:
6588         * text3.C:
6589         * BufferView.[Ch]:
6590         * BufferView_pimpl.[Ch]: to here
6591         * frontends/screen.C:
6592         * insets/insettabular.C:
6593         * insets/insettext.C: adjust
6594         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6595
6596 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6597
6598         * BufferView.[Ch]:
6599         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6600
6601 2003-08-26  André Pönitz  <poenitz@gmx.net>
6602
6603         * paragraph_func.[Ch] (outerPar): new function
6604
6605         * paragraph.C:
6606         * paragraph_funcs.C:
6607         * paragraph_funcs.h:
6608         * paragraph_pimpl.C:
6609         * text2.C: remove Inset::par_owner
6610
6611 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6612
6613         * lyxrow_funcs.C:
6614         * lyxtext.h:
6615         * text.C:
6616         * text2.C: eliminates the needFullRow/display() stuff
6617         altogether, putting the logic in metrics/draw in the insets.
6618
6619 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6620
6621         * text2.C (redoParagraphInternal, redoParagraphs):
6622         * text.C (redoParagraph): add a call to updateRowPositions at the
6623         end of each 'metrics-like' call. Remove all others.
6624         (getRow): remove the 'y-computing' version.
6625         (getRowNearY): do not compute nor return the real y. Solve the
6626         'y < 0' problem and simplify.
6627
6628 2003-08-22  Angus Leeming  <leeming@lyx.org>
6629
6630         * *.[Ch]: clean-up of licence and author blurbs.
6631         Also move config.h out of a few .h files and into a few .C files.
6632
6633 2003-08-22  André Pönitz  <poenitz@gmx.net>
6634
6635         * lyxrow.[Ch]: add x_ and *fill_ members
6636
6637         * lyxtext.h:
6638         * text.C:
6639         * rowpainter.C:
6640         * text2.C: adjust/remove prepareToPrint() calls
6641
6642 2003-08-22  André Pönitz  <poenitz@gmx.net>
6643
6644         * lyxrow.[Ch]: add  end_ member
6645
6646         * lyxrow_funcs.C: use LyXRow::end_
6647
6648         * lyxtext.h (singleWidth): add LyXFont parameter
6649
6650         * rowpainter.C:
6651         * text2.C: adjust LyXText::singleWidth() calls
6652
6653         * text.C (redoParagraph): simplify row breaking logic
6654
6655
6656 2003-08-19  André Pönitz  <poenitz@gmx.net>
6657
6658         * funcrequest.C: initialize button_ member
6659
6660         * text3.C:
6661         * rowpainter.[Ch]: interface consolidation
6662
6663 2003-08-18  André Pönitz  <poenitz@gmx.net>
6664
6665         * BufferView.C:
6666         * BufferView_pimpl.C:
6667         * lyxfind.C:
6668         * paragraph_funcs.C:
6669         * rowpainter.C:
6670         * text3.C: remove LyXScreen::draw() and fitCursor calls
6671
6672         * BranchList.h: remove spurious semicolons
6673
6674         * MenuBackend.C: fix branchlist related crash
6675
6676 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6677
6678         * BranchList.[Ch]:
6679         * InsetList.[Ch]:
6680         * LColor.[Ch]:
6681         * LyXAction.C:
6682         * Makefile.am:
6683         * MenuBackend.[Ch]:
6684         * bufferparams.[Ch]:
6685         * factory.C:
6686         * lfuns.h:
6687         * lyxfunc.C:
6688         * text3.C: implements the 'branch inset'
6689         idea. This allows the output of various versions of a document
6690         from a single source version, selectively outputing or suppressing
6691         output of parts of the text.
6692         This implementation contains a 'branch list editor' in a separate
6693         tab of the document settings dialog. Branches are user definable
6694         and have a "display colour" to distinguish them on-screen.
6695
6696         ColorHandler was somewhat cleaned up.
6697         (1) make possible a dynamically growing LColor list by allowing
6698         the graphic context cache to grow along (vector);
6699         (2) eliminate an IMHO unnecessary step in colour allocation.
6700
6701 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6702
6703         * BufferView_pimpl.C: compile fix
6704
6705 2003-08-15  André Pönitz  <poenitz@gmx.net>
6706
6707         * rowpainter.C: remove extra metrics calls
6708
6709         * lyxtext.h: merge the two constructors into a single one,
6710           pass reference to owner's par list
6711
6712         * BufferView_pimpl.C:
6713         * text.C:
6714         * text2.C: adjust
6715
6716 2003-08-15  André Pönitz  <poenitz@gmx.net>
6717
6718         * lyxrow_funcs.[Ch]:
6719         * lyxtext.h:
6720         * paragraph.h:
6721         * paragraph_funcs.C:
6722         * rowpainter.C:
6723         * text.C:
6724         * text2.C:
6725         * text3.C:
6726         * text_funcs.C: split LyXText::rowlist_ into individual
6727         Paragraph::rows_ chunks
6728
6729         * BufferView.[Ch]:
6730         * BufferView_pimpl.[Ch]:
6731         * lyxfind.C:
6732         * lyxtext.h:
6733         * text3.C: remove toggleSelection()
6734
6735 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6736
6737         * bufferlist.C: beautify two alerts (shorter text of buttons)
6738         * buffer.C: Remove redundant ' ' from message
6739         * tabular.h:
6740         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6741         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6742         rename VALIGN_CENTER to VALIGN_MIDDLE
6743
6744 2003-08-11  André Pönitz  <poenitz@gmx.net>
6745
6746         * lyxtext.h (getPar):
6747         * text.C: new function
6748
6749 2003-08-11  André Pönitz  <poenitz@gmx.net>
6750
6751         * Makefile.am:
6752         * tracer.[Ch]: remove unneeded files
6753
6754         * InsetList.[Ch]: remove resizeInsetsLyXText()
6755
6756         * lyxtext.h:
6757         * text.C:
6758         * text2.C:
6759         * text3.C: merge insertParagraphs() and appendParagraph()
6760         remove breakAgain(), update()
6761
6762         * BufferView_pimpl.[Ch]:
6763         * bufferview_funcs.[Ch]:
6764         * lyxfunc.C:
6765         * paragraph.[Ch]:
6766         * rowpainter.C:
6767         * tabular.C: adjust after text & InsetList changes.
6768
6769 2003-08-08  André Pönitz  <poenitz@gmx.net>
6770
6771         * text.C (insertChar, backspace): replace rowlist fiddling
6772         with rebreak of full par
6773
6774         * lyxtext.h:
6775         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6776         checkParagraph, updateInset): removed
6777
6778 2003-08-07  André Pönitz  <poenitz@gmx.net>
6779
6780         * paragraph.C:
6781         * text3.C: merge some LFUN handlers, remove dead code
6782
6783 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6784
6785         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6786
6787 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6788
6789         * text2.C (DEPM): fix part of bug 1255 and 1256
6790
6791 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6792
6793         * BufferView_pimpl.C (workAreaDispatch): change to use
6794         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6795         that are no mouse related.
6796
6797 2003-08-05  André Pönitz  <poenitz@gmx.net>
6798
6799         * BufferView.[Ch]:
6800         * BufferView_pimpl.[Ch]:
6801         * bufferview_funcs.C:
6802         * text2.C:
6803         * text3.C: rip out "deep update"
6804
6805         * textcursor.[Ch] (last_sel_cursor): remove unused member
6806
6807 2003-08-04  André Pönitz  <poenitz@gmx.net>
6808
6809         * BufferView.[Ch]:
6810         * BufferView_pimpl.[Ch]:
6811         * ParagraphParameters.C:
6812         * bufferview_funcs.C:
6813         * lyx_cb.C:
6814         * lyxfind.C:
6815         * lyxfunc.C:
6816         * text.C:
6817         * text2.C:
6818         * text3.C: replace "complicated" BufferView::update(...) calls with
6819         simpler ones.
6820
6821         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6822
6823 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6824
6825         * Makefile.am (lyx_SOURCES): add paper.h
6826
6827 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6828
6829         * Makefile.am: move things around so that both lyx-qt and
6830         lyx-xforms can be built (according to --with-frontend). Then lyx
6831         is a symbolic link to lyx-[firstfrontend]
6832
6833 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6834
6835         * Always use std::endl with lyxerr
6836
6837 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6838
6839         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6840
6841 2003-08-01  André Pönitz  <poenitz@gmx.net>
6842
6843         * BufferView.[Ch]:
6844         * BufferView_pimpl.[Ch]:
6845         * lyxfunc.C:
6846         * text3.C: merge BufferView::repaint() and BufferView::update()
6847
6848 2003-08-01  José Matos  <jamatos@lyx.org>
6849
6850         * buffer.[Ch]: file_format is no longer a buffer data element.
6851
6852 2003-08-01  André Pönitz  <poenitz@gmx.net>
6853
6854         * BufferView.C:
6855         * lyxtext.h:
6856         * text.C:
6857         * text2.C: make redoParagraph more independent of current cursor
6858
6859         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6860         * text.C:
6861         * text2.C: remove unneeded members
6862
6863 2003-07-30  André Pönitz  <poenitz@gmx.net>
6864
6865         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6866
6867         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6868           create a single function...
6869
6870         * paragraph_funcs.C (moveItem): ... here.
6871
6872         * text.C:
6873           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6874
6875 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6876
6877         * LColor.[Ch]: Add comment and greyedout logical colors.
6878
6879 2003-07-30  André Pönitz  <poenitz@gmx.net>
6880
6881         * tabular.C: don't use Assert too heavily. This crashes where it
6882           shouldn't
6883
6884 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6885
6886         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6887         is disabled (bug 1232)
6888
6889 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6890
6891         * factory.C: limited 'arg' scope
6892
6893 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6894
6895         * factory.C: fixed Note submenu issues
6896
6897 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6898
6899         * factory.C: submenu for Note/Comment/Greyedout
6900
6901 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6902
6903         * lyx_main.C (LyX):
6904         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6905
6906 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6907
6908         * LaTeXFeatures.C:
6909         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6910         greyedout. Patch provided by Jürgen Spitzmüller.
6911
6912 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6913
6914         * kbmap.C (read): fix error message when reading bind files
6915
6916 2003-07-29  Angus Leeming  <leeming@lyx.org>
6917
6918         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6919         certainly does not do what it purports to do. I am doing it, and
6920         us, a favour by killing it.
6921
6922 2003-07-28  José Matos  <jamatos@lyx.org>
6923
6924         * buffer.C (readBody, do_writeFile):
6925         * paragraph.C(readParagraph): \end_document replaces \the_end.
6926
6927 2003-07-29  André Pönitz  <poenitz@gmx.net>
6928
6929         * BufferView.[Ch]:
6930         * BufferView_pimpl.[Ch]:
6931         * lyxfunc.C:
6932         * text2.C:
6933         * text3.C:
6934         * textcursor.[Ch]: remove toggleToggle & Co
6935
6936 2003-07-28  José Matos  <jamatos@fep.up.pt>
6937
6938         * buffer.C (readParagraph):
6939         * params_func (readParToken, readParagraph):
6940         * paragraph.C (write): \layout -> \begin_layout.
6941
6942 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6943
6944         * lyxlex_pimpl.C (setFile): clean up slightly.
6945
6946         * bufferparams.h: add compressed var
6947
6948         * buffer_funcs.C (readFile): adjust for LyXLex change
6949         (newFile): ditto + simplify
6950
6951         * buffer.C (writeFile): handle writing of compressed files
6952
6953         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6954         Check if the file is compressed and set a bufferparm if so.
6955
6956         * Makefile.am (lyx_LDADD): remove explicit -lz
6957
6958 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6959
6960         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6961         makeDocBookFile): put the real LyX version in the first line of
6962         the file
6963
6964         * version.h:
6965         * version.C.in: remove lyx_docversion
6966
6967         * tabular.C (write_attribute): add a template-based version to
6968         write enums properly
6969
6970 2003-07-28  André Pönitz  <poenitz@gmx.net>
6971
6972         * lyxtext.h:
6973         * text.C:
6974         * text2.C:
6975         * text3.C: use doubles again for x-coordinates. They are needed.
6976
6977 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6978
6979         * messages.C (getLocaleDir): use lyx_localedir()
6980
6981         * lyxlex_pimpl.C (setFile): compress stuff
6982
6983         * buffer.C (writeFile): add some compression stuff
6984         (do_writeFile): new func, dont call expliti close... will this
6985         breake anything?
6986
6987         * Makefile.am (lyx_LDADD): add -lz
6988
6989 2003-07-28  José Matos  <jamatos@fep.up.pt>
6990
6991         * buffer.C: increment file format.
6992         * paragraph_funcs (readParagraph, readParToken):
6993         * paragraph.C (readParagraph): add \end_layout.
6994
6995 2003-07-27  Angus Leeming  <leeming@lyx.org>
6996
6997         * Makefile.am: remove special casing for configure-time setting of
6998         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6999
7000         * lyx_main.C (init): remove all Jean-Marc's magic setting of
7001         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7002
7003 2003-07-26  André Pönitz  <poenitz@gmx.net>
7004
7005         * paragraph_func.[Ch]:
7006         * paragraph.C (realizeFont): inline it whereever it is used
7007
7008         * rowpainter.C:
7009         * text.C:
7010         * text2.C:
7011         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7012
7013
7014 2003-07-26  André Pönitz  <poenitz@gmx.net>
7015
7016         *       lyxtext.h:
7017         * text.C:
7018         * text2.C: get rid of LyXText::need_break_row
7019
7020 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * toc.[Ch]: put namespace toc inside namespace lyx
7023
7024         * MenuBackend.C (expandToc2): adjust for lyx::toc
7025         (expandToc): ditto
7026
7027         * lyxfunc.C (dispatch): adjust for lyx::find
7028
7029         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7030         lyx::find instead. Reorganize a bit.
7031         (LyXReplace): rename to replace
7032         (LyXFind): rename to find
7033
7034         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7035         (dispatch): ditto
7036
7037 2003-07-26  André Pönitz  <poenitz@gmx.net>
7038
7039         * text.C (setHeightOfRow): restrict scope of temporary variable
7040
7041         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7042           code (never has been used?)
7043
7044 2003-07-27  Asger Alstrup  <alstrup@local>
7045
7046         * text.C (fill): Optimise algorithm to exploit that we can reuse
7047         the LyXFont for many characters.
7048         (setHeightOfRow): Same thing.
7049         (rowBreakPoint): Same thing.
7050
7051 2003-07-26  Asger Alstrup  <alstrup@local>
7052
7053         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7054
7055         * text.C (singleWidth): Spurious font copying in hot-spot
7056         singleWidth avoided. Reorder tests for arabic for efficiency.
7057
7058         * text.C (fill): handle empty paragraphs better.
7059
7060 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7061
7062         * ispell.C:
7063         * encoding.h: add includes
7064
7065         * lyxrc.C: remove reading of bind files
7066
7067         * lyx_main.C (init): setup bindings and menus only if we have a
7068         gui.
7069
7070         * kbmap.C (read): new method. Do the actual reading of bind
7071         files.
7072
7073         * converter.C (dvipdfm_options):
7074         * bufferparams.C:
7075         * lyxrc.C (read):
7076         (output): adapt PAPER_* enums.
7077
7078         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7079
7080         * bufferparams.h: remove paper-related enums from there
7081
7082         * paper.h: New file. A trivial header file to hold paper-related
7083         enums. It should later expand to contain many paper-related
7084         horrors access.
7085
7086         * lyxrc.C: declare extern displayTranslator
7087
7088 2003-07-27  José Matos  <jamatos@fep.up.pt>
7089
7090         * tabular.[Ch] (linuxdoc): add support for tables and figures
7091         (linuxdoc).
7092
7093 2003-07-27  José Matos  <jamatos@fep.up.pt>
7094
7095         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7096         consistency in both functions.
7097         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7098
7099 2003-07-26  Asger Alstrup  <alstrup@local>
7100
7101         * rowpainter.C (paintRows): Change algorithm to work directly on
7102         the insets rather than asking every character in the document
7103         whether its an inset.
7104
7105 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7106
7107         * buffer.C (openFileWrite): factorize some code
7108
7109 2003-07-26  Angus Leeming  <leeming@lyx.org>
7110
7111         * lyx_cb.C:
7112         * lyx_main.[Ch]: replace occurances of system_tempdir with
7113         os::getTmpDir().
7114
7115 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7116
7117         * rename Inset to InsetOld
7118
7119 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7120
7121         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7122         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7123         which I think is a bit clearer. EDIT is gone, since it was
7124         premature optimisation, and broken for mathed anyway.
7125         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7126         with cursor positioning in insets as well (math insets still do not
7127         work, but that's a different story anyway.) It mysteriously
7128         crashes sometimes with undo in the first paragraph, but I'm fairly
7129         confident that this is a compiler bug.
7130
7131 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * paragraph.C (Paragraph): adjust for new clone return type
7134         (operator==): ditto
7135         (copyIntoMinibuffer): ditto
7136
7137 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7138
7139         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7140         by not having a special case, and always doing a full rebreak of
7141         the document after undo.
7142
7143 2003-07-23  Angus Leeming  <leeming@lyx.org>
7144
7145         * factory.C (createInset): InsetExternal::setParams now takes a
7146         Buffer const * arg.
7147
7148 2003-07-23  Angus Leeming  <leeming@lyx.org>
7149
7150         * factory.C (createInset): changed interface to the external and
7151         graphics mailers' string2params functions.
7152
7153 2003-07-23  Angus Leeming  <leeming@lyx.org>
7154
7155         * factory.C (createInset): pass a
7156         Buffer const * parameter to InsetExternalMailer's string2params.
7157
7158 2003-07-22  John Levon  <levon@movementarian.org>
7159
7160         * Thesaurus.h: include the right aiksaurus header
7161
7162 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7163
7164         * MenuBackend.C (expand): check menu shortcuts unconditionally
7165
7166 2003-07-21  Angus Leeming  <leeming@lyx.org>
7167
7168         * factory.C (createInset): pass a
7169         buffer_path parameter to InsetGraphicsMailer's string2params.
7170
7171 2003-07-21  Angus Leeming  <leeming@lyx.org>
7172
7173         * BufferView_pimpl.C (buffer):
7174         * buffer.C (d-tor):
7175         * lyx_main.C (LyX):
7176         * lyxfunc.C (dispatch):
7177         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7178         rather than the grfx shortcut.
7179
7180 2003-07-21  André Pönitz  <poenitz@gmx.net>
7181
7182         * rowpainter.C: remove unused variables
7183
7184         * tabular_funcs.C:
7185         * tabular_funcs.h: move to tabular.C
7186         * Makefile.am: adjust
7187
7188         * tabular.[Ch]: basic optical cleaning
7189
7190         * author.h: pass references, not values
7191
7192 2003-07-18  André Pönitz  <poenitz@gmx.net>
7193
7194         * lyxtext.h:
7195         * metricsinfo.C:
7196         * metricsinfo.h:
7197         * rowpainter.C:
7198         * text.C:
7199         * text2.C:
7200         * text3.C: two-phase drawing for InsetText and InsetTabular
7201         some float -> int changes.
7202
7203 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7204
7205         * lyx_main.C: fix the fix
7206
7207 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7208
7209         * lyx_main.C: fix a crash in batch mode if no files specified
7210         * converter.C: ws
7211
7212 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7213
7214         * format.[Ch] (papersize): moved to BufferParams
7215         * converter.[Ch] (dvips_options): moved to BufferParams
7216         (dvipdfm_options): moved to anon namespace
7217         * bufferparams.[Ch]: added above functions.
7218
7219 2003-07-17  André Pönitz  <poenitz@gmx.net>
7220
7221         * lyxtext.h:
7222         * rowpainter.C:
7223         * text2.C: don't call inset->update() anymore
7224
7225         * metricsinfo.[Ch]: add convenience constructor
7226
7227 2003-07-16  André Pönitz  <poenitz@gmx.net>
7228
7229         * lyxcursor.[Ch]:
7230         * lyxfunc.[Ch]:
7231         * text.C:
7232         * text2.C: replace the LyXCursor::irow_ member with
7233          on-demand computation of the value
7234
7235 2003-07-16  John Levon  <levon@movementarian.org>
7236
7237         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7238
7239 2003-07-15  André Pönitz  <poenitz@gmx.net>
7240
7241         * text.C:
7242         * text2.C: remove no more needed refresh_row
7243
7244 2003-07-15  André Pönitz  <poenitz@gmx.net>
7245
7246         * lyxtext.h:
7247         * rowpainter.C:
7248         * text2.C:
7249         * text3.C: refresh_status tristate -> need_update bool
7250
7251 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7252
7253         * lyxtext.h (init): remove reinit argument (act as if always true)
7254         * text2.C: adjust to that
7255
7256 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7257
7258         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7259         * text3.C: use it to delete selections in some cases
7260         (bugs 441, 673, 702, 954).
7261
7262 2003-07-14  André Pönitz  <poenitz@gmx.net>
7263
7264         * rowpainter.[Ch]: reduce interface
7265
7266 2003-07-14  André Pönitz  <poenitz@gmx.net>
7267
7268         * BufferView_pimpl.C:
7269         * text2.C: adjust after removing unused BufferView * argument
7270
7271 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7272
7273         * text2.C (init): fix a crash fired on resize
7274
7275 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7276
7277         * buffer.[Ch]: added new closing signal
7278         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7279         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7280         BufferView::Pimpl via the closing the signal
7281
7282 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7283
7284         * buffer.[Ch]: take out all bv-related from buffer
7285         * BufferView.C:
7286         * BufferView_pimpl.[Ch]: connect to new signals
7287         * CutAndPaste.C: removed useless asserts
7288         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7289         * lyxvc.[Ch]:
7290         * vc-backend.[Ch]:
7291         * lyxfunc.C: moved view-related funciontality from vc here
7292         * paragraph.C: removed outdated comments
7293         * text.C: ws
7294
7295 2003-07-10  André Pönitz  <poenitz@gmx.net>
7296
7297         * BufferView_pimpl.C:
7298         * tabular.h:
7299         * tabular_funcs.C:
7300         * text.C:
7301         * text2.C: remove InsetText::InnerCache, clean up consequences
7302
7303 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7304
7305         * ispell.C: fix two typos in error messages
7306
7307 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7308
7309         * Extend Note inset to other forms of annotation like Comment
7310         and Greyedout. Right button click gives dialog.
7311
7312         Files modified or added (+):
7313
7314         * insetnote.[Ch]
7315         * FormNote.[Ch]      +
7316         * ControlNote.[Ch]   +
7317         * form_note.fd       +
7318         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7319         frontends/controllers
7320         * xforms/Dialogs.C
7321         * factory.C
7322
7323 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7324
7325         * aspell.C: add missing namespace lyx::support
7326
7327 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7328
7329         * BufferView.[Ch] (newFile): Add
7330         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7331         * LaTeX.[Ch] (message): added this signal and use it
7332         * buffer.[Ch] (busy, message): added these signals and use them
7333         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7334         * converter.C:
7335         * exporter.C:
7336         * format.C:
7337         * importer.C: use buffer signals instead of direct bv calling
7338         * lyx_cb.[Ch] (ShowMessage): removed
7339         * lyx_main.C:
7340         * lyxfunc.C:
7341         * paragraph_funcs.C:
7342         * text2.C: use buffer signals
7343
7344 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7345
7346         * introduce namespace lyx::graphics
7347
7348 2003-07-02  André Pönitz  <poenitz@gmx.net>
7349
7350         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7351
7352 2003-07-01  André Pönitz  <poenitz@gmx.net>
7353
7354         * text.C:
7355         * text2.C:
7356         * text3.C:
7357         * text_funcs.[Ch]:
7358         * textcursor.h:
7359         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7360           text*.C to text_func.C
7361
7362 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7363
7364         * introduce namespace lyx::support
7365
7366 2003-06-30  André Pönitz  <poenitz@gmx.net>
7367
7368         * Chktex.C:
7369         * funcrequest.C:
7370         * lyxtext.h:
7371         * text.C: re-enable --with-included-string
7372
7373 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7374
7375         * textcursor.C: add <config.h>
7376
7377         * text.C (getWord): remove const from word_location arg
7378
7379         * lyxvc.C (getLogFile): fix const type order
7380
7381         * lyxtext.h: remove const from word_location arg, add arg name
7382
7383         * lyxlayout.h: currect type on labeltype.
7384
7385         * importer.C: correct \file
7386
7387         * converter.C (intToFormat): use std:: on ret val, ws changes
7388
7389         * bufferlist.h: correct \file
7390
7391         * buffer.C (makeLinuxDocFile): fix const type order
7392         (makeDocBookFile): ditto
7393         (fillWithBibKeys): use std:: on stdlib args.
7394
7395         * CutAndPaste.C: fix authors.
7396         (availableSelections): use std:: on return vector
7397
7398 2003-06-27  André Pönitz  <poenitz@gmx.net>
7399
7400         * BufferView_pimpl.C:
7401         * bufferview_funcs.C:
7402         * lyxcursor.C:
7403         * lyxcursor.h:
7404         * lyxfunc.C:
7405         * lyxtext.h:
7406         * rowpainter.C:
7407         * text.C:
7408         * text2.C:
7409         * text3.C: remove LyXCursor::row_ member
7410
7411         * lyxtext.h:
7412         * text.C: rename fullRebreak() to partialRebreak() and implement
7413           a fullRebreak() that really bereks fully
7414
7415         * textcursor.h: new struct for cursor-related data
7416
7417 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7418
7419         * lyx_main.C (LyX): get full path of document loaded on the
7420         command line
7421
7422 2003-06-26  André Pönitz  <poenitz@gmx.net>
7423
7424         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7425           remove unused/broken operator>,<,>=.
7426
7427         *       text.C: remove only use of broken operator<= in an Assert().
7428
7429 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7430
7431         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7432         moved errorlist_.clear to showErrorList
7433
7434 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7435
7436         * converter.C (scanLog, runLaTeX):
7437         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7438         move the bv->showErrorList call to the callers
7439         * lyxfunc.C: i.e. here...
7440         * text2.C: and here
7441         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7442         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7443         namespace, the second to...
7444         * buffer_funcs (BufferFormat, parseErrors): added
7445         * errorlist.C (ErrorList(TeXErrors const &)): removed
7446
7447 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7448
7449         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7450
7451 2003-06-24  "Garst R. Reese" <reese@isn.net>
7452
7453         * debug.C: fix typo
7454
7455 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7456
7457         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7458
7459         * version.C.in: change docversion to 1.4
7460
7461 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7462
7463         * buffer.C: fix a bug just introduced
7464
7465 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7466
7467         * buffer.[Ch]: added the parseError signal and use it, removed
7468         sgmlError
7469         * BufferView.[Ch] (addError): moved to ...
7470         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7471         to the Buffer::parseError signal to catch (guess what) parse errors
7472         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7473
7474 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7475
7476         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7477         ability to create a buffer and to return an existing one from
7478         the list. Moved these functions to...
7479         * buffer_funcs.[Ch]: added
7480         * BufferView.[Ch] (loadLyXFile): added
7481         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7482         job removed from bufferlist::loadLyXFile.
7483         * buffer.C (setReadOnly): make it work without view
7484         (i.e added an if (users))
7485
7486 2003-06-19  Angus Leeming  <leeming@lyx.org>
7487
7488         * lfuns.h:
7489         * LyXAction.C (init):
7490         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7491         with LFUN_DIALOG_SHOW <name> <data>.
7492
7493 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7494
7495         * CutAndPaste.C (availableSelections): small compilation fix for
7496         ancient (gcc 2.9x) compilers
7497
7498 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7499
7500         * text3.C (cursorNext): add tmp var
7501
7502         * text2.C (updateCounters): for function calling out of for clause
7503         (replaceSelectionWithString): ditto
7504         (insertStringAsParagraphs): ditto
7505         (getColumnNearX): add tmp var
7506         (setCursorFromCoordinates): add tmp var
7507         (cursorDownParagraph): add tmp var
7508         (deleteEmptyParagraphMechanism): add tmp var
7509
7510         * text.C (insertChar): add tmp var
7511
7512         * rowpainter.C (paintDepthBar): add tmp var
7513
7514         * CutAndPaste.C (availableSelections): potentially check all
7515         paragraphs in a cut to fill the shown strings.
7516
7517 2003-06-18  André Pönitz  <poenitz@gmx.net>
7518
7519         * kbmap.[Ch]: use vector<> instead of list<>
7520
7521 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7522
7523         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7524         pasteSelection with index
7525
7526         * text2.C (pasteSelection): modify, call pasteSelection with index
7527
7528         * paragraph.C (asString): reimplement version with no interval to
7529         call the one with interval.
7530
7531         * lyxtext.h: add index arg to pasteSelection
7532
7533         * MenuBackend.C (MenuItem): handle PasteRecent
7534         (Menu::read::Menutags): add md_pasterecent
7535         (read): handle it
7536         (expandPasteRecent): new function
7537         (expand): use it
7538
7539         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7540
7541         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7542         the limited stack
7543         (availableSelections): new function
7544
7545 2003-06-17  Angus Leeming  <leeming@lyx.org>
7546
7547         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7548
7549 2003-06-17  Angus Leeming  <leeming@lyx.org>
7550
7551         * lfuns.h:
7552         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7553
7554         * lyxfunc.C (dispatch): invoke it.
7555
7556 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7557
7558         * iterators.C (operator++, ParPosition): reintroduce some
7559         const_cast for the benefit of older compilers.
7560
7561 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7562
7563         * text3.C (dispatch): do not modify clipboard when doing
7564         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7565         LFUN_DELETE_SKIP on a selection selection
7566
7567 2003-06-16  André Pönitz  <poenitz@gmx.net>
7568
7569         * BufferView.C:
7570         * buffer.C:
7571         * buffer.h:
7572         * paragraph.C:
7573         * tabular.[Ch]: IU of clone() and getLabelList();
7574
7575 2003-06-13  André Pönitz  <poenitz@gmx.net>
7576
7577         * tabular.h: compactification
7578
7579 2003-06-12  André Pönitz  <poenitz@gmx.net>
7580
7581         * tabular.C:
7582         * tabular.h:
7583         * tabular_funcs.h: some renaming plus whitespace
7584
7585 2003-06-12  André Pönitz  <poenitz@gmx.net>
7586
7587         * BufferView.C:
7588         * BufferView_pimpl.C:
7589         * CutAndPaste.C:
7590         * buffer.C:
7591         * iterators.[Ch]:
7592         * lyxfunc.C:
7593         * text.C:
7594         * toc.C: Return a Paragraph & for ParIterator::operator*()
7595
7596 2003-06-11  John Levon  <levon@movementarian.org>
7597
7598         * lyx_main.C:
7599         * ToolbarBackend.h:
7600         * ToolbarBackend.C: add "Toolbars" section and
7601         put the flags there
7602
7603 2003-06-10  Angus Leeming  <leeming@lyx.org>
7604
7605         * lfuns.h:
7606         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7607
7608         * lyxfunc.C (dispatch): invoke it.
7609
7610 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7611
7612         * main.C: protect <ios> with HAVE_IOS
7613         (main): protect sync_with_stdio with HAVE_IOS
7614
7615 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7616
7617         * text2.C (cutSelection): adjust
7618         (pasteSelection): adjust
7619
7620         * messages.C: handle get of empty string
7621
7622         * main.C (main): use sync_with_stdio(false)
7623
7624         * lyxfunc.C (dispatch): adjust
7625
7626         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7627         (WriteAs): remove unneeded BufferView arg.
7628
7629         * bufferparams.h: use correct types on papersize, papersize2 and
7630         paperpackage.
7631
7632         * bufferparams.C (readToken): adjust for type
7633         (writeLaTeX): add missing cases to switch.
7634
7635         * bufferlist.C (quitWriteBuffer): adjust
7636         (close): adjust
7637
7638         * buffer.C (asciiParagraph): remove some commented code.
7639
7640         * CutAndPaste.C: remove current_view extern variable.
7641         (cutSelection): add BufferParams arg.
7642         (eraseSelection): add BufferParams arg.
7643         (pasteSelection): add Buffer const & arg
7644
7645 2003-06-07  John Levon  <levon@movementarian.org>
7646
7647         * buffer.C:
7648         * paragraph_funcs.C:
7649         * paragraph_pimpl.C:
7650         * text.C:
7651         * text2.C:
7652         * paragraph.h:
7653         * paragraph.C: allow InsetERT to freely space lines,
7654         and some consolidation of code
7655
7656 2003-06-06  José Matos  <jamatos@fep.up.pt>
7657
7658         * buffer.C (makeDocBookFile): fix bug #821
7659
7660 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7661
7662         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7663
7664 2003-06-04  Angus Leeming  <leeming@lyx.org>
7665
7666         * buffer.C: bump format to 224.
7667
7668 2003-06-05  André Pönitz  <poenitz@gmx.net>
7669
7670         * text2.C (redoParagraphs): remove two const_cast<>
7671
7672 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7673
7674         * ParagraphList.h: remove last remnants of NO_STD_LIST
7675
7676 2003-06-03  Angus Leeming  <leeming@lyx.org>
7677
7678         * factory.C (createInset): small change to the way InsetExternal's params
7679         are set.
7680
7681 2003-06-04  André Pönitz  <poenitz@gmx.net>
7682
7683         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7684
7685         * paragraph_pimpl.h:
7686         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7687
7688         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7689
7690         * undo_funcs.C: make some simple cases of undo work again
7691
7692 2003-06-03  John Levon  <levon@movementarian.org>
7693
7694         * ispell.C: HPUX doesn't have sys/select.h
7695         (from Albert Chin)
7696
7697 2003-06-03  John Levon  <levon@movementarian.org>
7698
7699         * CutAndPaste.C: update tabular and include inset
7700         buffer references
7701
7702         * buffer.h:
7703         * paragraph.h:
7704         * paragraph.C: remove owningBuffer(), don't pass Buffer
7705         to clone()
7706
7707         * factory.C: insetGraphicsParams changed
7708
7709 2003-06-02  John Levon  <levon@movementarian.org>
7710
7711         * LyXAction.C:
7712         * factory.C:
7713         * lfuns.h:
7714         * lyxfunc.C:
7715         * text3.C: remove insetparent
7716
7717 2003-06-02  John Levon  <levon@movementarian.org>
7718
7719         * buffer.h:
7720         * buffer.C: fix inset_iterator.end(), move out of line
7721         (bug 1149)
7722
7723 2003-06-01  John Levon  <levon@movementarian.org>
7724
7725         * text3.C: use a proper cut/paste when doing inset
7726         insert (from Jürgen Spitzmüller)
7727
7728 2003-06-01  John Levon  <levon@movementarian.org>
7729
7730         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7731
7732 2003-05-30  André Pönitz  <poenitz@gmx.net>
7733
7734         * rowpainter.C: unify second drawing phase
7735
7736 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7737
7738         * trans_mgr.C: remove one case of current_view
7739
7740         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7741
7742         * paragraph_funcs.h: remove paragraph.h include
7743
7744         * paragraph.h: delete NO_STD_LIST stuff
7745
7746         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7747
7748         * buffer.h: remove paragraph.h include
7749
7750         * ParagraphList.C: delete file
7751
7752         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7753
7754         * toc.C (getTocList): adjust
7755
7756         * paragraph_pimpl.C (validate): adjust
7757
7758         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7759
7760         * paragraph.C (Paragraph): adjust
7761         (getPositionOfInset): use const_iterator, adjust
7762         (bibitem): use const_iterator, adjust
7763         (setInsetOwner): adjust
7764
7765         * iterators.C (operator++): adjust
7766
7767         * InsetList.[Ch]: Replace selfmade iterator with standard
7768         vector::iterator also introduce const_iterator. Remove getPos,
7769         getInset and setInset from InsetTable. Adjust accordingly.
7770
7771         * BufferView.C (lockInset): adjust
7772         (ChangeInsets): adjust
7773
7774         * tabular.[Ch]: delete commented same_id functions
7775
7776 2003-05-28  John Levon  <levon@movementarian.org>
7777
7778         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7779
7780 2003-05-28  André Pönitz  <poenitz@gmx.net>
7781
7782         * metricsinfo.[Ch]: remove 'fullredraw' member
7783
7784 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7785
7786         * lyxtextclass.C (operator): remove caching.
7787
7788 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7789
7790         * text3.C: adjust
7791
7792         * text2.C (cursorBottom): adjust
7793         (setCounter): use ParagraphList::find, adjust
7794
7795         * text.C (workWidth): use ParagraphList::find, adjust
7796
7797         * lyxcursor.C (LyXCursor): adjust
7798
7799         * buffer.C (inset_iterator): adjust
7800
7801         * ParagraphList.h: make iterator(value_type) private, make
7802         ParagraphList a friend of iterator.
7803
7804         * ParagraphList.C (find): new function
7805
7806         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7807
7808 2003-05-27  André Pönitz  <poenitz@gmx.net>
7809
7810         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7811
7812 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7813
7814         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7815
7816 2003-05-26  John Levon  <levon@movementarian.org>
7817
7818         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7819
7820 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7821
7822         * remove same_id from function signatures, adjust.
7823
7824 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7825
7826         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7827
7828         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7829
7830         * paragraph.C (Paragraph): get rid of same_ids parameter
7831
7832         * ParagraphList.C (insert): adjust
7833         (push_back): adjust
7834
7835 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7836
7837         * paragraph_funcs.C (breakParagraph): adjust
7838         (breakParagraphConservative): adjust
7839
7840         * buffer.C (readParagraph): adjust
7841
7842         * ParagraphList.C (insert): take a reference instead of a pointer
7843         (insert): adjust
7844
7845         * paragraph.[Ch] (id): new function
7846
7847         * bufferlist.C (newFile): adjust
7848
7849         * ParagraphList.C (ParagraphList): adjust
7850         (assign): adjust
7851         (push_back): take a reference instead of a pointer.
7852
7853         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7854
7855         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7856         instead.
7857
7858         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7859         set else use old code.
7860
7861         * ParagraphList.C: remove all NO_NEXT code and only compile this
7862         code of NO_STD_LIST is set.
7863
7864 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7865
7866         * BufferView_pimpl.C:
7867         * TextCache.C:
7868         * TextCache.h:
7869         * bufferlist.C:
7870         * errorlist.h:
7871         * format.C:
7872         * format.h:
7873         * graph.C:
7874         * lyxfunc.C:
7875         * lyxrc.C:
7876         * graphics/GraphicsConverter.C:
7877         * graphics/PreviewLoader.C: header adjustment
7878
7879 2003-05-23  Angus Leeming  <leeming@lyx.org>
7880
7881         * LaTeXFeatures.[Ch] (useBabel): new method.
7882         * bufferparams.C (writeLaTeX): use it.
7883
7884 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7885
7886         * ParagraphList.h (set): remove unused function.
7887
7888 2003-05-23  André Pönitz  <poenitz@gmx.net>
7889
7890         * BufferView.C:
7891         * BufferView_pimpl.C:
7892         * buffer.C:
7893         * buffer.h:
7894         * lyxfunc.C:
7895         * undo_funcs.C: setUndo reworked
7896
7897         * iterators.[Ch]: add access to topmost ParagraphList
7898
7899         * lyxtext.[Ch] (workWidth): add a const
7900
7901 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7902
7903         * texrow.[Ch] (increasePos): remove function
7904         * exporter.C (export): removed unused var and outdated comment
7905
7906 2003-05-23  Angus Leeming  <leeming@lyx.org>
7907
7908         * latexrunparams.h: rename fragile as moving_arg.
7909         * paragraph.C (simpleTeXOnePar): ditto.
7910         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7911
7912 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7913
7914         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7915         (createUndo): ditto
7916         (textUndoOrRedo): comment out a currently unused var.
7917
7918         * paragraph.h (NO_NEXT): enable NO_NEXT
7919
7920         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7921
7922         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7923
7924         * exporter.C (Export): adjust for removeAutoInsets removal.
7925
7926         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7927
7928         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7929
7930         * BufferView.[Ch] (removeAutoInsets): delete function
7931
7932 2003-05-22  Angus Leeming  <leeming@lyx.org>
7933
7934         * latexrunparams.h: add a free_spacing variable.
7935
7936         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7937         to pass moving_arg, as the data is stored in runparams.fragile.
7938
7939         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7940         to Inset::latexOptional or to simpleTeXOnePar.
7941
7942         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7943         free_spacing arg to Inset::latexOptional.
7944
7945         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7946         free_spacing arg.
7947
7948 2003-05-22  Angus Leeming  <leeming@lyx.org>
7949
7950         * latexrunparams.h: add fragile and use_babel variables.
7951
7952         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7953         * buffer.C (makeLaTeXFile): store this returned value in
7954         runparams.use_babel, thus passing it to the inset::latex methods.
7955
7956         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7957         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7958
7959         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7960         longer has a fragile arg, as it is stored in runparams.fragile.
7961
7962         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7963         moving_arg parameter as the data is stored in runparams.fragile.
7964
7965         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7966         a fragile parameter as the data is stored in runparams.fragile.
7967
7968 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7971
7972 2003-05-22  Angus Leeming  <leeming@lyx.org>
7973
7974         * latexrunparams.h: add a 'bool nice' which defaults to false.
7975
7976         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7977         now encapsulated within runparams.
7978
7979         * bufferlist.C (updateIncludedTeXfiles):
7980         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7981
7982 2003-05-22  Angus Leeming  <leeming@lyx.org>
7983
7984         * latexrunparams.h: new file containing struct LatexRunParams.
7985         * Makefile.am: add new file.
7986
7987         * LaTeX.[Ch] (c-tor, run):
7988         * buffer.[Ch] (makeLaTeXFile):
7989         * bufferlist.[Ch] (updateIncludedTeXfiles):
7990         * converter.C (convert, scanLog):
7991         * converter.[Ch] (runLaTeX):
7992         * exporter.C (Export):
7993         * paragraph.[Ch] (simpleTeXOnePar):
7994         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7995         * paragraph_funcs.[Ch] (latexParagraphs):
7996         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7997         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7998         pass around a LatexRunParams parameter.
7999
8000 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8001
8002         * paragraph.[Ch]: remove unused constructor
8003
8004         * ParagraphList.C (erase): new function, taking two iterators
8005
8006 2003-05-22  André Pönitz  <poenitz@gmx.net>
8007
8008         * undo_funcs.C: remove duplicated code
8009
8010         * iterator.[Ch]: operator=
8011
8012 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013
8014         * tabular.C (SetMultiColumn): ws changes
8015
8016         * rowpainter.C (paintFirst): get rid of a ->previous
8017
8018         * lyx_cb.C (getPossibleLabel): parlist simplification
8019
8020         * BufferView.C (ChangeInsets): simplify slightly.
8021
8022 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8023
8024         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8025         * lfuns.h: new LFUN_SPACE
8026         * lyxfunc.C: protected space has a new lfun
8027         * paragraph_funcs.C: read new space insets
8028         * text3.C:
8029         * factory.C: handle new space insets
8030
8031 2003-05-22  André Pönitz  <poenitz@gmx.net>
8032
8033         * BufferView.C:
8034         * BufferView_pimpl.C:
8035         * buffer.[Ch]:
8036         * lyxfunc.C:
8037         * undo_funcs.C: return a ParIterator from getParFromID.
8038
8039         * iterators.[Ch]: add two const's
8040
8041 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8042
8043         * toc.C (getTocList): adjust
8044
8045         * iterators.[Ch]: rework for parlist
8046
8047         * buffer.C (par_iterator_begin): adjust
8048         (par_iterator_end): adjust
8049
8050         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8051
8052         * BufferView.C (removeAutoInsets): adjust
8053         (ChangeInsets): adjust
8054
8055 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8056
8057         * text.C (top_y): fix bug 1110
8058
8059 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8060
8061         * errorlist.[Ch]: added
8062         * buffer.C:
8063         * BufferView.[Ch]:
8064         * BufferView_pimpl.C:
8065         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8066         instead
8067
8068 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8069
8070         * Makefile.am: ensure that lyx is relinked upon changes to the
8071         various "convenience" libs.
8072
8073 2003-05-20  Angus Leeming  <leeming@lyx.org>
8074
8075         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8076         files are compiled in alphabetical order again.
8077
8078         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8079
8080 2003-05-19  Angus Leeming  <leeming@lyx.org>
8081
8082         * gettext.[Ch]: remove "char const * _(char const *)".
8083
8084 2003-05-19  André Pönitz  <poenitz@gmx.net>
8085
8086         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8087
8088         * Makefile.am:
8089         * BufferView.C:
8090         * DepTable.h:
8091         * LaTeXFeatures.C:
8092         * buffer.C:
8093         * lyxfont.C:
8094         * lyxlex.h:
8095         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8096
8097 2003-05-19  André Pönitz  <poenitz@gmx.net>
8098
8099         * buffer.C:
8100         * lyxlayout.[Ch]:
8101         * lyxtextclass.[Ch]:
8102         * paragraph.C:
8103         * paragraph_funcs.[Ch]:
8104         * text2.C:
8105         * text3.C: more insetenv work
8106
8107 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8108
8109         * ParagraphParameters.C (params2string): small bug fixed
8110
8111 2003-05-16  André Pönitz  <poenitz@gmx.net>
8112
8113         * debug.C:
8114         * bufferview_funcs.C: patch from Kornel Benko to prevent
8115           crash when _(...) is called twice in a statement
8116
8117 2003-05-16  André Pönitz  <poenitz@gmx.net>
8118
8119         * BufferView.C:
8120         * lyxfunc.C:
8121         * text.C:
8122         * text2.C:
8123         * text3.C:
8124         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8125
8126 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8127
8128         * lyx_main.C (init): remove spurious static_cast
8129
8130 2003-05-14  André Pönitz  <poenitz@gmx.net>
8131
8132         * BufferView.C: fix format string
8133
8134 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8135
8136         * BufferView.[Ch] (insertErrors): removed
8137         * BufferView.[Ch] (showErrorList): added
8138         * buffer.C (runChkTeX):
8139         * converter.C (scanLog): call showErrorList instead of inserterrors
8140
8141 2003-05-13  André Pönitz  <poenitz@gmx.net>
8142
8143         * BufferView_pimpl.C:
8144         * buffer.C:
8145         * bufferview_func.C:
8146         * MenuBackend.C:
8147         * lyxfunc.C:
8148         * lyxrc.C:
8149         * tex-accent.C:
8150         * text3.C:
8151         * toc.C:
8152         * tabular_funcs.h: tostr() from its own header
8153
8154         * ParagraphParameters.C:
8155         * ToolbarBackend.C:
8156         * bufferparams.C:
8157         * format.C:
8158         * lyxlex_pimpl.C:
8159         * text3.C: STRCONV()
8160
8161 2003-05-12  André Pönitz  <poenitz@gmx.net>
8162
8163         * BufferView.C:
8164         * BufferView_pimpl.C:
8165         * CutAndPaste.C:
8166         * LaTeX.C:
8167         * LaTeXFeatures.C:
8168         * ParagraphParameters.C:
8169         * buffer.C:
8170         * bufferlist.C:
8171         * bufferparams.C:
8172         * bufferview_funcs.C:
8173         * converter.C:
8174         * counters.C:
8175         * debug.C:
8176         * exporter.C:
8177         * format.C:
8178         * importer.C:
8179         * lyx_cb.C:
8180         * lyx_main.C:
8181         * lyxfont.C:
8182         * lyxfunc.C:
8183         * lyxvc.C:
8184         * paragraph.C:
8185         * paragraph_funcs.C:
8186         * tabular.C:
8187         * tabular_funcs.C:
8188         * text2.C:
8189         * text3.C:  boost::format -> bformat  all over the place
8190
8191
8192 2003-05-09  André Pönitz  <poenitz@gmx.net>
8193
8194         * LColor.[Ch]: Pimpl the #include <map> away
8195
8196 2003-05-09  John Levon  <levon@movementarian.org>
8197
8198         * bufferlist.C: never remove emergency saves
8199
8200 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8201
8202         * Makefile.am: better lib building
8203
8204 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8205
8206         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8207         instead.
8208         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8209         (simpleTeXSpecialChars): adjust
8210         (simpleTeXSpecialChars): adjust
8211         * paragraph.C (simpleTeXOnePar): adjust
8212         * buffer.C (makeLaTeXFile): adjust
8213
8214         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8215
8216         * text2.C (changeDepth): parlist cleanup
8217         (getColumnNearX): ditto
8218
8219         * rowpainter.C (getLabelFont): parlist cleanup
8220
8221         * bufferlist.C (newFile): parlist cleanup
8222
8223         * CutAndPaste.C (eraseSelection): parlist cleanup
8224
8225         * BufferView_pimpl.C (trackChanges): parlist cleanup
8226         (dispatch): ditto
8227
8228         * BufferView.C (lockInset): parlist cleanup.
8229         (ChangeInsets): ditto
8230
8231 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8232
8233         * CutAndPaste.h: Update file header.
8234
8235         * CutAndPaste.C: Update file header.
8236         Store the parts cut out of the Document in a limited_stack.
8237         (copySelection): adjust
8238         (pasteSelection): new function, takes the index in the limited stack.
8239         (nrOfParagraphs): adjust
8240         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8241         simplify error inset insertion.
8242         (checkPastePossible): adjust
8243
8244 2003-05-06  John Levon  <levon@movementarian.org>
8245
8246         * text2.C: don't cast wrap inset to float
8247
8248 2003-05-05  André Pönitz  <poenitz@gmx.net>
8249
8250         * iterator.C:
8251         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8252
8253         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8254           few naked Paragraph *.
8255
8256 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8257
8258         * bufferparams.C: Output warning if a document with missing
8259         TeX document class is loaded
8260         * exporter.C: Disable TeX exports if the document class is missing
8261         * lyxtextclass.C:
8262         * lyxtextclass.h:
8263         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8264         isTeXClassAvailable()
8265
8266 2003-05-03  John Levon  <levon@movementarian.org>
8267
8268         * BufferView.h:
8269         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8270         explicit cursor show/hide
8271
8272         * BufferView_pimpl.h:
8273         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8274         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8275
8276         * lyxfunc.C: hide cursor before dispatching.
8277
8278         * lyx_cb.C:
8279         * lyxfind.C:
8280         * text.C:
8281         * text3.C: remove explicit cursor hides
8282
8283 2003-05-02  André Pönitz  <poenitz@gmx.net>
8284
8285         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8286
8287         * undo_funcs.C:
8288         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8289           linked lists
8290
8291         * text2.C: tiny whitespace
8292
8293 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8294
8295         * undo_funcs.C: almost only ws changes.
8296
8297         * ParagraphList.C (splice): just return if pl is empty.
8298
8299 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8300
8301         * ParagraphList.C (splice): new function.
8302
8303         * CutAndPaste.C (pasteSelection): use it
8304
8305 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8306
8307         * CutAndPaste.C (pasteSelection): remove the last next and
8308         previous from this file.
8309
8310 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8311
8312         * CutAndPaste.C (pasteSelection): more clean up, user proper
8313         ParagraphList functions for pasteing.
8314
8315         * ParagraphList.C (insert): new function, three arg insert
8316
8317 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8318
8319         * ParagraphList.C (insert): new function, three arg insert
8320
8321         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8322         not on paragraphs.
8323
8324 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8325
8326         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8327
8328 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8329
8330         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8331
8332 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8333
8334         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8335         (copySelection): clean up a bit.
8336         (pasteSelection): use make_pair
8337
8338         * ParagraphList.C (ParagraphList): implement copy constructor
8339         (operator=): implement, base on copy constructor.
8340         (assign): new func
8341
8342         * paragraph.C (erase): return a bool
8343
8344         * paragraph_pimpl.C (erasePos): remove function, move contents...
8345         (erase): ... here. Return a bool.
8346         (erase): call erase instead of erasePos.
8347
8348 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8349
8350         * ParagraphList.h: define PitPosPair
8351         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8352         ParagraphList, fix a bug on pasting multiple pars
8353         * text2.C: change interface to C&P
8354
8355 2003-04-30  André Pönitz  <poenitz@gmx.net>
8356
8357         * undo_func.C: revert part of yesterday's patch 2
8358
8359 2003-04-30  John Levon  <levon@movementarian.org>
8360
8361         * LColor.C: s/tabular/table/
8362
8363 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8364
8365         * text3.C (dispatch): do not convert iterator -> pointer
8366         * undo_funcs.C (setCursorParUndo): ditto
8367         * text_funcs.C (transposeChars): ditto
8368
8369         * text2.C (setLayout): ws changes only
8370
8371         * text.C (breakParagraph): do not convert iterator -> pointer
8372         (insertChar): ditto
8373         (acceptChange): ditto
8374         (rejectChange): ditto
8375         (changeCase): ditto
8376         (Delete): ditto
8377         (backspace): ditto
8378
8379         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8380         pointer
8381
8382 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8383
8384         * text3.C (gotoInset): YABG (yet another bad getChar)
8385
8386 2003-04-29  André Pönitz  <poenitz@gmx.net>
8387
8388         * paragraph.h: make operator= private unimplemented as long as
8389           it is unusable
8390
8391         * ParagraphList.C: whitespace
8392
8393         * paragraph.[Ch]:
8394         * paragraph_pimpl.[Ch]:
8395         * paragraph_funcs.C:
8396         * CutAndPaste.C:
8397         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8398
8399         * text2.C:
8400           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8401
8402 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8403
8404         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8405         * paragraph.[Ch] (erase):
8406         * paragraph_pimpl.[Ch] (erase): change return type and value
8407         * text2.C (cutSelection): some rework
8408
8409 2003-04-28  John Levon  <levon@movementarian.org>
8410
8411         * bufferlist.C: changes for unsaved changes dialog
8412
8413 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8414
8415         * bufferlist.C (newFile): set language (messages_) for new
8416         documents also.
8417
8418         * buffer.C (readFile): ws changes only.
8419
8420 2003-04-28  André Pönitz  <poenitz@gmx.net>
8421
8422         * undo_funcs.C:
8423         * lyxfunc.C:
8424         * buffer.[Ch]:
8425         * BufferView_pimpl.C:
8426         * BufferView.C: getParFromID related ParagraphList::iterator changes
8427
8428 2003-04-28  André Pönitz  <poenitz@gmx.net>
8429
8430         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8431           Changes
8432
8433 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8434
8435         * messages.C: remove one more localedir class variable.
8436
8437 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8438
8439         * messages.C (getLocaleDir): singleton generation function
8440         (Pimpl): use it.
8441         (Messages): add a default constructor.
8442
8443         * main.C (main): do not setup localedir here, do not call
8444         gettext_init.
8445
8446         * gettext.C (_): use it.
8447         (gettext_init): delete funciton
8448
8449 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8450
8451         * gettext.C (getLyXMessages): new singleton generating function.
8452
8453         * buffer.C (updateDocLang): adjust
8454
8455         * Makefile.am (messages.o): add target
8456         (main.o): remove target
8457
8458 2003-04-27  John Levon  <levon@movementarian.org>
8459
8460         * bufferlist.C:
8461         * lyx_cb.C:
8462         * lyxfunc.C:
8463         * lyxvc.C: specify cancel button in Alert::prompt
8464
8465 2003-04-26  John Levon  <levon@movementarian.org>
8466
8467         * text3.C:
8468         * lyxfunc.C:
8469         * lfuns.h:
8470         * LyXAction.C: add LFUN_INSET_SETTINGS
8471
8472         * lyxfunc.C: don't enable tabular-feature when there's
8473         just any locking inset
8474
8475 2003-04-26  John Levon  <levon@movementarian.org>
8476
8477         * bufferlist.C: re-add Cancel to buffer close question
8478
8479         * lyxfunc.C: fix import UI a bit
8480
8481 2003-04-25  John Levon  <levon@movementarian.org>
8482
8483         * gettext.C: remove the broken asserts for now
8484
8485 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8486
8487         * messages.C: make case where setlocale cannot comply work better.
8488
8489         * buffer.C (updateDocLang): new function
8490         (changeLanguage): use it
8491         (readFile): use it
8492
8493         * text2.C (setCounter): use B_ a bit.
8494
8495         * lyxlayout.C (Read): be sure to trim the label strings.
8496
8497         * messages.C (Messages): fix typo in comment
8498
8499         * buffer.C (readFile): set message_ after file is loaded.
8500         (makeDocBookFile): remove double return
8501         (changeLanguage): reset message_ upon language change.
8502         (B_): new func, use this to get translated buffer strings.
8503
8504         * main.C: add myself and Jean Marc as authors.
8505
8506 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8507
8508         * messages.[hC]: pimplify Messages, and three different pimpls to be
8509         used in different circumstances.
8510
8511         * gettext.[Ch]: change for use with new message code.
8512
8513 2003-04-24 André Pönitz <poenitz@gmx.net>
8514
8515         * factory.C: support for eqref
8516
8517 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8518
8519         * messages.[Ch]: add missing char
8520
8521         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8522
8523         * messages.[Ch]: New files
8524
8525 2003-04-18  John Levon  <levon@movementarian.org>
8526
8527         * BufferView.h:
8528         * BufferView.C:
8529         * BufferView_pimpl.C:
8530         * lfuns.h:
8531         * LyXAction.C:
8532         * lyxtext.h:
8533         * text2.C: remove layout-copy/paste (bug 778)
8534
8535 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8536
8537         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8538
8539 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8540
8541         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8542         if they succeed. Act accordingly.
8543
8544 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8545
8546         * text2.C (setCharFont): adjust
8547         (setCounter): adjust
8548         (insertStringAsLines): adjust
8549
8550         * text.C (leftMargin): adjust
8551         (setHeightOfRow): adjust
8552
8553         * rowpainter.C (paintFirst): adjust
8554         (paintLast): adjust
8555
8556         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8557         (outerHook): ditto
8558         (isFirstInSequence): ditto
8559         (getEndLabel): ditto
8560         (outerFont): adjust
8561
8562         * paragraph.C (getParLanguage): comment out some hard stuff.
8563
8564         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8565         (sgmlError): ditto
8566         (simpleDocBookOnePar): ditto
8567         (makeDocBookFile): use ParagraphList::iterator
8568
8569         * CutAndPaste.C (pasteSelection): adjust
8570
8571 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8572
8573         * text2.C (getFont): adjust
8574         (getLayoutFont): adjust
8575         (getLabelFont): adjust
8576
8577         * paragraph_funcs.C (TeXOnePar): adjust
8578
8579         * buffer.C (simpleLinuxDocOnePar): adjust
8580         (simpleDocBookOnePar): adjust
8581
8582         * CutAndPaste.C (pasteSelection): adjust
8583
8584         * BufferView.C (getEncoding): adjust
8585
8586         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8587
8588 2003-04-16  John Levon  <levon@movementarian.org>
8589
8590         * lyxfind.C: use parlist stuff for search/changes
8591
8592 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8593
8594         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8595
8596         * text2.C (deleteEmptyParagraphMechanism): adjust
8597
8598         * text2.[Ch] (ownerParagraph): delete func (both of them
8599
8600 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8601
8602         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8603
8604 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8605
8606         * ParagraphList.C: prepare for NO_NEXT
8607
8608 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8609
8610         * text2.C (getFont): adjust
8611         (getLayoutFont): adjust
8612         (getLabelFont): adjust
8613
8614         * paragraph.C (getFont): adjust
8615         (getLabelFont): adjust
8616         (getLayoutFont): adjust
8617
8618         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8619
8620 2003-04-15  John Levon  <levon@movementarian.org>
8621
8622         From Angus Leeming
8623
8624         * lyx_main.C: handle Include in .ui files
8625
8626 2003-04-15  John Levon  <levon@movementarian.org>
8627
8628         * MenuBackend.C: make the doc files length shorter
8629
8630         * ToolbarBackend.h:
8631         * ToolbarBackend.C: handle toolbar placement flags,
8632         Minibuffer
8633
8634 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8635
8636         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8637         adjust
8638
8639         * paragraph_funcs.C (TeXOnePar): adjust
8640
8641         * paragraph.C (getLabelFont): add outerfont arg, adjust
8642         (getLayoutFont): ditto
8643         (simpleTeXOnePar): adjust
8644
8645         * paragraph_pimpl.C (realizeFont): delete func
8646
8647 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8648
8649         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8650         row argument, constify cur argument.
8651
8652 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8653
8654         * text2.C (getFont): adjust
8655         (getLayoutFont): adjust
8656         (getLabelFont): adjust
8657
8658         * paragraph_funcs.C (TeXOnePar): adjust
8659         (outerFont): new func...
8660         (realizeFont): ...moved out from here, changed this to facilitate
8661         transition
8662
8663         * paragraph.C (getFont): take outerfont as arg, adjust
8664         (simpleTeXOnePar): add outerfont arg, adjust
8665
8666         * buffer.C (simpleLinuxDocOnePar): adjust
8667         (simpleDocBookOnePar): adjust
8668
8669         * CutAndPaste.C (pasteSelection): adjust
8670
8671         * BufferView.C (getEncoding): adjust
8672
8673 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8674
8675         * text2.C (setCharFont): adjust
8676         (setCounter): adjust
8677
8678         * text.C (leftMargin): adjust
8679         (setHeightOfRow): adjust
8680
8681         * rowpainter.C (paintFirst): adjust
8682         (paintLast): adjust
8683
8684         * paragraph_pimpl.C (realizeFont): adjust
8685
8686         * paragraph.C (isFirstInSequence): move from here...
8687         * paragraph_funcs.C (isFirstInSequence): ...to here
8688
8689         * paragraph.C (outerHook): move from here...
8690         * paragraph_funcs.C (outerHook): ...to here
8691
8692         * paragraph.C (depthHook): move from here...
8693         * paragraph_funcs.C (depthHook): ...to here
8694
8695         * paragraph.C (getEndLabel): move from here...
8696         * paragraph_funcs.C (getEndLabel): ...to here
8697
8698         * text2.C (realizeFont): move from here...
8699         * paragraph_funcs.C (realizeFont): ...to here
8700
8701 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8702
8703         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8704
8705 2003-04-14  Angus Leeming  <leeming@lyx.org>
8706
8707         * LColor.[Ch]: scrap LColor mathcursor.
8708
8709 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8710
8711         * lyxlex.[Ch] (text): delete function
8712         * trans.C (Load): adjust
8713         * paragraph_funcs.C (readParToken): adjust
8714
8715 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8716
8717         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8718         vector<char> instead of a char[].
8719
8720         * lyxlex_pimpl.C (getString): adjust
8721         (next): adjust
8722         (lex): use getString
8723         (eatLine): adjust
8724         (nextToken): adjust
8725
8726         * lyxlex.C (text): use pimpl_->getString()
8727         (getBool): ditto
8728         (findToken): ditto
8729
8730 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8731
8732         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8733         (makeFontEntriesLayoutSpecific): temp var for par.size()
8734         (setLayout): temp var for ownerParagraphs().end()
8735         (fullRebreak): temp var for rows().end()
8736         (selectionAsString): temp var for boost::next(startpit), realize
8737         that the while really is a regular for loop.
8738         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8739         setCursor in one place.
8740         (setParagraph): temp vr for ownerParagraphs().end()
8741         (updateCounters): make the while loop a for loop
8742         (cutSelection): temp var for ownerParagraphs().end()
8743         (updateInset): make the do {} while() a regular for loop
8744         (getCursorX): use temp vars
8745         (setCurrentFont): use temp vars
8746         (getColumnNearX): use temp vars
8747
8748 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8749
8750         * text.C (transformChar): use temp var for getChar
8751         (computeBidiTables): use temp var for row->par()
8752         (fill): move temp vars for row->par() and pit->layout() earlier in
8753         the function.
8754         (labelFill): use temp var for row->par()
8755         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8756         asc and desc, realize that pit never changes and that firstpit is
8757         just a duplicate and not needed. Exchange rit->par() with pit in a
8758         lot of places.
8759         (breakAgain): use a temp var for boost::next(rit)
8760         (breakAgainOneRow): ditto
8761         (breakParagraph): use a temp var for rows().begin()
8762         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8763         (cursorRightOneWord): use temp var for cursor.par() and
8764         cursor.pos(), remove usage of tmpcursor.
8765         (cursorLeftOneWord): use temp var for cursor.par() and
8766         cursor.pos() only set cur at end of function.
8767
8768 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8769
8770         * text.C, text2.C: exchange all usage of Paragraph::next with
8771         boost::next(ParagraphList::iterator)
8772
8773         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8774
8775         * text2.C (cursorTop): simplify implementation
8776         (cursorBottom): ditto
8777         (setParagraph): use ParagraphList::iterator
8778         (setCurrentFont): adjust
8779         (getColumnNearX): adjust
8780         (cursorRight): adjust
8781         (cursorLeft): remove usage of Paragraph::previous
8782         (cursorUpParagraph): ditto
8783         (deleteEmptyParagraphMechanism): slight cleanup
8784
8785         * text.C (isBoundary): take a Paragraph const & instead of a
8786         pointer as arg.
8787         (addressBreakPoint): ditto
8788         (leftMargin): remove usage of Paragraph::previous.
8789         (setHeightOfRow): ditto
8790         (cursorLeftOneWord): ditto
8791         (selectNextWordToSpellcheck): ditto
8792         (Delete): ditto
8793         (backspace): ditto
8794         (breakParagraph): remove one usage of Paragraph::next
8795         (redoParagraph): ditto
8796         (acceptChange): ditto
8797         (insertChar): adjust
8798         (rowBreakPoint): adjust
8799
8800         * bufferview_funcs.C (toggleAndShow): adjust
8801
8802 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8803
8804         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8805         methods to access it.
8806         * lyxtext.h:
8807         * text.C: Added updateRowPositions to compute all row positions.
8808         Make top_y and getRowNearY() to use the cached y position
8809
8810 2003-04-11  John Levon  <levon@movementarian.org>
8811
8812         * text.C (rowBreakPoint): reintroduce the labelEnd
8813         checks, code copied from the row fill stuff. Deep voodoo.
8814
8815         * text.C (fill): add a comment and debugging for the
8816         next poor soul.
8817
8818 2003-04-11  John Levon  <levon@movementarian.org>
8819
8820         * text.C: make sure fullrow insets get wrapped to the next line,
8821         even when they're in a manual label
8822
8823 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8824
8825         * text2.C (insertParagraph): make it take ParagraphList::iterator
8826         as arg.
8827         (setLayout): make it return ParagraphList::iterator
8828         (redoParagraphs): ditto
8829         (setCounter): ditto
8830         (checkParagraph): ditto
8831
8832         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8833
8834         * text2.C: adjust several funcs.
8835         (realizeFont): take a ParagraphList::iterator as arg.
8836         (getLayoutFont): ditto
8837         (getLabelFont): ditto
8838         (setCharFont): ditto
8839
8840         * text.C: adjust several funcs.
8841
8842 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8843
8844         * text.C (selectNextWordToSpellcheck): don't accidentally
8845         skip insets
8846
8847 2003-04-10  John Levon  <levon@movementarian.org>
8848
8849         * ToolbarBackend.C (getIcon): special handling for
8850         LFUN_MATH_DELIM
8851
8852 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8853
8854         * text2.C (cursorRight): a getChar assert fixed
8855
8856 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8857
8858         * text2.C (getFont): change to take a ParagraphList::iterator
8859         instead of Paragraph*
8860         Adjust several functions.
8861
8862         * text.C (transformChar): change to take a ParagraphList::iterator
8863         instead of Paragraph*
8864         (singleWidth): ditto
8865         Adjust several functions.
8866
8867         * rowpainter.C: adjust several functions
8868         * rowpainter.h:store a ParagraphList::iterator and not a
8869         Paragraph&.
8870
8871
8872 2003-04-09  John Levon  <levon@movementarian.org>
8873
8874         * lyxfunc.C:
8875         * lfuns.h:
8876         * LyXAction.h:
8877         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8878         and the "help" bits as well
8879
8880 2003-04-09  John Levon  <levon@movementarian.org>
8881
8882         * ToolbarBackend.h:
8883         * ToolbarBackend.C: allow multiple toolbars
8884
8885 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8886
8887         * undo_funcs.C (setCursorParUndo): adjust
8888
8889         * text_funcs.C (transposeChars): adjust
8890
8891         * text3.C (gotoNextInset): adjust
8892         (dispatch): adjust
8893
8894         * text2.C (setLayout): adjust
8895         (changeDepth): adjust
8896         (setFont): adjust
8897         (redoParagraphs): adjust
8898         (selectionAsString): adjust
8899         (setParagraph): adjust
8900         (insertInset): adjust
8901         (cutSelection): adjust
8902         (copySelection): adjust
8903         (pasteSelection): adjust
8904         (insertStringAsLines): adjust
8905         (updateInset): adjust
8906         (setCursor): change to take a ParagraphList::iterator parameter
8907         (setCursorIntern): change to take a ParagraphList::iterator parameter
8908         (setCurrentFont): adjust
8909         (cursorLeft): adjust
8910         (cursorRight): adjust
8911         (deleteEmptyParagraphMechanism): adjust
8912
8913         * text.C (breakParagraph): adjust
8914         (insertChar): adjust
8915         (acceptChange): adjust
8916         (rejectChange): adjust
8917         (selectNextWordToSpellcheck): adjust
8918         (changeCase): adjust
8919         (Delete): adjust
8920         (backspace): adjust
8921
8922         * lyxfind.C (SearchForward): adjust
8923         (SearchBackward): adjust
8924         (nextChange): adjust
8925
8926         * lyxcursor.C (par): adjust
8927
8928         * lyxcursor.h: store a ParagraphList::iterator instead of a
8929         Paragraph*
8930
8931         * lyx_cb.C (getPossibleLabel): adjust
8932
8933         * bufferview_funcs.C (toggleAndShow): adjust
8934
8935         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8936         (dispatch): adjust
8937
8938         * BufferView.C (removeAutoInsets): adjust
8939         (lockedInsetStoreUndo): adjust
8940
8941 2003-04-09  John Levon  <levon@movementarian.org>
8942
8943         * ToolbarBackend.C: try icon without argument
8944         if with argument fails
8945
8946 2003-04-08  John Levon  <levon@movementarian.org>
8947
8948         * ToolbarBackend.h:
8949         * ToolbarBackend.C: add getIcon(), handle tooltip,
8950         and change from "Icon" to "Item".
8951
8952 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8953
8954         * BufferView.C (lockInset): another bad getchar crunched
8955
8956 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8957
8958         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8959         again)
8960
8961 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8962
8963         * lyxfind.C (searchForward, searchBackwards): bug 782
8964
8965 2003-04-07  John Levon  <levon@movementarian.org>
8966
8967         * paragraph.C: remove dead comment
8968
8969         * text.C: remove troublesome depth-fiddling code
8970         in leftMargin() and rightMargin() (bug 1017)
8971
8972         * text.C: fix breaking of rows in nested lists
8973         (bug 1004)
8974
8975         * text2.C (updateCounters): fix up depth values
8976         (bug 1013)
8977
8978 2003-04-07  John Levon  <levon@movementarian.org>
8979
8980         * BufferView_pimpl.C: clear message when doc finishes resizing,
8981         and after a mouse event
8982
8983         * lyxfunc.C: clear message after exiting inset
8984
8985 2003-04-07  John Levon  <levon@movementarian.org>
8986
8987         * bufferview_funcs.C: show math status not outside
8988         status in the statusbar
8989
8990 2003-04-07  John Levon  <levon@movementarian.org>
8991
8992         * lyxfunc.C: note status changed after a depth change
8993
8994 2003-04-04  Angus Leeming  <leeming@lyx.org>
8995
8996         * LaTeX.h: move AuxInfo operator==, != out of line.
8997         Remove LaTeX virtual destructor; nothing derives from it.
8998         Move operator()() out of public area and rename it startscript().
8999         Change protected for private.
9000
9001 2003-04-04  Angus Leeming  <leeming@lyx.org>
9002
9003         * lyxfunc.C:
9004         * text2.C: remove unneeded #includes.
9005
9006 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9007
9008         * text2.C (dEPM): fix the heigth of the next row
9009
9010 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9011
9012         * text.C: squashed an invalid getChar requester + some ws changes
9013
9014 2003-04-03  John Levon  <levon@movementarian.org>
9015
9016         * bufferview_funcs.h:
9017         * bufferview_funcs.C:
9018         * lyxfunc.C:
9019         * lyxtext.h:
9020         * text2.C: make getStatus work for the env depth lfuns
9021
9022 2003-04-03  John Levon  <levon@movementarian.org>
9023
9024         * bufferview_funcs.h:
9025         * bufferview_funcs.C:
9026         * lyxfunc.C:
9027         * lyxtext.h:
9028         * text2.C: parlistize decDepth(), by merging it with incDepth()
9029
9030 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9031
9032         * lyxrow.h: store a ParagraphList::iterator instead of a
9033         Paragraph* and adjust other class functions to suit.
9034
9035         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9036         above.
9037
9038 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9039
9040         * text2.C (setCursor): do not anchor to cursor row for the time being
9041
9042 2003-04-02  John Levon  <levon@movementarian.org>
9043
9044         * LyXAction.C:
9045         * lfuns.h:
9046         * lyx_main.C:
9047         * lyxtext.h:
9048         * text.C:
9049         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9050
9051 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9052
9053         * paragraph.h: make ParagraphList and ParagraphList::iterator
9054         friends of Paragraph.
9055
9056         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9057
9058         * ParagraphList.C: Use the private next_ and previous_ from
9059         Paragraph.
9060
9061 2003-04-01  John Levon  <levon@movementarian.org>
9062
9063         * ToolbarBackend.h:
9064         * ToolbarBackend.C:
9065         * Makefile.am: rename, remove defaults gunk
9066
9067         * MenuBackend.h:
9068         * MenuBackend.C: remove defaults gunk
9069
9070         * Languages.h:
9071         * Languages.C: remove defaults gunk
9072
9073         * lyx_main.h:
9074         * lyx_main.C: error out if files couldn't be found.
9075
9076 2003-04-02  John Levon  <levon@movementarian.org>
9077
9078         * text2.C: make incDepth() use parlist
9079
9080 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9081
9082         * undo_funcs.C (firstUndoParagraph): adjust
9083
9084         * text3.C (gotoInset): adjust
9085         (dispatch): adjust, and rewrite loop.
9086
9087         * text2.C (init): adjust, and rewrite loop.
9088         (redoParagraphs): adjust
9089         (updateInset): adjust, and rewrite loop.
9090         (deleteEmptyParagraphMechanism): adjust
9091
9092         * tabular.C (LyXTabular): adjust
9093         (SetMultiColumn): adjust
9094         (TeXRow): adjust
9095
9096         * lyxtext.[Ch] (ownerParagraph): delete function
9097         (ownerParagraphs): new function returns a ParagraphList.
9098
9099         * BufferView.C (removeAutoInsets): adjust
9100         (insertErrors): adjust
9101         (setCursorFromRow): adjust
9102
9103 2003-04-01  Angus Leeming  <leeming@lyx.org>
9104
9105         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9106         in the frontends.
9107
9108 2003-04-02  John Levon  <levon@movementarian.org>
9109
9110         * lyxtext.h:
9111         * text.C:
9112         * Makefile.am:
9113         * text_funcs.h:
9114         * text_funcs.C: make transposeChars a free function
9115
9116         * lyxrow_funcs.C: remove wrong comment
9117
9118 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9119
9120         * lyxtext.h: adjust
9121         * rowpainter.C: adjust
9122         * text.C: adjust
9123         * text2.C: adjust
9124         * text3.C: adjust
9125
9126         * lyxrow_funcs. [Ch]: new files
9127
9128         * lyxrow.[Ch]: remove next and previous pointers
9129         (next,previous): remove accessor functions
9130         (isParEnd): move to lyxrow_funcs
9131         (lastPos): move to lyxrow_funcs
9132         (nextRowIsAllInset): move to lyxrow_funcs
9133         (lastPrintablePos): move to lyxrow_funcs
9134         (numberOfSeparators): move to lyxrow_funcs
9135         (numberOfHfills): move to lyxrow_funcs
9136         (numberOfLabelHfills): move to lyxrow_funcs
9137         (hfillExpansion): move to lyxrow_funcs
9138
9139         * lyxfunc.C: adjust
9140
9141         * bufferview_funcs.C (toggleAndShow): adjust
9142
9143         * RowList.h: Remove class RowList from file leave just a
9144         std::list<Row>.
9145
9146         * RowList.C: delete file
9147
9148         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9149         and lyxrow_funcs.h
9150
9151 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9152
9153         * text3.C (cursorPrevious): adjust
9154         (cursorNext): adjust
9155         (dispatch): adjust
9156
9157         * text2.C (redoHeightOfParagraph): adjust
9158         (redoDrawingOfParagraph): adjust
9159         (setCursor): adjust
9160
9161         * text.C (breakParagraph): adjust
9162         (insertChar): adjust
9163         (backspace): adjust
9164
9165         * rowpainter.C (RowPainter): adjust
9166         (leftMargin): simplify and adjust
9167         (most rowpainter functions): adjust.
9168
9169         * rowpainter.h: store the row as RowList::iterator not as Row*
9170
9171         * lyxcursor.C (row): taka RowList::iterator as arg
9172         (irow): ditto
9173
9174         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9175         of Row*.
9176
9177 2003-04-01  Angus Leeming  <leeming@lyx.org>
9178
9179         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9180         stuff like bool Bool.
9181
9182 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9183
9184         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9185         rewrite a loop
9186
9187 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9188
9189         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9190         RowList::iterator.
9191
9192         * lyxtext.h (rows): drop one version and leve a const variant that
9193         returns a RowList::iterator.
9194
9195 2003-03-31  Angus Leeming  <leeming@lyx.org>
9196
9197         * text.C (fill): ensure that the signature is the same as that in the
9198         header file.
9199
9200 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9201
9202         * text2.C (redoParagraphs): adjust
9203         (updateCounters): adjust
9204         (checkParagraph): adjust
9205         (getColumnNearX): adjust and reformat a bit.
9206
9207         * text.C (top_y): adjust
9208         (workWidth): adjust
9209         (leftMargin): adjust
9210         (prepareToPrint): adjust
9211         (getRow): adjust
9212         (getRowNearY): adjust
9213
9214         * lyxtext.h: make rowlist_ mutable.
9215
9216         * RowList.h: add const_iterator
9217         * RowList.C: adjust for RowList::const_iterator.
9218
9219         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9220         adjust.
9221
9222 2003-03-31  John Levon  <levon@movementarian.org>
9223
9224         * lyxrc.h:
9225         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9226
9227         * lyx_main.C: set default fonts from using lyx_gui funcs
9228
9229         * exporter.C: pdf_mode moved from lyxrc
9230
9231         * lyx_cb.C:
9232         * lyxfunc.C: changes from above
9233
9234 2003-03-31  John Levon  <levon@movementarian.org>
9235
9236         * lyx_main.C: fix to the last fix
9237
9238 2003-03-31  John Levon  <levon@movementarian.org>
9239
9240         * bufferlist.C: "Load original" -> "Load Original"
9241
9242         * converter.C:
9243         * exporter.C:
9244         * importer.C:
9245         * lyx_main.C:
9246         * format.C: more Alert cleanups
9247
9248 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9249
9250         * text2.C (removeParagraph): make it take a RowList::iterator as
9251         arg, adjust.
9252         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9253         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9254
9255         * text.C (anchor_row): make it take a RowList::iterator as arg,
9256         adjust.
9257         (computeBidiTables): make it take a const reference to Row instead
9258         of Row pointer, adjust.
9259         (leftMargin): make it take a RowList::iterator as arg, adjust.
9260         (rowBreakPoint): adjust
9261         (breakAgainOneRow): make it take a RowList::iterator as arg,
9262         adjust.
9263         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9264
9265         * bufferview_funcs.C (toggleAndShow): adjust
9266
9267 2003-03-30  John Levon  <levon@movementarian.org>
9268
9269         * Makefile.am:
9270         * BoostFormat.h:
9271         * boost-inst.C: moved to support
9272
9273         * several files: changes as a result
9274
9275 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9276
9277         * text2.C (LyXText): adjust.
9278         (init): adjust
9279         (removeRow): make it take a RowList::iterator as arg, adjust.
9280         (fullRebreak): adjust
9281         (deleteEmptyParagraphMechanism): adjust
9282         (clearPaint): adjust
9283         (postPaint): adjust
9284
9285         * text.C (top_y): adjust
9286         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9287         (breakAgain): make it take a RowList::iterator as arg, adjust.
9288         (breakParagraph): adjust
9289         (insertChar): adjust
9290         (backspace): adjust
9291
9292         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9293         need_break_row, and refresh_row.
9294
9295         * text3.C (dispatch): adjust
9296
9297         * text2.C (checkParagraph): adjust
9298         (setCursor): adjust
9299         (setCursorFromCoordinates): adjust
9300
9301         * text.C (top_y): adjust
9302         (workWidth): adjust
9303         (getRow): make it return a RowList::iterator, adjust
9304         (getRowNearY): make it return a RowList::iterator, adjust
9305
9306         * text2.C (init): adjust
9307         (insertRow): remove function
9308         (insertParagraph): adjust
9309         (redoParagraphs): adjust
9310         (fullRebreak): adjust
9311         (updateCounters): adjust
9312
9313         * text.C (top_y): rewrite to use RowList iterators.
9314         (top_y): adjust
9315         (setHeightOfRow): rewrite to sue RowList iterators.
9316         (appendParagraph): adjust
9317         (breakAgain): adjust
9318         (breakAgainOneRow): adjust
9319         (breakParagraph): adjust
9320         (getRow): adjust
9321         (getRowNearY): adjust, and remove commented code.
9322
9323         * lyxtext.h (firstRow): delete function
9324         (lastRow): delete function
9325         (rows): new function (const and non-const versions.)
9326         (insertRow): delete function
9327
9328         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9329
9330 2003-03-29  John Levon  <levon@movementarian.org>
9331
9332         * BufferView_pimpl.C: always update scrollbar top
9333         because pasting text when we're anchored could mean we
9334         miss an update altogether
9335
9336 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9337
9338         * text2.C (init): use rowlist_.end() and not 0.
9339         (insertRow): change to take a RowList::iterator as arg, adjust
9340         for this.
9341         (insertParagraph): change to take a RowList::iterator as arg,
9342         adjust for this.
9343         (redoParagraphs): remove some debug msgs.
9344
9345         * text.C (appendParagraph): change to take a RowList::iterator
9346         arg, adjust for this.
9347         (breakAgain): add an assert
9348         (breakAgainOneRow): ditto
9349
9350 2003-03-29  John Levon  <levon@movementarian.org>
9351
9352         * text2.C: do not clear selection after inc/decDepth
9353         (bug 550)
9354
9355 2003-03-29  John Levon  <levon@movementarian.org>
9356
9357         * BufferView.C:
9358         * buffer.C: fix broken strerrors according to Lars
9359
9360 2003-03-29  John Levon  <levon@movementarian.org>
9361
9362         * converters.C: more Alert cleanups
9363
9364 2003-03-29  John Levon  <levon@movementarian.org>
9365
9366         * bufferview_funcs.C: remove pointless Alert
9367
9368         * buffer.C: fix confusing error message when
9369         a template is chmoded 000
9370
9371 2003-03-29  John Levon  <levon@movementarian.org>
9372
9373         * BufferView.C:
9374         * BufferView.h:
9375         * BufferView_pimpl.C: Alert fixes
9376
9377         * Makefile.am:
9378         * tabular.C:
9379         * tabular-old.C: remove unused table compat reading
9380
9381 2003-03-29  John Levon  <levon@movementarian.org>
9382
9383         * BufferView.C:
9384         * buffer.C:
9385         * lyx_cb.h:
9386         * lyx_cb.C: more Alert cleanups
9387
9388         * lyxfunc.C: don't allow chktex if not latex document
9389
9390 2003-03-29  John Levon  <levon@movementarian.org>
9391
9392         * lyx_cb.C:
9393         * BufferView.C:
9394         * buffer.C: warnings pushed down from support/,
9395         kill err_alert
9396
9397 2003-03-29  John Levon  <levon@movementarian.org>
9398
9399         * lyxfunc.C: safety check for C-r (revert)
9400
9401 2003-03-29  John Levon  <levon@movementarian.org>
9402
9403         * bufferlist.h:
9404         * bufferlist.C: several UI fixes using Alert::prompt.
9405         Fix the pointless looping quit code. Fix stupid revert
9406         behaviour (bug 938)
9407
9408         * lyxvc.h:
9409         * lyxvc.C:
9410         * lyx_cb.C: use Alert::prompt
9411
9412         * lyx_main.C: remove a silly question
9413
9414         * lyxfunc.C: remove a couple of silly questions,
9415         use Alert::prompt
9416
9417 2003-03-28  John Levon  <levon@movementarian.org>
9418
9419         * text2.C: fix bug 974 (End on empty par)
9420
9421 2003-03-28  John Levon  <levon@movementarian.org>
9422
9423         * BufferView_pimpl.C:
9424         * LyXAction.C:
9425         * lfuns.h: remove do-nothing math greek lfuns
9426
9427 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9428
9429         * lyxgluelength.h (isValidGlueLength): add default arg on
9430         parameter 2. Remove default arg from friend in class.
9431
9432         * lyxlength.h (isValidLength): add default arg on parameter 2.
9433         Remove default arg from friend in class.
9434
9435         * text2.C (LyXText): adjust, initialize refresh_row.
9436         (init): adjust
9437         (removeRow): adjust
9438         (insertRow): adjust
9439         (insertParagraph): adjst
9440         (redoParagraphs): adjust
9441         (fullRebreak): adjust
9442         (updateCounters): adjust
9443         (deleteEmptyParagraphMechanism): first attempt at fixing a
9444         crashing bug.
9445
9446         * text.C (top_y): adjust
9447         (setHeightOfRow): adjust
9448         (getRow): adjust
9449         (getRowNearY): adjust
9450
9451         * lyxtext.h: include RowList.h
9452         (~LyXText): not needed anymore, deleted.
9453         (firstRow): modify for RowList
9454         (lastRow): new function
9455         Delete firstrow and lastrow class variables, add a Rowlist
9456         rowlist_ class variable.
9457
9458         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9459         paragraph is empty.
9460
9461         * RowList.C (insert): fix case where it == begin().
9462
9463 2003-03-26  Angus Leeming  <leeming@lyx.org>
9464
9465         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9466         the thesaurus dialog.
9467
9468 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9469
9470         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9471
9472         * RowList.[Ch]: new files
9473
9474         * ParagraphList.C (erase): handle the case where it == begin
9475         correctly.
9476
9477 2003-03-25  John Levon  <levon@movementarian.org>
9478
9479         * Makefile.am:
9480         * aspell_local.h:
9481         * aspell.C: add new aspell support
9482
9483         * lyxrc.h:
9484         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9485         have it accessible.
9486
9487 2003-03-25  Angus Leeming  <leeming@lyx.org>
9488
9489         * lfuns.h:
9490         * LyXAction.C (init): new LFUN_INSET_INSERT.
9491
9492         * BufferView_pimpl.C (dispatch): split out part of the
9493         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9494
9495         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9496         LFUN_INSET_APPLY.
9497
9498 2003-03-25  Angus Leeming  <leeming@lyx.org>
9499
9500         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9501
9502 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9503
9504         * text2.C:
9505         * text3.C: remove useless row->height(0)
9506
9507 2003-03-25  John Levon  <levon@movementarian.org>
9508
9509         * lyxtext.h:
9510         * text2.C:
9511         * text3.C: rename the refreshing stuff to better names
9512
9513 2003-03-24  John Levon  <levon@movementarian.org>
9514
9515         * BufferView_pimpl.h:
9516         * BufferView_pimpl.C: update layout choice on a mouse
9517         press/release
9518
9519 2003-03-23  John Levon  <levon@movementarian.org>
9520
9521         * Makefile.am: fix commandtags.h reference
9522
9523 2003-03-22  John Levon  <levon@movementarian.org>
9524
9525         * BufferView_pimpl.C:
9526         * lyxtext.h:
9527         * rowpainter.C:
9528         * rowpainter.h:
9529         * text.C:
9530         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9531
9532 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9533
9534         * lyxtext.h:
9535         * text.C: take the rtl methods out of line
9536
9537 2003-03-21 André Pönitz <poenitz@gmx.net>
9538
9539         * metricsinfo.[Ch]: new files containing structures to be passed around
9540         during the two-phase-drawing...
9541
9542 2003-03-21 André Pönitz <poenitz@gmx.net>
9543
9544         * lyxtextclass.C: read 'environment' tag.
9545
9546 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9547
9548         * text2.C (removeRow): fix bug 964
9549
9550 2003-03-20  John Levon  <levon@movementarian.org>
9551
9552         * rowpainter.C:
9553         * text.C:
9554         * text2.C: paint cleanups. Inset::update() dropped font
9555         parameter
9556
9557 2003-03-19  John Levon  <levon@movementarian.org>
9558
9559         * lyxfunc.C: only fitcursor/markDirty if available()
9560
9561 2003-03-19  John Levon  <levon@movementarian.org>
9562
9563         * commandtags.h: rename to ...
9564
9565         * lfuns.h: ... this, and renumber / cleanup
9566
9567 2003-03-19  John Levon  <levon@movementarian.org>
9568
9569         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9570         fit the cursor after an lfun
9571
9572         * BufferView.h:
9573         * BufferView.C:
9574         * BufferView_pimpl.h:
9575         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9576
9577         * LyXAction.C: layout-character should have ReadOnly
9578
9579         * ParagraphParameters.C:
9580         * buffer.C:
9581         * bufferview_funcs.C:
9582         * lyx_cb.C:
9583         * lyxfind.C:
9584         * lyxtext.h:
9585         * text.C:
9586         * text2.C:
9587         * text3.C:
9588         * undo_funcs.C: changes from above
9589
9590 2003-03-18  John Levon  <levon@movementarian.org>
9591
9592         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9593         remove it from update()
9594
9595         * lyxfunc.C: update layout choice after an lfun
9596
9597         * text3.C: remove extra updateLayoutChoice()s
9598
9599 2003-03-18  John Levon  <levon@movementarian.org>
9600
9601         * text.C: top_y change means full repaint, fix
9602         a drawing bug with cursor movement
9603
9604 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9605
9606         * lyxtext.h:
9607         * text.C:
9608         * text2.C: anchor row on setCursor
9609
9610 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9611
9612         * lyxtext.h: remove almost all mutable keywords
9613         * text.C:
9614         * text2.C:
9615         * text3.C: remove const keywords accordingly
9616
9617 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9618
9619         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9620         anon namespace
9621         (TeXEnvironment): ditto
9622         (TeXOnePar): ditto
9623
9624 2003-03-17  John Levon  <levon@movementarian.org>
9625
9626         * text.C (rowBreakPoint): remove attempt to fix displayed
9627         math insets inside a manual label
9628
9629 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9630
9631         * lyxtext.h: remove BufferView* as first arg from almost all class
9632         functions.
9633         * other files: adjust.
9634
9635 2003-03-17  John Levon  <levon@movementarian.org>
9636
9637         * lyxtext.h:
9638         * undo_funcs.C:
9639         * text2.C: more paint cleanups
9640
9641         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9642
9643         * rowpainter.h:
9644         * rowpainter.C: remove "smart" background painting code
9645
9646 2003-03-16  John Levon  <levon@movementarian.org>
9647
9648         * lyxtext.h:
9649         * text.C:
9650         * text2.C:
9651         * text3.C: add helper functions for setting refresh_row/y
9652
9653 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9654
9655         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9656         newline inset which *can* get inserted in the pass_thru layouts.
9657         This is primarily for literate documents.
9658
9659 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9660
9661         * buffer.C: increment LYX_FORMAT to 223
9662
9663 2003-03-14 André Pönitz <poenitz@gmx.net>
9664
9665         * textclass.h: prepare for environment handling, ws changes
9666         * lyxlayout.C: read latexheader and latexfooter tags
9667
9668 2003-03-14  John Levon  <levon@movementarian.org>
9669
9670         * text2.C: rewrite ::status() a bit
9671
9672 2003-03-13  John Levon  <levon@movementarian.org>
9673
9674         * lyxtext.h: add some docs
9675
9676 2003-03-13  John Levon  <levon@movementarian.org>
9677
9678         * lyxtext.h:
9679         * text.C:
9680         * text2.C:
9681         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9682
9683 2003-03-13  John Levon  <levon@movementarian.org>
9684
9685         * text3.C: fix appendix redrawing
9686
9687 2003-03-13  John Levon  <levon@movementarian.org>
9688
9689         * text.C (setHeightOfRow):
9690         * rowpainter.h:
9691         * rowpainter.C: make appendix mark have the text
9692           "Appendix" so the user knows what it is
9693
9694         * LColor.h:
9695         * LColor.C: s/appendixline/appendix/ from above
9696
9697 2003-03-13  John Levon  <levon@movementarian.org>
9698
9699         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9700
9701         * text.C: fix a getChar(pos) bug properly
9702
9703 2003-03-13  Angus Leeming  <leeming@lyx.org>
9704
9705         * commandtags.h:
9706         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9707         Probably only temporary. Let's see how things pan out.
9708
9709         * BufferView.C (unlockInset):
9710         * BufferView_pimpl.C (fitCursor):
9711         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9712
9713         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9714         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9715
9716         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9717         new functions that convert ParagraphParameters to and from a string.
9718
9719         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9720         BufferView::Pimpl's dispatch.
9721         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9722
9723 2003-03-13 André Pönitz <poenitz@gmx.net>
9724
9725         * lyxfunc.C:
9726         * text3.C:
9727         * factory.C: make it aware of InsetEnv
9728
9729 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9730
9731         * text2.C (setCursor): never ask for one past last
9732         (setCursor): add some debugging messages.
9733
9734         * text.C (singleWidth): never ask for one past last
9735         (singleWidth): ditto
9736         (leftMargin): ditto
9737         (rightMargin): ditto
9738         (rowBreakPoint): ditto
9739         (setHeightOfRow): ditto
9740         (prepareToPrint): ditto
9741
9742         * rowpainter.C (paintBackground): never ask for one past last
9743         (paintText): never ask for one past last
9744
9745         * paragraph_pimpl.C (getChar): make the assert stricter, never
9746         allow the one past last pos to be taken
9747
9748         * paragraph.C (getChar): ws changes only
9749
9750         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9751         (numberOfSeparators): ditto
9752         (numberOfHfills): ditto
9753
9754 2003-03-12  John Levon  <levon@movementarian.org>
9755
9756         * author.h:
9757         * author.C:
9758         * bufferparams.h:
9759         * bufferparams.C:
9760         * paragraph_funcs.C: fix per-buffer authorlists
9761
9762 2003-03-12  John Levon  <levon@movementarian.org>
9763
9764         * text.C: fix newline in right address
9765
9766 2003-03-12  Angus Leeming  <leeming@lyx.org>
9767
9768         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9769         duplicate those in LyXFunc::dispatch.
9770
9771         * commandtags.h:
9772         * LyXAction.C:
9773         * ToolbarDefaults.C:
9774         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9775         Add LFUN_FONTFREE_UPDATE.
9776
9777         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9778         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9779
9780         * bufferview_func.[Ch]: several new functions to facilliate
9781         transfer of data to and from the character dialog.
9782
9783 2003-03-12  John Levon  <levon@movementarian.org>
9784
9785         * buffer.C:
9786         * paragraph.h:
9787         * paragraph.C:
9788         * paragraph_funcs.C:
9789         * paragraph_pimpl.C:
9790         * sgml.C:
9791         * tabular.C:
9792         * text.C:
9793         * text3.C: remove META_NEWLINE in favour of an inset
9794
9795         * rowpainter.h:
9796         * rowpainter.C: remove paintNewline (done by inset)
9797
9798 2003-03-12  John Levon  <levon@movementarian.org>
9799
9800         * paragraph_pimpl.C: complain about bad getChar()s
9801         for a while at least
9802
9803 2003-03-12  John Levon  <levon@movementarian.org>
9804
9805         * buffer.h:
9806         * buffer.C: move paragraph read into a separate function,
9807         a little renaming to reflect that.
9808
9809         * bufferparams.h:
9810         * bufferparams.C: remove the author_ids map, not necessary now
9811
9812         * factory.h:
9813         * factory.C: moved Buffer::readInset to here
9814
9815         * paragraph_funcs.h:
9816         * paragraph_funcs.C: readParagraph free function moved from
9817         buffer.C
9818
9819         * tabular.C: name change
9820
9821 2003-03-12  John Levon  <levon@movementarian.org>
9822
9823         * buffer.C:
9824         * ParagraphParameters.C: move par params input to
9825         a read() method
9826
9827         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9828         behave like a normal read from the stream wrt reading
9829         a line vs. a \\token
9830
9831 2003-03-12  John Levon  <levon@movementarian.org>
9832
9833         * paragraph.C:
9834         * ParagraphParameters.h:
9835         * ParagraphParameters.C: move output code to a
9836         ::write() method
9837
9838 2003-03-12  John Levon  <levon@movementarian.org>
9839
9840         * BufferView.C (insertLyXFile):
9841         * buffer.h:
9842         * buffer.C:
9843         * tabular.C: use a parlist iterator for creating the
9844           document.
9845
9846 2003-03-12  John Levon  <levon@movementarian.org>
9847
9848         * buffer.C: make current_change static local not
9849           static file-scope
9850
9851 2003-03-12  John Levon  <levon@movementarian.org>
9852
9853         * buffer.C: fix insertStringAsLines for change tracking
9854
9855 2003-03-12  John Levon  <levon@movementarian.org>
9856
9857         * BufferView.C:
9858         * tabular.C:
9859         * buffer.h:
9860         * buffer.C:
9861         * bufferparams.h:
9862         * bufferparams.C: move author list into params. Rename some
9863           functions. Move the header reading into a separate token
9864           loop. Move the header token reading into BufferParams.
9865
9866 2003-03-12  John Levon  <levon@movementarian.org>
9867
9868         * changes.C: put debug inside lyxerr.debugging() checks
9869
9870 2003-03-11 André Pönitz <poenitz@gmx.net>
9871
9872         * factory.C: make it aware of InsetHFill
9873
9874 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9875
9876         * buffer.C (latexParagraphs): move function from here...
9877         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9878         args.
9879
9880 2003-03-10  Angus Leeming  <leeming@lyx.org>
9881
9882         * LyXAction.C (init): fix bug in poplating array with multiple entries
9883         with the same LFUN (spotted by JMarc).
9884
9885 2003-03-10  John Levon  <levon@movementarian.org>
9886
9887         * text.C:
9888         * text2.C: move getColumnNearX() near its
9889         only call site
9890
9891 2003-03-10  John Levon  <levon@movementarian.org>
9892
9893         * text.C: fix break before a minipage
9894
9895 2003-03-10  John Levon  <levon@movementarian.org>
9896
9897         * text.C: fix the last commit
9898
9899 2003-03-09  John Levon  <levon@movementarian.org>
9900
9901         * lyxtext.h:
9902         * text.C:
9903         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9904         bug 365 (don't break before insets unless needed). Don't
9905         return a value > last under any circumstances.
9906
9907 2003-03-09  Angus Leeming  <leeming@lyx.org>
9908
9909         * BufferView_pimpl.C (trackChanges, dispatch): call
9910         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9911
9912 2003-03-09  Angus Leeming  <leeming@lyx.org>
9913
9914         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9915         than Dialogs::showAboutlyx().
9916
9917 2003-03-09  Angus Leeming  <leeming@lyx.org>
9918
9919         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9920         than Dialogs::showTabularCreate().
9921
9922 2003-03-09  John Levon  <levon@movementarian.org>
9923
9924         * lyxtext.h:
9925         * text.C:
9926         * text2.C: 3rd arg to nextBreakPoint was always the same.
9927           Use references.
9928
9929 2003-03-08  John Levon  <levon@movementarian.org>
9930
9931         * lyxrow.C:
9932         * paragraph.C:
9933         * paragraph.h:
9934         * rowpainter.C:
9935         * text.C:
9936         * text2.C: Remove the "main" bit from the "main body"
9937           notion.
9938
9939 2003-03-08  John Levon  <levon@movementarian.org>
9940
9941         * text.C (leftMargin): The left margin of an empty
9942         manual label paragraph should not include the label width
9943         string length.
9944
9945         * text.C (prepareToPrint): don't attempt to measure hfills
9946         for empty manual label paragraphs - the answer should be 0
9947
9948 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9949
9950         * CutAndPaste.C: remove commented code and reindent.
9951
9952 2003-03-08  John Levon  <levon@movementarian.org>
9953
9954         * lyxfunc.h:
9955         * lyxfunc.C: move reloadBuffer()
9956
9957         * BufferView.h:
9958         * BufferView.C: to here
9959
9960         * lyxvc.C: add comment
9961
9962         * vc-backend.h:
9963         * vc-backend.C: call bv->reload() to avoid
9964           getStatus() check on MENURELOAD
9965
9966 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9967
9968         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9969         to an old format .dep file.
9970
9971 2003-03-07  Angus Leeming  <leeming@lyx.org>
9972
9973         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9974         when the LFUN_MOUSE_RELEASE should have been handled by
9975         inset->localDispatch.
9976
9977 2003-03-07  Angus Leeming  <leeming@lyx.org>
9978
9979         * BufferView_pimpl.C (dispatch):
9980         * LyXAction.C (init):
9981         * ToolbarDefaults.C (init):
9982         * commandtags.h:
9983         * lyxfunc.C (getStatus):
9984         remove LFUN_INSET_GRAPHICS.
9985
9986         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9987
9988 2003-03-07  Angus Leeming  <leeming@lyx.org>
9989
9990         * commandtags.h:
9991         * LyXAction.C (init):
9992         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9993
9994         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9995
9996         * commandtags.h:
9997         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9998
9999         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10000         localDispatch method LFUN_INSET_DIALOG_UPDATE.
10001
10002 2003-03-07  Angus Leeming  <leeming@lyx.org>
10003
10004         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10005         remove "ert".
10006
10007 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10008
10009         * ParagraphList.C (front): new function
10010         (back): implement
10011
10012 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10013
10014         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10015         and top_row_offset_. removed var first_y.
10016         * text.C (top_y):
10017         * text2.C (LyXText, removeRow):
10018         * text3.C:
10019         * BufferView_pimpl.C:
10020         use these methods instead of using first_y
10021
10022 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10023
10024         * text2.C (pasteSelection): adjust for checkPastePossible
10025
10026         * CutAndPaste.C: remove Paragraph * buf and replace with
10027         ParagraphList paragraphs.
10028         (DeleteBuffer): delete
10029         (cutSelection): change the tc type to textclass_type
10030         (copySelection): change the tc type to textclass_type
10031         (copySelection): adjust for ParagraphList
10032         (pasteSelection): change the tc type to textclass_type
10033         (pasteSelection): adjust for Paragraphlist
10034         (nrOfParagraphs): simplify for ParagraphList
10035         (checkPastePossible): simplify for ParagraphList
10036         (checkPastePossible): remove unused arg
10037
10038         * ParagraphList.C (insert): handle the case where there are no
10039         paragraphs yet.
10040
10041         * CutAndPaste.h: make CutAndPaste a namespace.
10042
10043         * text3.C (dispatch): adjust
10044
10045         * text.C (breakParagraph): add a ParagraphList as arg
10046
10047         * paragraph_funcs.C (breakParagraph): change to take a
10048         BufferParams and a ParagraphList as args.
10049         (breakParagraphConservative): ditto
10050         (mergeParagraph): ditto
10051         (TeXDeeper): add a ParagraphList arg
10052         (TeXEnvironment): ditto
10053         (TeXOnePar): ditto
10054
10055         * buffer.C (readLyXformat2): adjust
10056         (insertStringAsLines): adjust
10057         (latexParagraphs): adjust
10058
10059         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10060         (cutSelection): adjust
10061         (pasteSelection): adjust
10062
10063         * BufferView_pimpl.C (insertInset): adjust
10064
10065 2003-03-05  Angus Leeming  <leeming@lyx.org>
10066
10067         * commandtags.h:
10068         * LyXAction.C (init):
10069         * BufferView_pimpl.C (dispatch):
10070         * lyxfunc.C (getStatus):
10071         remove LFUN_CHILD_INSERT.
10072
10073         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10074
10075 2003-03-05  Angus Leeming  <leeming@lyx.org>
10076
10077         * commandtags.h:
10078         * LyXAction.C (init):
10079         * src/factory.C (createInset):
10080         * lyxfunc.C (getStatus):
10081         * text3.C (dispatch):
10082         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10083
10084         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10085
10086 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10087
10088         * ParagraphList.C (insert): handle insert right before end()
10089         (erase): fix cases where it can be first or last paragraph.
10090
10091 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10092
10093         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10094         Paragraph::next and Paragraph::previous
10095         (TeXOnePar): ditto
10096
10097         * text.C (breakParagraph): adjust
10098
10099         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10100         BufferParams& as arg.
10101         (breakParagraph): use ParagraphList::insert
10102         (breakParagraphConservative): take a Buffer* instead of a
10103         BufferParams& as arg.
10104         (breakParagraphConservative): use ParagraphList::insert.
10105
10106         * buffer.C (insertStringAsLines): un-const it
10107         (insertStringAsLines): adjust
10108
10109         * ParagraphList.C (insert): new function
10110
10111         * CutAndPaste.C (pasteSelection): adjust
10112
10113         * text.C (backspace): adjust
10114
10115         * tabular.C (SetMultiColumn): adjust
10116
10117         * CutAndPaste.C (cutSelection): adjust
10118         (pasteSelection): adjust
10119
10120         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10121         Buffer const * as arg
10122
10123         * ParagraphList.C (erase): new function
10124         * paragraph_funcs.C (mergeParagraph): use it
10125         (mergeParagraph): make it take a Buffer* instead of a
10126         BufferParams* as arg
10127
10128         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10129         as arg
10130         (breakParagraphConservative): ditto
10131
10132         * paragraph.h: remove the breakParagraph friend
10133
10134         * paragraph.C (eraseIntern): new function
10135         (setChange): new function
10136
10137         * paragraph_funcs.C (mergeParagraph): make it take a
10138         ParagraphList::iterator instead of a Paragraph *, adjust
10139         accordingly.
10140
10141         * paragraph.h: move an #endif so that the change tracking stuff
10142         also works in the NO_NEXT case.
10143
10144 2003-03-04  Angus Leeming  <leeming@lyx.org>
10145
10146         * commandtags.h:
10147         * LyXAction.C: new LFUN_INSET_MODIFY.
10148
10149         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10150         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10151
10152 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10153
10154         * several files: ws changes only
10155
10156         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10157         (TeXEnvironment): ditto
10158         (TeXDeeper): ditto
10159
10160         * buffer.C (makeLaTeXFile): adjust
10161         (latexParagraphs): make it take ParagraphList::iterator as args
10162
10163 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10164
10165         * buffer.C (latexParagraphs): adjust
10166
10167         * paragraph.C (TeXOnePar): move function...
10168         (optArgInset): move function...
10169         (TeXEnvironment): move function...
10170         * paragraph_pimpl.C (TeXDeeper): move function...
10171         * paragraph_funcs.C: ...here
10172
10173         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10174
10175 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10176
10177         * buffer.C (readInset): remove compability code for old Figure and
10178         InsetInfo insets
10179
10180 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10181
10182         * buffer.C: ws changes
10183         (readInset):
10184
10185         * BufferView_pimpl.C: ditto
10186         * author.C: ditto
10187         * buffer.h: ditto
10188         * bufferlist.h: ditto
10189         * changes.h: ditto
10190         * lyxfunc.C: ditto
10191
10192 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10193
10194         * converter.[Ch]: split into itself +
10195         * graph.[Ch]
10196         * format.[Ch]
10197         * Makefile.am: += graph.[Ch] + format.[Ch]
10198         * MenuBackend.C
10199         * buffer.C
10200         * exporter.C
10201         * importer.C
10202         * lyx_main.C
10203         * lyxfunc.C
10204         * lyxrc.C: added #include "format.h"
10205
10206 2003-02-27  Angus Leeming  <leeming@lyx.org>
10207
10208         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10209           a label.
10210
10211         * factory.C (createInset): add "label" to the factory.
10212
10213         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10214           string and do no more.
10215
10216 2003-02-27  Angus Leeming  <leeming@lyx.org>
10217
10218         * commandtags.h:
10219         * LyXAction.C (init):
10220         * factory.C (createInset):
10221         * BufferView_pimpl.C (dispatch):
10222           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10223
10224         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10225
10226         * lyxfunc.C (dispatch):
10227         * text3.C (dispatch): pass name to params2string.
10228
10229 2003-02-26  Angus Leeming  <leeming@lyx.org>
10230
10231         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10232           blocks together.
10233           Rearrange the ~includes. Strip out the unnecessary ones.
10234
10235         * factory.C (createInset): reformat.
10236           create new insets for the various LFUN_XYZ_APPLY lfuns.
10237
10238 2003-02-26  John Levon  <levon@movementarian.org>
10239
10240         * lyxrow.h:
10241         * lyxrow.C: add isParStart,isParEnd helpers
10242
10243         * paragraph.h: make isInserted/DeletedText take refs
10244
10245         * paragraph_funcs.h:
10246         * paragraph_funcs.C: remove #if 0'd code
10247
10248         * lyxtext.h:
10249         * text3.C:
10250         * text2.C:
10251         * text.C: use lyxrow helpers above.
10252           Move draw and paint routines to RowPainter.
10253           Make several methods use refs not pointers.
10254           Make backgroundColor() const.
10255           Add markChangeInDraw(), isInInset().
10256           Merge changeRegionCase into changeCase.
10257           Make workWidth() shouldn't-happen code into an Assert.
10258
10259         * rowpainter.h:
10260         * rowpainter.C: new class for painting a row.
10261
10262         * vspace.h:
10263         * vspace.C: make inPixels take a ref
10264
10265 2003-02-26  Angus Leeming  <leeming@lyx.org>
10266
10267         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10268         LFUN_REF_APPLY.
10269
10270 2003-02-25  John Levon  <levon@movementarian.org>
10271
10272         * ispell.C: give the forked command a more accurate name
10273
10274 2003-02-22  John Levon  <levon@movementarian.org>
10275
10276         * toc.h:
10277         * toc.C: make TocItem store an id not a Paragraph *
10278           (bug #913)
10279
10280 2003-02-21  Angus Leeming  <leeming@lyx.org>
10281
10282         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10283           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10284           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10285           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10286           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10287           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10288
10289         * BufferView_pimpl.C (dispatch):
10290         * LyXAction.C (init):
10291         * factory.C (createInset):
10292         * lyxfunc.C (getStatus, dispatch):
10293         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10294
10295 2003-02-21  Angus Leeming  <leeming@lyx.org>
10296
10297         * BufferView_pimpl.C (MenuInsertLyXFile):
10298         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10299         * lyxfunc.C (menuNew, open, doImport):
10300           no longer pass a LyXView & to fileDlg.
10301
10302 2003-02-21  Angus Leeming  <leeming@lyx.org>
10303
10304         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10305         * LyXAction.C: change, BIBKEY to BIBITEM.
10306         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10307         Change InsetBibKey to InsetBibitem.
10308         Change BIBKEY_CODE to BIBITEM_CODE.
10309         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10310         * factory.C: replace insetbib.h with insetbibitem.h.
10311         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10312         * paragraph.C: replace insetbib.h with insetbibitem.h.
10313         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10314         Change bibkey() to bibitem().
10315         * text.C: remove insetbib.h.
10316         * text2.C: replace insetbib.h with insetbibitem.h.
10317         change bibkey() to bibitem().
10318         * text3.C: remove insetbib.h.
10319         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10320
10321 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10322
10323         * lyxrc.C (output): enclose user email in quotes (in case there are
10324         several words)
10325
10326 2003-02-18  John Levon  <levon@movementarian.org>
10327
10328         * buffer.h: add std::
10329
10330 2003-02-17  John Levon  <levon@movementarian.org>
10331
10332         * SpellBase.h:
10333         * ispell.h:
10334         * ispell.C:
10335         * pspell.h:
10336         * pspell.C: reworking. Especially in ispell, a large
10337           number of clean ups and bug fixes.
10338
10339         * lyxfunc.C: fix revert to behave sensibly
10340
10341 2003-02-17 André Pönitz <poenitz@gmx.net>
10342
10343         * LyXAction.C:
10344         * commandtags.h: new LFUN_INSERT_BIBKEY
10345
10346         * layout.h:
10347         * lyxlayout.C:
10348         * buffer.C:
10349         * factory.C:
10350         * text.C:
10351         * text2.C:
10352         * text3.C:
10353         * paragraph.[Ch]:
10354         * paragraph_func.C: remove special bibkey handling
10355
10356 2003-02-17  John Levon  <levon@movementarian.org>
10357
10358         * text.C (Delete): fix case where delete at the end of
10359           the very first paragraph would not merge the pars
10360
10361 2003-02-17  John Levon  <levon@movementarian.org>
10362
10363         * lyxrow.C: fix lastPrintablePos()
10364
10365 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10366
10367         * bufferparams.C (writeLaTeX): add a std:here
10368
10369         * buffer.C: and remove a using directive there
10370
10371 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10372
10373         * buffer.C (makeLaTeXFile): move the code that generates the
10374           preamble...
10375
10376         * bufferparams.C (writeLaTeX): ... in this new method
10377
10378         * LaTeXFeatures.C (getEncodingSet): make const
10379           (getLanguages): make const
10380
10381         * MenuBackend.C (binding): returns the binding associated to this
10382           action
10383           (add): sets the status of each item by calling getStatus. Adds
10384           some intelligence.
10385           (read): add support for OptSubMenu
10386           (expand): remove extra separator at the end of expanded menu
10387
10388 2003-02-15  John Levon  <levon@movementarian.org>
10389
10390         * BufferView.C:
10391         * BufferView_pimpl.C:
10392         * bufferlist.h:
10393         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10394           inset code that had no actual effect. Remove unneeded status
10395           code.
10396
10397 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10398
10399         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10400           in preamble
10401
10402 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10403
10404         * text.C (drawLengthMarker): also draw an arrow marker for
10405           symbolic lengths (medskip...)
10406
10407 2003-02-14  John Levon  <levon@movementarian.org>
10408
10409         * tabular.h:
10410         * tabular.C: better method names
10411
10412 2003-02-14  John Levon  <levon@movementarian.org>
10413
10414         * BufferView_pimpl.C:
10415         * bufferlist.C:
10416         * buffer.C:
10417         * converter.C:
10418         * lyx_cb.C:
10419         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10420           it's a more accurate name. Remove some pointless uses.
10421
10422 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10423
10424         * text2.C (LyXText): change order of initilizers to shut off
10425           warnings
10426
10427 2003-02-14  John Levon  <levon@movementarian.org>
10428
10429         * buffer.C: use ParIterator for getParFromID()
10430
10431         * paragraph.h:
10432         * paragraph.C:
10433         * paragraph_pimpl.h:
10434         * paragraph_pimpl.C: remove unused getParFromID()
10435
10436 2003-02-14  John Levon  <levon@movementarian.org>
10437
10438         * buffer.C: remove some very old #if 0'd parse code
10439
10440 2003-02-13  John Levon  <levon@movementarian.org>
10441
10442         * text.h:
10443         * text.C:
10444         * text2.C: move hfillExpansion(), numberOfSeparators(),
10445           rowLast(), rowLastPrintable(), numberofHfills(),
10446           numberOfLabelHfills() ...
10447
10448         * lyxrow.h:
10449         * lyxrow.C: ... to member functions here.
10450
10451         * paragraph.h:
10452         * paragraph.C:
10453         * lyxtext.h:
10454         * text.C: remove LyXText::beginningOfMainBody(), and call
10455           p->beginningOfMainBody() directly. Move the check for
10456           LABEL_MANUAL into the latter.
10457
10458         * text.h:
10459         * text.C:
10460         * text2.C:
10461         * vspace.C:
10462         * BufferView.h:
10463         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10464
10465         * text.h:
10466         * text.C:
10467         * text2.C:
10468         * text3.C:
10469         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10470           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10471
10472 2003-02-13  John Levon  <levon@movementarian.org>
10473
10474         * CutAndPaste.C: remove debug
10475
10476 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10477
10478         * paragraph.C (asString): remove two unused variables
10479
10480         * lyxtextclass.C (readTitleType):
10481           (Read):
10482           (LyXTextClass): handle new members titletype_ and titlename_
10483
10484         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10485
10486 2003-02-09  John Levon  <levon@movementarian.org>
10487
10488         * buffer.h:
10489         * buffer.C: replace hand-coded list with a map for the dep clean
10490
10491 2003-02-08  John Levon  <levon@movementarian.org>
10492
10493         * LaTeX.C: consolidate code into showRunMessage() helper
10494
10495 2003-02-08  John Levon  <levon@movementarian.org>
10496
10497         * lyxfind.C:
10498         * lyxtext.h:
10499         * text2.C:
10500         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10501           and pass the size in explicitly
10502
10503         * BufferView_pimpl.h:
10504         * BufferView_pimpl.C:
10505         * BufferView.h:
10506         * BufferView.C: add getCurrentChange()
10507
10508         * BufferView_pimpl.h:
10509         * BufferView_pimpl.C: handle change lfuns
10510
10511         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10512           for changes. Mark pasted paragraphs as new.
10513
10514         * support/lyxtime.h:
10515         * support/lyxtime.C:
10516         * DepTable.C: abstract time_t as lyx::time_type
10517
10518         * LColor.h:
10519         * LColor.C: add colours for new text, deleted text, changebars
10520
10521         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10522           package use "usenames" option.
10523
10524         * commandtags.h:
10525         * lyxfunc.C:
10526         * LyXAction.C: add change lfuns
10527
10528         * Makefile.am:
10529         * author.h:
10530         * author.C: author handling
10531
10532         * buffer.h:
10533         * buffer.C: add a per-buffer author list, with first entry as
10534           current author. Handle new .lyx tokens for change tracking. Output
10535           author list to .lyx file. Output dvipost stuff to .tex preamble.
10536           Bump lyx format to 222.
10537
10538         * bufferlist.h:
10539         * bufferlist.C: add setCurrentAuthor() to reset current author details
10540           in all buffers.
10541
10542         * bufferparams.h:
10543         * bufferparams.C: add param for tracking
10544
10545         * bufferview_funcs.C: output change info in minibuffer
10546
10547         * Makefile.am:
10548         * changes.h:
10549         * changes.C: add change-tracking structure
10550
10551         * debug.h:
10552         * debug.C: add CHANGES debug flag
10553
10554         * lyxfind.h:
10555         * lyxfind.C: add code for finding the next change piece
10556
10557         * lyxrc.h:
10558         * lyxrc.C: add user_name and user_email
10559
10560         * lyxrow.h:
10561         * lyxrow.C: add a metric for the top of the text line
10562
10563         * lyxtext.h:
10564         * text.C: implement accept/rejectChange()
10565
10566         * lyxtext.h:
10567         * text.C: paint changebars. Paint new/deleted text in the chosen
10568         colours. Strike through deleted text.
10569
10570         * paragraph.h:
10571         * paragraph.C:
10572         * paragraph_pimpl.h:
10573         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10574           in the current change to the insert functions. Rework erase to
10575           mark text as deleted, adding an eraseIntern() and a range-based
10576           erase(). Implement per-paragraph change lookup and
10577           accept/reject.
10578
10579         * paragraph_funcs.C: Fixup paste for change tracking.
10580
10581         * tabular.C: mark added row/columns as new.
10582
10583         * text.C: fix rowLast() to never return -1. Don't allow
10584           spellchecking of deleted text. Track transpose changes. Don't
10585           allow paragraph break or merge where appropriate.
10586
10587         * text2.C: leave cursor at end of selection after a cut.
10588
10589 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10590
10591         * text.C (getLengthMarkerHeight):
10592         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10593         visible on screen too.
10594
10595 2003-02-07  John Levon  <levon@movementarian.org>
10596
10597         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10598
10599 2003-02-05  Angus Leeming  <leeming@lyx.org>
10600
10601         * lyxserver.C (read_ready): revert my patch of 11 September last year
10602         as it sends PC cpu through the roof. Presumably this means that
10603         the lyxserver will no longer run on an Alpha...
10604
10605 2003-01-30  Angus Leeming  <leeming@lyx.org>
10606
10607         * factory.C (createInset): create an InsetCommandParam of type "index"
10608         and use it to 'do the right thing'.
10609
10610         * text2.C (getStringToIndex): ensure that cursor position is always
10611         reset to the reset_cursor position.
10612
10613 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10614
10615         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10616         disabled.
10617
10618 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10619
10620         * bufferview.C:
10621         * lyxcb.C:
10622         * lyxfunc.C: Output messages with identical spelling, punctuation,
10623         and spaces
10624
10625 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10626
10627         * MenuBackend.C (expandFormats): List only viewable export formats
10628         in "View" menu
10629
10630         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10631         message
10632
10633         * lyxfunc.C (getStatus): Make sure that formats other than
10634         "fax" can also be disabled
10635
10636 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10637
10638         * text3.C (dispatch): put the lfuns that insert insets in 3
10639         groups, and call doInsertInset with appropriate arguments.
10640         (doInsertInset): new function, that creates an inset and inserts
10641         it according to some boolean parameters.
10642
10643 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10644
10645         * buffer.C (readFile): remember to pass on 'par' when calling
10646         readFile recursively.
10647
10648 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10649
10650         * MenuBackend.C (expandFormats): add "..." to import formats.
10651
10652 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10653
10654         * paragraph.C (asString): Remove XForms RTL hacks.
10655
10656 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10657         * buffer.C: fix typo
10658
10659 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10660
10661         * Makefile.am (LIBS): delete var
10662         (lyx_LDADD): add @LIBS@ here instead.
10663
10664 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10665
10666         * Clarify the meaning of "wheel mouse jump"
10667
10668 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10669
10670         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10671         tabular in a float
10672
10673 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10674
10675         * importer.C (Loaders): do not preallocate 3 elements in the
10676         vector, since one ends up with 6 elements otherwise
10677
10678 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10679
10680         * DepTable.C (write): write the file name as last element of the
10681         .dep file (because it may contain spaces)
10682         (read): read info in the right order
10683
10684 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10685
10686         * paragraph_pimpl.C (simpleTeXBlanks):
10687         (simpleTeXSpecialChars):
10688         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10689
10690         * tabular.C (latex): add some missing case statements. Reindent.
10691
10692         * MenuBackend.C (expandToc): remove unused variable.
10693
10694 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10695
10696         * LColor.C:
10697         * LaTeX.C:
10698         * LyXAction.C:
10699         * MenuBackend.C:
10700         * buffer.C:
10701         * exporter.C:
10702         * lyxfunc.C:
10703         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10704         and the like.
10705
10706 2003-01-05  John Levon  <levon@movementarian.org>
10707
10708         * BufferView.h:
10709         * BufferView.C: add getEncoding()
10710
10711         * kbsequence.h:
10712         * kbsequence.C: do not store last keypress
10713
10714         * lyxfunc.h:
10715         * lyxfunc.C: store last keypress here instead. Pass encoding
10716           to getISOEncoded()
10717
10718 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10719
10720         * lyx_main.C (init): remove annoying error message when following
10721         symbolic links (bug #780)
10722
10723 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10724
10725         * text.C (insertChar):
10726         * lyxrc.C (getDescription): remove extra spaces
10727
10728 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10729
10730         * lyxrc.C (getDescription): remove extra spaces
10731
10732 2002-12-20  John Levon  <levon@movementarian.org>
10733
10734         * text3.C: hack fix for page up/down across tall rows
10735
10736 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10737
10738         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10739         not been invoked
10740
10741 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10742
10743         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10744         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10745         thesaurus is not compiled in
10746
10747 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10748
10749         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10750
10751 2002-12-16  Angus Leeming  <leeming@lyx.org>
10752
10753         * lyxrc.[Ch]:
10754         * lyx_main.C (init): remove override_x_deadkeys stuff.
10755
10756 2002-12-12  John Levon  <levon@movementarian.org>
10757
10758         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10759           insert. Only remove shift modifier under strict
10760           circumstances.
10761
10762 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10763
10764         * MenuBackend.C (expandToc): fix crash.
10765
10766 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10767
10768         * MenuBackend.C (expandToc): gettext on float names.
10769
10770 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10771
10772         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10773         implement bool empty() [bug 490]
10774
10775 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10776
10777         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10778
10779 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10780
10781         * several files: ws changes
10782
10783 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10784
10785         * text2.C (setCounter): clean up a bit, use boost.format.
10786         (updateCounters): initialize par upon declaration.
10787
10788         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10789         if the layout exists. We do not just store the layout any more.
10790         (SwitchLayoutsBetweenClasses): use boost.format
10791
10792 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10793
10794         * converter.C (convert): if from and to files are the same, use a
10795         temporary files as intermediary
10796
10797 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10798
10799         * commandtags.h:
10800         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10801
10802 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10803
10804         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10805
10806 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10807
10808         * tabular.C (asciiPrintCell): use string(size, char) instead of
10809         explicit loop.
10810
10811         * sgml.C (openTag): fix order of arguments to string constructor
10812         (closeTag): ditto
10813
10814         * lyxfunc.C (dispatch): use boost.format
10815
10816         * lots of files: change "c" -> 'c'
10817
10818 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10819
10820         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10821
10822 2002-11-25  Angus Leeming  <leeming@lyx.org>
10823
10824         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10825
10826         * lyx_main.C (init): compile fix.
10827
10828 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10829
10830         * lyx_cb.C (start): boost.formatify
10831         do not include <iostream>
10832
10833         * lengthcommon.C: ws only
10834
10835         * boost-inst.C,BoostFormat.h: add more explict instantations
10836
10837 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10838
10839         * lots of files: handle USE_BOOST_FORMAT
10840
10841 2002-11-21  John Levon  <levon@movementarian.org>
10842
10843         * pspell.C: fix compile
10844
10845 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10846
10847         * lyxfunc.C (dispatch): use boost::format
10848         (open): ditto
10849         (doImport): ditto
10850
10851         * lyxfont.C (stateText): use boost::format
10852
10853         * lyx_main.C (LyX): use boost::format
10854         (init): ditto
10855         (queryUserLyXDir): ditto
10856         (readRcFile): ditto
10857         (parse_dbg): ditto
10858         (typedef boost::function): use the recommened syntax.
10859
10860         * importer.C (Import): use boost::format
10861
10862         * debug.C (showLevel): use boost::format
10863
10864         * converter.C (view): use boost::format
10865         (convert): ditto
10866         (move): ditto
10867         (scanLog): ditto
10868
10869         * bufferview_funcs.C (currentState): use boost::format
10870
10871         * bufferlist.C (emergencyWrite): use boost::format
10872
10873         * buffer.C (readLyXformat2): use boost::format
10874         (parseSingleLyXformat2Token): ditto
10875
10876         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10877
10878         * LaTeX.C (run): use boost::format
10879
10880         * Chktex.C (scanLogFile): use boost::format
10881
10882         * BufferView_pimpl.C (savePosition): use boost::format
10883         (restorePosition): ditto
10884         (MenuInsertLyXFile): ditto
10885
10886         * BoostFormat.h: help file for explicit instation.
10887
10888 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10889
10890         * tabular.C (latex): Support for block alignment in fixed width
10891         columns.
10892
10893 2002-11-17  John Levon  <levon@movementarian.org>
10894
10895         * BufferView_pimpl.C:
10896         * lyx_cb.C:
10897         * lyxfunc.C: split filedialog into open/save
10898
10899 2002-11-08  Juergen Vigna  <jug@sad.it>
10900
10901         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10902         by my last patch (hopefully).
10903
10904 2002-11-08  John Levon  <levon@movementarian.org>
10905
10906         * iterators.h:
10907         * iterators.C:
10908         * buffer.h:
10909         * buffer.C:
10910         * paragraph.h:
10911         * paragraph.C:
10912         * toc.h:
10913         * toc.C: ParConstIterator, and use it (from Lars)
10914
10915 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10916
10917         * lyxtextclass.[Ch]: revise and add doxygen comments
10918
10919 2002-11-07  John Levon  <levon@movementarian.org>
10920
10921         * text.C: fix progress value for spellchecker
10922
10923         * toc.C: fix navigate menu for insetwrap inside minipage
10924
10925         * paragraph_funcs.C: added FIXME for suspect code
10926
10927 2002-11-07  John Levon  <levon@movementarian.org>
10928
10929         * BufferView_pimpl.C: fix redrawing of insets
10930           on buffer switch
10931
10932 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10933
10934         * text2.C (updateCounters): fix bug 668
10935
10936 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10937
10938         * text3.C (dispatch): Do not make the buffer dirty when moving the
10939         cursor.
10940
10941 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10942
10943         * vc-backend.C: STRCONV
10944         (scanMaster): ditto
10945
10946         * text2.C (setCounter): STRCONV
10947
10948         * paragraph.C (asString): STRCONV
10949
10950         * lyxlength.C (asString): STRCONV
10951         (asLatexString): ditto
10952
10953         * lyxgluelength.C (asString): STRCONV
10954         (asLatexString): ditto
10955
10956         * lyxfunc.C (dispatch): STRCONV
10957         (open): ditto
10958
10959         * lyxfont.C (stateText): STRCONV
10960
10961         * importer.C (Import): STRCONV
10962
10963         * counters.C (labelItem): STRCONV
10964         (numberLabel): ditto
10965         (numberLabel): remove unused ostringstream o
10966
10967         * chset.C: STRCONV
10968         (loadFile): ditto
10969
10970         * bufferview_funcs.C (currentState): STRCONV
10971
10972         * buffer.C (readFile): STRCONV
10973         (asciiParagraph): ditto
10974         (makeLaTeXFile): ditto
10975
10976         * Spacing.C (writeEnvirBegin): STRCONV
10977
10978         * LaTeXFeatures.C (getLanguages): STRCONV
10979         (getPackages): ditto
10980         (getMacros): ditto
10981         (getBabelOptions): ditto
10982         (getTClassPreamble): ditto
10983         (getLyXSGMLEntities): ditto
10984         (getIncludedFiles): ditto
10985
10986         * LaTeX.C: STRCONV
10987         (run): ditto
10988         (scanAuxFile): ditto
10989         (deplog): ditto
10990
10991         * LString.h: add the STRCONV macros
10992
10993         * BufferView_pimpl.C (savePosition): STRCONV
10994         (restorePosition): ditto
10995         (MenuInsertLyXFile): ditto
10996
10997         * vc-backend.C (scanMaster): change from submatch[...] to
10998         submatch.str(...)
10999
11000         * funcrequest.C: include config.h
11001
11002         * factory.C: include config.h
11003
11004         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11005
11006         * box.C: include config.h
11007
11008         * LaTeX.C (scanAuxFile): change from submatch[...] to
11009         submatch.str(...)
11010         (deplog): ditto
11011
11012 2002-10-25  Angus Leeming  <leeming@lyx.org>
11013
11014         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11015
11016         * ispell.[Ch] (setError): new method.
11017         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11018         Use setError() insetead of goto END.
11019
11020         * lyx_cb.C (AutoSave): move out child process into new class
11021         AutoSaveBuffer.
11022
11023 2002-10-30  John Levon  <levon@movementarian.org>
11024
11025         * text3.C: make start appendix undoable
11026
11027 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11028
11029         * lyxlength.C (inPixels): Fix returned value.
11030
11031         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11032         environment.
11033
11034 2002-10-24  Angus Leeming  <leeming@lyx.org>
11035
11036         * lyxgluelength.h: no need to forward declare BufferParams
11037         or BufferView, so don't.
11038
11039 2002-10-21  John Levon  <levon@movementarian.org>
11040
11041         * BufferView.C: menuUndo ->undo, redo
11042
11043         * BufferView.h: document, remove dead, make some methods private
11044
11045         * paragraph_funcs.h:
11046         * paragraph_funcs.C:
11047         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11048
11049         * buffer.h:
11050         * buffer.C:
11051         * sgml.h:
11052         * sgml.C: move sgml open/close tag into sgml.C
11053
11054         * bufferview_funcs.h: unused prototype
11055
11056         * lyxfunc.h:
11057         * lyxfunc.C: remove unused
11058
11059         * lyxtext.h:
11060         * text.C: remove unused
11061
11062 2002-10-21  John Levon  <levon@movementarian.org>
11063
11064         * BufferView.h:
11065         * BufferView.C:
11066         * BufferView_pimpl.h:
11067         * BufferView_pimpl.C: fix mouse wheel handling based on
11068           patch from Darren Freeman
11069
11070 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11071
11072         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11073
11074 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11075
11076         * lyxlength.C (inPixels): Fix hanfling of negative length.
11077         Fix LyXLength::MU case.
11078
11079 2002-10-16  John Levon  <levon@movementarian.org>
11080
11081         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11082
11083 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11084
11085         * converter.C (view): add support for $$i (file name) and $$p
11086         (file path) for the viewer command. If $$i is not specified, then
11087         it is appended to the command (for compatibility with old syntax)
11088
11089 2002-10-14  Juergen Vigna  <jug@sad.it>
11090
11091         * undo_funcs.C (textHandleUndo): alter the order in which the
11092         new undopar is added to the LyXText, as we have to set first
11093         the right prev/next and then add it as otherwise the rebuild of
11094         LyXText is not correct. Also reset the cursor to the right paragraph,
11095         with this IMO we could remove the hack in "redoParagraphs()".
11096
11097 2002-10-09  Angus Leeming  <leeming@lyx.org>
11098
11099         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11100         to turn off an optimisation if a new inset is to be inserted.
11101
11102 2002-10-11 André Pönitz <poenitz@gmx.net>
11103
11104         * lyxtext.h: make some functions public to allow access
11105         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11106
11107 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11108
11109         * text3.C (dispatch): when changing layout, avoid an infinite loop
11110         [bug #652]
11111
11112 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11113
11114         * lyxrc.C (read): treat a viewer or converter command of "none" as
11115         if it were empty.
11116
11117         * MenuBackend.C (expandFormats): for an update, also allow the
11118         formats that are not viewable
11119
11120         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11121         script if it is newer than the lyxrc.defaults in user directory
11122
11123 2002-10-07 André Pönitz <poenitz@gmx.net>
11124
11125         * text.C: Vitaly Lipatov's small i18n fix
11126
11127 2002-09-25  Angus Leeming  <leeming@lyx.org>
11128
11129         * ispell.h: doxygen fix.
11130
11131 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11132
11133         * buffer.h (readFile): Add a new argument to the method, to allow
11134         reading of old-format templates.
11135
11136 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11137
11138         * toc.C (getTocList): Get TOC from InsetWrap.
11139
11140 2002-09-16  John Levon  <levon@movementarian.org>
11141
11142         * lyxfunc.C: check tabular for cut/copy too
11143
11144 2002-09-12  John Levon  <levon@movementarian.org>
11145
11146         * LyXAction.C: tidy
11147
11148         * factory.h:
11149         * factory.C: add header
11150
11151         * paragraph_funcs.h:
11152         * paragraph_funcs.C: cleanup
11153
11154 2002-09-11  John Levon  <levon@movementarian.org>
11155
11156         * PrinterParams.h: odd/even default to true
11157
11158 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11159
11160         * PrinterParams.h: update printer parameters for new xforms dialog
11161
11162 2002-09-11  Angus Leeming  <leeming@lyx.org>
11163
11164         * lyxserver.C (read_ready): re-write to make it more transparent
11165         and to make it work in coherent fashion under Tru64 Unix.
11166
11167 2002-09-11  André Pönitz <poenitz@gmx.net>
11168
11169         * commandtags.h:
11170         * LyXAction.C:
11171         * text3.C: implement LFUN_WORDSEL
11172
11173 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11174
11175         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11176         make floatlist_ a boost::shared_ptr<FloatList>
11177
11178         * lyxtextclass.C: include FloatList.h
11179         (LyXTextClass): initialize floatlist_
11180         (TextClassTags): add TC_NOFLOAT
11181         (Read): match "nofloat" to TC_NOFLOAT and use it.
11182         (readFloat): modify call to floatlist_
11183         (floats): ditto
11184         (floats): ditto
11185
11186         * FloatList.[Ch] (FloatList): remove commented out float
11187         initialization.
11188         (erase): new function
11189
11190 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11191
11192         * MenuBackend.C (expandToc): fix crash when there is no document
11193         open
11194
11195 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11196
11197         * many files: Add insetwrap.
11198
11199 2002-09-09  John Levon  <levon@movementarian.org>
11200
11201         * text2.C: remove confusing and awkward depth wraparound
11202
11203 2002-09-09  John Levon  <levon@movementarian.org>
11204
11205         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11206
11207         * buffer.h:
11208         * buffer.C: remove getIncludeonlyList()
11209
11210         * paragraph.C:
11211         * lyxfunc.C: remove headers
11212
11213 2002-09-09  Juergen Vigna  <jug@sad.it>
11214
11215         * text.C (getColumnNearX): fix form Michael this is most
11216         probably a cut&paste bug.
11217
11218 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11219
11220         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11221
11222         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11223         references, ws changes.
11224
11225         * text2.C (init): update counters after init
11226         (insertParagraph): no need to set counter on idividual paragraphs.
11227         (setCounter): access the counters object in the textclass object
11228         on in the buffer object.
11229         (updateCounters): ditto
11230
11231         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11232         shared_ptr<Counters> to avoid loading counters.h in all
11233         compilation units.
11234         (LyXTextClass): initialize ctrs_
11235         (TextClassTags): add TC_COUNTER, and ...
11236         (Read): use it here.
11237         (CounterTags): new tags
11238         (readCounter): new function
11239         (counters): new funtion
11240         (defaultLayoutName): return a const reference
11241
11242         * counters.C (Counters): remove contructor
11243         (newCounter): remove a couple of unneeded statements.
11244         (newCounter): simplify a bit.
11245         (numberLabel): some small formatting changes.
11246
11247         * buffer.[Ch]: remove all traces of counters, move the Counters
11248         object to the LyXTextClass.
11249
11250 2002-09-06  Alain Castera  <castera@in2p3.fr>
11251
11252         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11253         package to set the horizontal alignment on fixed width columns.
11254
11255         * lyx_sty.C:
11256         * lyx_sty.h: added tabularnewline macro def.
11257
11258         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11259
11260 2002-09-06  John Levon  <levon@movementarian.org>
11261
11262         * LyXAction.C: tooltips for sub/superscript
11263
11264         * MenuBackend.C: a bit more verbose
11265
11266         * lyxfunc.C: tiny clean
11267
11268         * undo_funcs.C: document undo_frozen
11269
11270 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11271
11272         * counters.C (Counters): add missing algorithm counter.
11273
11274         * text2.C (setCounter): lookup the counter with layouts latexname
11275         instead of by section number.
11276         (setCounter): use a hackish way to lookup the correct enum
11277         counter.
11278         a float name->type change
11279         reset enum couners with counter name directly instead of depth value.
11280
11281         * counters.C (Counters): remove the push_backs, change to use the
11282         float type not the float name.
11283         (labelItem): remove unused string, float name->type change
11284
11285         * counters.h: don't include vector, loose the enums and sects vectors
11286
11287 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11288
11289         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11290         (Read): add float->TC_FLOAT to textclassTags
11291         (Read): and handle it in the switch
11292         (readFloat): new function
11293
11294         * FloatList.C (FloatList): comment out the hardcoded float
11295         definitions.
11296
11297         * lyxlayout.h: ws change.
11298
11299 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11300
11301         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11302
11303 2002-09-03  Angus Leeming  <leeming@lyx.org>
11304
11305         * BufferView_pimpl.h: qualified name is not allowed in member
11306         declaration: WorkArea & Pimpl::workarea() const;
11307
11308         * factory.C: added using std::endl directive.
11309
11310         * text3.C: added using std::find and std::vector directives.
11311
11312 2002-08-29  André Pönitz <poenitz@gmx.net>
11313
11314         * lyxtext.h:
11315         * text2.C: remove unused member number_of_rows
11316
11317         * Makefile.am:
11318         * BufferView2.C: remove file, move contents to...
11319         * BufferView.C: ... here
11320
11321         * BufferView_pimpl.C:
11322         * factory.C: move more inset creation to factory
11323
11324         * vspace.C: avoid direct usage of LyXText, ws changes
11325
11326         * BufferView.[Ch]:
11327                 don't provide direct access to WorkArea, use two simple
11328                 acessors haveSelction() and workHeight() instead
11329
11330
11331 2002-08-29  John Levon  <levon@movementarian.org>
11332
11333         * BufferView_pimpl.C (dispatch): do not continue when
11334           no buffer
11335
11336 2002-08-28  André Pönitz <poenitz@gmx.net>
11337
11338         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11339
11340         * BufferView.h:
11341         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11342
11343 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11344
11345         * buffer.C: increment LYX_FORMAT to 221
11346
11347         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11348         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11349
11350         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11351
11352         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11353
11354 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11355
11356         * factory.C (createInset): use LyXTextClass::floats
11357
11358         * MenuBackend.C (expandFloatListInsert):
11359         (expandFloatInsert):
11360         (expandToc):
11361
11362         * text2.C (setCounter):
11363
11364         * LaTeXFeatures.C (useFloat):
11365         (getFloatDefinitions):
11366
11367         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11368
11369         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11370         floatlist_, with accessor floats().
11371
11372         * FloatList.h: remove global FloatList
11373
11374 2002-08-26  André Pönitz <poenitz@gmx.net>
11375
11376         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11377
11378         * BufferView.h:
11379         * BufferView2.C:
11380         * BufferView_pimpl.C:
11381         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11382
11383 2002-08-25  John Levon  <levon@movementarian.org>
11384
11385         * LyXAction.C: fix margin note description
11386
11387 2002-08-24  John Levon  <levon@movementarian.org>
11388
11389         * buffer.C:
11390         * bufferlist.C:
11391         * bufferview_funcs.C:
11392         * lyxfont.C:
11393         * undo_funcs.C: cleanups
11394
11395         * lyxfunc.C: disable CUT/COPY when no selection
11396
11397 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11398
11399         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11400         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11401
11402         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11403         Add backward compatibility to "mono", "gray" and "no".
11404
11405 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11406
11407         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11408         (and file_format >= 200).
11409
11410 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11411
11412         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11413
11414 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11415
11416         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11417
11418 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11419
11420         * BufferView_pimpl.C:
11421         * LyXAction.C:
11422         * buffer.C:
11423         * commandtags.h:
11424         * lyxfunc.C:
11425         * paragraph.[Ch]:
11426         * text2.C:
11427         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11428         inset and code to make it  work with the paragraph code. The inset
11429         can be anywhere in the paragraph, but will only do the expected
11430         thing in LaTeX if the layout file contains the parameter line
11431                         OptionalArgs    1
11432         (or more generally, a nonzero value) for that layout.
11433
11434 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11435
11436         * paragraph.h: remove the declaration of undefined counters class
11437         function.
11438
11439 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11440
11441         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11442         Dr. Richard Hawkins.
11443
11444 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11445
11446         * paragraph_funcs.h: remove some unneeded includes
11447
11448         * text.C (backspace): pasteParagraph now in global scipe
11449
11450         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11451         (pasteSelection): ditto
11452
11453         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11454         * paragraph_funcs.C (pasteParagraph): ... here
11455
11456 2002-08-20  André Pönitz <poenitz@gmx.net>
11457
11458         * commandtags.h: new LFUNs for swapping/copying table row/colums
11459
11460         * LyXAction.C:
11461         * lyxfunc.C: support for new lfuns
11462
11463 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11464
11465         * tabular.C:
11466         * buffer.[Ch]: remove NO_COMPABILITY stuff
11467
11468 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11469
11470         * boost.C (throw_exception): new file, with helper function for
11471         boost compiled without exceptions.
11472
11473         * paragraph.h:
11474         * lyxlength.C:
11475         * buffer.C:
11476         * ParameterStruct.h:
11477         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11478
11479         * bufferlist.C (emergencyWriteAll): use boost bind
11480
11481         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11482
11483         * text.C: include paragraph_funcs.h
11484         (breakParagraph): breakParagraph is now in global scope
11485
11486         * paragraph_funcs.[Ch]: new files
11487
11488         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11489         global scope
11490
11491         * buffer.C: include paragraph_funcs.h
11492         (insertStringAsLines): breakParagraph is now in global scope
11493
11494         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11495         paragraph_funcs.C
11496
11497         * CutAndPaste.C: include paragraph_funcs.h
11498         (cutSelection): breakParagraphConservative is now in global scope
11499         (pasteSelection): ditto
11500
11501         * buffer.h: declare oprator== and operator!= for
11502         Buffer::inset_iterator
11503
11504         * bufferlist.C (emergencyWrite): don't use fmt(...)
11505
11506         * text3.C: add using std::endl
11507
11508         * BufferView.C (moveCursorUpdate): remove default arg
11509
11510 2002-08-20  André Pönitz <poenitz@gmx.net>
11511
11512         * buffer.[Ch]: move inline functions to .C
11513
11514         * BufferView2.C:
11515         * BufferView_pimpl.C:
11516         * text.C:
11517         * buffer.[Ch]: use improved inset_iterator
11518
11519         * buffer.C:
11520         * paragraph.[Ch]: write one paragraph at a time
11521
11522 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11523
11524         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11525         style if style is not specified.
11526
11527 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11528
11529         * text2.C (setCounter): when searching for right label for a
11530         caption, make sure to recurse to parent insets (so that a caption
11531         in a minipage in a figure float works) (bug #568)
11532
11533 2002-08-20  André Pönitz <poenitz@gmx.net>
11534
11535         * text3.C: new file for LyXText::dispatch() and helpers
11536
11537         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11538
11539         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11540
11541 2002-08-19  André Pönitz <poenitz@gmx.net>
11542
11543         * lyxtext.h:
11544         * text.C: new LyXText::dispatch()
11545
11546         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11547
11548 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11549
11550         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11551
11552         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11553         Hebrew text.
11554
11555 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11556
11557         * Makefile.am: use $(variables) instead of @substitutions@
11558
11559 2002-08-15  André Pönitz <poenitz@gmx.net>
11560
11561         * lyxfunc.C:
11562         * BufferView_pimpl.C: streamlining mathed <-> outer world
11563         interaction
11564
11565         * commandtags.h:
11566         * LyXAction.C: remove unused LFUN_MATH
11567
11568 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11569
11570         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11571
11572 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11573
11574         * paragraph.C (Paragraph): reformat a bit
11575         (cutIntoMinibuffer): use builtin InsetList function instad of
11576         doing it manually.
11577         (getInset): ditto
11578
11579         * buffer.C: include boost/bind.hpp, add using std::for_each
11580         (writeFileAscii): use ParagraphList iterators
11581         (validate): use for_each for validate traversal of paragraphs
11582         (getBibkeyList): use ParagraphList iterators
11583         (resizeInsets): use for_each to resizeInsetsLyXText for all
11584         paragraphs.
11585         (getParFromID): use ParagraphList iterators
11586
11587         * BufferView2.C (lockInset): use paragraph list and iterators
11588
11589 2002-08-14  John Levon  <levon@movementarian.org>
11590
11591         * lyxserver.C: remove spurious xforms include
11592
11593 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11594
11595         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11596
11597 2002-08-13  André Pönitz <poenitz@gmx.net>
11598
11599         * LyXAction.[Ch]:
11600         * lyxfunc.C: further cleaning
11601
11602 2002-08-13  André Pönitz <poenitz@gmx.net>
11603
11604         * funcrequest.h: new constructor
11605
11606         * funcrequest.C: move stuff here from .h
11607
11608         * Makefile.am:
11609         * BufferView_pimpl.C:
11610         * LyXAction.C:
11611         * toc.C:
11612         * lyxfunc.C: subsequent changes
11613
11614         * lyxfunc.h: new view() member function
11615
11616         * lyxfunc.C: subsequent changes
11617
11618 2002-08-13  Angus Leeming  <leeming@lyx.org>
11619
11620         * BufferView2.C:
11621         * BufferView_pimpl.C:
11622         * buffer.C:
11623         * converter.C:
11624         * importer.C:
11625         * lyxfunc.C:
11626         * lyxvc.C:
11627         * toc.C:
11628         * vc-backend.C:
11629         changes due to the changed LyXView interface that now returns references
11630         to member variables not pointers.
11631
11632 2002-08-13  Angus Leeming  <leeming@lyx.org>
11633
11634         * WordLangTuple (word, lang_code): return references to strings,
11635         not strings.
11636
11637         * BufferView.h:
11638         * SpellBase.h:
11639         * lyxtext.h: forward-declare WordLangTuple.
11640
11641         * BufferView2.C:
11642         * ispell.C:
11643         * pspell.C:
11644         * text.C: #include "WordLangTuple.h".
11645
11646         * lyxtext.h:
11647         * text.C: (selectNextWordToSpellcheck): constify return type.
11648
11649 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11650
11651         * buffer.C:
11652         * buffer.h:
11653         * lyxtext.h:
11654         * paragraph.C:
11655         * paragraph_pimpl.h:
11656         * text.C:
11657         * text2.C:
11658         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11659         suggested by Angus.
11660         Made updateCounter always count from start of buffer, and removed
11661         second argument (par).
11662         Reverted floats number display to '#'. Perhaps I'll try again when the
11663         code base is sanitized a bit.
11664
11665 2002-08-12  Angus Leeming  <leeming@lyx.org>
11666
11667         * buffer.[Ch] (getLabelList): constify.
11668
11669 2002-08-07  André Pönitz <poenitz@gmx.net>
11670
11671         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11672
11673         * funcrequest.h: extension to keep mouse (x,y) position
11674
11675 2002-08-12  Juergen Vigna  <jug@sad.it>
11676
11677         * BufferView2.C (insertErrors): forbid undo when inserting error
11678         insets.
11679
11680         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11681
11682 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11683
11684         * ParagraphList.[Ch]: new files
11685
11686         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11687
11688         * BufferView2.C (lockInset): ParagraphList changes
11689         * toc.C: ditto
11690         * text2.C: ditto
11691         * bufferlist.C: ditto
11692         * buffer.h: ditto
11693         * buffer.C: ditto
11694
11695 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11696
11697         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11698         unused class variable counter_,
11699
11700         * paragraph.[Ch] (getFirstCounter): delete unused function
11701
11702         * counters.C: include LAssert.h
11703         (reset): add a new function with no arg, change other version to
11704         not have def. arg and to not allow empty arg.
11705
11706         * text2.C (setCounter): remove empty arg from call to Counters::reset
11707
11708 2002-08-11  John Levon  <levon@movementarian.org>
11709
11710         * Makefile.am: add WordLangTuple.h
11711
11712 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11713
11714         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11715         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11716
11717         * insets/insettext.C: InsetList changes
11718
11719         * graphics/GraphicsSupport.C (operator()): InsetList changes
11720
11721         * toc.C (getTocList): InsetList changes
11722
11723         * paragraph_pimpl.[Ch]: InsetList changes
11724
11725         * paragraph.[Ch]: InsetList changes
11726
11727         * buffer.C (inset_iterator): InsetList changes
11728         (setParagraph): ditto
11729         * buffer.h (inset_iterator): ditto
11730         * iterators.C (operator++): ditto
11731         * iterators.h: ditto
11732
11733         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11734
11735         * InsetList.[Ch]: new files, most InsetList handling moved out of
11736         paragraph.C.
11737
11738         * BufferView2.C (removeAutoInsets): InsetList changes
11739         (lockInset): ditto
11740         (ChangeInsets): ditto
11741
11742 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11743
11744         * paragraph_pimpl.h (empty): new function
11745
11746         * paragraph.[Ch] (empty): new function
11747
11748         * other files: use the new Paragraph::empty function
11749
11750 2002-08-09  John Levon  <levon@movementarian.org>
11751
11752         * lyxtext.h: remove unused refresh_height
11753
11754 2002-08-09  John Levon  <levon@movementarian.org>
11755
11756         * Makefile.am:
11757         * sgml.h:
11758         * sgml.C:
11759         * buffer.C:
11760         * paragraph.h:
11761         * paragraph.C: move sgml char escaping out of paragraph
11762
11763         * paragraph.h:
11764         * paragraph.C: remove id setter
11765
11766         * buffer.C:
11767         * paragraph.C:
11768         * paragraph_pimpl.C: remove dead tex_code_break_column
11769
11770         * bufferview_funcs.C: small cleanup
11771
11772         * lyxfunc.C: remove dead proto
11773
11774         * lyxtext.h: make some stuff private. Remove some dead stuff.
11775
11776         * lyxgluelength.C: make as[LyX]String() readable
11777
11778 2002-08-08  John Levon  <levon@movementarian.org>
11779
11780         * LyXAction.h:
11781         * LyXAction.C:
11782         * MenuBackend.C:
11783         * ToolbarDefaults.C:
11784         * lyxfunc.C:
11785         * lyxrc.C:
11786         * toc.C: lyxaction cleanup
11787
11788 2002-08-08  John Levon  <levon@movementarian.org>
11789
11790         * BufferView2.C: small cleanup
11791
11792         * lyxfind.h:
11793         * lyxfind.C: move unnecessary header into the .C
11794
11795 2002-08-08  John Levon  <levon@movementarian.org>
11796
11797         * funcrequest.h: just tedious nonsense
11798
11799         * lyx_main.h:
11800         * lyx_main.C: cleanups
11801
11802         * buffer.C:
11803         * vspace.C: remove dead header lyx_main.h
11804
11805 2002-08-07  Angus Leeming  <leeming@lyx.org>
11806
11807         * Paragraph.[Ch]:
11808         * paragraph_pimpl.h:
11809         Forward declare class Counters in paragraph.h by moving the ctrs member
11810         variable into Paragraph::Pimpl.
11811         (counters): new method, returning a reference to pimpl_->ctrs.
11812
11813         * text2.C: ensuing changes.
11814
11815 2002-08-07  John Levon  <levon@movementarian.org>
11816
11817         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11818
11819         * BufferView_pimpl.C: announce X selection on double/triple
11820           click
11821
11822         * lyx_main.C: use correct bool in batch dispatch
11823
11824         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11825
11826 2002-08-07  André Pönitz <poenitz@gmx.net>
11827
11828         * funcrequest.h: new class to wrap a kb_action and its argument
11829
11830         * BufferView.[Ch]:
11831         * BufferView_pimpl[Ch]:
11832         * LaTeX.C:
11833         * LyXAction.[Ch]:
11834         * lyxfunc.[Ch]:
11835         * lyxrc.C: subsequent changes
11836
11837
11838 2002-08-07  John Levon  <levon@movementarian.org>
11839
11840         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11841           document options change.
11842
11843 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11844
11845         * counters.[Ch]
11846         * text2.C
11847         * paragraph.[Ch]
11848         * makefile.am: move counters functionality over from
11849         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11850
11851 2002-08-06  John Levon  <levon@movementarian.org>
11852
11853         * WordLangTuple.h: new file for word + language code tuple
11854
11855         * SpellBase.h:
11856         * pspell.h:
11857         * pspell.C:
11858         * ispell.h:
11859         * ispell.C:
11860         * lyxtext.h:
11861         * text.C:
11862         * text2.C:
11863         * BufferView.h:
11864         * BufferView2.C: use WordLangTuple
11865
11866         * layout.h:
11867         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11868
11869 2002-08-06  John Levon  <levon@movementarian.org>
11870
11871         * lyx_main.C: fix cmdline batch handling
11872
11873 2002-08-06  André Pönitz <poenitz@gmx.net>
11874
11875         * lyxrc.C: set default for show_banner to true
11876
11877 2002-08-06  John Levon  <levon@movementarian.org>
11878
11879         * pspell.C: fix a crash, and allow new aspell to work
11880
11881 2002-08-06  John Levon  <levon@movementarian.org>
11882
11883         * lyxfunc.C:
11884         * kbmap.C: small cleanup
11885
11886         * vspace.h:
11887         * vspace.C: add const
11888
11889 2002-08-05  John Levon  <levon@movementarian.org>
11890
11891         * LyXAction.C: back to tabular-insert
11892
11893 2002-08-04  John Levon  <levon@movementarian.org>
11894
11895         * BufferView.h:
11896         * BufferView.C: cosmetic change
11897
11898         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11899
11900         * bufferlist.C:
11901         * buffer.h:
11902         * buffer.C:
11903         * lyxcb.h:
11904         * lyxcb.C:
11905         * lyxserver.C:
11906         * lyxvc.C:
11907         * vc-backend.C:
11908         * BufferView2.C: purge all "Lyx" not "LyX" strings
11909
11910         * lyxcursor.h:
11911         * lyxcursor.C: attempt to add some documentation
11912
11913         * lyxfunc.C:
11914         * commandtags.h:
11915         * LyXAction.C:
11916         * ToolbarDefaults.C:
11917         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11918           merge with LFUN_TABULAR_INSERT
11919
11920         * Makefile.am:
11921         * SpellBase.h:
11922         * ispell.h:
11923         * ispell.C:
11924         * pspell.h:
11925         * pspell.C: split up i/pspell implementations into separate
11926           files, many cleanups
11927
11928         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11929
11930         * text2.C: some cleanup
11931
11932         * lyxfunc.C: don't check for isp_command == "none" any more, it
11933           didn't make any sense
11934
11935 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11936
11937         * counters.[Ch]
11938         * text2.C
11939         * paragraph.[Ch]
11940         * makefile.am: move counters functionality over
11941         from text2.C/paragraph.[Ch] to counters.[Ch], and
11942         make proper C++.
11943 2002-08-02  John Levon  <levon@movementarian.org>
11944
11945         * buffer.C: s/lyxconvert/lyx2lyx/
11946
11947 2002-08-02  Angus Leeming  <leeming@lyx.org>
11948
11949         * lyxlex.C: revert John's change as it breaks reading of the user
11950         preamble.
11951
11952 2002-08-02  Angus Leeming  <leeming@lyx.org>
11953
11954         * importer.C (Import):
11955         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11956         changes due to LyXView::view() now returning a boost::shared_ptr.
11957
11958 2002-08-02  John Levon  <levon@movementarian.org>
11959
11960         * lyxlex.C: small cleanup
11961
11962 2002-08-02  John Levon  <levon@movementarian.org>
11963
11964         * text2.C (status): small cleanup, no logic change
11965
11966 2002-08-01  John Levon  <levon@movementarian.org>
11967
11968         * buffer.h:
11969         * buffer.C (writeFile): don't output alerts, caller
11970           handles this
11971
11972         * bufferlist.C:
11973         * lyx_cb.C: from above
11974
11975         * lyxfunc.C: allow to open non-existent files
11976
11977 2002-07-31  John Levon  <levon@movementarian.org>
11978
11979         * lyxserver.C: don't let incidental errors get
11980           in the way (errno)
11981
11982 2002-07-30  John Levon  <levon@movementarian.org>
11983
11984         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11985
11986 2002-07-30  John Levon  <levon@movementarian.org>
11987
11988         * lyxserver.h:
11989         * lyxserver.C: remove I/O callback too
11990
11991 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11994         log.
11995
11996 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11997
11998         * many files: strip,frontStrip -> trim,ltrim,rtrim
11999
12000 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
12001
12002         * PrinterParams.h: remove extern containsOnly, and include
12003         support/lstrings.h instead.
12004
12005         * LaTeX.C (scanAuxFile): modify because of strip changes
12006         (deplog): ditto
12007         * buffer.C (makeLaTeXFile): ditto
12008         * bufferparams.C (writeFile): ditt
12009         * lyxfont.C (stateText): ditto
12010         * lyxserver.C (read_ready): ditto
12011         * vc-backend.C (scanMaster): ditto
12012
12013         * BufferView_pimpl.h: ws changes
12014
12015         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12016
12017 2002-07-26  André Pönitz <poenitz@gmx.net>
12018
12019         * kb_sequence.C: remove unnedred usings
12020
12021 2002-07-26  Juergen Vigna  <jug@sad.it>
12022
12023         * lyxfind.C (LyXReplace): we have to check better if the returned
12024         text is not of theLockingInset()->getLockingInset().
12025
12026 2002-07-25  Juergen Vigna  <jug@sad.it>
12027
12028         * lyxfind.C (LyXReplace): don't replace if we don't get the
12029         right LyXText.
12030
12031         * undo_funcs.C (createUndo): remove debugging code.
12032
12033 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12034
12035         * buffer.C (parseSingleLyXformat2Token): Use default placement
12036         when reading old floats.
12037
12038         * FloatList.C (FloatList): Change the default placement of figure
12039         and tables to "tbp".
12040
12041 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * MenuBackend.C: using std::max
12044
12045 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12046
12047         * MenuBackend.C (expandToc):
12048         (expandToc2): code moved from xforms menu frontend. It is now
12049         generic and TOCs are transparent to menu frontends.
12050
12051 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12052
12053         * toc.C (getTocList): protect against buf=0
12054
12055         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12056         Menu as first parameter. Now, this calls itself recursively to
12057         expand a whole tree (this will be useful for TOC handling)
12058         (expandFloatInsert): remove 'wide' version of floats
12059
12060         * MenuBackend.h (submenuname): returns the name of the submenu.
12061         (submenu): returns the submenu itself, provided it has been
12062         created by MenuBackend::expand
12063
12064 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12065
12066         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12067         insets which have noFontChange == true. (bug #172)
12068
12069 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12070
12071         * BufferView_pimpl.C: add connection objects and use them...
12072         (Pimpl): here.
12073
12074 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12075
12076         * MenuBackend.C (expandLastfiles):
12077         (expandDocuments):
12078         (expandFormats):
12079         (expandFloatListInsert):
12080         (expandFloatInsert):
12081         (expand): split expand in parts
12082
12083 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12084
12085         * lyx_gui.C: use lyx_gui::exit()
12086
12087 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12088
12089         * LyXAction.C: show the failing pseudo action
12090
12091 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12092
12093         * buffer.C (readFile): Run the lyxconvert script in order to read
12094         old files.
12095
12096 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12097
12098         * LyXAction.C:
12099         * commandtags.h:
12100         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12101
12102 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * LyXAction.C:
12105         * commandtags.h:
12106         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12107
12108 2002-07-22  Herbert Voss  <voss@lyx.org>
12109
12110         * lengthcommon.C:
12111         * lyxlength.[Ch]: add support for the vertical lengths
12112
12113 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * toc.[Ch]: std:: fixes
12116
12117 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12118
12119         * lyxrc.C: do not include lyx_main.h
12120
12121         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12122         for layouts
12123
12124         * lyxrc.C:
12125         * encoding.C:
12126         * bufferlist.C:
12127         * BufferView2.C: include "lyxlex.h"
12128
12129         * tabular.h:
12130         * bufferparams.h: do not #include "lyxlex.h"
12131
12132         * lyxtextclasslist.C (Add): remove method
12133         (classlist): renamed to classlist_
12134
12135         * paragraph_pimpl.C:
12136         * paragraph.C:
12137         * text2.C:
12138         * CutAndPaste.C:
12139         * bufferview_funcs.C:
12140         * bufferlist.C:
12141         * text.C:
12142         * LaTeXFeatures.C:
12143         * buffer.C:
12144         * toc.C (getTocList): use BufferParams::getLyXTextClass
12145
12146         * toc.C (getTocList): use InsetFloat::addToToc
12147
12148         * toc.[Ch]: new files, containing helper functions to handle table
12149         of contents
12150
12151         * lyxfunc.C (dispatch): no need to remove spaces around command
12152         given as a string
12153         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12154         first command of the sequence; it is not very clever, but I do not
12155         have a better idea, actually
12156
12157         * LyXAction.C (LookupFunc): make sure to remove space at the
12158         beginning and end of the command
12159
12160 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12161
12162         * MenuBackend.C (getMenubar): new method: return the menubar of
12163         this menu set
12164         (read): treat differently reading of menu and menubar (in
12165         particular, the menubar has no name now)
12166         (Menu::menubar): remove
12167
12168         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12169         saving is finished
12170
12171 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12172
12173         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12174         a bibitem inset in a RTL paragraph.
12175
12176 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12177
12178         * paragraph_pimpl.C: constify
12179
12180         * BufferView_pimpl.C:
12181         * LaTeX.C:
12182         * lyxfunc.C: fix dispatch in a nicer way
12183
12184 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * lyxfunc.C (dispatch):
12187         * BufferView_pimpl.C:
12188         * BufferView_pimpl.h:
12189         * BufferView.C:
12190         * BufferView.h: rename Dispatch() to dispatch()
12191
12192         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12193
12194         * lyxlayout.C (Read): honor DependsOn tag
12195
12196         * lyxlayout.[Ch] (depends_on): new method
12197
12198         * version.C.in: update lyx_docversion
12199
12200         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12201
12202         * paragraph.C (validate): remove from here...
12203         * paragraph_pimpl.C (validate): ... and move here
12204         (isTextAt): make it const
12205
12206         * buffer.C (getLists): ws cleanup
12207
12208 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12209
12210         * language.C (read): Use iso8859-1 encoding in latex_lang
12211         (this prevents LyX from crashing when using iso10646-1 encoding).
12212
12213 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12214
12215         * text2.C (toggleInset): if cursor is inside an inset, close the
12216         inset and leave cursor _after_ it
12217
12218 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12219
12220         * lyxfunc.C: move minibuffer completion handling out of here
12221
12222 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12223
12224         * BufferView_pimpl.C:
12225         * LaTeX.C: fix dispatch calls
12226
12227 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12228
12229         * text.C (drawChars): Fix Arabic text rendering.
12230
12231 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12232
12233         * LyXAction.C:
12234         * commandtags.h:
12235         * lyxfunc.C: remove message-push/pop
12236
12237         * lyxserver.C:
12238         * lyxfunc.h:
12239         * lyxfunc.C: rationalise some code by removing verboseDispatch
12240           in favour of a bool argument to dispatch()
12241
12242 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12243
12244         * lyx_main.C (init): make sure to read symlinks as absolute paths
12245
12246 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * lyxfunc.h:
12249         * lyxfunc.C: no need for commandshortcut to be a member
12250
12251 2002-07-15  André Pönitz <poenitz@gmx.net>
12252
12253         * converter.C: add support for $$s (scripts from lib/scripts dir)
12254         * lyx_main.C: white space
12255
12256 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * bufferlist.C:
12259         * lyxrc.h:
12260         * lyxrc.C: remove second exit confirmation
12261
12262 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12263
12264         * BufferView.h:
12265         * BufferView.C:
12266         * BufferView2.C:
12267         * BufferView_pimpl.h:
12268         * BufferView_pimpl.C:
12269         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12270
12271 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12272
12273         * MenuBackend.C (expand): add numeric shortcuts to document menu
12274
12275         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12276
12277 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12278
12279         * lyxfont.C (setLyXFamily):
12280         (setLyXSeries):
12281         (setLyXShape):
12282         (setLyXSize):
12283         (setLyXMisc):
12284         (lyxRead):
12285         * debug.C (value):
12286         * buffer.C (asciiParagraph): use ascii_lowercase
12287
12288 2002-07-15  Mike Fabian  <mfabian@suse.de>
12289
12290         * lyxlex_pimpl.C (search_kw):
12291         * lyxlex.C (getLongString):
12292         * converter.h (operator<):
12293         * converter.C (operator<):
12294         * buffer.C (parseSingleLyXformat2Token):
12295         (asciiParagraph):
12296         * ToolbarDefaults.C (read):
12297         * MenuBackend.C (checkShortcuts):
12298         (read):
12299         * LColor.C (getFromGUIName):
12300         (getFromLyXName): use the compare_ascii_no_case instead of
12301         compare_no_case, because in turkish, 'i' is not the lowercase
12302         version of 'I', and thus turkish locale breaks parsing of tags.
12303
12304 2002-07-16  Angus Leeming  <leeming@lyx.org>
12305
12306         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12307         now takes a Buffer const & argument.
12308
12309 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * BufferView.C (resize): check there's a buffer to resize
12312
12313 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12314
12315         * lyxfunc.C: remove dead code
12316
12317         * lyxserver.h:
12318         * lyxserver.C: use lyx_guii::set_read_callback
12319
12320 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12321
12322         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12323         an inset in a RTL paragraph.
12324
12325 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12326
12327         * lyxfunc.C: repaint after a font size update
12328
12329 2002-07-15  André Pönitz <poenitz@gmx.net>
12330
12331         * lyxlength.C: inBP should be able to return negative values
12332
12333 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * lyxfunc.C: use lyx_gui::update_fonts()
12336
12337 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12338
12339         * lyxfunc.C: use lyx_gui::update_color()
12340
12341 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12342
12343         * bufferlist.C:
12344         * lyxfunc.h:
12345         * lyxfunc.C:
12346         * lyxrc.h:
12347         * lyxrc.C: remove file->new asks for name option, and let
12348           buffer-new take an argument
12349
12350 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12351
12352         * BufferView_pimpl.C: remove unneeded extra repaint()
12353
12354 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * LyXAction.C: allow command-sequence with NoBuffer
12357
12358         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12359
12360 2002-07-10  Angus Leeming  <leeming@lyx.org>
12361
12362         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12363
12364 2002-07-09  Angus Leeming  <leeming@lyx.org>
12365
12366         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12367
12368 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12369
12370         * lengthcommon.h: whitespace
12371
12372         * lyxfunc.C: update scrollbar after goto paragraph
12373
12374         * lyxtext.h: factor out page break drawing, and fix it so
12375           page break/added space paints as selected nicely
12376
12377 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12378
12379         * BufferView_pimpl.C: add FIXMEs, clean up a little
12380
12381 2002-07-09  André Pönitz <poenitz@gmx.net>
12382
12383         * lyxfont.[Ch]: support for wasy symbols
12384
12385 2002-07-08  André Pönitz <poenitz@gmx.net>
12386
12387         * BufferView_pimpl.C: apply John's patch for #93.
12388
12389 2002-07-05  Angus Leeming  <leeming@lyx.org>
12390
12391         * BufferView_pimpl.C (buffer): generate previews if desired.
12392
12393         * LColor.h: add "preview" to the color enum.
12394
12395         * LColor.C (LColor): add a corresponding entry to the items array.
12396
12397         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12398         with this buffer.
12399
12400 2002-07-05  Angus Leeming  <leeming@lyx.org>
12401
12402         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12403         The body of the code is now in the method that is passed an ostream &
12404         rather than a file name.
12405         Pass an additional only_preamble parameter, useful for the forthcoming
12406         preview stuff.
12407
12408 2002-07-03  André Pönitz <poenitz@gmx.net>
12409
12410         * lyxfunc.C: simplify getStatus() a bit for math stuff
12411
12412 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12413
12414         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12415
12416 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12417
12418         * text.C (changeRegionCase): do not change case of all the
12419         document when region ends at paragraph end (bug #461)
12420
12421 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12422
12423         * paragraph.C (startTeXParParams):
12424         (endTeXParParams): add \protect when necessary
12425
12426 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12427
12428         * BufferView_pimpl.C (workAreaExpose): remove warning
12429
12430 2002-06-27  Angus Leeming  <leeming@lyx.org>
12431
12432         * Makefile.am: add lyxlayout_ptr_fwd.h.
12433
12434 2002-06-26  André Pönitz <poenitz@gmx.net>
12435
12436         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12437
12438 2002-06-25  Angus Leeming  <leeming@lyx.org>
12439
12440         * lyxfunc.C (dispatch): Comment out the call to
12441         grfx::GCache::changeDisplay. The method no longer exists now that the
12442         pixmap generation part of the graphics loader has been moved into
12443         InsetGraphics.
12444
12445 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12446
12447         * text2.C: layout as layout
12448
12449         * text.C: layout as layout
12450
12451         * tabular.C (OldFormatRead): layout as layout
12452
12453         * paragraph_pimpl.C (TeXDeeper): layout as layout
12454         (realizeFont): layout as layout
12455
12456         * paragraph.C (writeFile): layout as layout
12457         (validate): layout as layout
12458         (getFont): layout as layout
12459         (getLabelFont): layout as layout
12460         (getLayoutFont): layout as layout
12461         (breakParagraph): layout as layout
12462         (stripLeadingSpaces): layout as layout
12463         (getEndLabel): layout as layout
12464         (getMaxDepthAfter): layout as layout
12465         (applyLayout): layout as layout
12466         (TeXOnePar): layout as layout
12467         (simpleTeXOnePar): layout as layout
12468         (TeXEnvironment): layout as layout
12469         (layout): layout as layout
12470         (layout): layout as layout
12471
12472         * lyxtextclass.C (compare_name): new functor to work with
12473         shared_ptr, layout as layout
12474         (Read): layout as layout
12475         (hasLayout): layout as layout
12476         (operator): layout as layout
12477         (delete_layout): layout as layout
12478         (defaultLayout): layout as layout
12479
12480         * lyxlayout_ptr_fwd.h: new file
12481
12482         * lyxlayout.C (Read): layout as layout
12483
12484         * lyx_cb.C (MenuInsertLabel): layout as layout
12485
12486         * bufferlist.C (newFile): layout as layout
12487
12488         * buffer.C (readLyXformat2): layout as layout
12489         (parseSingleLyXformat2Token): layout as layout
12490         (insertStringAsLines): layout as layout
12491         (asciiParagraph): layout as layout
12492         (latexParagraphs): layout as layout
12493         (makeLinuxDocFile): layout as layout
12494         (simpleLinuxDocOnePar): layout as layout
12495         (makeDocBookFile): layout as layout
12496         (simpleDocBookOnePar): layout as layout
12497         (getLists): layout as layout
12498
12499         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12500
12501         * CutAndPaste.C (cutSelection): layout as layout
12502         (pasteSelection): layout as layout
12503         (SwitchLayoutsBetweenClasses): layout as layout
12504
12505         * BufferView_pimpl.C (Dispatch): layout as layout
12506         (smartQuote): layout as layout
12507
12508         * BufferView2.C (unlockInset): layout as layout
12509
12510 2002-06-24  André Pönitz <poenitz@gmx.net>
12511
12512         * lyxfunc.C: fix #487
12513
12514 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12515
12516         * lyxrc.h:
12517         * lyxrc.C:
12518         * lyxfunc.C: remove display_shortcuts, show_banner
12519
12520 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12521
12522         * Buffer_pimpl.C: oops, update on resize
12523
12524 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12525
12526         * buffer.C:
12527         * converter.C:
12528         * exporter.C:
12529         * lyxfunc.C:
12530         * BufferView.h:
12531         * BufferView.C: use repaint()
12532
12533         * BufferView_pimpl.h:
12534         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12535           as it's a clearer description. Remove superfluous
12536           redraws.
12537
12538 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12539
12540         * text.C: fix bug 488. Not ideal, but getting
12541           getWord() to work properly for the insets that
12542           matter is more difficult ...
12543
12544 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12545
12546         * BufferView_pimpl.C:
12547         * LyXAction.C:
12548         * commandtags.h:
12549         * lyxfunc.C: remove the six million index lyxfuncs to just
12550           one, and DTRT (bug 458)
12551
12552 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12553
12554         * BufferView.h:
12555         * BufferView.C:
12556         * BufferView_pimpl.h:
12557         * BufferView_pimpl.C: clean up resize() stuff,
12558           and unnecessary updateScreen()s
12559
12560 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12561
12562         * BufferView.h:
12563         * BufferView.C:
12564         * BufferView_pimpl.h:
12565         * BufferView_pimpl.C:
12566         * lyxfind.h:
12567         * lyxfind.C:
12568         * minibuffer.C: remove focus management of workarea,
12569           not needed. Use screen's greyOut()
12570
12571 2002-06-17  Herbert Voss  <voss@lyx.org>
12572
12573         * converter.C: (convert) do not post a message, when converting
12574         fails, let the calling function decide what to do in this case
12575
12576 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * lyxfunc.C: tidy up a little
12579
12580 2002-06-16    <alstrup@diku.dk>
12581
12582         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12583         Got rid of FORMS_H_LOCATION include. Now we are
12584         GUII.
12585
12586 2002-06-15  LyX Development team  <lyx@rilke>
12587
12588         * buffer.[Ch] (sgmlOpenTag):
12589         (sgmlCloseTag): Added support for avoiding pernicious mixed
12590         content. Return number of lines written.
12591
12592         (makeLinuxDocFile):
12593         (makeDocBookFile): Fixed calls to sgml*Tag.
12594         Simple white space clean.
12595
12596         (simpleDocBookOnePar): Simple white space clean.
12597
12598         * tabular.[Ch] (docBook): Renamed to docbook and got another
12599         argument to related with the pernicious mixed content.
12600
12601         (docbookRow): Fixed calls for docbook inset method.
12602
12603 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12604
12605         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12606         so it's X11 independent.
12607
12608         * kb*.[Ch]: ditto.
12609
12610         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12611
12612 2002-06-15  Lyx Development team  <lyx@electronia>
12613
12614         * intl.h: Renamed getTrans to getTransManager.
12615
12616 2002-06-14  Angus Leeming  <leeming@lyx.org>
12617
12618         * Makefile.am: nuke forgotten stl_string_fwd.h.
12619
12620 2002-06-12  Angus Leeming  <leeming@lyx.org>
12621
12622         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12623
12624 2002-06-13  Angus Leeming  <leeming@lyx.org>
12625
12626         * LaTeX.C:
12627         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12628
12629 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12630
12631         * kbmap.C (getiso): add support for cyrillic and greek
12632
12633 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12634
12635         * BufferView.h:
12636         * BufferView.C:
12637         * BufferView_pimpl.h:
12638         * BufferView_pimpl.C: move bogus scrolling logic
12639           to xforms
12640
12641 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12642
12643         * lyxfunc.C:
12644         * BufferView_pimpl.C: view->resize() change
12645
12646 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12647
12648         * BufferView_pimpl.C: topCursorVisible
12649           prototype change
12650
12651 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12652
12653         * Makefile.am:
12654         * lyx_gui.h:
12655         * lyx_gui.C: move to frontends/
12656
12657         * main.C:
12658         * lyx_main.h:
12659         * lyx_main.C: changes from above
12660
12661 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12662
12663         * intl.C:
12664         * intl.h:
12665         * kbmap.C:
12666         * kbsequence.C:
12667         * lyx_cb.C:
12668         * lyx_main.C: minor tidy
12669
12670 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12671
12672         * BufferView_pimpl.h:
12673         * BufferView_pimpl.C:
12674         * BufferView.h:
12675         * BufferView.C: make painter() const,
12676           remove dead code
12677
12678         * BufferView2.C: use screen() accessor
12679
12680         * lyx_main.h:
12681         * lyx_main.C: some minor cleanup
12682
12683 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12684
12685         * BufferView_pimpl.h:
12686         * BufferView_pimpl.C: remove enter/leaveView,
12687           use workHeight()
12688
12689 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12690
12691         * BufferView.h:
12692         * BufferView.C:
12693         * BufferView2.C:
12694         * BufferView_pimpl.h:
12695         * BufferView_pimpl.C: only construct screen once,
12696           rename
12697
12698         * lyxrc.C: remove pointless comment
12699
12700 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * BufferView.h:
12703         * BufferView.C: remove active() and belowMouse()
12704
12705         * BufferView_pimpl.h:
12706         * BufferView_pimpl.C: use workarea() not workarea_,
12707           and make it use a scoped_ptr instead
12708
12709 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12710
12711         * lyx_gui.C: add debug message on BadWindow
12712
12713 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12714
12715         * sp_spell.C: fdopen is not part of the C++ standard.
12716
12717         * paragraph.C (InsetIterator): use >= instead of ==
12718
12719 2002-06-07  Angus Leeming  <leeming@lyx.org>
12720
12721         Fixes needed to compile with Compaq cxx 6.5.
12722         * BufferView_pimpl.C:
12723         * DepTable.C:
12724         * buffer.C:
12725         * converter.C:
12726         * encoding.C:
12727         * lyx_gui.C:
12728         * lyx_main.C:
12729         * lyxtextclasslist.C:
12730         * minibuffer.C:
12731         * sp_spell.C:
12732         * tabular_funcs.C:
12733         * vc-backend.C:
12734         all c-library variables have been moved into namespace std. Wrap
12735         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12736
12737         * lyxlength.C:
12738         * tabular-old.C:
12739         * tabular.C:
12740         Add a using std::abs declaration.
12741
12742         * kbmap.h (modifier_pair):
12743         * paragraph.h (InsetTable, InsetList):
12744         * lyxfont.h (FontBits):
12745         type definition made public.
12746
12747         * bufferlist.C (emergencyWriteAll): the compiler complains that
12748         there is more than one possible lyx::class_fun template to choose from.
12749         I re-named the void specialisation as lyx::void_class_fun.
12750
12751         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12752
12753         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12754         the compiler is is unable to find tostr in write_attribute.
12755
12756 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12757
12758         * buffer.C (sgmlError): hide #warning
12759
12760 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12761
12762         * xtl/*: get rid of xtl, which is not in use anyway
12763
12764         * LyXAction.C (init):
12765         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12766         were unimplemented xtl experimentation
12767
12768 2002-06-04  André Pönitz <poenitz@gmx.net>
12769
12770         * lyxfunc.C: disable array operation on simple formulae
12771
12772 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12773
12774         * converter.C: constify a bit
12775
12776 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12777
12778         * lyx_gui.C: check xforms version correctly
12779
12780 2002-04-30  Herbert Voss  <voss@lyx.org>
12781
12782         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12783         "keep" option
12784
12785 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12786
12787         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12788           attempt to register it with a VCS)
12789
12790 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12791
12792         * lyx_main.C (init): honor variables LYX_DIR_13x and
12793         LYX_USERDIR_13x
12794
12795 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12796
12797         * buffer.h:
12798         * buffer.C:
12799         * lyx_main.C: fix a crash on bad command line,
12800           and give a useful exit status on error
12801
12802         * lyxfunc.C (doImport): allow -i lyx to work
12803
12804 2002-03-30  André Pönitz <poenitz@gmx.net>
12805
12806         * lyxfunc.C: mathed font changes
12807
12808 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12809
12810         * LaTeX.C:
12811         * importer.h:
12812         * importer.C:
12813         * lyx_sty.h:
12814         * lyx_sty.C:
12815         * lyxlex.C:
12816         * lyxrow.h:
12817         * lyxtext.h:
12818         * paragraph.h:
12819         * paragraph.C:
12820         * texrow.h:
12821         * texrow.C:
12822         * text.C:
12823         * trans_mgr.h: srcdocs, and some minor cleanups
12824
12825 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12826
12827         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12828         call getFont all the time)
12829
12830 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12831
12832         * switch from SigC signals to boost::signals
12833
12834 2002-05-29  André Pönitz <poenitz@gmx.net>
12835
12836         * paragraph_pimpl.C (getChar): don't call size() too often...
12837
12838 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12839
12840         * paragraph_pimpl.C (insertChar): do not try to update tables when
12841         appending (pos == size())
12842
12843         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12844         in order to reduce drastically the number of comparisons needed to
12845         parse a large document
12846
12847 2002-05-29  André Pönitz <poenitz@gmx.net>
12848
12849         * text.C:
12850         * text2.C:
12851         * lyxtextclass.C:
12852         * sp_pspell.h:
12853         * textclasslist.[Ch]:
12854         * sp_ispell.h: whitespace change
12855
12856 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12857
12858         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12859         lyxaction directly now.
12860
12861 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12862
12863         * trans.C:
12864         * lyxfont.C:
12865         * lyxvc.C: remove unused headers
12866
12867 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12868
12869         * Makefile.am:
12870         * buffer.h:
12871         * undostack.h:
12872         * undostack.C:
12873         * undo_funcs.h:
12874         * undo_funcs.C: some cleanups. Use shared_ptr
12875           and a template for the undo stacks.
12876
12877 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12878
12879         * BufferView_pimpl.h:
12880         * BufferView_pimpl.C:
12881         * kbmap.h:
12882         * kbmap.C:
12883         * kbsequence.h:
12884         * kbsequence.C:
12885         * lyxfunc.h:
12886         * lyxfunc.C:
12887         * text2.C: use key_state/mouse_state
12888
12889 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12890
12891         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12892         and LSubstring
12893
12894         * chset.C: change include order
12895         (loadFile): use boost regex and get rid of LRegex and LSubstring
12896
12897         * Makefile.am (BOOST_LIBS): new variable
12898         (lyx_LDADD): use it
12899
12900         * LaTeX.C: change include order.
12901         (scanAuxFile): use boost regex and get rid of LRegex and
12902         LSubstring
12903         (deplog): ditto
12904
12905 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12906
12907         * ColorHandler.h:
12908         * ColorHandler.C:
12909         * FontInfo.h:
12910         * FontInfo.C: moved to frontends/xforms/
12911
12912         * FontLoader.h:
12913         * FontLoader.C: moved into frontends for GUIIzation
12914
12915         * Makefile.am:
12916         * lyx_gui.C:
12917         * lyxfont.C:
12918         * lyxfunc.C: changes from above
12919
12920 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12921
12922         * LColor.C: remove spurious X include
12923
12924         * BufferView_pimpl.C:
12925         * Makefile.am:
12926         * font.h:
12927         * font.C:
12928         * text.C:
12929         * text2.C: move font metrics to frontends/
12930
12931 2002-05-24  Juergen Vigna  <jug@sad.it>
12932
12933         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12934         setting the undo_cursor.
12935
12936         * ParagraphParameters.h: include local includes first.
12937
12938 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12939
12940         * BufferView_pimpl.C:
12941         * BufferView_pimpl.h:
12942         * Makefile.am:
12943         * WorkArea.h:
12944         * WorkArea.C:
12945         * screen.C: move WorkArea into frontends/
12946
12947         * lyxscreen.h:
12948         * screen.C:
12949         * text.C:
12950         * BufferView.C:
12951         * BufferView2.C: move LyXScreen into frontends/
12952
12953         * lyxlookup.h:
12954         * lyxlookup.C:
12955         * lyx_gui.C: move lyxlookup into frontends/xforms/
12956
12957 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12958
12959         * BufferView2.C:
12960         * BufferView_pimpl.C:
12961         * FontLoader.C:
12962         * LyXView.h:
12963         * LyXView.C:
12964         * Makefile.am:
12965         * WorkArea.C:
12966         * XFormsView.h:
12967         * XFormsView.C:
12968         * buffer.C:
12969         * bufferlist.C:
12970         * bufferview_funcs.C:
12971         * converter.C:
12972         * importer.C:
12973         * lyx_cb.C:
12974         * lyx_gui.C:
12975         * lyx_main.C:
12976         * lyx_find.C:
12977         * lyxfunc.C:
12978         * lyxvc.C:
12979         * minibuffer.C:
12980         * text.C:
12981         * text2.C:
12982         * trans.C:
12983         * vc-backend.C: move LyX/XFormsView into frontends/
12984
12985 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12986
12987         * Makefile.am:
12988         * PainterBase.C:
12989         * PainterBase.h:
12990         * Painter.C:
12991         * Painter.h:
12992         * WorkArea.C:
12993         * WorkArea.h:
12994         * screen.C:
12995         * tabular.C:
12996         * text.C:
12997         * text2.C: move Painter to frontends/
12998
12999 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13000
13001         * buffer.C: comment out some some code that depend upon lyx_format
13002         < 220
13003
13004         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13005         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13006
13007         * buffer.h (NO_COMPABILITY): turn off compability
13008
13009         * ColorHandler.C: include scoped_array.hpp
13010
13011         * font.C: Use more specific smart_ptr header.
13012         * Painter.C: ditto
13013         * gettext.C: ditto
13014         * ShareContainer.h: ditto
13015         * lyx_main.h: ditto
13016         * kbmap.h: ditto
13017         * FontInfo.h: ditto
13018         * BufferView_pimpl.h: ditto
13019         * ColorHandler.h: ditto
13020
13021         * kbmap.C (defkey): change call to shared_ptr::reset
13022
13023 2002-05-21  Juergen Vigna  <jug@sad.it>
13024
13025         * buffer.C (insertErtContents): fix to insert ert asis if it is
13026         non empty. Skip it completely if it contains only whitespaces.
13027
13028 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13029
13030         * BufferView_pimpl.C:
13031         * BufferView2.C: clear selection on paste (bug 393)
13032
13033 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13034
13035         * DepTable.C: include ctime
13036
13037 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13038
13039         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13040
13041 2002-05-14  Juergen Vigna  <jug@sad.it>
13042
13043         * text.C (breakParagraph): fixed function to honor the keepempty
13044         layout in the right maner and also to permit the right breaking
13045         algorithm on empty or non empyt keepempty paragraphs.
13046
13047         * paragraph.C (breakParagraph): we have to check also if the par
13048         is really empty (!size()) for isempty otherwise we do the wrong
13049         paragraph break.
13050
13051 2002-05-10  Juergen Vigna  <jug@sad.it>
13052
13053         * buffer.[Ch] : The following are only changes to the ert
13054         compatibility read reading old LaTeX layout and font stuff and
13055         convert it to ERTInsets.
13056
13057         * buffer.h: added isErtInset().
13058
13059         * buffer.C (struct ErtComp): add a fromlayout bool to check
13060         if we're inside a LaTeX layout.
13061         (isErtInset): new helper function.
13062         (insertErtContents): look for other ert insets before this one
13063         and insert the contents there, so that we don't have subsequent
13064         ERT insets with nothing between them. This way we create only one
13065         inset with multiple paragraphs. Also check if we don't insert only
13066         spaces ' ' as they are ignored anyway afterwards in the .tex file
13067         so if we have only spaces we will ignore this latex part in the
13068         new file.
13069         (parseSingleLyXformat2Token \\layout): better compatibility when
13070         reading layout-latex stuff.
13071         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13072         language tag.
13073         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13074         stuff after reading the inset only get the information back from
13075         the stack.
13076
13077 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13078
13079         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13080
13081         * LaTeXFeatures.C (getBabelOptions): New method.
13082
13083 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13084
13085         * BufferView_pimpl.C (Dispatch): work around missing argument for
13086         'layout'
13087
13088 2002-05-08  Juergen Vigna  <jug@sad.it>
13089
13090         * text.C (leftMargin): handle paragraph leftindent.
13091
13092         * paragraph.C (writeFile): write the new \\leftindent tag.
13093         (validate): handle leftindent code.
13094         (TeXEnvironment): handle paragraphleftindent code again.
13095
13096         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13097
13098         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13099         for paragrap_extra indent code and new token \\leftindent.
13100         (latexParagraphs): handle the leftindent as environment.
13101
13102         * ParameterStruct.h: added leftindent support.
13103
13104         * ParagraphParameters.C (leftIndent): added support functions for
13105         the paragraph left indent.
13106
13107         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13108         more appropriate.
13109
13110 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13111
13112         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13113         inside insetERT.
13114
13115         * text.C (computeBidiTables): No bidi in insetERT.
13116
13117         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13118         in RTL documents.
13119
13120 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13121
13122         * version.C.in: pre 5
13123
13124 2002-05-02  José Matos  <jamatos@fep.up.pt>
13125         * buffer.C (makeDocBookFile): white space changes, add newline to
13126         command styles.
13127         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13128
13129         * tabular.C (docBook): fix typo.
13130
13131 2002-05-03  Juergen Vigna  <jug@sad.it>
13132
13133         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13134         change in LyXText as we can not be sure it was not freed.
13135         (drawOneRow): remove unused code.
13136
13137         * text.C (drawInset): redo the calculation of the need_break_row as
13138         it could have a row which was already freed.
13139         (draw): look at the return value of drawInset and return false if
13140         it also returned false.
13141         (paintRowText): look at the return value of draw and return false if
13142         it also returned false.
13143
13144         * lyxtext.h: added bool return type to drawInset() and draw() so that
13145         if we have a change in the row so that the rowbreak has to be redone
13146         we abort drawing as it will be called again.
13147
13148 2002-05-02  Juergen Vigna  <jug@sad.it>
13149
13150         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13151         a change in the maintext also if we're inside an inset.
13152         (Dispatch): set the cursor again after a break line and after the
13153         screen has been updated as it could be we're in a different row.
13154
13155         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13156         to set the cursor behind the pargraph with > size().
13157         (setCursor): check also for the same paragraph when checking where
13158         to put the cursor if we have a NFR inset.
13159
13160         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13161         parts of layout read further up as it still was in the wrong
13162         position.
13163
13164 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13165
13166         * screen.C (drawFromTo): change sine fullRebreak always return
13167         true.
13168
13169         * buffer.C (parseSingleLyXformat2Token): reindent some
13170
13171         * BufferView_pimpl.C (update): change since fullRebreak always
13172         return true.
13173         (Dispatch): git rid of the last hardcoded "Standard"s.
13174
13175 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13176
13177         * text2.[Ch] (fullRebreak): make it return void now that we always
13178         returned true.
13179
13180 2002-04-30  Juergen Vigna  <jug@sad.it>
13181
13182         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13183         ert compatibility check for "latex" layout.
13184
13185 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13186
13187         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13188         minipages: use col% instead of p%, and also use the current font.
13189         (makeLaTeXFile): Fix use babel condition.
13190         (parseSingleLyXformat2Token): Correct font when reading old floats.
13191
13192 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13193
13194         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13195         inserting list of floats.
13196
13197 2002-04-25  Herbert Voss  <voss@lyx.org>
13198
13199         * MenuBackend.C (expand): don't add the graphics extensions to the
13200         export menu
13201
13202 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13203
13204         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13205         non-existing layout, do not complain if it was the default layout
13206         of the original class (bug #342)
13207
13208 2002-04-24  Juergen Vigna  <jug@sad.it>
13209
13210         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13211         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13212
13213 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13214
13215         * buffer.C (getBibkeyList): If using \bibliography, return the
13216         option field with the reference itself. Enables us to provide natbib
13217         support when using \bibliography.
13218
13219 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13220
13221         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13222
13223         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13224         natbib is provided by the LaTeX class.
13225
13226 2002-04-23  Juergen Vigna  <jug@sad.it>
13227
13228         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13229         Wakeup functions.
13230
13231         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13232
13233 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13234
13235         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13236
13237         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13238         ensuremath around textordmasculine, textordfeminine and
13239         textdegree.
13240
13241 2002-04-19  Juergen Vigna  <jug@sad.it>
13242
13243         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13244         reinitializing the buffer otherwise row-dimensions may be wrong.
13245         (update): reset also the selection cursors if they do exits otherwise
13246         their x/y positions may be wrong.
13247
13248         * text2.C (cursorDown): don't enter the inset if we came from a row
13249         above and are one row over the inset.
13250
13251         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13252         really leaving an inset.
13253
13254 2002-04-18  Juergen Vigna  <jug@sad.it>
13255
13256         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13257         of the selected paragraph does not have the selected layout also if
13258         the last one had!
13259
13260         * text2.C (setLayout): fixed bug which did not change last selected
13261         paragraph.
13262
13263         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13264         changed the read and substituted \\end_float with \\end_inset!
13265
13266         * BufferView_pimpl.C (cursorPrevious):
13267         (cursorNext): fixed to make it work with rows heigher than the work
13268         area without moving the cursor only the draw of the row.
13269         (workAreaMotionNotify): fix jumping over high rows.
13270
13271 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13272
13273         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13274         Ressler.
13275
13276 2002-04-16  Juergen Vigna  <jug@sad.it>
13277
13278         * text2.C (setCursor): set also the irow().
13279         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13280         (cursorUp):
13281         (cursorDown): support for locking an inset if the x_fix value goes
13282         inside it. That way I can transverse insets too with cursor up/down.
13283
13284         * lyxrow.h: added irow helper function same as other (i) functions.
13285
13286         * BufferView_pimpl.C (cursorPrevious):
13287         (cursorNext): fixed for insets!
13288
13289 2002-04-15  Juergen Vigna  <jug@sad.it>
13290
13291         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13292         position otherwise it is wrong in some cases.
13293
13294         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13295         inside the inset before the call.
13296
13297 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13298
13299         * buffer.[Ch] (getBibkeyList): make it const.
13300
13301 2002-04-12  Juergen Vigna  <jug@sad.it>
13302
13303         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13304
13305         * text2.C (getCursorX): new helper function
13306         (setCursor): compute also ix_
13307         (setCursorFromCoordinates): set also ix.
13308
13309         * lyxcursor.h: added ix_ and helper functions.
13310
13311         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13312
13313         * buffer.C (insertStringAsLines): dont break paragraph if the this
13314         paragraph is inside an inset which does not permit it!
13315
13316         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13317         also with no chars on this paragraph.
13318         (paintRowText): only paint stuff if it's inside the workarea!
13319
13320         * paragraph.C (breakParagraph): honor keepempty flag and break the
13321         paragraph always below not above.
13322
13323         * BufferView2.C (unlockInset): update the paragraph layout on inset
13324         unlock as we changed paragraph in such a case.
13325
13326         * lyxfind.C (LyXFind): clear the former selection if not found!
13327
13328         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13329         again called in insertChar().
13330
13331         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13332         an inset which uses the whole row!
13333         (rightMargin): ditto.
13334         (insertChar): force a rebreak if we inserted an inset!
13335
13336 2002-03-28  Herbert Voss  <voss@lyx.org>
13337
13338         * lyxlength.[Ch]: add inBP() to get the right PS-point
13339         units (BigPoint). With inPixels we have rounding errors
13340
13341 2002-04-11  Juergen Vigna  <jug@sad.it>
13342
13343         * text2.C (setCursorFromCoordinates): set iy to the right value.
13344         (setCursor): add check if row->previous exists!
13345
13346         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13347         an old float_type as this was the case in the old code!
13348
13349         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13350
13351         * BufferView2.C (showLockedInsetCursor): use iy
13352         (fitLockedInsetCursor): ditto
13353
13354         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13355         locked insets as there we have the right value now.
13356
13357         * lyxcursor.C: added iy_ variable and iy functions to set to the
13358         baseline of cursor-y of the locked inset.
13359
13360         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13361         (setCursor): fixed for insets which need a full row.
13362
13363         * text.C (rowLastPrintable): don't ignore the last space when before
13364         an inset which needs a full row.
13365         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13366         as last character of a row when before a inset which needs a full row.
13367
13368 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13369
13370         * version.C.in: update date
13371
13372         * text2.C (fullRebreak): try to always return true and see what
13373         happens...
13374
13375 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13376
13377         * MenuBackend.C (expand): use Floating::listName
13378
13379         * FloatList.C (FloatList): add listName argument to the built-in
13380         floats
13381
13382         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13383         text associated with the float.
13384
13385 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13386
13387         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13388
13389 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13390
13391         * ShareContainer.h: add a couple of missing typenames.
13392
13393 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13394
13395         * lyxrc.C (getDescription): use _() correctly rather than N_().
13396
13397 2002-03-28  Herbert Voss  <voss@lyx.org>
13398
13399         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13400         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13401
13402 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13403
13404         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13405         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13406
13407 2002-03-29  Juergen Vigna  <jug@sad.it>
13408
13409         * lyxfunc.C (dispatch): add a missing fitCursor call.
13410
13411         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13412         it was scrolled by a cursor move, so return the bool status.
13413
13414         * BufferView.C (fitCursor): return the bool flag also to the outside
13415         world as this is needed.
13416
13417         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13418
13419         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13420         call the edit() as it is not needed (and wrong) IMO.
13421         (workAreaButtonPress): set the screen_first variable before evt.
13422         unlock the inset as this may change screen_first and then we have
13423         a wrong y position for the click!
13424
13425 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13426
13427         * MenuBackend.C (expand): another translation that I missed
13428
13429 2002-03-28  Juergen Vigna  <jug@sad.it>
13430
13431         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13432
13433         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13434
13435 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13436
13437         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13438
13439         * MenuBackend.C (expand): fix export/view/update when there is no
13440         document open.
13441
13442 2002-03-27  Herbert Voss  <voss@lyx.org>
13443
13444         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13445         and text%
13446
13447 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13448
13449         * bufferview_funcs.C (currentState): only show paragraph number
13450         for is DEVEL_VERSION is set.
13451
13452         * lyxfunc.C (dispatch): put warning in INFO channel
13453
13454         * MenuBackend.C (expand): translate the name of floats
13455
13456         * FloatList.C (FloatList): mark the float names for translation
13457
13458         * converter.C (convert): use LibScriptSearch
13459
13460 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13461
13462         * MenuBackend.C (defaults): fix default menu (we might as well get
13463         rid of it...)
13464
13465 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13468         directory.
13469
13470 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13471
13472         * lyxvc.C: reorder includes.
13473
13474 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13475
13476         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13477           properly
13478
13479 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13480
13481         * CutAndPaste.C: change layouts earlier on paste
13482           to avoid crashing when calling getFont()
13483
13484 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13485
13486         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13487         irritating #error.
13488
13489 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13490
13491         * WorkArea.C: remove 'Pending' debug message.
13492
13493         * most files: ws cleanup
13494
13495         * buffer.[Ch]: ws changes
13496
13497         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13498
13499 2002-03-21  Juergen Vigna  <jug@sad.it>
13500
13501         * tabular.C (SetMultiColumn): collapse also the contents of the
13502         cells and set the last border right. Added a Buffer const * param.
13503
13504 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13505
13506         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13507         linking or not.
13508
13509 2002-03-19  Juergen Vigna  <jug@sad.it>
13510
13511         * text2.C (clearSelection): reset also xsel_cache.
13512
13513         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13514         where it needs to be called (John tells us to do so too :)
13515         (selectionLost): reset sel_cache.
13516
13517         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13518
13519 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13520
13521         * text2.C (setCursorIntern): put debuging code in INSETS channel
13522
13523 2002-03-19  André Pönitz <poenitz@gmx.net>
13524
13525         * lyxfunc.C: tiny whitespace change
13526
13527 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13528
13529         * ToolbarDefaults.C (init):
13530         * LyXAction.C (init):
13531         * commandtags.h:
13532         * BufferView_pimpl.C (Dispatch):
13533         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13534
13535 2002-03-19  Allan Rae  <rae@lyx.org>
13536
13537         * exporter.C (Export): removeAutoInsets before doing anything else.
13538         While I've just introduced a dependency on BufferView this really is
13539         the best place to clean the buffer otherwise you need to cleanup in
13540         a dozen places before calling export or cleanup in a dozen functions
13541         that export calls.
13542
13543         * converter.C (runLaTeX):
13544         (scanLog): Better handling of removeAutoInsets and screen updates.
13545
13546         * lyxfunc.C (dispatch): small whitespace changes
13547
13548 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13549
13550         * WorkArea.C (C_WorkAreaEvent): return a value.
13551         (event_cb): return 1 if we handled the event, 0 otherwise.
13552
13553         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13554
13555 2002-03-18  Juergen Vigna  <jug@sad.it>
13556
13557         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13558         (GetAdditionalWidth): ditto.
13559         (RightLine): ditto.
13560         (LeftLine): ditto.
13561
13562         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13563         inset if we're there actually (probably not used right now but this
13564         is the direction to go for unifying code).
13565         (paste): disable code to clear the selection.
13566
13567         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13568         inside an InsetText and move the check further up as it is in the
13569         wrong place.
13570
13571         * text2.C (pasteSelection): set a selection over the pasted text.
13572
13573 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13574
13575         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13576         and libgraphics to build on Cygwin.
13577
13578 2002-03-15  Juergen Vigna  <jug@sad.it>
13579
13580         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13581         inserting an Inset into the paragraph. I know this is not the best
13582         fix but we already use current_view in CutAndPaste so we will remove
13583         all of it's using at the same time.
13584
13585         * buffer.C (sgmlError): deactivated function till it is rewritten in
13586         the right mode, now it can create problems.
13587
13588         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13589         before accessing it.
13590
13591 2002-03-14  Juergen Vigna  <jug@sad.it>
13592
13593         * undo_funcs.C (textHandleUndo): do the right thing when updating
13594         the inset after the undo/redo.
13595
13596         * text2.C (setCursor): just some testcode for #44 not ready yet.
13597
13598         * undo_funcs.C (textHandleUndo): set the next() and previous()
13599         pointers of the paragraph to 0 before deleting otherwise we have
13600         problems with the Paragraph::[destructor].
13601
13602         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13603         on a paragraph insertion.
13604
13605 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13606
13607         * buffer.C (asciiParagraph): use += operator for char append to
13608         string.
13609
13610         * paragraph.C (getFontSettings): compare >= not just >
13611         (highestFontInRange): ditto
13612         (setFont): ditto
13613
13614 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13615
13616         * paragraph.C: change several algorithm to be more appripriate for
13617         the problem domain. This is lookip in FontList and in the InsetList.
13618
13619 2002-03-13  André Pönitz <poenitz@gmx.net>
13620
13621         * commandtags.h:
13622         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13623
13624 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13625
13626         * commandtags.h:
13627         * LyXAction.C:
13628         * lyxfunc.C:
13629         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13630
13631 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13632
13633         * Painter.C (display): anon helper function, adjust code for this
13634         change.
13635         (pixmap): remove function.
13636
13637         * Painter.h: remove private display variable.
13638
13639         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13640
13641 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13642
13643         * WorkArea.[Ch]: remove figinset_canvas cruft.
13644
13645 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13646
13647         * lyxtextclass.C (operator): add one item cache optimization.
13648
13649         * bufferlist.h: doxy changes
13650
13651         * bufferlist.C: ws changes
13652
13653         * DepTable.[Ch] (ext_exist): place const in the right spot.
13654
13655         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13656         call resizeInsets.
13657         (workAreaExpose): call resizeInsets when the with BufferView changes.
13658         (Dispatch): adjust for protectedBlank removal
13659         (specialChar): call updateInset if the insert went ok.
13660
13661         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13662         specialChar instead.
13663
13664         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13665
13666         * BufferView.h: doxy change
13667
13668         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13669
13670         * lyxtextclass.C (operator[]): remove non-const version
13671         (defaultLayout): remove non-const version
13672
13673 2002-03-12  Juergen Vigna  <jug@sad.it>
13674
13675         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13676         did resize the LyXText too.
13677
13678         * buffer.C (readLyXformat2): set layout information on newly allocated
13679         paragraphs.
13680
13681         * tabular.C (OldFormatRead): set layout information on the paragraph.
13682
13683 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13684
13685         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13686
13687 2002-03-11  Juergen Vigna  <jug@sad.it>
13688
13689         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13690         plainly wrong.
13691         (resizeCurrentBuffer): force also the insets to resize themselfes.
13692         (moveCursorUpdate): fixed up for InsetText.
13693
13694 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13695
13696         * commandtags.h:
13697         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13698         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13699         value of Dialogs::tooltipsEnabled().
13700         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13701
13702 2002-03-08  Juergen Vigna  <jug@sad.it>
13703
13704         * BufferView_pimpl.C (updateInset): update inset inside inset also
13705         if it isn't inside theLockingInset().
13706
13707 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13708
13709         * buffer.C (asciiParagraph): redo some of the word and line length
13710         handling.
13711         (getLists): look for Caption instead of caption.
13712
13713 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13714
13715         * buffer.C (Buffer): initialize niceFile to true
13716         (makeLaTeXFile):
13717         (makeLinuxDocFile):
13718         (makeDocBookFile): make sure niceFile is true on exit
13719
13720 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13721
13722         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13723
13724 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13725
13726         * LyXSendto.C: remove.
13727         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13728         * lyx_gui.C: remove now-redundant comment.
13729         * ColorHandler.h: remove forward declaration of class WorkArea.
13730         * lyxfunc.C: remove #include "WorkArea.h".
13731
13732 2002-03-07  Juergen Vigna  <jug@sad.it>
13733
13734         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13735         got moved away with the DEPM and also set the inset_owner always
13736         right which before could have been omitted.
13737
13738 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13739
13740         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13741         wanted layout is not found.
13742
13743 2002-03-07  Juergen Vigna  <jug@sad.it>
13744
13745         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13746
13747 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13748
13749         * paragraph.C (breakParagraph): use default layout not layout of
13750         prev paragraph.
13751         (Paragraph): clear ParagraphParameters.
13752
13753 2002-03-06  Juergen Vigna  <jug@sad.it>
13754
13755         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13756         otherwise it would not be a valid lenght. Fixed a special case in
13757         the minipage compatibility read where we end the document with a
13758         minipage.
13759
13760         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13761         was set as it could be 0 for InsetTexts first entry.
13762
13763 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13764
13765         * paragraph.C (writeFile): if layout is empty write out
13766         defaultLayoutName().
13767
13768         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13769         file without named layout we set layout to defaultLayoutName().
13770
13771 2002-03-06  Juergen Vigna  <jug@sad.it>
13772
13773         * CutAndPaste.C (copySelection): set layout for new paragraph.
13774
13775         * text.C (prepareToPrint): leave ERT inset left aligned
13776         (leftMargin): don't indent paragraphs inside ERT insets
13777
13778 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13779
13780         * paragraph.C (breakParagraph): dont call clear do the work manually
13781
13782         * paragraph.[Ch] (clear): remove function
13783
13784 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13785
13786         * paragraph.C (Paragraph): dont call clear, the work has already
13787         been done.
13788
13789         * lyxtextclass.C (operator): assert if n is empty
13790
13791         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13792         work manually instead.
13793
13794 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13795
13796         * BufferView_pimpl.C: protect selectionLost against text == 0
13797
13798 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13799
13800         * text.C (breakParagraph): fix a setting layout to '0' problem.
13801
13802 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13803
13804         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13805         final location of file, for the included files, and graphics.
13806
13807 2002-03-05  Juergen Vigna  <jug@sad.it>
13808
13809         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13810
13811 2002-03-04  Juergen Vigna  <jug@sad.it>
13812
13813         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13814
13815         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13816         last column of multicolumn cells.
13817         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13818
13819 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13820
13821         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13822         file if it doesn't go to a temporary file.
13823
13824         * buffer.C (sgmlOpenTag):
13825         (sgmlCloseTag):  remove extra newline insertion.
13826
13827 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13828
13829         * text.C (getRowNearY): comment out debug msg
13830
13831 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13832
13833         * text2.C: first -> first_y
13834
13835         * text.C (getRowNearY): add some attemts at a possible
13836         optimization, not working.
13837
13838         * tabular.[Ch]: add BufferParams to several function so that newly
13839         created paragraph can be initialized to he default layotu for the
13840         buffers textclass.
13841
13842         * tabular-old.C (ReadOld): add buf->params to call of Init
13843
13844         * screen.C: rename text->first to text->first_y
13845
13846         * paragraph.C (breakParagraph): always set layout in the broken
13847         paragraph
13848
13849         * lyxtextclass.C (Read): remove lowercase
13850         (hasLayout): ditto
13851         (operator): ditto
13852         (delete_layout): ditto
13853
13854         * lyxtext.h: rename first -> first_y
13855
13856         * lyxlayout.C (Read): remove lowercase
13857         (name): ditto
13858         (setName): ditto
13859         (obsoleted_by): ditto
13860
13861         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13862
13863         * buffer.C (insertErtContents): add params are to InsetERT
13864         (parseSingleLyXformat2Token): add code to check if a paragraphs
13865         layout really exist.
13866         (parseSingleLyXformat2Token): add params to several inset
13867         constructors
13868         (asciiParagraph): remove lowercase, do the layout comparisons with
13869         no_case
13870
13871         * BufferView_pimpl.C (cursorNext): first -> first_y
13872         (resizeCurrentBuffer): first -> first_y
13873         (updateScrollbar): first -> first_y
13874         (scrollCB): first -> first_y
13875         (workAreaMotionNotify): first -> first_y
13876         (workAreaButtonPress): first -> first_y
13877         (checkInsetHit): first -> first_y
13878         (cursorPrevious): first -> first_y
13879         (cursorNext): first -> first_y
13880         (Dispatch): add buffer_->params to severl inset contructors
13881
13882 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13883
13884         * lyxlayout.C (Read): remove some debug info that I forgot.
13885
13886         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13887         clean up the code slightly.
13888         (makeLinuxDocFile): ditto
13889         (makeDocBookFile): ditto
13890
13891         * text2.C: layout as string
13892
13893         * text.C: layout as string
13894
13895         * paragraph_pimpl.C: layout as string
13896
13897         * paragraph.[Ch]: layout as string
13898
13899         * lyxtextclasslist.[Ch]: layout as string
13900
13901         * lyxtextclass.[Ch]: layout as string
13902
13903         * lyxtext.h: layout as string
13904
13905         * lyxlayout.[Ch]: layout as string
13906
13907         * lyx_cb.C: layout as string
13908
13909         * bufferview_funcs.C: layout as string
13910
13911         * bufferparams.C: layout as string
13912
13913         * buffer.C: layout as string
13914
13915         * LyXView.[Ch]: layout as string
13916
13917         * LaTeXFeatures.[Ch]: layout as string
13918
13919         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13920
13921         * BufferView_pimpl.C: change current_layout to string, remove
13922         lyx::layout_type.
13923         (Dispatch):
13924         (smartQuote):
13925         (insertInset):
13926         (workAreaButtonRelease): layout as string
13927
13928         * BufferView2.C (unlockInset): adjust
13929
13930         * vspace.C (asLatexCommand): use an explict temp variable.
13931
13932 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13933
13934         * Makefile.am: use FRONTEND_*
13935
13936 2002-03-01  Juergen Vigna  <jug@sad.it>
13937
13938         * tabular.C (SetWidthOfMulticolCell): changed to something better
13939         I hope but still work in progress.
13940         (recalculateMulticolumnsOfColumn): renamed function from
13941         recalculateMulticolCells as it is more appropriate now.
13942         (SetWidthOfCell): calculate multicols better.
13943
13944 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13945
13946         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13947
13948         * lyxfunc.C (processKeySym): print sequence also if it is
13949         `deleted' (complete)
13950
13951         * kbsequence.C (print): print sequence even if it is deleted
13952         (complete would be a better word, actually).
13953
13954         * lyxfunc.C (dispatch): print complete options after a prefix key
13955
13956         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13957
13958 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13959
13960         * text2.C (setCharFont): eliminate setCharFont code duplication.
13961
13962 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13963
13964         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13965         LFUN_TABULAR_FEATURE (bug #177)
13966
13967 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13968
13969         * Makefile.am: remove figure.h
13970
13971 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13972
13973         * Bufferview_pimpl.C:
13974         * CutAndPasteC:
13975         * LaTeX.C:
13976         * LyXSendto.C:
13977         * buffer.C:
13978         * bufferlist.C:
13979         * converter.C:
13980         * language.C:
13981         * lyxfunc.C:
13982         * lyxvc.C:
13983         * paragraph.C:
13984         * text.C:
13985         * text2.C: remove #include "lyx_gui_misc.h".
13986
13987         * LaTeX.C: added #include <cstdio>
13988
13989 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13990
13991         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13992         that the paragraph following this one can have.
13993
13994         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13995
13996         * vspace.C (asLatexCommand): fix bogus gcc warning
13997
13998         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13999
14000 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
14001
14002         * text2.C (setLayout): get rid of redundant code
14003
14004 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
14005
14006         * text2.C (incDepth): make sure depth cannot be increased beyond
14007         reasonable values.
14008
14009 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
14010
14011         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14012         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14013
14014         * PainterBase.h (image):
14015         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14016         a LyXImage const *.
14017
14018 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14019
14020         * BufferView.C:
14021         * BufferView.h:
14022         * BufferView_pimpl.C:
14023         * BufferView_pimpl.h:
14024         * LaTeXFeatures.C:
14025         * LyXAction.C:
14026         * LyXView.C:
14027         * Makefile.am:
14028         * UpdateList.h:
14029         * UpdateList.C:
14030         * buffer.C:
14031         * figure.h:
14032         * figureForm.C:
14033         * figureForm.h:
14034         * figure_form.C:
14035         * figure_form.h:
14036         * lyx_cb.C:
14037         * lyx_gui.C:
14038         * lyx_gui_misc.C:
14039         * lyxfunc.C:
14040         * sp_base.h:
14041         * sp_ispell.h:
14042         * sp_pspell.h:
14043         * sp_spell.C: remove fig inset, and the crap house of
14044           cards that follows it
14045
14046 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14047
14048         * Makefile.am:
14049         * lyxserver.C:
14050         * os2_defines.h:
14051         * os2_errortable.h:
14052         * nt_defines.h: move .h into support/
14053
14054         * vms_defines.h: remove
14055
14056         * WorkArea.C: add space in debug output
14057
14058         * text2.C:
14059         * paragraph.C:
14060         * buffer.C: add WITH_WARNINGS
14061
14062         * vc-backend.h:
14063         * vc-backend.C:
14064         * bufferlist.C: s/retrive/retrieve/, add docs
14065
14066         * vspace.h:
14067         * vspace.C:
14068         * kbmap.h:
14069         * lyxlength.h:
14070         * lyxgluelength.h:
14071         * length_common.h:
14072         * chset.h:
14073         * chset.C: add docs
14074
14075         * lyxgui.C: add ID to X error handler
14076
14077         * lyxtestclass.c: fix typo
14078
14079 2002-02-26  Juergen Vigna  <jug@sad.it>
14080
14081         * tabular_funcs.C (write_attribute): changed so that some default
14082         attributes are not written at all.
14083         (getTokenValue): set default values before trying to read the
14084         value so we have the return value always set as default if we don't
14085         find the token we search for.
14086
14087         * tabular.C (Write): write bools as bools not as strings!
14088
14089 2002-02-22  Juergen Vigna  <jug@sad.it>
14090
14091         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14092         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14093
14094         * text.C (leftMargin): don't add an indent for paragraphs inside
14095         tabular cells (fix #208).
14096
14097 2002-02-21  José Matos  <jamatos@fep.up.pt>
14098
14099         * tabular.C (docBook): fixed support for long tables.
14100
14101 2002-02-20  Juergen Vigna  <jug@sad.it>
14102
14103         * text2.C (getFont): get the drawing font of the Inset if this
14104         paragraph is inside an inset (only important for InsetERT for now).
14105
14106         * buffer.C (insertErtContents): use new lanugage params in ERT
14107         constructor.
14108
14109         * CutAndPaste.C: commenting out seemingly uneeded code.
14110
14111 2002-02-19  Allan Rae  <rae@lyx.org>
14112
14113         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14114         Iterators might be simple to use but they also get invalidated.
14115         (removeAutoInsets): renamed saved cursor tracking variables and added
14116         some comments to clarify what everything does.
14117
14118 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14119
14120         * Chktex.C:
14121         * LaTeX.C:
14122         * LyXSendto.C:
14123         * converter.C:
14124         * lyx_cb.C:
14125         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14126         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14127
14128         * lyxfunc.C:
14129         * vc-backend.h: remove #include "support/syscall.h"
14130
14131         * LaTeX.C:
14132         * LyXSendto.C:
14133         * converter.C: rearrange #includes in Lars' approved fashion.
14134
14135         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14136         forward declare class Timeout in the header file.
14137
14138         * XFormsView.C: changes due to the above.
14139
14140         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14141         similar to LyXView.
14142
14143         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14144         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14145
14146 2002-02-18  José Matos  <jamatos@fep.up.pt>
14147
14148         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14149         insets contents.
14150
14151 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14152
14153         * a lot of small ws changes
14154         * add a lot of using std::XXX
14155         * use std construcs some places where approp.
14156         * use some exisint stuff from lyxfunctional where approp.
14157         * Make file changes to use partial linking (lets test this now...)
14158
14159 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14160
14161         * Chktex.C:
14162         * buffer.C:
14163         remove #include "support/syscontr.h" as it's redundant. Always has been.
14164
14165         * Chktex.C:
14166         * LaTeX.C:
14167         * LyXSendto.C:
14168         * converter.C:
14169         * lyx_cb.C:
14170         * vc-backend.C:
14171         change Systemcalls::System to Systemcalls::Wait and
14172         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14173         No change of functionality, just reflects the stripped down Systemcalls
14174         class.
14175
14176 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14177
14178         * debug.[Ch]: add a GRAPHICS type to the enum.
14179
14180 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14181
14182         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14183
14184         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14185         there is an inset.
14186
14187 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14188
14189         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14190         match the changes below.
14191
14192         * text2.C (toggleInset): if there is not editable inset at cursor
14193         position, try to see if cursor is _inside_ a collapsable inset
14194         and close it.
14195
14196 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14197
14198         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14199         document menu has a nice checkbox
14200
14201 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14202
14203         * lyxlength.C (asLatexString): change PW to output as percent of
14204         \textwidth.
14205
14206         * lengthcommon.C: change '%' to 't%'
14207
14208         * lyxfunc.C (dispatch): a few comments from Martin
14209
14210 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14211
14212         * WorkArea.h:
14213         * WorkArea.C:
14214         * BufferView_pimpl.h:
14215         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14216           the X selection.
14217
14218 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14219
14220         * vspace.C (inPixels): fix compiler warning
14221
14222 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14223
14224         * lyxfunc.C (getStatus): fix status message for disabled commands.
14225
14226 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14227
14228         * BufferView_pimpl.C: fix crash on close buffer
14229         during selection (#227)
14230
14231 2002-01-27  Herbert Voss  <voss@lyx.org>
14232
14233         * buffer.C: link old Figure to new graphic inset
14234
14235 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14236
14237         * FontLoader.C (getFontinfo): Change the latex font names in order
14238         to match the names of type1inst.
14239
14240 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14241
14242         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14243
14244         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14245         (extchanged): ditto
14246         (ext_exist): ditto
14247         (remove_files_with_extension): ditto
14248         (remove_file): ditto
14249         (write): ditto
14250
14251         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14252         document is smaller than the work area height. Do not initialize
14253         static variables to 0.
14254
14255 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14256
14257         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14258
14259         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14260         LFUN_LAYOUT_PARAGRAPHS.
14261
14262         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14263         tabular. It is possible to provide a possible cell, which will
14264         typically be the actcell from the corresponding insettabular
14265
14266         * lyxfunc.C (getStatus): small cleanup; disable
14267         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14268         true
14269
14270 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14271
14272         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14273
14274         * paragraph.C (startTeXParParams):
14275         (endTeXParParams): new methods. The LaTeX code to
14276         start/end paragraph formatting
14277         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14278         empty (fixes bug #200)
14279
14280         * vspace.C (inPixels): adapt to the change below
14281         (inPixels): [later] more cleanups (remove unused variables)
14282
14283         * lyxlength.C (inPixels): change to use a width and a height as
14284         parameter.
14285
14286 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14287
14288         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14289         Replaced with \paperwidth
14290
14291         * DepTable.C (insert): add std:: qualifier
14292
14293 2002-01-18  Allan Rae  <rae@lyx.org>
14294
14295         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14296         updated also?
14297
14298         * text.C (drawInset): Turned out I didn't know enough about how
14299         rebreaking worked.  This fixes most of the redraw problems.  I see
14300         an occasional cursor trail when a line is broken now and the cursor
14301         placement can seem out by a few pixels also after a rebreak.
14302
14303 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14304
14305         * buffer.C (parseSingleLyXformat2Token): update because minipage
14306         width is now a LyXLength
14307
14308         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14309
14310         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14311         math insets
14312
14313 2002-01-17  Juergen Vigna  <jug@sad.it>
14314
14315         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14316
14317         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14318         is set correctly and the inset is updated correctly.
14319
14320 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14321
14322         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14323         the beginning of the loop.
14324
14325 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14326
14327         * lyxrc.C: improve help for use_scalable_fonts
14328
14329 2002-01-17  Allan Rae  <rae@lyx.org>
14330
14331         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14332
14333 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14334
14335         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14336         make sure to set their inset_owner to the right value (bug #171)
14337
14338 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14339
14340         * DepTable.h
14341         * DepTable.C: Implement mtime checking to reduce time spent doing
14342         CRCs.
14343
14344 2002-01-16  Juergen Vigna  <jug@sad.it>
14345
14346         * tabular.C (GetAdditionalHeight): one of error fixed.
14347
14348         * lyxrc.C (output): small fix in writing use_pspell.
14349
14350 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14351
14352         * sp_base.h: #include LString.h
14353
14354 2002-01-16  Allan Rae  <rae@lyx.org>
14355
14356         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14357         Can someone check this please?
14358
14359         * text.C (drawInset): It was possible that p.row would be removed by
14360         breakAgainOneRow upsetting a few other settings.  There may be another
14361         small tweak possible by setting need_break_row = 0 when p.row has been
14362         removed but I don't know enough about the logic here.
14363
14364 2002-01-15  Allan Rae  <rae@lyx.org>
14365
14366         * text.C (insertChar): removed conditional truism.
14367
14368         * BufferView2.C (removeAutoInsets): More tweaks.
14369         cur_par_prev could be a stray pointer.  Check for trailing empty line
14370         in case last line was cur_par and only had an error inset on it.
14371
14372 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14373
14374         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14375         absolute
14376
14377         * vc-backend.C (most methods):
14378         * exporter.C (Export):
14379         * converter.C (convert):
14380         (runLaTeX):
14381         * LyXSendto.C (SendtoApplyCB):
14382         * lyxfunc.C (dispatch):
14383         (menuNew):
14384         (open):
14385         (doImport):
14386         * lyx_cb.C (AutoSave):
14387         (InsertAsciiFile):
14388         * BufferView_pimpl.C (MenuInsertLyXFile):
14389         * buffer.C (runChktex): use Buffer::filePath().
14390
14391         * buffer.h: rename filename to filename_; rename filepath to
14392         filepath_ and make it private
14393         (filePath): new method
14394
14395         * buffer.C (writeFile): use fileName()
14396         (getLatexName):
14397
14398         * lyx_main.C (init): fix starting  of LyX when the binary is a
14399         link from so,ewhere else.
14400
14401         * minibuffer.C: include <cctype> for isprint
14402
14403 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14404
14405         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14406         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14407         name clash with InsetCollapsable's width function.
14408
14409 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14410
14411         * lastfiles.C: include <iterator>
14412
14413 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14414
14415         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14416         std::count.
14417
14418         * buffer.C (makeLaTeXFile): ditto.
14419         Also make loop operation more transparent.
14420
14421 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14422
14423         * ToolbarDefaults.C: remove trailing comma closing namespace.
14424
14425         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14426
14427         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14428         as in WorkArea.
14429
14430         * trans.C (Load): comment out unused variable, allowed.
14431
14432 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14433
14434         * minibuffer.[Ch] (append_char): new method to recieve input from the
14435         drop-down completion browser. If a key was pressed, then recieve this
14436         char and append it to the existing string.
14437         (peek_event): modify the positioning data passed to the completion
14438         browser so that it can be placed above the minibuffer rather than below.
14439 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14440
14441         * LyXAction.C (init): alloe error-next for readonly documents.
14442
14443         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14444         count.
14445
14446 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14447
14448         * bufferlist.C (readFile): create the buffer _after_ checking that
14449         the file exists.
14450
14451         * lyxfunc.C (verboseDispatch): fix handling of arguments
14452
14453         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14454
14455         * lyxrc.C: use string::erase() instead of initializing to "".
14456
14457
14458 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14459
14460         * BufferView_pimpl.h:
14461         * BufferView_pimpl.C:
14462         * WorkArea.h:
14463         * WorkArea.C:
14464         * text2.C: tell X when we have made a selection for copying
14465
14466 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14467
14468         * BufferView_pimpl.C (MenuInsertLyXFile):
14469         * lyxfunc.C (menuNew):
14470         (open):
14471         (doImport): add shortcuts to directory buttons
14472
14473         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14474         open a float)
14475
14476         * lyxfunc.C (setStatusMessage):
14477         (getStatusMessage): new methods
14478         (getStatus):use setStatusMessage instead of setErrorMessage
14479         (dispatch): when function is disabled, set error message here
14480         [instead of in getStatus previously]
14481
14482         * BufferView_pimpl.C (workAreaButtonRelease): update
14483         toolbar/menubar here too.
14484
14485 2002-01-13  Allan Rae  <rae@lyx.org>
14486
14487         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14488         Now seems indestructible.  Remaining task is to audit all other
14489         code affected by deleteEmptyParagraphMechanism.  One small quirk
14490         left is that an empty document with an error in the preamble can
14491         be made to report an error but no error box appears.  I don't know
14492         where it goes.
14493         (removeAutoInsets): Improved comments.
14494
14495 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14496
14497         * Thesaurus.h:
14498         * Thesaurus.C: update for Aiksaurus 0.14
14499
14500 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14501
14502         * text2.C (firstParagraph): removed member function, all uses
14503         replaces with ownerParagraph
14504         (redoParagraphs): here
14505         (updateInset): here
14506         (toggleAppendix): here
14507         * BufferView2.C (insertErrors): here
14508         (setCursorFromRow): here
14509
14510 2002-01-13  Allan Rae  <rae@lyx.org>
14511
14512         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14513         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14514         There is still a way to segfault this although you may have to do this
14515         multiple times: Have an InsetERT with an unknown command in it.
14516         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14517         <down-arrow>, <Enter> again, View->DVI, BANG!
14518
14519         * text2.C (setCursor):
14520         (deleteEmptyParagraphMechanism):
14521         * lyxtext.h (setCursor):
14522         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14523         Making use of the return value may help fix other bugs.
14524
14525 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14526
14527         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14528
14529         * LyXView.C (updateMenubar): call MenuBar::update here
14530         (updateToolbar): but not here
14531         (showState): do not update toolbar/menubar
14532
14533         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14534         should need to care about that.
14535
14536         * lyxfunc.C (verboseDispatch): simplify a bit
14537         (getStatus): have a version which takes a pseudoaction, and
14538         another which requires a (kb_action,string).
14539
14540         * LyXAction.C (retrieveActionArg): make it work also when action
14541         is not a pseudo-action.
14542         (getActionName): simplify a bit
14543         (helpText):
14544
14545 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14546
14547         * lyxfunc.C (verboseDispatch): new families of methods with
14548         several ways to specify a command and a bool to indicate whether
14549         the command name and shortcut should be displayed in minibuffer
14550         (eventually, we could extend that to a finer bitmask like
14551         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14552         (dispatch): the pristine dispatch command which just, well,
14553         dispatchs! Note it still sets its result to minibuffer; I'm not
14554         sure we want that.
14555
14556         * lyxfunc.h: remove setHintMessage
14557
14558         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14559
14560 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14561
14562         * BufferView_pimpl.C (specialChar): delete new inset if we have
14563         not been able to insert it.
14564
14565         * kbmap.C: revert to using int instead of kb_action, since all we
14566         are dealing with is pseudo-actions.
14567
14568         * LyXAction.C (searchActionArg): change to return int instead of
14569         kb_action, since the result is a pseudoaction.
14570
14571 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14572
14573         * buffer.C (insertErtContents): Fix (partially) the font bug.
14574
14575 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14576
14577         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14578         as the other one is broken on my machine!
14579
14580 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14581
14582         * commandtags.h:
14583         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14584
14585 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14586
14587         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14588         reflect their actual use. Provide compatibility code for older lyxrc
14589         files.
14590
14591         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14592         FL_NORMAL_STYLE.
14593         change names of popup font variables in line with the changes to lyxrc.C
14594
14595 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14596
14597         * buffer.C (asciiParagraph): avoid outputing a word twice after
14598         an inset.
14599
14600         * lyxrc.C (getDescription): document that document_path and
14601         template_path can be empty.
14602
14603 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14604
14605         * LaTeXFeatures.C (getMacros):
14606         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14607
14608         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14609
14610         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14611         getPackages.
14612         (getPackages): rename feature "floats" to "float". Use an array to
14613         iterate over 'simple' features (i.e. just a \usepackage). Add
14614         handling of "amsmath" (renamed from "amsstyle").
14615
14616 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14617
14618         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14619         features list.
14620
14621 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14622
14623         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14624         FuncStaus::FuncStatus & FuncStaus::some_method().
14625
14626 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14627
14628         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14629         of the func_satus stuff. Edited and massaged in various ways by
14630         JMarc.
14631
14632         * lyxfunc.C (getStatus): use FuncStatus
14633
14634 2002-01-08  Juergen Vigna  <jug@sad.it>
14635
14636         * text.C (nextBreakPoint): use function Inset::isChar().
14637
14638         * paragraph.C (TeXOnePar): use function
14639         Inset::forceDefaultParagraphs.
14640
14641         * buffer.C (latexParagraphs): use function
14642         Inset::forceDefaultParagraphs.
14643
14644 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14645
14646         * lyx_gui.C (init): set the style of the menu popups to
14647         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14648
14649 2002-01-07  Juergen Vigna  <jug@sad.it>
14650
14651         * text.C (setHeightOfRow): small fix
14652         (prepareToPrint): don't look at alignment if we don't have the place
14653         for doing it.
14654
14655 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14656
14657         * box.C: New file. Move the Box methods and functions out of box.h,
14658         following Lars' suggestion.
14659
14660 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14661
14662         * box.h: #include "support/LOstream.h", needed for inlined function.
14663
14664         * lyxtextclass.C:
14665         * lyxtextclasslist.C: added some using std declarations.
14666
14667 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14668
14669         * box.h: make signed dimensions to allow insets wider than
14670           the screen (bug #162)
14671
14672         * BufferView_pimpl.C: add some insetHit debug
14673
14674 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14675
14676         * vc-backend.C: add FIXME
14677
14678 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14679
14680         * lyxfunc.C (getStatus): enable code for showing math font status
14681         in toolbar/menu.
14682
14683 2002-01-07  Juergen Vigna  <jug@sad.it>
14684
14685         * text.C (nextBreakPoint): removed debug output not needed anymore.
14686
14687 2002-01-06  Juergen Vigna  <jug@sad.it>
14688
14689         * text.C (nextBreakPoint): fixed up this function we had this bug
14690         since ever but now hopefully we break row better.
14691         (insertChar): we have to check if an inset is the next char as it
14692         could now happen that a large inset is causing a break.
14693
14694 2002-01-05  Juergen Vigna  <jug@sad.it>
14695
14696         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14697         if it doesn't like to be drawed.
14698
14699 2002-01-04  Juergen Vigna  <jug@sad.it>
14700
14701         * BufferView2.C (lockInset): forgot to set a cursor.
14702
14703         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14704
14705 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14706
14707         * FormMathsPanel.C:
14708         * FormMathsPanel.h
14709         * MathsSymbols.C:
14710         * form_maths_panel.C:
14711         * form_maths_panel.h:
14712         * form_maths_panel.fd: implemented sub- and super- buttons in math
14713         panel.
14714
14715         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14716         (or ^ space) to be used as in TeX (req'd by Andr�.
14717
14718         * lyxfunc.C: Allow ^ and _ again to be used both as
14719         super/subscript (mathed) and as themselves (in text).
14720
14721 2002-01-03  Allan Rae  <rae@lyx.org>
14722
14723         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14724         "LyX" or the filename of the current buffer if it has one.  This is a
14725         modified form of John Levon's patch.
14726
14727         * XFormsView.C (setWindowTitle): also set icon title.
14728
14729         * LyXView.h (setWindowTitle): signature changed.
14730         * XFormsView.h (setWindowTitle): ditto.
14731
14732 2002-01-02  Juergen Vigna  <jug@sad.it>
14733
14734         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14735
14736 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14737
14738         * screen.C (topCursorVisible): introduce a temp var for
14739         text->cursor.row(), handle the case where this row is null. (kindo
14740         hachish)
14741
14742         * text2.C (setCursor): add a couple of asserts.
14743
14744         * paragraph.h (inset_iterator): add -> operator
14745
14746         * paragraph.[Ch] (autoDeleteInsets): remove member function
14747
14748         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14749         cursor pos correctly and handle inset deletion by itself.
14750         (insertErrors): move iterator declaration out of for expression
14751
14752         * lyxtextclass.C: add <algorithm>
14753
14754         * Makefile.am: added the new files to sources, removed layout.C
14755
14756         * layout.C: removed file
14757
14758         * layout.h: remove LYX_DUMMY_LAYOUT
14759
14760         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14761         layout.
14762
14763         * lyxlayout.[Ch]:
14764         * lyxtextclass.[Ch]:
14765         * lyxtextclasslist.[Ch]: new files
14766
14767         * include order changes to a lot of files, also changes because of
14768         the six new files.
14769
14770 2001-12-27  Juergen Vigna  <jug@sad.it>
14771
14772         * buffer.C (asciiParagraph): more fixes.
14773
14774         * tabular.C (ascii): make ascii export support export of only the
14775         data separated by a column-delimiter.
14776         (ascii): better support for ascii export.
14777
14778         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14779
14780 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14781
14782         * tabular_funcs.C: use a "using std::getline" instead of the
14783         previous fix from Angus (necessary for cxx + lyxstring)
14784
14785 2001-12-24  Juergen Vigna  <jug@sad.it>
14786
14787         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14788
14789         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14790         problems. First check a minipage also if we have some ert-contents
14791         (not only on par->size(), second set the right depth of the paragraph
14792         on the relink to the root-paragraph-list!
14793
14794         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14795         which then did not anymore update the main paragraphs on undo/redo!
14796
14797 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14798
14799         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14800         code. Support all font-changing funcs (even those which are not in
14801         menu currently). Support for reporting font settings in
14802         mathed (disabled until Andre provides a function on mathed's side).
14803
14804         * func_status.h (toggle): small helper function to set toggle
14805         state on a flag.
14806
14807 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14808
14809         * tabular_funcs.C: getline -> std::getline
14810
14811 2001-12-21  Juergen Vigna  <jug@sad.it>
14812
14813         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14814         accessed and could be 0 (I couldn't generate this but it seems
14815         Michael could!).
14816
14817 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14818
14819         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14820         * tabular_funcs.h: here and include iosfwd
14821
14822 2001-12-20  Juergen Vigna  <jug@sad.it>
14823
14824         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14825         inside inset but undo_par was.
14826
14827 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14828
14829         * Thesaurus.C: always include <config.h> in sources.
14830
14831         * Painter.h:
14832         * lyxlookup.h:
14833         * box.h: do not include <config.h> in header files
14834
14835         * text.C (paintLastRow): remove unused variable
14836
14837         * text.C (transformChar):
14838         (insertChar):
14839         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14840
14841         * Painter.C (text):
14842         * font.C (width): rewrite to use uppercase() instead of
14843         islower/toupper.
14844
14845         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14846
14847 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14848
14849         * lyxfind.C: clean up of find failure position change
14850
14851 2001-12-20  Juergen Vigna  <jug@sad.it>
14852
14853         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14854
14855         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14856         (TeXRow): added to LaTeX a single tabular row.
14857         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14858         (Latex): simplified and finally good LT-h/f support.
14859         (various_functions): just small adaptions for LT-h/f support.
14860
14861         * tabular_funcs.[hC]: added and moved here all not classfunctions
14862         of LyXTabular.
14863
14864 2001-12-19  Juergen Vigna  <jug@sad.it>
14865
14866         * tabular.[Ch]: better support for longtabular options (not finished
14867         yet!)
14868
14869 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14870
14871         * text.C (paintLastRow): use the label font instead of the font of
14872         the last character to compute the size of *_BOX. This makes more
14873         sense and avoids a crash with empty paragraphs.
14874         Use Painter::rectangle to draw EMPTY_BOX.
14875
14876 2001-12-19  Juergen Vigna  <jug@sad.it>
14877
14878         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14879         the paragraphs if the replaced paragraph is not the first one!
14880         Tried to delete not used paragraphs but does not work yet so for
14881         now it's inside #ifdef's and by default off!
14882
14883 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14884
14885         * MenuBackend.C: include "lyx_main.h" instead of declaring
14886         lastfiles (actually was declared as LastFiles* instead of a
14887         scoped_ptr).
14888
14889 2001-12-17  Juergen Vigna  <jug@sad.it>
14890
14891         * tabular.C (AppendColumn): applied John's fix
14892
14893 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14894
14895         * BufferView.h:
14896         * BufferView.C:
14897         * BufferView_pimpl.h:
14898         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14899
14900         * Makefile.am:
14901         * box.h: new start of class for above
14902
14903         * lyxfunc.C: ignore space-only minibuffer dispatches.
14904           Show the command name when it doesn't exist
14905
14906         * minibuffer.C: don't add empty lines to the history
14907
14908         * minibuffer.C: add a space on dropdown completion
14909
14910 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14911
14912         * text.C: fix line above/below drawing in insets
14913
14914 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14915
14916         * lyxlength.C (LyXLength): Initialize private variables.
14917
14918 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14919
14920         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14921         when inserting error insets.
14922
14923 2001-12-13  Juergen Vigna  <jug@sad.it>
14924
14925         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14926         actually sometimes the before-paragraph.
14927         (setUndo): don't clear the redostack if we're not actually undoing!
14928
14929 2001-12-06  Juergen Vigna  <jug@sad.it>
14930
14931         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14932         and fixed redoing of main paragraph, so we can use it now ;)
14933
14934         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14935
14936 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14937
14938         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14939         Juergen's request
14940
14941 2001-12-13  André Pönitz <poenitz@gmx.net>
14942
14943         * undostack.[Ch]:
14944         * undo_func.C: minor cleanup
14945
14946 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14947
14948         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14949         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14950         font in urw-fonts package which is marked as -urw-fontspecific and
14951         does not work (incidentally, changing the encoding in the
14952         fonts.dir of this package to -adobe-fontspecific fixes the
14953         problem).
14954
14955         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14956         is a crash when undoing first paragraph (Juergen, please take a
14957         look). THis does not mean the undo fix is wrong, just that it
14958         uncovers problems.
14959
14960         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14961         the (Paragraph*) version when needed instead of duplicating the
14962         code.
14963
14964         * text.C (workWidth): use Inset::parOwner to find out where the
14965         inset has been inserted. This is a huge performance gain for large
14966         documents with lots of insets. If Inset::parOwner is not set, fall
14967         back on the brute force method
14968
14969         * paragraph_pimpl.C (insertInset):
14970         * paragraph.C (Paragraph):
14971         (cutIntoMinibuffer): set parOwner of insets when
14972         inserting/removing them
14973
14974         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14975
14976 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14977
14978         * commandtags.h:
14979         * LyXAction.C:
14980         * lyx_main.C:
14981         * lyxfunc.C:
14982         * mathed/formulabase.C:
14983         * mathed/math_cursor.[Ch]:
14984         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14985
14986
14987 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14988
14989         * lyxlength.[Ch] (operator!=): new function
14990
14991 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14992
14993         * text.C (workWidth): use Inset::parOwner to find out where the
14994         inset has been inserted. This is a huge performance gain for large
14995         documents with lots of insets. If Inset::parOwner is not set, fall
14996         back on the brute force method
14997
14998         * paragraph_pimpl.C (insertInset):
14999         * paragraph.C (Paragraph):
15000         (cutIntoMinibuffer): set parOwner of insets when
15001         inserting/removing them
15002
15003         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15004
15005 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15006
15007         * tabular-old.C (getTokenValue):
15008         * tabular.C (getTokenValue):
15009         (write_attribute): new versions for LyXLength
15010         (everywhere): adjust the use of widths
15011
15012         * tabular.h: change the type of widths from string to LyXLength
15013
15014 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15015
15016         * paragraph.C: fixed missing line number count when exporting
15017         Environments to LaTeX file
15018
15019         * buffer.C: added informational message for checking line numbers.
15020
15021 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15022
15023         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15024         paragraph, do the 'double space' part, but not the 'empty
15025         paragraph' one.
15026
15027         * text.C (workWidth): small optimization
15028         (getLengthMarkerHeight): use minimal size for negative lengths.
15029
15030 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15031
15032         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15033
15034         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15035
15036 2001-12-11  André Pönitz <poenitz@gmx.net>
15037
15038         * FontLoader.C:
15039         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15040
15041 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15042
15043         * text2.C: keep selection on a setFont()
15044
15045 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15046
15047         * lyx_cb.C: another bv->text misuse, from insert label
15048
15049 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15050
15051         * kbsequence.h:
15052         * kbsequence.C: re-instate nmodifier mask
15053
15054 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15055
15056         * lyx_main.h: make lyxGUI private.
15057
15058 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15059
15060         * lyxfind.C: place the cursor correctly on failed search
15061
15062 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15063
15064         * text.C (getLengthMarkerHeight): for small heights, the arrows
15065         are not always on top/bottom of the text
15066         (drawLengthMarker): smaller arrows; take the left margin in
15067         account; draw also vfills.
15068         (paintFirstRow):
15069         (paintLastRow): remove special code for vfill and standard spaces,
15070         since everything is handled in drawLengthMarker now.
15071
15072 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15073
15074         * buffer.C (insertErtContents): try to handle font and language
15075         interaction a bit better.g
15076
15077         * ColorHandler.C (updateColor): change the hash to cover the whole
15078         LColor enum, ws cleanup
15079         (getGCLinepars): ditto
15080         (getGCLinepars): only lookup in the linecache once.
15081
15082 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15083
15084         * iterators.C (operator++): Make the iterator more robust
15085
15086         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15087         (John's patch)
15088         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15089
15090 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15091
15092         * lyxtext.h:
15093         * text.C: better added space drawing
15094
15095 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15096
15097         * LyXView.C:
15098         * BufferView2.C: fix layout combo update on inset unlock
15099
15100 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15101
15102         * Makefile.am: don't compile unused files
15103
15104 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15105
15106         * lyxfunc.C:
15107         * commandtags.h:
15108         * LyXAction.C: remove old LFUN_LAYOUTNO
15109
15110 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15111
15112         * paragraph_pimpl.h:
15113         * paragraph_pimpl.C: isTextAt() doesn't need font param
15114
15115 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15116
15117         * lyxlex.h:
15118         * lyxlex.C: little cleanup
15119
15120 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15121
15122         * BufferView_pimpl.C: fix insertAscii for insets
15123
15124 2001-12-05  Juergen Vigna  <jug@sad.it>
15125
15126         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15127         set the right font on the "multi" paragraph paste!
15128
15129 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15130
15131         * trans_decl.h:
15132         * trans_mgr.[Ch]:
15133         * trans.[Ch]:
15134         * lyxgluelength.C:
15135         * lyxlength.C: remove out-commented code.
15136
15137         * BufferView_pimpl:
15138         * CutAndPaste.C:
15139         * DepTable.C:
15140         * buffer.C:
15141         * chset.C:
15142         * lastfiles.C:
15143         * lyxlex.C:
15144         * lyxlex_pimpl.C:
15145         * lyxserver.C:
15146         * screen.C:
15147         * tabular-old.C:
15148         * tabular.C:
15149         * text.C:
15150         * trans_mgr.C:
15151         * vc-backend.C: change "while(" to "while ("
15152
15153         * lyxlength.[Ch]: add zero function to check if length is zero or
15154         not
15155         * lyxgluelength.C: use it
15156
15157 2001-12-05  Allan Rae  <rae@lyx.org>
15158
15159         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15160         Works for 2.95.3, from what I understand of Garst's reports this should
15161         work for other g++ versions.  We're screwed if the abs(int) definition
15162         changed between bugfix releases of gcc.
15163
15164 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15165
15166         * text.C: fix chapter label offset !
15167
15168 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15169
15170         * lyxtext.h:
15171         * text.C: fix hfill at end of line, clean up
15172
15173 2001-12-04  Juergen Vigna  <jug@sad.it>
15174
15175         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15176         that we force an update of the inset and it's owners if neccessary.
15177
15178 2001-12-03  Juergen Vigna  <jug@sad.it>
15179
15180         * text.C (rowLast): simplified code
15181
15182 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15183
15184         * lyxfunc.C: fix show options on timeout
15185
15186 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15187
15188         * screen.C (topCursorVisible): scroll half a page when the cursor
15189         reached top of bottom of screen
15190
15191 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15192
15193         * minibuffer.C: deactivate on loss of focus
15194
15195 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15196
15197         * vspace.[Ch] (operator!=): add operator.
15198
15199 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15200
15201         * BufferView_pimpl.C: refuse to open an inset when
15202         there's a selection.
15203
15204 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15205
15206         * BufferView_pimpl.C: allow to click on RHS of full row insets
15207
15208 2001-11-30  Juergen Vigna  <jug@sad.it>
15209
15210         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15211         insets for undo reasons.
15212
15213 2001-11-28  André Pönitz <poenitz@gmx.net>
15214
15215         * vspace.[Ch]: cosmetical changes
15216
15217 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15218
15219         * LyXAction.h:
15220         * LyXAction.C:
15221         * lyxfunc.h:
15222         * lyxfunc.C:
15223         * kbmap.h:
15224         * kbmap.C:
15225         * lyxrc.C:
15226         * kbsequence.h:
15227         * kbsequence.C: part re-write of old kb code
15228
15229         * Painter.C:
15230         * WorkArea.C: remove Lgb_bug_find_hack
15231
15232 2001-11-30  José Matos <jamatos@fep.up.pt>
15233
15234         * buffer.C (makeDocBookFile): add a comment to point a hack.
15235         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15236         Fixed a double write of labels.
15237
15238 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15239
15240         * LaTeX.C:
15241         * LaTeX.h Fixed bug in LaTeX class where it would not
15242         re-run latex if no depfiles were changed, but the .dvi was removed.
15243
15244 2001-11-28  André Pönitz <poenitz@gmx.net>
15245
15246         * all the files from the change on 2001/11/26:
15247         use lyx::layout_type instead of LyXTextClass::size_type
15248         use lyx::textclass_type instead of LyXTextClassList::size_type
15249
15250 2001-11-29  Juergen Vigna  <jug@sad.it>
15251
15252         * text.C: added support for paragraph::isFreeSpacing()
15253
15254         * buffer.C: same as above
15255
15256         * paragraph.h: inserted isFreeSpacing() function to enable
15257         FreeSpacing inside InsetERT.
15258
15259         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15260         of the paragraph's in the cut/copy buffer to 0!
15261
15262         * text2.C (removeRow): remove the assert as it can!
15263
15264         * lyxtext.h: added helper function firstRow returning firstrow and
15265         made firstrow private again.
15266
15267         * BufferView2.C (lockInset): don't relock if we're already locked!
15268
15269         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15270         the only paragraph.
15271         (removeRow): added Assert::(firstrow)
15272
15273         * debug.C: forgot to add INSETTEXT here.
15274
15275 2001-11-28  Juergen Vigna  <jug@sad.it>
15276
15277         * sp_spell.C (initialize): changed error text to more general
15278         spellchecker command use (not only ispell!)
15279
15280         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15281
15282         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15283
15284 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15285
15286         * vspace.C: initialise lyxgluelength on failure
15287
15288 2001-11-28  Allan Rae  <rae@lyx.org>
15289
15290         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15291         declaration & definition that looks like a function declaration.
15292
15293 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15294
15295         * BufferView2.C (copy):
15296         (copyEnvironment): do not clear the selection when doing a copy.
15297
15298         * text.C (paintFirstRow): compilation fix
15299
15300 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15301
15302         * tabular.C (Latex): correct line count when writing latex.
15303
15304 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15305
15306         * paragraph_pimpl.h:
15307         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15308           bug a bit
15309
15310 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15311
15312         * text.C:
15313         * LColor.h:
15314         * LColor.C: change vfillline->added_space
15315
15316         * text.C: add markers and text for added space
15317
15318         * vspace.C: fix comment
15319
15320 2001-11-28  André Pönitz <poenitz@gmx.net>
15321
15322         * paragraph.C: whitespace changes
15323         * all the other files from the change on 2001/11/26:
15324         change *::pos_type into lyx::pos_type
15325
15326 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15327
15328         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15329         language of the document when inserting error insets.
15330
15331 2001-11-26  André Pönitz <poenitz@gmx.net>
15332
15333         * BufferView_pimpl.[Ch]:
15334         *       CutAndPaste.C:
15335         * buffer.[Ch]:
15336         * lyxcursor.[Ch]:
15337         * lyxfind.C:
15338         * lyxfunc.C:
15339         * lyxrow.[Ch]:
15340         * paragraph.[Ch]:
15341         * paragraph_pimpl.[Ch]:
15342         * sp_spell.C:
15343         * text.C:
15344         * text2.C: reduce header dependencies, introduce type for positions
15345
15346 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15347
15348         * <various>: change to use Alert.h
15349
15350 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15351
15352         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15353         when encountering an unknown token.
15354         (readLyXformat2): Show an error message if there were unknown tokens.
15355
15356 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15357
15358         * BufferView2.C:
15359         * BufferView_pimpl.C:
15360         * buffer.C:
15361         * paragraph.h:
15362         * text.C:
15363         * text2.C: use par->isInset()
15364
15365 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15366
15367         * paragraph_pimpl.h:
15368         * paragraph_pimpl.C: cleanup
15369
15370 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15371
15372         * text2.C (removeRow):
15373         * text.C (setHeightOfRow): remove useless (and costly) call to
15374         getRow.
15375
15376 2001-11-20  Allan Rae  <rae@lyx.org>
15377
15378         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15379         Now need Inset*::checkInsertChar() to return true for appropriate
15380         cases so that the characters in the minibuffer will actually be
15381         inserted.
15382
15383 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15384
15385         * text.C: change the order of the includes.
15386         (workWidth): initialize it at once.
15387         (workWidth): make maxw unsigned
15388         (setHeightOfRow): remove unused variable (inset)
15389         (selectSelectedWord): remove unused variable (inset)
15390         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15391
15392 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15393
15394         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15395         server is not running.
15396         (openConnection):
15397         (closeConnection): add debug info when server is disabled.
15398
15399         * ColorHandler.C (getGCForeground): send debug message to GUI
15400         channel.
15401
15402         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15403
15404         * kbmap.C (bind): modify because return conventions of
15405         kb_sequence::parse have changed.
15406
15407         * kbsequence.C (parse): only ignore spaces and not any stupid
15408         control character. This avoids tests like s[i] <= ' ', which are
15409         guaranteed to fail with 8bit characters and signed chars.
15410         Change return code to string::npos when there have been no error
15411         (0 was a bad idea when error is at first character)
15412
15413 2001-11-14  José Matos  <jamatos@fep.up.pt>
15414
15415         * buffer.h:
15416         * buffer.C (simpleDocBookOnePar): removed unused argument.
15417
15418 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15419
15420         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15421         insets which are part of a word. Paragraph::isLetter takes care of
15422         that now. Use Paragraph::isInset to identify insets.
15423         (selectSelectedWord): do not test for hyphenation break.
15424
15425         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15426         that protected spaces are considered as spaces.
15427
15428         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15429         Inset::isLetter.
15430
15431 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15432
15433         * lyxserver.h:
15434         * lyxserver.C: fix it. and small cleanup.
15435
15436 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15437
15438         * BufferView_pimpl.C: use inline helpers
15439
15440         * LaTeXFeatures.h:
15441         * LaTeXFeatures.C: fix typos
15442
15443         * Spacing.h:
15444         * Spacing.C: move spacing_string into class
15445
15446         * ToolbarDefaults.C: move stuff into namespace anon
15447
15448         * layout.h: update enum
15449
15450         * lyxfunc.C: use better debug
15451
15452         * minibuffer.h: fix typo
15453
15454         * debug.h:
15455         * debug.C:
15456         * WorkArea.C: add and use Debug::WORKAREA
15457
15458         * lyxtext.h:
15459         * text.C:
15460         * text2.C: code re-organisation, inline helpers
15461
15462 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15463
15464         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15465         std::vector.empty().
15466
15467 2001-11-09  Allan Rae  <rae@lyx.org>
15468
15469         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15470         '\n's after tables.  Tabular and ERT inset work now makes this no
15471         longer necessary.
15472
15473 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15474
15475         * minibuffer.h:
15476         * minibuffer.C: fix crash, improve drop-down completion
15477
15478 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15479
15480         * lyxserver.h:
15481         * lyxserver.C: invalidate fd's when doing endPipe()
15482
15483 2001-11-08  José Matos  <jamatos@fep.up.pt>
15484
15485         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15486         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15487
15488         * paragraph.h:
15489         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15490
15491 2001-11-07  José Matos  <jamatos@fep.up.pt>
15492
15493         * buffer.h:
15494         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15495         const qualifier.
15496
15497         * buffer.C (sgmlOpenTag):
15498         * buffer.C (sgmlCloseTag): removed debug info.
15499
15500         * buffer.h (sgmlOpenTag):
15501         * buffer.h (sgmlCloseTag): made public.
15502
15503 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15504
15505         * buffer.C (saveParamsAsDefaults):
15506         * lyx_cb.C (MenuLayoutSave): remove
15507
15508         * LyXAction.C (init):
15509         * commandtags.h:
15510         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15511
15512 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15513
15514         * buffer.C (setPaperStuff): removed from here...
15515
15516         * bufferparams.C (setPaperStuff): ... and moved there.
15517
15518 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15519
15520         * minibuffer.h:
15521         * minibuffer.C:
15522         * XFormsView.C: add support for drop-down completion
15523
15524 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15525
15526         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15527         commands.
15528
15529 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15530
15531         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15532         disabled.
15533
15534 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15535
15536         * lyx_main.C: change ref to known bugs
15537
15538 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15539
15540         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15541         to work around older babel problems.
15542
15543 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15544
15545         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15546
15547 2001-10-24  Juergen Vigna  <jug@sad.it>
15548
15549         * tabular-old.C (ReadOld): below variable changes reflected.
15550
15551         * tabular.[Ch]: added ltType struct for longtable header/footer
15552         defines and changed all instances where they are used. Added
15553         future support for double top/bottom rows.
15554
15555 2001-10-24  José Matos  <jamatos@fep.up.pt>
15556
15557         * buffer.h (docbookHandleCaption):
15558         * buffer.C (docbookHandleCaption): removed unused function.
15559         (makeDocBookFile): moved docbook supported version to v4.1.
15560
15561 2001-10-24  José Matos  <jamatos@fep.up.pt>
15562
15563         * tabular.h:
15564         * tabular.C (docbookRow): new function to export docbook code of a row.
15565         (DocBook): now honors the longtable flags.
15566
15567 2001-10-23  José Matos  <jamatos@fep.up.pt>
15568
15569         * LaTeXFeatures.h:
15570         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15571         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15572
15573         * buffer.C (makeLinuxDocFile):
15574         (makeDocBookFile): reworked the preamble, more clean, and with
15575         support for lyx defined entities. Changed the document declaration
15576         to be more XML friendly.
15577
15578         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15579         if we need to output XML that should be done with a filter.
15580
15581 2001-10-22  Juergen Vigna  <jug@sad.it>
15582
15583         * sp_pspell.h (class PSpell): add alive function needed in the
15584         controller to see if the spellchecker could be started.
15585
15586 2001-10-22  Juergen Vigna  <jug@sad.it>
15587
15588         * buffer.C (insertStringAsLines): modify the font for inserting
15589         chars in certain conditions by calling checkInsertChar(font).
15590
15591 2001-10-19  Juergen Vigna  <jug@sad.it>
15592
15593         * text.C (workWidth): use getRow instead of wrong algorithm.
15594         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15595
15596 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15597
15598         * lyxserver.h:
15599         * lyxserver.C:
15600         * lyx_main.h:
15601         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15602
15603 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15604
15605         * text.C (workWidth): do not search for the exact row when
15606         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15607         optimization for big documents.
15608
15609 2001-10-18  Juergen Vigna  <jug@sad.it>
15610
15611         * text.C (workWidth): new function with added Inset * parameter.
15612
15613 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15614
15615         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15616
15617         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15618         change return type of getColumnNearX.
15619
15620
15621         * text.C (changeRegionCase): use uppercase/lowercase instead of
15622         toupper/tolower.
15623         (leftMargin):
15624         (rightMargin): simplify code by factoring out the uses of
15625         textclasslist.
15626         (labelFill):
15627         (numberOfHfills):
15628         (setHeightOfRow):
15629         (appendParagraph): use Paragraph::size_type
15630
15631 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15632
15633         * vspace.C (asLatexString): add a missing break
15634
15635 2001-10-15  Herbert Voss  <voss@perce.de>
15636
15637         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15638
15639 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15640
15641         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15642         is not available.
15643
15644 2001-10-10  André Pönitz <poenitz@gmx.net>
15645
15646         * lyxfunc.C: removed greek_kb_flag.
15647
15648 2001-10-10  Herbert Voss  <voss@perce.de>
15649
15650         * lyx_main.C: delete global string help_lyxdir.
15651
15652 2001-10-09  Herbert Voss  <voss@perce.de>
15653
15654         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15655
15656         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15657
15658         * lyx_main.C: added global string help_lyxdir.
15659
15660         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15661
15662 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15663
15664         * lyxrc.C (set_font_norm_type): support iso8859-4
15665
15666 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15667
15668         * LaTeX.C (deplog): add another regex for MikTeX
15669
15670 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15671
15672         * lyxrc.C (set_font_norm_type): support iso8859-3
15673
15674 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15675
15676         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15677
15678         * LaTeXFeatures.C: remove special case of french and index
15679
15680         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15681         before \begin{document}). This solves several incompatibilities.
15682
15683 2001-10-03  Garst Reese  <reese@isn.net>
15684
15685         * lyx_cb.C: change CheckTex error msg.
15686
15687 2001-10-03  José Matos  <jamatos@fep.up.pt>
15688
15689         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15690
15691 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15692
15693         * .cvsignore: update
15694
15695         * lyx_main.C (commandLineVersionInfo): use new style version info.
15696
15697         * buffer.C (writeFile):
15698         (makeLaTeXFile):
15699         (makeLinuxDocFile):
15700         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15701
15702         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15703
15704         * version.h: update to use stuff in version.C
15705
15706         * version.C.in: new file. Contains version information determined
15707         at compile time. This is a merging of version.h and
15708         version_info.h.in.
15709
15710 2001-10-03  Juergen Vigna  <jug@sad.it>
15711
15712         * BufferView_pimpl.C (update): don't change "dirty" status in
15713         updateInset call.
15714
15715 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15716
15717         * WorkArea.C (c-tor): re-position version string slightly.
15718
15719 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15720
15721         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15722         revert to previous code.
15723
15724         WorkArea.[Ch]: (show, destroySplash): methods removed.
15725
15726         WorkArea.C: rework code so that it's an amalgam of the codes before and
15727         after the splash screen was moved to WorkArea.
15728
15729 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15730
15731         * lyxrc.C (read):
15732         * vspace.C (inPixels):
15733         (lyx_advance):
15734         * kbmap.C (bind):
15735         * buffer.C (insertStringAsLines):
15736         (asciiParagraph): fix types to be large enough
15737
15738         * lyxlex_pimpl.h: change member status from short to int
15739
15740         * layout.h: fix type of endlabeltype
15741
15742         * kbmap.C (bind):
15743         * kbsequence.C (parse): change return type to string::size_type
15744
15745         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15746         variable
15747
15748         * Bullet.C (bulletSize):
15749         (bulletEntry): do not use short ints as parameters
15750
15751         * BufferView2.C (insertLyXFile): change a char to an int.
15752
15753         * WorkArea.C (WorkArea): remove unneeded floats in computation
15754
15755 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15756
15757         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15758
15759         * paragraph.C (asString): Do not ignore newline/hfill chars when
15760         copying to the clipboard.
15761
15762 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15763
15764         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15765         after a multi-line inset.
15766
15767 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15768
15769         * paragraph.C (validate): Set NeedLyXFootnoteCode
15770
15771 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15772
15773         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15774         and decrease-error to decrease.
15775
15776 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15777
15778         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15779         it more readable (should be equivalent)
15780
15781 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15782
15783         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15784
15785 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15786
15787         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15788         of a cursor (row, etc.) after a character has been deleted
15789         (deleteEmptyParagraphMechanism): call the method above on _all_
15790         cursors held by the LyXText when a double space has been
15791         detected/deleted.
15792
15793 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15794
15795         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15796         pixmap.
15797         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15798
15799         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15800         background. Use greyOut() and the new show() methods to toggle between
15801         the foreground and background. Add code to remove the splash after
15802         its initial showing.
15803
15804         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15805         (create_forms): no longer call Dialogs::showSplash.
15806
15807 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15808
15809         * .cvsignore: add version_info.h
15810
15811 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15812
15813         * version_info.h.in: new file
15814
15815         * Makefile.am: add version_info.h.in
15816
15817         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15818         version_info.h instead of VERSION_INFO
15819
15820 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15821
15822         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15823         The ERT inset now returns string().
15824
15825 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15826
15827         * lyxtext.h, text.C (selectNextWord): renamed as
15828         selectNextWordToSpellcheck.
15829
15830         * text.C (selectNextWordToSpellcheck): Modified to not select
15831         words inside an ERT inset.
15832
15833 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15834
15835         * lyx_cb.C (MenuLayoutSave): change a bit the question
15836
15837         * sp_base.h: include <sys/types.h>
15838
15839 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15840
15841         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15842
15843 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15844
15845         * several files: fix typos in user-visible strings
15846
15847 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15848
15849         * text2.C (pasteSelection): do not set the selection, since it
15850         will be cleared later. Actually, the intent was to fix the way the
15851         selection was set, but I figured rmoving the code was just as good.
15852
15853 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15854
15855         * FontLoader.C (available): Check if font is available without
15856         loading the font.
15857
15858 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15859
15860         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15861
15862 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15863
15864         * lyxrc.[Ch]: added display_graphics variable and associated code.
15865
15866 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15867
15868         * bufferparams.C (hasClassDefaults): new method. Returns true if
15869         the buffer parameters correspond to known class defaults
15870
15871 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15872
15873         * XFormsView.C (show): set minimum size to the main window.
15874
15875 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15876
15877         * text2.C (copySelection):
15878         (cutSelection):
15879         * lyxfind.C (LyXReplace):
15880         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15881         LyXText::selectionAsString.
15882
15883         * paragraph.C (asString): add "label" argument to the second form
15884
15885         * text2.C (selectionAsString): add "label" argument and pass it to
15886         Paragraph::asString.
15887
15888 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15889
15890         * lyx_main.C (commandLineHelp): remove version information
15891
15892 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15893
15894         * lyx_main.C: add -version commandline option
15895
15896 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15897
15898         * paragraph.h: make the optional constructor arg required instead.
15899         some modifications to other files because of this.
15900
15901         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15902
15903         * lyxserver.C (C_LyXComm_callback): make it static
15904
15905         * lyx_main.C (error_handler): make it static
15906
15907         * lyx_gui.C (LyX_XErrHandler): make it static
15908
15909         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15910
15911         * WorkArea.C: make the extern "C" methods static.
15912
15913         * Makefile.am (lyx_LDADD): simplify
15914
15915 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15916
15917         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15918         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15919
15920         * LyXAction.C (init):
15921         * lyxfunc.C (dispatch): associated code removal.
15922
15923 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15924
15925         * lyxfont.h (isSymbolFont): shut off warning
15926
15927         * text.C (setHeightOfRow):
15928         (getVisibleRow): fix crash with empty paragraphs which have a
15929         bottom line
15930
15931 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15932
15933         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15934         code.
15935
15936 2001-09-04  José Matos  <jamatos@fep.up.pt>
15937         * buffer.C
15938         * buffer.h
15939         * tabular.C (docbook): rename docBook method to docbook.
15940
15941 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15942
15943         * Makefile.am: add dependencies to main.o.
15944
15945 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15946
15947         * FontLoader.C (available): Return false if !lyxrc.use_gui
15948
15949 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15950
15951         * FontInfo.C (query):
15952         * converter.C (view):
15953         * importer.C (Import):
15954         * exporter.C (Export): Can not -> cannot.
15955
15956 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15957
15958         * BufferView_pimpl.C: allow to create index inset even if
15959           string is empty
15960
15961 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15962
15963         * buffer.C (getLists): replace boost::tie code with an explicit pair
15964         as boost::tie can break some compilers.
15965
15966         * iterators.h: Added a std:: declaration to the return type of
15967         ParIterator::size.
15968
15969 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15970
15971         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15972           case.
15973
15974 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15975
15976         * iterators.[Ch]: New files. Provide paragraph iterators.
15977
15978         * buffer.C (changeLanguage): Use paragraph iterators.
15979         (isMultiLingual): ditto
15980
15981         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15982
15983 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15984
15985         * FontLoader.C: Support for cmr font.
15986
15987 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15988
15989         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15990         (available): New method.
15991
15992         * FontInfo.C (getFontname): Use scalable fonts even when
15993         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15994         found.
15995
15996 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15997
15998         * converter.C (Formats::view): reverted! Incorrect fix.
15999
16000 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16001
16002         * converter.C (Formats::view): only output the -paper option
16003         if the dvi viewer is xdvi, thereby fixing bug #233429.
16004
16005 2001-08-23  Herbert Voss  <voss@perce>
16006
16007         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16008
16009 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
16010
16011         * Spacing.h (Spacing): Set space to Default on in the default
16012         constructor.
16013
16014 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16015
16016         * vc-backend.h (RCS::versionString): add RCS to version
16017         (CVS::versionString): add CVS to version
16018
16019         * vc-backend.C (scanMaster): do not add CVS to version.
16020         (scanMaster): do not add RCS to version
16021
16022         * lyxvc.C (versionString): new method
16023
16024         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16025
16026 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16027
16028         * Spacing.C (set): initialize fval
16029
16030 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16031
16032         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16033         " or \.
16034
16035 2001-08-16  Juergen Vigna  <jug@sad.it>
16036
16037         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16038
16039 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16040
16041         * BufferView_pimpl.C:
16042         * figureForm.C:
16043         * lyxtext.h:
16044         * text2.C: setParagraph takes linespacing now
16045
16046 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16047
16048         * LyxAction.C: add internal LFUN_CITATION_INSERT
16049
16050         * LyXView.C: actually apply fix
16051
16052         * bufferlist.C: fix open non-existent file
16053
16054         * lyxfind.C: fix indentation
16055
16056         * lyxfunc.C: remove unneeded assert, fix typo
16057
16058 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16059
16060         * MenuBackend.C: use "Floatname List"
16061
16062 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16063
16064         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16065         when converting LaTeX layout to insetERT.
16066         Generate a non-collapsed float when reading old float
16067
16068 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16069
16070         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16071         ERT insets.
16072
16073 2001-08-13  Juergen Vigna  <jug@sad.it>
16074
16075         * text.C (fill): return 0 instead of 20 as this seems to be the more
16076         correct value.
16077
16078 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16079
16080         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16081         lyxrc.font_norm.
16082
16083 2001-08-13  Juergen Vigna  <jug@sad.it>
16084
16085         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16086         casesensitive off.
16087         (SearchBackward): comment out the unlocking of the inset_owner this
16088         should not be needed!
16089
16090 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16091
16092         * Many files: Remove inherit_language, and add latex_language
16093
16094         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16095         collapsible insets.
16096
16097 2001-08-10  Juergen Vigna  <jug@sad.it>
16098
16099         * text.C (prepareToPrint): fixed hfill-width in draw!
16100
16101         * BufferView2.C (selectLastWord): save the selection cursor as this
16102         now is cleared in the function LyXText::clearSelection!
16103
16104 2001-08-08  Juergen Vigna  <jug@sad.it>
16105
16106         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16107         BACKSPACE type functions.
16108
16109         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16110         is only cutted from the document but not put in the cut-buffer, where
16111         still the old stuff should be.
16112
16113         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16114
16115         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16116
16117         * tabular.C (SetWidthOfCell): fixed special case where the width
16118         was not updated!
16119         (LeftLine): handle '|' in align_special.
16120         (RightLine): ditto
16121         (LeftAlreadyDrawed): ditto
16122         (SetWidthOfCell): ditto
16123
16124 2001-08-07  Juergen Vigna  <jug@sad.it>
16125
16126         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16127
16128 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16129
16130         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16131         * lyxlex.[hC]: ditto
16132
16133 2001-08-06  Juergen Vigna  <jug@sad.it>
16134
16135         * text.C (getVisibleRow): fix up row clearing a bit.
16136
16137 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16138
16139         * minibuffer.C: make sure the X server sees the changes in the input.
16140
16141 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16142
16143         * paragraph.C (getFont): split into...
16144         (getLabelFont): this
16145         (getLayoutFont): and this
16146         * paragraph_pimpl.C (realizeFont): calling this
16147
16148         * text2.C (getFont): split into...
16149         (getLayoutFont): this
16150         (getLabelFont): and this
16151         (realizeFont): all three calling this
16152
16153         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16154         files where used.
16155
16156 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16157
16158         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16159
16160 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16161
16162         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16163         layouts from the Quote inset insertion.
16164
16165 2001-08-03  Juergen Vigna  <jug@sad.it>
16166
16167         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16168
16169         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16170         only if status not is already CHANGED_IN_DRAW (second level).
16171
16172         * text.C (draw): don't set the need_break_row when inside an
16173         InsetText LyXText.
16174
16175 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16176
16177         * buffer.C (parseSingleLyXformat2Token): handle more latex
16178         conversion cases.
16179
16180         * bufferview_funcs.[hC]: change function names to
16181         begin with small char, adjust other files.
16182
16183 2001-08-02  André Pönitz <poenitz@gmx.net>
16184
16185         * lyxfunc.C:
16186         BufferView_pimpl.C: remove broken special code for math-greek
16187
16188 2001-08-02  Juergen Vigna  <jug@sad.it>
16189
16190         * BufferView_pimpl.C (update): redone this function so that we
16191         update the text again if there was a CHANGE_IN_DRAW.
16192
16193         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16194         (drawFromTo): added a new internal bool which is used by draw() and
16195         redraw() function.
16196         (general): some cursor drawing problems fixed.
16197
16198 2001-08-01  Juergen Vigna  <jug@sad.it>
16199
16200         * lyxfind.C (LyXFind): fixed
16201         (SearchForward): ditto
16202         (SearchBackward): ditto
16203
16204         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16205         spurius drawing of the cursor in the main area.
16206
16207         * text2.C (status): small fix which could lead to a segfault!
16208         (clearSelection): remove unneeded BufferView param.
16209
16210 2001-08-01  André Pönitz <poenitz@gmx.net>
16211
16212         * lyxfunc.C: small change due to changed mathed interface
16213
16214 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16215
16216         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16217
16218 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16219
16220         * lyxfunc.c: fail gracefully if file doesn't exist
16221
16222         * LyXSendto.C:
16223         * buffer.C:
16224         * lyxfunc.C:
16225         * BufferView_pimpl.C: IsDirWriteable() proto changed
16226
16227         * LyXView.C: fix updateWindowTitle() to store the last title
16228
16229 2001-07-31  Juergen Vigna  <jug@sad.it>
16230
16231         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16232         the font (wrong since using of Paragraph::highestFontInRange).
16233
16234         * paragraph.C (highestFontInRange): added a default_size parameter.
16235
16236         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16237         (setHeightOfRow): reformat
16238
16239 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16240
16241         * converter.[hC] + affected files: move to (inital-char)lowercase
16242         function names.
16243
16244         * ParagraphParameters.C (ParagraphParameters): remove commented code
16245
16246         * PainterBase.[Ch]: remove commented code
16247
16248         * LaTeXFeatures.h: add "bool floats" for float.sty
16249
16250         * LaTeXFeatures.C (LaTeXFeatures): init floats
16251         (require): handle float
16252         (getPackages): do it with floats
16253
16254 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16255
16256         * BufferView_pimpl.C (Dispatch): improve handling of
16257         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16258
16259         * commandtags.h: #include lyxfont.h here temporarily to avoid
16260         keybinding bug.
16261
16262         * bufferlist.h: include LString.h here.
16263
16264 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16265
16266         * text2.C (getStringToIndex): new method.
16267
16268 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16269
16270         * *: Reduced header file dependencies all over.
16271
16272 2001-07-30  Baruch Even  <baruch@lyx.org>
16273
16274         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16275
16276 2001-07-29  Baruch Even  <baruch@lyx.org>
16277
16278         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16279
16280 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16281
16282         * ParameterStruct.h (endif): add a default constructor to make
16283         sure that all variables is initialized.
16284
16285         * ParagraphParameters.C (ParagraphParameters): adjust
16286
16287 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16288
16289         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16290         index; also, check that there is something to index, and that it
16291         does not span over several paragraphs.
16292         (doubleClick): use WHOLE_WORD_STRICT for double click.
16293
16294         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16295
16296         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16297         scheme.
16298
16299 2001-07-26  Baruch Even  <baruch@lyx.org>
16300
16301         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16302         an InsetFig figure, backwards compatible reading of old figure code.
16303
16304 2001-07-27  Juergen Vigna  <jug@sad.it>
16305
16306         * text2.C: font.realize function adaption.
16307
16308         * text.C (draw): add a warnings lyxerr text if needed.
16309
16310         * layout.C: font.realize function adaption.
16311
16312         * language.C: add inherit_language and implement it's handlings
16313
16314         * bufferview_funcs.C (StyleReset): remove language parameter from
16315         font creation (should be language_inherit now).
16316
16317         * bufferparams.C (writeFile): handle ignore_language.
16318
16319         * paragraph.C (getFontSettings): the language has to be resolved
16320         otherwise we have problems in LyXFont!
16321
16322         * lyxfont.C (lyxWriteChanges): added document_language parameter
16323         (update): removed unneeded language parameter
16324
16325         * paragraph.C (validate): fixed wrong output of color-package when
16326         using interface colors for certain fonts in certain environments,
16327         which should not seen as that on the final output.
16328
16329 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16330
16331         * BufferView_pimpl.C:
16332         * Thesaurus.h:
16333         * Thesaurus.C:
16334         * Makefile.am:
16335         * commandtags.h:
16336         * LyXAction.C: add thesaurus support
16337
16338         * lyxfind.h:
16339         * lyxfind.C: add "once" parameter, for thesaurus, to not
16340           move to the next match
16341
16342 2001-07-26  Juergen Vigna  <jug@sad.it>
16343
16344         * lyxfont.C (realize): honor ignore_language too!
16345         (resolved): ditto.
16346
16347         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16348
16349         * text.C (draw): one place more for ignore_language to not draw
16350         itself!
16351
16352 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16353
16354         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16355
16356 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16357
16358         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16359         the minipage conversion problem.
16360
16361 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16362
16363         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16364         insert an inset.
16365
16366 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16367
16368         * BufferView.h: don't forward declare WorkArea
16369
16370         * BufferView.C: don't include WorkArea.h
16371
16372 2001-07-25  André Pönitz <poenitz@gmx.net>
16373
16374         * commandtags.h:
16375         * LyXAction.C:
16376         * lyxfunc.C:  new LFUN 'math-space'
16377
16378         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16379
16380 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16381
16382         * text2.C (toggleInset): call open/close
16383
16384 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16385
16386         * lyxfunc.C (dispatch): add debug for the disabled case
16387
16388         * font.C (buttonText): make similar to rectText
16389
16390         * buffer.C (readInset): comment out parsing of insetlist and
16391         insttheorem
16392
16393         * PainterBase.C (rectText): small correction
16394
16395         * BufferView_pimpl.C: comment out insettheorem and insetlist
16396         * LyXAction.C: ditto
16397         * commandtags.h: ditto
16398
16399 2001-07-24  Juergen Vigna  <jug@sad.it>
16400
16401         * text.C (draw): honor the ignore_language.
16402
16403         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16404
16405 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16406
16407         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16408         char inset.
16409
16410 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16411
16412         * lyxtext.h: remove unused (and unimplemented) methods
16413
16414 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16415
16416         * text.C (getVisibleRow): honor background color
16417
16418         * PainterBase.h:
16419         * Painter.h: remove default color argument for fillRectangle
16420
16421         * text.C (backgroundColor): new method
16422
16423 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16424
16425         * text.C (getVisibleRow): adjust
16426
16427         * font.[Ch] (rectText): new method, metrics
16428         (buttonText): new method, metrics
16429
16430         * PainterBase.[hC]: make rectText and buttonText always draw and take
16431         fewer paramteres.
16432
16433 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16434
16435         * ToolbarDefaults.C (read):
16436         * MenuBackend.C (read): allow escaping in all strings
16437
16438         * BufferView_pimpl.C (insertAndEditInset): new method.
16439         (Dispatch): use insertAndEditInset whenever appropriate.
16440
16441         * BufferView_pimpl.C (insertNote): removed
16442
16443         * BufferView_pimpl.C (smartQuote): new method, moved from
16444         BufferView; if an insetquote cannot be inserted, insert a '"'
16445         character instead.
16446
16447         * BufferView2.C: remove insertCorrectQuote();
16448
16449         * lyxfunc.C (getStatus): Add support for all remaingin
16450         inset-insert lfuns.
16451
16452         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16453
16454         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16455         command (necessary to pass " as parameter of self-insert.
16456
16457         * text.C (selectWordWhenUnderCursor):
16458         (selectWord): add word_location parameter
16459         (selectWordWhenUnderCursor): same + remove special code for word
16460         boundary.
16461         (selectNextWord): use kind() to guess type of insetspecialchar,
16462         not latex().
16463
16464         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16465         (insertErtContents): create ert insets as collapsed.
16466         (readInset): better compatibility code for Info inset.
16467
16468 2001-07-20  Juergen Vigna  <jug@sad.it>
16469
16470         * lyxfunc.C (dispatch): use always LyXFind now!
16471
16472         * text2.C (init): add a reinit flag so that the LyXText can be
16473         reinited instead of deleted and reallocated (used in InsetText).
16474
16475         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16476
16477         * text.C: ditto
16478
16479         * text2.C: ditto
16480
16481 2001-07-18  Juergen Vigna  <jug@sad.it>
16482
16483         * text.C (selectNextWord): handle insets inside inset by calling
16484         always the bv->text functions so that we can go up the_locking_inset!
16485
16486         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16487         in strange locations when inside an inset!
16488
16489         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16490         handling to include insets.
16491
16492         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16493
16494 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16495
16496         * LyXAction.C (init):
16497         * commandtags.h:
16498         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16499         LIGATURE_BREAK, since the name is so stupid.
16500
16501 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16502
16503         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16504         InsetInfos.
16505
16506         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16507
16508         * sp_form.[Ch]: remove.
16509
16510         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16511
16512         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16513         InsetInfo.
16514
16515         * src/buffer.C (readInset): ditto.
16516
16517 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16518
16519         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16520         menuSeparator(), endOfSentenceDot(), ldots() and
16521         hyphenationPoint(), which are therefore removed.
16522         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16523
16524         * LyXAction.C (init):
16525         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16526
16527         * paragraph.C (getWord): removed.
16528
16529         * BufferView_pimpl.C (Dispatch): use last word or selection for
16530         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16531
16532         * lyx_main.C (queryUserLyXDir): do not ask before creating
16533         user_dir, except if it has been named explicitely.
16534
16535 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16536
16537         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16538         a document of zero size.
16539
16540 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16541
16542         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16543         approriately in the c-tor and in require().
16544         (getPackages): output the appropriate LaTeX for natbib support.
16545
16546         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16547         variables "use_natbib" and "use_numerical_citations" when reading the
16548         LyX file.
16549         (readInset): read the various natbib cite commands.
16550         (validate): white-space change.
16551
16552         * bufferparams.[Ch]: new variables "bool use_natbib" and
16553         "bool use_numerical_citations".
16554         (writeFile): output them in the LyX file.
16555
16556 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16557
16558         * lyxfunc.C (getStatus): add support for all the inset insertion
16559         commands.
16560
16561         * text2.C (insertInset):
16562         * paragraph.C (insetAllowed):
16563         * BufferView_pimpl.C (insertInset): update to take in account the
16564         renaming of insertInsetAllowed
16565
16566         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16567
16568         * text2.C (getInset): new method. returns inset at cursor position.
16569
16570         * BufferView_pimpl.C (Dispatch): changes because of this.
16571
16572         * LyXAction.C (init): rename open-stuff to inset-toggle.
16573
16574         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16575
16576         * text2.C (toggleInset): renamed from openStuff; use
16577         Inset::open().
16578
16579 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16580
16581         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16582
16583         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16584
16585 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16586
16587         * buffer.C (readLyXformat2): Add filename to the error dialog
16588
16589 2001-07-18  Juergen Vigna  <jug@sad.it>
16590
16591         * tabular.C (GetCellNumber): put an assert here instead of the check!
16592
16593 2001-07-17  Juergen Vigna  <jug@sad.it>
16594
16595         * BufferView_pimpl.C (toggleSelection): adapted too.
16596
16597         * text.C (selectNextWord): adapted for use with insets.
16598         (selectSelectedWord): ditto
16599
16600 2001-07-17  Juergen Vigna  <jug@sad.it>
16601
16602         * sp_spell.C (PSpell): fix initialitation order.
16603
16604 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16605
16606         * paragraph.C: spacing
16607
16608 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16609
16610         * sp_spell.C: repair language selection for pspell
16611
16612 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16613
16614         * lyxfunc.h: change more methods to begin with lower char.
16615
16616 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16617
16618         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16619         for unknown layouts.
16620
16621 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16622
16623         * buffer.C (readLyXformat2): Generate an error dialog if there are
16624         unknown layouts.
16625
16626 2001-07-16  Juergen Vigna  <jug@sad.it>
16627
16628         * sp_spell.C: always compile ISpell part.
16629
16630         * lyxrc.C: added use_pspell entry and it's handling.
16631
16632 2001-07-13  Juergen Vigna  <jug@sad.it>
16633
16634         * sp_spell.C: removed double includes.
16635
16636 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16637
16638         Consistent use of Lsstream.h:
16639         * Lsstream.h: added using std::stringstream for consistencies sake.
16640
16641         * buffer.C: removed using std::stringstream
16642
16643         * lyxfont.C (stateText):
16644         * paragraph.C (asString):
16645         * text.C (selectNextWord, selectSelectedWord):
16646         * text2.C (setCounter):
16647         * vspace.C (asString, asLatexString):
16648         std::ostringstream -> ostringstream.
16649
16650 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16651
16652         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16653         * commandtags.h: add LFUN_HELP_ABOUTLYX
16654         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16655
16656 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16657
16658         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16659         cursorToggle()
16660         * lyx_gui_misc.C: remove spellchecker
16661         * lyxfunc.C: showSpellchecker
16662         * sp_base.h: added
16663         * sp_ispell.h: added
16664         * sp_pspell.h: added
16665         * sp_spell.C: added
16666         * sp_form.[Ch]: removed
16667         * spellchecker.[Ch]: removed
16668
16669 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16670
16671         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16672         is set.
16673         (simpleTeXSpecialChars): Simply print the input character without
16674         any special translation if pass_thru is set.
16675
16676         * layout.h: Added bool pass_thru to layout class for being able to
16677         implement pass through of a paragraph for Literate Programming.
16678
16679         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16680         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16681         * layout.C (Read): add "passthru" to list of layout tags and add
16682         code to set the pass_thru boolean when it is read.
16683
16684 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16685
16686         * trans_decl.h: remove allowed from KmodInfo
16687
16688         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16689         remove allowed code
16690         (Load): adjust
16691
16692         * paragraph_pimpl.C (erase): use boost::prior
16693
16694         * Painter.C (text): use data() instead of c_str() when length is
16695         also provided.
16696         * WorkArea.C (putClipboard): ditto
16697         * font.h (width): ditto
16698
16699         * BufferView2.C: use it-> instead of (*it). for iterators
16700         * texrow.C: ditto
16701         * paragraph_pimpl.C: ditto
16702         * paragraph.C: ditto
16703         * minibuffer.C: ditto
16704         * language.C: ditto
16705         * kbmap.C: ditto
16706         * encoding.C: ditto
16707         * counters.C: ditto
16708         * converter.C: ditto
16709         * chset.C: ditto
16710         * Variables.C: ditto
16711         * TextCache.C: ditto
16712         * MenuBackend.C: ditto
16713         * LyXAction.C: ditto
16714         * LColor.C: ditto
16715         * FloatList.C: ditto
16716         * DepTable.C: ditto
16717         * ColorHandler.C (LyXColorHandler): ditto
16718
16719 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16720
16721         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16722
16723         * text2.C (openStuff): reintroduce this method (which had been
16724         nuked in NEW_INSETS frenzy).
16725
16726         * lyxfunc.C (Dispatch): when an action has not been handled, use
16727         its name in the error message, not its number.
16728
16729         * paragraph.C (inInset): change method name to begin with lowercase.
16730
16731         * undo_funcs.C:
16732         * text2.C: updates because of this.
16733
16734 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16735
16736         * ToolbarDefaults.C (add): add spaces in error message
16737
16738 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16739
16740         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16741         (readLyXformat2): rename return_par to first_par, use lyxlex's
16742         pushToken and remove the manual push handling.
16743         (parseSingleLyXformat2Token): add another ert comp. variable:
16744         in_tabular, rename return_par to first_par. handle newlines better
16745
16746 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16747
16748         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16749
16750 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16751
16752         * text2.C (getParFromID): removed
16753
16754         * buffer.C (getParFromID): new method moved form lyxtext.
16755         * BufferView2.C (insertErrors): adjust
16756         (setCursorFromRow): adjust
16757         * BufferView_pimpl.C (restorePosition): adjust
16758         * lyxfunc.C (Dispatch): adjust
16759         * undo_funcs.C (textUndo): adjust
16760         (textRedo): adjust
16761         (textHandleUndo): adjust
16762         (textHandleUndo): adjust
16763
16764 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16765
16766         * buffer.C: up' the LYX_FORMAT
16767
16768         * lyxfont.h: turn NO_LATEX on as default
16769
16770         * buffer.C (insertErtContents): new methods of tex style compability.
16771         (parseSingleLyXformat2Token): use it several places.
16772         * tabular.C (OldFormatRead): and here
16773
16774 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16775
16776         * text2.C: remove some commented code.
16777         reindent file.
16778
16779         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16780         * trans.C: changes because of the above.
16781
16782 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16783
16784         * text2.C (setCounter): Fix counters bug with bibliography layout.
16785
16786 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16787
16788         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16789         own member functions
16790         (simpleTeXSpecialChars): ditto
16791
16792 2001-07-06  Juergen Vigna  <jug@sad.it>
16793
16794         * a lot of files: changed the access to LyXText::status and the
16795         call of undo-functions.
16796
16797         * undo.[Ch]: added a inset_id to the undo informations.
16798
16799         * undo_funcs.[Ch]: added and moved here all undo functions.
16800
16801         * lyxtext.h: give the status enum a weight, made status_ a private
16802         variable and made accessor functions for it, removed the whole bunch
16803         of undo-functions as they are now in their own file, make some
16804         functions publically available. Added function ownerParagraph with
16805         int parameter.
16806
16807         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16808         made InInset() a const function, added getParFromID() function.
16809
16810         * buffer.[Ch]: added const version for inset_iterator functions,
16811         added getInsetFromID() function.
16812
16813         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16814         changed undo functions for new version.
16815
16816 2001-07-05  Juergen Vigna  <jug@sad.it>
16817
16818         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16819         unknow mechanism does not call the proper constructor but only this
16820         one also if I request the other!?
16821
16822 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16823
16824         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16825
16826         * text2.C (LyXText): use initialization lists.
16827
16828         * lyxtext.h (Selection): initialize set_ and mark_
16829         (init): remove method
16830
16831 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16832
16833         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16834
16835 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16836
16837         * screen.[Ch]: change method names to begin with lowercase
16838
16839         * BufferView_pimpl.C (updateScrollbar): simplify further and
16840         hopefully make it a bit faster.
16841
16842 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16843
16844         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16845         calling directly xforms functions.
16846
16847         * Painter.C (Painter):
16848         * lyx_cb.C (MenuWrite):
16849         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16850         fl_display.
16851
16852         * lyx_gui.C: remove bogus guiruntime extern declaration.
16853
16854 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16855
16856         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16857         in NEW_INSETS
16858         (redoDrawingOfParagraph): ditto
16859         (redoParagraphs): ditto
16860         (cutSelection): don't create a object for CutAndPaste use the
16861         static method directly
16862         (pasteSelection): ditto
16863
16864         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16865         LyXview (+ rename)
16866
16867 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16868
16869         * modifications to some other files because of this.
16870
16871         * Makefile.am (lyx_SOURCES): add XFormsView
16872
16873         * XFormsView.[Ch]: new files
16874
16875         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16876         the main window. Move the gui dependent stuff to XFormsView
16877
16878 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16879
16880         * tabular.C (GetCellInset): update cur_cell also in the row/col
16881         version of this function.
16882
16883         * lyxfunc.C: no need to include figure_form.h here.
16884
16885         * FontLoader.h:
16886         * lyxfunc.h:
16887         * lyxscreen.h:
16888         * text2.C:
16889         * lyxvc.C: no need to include forms.h here.
16890
16891 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16892
16893         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16894
16895         * lyxfunc.C (Dispatch):
16896         * Spacing.C (set):
16897         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16898         constructor argument.
16899
16900 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16901
16902         * paragraph.C (Paragraph): dont't clear, and just set layout.
16903         (makeSameLayout): use params's copy contructor.
16904
16905         * ParagraphParameters.[Ch] (makeSame): delete method
16906
16907 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16908
16909         * Variables.[Ch]: fix indentation, rename set to isSet
16910
16911 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16912
16913         * lyxfunc.C (Dispatch): fix typo
16914
16915 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16916
16917         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16918         upper_bound.
16919
16920         * bufferlist.C: include assert.h for emergencyWrite().
16921
16922 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16923
16924         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16925           give up at last (bug #425202) !
16926
16927 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16928
16929         * lyx_gui_misc.C:
16930         * sp_form.h:
16931         * sp_form.C:
16932         * spellchecker.h:
16933         * spellchecker.C: strip spellchecker options and bring up
16934           preferences tab instead
16935
16936 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16937
16938         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16939         the istringstream constructor
16940
16941 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16942
16943         * paragraph.C (getLayout): fix return value
16944
16945         * paragraph.h: do not declare getLayout as inline.
16946
16947         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16948
16949 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16950
16951         * lyxcursor.h (operator<): new func
16952         (operator>): new func
16953         (operator>=): new func
16954         (operator<=): new func
16955
16956         * text.C (changeCase): use selection.start and selection.end
16957         (changeRegionCase): require from to be <= to. Require par to be a
16958         valid paragraph.
16959
16960         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16961
16962 2001-06-27  Juergen Vigna  <jug@sad.it>
16963
16964         * text.C (cursorLeftOneWord): changed to return the cursor and added
16965         overlay with BufferView * parameter which calls this one.
16966         (getWord): added
16967         (selectWord): use new getWord function.
16968         (changeCase): renamed from changeWordCase as and extended to work
16969         also on selections.
16970
16971         * lyxtext.h: added enum word_location
16972
16973         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16974         changeCase as this operates now also on selections.
16975
16976 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16977
16978         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16979
16980         * many files: send debug output to Debug::INFO instead of
16981         Debug::ANY.
16982
16983         * converter.C (View):
16984         (Convert):
16985         (Move): send debug output to Debug::FILES instead of console.
16986
16987 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16988
16989         * lyxfunc.C (getStatus): use func_status
16990
16991         * func_status.h: new header, describing the results of
16992         LyXFunc::getStatus;
16993
16994         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16995         LFUN_MATH_HALIGN.
16996
16997 2001-06-25  The LyX Project  <jug@sad.it>
16998
16999         * buffer.C (sgmlOpenTag):
17000         (sgmlCloseTag):
17001         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
17002
17003 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17004
17005         * text2.C: remove some dead code
17006
17007         * tabular.C (GetCellInset): store the last cell checked (gotten)
17008
17009         * tabular.h: add the helper for the speedup
17010
17011         * lyxtext.h: remove some dead code
17012
17013 2001-06-26  The LyX Project  <Asger>
17014
17015         * paragraph.C: Change export to LaTeX of alignment to
17016         \begin{center} and family for better roundtrip work with reLyX.
17017
17018         * Tune the math drawing a bit.
17019
17020 2001-06-25  The LyX Project  <Asger>
17021
17022         * LColor.C (LColor): New color for math background. New color
17023         for buttons.
17024
17025 2001-06-25  The LyX Project  <jug@sad.it>
17026
17027         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17028
17029         * lyxfunc.C (Open):
17030         * bufferlist.C (newFile): do not restrict to files ending with
17031         .lyx
17032
17033         * BufferView_pimpl.C (MenuInsertLyXFile):
17034
17035 2001-06-24  The LyX Project  <jug@sad.it>
17036
17037         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17038         of compare_no_case
17039
17040 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17041
17042         * lyxtext.h: rename most methods to begin with a small char.
17043         Lots of changes because of this.
17044
17045         * paragraph.C (Paragraph): do not call fitToSize
17046         (erase): call Pimpl::erase
17047         (insertChar): call Pimpl::insertChar
17048         (insertInset): call Pipl::insertInset
17049         (breakParagraph): do not call fitToSize
17050         (breakParagraphConservative): do not call fitToSize
17051         (fitToSize): remove method
17052
17053         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17054
17055 2001-06-24  The LyX Project  <Asger>
17056
17057         * Fix Qt compilation^2
17058
17059 2001-06-24  The LyX Project  <jug@sad.it>
17060
17061         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17062         depthHook(getDepth()-1).
17063
17064         * paragraph.h:
17065         * ParagraphParameters.h:
17066         * ParameterStruct.h: change type of depth to unsigned int ==
17067         depth_type. Many adaptations to other files before of that.
17068
17069 2001-06-24  The LyX Project  <Asger>
17070
17071         * Fix Qt compilation.
17072
17073 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17074
17075         * paragraph.h: renamed several methods to begin with small letter.
17076         several changes to many parts of the code because of this.
17077
17078 2001-06-23  The LyX Project  <jug@sad.it>
17079
17080         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17081         rewritten to discard all double spaces when KeepEmpty is off
17082         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17083         to only handle newlines but not fiddle with spaces and friends.
17084
17085         * lyxfunc.C (MenuNew): when doing 'new from template', use
17086         template_path as default directory
17087
17088 2001-06-23  The LyX Project  <Asger>
17089
17090         * Clean-up of header file includes all over
17091         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17092
17093 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17094
17095         * paragraph.h: renamed from lyxparagraph.h
17096
17097 2001-06-23  Asger  <lyx@violet.home.sad.it>
17098
17099         * Buffer.h: Removed Buffer::resize
17100         * BufferList.h: Removed BufferList::resize
17101         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17102         the document lazily when we change the width, or the font settings.
17103
17104 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17105
17106         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17107
17108 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17109
17110         * buffer.h: remove out of date comment
17111
17112 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17113
17114         * lyxscreen.h:
17115         * screen.C: fix "theoretical" GC leak
17116
17117 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17118
17119         * LaTeX.C (scanAuxFile):
17120         (deplog): remove trailing \r when reading stream (useful under
17121         win32)
17122
17123 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17124
17125         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17126         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17127         and BufferView::theLockingInset(Inset*), so should use them and not
17128         access bv_->text->the_locking_inset directly.
17129
17130         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17131
17132 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17133
17134         * Makefile.am:
17135         * tex-defs.h: remove old unused file
17136
17137 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17138
17139         * BufferView_pimpl.C: fix typo, remove minibuffer message
17140           when buffer has loaded
17141
17142 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17143
17144         * lyxfunc.C (Dispatch): use stringstream
17145         (MenuNew): use stringstream
17146         (Open): use stringstream
17147
17148         * importer.C (Import): use stringstream
17149
17150         * bufferview_funcs.C (CurrentState): use stringstream
17151
17152         * LaTeX.C (run): use stringstream
17153
17154         * BufferView_pimpl.C (savePosition): use stringstream
17155         (restorePosition): use stringstream
17156         (MenuInsertLyXFile): use stringstream
17157
17158 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17159
17160         * BufferView.C:
17161         * Bullet.C:
17162         * ColorHandler.C:
17163         * FontInfo.C:
17164         * FontLoader.C:
17165         * LColor.C:
17166         * LaTeXFeatures.C:
17167         * Painter.C:
17168         * gettext.C:
17169         * lyx_gui_misc.C:
17170         * lyxserver.C:
17171         * vspace.C: removed // -*- C++ -*- as first line.
17172
17173         * lyxfind.h:
17174         * version.h: added // -*- C++ -*- as first line.
17175
17176 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17177
17178         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17179
17180         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17181         of string
17182
17183 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17184
17185         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17186         of floats.
17187
17188 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17189
17190         * gettext.C: include LString.h even when --disable-nls is on.
17191
17192 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17193
17194         * converter.h (Get): changed argument type from int to
17195         FormatList::size_type to avoid unnecessary conversion.
17196
17197         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17198         before using it.
17199
17200 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17201
17202         * gettext.h: include LString.h even when --disable-nls is on.
17203
17204 2001-06-07  Juergen Vigna  <jug@sad.it>
17205
17206         * text.C (BreakAgain): subst spaces with tabs.
17207
17208         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17209         (resizeInsetsLyXText): set force on resizeLyXText.
17210
17211 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17212
17213         * gettext.h (gettext_init):
17214         (locale_init): use a real definition instead of a macro
17215
17216 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17217
17218         * Bufferview_pimpl.C:
17219         * LColor.h:
17220         * LColor.C: further lcolor tidies
17221
17222 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17223
17224         * BufferView_pimpl.C (updateScrollbar): simplify.
17225
17226         * BufferView2.C: don't include insets/insetinfo.h, change
17227         prototype for insertInset and call the Pimpl version. let
17228         updateInset call Pimpl version.
17229
17230         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17231         gotoInset to BufferView::Pimpl
17232
17233 2001-06-01  Juergen Vigna  <jug@sad.it>
17234
17235         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17236         inside a LockingInset (is the update needed at all?).
17237
17238 2001-05-31  Juergen Vigna  <jug@sad.it>
17239
17240         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17241         here not the old one otherwise how should we compare it afterwards
17242         if it's the same!
17243
17244 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17245
17246         * lyxfont.C:
17247         * tabular.C:
17248         * tabular-old.C:
17249         * FontInfo.C: bring C functions into global namespace when
17250         necessary
17251
17252 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17253
17254         * LString.h: make sure config.h has been loaded before LString.h.
17255
17256         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17257         (one for each char read by EatLine!).
17258
17259         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17260         variables.
17261
17262 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17263
17264         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17265         to the same as the par we break from
17266
17267 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17268
17269         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17270
17271         * MenuBackend.C (expand): also create menu entries for wide
17272         versions of the floats.
17273
17274         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17275
17276         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17277
17278         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17279         frontends/Makefile.am
17280
17281         * text2.C: adjust
17282         * text.C: adjust
17283
17284
17285         * tabular.C (getTokenValue): add std::
17286
17287         * tabular-old.C (getTokenValue): add std::
17288         (getTokenValue): ditto
17289         (getTokenValue): ditto
17290
17291         * screen.C (ToggleSelection): adjust
17292
17293         * lyxtext.h: put selection cursors inside a Selection struct.
17294
17295         * lyxfunc.C (moveCursorUpdate): adjust
17296
17297         * lyxfont.C (latexWriteStartChanges): add std::
17298
17299         * lyxfind.C: adjust
17300
17301         * font.h: delete with(char const *, LyXFont const &)
17302
17303         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17304
17305         * FontInfo.C (getFontname): add std::
17306
17307         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17308         (workAreaButtonPress): adjust
17309         (tripleClick): adjust
17310         (update): adjust
17311         (moveCursorUpdate): adjust
17312         (Dispatch): adjust
17313
17314         * BufferView2.C (gotoInset): adjust
17315
17316 2001-05-30  Juergen Vigna  <jug@sad.it>
17317
17318         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17319         to check pspell I add this as default as I now have new pspell
17320         libraries and they seem to use this.
17321
17322 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17323
17324         * text2.C (CutSelection): make the cursor valid before the call to
17325         ClearSelection.
17326
17327 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17328
17329         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17330         relied on 0 terminated strings and other horrors. Bug found due to
17331         the new assert in lyxstring!
17332
17333         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17334         KP_ keys.
17335
17336 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17337
17338         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17339         to latinkeys.bind.
17340
17341         * lyxfunc.C (processKeySym): change method of getting to the
17342         self-insert char.
17343
17344         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17345         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17346         * BufferView_pimpl.[Ch]: here as private methods.
17347
17348 2001-05-28  Juergen Vigna  <jug@sad.it>
17349
17350         * text.C (SetHeightOfRow): added the update() call again as it is
17351         needed to initialize inset dimensions!
17352
17353 2001-05-16  Juergen Vigna  <jug@sad.it>
17354
17355         * text2.C (SetCharFont): Add new function with BufferView * and
17356         bool toggleall parameters for setting insets internal fonts.
17357         (SetFont): Freeze the undo as we may change fonts in Insets and
17358         all this change should be inside only one Undo!
17359
17360         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17361         setting font's in insets as for them we have the SetFont function!
17362
17363 2001-05-15  Juergen Vigna  <jug@sad.it>
17364
17365         * text2.C (ClearSelection): to be sure we REALLY don't have any
17366         selection anymore!
17367
17368         * tabular.C (TeXCellPreamble): fixed the left border problem for
17369         multicolumn cells.
17370
17371 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17372
17373         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17374         dependancy file
17375
17376 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17377
17378         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17379         LFUN_BREAKPARAGRAPH.
17380
17381         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17382         help test to "internal only", similar for LFUN_INSERT_URL
17383
17384         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17385         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17386         auto_region_delete and deadkeys.
17387
17388 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17389
17390         * LColor.h:
17391         * LColor.C: remove some dead entries, tidy a little
17392
17393 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17394
17395         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17396         commented code.
17397         (Dispatch): implement LFUN_ESCAPE
17398
17399         * commandtags.h: add LFUN_ESCAPE
17400
17401         * LyXAction.C (init): add entry for LFUN_ESCAPE
17402
17403         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17404         Remove commented code.
17405         (insertNote): moved here
17406         (open_new_inset): moved here
17407
17408         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17409         BufferView_pimpl
17410
17411 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17412
17413         * kbmap.C (findbinding): clean it up and make it work correctly.
17414
17415         * lyx_main.C (init): do not pass argc and argv as parameters
17416
17417 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17418
17419         * buffer.C: fix path for OS/2 & Win32
17420
17421         * lyx_gui.C:
17422         * lyx_main:
17423         * lyx_main.C: Added os:: class.
17424
17425         * os2_defines.h: update
17426
17427 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17428
17429         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17430         better by trying again with reduced state.
17431
17432 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17433
17434         * lyxrc.C (read): print error about invalid key sequence only when
17435         debugging (because not all latinX keysyms are known to some X
17436         servers)
17437
17438         * kbsequence.C (getiso): add a few std:: qualifiers
17439         (getiso): comment out extra return statement.
17440
17441 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17442
17443         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17444         handling.
17445         (Dispatch): enhance the accent inset a bit. (not perfect)
17446
17447 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17448
17449         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17450
17451 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17452
17453         * bufferlist.C (emergencyWrite): fix assert() call
17454
17455 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17456
17457         * text.C (InsertChar): Added trivial patch to only send the "you
17458         can not do multiple spaces this way" message once during a
17459         session.
17460
17461 2001-05-08  Baruch Even  <baruch@lyx.org>
17462
17463         * Makefile.am: Changed order of libraries to get LyX to link properly
17464         with the gnome frontend.
17465
17466 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17467
17468         * LaTeXFeatures.h: add a std:: qualifier
17469
17470 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17471
17472         * paragraph.C (String): use stringstream
17473
17474 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17475
17476         * paragraph.C (writeFile): remove footflag arg
17477
17478         * buffer.C (makeLaTeXFile): use stringstream
17479         (latexParagraphs): remove footnot gurba
17480
17481         * LaTeXFeatures.C (getPackages): use stringstream
17482         (getMacros): likewise
17483         (getTClassPreamble): likewise
17484         (getFloatDefinitions): new method
17485
17486         * paragraph.C (writeFile): reindent
17487         (Erase): reindent
17488
17489         * WorkArea.h: revert the xpos + etc changes.
17490
17491         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17492
17493         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17494
17495         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17496         (pasteSelection): likewise
17497         * text2.C (CreateUndo): likewise
17498
17499 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17500
17501         * minibuffer.C (peek_event): temporarily reduce the functionality
17502         of the minibuffer (to allow args on lfuns)
17503
17504         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17505         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17506
17507         * buffer.C (readInset): add compability reading of old float
17508         lists, add reading of new style float list.
17509         (readInset): avoid reevaluation of inscmd.getCmdName()
17510         (getLists): reindent
17511
17512         * MenuBackend.C (MenuItem): implement parsing of
17513         md_floatlistinsert and md_floatinsert.
17514         (expand::LastFiles): move initalizaton of iterators out of loop,
17515         avoid reevaluation.
17516         (expand::Documents): introduce typdedef vector<string> Strings,
17517         and use it.
17518         (expand::ExportFormats): introduce typedef vector<Format const *>
17519         Formats, and use it.
17520         (expand): implement FloatListInsert and FloatInsert.
17521
17522         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17523         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17524         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17525
17526         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17527         handling.
17528         (Dispatch::LFUN_FLOAT_LIST): implement
17529
17530 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17531
17532         * LaTeX.C (run): Fix problem with --export code.
17533
17534 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17535
17536         * BufferView.[Ch] (workarea): removed.
17537         (getClipboard) new method; wrapper for workarea()->getClipboard()
17538
17539         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17540         bug.
17541
17542         * WorkArea.h (width, height, xpos, ypos): These methods all
17543         returned the dimensions of the work_area sub-area of WorkArea,
17544         resulting in a position error if the WorkArea were resized. Now
17545         return the dimensions of the entire WorkArea.
17546
17547         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17548
17549 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17550
17551         * LaTeX.C (deplog): correct the syntax of regex reg1
17552
17553 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17554
17555         * undo.C: remove !NEW_INSETS cruft
17556
17557 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17558
17559         * text2.C: remove !NEW_INSETS cruft
17560
17561         * text.C: remove !NEW_INSETS cruft
17562
17563         * tabular.C: remove !NEW_INSETS cruft
17564
17565         * spellchecker.C: remove !NEW_INSETS cruft
17566
17567         * lyxtext.h: remove !NEW_INSETS cruft
17568
17569         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17570
17571         * lyxfunc.C: remove !NEW_INSETS cruft
17572
17573         * lyxfind.C: remove !NEW_INSETS cruft
17574
17575         * lyx_cb.C: remove !NEW_INSETS cruft
17576
17577         * figureForm.C: remove  !NEW_INSETS cruft
17578
17579         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17580
17581         * buffer.[Ch]: remove !NEW_INSETS cruft
17582
17583         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17584
17585         * CutAndPaste.C: remove !NEW_INSETS cruft
17586
17587         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17588
17589         * BufferView2.C: remove !NEW_INSETS cruft
17590
17591         * BufferView.h: remove !NEW_INSETS cruft
17592
17593 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17594
17595         * Lsstream.h: include LString.h before the sstream headers to
17596         fix problem with gcc 2.95.3 and lyxstring
17597
17598 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17599
17600         * lyx_main.C: add using directives when needed for C functions
17601         declared in std:: namespace.
17602
17603 2001-04-27  Juergen Vigna  <jug@sad.it>
17604
17605         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17606         (SetHeightOfRow): comment out the update call should not be needed!
17607
17608 2001-04-13  Juergen Vigna  <jug@sad.it>
17609
17610         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17611         (LyXTabular): tried to minimize operator= operations (and realized
17612         hopfully Lars wish).
17613
17614 2001-04-27  Juergen Vigna  <jug@sad.it>
17615
17616         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17617
17618 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17619
17620         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17621
17622         * buffer.C (readInset): hack to make listof algorithm work
17623
17624         * BufferView_pimpl.C: hack to make listof algorithm work
17625
17626 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17627
17628         * LyXAction.C: removed all !NEW_INSETS cruft
17629         (init): moved lfun_item in method
17630
17631         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17632
17633 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17634
17635         * BufferView2.C (theLockingInset): white space.
17636
17637 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17638
17639         * minibuffer.C: include <iostream>
17640
17641         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17642
17643         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17644
17645         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17646
17647         * text.[Ch] (TransposeChars): new method
17648
17649 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17650
17651         * call message directly through LyXView instead of through LyXFunc
17652         * BufferView2.C: adjust
17653         * BufferView_pimpl.C: adjust
17654         * FontLoader.C: adjust
17655         * buffer.C: adjust
17656         * bufferview_funcs.C: adjust
17657         * converter.C: adjust
17658         * figureForm.C: adjust
17659         * importer.C: adjust
17660         * lyx_cb.C: adjust
17661         * lyx_gui_misc.C: adjust
17662         * lyxfunc.C: adjust
17663         * lyxvc.C: adjust
17664         * text2.C: adjust
17665         + more files in subdirs
17666
17667         * lyxparagraph.h (size): move up int file
17668         (GetLayout): ditto
17669
17670         * adjust all uses of Assert to lyx::Assert.
17671
17672         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17673         lyxfunctional in namespace lyx
17674         * layout.C (hasLayout): ditto
17675         (GetLayout): ditto
17676         (GetLayout): ditto
17677         (delete_layout): ditto
17678         (NumberOfClass): ditto
17679         * converter.C (GetFormat): ditto
17680         (GetNumber): ditto
17681         (Add): ditto
17682         (Delete): ditto
17683         (SetViewer): ditto
17684         * bufferlist.C (getFileNames): ditto
17685         (emergencyWriteAll): ditto
17686         (exists): ditto
17687         (getBuffer): ditto
17688         * MenuBackend.C (hasSubmenu): ditto
17689         (hasMenu): ditto
17690         (getMenu): ditto
17691         * BufferView_pimpl.C (getInsetByCode): ditto
17692
17693 2001-04-18  Juergen Vigna  <jug@sad.it>
17694
17695         * vspace.C (asLatexString): fixed the 100% problem.
17696
17697 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17698
17699         * lyxfunc.C (Dispatch):
17700         * minibuffer.C:
17701         * minibuffer.h: add a few std:: qualifiers
17702
17703 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17704
17705         * minibuffer.[Ch]: reimplement so that commands is initiated and
17706         run from lyxfunc, simplified som handling, and made the completion
17707         and history code for complete. wip.
17708
17709         * lyxfunc.C (processKeySym): call message
17710         (miniDispatch): new temporary method
17711         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17712         (LFUN_MESSAGE): implement
17713         (LFUN_MESSAGE_PUSH): implement
17714         (LFUN_MESSAGE_POP): implement
17715         (initMiniBuffer): the initial/defualt minibuffer message.
17716
17717         * lyxfont.[Ch]: inline some more getters
17718
17719         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17720
17721         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17722
17723         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17724         (AutoSave): use LFUN_MESSAGE
17725         (Reconfigure): ditto
17726
17727         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17728
17729         * figureForm.C: use LFUN_MESSAGE
17730
17731         * converter.C (runLaTeX): use LFUN_MESSAGE
17732
17733         * bufferview_funcs.C: use LFUN_MESSAGE
17734         (Melt): ditto
17735         (changeDepth): ditto
17736
17737         * bufferparams.h: use boost::
17738
17739         * bufferlist.h: inherit privately from noncopyable
17740
17741         * bufferlist.C (loadLyXFile): remove some commented code.
17742
17743         * buffer.C (runChktex): use LFUN_MESSAGE
17744
17745         * ShareContainer.h: inherit privately from noncopyable
17746
17747         * ParagraphParameters.[hC] (depth): inline it.
17748
17749         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17750         methods.
17751         (message): new method
17752         (messagePush): ditto
17753         (messagePop): ditto
17754         (show): init minibuffer
17755         (showState): direct call
17756
17757         * LaTeX.[Ch]: inherit privately from noncopyable
17758         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17759         instead of WriteStatus.
17760
17761         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17762
17763         * BufferView_pimpl.C (buffer): don't init minibuffer
17764         (workAreaButtonPress): use LFUN_MESSAGE
17765         (workAreaButtonRelease): ditto
17766         (savePosition): ditto
17767         (restorePosition): ditto
17768         (MenuInsertLyXFile): ditto
17769         (workAreaExpose): don't init minibuffer
17770         (update): remove commented code, simplify
17771
17772         * BufferView2.C (openStuff): use LFUN_MESSAGE
17773         (toggleFloat): ditto
17774         (menuUndo): ditto
17775         (menuRedo): ditto
17776         (copyEnvironment): ditto
17777         (pasteEnvironment): ditto
17778         (copy): ditto
17779         (cut): ditto
17780         (paste): ditto
17781         (gotoInset): ditto
17782         (updateInset): remove some commented code
17783
17784         * lastfiles.h: inherit privately from noncopyable
17785         * layout.h: ditto
17786         * lyx_gui.h: ditto
17787         * lyx_main.h: ditto
17788         * lyxlex.h: ditto
17789         * lyxlex_pimpl.h: ditto
17790
17791         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17792         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17793         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17794
17795         * LyXAction.h: inherit privately from noncopyable, add methods
17796         func_begin, func_end, returning iterators to the func map.
17797
17798         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17799         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17800         (func_begin): new method
17801         (func_end): new method
17802
17803         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17804         and not)
17805         (copySelection): ditto
17806         (pasteSelection): ditto
17807
17808         * BufferView.C: whitespace change
17809         * BufferView.h: inherit privately from noncopyable
17810
17811 2001-04-16  Allan Rae  <rae@lyx.org>
17812
17813         * tabular-old.C (l_getline):
17814         * spellchecker.C (sc_check_word):
17815         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17816         an unrecognised preprocessor directive.  So ensure they're wrapped.
17817
17818 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17819
17820         * src/exporter.C (Export): Give an error message when path to file
17821         contains spaces.
17822
17823 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17824
17825         * LaTeX.C (deplog): Always check that foundfile exists.
17826
17827 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17828
17829         * lyx_main.h:
17830         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17831
17832 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17833
17834         * tabular.[Ch] (getLabelList): implement new method
17835
17836         * minibuffer.h: comment ouf setTiimer
17837
17838         * minibuffer.C (ExecutingCB): constify res
17839         (peek_event): constify s
17840         (Set): constify ntext
17841         (Init): constify nicename
17842
17843         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17844
17845         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17846         (savePosition): use two params to Minibuffer::Set
17847         (restorePosition): ditto
17848
17849 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17850
17851         * lyx_main.C: include language.h
17852
17853         * Makefile.am (lyx_main.o): add language.h
17854
17855 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17856
17857         * exporter.C:
17858         * paragraph.C:
17859         * screen.C:
17860         * tabular.C:
17861         * CutAndPaste.C: include gettext.h
17862
17863         * lyxfont.h: remove old hack with ON and OFF.
17864
17865         * lyxparagraph.h:
17866         * lyxfont.h: do not include language.h...
17867
17868         * BufferView2.C:
17869         * LaTeXFeatures.C:
17870         * Painter.C:
17871         * bufferview_funcs.C:
17872         * font.C:
17873         * lyxfont.C:
17874         * text.C:
17875         * text2.C:
17876         * trans_mgr.C:
17877         * paragraph.C: ... but do it here instead
17878
17879 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17880
17881         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17882
17883         * tabular.C: small reformat
17884
17885         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17886         NEW_INSETS version
17887         (GetChar): ditto
17888         (BreakParagraph): ditto
17889         (SetOnlyLayout): ditto
17890         (SetLayout): ditto
17891
17892         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17893         with one arg less.
17894
17895         * lastfiles.C: removed most using decl, add std:: where needed
17896
17897         * buffer.C: ws changes
17898
17899         * MenuBackend.C (class compare_format): put into anon namespace
17900         (expand): constify label, names, action, action2
17901         (expand):
17902
17903         * text.C (SingleWidth): constify font
17904         (IsBoundary): constify rtl2
17905         (GetVisibleRow): constify ww
17906
17907         * LaTeX.C (deplog): constify logfile
17908
17909         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17910         start_x, end_x
17911         (workAreaExpose): constify widthChange, heightChange
17912
17913         * lyxrow.C (par): moved
17914         (height): moved
17915         (next): moved
17916         * lyxrow.h: as inlines here
17917
17918         * lyxfont.h (shape): moved from lyxfont.C
17919         (emph): moved from lyxfont.C
17920
17921         * lyxfont.C (LyXFont): use initialization list for all
17922         constructors
17923         (shape): move to lyxfont.h as inline
17924         (emph): move to lyxfont.h as inline
17925
17926
17927 2001-04-04  Juergen Vigna  <jug@sad.it>
17928
17929         * vspace.C: had to include stdio.h for use of sscanf
17930
17931 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17932
17933         * BufferView.h:
17934         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17935         independent of xforms.
17936
17937 2001-04-02  Juergen Vigna  <jug@sad.it>
17938
17939         * spellchecker.C: fixed namespace placing!
17940
17941 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17942
17943         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17944         the LyXParagraph * is 0.
17945
17946 2001-03-29  Juergen Vigna  <jug@sad.it>
17947
17948         * vspace.C: added support for %, c%, p%, l%.
17949         (stringFromUnit): added helper function.
17950         (asLatexString): changed to give right results for the %-values.
17951
17952         * buffer.C: convert the widthp in a width%.
17953
17954 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17955
17956         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17957         figureForm.[Ch].
17958
17959         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17960         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17961
17962         * lyx_cb.[Ch]: see above.
17963
17964         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17965         form1.[Ch].
17966
17967         * form1.[Ch]:
17968         * lyx.[Ch]: replaced by figure_form.[Ch].
17969
17970         * lyx_gui.C:
17971         * lyx_gui_misc.C:
17972         * lyxfunc.C: changed headers associated with above changes.
17973
17974 2001-03-27  Juergen Vigna  <jug@sad.it>
17975
17976         * BufferView_pimpl.C: set the temporary cursor right!
17977
17978 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17979
17980         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17981
17982 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17983
17984         * LString.h: removed "using std::getline"!
17985
17986         * BufferView_pimpl.C (Dispatch): changes due to changes in
17987         InsetInclude::Params.
17988
17989         * buffer.C (tag_name): removed redundant break statements as they were
17990         producing lots of warnings with my compiler.
17991
17992 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17993
17994         * LString.h: add "using std::getline" when using the real <string>.
17995
17996 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17997
17998         * buffer.C: removed bitset usage.
17999         PAR_TAG moved to an anonymous name space.
18000         (tag_name): new funtion, also in the anonymous namespace.
18001         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18002         (makeDocBookFile): clean code. Completed transition from string arrays
18003         to string vectors.
18004         (SimpleDocBookOnePar): code clean.
18005
18006 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18007
18008         * tabular.C: add some comments.
18009
18010 2001-03-22  Juergen Vigna  <jug@sad.it>
18011
18012         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18013         compatibility read a bit and fixed bug with minipage in different
18014         depth.
18015
18016 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18017
18018         * buffer.C (pop_tag): removed.
18019         (push_tag): removed.
18020         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18021         array replaced with vector. Added support for CDATA sections.
18022         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18023         at any nest level.
18024         (makeDocBookFile): XML conformant declaration of CDATA section,
18025         fixed bug related to <emphasis> in the first paragraph char.
18026         (sgmlOpenTag): exclude empty tags.
18027         (sgmlCloseTag): ditto.
18028
18029         * buffer.h (pop_tag): removed.
18030         (push_tag): removed.
18031
18032 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18033
18034         * language.h (Languages): added size_type and size().
18035
18036 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18037
18038         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18039         response on compability reading of minipages. One probliem is that
18040         the old usage of minipages was flertydig
18041
18042         * several files here and in subdirs: don't use static at file
18043         scope use anon namespaces instead.
18044
18045 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18046
18047         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18048         LaTeX output. This is necessary for Literate document
18049         processing.
18050
18051 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18052
18053         * buffer.C: insert hfill when needed.
18054
18055         * tabular.C (l_getline): use string::erase, small whitespace change.
18056
18057         * BufferView_pimpl.C: try the anon namespace.
18058         * WorkArea.C: ditto
18059
18060 2001-03-16  Juergen Vigna  <jug@sad.it>
18061
18062         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18063         otherwise it won't open options-dialogs.
18064
18065         * buffer.C: honor pextraWidth(p) on converting minipages.
18066
18067         * tabular.C (l_getline): changed the functions to strip trailing \r.
18068
18069 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18070
18071         * BufferView_pimpl.C:
18072         * minibuffer..C: added "using SigC::slot" declaration.
18073
18074 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18075
18076         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18077
18078         * text2.C: ditto
18079
18080         * text.C: ditto
18081
18082         * paragraph.C: ditto
18083
18084         * lyxtext.h: NO_PEXTRA
18085
18086         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18087
18088         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18089         * ParameterStruct.h: ditto
18090         * ParagraphParameters.h: ditto
18091         * lyxparagraph.h: ditto
18092
18093 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18094
18095         * buffer.C: add compability for minipage alignment.
18096         (latexParagraphs): remove unwanted pextra check.
18097
18098         * several files: remove CXX_WORKING_NAMESPACES
18099
18100         * buffer.C (pop_tag): tie is in namespace boost
18101
18102         * BufferView.h: noncopyable is in namespace boost
18103         * lyxlex.h: ditto
18104         * lyx_main.h: ditto
18105         * lyx_gui.h: ditto
18106         * layout.h: ditto
18107         * lastfiles.h: ditto
18108         * bufferlist.h: ditto
18109         * ShareContainer.h: ditto
18110         * LyXView.h: ditto
18111         * LyXAction.h: ditto
18112         * LaTeX.h: ditto
18113
18114 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18115
18116         * Merging changes from BRANCH_MVC back into HEAD.
18117
18118         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18119
18120 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18121
18122         * BufferView_pimpl.C: change from intl.C
18123
18124         * combox.h:
18125         * combox.C:
18126         * Makefile.am: move combox.*
18127
18128         * form1.h:
18129         * form1.C:
18130         * lyx_gui.C:
18131         * intl.h:
18132         * intl.C: remove dialog (covered by prefs)
18133
18134 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18135
18136         * lyxfunc.C (Dispatch): removed redundant break statement.
18137
18138 2001-03-14  Juergen Vigna  <jug@sad.it>
18139
18140         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18141
18142 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18143
18144         * buffer.C: add hack to fix compability reading of minipages.
18145
18146 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18147
18148         * buffer.C (getLists): Cleanup.
18149
18150 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18151
18152         * lyxfont.C (update): don't honor toggleall on font size.
18153
18154 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18155
18156         * bmtable.c:
18157         * bmtable.h:
18158         * Makefile.am: moved to frontends/xforms/
18159
18160         * lyx_gui_misc.C:
18161         * lyxfunc.C:
18162         * BufferView_pimpl.C: changes for moved mathpanel
18163
18164 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18165
18166         * gettext.h: fix gettext_init() in --disable-nls
18167
18168 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18169
18170         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18171
18172 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18173
18174         * lyx.C:
18175         * lyx.h: strip external form
18176
18177 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18178
18179         * BufferView_pimpl.C: add comment, destroySplash()
18180
18181 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18182
18183         * BufferView_pimpl.C:
18184         * LyXAction.C:
18185         * buffer.C:
18186         * commandtags.h:
18187         * lyxfunc.C: use re-worked insetinclude
18188
18189 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18190
18191         * buffer.C: add using std::stringstream.
18192
18193         * lyx_cb.C: readd using std::ios.
18194
18195         * buffer.C: add using std::map.
18196
18197         * BufferView_pimpl.C: add using std::vector.
18198
18199         * ShareContainer.h: add std:: to swap.
18200
18201         * buffer.h: add some typedefs
18202         * buffer.C (getLists): use them
18203         (getLists): renamed from getTocList.
18204         add a counter for the different float types and use it in the
18205         generated string.
18206         (getLists): use the same counter for the NEW_INSETS and the "non"
18207         NEW_INSETS
18208
18209         * lyx_cb.h: remove unused items, includes, using etc.
18210
18211         * ShareContainer.h: remove some commented code, add more comments
18212         and "documentation".
18213
18214 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18215
18216         * buffer.C (getTocList): make the list also when NEW_INSETS is
18217         defined.
18218
18219         * buffer.h: remove TocType
18220
18221         * buffer.C (getTocList): change to return a map<string,
18222         vector<TocItem> >, implement for dynamic number of list.
18223
18224         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18225         * text2.C (PasteSelection): adjust
18226         * CutAndPaste.C (pasteSelection): adjust
18227
18228         * FloatList.C (FloatList): update from the new_insets branch.
18229         * Floating.[Ch]: ditto
18230         * LaTeXFeatures.C: ditto
18231         * buffer.C: ditto
18232         * lyxlex_pimpl.C: ditto
18233
18234         * paragraph.C (Last): remove when NEW_INSETS is defined.
18235
18236         * other file: changes because of the above.
18237
18238 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18239
18240         * lyxparagraph.h: rename next to next_, previous to previous_,
18241         make them private for NEW_INSETS. Rename Next() to next(),
18242         Previous() to previous().
18243
18244         * other files: changes because of the above.
18245
18246 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18247
18248         * BufferView.h:
18249         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18250         problem.
18251
18252 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18253
18254         * main.C (main): pass lyx_localedir to gettext_init().
18255
18256         * gettext.h: remove locale_init and gettext_init macros
18257
18258         * gettext.C (locale_init): new function
18259         (gettext_init): new function
18260
18261         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18262         setlocale().
18263
18264 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18265
18266         * Moved credits to frontends:
18267         * credits.[Ch]: removed
18268         * credits_form.[Ch]: removed
18269         * lyx_gui_misc.C: remove credits stuff
18270         * Makefile.am:
18271
18272 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18273
18274         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18275
18276         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18277         unneeded destructor.
18278
18279         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18280         a standalone pointer again.
18281
18282         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18283
18284 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18285
18286         * Makefile.am:
18287         * filedlg.h:
18288         * filedlg.C:
18289         * LyXAction.C:
18290         * ToolbarDefaults.C:
18291         * bufferlist.C:
18292         * commandtags.h:
18293         * form1.C:
18294         * form1.h:
18295         * lyx_cb.C:
18296         * lyx_cb.h:
18297         * lyxfunc.h:
18298         * lyxfunc.C:
18299         * BufferView_pimpl.C: use new file dialog in GUII
18300
18301         * lyx_cb.h:
18302         * lyx_cb.C: remove LayoutsCB to Toolbar
18303
18304 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18305
18306         * ShareContainer.h (get): add std:: qualifier
18307
18308 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18309
18310         * ShareContainer.h: define a proper ShareContainer::value_type
18311         type (and use typename to please compaq cxx)
18312
18313 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18314
18315         * lyxparagraph.h: move serveral local vars to
18316         ParameterStruct/ParagraphParameters., use ShareContainer in
18317         FontTable., make vars in FontTable private and add getter and
18318         setter.
18319
18320         * paragraph.C: changes because of the above.
18321
18322         * lyxfont.h: remove copy constructor and copy assignment. (the
18323         default ones is ok), move number inside FontBits. move inlines to
18324         lyxfont.C
18325
18326         * lyxfont.C: add number to initializaton of statics, move several
18327         inlines here. constify several local vars. some whitespace
18328         cleanup. Dont hide outerscope variables.
18329
18330         * Spacing.h: add two new constructors to match the set methods.
18331
18332         * ShareContainer.h: new file, will perhaps be moved to support
18333
18334         * ParameterStruct.h: new file
18335
18336         * ParagraphParameters.h: new file
18337
18338         * ParagraphParameters.C: new file
18339
18340         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18341         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18342
18343         * BufferView_pimpl.C: ParagraphParameter changes.
18344         * buffer.C: Likewise.
18345         * bufferview_funcs.C: Likewise.
18346         * text.C: Likewise.
18347         * text2.C: Likewise.
18348
18349 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18350
18351         * lyxfind.C (LyXReplace): do not redefine default argument in
18352         implementation.
18353         (IsStringInText): ditto
18354         (SearchForward): ditto
18355         (SearchBackward): ditto
18356
18357 2001-03-06  Juergen Vigna  <jug@sad.it>
18358
18359         * lyxfind.C (IsStringInText): put parentes around expressions.
18360
18361 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18362
18363         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18364
18365 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18366
18367         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18368
18369         * stl_string_fwd.h: add comment
18370
18371         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18372
18373         * tabular.h:
18374         * tabular.C: remove unused DocBook methods
18375
18376         * intl.C:
18377         * language.C:
18378         * paragraph.C:
18379         * buffer.C:
18380         killed DO_USE_DEFAULT_LANGUAGE
18381
18382 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18383
18384         * lyx_gui.C: do not include language.h.
18385
18386         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18387         arguments in function implementation.
18388
18389 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18390
18391         * BufferView_pimpl.C: add <ctime>
18392
18393 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18394
18395         * BufferView_pimpl.C: add using std::find_if
18396
18397 2001-02-27  José Matos  <jamatos@fep.up.pt>
18398
18399         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18400         by OnlyPath.
18401
18402 2001-02-11  José Matos  <jamatos@fep.up.pt>
18403
18404         * buffer.C (makeDocBookFile): command styles now have a parameter as
18405         "title" by default.
18406
18407 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18408
18409         * layout_forms.[Ch]: removed
18410         * lyx_cb.[Ch]: out character
18411         * lyx_gui.C: out character
18412         * lyx_gui_misc.C: out character
18413         * bufferview_funcs.C: : out character,
18414         added toggleall as parameter in ToggleAndShow
18415
18416 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18417
18418         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18419
18420         * text2.C (SetCurrentFont): Disable number property at boundary.
18421
18422 2001-02-26  Juergen Vigna  <jug@sad.it>
18423
18424         * lyxfunc.C (getStatus): added a string argument override function so
18425         that this is correctly called from LyXFunc::Dispatch if it contains a
18426         do_not_use_argument which is used!
18427         (Dispatch): added check for "custom" export and call appropriate func.
18428
18429 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18430
18431         * lyxrc.C: Add language_command_local, language_use_babel and
18432         language_global_options.
18433
18434         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18435
18436         * buffer.C (makeLaTeXFile): Use language_use_babel and
18437         language_global_options.
18438
18439 2001-02-23  Juergen Vigna  <jug@sad.it>
18440
18441         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18442         which works with LyXText and putted it inside BufferView. Here now we
18443         only call for that part the BufferView::Dispatch() function.
18444
18445         * BufferView.C (Dispatch): added.
18446
18447         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18448         functions which needs to use a LyXText over from LyXFunc.
18449         (MenuInsertLyXFile): added
18450         (getInsetByCode): added
18451         (moveCursorUpdate): added
18452         (static TEXT): added
18453
18454 2001-02-22  Juergen Vigna  <jug@sad.it>
18455
18456         * BufferView_pimpl.C (update): call a status update to see if LyXText
18457         needs it.
18458
18459 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18460
18461         * vc-backend.C (revert): implement for CVS
18462         (getLog): implement for CVS
18463
18464 2001-02-20  Juergen Vigna  <jug@sad.it>
18465
18466         * text2.C (ClearSelection): added BufferView param for inset_owner call
18467
18468         * lyxfunc.C (TEXT): added this function and use it instead of
18469         directly owner->view()-text of getLyXText().
18470
18471 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18472
18473         * src/layout_forms.C: out preamble
18474         * src/layout_forms.h: out preamble
18475         * src/lyx_cb.C: out preamble
18476         * src/lyx_cb.h: out preamble
18477         * src/lyx_gui.C: out preamble
18478         * src/lyx_gui_misc.C: out preamble
18479         * src/lyxfunc.C: connect with guii preamble
18480
18481 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18482
18483         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18484
18485 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18486
18487         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18488         whether to run bibtex.
18489
18490 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18491
18492         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18493
18494 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18495
18496         * Makefile.am (lyx_SOURCES): removed bibforms.h
18497
18498         * vspace.h: doxygen
18499
18500         * text.C (GetVisibleRow): make several local vars const
18501
18502         * tabular.C: small cleanup.
18503
18504         * lyxserver.C (callback): use compare instead of strncmp
18505
18506         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18507         inlines to after class or to paragraph.C
18508
18509         * lyxfont.h: remove friend operator!=
18510
18511         * converter.h: move friend bool operator< to non friend and after
18512         class def.
18513
18514         * combox.h: small cleanup
18515
18516         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18517         to inlines after class def.
18518
18519         * buffer.C (pop_tag): use string operations instead of strcmp
18520
18521         * bmtable.c: doxygen, small cleanup
18522
18523         * LaTeX.h: remove friend operator==
18524
18525 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18526
18527         * screen.C:
18528         * lyxrc.[Ch]:
18529         * lyxfunc.C:
18530         * lyxfont.[Ch]:
18531         * lyx_cb.C:
18532         * intl.[Ch]:
18533         * commandtags.h:
18534         * buffer.C:
18535         * WorkArea.[Ch]:
18536         * LyXAction.C:
18537         * BufferView_pimpl.C:
18538         * BufferView.[Ch]: remove cruft
18539
18540 2001-02-14  Juergen Vigna  <jug@sad.it>
18541
18542         * lyxfunc.C: removed #if 0 unused code
18543
18544         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18545
18546         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18547
18548         * text2.C (SetSelection): added a BufferView * parameter
18549
18550 2001-02-13  Juergen Vigna  <jug@sad.it>
18551
18552         * lyxfunc.C (Dispatch): fixed protected blank problem.
18553         * BufferView2.C (protectedBlank): added LyxText * parameter.
18554
18555         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18556         (AppendColumn): same as above for column_info.
18557
18558         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18559         (moveCursorUpdate): use a LyXText param for support of InsetText.
18560
18561         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18562         (tripleClick): ditto
18563
18564         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18565
18566         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18567
18568         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18569
18570         * text2.C (SetSelection): set correct update status if inset_owner
18571         (ToggleFree): ditto
18572
18573 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18574
18575         * tabular.C: remove some commented code.
18576
18577 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18578
18579         * BufferView_pimpl.C: call hideSplash()
18580
18581         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18582
18583         * include_form.h:
18584         * bibforms.h: remove
18585
18586         * lyxfunc.C:
18587         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18588           add LFUN_CHILD_CREATE
18589
18590         * counters.h: fix tiny typo
18591
18592         * lyx_cb.C:
18593         * lyx.h:
18594         * lyx_gui.C:
18595         * lyx.C: move splash to frontends/xforms/
18596
18597         * lyx_gui_misc.C: move Include and Bibform to frontends
18598
18599         * lyxvc.h: clarify comment
18600
18601         * vspace.C: tiny housekeeping
18602
18603 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18604
18605         * text.C (PrepareToPrint): RTL Fix.
18606
18607         * paragraph.C (GetUChar): New method.
18608         (String):  Use GetUChar.
18609
18610         * buffer.C (asciiParagraph): Use GetUChar.
18611
18612 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18613
18614         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18615
18616 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18617
18618         * buffer.h:
18619         * buffer.C: rename to getLogName(), handle
18620           build log / latex log nicely
18621
18622 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18623
18624         * MenuBackend.C:
18625         * MenuBackend.h: remove support for reference menuitem type.
18626
18627 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18628
18629         * BufferView_pimpl.C: housekeeping
18630         * BufferView_pimpl.h:
18631         * LyXView.h:
18632         * Makefile.am:
18633         * Timeout.C:
18634         * Timeout.h:
18635         * minibuffer.h: move Timeout GUI-I
18636
18637 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18638
18639         * lyxrc.C (read): Update converters data-structures.
18640
18641 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18642
18643         * LaTeX.h (operator!=): add operator != for Aux_Info
18644
18645 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18646
18647         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18648
18649         * LaTeXLog.C: deleted, useful code moved to Buffer
18650
18651         * buffer.h:
18652         * buffer.C: new function getLatexLogName()
18653
18654         * lyx_gui_misc.C:
18655         * lyx_gui.C:
18656         * lyxvc.C:
18657         * lyxvc.h:
18658         * lyxfunc.C: use frontends for LaTeX and VC logs
18659
18660 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18661
18662         * LaTeX.h: yet another std:: that Allan forgot.
18663
18664         * Variables.C (set): renamed from isset(), because this clashes
18665         with some HP-UX macros (grr).
18666
18667 2001-02-06  Allan Rae  <rae@lyx.org>
18668
18669         * LaTeX.h: Another bug fix.  Missing std:: this time.
18670
18671 2001-02-04  Allan Rae  <rae@lyx.org>
18672
18673         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18674         floats problem. I've left it commented out because it's not quite
18675         correct.  It should also test that the current object is a table or
18676         figure inset.  But I haven't gotten around to figuring out how to do
18677         that.  I *think* it'll be something like: "table" == inset.type()
18678
18679         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18680         bool.
18681
18682 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18683
18684         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18685         all the citation/databases/styles in the auxilary file.
18686         (run): Rerun latex if there was a babel language error.
18687
18688 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18689
18690         * text.C (Backspace): Preserve the font when changing newline char
18691         with a space.
18692         (BreakParagraph): If the cursor is before a space, delete the space.
18693
18694         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18695
18696 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18697
18698         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18699         new argument (code).
18700         (ChangeCitationsIfUnique): New method.
18701
18702         * paragraph.C (GetPositionOfInset): Handle bibkey.
18703
18704 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18705
18706         * BufferView_pimpl.h: change type of Position::par_pos to
18707         LyXParagraph::size_type.
18708
18709 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18710
18711         * BufferView_pimpl.C (savePosition, restorePosition): Write
18712         messages to minibuffer.
18713
18714 2001-01-28  José Matos  <jamatos@fep.up.pt>
18715
18716         * buffer.C (makeDocBookFile): adds support for document language.
18717         A silly restriction on the name of LatexCommand types where removed.
18718         Added support for CDATA sections, allows to chars unescaped, used
18719         among others in code, to avoid escape < and >.
18720
18721 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18722
18723         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18724         saved positions instrad of a stack. Furthermore, a position is
18725         stored using paragraph id/paragraph position.
18726
18727         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18728         Remove LFUN_REF_BACK.
18729
18730 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18731
18732         * converter.C (dvipdfm_options): New method.
18733
18734 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18735
18736         * vspace.C (isValidLength): Fix for empty input string.
18737
18738 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18739
18740         * LyXAction.C (init): change description of LFUN_FIGURE to
18741         "Insert Graphics"
18742
18743 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18744
18745         * LaTeX.C: add using directive
18746
18747 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18748
18749         * MenuBackend.C (expand): Fix the sorting of the formats.
18750
18751 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18752
18753         * lyx_main.C: tiny error message fix
18754
18755 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18756
18757         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18758         calling fl_initialize(). This fixes the problem with ',' as
18759         decimal separator in text files.
18760
18761 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18762
18763         * trans.C (process): Fix the keymap bug.
18764
18765 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18766
18767         * LaTeX.C (scanAuxFiles): New method. Provides support for
18768         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18769         (scanLogFile) Scan for "run BibTeX" messages.
18770
18771         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18772         OT1 font encoding. Also, load the aecompl package if the ae
18773         package is loaded.
18774
18775         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18776
18777 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18778
18779         * texrow.C (increasePos): turn two error messages into debug
18780         messages.
18781
18782 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18783
18784         * LaTeX.C (scanAux): Handle the \@input macro.
18785         (runBibTeX): Use scanAux().
18786
18787         * language.C (latex_options_): New field.
18788
18789         * LaTeXFeatures.C (getMacros): Add language macros.
18790
18791         * buffer.C (makeLaTeXFile): Small fix.
18792
18793 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18794
18795         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18796
18797         * text2.C: add a using directive.
18798
18799 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18800
18801         * BufferView2.C:
18802         * lyx_gui_misc.h:
18803         * lyxfr1.C:
18804         * lyxfunc.C: kill LyXBell.
18805
18806 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18807
18808         * text.C (IsBoundary): Remove the error message
18809
18810         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18811
18812         * lyxrc.C (setDefaults): Correct initialization value for
18813         font_norm_type.
18814
18815 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18816
18817         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18818         gotoError().
18819
18820         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18821         and GotoNextNote().
18822
18823         * src/LyXAction.C: Added reference-next.
18824
18825         * text.C (InsertChar): Use contains instead of strchr.
18826
18827         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18828
18829 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18830
18831         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18832         alignment commands (when needed).
18833
18834         * text.C (InsertChar): Add ':' to number separator chars.