]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b29558cacca178c4388baa55b30cb479ed65d667
[lyx.git] / src / ChangeLog
1 2006-03-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * text.C (getPossibleLabel): get a sensible prefix inside figure and 
4         tabular floats (bug 1999).
5
6 2006-03-16  John Spray  <spray@lyx.org>
7
8         * lyxfunc.C (getStatus): disable LFUN_MENUWRITE when document is
9         clean (bug 2313)
10
11 2006-03-15  Martin Vermeer  <martin.vermeer@hut.fi>
12
13         * CutAndPaste.C (pasteSelectionHelper): comments
14         * paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug
15         * changes.h: comments
16         * paragraph.C (stripLeadingSpaces): remove unnecessary setChange
17         * text.C (backspace): allow deletion of inserted para break
18         Change tracking -related bug fixes (reported by Juergen) and 
19         some documentation work
20
21 2006-03-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         * MenuBackend.C (expand): make sure the menu is empty before
24         starting. 
25
26         * MenuBackend.h (clear): new method.
27
28 2006-03-13  Martin Vermeer  <martin.vermeer@hut.fi>
29
30         * rowpainter.C (paintChangeBar): fix painting of change bar with
31         only paragraph break changed
32
33 2006-03-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
34
35         * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
36         * lyx_main.C (reconfigureUserLyXDir): run ditto
37
38 2006-03-12  Martin Vermeer  <martin.vermeer@hut.fi>
39
40         * lyxtext.h: doxygen documentation fix
41
42 2006-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
43
44         * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
45         added setChangeFull):
46         * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
47         rejectChange, erase; added setChangeFull):
48         * CutAndPaste.C (eraseSelectionHelper):
49         * lyxtext.h:
50         * text.C (readParToken, readParagraph, breakParagraph,
51         acceptChange, rejectChange, backspace, currentState; 
52         added backspacePos0):
53         * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
54         * lyxfind.C (findChange, findNextChange): fix bug 880: Change
55         tracked paragraphs should still allow a paragraph split (and related
56         things, i.e., multi-paragraph change tracking)
57
58 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
59
60         * BufferView_pimpl.C: fix bug 2212: First change is skipped is
61         "Merge changes..." dialog
62
63 2006-03-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
64
65         * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX 
66         error if the class has not defined them yet (bug 2053).
67
68 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
69
70         * BufferView.[Ch]:
71         * BufferView_pimpl.[Ch]: 
72         * LyXAction.C:
73         * debug.[Ch]:
74         * rowpainter.C:
75         * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
76
77 2006-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
78
79         * pch.h: fix nullstream.hpp location for boost 1.33.0
80
81 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
82
83         * pch.h:
84         * support/pch.h:
85         * support/debugstream.h: Use the correct nullstream.
86
87 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
88
89         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
90
91 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
92
93         * cursor.C (niceInsert): fix (properly) insertion of
94         fonts/decorations around selection
95
96 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
97
98         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
99
100 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * text3.C (mathDispatch): fix crash when selection is not empty
103         but selectionAsString is empty (bug 2321).
104
105 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * text.C (changeCase): avoid crash in empty paragraph or on last
108         word of the paragraph. (buf 2323)
109         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
110
111 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
112
113         * buffer.C (readHeader): also erase params.preamble in advance
114         so that an empty preamble is actually recognized (bug 2317).
115
116         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
117
118 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
119
120         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
121
122 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
123
124         * buffer.C:
125         * bufferparams.[Ch]:
126         * lyxtext.h:
127         * paragraph.[Ch]:
128         * paragraph_funcs.C
129         * rowpainter.C:
130         * text.C:
131         * text2.C:
132         * text3.C: Fix bug 2115: blue language lines (for default font)
133         popping up when the documnent font is different. This includes work
134         by Georg Baum.
135
136 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
137
138         * exporter.C (Backends): Add "lyx" backend
139         * exporter.C (Export): Handle "lyx" backend
140         * graph.C (getReachable): Don't exclude "lyx"
141         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
142
143 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
144
145         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
146         for correct in-mathed positioning
147
148 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
149
150         * rowpainter.C (paintForeignMark): fix foreign blue line under
151         insets
152
153 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
154
155         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
156         pit of the uno range (bug 2022).
157
158 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
159
160         * messages.C (get): Only warn once if setlocale fails (bug 2177)
161
162 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
163
164         * text2.C (setCharFont): take inset's own font settings into account
165         when defining the font to reduce to, fixes 2019
166
167 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
168
169         * bufferview_funcs.C (coordOffset): remove the check for
170         collapsed collapsables (fix for bug 2094). This is now done
171         on a more general level (cursor.C).
172
173         * dociterator.[Ch] (forwardPos): add an optional argument
174         bool "ignorecollapsed" (default false), which lets forwardPos
175         skip collapsed insets.
176
177         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
178         (fixes bug 2241 and 2094).
179
180 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
181
182         * buffer.C: change tracking (dvipost) doesn't require
183         color.sty anymore.
184
185         * LaTeXFeatures.C (getPackages): no need for the color
186         option "usenames" (bug 2169).
187
188 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
189         * buffer_funcs.C: Trivial fix - added {} around
190         the statements to be affected by a if-test. Now
191         label in a minipage in a float looks ok on screen again.
192
193 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
194
195         * text2.C: fix bug 2015: on screen fonts in nested environments 
196         can be wrong
197
198 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
199
200         * converter.C (convert): handle unknown formats
201
202 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
203
204         * cursor.C (goUpDown): comment out some debug messages.
205
206         * counters.C (newCounter): make error messages more explicit
207         (these appear with some textclasses like beamer)
208
209 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * kbmap.C (defkey): 
212         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
213         have origin set to KEYBOARD. (bug 2221)
214
215 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
216
217         * rowpainter.C (isCursorOnRow): do not exclude endpos().
218
219 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         * cursor.C (macroModeClose): returns true if an inset actually got
222         inserted; revert faulty fix to bug 2034.
223
224 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
225
226         * tabular.C (getLabelList): remove (not used anymore).
227
228 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
229
230         * outputparams.[Ch]: add new flag inComment
231
232 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         * text2.C (deleteEmptyParagraphMechanism): since we delete a
235         paragraph, recordUndo should span two paragraphs (bug 2155).
236
237 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
238
239         * rowpainter.C (paintPar): always repaint the row with the
240         cursor in it
241
242 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
243
244         * MenuBackend.h: 
245         * bufferlist.h: 
246         * lyxtext.h: 
247         * paragraph.h:
248         * vspace.h: fix syntax error
249
250 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * text3.C (dispatch): Force refresh if typing into inset changes its
253                               metrics
254
255 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
256
257         * RowList_fwd.h:
258         * paragraph.C:
259         * paragraph.h:
260         * rowpainter.C: Speed up rendering by only re-painting rows that
261         have changed. When selection or whole-screen update active, all rows
262         are repainted, as are all rows within insets.
263
264 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
265
266         * version.C.in: Use PACKAGE_VERSION instead of VERSION
267
268 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
269
270         * tabular.C (toggleFixedWidth): Use default layout of text class
271         instead of hardcoded "Standard"
272
273 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
274
275         * lyxfunc.C (dispatch): do not call getStatus again to determine
276         whether a lfun is disabled (bug 2172).
277
278 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * cursor.C (macroModeClose): set the cursor inside the new math
281         atom if relevant (think \frac{}{}) (bug 2034)
282
283 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
284
285         * lyxtext.h:
286         * text.C:
287         * text3.C (Delete, backspace): force update when merging paragraphs
288
289 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
290
291         * BufferView.C (mouseSetCursor): clear the selection properly (bug
292         2163). 
293
294 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
295
296         * text.C (redoParagraph): honor inset->noFontChange()
297         * rowpainter.C (paintInset): ditto
298
299 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
300
301         * lyx_main.C (priv_exec): don't initialize Math on startup 
302         (initMath() has been moved to math_hullinset).
303
304 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
305
306         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
307         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
308         * paper.h: dispose dead PAPER_PACKAGES enum.
309
310 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
313         without X support.
314
315 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
316
317         * exporter.C (Export): Don't try to copy a file if it does not exist
318         (bug 1888)
319
320 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
321
322         * text2.C (makeFontEntriesLayoutSpecific): remove.
323         (setLayout): adapt.
324
325         * text.C (insertChar): remove bogus caching of fonts (did not do
326         anything). 
327
328         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
329         ALL_SANE). (bug 2146)
330
331 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * rowpainter.C (paintFirst): fix centering of
334         LABEL_CENTERED_TOP_ENVIRONMENT. 
335
336 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * BufferView.C (mouseSetCursor): new method. Calls
339         deleteEmptyParagraphMechanism if necessary.
340
341         * lyxtext.h: make deleteEmptyParagraphMechanism public.
342
343         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
344         BufferView::mouseSetCursor (bug 2109).
345         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
346
347 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
348
349         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
350         do not remove it (this inset behaves differently from the others).
351
352 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
353
354         Fix bug 2096.
355         
356         * BufferView_pimpl.C (getStatus): it is only possible to insert a
357         file in a text inset.
358
359         * buffer.C (readDocument): remove pit argument and code releated
360         to it; set the inset owner correctly (unrelated, but useful).
361         (readFile): get rid of pit argument.
362
363         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
364         textclass instead of a selection index.
365         (pasteParagraphList): new function.
366         (pasteSelection): make it a wrapper around pasteParagraphList.
367
368         * BufferView_pimpl.C (MenuInsertLyXFile): use
369         cap::pasteParagraphList to insert a file.
370
371 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
372
373         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
374
375 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
376
377         * exporter.C: fix typo in text message
378
379 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
380
381         * text2.C (setLayout): move recUndo call to other setLayout method
382         * tabular.C (toggleFixedWidth): new, handle cell width changes
383         * tabular.C (setColumnPWidth): move some code from insettabular.C here
384         and use toggleFixedWidth
385         * tabular.C (setMColumnPWidth): ditto
386
387 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
388
389         * paragraph.C (asString): use new inset->textString method (fix
390         bug 2089) 
391
392 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * CutAndPaste.C (numberOfSelections): new helper function.
395
396         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
397
398         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
399         LyXFunc::getStatus; implement LFUN_PASTE.
400
401 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
402
403         * dociterator.[Ch]: new member realInset() that returns the cell
404         for tabulars and the inset for the rest (bug 1952).
405         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
406         (bug 1952).
407
408 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
411
412 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
413
414         * lyxfunc.C:
415         * paragraph.C:
416         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
417         argument.
418
419 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
420
421         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
422         line after typing ctrl-enter
423
424 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
425
426         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
427         math insets do not return a proper editable() state yet (bug 2124).
428
429 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
430
431         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
432         docs containing very large paragraphs.
433
434 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
435
436         * cursor.C (selectionBegin, selectionEnd):
437         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
438         cursor at different depths.
439
440 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
441
442         * bufferview_funcs.C (coordOffset): do not call cursorPos
443         for collapsed collapsables (fix bug 2094).
444
445 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
446
447         * paragraph.C (fontSpan): make sure that the FontSpan does not
448         span across beginOfBody (bug 1947).
449
450 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
451
452         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
453
454 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
455
456         * messages.C: fix crash and localization on MinGW/Windows platform
457
458 2005-11-02  Angus Leeming  <leeming@lyx.org>
459
460         * Bidi.C:
461         * lyxtextclass.C: trivial fixes to some MSVS warnings.
462
463 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         * text3.C (getStatus): re-enable disabled code. (bug 2081)
466
467         * BranchList.h (empty): constify.
468
469 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * text3.C (getStatus): 
472         * MenuBackend.C (expandBranches): take the branch list from the
473         master document (bug 2092).
474         
475         * MenuBackend.C (expandBranches): 
476         * bufferparams.C (writeFile): use BranchList type.
477
478 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * text3.C (dispatch, getStatus): 
481         * LyXAction.C (init): 
482         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
483
484 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
485
486         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
487
488 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
489
490         * text.C (insertChar): do not reset boundary (bug 2061)
491
492 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * dociterator.C (updateInsets): new method. Updates the inset_
495         cache of all the slices of the iterator.
496
497         * text2.C (deleteEmptyParagraphMechanism): compare also containing
498         insets when comparing pit/pos; pass the right cursor to
499         recordUndo; when a paragraph has been deleted, compare `old.top()' to
500         the right cursor slice of `cur'; use updateInsets on cur to make
501         sure that the inset caches are correct; general cleanup.
502
503 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
504
505         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
506         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
507         containg inset. If this does not work, the same command will be
508         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
509
510         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
511         a dispatch.
512
513 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
514
515         * lyxtextclass.C (Read): convert layout file if the format is wrong
516         * lyxtextclass.C (layout2layout): new, needed for the above
517
518 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         * messages.C: do not forget to include <cerrno>.
521
522 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
523
524         * dociterator.h (StableDocIterator): add access to pos().
525         * undo.C (samePar): new method to check if two
526         iterators are in the same paragraph
527         * undo.C (recordUndo): check for samePar instead of cell identity
528         (which includes pos() and is too strict) (fixes bug 2097)
529
530 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
531
532         * text.C (setCursorFromCoordinates): return a bool telling whether
533         dEPM triggered.
534
535         * text3.C (cursorPrevious): update if needed after
536         setCursorFromCoordinates (when dEPM triggered).
537
538         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
539         (otherwise the anchor may be completely wrong and make dEPM assert).
540
541 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
542
543         * buffer.C: version upgrade to 245.
544         * bufferparams.C: remove \quotes_times (bug 2090).
545         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
546         quotation marks as default.
547
548 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
549
550         * CutAndPaste.C (nrOfParagraphs): remove (unused)
551         * CutAndPaste.C (cutSelection): Remove debug message
552         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
553         undo information and only copy if this is a real cut
554         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
555         call
556         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
557         (bug 2059)
558         * CutAndPaste.C (eraseSelection): prevent cursor corruption
559         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
560         superflous cur.selection() setting
561         * CutAndPaste.[Ch] (grabSelection): take a const cursor
562         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
563
564 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
565
566         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
567         change anything.
568
569 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
570
571         * BufferView_pimpl.C: comment layout change
572
573 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
574
575         * LyXAction.C:
576         * lfuns.h:
577         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
578         by bibliography managers (bug 2071).
579
580 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
581
582         * BufferView_pimpl.C (update): choose arguments to update call so
583         that single-par update works most times
584         * text3.C (dispatch): carefully tune updating separately for
585         whole-screen and current-paragraph
586         * rowpainter.C (paintText): 1) replace painting by caching for
587         the two extra paragraphs, because we can;
588         2) suppress greying out of areas below/above drawn area in case of
589         single-par refresh
590         * lyxfunc.C (dispatch): remove superfluous update
591         * LyXAction.[Ch]: introduce SingleParUpdate
592
593 2005-10-05  Angus Leeming  <leeming@lyx.org>
594
595         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
596         always initialised before use.
597
598         * text.C (setHeightOfRow): squash warning about comparison
599         of signed and unsigned types.
600
601 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
602
603         * text.C (cursorX): two fixes involving RtL text drawing
604
605 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
606
607         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
608         items, not only large ones (part of bug 2057)
609
610 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
611
612         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
613         argument, use "newcommand".
614
615 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
616
617         * cursor.C (setSelection): do not open collapsable insets;
618         the insets do by themselves now (autoopen).
619
620 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
621
622         * buffer.C: format is up to 244.
623
624 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
625
626         * text.C (redoParagraph): fix calcultation of inset width wrt 
627         leftMargin (bug 1957).
628
629         * text3.C (dispatch): leave inset to the right when hitting ESC 
630         (bug 2034).
631
632 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
633
634         * text2.C: 
635         * text.C: 
636         * factory.C:
637         * messages.C: include <boost/current_function.hpp> 
638
639 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
642         when command is internal. (bug 1941)
643
644 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * text2.C (cursorRight): do not honor boundary when at the end of
647         a paragraph. (bug 2010 again)
648
649 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
650
651         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
652
653 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
654
655         * rowpainter.C (paintText): fix RtL space width display bug (2029)
656
657 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
658
659         * text2.C (setCursor): remove the unused 'boundary' parameter for
660         the CursorSlice version; adapt the LCursor version.
661
662         * lyxrc.C (write): 
663         * paragraph_pimpl.C (markErased): 
664         * cursor.C (bruteFind2, bruteFond3): fix warnings.
665
666 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
667
668         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
669         as is already done for "chapter".
670
671 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
672
673         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
674         textclass; do not record undo if nothing is changed.
675
676 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
677
678         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
679
680 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
681
682         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
683
684 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
685
686         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
687         combox, it is necessary to search for the topmost paragraph in the
688         cursor stack (bug 1926)
689
690 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
691
692         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
693         end of paragraph. (bug 2010)
694
695 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
696
697         * text.C (leftMargin): check for inInset == 0
698
699 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
700
701         * text.C (leftMargin): test for insetbase's new neverIndent()
702         bool instead of listing each and every inset that does not
703         wish par indendation.
704
705 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
706
707         * buffer_funcs.C (setCounter): put the code to compute enum label
708         here (where it belongs).
709
710         * counters.C (enumLabel): move code to buffer_funcs.C.
711
712 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
713
714         * outputparams.[Ch]: store local_font instead of local_language
715         * paragraph.C (simpleTeXOnePar): adapt to the change above
716
717 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
718
719         * buffer_funcs.C:
720         * counters.[Ch]: clean up special code for Hebrew.
721
722 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
723
724         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
725         than 2.
726
727 2005-09-08  Angus Leeming  <leeming@lyx.org>
728
729         * ispell.C:
730         * lyxrc.C: correct grammar describing invocation of the
731         spellchecker.
732
733 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
734
735         * text.C (read): remove unused variable.
736         (readParToken): remove static Change variable (never good in
737         recursive settings...); add it as a parameter instead.
738
739         * paragraph_pimpl.C (acceptChange): make debug info conditional.
740
741         * metricsinfo.C (PainterInfo): add new member erased_.
742
743         * rowpainter.C (RowPainter): add erased_ member, initialized from
744         PainterInfo. 
745         (paintInset): pass erased_ to Inset::draw.
746
747         * lyxfunc.C (lookupChange): new function. Tells whether change 
748         tracking is disabled at a given postion.
749         (getStatus): disable some actions when in deleted text with change
750         tracking. 
751
752 2005-08-03  John Levon  <levon@movementarian.org>
753         
754         * tabular.C (appendColumn, setMultiColumn): adapt to change to
755         InsetText::clear().
756
757         * paragraph_pimpl.C (markErased): add bool argument and handle it.
758         Also make sure to mark insets recursively.
759         (rejectChange, erase): be recursive
760
761         * paragraph.C (markErased): add bool argument.
762 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         * lyxfind.C (findNextChange): tiny cleanup.
765
766         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
767         change tracking with the cursor in an inset; make sure the first
768         change is not skipped.
769
770 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
771
772         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
773         tabularStackDirty to work around bug 1919 (tabular needs
774         to know whether its own cell paste buffer or the one of 
775         texted is newer.
776         * CutAndPaste.C: mark tabular_stack_ clean after copy.
777
778 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
779
780         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
781
782 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
783
784         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
785         use old deleteion algorithm when changetracking is on.
786
787 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
788
789         * messages.C (get): add debug output.
790
791 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
792
793         * text.C (cursorX): fix bug 1965: cursor movement at
794         line end broken in RtL.
795         (drawSelection): fix bug 1970: drawing of single-line 
796         selection broken for RtL.
797
798 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
799
800         bug 465.
801
802         * dociterator.h (clear, push_back, pop_back): change from
803         protected to public.
804
805         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
806         and changed to just return the value of the item depth; take a
807         ParIterator as argument; take the itemdepth at outer nesting level
808         in account if necessary; cleanup and comment the code.
809         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
810         and changed to just return true if reset is needed; take a
811         ParIterator as argument; cleanup and comment the code.
812         (setCounter): adapt to above changes.
813
814 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
815
816         * text3.C (dispatch): make debug message optional
817
818 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
819
820         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
821         inset. (bug 1963)
822
823 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
824
825         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
826
827 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
828
829         * text.C (insertChar):
830         * text2.C (deleteEmptyParagraphMechanism): take care whether 
831         a blank has been deleted (in change tracking mode) (bug 1254).
832
833 2005-07-20  John Levon  <levon@movementarian.org>
834
835         * text2.C (insertStringAsLines): remove old dubious code,
836         fixing bug 1939.
837
838 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
839
840         * MenuBackend.C (expandToc): use Floating::listName() as title of
841         the floats submenus.
842
843 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
844
845         * toc.[Ch]: Do not use translatable strings (bug 1870).
846
847 2005-07-20  John Levon  <levon@movementarian.org>
848
849         * tabular.C: fix 1748 - setting multicolumn adds
850           left line to the first cell
851
852 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
853
854         bug 1920
855         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
856         pars in one go.
857
858 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
859
860         * messages.C: supress some lyxerr messages
861
862 2005-07-18  Juergen Vigna  <jug@lyx.org>
863
864         * text.C (drawSelection): honor boundary when asking for cursorX.
865
866 2005-07-17  José Matos  <jamatos@fc.up.pt>
867
868         * tabular.C (recalculateMulticolumns): fix handling of one column
869         tables.
870
871 2005-07-17  Juergen Vigna  <jug@lyx.org>
872
873         * text.C (Delete, backspace): fixed so that paragraph with the
874         same layout can be merged by Delete/Backspace.
875
876 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
877
878         * text.C (readParToken): fix spelling.
879
880 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
881
882         * text2.C: fix counter update for DEPM problem reported by
883         Georg Baum
884
885 2005-07-17  Juergen Vigna  <jug@lyx.org>
886
887         * BufferView_pimpl.C (setBuffer): save/restore the
888         cursor/selection when switching buffers
889
890         * buffer.h: 
891         * buffer.C (saveCursor): add saveDocumentIterators to save the
892         cursor when switching buffer.
893
894 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
895
896         * debug.C: fix typo
897         * buffer.C: clarify message
898         
899 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
900
901         * dociterator.C (DocIterator): fix initialization order
902
903 2005-07-17  Juergen Vigna  <jug@lyx.org>
904
905         * text2.C (cursorHome): 
906         * text.C (drawSelection, cursorX): 
907         * dociterator.C (textRow): add boundary to getRow() call
908
909         * paragraph.C (getRow): implementation of below
910
911         * paragraph.h: add parameter boundary for getRow() function
912
913 2005-07-17  José Matos  <jamatos@fc.up.pt>
914
915         * buffer.C:
916         * bufferparams.[Ch]:
917         * tex-strings.[Ch]: new file format, remove support for a4.sty,
918         a4wide.sty and a4widemargins.
919
920 2005-07-17  Juergen Vigna  <jug@lyx.org>
921
922         * text2.C (cursorLeft): fix one of error
923
924 2005-07-17  Juergen Vigna  <jug@lyx.org>
925
926         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
927                    cursorEnd):
928         more fixes for boundary handling
929
930         * text3.C (dispatch): don't reset cursor if boundary has changed
931         on cursor movement.
932
933 2005-07-16  Juergen Vigna  <jug@lyx.org>
934
935         * text2.C (getColumnNearX): hopefully got it right now,
936         check if we are on column 0 for special case.
937
938 2005-07-16  Juergen Vigna  <jug@lyx.org>
939
940         * text2.C (getColumnNearX): handle special case Newline Inset
941
942         * text.C (singleWidth): Just remove bogus check
943
944 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
945
946         * funcrequest.C (split): avoid reading uninitialized char c
947
948 2005-07-16  José Matos  <jamatos@fc.up.pt>
949
950         * buffer.C:
951         * converter.C:
952         * lyxrc.C:
953         * paper.h:
954         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
955         single papersize variable.
956
957 2005-07-16  Juergen Vigna  <jug@lyx.org>
958
959         * text3.C (dispatch): honor boundary when checking if a cursor
960         movement has been done
961
962         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
963         (setCursor, setCursorIntern): fix cursor movement with boundary
964
965 2005-07-16  Juergen Vigna  <jug@lyx.org>
966
967         * text.C (currentState): output the actual Boundary
968
969 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
970
971         * factory.C (createInset): fix bad logic for tabular creation
972
973 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
974
975         * lyx_main.C (init): change some reLyX reference to tex2lyx
976
977 2005-07-16  Juergen Vigna  <jug@lyx.org>
978
979         * dociterator.C (DocIterator): initialize boundary
980
981 2005-07-16  Juergen Vigna  <jug@lyx.org>
982
983         * text2.C (getColumnNearX): Consider rows without trailing blank.  
984
985 2005-07-16  André Pönitz  <poenitz@gmx.net>
986
987         * lyxfont.h: Change order of declarations to give the compiler
988         a better chance to inline things
989
990         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
991         questions on unsaved docs for better scritability
992
993 2005-07-16  André Pönitz  <poenitz@gmx.net>
994
995         * paragraph.h (getChar): remove asserts as the same kind of security
996         can be achieved by using a suitable standard library implementation
997         and the function was in the critical path (25.9% in profiler)
998
999 2005-07-16  Juergen Vigna  <jug@lyx.org>
1000
1001         * cursor.C (bruteFind2):
1002         * bufferview_funcs.C (coordOffset): 
1003         * text.C (cursorX,cursorY): Handle cursor position after last char
1004         in row before a inset which uses a whole row.
1005
1006 2005-07-15  José Matos <jamatos@lyx.org>
1007
1008         * output_plaintext.[Ch] (writeFileAscii): control reference title
1009         printing.
1010         (asciiParagraph): noparbreak was already deal and was incorrectly
1011         used.
1012
1013 2005-07-15  Juergen Vigna <jug@lyx.org>
1014
1015         * lyxfunc.C (dispatch): save and restore the cursor after a
1016         textclass switch.
1017
1018 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
1019
1020         * text.C (backspace): bug 806 for empty keepempty paragraphs we
1021         change the layout to default before letting DEPM do its thing.
1022
1023         * paragraph_funcs.C (breakParagraph): dont reset the layout on
1024         keepEmpty paragraphs
1025
1026         * text.C (setCursorFromCoordinates): add a debug statement
1027
1028         * text2.C (getColumnNearX): bug 1825 make sure that we don't
1029         return a pos that is not on the row
1030
1031         * output_latex.C (TeXDeeper): get rid of potential dereferencing
1032         of past the end iterator
1033
1034 2005-07-14  André Pönitz  <poenitz@gmx.net>
1035
1036         * undo.C (recordUndoFullBuffer): implement undo for
1037         textclass switches
1038
1039 2005-07-14  André Pönitz  <poenitz@gmx.net>
1040
1041         * cursor.C (setSelection): open insets when selection is set there
1042         to avoid crashs with cold coord cache
1043
1044 2005-07-14  André Pönitz  <poenitz@gmx.net>
1045
1046         * trans_mgr.C (insert): move cursor to the right after inserting
1047         a char.
1048
1049 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1050
1051         * BufferView_pimpl.C (update): dampen some of the debug blabbering
1052         * factory.C (readInset): ditto
1053         * text.C, text2.C: ditto
1054
1055 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1056
1057         * buffer.C: format incremented to 242. There is no file format per
1058         se, but the "frenchb" language has been removed from lib/language
1059         and has to be translated to "french" by lyx2lyx.
1060
1061 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1062
1063         * cursor_slice.h, dociterator.h: add some documentation
1064         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1065
1066 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1067
1068         * text.C (leftMargin): do not add identation to display() style
1069         insets, because they are always centered (bug 1293).
1070
1071 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1072
1073         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1074         formatted_time methods in support/lyxtime.
1075
1076 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1077
1078         * toc.[Ch]: new method getGuiName, which is used by the frontends 
1079         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1080
1081 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1082
1083         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1084         StableDocIterator const &)
1085         * undo.C (recordUndo): use the above instead of cell.size() comparison
1086         (fixes bug 1808; instructed by Andr�.
1087
1088 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1089
1090         * cursor_slice.h: 
1091         * dociterator.h: Fix the assert when copying rows/cols in math
1092
1093 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1094
1095         * BufferView_pimpl.C:
1096         * LyXAction.C:
1097         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1098
1099         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1100         (findInset): new functions, refactored from goto Inset that return 
1101         the position of a certain inset without setting the buffer's cursor
1102         (by Jean-Marc); 
1103         (gotoInset): rewrite to call findInset and then set the cursor
1104         (by Jean-Marc).
1105
1106 2005-06-16  Angus Leeming  <leeming@lyx.org>
1107
1108         * lyxrc.C (output, read): wrap all input and output of paths with
1109         calls to os::internal_path and os::external_path, respectively.
1110         (output): wrap bind_file inside quotes.
1111
1112         * format.C (view): enable the viewer to use the '$$s' placeholder.
1113
1114 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1115
1116         * LColor.[Ch] (getFromLaTeXName): new
1117
1118 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1119
1120         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1121
1122 2005-06-14  Angus Leeming  <leeming@lyx.org>
1123
1124         * lyx_main.C (init): ensure that the LyX binary dir is the first
1125         element in the PATH on non-POSIX builds.
1126
1127 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1128
1129         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1130
1131 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1132
1133         * rowpainter.C (paintInset, paintHebrewComposeChar)
1134         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1135         (paintChars): use getFontSpan to reduce calls to getFont to a
1136         minimum; use Paragraph::lookupChange instead of isXXXText.
1137         (paintForeignMark): rename LyXFont argument.
1138         (paintFromPos): pass a LyXFont object to the various paintXXX
1139         methods.
1140
1141         * FontIterator.C (FontIterator, operator++): use
1142         Paragraph::getFontSpan
1143
1144         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1145         version that returns the font span as a pair.
1146
1147 2005-06-09  Angus Leeming  <leeming@lyx.org>
1148
1149         * converter.C (convert): Don't forget "outfile = real_outfile" as
1150         the final step in a conversion where the input and output file names
1151         are the same. Otherwise, future conversion steps won't work...
1152
1153 2005-06-09  Angus Leeming  <leeming@lyx.org>
1154
1155         * lyxsocket.C: remove stub code as it isn't needed by
1156         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1157
1158 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1159
1160         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1161         effectively disabled -x
1162
1163 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1164
1165         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1166         when it actually makes sense.
1167
1168 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1169
1170         * BufferView_pimpl.C: revert to showCursor in connection with
1171         Lars's front-end stack
1172
1173 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1174
1175         * text.C (redoParagraph): move cursor right after a bibitem
1176         has been inserted.
1177
1178         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1179
1180 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1181
1182         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1183         error range.
1184
1185 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1186
1187         * BufferView.[Ch] (update):
1188         * BufferView_pimpl.[Ch] (update, metrics):
1189         * dimension.h (operator==):
1190         * lyxfunc.C (dispatch):
1191         * metricsinfo.h (ViewMetricsInfo):
1192         * rowpainter.C (paintText):
1193         * lyxtext.h:
1194         * text.C (redoParagraph):
1195         * text3.C (dispatch): Make LyX only repaint current paragraph in
1196         case of character insert --> speedup. Also fix cursor draw
1197         artifacts
1198
1199 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1200
1201         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1202         avoid a crash (bug 1891)
1203
1204 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1205
1206         Fix bug 1892:
1207
1208         * text2.C (getStringToIndex): constify cur argument.
1209
1210         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1211         argument has been given
1212         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1213         try to invoke LFUN_INSET_APPLY).
1214
1215         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1216         if no inset was created by doInsertInset
1217         (doInsertInset): return true if an inset has been inserted.
1218
1219 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1220
1221         * vspace.C (asGUIName): new method. A version of the space
1222         suitable for showing on screen.
1223
1224 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1225
1226         * MenuBackend.C:
1227         * lyxrc.C: rename "ASCII" to "Plain Text"
1228
1229 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1230
1231         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1232         translate the labelstring.
1233         (setCounter): translate labelstring as needed.
1234
1235         * output_docbook.C (makeCommand): fix expandLabel invokation
1236
1237 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1238
1239         * BufferView.C: fix dialog title
1240
1241 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1242
1243         * lyx_main.C (priv_exec): fix logic error with help from Angus
1244         * lyx_main.C (parse_execute): set is_gui = false and remove now
1245         obsolete comment about a segfault
1246
1247 2005-05-18  Angus Leeming  <leeming@lyx.org>
1248
1249         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1250
1251 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1252
1253         * tabular.[hC]: added setCellInset to fix tabular paste.
1254
1255 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1256
1257         * buffer.C (save): check if destination is writable before trying
1258         to copy a file
1259
1260 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1261
1262         * BufferView_pimpl.C (update): fix processEvents -caused update
1263         recursion bug
1264
1265 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1266
1267         * buffer_funcs.C (setCounter): fix test for numbering of
1268         environments.
1269
1270         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1271         depth correctly; use optional argument when it exists
1272
1273         * lyxtextclass.C: remove unused MaxCounterTags enum
1274         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1275         (max_toclevel, min_toclevel): new methods.
1276
1277         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1278         the smallest depth in toc.
1279
1280         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1281         layouts that should not appear in a table of contents.
1282
1283 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1284
1285         * cursor.h (undispatched, noUpdate): add comments from Andr�
1286 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1287
1288         * lfuns.h:
1289         * LyXAction.C:
1290         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1291
1292 2005-05-07  André Pönitz  <poenitz@gmx.net>
1293
1294         * cursor.[Ch] (leaveInset): new function
1295
1296 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1297
1298         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1299
1300 2005-05-04  Angus Leeming  <leeming@lyx.org>
1301
1302         * lyxfunc.C (getStatus): disable the spell checker dialog if
1303         none of USE_[AIP]SPELL are defined.
1304
1305 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1306
1307         * tabular.C (setWidthOfCell): remove obsolete comment
1308
1309 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1310
1311         * paragraph.C (bibitem):
1312         * buffer_funcs.C (setCounter):
1313         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1314
1315 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1316
1317         * text3.C (getStatus): immediately return after setOnOff
1318
1319         * rowpainter.C: fix drawing of appendix start
1320
1321 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1322
1323         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1324         SwitchBetweenClasses and remove the unused return value.
1325         Handle character styles, too
1326
1327 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1328
1329         * factory.C (createInset): handle undefined character styles
1330
1331 2005-05-02  Angus Leeming  <leeming@lyx.org>
1332
1333         * buffer.C: protect the #include of utime.h with a preprocessor
1334         guard.
1335
1336 2005-05-02  Angus Leeming  <leeming@lyx.org>
1337
1338         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1339         function so that auto-saving works, albeit in a blocking manner.
1340
1341         * Makefile.am: make compilation of the client sub directory, of
1342         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1343         on conditionals set at configure time.
1344
1345         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1346         it can be compiled in its own right but has no-op functionality.
1347
1348         * aspell.C, pspell.C: remove preprocessor guards. The files should
1349         be compiled only if the necessary functionality exists.
1350
1351         * lyxserver.C, lyxsocket.C: disable on Windows.
1352
1353 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1354
1355         * text.C (leftMargin): Fix the parindent use bug (1764)
1356         by dirty trick
1357
1358 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1359
1360         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1361         argument.
1362
1363 2005-04-25  Angus Leeming  <leeming@lyx.org>
1364
1365         * Bidi.[Ch]:
1366         * coordcache.[Ch]:
1367         * ispell.C:
1368         * lyxserver.C:
1369         * mover.C:
1370         * pch.h:
1371         include <config.h> in .C files, not .h ones.
1372         add licence blurb.
1373         protect headers inside preprocessor guards.
1374
1375 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1376
1377         * FuncStatus.h (StatusCodes): document
1378
1379 2005-04-21  André Pönitz  <poenitz@gmx.net>
1380
1381         * FuncStatus.h (enabled, onoff): document
1382
1383 2005-04-19  Angus Leeming  <leeming@lyx.org>
1384
1385         * BufferView_pimpl.C (cursorToggle): no longer test whether
1386         any child processes have been reaped before calling
1387         handleCompletedProcesses().
1388
1389 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1390
1391         * text3.C (dispatch): fix, finally fix, the language problem in
1392         new lyxtexts, without disabling on-the-fly font changes (Helge's
1393         bug report)
1394
1395 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1396
1397         * text3.C (dispatch): set cursor on double/triple click events
1398         (bug 1811)
1399
1400 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1401
1402         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1403         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1404
1405         * rowpainter.C (paintFirst): simplify the code a little bit. In
1406         particular, remove the test for secnumdepth.
1407         * text.C (setHeightOfRow): only allocate space for chapter number
1408         when updateCounters provided an actual label, instead of looking
1409         at secnumdepth directly.
1410
1411         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1412
1413         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1414         paragraphs when secnumdepth is large enough or, for environments,
1415         when they are not the first in a sequence.
1416
1417 2005-04-17  Angus Leeming  <leeming@lyx.org>
1418
1419         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1420         containing space and '~' characters with a call to latex_path().
1421
1422 2005-04-17  Angus Leeming  <leeming@lyx.org>
1423
1424         * converter.C (convert): protect all args of convertDefault.sh
1425         script with quotes.
1426
1427 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1428
1429         * text3.C (dispatch): change the layout to "Caption" after inserting
1430         a float.
1431
1432 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1433
1434         * text3.C (dispatch): fix language problem in newly created
1435         textinsets (and main text) in non-english docs
1436
1437 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1438
1439         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1440         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1441         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1442
1443 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1444
1445         * lyxtext.h:
1446         * text.C (metrics):
1447         * text2.C (getFont):
1448         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1449         fonts fix
1450
1451 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1452
1453         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1454         output of \item arguments without trailing text.
1455
1456 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1457
1458         * FontIterator.C (operator*): avoid a copy of the font.
1459
1460 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1461
1462         * rowpainter.C (getFont): fix language bug from previous fix
1463
1464 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1465
1466         * rowpainter.C (RowPainter, getFont): fix font inside inset
1467         (bugs 1766, 1809)
1468
1469 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1470
1471         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1472         preventing inserted font, deco, delim insets jumping to start of
1473         surrounding inset.
1474
1475 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1476
1477         * lyxfunc.C (dispatch): translate message before sending it to the
1478         minibuffer.
1479
1480 2005-03-29  Angus Leeming  <leeming@lyx.org>
1481
1482         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1483         to LyX on the command line.
1484
1485 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1486
1487         * vc-backend.C: use QuoteName to protect file names wherever
1488         necessary.
1489
1490 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1491
1492         * buffer.[Ch]:
1493         * BranchList.h: fix bugs 1844,1845: document settings don't
1494         stick
1495
1496 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1497
1498         * lyxrc.C (setDefaults, read, output, getDescription): add support
1499         for tex_allows_spaces.
1500
1501         * exporter.C (Export): allows files in directory containing spaces
1502         if tex_allows_spaces is true.
1503
1504         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1505         output it in double quotes.
1506
1507 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1508
1509         * rowpainter.C: use default text height for drawing change tracker
1510         strikeout lines.
1511
1512 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1513
1514         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1515
1516 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1517
1518         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1519         directory is missing.
1520
1521 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1522
1523         * text2.C: fixed the fix, extended to other case.
1524
1525 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1526
1527         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1528
1529 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1530
1531         * text2.C (cursorUp): get rid of a crash
1532         * text.C (x2pos): add an assert
1533
1534 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1535
1536         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1537
1538         * text3.C:
1539         * lyxfunc.C:
1540         * dociterator.C: include <boost/current_function.hpp>, which is
1541         needed when assertions are disabled.
1542
1543 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1544
1545         * text2.C: fix for stuck cursor when traversing two
1546         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1547
1548 2005-02-25  Andreas Vox  <avox@arcor.de>
1549
1550         * output_docbook.C (makeParagraph): suppress trailing newline
1551         after a run of paragraphs
1552
1553 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1554
1555         * paragraph.C: fix for confused change tracker when pasting
1556         text that begins with a lineseparator. [bug 1827]
1557         (setChange(0, Change::INSERTED);)
1558
1559         * paragraph_funcs.C: fix for lost changes on triple-paste
1560         in change tracking mode [bug 1827] (par.setChange()).
1561
1562 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1563
1564         * text2.C (updateCounters, setCounter, expandLabel): move to
1565         buffer_funcs.
1566
1567         * buffer_funcs.C (updateCounters): turn into a free standing
1568         function and add a buffer parameter. Remove dead code for tracking
1569         labelstring change.
1570         (setCounter): change into a free-standing function which gets a
1571         dociterator as argument. Use this iterator to fix captions in a
1572         simple way. When no float is found above the caption, use the
1573         labelstring of the caption layout as default.
1574
1575         * text.C (breakParagraph, backspace):
1576         * text2.C (init, setLayout, changeDepth):
1577         * text3.C (dispatch):
1578         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1579         updateCounters.
1580
1581         * dociterator.C (forwardPar): make it much faster by calling
1582         forwardPos() only when really necessary.
1583
1584         * output_docbook.C (makeCommand): adapt to expandLabel move.
1585
1586         * cursor.C: remove unused variable
1587
1588 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1589
1590         * paragraph_funcs.C: fix crash when pasting insets in change
1591         tracking mode [bug 1277] (honour change type in moveItem).
1592
1593 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1594
1595         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1596
1597 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1598
1599         * BufferView.C (setCursor): change to use a DocIterator.
1600         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1601         (putSelectionAt): adapt to BufferView::setCursor change.
1602
1603         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1604         moved here from LyXText and rewritten to use proper cursor
1605         methods. Fixes bug 1787, 616 and 835.
1606
1607         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1608         when inside an inset (part of bug 781).
1609         (dispatch): adapt to change of BufferView::setCursor.
1610         (getStatus, dispatch): handle LFUN_GOTOERROR,
1611         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1612
1613         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1614         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1615         * text3.C (gotoNextInset, gotoInset): removed.
1616
1617 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1618
1619         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1620
1621 2005-02-15  Angus Leeming  <leeming@lyx.org>
1622
1623         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1624         can be used meaningfully in a comparison.
1625
1626 2005-02-13  André Pönitz  <poenitz@gmx.net>
1627
1628         * bufferview_funcs.C (coordOffset): improve cursor drawing
1629
1630 2005-02-13  André Pönitz  <poenitz@gmx.net>
1631
1632         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1633         * Cursor.C (dispatch): use fixIfBroken
1634         * lyxfunc.C (getStatus): use fixIfBroken
1635
1636 2005-02-15  Angus Leeming  <leeming@lyx.org>
1637
1638         * lyx_main.C (error_handler):
1639         * lyxfunc.C:
1640         * lyxrc.C (setDefaults):
1641         s/GetEnv/getEnv/.
1642         #include "environment.h".
1643
1644         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1645
1646 2005-02-15  Angus Leeming  <leeming@lyx.org>
1647
1648         * lyxserver.C (startPipe): squash MSVC warning "local variable
1649         'fd' used without having been initialized".
1650
1651 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1652
1653         * BufferView_pimpl.C: revert accidental commit.
1654
1655 2005-02-14  André Pönitz  <poenitz@gmx.net>
1656
1657         * dociterator.[Ch]: new member forwardPosNoDescent(),
1658         which doesn't enter nested insets.
1659         * text2.C (setFont): use forwardPosNoDescent() instead
1660         of ForwardPos() (fixes crash on font change).
1661
1662 2005-02-13  Angus Leeming  <leeming@lyx.org>
1663
1664         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1665         only if lyxrc.path_prefix is not empty.
1666
1667 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1668
1669         * bufferparams.C (readGraphicsDriver): prevent crash
1670
1671 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1672
1673         * text2.C (setCounter): check for inInset() == 0
1674
1675 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1676
1677         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1678         but use update() to get correct screen display; use convert
1679         instead of istringstream.
1680         (getStatus): handle LFUN_GOTO_PARAGRAPH
1681
1682         * lyxfunc.C (dispatch, getStatus): do not handle
1683         LFUN_GOTO_PARAGRAPH here.
1684
1685 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1686
1687         * text3.C (dispatch): size() -> depth()
1688
1689         * text2.C: remove some debug output
1690
1691         * paragraph.C: ws changes only
1692
1693         * lyxfunc.C (getStatus): size() -> depth()
1694
1695         * dociterator.h (clear, push_back, pop_back, internalData,
1696         operator[], resize, empty): new functions
1697         Make StableDocIterator and operator== be friends. Don't inherit
1698         from std::vector use a privat class variable slices_ instead.
1699         Modify to fit.
1700
1701         * dociterator.C: update because of not inheriting from std::vector
1702         anymore. Call explictly to slices_ instead. Use depth() instead of
1703         size() and top() instead of back()
1704
1705         * cursor.C: chagne size() -> depth and back() -> top(). Also
1706         remove some direct operator[](i) calls in favour of foo[i]
1707         (getFont): remove some dead code
1708
1709         * bufferview_funcs.C (coordOffset): size() -> depth()
1710
1711         * buffer.C: ws changes only
1712
1713         * CutAndPaste.C (eraseSelection): back() -> top()
1714
1715         * BufferView_pimpl.C (selectionRequested): back() -> top()
1716
1717         * BufferView.C (setCursor): size() -> depth()
1718
1719 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1720
1721         * text3.C (cursorPrevious): return true if depm changed something
1722         (cursorNext): ditto
1723         (dispatch): rename sl to oldTopSlice, remove moving use the new
1724         NoUpdate func attrib instead. Make sure that needsUpdate is set
1725         for function that have NoUpdate, but where depm might have changed
1726         the buffer anyway.
1727
1728         * text2.C (cursorLeft): make us return true if depm changed
1729         something
1730         (cursorRight): ditto
1731         (cursorUpParagraph): ditto
1732         (curosrDownParagraph): ditto
1733         (cursorUp, cursorDown): ditto, make sure to read comments in code
1734         (deleteEmptyParagraphMechanism): remove an assert, also return
1735         true if just a single char was deleted.
1736
1737         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1738         cursor that we modify, to avoid modifying an active cursor before
1739         we call setCursor. This allows depm to run. Also return true if
1740         depm deleted something.
1741
1742         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1743         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1744         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1745         something was changed in the buffer because of them (ie. depm run)
1746
1747         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1748         debug messages. Make update by default be false. Make sure that
1749         the result of update is retained throught several calls down to
1750         dispatch.
1751
1752         * LyXAction.h: add a new func_attrib: NoUpdate
1753
1754         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1755         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1756         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1757         and LFUN_WORDLEFT
1758         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1759
1760 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1761
1762         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1763         bv_->owner(), bv_->buffer() by direct references to the private
1764         members.
1765         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1766         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1767         (fitCursor): center() is in BufferView::Pimpl.
1768         (getStatus, trackChanges, dispatch): no need for a temporary buf
1769         variable
1770         (fitCursor, workAreaDispatch): use workarea().workheight()
1771
1772 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1773
1774         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1775
1776 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1777
1778         * buffer.C: format up to 241.
1779         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1780         break if pasting into ERT
1781         * lyxfunc.C (getStatus): suppress mathpanel and
1782         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1783
1784 2005-02-01  Angus Leeming  <leeming@lyx.org>
1785
1786         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1787
1788 2005-02-01  Angus Leeming  <leeming@lyx.org>
1789
1790         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1791         calling fs::is_directory().
1792
1793 2005-01-31  Angus Leeming  <leeming@lyx.org>
1794
1795         * lyx_main.C (priv_exec): specify explicitly the relative location
1796         of the top level build directory when run in-place.
1797
1798 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1799
1800         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1801         LyXText containing the cursor, not the top-level one.
1802
1803         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1804         true.
1805         (insertStringAsLines): rename par to pit; use temporary variable
1806         par to hold a Paragraph; do not store par.layout() in a variable,
1807         since the pointer may die when breaking paragraphs; pass pars to
1808         breakParagraph() instead of Buffer::paragraphs().
1809
1810 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1811
1812         * lyxlex_pimpl.h: #include <fstream>.
1813
1814         * BufferView.[Ch] (getLyXText): add a const version.
1815
1816         * BufferView_pimpl.C: add debug aids.
1817
1818         * RowList_fwd.h:
1819         * buffer.h:
1820         * lyxrow.h:
1821         * paragraph_funcs.h: add commentary explaining what the class does.
1822
1823
1824         * coordcache.[Ch]: add lots of commentary.
1825         (startUpdating, doneUpdating): debug aids.
1826         (arrays, insets, parPos, getParPos): accessors to private data.
1827
1828         * cursor_slice.[Ch] (text): add a const version.
1829         * dociterator.[Ch] (text, innerText): add const versions.
1830
1831         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1832         bool.
1833
1834         * paragraph.C (getRow, pos2ros): add asserts.
1835
1836         * paragraph.h: add commentary. Lots of.
1837
1838         * paragraph.[Ch] (metrucs, draw): removed.
1839
1840         * cursor.C:
1841         * rowpainter.[Ch]: const-correct changes.
1842
1843         * text.C: various obvious clean-ups. Removal of ancient cruft.
1844         Bug fixes, even.
1845
1846 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1847
1848         * vc-backend.C (find_file): rewrite to use boost.filesystem
1849         (scanMaster): ditto
1850
1851         * main.C (main): set default name check for boost.filesystem to
1852         no check
1853
1854         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1855         (open): ditto
1856         (doImport): ditto
1857         (actOnUpdatedPrefs): ditto
1858
1859         * lyx_main.C (init): rewrite to use boost.filesystem
1860         (queryUserLyXDir): ditto
1861
1862         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1863         (getContentsOfAsciiFile): ditto
1864
1865         * lastfiles.C (readFile): rewrite to use boost.filesystem
1866
1867         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1868
1869         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1870         (loadLyXFile): ditto
1871
1872         * buffer.C (Buffer): adjust for destroydir
1873         (getLogName): rewrite to use boost.filesystem
1874         (setFileName): ditto
1875         (save): use fs::copy_file (from fs_extras)
1876
1877         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1878
1879         * LaTeX.C (run): rewrite to use boost.filesystem
1880         (scanAuxFiles): ditto
1881         (handleFoundFile): ditto
1882
1883 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1884
1885         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1886
1887         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1888
1889 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1890
1891         * lyxlayout.[Ch]: change some vars from float to double
1892
1893         * buffer.C (readFile): make a local var const
1894
1895         * Several files: use convert<> instead of atoi,strToXXX and friends
1896
1897 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1898
1899         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1900         holds the contents of packages.lst. New functions getAvailable
1901         and isAvailable to parse and check that list, resp.
1902
1903         * LyXAction.C:
1904         * lfuns.h:
1905         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1906
1907         * bufferparams.[Ch]: new param output_changes.
1908
1909         * Buffer.C: increase file format to 240.
1910         Use output_changes and isVailable.
1911
1912         * changes.[Ch]:
1913         * paragraph.C:
1914         * paragraph_pimpl.C: Use output_changes and isVailable.
1915
1916 2005-01-23  Angus Leeming  <leeming@lyx.org>
1917
1918         * output_latex.C: #include "insetbibitem.h", rather than
1919         forward declare function bibitemWidest.
1920
1921 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1922
1923         * lyx_main.C (init): make it compile on the Mac.
1924
1925 2005-01-20  Angus Leeming  <leeming@lyx.org>
1926
1927         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1928         (setLyXMisc): (char string literal) != (char string literal) is
1929         performing a comparison on the addresses. Convert one operand
1930         explicitly to string to guarantee expected behaviour.
1931         From MSVC warning.
1932
1933 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1934
1935         * buffer.C:
1936         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1937
1938         * output_plaintext.C: remove unneeded #include gzstream.h.
1939
1940 2005-01-20  Angus Leeming  <leeming@lyx.org>
1941
1942         * SpellBase.h: rename some of the elements of the Result enum.
1943
1944         * aspell_local.h:
1945         * ispell.h:
1946         * pspell.h:
1947         * aspell.C (check):
1948         * ispell.C (check):
1949         * pspell.C (check): ditto
1950
1951 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1952
1953         * buffer.C: add #include <fstream>.
1954
1955         * lyx_main.C (init): Compile fix.
1956
1957         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1958
1959 2005-01-20  Angus Leeming  <leeming@lyx.org>
1960
1961         * mover.h: change commentary to reflect the changed meaning of
1962         the $$s placeholder.
1963
1964 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1965
1966         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1967
1968         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1969
1970 2005-01-20  Angus Leeming  <leeming@lyx.org>
1971
1972         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1973         printing diagnostic data by not dereferecing an iterator past the
1974         end.
1975
1976 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1977
1978         * buffer.C (readHeader): use "&&" rather than "and".
1979
1980         * lyxserver.h (inPipeName, outPipeName): make these const.
1981
1982 2005-01-19  Angus Leeming  <leeming@lyx.org>
1983
1984         * lyx_main.C (error_handler, init): protect SIGHUP with
1985         #ifdef SIGHUP guards.
1986
1987 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1988
1989         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1990
1991 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1992
1993         * text.C (setHeightOfRow): add a margin at the top and bottom of
1994         the document (bug 1761)
1995
1996 2005-01-17  Angus Leeming  <leeming@lyx.org>
1997
1998         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1999         with "python ". Workaround for a brain-dead Windows.
2000
2001 2005-01-16  Angus Leeming  <leeming@lyx.org>
2002
2003         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
2004         for MacOSX and Windows to use prependEnvPath.
2005         Strip out the hard-coded block to add elements to the PATH for
2006         MacOSX and replace it with a call to prependEnvPath using the
2007         contents of LyXRC::path_prefix.
2008         (queryUserLyXDir): strip out the code to run reconfigure, instead
2009         returning a boolean indicating the necessity to do so.
2010         (reconfigureUserLyXDir): contains the code to reconfigure the
2011         user support directory. Is now called after the various LyXRC data
2012         files have been read.
2013
2014         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
2015
2016 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2017
2018         * converter.[Ch] (convert): take a new parameter try_default. Use
2019         a default converter (imagemagick) if try_default is true.
2020
2021 2005-01-13  Angus Leeming  <leeming@lyx.org>
2022
2023         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
2024         os::cygwin_path_fix.
2025         (write): output LyXRC::cygwin_path_fix as necessary.
2026
2027 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
2028
2029         * lyxrc.h:
2030         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2031
2032 2005-01-12  Angus Leeming  <leeming@lyx.org>
2033
2034         * lyx_main.C (init): set the PATH variable to include the
2035         directory containing the LyX binary when running on Mac or Windows.
2036
2037 2005-01-12  Angus Leeming  <leeming@lyx.org>
2038
2039         * lyx_main.C (init): remove cruft that purports to set the locale
2040         dir. It doesn't and is not needed anyway.
2041
2042 2005-01-10  Angus Leeming  <leeming@lyx.org>
2043
2044         * Makefile.am: remove the lyx_main.C special casing.
2045
2046         * BufferView_pimpl.C:
2047         * bufferlist.C:
2048         * exporter.C:
2049         * lyx_cb.C:
2050         * lyx_main.C:
2051         * lyxfunc.C:
2052         * messages.C: use support/package.h to provide the paths to the
2053         various directories used by LyX.
2054
2055 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2056
2057         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2058         layout if pasting into an empty paragraph)
2059
2060 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2061
2062         * tex-accent.C: add <string>
2063
2064 2005-01-06  José Matos  <jamatos@lyx.org>
2065
2066         * ParagraphParameters.C (write): put every parameter in its own line.
2067         * paragraph.C (write): reduce number of consecutive empty lines exported.
2068         * buffer.C (LYX_FORMAT): increase file format to 239.
2069
2070 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2071
2072         * everywhere: change support/tostr.h -> support/convert.h
2073
2074         * tabular.C: make all write_attributes templates, tostr -> convert
2075
2076         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2077         (emptyTag): and -> &&, and fix type for ret from getChar
2078         (getFirstWord): fix type for ret from getChar
2079         (onlyText): and -> &&
2080         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2081         getChar
2082
2083         * toc.C (goTo, action):
2084         * text3.C (dispatch):
2085         * text.C (currentState):
2086         * tex-accent.C (DoAccent):
2087         * sgml.C:
2088         * lyxrc.C:
2089         * lyxfunc.C (menuNew):
2090         * lyxfinc.C (replace):
2091         * counters.C (laberItem):
2092         * bufferview_funcs.C (font2string):
2093         * bufferparams.C (writeFile):
2094         * buffer.C (readFile):
2095         * Spacing.C (set):
2096         * MenuBackend.C: tostr -> convert
2097
2098         * LaTeX.C (runMessage): fix format
2099         (scanAuxFiles): tostr -> convert
2100
2101         * BufferView_pimpl.C (savePosition): fix format
2102         (restorePosition): ditto
2103         (dispatch): ditto
2104
2105 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2106
2107         * Spacing.[Ch]: New method getValueAsString().
2108
2109         * Spacing.[Ch]:
2110         * bufferparams.C:
2111         * ParagraphParameters.C:
2112         * lyxlayout.C:
2113         * text.C:
2114         * text3.C: store/read spacing value as string.
2115
2116         * rowpainter.C: change float value (spacing_val) to double.
2117
2118         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2119         broken custom document spacing).
2120
2121 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2122
2123         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2124         namespace, also more use of temp references and const
2125
2126         * cursor.[Ch] (getStatus): move to lyxfunc.C
2127
2128         * bufferparams.C: reformat slightly
2129
2130         * bufferview_funcs.C (font2string): constify arg
2131
2132         * changes.C:
2133         * converter.C:
2134         * counters.C:
2135         * bufferlist.C:
2136         * buffer_funcs.C: (many funcs): constify arg on function
2137         definitions, also make more local vars const, also add ASSERTS on
2138         pointer args.
2139
2140         * buffer.C (LYX_FORMAT): put const in correct place
2141         (many funcs): constify arg on function definitions, also make
2142         more local vars const
2143
2144         * aspell_local.h: remove "struct" from typdef setup
2145
2146         * aspell.C (check): make word_ok const
2147         (nextMiss): simplify slightly
2148         (error): ditto
2149
2150 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2151
2152         * lyxrc.[Ch]: store all float values as strings.
2153         use int (not float) for lyxrc.dpi.
2154
2155 2005-01-04  Angus Leeming  <leeming@lyx.org>
2156
2157         * lyx_cb.C (Reconfigure):
2158         * lyx_main.C (queryUserLyXDir):
2159         to run the <system_lyxdir>/configure correctly on Windows, prefix
2160         the path to the script with "sh " when generating the string that
2161         is passed to system().
2162
2163 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2164
2165         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2166
2167 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2168
2169         * lyxlength.C (asLatexString): get rid of setprecision
2170
2171 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2172
2173         * text2.C (setLayout): remove unused variable endpit.
2174         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2175
2176         * paragraph.C (onlyText): remove unused variable style.
2177
2178         * cursor.C (bruteFind): remove unused variables beg and end.
2179
2180         * Makefile.am (dist_noinset_DATA): not needed anymore
2181
2182         * cheaders/*: remove.
2183
2184 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2185
2186         * text3.C: fix LFUN_MATH_MODE.
2187
2188 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2189
2190         * buffer_funcs.C (countWords): new function. Counts words between
2191         two iterators.
2192
2193         * BufferView_pimpl.C (getStatus, dispatch): handle
2194         LFUN_WORDS_COUNT.
2195
2196         * LyXAction.C (init):
2197         * lfuns.h: add LFUN_WORDS_COUNT.
2198
2199 2004-12-19  Angus Leeming  <leeming@lyx.org>
2200
2201         * buffer.C (save): s/slashify_path/internal_path/.
2202
2203 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2204
2205         * lyxfind.C (findChange): do not search for end of pars, because
2206         the change tracker cannot handle this (fixes bug 1719).
2207
2208 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2209
2210         * paragraph.[Ch] (autoBreakRows): remove
2211
2212         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2213
2214         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2215         avoid using the paragraph one
2216
2217         * text2.C (LyXText, insertStringAsLines): adjust
2218
2219 2004-12-16  Angus Leeming  <leeming@lyx.org>
2220
2221         * bufferlist.C:
2222         * lyx_main.C:
2223         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2224
2225 2004-12-14  Angus Leeming  <leeming@lyx.org>
2226
2227         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2228
2229         * bufferlist.C (emergencyWrite):
2230         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2231         GetEnvPath("HOME").
2232
2233 2004-12-14  Angus Leeming  <leeming@lyx.org>
2234
2235         * main.C: (main): no longer pass pointers to os::init.
2236
2237 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2238
2239         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2240         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2241
2242 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2243
2244         * lyxfunc.C:
2245         * text3.C: remove selection_possible global flag
2246
2247 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2248
2249         * text2.C (getSelectionSpan): remove
2250         (changeDepth, changeDepthAllowed): adjust
2251
2252 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2253
2254         * Makefile.am (BOOST_LIBS): use boost variables
2255
2256 2004-12-03  José Matos  <jamatos@lyx.org>
2257
2258         * buffer.C: format up to 238.
2259
2260 2004-12-03  José Matos  <jamatos@lyx.org>
2261
2262         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2263
2264 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2265
2266         * cursor.C (goUpDown): remove call to idxUpDown2
2267
2268 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2269
2270         * tabular.[Ch]: use size_t-like types for cell, row and column
2271         indices
2272
2273 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2274
2275         * lyxfunc.C (getStatus): do not lose previous information when
2276         calling BufferView::getStatus; do not set a default "Command
2277         disabled" message at the beginning, but just before returning.
2278
2279 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2280
2281         * cursor.h (getStatus): add better comment from src/cursor.C
2282
2283 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2284
2285         * text3.C (getStatus): return false when the lfun is not handled
2286
2287 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2288
2289         * broken_headers.h: remove
2290
2291         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2292
2293 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2294
2295         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2296         offset_ref accessors
2297
2298         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2299         top_y_, merge fitcursor with update
2300         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2301         coord scheme
2302         (metrics): introduce
2303         (workAreaDispatch): adapt to new coord scheme
2304         (redoCurrentBuffer): remove
2305
2306         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2307
2308         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2309         CurStatus enum.
2310
2311         * coordcache.[Ch]: add paragraph cache and helpers
2312
2313         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2314         adjust everywhere
2315
2316         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2317         (targetX, setTargetX): introduce
2318
2319         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2320         baseline -> ascent, as the rest of lyx
2321
2322         * lyxtext.h: remove redoParagraphs, updateParPositions,
2323         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2324         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2325         have ascent/descent (ascent is ascent of first par)
2326
2327         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2328         step of BufferView
2329
2330         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2331
2332         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2333
2334         * pariterator.C: fix infinite loop introduced in par->pit renaming
2335
2336         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2337         in insets and LyXText, draw two off-screen paragraphs using
2338         NullPainter, and adapt to new coord scheme
2339
2340         * text.C:
2341         * text2.C:
2342         * text3.C: adapt lfun handlers to the new coord scheme, which
2343         means: there's only guaranteed coord information for onscreen pars
2344         plus one above and one below. This implies that one can do search
2345         from y coordinates in the range [-1,workHeight]
2346
2347 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2348
2349         * rename a lot of InsetOld to InsetBase
2350
2351 2004-11-25  Angus Leeming  <leeming@lyx.org>
2352
2353         * BufferView_pimpl.C:
2354         * lyx_cb.C:
2355         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2356
2357 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2358
2359         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2360         call BufferView::getStatus if LCursor::getStatus did nothing
2361         (setStatusMessage, getStatusMessage): removed.
2362
2363         * FuncStatus.C (message): new methods. Used to provide an error
2364         message indicating why a command is disabled.
2365         (clear, |=, FuncStatus): update for message.
2366
2367 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2368
2369         * lyxfunc.C (dispatch): always call sendDispatchMessage
2370
2371 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2372
2373         * BufferView.C:
2374         * BufferView_pimpl.C:
2375         * CutAndPaste.C:
2376         * FontIterator.C:
2377         * buffer.C:
2378         * cursor.C:
2379         * cursor_slice.[Ch]:
2380         * dociterator.[Ch]:
2381         * lyxfind.C:
2382         * paragraph_funcs.C:
2383         * pariterator.C:
2384         * rowpainter.C:
2385         * text.C:
2386         * text2.C:
2387         * text3.C:
2388         * undo.C: par->pit renaming
2389
2390 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2391
2392         * tabular.C (cellstruct): use initialization, store a shared_ptr
2393         to insettext instead of the insettext directly, adjust to fit.
2394         (operator=):  new function
2395         (swap): new function
2396         (rowstruct): use initialization
2397         (columnstruct): use initialization
2398         (ltType): use initialization
2399
2400
2401         * lyxlength.h (swap): new function
2402
2403         * LColor.[Ch] (operator=): use the common semantics
2404
2405 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2406
2407         * lyxfind.C (findNextChange): update the bufferview after setting
2408         the selection.
2409
2410 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2411
2412         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2413         number of InsetOptArgs has already been inserted.
2414
2415         * output_latex.C (latexOptArgInsets): new method. This outputs all
2416         the optarg insets, up to the limit defined in the layout file.
2417         (optArgInset): removed
2418         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2419
2420 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2421
2422         * paragraph.C (isLetter): remove special spellchecker-related
2423         code; return true also for digits
2424         (isWord, isKomma): remove
2425
2426         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2427         * lyxfind.C (MatchString()): use isLetter instead of isWord
2428
2429 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2430
2431         * pariterator.h (operatir=): comment out un-implemented member
2432         function.
2433
2434         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2435         static cast.
2436
2437 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2438
2439         * lyxfont.h: include LColor.h to satisfy concept checks.
2440
2441 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2442
2443         * pariterator.h: add typdefs for value_type, difference_type,
2444         pointer and reference to satisfy concept checks. Also add default
2445         constructor for same reason.
2446
2447         * pariterator.C (operator++): add post-increment operator to
2448         satisfy concept checks.
2449
2450         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2451         checks.
2452
2453         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2454
2455         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2456         checks. Also rename base_type to BaseType to follow naming
2457         standard better.
2458
2459         * FloatList.h: include Floating.h to satisfy concept checks.
2460
2461 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2462
2463         * lyxfunc.C (getStatus): when the origin of the request is menu or
2464         toolbar, and the LyXView does not have focus, do as if there was
2465         no buffer (bug 1720)
2466
2467         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2468         FuncRequest to individual entries of LFUN_SEQUENCE
2469
2470 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2471
2472         * output_latex.C (TeXOnePar): override runparams.moving_arg
2473         according to the needprotect value of the current paragraph (bug
2474         1739)
2475
2476         * paragraph.C (simpleTeXOnePar): no need to override
2477         runparams.moving_args here
2478
2479 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2480
2481         * vspace.C: fix off-by-one-error, related to fix #1682
2482
2483 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2484
2485         * lengthcommon.C: a more general fix for bug 1682
2486
2487 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2488
2489         * text.C (backspace): fix crash
2490
2491 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2492
2493         * format.[Ch] (getFormatFromFile): new method
2494         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2495
2496 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2497
2498         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2499
2500 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2501
2502         * lyxfunc.C (dispatch): remove the verbose argument
2503         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2504         instead
2505
2506         * kbmap.C (defkey): set the origin of func to KEYBOARD
2507
2508         * MenuBackend.C (MenuItem):
2509         * ToolbarBackend.C (add): set the origin of func to UI
2510
2511         * funcrequest.[Ch]: add origin member, which indicates which part
2512         of LyX requests an action
2513
2514 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2515
2516         * converter.C (move): don't lie in the error message
2517         * converter.h (isReachable, move): document
2518
2519 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2520
2521         * buffer.C: remove unused using lyx::support::atoi
2522         * paragraph_funcs.C: ditto
2523
2524 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2525
2526         * bufferlist.C (exists): use bind and equal_to instead of
2527         compare_memfun
2528         (getBuffer): ditto
2529         * lyxtextclasslist.C (NumberOfClass): ditto
2530
2531         * cursor.C (insert): use for_each instead of explicit for loop
2532
2533         * bufferlist.C (getFileNames): use std::transform and
2534         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2535
2536         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2537         for loop
2538
2539         * buffer.C (changeLanguage): use for_each instead of explicit for
2540         loop
2541         (hasParWithID): implement using getParFromID
2542
2543         * LaTeXFeatures.C: ws change only
2544
2545         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2546         to cleanup a bit.
2547
2548         * BufferView_pimpl.C (trackChanges): use for_each instead of
2549         expilicit for loop
2550
2551 2004-11-04  André Pönitz  <poenitz@gmx.net>
2552
2553         * undo.h:
2554         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2555
2556         * dociterator.C (asDocIterator): use hard assert again.
2557
2558 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2559
2560         * lyxlength.C (asLatexString): rewrite so that it does not use
2561         snprintf anymore
2562
2563 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2564
2565         * text3.C (specialChar, dispatch): make sure cursor moves to the
2566         right after inserting an inset
2567
2568 2004-11-02  José Matos  <jamatos@lyx.org>
2569
2570         * output_docbook.C (docbook):
2571         * paragraph.C (getID):
2572         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2573         garantee that the output is always legal.
2574
2575         * tabular.C (docbook):
2576         * outputprams.[Ch]: remove mixed contents.
2577
2578 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2579
2580         * text2.C (setCounter): prevent endless loop
2581
2582 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2583
2584         * exporter.C (copyFile): use the mover instead of support::copy()
2585         * exporter.C (Export): pass format and latex name to copyFile()
2586         * exporter.h (addExternalFile): document
2587         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2588
2589 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2590
2591         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2592
2593 2004-10-30  José Matos  <jamatos@lyx.org>
2594
2595         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2596         text and no inset or font change. This allows to use CDATA
2597         sections just for the whole paragraph.
2598
2599 2004-10-30  José Matos  <jamatos@lyx.org>
2600
2601         * paragraph.C (getFirstWord): remove unused variable.
2602
2603 2004-10-30  José Matos  <jamatos@lyx.org>
2604
2605         * paragraph.C (getFirstWord): the content should always be escaped
2606         there.
2607         (simpleDocBookOnePar):
2608         * output_docbook.C (makeEnvironment): replace reference to CDATA
2609         to style pass_thru.
2610
2611 2004-10-30  José Matos  <jamatos@lyx.org>
2612
2613         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2614
2615 2004-10-30  José Matos  <jamatos@lyx.org>
2616
2617         * output_docbook.C (makeParagraphs):
2618         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2619         standard paragraph has only a given type of content drop the wrapper.
2620
2621 2004-10-29  José Matos  <jamatos@lyx.org>
2622
2623         * output_docbook.C (makeEnvironment):
2624         * sgml.C (openTag):
2625         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2626
2627 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2628
2629         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2630         (cleanID): sanitize any id.
2631
2632 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2633
2634         * buffer.C, lyxlex_pimpl.C:
2635         * lyxlex_pimpl.C (setFile):
2636         s/getExtFromContents/getFormatFromContents/
2637
2638 2004-10-28  José Matos  <jamatos@lyx.org>
2639
2640         * output_docbook.C (makeEnvironment): move id to broadest possible
2641         scope.
2642
2643         * sgml.C (openTag): apply substitution of <> for all attributes.
2644
2645 2004-10-28  José Matos  <jamatos@lyx.org>
2646
2647         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2648         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2649         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2650
2651         * sgml.[Ch]: new version for open and closeTag for paragraph and
2652         for strings. Now they handle the ids of paragraphs.
2653
2654 2004-10-26  Angus Leeming  <leeming@lyx.org>
2655
2656         * Makefile.am: add mover.[Ch].
2657
2658         * converter.C (convert, move): use the new Movers to move external
2659         files to the temp directory.
2660
2661         * lyx_main.C (init): ensure that the global system_movers data
2662         is initialised.
2663
2664         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2665         preferences file.
2666
2667         * mover.[Ch]: new files, defining a Mover as a utility to move an
2668         external file between directories and, if necessary, manipulate this
2669         file using a helper script.
2670
2671 2004-10-25  José Matos  <jamatos@lyx.org>
2672
2673         * output_docbook.C (makeCommand): merge two if's that tested the
2674         same condition.
2675
2676 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2677
2678         * sgml.C (escapeString): fix warning in a better way
2679
2680 2004-10-25  José Matos  <jamatos@lyx.org>
2681
2682         * sgml.C (escapeString): import the require boosts header file for
2683         tie, and avoid a signed unsigned comparison.
2684
2685 2004-10-25  José Matos  <jamatos@lyx.org>
2686
2687         * sgml.h: add #include <string>
2688
2689 2004-10-25  José Matos  <jamatos@lyx.org>
2690
2691         * sgml.[Ch] (escapeString): new function to escape all the string.
2692
2693 2004-10-24  José Matos  <jamatos@lyx.org>
2694
2695         * paragraph.[Ch] (getFirstWord): new function to get the first
2696         word. Useful for description.
2697         (simpleDocBookOnePar): remove depth argument, add another that
2698         says where to start the paragraph.
2699
2700         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2701         use the new functions to fix cleanly the support for descriptions.
2702
2703 2004-10-24  José Matos  <jamatos@lyx.org>
2704
2705         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2706         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2707         * output_linuxdoc.C (linuxdocParagraphs):
2708         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2709         add buffer as argument.
2710
2711 2004-10-24  José Matos  <jamatos@lyx.org>
2712
2713         * output_docbook.C (makeEnvironment, searchEnvironment): place
2714         CDATA inside paragraphs and fix scope for listitems.
2715
2716 2004-10-24  José Matos  <jamatos@lyx.org>
2717
2718         * output_docbook.C: remove using statement for stack.
2719
2720 2004-10-23  José Matos  <jamatos@lyx.org>
2721
2722         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2723         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2724         docbook. The new scheme is recursive and makes use of iterators, the
2725         same as latex export works.
2726         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2727         directly with the paragraph contents. This code was moved up to
2728         output_docbook.C (docbookParagraphs).
2729         * sgml.C (openTag, closeTag): removed unneeded newlines.
2730         (closeEnvTags) removed.
2731
2732 2004-10-23  André Pönitz  <poenitz@gmx.net>
2733
2734         * undo.C (textUndoOrRedo):
2735         * dociterator.C (asDocIterator): work around crash
2736
2737         * cursor.C (getStatus): replace ASSERT by more verbose error message
2738           and manual correction of the problem. Should increase stability
2739           while providing more sensible information.
2740
2741 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2742
2743         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2744
2745         * bufferlist.C (previous, next): new methods
2746
2747         * lfuns.h:
2748         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2749
2750 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2751
2752         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2753         entities to preamble.
2754
2755 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2756
2757         * messages.C (Pimpl): strip off translation context information
2758
2759 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2760
2761         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2762         the cursor is correct (bug 1694)
2763
2764 2004-10-13  José Matos  <jamatos@lyx.org>
2765
2766         * output_docbook.C (docbookParagraphs): fix closing tags in the
2767         end of the document.
2768
2769 2004-10-09  José Matos  <jamatos@lyx.org>
2770
2771         * buffer.C: format up to 237.
2772         * bufferparams.C (write): use tostr to convert booleans to strings.
2773
2774 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2775
2776         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2777
2778 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2779
2780         * LaTeX.C: implement use of babel language in xindy.
2781
2782 2004-10-05  José Matos  <jamatos@lyx.org>
2783
2784         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2785         Add new translators to help reading and writing the lyx file.
2786
2787 2004-10-05  José Matos  <jamatos@lyx.org>
2788
2789         * ParagraphParameters.C (read):
2790         * text.C (readParToken): replace nexToken by more appropriate lex
2791         methods.
2792
2793 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2794
2795         * LaTeX.C (runMakeIndex):
2796         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2797         (usually 'makeindex') configurable.
2798
2799         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2800         with a variable rather than with a number.
2801
2802 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2803
2804         * output_latex.C (TeXOnePar): make sure font setting is the first
2805         thing that gets output (and the last at the end). Should fix bug
2806         1404.
2807
2808 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2809
2810         * pch.h: use proper signal include
2811
2812         * LaTeX.h: Use preferred calling of Boost.Signal
2813         * buffer.h: ditto
2814
2815 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2816
2817         * pch.h: dont include <boost/function/function0.hpp>
2818
2819         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2820
2821         * paragraph_pimpl.h: remove usage of ShareContainer
2822
2823         * paragraph_pimpl.C: remove initialization of ShareContainer.
2824
2825 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2826
2827         Fix bug #1666
2828
2829         * BufferView.C (putSelectionAt): change the semantics when
2830         backwards == true: now, this just swaps cursor and anchor wrt the
2831         forward case
2832
2833         * BufferView.h (putSelectionAt): add some documentation
2834
2835         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2836         make sure backwardChar is done at least once (to avoid getting
2837         stuck)
2838         (findNextChange): use putSelectionAt in the forward direction
2839         (operator()): use Paragraph::isWord
2840
2841 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2842
2843         * Spacing.C (set): c_str fix
2844
2845 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2846
2847         * lyx_cb.C (Reconfigure): quote the name of configure script in
2848         case it contains spaces
2849
2850 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2851
2852         * client: new dir
2853
2854         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2855         (BOOST_LIBS): use top_buildir when looking for the file
2856
2857 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * pch.h: do not use include boost/format.hpp, multiple symbols
2860                 will result (gcc bug)
2861
2862
2863 2004-08-23  José Matos  <jamatos@lyx.org>
2864
2865         * bufferparams.C (readToken): fix reading of the author field.
2866
2867 2004-08-20  José Matos  <jamatos@lyx.org>
2868
2869         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2870
2871 2004-08-20  José Matos  <jamatos@lyx.org>
2872
2873         * lyxlex.[Ch] (findToken): remove function.
2874
2875         * ParagraphParameters.C (findToken):
2876         * bufferparams.C (findToken): replace call for previous function
2877         with local copy. This local function has one more argument, the
2878         read string argument.
2879
2880 2004-08-16  José Matos  <jamatos@lyx.org>
2881
2882         * ParagraphParameters.C (write):
2883         * Spacing.C (writeFile):
2884         * bufferparams.C (writeLaTeX):
2885         * lyx_cb.C (Reconfigure):
2886         * paragraph.C (write):
2887         * tabular.C (write): remove unnecessary space at end of line.
2888
2889
2890 2004-08-16  José Matos  <jamatos@lyx.org>
2891
2892         * text.C (readParagraph): remove debug message.
2893
2894 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2895
2896         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2897         crash
2898
2899         * output_plaintext.C (asciiParagraph): set depth correctly
2900
2901         * outputparams.h: add member depth
2902
2903         * paragraph_funcs.C (ownerPar): remove.
2904
2905         * text2.C (setCounter): remove first_pit; comment out some
2906         non-working code that uses ownerPar
2907
2908         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2909         uses ownerPar
2910
2911 2004-08-16  José Matos  <jamatos@lyx.org>
2912
2913         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2914         For the same level of importance use the same chanel to report problems.
2915         (read): add code to deal with \begin_body and \end_body.
2916
2917
2918 2004-08-15  José Matos  <jamatos@lyx.org>
2919
2920         * lyxlex.C (getString): fix comment, buffer::readBody is now
2921         buffer:readDocument.
2922
2923         * tex-strings.C (string_papersize): Default -> default,
2924         Custom -> custom, for consistency with other options.
2925
2926 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2927
2928         * pch.h: new file
2929
2930         * Makefile.am: support pch
2931
2932 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2933
2934         * text.C (readParToken): remove the static LyXFont variable and
2935         pass it as a parameter instead. This fixes a nasty bug where an
2936         inset will be inserted with a bad font in some situations
2937         (readParagraph): adapt
2938
2939         * text2.C (setCounter): reduce number of calls to pars_[pit]
2940
2941         * text.C (singleWidth): add an assert, fix a test
2942
2943         * rowpainter.C (paintText): reduce number of calls to singleWidth
2944
2945         * paragraph.C (isHfill):
2946         (isNewline): ws only
2947
2948 2004-08-14  André Pönitz  <poenitz@gmx.net>
2949
2950         * text.C:
2951         * text2.C:
2952         * rowpainter.C:
2953         * lyxtext.h (several functions): use a Paragraph & argument
2954         instead of par_type
2955
2956 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2957
2958         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2959
2960         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2961
2962         * text.C (singleWidth): remove useless test
2963
2964 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2965
2966         * tabular.h: remove bogus comments
2967
2968         * tabular.C (getDescentOfRow):
2969         (isPartOfMultiColumn): add assertions
2970
2971         * lyxlength.C (inPixels): remove #warning
2972
2973 2004-08-14  André Pönitz  <poenitz@gmx.net>
2974
2975         * paragraph.h: inline getChar()
2976
2977         * BufferView.h: remove unused declarations
2978
2979 2004-08-14  José Matos  <jamatos@lyx.org>
2980
2981         * Buffer.[Ch] (readDocument): new name for old readBody.
2982         * Buffer.C: new file format, new keywords: \begin_document,
2983         \begin_header, \begin_body, \end_body.
2984
2985         * bufferparams.C (readToken): replace all calls to lex.nextToken
2986         by lex.next(). Do the same to eatLine except where really needed.
2987
2988         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2989         line when writing to the lyx file.
2990
2991         * output_plaintext.C (asciiParagraph): fix Bibliography style
2992         handling.
2993
2994         * text.C (read): fix end of file handling.
2995
2996 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2997
2998         * MenuBackend.C (Menu::operator[]): new method to access
2999         individual menu items
3000         (Menu::hasFunc): new method. search for an item that corresponds
3001         to a given func
3002         (MenuBackend::specialMenu): new method
3003         (MenuBackend::expand): if a special menu has been set, skip
3004         entries whose func() appears in this menu
3005
3006 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3007
3008         * text3.C: use Debug::DEBUG a bit more
3009
3010         * text.C (leftMargin): try to simplify a tiny bit change var x to
3011         l_margin. Dont output the wide margins always.
3012         (rightMargin): no margin in inner texts
3013
3014         * rowpainter.h (nestMargin): new func
3015         (changebarMargin): new func
3016         (rightMargin): new func
3017
3018         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
3019         now functions.
3020         (paintLast): ditto
3021
3022         * factory.C (createInset): modify setDrawFrame
3023
3024         * cursor.C: use Debug::DEBUG a bit more
3025
3026 2004-08-14  André Pönitz  <poenitz@gmx.net>
3027
3028         * coordcache.[Ch]:
3029         * Makefile.am: new files to accomodate an 'external' (x,y)-position
3030         cache for all insets in (at least partially) visible (top-level)
3031         paragraphs.
3032
3033         * BufferView_pimpl.C: reset external coord cache before every update.
3034         This means the coord cache only contains valid entries.
3035
3036 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3037
3038         bug 1096
3039         * BufferView_pimpl.C (getInsetByCode): move function out of class
3040         and change in to a template in anon namespace. Also fix to do what
3041         suits us better.
3042
3043 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
3044
3045         bug 1305
3046         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3047         of char
3048         (breakParagraph): rename par to par_offset and use a local
3049         reference. Add code to keep the language over a rebreak.
3050         (breakParagraphConservative): rename par to par_offset, use a
3051         local reference
3052         (mergeParagraph): ditto
3053         (outerHook): ditto
3054         (isFirstInSequence): ditto
3055         (outerFont): rename pit to par_offset
3056
3057         * paragraph.C: ws change
3058         * paragraph.h: ditto
3059         * text3.C: ditto
3060         * text.C: ditto
3061
3062 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3063
3064         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3065         treatment for ']'
3066
3067         * paragraph.C (simpleTeXOnePar): when we have a \item with
3068         optional argument, enclose the argument with curly brackets (in
3069         case it contains a closing square bracket)
3070
3071         * text2.C (editXY):
3072         * text2.C (editXY):
3073         * text3.C (checkInsetHit): constify
3074
3075 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3076
3077         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3078         documents (bug 1629)
3079
3080 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3081
3082         Fix toggling of collapsable insets with the mouse (bug 1558)
3083
3084         * lyxfunc.C (dispatch): adapt to LCursor changes
3085
3086         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3087         make sure that dispatch is not invoked twice
3088
3089         * cursor.C (needsUpdate): new method
3090         (dispatch): return void
3091         (result): new method, to access the DispatchResult of the cursor.
3092
3093 2004-08-13  José Matos  <jamatos@lyx.org>
3094
3095         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3096
3097 2004-08-13  André Pönitz  <poenitz@gmx.net>
3098
3099         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3100
3101         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3102           multiple cells
3103
3104 2004-08-12  André Pönitz  <poenitz@gmx.net>
3105
3106         * text3.C: take out the 'cursor right' form insertInset and only
3107         do it in those places when it is really needed. Fixes crash on
3108         C-m...
3109
3110 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3111
3112         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3113
3114         * BufferView_pimpl.C (setBuffer): initialize the current font of
3115         the underlying LyXText
3116
3117 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3118
3119         * kbsequence.C (print): use UI native formatting for menu
3120         shortcuts
3121
3122         * text.C (insertChar): call Paragraph::insertChar with a font
3123         argument (cosmetic)
3124
3125         * paragraph.C (insertInset, insertChar): the version that takes a
3126         LyXFont argument is now a wrapper around the other one (the
3127         opposite used to be true).
3128
3129         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3130         argument. Font setting is done in Paragraph now.
3131
3132 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3133
3134         * outputparams.h: add new members intitle and lang.
3135
3136         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3137         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3138
3139 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3140
3141         * text3.C (dispatch): remove special handling of button 4 and 5,
3142         it is now taken care of in the frontend code.
3143
3144 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3145
3146         * Spacing.h: add <string> (STLPort compile fix)
3147
3148 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3149
3150         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3151
3152 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3153
3154         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3155         to bool.
3156
3157         * converter.C (showMessage): inherit from unary_function, make
3158         operator() const.
3159
3160         * buffer.C (writeFile): initialize retval
3161
3162         * InsetList.h: rename private variable list to list_
3163         * InsetList.[Ch]: adjust accordingly.
3164
3165 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3166
3167         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3168         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3169         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3170         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3171         * ParagraphParameters.C, LaTeXFeatures.C: replace
3172         "support/std_sstream.h" with <sstream>
3173
3174 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3175
3176         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3177         * lyxsocket.C (LyXServerSocket): ditto
3178         (serverCallback): ditto
3179
3180 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3181
3182         * LaTeXFeatures.C: check release date when loading jurabib.
3183
3184 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3185
3186         * lyxserver.C (startPipe): call register_socket_callback
3187         (endPipe): call unregister_socket_callback
3188
3189 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3190
3191         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3192         (LyXServerSocket): register the callback
3193         (LyXServerSocket): unregister the callback
3194         (fd): delete function
3195         (serverCallback): improve error checking and setup the callbacks.
3196         (dataCallback): change arg to fd.
3197         (writeln): new func (copied fro the client socket) used for server
3198         write to client.
3199         (LyXDataSocket): simplify
3200         (~LyXDataSocket): close ann unregiser callback
3201         (server): delete function
3202         (fd): delete function
3203         (readln): small changes, improve some std::string usage
3204         (writeln): constify a bit
3205
3206 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3207
3208         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3209         Qt frontend
3210
3211 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3212
3213         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3214         after it has been populated
3215
3216 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3217
3218         * text2.C (insertInset): move cursor when inserting inset.
3219
3220 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3221
3222         * kbmap.C (findbindings): a couple of new methods. returns a
3223         container of kb_sequence objects. The real work is done by the
3224         private recursive version
3225         (printbindings): uses findbindings to print out a bracketed list
3226         of bindings (renamed from findbinding).
3227
3228         * MenuBackend.C (binding): use kb_keymap::findbindings
3229
3230         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3231
3232 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3233
3234         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3235
3236 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3237
3238         * paragraph.C (isWord): return true on insets that report
3239         isLetter().
3240
3241         * text.C (getWord): use Paragraph::isWord to decide what is in a
3242         word and what is not; fix bug 1609.
3243
3244 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3245
3246         * tex-strings.C: add "none" to string_paperpackages[], fixes
3247         off-by-one-error in the paperpackage selection.
3248
3249         * lyxlex.[Ch]:
3250         * tex-strings.[Ch]: char const * string[n]
3251         -> char const * const string[]
3252
3253 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3254
3255         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3256         command, return early.
3257
3258 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3259
3260         * debug.h: add DEBUG to enum and fix size of ANY.
3261
3262         * debug.C: add support for Debug::DEBUG
3263         (showTags): cast errorTags.level to unsigned int
3264
3265         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3266         (redoCurrentBuffer): ditto
3267         (updateScrollbar): ditto
3268         * cursor.C (dispatch): ditto
3269         * text2.C (setLayout): ditto
3270         (setFont): ditto
3271         (updateCounters): ditto
3272         (editXY): ditto
3273         (deleteEmptyParagraphMechanism): ditto
3274
3275 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3276
3277         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3278         annotations to cleanup the Makefile slightly.
3279
3280 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3281
3282         * lyxrc.C: do not set user_email to a default value but use empty
3283         instead. The entry used to be translated, which does not work
3284         since at the point where lyxrc is constructed there is no
3285         translation service available
3286
3287         * messages.C (getLocaleDir): remove and use directly
3288         lyx_localedir() instead
3289
3290 2004-06-02  Angus Leeming  <leeming@lyx.org>
3291
3292         Fix crash caused by dereferencing null pointer 'exportdata' in
3293         OutputParams by creating a new ExportData variable on the heap,
3294         storing it in a boost::shared_ptr.
3295         The crash was triggered when generating an Instant Preview
3296         of an external inset.
3297
3298         * Makefile.am: add outputparams.C
3299
3300         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3301         (c-tor): allocate memory to it.
3302
3303         * exporter.C (c-tor): associated changes.
3304
3305 2004-06-01  Angus Leeming  <leeming@lyx.org>
3306
3307         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3308         contains data before calling isInset(0). (Bug 1513.)
3309
3310 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3311
3312         * exporter.C (checkOverwrite): new method
3313         * exporter.C (copyFile): new method
3314         * exporter.C (Export): copy referenced files to the document dir
3315         * exporter.[Ch]: new class ExportedFile
3316         * exporter.[Ch]: new class ExportData. Contains currently the
3317         names of referenced external files
3318         * outputparams.h: add exportdata member.
3319
3320 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3321
3322         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3323         version.C-tmp
3324
3325 2004-05-19  Angus Leeming  <leeming@lyx.org>
3326
3327         * LaTeXFeatures.C:
3328         * ToolbarBackend.C:
3329         * bufferparams.C:
3330         * lyxfunc.C: small changes due to the introduction of namespace
3331         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3332
3333 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3334
3335         * text3.C (dispatch): supress update when only moving the cursor
3336         * cursor.C (selHandle): remove commented code
3337
3338 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3339
3340         * paragraph.C (startTeXParParams): correct column count
3341         * CutAndPaste.C (pasteSelection): remove const_cast
3342         * output_docbook.C (docbookParagraphs): remove const_cast
3343         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3344         const_cast and return ParagraphList::const_iterator
3345         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3346         * output_plaintext.C (writeFileAscii): remove const_cast
3347         * paragraph.[Ch] (simpleTeXOnePar): make const
3348         * paragraph_funcs.C (outerPar): use const iterators
3349         * paragraph_pimpl.C (validate): use const iterators
3350         * text.C (setHeightOfRow): use const iterators
3351
3352 2004-05-17  Angus Leeming  <leeming@lyx.org>
3353
3354         * lfuns.h:
3355         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3356
3357         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3358         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3359         if the citation engine has changed.
3360
3361 2004-05-14  José Matos  <jamatos@lyx.org>
3362
3363         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3364         if the textclass does not provide it. Have it different for sgml and
3365         xml.
3366         support the language of document.
3367         * output_docbook.C (docbookParagraphs):
3368         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3369         first anchor as the id of the paragraph, remove special case code.
3370         * sgml.C (escapeChar): escape only < & >.
3371
3372 2004-05-14  Angus Leeming  <leeming@lyx.org>
3373
3374         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3375         dependencies on src/frontends/controllers/biblio.h. Define a
3376         CiteEngine_enum wrapper class to enable the enum to be forward
3377         declared.
3378
3379 2004-05-12  Angus Leeming  <leeming@lyx.org>
3380
3381         * buffer.C: up LYX_FORMAT to 234.
3382         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3383         use_numerical_citations with a single biblio::CiteEngine cite_engine
3384         variable.
3385         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3386
3387 2004-05-13  José Matos  <jamatos@lyx.org>
3388
3389         * converter.h:
3390         * converter.C (Converter, readFlags): add xml member.
3391         * outputparams.h: add XML flavor.
3392         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3393
3394 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3395
3396         * lyxfunc.C (dispatch):
3397         (getStatus): fix handling of LFUN_SEQUENCE
3398
3399 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3400
3401         * debug.C (showLevel): do not forget the end-of-line marker
3402
3403 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3404
3405         * kbmap.C (read): do not stop parsing a bind file when an error
3406         occurs (bug 1575)
3407
3408 2004-04-29  Angus Leeming  <leeming@lyx.org>
3409
3410         * cursor.C:
3411         * factory.C:
3412         * pariterator.C:
3413         * text2.C: wrap a bunch of #warning statements
3414         inside #ifdef WITH_WARNINGS blocks.
3415
3416 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3417
3418         * buffer.C: increment format to 233.
3419
3420 2004-04-28  Angus Leeming  <leeming@lyx.org>
3421
3422         * BufferView_pimpl.C:
3423         * lyxfunc.C:
3424         * text3.C:
3425         s/updateToolbar()/updateToolbars()/
3426         s/Toolbar.h/Toolbars.h/
3427
3428 2004-04-28  Angus Leeming  <leeming@lyx.org>
3429
3430         * BufferView.[Ch] (c-tor):
3431         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3432         No longer passes these data to the WorkArea generator.
3433
3434 2004-04-28  Angus Leeming  <leeming@lyx.org>
3435
3436         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3437
3438 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3439
3440         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3441
3442 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3443
3444         * output_latex.C (TeXEnvironment): make sure that there is a line
3445         break before \end{foo} for the last paragraph of a document
3446         (TeXOnePar): if the paragraph is at the end of the document (or
3447         inset) and the language has to be reset, then make sure that the
3448         line break is _before_ the language command, not after (fixes bug
3449         1225); also make sure that the language reset command is the first
3450         thing after the paragraph (to ensure proper nesting of
3451         environments and thus fix bug 1404)
3452
3453 2004-04-21  John Levon  <levon@movementarian.org>
3454
3455         * ToolbarBackend.h:
3456         * ToolbarBackend.C: make "name" be a programmatic name
3457         and a gui_name field.
3458
3459         * lyxfunc.C: display the minibuffer on M-x
3460
3461 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3462
3463         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3464         (bug 1526)
3465
3466 2004-04-19  Angus Leeming  <leeming@lyx.org>
3467
3468         * BufferView_pimpl.C (setBuffer): changed preview interface.
3469
3470         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3471         possible values.
3472
3473 2004-04-19  John Levon  <levon@movementarian.org>
3474
3475         * BufferView_pimpl.C:
3476         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3477
3478 2004-04-05  Angus Leeming  <leeming@lyx.org>
3479
3480         * text.C (redoParagraphs): add call to updateCounters(), thereby
3481         fixing the missing "Figure #:" label from the caption of a
3482         figure float.
3483
3484 2004-04-13  Angus Leeming  <leeming@lyx.org>
3485
3486         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3487         cursor is clicked out of an inset.
3488
3489 2004-04-13  Angus Leeming  <leeming@lyx.org>
3490
3491         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3492         than an InsetOld one.
3493
3494 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3495
3496         * format.[Ch]: add editor to Format
3497         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3498         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3499
3500 2004-04-08  André Pönitz  <poenitz@gmx.net>
3501
3502         * metricsinfo.h: remove PainterInfo::width member
3503
3504 2004-04-08  Angus Leeming  <leeming@lyx.org>
3505
3506         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3507         "\providecommand" rather than "\newcommand", thereby preventing
3508         clashes with packages that define "\boldsymbol" themselves.
3509         Eg, beamer.
3510
3511 2004-04-08  Angus Leeming  <leeming@lyx.org>
3512
3513         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3514         thereby squashing an unnecessary warning.
3515
3516 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3517
3518         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3519         setBuffer()
3520
3521 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3522
3523         * BufferView.C (setCursor): call redoParagraph (some insets could
3524         have been opened)
3525         (putSelectionAt): remove the 'double update' trick
3526
3527         * BufferView_pimpl.C (fitCursor): call refreshPar
3528         (workAreaDispatch): remove an uneeded update call
3529         (dispatch): remove some manual update calls
3530
3531         * cursor.[Ch]: remove cached_y_, updatePos
3532         (selHandle): set noUpdate when appropriate
3533
3534         * lyxfunc.C (dispatch): track if we need an update
3535
3536         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3537
3538         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3539         (paintSelection): cheap optimization, do not call cursorX when not
3540         needed
3541         (paintPars): change signature
3542         (refreshPar): add
3543         (paintText): adjust
3544         (paintTextInset): adjust
3545
3546         * text.C: adjust
3547
3548 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3549
3550         * lengthcommon.C: compilation fix: remove explicit array size from
3551         unit_name[] and friends
3552
3553 2004-04-05  Angus Leeming  <leeming@lyx.org>
3554
3555         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3556
3557         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3558         present only for the preferences dialog.
3559         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3560
3561 2004-04-05  Angus Leeming  <leeming@lyx.org>
3562
3563         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3564         to enable the frontends to export changes to lyxrc correctly.
3565
3566         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3567
3568 2004-04-07  André Pönitz  <poenitz@gmx.net>
3569
3570         * cursor.[Ch] (selClear, adjust): remove math
3571
3572         * cursor_slice.C: more agressive assert
3573
3574         * lyxfunc.C:
3575         * BufferView_pimpl.C: rework mouse event dispatch
3576
3577         * dociterator.C:
3578         * paragraph.C:
3579         * text2.C:
3580         * text3.C: adjust
3581
3582 2004-04-05  André Pönitz  <poenitz@gmx.net>
3583
3584         * cursor.[Ch] (valign, halign...): remove unneeded functions
3585
3586 2004-04-05  Angus Leeming  <leeming@lyx.org>
3587
3588         * lyxlength.[Ch] (unit_name et al.): const-correct.
3589
3590 2004-04-05  Angus Leeming  <leeming@lyx.org>
3591
3592         * BufferView_pimpl.C:
3593         * buffer.C:
3594         * counters.C:
3595         * cursor.C:
3596         * lyxfunc.C
3597         * paragraph.C:
3598         * pariterator.C:
3599         * text.C:
3600         * text2.C:
3601         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3602
3603 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3604
3605         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3606
3607 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3608
3609         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3610         * BufferView_pimpl.[Ch] (getStatus)
3611         * BufferView.[Ch] (getStatus): add
3612         * lyxfunc.C (getStatus): move lfuns handled in
3613         BufferView::dispatch to te function above
3614         * Cursor.C (setSelection): set selection() = true
3615
3616 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3617
3618         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3619
3620 2004-03-31  Angus Leeming  <leeming@lyx.org>
3621
3622         * lyxfunc.C (dispatch): Fall through to the generic
3623         Dialogs::show("preamble").
3624
3625 2004-03-31  Angus Leeming  <leeming@lyx.org>
3626
3627         * lyxfunc.C (dispatch): Fall through to the generic
3628         Dialogs::show("spellchecker").
3629
3630 2004-03-31  Angus Leeming  <leeming@lyx.org>
3631
3632         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3633         preferences dialog.
3634
3635 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3636
3637         * BufferView.C
3638         * cursor.[Ch]
3639         * dociterator.[Ch]:
3640         * insetiterator.[Ch]:
3641         * lyxfind.C:
3642         * lyxfunc.C:
3643         * pariterator.[Ch]:
3644         * text2.C:
3645         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3646
3647 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3648
3649         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3650         insets where we are putting the cursor.
3651
3652 2004-03-31  Angus Leeming  <leeming@lyx.org>
3653
3654         * lfuns.h:
3655         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3656
3657         * lyxrc.[Ch] (read, write): overloaded member functions taking
3658         a std::[io]stream arguments.
3659
3660         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3661
3662 2004-03-31  Angus Leeming  <leeming@lyx.org>
3663
3664         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3665         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3666
3667         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3668         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3669
3670 2004-03-31  Angus Leeming  <leeming@lyx.org>
3671
3672         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3673         the LFUN_ALL_INSETS_TOGGLE code.
3674
3675 2004-03-30  Angus Leeming  <leeming@lyx.org>
3676
3677         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3678         has died. Fall through to the generic Dialogs::show("document").
3679
3680 2004-03-30  Angus Leeming  <leeming@lyx.org>
3681
3682         * lfuns.h:
3683         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3684         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3685
3686         * lyxfunc.C (getStatus, dispatch): define the actions for these
3687         lfuns. Little more than a cut and pste job from ControlDocument.C
3688
3689         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3690
3691 2004-03-30  Angus Leeming  <leeming@lyx.org>
3692
3693         * lfuns.h:
3694         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3695         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3696
3697         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3698         open/closed state of ollapsable insets. Usage:
3699
3700         all-inset-toggle <state> <name>, where
3701         <state> == "open" || "closed" || "toggle" and
3702         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3703
3704         * lyxtext.h, text2.C (toggleInset): removed.
3705
3706         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3707         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3708         now passes LFUN_INSET_TOGGLE to the found inset.
3709
3710         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3711         is now invoked as "all-insets-toggle toggle branch".
3712
3713 2004-03-30  Angus Leeming  <leeming@lyx.org>
3714
3715         * dociterator.C:
3716         * insetiterator.C:
3717         * pariterator.[Ch]: added/corrected header blurb.
3718
3719 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3720
3721         * dociterator.[Ch]: add an inset_ member
3722         (backwardPos): implemented
3723         (backwardPos, forwardPos): use inset_ when the stack is empty.
3724         (doc_iterator_begin, doc_iterator_end): implemented
3725         * pariterator.[Ch]: adjust, add begin, end
3726         * insetiterator.[Ch]: adjust, add begin, end
3727         * cursor.C:
3728         * document.C:
3729         * BufferView.C:
3730         * BufferView_pimpl.C:
3731         * CutAndPaste.C: adjust
3732
3733 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3734
3735         * buffer.C: increment file format to 232.
3736         * LaTeXFeatures.C: add bibtopic package.
3737         * bufferparams.[Ch]: param \use_bibtopic.
3738
3739         * lyxrc.[Ch]: add lyxrc bibtex_command
3740         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3741
3742         * buffer.C: increment file format to 231.
3743
3744 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3745
3746         * dociterator.C: implement forwardPar
3747         * iterators.[Ch]: remove, replaced by
3748         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3749         * BufferView.C:
3750         * BufferView_pimpl.C:
3751         * CutAndPaste.C:
3752         * buffer.C:
3753         * bufferview_funcs.C:
3754         * cursor.C:
3755         * lyxfind.C
3756         * lyxfunc.C
3757         * paragraph_funcs.C
3758         * toc.C:
3759         * Makefile.am: adjust
3760
3761 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3762
3763         * CutAndPaste.C (pasteSelection): fix 2 crashes
3764         (eraseSelection): fix a crash
3765         * paragraph_funcs.C: remove a warning
3766
3767 2004-03-28  Angus Leeming  <leeming@lyx.org>
3768
3769         * lfuns.h:
3770         * LyXAction.C (init): new LFUN_PRINT.
3771
3772         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3773
3774 2004-03-27  Angus Leeming  <leeming@lyx.org>
3775
3776         * lfuns.h:
3777         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3778
3779         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3780
3781 2004-03-27  Angus Leeming  <leeming@lyx.org>
3782
3783         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3784         insetlist always contains non-null pointers to insets.
3785
3786 2004-03-26  Angus Leeming  <leeming@lyx.org>
3787
3788         * src/BufferView_pimpl.C:
3789         * src/CutAndPaste.C:
3790         * src/buffer.C:
3791         * src/iterators.C:
3792         * src/output_plaintext.C:
3793         * src/outputparams.h:
3794         * src/paragraph_funcs.C:
3795         * src/rowpainter.C:
3796         * src/text.C:
3797         * src/text2.C:
3798         * src/frontends/controllers/ControlErrorList.C:
3799         * src/frontends/gtk/FileDialogPrivate.C:
3800         * src/frontends/gtk/GPainter.C:
3801         * src/frontends/gtk/GToolbar.C:
3802         * src/frontends/qt2/QRef.C:
3803         * src/mathed/math_scriptinset.C: squash compiler warnings.
3804
3805 2004-03-26  Angus Leeming  <leeming@lyx.org>
3806
3807         * ispell.C (LaunchIspell::start):
3808         * lyx_cb.C (AutoSaveBuffer::start):
3809         invoke run(DontWait) rather than runNonBlocking().
3810
3811 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3812
3813         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3814
3815 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3816
3817         * kbsequence.C (print): adjust
3818
3819         * kbmap.C (printKeySym): rename and change signature
3820         (printKey): use LyXKeySym::print()
3821
3822 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3823
3824         * undo.C: add using std::advance to compile for stlport
3825
3826 2004-03-24  Angus Leeming  <leeming@lyx.org>
3827
3828         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3829         it leads to a crash when no buffer is present.
3830
3831 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3832             Martin Vermeer  <martin.vermeer@hut.fi>
3833
3834         * lyxfunc.C (dispatch):
3835         * bufferparams.C (readToken): use the new LColor::setColor
3836
3837         * LColor.[Ch] (setColor): new version that takes two strings as
3838         argument and creates a new color entry if necessary
3839
3840 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3841
3842         * buffer.C (makeLaTeXFile): if the main latex file that is
3843         processed is usually a subdocument of some master, then pretend
3844         for a while that it is actually the master
3845
3846 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3847
3848         * buffer.C (getLabelList):
3849         (getBibkeyList): use getMasterBuffer()
3850         (getMasterBuffer): new method. Returns the main document in the
3851         case where one is using included documents.
3852
3853 2004-03-25  André Pönitz  <poenitz@gmx.net>
3854
3855         * Makefile.am:
3856         * iterators.[Ch]:
3857         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3858
3859         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3860
3861         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3862         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3863
3864         * ParameterStruct.h: merge with ParagraphParameters
3865
3866         * lyxtext.h: remove LyXText::parOffset() and getPar()
3867
3868         * text3.C: Remove all 'manual' update calls. We do now one per user
3869         interaction which is completely sufficient.
3870
3871         * Bidi.C:
3872         * BufferView.[Ch]:
3873         * BufferView_pimpl.C:
3874         * FontIterator.[Ch]:
3875         * MenuBackend.C:
3876         * ParagraphParameters.[Ch]:
3877         * buffer.C:
3878         * buffer.h:
3879         * bufferlist.C:
3880         * cursor.[Ch]:
3881         * cursor_slice.[Ch]:
3882         * dociterator.[Ch]:
3883         * errorlist.[Ch]:
3884         * factory.C:
3885         * lfuns.h:
3886         * lyxfind.C:
3887         * lyxfunc.C:
3888         * output_docbook.[Ch]:
3889         * output_latex.[Ch]:
3890         * output_linuxdoc.[Ch]:
3891         * output_plaintext.[Ch]:
3892         * paragraph.[Ch]:
3893         * paragraph_funcs.[Ch]:
3894         * paragraph_pimpl.[Ch]:
3895         * rowpainter.C:
3896         * tabular.[Ch]:
3897         * text.C:
3898         * text2.C:
3899         * toc.C:
3900         * undo.[Ch]: adjust
3901
3902         * frontends/controllers/ControlDocument.C:
3903         * frontends/controllers/ControlErrorList.C:
3904         * frontends/controllers/ControlSpellchecker.C:
3905         * insets/inset.C:
3906         * insets/inset.h:
3907         * insets/insetbase.h:
3908         * insets/insetbibitem.C:
3909         * insets/insetbox.C:
3910         * insets/insetbranch.C:
3911         * insets/insetcaption.C:
3912         * insets/insetcharstyle.C:
3913         * insets/insetcharstyle.h:
3914         * insets/insetcollapsable.C:
3915         * insets/insetcollapsable.h:
3916         * insets/insetert.C:
3917         * insets/insetfloat.C:
3918         * insets/insetfoot.C:
3919         * insets/insetmarginal.C:
3920         * insets/insetnote.C:
3921         * insets/insetoptarg.C:
3922         * insets/insettabular.C:
3923         * insets/insettext.C:
3924         * insets/insettext.h:
3925         * insets/insetwrap.C:
3926         * mathed/math_mboxinset.C:
3927         * mathed/math_nestinset.C:
3928         * mathed/math_scriptinset.C:
3929         * mathed/math_scriptinset.h:
3930         * support/types.h:
3931
3932 2004-03-24  Angus Leeming  <leeming@lyx.org>
3933
3934         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3935         deal with any child processes that have finished but are waiting to
3936         communicate this fact to the rest of LyX.
3937
3938 2004-03-24  Angus Leeming  <leeming@lyx.org>
3939
3940         64-bit compile fixes.
3941
3942         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3943         (c-tor): pass lyx::pos_types rather than ints.
3944
3945         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3946         lyx::pos_type.
3947
3948         * text.C (Delete): compile fix.
3949         (getPar): ensure that function declaration is the same as that in
3950         the header file.
3951
3952 2004-03-23  Angus Leeming  <leeming@lyx.org>
3953
3954         * ispell.C (LaunchIspell):
3955         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3956         a boost::shred_ptr rather than a std::auto_ptr.
3957
3958 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3959
3960         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3961         handle LFUN_FILE_INSERT_*
3962
3963         * lyxrc.C (setDefaults, getDescription, output, read):
3964         * lyxrc.h: remove ps_command
3965
3966 2004-03-22  Angus Leeming  <leeming@lyx.org>
3967
3968         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3969         Ensure that error_handler is processed once only and that all data
3970         is saved before attempting to output any warning messages.
3971
3972         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3973
3974 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3975
3976         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3977
3978 2004-03-19  André Pönitz  <poenitz@gmx.net>
3979
3980         * cursor.[Ch] (reset): take main text inset as argument
3981
3982         * BufferView: adjust
3983         * BufferView_pimpl.C: adjust
3984
3985         * paragraph.[Ch]: fix completely broken operator=()
3986
3987 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3988
3989         * LColor.C (getFromLyXName): make sure that the color name is used
3990         as lowercase.
3991
3992 2004-03-17  Angus Leeming  <leeming@lyx.org>
3993
3994         * lfuns.h:
3995         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3996
3997         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3998         dialog and to kill a forked process.
3999
4000 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
4001
4002         * text2.C (setCursorFromCoordinates): fix font problem
4003
4004 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
4005
4006         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
4007         bogus "rebuild cursor" code
4008
4009 2004-03-11  André Pönitz  <poenitz@gmx.net>
4010
4011         * buffer.[Ch]: use InsetText instead of LyXText as container for
4012         the main lyx text.
4013
4014         * dociterator.[Ch]: drop the BufferView * member which is not needed
4015         anymore after the change to buffer.C
4016
4017         * paragraph_funcs.C:
4018         * text.C:
4019         * text2.C:
4020         * BufferView.[Ch]:
4021         * BufferView_pimpl.[Ch]:
4022         * cursor.[Ch]:
4023         * cursor_slice.[Ch]: adjust
4024
4025         * text3.C: fix bug in mathDispatch
4026
4027 2004-03-08  André Pönitz  <poenitz@gmx.net>
4028
4029         * undo.[Ch]: use 'StableDocumentIterator' as base for
4030         the Undo struct.
4031
4032 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4033
4034         * LaTeXFeatures.C:
4035         * bufferparams.[Ch]: add jurabib support and param.
4036
4037         * LaTeX.C: add FIXME/comment.
4038
4039 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4040
4041         * buffer.C: increment file format to 230.
4042
4043 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
4044
4045         * cursor.C (dispatch): avoid infinite loops
4046
4047 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4048
4049         * rowpainter.C (paintSelection): fix x coordinates
4050
4051 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4052
4053         * text.C (rowBreakPoint): fix breaking before displayed insets
4054
4055 2004-03-01  André Pönitz  <poenitz@gmx.net>
4056
4057         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4058
4059         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4060
4061         * Makefile.am:
4062         * BufferView.C:
4063         * BufferView_pimpl.C:
4064         * buffer.C:
4065         * lyxfind.C:
4066         * lyxfunc.C:
4067         * text.C:
4068         * text2.C:
4069         * text3.C: adjust
4070
4071 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4072
4073         * lyxtext.h:
4074         * text.C:
4075         * text2.C:
4076         * rowpainter.C:
4077         * BufferView_pimpl.C: rename textwidth -> maxwidth,
4078         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4079
4080 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4081
4082         * Bidi.[Ch] (computeTables): const correctness
4083         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4084         fill_hfill, fill_label_hfill and x from Row
4085         * lyxtext.h: prepareToPrint returns a RowMetrics
4086         * rowPainter.C: adjust
4087         * text.C (prepareToPrint): use width, not textWidth. adjust
4088         (redoParagraphInternal, cursorX): adjust
4089         * text2.C (getColumnNearX): adjust
4090         (init): put a default value to the top LyXText::width
4091
4092 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4093
4094         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4095
4096 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4097
4098         * lyxtext.h: add FontIterator class
4099
4100         * text.C (FontIterator, operator*, operator->, operator++): add
4101         (rowBreakPoint, setRowWidth): adjust (fixing a
4102         rebreaking bug)
4103
4104 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4105
4106         * BufferView_pimpl.C (workAreaDispatch): allow also
4107         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4108
4109 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4110
4111         * text.C (rowBreakPoint): fix a bug showing with very large insets
4112
4113 2004-02-25  André Pönitz  <poenitz@gmx.net>
4114
4115         * text3.C:
4116         * cursor.[Ch]: move some mathed specific code to mathed
4117
4118 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4119
4120         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4121         use_tempdir in preferences
4122         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4123         tempfile creation
4124         * lyx_main.C: ensure that tempdir is valid
4125         * lyxlex.h: correct typo
4126         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4127         * paragraph.[Ch] (isMultiLingual): make const
4128         * cursor.[Ch] (openable): make const
4129
4130 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4131
4132         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4133
4134 2004-02-20  André Pönitz  <poenitz@gmx.net>
4135
4136         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4137
4138         * cursor.[Ch]: prepare for localized getStatus()
4139
4140         * lyxtext.h:
4141         * tabular.C:
4142         * text.C:
4143         * text2.C:
4144         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4145
4146 2004-02-20  André Pönitz  <poenitz@gmx.net>
4147
4148         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4149
4150 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4151
4152         * text2.C (setCursorFromCoordinates): switch to absolute coords
4153         (cursorUp): adjust
4154         (cursorDown): adjust
4155         * text3.C (dispatch): adjust
4156
4157 2004-02-16  André Pönitz  <poenitz@gmx.net>
4158
4159         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4160           insets/ChangeLog)
4161
4162         * cursor_slice.[Ch]: remove unneeded acessor function
4163
4164         * lyxtext.h: rename rtl() to isRTL()
4165
4166         * rowpainter.C:
4167         * tabular.C:
4168         * text.C:
4169         * text2.C:
4170         * text3.C: adjust
4171
4172 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4173
4174         * rowpainter.C (paintSelection): coord fix
4175
4176 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4177
4178         * Spacing.C: compile fix
4179
4180 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4181
4182         * cursor.C (dispatch): restore current_ before returning
4183
4184 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4185
4186         * text2.C (cursorUp, cursorDown): fix coords
4187         (moveUp): fix crash
4188
4189 2004-02-12  André Pönitz  <poenitz@gmx.net>
4190
4191         * lyxtext.h:
4192         * text.C:
4193         * text2.C:
4194         * text3.C: add LCursor & parameter to most cursor movement functions
4195           remove usage of LyXText::cursorRow() and cursorPar()
4196
4197         * cursor.[Ch]: add textRow() needed members
4198
4199         * BufferView.C:
4200         * BufferView_pimpl.C:
4201         * paragraph.[Ch]:
4202         * BufferView.C:
4203         * BufferView_pimpl.C: adjust
4204
4205 2004-02-11  André Pönitz  <poenitz@gmx.net>
4206
4207         * lyxfunc.C:
4208         * BufferView.[Ch]:
4209         * BufferView_pimpl.C: shift undo/redo handling
4210
4211         * cursor.[Ch]: fix mathed crash
4212
4213         * lyxfind.C:
4214         * lyxtext.h: move selectionAsText to LCursor
4215
4216         * output_latex.C:
4217         * paragraph.C:
4218         * text.C:
4219         * text2.C:
4220         * text3.C: adjust
4221
4222         * rowpainter.C: fix excessive drawing
4223
4224 2004-02-06  André Pönitz  <poenitz@gmx.net>
4225
4226         * BufferView.[Ch]:
4227         * BufferView_pimpl.[Ch]:
4228         * text3.C: move some text specific LFUN handling
4229
4230 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4231
4232         * text3.C (checkInsetHit): adjust coords
4233         * text2.C (getColumnNearX): adjust coords
4234         (edit): adjust coords
4235         * text.C (getRowNearY): add two asserts
4236
4237 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4238
4239         * converter.C:
4240         * format.C: add using std::distance to compile on gcc 2.95/stlport
4241
4242 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4243
4244         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4245
4246 2004-02-04  André Pönitz  <poenitz@gmx.net>
4247
4248         * BufferView.[Ch] (insertInset):
4249         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4250
4251         * text2.C:
4252         * text3.C: adjust
4253
4254 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4255
4256         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4257         on the default clause of the switch
4258         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4259         wasn't catched by LCursor::dispatch
4260
4261 2004-02-03  André Pönitz  <poenitz@gmx.net>
4262
4263         * BufferView.C:
4264         * cursor.[Ch]: some additional asserts
4265
4266         * undo.[Ch]: remove LyXText dependency in interface
4267
4268         * lyxfunc.C: adjust
4269
4270         * lyxtext.h (firstPar, lastPar): remove dead functions
4271
4272         * text.C:
4273         * text2.C:
4274         * text3.C:
4275         * paragraph.[Ch]: adjust
4276
4277 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4278
4279         * lyxfind.C (find): fix argument order in call to ::find
4280
4281 2004-02-02  André Pönitz  <poenitz@gmx.net>
4282
4283         * cursor.[Ch]: remove direct access to anchor
4284
4285         * text.C: remove findText() hack
4286
4287 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4288
4289         * iterators.[Ch] (lockPath): remove in favour of...
4290         * BufferView.[Ch] (setCursor): this addition
4291         * BufferView.C (putSelectionAt): adjust
4292         * undo.C (performUndoOrRedo): adjust
4293         * lyxfunc.C (dispatch): adjust
4294
4295 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4296
4297         * iterators.C (lockPath): add a missing slice
4298         * undo.C (performUndoOrRedo): remove redundant positioning code
4299
4300 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4301
4302         * vc-backend.C (scanMaster): ";" -> ';'
4303
4304 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4305
4306         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4307         std::binary_function
4308
4309         * lyxtextclass.C (compare_name): rename to...
4310         (LayoutNamesEqual): ...this
4311
4312         * lyxlex_pimpl.C (compare_tags): inherit from
4313         std::binary_function, put back into anon namespace
4314
4315         * lyxfind.C (MatchString): inherig from std::binary_function
4316         (findChange): use empty() istead of !size()
4317
4318         * format.C (FormatNamesEqual): new functor
4319         (getFormat): use it
4320         (getNumber): use it
4321         (add): use it
4322         (erase): use it
4323         (setViewer): use it
4324
4325         * converter.C (compare_Converter): rename to...
4326         (ConverterEqual): ...this, and fixup a bit.
4327         (getConverter): use it, and make function const
4328         (getNumber): use it, and make function const
4329         (add): use it
4330         (erase): use it:
4331
4332         * bufferlist.C: add using boost::bind
4333
4334         * MenuBackend.C (MenuNamesEqual): new functor
4335         (hasMenu): use it, and make function const
4336         (hasSubmenu): use nested bind to get rid of compare_memfun.
4337
4338 2004-01-30  André Pönitz  <poenitz@gmx.net>
4339
4340         * BufferView_pimpl.C:
4341         * cursor.C:
4342         * cursor.h:
4343         * cursor_slice.[Ch]:
4344         * lyxfunc.C:
4345         * lyxtext.h:
4346         * paragraph_funcs.C:
4347         * paragraph_funcs.h:
4348         * rowpainter.C:
4349         * text.C:
4350         * text2.C:
4351         * text3.C: move some of the edit(x,y) handling to the insets
4352         some coordinate changes.
4353
4354 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4355
4356         * text.C: add using statements for std::advance and std::distance
4357
4358         * paragraph.C: add using statement for std::distance
4359
4360         * lyxfind.C: add using statement for std::advance
4361
4362         * cursor.C (region): remove std:: from swap
4363         (openable): use nucleus in stead of operator->
4364
4365         * BufferView.C: add using statements for std::distance and std::swap
4366
4367 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4368
4369         * iterators.C: Remove the pimple, move the needed structures to
4370         the header file. Create accessor for the positions stack.
4371         (asPosIterator): remove function
4372
4373         * PosIterator.C (PosIterator): move constructors to top of file
4374         (PosIterator): reimplement the constructor taking a ParIterator in
4375         terms of setFrom.
4376         (setFrom): new function
4377         (operator!=): inline it
4378
4379 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4380
4381         * lyxfind.C (replaceAll): use std::advance
4382
4383         * iterators.h: inherit from std::iterator.
4384
4385         * PosIterator.C (advance, distance): remove
4386         * PosIterator.h: interit from std::iterator.
4387
4388 2004-01-26  André Pönitz  <poenitz@gmx.net>
4389
4390         * BufferView.[Ch]:
4391         * BufferView_pimpl.[Ch]:
4392         * InsetList.[Ch]:
4393         * PosIterator.[Ch]:
4394         * buffer.h:
4395         * bufferview_funcs.C:
4396         * cursor.[Ch]:
4397         * cursor_slice.h:
4398         * factory.[Ch]:
4399         * iterators.[Ch]:
4400         * lyxfind.C:
4401         * lyxfunc.C:
4402         * lyxtext.h:
4403         * output_docbook.C:
4404         * output_latex.C:
4405         * output_linuxdoc.C:
4406         * output_plaintext.C:
4407         * paragraph.[Ch]:
4408         * paragraph_funcs.[Ch]:
4409         * paragraph_pimpl.[Ch]:
4410         * rowpainter.C:
4411         * tabular.C:
4412         * tabular.h:
4413         * text.C:
4414         * text2.C:
4415         * text3.C: more IU:  dumps most of the rest of the mathcursor
4416     implementation into cursor.[Ch]; "globalize" a bit of it.
4417
4418 2004-01-25  Angus Leeming  <leeming@lyx.org>
4419
4420         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4421
4422 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4423
4424         * LaTeXFeatures.h: add nice_ and nice() const
4425         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4426
4427 2004-01-20  André Pönitz  <poenitz@gmx.net>
4428
4429         * BufferView.[Ch]:
4430         * BufferView_pimpl.C:
4431         * PosIterator.C:
4432         * bufferview_funcs.C:
4433         * cursor.[Ch]:
4434         * cursor_slice.[Ch]:
4435         * factory.C:
4436         * iterators.C:
4437         * lyx_cb.C:
4438         * lyxfind.C:
4439         * lyxfunc.C:
4440         * lyxtext.h:
4441         * rowpainter.C:
4442         * text.C:
4443         * text2.C:
4444         * text3.C:
4445         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4446           LCursor and mathcursor parts to LCursor and InsetBase.
4447
4448 2004-01-15  André Pönitz  <poenitz@gmx.net>
4449
4450         * cursor_slice.[Ch]: add a few covienience functions
4451
4452         * funcrequest.[Ch]: remove BufferView * member
4453
4454         * BufferView_pimpl.C:
4455         * cursor.C:
4456         * factory.[Ch]:
4457         * lyxfind.[Ch]:
4458         * lyxfunc.C:
4459         * lyxtext.h:
4460         * text3.C:
4461         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4462
4463 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4464
4465         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4466         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4467
4468 2004-01-13  André Pönitz  <poenitz@gmx.net>
4469
4470         * textcursor.[Ch]:
4471         * lyxtext.h: hide cursor and selection anchor behind accessor function
4472
4473         * BufferView.C:
4474         * BufferView_pimpl.[Ch]:
4475         * PosIterator.C:
4476         * bufferview_funcs.C:
4477         * cursor.h:
4478         * lyxfind.C:
4479         * lyxfunc.C:
4480         * text.C:
4481         * text2.C:
4482         * text3.C:
4483         * undo.C: adjust
4484
4485         * cursor.h:
4486         * cursor_slice.[Ch]: some integer type changes for inset unification
4487
4488         * lyxcursor.[hC]: remove, it's CursorSlice now.
4489
4490         * Makefile.am:
4491         * BufferView_pimpl.[Ch]:
4492         * bufferview_funcs.C:
4493         * cursor_slice.C:
4494         * lyxtext.h:
4495         * text.C:
4496         * text2.C:
4497         * text3.C:
4498         * textcursor.[Ch]: adjust
4499
4500 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4501
4502         * text2.C (undoSpan): add and use
4503         * text.C (breakParagraph): use undoSpan (fix bug 578)
4504         * lyxtext.h: adjust
4505
4506 2004-01-08  Angus Leeming  <leeming@lyx.org>
4507
4508         * BufferView_pimpl.C (MenuInsertLyXFile):
4509         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4510         * lyxfunc.C (menuNew, open, doImport):
4511         FileFilterList change to the FileDialog open and save functions.
4512
4513 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4514
4515         * ShareContainer.h: make isEqual and isUnique adaptable
4516
4517         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4518
4519 2004-01-07  Angus Leeming  <leeming@lyx.org>
4520
4521         * LyXAction.C:
4522         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4523
4524         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4525
4526         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4527         functions replacing find, replace and replaceAll.
4528
4529         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4530         LFUN_WORDFIND(FORWARD|BACKWARD).
4531
4532 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4533
4534         * text.C (breakParagraph): remove an outdated #warning
4535
4536 2004-01-07  André Pönitz  <poenitz@gmx.net>
4537
4538         * lyxfind.C: somewhat clearer logic
4539
4540         * text.C: prevent crash in cursorX on unitialized row cache
4541
4542 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4543
4544         * lyxcursor.[Ch] (operator>): add
4545         * textcursor.C (selStart, selEnd): use std::min and std::max
4546
4547 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4548
4549         * Chktex.C: include boost/format.hpp
4550
4551 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4552
4553         * InsetList.C: replace functor MathcIt with adaptable functor
4554         InsetTablePosLess
4555         (insetIterator): modify accordingly
4556
4557         * BranchList.h: move the BranchNamesEqual functor here from...
4558         * BranchList.C: ... to here
4559
4560         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4561         SameName and match.
4562         (add): replace a finding loop with std::find_if.
4563
4564 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4565
4566         * output_docbook.C: moving LatexParam functionality into
4567         .layout files
4568
4569 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4570
4571         * buffer.C: increment format to 229.
4572
4573 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4574
4575         * LaTeXFeatures.C:
4576         * lyx_sty.[Ch]: remove minipageindent_def
4577
4578         * LyXAction.C:
4579         * factory.C:
4580         * lfuns.h:
4581         * lyxfunc.C:
4582         * text3.C: remove LFUN_INSET_MINIPAGE
4583
4584 2003-12-28  Angus Leeming  <leeming@lyx.org>
4585
4586         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4587
4588 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4589
4590         * text2.C (setParagraph): fix off-by-one crash
4591
4592 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4593
4594         * output_docbook.C: header stuff for AGU
4595
4596 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4597
4598         * text2.C (redoCursor): remove
4599         * text.C:
4600         * text3.C:
4601         * BufferView_pimpl.C: remove calls to redoCursor and
4602         setCursor(cursor.par(), cursor.pos()) all around
4603
4604 2003-12-15  Angus Leeming  <leeming@lyx.org>
4605
4606         * buffer.C: up the format to 228.
4607
4608 2003-12-15  André Pönitz  <poenitz@gmx.net>
4609
4610         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4611         slices
4612
4613         * Makefile.am:
4614
4615         * BufferView_pimpl.C:
4616         * cursor.[Ch]:
4617         * lyxcursor.[Ch]:
4618         * rowpainter.[Ch]:
4619         * lyxtext.h:
4620         * text.C:
4621         * text2.C:
4622         * text3.C: adjust
4623
4624 2003-12-15  Angus Leeming  <leeming@lyx.org>
4625
4626         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4627         than getFromGUIName to manipulate the color.
4628
4629 2003-12-14  Angus Leeming  <leeming@lyx.org>
4630
4631         * BranchList.[Ch]: minimize the API.
4632         (Branch::getBranch, getColor): now return a 'const &'.
4633         (Branch::setSelected) now returns a bool set to true if the
4634         selection status changes.
4635         (BranchList::clear, size, getColor, setColor, setSelected,
4636         allBranches, allSelected, separator): removed.
4637         (BranchList::find): new functions, returning the Branch with
4638         the given name.
4639         (BranchList::add, remove): return a bool indicating that
4640         the operation was successful.
4641
4642         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4643         new InsetBranch::isBranchSlected member function.
4644
4645         * LColor.[Ch]: mimimize the API.
4646         (fill): renamed as addColor and made private.
4647         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4648         versions of these functions taking a string arg have been removed.
4649
4650         * bufferparams.C (readToken):
4651         * lyxfunc.C (dispatch):
4652         * lyxrc.C (read): changes due to the altered BranchList and
4653         LColor APIs.
4654
4655         * factory.C (createInset, readInset): changes due to altered
4656         InsetBranch c-tor.
4657
4658 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4659
4660         * factory.C:
4661         * lyxfunc.C: remove insetminipage. "minipage-insert"
4662         now produces a frameless minipage box inset.
4663
4664 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4665
4666         * textcursor.[Ch] (selStart,selEnd): add new methods
4667         remove selection::start, end, use LyXCursor::operator<
4668         * lyxcursor.[Ch] (operator<): add
4669         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4670         * BufferView.[Ch] (unsetXSel): add
4671         * text2.C (clearSelection): use unsetXSel,adjust
4672         * text.C: adjust
4673         * text3.C: adjust
4674         * rowpainter.C: adjust
4675         * bufferview_funcs.C (put_selection_at): adjust
4676
4677 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4678
4679         * BufferView_pimpl.C: small coord. correction
4680
4681 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4682
4683         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4684         dragging over the splash screen.
4685
4686 2003-12-11  Angus Leeming  <leeming@lyx.org>
4687
4688         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4689         as it is now handled in LyXText::dispatch.
4690
4691         * text3.C (doInsertInset): remove a level of nesting.
4692
4693 2003-12-11  Angus Leeming  <leeming@lyx.org>
4694
4695         * factory.C (createInset): changes due to the changed interface to
4696         InsetCommandMailer::string2params.
4697
4698 2003-12-10  Angus Leeming  <leeming@lyx.org>
4699
4700         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4701         'dialog-show-new-inset <inset name>'
4702
4703 2003-12-10  Angus Leeming  <leeming@lyx.org>
4704
4705         * buffer.C: up the format to 227.
4706
4707         * factory.C: the box inset is now identified simply by 'Box'.
4708
4709 2003-12-10  Angus Leeming  <leeming@lyx.org>
4710
4711         * buffer.C: up the format to 226.
4712
4713         * factory.C: the note inset is now identified simply by 'Note'.
4714
4715 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4716
4717         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4718         when a pit is enough. Standarize a couple of loops.
4719
4720 2003-12-05  Angus Leeming  <leeming@lyx.org>
4721
4722         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4723         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4724         data to the re-worked "log" dialog.
4725
4726 2003-12-03  André Pönitz  <poenitz@gmx.net>
4727
4728         * PosIterator.C:
4729         * iterators.C:
4730         * lyxtext.h:
4731         * output_latex.C:
4732         * paragraph_funcs.C:
4733         * text.C:
4734         * text2.C: use Inset::getText instead of Inset::getParagraph
4735
4736 2003-12-03  André Pönitz  <poenitz@gmx.net>
4737
4738         * buffer.[Ch]:
4739         * lyxtext.h:
4740         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4741         InsetText::read() as LyXText::read()
4742
4743 2003-12-02  Angus Leeming  <leeming@lyx.org>
4744
4745         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4746         type. Add a comment in the implementation that the function uses
4747         the stream's bad() function rather than fail() as the std::streams
4748         would do.
4749
4750 2003-12-02  André Pönitz  <poenitz@gmx.net>
4751
4752         * lyxlex.[Ch]: make interface more similar to std::stream
4753
4754         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4755
4756 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4757
4758         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4759
4760 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4761
4762         * vspace.[Ch]: remove VSpace::NONE
4763
4764 2003-12-01  André Pönitz  <poenitz@gmx.net>
4765
4766         * buffer.[Ch]:
4767         * lyxtext.h: move ParagraphList member to LyXText
4768         rename LyXText::ownerParagraphs to LyXText::paragraph
4769
4770         * CutAndPaste.C:
4771         * bufferview_funcs.C:
4772         * iterators.[Ch]:
4773         * lyx_cb.C:
4774         * paragraph.C:
4775         * rowpainter.C:
4776         * tabular.C:
4777         * text.C:
4778         * text2.C:
4779         * text3.C: adjust
4780
4781         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4782
4783         * undo.C: fix cursor positioning
4784
4785 2003-12-01  John Levon  <levon@movementarian.org>
4786
4787         * BufferView_pimpl.C: fix a crash on exit with
4788         a buffer open
4789
4790 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4791
4792         * BranchList.C: fix setSelected() method.
4793
4794 2003-11-28  André Pönitz  <poenitz@gmx.net>
4795
4796         * ParagraphParameters.[Ch]:
4797         * ParameterStruct.h: remove space above/below from Paragraph to
4798          InsetVSpace
4799
4800         * BufferView_pimpl.C:
4801         * factory.C:
4802         * lyxfunc.C:
4803         * lyxtext.h:
4804         * output_latex.C:
4805         * paragraph.C:
4806         * paragraph_funcs.C:
4807         * rowpainter.[Ch]:
4808         * text.C:
4809         * text2.C:
4810         * text3.C: adjust
4811
4812 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4813
4814         * factory.C: Syntax change for CharStyles
4815
4816 2003-11-28  André Pönitz  <poenitz@gmx.net>
4817
4818         * BufferView.[Ch]:
4819         * BufferView.[Ch]:
4820         * buffer.[Ch]:
4821         * buffer.[Ch]: move LyXText member
4822
4823 2003-11-28  André Pönitz  <poenitz@gmx.net>
4824
4825         * BufferView.[Ch]: make LyXText * text a private member
4826
4827         * BufferView_pimpl.C:
4828         * cursor.C:
4829         * iterators.C:
4830         * lyx_cb.C:
4831         * lyxfind.C:
4832         * lyxtext.h:
4833         * rowpainter.[Ch]:
4834         * text.C:
4835         * text2.C:
4836         * undo.C: adjust
4837
4838         * output_plaintext.C: cleanup
4839
4840 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4841
4842         * buffer.C:
4843         * lyxtextclass.[Ch]: parametrize SGML document header
4844
4845 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4846
4847         * converter.[Ch]:
4848         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4849         getFlavor().
4850
4851 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4852
4853         * text2.C (setFont): rework using PosIterator (no more recursive)
4854         (setCharFont): no more needed
4855         (setLayout): no more selection cursors fiddling (done by redoCursor)
4856         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4857         destroy remaining ones)
4858
4859 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4860
4861         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4862         * lyxtext.h: ditto
4863         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4864         selection cursors
4865         * lyxfunc.C: adjust
4866         * text3.C: adjust + re-allow multi par depth changes
4867         * textcursor.C: simplify a bit
4868
4869 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4870
4871         * src/buffer.C:
4872         * src/lyxlayout.C:
4873         * src/lyxlayout.h:
4874         * src/lyxtext.h:
4875         * src/output_docbook.C:
4876         * src/output_latex.C:
4877         * src/paragraph.C:
4878         * src/paragraph.h:
4879         * src/sgml.C:
4880         * src/sgml.h:
4881         * src/text2.C: Introducing a number of tags parametrizing various
4882         XML formats that we may want to support
4883
4884 2003-11-25  André Pönitz  <poenitz@gmx.net>
4885
4886         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4887
4888         * lyxtext.h (leftMargin/rightMargin): simplify interface
4889
4890         * rowpainter.C:
4891         * text.C:
4892         * text2.C:
4893         * text3.C: adjust
4894
4895 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4896
4897         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4898         master file to any child files. Fixes bug 546.
4899
4900 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4901
4902         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4903
4904 2003-11-24  André Pönitz  <poenitz@gmx.net>
4905
4906         * rowpainter.C: simplification
4907
4908         * text2.C (updateCounters): remove call to redoParagraph on
4909         changed labels as this is far too expensive.
4910
4911 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4912
4913         * converter.C (convert): fix a crash: this function gets
4914         called with buffer == 0 from importer code.
4915
4916 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * text3.C (cursorPrevious): make sure that we do not compare
4919         iterators form different containers.
4920         (cursorNext): ditto
4921
4922         * rowpainter.C (paintSelection): make sure that we do not compare
4923         iterators from different containers.
4924
4925         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4926         iterators from different ParagraphList containers.
4927         [NEXT] ditto
4928
4929         * text2.C (LyXText): change order of initialization slightly
4930         (operator=): new function. copy all variables except cache_par_
4931         (moveUp): make sure that we do not compare iterators from
4932         different ParagraphList constainers.
4933         (moveDown): ditto
4934
4935         * text.C (firstPar): new function
4936         (lastPar): new function
4937         (endPar): new function
4938
4939         * lyxtext.h: move things around and group public functions, public
4940         variables, private functions, private variables
4941
4942 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4943
4944         * factory.C: change call to InsetERT constructor to avoid
4945         additional invocation of method status
4946         * text2.C (toggleInset): remove redundant update() call
4947         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4948         instead of a Bufferview pointer
4949
4950 2003-11-21  André Pönitz  <poenitz@gmx.net>
4951
4952         * rowpainter.C: simplification
4953
4954 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4955
4956         * text3.C (dispatch): make possible to extend a word/row selection
4957         with the mouse
4958
4959 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4960
4961         * lyxtext.h: x0_,y0_ -> xo_,yo_
4962         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4963         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4964         * rowpainter.C (paintRows): paint full paragraphs
4965
4966 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4967
4968         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4969         screen coordinates)
4970
4971 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4972
4973         * lyxtext.h: add x0_, y0_
4974         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4975         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4976
4977 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4978
4979         * text2.C (setCursorIntern): move the x_target update here *
4980         * text3.C: change some bv() to true/false in calls to
4981         cursorUp/Down/Right/Left
4982         * cursor.C: use helper function.
4983
4984 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4985
4986         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4987         * paragraph_funcs.[Ch]: correct comment
4988         * rowpainter.C: do not paint selections away from bv->cursor()
4989         Fix a long standing selection painting bug.
4990         * text3.C: generalize mouse-selection code to LyXTexts other that
4991         top one
4992         * textcursor.C: do not use y coords if we can use par offsets
4993
4994 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4995
4996         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4997         cursor position after e.g. inset insert)
4998
4999 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
5000
5001         * lyxfind.C (replace): adjust to locking removal + some
5002         code simplification
5003
5004 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
5005
5006         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
5007         of the path
5008
5009 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
5010
5011         * lyxlayout.[Ch]:
5012         * output_docbook.C: XML sanitation: new layout
5013         parameters InnerTag and CommandDepth
5014
5015 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
5016
5017         * BufferView_pimpl.C:
5018         * factory.C:
5019         * text3.C: Fix the insertion and modification of button-style
5020         insets
5021
5022 2003-11-13  André Pönitz  <poenitz@gmx.net>
5023
5024         * InsetList.[Ch]: remove deleteLyXText
5025
5026         * paragraph.[Ch]: cache beginOfBody position
5027
5028         * Bidi.C:
5029         * text.C:
5030         * text2.C:
5031         * text3.C: remove superfluous update() calls
5032
5033         * vspace.C: cleanup
5034
5035 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
5036
5037         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5038         * BufferView.C (fitLockedInsetCursor): remove
5039         * cursor.[Ch] (getDim): add
5040         * text.C (getRowNearY): add faster version
5041         * text3.C: remove some update calls
5042
5043 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
5044
5045         * LaTeXFeatures.C:
5046         * LyXAction.C:
5047         * MenuBackend.C:
5048         * MenuBackend.h:
5049         * dispatchresult.h:
5050         * factory.C:
5051         * lfuns.h:
5052         * lyxfunc.C:
5053         * lyxtextclass.C:
5054         * lyxtextclass.h:
5055         * text3.C: The Character Style /XML short element patch.
5056
5057 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
5058
5059         * text3.C:
5060         * factory.C: Small step to solving 'unable to insert some insets'
5061         problem
5062
5063 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
5064
5065         * cursor.[Ch] (updatePos): new function for updating the y
5066         position of the tip inset
5067         * bufferview_funcs.C (put_selection_at):
5068         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5069
5070 2003-11-11  André Pönitz  <poenitz@gmx.net>
5071
5072         * text.C: remove big comment on invalid Paragraph pointers as it is
5073         not valid anymore
5074
5075 2003-11-11  André Pönitz  <poenitz@gmx.net>
5076
5077         * text_funcs.[Ch]: merge with ...
5078
5079         * text.C: ... this
5080
5081         * lyxtext.h:
5082         * text2.C:
5083         * text3.C: adjust
5084
5085         * Makefile.am: remove text_funcs.[Ch]
5086
5087 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5088
5089         * cursor.C (getPos): return absolute cached y coord
5090
5091         * BufferView_pimpl.C (fitCursor): new simplistic code
5092         (workAreaDispatch): add a fitCursor call
5093
5094 2003-11-10  André Pönitz  <poenitz@gmx.net>
5095
5096         * BufferView.[Ch]:
5097         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5098
5099 2003-11-10  André Pönitz  <poenitz@gmx.net>
5100
5101         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5102         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5103         indicate that the cursor needs to leave an inset
5104
5105         * lyxtext.h: remove inset locking
5106
5107         * cursor.[Ch]: re-implement functionality provided by inset locking
5108
5109         * BufferView.[Ch]:
5110         * BufferView_pimpl.[Ch]:
5111         * LyXAction.C:
5112         * bufferview_funcs.[Ch]:
5113         * factory.C:
5114         * funcrequest.[Ch]:
5115         * iterators.C:
5116         * lyx_cb.C:
5117         * lyxfind.C:
5118         * lyxfunc.C:
5119         * text.C:
5120         * text2.C:
5121         * text3.C:
5122         * undo.C: adjust
5123
5124 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5125
5126         * PosIterator.[Ch]: replace the stack with a vector, add inset
5127         accesor
5128         * iterators.[C]: adjust
5129
5130 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5131
5132         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5133         replaced
5134         * paragraph_funcs.C (readParToken): put the correct id in the
5135         error item, not the id of the top paragraph
5136
5137 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5140         * bufferview_funcs.C (put_selection_at): use the above
5141
5142 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5143
5144         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5145
5146 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5147
5148         * output_linuxdoc.h:
5149         * output_plaintext.h:
5150         * output.h:
5151         * output_docbook.h: add #include statements
5152
5153 2003-11-05  José Matos  <jamatos@lyx.org>
5154
5155         * output_docbook.[Ch]:
5156         * output_latex.[Ch]:
5157         * output_linuxdoc.[Ch]:
5158         * output_plaintext.[Ch]: New files for output formats.
5159         * output.[Ch]: New file for helper functions.
5160
5161         * buffer.[Ch]:
5162         * paragraph_funcs.[Ch]: output functions moved to new files.
5163
5164         * outputparams.h: rename of latexrunparams.h
5165
5166         * LaTeX.[Ch]:
5167         * buffer.[Ch]:
5168         * bufferlist.[Ch]:
5169         * converter.[Ch]:
5170         * exporter.C:
5171         * paragraph.[Ch]:
5172         * paragraph_funcs.[Ch]:
5173         * paragraph_pimpl.[Ch]:
5174         * tabular.[Ch]: rename ascii to plaintext
5175         and LatexRunParams to OutputParams.
5176
5177 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5178
5179         * iterators.[Ch] (text): require bv argument
5180         * undo.C (recordUndo):
5181         * lyxfunc.C (dispatch):
5182         * bufferview_funcs.C (put_selection_at): adjust
5183
5184 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5185
5186         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5187
5188 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5189
5190         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5191         nestings
5192
5193 2003-11-04  André Pönitz  <poenitz@gmx.net>
5194
5195         * cursor.[Ch]: restructure
5196
5197         * BufferView.[Ch]:
5198         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5199
5200         * iterators.[Ch] (asCursor): remove
5201
5202         * lfuns.h: remove LFUN_INSET_EDIT
5203
5204         * lyxfunc.C:
5205         * tabular.C:
5206         * text.C:
5207         * text2.C:
5208         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5209
5210 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5211
5212         * lyxfind.[Ch]: complete overhaul
5213         * BufferView_pimpl.C:
5214         * lyxfunc.C: adjust
5215         * paragraph.[Ch] (insert): add
5216
5217 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5218
5219         * BufferView.[Ch]:
5220         * lyxtext.h:
5221         * text.C: remove dead spellcheck code
5222
5223 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5224
5225         * dispatchresult.h: add a val setter
5226
5227         * cursor.C (dispatch): use a tempvar for data_[i]
5228
5229 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5230
5231         * PosIterator.[Ch]: compile fix
5232
5233 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5234
5235         * text.C (cursorPar): deactivate the cursor cache
5236
5237 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5238
5239         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5240
5241 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5242
5243         * text3.C (dispatch): adjust for new DisptchResult semantics.
5244
5245         * lyxfunc.C (dispatch): handle update when return from
5246         Cursor::dispatch, adjust for new DispatchResult semantics.
5247
5248         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5249         DispatchResult(true) mean to not update. Add class functions for
5250         setting dispatched and update, as well as reading.
5251
5252         * cursor.C (dispatch): don't handle update here
5253
5254 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5255
5256         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5257         * trans_mgr.C: adjust
5258
5259         * paragraph_funcs.C (readParToken): exception safety
5260
5261         * lyxvc.h: store the vcs pointer in a scoped_ptr
5262         * lyxvc.C: adjust
5263
5264         * lyxsocket.C (serverCallback): exception safety
5265
5266         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5267
5268         * ispell.C (clone): make it return a auto_ptr
5269
5270         * factory.C (createInset): exception safety
5271         (readInset): exception safety
5272
5273         * bufferlist.C (newBuffer): exception safety
5274
5275         * Thesaurus.C (Thesaurus): use initialization for aik_
5276
5277         * MenuBackend.C (expandToc): exception safety.
5278
5279 2003-11-03  André Pönitz  <poenitz@gmx.net>
5280
5281         * buffer.C:
5282         * buffer.h:
5283         * bufferview_funcs.C: remove getInsetFromId()
5284
5285         * lyxcursor.[Ch]:
5286         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5287
5288         * lyxfunc.C:
5289         * text2.C:
5290         * text3.C: adjust
5291
5292 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5293
5294         * PosIterator.C (distance, advance): new
5295         * bufferview_funcs.[Ch] (put_selection_at): new
5296         * iterators.[Ch] (lockPath): new
5297
5298 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5299
5300         * iterators.[Ch] (asPosIterator): added
5301         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5302         * PosIterator.[Ch]: added
5303
5304 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5305
5306         * text3.C:
5307         * lyxfunc.C:
5308         * cursor.C (dispatch):
5309         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5310
5311         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5312         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5313         contructor, add a class function dispatched. Remove operator>=
5314
5315 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5316
5317         * debug.C: only use the default constructor for debugstream
5318         (lyxerr) here.
5319
5320         * main.C (main): include debug.h and setup the lyxerr streambuf
5321         here.
5322
5323 2003-10-31  José Matos  <jamatos@lyx.org>
5324
5325         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5326
5327         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5328         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5329         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5330         * paragraph_pimpl.C (simpleTeXSpecialC):
5331         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5332         add LatexRunParams argument.
5333
5334         * exporter.C (Export): change call accordingly.
5335
5336         * latexrunparams.h: add new member to take care of the other backends.
5337 2003-10-30  José Matos  <jamatos@lyx.org>
5338
5339         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5340         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5341         factorise code for paragraph output.
5342         * buffer.[Ch]:
5343         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5344         move functions.
5345
5346 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5347
5348         * text3.C (dispatch):
5349         * lyxfunc.C (dispatch):
5350         * cursor.C (dispatch):
5351         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5352
5353         * dispatchresult.h: make the dispatch_result_t ctor explicit
5354
5355 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5356
5357         * sgml.[Ch]:
5358         * buffer.C: small refactoring of docbook stuff
5359
5360 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5361
5362         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5363         meaning.
5364
5365 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5368         operator dispatch_result_t, and operators for == != and >=
5369
5370         * cursor.C (dispatch): adjust for operator dispatch_result_t
5371         removal. comment out call to update
5372
5373         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5374
5375 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5376
5377         * text3.C:
5378         * text2.C:
5379         * text.C:
5380         * lyxtext.h:
5381         * lyxfunc.C:
5382         * cursor.C:
5383         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5384         (dispatch):
5385
5386         * dispatchresult.h: new file, DispatchResult broken out of
5387         insets/insetbase.h
5388
5389         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5390
5391 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5392
5393         * text.C (rowBreakPoint): put a hack inside #if 0
5394
5395 2003-10-28  André Pönitz  <poenitz@gmx.net>
5396
5397         * lyxtext.h:
5398         * metricsinfo.C:
5399         * paragraph_funcs.C:
5400         * rowpainter.C:
5401         * text.C:
5402         * text2.C: general cleanup (lots of small stuff)
5403
5404 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5405
5406         * text2.C (cursorEnd): simple fix to the "end key goes to one
5407         before the end on last row" bug
5408
5409 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5410
5411         * text.C (backspace): fix the "zombie characters"
5412
5413 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5414
5415         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5416
5417 2003-10-27  André Pönitz  <poenitz@gmx.net>
5418
5419         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5420
5421         * factory.C: handle new InsetPagebreak, InsetLine
5422
5423         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5424         and move handling into new InsetPagebreak, InsetLine
5425
5426         * BufferView_pimpl.C:
5427         * LyXAction.C:
5428         * ParagraphParameters.C:
5429         * ParameterStruct.h:
5430         * lyxfunc.C:
5431         * lyxtext.h:
5432         * paragraph.C:
5433         * paragraph.h:
5434         * paragraph_funcs.C:
5435         * paragraph_pimpl.C:
5436         * rowpainter.C:
5437         * text.C:
5438         * text2.C:
5439         * text3.C: adjust
5440
5441 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5442
5443         * text.C:
5444         * lyxrow_funcs.[Ch]:
5445         * Bidi.C:
5446         * paragraph.C:
5447         * lyxtext.h:
5448         * rowpainter.C:
5449         * text2.C:
5450         * text3.C: remove lastPos uses in favour of Row::endpos
5451
5452 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5453
5454         * undo.C (performUndoOrRedo): fix two crashes by setting a
5455         cursor by hand and reordering some calls. Use bv->lockInset instead
5456         of inset->edit because the latter loses cursor information
5457
5458 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5459
5460         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5461         by Martin
5462         (rowBreakPoint): fix width. change point to point + 1.
5463         Add a missing check.
5464
5465 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5466
5467         * MenuBackend.C:
5468         * lyxfunc.C: fix (at least partly) the problems
5469         with the Nav menu and headers inside branch insets
5470         reported by Kayvan
5471
5472 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5473
5474         * paragraph.C (getChar): add strong asserts
5475
5476         * lyxrow_funcs.C (lastPos): remove hideous hack
5477
5478         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5479         (fill): adjust to that (avoid an infinite loop)
5480
5481 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5482
5483         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5484
5485 2003-10-23  André Pönitz  <poenitz@gmx.net>
5486
5487         * RowList_fwd.h: change list<> to vector<> to gain speed
5488         after suggestion from Alfredo
5489
5490 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5491
5492         * lyxtext.h: move the bidi stuff from here...
5493         * text.C: and here
5494         * text2.C: and here
5495         * Bidi.[Ch]: ... to here
5496
5497 2003-10-23  André Pönitz  <poenitz@gmx.net>
5498
5499         * lyxtext.h:
5500         * text.C (isLastRow, isFirstRow): new functions
5501
5502         * paragraph.h: new width cache member
5503
5504         * rowpainter.C: replace RowList::iterator with Row & where possible
5505
5506         * lyxfunc.C: replace several view()->text with a single call
5507
5508         * toc.C: fix 'unused' warning
5509
5510 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5511
5512         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5513         when woring with stream::pos_type
5514         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5515
5516 2003-10-22  André Pönitz  <poenitz@gmx.net>
5517
5518         * lyxtext.h:
5519         * text.C: use Row & instead of RowList::iterator
5520
5521         * lyxrow.h: rename end() to endpos()
5522
5523         * rowpainter.C:
5524         * text.C:
5525         * text2.C: adjust
5526
5527 2003-10-22  Angus Leeming  <leeming@lyx.org>
5528
5529         * buffer.[Ch] (fully_loaded): new member function, returning true
5530         only when the file has been loaded fully.
5531         Used to prevent the premature generation of previews and by the
5532         citation inset to prevent computation of the natbib-style label.
5533
5534         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5535         templates are all set up.
5536
5537         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5538
5539 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5540
5541         * text.C: fixed an "oops" in the "is a bit silly"
5542         bug fix
5543
5544 2003-10-21  André Pönitz  <poenitz@gmx.net>
5545
5546         * FuncStatus.[Ch]: small stuff, whitespace
5547
5548         * lyxfont.[Ch]: operator<<() for debug reasons
5549
5550         * lyxfunc.C:
5551         * lyxrow_funcs.C:
5552         * lyxtext.h: whitespace, spelling
5553
5554         * paragraph.C: naming of variables
5555
5556         * text.C:
5557         * text2.C: small stuff
5558
5559
5560 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5561
5562         * text.C: (1) finish off the inset display() work;
5563         (2) fix the "is a bit silly" bug (accessing char
5564         past end of par).
5565
5566 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5567
5568         * text.C: re-introduce display() for insets, fixing the
5569         various bugs (stretch of line above, math inset
5570         positioning, ...)
5571
5572 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5573
5574         * text.C (rightMargin): remove spurious semicolon
5575
5576         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5577         1415)
5578
5579 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5580
5581         * text3.C: fix one crash due to wrong cursor def
5582
5583 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5584
5585         * vc-backend.C (scanMaster): make the regex static
5586
5587         * LaTeX.C (scanAuxFile): make the regexs static
5588
5589         * text3.C (doInsertInset, dispatch, dispatch):
5590         * text2.C (cursorUp, cursorDown):
5591         * text.C (selectNextWordToSpellcheck):
5592         * BufferView_pimpl.C (dispatch):
5593         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5594
5595 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5596
5597         * lyxsocket.C: include <cerrno>
5598
5599 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5600
5601         * lyxfunc.C (dispatch): remove textcache stuff
5602
5603         * bufferlist.C (release): remove textcache stuff
5604         (closeAll): ditto
5605
5606         * TextCache.C: delete file
5607         * TextCache.h: delete file
5608
5609         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5610
5611         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5612         delete of the bv_->text.
5613         (resizeCurrentBuffer): remove texcache stuff
5614         (workAreaResize): ditto
5615
5616 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5617
5618         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5619         action.
5620
5621 2003-10-16  André Pönitz  <poenitz@gmx.net>
5622
5623         * lyxrow.[Ch]:
5624         * paragraph.h:
5625         * rowpainter.C:
5626         * text.C:
5627         * text2.C:
5628         * text3.C: speed up by storing y positions per paragraph plus per-row
5629         offset instead of having a 'full' y position in the row.
5630
5631 2003-10-15  André Pönitz  <poenitz@gmx.net>
5632
5633         * iterators.[Ch]:
5634         * iterators.[Ch]:
5635         * undo.[Ch]: make undo aware of inner insets
5636
5637 2003-10-14  Angus Leeming  <leeming@lyx.org>
5638
5639         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5640         static member functions LyX::ref() and LyX::cref.
5641         (lastfiles): new accessor functions for the new lastfiles_ member var.
5642         (addLyXView, views_): add a new LyXView to the list of views_.
5643         (updateInset): loop over all LyXViews to call their own updateInset
5644         member function, returning a pointer to the Buffer owning the inset.
5645
5646         * BufferView_pimpl.C (loadLyXFile):
5647         * MenuBackend.C (expandLastfiles):
5648         * bufferlist.C (MenuWrite, QuitLyX):
5649         lastfiles is no longer a global variable.
5650         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5651
5652         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5653         static function. Access through LyX::cref().emergencyCleanup().
5654
5655 2003-10-14  André Pönitz  <poenitz@gmx.net>
5656
5657         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5658
5659         * undo.[Ch]: restoring part of 'undo in insets'
5660
5661         * Makefile.am:
5662         * undo_funcs.[Ch]: merge with undo.[Ch]
5663
5664         * tabular.C: small cleansing stuff
5665
5666 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5667
5668         * paragraph_funcs.C (readParToken): report unknown insets as error
5669         boxes. Use the outer paragraph as location (also for unknown
5670         tokens).
5671
5672         * factory.C (readInset): do not abort on reading an unknown inset.
5673         Eat it and return 0.
5674
5675 2003-10-13  Angus Leeming  <leeming@lyx.org>
5676
5677         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5678
5679         * lyxrc.C: displayTranslator is now a function,
5680         declared in GraphicsTypes.h.
5681
5682 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5683
5684         * format.C: new placeholder $$a to pass the socket address.
5685
5686         * bufferlist.[Ch]: new function getBufferFromTmp.
5687
5688         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5689           files in the temporary dir.
5690
5691 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5692
5693         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5694
5695         * Makefile.am: add lyxsocket.[Ch].
5696
5697         * lyx_main.C (error_handler): handle SIGPIPE.
5698
5699 2003-10-13  André Pönitz  <poenitz@gmx.net>
5700
5701         * BufferView_pimpl.C:
5702         * lyxtext.h:
5703         * text.C:
5704         * text2.C:
5705         * text3.C:
5706         * undo_funcs.[Ch]: use paroffset_type instead of
5707           ParagraphList::iterators to prevent multiple conversion
5708           (and get a more robust interface)
5709
5710 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5711
5712         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5713         * lyxtext.h: ditto
5714         * text3.C (dispatch): ditto
5715
5716 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5717
5718         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5719         move the onlyfile, use onlyfile instead of foundfile in a couple
5720         of places.
5721
5722         * DepTable.C (update): flush the error stream a bit more
5723
5724 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5725
5726         * lyxserver.C (callback): adjust
5727
5728         * lyxfunc.C (getStatus): add a missing brace in commented code
5729         (ensureBufferClean): reindent
5730         (dispatch): delete version taking a string
5731
5732 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * LaTeX.C (deplog): move found file handlig from here...
5735         (handleFoundFile): .. to new function here.
5736         (deplog): make sure to discover several files mentioned on the
5737         same log line.
5738
5739 2003-10-10  André Pönitz  <poenitz@gmx.net>
5740
5741         * lyxfunc.C:
5742         * lyxtext.h:
5743         * tabular.C:
5744         * text.C:
5745         * text2.C:
5746         * text3.C: fix some of the tabular crashes
5747
5748 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5749
5750         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5751
5752         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5753
5754 2003-10-09  André Pönitz  <poenitz@gmx.net>
5755
5756         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5757
5758         * BufferView.C:
5759         * BufferView_pimpl.C:
5760         * bufferview_funcs.C:
5761         * lyx_cb.C:
5762         * lyxcursor.C:
5763         * lyxfind.C:
5764         * lyxfunc.C:
5765         * lyxtext.h:
5766         * text.C:
5767         * text2.C:
5768         * text3.C:
5769         * text_funcs.[Ch]:
5770         * textcursor.[Ch]:
5771         * undo_funcs.C: adjust
5772
5773 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5774
5775         * text2.C (incrementItemDepth): new function, use a backtracking
5776         algorithm to discover the correct item depth.
5777         (resetEnumCounterIfNeeded): new function, use a backtracking
5778         algorithm to discover if counter reset is needed.
5779         (setCounter): use them. Simplify a bit. Add different labels for
5780         different item depths for itemize.
5781
5782         * paragraph.C (Paragraph): remove initialization of enumdepth
5783         (operator=): ditto
5784
5785         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5786         enumerate and itemize. Change the type of itemdepth to signed char.
5787
5788 2003-10-08  André Pönitz  <poenitz@gmx.net>
5789
5790         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5791           thing assignable.
5792         * text.C:
5793         * text2.C: adjust
5794
5795         * tabular.[Ch]: fix crash after 'row-insert'
5796
5797 2003-10-08  Angus Leeming  <leeming@lyx.org>
5798
5799         Fix doxygen warnings.
5800
5801         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5802         Remove CutAndPaste:: prefix from header file declaration.
5803
5804         * LColor.h (fill): remove LColor:: prefix from declaration.
5805
5806         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5807         use lyx::depth_type rather than Paragraph::depth_type so that
5808         header file and .C file match.
5809
5810         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5811
5812         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5813         * aspell.C: \file aspell_local.C -> \file aspell.C
5814         * gettext.C: \file gettext.C -> \file src/gettext.C
5815         * gettext.h: \file gettext.h -> \file src/gettext.h
5816         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5817         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5818         * text.C: \file text.C -> \file src/text.C
5819
5820         * toc.C: move comment so that doxygen is not confused.
5821
5822 2003-10-07  Angus Leeming  <leeming@lyx.org>
5823
5824         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5825
5826 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5827
5828         * aspell.C:
5829         * aspell_local.h: add forgotten std::string's.
5830
5831 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5832
5833         * LaTeXFeatures.C:
5834         * LyXAction.C:
5835         * factory.C:
5836         * lfuns.h:
5837         * lyxfunc.C:
5838         * text3.C: The Box patch. Fancybox support, minipage, parbox
5839
5840 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5841
5842         * CutAndPaste.h:
5843         * DepTable.h:
5844         * FloatList.h:
5845         * LaTeXFeatures.h:
5846         * ParagraphParameters.h:
5847         * TextCache.h:
5848         * Thesaurus.h:
5849         * bufferlist.h:
5850         * exporter.h:
5851         * importer.h:
5852         * lastfiles.h:
5853         * lyxfind.h:
5854         * lyxfont.h:
5855         * lyxlex.h:
5856         * lyxtextclasslist.h:
5857         * messages.h:
5858         * paragraph.h:
5859         * paragraph_pimpl.C:
5860         * textcursor.h: add <string> and other small fixes to make Lars'
5861         std::string patch compile with STLport.
5862
5863 2003-10-06  Angus Leeming  <leeming@lyx.org>
5864
5865         * LColor.h: Add missing #include <string>.
5866
5867 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5868
5869         * All most all file in all subdirs: Make <string> be the prefered
5870         way of getting to std::string, add using declarations.
5871
5872 2003-10-06  André Pönitz  <poenitz@gmx.net>
5873
5874         * metricsinfo.C: initialize LyXFont before changing attribute.
5875         (fixes the 'math in \emph is upright' bug)
5876
5877 2003-10-06  André Pönitz  <poenitz@gmx.net>
5878
5879         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5880
5881 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5882
5883         * graph.C:
5884         * paragraph_pimpl.C: Small fixes to build using STLport
5885
5886 2003-10-02  André Pönitz  <poenitz@gmx.net>
5887
5888         * lyxfunc.C:
5889         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5890
5891 2003-10-01  André Pönitz  <poenitz@gmx.net>
5892
5893         * factory.C: assert early
5894
5895 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5896
5897         * lyx_main.C: remove the global debug object
5898
5899         * debug.h: adjust for new debugstream
5900
5901         * debug.C: adjust for new debugstream and keep the global debug
5902         object here.
5903
5904 2003-09-22  Angus Leeming  <leeming@lyx.org>
5905
5906         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5907         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5908         an incomplete class LyXFont.
5909
5910 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5911
5912         * factory.C: bug fix in branches
5913
5914 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5915
5916         * lyxfunc.C (processKeySym): adjust
5917         (dispatch): adjust
5918         (dispatch): change arg name from ev to func, adjust
5919         (sendDispatchMessage): ditto
5920
5921         * lyx_main.C (defaultKeyBindings): adjust keybindings
5922         (deadKeyBindings): ditto
5923
5924         * kbsequence.C (addkey): return a FuncRequest
5925
5926         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5927
5928         * kbmap.C (bind): take a FuncRequest as arg, adjust
5929         (read): adjust
5930         (lookup): adjust
5931         (defkey): change to take a FuncRequest as arg, adjust
5932         (findbinding): take a FuncRequest as arg, adjust.
5933
5934         * funcrequest.h (operator=): added
5935
5936         * funcrequest.C (FuncRequest): default kb_action changed from
5937         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5938
5939         * buffer.C (dispatch): simplify
5940         (dispatch): adjust to take a FuncRequest as arg, adjust
5941
5942         * boost.C (assertion_failed): change assertion message slightly
5943
5944         * ToolbarBackend.C (read): simplify
5945
5946         * MenuBackend.C (binding): adjust call to findbinding, add a
5947         message if no binding is found.
5948         (read): simplify
5949         (expandToc): correct by adding a empty FuncRequest
5950
5951         * LyXAction.C: include <boost/assert.hpp>
5952         (isPseudoAction): delete function
5953         (LookupFunc): change name to...
5954         (lookupFunc): this. change return type to FuncRequest.
5955         (getActionName): take kb_action as arg, simplify
5956         (funcHasFlag): add an assert, simplify.
5957
5958 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5959
5960         * toc.C (action): return a FuncRequest, simplify
5961
5962         * lyxfunc.C (processKeySym): adjust
5963         (getStatus): delete version that takes an int.
5964         (getStatus): adjust
5965         (dispatch): delete version that takes action as int
5966         (dispatch): adjust
5967         (sendDispatchMessage): simplify and adjust
5968
5969         * funcrequest.C (getArg): take unsigned int as arg
5970
5971         * ToolbarBackend.C (read): adjust
5972         (add): delete version that takes func as a string.
5973         (getIton): take a FuncRequest as arg
5974
5975         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5976         action.
5977
5978         * MenuBackend.C (MenuItem): add a new construct that only takes a
5979         Kind, simplify the constructor use for submenus.
5980         (add): adjust
5981         (expandLastfiles): adjust
5982         (expandDocuments): adjust
5983         (expandFormats): adjust
5984         (expandFloatListInsert): adjust
5985         (expandFloatInsert): adjust
5986         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5987
5988         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5989         Remove class variables lyx_pseudo_map and lyx_arg_map
5990
5991         * LyXAction.C (searchActionArg): delete function
5992         (getPseudoAction): delete function
5993         (retrieveActionArg): delete function
5994         (LookupFunc): make it return kb_action, simplify.
5995         (getActionName): simplify
5996
5997         * factory.C (createInset): fix new bug
5998
5999 2003-09-19  Angus Leeming  <leeming@lyx.org>
6000
6001         * CutAndPaste.C (pasteSelection): remove fudge used to set the
6002         masterFilename_ parameter in the include inset.
6003
6004         * factory.C (createInset): changes due to the changes to InsetInclude.
6005
6006 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6007
6008         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
6009
6010 2003-09-18  Angus Leeming  <leeming@lyx.org>
6011
6012         * buffer.C:
6013         * BufferView.C: pass the buffer when calling Inset::getLabelList,
6014         Inset::fillWithBibKeys.
6015         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
6016
6017 2003-09-18  Angus Leeming  <leeming@lyx.org>
6018
6019         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
6020         variables.
6021         (ctor): pass and store a 'Buffer const &'
6022         (buffer): new member function.
6023
6024         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
6025         '*this' to the LaTeXFeatures ctor.
6026
6027 2003-09-18  Angus Leeming  <leeming@lyx.org>
6028
6029         * LColor.h:
6030         * lyxfont.C:
6031         * lyxfont.h:
6032         * lyxtext.h:
6033         * text.C: rename EnumLColor as LColor_color.
6034
6035 2003-09-18  Angus Leeming  <leeming@lyx.org>
6036
6037         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6038         remove #include "insets/insetbase.h" from cursor.h.
6039
6040 2003-09-18  Angus Leeming  <leeming@lyx.org>
6041
6042         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6043         InsetOld_code to remove #include "inset.h".
6044
6045         * iterators.C: add #include "insets/inset.h"
6046
6047 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
6048
6049         * BufferView.C: remove more locking stuff that apparently doesn't
6050         do anything sensible.
6051
6052 2003-09-16  André Pönitz  <poenitz@gmx.net>
6053
6054         * paragraph.[Ch]:
6055         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6056           performance boost.
6057
6058 2003-09-16  Angus Leeming  <leeming@lyx.org>
6059
6060         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6061
6062         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6063         arg/return type.
6064
6065         * paragraph.h: remove #include "lyxfont.h". Forward declare
6066         LyXFont_size.
6067
6068 2003-09-16  Angus Leeming  <leeming@lyx.org>
6069
6070         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6071         of support/textutils.h.
6072         (isWord): move the contents of support/textutils.h's IsWordChar here.
6073
6074         * buffer.C:
6075         * lyxfind.C:
6076         * rowpainter.C:
6077         * text.C:
6078         * text2.C: add #include "paragraph.h".
6079
6080         * rowpainter.C:
6081         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6082
6083 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6084
6085         * main.C:
6086         * lyx_main.C:
6087         * lyx_cb.C:
6088         * buffer.C:
6089         * LaTeX.C: use namespace alias for lyx::support::os
6090
6091 2003-09-16  Angus Leeming  <leeming@lyx.org>
6092
6093         * bufferparams.C:
6094         * bufferview_funcs.C:
6095         * factory.C:
6096         * lyxfunc.C:
6097         * paragraph_pimpl.C:
6098         * rowpainter.C:
6099         * text.C: add #include "LColor.h".
6100
6101 2003-09-16  Angus Leeming  <leeming@lyx.org>
6102
6103         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6104         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6105         return LyXFont &.
6106         Store the FontBits::color variable as an int rather than as an
6107         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6108         file.
6109
6110         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6111         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6112         string calls together.
6113
6114         * lyxrc.C: add #include "LColor.h".
6115
6116 2003-09-15  Angus Leeming  <leeming@lyx.org>
6117
6118         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6119         a cow_ptr.
6120
6121 2003-09-15  Angus Leeming  <leeming@lyx.org>
6122
6123         * LColor.h: add an EnumLColor wrapper for LColor::color.
6124
6125         * lyxfont.[Ch] (color, setColor, realColor):
6126         * lyxtext.h, text.C (backgroundColor):
6127         pass EnumLColor args to/from the functions, rather than LColor::color
6128         ones.
6129
6130         * lyxfont.h:
6131         * lyxtext.h: forward declare EnumLColor.
6132
6133         * lyx_main.C: add #include "LColor.h".
6134
6135 2003-09-15  Angus Leeming  <leeming@lyx.org>
6136
6137         * .cvsignore: add lyx-gtk.
6138
6139 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6140
6141         * Chktex.C
6142         * LaTeX.C
6143         * LaTeXFeatures.C
6144         * ParagraphParameters.C
6145         * Spacing.C
6146         * buffer.C
6147         * bufferparams.C
6148         * bufferview_funcs.C
6149         * chset.C
6150         * counters.C
6151         * funcrequest.C
6152         * lyxfont.C
6153         * lyxgluelength.C
6154         * lyxlength.C
6155         * paragraph.C
6156         * paragraph_funcs.C
6157         * text3.C
6158         * vc-backend.C: remove usage of STRCONV
6159
6160 2003-09-15  Angus Leeming  <leeming@lyx.org>
6161
6162         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6163         explicitly define the color passed to the painter.
6164
6165 2003-09-15  Angus Leeming  <leeming@lyx.org>
6166
6167         * bufferparams.C (BufferParams): reorder member initializers to avoid
6168         compiler warning.
6169
6170 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6171
6172         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6173         * text.C (updateRowPositions): remove an unusual nop
6174
6175 2003-09-12  André Pönitz  <poenitz@gmx.net>
6176
6177         * BufferView_pimpl.C:
6178         * Bullet.C:
6179         * layout.h:
6180         * lyxfunc.C:
6181         * lyxlayout.[Ch]:
6182         * lyxtextclass.C:
6183         * rowpainter.C:
6184         * text.C:
6185         * text2.C:
6186         * Counters.[Ch]: finish the 'automatic counters' job
6187
6188 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6189
6190         * aspell.C: include <boost/assert.cpp> (compile fix)
6191
6192 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6193
6194         * boost.C (assertion_failed): use lyx::support::abort instead of
6195         assert.
6196
6197 2003-09-10  Angus Leeming  <leeming@lyx.org>
6198
6199         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6200         with their _fwd progeny.
6201
6202 2003-09-09  Angus Leeming  <leeming@lyx.org>
6203
6204         134 files throughtout the source tree: replace 'using namespace abc;'
6205         directives with the appropriate 'using abc::xyz;' declarations.
6206
6207 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6208
6209         * boost.C (emergencyCleanup): moved here from LAssert.c
6210         (assertion_failed): new function, called by BOOST_ASSERT
6211
6212         * several files: change Assert to BOOST_ASSERT
6213
6214 2003-09-09  Angus Leeming  <leeming@lyx.org>
6215
6216         * buffer.[Ch]: Add an Impl class and move Buffer's member
6217         variables into it. As a result move several header files out of
6218         buffer.h.
6219
6220         Add header files to lots of .C files all over the tree as a result.
6221
6222 2003-09-09  Angus Leeming  <leeming@lyx.org>
6223
6224         * buffer.[Ch]: make Buffer's member variables private. Add
6225         accessor functions.
6226
6227         Lots of changes all over the tree as a result.
6228
6229 2003-09-08  Angus Leeming  <leeming@lyx.org>
6230
6231         * graph.C: #include <config.h>.
6232
6233 2003-09-08  Angus Leeming  <leeming@lyx.org>
6234
6235         * BranchList.C:
6236         * BufferView.C:
6237         * BufferView_pimpl.C:
6238         * CutAndPaste.C:
6239         * DepTable.C:
6240         * LaTeX.C:
6241         * LaTeXFeatures.C:
6242         * LyXAction.C:
6243         * MenuBackend.C:
6244         * TextCache.C:
6245         * aspell.C:
6246         * buffer.C:
6247         * bufferlist.C:
6248         * changes.C:
6249         * chset.C:
6250         * converter.C:
6251         * counters.C:
6252         * debug.C:
6253         * graph.C:
6254         * ispell.C:
6255         * lyx_cb.C:
6256         * lyxfind.C:
6257         * lyxfunc.C:
6258         * lyxlex_pimpl.C:
6259         * lyxrc.C:
6260         * lyxrow.C:
6261         * paragraph.C:
6262         * rowpainter.C:
6263         * texrow.C:
6264         * text.C:
6265         * text2.C:
6266         * toc.C: remove redundant using directives.
6267
6268 2003-09-07  Angus Leeming  <leeming@lyx.org>
6269
6270         * LaTeXFeatures.h: remove #include "support/types.h".
6271         * ToolbarBackend.h: remove #include <algorithm>.
6272         * changes.h: remove #include <ctime>.
6273         * debug.h: remove #include <iosfwd>.
6274         * graph.h: remove #include "support/std_string.h".
6275         * lyx_main.h: remove #include <csignal>.
6276         * lyxlex_pimpl.h: remove #include <fstream>.
6277         * sgml.h: remove #include <algorithm>, <utility>.
6278         * toc.h: remove #include "support/std_ostream.h".
6279         Add #include <iosfwd>.
6280
6281 2003-09-07  Angus Leeming  <leeming@lyx.org>
6282
6283         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6284
6285         * converter.h: forward declare LatexRunParams.
6286         * encoding.h: remove #include "lyxrc.h".
6287         * lyxtext.h: remove #include "LColor.h".
6288         * lyxtextclass.h: remove #include "support/types.h".
6289         * trans.h: remove #include "tex-accent.h".
6290         * trans_mgr.h: remove #include "tex-accent.h".
6291         * insets/inset.h: remove #include "support/types.h", <vector>.
6292         * insets/insetcollapsable.h: remove #include "LColor.h".
6293         * insets/insetinclude.h: remove #include "dimension.h".
6294         * insets/insetlatexaccent.h: remove #include "dimension.h".
6295         * insets/insetoptarg.h:: remove #include "insettext.h".
6296         * insets/insettext.h: remove #include "dimension.h",
6297         <boost/shared_ptr.hpp>
6298
6299         * insets/renderers.h: add #include "dimension.h".
6300         * insets/updatableinset.h: add #include "support/types.h".
6301
6302         * many .C files: Associated changes.
6303
6304 2003-09-06  Angus Leeming  <leeming@lyx.org>
6305
6306         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6307         one, inside testInvariant.
6308
6309         * PrinterParams.C: new file.
6310         * PrinterParams.[Ch]: move the function bodies out of line.
6311
6312 2003-09-06  Angus Leeming  <leeming@lyx.org>
6313
6314         * ParagraphParameters.h: forward declare ParameterStruct rather than
6315         including its header file.
6316         (depth): moved out-of-line.
6317
6318 2003-09-06  Angus Leeming  <leeming@lyx.org>
6319
6320         * BufferView_pimpl.h:
6321         * kbmap.h:
6322         * kbsequence.h:
6323         * lyxfunc.h: forward declare LyXKeySym rather than
6324         #include "frontends/LyXKeySym.h".
6325
6326         * BufferView_pimpl.C:
6327         * kbmap.C:
6328         * kbsequence.C:
6329         * lyxfunc.C: associated changes.
6330
6331 2003-09-06  Angus Leeming  <leeming@lyx.org>
6332
6333         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6334         As a result, can remove the #include "insets/inset.h" from BufferView.h
6335
6336 2003-09-06  Angus Leeming  <leeming@lyx.org>
6337
6338         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6339         As a result, can remove the #include "insets/inset.h" from BufferView.h
6340
6341 2003-09-06  Angus Leeming  <leeming@lyx.org>
6342
6343         * buffer_funcs.C:
6344         * buffer.h:
6345         * bufferlist.C:
6346         * BufferView.C:
6347         * bufferview_funcs.C:
6348         * BufferView_pimpl.C:
6349         * CutAndPaste.C:
6350         * lyx_cb.C:
6351         * lyxfunc.C:
6352         * paragraph.h:
6353         * ParagraphParameters.C:
6354         * tabular.C:
6355         * text3.C:
6356         * toc.C:
6357         * undo_funcs.C:
6358         * frontends/controllers/ControlDocument.C:
6359         * insets/insetcaption.C: rearrange the #includes into some sort of
6360         coherent order.
6361
6362         * buffer.h: remove #includes ErrorList.h, undo.h
6363
6364 2003-09-06  Angus Leeming  <leeming@lyx.org>
6365
6366         * support/types.h: add a 'depth_type' typedef, used to store the
6367         nesting depth of a paragraph.
6368
6369         * paragraph.h:
6370         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6371         defining explicitly.
6372
6373         * buffer.h:
6374         * paragraph_funcs.h:
6375         * ParagraphParameters.h:
6376         * sgml.h: use lyx::depth_type rather than Paragraph or
6377         ParameterStruct's depth_type.
6378
6379         * buffer.h
6380         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6381
6382         * BufferView.C:
6383         * BufferView_pimpl.C:
6384         * CutAndPaste.C:
6385         * ParagraphParameters.C:
6386         * buffer_funcs.C:
6387         * bufferlist.C:
6388         * bufferview_funcs.C:
6389         * lyx_cb.C:
6390         * lyxfunc.C:
6391         * tabular.C:
6392         * text3.C:
6393         * toc.C:
6394         * undo_funcs.C:
6395         * frontends/LyXView.C:
6396         * frontends/controllers/ControlDocument.C:
6397         * frontends/controllers/ControlErrorList.C:
6398         * insets/insetbibitem.C:
6399         * insets/insetbranch.C:
6400         * insets/insetcaption.C:
6401         * insets/insetcollapsable.C:
6402         * insets/insetenv.C:
6403         * insets/insetert.C:
6404         * insets/insetfloat.C:
6405         * insets/insetfoot.C:
6406         * insets/insetfootlike.C:
6407         * insets/insetnewline.C:
6408         * insets/insetquotes.C:
6409         * insets/insettabular.C:
6410         * insets/insettext.C:
6411         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6412
6413         * frontends/controllers/ControlChanges.C: #include "changes.h".
6414
6415 2003-09-06  Angus Leeming  <leeming@lyx.org>
6416
6417         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6418         than #including paragraph.h.
6419
6420         * ParagraphList.h:
6421         * RowList.h: deleted. Superfluous.
6422
6423         * CutAndPaste.h:
6424         * iterators.h:
6425         * lyxcursor.h:
6426         * lyxtext.h:
6427         * text_funcs.h:
6428         * undo.h:
6429         * undo_funcs.h:
6430         * insets/inset.h:
6431         * insets/insettext.h: use ParagraphList_fwd.h rather than
6432         ParagraphList.h.
6433
6434         * paragraph.h: don't forward declare ParagraphList.
6435
6436         * buffer.h:
6437         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6438         rather than ParagraphList.h. paragraph.h is still needed for the
6439         Paragraph::depth_type parameters.
6440
6441         * textcursor.h: enable it to compile stand-alone in light of the
6442         above changes.
6443
6444         * bufferview_funcs.C:
6445         * iterators.C:
6446         * lyxfunc.C:
6447         * lyxrow_funcs.C:
6448         * paragraph.C:
6449         * rowpainter.C:
6450         * text.C:
6451         * text2.C:
6452         * text3.C:
6453         * text_funcs.C:
6454         * textcursor.C:
6455         * undo.C:
6456         * frontends/controllers/ControlParagraph.C:
6457         * frontends/controllers/ControlTabular.C:
6458         * insets/insetmarginal.C:
6459         * insets/insetminipage.C:
6460         * insets/insetnote.C:
6461         * insets/insetoptarg.C: add header files needed to compile again.
6462
6463 2003-09-06  Angus Leeming  <leeming@lyx.org>
6464
6465         * RowList_fwd.h: new file, forward-declaring Row rather than
6466         #including lyxrow.h.
6467
6468         * lyxrow_funcs.h:
6469         * lyxtext.h:
6470         * paragraph.h:
6471         * insets/insettext.h: use it instead of RowList.h
6472
6473         * bufferview_funcs.C:
6474         * lyxfunc.C:
6475         * lyxrow_funcs.C:
6476         * paragraph.C:
6477         * rowpainter.C:
6478         * text.C:
6479         * text2.C:
6480         * text3.C: #include "RowList.h".
6481
6482 2003-09-05  Angus Leeming  <leeming@lyx.org>
6483
6484         * factory.C (createInset):
6485         * vspace.C (c-tor): replace sscanf call with an istringstream.
6486         * ispell.C: re-add missing HP/UX headers.
6487         * lyxserver.C: re-add missing  os2 headers.
6488
6489 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6490
6491         * BranchList.C:
6492         * graph.C:
6493         * ispell.C:
6494         * lastfiles.C:
6495         * lyx_cb.C:
6496         * lyxserver.C:
6497         * texrow.C:
6498         * text3.C: re-add missing system headers, needed for 2.95.2.
6499
6500 2003-09-05  Angus Leeming  <leeming@lyx.org>
6501
6502         Changes most place everywhere due to the removal of using directives
6503         from support/std_sstream.h.
6504
6505 2003-09-05  Angus Leeming  <leeming@lyx.org>
6506
6507         Replace LString.h with support/std_string.h,
6508         Lsstream.h with support/std_sstream.h,
6509         support/LIstream.h with support/std_istream.h,
6510         support/LOstream.h with support/std_ostream.h.
6511
6512         Changes resulting throughout the tree.
6513
6514 2003-09-05  Angus Leeming  <leeming@lyx.org>
6515
6516         * sgml.h: ensure that the header file can be compiled stand-alone.
6517         * *.C: strip out redundant #includes. (320 in total.)
6518
6519 2003-09-04  Angus Leeming  <leeming@lyx.org>
6520
6521         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6522         here (from getPackages).
6523
6524         * debug.[Ch]: add a new EXTERNAL tag.
6525
6526 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6527
6528         * text2.C (cursorEnd): simplify
6529         (setCursor): adjust
6530         (getColumnNearX): adjust
6531
6532         * text.C (computeBidiTables): adjust
6533         (fill): adjust
6534
6535         * rowpainter.C (paintChars): adjust
6536         (paintSelection): adjust
6537         (paintChangeBar): adjust
6538         (paintText): adjust
6539
6540         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6541         lastPos instead.
6542         (numberOfSeparators): adjust
6543
6544 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6545
6546         * LyXAction.C:
6547         * box.[Ch]:
6548         * lfuns.h:
6549         * lyxfunc.C:
6550         * text3.C: Restricts the mouse click functionality
6551         of insets like bibtex, include, toc and floatlist to the visible
6552         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6553         up the dialogs. Cursor has to be in front of the inset (i.e.
6554         start of row) for this to function.
6555
6556 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6557
6558         * bufferview_funcs.C (currentState): output row information
6559
6560 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6561
6562         * bufferview_funcs.C (currentState): output paragraph position
6563
6564 2003-09-04  Angus Leeming  <leeming@lyx.org>
6565
6566         * FloatList.h: move out #include "Floating.h".
6567         * LaTeX.h: move out #include "DepTable.h".
6568         * LyXAction.h: move out #include "funcrequest.h".
6569         * buffer.h: move out #include "author.h", "iterators.h".
6570         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6571         * lyx_main.h: move out #include "errorlist.h".
6572         * lyxfunc.h: move out #include "FuncStatus.h".
6573         * lyxtext: move out #include "lyxcursor.h".
6574         * paragraph_pimpl.h: move out #include "counters.h".
6575
6576 2003-09-03  Angus Leeming  <leeming@lyx.org>
6577
6578         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6579         preamble_snippets list, enabling us to add snippets to the preamble
6580         only if the snippet was not there already.
6581
6582 2003-09-04  Angus Leeming  <leeming@lyx.org>
6583
6584         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6585
6586 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6587
6588         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6589         update
6590
6591 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6592
6593         * BranchList.C: point fix, earlier forgotten
6594
6595 2003-09-02  Angus Leeming  <leeming@lyx.org>
6596
6597         * box.C (contains): renamed from 'contained' after a fantastic
6598         amount of hot air.
6599
6600 2003-09-02  John Levon  <levon@movementarian.org>
6601
6602         * BufferView.C:
6603         * lyxcursor.h:
6604         * lyxcursor.C:
6605         * lyxfunc.C:
6606         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6607
6608 2003-09-02  John Levon  <levon@movementarian.org>
6609
6610         * text2.C: simplification of cursorEnd(), including partial
6611         fix for bug 1376
6612
6613 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6614
6615         * buffer.C (readFile): add a space
6616
6617 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6618
6619         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6620
6621 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6622
6623         * buffer.C (readFile): new function, take a filename and a
6624         ParagraphList::iterator
6625         (readFile): adjust
6626         (readFile): adjust, make it private. don't use setStream, make
6627         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6628         always contain the filename.
6629
6630         * BufferView.C (insertLyXFile): simplify and make it work for
6631         gzipped files.
6632
6633 2003-08-30  John Levon  <levon@movementarian.org>
6634
6635         * Makefile.am: fix dist (from Kayvan)
6636
6637 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6638
6639         * most files: change to use const Buffer refs
6640
6641 2003-08-27  André Pönitz  <poenitz@gmx.net>
6642
6643         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6644         on top of ownerPar().
6645
6646 2003-08-27  John Levon  <levon@movementarian.org>
6647
6648         * funcrequest.C: properly initialise POD members
6649
6650 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6651
6652         * lyxtext.h (top_y): move top_y from here
6653         * text.C:
6654         * text2.C:
6655         * text3.C:
6656         * BufferView.[Ch]:
6657         * BufferView_pimpl.[Ch]: to here
6658         * frontends/screen.C:
6659         * insets/insettabular.C:
6660         * insets/insettext.C: adjust
6661         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6662
6663 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6664
6665         * BufferView.[Ch]:
6666         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6667
6668 2003-08-26  André Pönitz  <poenitz@gmx.net>
6669
6670         * paragraph_func.[Ch] (outerPar): new function
6671
6672         * paragraph.C:
6673         * paragraph_funcs.C:
6674         * paragraph_funcs.h:
6675         * paragraph_pimpl.C:
6676         * text2.C: remove Inset::par_owner
6677
6678 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6679
6680         * lyxrow_funcs.C:
6681         * lyxtext.h:
6682         * text.C:
6683         * text2.C: eliminates the needFullRow/display() stuff
6684         altogether, putting the logic in metrics/draw in the insets.
6685
6686 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6687
6688         * text2.C (redoParagraphInternal, redoParagraphs):
6689         * text.C (redoParagraph): add a call to updateRowPositions at the
6690         end of each 'metrics-like' call. Remove all others.
6691         (getRow): remove the 'y-computing' version.
6692         (getRowNearY): do not compute nor return the real y. Solve the
6693         'y < 0' problem and simplify.
6694
6695 2003-08-22  Angus Leeming  <leeming@lyx.org>
6696
6697         * *.[Ch]: clean-up of licence and author blurbs.
6698         Also move config.h out of a few .h files and into a few .C files.
6699
6700 2003-08-22  André Pönitz  <poenitz@gmx.net>
6701
6702         * lyxrow.[Ch]: add x_ and *fill_ members
6703
6704         * lyxtext.h:
6705         * text.C:
6706         * rowpainter.C:
6707         * text2.C: adjust/remove prepareToPrint() calls
6708
6709 2003-08-22  André Pönitz  <poenitz@gmx.net>
6710
6711         * lyxrow.[Ch]: add  end_ member
6712
6713         * lyxrow_funcs.C: use LyXRow::end_
6714
6715         * lyxtext.h (singleWidth): add LyXFont parameter
6716
6717         * rowpainter.C:
6718         * text2.C: adjust LyXText::singleWidth() calls
6719
6720         * text.C (redoParagraph): simplify row breaking logic
6721
6722
6723 2003-08-19  André Pönitz  <poenitz@gmx.net>
6724
6725         * funcrequest.C: initialize button_ member
6726
6727         * text3.C:
6728         * rowpainter.[Ch]: interface consolidation
6729
6730 2003-08-18  André Pönitz  <poenitz@gmx.net>
6731
6732         * BufferView.C:
6733         * BufferView_pimpl.C:
6734         * lyxfind.C:
6735         * paragraph_funcs.C:
6736         * rowpainter.C:
6737         * text3.C: remove LyXScreen::draw() and fitCursor calls
6738
6739         * BranchList.h: remove spurious semicolons
6740
6741         * MenuBackend.C: fix branchlist related crash
6742
6743 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6744
6745         * BranchList.[Ch]:
6746         * InsetList.[Ch]:
6747         * LColor.[Ch]:
6748         * LyXAction.C:
6749         * Makefile.am:
6750         * MenuBackend.[Ch]:
6751         * bufferparams.[Ch]:
6752         * factory.C:
6753         * lfuns.h:
6754         * lyxfunc.C:
6755         * text3.C: implements the 'branch inset'
6756         idea. This allows the output of various versions of a document
6757         from a single source version, selectively outputing or suppressing
6758         output of parts of the text.
6759         This implementation contains a 'branch list editor' in a separate
6760         tab of the document settings dialog. Branches are user definable
6761         and have a "display colour" to distinguish them on-screen.
6762
6763         ColorHandler was somewhat cleaned up.
6764         (1) make possible a dynamically growing LColor list by allowing
6765         the graphic context cache to grow along (vector);
6766         (2) eliminate an IMHO unnecessary step in colour allocation.
6767
6768 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6769
6770         * BufferView_pimpl.C: compile fix
6771
6772 2003-08-15  André Pönitz  <poenitz@gmx.net>
6773
6774         * rowpainter.C: remove extra metrics calls
6775
6776         * lyxtext.h: merge the two constructors into a single one,
6777           pass reference to owner's par list
6778
6779         * BufferView_pimpl.C:
6780         * text.C:
6781         * text2.C: adjust
6782
6783 2003-08-15  André Pönitz  <poenitz@gmx.net>
6784
6785         * lyxrow_funcs.[Ch]:
6786         * lyxtext.h:
6787         * paragraph.h:
6788         * paragraph_funcs.C:
6789         * rowpainter.C:
6790         * text.C:
6791         * text2.C:
6792         * text3.C:
6793         * text_funcs.C: split LyXText::rowlist_ into individual
6794         Paragraph::rows_ chunks
6795
6796         * BufferView.[Ch]:
6797         * BufferView_pimpl.[Ch]:
6798         * lyxfind.C:
6799         * lyxtext.h:
6800         * text3.C: remove toggleSelection()
6801
6802 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6803
6804         * bufferlist.C: beautify two alerts (shorter text of buttons)
6805         * buffer.C: Remove redundant ' ' from message
6806         * tabular.h:
6807         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6808         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6809         rename VALIGN_CENTER to VALIGN_MIDDLE
6810
6811 2003-08-11  André Pönitz  <poenitz@gmx.net>
6812
6813         * lyxtext.h (getPar):
6814         * text.C: new function
6815
6816 2003-08-11  André Pönitz  <poenitz@gmx.net>
6817
6818         * Makefile.am:
6819         * tracer.[Ch]: remove unneeded files
6820
6821         * InsetList.[Ch]: remove resizeInsetsLyXText()
6822
6823         * lyxtext.h:
6824         * text.C:
6825         * text2.C:
6826         * text3.C: merge insertParagraphs() and appendParagraph()
6827         remove breakAgain(), update()
6828
6829         * BufferView_pimpl.[Ch]:
6830         * bufferview_funcs.[Ch]:
6831         * lyxfunc.C:
6832         * paragraph.[Ch]:
6833         * rowpainter.C:
6834         * tabular.C: adjust after text & InsetList changes.
6835
6836 2003-08-08  André Pönitz  <poenitz@gmx.net>
6837
6838         * text.C (insertChar, backspace): replace rowlist fiddling
6839         with rebreak of full par
6840
6841         * lyxtext.h:
6842         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6843         checkParagraph, updateInset): removed
6844
6845 2003-08-07  André Pönitz  <poenitz@gmx.net>
6846
6847         * paragraph.C:
6848         * text3.C: merge some LFUN handlers, remove dead code
6849
6850 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6851
6852         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6853
6854 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6855
6856         * text2.C (DEPM): fix part of bug 1255 and 1256
6857
6858 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6859
6860         * BufferView_pimpl.C (workAreaDispatch): change to use
6861         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6862         that are no mouse related.
6863
6864 2003-08-05  André Pönitz  <poenitz@gmx.net>
6865
6866         * BufferView.[Ch]:
6867         * BufferView_pimpl.[Ch]:
6868         * bufferview_funcs.C:
6869         * text2.C:
6870         * text3.C: rip out "deep update"
6871
6872         * textcursor.[Ch] (last_sel_cursor): remove unused member
6873
6874 2003-08-04  André Pönitz  <poenitz@gmx.net>
6875
6876         * BufferView.[Ch]:
6877         * BufferView_pimpl.[Ch]:
6878         * ParagraphParameters.C:
6879         * bufferview_funcs.C:
6880         * lyx_cb.C:
6881         * lyxfind.C:
6882         * lyxfunc.C:
6883         * text.C:
6884         * text2.C:
6885         * text3.C: replace "complicated" BufferView::update(...) calls with
6886         simpler ones.
6887
6888         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6889
6890 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6891
6892         * Makefile.am (lyx_SOURCES): add paper.h
6893
6894 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6895
6896         * Makefile.am: move things around so that both lyx-qt and
6897         lyx-xforms can be built (according to --with-frontend). Then lyx
6898         is a symbolic link to lyx-[firstfrontend]
6899
6900 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6901
6902         * Always use std::endl with lyxerr
6903
6904 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6905
6906         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6907
6908 2003-08-01  André Pönitz  <poenitz@gmx.net>
6909
6910         * BufferView.[Ch]:
6911         * BufferView_pimpl.[Ch]:
6912         * lyxfunc.C:
6913         * text3.C: merge BufferView::repaint() and BufferView::update()
6914
6915 2003-08-01  José Matos  <jamatos@lyx.org>
6916
6917         * buffer.[Ch]: file_format is no longer a buffer data element.
6918
6919 2003-08-01  André Pönitz  <poenitz@gmx.net>
6920
6921         * BufferView.C:
6922         * lyxtext.h:
6923         * text.C:
6924         * text2.C: make redoParagraph more independent of current cursor
6925
6926         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6927         * text.C:
6928         * text2.C: remove unneeded members
6929
6930 2003-07-30  André Pönitz  <poenitz@gmx.net>
6931
6932         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6933
6934         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6935           create a single function...
6936
6937         * paragraph_funcs.C (moveItem): ... here.
6938
6939         * text.C:
6940           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6941
6942 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6943
6944         * LColor.[Ch]: Add comment and greyedout logical colors.
6945
6946 2003-07-30  André Pönitz  <poenitz@gmx.net>
6947
6948         * tabular.C: don't use Assert too heavily. This crashes where it
6949           shouldn't
6950
6951 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6952
6953         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6954         is disabled (bug 1232)
6955
6956 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6957
6958         * factory.C: limited 'arg' scope
6959
6960 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6961
6962         * factory.C: fixed Note submenu issues
6963
6964 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6965
6966         * factory.C: submenu for Note/Comment/Greyedout
6967
6968 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6969
6970         * lyx_main.C (LyX):
6971         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6972
6973 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6974
6975         * LaTeXFeatures.C:
6976         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6977         greyedout. Patch provided by Jürgen Spitzmüller.
6978
6979 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6980
6981         * kbmap.C (read): fix error message when reading bind files
6982
6983 2003-07-29  Angus Leeming  <leeming@lyx.org>
6984
6985         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6986         certainly does not do what it purports to do. I am doing it, and
6987         us, a favour by killing it.
6988
6989 2003-07-28  José Matos  <jamatos@lyx.org>
6990
6991         * buffer.C (readBody, do_writeFile):
6992         * paragraph.C(readParagraph): \end_document replaces \the_end.
6993
6994 2003-07-29  André Pönitz  <poenitz@gmx.net>
6995
6996         * BufferView.[Ch]:
6997         * BufferView_pimpl.[Ch]:
6998         * lyxfunc.C:
6999         * text2.C:
7000         * text3.C:
7001         * textcursor.[Ch]: remove toggleToggle & Co
7002
7003 2003-07-28  José Matos  <jamatos@fep.up.pt>
7004
7005         * buffer.C (readParagraph):
7006         * params_func (readParToken, readParagraph):
7007         * paragraph.C (write): \layout -> \begin_layout.
7008
7009 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * lyxlex_pimpl.C (setFile): clean up slightly.
7012
7013         * bufferparams.h: add compressed var
7014
7015         * buffer_funcs.C (readFile): adjust for LyXLex change
7016         (newFile): ditto + simplify
7017
7018         * buffer.C (writeFile): handle writing of compressed files
7019
7020         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
7021         Check if the file is compressed and set a bufferparm if so.
7022
7023         * Makefile.am (lyx_LDADD): remove explicit -lz
7024
7025 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7026
7027         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7028         makeDocBookFile): put the real LyX version in the first line of
7029         the file
7030
7031         * version.h:
7032         * version.C.in: remove lyx_docversion
7033
7034         * tabular.C (write_attribute): add a template-based version to
7035         write enums properly
7036
7037 2003-07-28  André Pönitz  <poenitz@gmx.net>
7038
7039         * lyxtext.h:
7040         * text.C:
7041         * text2.C:
7042         * text3.C: use doubles again for x-coordinates. They are needed.
7043
7044 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7045
7046         * messages.C (getLocaleDir): use lyx_localedir()
7047
7048         * lyxlex_pimpl.C (setFile): compress stuff
7049
7050         * buffer.C (writeFile): add some compression stuff
7051         (do_writeFile): new func, dont call expliti close... will this
7052         breake anything?
7053
7054         * Makefile.am (lyx_LDADD): add -lz
7055
7056 2003-07-28  José Matos  <jamatos@fep.up.pt>
7057
7058         * buffer.C: increment file format.
7059         * paragraph_funcs (readParagraph, readParToken):
7060         * paragraph.C (readParagraph): add \end_layout.
7061
7062 2003-07-27  Angus Leeming  <leeming@lyx.org>
7063
7064         * Makefile.am: remove special casing for configure-time setting of
7065         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7066
7067         * lyx_main.C (init): remove all Jean-Marc's magic setting of
7068         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7069
7070 2003-07-26  André Pönitz  <poenitz@gmx.net>
7071
7072         * paragraph_func.[Ch]:
7073         * paragraph.C (realizeFont): inline it whereever it is used
7074
7075         * rowpainter.C:
7076         * text.C:
7077         * text2.C:
7078         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7079
7080
7081 2003-07-26  André Pönitz  <poenitz@gmx.net>
7082
7083         *       lyxtext.h:
7084         * text.C:
7085         * text2.C: get rid of LyXText::need_break_row
7086
7087 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7088
7089         * toc.[Ch]: put namespace toc inside namespace lyx
7090
7091         * MenuBackend.C (expandToc2): adjust for lyx::toc
7092         (expandToc): ditto
7093
7094         * lyxfunc.C (dispatch): adjust for lyx::find
7095
7096         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7097         lyx::find instead. Reorganize a bit.
7098         (LyXReplace): rename to replace
7099         (LyXFind): rename to find
7100
7101         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7102         (dispatch): ditto
7103
7104 2003-07-26  André Pönitz  <poenitz@gmx.net>
7105
7106         * text.C (setHeightOfRow): restrict scope of temporary variable
7107
7108         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7109           code (never has been used?)
7110
7111 2003-07-27  Asger Alstrup  <alstrup@local>
7112
7113         * text.C (fill): Optimise algorithm to exploit that we can reuse
7114         the LyXFont for many characters.
7115         (setHeightOfRow): Same thing.
7116         (rowBreakPoint): Same thing.
7117
7118 2003-07-26  Asger Alstrup  <alstrup@local>
7119
7120         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7121
7122         * text.C (singleWidth): Spurious font copying in hot-spot
7123         singleWidth avoided. Reorder tests for arabic for efficiency.
7124
7125         * text.C (fill): handle empty paragraphs better.
7126
7127 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7128
7129         * ispell.C:
7130         * encoding.h: add includes
7131
7132         * lyxrc.C: remove reading of bind files
7133
7134         * lyx_main.C (init): setup bindings and menus only if we have a
7135         gui.
7136
7137         * kbmap.C (read): new method. Do the actual reading of bind
7138         files.
7139
7140         * converter.C (dvipdfm_options):
7141         * bufferparams.C:
7142         * lyxrc.C (read):
7143         (output): adapt PAPER_* enums.
7144
7145         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7146
7147         * bufferparams.h: remove paper-related enums from there
7148
7149         * paper.h: New file. A trivial header file to hold paper-related
7150         enums. It should later expand to contain many paper-related
7151         horrors access.
7152
7153         * lyxrc.C: declare extern displayTranslator
7154
7155 2003-07-27  José Matos  <jamatos@fep.up.pt>
7156
7157         * tabular.[Ch] (linuxdoc): add support for tables and figures
7158         (linuxdoc).
7159
7160 2003-07-27  José Matos  <jamatos@fep.up.pt>
7161
7162         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7163         consistency in both functions.
7164         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7165
7166 2003-07-26  Asger Alstrup  <alstrup@local>
7167
7168         * rowpainter.C (paintRows): Change algorithm to work directly on
7169         the insets rather than asking every character in the document
7170         whether its an inset.
7171
7172 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7173
7174         * buffer.C (openFileWrite): factorize some code
7175
7176 2003-07-26  Angus Leeming  <leeming@lyx.org>
7177
7178         * lyx_cb.C:
7179         * lyx_main.[Ch]: replace occurances of system_tempdir with
7180         os::getTmpDir().
7181
7182 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7183
7184         * rename Inset to InsetOld
7185
7186 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7187
7188         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7189         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7190         which I think is a bit clearer. EDIT is gone, since it was
7191         premature optimisation, and broken for mathed anyway.
7192         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7193         with cursor positioning in insets as well (math insets still do not
7194         work, but that's a different story anyway.) It mysteriously
7195         crashes sometimes with undo in the first paragraph, but I'm fairly
7196         confident that this is a compiler bug.
7197
7198 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7199
7200         * paragraph.C (Paragraph): adjust for new clone return type
7201         (operator==): ditto
7202         (copyIntoMinibuffer): ditto
7203
7204 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7205
7206         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7207         by not having a special case, and always doing a full rebreak of
7208         the document after undo.
7209
7210 2003-07-23  Angus Leeming  <leeming@lyx.org>
7211
7212         * factory.C (createInset): InsetExternal::setParams now takes a
7213         Buffer const * arg.
7214
7215 2003-07-23  Angus Leeming  <leeming@lyx.org>
7216
7217         * factory.C (createInset): changed interface to the external and
7218         graphics mailers' string2params functions.
7219
7220 2003-07-23  Angus Leeming  <leeming@lyx.org>
7221
7222         * factory.C (createInset): pass a
7223         Buffer const * parameter to InsetExternalMailer's string2params.
7224
7225 2003-07-22  John Levon  <levon@movementarian.org>
7226
7227         * Thesaurus.h: include the right aiksaurus header
7228
7229 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7230
7231         * MenuBackend.C (expand): check menu shortcuts unconditionally
7232
7233 2003-07-21  Angus Leeming  <leeming@lyx.org>
7234
7235         * factory.C (createInset): pass a
7236         buffer_path parameter to InsetGraphicsMailer's string2params.
7237
7238 2003-07-21  Angus Leeming  <leeming@lyx.org>
7239
7240         * BufferView_pimpl.C (buffer):
7241         * buffer.C (d-tor):
7242         * lyx_main.C (LyX):
7243         * lyxfunc.C (dispatch):
7244         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7245         rather than the grfx shortcut.
7246
7247 2003-07-21  André Pönitz  <poenitz@gmx.net>
7248
7249         * rowpainter.C: remove unused variables
7250
7251         * tabular_funcs.C:
7252         * tabular_funcs.h: move to tabular.C
7253         * Makefile.am: adjust
7254
7255         * tabular.[Ch]: basic optical cleaning
7256
7257         * author.h: pass references, not values
7258
7259 2003-07-18  André Pönitz  <poenitz@gmx.net>
7260
7261         * lyxtext.h:
7262         * metricsinfo.C:
7263         * metricsinfo.h:
7264         * rowpainter.C:
7265         * text.C:
7266         * text2.C:
7267         * text3.C: two-phase drawing for InsetText and InsetTabular
7268         some float -> int changes.
7269
7270 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7271
7272         * lyx_main.C: fix the fix
7273
7274 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7275
7276         * lyx_main.C: fix a crash in batch mode if no files specified
7277         * converter.C: ws
7278
7279 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7280
7281         * format.[Ch] (papersize): moved to BufferParams
7282         * converter.[Ch] (dvips_options): moved to BufferParams
7283         (dvipdfm_options): moved to anon namespace
7284         * bufferparams.[Ch]: added above functions.
7285
7286 2003-07-17  André Pönitz  <poenitz@gmx.net>
7287
7288         * lyxtext.h:
7289         * rowpainter.C:
7290         * text2.C: don't call inset->update() anymore
7291
7292         * metricsinfo.[Ch]: add convenience constructor
7293
7294 2003-07-16  André Pönitz  <poenitz@gmx.net>
7295
7296         * lyxcursor.[Ch]:
7297         * lyxfunc.[Ch]:
7298         * text.C:
7299         * text2.C: replace the LyXCursor::irow_ member with
7300          on-demand computation of the value
7301
7302 2003-07-16  John Levon  <levon@movementarian.org>
7303
7304         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7305
7306 2003-07-15  André Pönitz  <poenitz@gmx.net>
7307
7308         * text.C:
7309         * text2.C: remove no more needed refresh_row
7310
7311 2003-07-15  André Pönitz  <poenitz@gmx.net>
7312
7313         * lyxtext.h:
7314         * rowpainter.C:
7315         * text2.C:
7316         * text3.C: refresh_status tristate -> need_update bool
7317
7318 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7319
7320         * lyxtext.h (init): remove reinit argument (act as if always true)
7321         * text2.C: adjust to that
7322
7323 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7324
7325         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7326         * text3.C: use it to delete selections in some cases
7327         (bugs 441, 673, 702, 954).
7328
7329 2003-07-14  André Pönitz  <poenitz@gmx.net>
7330
7331         * rowpainter.[Ch]: reduce interface
7332
7333 2003-07-14  André Pönitz  <poenitz@gmx.net>
7334
7335         * BufferView_pimpl.C:
7336         * text2.C: adjust after removing unused BufferView * argument
7337
7338 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7339
7340         * text2.C (init): fix a crash fired on resize
7341
7342 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7343
7344         * buffer.[Ch]: added new closing signal
7345         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7346         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7347         BufferView::Pimpl via the closing the signal
7348
7349 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7350
7351         * buffer.[Ch]: take out all bv-related from buffer
7352         * BufferView.C:
7353         * BufferView_pimpl.[Ch]: connect to new signals
7354         * CutAndPaste.C: removed useless asserts
7355         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7356         * lyxvc.[Ch]:
7357         * vc-backend.[Ch]:
7358         * lyxfunc.C: moved view-related funciontality from vc here
7359         * paragraph.C: removed outdated comments
7360         * text.C: ws
7361
7362 2003-07-10  André Pönitz  <poenitz@gmx.net>
7363
7364         * BufferView_pimpl.C:
7365         * tabular.h:
7366         * tabular_funcs.C:
7367         * text.C:
7368         * text2.C: remove InsetText::InnerCache, clean up consequences
7369
7370 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7371
7372         * ispell.C: fix two typos in error messages
7373
7374 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7375
7376         * Extend Note inset to other forms of annotation like Comment
7377         and Greyedout. Right button click gives dialog.
7378
7379         Files modified or added (+):
7380
7381         * insetnote.[Ch]
7382         * FormNote.[Ch]      +
7383         * ControlNote.[Ch]   +
7384         * form_note.fd       +
7385         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7386         frontends/controllers
7387         * xforms/Dialogs.C
7388         * factory.C
7389
7390 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7391
7392         * aspell.C: add missing namespace lyx::support
7393
7394 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7395
7396         * BufferView.[Ch] (newFile): Add
7397         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7398         * LaTeX.[Ch] (message): added this signal and use it
7399         * buffer.[Ch] (busy, message): added these signals and use them
7400         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7401         * converter.C:
7402         * exporter.C:
7403         * format.C:
7404         * importer.C: use buffer signals instead of direct bv calling
7405         * lyx_cb.[Ch] (ShowMessage): removed
7406         * lyx_main.C:
7407         * lyxfunc.C:
7408         * paragraph_funcs.C:
7409         * text2.C: use buffer signals
7410
7411 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7412
7413         * introduce namespace lyx::graphics
7414
7415 2003-07-02  André Pönitz  <poenitz@gmx.net>
7416
7417         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7418
7419 2003-07-01  André Pönitz  <poenitz@gmx.net>
7420
7421         * text.C:
7422         * text2.C:
7423         * text3.C:
7424         * text_funcs.[Ch]:
7425         * textcursor.h:
7426         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7427           text*.C to text_func.C
7428
7429 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7430
7431         * introduce namespace lyx::support
7432
7433 2003-06-30  André Pönitz  <poenitz@gmx.net>
7434
7435         * Chktex.C:
7436         * funcrequest.C:
7437         * lyxtext.h:
7438         * text.C: re-enable --with-included-string
7439
7440 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7441
7442         * textcursor.C: add <config.h>
7443
7444         * text.C (getWord): remove const from word_location arg
7445
7446         * lyxvc.C (getLogFile): fix const type order
7447
7448         * lyxtext.h: remove const from word_location arg, add arg name
7449
7450         * lyxlayout.h: currect type on labeltype.
7451
7452         * importer.C: correct \file
7453
7454         * converter.C (intToFormat): use std:: on ret val, ws changes
7455
7456         * bufferlist.h: correct \file
7457
7458         * buffer.C (makeLinuxDocFile): fix const type order
7459         (makeDocBookFile): ditto
7460         (fillWithBibKeys): use std:: on stdlib args.
7461
7462         * CutAndPaste.C: fix authors.
7463         (availableSelections): use std:: on return vector
7464
7465 2003-06-27  André Pönitz  <poenitz@gmx.net>
7466
7467         * BufferView_pimpl.C:
7468         * bufferview_funcs.C:
7469         * lyxcursor.C:
7470         * lyxcursor.h:
7471         * lyxfunc.C:
7472         * lyxtext.h:
7473         * rowpainter.C:
7474         * text.C:
7475         * text2.C:
7476         * text3.C: remove LyXCursor::row_ member
7477
7478         * lyxtext.h:
7479         * text.C: rename fullRebreak() to partialRebreak() and implement
7480           a fullRebreak() that really bereks fully
7481
7482         * textcursor.h: new struct for cursor-related data
7483
7484 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7485
7486         * lyx_main.C (LyX): get full path of document loaded on the
7487         command line
7488
7489 2003-06-26  André Pönitz  <poenitz@gmx.net>
7490
7491         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7492           remove unused/broken operator>,<,>=.
7493
7494         *       text.C: remove only use of broken operator<= in an Assert().
7495
7496 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7497
7498         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7499         moved errorlist_.clear to showErrorList
7500
7501 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7502
7503         * converter.C (scanLog, runLaTeX):
7504         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7505         move the bv->showErrorList call to the callers
7506         * lyxfunc.C: i.e. here...
7507         * text2.C: and here
7508         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7509         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7510         namespace, the second to...
7511         * buffer_funcs (BufferFormat, parseErrors): added
7512         * errorlist.C (ErrorList(TeXErrors const &)): removed
7513
7514 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7515
7516         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7517
7518 2003-06-24  "Garst R. Reese" <reese@isn.net>
7519
7520         * debug.C: fix typo
7521
7522 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7523
7524         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7525
7526         * version.C.in: change docversion to 1.4
7527
7528 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7529
7530         * buffer.C: fix a bug just introduced
7531
7532 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7533
7534         * buffer.[Ch]: added the parseError signal and use it, removed
7535         sgmlError
7536         * BufferView.[Ch] (addError): moved to ...
7537         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7538         to the Buffer::parseError signal to catch (guess what) parse errors
7539         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7540
7541 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7542
7543         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7544         ability to create a buffer and to return an existing one from
7545         the list. Moved these functions to...
7546         * buffer_funcs.[Ch]: added
7547         * BufferView.[Ch] (loadLyXFile): added
7548         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7549         job removed from bufferlist::loadLyXFile.
7550         * buffer.C (setReadOnly): make it work without view
7551         (i.e added an if (users))
7552
7553 2003-06-19  Angus Leeming  <leeming@lyx.org>
7554
7555         * lfuns.h:
7556         * LyXAction.C (init):
7557         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7558         with LFUN_DIALOG_SHOW <name> <data>.
7559
7560 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7561
7562         * CutAndPaste.C (availableSelections): small compilation fix for
7563         ancient (gcc 2.9x) compilers
7564
7565 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7566
7567         * text3.C (cursorNext): add tmp var
7568
7569         * text2.C (updateCounters): for function calling out of for clause
7570         (replaceSelectionWithString): ditto
7571         (insertStringAsParagraphs): ditto
7572         (getColumnNearX): add tmp var
7573         (setCursorFromCoordinates): add tmp var
7574         (cursorDownParagraph): add tmp var
7575         (deleteEmptyParagraphMechanism): add tmp var
7576
7577         * text.C (insertChar): add tmp var
7578
7579         * rowpainter.C (paintDepthBar): add tmp var
7580
7581         * CutAndPaste.C (availableSelections): potentially check all
7582         paragraphs in a cut to fill the shown strings.
7583
7584 2003-06-18  André Pönitz  <poenitz@gmx.net>
7585
7586         * kbmap.[Ch]: use vector<> instead of list<>
7587
7588 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7589
7590         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7591         pasteSelection with index
7592
7593         * text2.C (pasteSelection): modify, call pasteSelection with index
7594
7595         * paragraph.C (asString): reimplement version with no interval to
7596         call the one with interval.
7597
7598         * lyxtext.h: add index arg to pasteSelection
7599
7600         * MenuBackend.C (MenuItem): handle PasteRecent
7601         (Menu::read::Menutags): add md_pasterecent
7602         (read): handle it
7603         (expandPasteRecent): new function
7604         (expand): use it
7605
7606         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7607
7608         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7609         the limited stack
7610         (availableSelections): new function
7611
7612 2003-06-17  Angus Leeming  <leeming@lyx.org>
7613
7614         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7615
7616 2003-06-17  Angus Leeming  <leeming@lyx.org>
7617
7618         * lfuns.h:
7619         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7620
7621         * lyxfunc.C (dispatch): invoke it.
7622
7623 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7624
7625         * iterators.C (operator++, ParPosition): reintroduce some
7626         const_cast for the benefit of older compilers.
7627
7628 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7629
7630         * text3.C (dispatch): do not modify clipboard when doing
7631         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7632         LFUN_DELETE_SKIP on a selection selection
7633
7634 2003-06-16  André Pönitz  <poenitz@gmx.net>
7635
7636         * BufferView.C:
7637         * buffer.C:
7638         * buffer.h:
7639         * paragraph.C:
7640         * tabular.[Ch]: IU of clone() and getLabelList();
7641
7642 2003-06-13  André Pönitz  <poenitz@gmx.net>
7643
7644         * tabular.h: compactification
7645
7646 2003-06-12  André Pönitz  <poenitz@gmx.net>
7647
7648         * tabular.C:
7649         * tabular.h:
7650         * tabular_funcs.h: some renaming plus whitespace
7651
7652 2003-06-12  André Pönitz  <poenitz@gmx.net>
7653
7654         * BufferView.C:
7655         * BufferView_pimpl.C:
7656         * CutAndPaste.C:
7657         * buffer.C:
7658         * iterators.[Ch]:
7659         * lyxfunc.C:
7660         * text.C:
7661         * toc.C: Return a Paragraph & for ParIterator::operator*()
7662
7663 2003-06-11  John Levon  <levon@movementarian.org>
7664
7665         * lyx_main.C:
7666         * ToolbarBackend.h:
7667         * ToolbarBackend.C: add "Toolbars" section and
7668         put the flags there
7669
7670 2003-06-10  Angus Leeming  <leeming@lyx.org>
7671
7672         * lfuns.h:
7673         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7674
7675         * lyxfunc.C (dispatch): invoke it.
7676
7677 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7678
7679         * main.C: protect <ios> with HAVE_IOS
7680         (main): protect sync_with_stdio with HAVE_IOS
7681
7682 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7683
7684         * text2.C (cutSelection): adjust
7685         (pasteSelection): adjust
7686
7687         * messages.C: handle get of empty string
7688
7689         * main.C (main): use sync_with_stdio(false)
7690
7691         * lyxfunc.C (dispatch): adjust
7692
7693         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7694         (WriteAs): remove unneeded BufferView arg.
7695
7696         * bufferparams.h: use correct types on papersize, papersize2 and
7697         paperpackage.
7698
7699         * bufferparams.C (readToken): adjust for type
7700         (writeLaTeX): add missing cases to switch.
7701
7702         * bufferlist.C (quitWriteBuffer): adjust
7703         (close): adjust
7704
7705         * buffer.C (asciiParagraph): remove some commented code.
7706
7707         * CutAndPaste.C: remove current_view extern variable.
7708         (cutSelection): add BufferParams arg.
7709         (eraseSelection): add BufferParams arg.
7710         (pasteSelection): add Buffer const & arg
7711
7712 2003-06-07  John Levon  <levon@movementarian.org>
7713
7714         * buffer.C:
7715         * paragraph_funcs.C:
7716         * paragraph_pimpl.C:
7717         * text.C:
7718         * text2.C:
7719         * paragraph.h:
7720         * paragraph.C: allow InsetERT to freely space lines,
7721         and some consolidation of code
7722
7723 2003-06-06  José Matos  <jamatos@fep.up.pt>
7724
7725         * buffer.C (makeDocBookFile): fix bug #821
7726
7727 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7728
7729         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7730
7731 2003-06-04  Angus Leeming  <leeming@lyx.org>
7732
7733         * buffer.C: bump format to 224.
7734
7735 2003-06-05  André Pönitz  <poenitz@gmx.net>
7736
7737         * text2.C (redoParagraphs): remove two const_cast<>
7738
7739 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7740
7741         * ParagraphList.h: remove last remnants of NO_STD_LIST
7742
7743 2003-06-03  Angus Leeming  <leeming@lyx.org>
7744
7745         * factory.C (createInset): small change to the way InsetExternal's params
7746         are set.
7747
7748 2003-06-04  André Pönitz  <poenitz@gmx.net>
7749
7750         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7751
7752         * paragraph_pimpl.h:
7753         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7754
7755         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7756
7757         * undo_funcs.C: make some simple cases of undo work again
7758
7759 2003-06-03  John Levon  <levon@movementarian.org>
7760
7761         * ispell.C: HPUX doesn't have sys/select.h
7762         (from Albert Chin)
7763
7764 2003-06-03  John Levon  <levon@movementarian.org>
7765
7766         * CutAndPaste.C: update tabular and include inset
7767         buffer references
7768
7769         * buffer.h:
7770         * paragraph.h:
7771         * paragraph.C: remove owningBuffer(), don't pass Buffer
7772         to clone()
7773
7774         * factory.C: insetGraphicsParams changed
7775
7776 2003-06-02  John Levon  <levon@movementarian.org>
7777
7778         * LyXAction.C:
7779         * factory.C:
7780         * lfuns.h:
7781         * lyxfunc.C:
7782         * text3.C: remove insetparent
7783
7784 2003-06-02  John Levon  <levon@movementarian.org>
7785
7786         * buffer.h:
7787         * buffer.C: fix inset_iterator.end(), move out of line
7788         (bug 1149)
7789
7790 2003-06-01  John Levon  <levon@movementarian.org>
7791
7792         * text3.C: use a proper cut/paste when doing inset
7793         insert (from Jürgen Spitzmüller)
7794
7795 2003-06-01  John Levon  <levon@movementarian.org>
7796
7797         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7798
7799 2003-05-30  André Pönitz  <poenitz@gmx.net>
7800
7801         * rowpainter.C: unify second drawing phase
7802
7803 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7804
7805         * trans_mgr.C: remove one case of current_view
7806
7807         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7808
7809         * paragraph_funcs.h: remove paragraph.h include
7810
7811         * paragraph.h: delete NO_STD_LIST stuff
7812
7813         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7814
7815         * buffer.h: remove paragraph.h include
7816
7817         * ParagraphList.C: delete file
7818
7819         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7820
7821         * toc.C (getTocList): adjust
7822
7823         * paragraph_pimpl.C (validate): adjust
7824
7825         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7826
7827         * paragraph.C (Paragraph): adjust
7828         (getPositionOfInset): use const_iterator, adjust
7829         (bibitem): use const_iterator, adjust
7830         (setInsetOwner): adjust
7831
7832         * iterators.C (operator++): adjust
7833
7834         * InsetList.[Ch]: Replace selfmade iterator with standard
7835         vector::iterator also introduce const_iterator. Remove getPos,
7836         getInset and setInset from InsetTable. Adjust accordingly.
7837
7838         * BufferView.C (lockInset): adjust
7839         (ChangeInsets): adjust
7840
7841         * tabular.[Ch]: delete commented same_id functions
7842
7843 2003-05-28  John Levon  <levon@movementarian.org>
7844
7845         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7846
7847 2003-05-28  André Pönitz  <poenitz@gmx.net>
7848
7849         * metricsinfo.[Ch]: remove 'fullredraw' member
7850
7851 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7852
7853         * lyxtextclass.C (operator): remove caching.
7854
7855 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7856
7857         * text3.C: adjust
7858
7859         * text2.C (cursorBottom): adjust
7860         (setCounter): use ParagraphList::find, adjust
7861
7862         * text.C (workWidth): use ParagraphList::find, adjust
7863
7864         * lyxcursor.C (LyXCursor): adjust
7865
7866         * buffer.C (inset_iterator): adjust
7867
7868         * ParagraphList.h: make iterator(value_type) private, make
7869         ParagraphList a friend of iterator.
7870
7871         * ParagraphList.C (find): new function
7872
7873         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7874
7875 2003-05-27  André Pönitz  <poenitz@gmx.net>
7876
7877         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7878
7879 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7880
7881         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7882
7883 2003-05-26  John Levon  <levon@movementarian.org>
7884
7885         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7886
7887 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * remove same_id from function signatures, adjust.
7890
7891 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7892
7893         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7894
7895         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7896
7897         * paragraph.C (Paragraph): get rid of same_ids parameter
7898
7899         * ParagraphList.C (insert): adjust
7900         (push_back): adjust
7901
7902 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7903
7904         * paragraph_funcs.C (breakParagraph): adjust
7905         (breakParagraphConservative): adjust
7906
7907         * buffer.C (readParagraph): adjust
7908
7909         * ParagraphList.C (insert): take a reference instead of a pointer
7910         (insert): adjust
7911
7912         * paragraph.[Ch] (id): new function
7913
7914         * bufferlist.C (newFile): adjust
7915
7916         * ParagraphList.C (ParagraphList): adjust
7917         (assign): adjust
7918         (push_back): take a reference instead of a pointer.
7919
7920         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7921
7922         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7923         instead.
7924
7925         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7926         set else use old code.
7927
7928         * ParagraphList.C: remove all NO_NEXT code and only compile this
7929         code of NO_STD_LIST is set.
7930
7931 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7932
7933         * BufferView_pimpl.C:
7934         * TextCache.C:
7935         * TextCache.h:
7936         * bufferlist.C:
7937         * errorlist.h:
7938         * format.C:
7939         * format.h:
7940         * graph.C:
7941         * lyxfunc.C:
7942         * lyxrc.C:
7943         * graphics/GraphicsConverter.C:
7944         * graphics/PreviewLoader.C: header adjustment
7945
7946 2003-05-23  Angus Leeming  <leeming@lyx.org>
7947
7948         * LaTeXFeatures.[Ch] (useBabel): new method.
7949         * bufferparams.C (writeLaTeX): use it.
7950
7951 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7952
7953         * ParagraphList.h (set): remove unused function.
7954
7955 2003-05-23  André Pönitz  <poenitz@gmx.net>
7956
7957         * BufferView.C:
7958         * BufferView_pimpl.C:
7959         * buffer.C:
7960         * buffer.h:
7961         * lyxfunc.C:
7962         * undo_funcs.C: setUndo reworked
7963
7964         * iterators.[Ch]: add access to topmost ParagraphList
7965
7966         * lyxtext.[Ch] (workWidth): add a const
7967
7968 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7969
7970         * texrow.[Ch] (increasePos): remove function
7971         * exporter.C (export): removed unused var and outdated comment
7972
7973 2003-05-23  Angus Leeming  <leeming@lyx.org>
7974
7975         * latexrunparams.h: rename fragile as moving_arg.
7976         * paragraph.C (simpleTeXOnePar): ditto.
7977         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7978
7979 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7980
7981         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7982         (createUndo): ditto
7983         (textUndoOrRedo): comment out a currently unused var.
7984
7985         * paragraph.h (NO_NEXT): enable NO_NEXT
7986
7987         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7988
7989         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7990
7991         * exporter.C (Export): adjust for removeAutoInsets removal.
7992
7993         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7994
7995         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7996
7997         * BufferView.[Ch] (removeAutoInsets): delete function
7998
7999 2003-05-22  Angus Leeming  <leeming@lyx.org>
8000
8001         * latexrunparams.h: add a free_spacing variable.
8002
8003         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
8004         to pass moving_arg, as the data is stored in runparams.fragile.
8005
8006         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
8007         to Inset::latexOptional or to simpleTeXOnePar.
8008
8009         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
8010         free_spacing arg to Inset::latexOptional.
8011
8012         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8013         free_spacing arg.
8014
8015 2003-05-22  Angus Leeming  <leeming@lyx.org>
8016
8017         * latexrunparams.h: add fragile and use_babel variables.
8018
8019         * bufferparams.[Ch] (writeLaTeX): return use_babel.
8020         * buffer.C (makeLaTeXFile): store this returned value in
8021         runparams.use_babel, thus passing it to the inset::latex methods.
8022
8023         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
8024         simpleTeXSpecialChars as it is now stored in runparams.fragile.
8025
8026         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8027         longer has a fragile arg, as it is stored in runparams.fragile.
8028
8029         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8030         moving_arg parameter as the data is stored in runparams.fragile.
8031
8032         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8033         a fragile parameter as the data is stored in runparams.fragile.
8034
8035 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8036
8037         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8038
8039 2003-05-22  Angus Leeming  <leeming@lyx.org>
8040
8041         * latexrunparams.h: add a 'bool nice' which defaults to false.
8042
8043         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8044         now encapsulated within runparams.
8045
8046         * bufferlist.C (updateIncludedTeXfiles):
8047         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8048
8049 2003-05-22  Angus Leeming  <leeming@lyx.org>
8050
8051         * latexrunparams.h: new file containing struct LatexRunParams.
8052         * Makefile.am: add new file.
8053
8054         * LaTeX.[Ch] (c-tor, run):
8055         * buffer.[Ch] (makeLaTeXFile):
8056         * bufferlist.[Ch] (updateIncludedTeXfiles):
8057         * converter.C (convert, scanLog):
8058         * converter.[Ch] (runLaTeX):
8059         * exporter.C (Export):
8060         * paragraph.[Ch] (simpleTeXOnePar):
8061         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8062         * paragraph_funcs.[Ch] (latexParagraphs):
8063         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8064         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8065         pass around a LatexRunParams parameter.
8066
8067 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8068
8069         * paragraph.[Ch]: remove unused constructor
8070
8071         * ParagraphList.C (erase): new function, taking two iterators
8072
8073 2003-05-22  André Pönitz  <poenitz@gmx.net>
8074
8075         * undo_funcs.C: remove duplicated code
8076
8077         * iterator.[Ch]: operator=
8078
8079 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8080
8081         * tabular.C (SetMultiColumn): ws changes
8082
8083         * rowpainter.C (paintFirst): get rid of a ->previous
8084
8085         * lyx_cb.C (getPossibleLabel): parlist simplification
8086
8087         * BufferView.C (ChangeInsets): simplify slightly.
8088
8089 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8090
8091         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8092         * lfuns.h: new LFUN_SPACE
8093         * lyxfunc.C: protected space has a new lfun
8094         * paragraph_funcs.C: read new space insets
8095         * text3.C:
8096         * factory.C: handle new space insets
8097
8098 2003-05-22  André Pönitz  <poenitz@gmx.net>
8099
8100         * BufferView.C:
8101         * BufferView_pimpl.C:
8102         * buffer.[Ch]:
8103         * lyxfunc.C:
8104         * undo_funcs.C: return a ParIterator from getParFromID.
8105
8106         * iterators.[Ch]: add two const's
8107
8108 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8109
8110         * toc.C (getTocList): adjust
8111
8112         * iterators.[Ch]: rework for parlist
8113
8114         * buffer.C (par_iterator_begin): adjust
8115         (par_iterator_end): adjust
8116
8117         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8118
8119         * BufferView.C (removeAutoInsets): adjust
8120         (ChangeInsets): adjust
8121
8122 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8123
8124         * text.C (top_y): fix bug 1110
8125
8126 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8127
8128         * errorlist.[Ch]: added
8129         * buffer.C:
8130         * BufferView.[Ch]:
8131         * BufferView_pimpl.C:
8132         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8133         instead
8134
8135 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8136
8137         * Makefile.am: ensure that lyx is relinked upon changes to the
8138         various "convenience" libs.
8139
8140 2003-05-20  Angus Leeming  <leeming@lyx.org>
8141
8142         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8143         files are compiled in alphabetical order again.
8144
8145         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8146
8147 2003-05-19  Angus Leeming  <leeming@lyx.org>
8148
8149         * gettext.[Ch]: remove "char const * _(char const *)".
8150
8151 2003-05-19  André Pönitz  <poenitz@gmx.net>
8152
8153         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8154
8155         * Makefile.am:
8156         * BufferView.C:
8157         * DepTable.h:
8158         * LaTeXFeatures.C:
8159         * buffer.C:
8160         * lyxfont.C:
8161         * lyxlex.h:
8162         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8163
8164 2003-05-19  André Pönitz  <poenitz@gmx.net>
8165
8166         * buffer.C:
8167         * lyxlayout.[Ch]:
8168         * lyxtextclass.[Ch]:
8169         * paragraph.C:
8170         * paragraph_funcs.[Ch]:
8171         * text2.C:
8172         * text3.C: more insetenv work
8173
8174 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8175
8176         * ParagraphParameters.C (params2string): small bug fixed
8177
8178 2003-05-16  André Pönitz  <poenitz@gmx.net>
8179
8180         * debug.C:
8181         * bufferview_funcs.C: patch from Kornel Benko to prevent
8182           crash when _(...) is called twice in a statement
8183
8184 2003-05-16  André Pönitz  <poenitz@gmx.net>
8185
8186         * BufferView.C:
8187         * lyxfunc.C:
8188         * text.C:
8189         * text2.C:
8190         * text3.C:
8191         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8192
8193 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8194
8195         * lyx_main.C (init): remove spurious static_cast
8196
8197 2003-05-14  André Pönitz  <poenitz@gmx.net>
8198
8199         * BufferView.C: fix format string
8200
8201 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8202
8203         * BufferView.[Ch] (insertErrors): removed
8204         * BufferView.[Ch] (showErrorList): added
8205         * buffer.C (runChkTeX):
8206         * converter.C (scanLog): call showErrorList instead of inserterrors
8207
8208 2003-05-13  André Pönitz  <poenitz@gmx.net>
8209
8210         * BufferView_pimpl.C:
8211         * buffer.C:
8212         * bufferview_func.C:
8213         * MenuBackend.C:
8214         * lyxfunc.C:
8215         * lyxrc.C:
8216         * tex-accent.C:
8217         * text3.C:
8218         * toc.C:
8219         * tabular_funcs.h: tostr() from its own header
8220
8221         * ParagraphParameters.C:
8222         * ToolbarBackend.C:
8223         * bufferparams.C:
8224         * format.C:
8225         * lyxlex_pimpl.C:
8226         * text3.C: STRCONV()
8227
8228 2003-05-12  André Pönitz  <poenitz@gmx.net>
8229
8230         * BufferView.C:
8231         * BufferView_pimpl.C:
8232         * CutAndPaste.C:
8233         * LaTeX.C:
8234         * LaTeXFeatures.C:
8235         * ParagraphParameters.C:
8236         * buffer.C:
8237         * bufferlist.C:
8238         * bufferparams.C:
8239         * bufferview_funcs.C:
8240         * converter.C:
8241         * counters.C:
8242         * debug.C:
8243         * exporter.C:
8244         * format.C:
8245         * importer.C:
8246         * lyx_cb.C:
8247         * lyx_main.C:
8248         * lyxfont.C:
8249         * lyxfunc.C:
8250         * lyxvc.C:
8251         * paragraph.C:
8252         * paragraph_funcs.C:
8253         * tabular.C:
8254         * tabular_funcs.C:
8255         * text2.C:
8256         * text3.C:  boost::format -> bformat  all over the place
8257
8258
8259 2003-05-09  André Pönitz  <poenitz@gmx.net>
8260
8261         * LColor.[Ch]: Pimpl the #include <map> away
8262
8263 2003-05-09  John Levon  <levon@movementarian.org>
8264
8265         * bufferlist.C: never remove emergency saves
8266
8267 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8268
8269         * Makefile.am: better lib building
8270
8271 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8272
8273         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8274         instead.
8275         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8276         (simpleTeXSpecialChars): adjust
8277         (simpleTeXSpecialChars): adjust
8278         * paragraph.C (simpleTeXOnePar): adjust
8279         * buffer.C (makeLaTeXFile): adjust
8280
8281         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8282
8283         * text2.C (changeDepth): parlist cleanup
8284         (getColumnNearX): ditto
8285
8286         * rowpainter.C (getLabelFont): parlist cleanup
8287
8288         * bufferlist.C (newFile): parlist cleanup
8289
8290         * CutAndPaste.C (eraseSelection): parlist cleanup
8291
8292         * BufferView_pimpl.C (trackChanges): parlist cleanup
8293         (dispatch): ditto
8294
8295         * BufferView.C (lockInset): parlist cleanup.
8296         (ChangeInsets): ditto
8297
8298 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8299
8300         * CutAndPaste.h: Update file header.
8301
8302         * CutAndPaste.C: Update file header.
8303         Store the parts cut out of the Document in a limited_stack.
8304         (copySelection): adjust
8305         (pasteSelection): new function, takes the index in the limited stack.
8306         (nrOfParagraphs): adjust
8307         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8308         simplify error inset insertion.
8309         (checkPastePossible): adjust
8310
8311 2003-05-06  John Levon  <levon@movementarian.org>
8312
8313         * text2.C: don't cast wrap inset to float
8314
8315 2003-05-05  André Pönitz  <poenitz@gmx.net>
8316
8317         * iterator.C:
8318         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8319
8320         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8321           few naked Paragraph *.
8322
8323 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8324
8325         * bufferparams.C: Output warning if a document with missing
8326         TeX document class is loaded
8327         * exporter.C: Disable TeX exports if the document class is missing
8328         * lyxtextclass.C:
8329         * lyxtextclass.h:
8330         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8331         isTeXClassAvailable()
8332
8333 2003-05-03  John Levon  <levon@movementarian.org>
8334
8335         * BufferView.h:
8336         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8337         explicit cursor show/hide
8338
8339         * BufferView_pimpl.h:
8340         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8341         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8342
8343         * lyxfunc.C: hide cursor before dispatching.
8344
8345         * lyx_cb.C:
8346         * lyxfind.C:
8347         * text.C:
8348         * text3.C: remove explicit cursor hides
8349
8350 2003-05-02  André Pönitz  <poenitz@gmx.net>
8351
8352         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8353
8354         * undo_funcs.C:
8355         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8356           linked lists
8357
8358         * text2.C: tiny whitespace
8359
8360 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8361
8362         * undo_funcs.C: almost only ws changes.
8363
8364         * ParagraphList.C (splice): just return if pl is empty.
8365
8366 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8367
8368         * ParagraphList.C (splice): new function.
8369
8370         * CutAndPaste.C (pasteSelection): use it
8371
8372 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8373
8374         * CutAndPaste.C (pasteSelection): remove the last next and
8375         previous from this file.
8376
8377 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8378
8379         * CutAndPaste.C (pasteSelection): more clean up, user proper
8380         ParagraphList functions for pasteing.
8381
8382         * ParagraphList.C (insert): new function, three arg insert
8383
8384 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8385
8386         * ParagraphList.C (insert): new function, three arg insert
8387
8388         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8389         not on paragraphs.
8390
8391 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8392
8393         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8394
8395 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8396
8397         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8398
8399 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8400
8401         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8402         (copySelection): clean up a bit.
8403         (pasteSelection): use make_pair
8404
8405         * ParagraphList.C (ParagraphList): implement copy constructor
8406         (operator=): implement, base on copy constructor.
8407         (assign): new func
8408
8409         * paragraph.C (erase): return a bool
8410
8411         * paragraph_pimpl.C (erasePos): remove function, move contents...
8412         (erase): ... here. Return a bool.
8413         (erase): call erase instead of erasePos.
8414
8415 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8416
8417         * ParagraphList.h: define PitPosPair
8418         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8419         ParagraphList, fix a bug on pasting multiple pars
8420         * text2.C: change interface to C&P
8421
8422 2003-04-30  André Pönitz  <poenitz@gmx.net>
8423
8424         * undo_func.C: revert part of yesterday's patch 2
8425
8426 2003-04-30  John Levon  <levon@movementarian.org>
8427
8428         * LColor.C: s/tabular/table/
8429
8430 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8431
8432         * text3.C (dispatch): do not convert iterator -> pointer
8433         * undo_funcs.C (setCursorParUndo): ditto
8434         * text_funcs.C (transposeChars): ditto
8435
8436         * text2.C (setLayout): ws changes only
8437
8438         * text.C (breakParagraph): do not convert iterator -> pointer
8439         (insertChar): ditto
8440         (acceptChange): ditto
8441         (rejectChange): ditto
8442         (changeCase): ditto
8443         (Delete): ditto
8444         (backspace): ditto
8445
8446         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8447         pointer
8448
8449 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8450
8451         * text3.C (gotoInset): YABG (yet another bad getChar)
8452
8453 2003-04-29  André Pönitz  <poenitz@gmx.net>
8454
8455         * paragraph.h: make operator= private unimplemented as long as
8456           it is unusable
8457
8458         * ParagraphList.C: whitespace
8459
8460         * paragraph.[Ch]:
8461         * paragraph_pimpl.[Ch]:
8462         * paragraph_funcs.C:
8463         * CutAndPaste.C:
8464         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8465
8466         * text2.C:
8467           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8468
8469 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8470
8471         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8472         * paragraph.[Ch] (erase):
8473         * paragraph_pimpl.[Ch] (erase): change return type and value
8474         * text2.C (cutSelection): some rework
8475
8476 2003-04-28  John Levon  <levon@movementarian.org>
8477
8478         * bufferlist.C: changes for unsaved changes dialog
8479
8480 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8481
8482         * bufferlist.C (newFile): set language (messages_) for new
8483         documents also.
8484
8485         * buffer.C (readFile): ws changes only.
8486
8487 2003-04-28  André Pönitz  <poenitz@gmx.net>
8488
8489         * undo_funcs.C:
8490         * lyxfunc.C:
8491         * buffer.[Ch]:
8492         * BufferView_pimpl.C:
8493         * BufferView.C: getParFromID related ParagraphList::iterator changes
8494
8495 2003-04-28  André Pönitz  <poenitz@gmx.net>
8496
8497         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8498           Changes
8499
8500 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8501
8502         * messages.C: remove one more localedir class variable.
8503
8504 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8505
8506         * messages.C (getLocaleDir): singleton generation function
8507         (Pimpl): use it.
8508         (Messages): add a default constructor.
8509
8510         * main.C (main): do not setup localedir here, do not call
8511         gettext_init.
8512
8513         * gettext.C (_): use it.
8514         (gettext_init): delete funciton
8515
8516 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8517
8518         * gettext.C (getLyXMessages): new singleton generating function.
8519
8520         * buffer.C (updateDocLang): adjust
8521
8522         * Makefile.am (messages.o): add target
8523         (main.o): remove target
8524
8525 2003-04-27  John Levon  <levon@movementarian.org>
8526
8527         * bufferlist.C:
8528         * lyx_cb.C:
8529         * lyxfunc.C:
8530         * lyxvc.C: specify cancel button in Alert::prompt
8531
8532 2003-04-26  John Levon  <levon@movementarian.org>
8533
8534         * text3.C:
8535         * lyxfunc.C:
8536         * lfuns.h:
8537         * LyXAction.C: add LFUN_INSET_SETTINGS
8538
8539         * lyxfunc.C: don't enable tabular-feature when there's
8540         just any locking inset
8541
8542 2003-04-26  John Levon  <levon@movementarian.org>
8543
8544         * bufferlist.C: re-add Cancel to buffer close question
8545
8546         * lyxfunc.C: fix import UI a bit
8547
8548 2003-04-25  John Levon  <levon@movementarian.org>
8549
8550         * gettext.C: remove the broken asserts for now
8551
8552 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8553
8554         * messages.C: make case where setlocale cannot comply work better.
8555
8556         * buffer.C (updateDocLang): new function
8557         (changeLanguage): use it
8558         (readFile): use it
8559
8560         * text2.C (setCounter): use B_ a bit.
8561
8562         * lyxlayout.C (Read): be sure to trim the label strings.
8563
8564         * messages.C (Messages): fix typo in comment
8565
8566         * buffer.C (readFile): set message_ after file is loaded.
8567         (makeDocBookFile): remove double return
8568         (changeLanguage): reset message_ upon language change.
8569         (B_): new func, use this to get translated buffer strings.
8570
8571         * main.C: add myself and Jean Marc as authors.
8572
8573 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8574
8575         * messages.[hC]: pimplify Messages, and three different pimpls to be
8576         used in different circumstances.
8577
8578         * gettext.[Ch]: change for use with new message code.
8579
8580 2003-04-24 André Pönitz <poenitz@gmx.net>
8581
8582         * factory.C: support for eqref
8583
8584 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8585
8586         * messages.[Ch]: add missing char
8587
8588         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8589
8590         * messages.[Ch]: New files
8591
8592 2003-04-18  John Levon  <levon@movementarian.org>
8593
8594         * BufferView.h:
8595         * BufferView.C:
8596         * BufferView_pimpl.C:
8597         * lfuns.h:
8598         * LyXAction.C:
8599         * lyxtext.h:
8600         * text2.C: remove layout-copy/paste (bug 778)
8601
8602 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8603
8604         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8605
8606 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8607
8608         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8609         if they succeed. Act accordingly.
8610
8611 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8612
8613         * text2.C (setCharFont): adjust
8614         (setCounter): adjust
8615         (insertStringAsLines): adjust
8616
8617         * text.C (leftMargin): adjust
8618         (setHeightOfRow): adjust
8619
8620         * rowpainter.C (paintFirst): adjust
8621         (paintLast): adjust
8622
8623         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8624         (outerHook): ditto
8625         (isFirstInSequence): ditto
8626         (getEndLabel): ditto
8627         (outerFont): adjust
8628
8629         * paragraph.C (getParLanguage): comment out some hard stuff.
8630
8631         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8632         (sgmlError): ditto
8633         (simpleDocBookOnePar): ditto
8634         (makeDocBookFile): use ParagraphList::iterator
8635
8636         * CutAndPaste.C (pasteSelection): adjust
8637
8638 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8639
8640         * text2.C (getFont): adjust
8641         (getLayoutFont): adjust
8642         (getLabelFont): adjust
8643
8644         * paragraph_funcs.C (TeXOnePar): adjust
8645
8646         * buffer.C (simpleLinuxDocOnePar): adjust
8647         (simpleDocBookOnePar): adjust
8648
8649         * CutAndPaste.C (pasteSelection): adjust
8650
8651         * BufferView.C (getEncoding): adjust
8652
8653         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8654
8655 2003-04-16  John Levon  <levon@movementarian.org>
8656
8657         * lyxfind.C: use parlist stuff for search/changes
8658
8659 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8660
8661         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8662
8663         * text2.C (deleteEmptyParagraphMechanism): adjust
8664
8665         * text2.[Ch] (ownerParagraph): delete func (both of them
8666
8667 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8668
8669         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8670
8671 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8672
8673         * ParagraphList.C: prepare for NO_NEXT
8674
8675 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8676
8677         * text2.C (getFont): adjust
8678         (getLayoutFont): adjust
8679         (getLabelFont): adjust
8680
8681         * paragraph.C (getFont): adjust
8682         (getLabelFont): adjust
8683         (getLayoutFont): adjust
8684
8685         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8686
8687 2003-04-15  John Levon  <levon@movementarian.org>
8688
8689         From Angus Leeming
8690
8691         * lyx_main.C: handle Include in .ui files
8692
8693 2003-04-15  John Levon  <levon@movementarian.org>
8694
8695         * MenuBackend.C: make the doc files length shorter
8696
8697         * ToolbarBackend.h:
8698         * ToolbarBackend.C: handle toolbar placement flags,
8699         Minibuffer
8700
8701 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8702
8703         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8704         adjust
8705
8706         * paragraph_funcs.C (TeXOnePar): adjust
8707
8708         * paragraph.C (getLabelFont): add outerfont arg, adjust
8709         (getLayoutFont): ditto
8710         (simpleTeXOnePar): adjust
8711
8712         * paragraph_pimpl.C (realizeFont): delete func
8713
8714 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8715
8716         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8717         row argument, constify cur argument.
8718
8719 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8720
8721         * text2.C (getFont): adjust
8722         (getLayoutFont): adjust
8723         (getLabelFont): adjust
8724
8725         * paragraph_funcs.C (TeXOnePar): adjust
8726         (outerFont): new func...
8727         (realizeFont): ...moved out from here, changed this to facilitate
8728         transition
8729
8730         * paragraph.C (getFont): take outerfont as arg, adjust
8731         (simpleTeXOnePar): add outerfont arg, adjust
8732
8733         * buffer.C (simpleLinuxDocOnePar): adjust
8734         (simpleDocBookOnePar): adjust
8735
8736         * CutAndPaste.C (pasteSelection): adjust
8737
8738         * BufferView.C (getEncoding): adjust
8739
8740 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8741
8742         * text2.C (setCharFont): adjust
8743         (setCounter): adjust
8744
8745         * text.C (leftMargin): adjust
8746         (setHeightOfRow): adjust
8747
8748         * rowpainter.C (paintFirst): adjust
8749         (paintLast): adjust
8750
8751         * paragraph_pimpl.C (realizeFont): adjust
8752
8753         * paragraph.C (isFirstInSequence): move from here...
8754         * paragraph_funcs.C (isFirstInSequence): ...to here
8755
8756         * paragraph.C (outerHook): move from here...
8757         * paragraph_funcs.C (outerHook): ...to here
8758
8759         * paragraph.C (depthHook): move from here...
8760         * paragraph_funcs.C (depthHook): ...to here
8761
8762         * paragraph.C (getEndLabel): move from here...
8763         * paragraph_funcs.C (getEndLabel): ...to here
8764
8765         * text2.C (realizeFont): move from here...
8766         * paragraph_funcs.C (realizeFont): ...to here
8767
8768 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8769
8770         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8771
8772 2003-04-14  Angus Leeming  <leeming@lyx.org>
8773
8774         * LColor.[Ch]: scrap LColor mathcursor.
8775
8776 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8777
8778         * lyxlex.[Ch] (text): delete function
8779         * trans.C (Load): adjust
8780         * paragraph_funcs.C (readParToken): adjust
8781
8782 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8783
8784         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8785         vector<char> instead of a char[].
8786
8787         * lyxlex_pimpl.C (getString): adjust
8788         (next): adjust
8789         (lex): use getString
8790         (eatLine): adjust
8791         (nextToken): adjust
8792
8793         * lyxlex.C (text): use pimpl_->getString()
8794         (getBool): ditto
8795         (findToken): ditto
8796
8797 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8798
8799         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8800         (makeFontEntriesLayoutSpecific): temp var for par.size()
8801         (setLayout): temp var for ownerParagraphs().end()
8802         (fullRebreak): temp var for rows().end()
8803         (selectionAsString): temp var for boost::next(startpit), realize
8804         that the while really is a regular for loop.
8805         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8806         setCursor in one place.
8807         (setParagraph): temp vr for ownerParagraphs().end()
8808         (updateCounters): make the while loop a for loop
8809         (cutSelection): temp var for ownerParagraphs().end()
8810         (updateInset): make the do {} while() a regular for loop
8811         (getCursorX): use temp vars
8812         (setCurrentFont): use temp vars
8813         (getColumnNearX): use temp vars
8814
8815 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8816
8817         * text.C (transformChar): use temp var for getChar
8818         (computeBidiTables): use temp var for row->par()
8819         (fill): move temp vars for row->par() and pit->layout() earlier in
8820         the function.
8821         (labelFill): use temp var for row->par()
8822         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8823         asc and desc, realize that pit never changes and that firstpit is
8824         just a duplicate and not needed. Exchange rit->par() with pit in a
8825         lot of places.
8826         (breakAgain): use a temp var for boost::next(rit)
8827         (breakAgainOneRow): ditto
8828         (breakParagraph): use a temp var for rows().begin()
8829         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8830         (cursorRightOneWord): use temp var for cursor.par() and
8831         cursor.pos(), remove usage of tmpcursor.
8832         (cursorLeftOneWord): use temp var for cursor.par() and
8833         cursor.pos() only set cur at end of function.
8834
8835 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8836
8837         * text.C, text2.C: exchange all usage of Paragraph::next with
8838         boost::next(ParagraphList::iterator)
8839
8840         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8841
8842         * text2.C (cursorTop): simplify implementation
8843         (cursorBottom): ditto
8844         (setParagraph): use ParagraphList::iterator
8845         (setCurrentFont): adjust
8846         (getColumnNearX): adjust
8847         (cursorRight): adjust
8848         (cursorLeft): remove usage of Paragraph::previous
8849         (cursorUpParagraph): ditto
8850         (deleteEmptyParagraphMechanism): slight cleanup
8851
8852         * text.C (isBoundary): take a Paragraph const & instead of a
8853         pointer as arg.
8854         (addressBreakPoint): ditto
8855         (leftMargin): remove usage of Paragraph::previous.
8856         (setHeightOfRow): ditto
8857         (cursorLeftOneWord): ditto
8858         (selectNextWordToSpellcheck): ditto
8859         (Delete): ditto
8860         (backspace): ditto
8861         (breakParagraph): remove one usage of Paragraph::next
8862         (redoParagraph): ditto
8863         (acceptChange): ditto
8864         (insertChar): adjust
8865         (rowBreakPoint): adjust
8866
8867         * bufferview_funcs.C (toggleAndShow): adjust
8868
8869 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8870
8871         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8872         methods to access it.
8873         * lyxtext.h:
8874         * text.C: Added updateRowPositions to compute all row positions.
8875         Make top_y and getRowNearY() to use the cached y position
8876
8877 2003-04-11  John Levon  <levon@movementarian.org>
8878
8879         * text.C (rowBreakPoint): reintroduce the labelEnd
8880         checks, code copied from the row fill stuff. Deep voodoo.
8881
8882         * text.C (fill): add a comment and debugging for the
8883         next poor soul.
8884
8885 2003-04-11  John Levon  <levon@movementarian.org>
8886
8887         * text.C: make sure fullrow insets get wrapped to the next line,
8888         even when they're in a manual label
8889
8890 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8891
8892         * text2.C (insertParagraph): make it take ParagraphList::iterator
8893         as arg.
8894         (setLayout): make it return ParagraphList::iterator
8895         (redoParagraphs): ditto
8896         (setCounter): ditto
8897         (checkParagraph): ditto
8898
8899         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8900
8901         * text2.C: adjust several funcs.
8902         (realizeFont): take a ParagraphList::iterator as arg.
8903         (getLayoutFont): ditto
8904         (getLabelFont): ditto
8905         (setCharFont): ditto
8906
8907         * text.C: adjust several funcs.
8908
8909 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8910
8911         * text.C (selectNextWordToSpellcheck): don't accidentally
8912         skip insets
8913
8914 2003-04-10  John Levon  <levon@movementarian.org>
8915
8916         * ToolbarBackend.C (getIcon): special handling for
8917         LFUN_MATH_DELIM
8918
8919 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8920
8921         * text2.C (cursorRight): a getChar assert fixed
8922
8923 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8924
8925         * text2.C (getFont): change to take a ParagraphList::iterator
8926         instead of Paragraph*
8927         Adjust several functions.
8928
8929         * text.C (transformChar): change to take a ParagraphList::iterator
8930         instead of Paragraph*
8931         (singleWidth): ditto
8932         Adjust several functions.
8933
8934         * rowpainter.C: adjust several functions
8935         * rowpainter.h:store a ParagraphList::iterator and not a
8936         Paragraph&.
8937
8938
8939 2003-04-09  John Levon  <levon@movementarian.org>
8940
8941         * lyxfunc.C:
8942         * lfuns.h:
8943         * LyXAction.h:
8944         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8945         and the "help" bits as well
8946
8947 2003-04-09  John Levon  <levon@movementarian.org>
8948
8949         * ToolbarBackend.h:
8950         * ToolbarBackend.C: allow multiple toolbars
8951
8952 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8953
8954         * undo_funcs.C (setCursorParUndo): adjust
8955
8956         * text_funcs.C (transposeChars): adjust
8957
8958         * text3.C (gotoNextInset): adjust
8959         (dispatch): adjust
8960
8961         * text2.C (setLayout): adjust
8962         (changeDepth): adjust
8963         (setFont): adjust
8964         (redoParagraphs): adjust
8965         (selectionAsString): adjust
8966         (setParagraph): adjust
8967         (insertInset): adjust
8968         (cutSelection): adjust
8969         (copySelection): adjust
8970         (pasteSelection): adjust
8971         (insertStringAsLines): adjust
8972         (updateInset): adjust
8973         (setCursor): change to take a ParagraphList::iterator parameter
8974         (setCursorIntern): change to take a ParagraphList::iterator parameter
8975         (setCurrentFont): adjust
8976         (cursorLeft): adjust
8977         (cursorRight): adjust
8978         (deleteEmptyParagraphMechanism): adjust
8979
8980         * text.C (breakParagraph): adjust
8981         (insertChar): adjust
8982         (acceptChange): adjust
8983         (rejectChange): adjust
8984         (selectNextWordToSpellcheck): adjust
8985         (changeCase): adjust
8986         (Delete): adjust
8987         (backspace): adjust
8988
8989         * lyxfind.C (SearchForward): adjust
8990         (SearchBackward): adjust
8991         (nextChange): adjust
8992
8993         * lyxcursor.C (par): adjust
8994
8995         * lyxcursor.h: store a ParagraphList::iterator instead of a
8996         Paragraph*
8997
8998         * lyx_cb.C (getPossibleLabel): adjust
8999
9000         * bufferview_funcs.C (toggleAndShow): adjust
9001
9002         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9003         (dispatch): adjust
9004
9005         * BufferView.C (removeAutoInsets): adjust
9006         (lockedInsetStoreUndo): adjust
9007
9008 2003-04-09  John Levon  <levon@movementarian.org>
9009
9010         * ToolbarBackend.C: try icon without argument
9011         if with argument fails
9012
9013 2003-04-08  John Levon  <levon@movementarian.org>
9014
9015         * ToolbarBackend.h:
9016         * ToolbarBackend.C: add getIcon(), handle tooltip,
9017         and change from "Icon" to "Item".
9018
9019 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9020
9021         * BufferView.C (lockInset): another bad getchar crunched
9022
9023 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9024
9025         * text2.C (changeDepth): do not setUndo on test_only (make undo work
9026         again)
9027
9028 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
9029
9030         * lyxfind.C (searchForward, searchBackwards): bug 782
9031
9032 2003-04-07  John Levon  <levon@movementarian.org>
9033
9034         * paragraph.C: remove dead comment
9035
9036         * text.C: remove troublesome depth-fiddling code
9037         in leftMargin() and rightMargin() (bug 1017)
9038
9039         * text.C: fix breaking of rows in nested lists
9040         (bug 1004)
9041
9042         * text2.C (updateCounters): fix up depth values
9043         (bug 1013)
9044
9045 2003-04-07  John Levon  <levon@movementarian.org>
9046
9047         * BufferView_pimpl.C: clear message when doc finishes resizing,
9048         and after a mouse event
9049
9050         * lyxfunc.C: clear message after exiting inset
9051
9052 2003-04-07  John Levon  <levon@movementarian.org>
9053
9054         * bufferview_funcs.C: show math status not outside
9055         status in the statusbar
9056
9057 2003-04-07  John Levon  <levon@movementarian.org>
9058
9059         * lyxfunc.C: note status changed after a depth change
9060
9061 2003-04-04  Angus Leeming  <leeming@lyx.org>
9062
9063         * LaTeX.h: move AuxInfo operator==, != out of line.
9064         Remove LaTeX virtual destructor; nothing derives from it.
9065         Move operator()() out of public area and rename it startscript().
9066         Change protected for private.
9067
9068 2003-04-04  Angus Leeming  <leeming@lyx.org>
9069
9070         * lyxfunc.C:
9071         * text2.C: remove unneeded #includes.
9072
9073 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9074
9075         * text2.C (dEPM): fix the heigth of the next row
9076
9077 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9078
9079         * text.C: squashed an invalid getChar requester + some ws changes
9080
9081 2003-04-03  John Levon  <levon@movementarian.org>
9082
9083         * bufferview_funcs.h:
9084         * bufferview_funcs.C:
9085         * lyxfunc.C:
9086         * lyxtext.h:
9087         * text2.C: make getStatus work for the env depth lfuns
9088
9089 2003-04-03  John Levon  <levon@movementarian.org>
9090
9091         * bufferview_funcs.h:
9092         * bufferview_funcs.C:
9093         * lyxfunc.C:
9094         * lyxtext.h:
9095         * text2.C: parlistize decDepth(), by merging it with incDepth()
9096
9097 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9098
9099         * lyxrow.h: store a ParagraphList::iterator instead of a
9100         Paragraph* and adjust other class functions to suit.
9101
9102         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9103         above.
9104
9105 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9106
9107         * text2.C (setCursor): do not anchor to cursor row for the time being
9108
9109 2003-04-02  John Levon  <levon@movementarian.org>
9110
9111         * LyXAction.C:
9112         * lfuns.h:
9113         * lyx_main.C:
9114         * lyxtext.h:
9115         * text.C:
9116         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9117
9118 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9119
9120         * paragraph.h: make ParagraphList and ParagraphList::iterator
9121         friends of Paragraph.
9122
9123         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9124
9125         * ParagraphList.C: Use the private next_ and previous_ from
9126         Paragraph.
9127
9128 2003-04-01  John Levon  <levon@movementarian.org>
9129
9130         * ToolbarBackend.h:
9131         * ToolbarBackend.C:
9132         * Makefile.am: rename, remove defaults gunk
9133
9134         * MenuBackend.h:
9135         * MenuBackend.C: remove defaults gunk
9136
9137         * Languages.h:
9138         * Languages.C: remove defaults gunk
9139
9140         * lyx_main.h:
9141         * lyx_main.C: error out if files couldn't be found.
9142
9143 2003-04-02  John Levon  <levon@movementarian.org>
9144
9145         * text2.C: make incDepth() use parlist
9146
9147 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9148
9149         * undo_funcs.C (firstUndoParagraph): adjust
9150
9151         * text3.C (gotoInset): adjust
9152         (dispatch): adjust, and rewrite loop.
9153
9154         * text2.C (init): adjust, and rewrite loop.
9155         (redoParagraphs): adjust
9156         (updateInset): adjust, and rewrite loop.
9157         (deleteEmptyParagraphMechanism): adjust
9158
9159         * tabular.C (LyXTabular): adjust
9160         (SetMultiColumn): adjust
9161         (TeXRow): adjust
9162
9163         * lyxtext.[Ch] (ownerParagraph): delete function
9164         (ownerParagraphs): new function returns a ParagraphList.
9165
9166         * BufferView.C (removeAutoInsets): adjust
9167         (insertErrors): adjust
9168         (setCursorFromRow): adjust
9169
9170 2003-04-01  Angus Leeming  <leeming@lyx.org>
9171
9172         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9173         in the frontends.
9174
9175 2003-04-02  John Levon  <levon@movementarian.org>
9176
9177         * lyxtext.h:
9178         * text.C:
9179         * Makefile.am:
9180         * text_funcs.h:
9181         * text_funcs.C: make transposeChars a free function
9182
9183         * lyxrow_funcs.C: remove wrong comment
9184
9185 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9186
9187         * lyxtext.h: adjust
9188         * rowpainter.C: adjust
9189         * text.C: adjust
9190         * text2.C: adjust
9191         * text3.C: adjust
9192
9193         * lyxrow_funcs. [Ch]: new files
9194
9195         * lyxrow.[Ch]: remove next and previous pointers
9196         (next,previous): remove accessor functions
9197         (isParEnd): move to lyxrow_funcs
9198         (lastPos): move to lyxrow_funcs
9199         (nextRowIsAllInset): move to lyxrow_funcs
9200         (lastPrintablePos): move to lyxrow_funcs
9201         (numberOfSeparators): move to lyxrow_funcs
9202         (numberOfHfills): move to lyxrow_funcs
9203         (numberOfLabelHfills): move to lyxrow_funcs
9204         (hfillExpansion): move to lyxrow_funcs
9205
9206         * lyxfunc.C: adjust
9207
9208         * bufferview_funcs.C (toggleAndShow): adjust
9209
9210         * RowList.h: Remove class RowList from file leave just a
9211         std::list<Row>.
9212
9213         * RowList.C: delete file
9214
9215         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9216         and lyxrow_funcs.h
9217
9218 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9219
9220         * text3.C (cursorPrevious): adjust
9221         (cursorNext): adjust
9222         (dispatch): adjust
9223
9224         * text2.C (redoHeightOfParagraph): adjust
9225         (redoDrawingOfParagraph): adjust
9226         (setCursor): adjust
9227
9228         * text.C (breakParagraph): adjust
9229         (insertChar): adjust
9230         (backspace): adjust
9231
9232         * rowpainter.C (RowPainter): adjust
9233         (leftMargin): simplify and adjust
9234         (most rowpainter functions): adjust.
9235
9236         * rowpainter.h: store the row as RowList::iterator not as Row*
9237
9238         * lyxcursor.C (row): taka RowList::iterator as arg
9239         (irow): ditto
9240
9241         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9242         of Row*.
9243
9244 2003-04-01  Angus Leeming  <leeming@lyx.org>
9245
9246         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9247         stuff like bool Bool.
9248
9249 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9250
9251         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9252         rewrite a loop
9253
9254 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9255
9256         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9257         RowList::iterator.
9258
9259         * lyxtext.h (rows): drop one version and leve a const variant that
9260         returns a RowList::iterator.
9261
9262 2003-03-31  Angus Leeming  <leeming@lyx.org>
9263
9264         * text.C (fill): ensure that the signature is the same as that in the
9265         header file.
9266
9267 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9268
9269         * text2.C (redoParagraphs): adjust
9270         (updateCounters): adjust
9271         (checkParagraph): adjust
9272         (getColumnNearX): adjust and reformat a bit.
9273
9274         * text.C (top_y): adjust
9275         (workWidth): adjust
9276         (leftMargin): adjust
9277         (prepareToPrint): adjust
9278         (getRow): adjust
9279         (getRowNearY): adjust
9280
9281         * lyxtext.h: make rowlist_ mutable.
9282
9283         * RowList.h: add const_iterator
9284         * RowList.C: adjust for RowList::const_iterator.
9285
9286         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9287         adjust.
9288
9289 2003-03-31  John Levon  <levon@movementarian.org>
9290
9291         * lyxrc.h:
9292         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9293
9294         * lyx_main.C: set default fonts from using lyx_gui funcs
9295
9296         * exporter.C: pdf_mode moved from lyxrc
9297
9298         * lyx_cb.C:
9299         * lyxfunc.C: changes from above
9300
9301 2003-03-31  John Levon  <levon@movementarian.org>
9302
9303         * lyx_main.C: fix to the last fix
9304
9305 2003-03-31  John Levon  <levon@movementarian.org>
9306
9307         * bufferlist.C: "Load original" -> "Load Original"
9308
9309         * converter.C:
9310         * exporter.C:
9311         * importer.C:
9312         * lyx_main.C:
9313         * format.C: more Alert cleanups
9314
9315 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9316
9317         * text2.C (removeParagraph): make it take a RowList::iterator as
9318         arg, adjust.
9319         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9320         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9321
9322         * text.C (anchor_row): make it take a RowList::iterator as arg,
9323         adjust.
9324         (computeBidiTables): make it take a const reference to Row instead
9325         of Row pointer, adjust.
9326         (leftMargin): make it take a RowList::iterator as arg, adjust.
9327         (rowBreakPoint): adjust
9328         (breakAgainOneRow): make it take a RowList::iterator as arg,
9329         adjust.
9330         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9331
9332         * bufferview_funcs.C (toggleAndShow): adjust
9333
9334 2003-03-30  John Levon  <levon@movementarian.org>
9335
9336         * Makefile.am:
9337         * BoostFormat.h:
9338         * boost-inst.C: moved to support
9339
9340         * several files: changes as a result
9341
9342 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9343
9344         * text2.C (LyXText): adjust.
9345         (init): adjust
9346         (removeRow): make it take a RowList::iterator as arg, adjust.
9347         (fullRebreak): adjust
9348         (deleteEmptyParagraphMechanism): adjust
9349         (clearPaint): adjust
9350         (postPaint): adjust
9351
9352         * text.C (top_y): adjust
9353         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9354         (breakAgain): make it take a RowList::iterator as arg, adjust.
9355         (breakParagraph): adjust
9356         (insertChar): adjust
9357         (backspace): adjust
9358
9359         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9360         need_break_row, and refresh_row.
9361
9362         * text3.C (dispatch): adjust
9363
9364         * text2.C (checkParagraph): adjust
9365         (setCursor): adjust
9366         (setCursorFromCoordinates): adjust
9367
9368         * text.C (top_y): adjust
9369         (workWidth): adjust
9370         (getRow): make it return a RowList::iterator, adjust
9371         (getRowNearY): make it return a RowList::iterator, adjust
9372
9373         * text2.C (init): adjust
9374         (insertRow): remove function
9375         (insertParagraph): adjust
9376         (redoParagraphs): adjust
9377         (fullRebreak): adjust
9378         (updateCounters): adjust
9379
9380         * text.C (top_y): rewrite to use RowList iterators.
9381         (top_y): adjust
9382         (setHeightOfRow): rewrite to sue RowList iterators.
9383         (appendParagraph): adjust
9384         (breakAgain): adjust
9385         (breakAgainOneRow): adjust
9386         (breakParagraph): adjust
9387         (getRow): adjust
9388         (getRowNearY): adjust, and remove commented code.
9389
9390         * lyxtext.h (firstRow): delete function
9391         (lastRow): delete function
9392         (rows): new function (const and non-const versions.)
9393         (insertRow): delete function
9394
9395         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9396
9397 2003-03-29  John Levon  <levon@movementarian.org>
9398
9399         * BufferView_pimpl.C: always update scrollbar top
9400         because pasting text when we're anchored could mean we
9401         miss an update altogether
9402
9403 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9404
9405         * text2.C (init): use rowlist_.end() and not 0.
9406         (insertRow): change to take a RowList::iterator as arg, adjust
9407         for this.
9408         (insertParagraph): change to take a RowList::iterator as arg,
9409         adjust for this.
9410         (redoParagraphs): remove some debug msgs.
9411
9412         * text.C (appendParagraph): change to take a RowList::iterator
9413         arg, adjust for this.
9414         (breakAgain): add an assert
9415         (breakAgainOneRow): ditto
9416
9417 2003-03-29  John Levon  <levon@movementarian.org>
9418
9419         * text2.C: do not clear selection after inc/decDepth
9420         (bug 550)
9421
9422 2003-03-29  John Levon  <levon@movementarian.org>
9423
9424         * BufferView.C:
9425         * buffer.C: fix broken strerrors according to Lars
9426
9427 2003-03-29  John Levon  <levon@movementarian.org>
9428
9429         * converters.C: more Alert cleanups
9430
9431 2003-03-29  John Levon  <levon@movementarian.org>
9432
9433         * bufferview_funcs.C: remove pointless Alert
9434
9435         * buffer.C: fix confusing error message when
9436         a template is chmoded 000
9437
9438 2003-03-29  John Levon  <levon@movementarian.org>
9439
9440         * BufferView.C:
9441         * BufferView.h:
9442         * BufferView_pimpl.C: Alert fixes
9443
9444         * Makefile.am:
9445         * tabular.C:
9446         * tabular-old.C: remove unused table compat reading
9447
9448 2003-03-29  John Levon  <levon@movementarian.org>
9449
9450         * BufferView.C:
9451         * buffer.C:
9452         * lyx_cb.h:
9453         * lyx_cb.C: more Alert cleanups
9454
9455         * lyxfunc.C: don't allow chktex if not latex document
9456
9457 2003-03-29  John Levon  <levon@movementarian.org>
9458
9459         * lyx_cb.C:
9460         * BufferView.C:
9461         * buffer.C: warnings pushed down from support/,
9462         kill err_alert
9463
9464 2003-03-29  John Levon  <levon@movementarian.org>
9465
9466         * lyxfunc.C: safety check for C-r (revert)
9467
9468 2003-03-29  John Levon  <levon@movementarian.org>
9469
9470         * bufferlist.h:
9471         * bufferlist.C: several UI fixes using Alert::prompt.
9472         Fix the pointless looping quit code. Fix stupid revert
9473         behaviour (bug 938)
9474
9475         * lyxvc.h:
9476         * lyxvc.C:
9477         * lyx_cb.C: use Alert::prompt
9478
9479         * lyx_main.C: remove a silly question
9480
9481         * lyxfunc.C: remove a couple of silly questions,
9482         use Alert::prompt
9483
9484 2003-03-28  John Levon  <levon@movementarian.org>
9485
9486         * text2.C: fix bug 974 (End on empty par)
9487
9488 2003-03-28  John Levon  <levon@movementarian.org>
9489
9490         * BufferView_pimpl.C:
9491         * LyXAction.C:
9492         * lfuns.h: remove do-nothing math greek lfuns
9493
9494 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9495
9496         * lyxgluelength.h (isValidGlueLength): add default arg on
9497         parameter 2. Remove default arg from friend in class.
9498
9499         * lyxlength.h (isValidLength): add default arg on parameter 2.
9500         Remove default arg from friend in class.
9501
9502         * text2.C (LyXText): adjust, initialize refresh_row.
9503         (init): adjust
9504         (removeRow): adjust
9505         (insertRow): adjust
9506         (insertParagraph): adjst
9507         (redoParagraphs): adjust
9508         (fullRebreak): adjust
9509         (updateCounters): adjust
9510         (deleteEmptyParagraphMechanism): first attempt at fixing a
9511         crashing bug.
9512
9513         * text.C (top_y): adjust
9514         (setHeightOfRow): adjust
9515         (getRow): adjust
9516         (getRowNearY): adjust
9517
9518         * lyxtext.h: include RowList.h
9519         (~LyXText): not needed anymore, deleted.
9520         (firstRow): modify for RowList
9521         (lastRow): new function
9522         Delete firstrow and lastrow class variables, add a Rowlist
9523         rowlist_ class variable.
9524
9525         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9526         paragraph is empty.
9527
9528         * RowList.C (insert): fix case where it == begin().
9529
9530 2003-03-26  Angus Leeming  <leeming@lyx.org>
9531
9532         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9533         the thesaurus dialog.
9534
9535 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9536
9537         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9538
9539         * RowList.[Ch]: new files
9540
9541         * ParagraphList.C (erase): handle the case where it == begin
9542         correctly.
9543
9544 2003-03-25  John Levon  <levon@movementarian.org>
9545
9546         * Makefile.am:
9547         * aspell_local.h:
9548         * aspell.C: add new aspell support
9549
9550         * lyxrc.h:
9551         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9552         have it accessible.
9553
9554 2003-03-25  Angus Leeming  <leeming@lyx.org>
9555
9556         * lfuns.h:
9557         * LyXAction.C (init): new LFUN_INSET_INSERT.
9558
9559         * BufferView_pimpl.C (dispatch): split out part of the
9560         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9561
9562         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9563         LFUN_INSET_APPLY.
9564
9565 2003-03-25  Angus Leeming  <leeming@lyx.org>
9566
9567         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9568
9569 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9570
9571         * text2.C:
9572         * text3.C: remove useless row->height(0)
9573
9574 2003-03-25  John Levon  <levon@movementarian.org>
9575
9576         * lyxtext.h:
9577         * text2.C:
9578         * text3.C: rename the refreshing stuff to better names
9579
9580 2003-03-24  John Levon  <levon@movementarian.org>
9581
9582         * BufferView_pimpl.h:
9583         * BufferView_pimpl.C: update layout choice on a mouse
9584         press/release
9585
9586 2003-03-23  John Levon  <levon@movementarian.org>
9587
9588         * Makefile.am: fix commandtags.h reference
9589
9590 2003-03-22  John Levon  <levon@movementarian.org>
9591
9592         * BufferView_pimpl.C:
9593         * lyxtext.h:
9594         * rowpainter.C:
9595         * rowpainter.h:
9596         * text.C:
9597         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9598
9599 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9600
9601         * lyxtext.h:
9602         * text.C: take the rtl methods out of line
9603
9604 2003-03-21 André Pönitz <poenitz@gmx.net>
9605
9606         * metricsinfo.[Ch]: new files containing structures to be passed around
9607         during the two-phase-drawing...
9608
9609 2003-03-21 André Pönitz <poenitz@gmx.net>
9610
9611         * lyxtextclass.C: read 'environment' tag.
9612
9613 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9614
9615         * text2.C (removeRow): fix bug 964
9616
9617 2003-03-20  John Levon  <levon@movementarian.org>
9618
9619         * rowpainter.C:
9620         * text.C:
9621         * text2.C: paint cleanups. Inset::update() dropped font
9622         parameter
9623
9624 2003-03-19  John Levon  <levon@movementarian.org>
9625
9626         * lyxfunc.C: only fitcursor/markDirty if available()
9627
9628 2003-03-19  John Levon  <levon@movementarian.org>
9629
9630         * commandtags.h: rename to ...
9631
9632         * lfuns.h: ... this, and renumber / cleanup
9633
9634 2003-03-19  John Levon  <levon@movementarian.org>
9635
9636         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9637         fit the cursor after an lfun
9638
9639         * BufferView.h:
9640         * BufferView.C:
9641         * BufferView_pimpl.h:
9642         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9643
9644         * LyXAction.C: layout-character should have ReadOnly
9645
9646         * ParagraphParameters.C:
9647         * buffer.C:
9648         * bufferview_funcs.C:
9649         * lyx_cb.C:
9650         * lyxfind.C:
9651         * lyxtext.h:
9652         * text.C:
9653         * text2.C:
9654         * text3.C:
9655         * undo_funcs.C: changes from above
9656
9657 2003-03-18  John Levon  <levon@movementarian.org>
9658
9659         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9660         remove it from update()
9661
9662         * lyxfunc.C: update layout choice after an lfun
9663
9664         * text3.C: remove extra updateLayoutChoice()s
9665
9666 2003-03-18  John Levon  <levon@movementarian.org>
9667
9668         * text.C: top_y change means full repaint, fix
9669         a drawing bug with cursor movement
9670
9671 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9672
9673         * lyxtext.h:
9674         * text.C:
9675         * text2.C: anchor row on setCursor
9676
9677 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9678
9679         * lyxtext.h: remove almost all mutable keywords
9680         * text.C:
9681         * text2.C:
9682         * text3.C: remove const keywords accordingly
9683
9684 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9685
9686         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9687         anon namespace
9688         (TeXEnvironment): ditto
9689         (TeXOnePar): ditto
9690
9691 2003-03-17  John Levon  <levon@movementarian.org>
9692
9693         * text.C (rowBreakPoint): remove attempt to fix displayed
9694         math insets inside a manual label
9695
9696 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9697
9698         * lyxtext.h: remove BufferView* as first arg from almost all class
9699         functions.
9700         * other files: adjust.
9701
9702 2003-03-17  John Levon  <levon@movementarian.org>
9703
9704         * lyxtext.h:
9705         * undo_funcs.C:
9706         * text2.C: more paint cleanups
9707
9708         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9709
9710         * rowpainter.h:
9711         * rowpainter.C: remove "smart" background painting code
9712
9713 2003-03-16  John Levon  <levon@movementarian.org>
9714
9715         * lyxtext.h:
9716         * text.C:
9717         * text2.C:
9718         * text3.C: add helper functions for setting refresh_row/y
9719
9720 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9721
9722         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9723         newline inset which *can* get inserted in the pass_thru layouts.
9724         This is primarily for literate documents.
9725
9726 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9727
9728         * buffer.C: increment LYX_FORMAT to 223
9729
9730 2003-03-14 André Pönitz <poenitz@gmx.net>
9731
9732         * textclass.h: prepare for environment handling, ws changes
9733         * lyxlayout.C: read latexheader and latexfooter tags
9734
9735 2003-03-14  John Levon  <levon@movementarian.org>
9736
9737         * text2.C: rewrite ::status() a bit
9738
9739 2003-03-13  John Levon  <levon@movementarian.org>
9740
9741         * lyxtext.h: add some docs
9742
9743 2003-03-13  John Levon  <levon@movementarian.org>
9744
9745         * lyxtext.h:
9746         * text.C:
9747         * text2.C:
9748         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9749
9750 2003-03-13  John Levon  <levon@movementarian.org>
9751
9752         * text3.C: fix appendix redrawing
9753
9754 2003-03-13  John Levon  <levon@movementarian.org>
9755
9756         * text.C (setHeightOfRow):
9757         * rowpainter.h:
9758         * rowpainter.C: make appendix mark have the text
9759           "Appendix" so the user knows what it is
9760
9761         * LColor.h:
9762         * LColor.C: s/appendixline/appendix/ from above
9763
9764 2003-03-13  John Levon  <levon@movementarian.org>
9765
9766         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9767
9768         * text.C: fix a getChar(pos) bug properly
9769
9770 2003-03-13  Angus Leeming  <leeming@lyx.org>
9771
9772         * commandtags.h:
9773         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9774         Probably only temporary. Let's see how things pan out.
9775
9776         * BufferView.C (unlockInset):
9777         * BufferView_pimpl.C (fitCursor):
9778         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9779
9780         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9781         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9782
9783         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9784         new functions that convert ParagraphParameters to and from a string.
9785
9786         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9787         BufferView::Pimpl's dispatch.
9788         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9789
9790 2003-03-13 André Pönitz <poenitz@gmx.net>
9791
9792         * lyxfunc.C:
9793         * text3.C:
9794         * factory.C: make it aware of InsetEnv
9795
9796 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9797
9798         * text2.C (setCursor): never ask for one past last
9799         (setCursor): add some debugging messages.
9800
9801         * text.C (singleWidth): never ask for one past last
9802         (singleWidth): ditto
9803         (leftMargin): ditto
9804         (rightMargin): ditto
9805         (rowBreakPoint): ditto
9806         (setHeightOfRow): ditto
9807         (prepareToPrint): ditto
9808
9809         * rowpainter.C (paintBackground): never ask for one past last
9810         (paintText): never ask for one past last
9811
9812         * paragraph_pimpl.C (getChar): make the assert stricter, never
9813         allow the one past last pos to be taken
9814
9815         * paragraph.C (getChar): ws changes only
9816
9817         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9818         (numberOfSeparators): ditto
9819         (numberOfHfills): ditto
9820
9821 2003-03-12  John Levon  <levon@movementarian.org>
9822
9823         * author.h:
9824         * author.C:
9825         * bufferparams.h:
9826         * bufferparams.C:
9827         * paragraph_funcs.C: fix per-buffer authorlists
9828
9829 2003-03-12  John Levon  <levon@movementarian.org>
9830
9831         * text.C: fix newline in right address
9832
9833 2003-03-12  Angus Leeming  <leeming@lyx.org>
9834
9835         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9836         duplicate those in LyXFunc::dispatch.
9837
9838         * commandtags.h:
9839         * LyXAction.C:
9840         * ToolbarDefaults.C:
9841         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9842         Add LFUN_FONTFREE_UPDATE.
9843
9844         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9845         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9846
9847         * bufferview_func.[Ch]: several new functions to facilliate
9848         transfer of data to and from the character dialog.
9849
9850 2003-03-12  John Levon  <levon@movementarian.org>
9851
9852         * buffer.C:
9853         * paragraph.h:
9854         * paragraph.C:
9855         * paragraph_funcs.C:
9856         * paragraph_pimpl.C:
9857         * sgml.C:
9858         * tabular.C:
9859         * text.C:
9860         * text3.C: remove META_NEWLINE in favour of an inset
9861
9862         * rowpainter.h:
9863         * rowpainter.C: remove paintNewline (done by inset)
9864
9865 2003-03-12  John Levon  <levon@movementarian.org>
9866
9867         * paragraph_pimpl.C: complain about bad getChar()s
9868         for a while at least
9869
9870 2003-03-12  John Levon  <levon@movementarian.org>
9871
9872         * buffer.h:
9873         * buffer.C: move paragraph read into a separate function,
9874         a little renaming to reflect that.
9875
9876         * bufferparams.h:
9877         * bufferparams.C: remove the author_ids map, not necessary now
9878
9879         * factory.h:
9880         * factory.C: moved Buffer::readInset to here
9881
9882         * paragraph_funcs.h:
9883         * paragraph_funcs.C: readParagraph free function moved from
9884         buffer.C
9885
9886         * tabular.C: name change
9887
9888 2003-03-12  John Levon  <levon@movementarian.org>
9889
9890         * buffer.C:
9891         * ParagraphParameters.C: move par params input to
9892         a read() method
9893
9894         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9895         behave like a normal read from the stream wrt reading
9896         a line vs. a \\token
9897
9898 2003-03-12  John Levon  <levon@movementarian.org>
9899
9900         * paragraph.C:
9901         * ParagraphParameters.h:
9902         * ParagraphParameters.C: move output code to a
9903         ::write() method
9904
9905 2003-03-12  John Levon  <levon@movementarian.org>
9906
9907         * BufferView.C (insertLyXFile):
9908         * buffer.h:
9909         * buffer.C:
9910         * tabular.C: use a parlist iterator for creating the
9911           document.
9912
9913 2003-03-12  John Levon  <levon@movementarian.org>
9914
9915         * buffer.C: make current_change static local not
9916           static file-scope
9917
9918 2003-03-12  John Levon  <levon@movementarian.org>
9919
9920         * buffer.C: fix insertStringAsLines for change tracking
9921
9922 2003-03-12  John Levon  <levon@movementarian.org>
9923
9924         * BufferView.C:
9925         * tabular.C:
9926         * buffer.h:
9927         * buffer.C:
9928         * bufferparams.h:
9929         * bufferparams.C: move author list into params. Rename some
9930           functions. Move the header reading into a separate token
9931           loop. Move the header token reading into BufferParams.
9932
9933 2003-03-12  John Levon  <levon@movementarian.org>
9934
9935         * changes.C: put debug inside lyxerr.debugging() checks
9936
9937 2003-03-11 André Pönitz <poenitz@gmx.net>
9938
9939         * factory.C: make it aware of InsetHFill
9940
9941 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9942
9943         * buffer.C (latexParagraphs): move function from here...
9944         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9945         args.
9946
9947 2003-03-10  Angus Leeming  <leeming@lyx.org>
9948
9949         * LyXAction.C (init): fix bug in poplating array with multiple entries
9950         with the same LFUN (spotted by JMarc).
9951
9952 2003-03-10  John Levon  <levon@movementarian.org>
9953
9954         * text.C:
9955         * text2.C: move getColumnNearX() near its
9956         only call site
9957
9958 2003-03-10  John Levon  <levon@movementarian.org>
9959
9960         * text.C: fix break before a minipage
9961
9962 2003-03-10  John Levon  <levon@movementarian.org>
9963
9964         * text.C: fix the last commit
9965
9966 2003-03-09  John Levon  <levon@movementarian.org>
9967
9968         * lyxtext.h:
9969         * text.C:
9970         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9971         bug 365 (don't break before insets unless needed). Don't
9972         return a value > last under any circumstances.
9973
9974 2003-03-09  Angus Leeming  <leeming@lyx.org>
9975
9976         * BufferView_pimpl.C (trackChanges, dispatch): call
9977         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9978
9979 2003-03-09  Angus Leeming  <leeming@lyx.org>
9980
9981         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9982         than Dialogs::showAboutlyx().
9983
9984 2003-03-09  Angus Leeming  <leeming@lyx.org>
9985
9986         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9987         than Dialogs::showTabularCreate().
9988
9989 2003-03-09  John Levon  <levon@movementarian.org>
9990
9991         * lyxtext.h:
9992         * text.C:
9993         * text2.C: 3rd arg to nextBreakPoint was always the same.
9994           Use references.
9995
9996 2003-03-08  John Levon  <levon@movementarian.org>
9997
9998         * lyxrow.C:
9999         * paragraph.C:
10000         * paragraph.h:
10001         * rowpainter.C:
10002         * text.C:
10003         * text2.C: Remove the "main" bit from the "main body"
10004           notion.
10005
10006 2003-03-08  John Levon  <levon@movementarian.org>
10007
10008         * text.C (leftMargin): The left margin of an empty
10009         manual label paragraph should not include the label width
10010         string length.
10011
10012         * text.C (prepareToPrint): don't attempt to measure hfills
10013         for empty manual label paragraphs - the answer should be 0
10014
10015 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10016
10017         * CutAndPaste.C: remove commented code and reindent.
10018
10019 2003-03-08  John Levon  <levon@movementarian.org>
10020
10021         * lyxfunc.h:
10022         * lyxfunc.C: move reloadBuffer()
10023
10024         * BufferView.h:
10025         * BufferView.C: to here
10026
10027         * lyxvc.C: add comment
10028
10029         * vc-backend.h:
10030         * vc-backend.C: call bv->reload() to avoid
10031           getStatus() check on MENURELOAD
10032
10033 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
10034
10035         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10036         to an old format .dep file.
10037
10038 2003-03-07  Angus Leeming  <leeming@lyx.org>
10039
10040         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10041         when the LFUN_MOUSE_RELEASE should have been handled by
10042         inset->localDispatch.
10043
10044 2003-03-07  Angus Leeming  <leeming@lyx.org>
10045
10046         * BufferView_pimpl.C (dispatch):
10047         * LyXAction.C (init):
10048         * ToolbarDefaults.C (init):
10049         * commandtags.h:
10050         * lyxfunc.C (getStatus):
10051         remove LFUN_INSET_GRAPHICS.
10052
10053         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10054
10055 2003-03-07  Angus Leeming  <leeming@lyx.org>
10056
10057         * commandtags.h:
10058         * LyXAction.C (init):
10059         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10060
10061         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10062
10063         * commandtags.h:
10064         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10065
10066         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10067         localDispatch method LFUN_INSET_DIALOG_UPDATE.
10068
10069 2003-03-07  Angus Leeming  <leeming@lyx.org>
10070
10071         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10072         remove "ert".
10073
10074 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10075
10076         * ParagraphList.C (front): new function
10077         (back): implement
10078
10079 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10080
10081         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10082         and top_row_offset_. removed var first_y.
10083         * text.C (top_y):
10084         * text2.C (LyXText, removeRow):
10085         * text3.C:
10086         * BufferView_pimpl.C:
10087         use these methods instead of using first_y
10088
10089 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10090
10091         * text2.C (pasteSelection): adjust for checkPastePossible
10092
10093         * CutAndPaste.C: remove Paragraph * buf and replace with
10094         ParagraphList paragraphs.
10095         (DeleteBuffer): delete
10096         (cutSelection): change the tc type to textclass_type
10097         (copySelection): change the tc type to textclass_type
10098         (copySelection): adjust for ParagraphList
10099         (pasteSelection): change the tc type to textclass_type
10100         (pasteSelection): adjust for Paragraphlist
10101         (nrOfParagraphs): simplify for ParagraphList
10102         (checkPastePossible): simplify for ParagraphList
10103         (checkPastePossible): remove unused arg
10104
10105         * ParagraphList.C (insert): handle the case where there are no
10106         paragraphs yet.
10107
10108         * CutAndPaste.h: make CutAndPaste a namespace.
10109
10110         * text3.C (dispatch): adjust
10111
10112         * text.C (breakParagraph): add a ParagraphList as arg
10113
10114         * paragraph_funcs.C (breakParagraph): change to take a
10115         BufferParams and a ParagraphList as args.
10116         (breakParagraphConservative): ditto
10117         (mergeParagraph): ditto
10118         (TeXDeeper): add a ParagraphList arg
10119         (TeXEnvironment): ditto
10120         (TeXOnePar): ditto
10121
10122         * buffer.C (readLyXformat2): adjust
10123         (insertStringAsLines): adjust
10124         (latexParagraphs): adjust
10125
10126         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10127         (cutSelection): adjust
10128         (pasteSelection): adjust
10129
10130         * BufferView_pimpl.C (insertInset): adjust
10131
10132 2003-03-05  Angus Leeming  <leeming@lyx.org>
10133
10134         * commandtags.h:
10135         * LyXAction.C (init):
10136         * BufferView_pimpl.C (dispatch):
10137         * lyxfunc.C (getStatus):
10138         remove LFUN_CHILD_INSERT.
10139
10140         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10141
10142 2003-03-05  Angus Leeming  <leeming@lyx.org>
10143
10144         * commandtags.h:
10145         * LyXAction.C (init):
10146         * src/factory.C (createInset):
10147         * lyxfunc.C (getStatus):
10148         * text3.C (dispatch):
10149         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10150
10151         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10152
10153 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10154
10155         * ParagraphList.C (insert): handle insert right before end()
10156         (erase): fix cases where it can be first or last paragraph.
10157
10158 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10159
10160         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10161         Paragraph::next and Paragraph::previous
10162         (TeXOnePar): ditto
10163
10164         * text.C (breakParagraph): adjust
10165
10166         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10167         BufferParams& as arg.
10168         (breakParagraph): use ParagraphList::insert
10169         (breakParagraphConservative): take a Buffer* instead of a
10170         BufferParams& as arg.
10171         (breakParagraphConservative): use ParagraphList::insert.
10172
10173         * buffer.C (insertStringAsLines): un-const it
10174         (insertStringAsLines): adjust
10175
10176         * ParagraphList.C (insert): new function
10177
10178         * CutAndPaste.C (pasteSelection): adjust
10179
10180         * text.C (backspace): adjust
10181
10182         * tabular.C (SetMultiColumn): adjust
10183
10184         * CutAndPaste.C (cutSelection): adjust
10185         (pasteSelection): adjust
10186
10187         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10188         Buffer const * as arg
10189
10190         * ParagraphList.C (erase): new function
10191         * paragraph_funcs.C (mergeParagraph): use it
10192         (mergeParagraph): make it take a Buffer* instead of a
10193         BufferParams* as arg
10194
10195         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10196         as arg
10197         (breakParagraphConservative): ditto
10198
10199         * paragraph.h: remove the breakParagraph friend
10200
10201         * paragraph.C (eraseIntern): new function
10202         (setChange): new function
10203
10204         * paragraph_funcs.C (mergeParagraph): make it take a
10205         ParagraphList::iterator instead of a Paragraph *, adjust
10206         accordingly.
10207
10208         * paragraph.h: move an #endif so that the change tracking stuff
10209         also works in the NO_NEXT case.
10210
10211 2003-03-04  Angus Leeming  <leeming@lyx.org>
10212
10213         * commandtags.h:
10214         * LyXAction.C: new LFUN_INSET_MODIFY.
10215
10216         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10217         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10218
10219 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10220
10221         * several files: ws changes only
10222
10223         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10224         (TeXEnvironment): ditto
10225         (TeXDeeper): ditto
10226
10227         * buffer.C (makeLaTeXFile): adjust
10228         (latexParagraphs): make it take ParagraphList::iterator as args
10229
10230 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10231
10232         * buffer.C (latexParagraphs): adjust
10233
10234         * paragraph.C (TeXOnePar): move function...
10235         (optArgInset): move function...
10236         (TeXEnvironment): move function...
10237         * paragraph_pimpl.C (TeXDeeper): move function...
10238         * paragraph_funcs.C: ...here
10239
10240         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10241
10242 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10243
10244         * buffer.C (readInset): remove compability code for old Figure and
10245         InsetInfo insets
10246
10247 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10248
10249         * buffer.C: ws changes
10250         (readInset):
10251
10252         * BufferView_pimpl.C: ditto
10253         * author.C: ditto
10254         * buffer.h: ditto
10255         * bufferlist.h: ditto
10256         * changes.h: ditto
10257         * lyxfunc.C: ditto
10258
10259 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10260
10261         * converter.[Ch]: split into itself +
10262         * graph.[Ch]
10263         * format.[Ch]
10264         * Makefile.am: += graph.[Ch] + format.[Ch]
10265         * MenuBackend.C
10266         * buffer.C
10267         * exporter.C
10268         * importer.C
10269         * lyx_main.C
10270         * lyxfunc.C
10271         * lyxrc.C: added #include "format.h"
10272
10273 2003-02-27  Angus Leeming  <leeming@lyx.org>
10274
10275         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10276           a label.
10277
10278         * factory.C (createInset): add "label" to the factory.
10279
10280         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10281           string and do no more.
10282
10283 2003-02-27  Angus Leeming  <leeming@lyx.org>
10284
10285         * commandtags.h:
10286         * LyXAction.C (init):
10287         * factory.C (createInset):
10288         * BufferView_pimpl.C (dispatch):
10289           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10290
10291         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10292
10293         * lyxfunc.C (dispatch):
10294         * text3.C (dispatch): pass name to params2string.
10295
10296 2003-02-26  Angus Leeming  <leeming@lyx.org>
10297
10298         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10299           blocks together.
10300           Rearrange the ~includes. Strip out the unnecessary ones.
10301
10302         * factory.C (createInset): reformat.
10303           create new insets for the various LFUN_XYZ_APPLY lfuns.
10304
10305 2003-02-26  John Levon  <levon@movementarian.org>
10306
10307         * lyxrow.h:
10308         * lyxrow.C: add isParStart,isParEnd helpers
10309
10310         * paragraph.h: make isInserted/DeletedText take refs
10311
10312         * paragraph_funcs.h:
10313         * paragraph_funcs.C: remove #if 0'd code
10314
10315         * lyxtext.h:
10316         * text3.C:
10317         * text2.C:
10318         * text.C: use lyxrow helpers above.
10319           Move draw and paint routines to RowPainter.
10320           Make several methods use refs not pointers.
10321           Make backgroundColor() const.
10322           Add markChangeInDraw(), isInInset().
10323           Merge changeRegionCase into changeCase.
10324           Make workWidth() shouldn't-happen code into an Assert.
10325
10326         * rowpainter.h:
10327         * rowpainter.C: new class for painting a row.
10328
10329         * vspace.h:
10330         * vspace.C: make inPixels take a ref
10331
10332 2003-02-26  Angus Leeming  <leeming@lyx.org>
10333
10334         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10335         LFUN_REF_APPLY.
10336
10337 2003-02-25  John Levon  <levon@movementarian.org>
10338
10339         * ispell.C: give the forked command a more accurate name
10340
10341 2003-02-22  John Levon  <levon@movementarian.org>
10342
10343         * toc.h:
10344         * toc.C: make TocItem store an id not a Paragraph *
10345           (bug #913)
10346
10347 2003-02-21  Angus Leeming  <leeming@lyx.org>
10348
10349         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10350           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10351           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10352           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10353           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10354           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10355
10356         * BufferView_pimpl.C (dispatch):
10357         * LyXAction.C (init):
10358         * factory.C (createInset):
10359         * lyxfunc.C (getStatus, dispatch):
10360         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10361
10362 2003-02-21  Angus Leeming  <leeming@lyx.org>
10363
10364         * BufferView_pimpl.C (MenuInsertLyXFile):
10365         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10366         * lyxfunc.C (menuNew, open, doImport):
10367           no longer pass a LyXView & to fileDlg.
10368
10369 2003-02-21  Angus Leeming  <leeming@lyx.org>
10370
10371         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10372         * LyXAction.C: change, BIBKEY to BIBITEM.
10373         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10374         Change InsetBibKey to InsetBibitem.
10375         Change BIBKEY_CODE to BIBITEM_CODE.
10376         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10377         * factory.C: replace insetbib.h with insetbibitem.h.
10378         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10379         * paragraph.C: replace insetbib.h with insetbibitem.h.
10380         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10381         Change bibkey() to bibitem().
10382         * text.C: remove insetbib.h.
10383         * text2.C: replace insetbib.h with insetbibitem.h.
10384         change bibkey() to bibitem().
10385         * text3.C: remove insetbib.h.
10386         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10387
10388 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10389
10390         * lyxrc.C (output): enclose user email in quotes (in case there are
10391         several words)
10392
10393 2003-02-18  John Levon  <levon@movementarian.org>
10394
10395         * buffer.h: add std::
10396
10397 2003-02-17  John Levon  <levon@movementarian.org>
10398
10399         * SpellBase.h:
10400         * ispell.h:
10401         * ispell.C:
10402         * pspell.h:
10403         * pspell.C: reworking. Especially in ispell, a large
10404           number of clean ups and bug fixes.
10405
10406         * lyxfunc.C: fix revert to behave sensibly
10407
10408 2003-02-17 André Pönitz <poenitz@gmx.net>
10409
10410         * LyXAction.C:
10411         * commandtags.h: new LFUN_INSERT_BIBKEY
10412
10413         * layout.h:
10414         * lyxlayout.C:
10415         * buffer.C:
10416         * factory.C:
10417         * text.C:
10418         * text2.C:
10419         * text3.C:
10420         * paragraph.[Ch]:
10421         * paragraph_func.C: remove special bibkey handling
10422
10423 2003-02-17  John Levon  <levon@movementarian.org>
10424
10425         * text.C (Delete): fix case where delete at the end of
10426           the very first paragraph would not merge the pars
10427
10428 2003-02-17  John Levon  <levon@movementarian.org>
10429
10430         * lyxrow.C: fix lastPrintablePos()
10431
10432 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10433
10434         * bufferparams.C (writeLaTeX): add a std:here
10435
10436         * buffer.C: and remove a using directive there
10437
10438 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10439
10440         * buffer.C (makeLaTeXFile): move the code that generates the
10441           preamble...
10442
10443         * bufferparams.C (writeLaTeX): ... in this new method
10444
10445         * LaTeXFeatures.C (getEncodingSet): make const
10446           (getLanguages): make const
10447
10448         * MenuBackend.C (binding): returns the binding associated to this
10449           action
10450           (add): sets the status of each item by calling getStatus. Adds
10451           some intelligence.
10452           (read): add support for OptSubMenu
10453           (expand): remove extra separator at the end of expanded menu
10454
10455 2003-02-15  John Levon  <levon@movementarian.org>
10456
10457         * BufferView.C:
10458         * BufferView_pimpl.C:
10459         * bufferlist.h:
10460         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10461           inset code that had no actual effect. Remove unneeded status
10462           code.
10463
10464 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10465
10466         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10467           in preamble
10468
10469 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10470
10471         * text.C (drawLengthMarker): also draw an arrow marker for
10472           symbolic lengths (medskip...)
10473
10474 2003-02-14  John Levon  <levon@movementarian.org>
10475
10476         * tabular.h:
10477         * tabular.C: better method names
10478
10479 2003-02-14  John Levon  <levon@movementarian.org>
10480
10481         * BufferView_pimpl.C:
10482         * bufferlist.C:
10483         * buffer.C:
10484         * converter.C:
10485         * lyx_cb.C:
10486         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10487           it's a more accurate name. Remove some pointless uses.
10488
10489 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10490
10491         * text2.C (LyXText): change order of initilizers to shut off
10492           warnings
10493
10494 2003-02-14  John Levon  <levon@movementarian.org>
10495
10496         * buffer.C: use ParIterator for getParFromID()
10497
10498         * paragraph.h:
10499         * paragraph.C:
10500         * paragraph_pimpl.h:
10501         * paragraph_pimpl.C: remove unused getParFromID()
10502
10503 2003-02-14  John Levon  <levon@movementarian.org>
10504
10505         * buffer.C: remove some very old #if 0'd parse code
10506
10507 2003-02-13  John Levon  <levon@movementarian.org>
10508
10509         * text.h:
10510         * text.C:
10511         * text2.C: move hfillExpansion(), numberOfSeparators(),
10512           rowLast(), rowLastPrintable(), numberofHfills(),
10513           numberOfLabelHfills() ...
10514
10515         * lyxrow.h:
10516         * lyxrow.C: ... to member functions here.
10517
10518         * paragraph.h:
10519         * paragraph.C:
10520         * lyxtext.h:
10521         * text.C: remove LyXText::beginningOfMainBody(), and call
10522           p->beginningOfMainBody() directly. Move the check for
10523           LABEL_MANUAL into the latter.
10524
10525         * text.h:
10526         * text.C:
10527         * text2.C:
10528         * vspace.C:
10529         * BufferView.h:
10530         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10531
10532         * text.h:
10533         * text.C:
10534         * text2.C:
10535         * text3.C:
10536         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10537           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10538
10539 2003-02-13  John Levon  <levon@movementarian.org>
10540
10541         * CutAndPaste.C: remove debug
10542
10543 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10544
10545         * paragraph.C (asString): remove two unused variables
10546
10547         * lyxtextclass.C (readTitleType):
10548           (Read):
10549           (LyXTextClass): handle new members titletype_ and titlename_
10550
10551         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10552
10553 2003-02-09  John Levon  <levon@movementarian.org>
10554
10555         * buffer.h:
10556         * buffer.C: replace hand-coded list with a map for the dep clean
10557
10558 2003-02-08  John Levon  <levon@movementarian.org>
10559
10560         * LaTeX.C: consolidate code into showRunMessage() helper
10561
10562 2003-02-08  John Levon  <levon@movementarian.org>
10563
10564         * lyxfind.C:
10565         * lyxtext.h:
10566         * text2.C:
10567         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10568           and pass the size in explicitly
10569
10570         * BufferView_pimpl.h:
10571         * BufferView_pimpl.C:
10572         * BufferView.h:
10573         * BufferView.C: add getCurrentChange()
10574
10575         * BufferView_pimpl.h:
10576         * BufferView_pimpl.C: handle change lfuns
10577
10578         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10579           for changes. Mark pasted paragraphs as new.
10580
10581         * support/lyxtime.h:
10582         * support/lyxtime.C:
10583         * DepTable.C: abstract time_t as lyx::time_type
10584
10585         * LColor.h:
10586         * LColor.C: add colours for new text, deleted text, changebars
10587
10588         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10589           package use "usenames" option.
10590
10591         * commandtags.h:
10592         * lyxfunc.C:
10593         * LyXAction.C: add change lfuns
10594
10595         * Makefile.am:
10596         * author.h:
10597         * author.C: author handling
10598
10599         * buffer.h:
10600         * buffer.C: add a per-buffer author list, with first entry as
10601           current author. Handle new .lyx tokens for change tracking. Output
10602           author list to .lyx file. Output dvipost stuff to .tex preamble.
10603           Bump lyx format to 222.
10604
10605         * bufferlist.h:
10606         * bufferlist.C: add setCurrentAuthor() to reset current author details
10607           in all buffers.
10608
10609         * bufferparams.h:
10610         * bufferparams.C: add param for tracking
10611
10612         * bufferview_funcs.C: output change info in minibuffer
10613
10614         * Makefile.am:
10615         * changes.h:
10616         * changes.C: add change-tracking structure
10617
10618         * debug.h:
10619         * debug.C: add CHANGES debug flag
10620
10621         * lyxfind.h:
10622         * lyxfind.C: add code for finding the next change piece
10623
10624         * lyxrc.h:
10625         * lyxrc.C: add user_name and user_email
10626
10627         * lyxrow.h:
10628         * lyxrow.C: add a metric for the top of the text line
10629
10630         * lyxtext.h:
10631         * text.C: implement accept/rejectChange()
10632
10633         * lyxtext.h:
10634         * text.C: paint changebars. Paint new/deleted text in the chosen
10635         colours. Strike through deleted text.
10636
10637         * paragraph.h:
10638         * paragraph.C:
10639         * paragraph_pimpl.h:
10640         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10641           in the current change to the insert functions. Rework erase to
10642           mark text as deleted, adding an eraseIntern() and a range-based
10643           erase(). Implement per-paragraph change lookup and
10644           accept/reject.
10645
10646         * paragraph_funcs.C: Fixup paste for change tracking.
10647
10648         * tabular.C: mark added row/columns as new.
10649
10650         * text.C: fix rowLast() to never return -1. Don't allow
10651           spellchecking of deleted text. Track transpose changes. Don't
10652           allow paragraph break or merge where appropriate.
10653
10654         * text2.C: leave cursor at end of selection after a cut.
10655
10656 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10657
10658         * text.C (getLengthMarkerHeight):
10659         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10660         visible on screen too.
10661
10662 2003-02-07  John Levon  <levon@movementarian.org>
10663
10664         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10665
10666 2003-02-05  Angus Leeming  <leeming@lyx.org>
10667
10668         * lyxserver.C (read_ready): revert my patch of 11 September last year
10669         as it sends PC cpu through the roof. Presumably this means that
10670         the lyxserver will no longer run on an Alpha...
10671
10672 2003-01-30  Angus Leeming  <leeming@lyx.org>
10673
10674         * factory.C (createInset): create an InsetCommandParam of type "index"
10675         and use it to 'do the right thing'.
10676
10677         * text2.C (getStringToIndex): ensure that cursor position is always
10678         reset to the reset_cursor position.
10679
10680 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10681
10682         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10683         disabled.
10684
10685 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10686
10687         * bufferview.C:
10688         * lyxcb.C:
10689         * lyxfunc.C: Output messages with identical spelling, punctuation,
10690         and spaces
10691
10692 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10693
10694         * MenuBackend.C (expandFormats): List only viewable export formats
10695         in "View" menu
10696
10697         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10698         message
10699
10700         * lyxfunc.C (getStatus): Make sure that formats other than
10701         "fax" can also be disabled
10702
10703 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10704
10705         * text3.C (dispatch): put the lfuns that insert insets in 3
10706         groups, and call doInsertInset with appropriate arguments.
10707         (doInsertInset): new function, that creates an inset and inserts
10708         it according to some boolean parameters.
10709
10710 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10711
10712         * buffer.C (readFile): remember to pass on 'par' when calling
10713         readFile recursively.
10714
10715 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10716
10717         * MenuBackend.C (expandFormats): add "..." to import formats.
10718
10719 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10720
10721         * paragraph.C (asString): Remove XForms RTL hacks.
10722
10723 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10724         * buffer.C: fix typo
10725
10726 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10727
10728         * Makefile.am (LIBS): delete var
10729         (lyx_LDADD): add @LIBS@ here instead.
10730
10731 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10732
10733         * Clarify the meaning of "wheel mouse jump"
10734
10735 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10736
10737         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10738         tabular in a float
10739
10740 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10741
10742         * importer.C (Loaders): do not preallocate 3 elements in the
10743         vector, since one ends up with 6 elements otherwise
10744
10745 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10746
10747         * DepTable.C (write): write the file name as last element of the
10748         .dep file (because it may contain spaces)
10749         (read): read info in the right order
10750
10751 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10752
10753         * paragraph_pimpl.C (simpleTeXBlanks):
10754         (simpleTeXSpecialChars):
10755         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10756
10757         * tabular.C (latex): add some missing case statements. Reindent.
10758
10759         * MenuBackend.C (expandToc): remove unused variable.
10760
10761 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10762
10763         * LColor.C:
10764         * LaTeX.C:
10765         * LyXAction.C:
10766         * MenuBackend.C:
10767         * buffer.C:
10768         * exporter.C:
10769         * lyxfunc.C:
10770         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10771         and the like.
10772
10773 2003-01-05  John Levon  <levon@movementarian.org>
10774
10775         * BufferView.h:
10776         * BufferView.C: add getEncoding()
10777
10778         * kbsequence.h:
10779         * kbsequence.C: do not store last keypress
10780
10781         * lyxfunc.h:
10782         * lyxfunc.C: store last keypress here instead. Pass encoding
10783           to getISOEncoded()
10784
10785 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10786
10787         * lyx_main.C (init): remove annoying error message when following
10788         symbolic links (bug #780)
10789
10790 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10791
10792         * text.C (insertChar):
10793         * lyxrc.C (getDescription): remove extra spaces
10794
10795 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10796
10797         * lyxrc.C (getDescription): remove extra spaces
10798
10799 2002-12-20  John Levon  <levon@movementarian.org>
10800
10801         * text3.C: hack fix for page up/down across tall rows
10802
10803 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10804
10805         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10806         not been invoked
10807
10808 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10809
10810         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10811         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10812         thesaurus is not compiled in
10813
10814 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10815
10816         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10817
10818 2002-12-16  Angus Leeming  <leeming@lyx.org>
10819
10820         * lyxrc.[Ch]:
10821         * lyx_main.C (init): remove override_x_deadkeys stuff.
10822
10823 2002-12-12  John Levon  <levon@movementarian.org>
10824
10825         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10826           insert. Only remove shift modifier under strict
10827           circumstances.
10828
10829 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10830
10831         * MenuBackend.C (expandToc): fix crash.
10832
10833 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10834
10835         * MenuBackend.C (expandToc): gettext on float names.
10836
10837 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10838
10839         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10840         implement bool empty() [bug 490]
10841
10842 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10843
10844         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10845
10846 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10847
10848         * several files: ws changes
10849
10850 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10851
10852         * text2.C (setCounter): clean up a bit, use boost.format.
10853         (updateCounters): initialize par upon declaration.
10854
10855         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10856         if the layout exists. We do not just store the layout any more.
10857         (SwitchLayoutsBetweenClasses): use boost.format
10858
10859 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10860
10861         * converter.C (convert): if from and to files are the same, use a
10862         temporary files as intermediary
10863
10864 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10865
10866         * commandtags.h:
10867         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10868
10869 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10870
10871         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10872
10873 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10874
10875         * tabular.C (asciiPrintCell): use string(size, char) instead of
10876         explicit loop.
10877
10878         * sgml.C (openTag): fix order of arguments to string constructor
10879         (closeTag): ditto
10880
10881         * lyxfunc.C (dispatch): use boost.format
10882
10883         * lots of files: change "c" -> 'c'
10884
10885 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10886
10887         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10888
10889 2002-11-25  Angus Leeming  <leeming@lyx.org>
10890
10891         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10892
10893         * lyx_main.C (init): compile fix.
10894
10895 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10896
10897         * lyx_cb.C (start): boost.formatify
10898         do not include <iostream>
10899
10900         * lengthcommon.C: ws only
10901
10902         * boost-inst.C,BoostFormat.h: add more explict instantations
10903
10904 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10905
10906         * lots of files: handle USE_BOOST_FORMAT
10907
10908 2002-11-21  John Levon  <levon@movementarian.org>
10909
10910         * pspell.C: fix compile
10911
10912 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10913
10914         * lyxfunc.C (dispatch): use boost::format
10915         (open): ditto
10916         (doImport): ditto
10917
10918         * lyxfont.C (stateText): use boost::format
10919
10920         * lyx_main.C (LyX): use boost::format
10921         (init): ditto
10922         (queryUserLyXDir): ditto
10923         (readRcFile): ditto
10924         (parse_dbg): ditto
10925         (typedef boost::function): use the recommened syntax.
10926
10927         * importer.C (Import): use boost::format
10928
10929         * debug.C (showLevel): use boost::format
10930
10931         * converter.C (view): use boost::format
10932         (convert): ditto
10933         (move): ditto
10934         (scanLog): ditto
10935
10936         * bufferview_funcs.C (currentState): use boost::format
10937
10938         * bufferlist.C (emergencyWrite): use boost::format
10939
10940         * buffer.C (readLyXformat2): use boost::format
10941         (parseSingleLyXformat2Token): ditto
10942
10943         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10944
10945         * LaTeX.C (run): use boost::format
10946
10947         * Chktex.C (scanLogFile): use boost::format
10948
10949         * BufferView_pimpl.C (savePosition): use boost::format
10950         (restorePosition): ditto
10951         (MenuInsertLyXFile): ditto
10952
10953         * BoostFormat.h: help file for explicit instation.
10954
10955 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10956
10957         * tabular.C (latex): Support for block alignment in fixed width
10958         columns.
10959
10960 2002-11-17  John Levon  <levon@movementarian.org>
10961
10962         * BufferView_pimpl.C:
10963         * lyx_cb.C:
10964         * lyxfunc.C: split filedialog into open/save
10965
10966 2002-11-08  Juergen Vigna  <jug@sad.it>
10967
10968         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10969         by my last patch (hopefully).
10970
10971 2002-11-08  John Levon  <levon@movementarian.org>
10972
10973         * iterators.h:
10974         * iterators.C:
10975         * buffer.h:
10976         * buffer.C:
10977         * paragraph.h:
10978         * paragraph.C:
10979         * toc.h:
10980         * toc.C: ParConstIterator, and use it (from Lars)
10981
10982 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10983
10984         * lyxtextclass.[Ch]: revise and add doxygen comments
10985
10986 2002-11-07  John Levon  <levon@movementarian.org>
10987
10988         * text.C: fix progress value for spellchecker
10989
10990         * toc.C: fix navigate menu for insetwrap inside minipage
10991
10992         * paragraph_funcs.C: added FIXME for suspect code
10993
10994 2002-11-07  John Levon  <levon@movementarian.org>
10995
10996         * BufferView_pimpl.C: fix redrawing of insets
10997           on buffer switch
10998
10999 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11000
11001         * text2.C (updateCounters): fix bug 668
11002
11003 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
11004
11005         * text3.C (dispatch): Do not make the buffer dirty when moving the
11006         cursor.
11007
11008 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11009
11010         * vc-backend.C: STRCONV
11011         (scanMaster): ditto
11012
11013         * text2.C (setCounter): STRCONV
11014
11015         * paragraph.C (asString): STRCONV
11016
11017         * lyxlength.C (asString): STRCONV
11018         (asLatexString): ditto
11019
11020         * lyxgluelength.C (asString): STRCONV
11021         (asLatexString): ditto
11022
11023         * lyxfunc.C (dispatch): STRCONV
11024         (open): ditto
11025
11026         * lyxfont.C (stateText): STRCONV
11027
11028         * importer.C (Import): STRCONV
11029
11030         * counters.C (labelItem): STRCONV
11031         (numberLabel): ditto
11032         (numberLabel): remove unused ostringstream o
11033
11034         * chset.C: STRCONV
11035         (loadFile): ditto
11036
11037         * bufferview_funcs.C (currentState): STRCONV
11038
11039         * buffer.C (readFile): STRCONV
11040         (asciiParagraph): ditto
11041         (makeLaTeXFile): ditto
11042
11043         * Spacing.C (writeEnvirBegin): STRCONV
11044
11045         * LaTeXFeatures.C (getLanguages): STRCONV
11046         (getPackages): ditto
11047         (getMacros): ditto
11048         (getBabelOptions): ditto
11049         (getTClassPreamble): ditto
11050         (getLyXSGMLEntities): ditto
11051         (getIncludedFiles): ditto
11052
11053         * LaTeX.C: STRCONV
11054         (run): ditto
11055         (scanAuxFile): ditto
11056         (deplog): ditto
11057
11058         * LString.h: add the STRCONV macros
11059
11060         * BufferView_pimpl.C (savePosition): STRCONV
11061         (restorePosition): ditto
11062         (MenuInsertLyXFile): ditto
11063
11064         * vc-backend.C (scanMaster): change from submatch[...] to
11065         submatch.str(...)
11066
11067         * funcrequest.C: include config.h
11068
11069         * factory.C: include config.h
11070
11071         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11072
11073         * box.C: include config.h
11074
11075         * LaTeX.C (scanAuxFile): change from submatch[...] to
11076         submatch.str(...)
11077         (deplog): ditto
11078
11079 2002-10-25  Angus Leeming  <leeming@lyx.org>
11080
11081         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11082
11083         * ispell.[Ch] (setError): new method.
11084         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11085         Use setError() insetead of goto END.
11086
11087         * lyx_cb.C (AutoSave): move out child process into new class
11088         AutoSaveBuffer.
11089
11090 2002-10-30  John Levon  <levon@movementarian.org>
11091
11092         * text3.C: make start appendix undoable
11093
11094 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11095
11096         * lyxlength.C (inPixels): Fix returned value.
11097
11098         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11099         environment.
11100
11101 2002-10-24  Angus Leeming  <leeming@lyx.org>
11102
11103         * lyxgluelength.h: no need to forward declare BufferParams
11104         or BufferView, so don't.
11105
11106 2002-10-21  John Levon  <levon@movementarian.org>
11107
11108         * BufferView.C: menuUndo ->undo, redo
11109
11110         * BufferView.h: document, remove dead, make some methods private
11111
11112         * paragraph_funcs.h:
11113         * paragraph_funcs.C:
11114         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11115
11116         * buffer.h:
11117         * buffer.C:
11118         * sgml.h:
11119         * sgml.C: move sgml open/close tag into sgml.C
11120
11121         * bufferview_funcs.h: unused prototype
11122
11123         * lyxfunc.h:
11124         * lyxfunc.C: remove unused
11125
11126         * lyxtext.h:
11127         * text.C: remove unused
11128
11129 2002-10-21  John Levon  <levon@movementarian.org>
11130
11131         * BufferView.h:
11132         * BufferView.C:
11133         * BufferView_pimpl.h:
11134         * BufferView_pimpl.C: fix mouse wheel handling based on
11135           patch from Darren Freeman
11136
11137 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11138
11139         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11140
11141 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11142
11143         * lyxlength.C (inPixels): Fix hanfling of negative length.
11144         Fix LyXLength::MU case.
11145
11146 2002-10-16  John Levon  <levon@movementarian.org>
11147
11148         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11149
11150 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11151
11152         * converter.C (view): add support for $$i (file name) and $$p
11153         (file path) for the viewer command. If $$i is not specified, then
11154         it is appended to the command (for compatibility with old syntax)
11155
11156 2002-10-14  Juergen Vigna  <jug@sad.it>
11157
11158         * undo_funcs.C (textHandleUndo): alter the order in which the
11159         new undopar is added to the LyXText, as we have to set first
11160         the right prev/next and then add it as otherwise the rebuild of
11161         LyXText is not correct. Also reset the cursor to the right paragraph,
11162         with this IMO we could remove the hack in "redoParagraphs()".
11163
11164 2002-10-09  Angus Leeming  <leeming@lyx.org>
11165
11166         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11167         to turn off an optimisation if a new inset is to be inserted.
11168
11169 2002-10-11 André Pönitz <poenitz@gmx.net>
11170
11171         * lyxtext.h: make some functions public to allow access
11172         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11173
11174 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11175
11176         * text3.C (dispatch): when changing layout, avoid an infinite loop
11177         [bug #652]
11178
11179 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11180
11181         * lyxrc.C (read): treat a viewer or converter command of "none" as
11182         if it were empty.
11183
11184         * MenuBackend.C (expandFormats): for an update, also allow the
11185         formats that are not viewable
11186
11187         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11188         script if it is newer than the lyxrc.defaults in user directory
11189
11190 2002-10-07 André Pönitz <poenitz@gmx.net>
11191
11192         * text.C: Vitaly Lipatov's small i18n fix
11193
11194 2002-09-25  Angus Leeming  <leeming@lyx.org>
11195
11196         * ispell.h: doxygen fix.
11197
11198 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11199
11200         * buffer.h (readFile): Add a new argument to the method, to allow
11201         reading of old-format templates.
11202
11203 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11204
11205         * toc.C (getTocList): Get TOC from InsetWrap.
11206
11207 2002-09-16  John Levon  <levon@movementarian.org>
11208
11209         * lyxfunc.C: check tabular for cut/copy too
11210
11211 2002-09-12  John Levon  <levon@movementarian.org>
11212
11213         * LyXAction.C: tidy
11214
11215         * factory.h:
11216         * factory.C: add header
11217
11218         * paragraph_funcs.h:
11219         * paragraph_funcs.C: cleanup
11220
11221 2002-09-11  John Levon  <levon@movementarian.org>
11222
11223         * PrinterParams.h: odd/even default to true
11224
11225 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11226
11227         * PrinterParams.h: update printer parameters for new xforms dialog
11228
11229 2002-09-11  Angus Leeming  <leeming@lyx.org>
11230
11231         * lyxserver.C (read_ready): re-write to make it more transparent
11232         and to make it work in coherent fashion under Tru64 Unix.
11233
11234 2002-09-11  André Pönitz <poenitz@gmx.net>
11235
11236         * commandtags.h:
11237         * LyXAction.C:
11238         * text3.C: implement LFUN_WORDSEL
11239
11240 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11241
11242         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11243         make floatlist_ a boost::shared_ptr<FloatList>
11244
11245         * lyxtextclass.C: include FloatList.h
11246         (LyXTextClass): initialize floatlist_
11247         (TextClassTags): add TC_NOFLOAT
11248         (Read): match "nofloat" to TC_NOFLOAT and use it.
11249         (readFloat): modify call to floatlist_
11250         (floats): ditto
11251         (floats): ditto
11252
11253         * FloatList.[Ch] (FloatList): remove commented out float
11254         initialization.
11255         (erase): new function
11256
11257 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11258
11259         * MenuBackend.C (expandToc): fix crash when there is no document
11260         open
11261
11262 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11263
11264         * many files: Add insetwrap.
11265
11266 2002-09-09  John Levon  <levon@movementarian.org>
11267
11268         * text2.C: remove confusing and awkward depth wraparound
11269
11270 2002-09-09  John Levon  <levon@movementarian.org>
11271
11272         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11273
11274         * buffer.h:
11275         * buffer.C: remove getIncludeonlyList()
11276
11277         * paragraph.C:
11278         * lyxfunc.C: remove headers
11279
11280 2002-09-09  Juergen Vigna  <jug@sad.it>
11281
11282         * text.C (getColumnNearX): fix form Michael this is most
11283         probably a cut&paste bug.
11284
11285 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11286
11287         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11288
11289         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11290         references, ws changes.
11291
11292         * text2.C (init): update counters after init
11293         (insertParagraph): no need to set counter on idividual paragraphs.
11294         (setCounter): access the counters object in the textclass object
11295         on in the buffer object.
11296         (updateCounters): ditto
11297
11298         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11299         shared_ptr<Counters> to avoid loading counters.h in all
11300         compilation units.
11301         (LyXTextClass): initialize ctrs_
11302         (TextClassTags): add TC_COUNTER, and ...
11303         (Read): use it here.
11304         (CounterTags): new tags
11305         (readCounter): new function
11306         (counters): new funtion
11307         (defaultLayoutName): return a const reference
11308
11309         * counters.C (Counters): remove contructor
11310         (newCounter): remove a couple of unneeded statements.
11311         (newCounter): simplify a bit.
11312         (numberLabel): some small formatting changes.
11313
11314         * buffer.[Ch]: remove all traces of counters, move the Counters
11315         object to the LyXTextClass.
11316
11317 2002-09-06  Alain Castera  <castera@in2p3.fr>
11318
11319         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11320         package to set the horizontal alignment on fixed width columns.
11321
11322         * lyx_sty.C:
11323         * lyx_sty.h: added tabularnewline macro def.
11324
11325         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11326
11327 2002-09-06  John Levon  <levon@movementarian.org>
11328
11329         * LyXAction.C: tooltips for sub/superscript
11330
11331         * MenuBackend.C: a bit more verbose
11332
11333         * lyxfunc.C: tiny clean
11334
11335         * undo_funcs.C: document undo_frozen
11336
11337 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11338
11339         * counters.C (Counters): add missing algorithm counter.
11340
11341         * text2.C (setCounter): lookup the counter with layouts latexname
11342         instead of by section number.
11343         (setCounter): use a hackish way to lookup the correct enum
11344         counter.
11345         a float name->type change
11346         reset enum couners with counter name directly instead of depth value.
11347
11348         * counters.C (Counters): remove the push_backs, change to use the
11349         float type not the float name.
11350         (labelItem): remove unused string, float name->type change
11351
11352         * counters.h: don't include vector, loose the enums and sects vectors
11353
11354 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11355
11356         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11357         (Read): add float->TC_FLOAT to textclassTags
11358         (Read): and handle it in the switch
11359         (readFloat): new function
11360
11361         * FloatList.C (FloatList): comment out the hardcoded float
11362         definitions.
11363
11364         * lyxlayout.h: ws change.
11365
11366 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11367
11368         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11369
11370 2002-09-03  Angus Leeming  <leeming@lyx.org>
11371
11372         * BufferView_pimpl.h: qualified name is not allowed in member
11373         declaration: WorkArea & Pimpl::workarea() const;
11374
11375         * factory.C: added using std::endl directive.
11376
11377         * text3.C: added using std::find and std::vector directives.
11378
11379 2002-08-29  André Pönitz <poenitz@gmx.net>
11380
11381         * lyxtext.h:
11382         * text2.C: remove unused member number_of_rows
11383
11384         * Makefile.am:
11385         * BufferView2.C: remove file, move contents to...
11386         * BufferView.C: ... here
11387
11388         * BufferView_pimpl.C:
11389         * factory.C: move more inset creation to factory
11390
11391         * vspace.C: avoid direct usage of LyXText, ws changes
11392
11393         * BufferView.[Ch]:
11394                 don't provide direct access to WorkArea, use two simple
11395                 acessors haveSelction() and workHeight() instead
11396
11397
11398 2002-08-29  John Levon  <levon@movementarian.org>
11399
11400         * BufferView_pimpl.C (dispatch): do not continue when
11401           no buffer
11402
11403 2002-08-28  André Pönitz <poenitz@gmx.net>
11404
11405         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11406
11407         * BufferView.h:
11408         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11409
11410 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11411
11412         * buffer.C: increment LYX_FORMAT to 221
11413
11414         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11415         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11416
11417         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11418
11419         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11420
11421 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11422
11423         * factory.C (createInset): use LyXTextClass::floats
11424
11425         * MenuBackend.C (expandFloatListInsert):
11426         (expandFloatInsert):
11427         (expandToc):
11428
11429         * text2.C (setCounter):
11430
11431         * LaTeXFeatures.C (useFloat):
11432         (getFloatDefinitions):
11433
11434         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11435
11436         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11437         floatlist_, with accessor floats().
11438
11439         * FloatList.h: remove global FloatList
11440
11441 2002-08-26  André Pönitz <poenitz@gmx.net>
11442
11443         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11444
11445         * BufferView.h:
11446         * BufferView2.C:
11447         * BufferView_pimpl.C:
11448         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11449
11450 2002-08-25  John Levon  <levon@movementarian.org>
11451
11452         * LyXAction.C: fix margin note description
11453
11454 2002-08-24  John Levon  <levon@movementarian.org>
11455
11456         * buffer.C:
11457         * bufferlist.C:
11458         * bufferview_funcs.C:
11459         * lyxfont.C:
11460         * undo_funcs.C: cleanups
11461
11462         * lyxfunc.C: disable CUT/COPY when no selection
11463
11464 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11465
11466         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11467         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11468
11469         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11470         Add backward compatibility to "mono", "gray" and "no".
11471
11472 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11473
11474         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11475         (and file_format >= 200).
11476
11477 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11478
11479         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11480
11481 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11482
11483         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11484
11485 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11486
11487         * BufferView_pimpl.C:
11488         * LyXAction.C:
11489         * buffer.C:
11490         * commandtags.h:
11491         * lyxfunc.C:
11492         * paragraph.[Ch]:
11493         * text2.C:
11494         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11495         inset and code to make it  work with the paragraph code. The inset
11496         can be anywhere in the paragraph, but will only do the expected
11497         thing in LaTeX if the layout file contains the parameter line
11498                         OptionalArgs    1
11499         (or more generally, a nonzero value) for that layout.
11500
11501 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11502
11503         * paragraph.h: remove the declaration of undefined counters class
11504         function.
11505
11506 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11507
11508         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11509         Dr. Richard Hawkins.
11510
11511 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11512
11513         * paragraph_funcs.h: remove some unneeded includes
11514
11515         * text.C (backspace): pasteParagraph now in global scipe
11516
11517         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11518         (pasteSelection): ditto
11519
11520         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11521         * paragraph_funcs.C (pasteParagraph): ... here
11522
11523 2002-08-20  André Pönitz <poenitz@gmx.net>
11524
11525         * commandtags.h: new LFUNs for swapping/copying table row/colums
11526
11527         * LyXAction.C:
11528         * lyxfunc.C: support for new lfuns
11529
11530 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11531
11532         * tabular.C:
11533         * buffer.[Ch]: remove NO_COMPABILITY stuff
11534
11535 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11536
11537         * boost.C (throw_exception): new file, with helper function for
11538         boost compiled without exceptions.
11539
11540         * paragraph.h:
11541         * lyxlength.C:
11542         * buffer.C:
11543         * ParameterStruct.h:
11544         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11545
11546         * bufferlist.C (emergencyWriteAll): use boost bind
11547
11548         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11549
11550         * text.C: include paragraph_funcs.h
11551         (breakParagraph): breakParagraph is now in global scope
11552
11553         * paragraph_funcs.[Ch]: new files
11554
11555         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11556         global scope
11557
11558         * buffer.C: include paragraph_funcs.h
11559         (insertStringAsLines): breakParagraph is now in global scope
11560
11561         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11562         paragraph_funcs.C
11563
11564         * CutAndPaste.C: include paragraph_funcs.h
11565         (cutSelection): breakParagraphConservative is now in global scope
11566         (pasteSelection): ditto
11567
11568         * buffer.h: declare oprator== and operator!= for
11569         Buffer::inset_iterator
11570
11571         * bufferlist.C (emergencyWrite): don't use fmt(...)
11572
11573         * text3.C: add using std::endl
11574
11575         * BufferView.C (moveCursorUpdate): remove default arg
11576
11577 2002-08-20  André Pönitz <poenitz@gmx.net>
11578
11579         * buffer.[Ch]: move inline functions to .C
11580
11581         * BufferView2.C:
11582         * BufferView_pimpl.C:
11583         * text.C:
11584         * buffer.[Ch]: use improved inset_iterator
11585
11586         * buffer.C:
11587         * paragraph.[Ch]: write one paragraph at a time
11588
11589 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11590
11591         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11592         style if style is not specified.
11593
11594 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11595
11596         * text2.C (setCounter): when searching for right label for a
11597         caption, make sure to recurse to parent insets (so that a caption
11598         in a minipage in a figure float works) (bug #568)
11599
11600 2002-08-20  André Pönitz <poenitz@gmx.net>
11601
11602         * text3.C: new file for LyXText::dispatch() and helpers
11603
11604         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11605
11606         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11607
11608 2002-08-19  André Pönitz <poenitz@gmx.net>
11609
11610         * lyxtext.h:
11611         * text.C: new LyXText::dispatch()
11612
11613         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11614
11615 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11616
11617         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11618
11619         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11620         Hebrew text.
11621
11622 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11623
11624         * Makefile.am: use $(variables) instead of @substitutions@
11625
11626 2002-08-15  André Pönitz <poenitz@gmx.net>
11627
11628         * lyxfunc.C:
11629         * BufferView_pimpl.C: streamlining mathed <-> outer world
11630         interaction
11631
11632         * commandtags.h:
11633         * LyXAction.C: remove unused LFUN_MATH
11634
11635 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11636
11637         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11638
11639 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11640
11641         * paragraph.C (Paragraph): reformat a bit
11642         (cutIntoMinibuffer): use builtin InsetList function instad of
11643         doing it manually.
11644         (getInset): ditto
11645
11646         * buffer.C: include boost/bind.hpp, add using std::for_each
11647         (writeFileAscii): use ParagraphList iterators
11648         (validate): use for_each for validate traversal of paragraphs
11649         (getBibkeyList): use ParagraphList iterators
11650         (resizeInsets): use for_each to resizeInsetsLyXText for all
11651         paragraphs.
11652         (getParFromID): use ParagraphList iterators
11653
11654         * BufferView2.C (lockInset): use paragraph list and iterators
11655
11656 2002-08-14  John Levon  <levon@movementarian.org>
11657
11658         * lyxserver.C: remove spurious xforms include
11659
11660 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11661
11662         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11663
11664 2002-08-13  André Pönitz <poenitz@gmx.net>
11665
11666         * LyXAction.[Ch]:
11667         * lyxfunc.C: further cleaning
11668
11669 2002-08-13  André Pönitz <poenitz@gmx.net>
11670
11671         * funcrequest.h: new constructor
11672
11673         * funcrequest.C: move stuff here from .h
11674
11675         * Makefile.am:
11676         * BufferView_pimpl.C:
11677         * LyXAction.C:
11678         * toc.C:
11679         * lyxfunc.C: subsequent changes
11680
11681         * lyxfunc.h: new view() member function
11682
11683         * lyxfunc.C: subsequent changes
11684
11685 2002-08-13  Angus Leeming  <leeming@lyx.org>
11686
11687         * BufferView2.C:
11688         * BufferView_pimpl.C:
11689         * buffer.C:
11690         * converter.C:
11691         * importer.C:
11692         * lyxfunc.C:
11693         * lyxvc.C:
11694         * toc.C:
11695         * vc-backend.C:
11696         changes due to the changed LyXView interface that now returns references
11697         to member variables not pointers.
11698
11699 2002-08-13  Angus Leeming  <leeming@lyx.org>
11700
11701         * WordLangTuple (word, lang_code): return references to strings,
11702         not strings.
11703
11704         * BufferView.h:
11705         * SpellBase.h:
11706         * lyxtext.h: forward-declare WordLangTuple.
11707
11708         * BufferView2.C:
11709         * ispell.C:
11710         * pspell.C:
11711         * text.C: #include "WordLangTuple.h".
11712
11713         * lyxtext.h:
11714         * text.C: (selectNextWordToSpellcheck): constify return type.
11715
11716 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11717
11718         * buffer.C:
11719         * buffer.h:
11720         * lyxtext.h:
11721         * paragraph.C:
11722         * paragraph_pimpl.h:
11723         * text.C:
11724         * text2.C:
11725         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11726         suggested by Angus.
11727         Made updateCounter always count from start of buffer, and removed
11728         second argument (par).
11729         Reverted floats number display to '#'. Perhaps I'll try again when the
11730         code base is sanitized a bit.
11731
11732 2002-08-12  Angus Leeming  <leeming@lyx.org>
11733
11734         * buffer.[Ch] (getLabelList): constify.
11735
11736 2002-08-07  André Pönitz <poenitz@gmx.net>
11737
11738         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11739
11740         * funcrequest.h: extension to keep mouse (x,y) position
11741
11742 2002-08-12  Juergen Vigna  <jug@sad.it>
11743
11744         * BufferView2.C (insertErrors): forbid undo when inserting error
11745         insets.
11746
11747         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11748
11749 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11750
11751         * ParagraphList.[Ch]: new files
11752
11753         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11754
11755         * BufferView2.C (lockInset): ParagraphList changes
11756         * toc.C: ditto
11757         * text2.C: ditto
11758         * bufferlist.C: ditto
11759         * buffer.h: ditto
11760         * buffer.C: ditto
11761
11762 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11763
11764         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11765         unused class variable counter_,
11766
11767         * paragraph.[Ch] (getFirstCounter): delete unused function
11768
11769         * counters.C: include LAssert.h
11770         (reset): add a new function with no arg, change other version to
11771         not have def. arg and to not allow empty arg.
11772
11773         * text2.C (setCounter): remove empty arg from call to Counters::reset
11774
11775 2002-08-11  John Levon  <levon@movementarian.org>
11776
11777         * Makefile.am: add WordLangTuple.h
11778
11779 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11780
11781         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11782         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11783
11784         * insets/insettext.C: InsetList changes
11785
11786         * graphics/GraphicsSupport.C (operator()): InsetList changes
11787
11788         * toc.C (getTocList): InsetList changes
11789
11790         * paragraph_pimpl.[Ch]: InsetList changes
11791
11792         * paragraph.[Ch]: InsetList changes
11793
11794         * buffer.C (inset_iterator): InsetList changes
11795         (setParagraph): ditto
11796         * buffer.h (inset_iterator): ditto
11797         * iterators.C (operator++): ditto
11798         * iterators.h: ditto
11799
11800         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11801
11802         * InsetList.[Ch]: new files, most InsetList handling moved out of
11803         paragraph.C.
11804
11805         * BufferView2.C (removeAutoInsets): InsetList changes
11806         (lockInset): ditto
11807         (ChangeInsets): ditto
11808
11809 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11810
11811         * paragraph_pimpl.h (empty): new function
11812
11813         * paragraph.[Ch] (empty): new function
11814
11815         * other files: use the new Paragraph::empty function
11816
11817 2002-08-09  John Levon  <levon@movementarian.org>
11818
11819         * lyxtext.h: remove unused refresh_height
11820
11821 2002-08-09  John Levon  <levon@movementarian.org>
11822
11823         * Makefile.am:
11824         * sgml.h:
11825         * sgml.C:
11826         * buffer.C:
11827         * paragraph.h:
11828         * paragraph.C: move sgml char escaping out of paragraph
11829
11830         * paragraph.h:
11831         * paragraph.C: remove id setter
11832
11833         * buffer.C:
11834         * paragraph.C:
11835         * paragraph_pimpl.C: remove dead tex_code_break_column
11836
11837         * bufferview_funcs.C: small cleanup
11838
11839         * lyxfunc.C: remove dead proto
11840
11841         * lyxtext.h: make some stuff private. Remove some dead stuff.
11842
11843         * lyxgluelength.C: make as[LyX]String() readable
11844
11845 2002-08-08  John Levon  <levon@movementarian.org>
11846
11847         * LyXAction.h:
11848         * LyXAction.C:
11849         * MenuBackend.C:
11850         * ToolbarDefaults.C:
11851         * lyxfunc.C:
11852         * lyxrc.C:
11853         * toc.C: lyxaction cleanup
11854
11855 2002-08-08  John Levon  <levon@movementarian.org>
11856
11857         * BufferView2.C: small cleanup
11858
11859         * lyxfind.h:
11860         * lyxfind.C: move unnecessary header into the .C
11861
11862 2002-08-08  John Levon  <levon@movementarian.org>
11863
11864         * funcrequest.h: just tedious nonsense
11865
11866         * lyx_main.h:
11867         * lyx_main.C: cleanups
11868
11869         * buffer.C:
11870         * vspace.C: remove dead header lyx_main.h
11871
11872 2002-08-07  Angus Leeming  <leeming@lyx.org>
11873
11874         * Paragraph.[Ch]:
11875         * paragraph_pimpl.h:
11876         Forward declare class Counters in paragraph.h by moving the ctrs member
11877         variable into Paragraph::Pimpl.
11878         (counters): new method, returning a reference to pimpl_->ctrs.
11879
11880         * text2.C: ensuing changes.
11881
11882 2002-08-07  John Levon  <levon@movementarian.org>
11883
11884         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11885
11886         * BufferView_pimpl.C: announce X selection on double/triple
11887           click
11888
11889         * lyx_main.C: use correct bool in batch dispatch
11890
11891         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11892
11893 2002-08-07  André Pönitz <poenitz@gmx.net>
11894
11895         * funcrequest.h: new class to wrap a kb_action and its argument
11896
11897         * BufferView.[Ch]:
11898         * BufferView_pimpl[Ch]:
11899         * LaTeX.C:
11900         * LyXAction.[Ch]:
11901         * lyxfunc.[Ch]:
11902         * lyxrc.C: subsequent changes
11903
11904
11905 2002-08-07  John Levon  <levon@movementarian.org>
11906
11907         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11908           document options change.
11909
11910 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11911
11912         * counters.[Ch]
11913         * text2.C
11914         * paragraph.[Ch]
11915         * makefile.am: move counters functionality over from
11916         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11917
11918 2002-08-06  John Levon  <levon@movementarian.org>
11919
11920         * WordLangTuple.h: new file for word + language code tuple
11921
11922         * SpellBase.h:
11923         * pspell.h:
11924         * pspell.C:
11925         * ispell.h:
11926         * ispell.C:
11927         * lyxtext.h:
11928         * text.C:
11929         * text2.C:
11930         * BufferView.h:
11931         * BufferView2.C: use WordLangTuple
11932
11933         * layout.h:
11934         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11935
11936 2002-08-06  John Levon  <levon@movementarian.org>
11937
11938         * lyx_main.C: fix cmdline batch handling
11939
11940 2002-08-06  André Pönitz <poenitz@gmx.net>
11941
11942         * lyxrc.C: set default for show_banner to true
11943
11944 2002-08-06  John Levon  <levon@movementarian.org>
11945
11946         * pspell.C: fix a crash, and allow new aspell to work
11947
11948 2002-08-06  John Levon  <levon@movementarian.org>
11949
11950         * lyxfunc.C:
11951         * kbmap.C: small cleanup
11952
11953         * vspace.h:
11954         * vspace.C: add const
11955
11956 2002-08-05  John Levon  <levon@movementarian.org>
11957
11958         * LyXAction.C: back to tabular-insert
11959
11960 2002-08-04  John Levon  <levon@movementarian.org>
11961
11962         * BufferView.h:
11963         * BufferView.C: cosmetic change
11964
11965         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11966
11967         * bufferlist.C:
11968         * buffer.h:
11969         * buffer.C:
11970         * lyxcb.h:
11971         * lyxcb.C:
11972         * lyxserver.C:
11973         * lyxvc.C:
11974         * vc-backend.C:
11975         * BufferView2.C: purge all "Lyx" not "LyX" strings
11976
11977         * lyxcursor.h:
11978         * lyxcursor.C: attempt to add some documentation
11979
11980         * lyxfunc.C:
11981         * commandtags.h:
11982         * LyXAction.C:
11983         * ToolbarDefaults.C:
11984         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11985           merge with LFUN_TABULAR_INSERT
11986
11987         * Makefile.am:
11988         * SpellBase.h:
11989         * ispell.h:
11990         * ispell.C:
11991         * pspell.h:
11992         * pspell.C: split up i/pspell implementations into separate
11993           files, many cleanups
11994
11995         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11996
11997         * text2.C: some cleanup
11998
11999         * lyxfunc.C: don't check for isp_command == "none" any more, it
12000           didn't make any sense
12001
12002 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
12003
12004         * counters.[Ch]
12005         * text2.C
12006         * paragraph.[Ch]
12007         * makefile.am: move counters functionality over
12008         from text2.C/paragraph.[Ch] to counters.[Ch], and
12009         make proper C++.
12010 2002-08-02  John Levon  <levon@movementarian.org>
12011
12012         * buffer.C: s/lyxconvert/lyx2lyx/
12013
12014 2002-08-02  Angus Leeming  <leeming@lyx.org>
12015
12016         * lyxlex.C: revert John's change as it breaks reading of the user
12017         preamble.
12018
12019 2002-08-02  Angus Leeming  <leeming@lyx.org>
12020
12021         * importer.C (Import):
12022         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
12023         changes due to LyXView::view() now returning a boost::shared_ptr.
12024
12025 2002-08-02  John Levon  <levon@movementarian.org>
12026
12027         * lyxlex.C: small cleanup
12028
12029 2002-08-02  John Levon  <levon@movementarian.org>
12030
12031         * text2.C (status): small cleanup, no logic change
12032
12033 2002-08-01  John Levon  <levon@movementarian.org>
12034
12035         * buffer.h:
12036         * buffer.C (writeFile): don't output alerts, caller
12037           handles this
12038
12039         * bufferlist.C:
12040         * lyx_cb.C: from above
12041
12042         * lyxfunc.C: allow to open non-existent files
12043
12044 2002-07-31  John Levon  <levon@movementarian.org>
12045
12046         * lyxserver.C: don't let incidental errors get
12047           in the way (errno)
12048
12049 2002-07-30  John Levon  <levon@movementarian.org>
12050
12051         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12052
12053 2002-07-30  John Levon  <levon@movementarian.org>
12054
12055         * lyxserver.h:
12056         * lyxserver.C: remove I/O callback too
12057
12058 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12059
12060         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12061         log.
12062
12063 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12064
12065         * many files: strip,frontStrip -> trim,ltrim,rtrim
12066
12067 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
12068
12069         * PrinterParams.h: remove extern containsOnly, and include
12070         support/lstrings.h instead.
12071
12072         * LaTeX.C (scanAuxFile): modify because of strip changes
12073         (deplog): ditto
12074         * buffer.C (makeLaTeXFile): ditto
12075         * bufferparams.C (writeFile): ditt
12076         * lyxfont.C (stateText): ditto
12077         * lyxserver.C (read_ready): ditto
12078         * vc-backend.C (scanMaster): ditto
12079
12080         * BufferView_pimpl.h: ws changes
12081
12082         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12083
12084 2002-07-26  André Pönitz <poenitz@gmx.net>
12085
12086         * kb_sequence.C: remove unnedred usings
12087
12088 2002-07-26  Juergen Vigna  <jug@sad.it>
12089
12090         * lyxfind.C (LyXReplace): we have to check better if the returned
12091         text is not of theLockingInset()->getLockingInset().
12092
12093 2002-07-25  Juergen Vigna  <jug@sad.it>
12094
12095         * lyxfind.C (LyXReplace): don't replace if we don't get the
12096         right LyXText.
12097
12098         * undo_funcs.C (createUndo): remove debugging code.
12099
12100 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12101
12102         * buffer.C (parseSingleLyXformat2Token): Use default placement
12103         when reading old floats.
12104
12105         * FloatList.C (FloatList): Change the default placement of figure
12106         and tables to "tbp".
12107
12108 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12109
12110         * MenuBackend.C: using std::max
12111
12112 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12113
12114         * MenuBackend.C (expandToc):
12115         (expandToc2): code moved from xforms menu frontend. It is now
12116         generic and TOCs are transparent to menu frontends.
12117
12118 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12119
12120         * toc.C (getTocList): protect against buf=0
12121
12122         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12123         Menu as first parameter. Now, this calls itself recursively to
12124         expand a whole tree (this will be useful for TOC handling)
12125         (expandFloatInsert): remove 'wide' version of floats
12126
12127         * MenuBackend.h (submenuname): returns the name of the submenu.
12128         (submenu): returns the submenu itself, provided it has been
12129         created by MenuBackend::expand
12130
12131 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12132
12133         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12134         insets which have noFontChange == true. (bug #172)
12135
12136 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12137
12138         * BufferView_pimpl.C: add connection objects and use them...
12139         (Pimpl): here.
12140
12141 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12142
12143         * MenuBackend.C (expandLastfiles):
12144         (expandDocuments):
12145         (expandFormats):
12146         (expandFloatListInsert):
12147         (expandFloatInsert):
12148         (expand): split expand in parts
12149
12150 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * lyx_gui.C: use lyx_gui::exit()
12153
12154 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12155
12156         * LyXAction.C: show the failing pseudo action
12157
12158 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12159
12160         * buffer.C (readFile): Run the lyxconvert script in order to read
12161         old files.
12162
12163 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * LyXAction.C:
12166         * commandtags.h:
12167         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12168
12169 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12170
12171         * LyXAction.C:
12172         * commandtags.h:
12173         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12174
12175 2002-07-22  Herbert Voss  <voss@lyx.org>
12176
12177         * lengthcommon.C:
12178         * lyxlength.[Ch]: add support for the vertical lengths
12179
12180 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12181
12182         * toc.[Ch]: std:: fixes
12183
12184 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * lyxrc.C: do not include lyx_main.h
12187
12188         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12189         for layouts
12190
12191         * lyxrc.C:
12192         * encoding.C:
12193         * bufferlist.C:
12194         * BufferView2.C: include "lyxlex.h"
12195
12196         * tabular.h:
12197         * bufferparams.h: do not #include "lyxlex.h"
12198
12199         * lyxtextclasslist.C (Add): remove method
12200         (classlist): renamed to classlist_
12201
12202         * paragraph_pimpl.C:
12203         * paragraph.C:
12204         * text2.C:
12205         * CutAndPaste.C:
12206         * bufferview_funcs.C:
12207         * bufferlist.C:
12208         * text.C:
12209         * LaTeXFeatures.C:
12210         * buffer.C:
12211         * toc.C (getTocList): use BufferParams::getLyXTextClass
12212
12213         * toc.C (getTocList): use InsetFloat::addToToc
12214
12215         * toc.[Ch]: new files, containing helper functions to handle table
12216         of contents
12217
12218         * lyxfunc.C (dispatch): no need to remove spaces around command
12219         given as a string
12220         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12221         first command of the sequence; it is not very clever, but I do not
12222         have a better idea, actually
12223
12224         * LyXAction.C (LookupFunc): make sure to remove space at the
12225         beginning and end of the command
12226
12227 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12228
12229         * MenuBackend.C (getMenubar): new method: return the menubar of
12230         this menu set
12231         (read): treat differently reading of menu and menubar (in
12232         particular, the menubar has no name now)
12233         (Menu::menubar): remove
12234
12235         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12236         saving is finished
12237
12238 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12239
12240         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12241         a bibitem inset in a RTL paragraph.
12242
12243 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * paragraph_pimpl.C: constify
12246
12247         * BufferView_pimpl.C:
12248         * LaTeX.C:
12249         * lyxfunc.C: fix dispatch in a nicer way
12250
12251 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12252
12253         * lyxfunc.C (dispatch):
12254         * BufferView_pimpl.C:
12255         * BufferView_pimpl.h:
12256         * BufferView.C:
12257         * BufferView.h: rename Dispatch() to dispatch()
12258
12259         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12260
12261         * lyxlayout.C (Read): honor DependsOn tag
12262
12263         * lyxlayout.[Ch] (depends_on): new method
12264
12265         * version.C.in: update lyx_docversion
12266
12267         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12268
12269         * paragraph.C (validate): remove from here...
12270         * paragraph_pimpl.C (validate): ... and move here
12271         (isTextAt): make it const
12272
12273         * buffer.C (getLists): ws cleanup
12274
12275 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12276
12277         * language.C (read): Use iso8859-1 encoding in latex_lang
12278         (this prevents LyX from crashing when using iso10646-1 encoding).
12279
12280 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12281
12282         * text2.C (toggleInset): if cursor is inside an inset, close the
12283         inset and leave cursor _after_ it
12284
12285 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12286
12287         * lyxfunc.C: move minibuffer completion handling out of here
12288
12289 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12290
12291         * BufferView_pimpl.C:
12292         * LaTeX.C: fix dispatch calls
12293
12294 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12295
12296         * text.C (drawChars): Fix Arabic text rendering.
12297
12298 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * LyXAction.C:
12301         * commandtags.h:
12302         * lyxfunc.C: remove message-push/pop
12303
12304         * lyxserver.C:
12305         * lyxfunc.h:
12306         * lyxfunc.C: rationalise some code by removing verboseDispatch
12307           in favour of a bool argument to dispatch()
12308
12309 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12310
12311         * lyx_main.C (init): make sure to read symlinks as absolute paths
12312
12313 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12314
12315         * lyxfunc.h:
12316         * lyxfunc.C: no need for commandshortcut to be a member
12317
12318 2002-07-15  André Pönitz <poenitz@gmx.net>
12319
12320         * converter.C: add support for $$s (scripts from lib/scripts dir)
12321         * lyx_main.C: white space
12322
12323 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12324
12325         * bufferlist.C:
12326         * lyxrc.h:
12327         * lyxrc.C: remove second exit confirmation
12328
12329 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12330
12331         * BufferView.h:
12332         * BufferView.C:
12333         * BufferView2.C:
12334         * BufferView_pimpl.h:
12335         * BufferView_pimpl.C:
12336         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12337
12338 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12339
12340         * MenuBackend.C (expand): add numeric shortcuts to document menu
12341
12342         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12343
12344 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12345
12346         * lyxfont.C (setLyXFamily):
12347         (setLyXSeries):
12348         (setLyXShape):
12349         (setLyXSize):
12350         (setLyXMisc):
12351         (lyxRead):
12352         * debug.C (value):
12353         * buffer.C (asciiParagraph): use ascii_lowercase
12354
12355 2002-07-15  Mike Fabian  <mfabian@suse.de>
12356
12357         * lyxlex_pimpl.C (search_kw):
12358         * lyxlex.C (getLongString):
12359         * converter.h (operator<):
12360         * converter.C (operator<):
12361         * buffer.C (parseSingleLyXformat2Token):
12362         (asciiParagraph):
12363         * ToolbarDefaults.C (read):
12364         * MenuBackend.C (checkShortcuts):
12365         (read):
12366         * LColor.C (getFromGUIName):
12367         (getFromLyXName): use the compare_ascii_no_case instead of
12368         compare_no_case, because in turkish, 'i' is not the lowercase
12369         version of 'I', and thus turkish locale breaks parsing of tags.
12370
12371 2002-07-16  Angus Leeming  <leeming@lyx.org>
12372
12373         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12374         now takes a Buffer const & argument.
12375
12376 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12377
12378         * BufferView.C (resize): check there's a buffer to resize
12379
12380 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12381
12382         * lyxfunc.C: remove dead code
12383
12384         * lyxserver.h:
12385         * lyxserver.C: use lyx_guii::set_read_callback
12386
12387 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12388
12389         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12390         an inset in a RTL paragraph.
12391
12392 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12393
12394         * lyxfunc.C: repaint after a font size update
12395
12396 2002-07-15  André Pönitz <poenitz@gmx.net>
12397
12398         * lyxlength.C: inBP should be able to return negative values
12399
12400 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12401
12402         * lyxfunc.C: use lyx_gui::update_fonts()
12403
12404 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12405
12406         * lyxfunc.C: use lyx_gui::update_color()
12407
12408 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12409
12410         * bufferlist.C:
12411         * lyxfunc.h:
12412         * lyxfunc.C:
12413         * lyxrc.h:
12414         * lyxrc.C: remove file->new asks for name option, and let
12415           buffer-new take an argument
12416
12417 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12418
12419         * BufferView_pimpl.C: remove unneeded extra repaint()
12420
12421 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12422
12423         * LyXAction.C: allow command-sequence with NoBuffer
12424
12425         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12426
12427 2002-07-10  Angus Leeming  <leeming@lyx.org>
12428
12429         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12430
12431 2002-07-09  Angus Leeming  <leeming@lyx.org>
12432
12433         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12434
12435 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12436
12437         * lengthcommon.h: whitespace
12438
12439         * lyxfunc.C: update scrollbar after goto paragraph
12440
12441         * lyxtext.h: factor out page break drawing, and fix it so
12442           page break/added space paints as selected nicely
12443
12444 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12445
12446         * BufferView_pimpl.C: add FIXMEs, clean up a little
12447
12448 2002-07-09  André Pönitz <poenitz@gmx.net>
12449
12450         * lyxfont.[Ch]: support for wasy symbols
12451
12452 2002-07-08  André Pönitz <poenitz@gmx.net>
12453
12454         * BufferView_pimpl.C: apply John's patch for #93.
12455
12456 2002-07-05  Angus Leeming  <leeming@lyx.org>
12457
12458         * BufferView_pimpl.C (buffer): generate previews if desired.
12459
12460         * LColor.h: add "preview" to the color enum.
12461
12462         * LColor.C (LColor): add a corresponding entry to the items array.
12463
12464         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12465         with this buffer.
12466
12467 2002-07-05  Angus Leeming  <leeming@lyx.org>
12468
12469         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12470         The body of the code is now in the method that is passed an ostream &
12471         rather than a file name.
12472         Pass an additional only_preamble parameter, useful for the forthcoming
12473         preview stuff.
12474
12475 2002-07-03  André Pönitz <poenitz@gmx.net>
12476
12477         * lyxfunc.C: simplify getStatus() a bit for math stuff
12478
12479 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12480
12481         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12482
12483 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12484
12485         * text.C (changeRegionCase): do not change case of all the
12486         document when region ends at paragraph end (bug #461)
12487
12488 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12489
12490         * paragraph.C (startTeXParParams):
12491         (endTeXParParams): add \protect when necessary
12492
12493 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12494
12495         * BufferView_pimpl.C (workAreaExpose): remove warning
12496
12497 2002-06-27  Angus Leeming  <leeming@lyx.org>
12498
12499         * Makefile.am: add lyxlayout_ptr_fwd.h.
12500
12501 2002-06-26  André Pönitz <poenitz@gmx.net>
12502
12503         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12504
12505 2002-06-25  Angus Leeming  <leeming@lyx.org>
12506
12507         * lyxfunc.C (dispatch): Comment out the call to
12508         grfx::GCache::changeDisplay. The method no longer exists now that the
12509         pixmap generation part of the graphics loader has been moved into
12510         InsetGraphics.
12511
12512 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12513
12514         * text2.C: layout as layout
12515
12516         * text.C: layout as layout
12517
12518         * tabular.C (OldFormatRead): layout as layout
12519
12520         * paragraph_pimpl.C (TeXDeeper): layout as layout
12521         (realizeFont): layout as layout
12522
12523         * paragraph.C (writeFile): layout as layout
12524         (validate): layout as layout
12525         (getFont): layout as layout
12526         (getLabelFont): layout as layout
12527         (getLayoutFont): layout as layout
12528         (breakParagraph): layout as layout
12529         (stripLeadingSpaces): layout as layout
12530         (getEndLabel): layout as layout
12531         (getMaxDepthAfter): layout as layout
12532         (applyLayout): layout as layout
12533         (TeXOnePar): layout as layout
12534         (simpleTeXOnePar): layout as layout
12535         (TeXEnvironment): layout as layout
12536         (layout): layout as layout
12537         (layout): layout as layout
12538
12539         * lyxtextclass.C (compare_name): new functor to work with
12540         shared_ptr, layout as layout
12541         (Read): layout as layout
12542         (hasLayout): layout as layout
12543         (operator): layout as layout
12544         (delete_layout): layout as layout
12545         (defaultLayout): layout as layout
12546
12547         * lyxlayout_ptr_fwd.h: new file
12548
12549         * lyxlayout.C (Read): layout as layout
12550
12551         * lyx_cb.C (MenuInsertLabel): layout as layout
12552
12553         * bufferlist.C (newFile): layout as layout
12554
12555         * buffer.C (readLyXformat2): layout as layout
12556         (parseSingleLyXformat2Token): layout as layout
12557         (insertStringAsLines): layout as layout
12558         (asciiParagraph): layout as layout
12559         (latexParagraphs): layout as layout
12560         (makeLinuxDocFile): layout as layout
12561         (simpleLinuxDocOnePar): layout as layout
12562         (makeDocBookFile): layout as layout
12563         (simpleDocBookOnePar): layout as layout
12564         (getLists): layout as layout
12565
12566         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12567
12568         * CutAndPaste.C (cutSelection): layout as layout
12569         (pasteSelection): layout as layout
12570         (SwitchLayoutsBetweenClasses): layout as layout
12571
12572         * BufferView_pimpl.C (Dispatch): layout as layout
12573         (smartQuote): layout as layout
12574
12575         * BufferView2.C (unlockInset): layout as layout
12576
12577 2002-06-24  André Pönitz <poenitz@gmx.net>
12578
12579         * lyxfunc.C: fix #487
12580
12581 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12582
12583         * lyxrc.h:
12584         * lyxrc.C:
12585         * lyxfunc.C: remove display_shortcuts, show_banner
12586
12587 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12588
12589         * Buffer_pimpl.C: oops, update on resize
12590
12591 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12592
12593         * buffer.C:
12594         * converter.C:
12595         * exporter.C:
12596         * lyxfunc.C:
12597         * BufferView.h:
12598         * BufferView.C: use repaint()
12599
12600         * BufferView_pimpl.h:
12601         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12602           as it's a clearer description. Remove superfluous
12603           redraws.
12604
12605 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12606
12607         * text.C: fix bug 488. Not ideal, but getting
12608           getWord() to work properly for the insets that
12609           matter is more difficult ...
12610
12611 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12612
12613         * BufferView_pimpl.C:
12614         * LyXAction.C:
12615         * commandtags.h:
12616         * lyxfunc.C: remove the six million index lyxfuncs to just
12617           one, and DTRT (bug 458)
12618
12619 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12620
12621         * BufferView.h:
12622         * BufferView.C:
12623         * BufferView_pimpl.h:
12624         * BufferView_pimpl.C: clean up resize() stuff,
12625           and unnecessary updateScreen()s
12626
12627 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12628
12629         * BufferView.h:
12630         * BufferView.C:
12631         * BufferView_pimpl.h:
12632         * BufferView_pimpl.C:
12633         * lyxfind.h:
12634         * lyxfind.C:
12635         * minibuffer.C: remove focus management of workarea,
12636           not needed. Use screen's greyOut()
12637
12638 2002-06-17  Herbert Voss  <voss@lyx.org>
12639
12640         * converter.C: (convert) do not post a message, when converting
12641         fails, let the calling function decide what to do in this case
12642
12643 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12644
12645         * lyxfunc.C: tidy up a little
12646
12647 2002-06-16    <alstrup@diku.dk>
12648
12649         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12650         Got rid of FORMS_H_LOCATION include. Now we are
12651         GUII.
12652
12653 2002-06-15  LyX Development team  <lyx@rilke>
12654
12655         * buffer.[Ch] (sgmlOpenTag):
12656         (sgmlCloseTag): Added support for avoiding pernicious mixed
12657         content. Return number of lines written.
12658
12659         (makeLinuxDocFile):
12660         (makeDocBookFile): Fixed calls to sgml*Tag.
12661         Simple white space clean.
12662
12663         (simpleDocBookOnePar): Simple white space clean.
12664
12665         * tabular.[Ch] (docBook): Renamed to docbook and got another
12666         argument to related with the pernicious mixed content.
12667
12668         (docbookRow): Fixed calls for docbook inset method.
12669
12670 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12671
12672         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12673         so it's X11 independent.
12674
12675         * kb*.[Ch]: ditto.
12676
12677         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12678
12679 2002-06-15  Lyx Development team  <lyx@electronia>
12680
12681         * intl.h: Renamed getTrans to getTransManager.
12682
12683 2002-06-14  Angus Leeming  <leeming@lyx.org>
12684
12685         * Makefile.am: nuke forgotten stl_string_fwd.h.
12686
12687 2002-06-12  Angus Leeming  <leeming@lyx.org>
12688
12689         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12690
12691 2002-06-13  Angus Leeming  <leeming@lyx.org>
12692
12693         * LaTeX.C:
12694         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12695
12696 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12697
12698         * kbmap.C (getiso): add support for cyrillic and greek
12699
12700 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * BufferView.h:
12703         * BufferView.C:
12704         * BufferView_pimpl.h:
12705         * BufferView_pimpl.C: move bogus scrolling logic
12706           to xforms
12707
12708 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * lyxfunc.C:
12711         * BufferView_pimpl.C: view->resize() change
12712
12713 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12714
12715         * BufferView_pimpl.C: topCursorVisible
12716           prototype change
12717
12718 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12719
12720         * Makefile.am:
12721         * lyx_gui.h:
12722         * lyx_gui.C: move to frontends/
12723
12724         * main.C:
12725         * lyx_main.h:
12726         * lyx_main.C: changes from above
12727
12728 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12729
12730         * intl.C:
12731         * intl.h:
12732         * kbmap.C:
12733         * kbsequence.C:
12734         * lyx_cb.C:
12735         * lyx_main.C: minor tidy
12736
12737 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12738
12739         * BufferView_pimpl.h:
12740         * BufferView_pimpl.C:
12741         * BufferView.h:
12742         * BufferView.C: make painter() const,
12743           remove dead code
12744
12745         * BufferView2.C: use screen() accessor
12746
12747         * lyx_main.h:
12748         * lyx_main.C: some minor cleanup
12749
12750 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12751
12752         * BufferView_pimpl.h:
12753         * BufferView_pimpl.C: remove enter/leaveView,
12754           use workHeight()
12755
12756 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12757
12758         * BufferView.h:
12759         * BufferView.C:
12760         * BufferView2.C:
12761         * BufferView_pimpl.h:
12762         * BufferView_pimpl.C: only construct screen once,
12763           rename
12764
12765         * lyxrc.C: remove pointless comment
12766
12767 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12768
12769         * BufferView.h:
12770         * BufferView.C: remove active() and belowMouse()
12771
12772         * BufferView_pimpl.h:
12773         * BufferView_pimpl.C: use workarea() not workarea_,
12774           and make it use a scoped_ptr instead
12775
12776 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12777
12778         * lyx_gui.C: add debug message on BadWindow
12779
12780 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * sp_spell.C: fdopen is not part of the C++ standard.
12783
12784         * paragraph.C (InsetIterator): use >= instead of ==
12785
12786 2002-06-07  Angus Leeming  <leeming@lyx.org>
12787
12788         Fixes needed to compile with Compaq cxx 6.5.
12789         * BufferView_pimpl.C:
12790         * DepTable.C:
12791         * buffer.C:
12792         * converter.C:
12793         * encoding.C:
12794         * lyx_gui.C:
12795         * lyx_main.C:
12796         * lyxtextclasslist.C:
12797         * minibuffer.C:
12798         * sp_spell.C:
12799         * tabular_funcs.C:
12800         * vc-backend.C:
12801         all c-library variables have been moved into namespace std. Wrap
12802         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12803
12804         * lyxlength.C:
12805         * tabular-old.C:
12806         * tabular.C:
12807         Add a using std::abs declaration.
12808
12809         * kbmap.h (modifier_pair):
12810         * paragraph.h (InsetTable, InsetList):
12811         * lyxfont.h (FontBits):
12812         type definition made public.
12813
12814         * bufferlist.C (emergencyWriteAll): the compiler complains that
12815         there is more than one possible lyx::class_fun template to choose from.
12816         I re-named the void specialisation as lyx::void_class_fun.
12817
12818         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12819
12820         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12821         the compiler is is unable to find tostr in write_attribute.
12822
12823 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12824
12825         * buffer.C (sgmlError): hide #warning
12826
12827 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12828
12829         * xtl/*: get rid of xtl, which is not in use anyway
12830
12831         * LyXAction.C (init):
12832         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12833         were unimplemented xtl experimentation
12834
12835 2002-06-04  André Pönitz <poenitz@gmx.net>
12836
12837         * lyxfunc.C: disable array operation on simple formulae
12838
12839 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12840
12841         * converter.C: constify a bit
12842
12843 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12844
12845         * lyx_gui.C: check xforms version correctly
12846
12847 2002-04-30  Herbert Voss  <voss@lyx.org>
12848
12849         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12850         "keep" option
12851
12852 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12853
12854         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12855           attempt to register it with a VCS)
12856
12857 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12858
12859         * lyx_main.C (init): honor variables LYX_DIR_13x and
12860         LYX_USERDIR_13x
12861
12862 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12863
12864         * buffer.h:
12865         * buffer.C:
12866         * lyx_main.C: fix a crash on bad command line,
12867           and give a useful exit status on error
12868
12869         * lyxfunc.C (doImport): allow -i lyx to work
12870
12871 2002-03-30  André Pönitz <poenitz@gmx.net>
12872
12873         * lyxfunc.C: mathed font changes
12874
12875 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12876
12877         * LaTeX.C:
12878         * importer.h:
12879         * importer.C:
12880         * lyx_sty.h:
12881         * lyx_sty.C:
12882         * lyxlex.C:
12883         * lyxrow.h:
12884         * lyxtext.h:
12885         * paragraph.h:
12886         * paragraph.C:
12887         * texrow.h:
12888         * texrow.C:
12889         * text.C:
12890         * trans_mgr.h: srcdocs, and some minor cleanups
12891
12892 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12893
12894         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12895         call getFont all the time)
12896
12897 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12898
12899         * switch from SigC signals to boost::signals
12900
12901 2002-05-29  André Pönitz <poenitz@gmx.net>
12902
12903         * paragraph_pimpl.C (getChar): don't call size() too often...
12904
12905 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12906
12907         * paragraph_pimpl.C (insertChar): do not try to update tables when
12908         appending (pos == size())
12909
12910         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12911         in order to reduce drastically the number of comparisons needed to
12912         parse a large document
12913
12914 2002-05-29  André Pönitz <poenitz@gmx.net>
12915
12916         * text.C:
12917         * text2.C:
12918         * lyxtextclass.C:
12919         * sp_pspell.h:
12920         * textclasslist.[Ch]:
12921         * sp_ispell.h: whitespace change
12922
12923 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12924
12925         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12926         lyxaction directly now.
12927
12928 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12929
12930         * trans.C:
12931         * lyxfont.C:
12932         * lyxvc.C: remove unused headers
12933
12934 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12935
12936         * Makefile.am:
12937         * buffer.h:
12938         * undostack.h:
12939         * undostack.C:
12940         * undo_funcs.h:
12941         * undo_funcs.C: some cleanups. Use shared_ptr
12942           and a template for the undo stacks.
12943
12944 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12945
12946         * BufferView_pimpl.h:
12947         * BufferView_pimpl.C:
12948         * kbmap.h:
12949         * kbmap.C:
12950         * kbsequence.h:
12951         * kbsequence.C:
12952         * lyxfunc.h:
12953         * lyxfunc.C:
12954         * text2.C: use key_state/mouse_state
12955
12956 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12957
12958         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12959         and LSubstring
12960
12961         * chset.C: change include order
12962         (loadFile): use boost regex and get rid of LRegex and LSubstring
12963
12964         * Makefile.am (BOOST_LIBS): new variable
12965         (lyx_LDADD): use it
12966
12967         * LaTeX.C: change include order.
12968         (scanAuxFile): use boost regex and get rid of LRegex and
12969         LSubstring
12970         (deplog): ditto
12971
12972 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12973
12974         * ColorHandler.h:
12975         * ColorHandler.C:
12976         * FontInfo.h:
12977         * FontInfo.C: moved to frontends/xforms/
12978
12979         * FontLoader.h:
12980         * FontLoader.C: moved into frontends for GUIIzation
12981
12982         * Makefile.am:
12983         * lyx_gui.C:
12984         * lyxfont.C:
12985         * lyxfunc.C: changes from above
12986
12987 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12988
12989         * LColor.C: remove spurious X include
12990
12991         * BufferView_pimpl.C:
12992         * Makefile.am:
12993         * font.h:
12994         * font.C:
12995         * text.C:
12996         * text2.C: move font metrics to frontends/
12997
12998 2002-05-24  Juergen Vigna  <jug@sad.it>
12999
13000         * undo_funcs.C (textHandleUndo): fix the cursor selection after
13001         setting the undo_cursor.
13002
13003         * ParagraphParameters.h: include local includes first.
13004
13005 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13006
13007         * BufferView_pimpl.C:
13008         * BufferView_pimpl.h:
13009         * Makefile.am:
13010         * WorkArea.h:
13011         * WorkArea.C:
13012         * screen.C: move WorkArea into frontends/
13013
13014         * lyxscreen.h:
13015         * screen.C:
13016         * text.C:
13017         * BufferView.C:
13018         * BufferView2.C: move LyXScreen into frontends/
13019
13020         * lyxlookup.h:
13021         * lyxlookup.C:
13022         * lyx_gui.C: move lyxlookup into frontends/xforms/
13023
13024 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13025
13026         * BufferView2.C:
13027         * BufferView_pimpl.C:
13028         * FontLoader.C:
13029         * LyXView.h:
13030         * LyXView.C:
13031         * Makefile.am:
13032         * WorkArea.C:
13033         * XFormsView.h:
13034         * XFormsView.C:
13035         * buffer.C:
13036         * bufferlist.C:
13037         * bufferview_funcs.C:
13038         * converter.C:
13039         * importer.C:
13040         * lyx_cb.C:
13041         * lyx_gui.C:
13042         * lyx_main.C:
13043         * lyx_find.C:
13044         * lyxfunc.C:
13045         * lyxvc.C:
13046         * minibuffer.C:
13047         * text.C:
13048         * text2.C:
13049         * trans.C:
13050         * vc-backend.C: move LyX/XFormsView into frontends/
13051
13052 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13053
13054         * Makefile.am:
13055         * PainterBase.C:
13056         * PainterBase.h:
13057         * Painter.C:
13058         * Painter.h:
13059         * WorkArea.C:
13060         * WorkArea.h:
13061         * screen.C:
13062         * tabular.C:
13063         * text.C:
13064         * text2.C: move Painter to frontends/
13065
13066 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13067
13068         * buffer.C: comment out some some code that depend upon lyx_format
13069         < 220
13070
13071         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13072         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13073
13074         * buffer.h (NO_COMPABILITY): turn off compability
13075
13076         * ColorHandler.C: include scoped_array.hpp
13077
13078         * font.C: Use more specific smart_ptr header.
13079         * Painter.C: ditto
13080         * gettext.C: ditto
13081         * ShareContainer.h: ditto
13082         * lyx_main.h: ditto
13083         * kbmap.h: ditto
13084         * FontInfo.h: ditto
13085         * BufferView_pimpl.h: ditto
13086         * ColorHandler.h: ditto
13087
13088         * kbmap.C (defkey): change call to shared_ptr::reset
13089
13090 2002-05-21  Juergen Vigna  <jug@sad.it>
13091
13092         * buffer.C (insertErtContents): fix to insert ert asis if it is
13093         non empty. Skip it completely if it contains only whitespaces.
13094
13095 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13096
13097         * BufferView_pimpl.C:
13098         * BufferView2.C: clear selection on paste (bug 393)
13099
13100 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13101
13102         * DepTable.C: include ctime
13103
13104 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13105
13106         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13107
13108 2002-05-14  Juergen Vigna  <jug@sad.it>
13109
13110         * text.C (breakParagraph): fixed function to honor the keepempty
13111         layout in the right maner and also to permit the right breaking
13112         algorithm on empty or non empyt keepempty paragraphs.
13113
13114         * paragraph.C (breakParagraph): we have to check also if the par
13115         is really empty (!size()) for isempty otherwise we do the wrong
13116         paragraph break.
13117
13118 2002-05-10  Juergen Vigna  <jug@sad.it>
13119
13120         * buffer.[Ch] : The following are only changes to the ert
13121         compatibility read reading old LaTeX layout and font stuff and
13122         convert it to ERTInsets.
13123
13124         * buffer.h: added isErtInset().
13125
13126         * buffer.C (struct ErtComp): add a fromlayout bool to check
13127         if we're inside a LaTeX layout.
13128         (isErtInset): new helper function.
13129         (insertErtContents): look for other ert insets before this one
13130         and insert the contents there, so that we don't have subsequent
13131         ERT insets with nothing between them. This way we create only one
13132         inset with multiple paragraphs. Also check if we don't insert only
13133         spaces ' ' as they are ignored anyway afterwards in the .tex file
13134         so if we have only spaces we will ignore this latex part in the
13135         new file.
13136         (parseSingleLyXformat2Token \\layout): better compatibility when
13137         reading layout-latex stuff.
13138         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13139         language tag.
13140         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13141         stuff after reading the inset only get the information back from
13142         the stack.
13143
13144 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13145
13146         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13147
13148         * LaTeXFeatures.C (getBabelOptions): New method.
13149
13150 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13151
13152         * BufferView_pimpl.C (Dispatch): work around missing argument for
13153         'layout'
13154
13155 2002-05-08  Juergen Vigna  <jug@sad.it>
13156
13157         * text.C (leftMargin): handle paragraph leftindent.
13158
13159         * paragraph.C (writeFile): write the new \\leftindent tag.
13160         (validate): handle leftindent code.
13161         (TeXEnvironment): handle paragraphleftindent code again.
13162
13163         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13164
13165         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13166         for paragrap_extra indent code and new token \\leftindent.
13167         (latexParagraphs): handle the leftindent as environment.
13168
13169         * ParameterStruct.h: added leftindent support.
13170
13171         * ParagraphParameters.C (leftIndent): added support functions for
13172         the paragraph left indent.
13173
13174         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13175         more appropriate.
13176
13177 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13178
13179         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13180         inside insetERT.
13181
13182         * text.C (computeBidiTables): No bidi in insetERT.
13183
13184         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13185         in RTL documents.
13186
13187 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13188
13189         * version.C.in: pre 5
13190
13191 2002-05-02  José Matos  <jamatos@fep.up.pt>
13192         * buffer.C (makeDocBookFile): white space changes, add newline to
13193         command styles.
13194         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13195
13196         * tabular.C (docBook): fix typo.
13197
13198 2002-05-03  Juergen Vigna  <jug@sad.it>
13199
13200         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13201         change in LyXText as we can not be sure it was not freed.
13202         (drawOneRow): remove unused code.
13203
13204         * text.C (drawInset): redo the calculation of the need_break_row as
13205         it could have a row which was already freed.
13206         (draw): look at the return value of drawInset and return false if
13207         it also returned false.
13208         (paintRowText): look at the return value of draw and return false if
13209         it also returned false.
13210
13211         * lyxtext.h: added bool return type to drawInset() and draw() so that
13212         if we have a change in the row so that the rowbreak has to be redone
13213         we abort drawing as it will be called again.
13214
13215 2002-05-02  Juergen Vigna  <jug@sad.it>
13216
13217         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13218         a change in the maintext also if we're inside an inset.
13219         (Dispatch): set the cursor again after a break line and after the
13220         screen has been updated as it could be we're in a different row.
13221
13222         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13223         to set the cursor behind the pargraph with > size().
13224         (setCursor): check also for the same paragraph when checking where
13225         to put the cursor if we have a NFR inset.
13226
13227         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13228         parts of layout read further up as it still was in the wrong
13229         position.
13230
13231 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13232
13233         * screen.C (drawFromTo): change sine fullRebreak always return
13234         true.
13235
13236         * buffer.C (parseSingleLyXformat2Token): reindent some
13237
13238         * BufferView_pimpl.C (update): change since fullRebreak always
13239         return true.
13240         (Dispatch): git rid of the last hardcoded "Standard"s.
13241
13242 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13243
13244         * text2.[Ch] (fullRebreak): make it return void now that we always
13245         returned true.
13246
13247 2002-04-30  Juergen Vigna  <jug@sad.it>
13248
13249         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13250         ert compatibility check for "latex" layout.
13251
13252 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13253
13254         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13255         minipages: use col% instead of p%, and also use the current font.
13256         (makeLaTeXFile): Fix use babel condition.
13257         (parseSingleLyXformat2Token): Correct font when reading old floats.
13258
13259 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13260
13261         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13262         inserting list of floats.
13263
13264 2002-04-25  Herbert Voss  <voss@lyx.org>
13265
13266         * MenuBackend.C (expand): don't add the graphics extensions to the
13267         export menu
13268
13269 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13270
13271         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13272         non-existing layout, do not complain if it was the default layout
13273         of the original class (bug #342)
13274
13275 2002-04-24  Juergen Vigna  <jug@sad.it>
13276
13277         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13278         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13279
13280 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13281
13282         * buffer.C (getBibkeyList): If using \bibliography, return the
13283         option field with the reference itself. Enables us to provide natbib
13284         support when using \bibliography.
13285
13286 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13287
13288         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13289
13290         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13291         natbib is provided by the LaTeX class.
13292
13293 2002-04-23  Juergen Vigna  <jug@sad.it>
13294
13295         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13296         Wakeup functions.
13297
13298         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13299
13300 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13301
13302         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13303
13304         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13305         ensuremath around textordmasculine, textordfeminine and
13306         textdegree.
13307
13308 2002-04-19  Juergen Vigna  <jug@sad.it>
13309
13310         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13311         reinitializing the buffer otherwise row-dimensions may be wrong.
13312         (update): reset also the selection cursors if they do exits otherwise
13313         their x/y positions may be wrong.
13314
13315         * text2.C (cursorDown): don't enter the inset if we came from a row
13316         above and are one row over the inset.
13317
13318         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13319         really leaving an inset.
13320
13321 2002-04-18  Juergen Vigna  <jug@sad.it>
13322
13323         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13324         of the selected paragraph does not have the selected layout also if
13325         the last one had!
13326
13327         * text2.C (setLayout): fixed bug which did not change last selected
13328         paragraph.
13329
13330         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13331         changed the read and substituted \\end_float with \\end_inset!
13332
13333         * BufferView_pimpl.C (cursorPrevious):
13334         (cursorNext): fixed to make it work with rows heigher than the work
13335         area without moving the cursor only the draw of the row.
13336         (workAreaMotionNotify): fix jumping over high rows.
13337
13338 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13339
13340         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13341         Ressler.
13342
13343 2002-04-16  Juergen Vigna  <jug@sad.it>
13344
13345         * text2.C (setCursor): set also the irow().
13346         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13347         (cursorUp):
13348         (cursorDown): support for locking an inset if the x_fix value goes
13349         inside it. That way I can transverse insets too with cursor up/down.
13350
13351         * lyxrow.h: added irow helper function same as other (i) functions.
13352
13353         * BufferView_pimpl.C (cursorPrevious):
13354         (cursorNext): fixed for insets!
13355
13356 2002-04-15  Juergen Vigna  <jug@sad.it>
13357
13358         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13359         position otherwise it is wrong in some cases.
13360
13361         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13362         inside the inset before the call.
13363
13364 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13365
13366         * buffer.[Ch] (getBibkeyList): make it const.
13367
13368 2002-04-12  Juergen Vigna  <jug@sad.it>
13369
13370         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13371
13372         * text2.C (getCursorX): new helper function
13373         (setCursor): compute also ix_
13374         (setCursorFromCoordinates): set also ix.
13375
13376         * lyxcursor.h: added ix_ and helper functions.
13377
13378         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13379
13380         * buffer.C (insertStringAsLines): dont break paragraph if the this
13381         paragraph is inside an inset which does not permit it!
13382
13383         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13384         also with no chars on this paragraph.
13385         (paintRowText): only paint stuff if it's inside the workarea!
13386
13387         * paragraph.C (breakParagraph): honor keepempty flag and break the
13388         paragraph always below not above.
13389
13390         * BufferView2.C (unlockInset): update the paragraph layout on inset
13391         unlock as we changed paragraph in such a case.
13392
13393         * lyxfind.C (LyXFind): clear the former selection if not found!
13394
13395         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13396         again called in insertChar().
13397
13398         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13399         an inset which uses the whole row!
13400         (rightMargin): ditto.
13401         (insertChar): force a rebreak if we inserted an inset!
13402
13403 2002-03-28  Herbert Voss  <voss@lyx.org>
13404
13405         * lyxlength.[Ch]: add inBP() to get the right PS-point
13406         units (BigPoint). With inPixels we have rounding errors
13407
13408 2002-04-11  Juergen Vigna  <jug@sad.it>
13409
13410         * text2.C (setCursorFromCoordinates): set iy to the right value.
13411         (setCursor): add check if row->previous exists!
13412
13413         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13414         an old float_type as this was the case in the old code!
13415
13416         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13417
13418         * BufferView2.C (showLockedInsetCursor): use iy
13419         (fitLockedInsetCursor): ditto
13420
13421         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13422         locked insets as there we have the right value now.
13423
13424         * lyxcursor.C: added iy_ variable and iy functions to set to the
13425         baseline of cursor-y of the locked inset.
13426
13427         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13428         (setCursor): fixed for insets which need a full row.
13429
13430         * text.C (rowLastPrintable): don't ignore the last space when before
13431         an inset which needs a full row.
13432         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13433         as last character of a row when before a inset which needs a full row.
13434
13435 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13436
13437         * version.C.in: update date
13438
13439         * text2.C (fullRebreak): try to always return true and see what
13440         happens...
13441
13442 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13443
13444         * MenuBackend.C (expand): use Floating::listName
13445
13446         * FloatList.C (FloatList): add listName argument to the built-in
13447         floats
13448
13449         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13450         text associated with the float.
13451
13452 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13453
13454         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13455
13456 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13457
13458         * ShareContainer.h: add a couple of missing typenames.
13459
13460 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13461
13462         * lyxrc.C (getDescription): use _() correctly rather than N_().
13463
13464 2002-03-28  Herbert Voss  <voss@lyx.org>
13465
13466         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13467         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13468
13469 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13470
13471         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13472         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13473
13474 2002-03-29  Juergen Vigna  <jug@sad.it>
13475
13476         * lyxfunc.C (dispatch): add a missing fitCursor call.
13477
13478         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13479         it was scrolled by a cursor move, so return the bool status.
13480
13481         * BufferView.C (fitCursor): return the bool flag also to the outside
13482         world as this is needed.
13483
13484         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13485
13486         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13487         call the edit() as it is not needed (and wrong) IMO.
13488         (workAreaButtonPress): set the screen_first variable before evt.
13489         unlock the inset as this may change screen_first and then we have
13490         a wrong y position for the click!
13491
13492 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13493
13494         * MenuBackend.C (expand): another translation that I missed
13495
13496 2002-03-28  Juergen Vigna  <jug@sad.it>
13497
13498         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13499
13500         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13501
13502 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13503
13504         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13505
13506         * MenuBackend.C (expand): fix export/view/update when there is no
13507         document open.
13508
13509 2002-03-27  Herbert Voss  <voss@lyx.org>
13510
13511         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13512         and text%
13513
13514 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13515
13516         * bufferview_funcs.C (currentState): only show paragraph number
13517         for is DEVEL_VERSION is set.
13518
13519         * lyxfunc.C (dispatch): put warning in INFO channel
13520
13521         * MenuBackend.C (expand): translate the name of floats
13522
13523         * FloatList.C (FloatList): mark the float names for translation
13524
13525         * converter.C (convert): use LibScriptSearch
13526
13527 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13528
13529         * MenuBackend.C (defaults): fix default menu (we might as well get
13530         rid of it...)
13531
13532 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13533
13534         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13535         directory.
13536
13537 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13538
13539         * lyxvc.C: reorder includes.
13540
13541 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13542
13543         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13544           properly
13545
13546 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13547
13548         * CutAndPaste.C: change layouts earlier on paste
13549           to avoid crashing when calling getFont()
13550
13551 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13552
13553         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13554         irritating #error.
13555
13556 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13557
13558         * WorkArea.C: remove 'Pending' debug message.
13559
13560         * most files: ws cleanup
13561
13562         * buffer.[Ch]: ws changes
13563
13564         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13565
13566 2002-03-21  Juergen Vigna  <jug@sad.it>
13567
13568         * tabular.C (SetMultiColumn): collapse also the contents of the
13569         cells and set the last border right. Added a Buffer const * param.
13570
13571 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13572
13573         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13574         linking or not.
13575
13576 2002-03-19  Juergen Vigna  <jug@sad.it>
13577
13578         * text2.C (clearSelection): reset also xsel_cache.
13579
13580         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13581         where it needs to be called (John tells us to do so too :)
13582         (selectionLost): reset sel_cache.
13583
13584         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13585
13586 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13587
13588         * text2.C (setCursorIntern): put debuging code in INSETS channel
13589
13590 2002-03-19  André Pönitz <poenitz@gmx.net>
13591
13592         * lyxfunc.C: tiny whitespace change
13593
13594 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13595
13596         * ToolbarDefaults.C (init):
13597         * LyXAction.C (init):
13598         * commandtags.h:
13599         * BufferView_pimpl.C (Dispatch):
13600         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13601
13602 2002-03-19  Allan Rae  <rae@lyx.org>
13603
13604         * exporter.C (Export): removeAutoInsets before doing anything else.
13605         While I've just introduced a dependency on BufferView this really is
13606         the best place to clean the buffer otherwise you need to cleanup in
13607         a dozen places before calling export or cleanup in a dozen functions
13608         that export calls.
13609
13610         * converter.C (runLaTeX):
13611         (scanLog): Better handling of removeAutoInsets and screen updates.
13612
13613         * lyxfunc.C (dispatch): small whitespace changes
13614
13615 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13616
13617         * WorkArea.C (C_WorkAreaEvent): return a value.
13618         (event_cb): return 1 if we handled the event, 0 otherwise.
13619
13620         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13621
13622 2002-03-18  Juergen Vigna  <jug@sad.it>
13623
13624         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13625         (GetAdditionalWidth): ditto.
13626         (RightLine): ditto.
13627         (LeftLine): ditto.
13628
13629         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13630         inset if we're there actually (probably not used right now but this
13631         is the direction to go for unifying code).
13632         (paste): disable code to clear the selection.
13633
13634         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13635         inside an InsetText and move the check further up as it is in the
13636         wrong place.
13637
13638         * text2.C (pasteSelection): set a selection over the pasted text.
13639
13640 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13641
13642         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13643         and libgraphics to build on Cygwin.
13644
13645 2002-03-15  Juergen Vigna  <jug@sad.it>
13646
13647         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13648         inserting an Inset into the paragraph. I know this is not the best
13649         fix but we already use current_view in CutAndPaste so we will remove
13650         all of it's using at the same time.
13651
13652         * buffer.C (sgmlError): deactivated function till it is rewritten in
13653         the right mode, now it can create problems.
13654
13655         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13656         before accessing it.
13657
13658 2002-03-14  Juergen Vigna  <jug@sad.it>
13659
13660         * undo_funcs.C (textHandleUndo): do the right thing when updating
13661         the inset after the undo/redo.
13662
13663         * text2.C (setCursor): just some testcode for #44 not ready yet.
13664
13665         * undo_funcs.C (textHandleUndo): set the next() and previous()
13666         pointers of the paragraph to 0 before deleting otherwise we have
13667         problems with the Paragraph::[destructor].
13668
13669         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13670         on a paragraph insertion.
13671
13672 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13673
13674         * buffer.C (asciiParagraph): use += operator for char append to
13675         string.
13676
13677         * paragraph.C (getFontSettings): compare >= not just >
13678         (highestFontInRange): ditto
13679         (setFont): ditto
13680
13681 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13682
13683         * paragraph.C: change several algorithm to be more appripriate for
13684         the problem domain. This is lookip in FontList and in the InsetList.
13685
13686 2002-03-13  André Pönitz <poenitz@gmx.net>
13687
13688         * commandtags.h:
13689         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13690
13691 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13692
13693         * commandtags.h:
13694         * LyXAction.C:
13695         * lyxfunc.C:
13696         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13697
13698 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13699
13700         * Painter.C (display): anon helper function, adjust code for this
13701         change.
13702         (pixmap): remove function.
13703
13704         * Painter.h: remove private display variable.
13705
13706         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13707
13708 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13709
13710         * WorkArea.[Ch]: remove figinset_canvas cruft.
13711
13712 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13713
13714         * lyxtextclass.C (operator): add one item cache optimization.
13715
13716         * bufferlist.h: doxy changes
13717
13718         * bufferlist.C: ws changes
13719
13720         * DepTable.[Ch] (ext_exist): place const in the right spot.
13721
13722         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13723         call resizeInsets.
13724         (workAreaExpose): call resizeInsets when the with BufferView changes.
13725         (Dispatch): adjust for protectedBlank removal
13726         (specialChar): call updateInset if the insert went ok.
13727
13728         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13729         specialChar instead.
13730
13731         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13732
13733         * BufferView.h: doxy change
13734
13735         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13736
13737         * lyxtextclass.C (operator[]): remove non-const version
13738         (defaultLayout): remove non-const version
13739
13740 2002-03-12  Juergen Vigna  <jug@sad.it>
13741
13742         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13743         did resize the LyXText too.
13744
13745         * buffer.C (readLyXformat2): set layout information on newly allocated
13746         paragraphs.
13747
13748         * tabular.C (OldFormatRead): set layout information on the paragraph.
13749
13750 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13751
13752         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13753
13754 2002-03-11  Juergen Vigna  <jug@sad.it>
13755
13756         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13757         plainly wrong.
13758         (resizeCurrentBuffer): force also the insets to resize themselfes.
13759         (moveCursorUpdate): fixed up for InsetText.
13760
13761 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13762
13763         * commandtags.h:
13764         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13765         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13766         value of Dialogs::tooltipsEnabled().
13767         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13768
13769 2002-03-08  Juergen Vigna  <jug@sad.it>
13770
13771         * BufferView_pimpl.C (updateInset): update inset inside inset also
13772         if it isn't inside theLockingInset().
13773
13774 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13775
13776         * buffer.C (asciiParagraph): redo some of the word and line length
13777         handling.
13778         (getLists): look for Caption instead of caption.
13779
13780 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13781
13782         * buffer.C (Buffer): initialize niceFile to true
13783         (makeLaTeXFile):
13784         (makeLinuxDocFile):
13785         (makeDocBookFile): make sure niceFile is true on exit
13786
13787 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13788
13789         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13790
13791 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13792
13793         * LyXSendto.C: remove.
13794         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13795         * lyx_gui.C: remove now-redundant comment.
13796         * ColorHandler.h: remove forward declaration of class WorkArea.
13797         * lyxfunc.C: remove #include "WorkArea.h".
13798
13799 2002-03-07  Juergen Vigna  <jug@sad.it>
13800
13801         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13802         got moved away with the DEPM and also set the inset_owner always
13803         right which before could have been omitted.
13804
13805 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13806
13807         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13808         wanted layout is not found.
13809
13810 2002-03-07  Juergen Vigna  <jug@sad.it>
13811
13812         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13813
13814 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13815
13816         * paragraph.C (breakParagraph): use default layout not layout of
13817         prev paragraph.
13818         (Paragraph): clear ParagraphParameters.
13819
13820 2002-03-06  Juergen Vigna  <jug@sad.it>
13821
13822         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13823         otherwise it would not be a valid lenght. Fixed a special case in
13824         the minipage compatibility read where we end the document with a
13825         minipage.
13826
13827         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13828         was set as it could be 0 for InsetTexts first entry.
13829
13830 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13831
13832         * paragraph.C (writeFile): if layout is empty write out
13833         defaultLayoutName().
13834
13835         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13836         file without named layout we set layout to defaultLayoutName().
13837
13838 2002-03-06  Juergen Vigna  <jug@sad.it>
13839
13840         * CutAndPaste.C (copySelection): set layout for new paragraph.
13841
13842         * text.C (prepareToPrint): leave ERT inset left aligned
13843         (leftMargin): don't indent paragraphs inside ERT insets
13844
13845 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13846
13847         * paragraph.C (breakParagraph): dont call clear do the work manually
13848
13849         * paragraph.[Ch] (clear): remove function
13850
13851 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13852
13853         * paragraph.C (Paragraph): dont call clear, the work has already
13854         been done.
13855
13856         * lyxtextclass.C (operator): assert if n is empty
13857
13858         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13859         work manually instead.
13860
13861 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13862
13863         * BufferView_pimpl.C: protect selectionLost against text == 0
13864
13865 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13866
13867         * text.C (breakParagraph): fix a setting layout to '0' problem.
13868
13869 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13870
13871         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13872         final location of file, for the included files, and graphics.
13873
13874 2002-03-05  Juergen Vigna  <jug@sad.it>
13875
13876         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13877
13878 2002-03-04  Juergen Vigna  <jug@sad.it>
13879
13880         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13881
13882         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13883         last column of multicolumn cells.
13884         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13885
13886 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13887
13888         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13889         file if it doesn't go to a temporary file.
13890
13891         * buffer.C (sgmlOpenTag):
13892         (sgmlCloseTag):  remove extra newline insertion.
13893
13894 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13895
13896         * text.C (getRowNearY): comment out debug msg
13897
13898 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13899
13900         * text2.C: first -> first_y
13901
13902         * text.C (getRowNearY): add some attemts at a possible
13903         optimization, not working.
13904
13905         * tabular.[Ch]: add BufferParams to several function so that newly
13906         created paragraph can be initialized to he default layotu for the
13907         buffers textclass.
13908
13909         * tabular-old.C (ReadOld): add buf->params to call of Init
13910
13911         * screen.C: rename text->first to text->first_y
13912
13913         * paragraph.C (breakParagraph): always set layout in the broken
13914         paragraph
13915
13916         * lyxtextclass.C (Read): remove lowercase
13917         (hasLayout): ditto
13918         (operator): ditto
13919         (delete_layout): ditto
13920
13921         * lyxtext.h: rename first -> first_y
13922
13923         * lyxlayout.C (Read): remove lowercase
13924         (name): ditto
13925         (setName): ditto
13926         (obsoleted_by): ditto
13927
13928         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13929
13930         * buffer.C (insertErtContents): add params are to InsetERT
13931         (parseSingleLyXformat2Token): add code to check if a paragraphs
13932         layout really exist.
13933         (parseSingleLyXformat2Token): add params to several inset
13934         constructors
13935         (asciiParagraph): remove lowercase, do the layout comparisons with
13936         no_case
13937
13938         * BufferView_pimpl.C (cursorNext): first -> first_y
13939         (resizeCurrentBuffer): first -> first_y
13940         (updateScrollbar): first -> first_y
13941         (scrollCB): first -> first_y
13942         (workAreaMotionNotify): first -> first_y
13943         (workAreaButtonPress): first -> first_y
13944         (checkInsetHit): first -> first_y
13945         (cursorPrevious): first -> first_y
13946         (cursorNext): first -> first_y
13947         (Dispatch): add buffer_->params to severl inset contructors
13948
13949 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13950
13951         * lyxlayout.C (Read): remove some debug info that I forgot.
13952
13953         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13954         clean up the code slightly.
13955         (makeLinuxDocFile): ditto
13956         (makeDocBookFile): ditto
13957
13958         * text2.C: layout as string
13959
13960         * text.C: layout as string
13961
13962         * paragraph_pimpl.C: layout as string
13963
13964         * paragraph.[Ch]: layout as string
13965
13966         * lyxtextclasslist.[Ch]: layout as string
13967
13968         * lyxtextclass.[Ch]: layout as string
13969
13970         * lyxtext.h: layout as string
13971
13972         * lyxlayout.[Ch]: layout as string
13973
13974         * lyx_cb.C: layout as string
13975
13976         * bufferview_funcs.C: layout as string
13977
13978         * bufferparams.C: layout as string
13979
13980         * buffer.C: layout as string
13981
13982         * LyXView.[Ch]: layout as string
13983
13984         * LaTeXFeatures.[Ch]: layout as string
13985
13986         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13987
13988         * BufferView_pimpl.C: change current_layout to string, remove
13989         lyx::layout_type.
13990         (Dispatch):
13991         (smartQuote):
13992         (insertInset):
13993         (workAreaButtonRelease): layout as string
13994
13995         * BufferView2.C (unlockInset): adjust
13996
13997         * vspace.C (asLatexCommand): use an explict temp variable.
13998
13999 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
14000
14001         * Makefile.am: use FRONTEND_*
14002
14003 2002-03-01  Juergen Vigna  <jug@sad.it>
14004
14005         * tabular.C (SetWidthOfMulticolCell): changed to something better
14006         I hope but still work in progress.
14007         (recalculateMulticolumnsOfColumn): renamed function from
14008         recalculateMulticolCells as it is more appropriate now.
14009         (SetWidthOfCell): calculate multicols better.
14010
14011 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14012
14013         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
14014
14015         * lyxfunc.C (processKeySym): print sequence also if it is
14016         `deleted' (complete)
14017
14018         * kbsequence.C (print): print sequence even if it is deleted
14019         (complete would be a better word, actually).
14020
14021         * lyxfunc.C (dispatch): print complete options after a prefix key
14022
14023         * vspace.C (asLatexCommand): rewrite in a slightly different form.
14024
14025 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
14026
14027         * text2.C (setCharFont): eliminate setCharFont code duplication.
14028
14029 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14030
14031         * BufferView_pimpl.C (Dispatch): remove bogus handling of
14032         LFUN_TABULAR_FEATURE (bug #177)
14033
14034 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
14035
14036         * Makefile.am: remove figure.h
14037
14038 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
14039
14040         * Bufferview_pimpl.C:
14041         * CutAndPasteC:
14042         * LaTeX.C:
14043         * LyXSendto.C:
14044         * buffer.C:
14045         * bufferlist.C:
14046         * converter.C:
14047         * language.C:
14048         * lyxfunc.C:
14049         * lyxvc.C:
14050         * paragraph.C:
14051         * text.C:
14052         * text2.C: remove #include "lyx_gui_misc.h".
14053
14054         * LaTeX.C: added #include <cstdio>
14055
14056 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14057
14058         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14059         that the paragraph following this one can have.
14060
14061         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14062
14063         * vspace.C (asLatexCommand): fix bogus gcc warning
14064
14065         * Makefile.am (lyx_SOURCES): remove vms_defines.h
14066
14067 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
14068
14069         * text2.C (setLayout): get rid of redundant code
14070
14071 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
14072
14073         * text2.C (incDepth): make sure depth cannot be increased beyond
14074         reasonable values.
14075
14076 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
14077
14078         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14079         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14080
14081         * PainterBase.h (image):
14082         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14083         a LyXImage const *.
14084
14085 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14086
14087         * BufferView.C:
14088         * BufferView.h:
14089         * BufferView_pimpl.C:
14090         * BufferView_pimpl.h:
14091         * LaTeXFeatures.C:
14092         * LyXAction.C:
14093         * LyXView.C:
14094         * Makefile.am:
14095         * UpdateList.h:
14096         * UpdateList.C:
14097         * buffer.C:
14098         * figure.h:
14099         * figureForm.C:
14100         * figureForm.h:
14101         * figure_form.C:
14102         * figure_form.h:
14103         * lyx_cb.C:
14104         * lyx_gui.C:
14105         * lyx_gui_misc.C:
14106         * lyxfunc.C:
14107         * sp_base.h:
14108         * sp_ispell.h:
14109         * sp_pspell.h:
14110         * sp_spell.C: remove fig inset, and the crap house of
14111           cards that follows it
14112
14113 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14114
14115         * Makefile.am:
14116         * lyxserver.C:
14117         * os2_defines.h:
14118         * os2_errortable.h:
14119         * nt_defines.h: move .h into support/
14120
14121         * vms_defines.h: remove
14122
14123         * WorkArea.C: add space in debug output
14124
14125         * text2.C:
14126         * paragraph.C:
14127         * buffer.C: add WITH_WARNINGS
14128
14129         * vc-backend.h:
14130         * vc-backend.C:
14131         * bufferlist.C: s/retrive/retrieve/, add docs
14132
14133         * vspace.h:
14134         * vspace.C:
14135         * kbmap.h:
14136         * lyxlength.h:
14137         * lyxgluelength.h:
14138         * length_common.h:
14139         * chset.h:
14140         * chset.C: add docs
14141
14142         * lyxgui.C: add ID to X error handler
14143
14144         * lyxtestclass.c: fix typo
14145
14146 2002-02-26  Juergen Vigna  <jug@sad.it>
14147
14148         * tabular_funcs.C (write_attribute): changed so that some default
14149         attributes are not written at all.
14150         (getTokenValue): set default values before trying to read the
14151         value so we have the return value always set as default if we don't
14152         find the token we search for.
14153
14154         * tabular.C (Write): write bools as bools not as strings!
14155
14156 2002-02-22  Juergen Vigna  <jug@sad.it>
14157
14158         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14159         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14160
14161         * text.C (leftMargin): don't add an indent for paragraphs inside
14162         tabular cells (fix #208).
14163
14164 2002-02-21  José Matos  <jamatos@fep.up.pt>
14165
14166         * tabular.C (docBook): fixed support for long tables.
14167
14168 2002-02-20  Juergen Vigna  <jug@sad.it>
14169
14170         * text2.C (getFont): get the drawing font of the Inset if this
14171         paragraph is inside an inset (only important for InsetERT for now).
14172
14173         * buffer.C (insertErtContents): use new lanugage params in ERT
14174         constructor.
14175
14176         * CutAndPaste.C: commenting out seemingly uneeded code.
14177
14178 2002-02-19  Allan Rae  <rae@lyx.org>
14179
14180         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14181         Iterators might be simple to use but they also get invalidated.
14182         (removeAutoInsets): renamed saved cursor tracking variables and added
14183         some comments to clarify what everything does.
14184
14185 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14186
14187         * Chktex.C:
14188         * LaTeX.C:
14189         * LyXSendto.C:
14190         * converter.C:
14191         * lyx_cb.C:
14192         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14193         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14194
14195         * lyxfunc.C:
14196         * vc-backend.h: remove #include "support/syscall.h"
14197
14198         * LaTeX.C:
14199         * LyXSendto.C:
14200         * converter.C: rearrange #includes in Lars' approved fashion.
14201
14202         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14203         forward declare class Timeout in the header file.
14204
14205         * XFormsView.C: changes due to the above.
14206
14207         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14208         similar to LyXView.
14209
14210         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14211         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14212
14213 2002-02-18  José Matos  <jamatos@fep.up.pt>
14214
14215         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14216         insets contents.
14217
14218 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14219
14220         * a lot of small ws changes
14221         * add a lot of using std::XXX
14222         * use std construcs some places where approp.
14223         * use some exisint stuff from lyxfunctional where approp.
14224         * Make file changes to use partial linking (lets test this now...)
14225
14226 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14227
14228         * Chktex.C:
14229         * buffer.C:
14230         remove #include "support/syscontr.h" as it's redundant. Always has been.
14231
14232         * Chktex.C:
14233         * LaTeX.C:
14234         * LyXSendto.C:
14235         * converter.C:
14236         * lyx_cb.C:
14237         * vc-backend.C:
14238         change Systemcalls::System to Systemcalls::Wait and
14239         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14240         No change of functionality, just reflects the stripped down Systemcalls
14241         class.
14242
14243 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14244
14245         * debug.[Ch]: add a GRAPHICS type to the enum.
14246
14247 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14248
14249         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14250
14251         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14252         there is an inset.
14253
14254 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14255
14256         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14257         match the changes below.
14258
14259         * text2.C (toggleInset): if there is not editable inset at cursor
14260         position, try to see if cursor is _inside_ a collapsable inset
14261         and close it.
14262
14263 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14264
14265         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14266         document menu has a nice checkbox
14267
14268 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14269
14270         * lyxlength.C (asLatexString): change PW to output as percent of
14271         \textwidth.
14272
14273         * lengthcommon.C: change '%' to 't%'
14274
14275         * lyxfunc.C (dispatch): a few comments from Martin
14276
14277 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14278
14279         * WorkArea.h:
14280         * WorkArea.C:
14281         * BufferView_pimpl.h:
14282         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14283           the X selection.
14284
14285 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14286
14287         * vspace.C (inPixels): fix compiler warning
14288
14289 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14290
14291         * lyxfunc.C (getStatus): fix status message for disabled commands.
14292
14293 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14294
14295         * BufferView_pimpl.C: fix crash on close buffer
14296         during selection (#227)
14297
14298 2002-01-27  Herbert Voss  <voss@lyx.org>
14299
14300         * buffer.C: link old Figure to new graphic inset
14301
14302 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14303
14304         * FontLoader.C (getFontinfo): Change the latex font names in order
14305         to match the names of type1inst.
14306
14307 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14308
14309         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14310
14311         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14312         (extchanged): ditto
14313         (ext_exist): ditto
14314         (remove_files_with_extension): ditto
14315         (remove_file): ditto
14316         (write): ditto
14317
14318         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14319         document is smaller than the work area height. Do not initialize
14320         static variables to 0.
14321
14322 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14323
14324         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14325
14326         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14327         LFUN_LAYOUT_PARAGRAPHS.
14328
14329         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14330         tabular. It is possible to provide a possible cell, which will
14331         typically be the actcell from the corresponding insettabular
14332
14333         * lyxfunc.C (getStatus): small cleanup; disable
14334         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14335         true
14336
14337 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14338
14339         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14340
14341         * paragraph.C (startTeXParParams):
14342         (endTeXParParams): new methods. The LaTeX code to
14343         start/end paragraph formatting
14344         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14345         empty (fixes bug #200)
14346
14347         * vspace.C (inPixels): adapt to the change below
14348         (inPixels): [later] more cleanups (remove unused variables)
14349
14350         * lyxlength.C (inPixels): change to use a width and a height as
14351         parameter.
14352
14353 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14354
14355         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14356         Replaced with \paperwidth
14357
14358         * DepTable.C (insert): add std:: qualifier
14359
14360 2002-01-18  Allan Rae  <rae@lyx.org>
14361
14362         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14363         updated also?
14364
14365         * text.C (drawInset): Turned out I didn't know enough about how
14366         rebreaking worked.  This fixes most of the redraw problems.  I see
14367         an occasional cursor trail when a line is broken now and the cursor
14368         placement can seem out by a few pixels also after a rebreak.
14369
14370 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14371
14372         * buffer.C (parseSingleLyXformat2Token): update because minipage
14373         width is now a LyXLength
14374
14375         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14376
14377         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14378         math insets
14379
14380 2002-01-17  Juergen Vigna  <jug@sad.it>
14381
14382         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14383
14384         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14385         is set correctly and the inset is updated correctly.
14386
14387 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14388
14389         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14390         the beginning of the loop.
14391
14392 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14393
14394         * lyxrc.C: improve help for use_scalable_fonts
14395
14396 2002-01-17  Allan Rae  <rae@lyx.org>
14397
14398         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14399
14400 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14401
14402         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14403         make sure to set their inset_owner to the right value (bug #171)
14404
14405 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14406
14407         * DepTable.h
14408         * DepTable.C: Implement mtime checking to reduce time spent doing
14409         CRCs.
14410
14411 2002-01-16  Juergen Vigna  <jug@sad.it>
14412
14413         * tabular.C (GetAdditionalHeight): one of error fixed.
14414
14415         * lyxrc.C (output): small fix in writing use_pspell.
14416
14417 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14418
14419         * sp_base.h: #include LString.h
14420
14421 2002-01-16  Allan Rae  <rae@lyx.org>
14422
14423         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14424         Can someone check this please?
14425
14426         * text.C (drawInset): It was possible that p.row would be removed by
14427         breakAgainOneRow upsetting a few other settings.  There may be another
14428         small tweak possible by setting need_break_row = 0 when p.row has been
14429         removed but I don't know enough about the logic here.
14430
14431 2002-01-15  Allan Rae  <rae@lyx.org>
14432
14433         * text.C (insertChar): removed conditional truism.
14434
14435         * BufferView2.C (removeAutoInsets): More tweaks.
14436         cur_par_prev could be a stray pointer.  Check for trailing empty line
14437         in case last line was cur_par and only had an error inset on it.
14438
14439 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14440
14441         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14442         absolute
14443
14444         * vc-backend.C (most methods):
14445         * exporter.C (Export):
14446         * converter.C (convert):
14447         (runLaTeX):
14448         * LyXSendto.C (SendtoApplyCB):
14449         * lyxfunc.C (dispatch):
14450         (menuNew):
14451         (open):
14452         (doImport):
14453         * lyx_cb.C (AutoSave):
14454         (InsertAsciiFile):
14455         * BufferView_pimpl.C (MenuInsertLyXFile):
14456         * buffer.C (runChktex): use Buffer::filePath().
14457
14458         * buffer.h: rename filename to filename_; rename filepath to
14459         filepath_ and make it private
14460         (filePath): new method
14461
14462         * buffer.C (writeFile): use fileName()
14463         (getLatexName):
14464
14465         * lyx_main.C (init): fix starting  of LyX when the binary is a
14466         link from so,ewhere else.
14467
14468         * minibuffer.C: include <cctype> for isprint
14469
14470 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14471
14472         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14473         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14474         name clash with InsetCollapsable's width function.
14475
14476 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14477
14478         * lastfiles.C: include <iterator>
14479
14480 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14481
14482         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14483         std::count.
14484
14485         * buffer.C (makeLaTeXFile): ditto.
14486         Also make loop operation more transparent.
14487
14488 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14489
14490         * ToolbarDefaults.C: remove trailing comma closing namespace.
14491
14492         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14493
14494         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14495         as in WorkArea.
14496
14497         * trans.C (Load): comment out unused variable, allowed.
14498
14499 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14500
14501         * minibuffer.[Ch] (append_char): new method to recieve input from the
14502         drop-down completion browser. If a key was pressed, then recieve this
14503         char and append it to the existing string.
14504         (peek_event): modify the positioning data passed to the completion
14505         browser so that it can be placed above the minibuffer rather than below.
14506 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14507
14508         * LyXAction.C (init): alloe error-next for readonly documents.
14509
14510         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14511         count.
14512
14513 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14514
14515         * bufferlist.C (readFile): create the buffer _after_ checking that
14516         the file exists.
14517
14518         * lyxfunc.C (verboseDispatch): fix handling of arguments
14519
14520         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14521
14522         * lyxrc.C: use string::erase() instead of initializing to "".
14523
14524
14525 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14526
14527         * BufferView_pimpl.h:
14528         * BufferView_pimpl.C:
14529         * WorkArea.h:
14530         * WorkArea.C:
14531         * text2.C: tell X when we have made a selection for copying
14532
14533 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14534
14535         * BufferView_pimpl.C (MenuInsertLyXFile):
14536         * lyxfunc.C (menuNew):
14537         (open):
14538         (doImport): add shortcuts to directory buttons
14539
14540         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14541         open a float)
14542
14543         * lyxfunc.C (setStatusMessage):
14544         (getStatusMessage): new methods
14545         (getStatus):use setStatusMessage instead of setErrorMessage
14546         (dispatch): when function is disabled, set error message here
14547         [instead of in getStatus previously]
14548
14549         * BufferView_pimpl.C (workAreaButtonRelease): update
14550         toolbar/menubar here too.
14551
14552 2002-01-13  Allan Rae  <rae@lyx.org>
14553
14554         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14555         Now seems indestructible.  Remaining task is to audit all other
14556         code affected by deleteEmptyParagraphMechanism.  One small quirk
14557         left is that an empty document with an error in the preamble can
14558         be made to report an error but no error box appears.  I don't know
14559         where it goes.
14560         (removeAutoInsets): Improved comments.
14561
14562 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14563
14564         * Thesaurus.h:
14565         * Thesaurus.C: update for Aiksaurus 0.14
14566
14567 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14568
14569         * text2.C (firstParagraph): removed member function, all uses
14570         replaces with ownerParagraph
14571         (redoParagraphs): here
14572         (updateInset): here
14573         (toggleAppendix): here
14574         * BufferView2.C (insertErrors): here
14575         (setCursorFromRow): here
14576
14577 2002-01-13  Allan Rae  <rae@lyx.org>
14578
14579         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14580         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14581         There is still a way to segfault this although you may have to do this
14582         multiple times: Have an InsetERT with an unknown command in it.
14583         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14584         <down-arrow>, <Enter> again, View->DVI, BANG!
14585
14586         * text2.C (setCursor):
14587         (deleteEmptyParagraphMechanism):
14588         * lyxtext.h (setCursor):
14589         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14590         Making use of the return value may help fix other bugs.
14591
14592 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14593
14594         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14595
14596         * LyXView.C (updateMenubar): call MenuBar::update here
14597         (updateToolbar): but not here
14598         (showState): do not update toolbar/menubar
14599
14600         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14601         should need to care about that.
14602
14603         * lyxfunc.C (verboseDispatch): simplify a bit
14604         (getStatus): have a version which takes a pseudoaction, and
14605         another which requires a (kb_action,string).
14606
14607         * LyXAction.C (retrieveActionArg): make it work also when action
14608         is not a pseudo-action.
14609         (getActionName): simplify a bit
14610         (helpText):
14611
14612 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14613
14614         * lyxfunc.C (verboseDispatch): new families of methods with
14615         several ways to specify a command and a bool to indicate whether
14616         the command name and shortcut should be displayed in minibuffer
14617         (eventually, we could extend that to a finer bitmask like
14618         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14619         (dispatch): the pristine dispatch command which just, well,
14620         dispatchs! Note it still sets its result to minibuffer; I'm not
14621         sure we want that.
14622
14623         * lyxfunc.h: remove setHintMessage
14624
14625         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14626
14627 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14628
14629         * BufferView_pimpl.C (specialChar): delete new inset if we have
14630         not been able to insert it.
14631
14632         * kbmap.C: revert to using int instead of kb_action, since all we
14633         are dealing with is pseudo-actions.
14634
14635         * LyXAction.C (searchActionArg): change to return int instead of
14636         kb_action, since the result is a pseudoaction.
14637
14638 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14639
14640         * buffer.C (insertErtContents): Fix (partially) the font bug.
14641
14642 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14643
14644         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14645         as the other one is broken on my machine!
14646
14647 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14648
14649         * commandtags.h:
14650         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14651
14652 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14653
14654         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14655         reflect their actual use. Provide compatibility code for older lyxrc
14656         files.
14657
14658         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14659         FL_NORMAL_STYLE.
14660         change names of popup font variables in line with the changes to lyxrc.C
14661
14662 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14663
14664         * buffer.C (asciiParagraph): avoid outputing a word twice after
14665         an inset.
14666
14667         * lyxrc.C (getDescription): document that document_path and
14668         template_path can be empty.
14669
14670 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14671
14672         * LaTeXFeatures.C (getMacros):
14673         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14674
14675         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14676
14677         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14678         getPackages.
14679         (getPackages): rename feature "floats" to "float". Use an array to
14680         iterate over 'simple' features (i.e. just a \usepackage). Add
14681         handling of "amsmath" (renamed from "amsstyle").
14682
14683 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14684
14685         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14686         features list.
14687
14688 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14689
14690         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14691         FuncStaus::FuncStatus & FuncStaus::some_method().
14692
14693 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14694
14695         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14696         of the func_satus stuff. Edited and massaged in various ways by
14697         JMarc.
14698
14699         * lyxfunc.C (getStatus): use FuncStatus
14700
14701 2002-01-08  Juergen Vigna  <jug@sad.it>
14702
14703         * text.C (nextBreakPoint): use function Inset::isChar().
14704
14705         * paragraph.C (TeXOnePar): use function
14706         Inset::forceDefaultParagraphs.
14707
14708         * buffer.C (latexParagraphs): use function
14709         Inset::forceDefaultParagraphs.
14710
14711 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14712
14713         * lyx_gui.C (init): set the style of the menu popups to
14714         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14715
14716 2002-01-07  Juergen Vigna  <jug@sad.it>
14717
14718         * text.C (setHeightOfRow): small fix
14719         (prepareToPrint): don't look at alignment if we don't have the place
14720         for doing it.
14721
14722 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14723
14724         * box.C: New file. Move the Box methods and functions out of box.h,
14725         following Lars' suggestion.
14726
14727 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14728
14729         * box.h: #include "support/LOstream.h", needed for inlined function.
14730
14731         * lyxtextclass.C:
14732         * lyxtextclasslist.C: added some using std declarations.
14733
14734 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14735
14736         * box.h: make signed dimensions to allow insets wider than
14737           the screen (bug #162)
14738
14739         * BufferView_pimpl.C: add some insetHit debug
14740
14741 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14742
14743         * vc-backend.C: add FIXME
14744
14745 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14746
14747         * lyxfunc.C (getStatus): enable code for showing math font status
14748         in toolbar/menu.
14749
14750 2002-01-07  Juergen Vigna  <jug@sad.it>
14751
14752         * text.C (nextBreakPoint): removed debug output not needed anymore.
14753
14754 2002-01-06  Juergen Vigna  <jug@sad.it>
14755
14756         * text.C (nextBreakPoint): fixed up this function we had this bug
14757         since ever but now hopefully we break row better.
14758         (insertChar): we have to check if an inset is the next char as it
14759         could now happen that a large inset is causing a break.
14760
14761 2002-01-05  Juergen Vigna  <jug@sad.it>
14762
14763         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14764         if it doesn't like to be drawed.
14765
14766 2002-01-04  Juergen Vigna  <jug@sad.it>
14767
14768         * BufferView2.C (lockInset): forgot to set a cursor.
14769
14770         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14771
14772 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14773
14774         * FormMathsPanel.C:
14775         * FormMathsPanel.h
14776         * MathsSymbols.C:
14777         * form_maths_panel.C:
14778         * form_maths_panel.h:
14779         * form_maths_panel.fd: implemented sub- and super- buttons in math
14780         panel.
14781
14782         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14783         (or ^ space) to be used as in TeX (req'd by Andr�.
14784
14785         * lyxfunc.C: Allow ^ and _ again to be used both as
14786         super/subscript (mathed) and as themselves (in text).
14787
14788 2002-01-03  Allan Rae  <rae@lyx.org>
14789
14790         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14791         "LyX" or the filename of the current buffer if it has one.  This is a
14792         modified form of John Levon's patch.
14793
14794         * XFormsView.C (setWindowTitle): also set icon title.
14795
14796         * LyXView.h (setWindowTitle): signature changed.
14797         * XFormsView.h (setWindowTitle): ditto.
14798
14799 2002-01-02  Juergen Vigna  <jug@sad.it>
14800
14801         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14802
14803 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14804
14805         * screen.C (topCursorVisible): introduce a temp var for
14806         text->cursor.row(), handle the case where this row is null. (kindo
14807         hachish)
14808
14809         * text2.C (setCursor): add a couple of asserts.
14810
14811         * paragraph.h (inset_iterator): add -> operator
14812
14813         * paragraph.[Ch] (autoDeleteInsets): remove member function
14814
14815         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14816         cursor pos correctly and handle inset deletion by itself.
14817         (insertErrors): move iterator declaration out of for expression
14818
14819         * lyxtextclass.C: add <algorithm>
14820
14821         * Makefile.am: added the new files to sources, removed layout.C
14822
14823         * layout.C: removed file
14824
14825         * layout.h: remove LYX_DUMMY_LAYOUT
14826
14827         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14828         layout.
14829
14830         * lyxlayout.[Ch]:
14831         * lyxtextclass.[Ch]:
14832         * lyxtextclasslist.[Ch]: new files
14833
14834         * include order changes to a lot of files, also changes because of
14835         the six new files.
14836
14837 2001-12-27  Juergen Vigna  <jug@sad.it>
14838
14839         * buffer.C (asciiParagraph): more fixes.
14840
14841         * tabular.C (ascii): make ascii export support export of only the
14842         data separated by a column-delimiter.
14843         (ascii): better support for ascii export.
14844
14845         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14846
14847 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14848
14849         * tabular_funcs.C: use a "using std::getline" instead of the
14850         previous fix from Angus (necessary for cxx + lyxstring)
14851
14852 2001-12-24  Juergen Vigna  <jug@sad.it>
14853
14854         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14855
14856         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14857         problems. First check a minipage also if we have some ert-contents
14858         (not only on par->size(), second set the right depth of the paragraph
14859         on the relink to the root-paragraph-list!
14860
14861         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14862         which then did not anymore update the main paragraphs on undo/redo!
14863
14864 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14865
14866         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14867         code. Support all font-changing funcs (even those which are not in
14868         menu currently). Support for reporting font settings in
14869         mathed (disabled until Andre provides a function on mathed's side).
14870
14871         * func_status.h (toggle): small helper function to set toggle
14872         state on a flag.
14873
14874 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14875
14876         * tabular_funcs.C: getline -> std::getline
14877
14878 2001-12-21  Juergen Vigna  <jug@sad.it>
14879
14880         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14881         accessed and could be 0 (I couldn't generate this but it seems
14882         Michael could!).
14883
14884 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14885
14886         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14887         * tabular_funcs.h: here and include iosfwd
14888
14889 2001-12-20  Juergen Vigna  <jug@sad.it>
14890
14891         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14892         inside inset but undo_par was.
14893
14894 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14895
14896         * Thesaurus.C: always include <config.h> in sources.
14897
14898         * Painter.h:
14899         * lyxlookup.h:
14900         * box.h: do not include <config.h> in header files
14901
14902         * text.C (paintLastRow): remove unused variable
14903
14904         * text.C (transformChar):
14905         (insertChar):
14906         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14907
14908         * Painter.C (text):
14909         * font.C (width): rewrite to use uppercase() instead of
14910         islower/toupper.
14911
14912         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14913
14914 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14915
14916         * lyxfind.C: clean up of find failure position change
14917
14918 2001-12-20  Juergen Vigna  <jug@sad.it>
14919
14920         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14921
14922         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14923         (TeXRow): added to LaTeX a single tabular row.
14924         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14925         (Latex): simplified and finally good LT-h/f support.
14926         (various_functions): just small adaptions for LT-h/f support.
14927
14928         * tabular_funcs.[hC]: added and moved here all not classfunctions
14929         of LyXTabular.
14930
14931 2001-12-19  Juergen Vigna  <jug@sad.it>
14932
14933         * tabular.[Ch]: better support for longtabular options (not finished
14934         yet!)
14935
14936 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14937
14938         * text.C (paintLastRow): use the label font instead of the font of
14939         the last character to compute the size of *_BOX. This makes more
14940         sense and avoids a crash with empty paragraphs.
14941         Use Painter::rectangle to draw EMPTY_BOX.
14942
14943 2001-12-19  Juergen Vigna  <jug@sad.it>
14944
14945         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14946         the paragraphs if the replaced paragraph is not the first one!
14947         Tried to delete not used paragraphs but does not work yet so for
14948         now it's inside #ifdef's and by default off!
14949
14950 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14951
14952         * MenuBackend.C: include "lyx_main.h" instead of declaring
14953         lastfiles (actually was declared as LastFiles* instead of a
14954         scoped_ptr).
14955
14956 2001-12-17  Juergen Vigna  <jug@sad.it>
14957
14958         * tabular.C (AppendColumn): applied John's fix
14959
14960 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14961
14962         * BufferView.h:
14963         * BufferView.C:
14964         * BufferView_pimpl.h:
14965         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14966
14967         * Makefile.am:
14968         * box.h: new start of class for above
14969
14970         * lyxfunc.C: ignore space-only minibuffer dispatches.
14971           Show the command name when it doesn't exist
14972
14973         * minibuffer.C: don't add empty lines to the history
14974
14975         * minibuffer.C: add a space on dropdown completion
14976
14977 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14978
14979         * text.C: fix line above/below drawing in insets
14980
14981 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14982
14983         * lyxlength.C (LyXLength): Initialize private variables.
14984
14985 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14986
14987         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14988         when inserting error insets.
14989
14990 2001-12-13  Juergen Vigna  <jug@sad.it>
14991
14992         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14993         actually sometimes the before-paragraph.
14994         (setUndo): don't clear the redostack if we're not actually undoing!
14995
14996 2001-12-06  Juergen Vigna  <jug@sad.it>
14997
14998         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14999         and fixed redoing of main paragraph, so we can use it now ;)
15000
15001         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
15002
15003 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15004
15005         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
15006         Juergen's request
15007
15008 2001-12-13  André Pönitz <poenitz@gmx.net>
15009
15010         * undostack.[Ch]:
15011         * undo_func.C: minor cleanup
15012
15013 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15014
15015         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
15016         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
15017         font in urw-fonts package which is marked as -urw-fontspecific and
15018         does not work (incidentally, changing the encoding in the
15019         fonts.dir of this package to -adobe-fontspecific fixes the
15020         problem).
15021
15022         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
15023         is a crash when undoing first paragraph (Juergen, please take a
15024         look). THis does not mean the undo fix is wrong, just that it
15025         uncovers problems.
15026
15027         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15028         the (Paragraph*) version when needed instead of duplicating the
15029         code.
15030
15031         * text.C (workWidth): use Inset::parOwner to find out where the
15032         inset has been inserted. This is a huge performance gain for large
15033         documents with lots of insets. If Inset::parOwner is not set, fall
15034         back on the brute force method
15035
15036         * paragraph_pimpl.C (insertInset):
15037         * paragraph.C (Paragraph):
15038         (cutIntoMinibuffer): set parOwner of insets when
15039         inserting/removing them
15040
15041         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15042
15043 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
15044
15045         * commandtags.h:
15046         * LyXAction.C:
15047         * lyx_main.C:
15048         * lyxfunc.C:
15049         * mathed/formulabase.C:
15050         * mathed/math_cursor.[Ch]:
15051         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15052
15053
15054 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15055
15056         * lyxlength.[Ch] (operator!=): new function
15057
15058 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15059
15060         * text.C (workWidth): use Inset::parOwner to find out where the
15061         inset has been inserted. This is a huge performance gain for large
15062         documents with lots of insets. If Inset::parOwner is not set, fall
15063         back on the brute force method
15064
15065         * paragraph_pimpl.C (insertInset):
15066         * paragraph.C (Paragraph):
15067         (cutIntoMinibuffer): set parOwner of insets when
15068         inserting/removing them
15069
15070         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15071
15072 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15073
15074         * tabular-old.C (getTokenValue):
15075         * tabular.C (getTokenValue):
15076         (write_attribute): new versions for LyXLength
15077         (everywhere): adjust the use of widths
15078
15079         * tabular.h: change the type of widths from string to LyXLength
15080
15081 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15082
15083         * paragraph.C: fixed missing line number count when exporting
15084         Environments to LaTeX file
15085
15086         * buffer.C: added informational message for checking line numbers.
15087
15088 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15089
15090         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15091         paragraph, do the 'double space' part, but not the 'empty
15092         paragraph' one.
15093
15094         * text.C (workWidth): small optimization
15095         (getLengthMarkerHeight): use minimal size for negative lengths.
15096
15097 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15098
15099         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15100
15101         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15102
15103 2001-12-11  André Pönitz <poenitz@gmx.net>
15104
15105         * FontLoader.C:
15106         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15107
15108 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15109
15110         * text2.C: keep selection on a setFont()
15111
15112 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15113
15114         * lyx_cb.C: another bv->text misuse, from insert label
15115
15116 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15117
15118         * kbsequence.h:
15119         * kbsequence.C: re-instate nmodifier mask
15120
15121 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15122
15123         * lyx_main.h: make lyxGUI private.
15124
15125 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15126
15127         * lyxfind.C: place the cursor correctly on failed search
15128
15129 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15130
15131         * text.C (getLengthMarkerHeight): for small heights, the arrows
15132         are not always on top/bottom of the text
15133         (drawLengthMarker): smaller arrows; take the left margin in
15134         account; draw also vfills.
15135         (paintFirstRow):
15136         (paintLastRow): remove special code for vfill and standard spaces,
15137         since everything is handled in drawLengthMarker now.
15138
15139 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15140
15141         * buffer.C (insertErtContents): try to handle font and language
15142         interaction a bit better.g
15143
15144         * ColorHandler.C (updateColor): change the hash to cover the whole
15145         LColor enum, ws cleanup
15146         (getGCLinepars): ditto
15147         (getGCLinepars): only lookup in the linecache once.
15148
15149 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15150
15151         * iterators.C (operator++): Make the iterator more robust
15152
15153         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15154         (John's patch)
15155         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15156
15157 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15158
15159         * lyxtext.h:
15160         * text.C: better added space drawing
15161
15162 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15163
15164         * LyXView.C:
15165         * BufferView2.C: fix layout combo update on inset unlock
15166
15167 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15168
15169         * Makefile.am: don't compile unused files
15170
15171 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15172
15173         * lyxfunc.C:
15174         * commandtags.h:
15175         * LyXAction.C: remove old LFUN_LAYOUTNO
15176
15177 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15178
15179         * paragraph_pimpl.h:
15180         * paragraph_pimpl.C: isTextAt() doesn't need font param
15181
15182 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15183
15184         * lyxlex.h:
15185         * lyxlex.C: little cleanup
15186
15187 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15188
15189         * BufferView_pimpl.C: fix insertAscii for insets
15190
15191 2001-12-05  Juergen Vigna  <jug@sad.it>
15192
15193         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15194         set the right font on the "multi" paragraph paste!
15195
15196 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15197
15198         * trans_decl.h:
15199         * trans_mgr.[Ch]:
15200         * trans.[Ch]:
15201         * lyxgluelength.C:
15202         * lyxlength.C: remove out-commented code.
15203
15204         * BufferView_pimpl:
15205         * CutAndPaste.C:
15206         * DepTable.C:
15207         * buffer.C:
15208         * chset.C:
15209         * lastfiles.C:
15210         * lyxlex.C:
15211         * lyxlex_pimpl.C:
15212         * lyxserver.C:
15213         * screen.C:
15214         * tabular-old.C:
15215         * tabular.C:
15216         * text.C:
15217         * trans_mgr.C:
15218         * vc-backend.C: change "while(" to "while ("
15219
15220         * lyxlength.[Ch]: add zero function to check if length is zero or
15221         not
15222         * lyxgluelength.C: use it
15223
15224 2001-12-05  Allan Rae  <rae@lyx.org>
15225
15226         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15227         Works for 2.95.3, from what I understand of Garst's reports this should
15228         work for other g++ versions.  We're screwed if the abs(int) definition
15229         changed between bugfix releases of gcc.
15230
15231 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15232
15233         * text.C: fix chapter label offset !
15234
15235 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15236
15237         * lyxtext.h:
15238         * text.C: fix hfill at end of line, clean up
15239
15240 2001-12-04  Juergen Vigna  <jug@sad.it>
15241
15242         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15243         that we force an update of the inset and it's owners if neccessary.
15244
15245 2001-12-03  Juergen Vigna  <jug@sad.it>
15246
15247         * text.C (rowLast): simplified code
15248
15249 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15250
15251         * lyxfunc.C: fix show options on timeout
15252
15253 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15254
15255         * screen.C (topCursorVisible): scroll half a page when the cursor
15256         reached top of bottom of screen
15257
15258 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15259
15260         * minibuffer.C: deactivate on loss of focus
15261
15262 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15263
15264         * vspace.[Ch] (operator!=): add operator.
15265
15266 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15267
15268         * BufferView_pimpl.C: refuse to open an inset when
15269         there's a selection.
15270
15271 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15272
15273         * BufferView_pimpl.C: allow to click on RHS of full row insets
15274
15275 2001-11-30  Juergen Vigna  <jug@sad.it>
15276
15277         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15278         insets for undo reasons.
15279
15280 2001-11-28  André Pönitz <poenitz@gmx.net>
15281
15282         * vspace.[Ch]: cosmetical changes
15283
15284 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15285
15286         * LyXAction.h:
15287         * LyXAction.C:
15288         * lyxfunc.h:
15289         * lyxfunc.C:
15290         * kbmap.h:
15291         * kbmap.C:
15292         * lyxrc.C:
15293         * kbsequence.h:
15294         * kbsequence.C: part re-write of old kb code
15295
15296         * Painter.C:
15297         * WorkArea.C: remove Lgb_bug_find_hack
15298
15299 2001-11-30  José Matos <jamatos@fep.up.pt>
15300
15301         * buffer.C (makeDocBookFile): add a comment to point a hack.
15302         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15303         Fixed a double write of labels.
15304
15305 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15306
15307         * LaTeX.C:
15308         * LaTeX.h Fixed bug in LaTeX class where it would not
15309         re-run latex if no depfiles were changed, but the .dvi was removed.
15310
15311 2001-11-28  André Pönitz <poenitz@gmx.net>
15312
15313         * all the files from the change on 2001/11/26:
15314         use lyx::layout_type instead of LyXTextClass::size_type
15315         use lyx::textclass_type instead of LyXTextClassList::size_type
15316
15317 2001-11-29  Juergen Vigna  <jug@sad.it>
15318
15319         * text.C: added support for paragraph::isFreeSpacing()
15320
15321         * buffer.C: same as above
15322
15323         * paragraph.h: inserted isFreeSpacing() function to enable
15324         FreeSpacing inside InsetERT.
15325
15326         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15327         of the paragraph's in the cut/copy buffer to 0!
15328
15329         * text2.C (removeRow): remove the assert as it can!
15330
15331         * lyxtext.h: added helper function firstRow returning firstrow and
15332         made firstrow private again.
15333
15334         * BufferView2.C (lockInset): don't relock if we're already locked!
15335
15336         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15337         the only paragraph.
15338         (removeRow): added Assert::(firstrow)
15339
15340         * debug.C: forgot to add INSETTEXT here.
15341
15342 2001-11-28  Juergen Vigna  <jug@sad.it>
15343
15344         * sp_spell.C (initialize): changed error text to more general
15345         spellchecker command use (not only ispell!)
15346
15347         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15348
15349         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15350
15351 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15352
15353         * vspace.C: initialise lyxgluelength on failure
15354
15355 2001-11-28  Allan Rae  <rae@lyx.org>
15356
15357         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15358         declaration & definition that looks like a function declaration.
15359
15360 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15361
15362         * BufferView2.C (copy):
15363         (copyEnvironment): do not clear the selection when doing a copy.
15364
15365         * text.C (paintFirstRow): compilation fix
15366
15367 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15368
15369         * tabular.C (Latex): correct line count when writing latex.
15370
15371 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15372
15373         * paragraph_pimpl.h:
15374         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15375           bug a bit
15376
15377 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15378
15379         * text.C:
15380         * LColor.h:
15381         * LColor.C: change vfillline->added_space
15382
15383         * text.C: add markers and text for added space
15384
15385         * vspace.C: fix comment
15386
15387 2001-11-28  André Pönitz <poenitz@gmx.net>
15388
15389         * paragraph.C: whitespace changes
15390         * all the other files from the change on 2001/11/26:
15391         change *::pos_type into lyx::pos_type
15392
15393 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15394
15395         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15396         language of the document when inserting error insets.
15397
15398 2001-11-26  André Pönitz <poenitz@gmx.net>
15399
15400         * BufferView_pimpl.[Ch]:
15401         *       CutAndPaste.C:
15402         * buffer.[Ch]:
15403         * lyxcursor.[Ch]:
15404         * lyxfind.C:
15405         * lyxfunc.C:
15406         * lyxrow.[Ch]:
15407         * paragraph.[Ch]:
15408         * paragraph_pimpl.[Ch]:
15409         * sp_spell.C:
15410         * text.C:
15411         * text2.C: reduce header dependencies, introduce type for positions
15412
15413 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15414
15415         * <various>: change to use Alert.h
15416
15417 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15418
15419         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15420         when encountering an unknown token.
15421         (readLyXformat2): Show an error message if there were unknown tokens.
15422
15423 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15424
15425         * BufferView2.C:
15426         * BufferView_pimpl.C:
15427         * buffer.C:
15428         * paragraph.h:
15429         * text.C:
15430         * text2.C: use par->isInset()
15431
15432 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15433
15434         * paragraph_pimpl.h:
15435         * paragraph_pimpl.C: cleanup
15436
15437 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15438
15439         * text2.C (removeRow):
15440         * text.C (setHeightOfRow): remove useless (and costly) call to
15441         getRow.
15442
15443 2001-11-20  Allan Rae  <rae@lyx.org>
15444
15445         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15446         Now need Inset*::checkInsertChar() to return true for appropriate
15447         cases so that the characters in the minibuffer will actually be
15448         inserted.
15449
15450 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15451
15452         * text.C: change the order of the includes.
15453         (workWidth): initialize it at once.
15454         (workWidth): make maxw unsigned
15455         (setHeightOfRow): remove unused variable (inset)
15456         (selectSelectedWord): remove unused variable (inset)
15457         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15458
15459 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15460
15461         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15462         server is not running.
15463         (openConnection):
15464         (closeConnection): add debug info when server is disabled.
15465
15466         * ColorHandler.C (getGCForeground): send debug message to GUI
15467         channel.
15468
15469         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15470
15471         * kbmap.C (bind): modify because return conventions of
15472         kb_sequence::parse have changed.
15473
15474         * kbsequence.C (parse): only ignore spaces and not any stupid
15475         control character. This avoids tests like s[i] <= ' ', which are
15476         guaranteed to fail with 8bit characters and signed chars.
15477         Change return code to string::npos when there have been no error
15478         (0 was a bad idea when error is at first character)
15479
15480 2001-11-14  José Matos  <jamatos@fep.up.pt>
15481
15482         * buffer.h:
15483         * buffer.C (simpleDocBookOnePar): removed unused argument.
15484
15485 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15486
15487         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15488         insets which are part of a word. Paragraph::isLetter takes care of
15489         that now. Use Paragraph::isInset to identify insets.
15490         (selectSelectedWord): do not test for hyphenation break.
15491
15492         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15493         that protected spaces are considered as spaces.
15494
15495         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15496         Inset::isLetter.
15497
15498 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15499
15500         * lyxserver.h:
15501         * lyxserver.C: fix it. and small cleanup.
15502
15503 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15504
15505         * BufferView_pimpl.C: use inline helpers
15506
15507         * LaTeXFeatures.h:
15508         * LaTeXFeatures.C: fix typos
15509
15510         * Spacing.h:
15511         * Spacing.C: move spacing_string into class
15512
15513         * ToolbarDefaults.C: move stuff into namespace anon
15514
15515         * layout.h: update enum
15516
15517         * lyxfunc.C: use better debug
15518
15519         * minibuffer.h: fix typo
15520
15521         * debug.h:
15522         * debug.C:
15523         * WorkArea.C: add and use Debug::WORKAREA
15524
15525         * lyxtext.h:
15526         * text.C:
15527         * text2.C: code re-organisation, inline helpers
15528
15529 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15530
15531         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15532         std::vector.empty().
15533
15534 2001-11-09  Allan Rae  <rae@lyx.org>
15535
15536         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15537         '\n's after tables.  Tabular and ERT inset work now makes this no
15538         longer necessary.
15539
15540 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15541
15542         * minibuffer.h:
15543         * minibuffer.C: fix crash, improve drop-down completion
15544
15545 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15546
15547         * lyxserver.h:
15548         * lyxserver.C: invalidate fd's when doing endPipe()
15549
15550 2001-11-08  José Matos  <jamatos@fep.up.pt>
15551
15552         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15553         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15554
15555         * paragraph.h:
15556         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15557
15558 2001-11-07  José Matos  <jamatos@fep.up.pt>
15559
15560         * buffer.h:
15561         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15562         const qualifier.
15563
15564         * buffer.C (sgmlOpenTag):
15565         * buffer.C (sgmlCloseTag): removed debug info.
15566
15567         * buffer.h (sgmlOpenTag):
15568         * buffer.h (sgmlCloseTag): made public.
15569
15570 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15571
15572         * buffer.C (saveParamsAsDefaults):
15573         * lyx_cb.C (MenuLayoutSave): remove
15574
15575         * LyXAction.C (init):
15576         * commandtags.h:
15577         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15578
15579 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15580
15581         * buffer.C (setPaperStuff): removed from here...
15582
15583         * bufferparams.C (setPaperStuff): ... and moved there.
15584
15585 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15586
15587         * minibuffer.h:
15588         * minibuffer.C:
15589         * XFormsView.C: add support for drop-down completion
15590
15591 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15592
15593         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15594         commands.
15595
15596 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15597
15598         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15599         disabled.
15600
15601 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15602
15603         * lyx_main.C: change ref to known bugs
15604
15605 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15606
15607         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15608         to work around older babel problems.
15609
15610 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15611
15612         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15613
15614 2001-10-24  Juergen Vigna  <jug@sad.it>
15615
15616         * tabular-old.C (ReadOld): below variable changes reflected.
15617
15618         * tabular.[Ch]: added ltType struct for longtable header/footer
15619         defines and changed all instances where they are used. Added
15620         future support for double top/bottom rows.
15621
15622 2001-10-24  José Matos  <jamatos@fep.up.pt>
15623
15624         * buffer.h (docbookHandleCaption):
15625         * buffer.C (docbookHandleCaption): removed unused function.
15626         (makeDocBookFile): moved docbook supported version to v4.1.
15627
15628 2001-10-24  José Matos  <jamatos@fep.up.pt>
15629
15630         * tabular.h:
15631         * tabular.C (docbookRow): new function to export docbook code of a row.
15632         (DocBook): now honors the longtable flags.
15633
15634 2001-10-23  José Matos  <jamatos@fep.up.pt>
15635
15636         * LaTeXFeatures.h:
15637         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15638         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15639
15640         * buffer.C (makeLinuxDocFile):
15641         (makeDocBookFile): reworked the preamble, more clean, and with
15642         support for lyx defined entities. Changed the document declaration
15643         to be more XML friendly.
15644
15645         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15646         if we need to output XML that should be done with a filter.
15647
15648 2001-10-22  Juergen Vigna  <jug@sad.it>
15649
15650         * sp_pspell.h (class PSpell): add alive function needed in the
15651         controller to see if the spellchecker could be started.
15652
15653 2001-10-22  Juergen Vigna  <jug@sad.it>
15654
15655         * buffer.C (insertStringAsLines): modify the font for inserting
15656         chars in certain conditions by calling checkInsertChar(font).
15657
15658 2001-10-19  Juergen Vigna  <jug@sad.it>
15659
15660         * text.C (workWidth): use getRow instead of wrong algorithm.
15661         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15662
15663 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15664
15665         * lyxserver.h:
15666         * lyxserver.C:
15667         * lyx_main.h:
15668         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15669
15670 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15671
15672         * text.C (workWidth): do not search for the exact row when
15673         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15674         optimization for big documents.
15675
15676 2001-10-18  Juergen Vigna  <jug@sad.it>
15677
15678         * text.C (workWidth): new function with added Inset * parameter.
15679
15680 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15681
15682         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15683
15684         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15685         change return type of getColumnNearX.
15686
15687
15688         * text.C (changeRegionCase): use uppercase/lowercase instead of
15689         toupper/tolower.
15690         (leftMargin):
15691         (rightMargin): simplify code by factoring out the uses of
15692         textclasslist.
15693         (labelFill):
15694         (numberOfHfills):
15695         (setHeightOfRow):
15696         (appendParagraph): use Paragraph::size_type
15697
15698 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15699
15700         * vspace.C (asLatexString): add a missing break
15701
15702 2001-10-15  Herbert Voss  <voss@perce.de>
15703
15704         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15705
15706 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15707
15708         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15709         is not available.
15710
15711 2001-10-10  André Pönitz <poenitz@gmx.net>
15712
15713         * lyxfunc.C: removed greek_kb_flag.
15714
15715 2001-10-10  Herbert Voss  <voss@perce.de>
15716
15717         * lyx_main.C: delete global string help_lyxdir.
15718
15719 2001-10-09  Herbert Voss  <voss@perce.de>
15720
15721         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15722
15723         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15724
15725         * lyx_main.C: added global string help_lyxdir.
15726
15727         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15728
15729 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15730
15731         * lyxrc.C (set_font_norm_type): support iso8859-4
15732
15733 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15734
15735         * LaTeX.C (deplog): add another regex for MikTeX
15736
15737 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15738
15739         * lyxrc.C (set_font_norm_type): support iso8859-3
15740
15741 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15742
15743         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15744
15745         * LaTeXFeatures.C: remove special case of french and index
15746
15747         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15748         before \begin{document}). This solves several incompatibilities.
15749
15750 2001-10-03  Garst Reese  <reese@isn.net>
15751
15752         * lyx_cb.C: change CheckTex error msg.
15753
15754 2001-10-03  José Matos  <jamatos@fep.up.pt>
15755
15756         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15757
15758 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15759
15760         * .cvsignore: update
15761
15762         * lyx_main.C (commandLineVersionInfo): use new style version info.
15763
15764         * buffer.C (writeFile):
15765         (makeLaTeXFile):
15766         (makeLinuxDocFile):
15767         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15768
15769         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15770
15771         * version.h: update to use stuff in version.C
15772
15773         * version.C.in: new file. Contains version information determined
15774         at compile time. This is a merging of version.h and
15775         version_info.h.in.
15776
15777 2001-10-03  Juergen Vigna  <jug@sad.it>
15778
15779         * BufferView_pimpl.C (update): don't change "dirty" status in
15780         updateInset call.
15781
15782 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15783
15784         * WorkArea.C (c-tor): re-position version string slightly.
15785
15786 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15787
15788         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15789         revert to previous code.
15790
15791         WorkArea.[Ch]: (show, destroySplash): methods removed.
15792
15793         WorkArea.C: rework code so that it's an amalgam of the codes before and
15794         after the splash screen was moved to WorkArea.
15795
15796 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15797
15798         * lyxrc.C (read):
15799         * vspace.C (inPixels):
15800         (lyx_advance):
15801         * kbmap.C (bind):
15802         * buffer.C (insertStringAsLines):
15803         (asciiParagraph): fix types to be large enough
15804
15805         * lyxlex_pimpl.h: change member status from short to int
15806
15807         * layout.h: fix type of endlabeltype
15808
15809         * kbmap.C (bind):
15810         * kbsequence.C (parse): change return type to string::size_type
15811
15812         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15813         variable
15814
15815         * Bullet.C (bulletSize):
15816         (bulletEntry): do not use short ints as parameters
15817
15818         * BufferView2.C (insertLyXFile): change a char to an int.
15819
15820         * WorkArea.C (WorkArea): remove unneeded floats in computation
15821
15822 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15823
15824         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15825
15826         * paragraph.C (asString): Do not ignore newline/hfill chars when
15827         copying to the clipboard.
15828
15829 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15830
15831         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15832         after a multi-line inset.
15833
15834 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15835
15836         * paragraph.C (validate): Set NeedLyXFootnoteCode
15837
15838 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15839
15840         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15841         and decrease-error to decrease.
15842
15843 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15844
15845         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15846         it more readable (should be equivalent)
15847
15848 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15849
15850         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15851
15852 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15853
15854         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15855         of a cursor (row, etc.) after a character has been deleted
15856         (deleteEmptyParagraphMechanism): call the method above on _all_
15857         cursors held by the LyXText when a double space has been
15858         detected/deleted.
15859
15860 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15861
15862         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15863         pixmap.
15864         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15865
15866         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15867         background. Use greyOut() and the new show() methods to toggle between
15868         the foreground and background. Add code to remove the splash after
15869         its initial showing.
15870
15871         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15872         (create_forms): no longer call Dialogs::showSplash.
15873
15874 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15875
15876         * .cvsignore: add version_info.h
15877
15878 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15879
15880         * version_info.h.in: new file
15881
15882         * Makefile.am: add version_info.h.in
15883
15884         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15885         version_info.h instead of VERSION_INFO
15886
15887 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15888
15889         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15890         The ERT inset now returns string().
15891
15892 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15893
15894         * lyxtext.h, text.C (selectNextWord): renamed as
15895         selectNextWordToSpellcheck.
15896
15897         * text.C (selectNextWordToSpellcheck): Modified to not select
15898         words inside an ERT inset.
15899
15900 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15901
15902         * lyx_cb.C (MenuLayoutSave): change a bit the question
15903
15904         * sp_base.h: include <sys/types.h>
15905
15906 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15907
15908         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15909
15910 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15911
15912         * several files: fix typos in user-visible strings
15913
15914 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15915
15916         * text2.C (pasteSelection): do not set the selection, since it
15917         will be cleared later. Actually, the intent was to fix the way the
15918         selection was set, but I figured rmoving the code was just as good.
15919
15920 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15921
15922         * FontLoader.C (available): Check if font is available without
15923         loading the font.
15924
15925 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15926
15927         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15928
15929 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15930
15931         * lyxrc.[Ch]: added display_graphics variable and associated code.
15932
15933 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15934
15935         * bufferparams.C (hasClassDefaults): new method. Returns true if
15936         the buffer parameters correspond to known class defaults
15937
15938 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15939
15940         * XFormsView.C (show): set minimum size to the main window.
15941
15942 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15943
15944         * text2.C (copySelection):
15945         (cutSelection):
15946         * lyxfind.C (LyXReplace):
15947         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15948         LyXText::selectionAsString.
15949
15950         * paragraph.C (asString): add "label" argument to the second form
15951
15952         * text2.C (selectionAsString): add "label" argument and pass it to
15953         Paragraph::asString.
15954
15955 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15956
15957         * lyx_main.C (commandLineHelp): remove version information
15958
15959 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15960
15961         * lyx_main.C: add -version commandline option
15962
15963 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15964
15965         * paragraph.h: make the optional constructor arg required instead.
15966         some modifications to other files because of this.
15967
15968         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15969
15970         * lyxserver.C (C_LyXComm_callback): make it static
15971
15972         * lyx_main.C (error_handler): make it static
15973
15974         * lyx_gui.C (LyX_XErrHandler): make it static
15975
15976         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15977
15978         * WorkArea.C: make the extern "C" methods static.
15979
15980         * Makefile.am (lyx_LDADD): simplify
15981
15982 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15983
15984         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15985         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15986
15987         * LyXAction.C (init):
15988         * lyxfunc.C (dispatch): associated code removal.
15989
15990 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15991
15992         * lyxfont.h (isSymbolFont): shut off warning
15993
15994         * text.C (setHeightOfRow):
15995         (getVisibleRow): fix crash with empty paragraphs which have a
15996         bottom line
15997
15998 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15999
16000         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
16001         code.
16002
16003 2001-09-04  José Matos  <jamatos@fep.up.pt>
16004         * buffer.C
16005         * buffer.h
16006         * tabular.C (docbook): rename docBook method to docbook.
16007
16008 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16009
16010         * Makefile.am: add dependencies to main.o.
16011
16012 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
16013
16014         * FontLoader.C (available): Return false if !lyxrc.use_gui
16015
16016 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
16017
16018         * FontInfo.C (query):
16019         * converter.C (view):
16020         * importer.C (Import):
16021         * exporter.C (Export): Can not -> cannot.
16022
16023 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
16024
16025         * BufferView_pimpl.C: allow to create index inset even if
16026           string is empty
16027
16028 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16029
16030         * buffer.C (getLists): replace boost::tie code with an explicit pair
16031         as boost::tie can break some compilers.
16032
16033         * iterators.h: Added a std:: declaration to the return type of
16034         ParIterator::size.
16035
16036 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
16037
16038         * lyxrc.C: add help for view_dvi_paper_option, default to safe
16039           case.
16040
16041 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
16042
16043         * iterators.[Ch]: New files. Provide paragraph iterators.
16044
16045         * buffer.C (changeLanguage): Use paragraph iterators.
16046         (isMultiLingual): ditto
16047
16048         * BufferView2.C (ChangeInsets): Use paragraph iterators.
16049
16050 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
16051
16052         * FontLoader.C: Support for cmr font.
16053
16054 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
16055
16056         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16057         (available): New method.
16058
16059         * FontInfo.C (getFontname): Use scalable fonts even when
16060         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16061         found.
16062
16063 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16064
16065         * converter.C (Formats::view): reverted! Incorrect fix.
16066
16067 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16068
16069         * converter.C (Formats::view): only output the -paper option
16070         if the dvi viewer is xdvi, thereby fixing bug #233429.
16071
16072 2001-08-23  Herbert Voss  <voss@perce>
16073
16074         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16075
16076 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
16077
16078         * Spacing.h (Spacing): Set space to Default on in the default
16079         constructor.
16080
16081 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16082
16083         * vc-backend.h (RCS::versionString): add RCS to version
16084         (CVS::versionString): add CVS to version
16085
16086         * vc-backend.C (scanMaster): do not add CVS to version.
16087         (scanMaster): do not add RCS to version
16088
16089         * lyxvc.C (versionString): new method
16090
16091         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16092
16093 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16094
16095         * Spacing.C (set): initialize fval
16096
16097 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16098
16099         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16100         " or \.
16101
16102 2001-08-16  Juergen Vigna  <jug@sad.it>
16103
16104         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16105
16106 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16107
16108         * BufferView_pimpl.C:
16109         * figureForm.C:
16110         * lyxtext.h:
16111         * text2.C: setParagraph takes linespacing now
16112
16113 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16114
16115         * LyxAction.C: add internal LFUN_CITATION_INSERT
16116
16117         * LyXView.C: actually apply fix
16118
16119         * bufferlist.C: fix open non-existent file
16120
16121         * lyxfind.C: fix indentation
16122
16123         * lyxfunc.C: remove unneeded assert, fix typo
16124
16125 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16126
16127         * MenuBackend.C: use "Floatname List"
16128
16129 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16130
16131         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16132         when converting LaTeX layout to insetERT.
16133         Generate a non-collapsed float when reading old float
16134
16135 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16136
16137         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16138         ERT insets.
16139
16140 2001-08-13  Juergen Vigna  <jug@sad.it>
16141
16142         * text.C (fill): return 0 instead of 20 as this seems to be the more
16143         correct value.
16144
16145 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16146
16147         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16148         lyxrc.font_norm.
16149
16150 2001-08-13  Juergen Vigna  <jug@sad.it>
16151
16152         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16153         casesensitive off.
16154         (SearchBackward): comment out the unlocking of the inset_owner this
16155         should not be needed!
16156
16157 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16158
16159         * Many files: Remove inherit_language, and add latex_language
16160
16161         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16162         collapsible insets.
16163
16164 2001-08-10  Juergen Vigna  <jug@sad.it>
16165
16166         * text.C (prepareToPrint): fixed hfill-width in draw!
16167
16168         * BufferView2.C (selectLastWord): save the selection cursor as this
16169         now is cleared in the function LyXText::clearSelection!
16170
16171 2001-08-08  Juergen Vigna  <jug@sad.it>
16172
16173         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16174         BACKSPACE type functions.
16175
16176         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16177         is only cutted from the document but not put in the cut-buffer, where
16178         still the old stuff should be.
16179
16180         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16181
16182         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16183
16184         * tabular.C (SetWidthOfCell): fixed special case where the width
16185         was not updated!
16186         (LeftLine): handle '|' in align_special.
16187         (RightLine): ditto
16188         (LeftAlreadyDrawed): ditto
16189         (SetWidthOfCell): ditto
16190
16191 2001-08-07  Juergen Vigna  <jug@sad.it>
16192
16193         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16194
16195 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16196
16197         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16198         * lyxlex.[hC]: ditto
16199
16200 2001-08-06  Juergen Vigna  <jug@sad.it>
16201
16202         * text.C (getVisibleRow): fix up row clearing a bit.
16203
16204 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16205
16206         * minibuffer.C: make sure the X server sees the changes in the input.
16207
16208 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16209
16210         * paragraph.C (getFont): split into...
16211         (getLabelFont): this
16212         (getLayoutFont): and this
16213         * paragraph_pimpl.C (realizeFont): calling this
16214
16215         * text2.C (getFont): split into...
16216         (getLayoutFont): this
16217         (getLabelFont): and this
16218         (realizeFont): all three calling this
16219
16220         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16221         files where used.
16222
16223 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16224
16225         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16226
16227 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16228
16229         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16230         layouts from the Quote inset insertion.
16231
16232 2001-08-03  Juergen Vigna  <jug@sad.it>
16233
16234         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16235
16236         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16237         only if status not is already CHANGED_IN_DRAW (second level).
16238
16239         * text.C (draw): don't set the need_break_row when inside an
16240         InsetText LyXText.
16241
16242 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16243
16244         * buffer.C (parseSingleLyXformat2Token): handle more latex
16245         conversion cases.
16246
16247         * bufferview_funcs.[hC]: change function names to
16248         begin with small char, adjust other files.
16249
16250 2001-08-02  André Pönitz <poenitz@gmx.net>
16251
16252         * lyxfunc.C:
16253         BufferView_pimpl.C: remove broken special code for math-greek
16254
16255 2001-08-02  Juergen Vigna  <jug@sad.it>
16256
16257         * BufferView_pimpl.C (update): redone this function so that we
16258         update the text again if there was a CHANGE_IN_DRAW.
16259
16260         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16261         (drawFromTo): added a new internal bool which is used by draw() and
16262         redraw() function.
16263         (general): some cursor drawing problems fixed.
16264
16265 2001-08-01  Juergen Vigna  <jug@sad.it>
16266
16267         * lyxfind.C (LyXFind): fixed
16268         (SearchForward): ditto
16269         (SearchBackward): ditto
16270
16271         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16272         spurius drawing of the cursor in the main area.
16273
16274         * text2.C (status): small fix which could lead to a segfault!
16275         (clearSelection): remove unneeded BufferView param.
16276
16277 2001-08-01  André Pönitz <poenitz@gmx.net>
16278
16279         * lyxfunc.C: small change due to changed mathed interface
16280
16281 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16282
16283         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16284
16285 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16286
16287         * lyxfunc.c: fail gracefully if file doesn't exist
16288
16289         * LyXSendto.C:
16290         * buffer.C:
16291         * lyxfunc.C:
16292         * BufferView_pimpl.C: IsDirWriteable() proto changed
16293
16294         * LyXView.C: fix updateWindowTitle() to store the last title
16295
16296 2001-07-31  Juergen Vigna  <jug@sad.it>
16297
16298         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16299         the font (wrong since using of Paragraph::highestFontInRange).
16300
16301         * paragraph.C (highestFontInRange): added a default_size parameter.
16302
16303         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16304         (setHeightOfRow): reformat
16305
16306 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16307
16308         * converter.[hC] + affected files: move to (inital-char)lowercase
16309         function names.
16310
16311         * ParagraphParameters.C (ParagraphParameters): remove commented code
16312
16313         * PainterBase.[Ch]: remove commented code
16314
16315         * LaTeXFeatures.h: add "bool floats" for float.sty
16316
16317         * LaTeXFeatures.C (LaTeXFeatures): init floats
16318         (require): handle float
16319         (getPackages): do it with floats
16320
16321 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16322
16323         * BufferView_pimpl.C (Dispatch): improve handling of
16324         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16325
16326         * commandtags.h: #include lyxfont.h here temporarily to avoid
16327         keybinding bug.
16328
16329         * bufferlist.h: include LString.h here.
16330
16331 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16332
16333         * text2.C (getStringToIndex): new method.
16334
16335 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16336
16337         * *: Reduced header file dependencies all over.
16338
16339 2001-07-30  Baruch Even  <baruch@lyx.org>
16340
16341         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16342
16343 2001-07-29  Baruch Even  <baruch@lyx.org>
16344
16345         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16346
16347 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16348
16349         * ParameterStruct.h (endif): add a default constructor to make
16350         sure that all variables is initialized.
16351
16352         * ParagraphParameters.C (ParagraphParameters): adjust
16353
16354 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16355
16356         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16357         index; also, check that there is something to index, and that it
16358         does not span over several paragraphs.
16359         (doubleClick): use WHOLE_WORD_STRICT for double click.
16360
16361         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16362
16363         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16364         scheme.
16365
16366 2001-07-26  Baruch Even  <baruch@lyx.org>
16367
16368         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16369         an InsetFig figure, backwards compatible reading of old figure code.
16370
16371 2001-07-27  Juergen Vigna  <jug@sad.it>
16372
16373         * text2.C: font.realize function adaption.
16374
16375         * text.C (draw): add a warnings lyxerr text if needed.
16376
16377         * layout.C: font.realize function adaption.
16378
16379         * language.C: add inherit_language and implement it's handlings
16380
16381         * bufferview_funcs.C (StyleReset): remove language parameter from
16382         font creation (should be language_inherit now).
16383
16384         * bufferparams.C (writeFile): handle ignore_language.
16385
16386         * paragraph.C (getFontSettings): the language has to be resolved
16387         otherwise we have problems in LyXFont!
16388
16389         * lyxfont.C (lyxWriteChanges): added document_language parameter
16390         (update): removed unneeded language parameter
16391
16392         * paragraph.C (validate): fixed wrong output of color-package when
16393         using interface colors for certain fonts in certain environments,
16394         which should not seen as that on the final output.
16395
16396 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16397
16398         * BufferView_pimpl.C:
16399         * Thesaurus.h:
16400         * Thesaurus.C:
16401         * Makefile.am:
16402         * commandtags.h:
16403         * LyXAction.C: add thesaurus support
16404
16405         * lyxfind.h:
16406         * lyxfind.C: add "once" parameter, for thesaurus, to not
16407           move to the next match
16408
16409 2001-07-26  Juergen Vigna  <jug@sad.it>
16410
16411         * lyxfont.C (realize): honor ignore_language too!
16412         (resolved): ditto.
16413
16414         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16415
16416         * text.C (draw): one place more for ignore_language to not draw
16417         itself!
16418
16419 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16420
16421         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16422
16423 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16424
16425         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16426         the minipage conversion problem.
16427
16428 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16429
16430         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16431         insert an inset.
16432
16433 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16434
16435         * BufferView.h: don't forward declare WorkArea
16436
16437         * BufferView.C: don't include WorkArea.h
16438
16439 2001-07-25  André Pönitz <poenitz@gmx.net>
16440
16441         * commandtags.h:
16442         * LyXAction.C:
16443         * lyxfunc.C:  new LFUN 'math-space'
16444
16445         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16446
16447 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16448
16449         * text2.C (toggleInset): call open/close
16450
16451 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16452
16453         * lyxfunc.C (dispatch): add debug for the disabled case
16454
16455         * font.C (buttonText): make similar to rectText
16456
16457         * buffer.C (readInset): comment out parsing of insetlist and
16458         insttheorem
16459
16460         * PainterBase.C (rectText): small correction
16461
16462         * BufferView_pimpl.C: comment out insettheorem and insetlist
16463         * LyXAction.C: ditto
16464         * commandtags.h: ditto
16465
16466 2001-07-24  Juergen Vigna  <jug@sad.it>
16467
16468         * text.C (draw): honor the ignore_language.
16469
16470         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16471
16472 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16473
16474         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16475         char inset.
16476
16477 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16478
16479         * lyxtext.h: remove unused (and unimplemented) methods
16480
16481 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16482
16483         * text.C (getVisibleRow): honor background color
16484
16485         * PainterBase.h:
16486         * Painter.h: remove default color argument for fillRectangle
16487
16488         * text.C (backgroundColor): new method
16489
16490 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16491
16492         * text.C (getVisibleRow): adjust
16493
16494         * font.[Ch] (rectText): new method, metrics
16495         (buttonText): new method, metrics
16496
16497         * PainterBase.[hC]: make rectText and buttonText always draw and take
16498         fewer paramteres.
16499
16500 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16501
16502         * ToolbarDefaults.C (read):
16503         * MenuBackend.C (read): allow escaping in all strings
16504
16505         * BufferView_pimpl.C (insertAndEditInset): new method.
16506         (Dispatch): use insertAndEditInset whenever appropriate.
16507
16508         * BufferView_pimpl.C (insertNote): removed
16509
16510         * BufferView_pimpl.C (smartQuote): new method, moved from
16511         BufferView; if an insetquote cannot be inserted, insert a '"'
16512         character instead.
16513
16514         * BufferView2.C: remove insertCorrectQuote();
16515
16516         * lyxfunc.C (getStatus): Add support for all remaingin
16517         inset-insert lfuns.
16518
16519         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16520
16521         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16522         command (necessary to pass " as parameter of self-insert.
16523
16524         * text.C (selectWordWhenUnderCursor):
16525         (selectWord): add word_location parameter
16526         (selectWordWhenUnderCursor): same + remove special code for word
16527         boundary.
16528         (selectNextWord): use kind() to guess type of insetspecialchar,
16529         not latex().
16530
16531         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16532         (insertErtContents): create ert insets as collapsed.
16533         (readInset): better compatibility code for Info inset.
16534
16535 2001-07-20  Juergen Vigna  <jug@sad.it>
16536
16537         * lyxfunc.C (dispatch): use always LyXFind now!
16538
16539         * text2.C (init): add a reinit flag so that the LyXText can be
16540         reinited instead of deleted and reallocated (used in InsetText).
16541
16542         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16543
16544         * text.C: ditto
16545
16546         * text2.C: ditto
16547
16548 2001-07-18  Juergen Vigna  <jug@sad.it>
16549
16550         * text.C (selectNextWord): handle insets inside inset by calling
16551         always the bv->text functions so that we can go up the_locking_inset!
16552
16553         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16554         in strange locations when inside an inset!
16555
16556         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16557         handling to include insets.
16558
16559         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16560
16561 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16562
16563         * LyXAction.C (init):
16564         * commandtags.h:
16565         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16566         LIGATURE_BREAK, since the name is so stupid.
16567
16568 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16569
16570         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16571         InsetInfos.
16572
16573         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16574
16575         * sp_form.[Ch]: remove.
16576
16577         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16578
16579         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16580         InsetInfo.
16581
16582         * src/buffer.C (readInset): ditto.
16583
16584 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16585
16586         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16587         menuSeparator(), endOfSentenceDot(), ldots() and
16588         hyphenationPoint(), which are therefore removed.
16589         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16590
16591         * LyXAction.C (init):
16592         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16593
16594         * paragraph.C (getWord): removed.
16595
16596         * BufferView_pimpl.C (Dispatch): use last word or selection for
16597         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16598
16599         * lyx_main.C (queryUserLyXDir): do not ask before creating
16600         user_dir, except if it has been named explicitely.
16601
16602 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16603
16604         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16605         a document of zero size.
16606
16607 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16608
16609         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16610         approriately in the c-tor and in require().
16611         (getPackages): output the appropriate LaTeX for natbib support.
16612
16613         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16614         variables "use_natbib" and "use_numerical_citations" when reading the
16615         LyX file.
16616         (readInset): read the various natbib cite commands.
16617         (validate): white-space change.
16618
16619         * bufferparams.[Ch]: new variables "bool use_natbib" and
16620         "bool use_numerical_citations".
16621         (writeFile): output them in the LyX file.
16622
16623 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16624
16625         * lyxfunc.C (getStatus): add support for all the inset insertion
16626         commands.
16627
16628         * text2.C (insertInset):
16629         * paragraph.C (insetAllowed):
16630         * BufferView_pimpl.C (insertInset): update to take in account the
16631         renaming of insertInsetAllowed
16632
16633         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16634
16635         * text2.C (getInset): new method. returns inset at cursor position.
16636
16637         * BufferView_pimpl.C (Dispatch): changes because of this.
16638
16639         * LyXAction.C (init): rename open-stuff to inset-toggle.
16640
16641         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16642
16643         * text2.C (toggleInset): renamed from openStuff; use
16644         Inset::open().
16645
16646 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16647
16648         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16649
16650         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16651
16652 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16653
16654         * buffer.C (readLyXformat2): Add filename to the error dialog
16655
16656 2001-07-18  Juergen Vigna  <jug@sad.it>
16657
16658         * tabular.C (GetCellNumber): put an assert here instead of the check!
16659
16660 2001-07-17  Juergen Vigna  <jug@sad.it>
16661
16662         * BufferView_pimpl.C (toggleSelection): adapted too.
16663
16664         * text.C (selectNextWord): adapted for use with insets.
16665         (selectSelectedWord): ditto
16666
16667 2001-07-17  Juergen Vigna  <jug@sad.it>
16668
16669         * sp_spell.C (PSpell): fix initialitation order.
16670
16671 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16672
16673         * paragraph.C: spacing
16674
16675 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16676
16677         * sp_spell.C: repair language selection for pspell
16678
16679 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16680
16681         * lyxfunc.h: change more methods to begin with lower char.
16682
16683 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16684
16685         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16686         for unknown layouts.
16687
16688 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16689
16690         * buffer.C (readLyXformat2): Generate an error dialog if there are
16691         unknown layouts.
16692
16693 2001-07-16  Juergen Vigna  <jug@sad.it>
16694
16695         * sp_spell.C: always compile ISpell part.
16696
16697         * lyxrc.C: added use_pspell entry and it's handling.
16698
16699 2001-07-13  Juergen Vigna  <jug@sad.it>
16700
16701         * sp_spell.C: removed double includes.
16702
16703 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16704
16705         Consistent use of Lsstream.h:
16706         * Lsstream.h: added using std::stringstream for consistencies sake.
16707
16708         * buffer.C: removed using std::stringstream
16709
16710         * lyxfont.C (stateText):
16711         * paragraph.C (asString):
16712         * text.C (selectNextWord, selectSelectedWord):
16713         * text2.C (setCounter):
16714         * vspace.C (asString, asLatexString):
16715         std::ostringstream -> ostringstream.
16716
16717 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16718
16719         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16720         * commandtags.h: add LFUN_HELP_ABOUTLYX
16721         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16722
16723 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16724
16725         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16726         cursorToggle()
16727         * lyx_gui_misc.C: remove spellchecker
16728         * lyxfunc.C: showSpellchecker
16729         * sp_base.h: added
16730         * sp_ispell.h: added
16731         * sp_pspell.h: added
16732         * sp_spell.C: added
16733         * sp_form.[Ch]: removed
16734         * spellchecker.[Ch]: removed
16735
16736 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16737
16738         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16739         is set.
16740         (simpleTeXSpecialChars): Simply print the input character without
16741         any special translation if pass_thru is set.
16742
16743         * layout.h: Added bool pass_thru to layout class for being able to
16744         implement pass through of a paragraph for Literate Programming.
16745
16746         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16747         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16748         * layout.C (Read): add "passthru" to list of layout tags and add
16749         code to set the pass_thru boolean when it is read.
16750
16751 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16752
16753         * trans_decl.h: remove allowed from KmodInfo
16754
16755         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16756         remove allowed code
16757         (Load): adjust
16758
16759         * paragraph_pimpl.C (erase): use boost::prior
16760
16761         * Painter.C (text): use data() instead of c_str() when length is
16762         also provided.
16763         * WorkArea.C (putClipboard): ditto
16764         * font.h (width): ditto
16765
16766         * BufferView2.C: use it-> instead of (*it). for iterators
16767         * texrow.C: ditto
16768         * paragraph_pimpl.C: ditto
16769         * paragraph.C: ditto
16770         * minibuffer.C: ditto
16771         * language.C: ditto
16772         * kbmap.C: ditto
16773         * encoding.C: ditto
16774         * counters.C: ditto
16775         * converter.C: ditto
16776         * chset.C: ditto
16777         * Variables.C: ditto
16778         * TextCache.C: ditto
16779         * MenuBackend.C: ditto
16780         * LyXAction.C: ditto
16781         * LColor.C: ditto
16782         * FloatList.C: ditto
16783         * DepTable.C: ditto
16784         * ColorHandler.C (LyXColorHandler): ditto
16785
16786 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16787
16788         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16789
16790         * text2.C (openStuff): reintroduce this method (which had been
16791         nuked in NEW_INSETS frenzy).
16792
16793         * lyxfunc.C (Dispatch): when an action has not been handled, use
16794         its name in the error message, not its number.
16795
16796         * paragraph.C (inInset): change method name to begin with lowercase.
16797
16798         * undo_funcs.C:
16799         * text2.C: updates because of this.
16800
16801 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16802
16803         * ToolbarDefaults.C (add): add spaces in error message
16804
16805 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16806
16807         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16808         (readLyXformat2): rename return_par to first_par, use lyxlex's
16809         pushToken and remove the manual push handling.
16810         (parseSingleLyXformat2Token): add another ert comp. variable:
16811         in_tabular, rename return_par to first_par. handle newlines better
16812
16813 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16814
16815         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16816
16817 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16818
16819         * text2.C (getParFromID): removed
16820
16821         * buffer.C (getParFromID): new method moved form lyxtext.
16822         * BufferView2.C (insertErrors): adjust
16823         (setCursorFromRow): adjust
16824         * BufferView_pimpl.C (restorePosition): adjust
16825         * lyxfunc.C (Dispatch): adjust
16826         * undo_funcs.C (textUndo): adjust
16827         (textRedo): adjust
16828         (textHandleUndo): adjust
16829         (textHandleUndo): adjust
16830
16831 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16832
16833         * buffer.C: up' the LYX_FORMAT
16834
16835         * lyxfont.h: turn NO_LATEX on as default
16836
16837         * buffer.C (insertErtContents): new methods of tex style compability.
16838         (parseSingleLyXformat2Token): use it several places.
16839         * tabular.C (OldFormatRead): and here
16840
16841 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16842
16843         * text2.C: remove some commented code.
16844         reindent file.
16845
16846         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16847         * trans.C: changes because of the above.
16848
16849 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16850
16851         * text2.C (setCounter): Fix counters bug with bibliography layout.
16852
16853 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16854
16855         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16856         own member functions
16857         (simpleTeXSpecialChars): ditto
16858
16859 2001-07-06  Juergen Vigna  <jug@sad.it>
16860
16861         * a lot of files: changed the access to LyXText::status and the
16862         call of undo-functions.
16863
16864         * undo.[Ch]: added a inset_id to the undo informations.
16865
16866         * undo_funcs.[Ch]: added and moved here all undo functions.
16867
16868         * lyxtext.h: give the status enum a weight, made status_ a private
16869         variable and made accessor functions for it, removed the whole bunch
16870         of undo-functions as they are now in their own file, make some
16871         functions publically available. Added function ownerParagraph with
16872         int parameter.
16873
16874         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16875         made InInset() a const function, added getParFromID() function.
16876
16877         * buffer.[Ch]: added const version for inset_iterator functions,
16878         added getInsetFromID() function.
16879
16880         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16881         changed undo functions for new version.
16882
16883 2001-07-05  Juergen Vigna  <jug@sad.it>
16884
16885         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16886         unknow mechanism does not call the proper constructor but only this
16887         one also if I request the other!?
16888
16889 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16890
16891         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16892
16893         * text2.C (LyXText): use initialization lists.
16894
16895         * lyxtext.h (Selection): initialize set_ and mark_
16896         (init): remove method
16897
16898 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16899
16900         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16901
16902 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16903
16904         * screen.[Ch]: change method names to begin with lowercase
16905
16906         * BufferView_pimpl.C (updateScrollbar): simplify further and
16907         hopefully make it a bit faster.
16908
16909 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16910
16911         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16912         calling directly xforms functions.
16913
16914         * Painter.C (Painter):
16915         * lyx_cb.C (MenuWrite):
16916         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16917         fl_display.
16918
16919         * lyx_gui.C: remove bogus guiruntime extern declaration.
16920
16921 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16922
16923         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16924         in NEW_INSETS
16925         (redoDrawingOfParagraph): ditto
16926         (redoParagraphs): ditto
16927         (cutSelection): don't create a object for CutAndPaste use the
16928         static method directly
16929         (pasteSelection): ditto
16930
16931         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16932         LyXview (+ rename)
16933
16934 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16935
16936         * modifications to some other files because of this.
16937
16938         * Makefile.am (lyx_SOURCES): add XFormsView
16939
16940         * XFormsView.[Ch]: new files
16941
16942         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16943         the main window. Move the gui dependent stuff to XFormsView
16944
16945 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16946
16947         * tabular.C (GetCellInset): update cur_cell also in the row/col
16948         version of this function.
16949
16950         * lyxfunc.C: no need to include figure_form.h here.
16951
16952         * FontLoader.h:
16953         * lyxfunc.h:
16954         * lyxscreen.h:
16955         * text2.C:
16956         * lyxvc.C: no need to include forms.h here.
16957
16958 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16959
16960         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16961
16962         * lyxfunc.C (Dispatch):
16963         * Spacing.C (set):
16964         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16965         constructor argument.
16966
16967 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16968
16969         * paragraph.C (Paragraph): dont't clear, and just set layout.
16970         (makeSameLayout): use params's copy contructor.
16971
16972         * ParagraphParameters.[Ch] (makeSame): delete method
16973
16974 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16975
16976         * Variables.[Ch]: fix indentation, rename set to isSet
16977
16978 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16979
16980         * lyxfunc.C (Dispatch): fix typo
16981
16982 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16983
16984         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16985         upper_bound.
16986
16987         * bufferlist.C: include assert.h for emergencyWrite().
16988
16989 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16990
16991         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16992           give up at last (bug #425202) !
16993
16994 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16995
16996         * lyx_gui_misc.C:
16997         * sp_form.h:
16998         * sp_form.C:
16999         * spellchecker.h:
17000         * spellchecker.C: strip spellchecker options and bring up
17001           preferences tab instead
17002
17003 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17004
17005         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
17006         the istringstream constructor
17007
17008 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17009
17010         * paragraph.C (getLayout): fix return value
17011
17012         * paragraph.h: do not declare getLayout as inline.
17013
17014         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
17015
17016 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17017
17018         * lyxcursor.h (operator<): new func
17019         (operator>): new func
17020         (operator>=): new func
17021         (operator<=): new func
17022
17023         * text.C (changeCase): use selection.start and selection.end
17024         (changeRegionCase): require from to be <= to. Require par to be a
17025         valid paragraph.
17026
17027         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17028
17029 2001-06-27  Juergen Vigna  <jug@sad.it>
17030
17031         * text.C (cursorLeftOneWord): changed to return the cursor and added
17032         overlay with BufferView * parameter which calls this one.
17033         (getWord): added
17034         (selectWord): use new getWord function.
17035         (changeCase): renamed from changeWordCase as and extended to work
17036         also on selections.
17037
17038         * lyxtext.h: added enum word_location
17039
17040         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17041         changeCase as this operates now also on selections.
17042
17043 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
17044
17045         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17046
17047         * many files: send debug output to Debug::INFO instead of
17048         Debug::ANY.
17049
17050         * converter.C (View):
17051         (Convert):
17052         (Move): send debug output to Debug::FILES instead of console.
17053
17054 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
17055
17056         * lyxfunc.C (getStatus): use func_status
17057
17058         * func_status.h: new header, describing the results of
17059         LyXFunc::getStatus;
17060
17061         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17062         LFUN_MATH_HALIGN.
17063
17064 2001-06-25  The LyX Project  <jug@sad.it>
17065
17066         * buffer.C (sgmlOpenTag):
17067         (sgmlCloseTag):
17068         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
17069
17070 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17071
17072         * text2.C: remove some dead code
17073
17074         * tabular.C (GetCellInset): store the last cell checked (gotten)
17075
17076         * tabular.h: add the helper for the speedup
17077
17078         * lyxtext.h: remove some dead code
17079
17080 2001-06-26  The LyX Project  <Asger>
17081
17082         * paragraph.C: Change export to LaTeX of alignment to
17083         \begin{center} and family for better roundtrip work with reLyX.
17084
17085         * Tune the math drawing a bit.
17086
17087 2001-06-25  The LyX Project  <Asger>
17088
17089         * LColor.C (LColor): New color for math background. New color
17090         for buttons.
17091
17092 2001-06-25  The LyX Project  <jug@sad.it>
17093
17094         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17095
17096         * lyxfunc.C (Open):
17097         * bufferlist.C (newFile): do not restrict to files ending with
17098         .lyx
17099
17100         * BufferView_pimpl.C (MenuInsertLyXFile):
17101
17102 2001-06-24  The LyX Project  <jug@sad.it>
17103
17104         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17105         of compare_no_case
17106
17107 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17108
17109         * lyxtext.h: rename most methods to begin with a small char.
17110         Lots of changes because of this.
17111
17112         * paragraph.C (Paragraph): do not call fitToSize
17113         (erase): call Pimpl::erase
17114         (insertChar): call Pimpl::insertChar
17115         (insertInset): call Pipl::insertInset
17116         (breakParagraph): do not call fitToSize
17117         (breakParagraphConservative): do not call fitToSize
17118         (fitToSize): remove method
17119
17120         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17121
17122 2001-06-24  The LyX Project  <Asger>
17123
17124         * Fix Qt compilation^2
17125
17126 2001-06-24  The LyX Project  <jug@sad.it>
17127
17128         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17129         depthHook(getDepth()-1).
17130
17131         * paragraph.h:
17132         * ParagraphParameters.h:
17133         * ParameterStruct.h: change type of depth to unsigned int ==
17134         depth_type. Many adaptations to other files before of that.
17135
17136 2001-06-24  The LyX Project  <Asger>
17137
17138         * Fix Qt compilation.
17139
17140 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17141
17142         * paragraph.h: renamed several methods to begin with small letter.
17143         several changes to many parts of the code because of this.
17144
17145 2001-06-23  The LyX Project  <jug@sad.it>
17146
17147         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17148         rewritten to discard all double spaces when KeepEmpty is off
17149         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17150         to only handle newlines but not fiddle with spaces and friends.
17151
17152         * lyxfunc.C (MenuNew): when doing 'new from template', use
17153         template_path as default directory
17154
17155 2001-06-23  The LyX Project  <Asger>
17156
17157         * Clean-up of header file includes all over
17158         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17159
17160 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17161
17162         * paragraph.h: renamed from lyxparagraph.h
17163
17164 2001-06-23  Asger  <lyx@violet.home.sad.it>
17165
17166         * Buffer.h: Removed Buffer::resize
17167         * BufferList.h: Removed BufferList::resize
17168         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17169         the document lazily when we change the width, or the font settings.
17170
17171 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17172
17173         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17174
17175 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17176
17177         * buffer.h: remove out of date comment
17178
17179 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17180
17181         * lyxscreen.h:
17182         * screen.C: fix "theoretical" GC leak
17183
17184 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17185
17186         * LaTeX.C (scanAuxFile):
17187         (deplog): remove trailing \r when reading stream (useful under
17188         win32)
17189
17190 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17191
17192         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17193         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17194         and BufferView::theLockingInset(Inset*), so should use them and not
17195         access bv_->text->the_locking_inset directly.
17196
17197         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17198
17199 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17200
17201         * Makefile.am:
17202         * tex-defs.h: remove old unused file
17203
17204 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17205
17206         * BufferView_pimpl.C: fix typo, remove minibuffer message
17207           when buffer has loaded
17208
17209 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17210
17211         * lyxfunc.C (Dispatch): use stringstream
17212         (MenuNew): use stringstream
17213         (Open): use stringstream
17214
17215         * importer.C (Import): use stringstream
17216
17217         * bufferview_funcs.C (CurrentState): use stringstream
17218
17219         * LaTeX.C (run): use stringstream
17220
17221         * BufferView_pimpl.C (savePosition): use stringstream
17222         (restorePosition): use stringstream
17223         (MenuInsertLyXFile): use stringstream
17224
17225 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17226
17227         * BufferView.C:
17228         * Bullet.C:
17229         * ColorHandler.C:
17230         * FontInfo.C:
17231         * FontLoader.C:
17232         * LColor.C:
17233         * LaTeXFeatures.C:
17234         * Painter.C:
17235         * gettext.C:
17236         * lyx_gui_misc.C:
17237         * lyxserver.C:
17238         * vspace.C: removed // -*- C++ -*- as first line.
17239
17240         * lyxfind.h:
17241         * version.h: added // -*- C++ -*- as first line.
17242
17243 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17244
17245         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17246
17247         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17248         of string
17249
17250 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17251
17252         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17253         of floats.
17254
17255 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17256
17257         * gettext.C: include LString.h even when --disable-nls is on.
17258
17259 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17260
17261         * converter.h (Get): changed argument type from int to
17262         FormatList::size_type to avoid unnecessary conversion.
17263
17264         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17265         before using it.
17266
17267 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17268
17269         * gettext.h: include LString.h even when --disable-nls is on.
17270
17271 2001-06-07  Juergen Vigna  <jug@sad.it>
17272
17273         * text.C (BreakAgain): subst spaces with tabs.
17274
17275         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17276         (resizeInsetsLyXText): set force on resizeLyXText.
17277
17278 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17279
17280         * gettext.h (gettext_init):
17281         (locale_init): use a real definition instead of a macro
17282
17283 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17284
17285         * Bufferview_pimpl.C:
17286         * LColor.h:
17287         * LColor.C: further lcolor tidies
17288
17289 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17290
17291         * BufferView_pimpl.C (updateScrollbar): simplify.
17292
17293         * BufferView2.C: don't include insets/insetinfo.h, change
17294         prototype for insertInset and call the Pimpl version. let
17295         updateInset call Pimpl version.
17296
17297         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17298         gotoInset to BufferView::Pimpl
17299
17300 2001-06-01  Juergen Vigna  <jug@sad.it>
17301
17302         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17303         inside a LockingInset (is the update needed at all?).
17304
17305 2001-05-31  Juergen Vigna  <jug@sad.it>
17306
17307         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17308         here not the old one otherwise how should we compare it afterwards
17309         if it's the same!
17310
17311 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17312
17313         * lyxfont.C:
17314         * tabular.C:
17315         * tabular-old.C:
17316         * FontInfo.C: bring C functions into global namespace when
17317         necessary
17318
17319 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17320
17321         * LString.h: make sure config.h has been loaded before LString.h.
17322
17323         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17324         (one for each char read by EatLine!).
17325
17326         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17327         variables.
17328
17329 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17330
17331         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17332         to the same as the par we break from
17333
17334 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17335
17336         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17337
17338         * MenuBackend.C (expand): also create menu entries for wide
17339         versions of the floats.
17340
17341         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17342
17343         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17344
17345         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17346         frontends/Makefile.am
17347
17348         * text2.C: adjust
17349         * text.C: adjust
17350
17351
17352         * tabular.C (getTokenValue): add std::
17353
17354         * tabular-old.C (getTokenValue): add std::
17355         (getTokenValue): ditto
17356         (getTokenValue): ditto
17357
17358         * screen.C (ToggleSelection): adjust
17359
17360         * lyxtext.h: put selection cursors inside a Selection struct.
17361
17362         * lyxfunc.C (moveCursorUpdate): adjust
17363
17364         * lyxfont.C (latexWriteStartChanges): add std::
17365
17366         * lyxfind.C: adjust
17367
17368         * font.h: delete with(char const *, LyXFont const &)
17369
17370         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17371
17372         * FontInfo.C (getFontname): add std::
17373
17374         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17375         (workAreaButtonPress): adjust
17376         (tripleClick): adjust
17377         (update): adjust
17378         (moveCursorUpdate): adjust
17379         (Dispatch): adjust
17380
17381         * BufferView2.C (gotoInset): adjust
17382
17383 2001-05-30  Juergen Vigna  <jug@sad.it>
17384
17385         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17386         to check pspell I add this as default as I now have new pspell
17387         libraries and they seem to use this.
17388
17389 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17390
17391         * text2.C (CutSelection): make the cursor valid before the call to
17392         ClearSelection.
17393
17394 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17395
17396         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17397         relied on 0 terminated strings and other horrors. Bug found due to
17398         the new assert in lyxstring!
17399
17400         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17401         KP_ keys.
17402
17403 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17404
17405         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17406         to latinkeys.bind.
17407
17408         * lyxfunc.C (processKeySym): change method of getting to the
17409         self-insert char.
17410
17411         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17412         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17413         * BufferView_pimpl.[Ch]: here as private methods.
17414
17415 2001-05-28  Juergen Vigna  <jug@sad.it>
17416
17417         * text.C (SetHeightOfRow): added the update() call again as it is
17418         needed to initialize inset dimensions!
17419
17420 2001-05-16  Juergen Vigna  <jug@sad.it>
17421
17422         * text2.C (SetCharFont): Add new function with BufferView * and
17423         bool toggleall parameters for setting insets internal fonts.
17424         (SetFont): Freeze the undo as we may change fonts in Insets and
17425         all this change should be inside only one Undo!
17426
17427         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17428         setting font's in insets as for them we have the SetFont function!
17429
17430 2001-05-15  Juergen Vigna  <jug@sad.it>
17431
17432         * text2.C (ClearSelection): to be sure we REALLY don't have any
17433         selection anymore!
17434
17435         * tabular.C (TeXCellPreamble): fixed the left border problem for
17436         multicolumn cells.
17437
17438 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17439
17440         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17441         dependancy file
17442
17443 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17444
17445         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17446         LFUN_BREAKPARAGRAPH.
17447
17448         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17449         help test to "internal only", similar for LFUN_INSERT_URL
17450
17451         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17452         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17453         auto_region_delete and deadkeys.
17454
17455 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17456
17457         * LColor.h:
17458         * LColor.C: remove some dead entries, tidy a little
17459
17460 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17461
17462         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17463         commented code.
17464         (Dispatch): implement LFUN_ESCAPE
17465
17466         * commandtags.h: add LFUN_ESCAPE
17467
17468         * LyXAction.C (init): add entry for LFUN_ESCAPE
17469
17470         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17471         Remove commented code.
17472         (insertNote): moved here
17473         (open_new_inset): moved here
17474
17475         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17476         BufferView_pimpl
17477
17478 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17479
17480         * kbmap.C (findbinding): clean it up and make it work correctly.
17481
17482         * lyx_main.C (init): do not pass argc and argv as parameters
17483
17484 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17485
17486         * buffer.C: fix path for OS/2 & Win32
17487
17488         * lyx_gui.C:
17489         * lyx_main:
17490         * lyx_main.C: Added os:: class.
17491
17492         * os2_defines.h: update
17493
17494 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17495
17496         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17497         better by trying again with reduced state.
17498
17499 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17500
17501         * lyxrc.C (read): print error about invalid key sequence only when
17502         debugging (because not all latinX keysyms are known to some X
17503         servers)
17504
17505         * kbsequence.C (getiso): add a few std:: qualifiers
17506         (getiso): comment out extra return statement.
17507
17508 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17509
17510         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17511         handling.
17512         (Dispatch): enhance the accent inset a bit. (not perfect)
17513
17514 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17515
17516         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17517
17518 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17519
17520         * bufferlist.C (emergencyWrite): fix assert() call
17521
17522 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17523
17524         * text.C (InsertChar): Added trivial patch to only send the "you
17525         can not do multiple spaces this way" message once during a
17526         session.
17527
17528 2001-05-08  Baruch Even  <baruch@lyx.org>
17529
17530         * Makefile.am: Changed order of libraries to get LyX to link properly
17531         with the gnome frontend.
17532
17533 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17534
17535         * LaTeXFeatures.h: add a std:: qualifier
17536
17537 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17538
17539         * paragraph.C (String): use stringstream
17540
17541 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17542
17543         * paragraph.C (writeFile): remove footflag arg
17544
17545         * buffer.C (makeLaTeXFile): use stringstream
17546         (latexParagraphs): remove footnot gurba
17547
17548         * LaTeXFeatures.C (getPackages): use stringstream
17549         (getMacros): likewise
17550         (getTClassPreamble): likewise
17551         (getFloatDefinitions): new method
17552
17553         * paragraph.C (writeFile): reindent
17554         (Erase): reindent
17555
17556         * WorkArea.h: revert the xpos + etc changes.
17557
17558         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17559
17560         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17561
17562         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17563         (pasteSelection): likewise
17564         * text2.C (CreateUndo): likewise
17565
17566 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17567
17568         * minibuffer.C (peek_event): temporarily reduce the functionality
17569         of the minibuffer (to allow args on lfuns)
17570
17571         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17572         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17573
17574         * buffer.C (readInset): add compability reading of old float
17575         lists, add reading of new style float list.
17576         (readInset): avoid reevaluation of inscmd.getCmdName()
17577         (getLists): reindent
17578
17579         * MenuBackend.C (MenuItem): implement parsing of
17580         md_floatlistinsert and md_floatinsert.
17581         (expand::LastFiles): move initalizaton of iterators out of loop,
17582         avoid reevaluation.
17583         (expand::Documents): introduce typdedef vector<string> Strings,
17584         and use it.
17585         (expand::ExportFormats): introduce typedef vector<Format const *>
17586         Formats, and use it.
17587         (expand): implement FloatListInsert and FloatInsert.
17588
17589         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17590         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17591         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17592
17593         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17594         handling.
17595         (Dispatch::LFUN_FLOAT_LIST): implement
17596
17597 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17598
17599         * LaTeX.C (run): Fix problem with --export code.
17600
17601 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17602
17603         * BufferView.[Ch] (workarea): removed.
17604         (getClipboard) new method; wrapper for workarea()->getClipboard()
17605
17606         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17607         bug.
17608
17609         * WorkArea.h (width, height, xpos, ypos): These methods all
17610         returned the dimensions of the work_area sub-area of WorkArea,
17611         resulting in a position error if the WorkArea were resized. Now
17612         return the dimensions of the entire WorkArea.
17613
17614         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17615
17616 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17617
17618         * LaTeX.C (deplog): correct the syntax of regex reg1
17619
17620 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17621
17622         * undo.C: remove !NEW_INSETS cruft
17623
17624 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17625
17626         * text2.C: remove !NEW_INSETS cruft
17627
17628         * text.C: remove !NEW_INSETS cruft
17629
17630         * tabular.C: remove !NEW_INSETS cruft
17631
17632         * spellchecker.C: remove !NEW_INSETS cruft
17633
17634         * lyxtext.h: remove !NEW_INSETS cruft
17635
17636         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17637
17638         * lyxfunc.C: remove !NEW_INSETS cruft
17639
17640         * lyxfind.C: remove !NEW_INSETS cruft
17641
17642         * lyx_cb.C: remove !NEW_INSETS cruft
17643
17644         * figureForm.C: remove  !NEW_INSETS cruft
17645
17646         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17647
17648         * buffer.[Ch]: remove !NEW_INSETS cruft
17649
17650         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17651
17652         * CutAndPaste.C: remove !NEW_INSETS cruft
17653
17654         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17655
17656         * BufferView2.C: remove !NEW_INSETS cruft
17657
17658         * BufferView.h: remove !NEW_INSETS cruft
17659
17660 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17661
17662         * Lsstream.h: include LString.h before the sstream headers to
17663         fix problem with gcc 2.95.3 and lyxstring
17664
17665 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17666
17667         * lyx_main.C: add using directives when needed for C functions
17668         declared in std:: namespace.
17669
17670 2001-04-27  Juergen Vigna  <jug@sad.it>
17671
17672         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17673         (SetHeightOfRow): comment out the update call should not be needed!
17674
17675 2001-04-13  Juergen Vigna  <jug@sad.it>
17676
17677         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17678         (LyXTabular): tried to minimize operator= operations (and realized
17679         hopfully Lars wish).
17680
17681 2001-04-27  Juergen Vigna  <jug@sad.it>
17682
17683         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17684
17685 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17686
17687         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17688
17689         * buffer.C (readInset): hack to make listof algorithm work
17690
17691         * BufferView_pimpl.C: hack to make listof algorithm work
17692
17693 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17694
17695         * LyXAction.C: removed all !NEW_INSETS cruft
17696         (init): moved lfun_item in method
17697
17698         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17699
17700 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17701
17702         * BufferView2.C (theLockingInset): white space.
17703
17704 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17705
17706         * minibuffer.C: include <iostream>
17707
17708         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17709
17710         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17711
17712         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17713
17714         * text.[Ch] (TransposeChars): new method
17715
17716 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17717
17718         * call message directly through LyXView instead of through LyXFunc
17719         * BufferView2.C: adjust
17720         * BufferView_pimpl.C: adjust
17721         * FontLoader.C: adjust
17722         * buffer.C: adjust
17723         * bufferview_funcs.C: adjust
17724         * converter.C: adjust
17725         * figureForm.C: adjust
17726         * importer.C: adjust
17727         * lyx_cb.C: adjust
17728         * lyx_gui_misc.C: adjust
17729         * lyxfunc.C: adjust
17730         * lyxvc.C: adjust
17731         * text2.C: adjust
17732         + more files in subdirs
17733
17734         * lyxparagraph.h (size): move up int file
17735         (GetLayout): ditto
17736
17737         * adjust all uses of Assert to lyx::Assert.
17738
17739         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17740         lyxfunctional in namespace lyx
17741         * layout.C (hasLayout): ditto
17742         (GetLayout): ditto
17743         (GetLayout): ditto
17744         (delete_layout): ditto
17745         (NumberOfClass): ditto
17746         * converter.C (GetFormat): ditto
17747         (GetNumber): ditto
17748         (Add): ditto
17749         (Delete): ditto
17750         (SetViewer): ditto
17751         * bufferlist.C (getFileNames): ditto
17752         (emergencyWriteAll): ditto
17753         (exists): ditto
17754         (getBuffer): ditto
17755         * MenuBackend.C (hasSubmenu): ditto
17756         (hasMenu): ditto
17757         (getMenu): ditto
17758         * BufferView_pimpl.C (getInsetByCode): ditto
17759
17760 2001-04-18  Juergen Vigna  <jug@sad.it>
17761
17762         * vspace.C (asLatexString): fixed the 100% problem.
17763
17764 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17765
17766         * lyxfunc.C (Dispatch):
17767         * minibuffer.C:
17768         * minibuffer.h: add a few std:: qualifiers
17769
17770 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17771
17772         * minibuffer.[Ch]: reimplement so that commands is initiated and
17773         run from lyxfunc, simplified som handling, and made the completion
17774         and history code for complete. wip.
17775
17776         * lyxfunc.C (processKeySym): call message
17777         (miniDispatch): new temporary method
17778         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17779         (LFUN_MESSAGE): implement
17780         (LFUN_MESSAGE_PUSH): implement
17781         (LFUN_MESSAGE_POP): implement
17782         (initMiniBuffer): the initial/defualt minibuffer message.
17783
17784         * lyxfont.[Ch]: inline some more getters
17785
17786         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17787
17788         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17789
17790         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17791         (AutoSave): use LFUN_MESSAGE
17792         (Reconfigure): ditto
17793
17794         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17795
17796         * figureForm.C: use LFUN_MESSAGE
17797
17798         * converter.C (runLaTeX): use LFUN_MESSAGE
17799
17800         * bufferview_funcs.C: use LFUN_MESSAGE
17801         (Melt): ditto
17802         (changeDepth): ditto
17803
17804         * bufferparams.h: use boost::
17805
17806         * bufferlist.h: inherit privately from noncopyable
17807
17808         * bufferlist.C (loadLyXFile): remove some commented code.
17809
17810         * buffer.C (runChktex): use LFUN_MESSAGE
17811
17812         * ShareContainer.h: inherit privately from noncopyable
17813
17814         * ParagraphParameters.[hC] (depth): inline it.
17815
17816         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17817         methods.
17818         (message): new method
17819         (messagePush): ditto
17820         (messagePop): ditto
17821         (show): init minibuffer
17822         (showState): direct call
17823
17824         * LaTeX.[Ch]: inherit privately from noncopyable
17825         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17826         instead of WriteStatus.
17827
17828         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17829
17830         * BufferView_pimpl.C (buffer): don't init minibuffer
17831         (workAreaButtonPress): use LFUN_MESSAGE
17832         (workAreaButtonRelease): ditto
17833         (savePosition): ditto
17834         (restorePosition): ditto
17835         (MenuInsertLyXFile): ditto
17836         (workAreaExpose): don't init minibuffer
17837         (update): remove commented code, simplify
17838
17839         * BufferView2.C (openStuff): use LFUN_MESSAGE
17840         (toggleFloat): ditto
17841         (menuUndo): ditto
17842         (menuRedo): ditto
17843         (copyEnvironment): ditto
17844         (pasteEnvironment): ditto
17845         (copy): ditto
17846         (cut): ditto
17847         (paste): ditto
17848         (gotoInset): ditto
17849         (updateInset): remove some commented code
17850
17851         * lastfiles.h: inherit privately from noncopyable
17852         * layout.h: ditto
17853         * lyx_gui.h: ditto
17854         * lyx_main.h: ditto
17855         * lyxlex.h: ditto
17856         * lyxlex_pimpl.h: ditto
17857
17858         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17859         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17860         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17861
17862         * LyXAction.h: inherit privately from noncopyable, add methods
17863         func_begin, func_end, returning iterators to the func map.
17864
17865         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17866         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17867         (func_begin): new method
17868         (func_end): new method
17869
17870         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17871         and not)
17872         (copySelection): ditto
17873         (pasteSelection): ditto
17874
17875         * BufferView.C: whitespace change
17876         * BufferView.h: inherit privately from noncopyable
17877
17878 2001-04-16  Allan Rae  <rae@lyx.org>
17879
17880         * tabular-old.C (l_getline):
17881         * spellchecker.C (sc_check_word):
17882         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17883         an unrecognised preprocessor directive.  So ensure they're wrapped.
17884
17885 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17886
17887         * src/exporter.C (Export): Give an error message when path to file
17888         contains spaces.
17889
17890 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17891
17892         * LaTeX.C (deplog): Always check that foundfile exists.
17893
17894 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17895
17896         * lyx_main.h:
17897         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17898
17899 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17900
17901         * tabular.[Ch] (getLabelList): implement new method
17902
17903         * minibuffer.h: comment ouf setTiimer
17904
17905         * minibuffer.C (ExecutingCB): constify res
17906         (peek_event): constify s
17907         (Set): constify ntext
17908         (Init): constify nicename
17909
17910         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17911
17912         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17913         (savePosition): use two params to Minibuffer::Set
17914         (restorePosition): ditto
17915
17916 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17917
17918         * lyx_main.C: include language.h
17919
17920         * Makefile.am (lyx_main.o): add language.h
17921
17922 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17923
17924         * exporter.C:
17925         * paragraph.C:
17926         * screen.C:
17927         * tabular.C:
17928         * CutAndPaste.C: include gettext.h
17929
17930         * lyxfont.h: remove old hack with ON and OFF.
17931
17932         * lyxparagraph.h:
17933         * lyxfont.h: do not include language.h...
17934
17935         * BufferView2.C:
17936         * LaTeXFeatures.C:
17937         * Painter.C:
17938         * bufferview_funcs.C:
17939         * font.C:
17940         * lyxfont.C:
17941         * text.C:
17942         * text2.C:
17943         * trans_mgr.C:
17944         * paragraph.C: ... but do it here instead
17945
17946 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17947
17948         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17949
17950         * tabular.C: small reformat
17951
17952         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17953         NEW_INSETS version
17954         (GetChar): ditto
17955         (BreakParagraph): ditto
17956         (SetOnlyLayout): ditto
17957         (SetLayout): ditto
17958
17959         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17960         with one arg less.
17961
17962         * lastfiles.C: removed most using decl, add std:: where needed
17963
17964         * buffer.C: ws changes
17965
17966         * MenuBackend.C (class compare_format): put into anon namespace
17967         (expand): constify label, names, action, action2
17968         (expand):
17969
17970         * text.C (SingleWidth): constify font
17971         (IsBoundary): constify rtl2
17972         (GetVisibleRow): constify ww
17973
17974         * LaTeX.C (deplog): constify logfile
17975
17976         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17977         start_x, end_x
17978         (workAreaExpose): constify widthChange, heightChange
17979
17980         * lyxrow.C (par): moved
17981         (height): moved
17982         (next): moved
17983         * lyxrow.h: as inlines here
17984
17985         * lyxfont.h (shape): moved from lyxfont.C
17986         (emph): moved from lyxfont.C
17987
17988         * lyxfont.C (LyXFont): use initialization list for all
17989         constructors
17990         (shape): move to lyxfont.h as inline
17991         (emph): move to lyxfont.h as inline
17992
17993
17994 2001-04-04  Juergen Vigna  <jug@sad.it>
17995
17996         * vspace.C: had to include stdio.h for use of sscanf
17997
17998 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17999
18000         * BufferView.h:
18001         * BufferView_pimpl.h: remove xforms cruft. Both classes are
18002         independent of xforms.
18003
18004 2001-04-02  Juergen Vigna  <jug@sad.it>
18005
18006         * spellchecker.C: fixed namespace placing!
18007
18008 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
18009
18010         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
18011         the LyXParagraph * is 0.
18012
18013 2001-03-29  Juergen Vigna  <jug@sad.it>
18014
18015         * vspace.C: added support for %, c%, p%, l%.
18016         (stringFromUnit): added helper function.
18017         (asLatexString): changed to give right results for the %-values.
18018
18019         * buffer.C: convert the widthp in a width%.
18020
18021 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
18022
18023         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
18024         figureForm.[Ch].
18025
18026         * figureForm.[Ch]: stripped the FD_from_figure manipulation
18027         code out of lux_cb.[Ch], ready for its (imminent?) removal.
18028
18029         * lyx_cb.[Ch]: see above.
18030
18031         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18032         form1.[Ch].
18033
18034         * form1.[Ch]:
18035         * lyx.[Ch]: replaced by figure_form.[Ch].
18036
18037         * lyx_gui.C:
18038         * lyx_gui_misc.C:
18039         * lyxfunc.C: changed headers associated with above changes.
18040
18041 2001-03-27  Juergen Vigna  <jug@sad.it>
18042
18043         * BufferView_pimpl.C: set the temporary cursor right!
18044
18045 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
18046
18047         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18048
18049 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
18050
18051         * LString.h: removed "using std::getline"!
18052
18053         * BufferView_pimpl.C (Dispatch): changes due to changes in
18054         InsetInclude::Params.
18055
18056         * buffer.C (tag_name): removed redundant break statements as they were
18057         producing lots of warnings with my compiler.
18058
18059 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18060
18061         * LString.h: add "using std::getline" when using the real <string>.
18062
18063 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18064
18065         * buffer.C: removed bitset usage.
18066         PAR_TAG moved to an anonymous name space.
18067         (tag_name): new funtion, also in the anonymous namespace.
18068         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18069         (makeDocBookFile): clean code. Completed transition from string arrays
18070         to string vectors.
18071         (SimpleDocBookOnePar): code clean.
18072
18073 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18074
18075         * tabular.C: add some comments.
18076
18077 2001-03-22  Juergen Vigna  <jug@sad.it>
18078
18079         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18080         compatibility read a bit and fixed bug with minipage in different
18081         depth.
18082
18083 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18084
18085         * buffer.C (pop_tag): removed.
18086         (push_tag): removed.
18087         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18088         array replaced with vector. Added support for CDATA sections.
18089         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18090         at any nest level.
18091         (makeDocBookFile): XML conformant declaration of CDATA section,
18092         fixed bug related to <emphasis> in the first paragraph char.
18093         (sgmlOpenTag): exclude empty tags.
18094         (sgmlCloseTag): ditto.
18095
18096         * buffer.h (pop_tag): removed.
18097         (push_tag): removed.
18098
18099 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18100
18101         * language.h (Languages): added size_type and size().
18102
18103 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18104
18105         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18106         response on compability reading of minipages. One probliem is that
18107         the old usage of minipages was flertydig
18108
18109         * several files here and in subdirs: don't use static at file
18110         scope use anon namespaces instead.
18111
18112 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18113
18114         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18115         LaTeX output. This is necessary for Literate document
18116         processing.
18117
18118 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18119
18120         * buffer.C: insert hfill when needed.
18121
18122         * tabular.C (l_getline): use string::erase, small whitespace change.
18123
18124         * BufferView_pimpl.C: try the anon namespace.
18125         * WorkArea.C: ditto
18126
18127 2001-03-16  Juergen Vigna  <jug@sad.it>
18128
18129         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18130         otherwise it won't open options-dialogs.
18131
18132         * buffer.C: honor pextraWidth(p) on converting minipages.
18133
18134         * tabular.C (l_getline): changed the functions to strip trailing \r.
18135
18136 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18137
18138         * BufferView_pimpl.C:
18139         * minibuffer..C: added "using SigC::slot" declaration.
18140
18141 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18142
18143         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18144
18145         * text2.C: ditto
18146
18147         * text.C: ditto
18148
18149         * paragraph.C: ditto
18150
18151         * lyxtext.h: NO_PEXTRA
18152
18153         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18154
18155         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18156         * ParameterStruct.h: ditto
18157         * ParagraphParameters.h: ditto
18158         * lyxparagraph.h: ditto
18159
18160 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18161
18162         * buffer.C: add compability for minipage alignment.
18163         (latexParagraphs): remove unwanted pextra check.
18164
18165         * several files: remove CXX_WORKING_NAMESPACES
18166
18167         * buffer.C (pop_tag): tie is in namespace boost
18168
18169         * BufferView.h: noncopyable is in namespace boost
18170         * lyxlex.h: ditto
18171         * lyx_main.h: ditto
18172         * lyx_gui.h: ditto
18173         * layout.h: ditto
18174         * lastfiles.h: ditto
18175         * bufferlist.h: ditto
18176         * ShareContainer.h: ditto
18177         * LyXView.h: ditto
18178         * LyXAction.h: ditto
18179         * LaTeX.h: ditto
18180
18181 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18182
18183         * Merging changes from BRANCH_MVC back into HEAD.
18184
18185         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18186
18187 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18188
18189         * BufferView_pimpl.C: change from intl.C
18190
18191         * combox.h:
18192         * combox.C:
18193         * Makefile.am: move combox.*
18194
18195         * form1.h:
18196         * form1.C:
18197         * lyx_gui.C:
18198         * intl.h:
18199         * intl.C: remove dialog (covered by prefs)
18200
18201 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18202
18203         * lyxfunc.C (Dispatch): removed redundant break statement.
18204
18205 2001-03-14  Juergen Vigna  <jug@sad.it>
18206
18207         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18208
18209 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18210
18211         * buffer.C: add hack to fix compability reading of minipages.
18212
18213 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18214
18215         * buffer.C (getLists): Cleanup.
18216
18217 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18218
18219         * lyxfont.C (update): don't honor toggleall on font size.
18220
18221 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18222
18223         * bmtable.c:
18224         * bmtable.h:
18225         * Makefile.am: moved to frontends/xforms/
18226
18227         * lyx_gui_misc.C:
18228         * lyxfunc.C:
18229         * BufferView_pimpl.C: changes for moved mathpanel
18230
18231 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18232
18233         * gettext.h: fix gettext_init() in --disable-nls
18234
18235 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18236
18237         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18238
18239 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18240
18241         * lyx.C:
18242         * lyx.h: strip external form
18243
18244 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18245
18246         * BufferView_pimpl.C: add comment, destroySplash()
18247
18248 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18249
18250         * BufferView_pimpl.C:
18251         * LyXAction.C:
18252         * buffer.C:
18253         * commandtags.h:
18254         * lyxfunc.C: use re-worked insetinclude
18255
18256 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18257
18258         * buffer.C: add using std::stringstream.
18259
18260         * lyx_cb.C: readd using std::ios.
18261
18262         * buffer.C: add using std::map.
18263
18264         * BufferView_pimpl.C: add using std::vector.
18265
18266         * ShareContainer.h: add std:: to swap.
18267
18268         * buffer.h: add some typedefs
18269         * buffer.C (getLists): use them
18270         (getLists): renamed from getTocList.
18271         add a counter for the different float types and use it in the
18272         generated string.
18273         (getLists): use the same counter for the NEW_INSETS and the "non"
18274         NEW_INSETS
18275
18276         * lyx_cb.h: remove unused items, includes, using etc.
18277
18278         * ShareContainer.h: remove some commented code, add more comments
18279         and "documentation".
18280
18281 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18282
18283         * buffer.C (getTocList): make the list also when NEW_INSETS is
18284         defined.
18285
18286         * buffer.h: remove TocType
18287
18288         * buffer.C (getTocList): change to return a map<string,
18289         vector<TocItem> >, implement for dynamic number of list.
18290
18291         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18292         * text2.C (PasteSelection): adjust
18293         * CutAndPaste.C (pasteSelection): adjust
18294
18295         * FloatList.C (FloatList): update from the new_insets branch.
18296         * Floating.[Ch]: ditto
18297         * LaTeXFeatures.C: ditto
18298         * buffer.C: ditto
18299         * lyxlex_pimpl.C: ditto
18300
18301         * paragraph.C (Last): remove when NEW_INSETS is defined.
18302
18303         * other file: changes because of the above.
18304
18305 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18306
18307         * lyxparagraph.h: rename next to next_, previous to previous_,
18308         make them private for NEW_INSETS. Rename Next() to next(),
18309         Previous() to previous().
18310
18311         * other files: changes because of the above.
18312
18313 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18314
18315         * BufferView.h:
18316         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18317         problem.
18318
18319 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18320
18321         * main.C (main): pass lyx_localedir to gettext_init().
18322
18323         * gettext.h: remove locale_init and gettext_init macros
18324
18325         * gettext.C (locale_init): new function
18326         (gettext_init): new function
18327
18328         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18329         setlocale().
18330
18331 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18332
18333         * Moved credits to frontends:
18334         * credits.[Ch]: removed
18335         * credits_form.[Ch]: removed
18336         * lyx_gui_misc.C: remove credits stuff
18337         * Makefile.am:
18338
18339 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18340
18341         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18342
18343         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18344         unneeded destructor.
18345
18346         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18347         a standalone pointer again.
18348
18349         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18350
18351 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18352
18353         * Makefile.am:
18354         * filedlg.h:
18355         * filedlg.C:
18356         * LyXAction.C:
18357         * ToolbarDefaults.C:
18358         * bufferlist.C:
18359         * commandtags.h:
18360         * form1.C:
18361         * form1.h:
18362         * lyx_cb.C:
18363         * lyx_cb.h:
18364         * lyxfunc.h:
18365         * lyxfunc.C:
18366         * BufferView_pimpl.C: use new file dialog in GUII
18367
18368         * lyx_cb.h:
18369         * lyx_cb.C: remove LayoutsCB to Toolbar
18370
18371 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18372
18373         * ShareContainer.h (get): add std:: qualifier
18374
18375 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18376
18377         * ShareContainer.h: define a proper ShareContainer::value_type
18378         type (and use typename to please compaq cxx)
18379
18380 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18381
18382         * lyxparagraph.h: move serveral local vars to
18383         ParameterStruct/ParagraphParameters., use ShareContainer in
18384         FontTable., make vars in FontTable private and add getter and
18385         setter.
18386
18387         * paragraph.C: changes because of the above.
18388
18389         * lyxfont.h: remove copy constructor and copy assignment. (the
18390         default ones is ok), move number inside FontBits. move inlines to
18391         lyxfont.C
18392
18393         * lyxfont.C: add number to initializaton of statics, move several
18394         inlines here. constify several local vars. some whitespace
18395         cleanup. Dont hide outerscope variables.
18396
18397         * Spacing.h: add two new constructors to match the set methods.
18398
18399         * ShareContainer.h: new file, will perhaps be moved to support
18400
18401         * ParameterStruct.h: new file
18402
18403         * ParagraphParameters.h: new file
18404
18405         * ParagraphParameters.C: new file
18406
18407         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18408         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18409
18410         * BufferView_pimpl.C: ParagraphParameter changes.
18411         * buffer.C: Likewise.
18412         * bufferview_funcs.C: Likewise.
18413         * text.C: Likewise.
18414         * text2.C: Likewise.
18415
18416 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18417
18418         * lyxfind.C (LyXReplace): do not redefine default argument in
18419         implementation.
18420         (IsStringInText): ditto
18421         (SearchForward): ditto
18422         (SearchBackward): ditto
18423
18424 2001-03-06  Juergen Vigna  <jug@sad.it>
18425
18426         * lyxfind.C (IsStringInText): put parentes around expressions.
18427
18428 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18429
18430         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18431
18432 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18433
18434         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18435
18436         * stl_string_fwd.h: add comment
18437
18438         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18439
18440         * tabular.h:
18441         * tabular.C: remove unused DocBook methods
18442
18443         * intl.C:
18444         * language.C:
18445         * paragraph.C:
18446         * buffer.C:
18447         killed DO_USE_DEFAULT_LANGUAGE
18448
18449 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18450
18451         * lyx_gui.C: do not include language.h.
18452
18453         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18454         arguments in function implementation.
18455
18456 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18457
18458         * BufferView_pimpl.C: add <ctime>
18459
18460 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18461
18462         * BufferView_pimpl.C: add using std::find_if
18463
18464 2001-02-27  José Matos  <jamatos@fep.up.pt>
18465
18466         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18467         by OnlyPath.
18468
18469 2001-02-11  José Matos  <jamatos@fep.up.pt>
18470
18471         * buffer.C (makeDocBookFile): command styles now have a parameter as
18472         "title" by default.
18473
18474 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18475
18476         * layout_forms.[Ch]: removed
18477         * lyx_cb.[Ch]: out character
18478         * lyx_gui.C: out character
18479         * lyx_gui_misc.C: out character
18480         * bufferview_funcs.C: : out character,
18481         added toggleall as parameter in ToggleAndShow
18482
18483 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18484
18485         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18486
18487         * text2.C (SetCurrentFont): Disable number property at boundary.
18488
18489 2001-02-26  Juergen Vigna  <jug@sad.it>
18490
18491         * lyxfunc.C (getStatus): added a string argument override function so
18492         that this is correctly called from LyXFunc::Dispatch if it contains a
18493         do_not_use_argument which is used!
18494         (Dispatch): added check for "custom" export and call appropriate func.
18495
18496 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18497
18498         * lyxrc.C: Add language_command_local, language_use_babel and
18499         language_global_options.
18500
18501         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18502
18503         * buffer.C (makeLaTeXFile): Use language_use_babel and
18504         language_global_options.
18505
18506 2001-02-23  Juergen Vigna  <jug@sad.it>
18507
18508         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18509         which works with LyXText and putted it inside BufferView. Here now we
18510         only call for that part the BufferView::Dispatch() function.
18511
18512         * BufferView.C (Dispatch): added.
18513
18514         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18515         functions which needs to use a LyXText over from LyXFunc.
18516         (MenuInsertLyXFile): added
18517         (getInsetByCode): added
18518         (moveCursorUpdate): added
18519         (static TEXT): added
18520
18521 2001-02-22  Juergen Vigna  <jug@sad.it>
18522
18523         * BufferView_pimpl.C (update): call a status update to see if LyXText
18524         needs it.
18525
18526 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18527
18528         * vc-backend.C (revert): implement for CVS
18529         (getLog): implement for CVS
18530
18531 2001-02-20  Juergen Vigna  <jug@sad.it>
18532
18533         * text2.C (ClearSelection): added BufferView param for inset_owner call
18534
18535         * lyxfunc.C (TEXT): added this function and use it instead of
18536         directly owner->view()-text of getLyXText().
18537
18538 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18539
18540         * src/layout_forms.C: out preamble
18541         * src/layout_forms.h: out preamble
18542         * src/lyx_cb.C: out preamble
18543         * src/lyx_cb.h: out preamble
18544         * src/lyx_gui.C: out preamble
18545         * src/lyx_gui_misc.C: out preamble
18546         * src/lyxfunc.C: connect with guii preamble
18547
18548 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18549
18550         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18551
18552 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18553
18554         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18555         whether to run bibtex.
18556
18557 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18558
18559         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18560
18561 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18562
18563         * Makefile.am (lyx_SOURCES): removed bibforms.h
18564
18565         * vspace.h: doxygen
18566
18567         * text.C (GetVisibleRow): make several local vars const
18568
18569         * tabular.C: small cleanup.
18570
18571         * lyxserver.C (callback): use compare instead of strncmp
18572
18573         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18574         inlines to after class or to paragraph.C
18575
18576         * lyxfont.h: remove friend operator!=
18577
18578         * converter.h: move friend bool operator< to non friend and after
18579         class def.
18580
18581         * combox.h: small cleanup
18582
18583         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18584         to inlines after class def.
18585
18586         * buffer.C (pop_tag): use string operations instead of strcmp
18587
18588         * bmtable.c: doxygen, small cleanup
18589
18590         * LaTeX.h: remove friend operator==
18591
18592 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18593
18594         * screen.C:
18595         * lyxrc.[Ch]:
18596         * lyxfunc.C:
18597         * lyxfont.[Ch]:
18598         * lyx_cb.C:
18599         * intl.[Ch]:
18600         * commandtags.h:
18601         * buffer.C:
18602         * WorkArea.[Ch]:
18603         * LyXAction.C:
18604         * BufferView_pimpl.C:
18605         * BufferView.[Ch]: remove cruft
18606
18607 2001-02-14  Juergen Vigna  <jug@sad.it>
18608
18609         * lyxfunc.C: removed #if 0 unused code
18610
18611         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18612
18613         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18614
18615         * text2.C (SetSelection): added a BufferView * parameter
18616
18617 2001-02-13  Juergen Vigna  <jug@sad.it>
18618
18619         * lyxfunc.C (Dispatch): fixed protected blank problem.
18620         * BufferView2.C (protectedBlank): added LyxText * parameter.
18621
18622         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18623         (AppendColumn): same as above for column_info.
18624
18625         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18626         (moveCursorUpdate): use a LyXText param for support of InsetText.
18627
18628         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18629         (tripleClick): ditto
18630
18631         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18632
18633         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18634
18635         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18636
18637         * text2.C (SetSelection): set correct update status if inset_owner
18638         (ToggleFree): ditto
18639
18640 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18641
18642         * tabular.C: remove some commented code.
18643
18644 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18645
18646         * BufferView_pimpl.C: call hideSplash()
18647
18648         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18649
18650         * include_form.h:
18651         * bibforms.h: remove
18652
18653         * lyxfunc.C:
18654         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18655           add LFUN_CHILD_CREATE
18656
18657         * counters.h: fix tiny typo
18658
18659         * lyx_cb.C:
18660         * lyx.h:
18661         * lyx_gui.C:
18662         * lyx.C: move splash to frontends/xforms/
18663
18664         * lyx_gui_misc.C: move Include and Bibform to frontends
18665
18666         * lyxvc.h: clarify comment
18667
18668         * vspace.C: tiny housekeeping
18669
18670 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18671
18672         * text.C (PrepareToPrint): RTL Fix.
18673
18674         * paragraph.C (GetUChar): New method.
18675         (String):  Use GetUChar.
18676
18677         * buffer.C (asciiParagraph): Use GetUChar.
18678
18679 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18680
18681         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18682
18683 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18684
18685         * buffer.h:
18686         * buffer.C: rename to getLogName(), handle
18687           build log / latex log nicely
18688
18689 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18690
18691         * MenuBackend.C:
18692         * MenuBackend.h: remove support for reference menuitem type.
18693
18694 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18695
18696         * BufferView_pimpl.C: housekeeping
18697         * BufferView_pimpl.h:
18698         * LyXView.h:
18699         * Makefile.am:
18700         * Timeout.C:
18701         * Timeout.h:
18702         * minibuffer.h: move Timeout GUI-I
18703
18704 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18705
18706         * lyxrc.C (read): Update converters data-structures.
18707
18708 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18709
18710         * LaTeX.h (operator!=): add operator != for Aux_Info
18711
18712 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18713
18714         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18715
18716         * LaTeXLog.C: deleted, useful code moved to Buffer
18717
18718         * buffer.h:
18719         * buffer.C: new function getLatexLogName()
18720
18721         * lyx_gui_misc.C:
18722         * lyx_gui.C:
18723         * lyxvc.C:
18724         * lyxvc.h:
18725         * lyxfunc.C: use frontends for LaTeX and VC logs
18726
18727 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18728
18729         * LaTeX.h: yet another std:: that Allan forgot.
18730
18731         * Variables.C (set): renamed from isset(), because this clashes
18732         with some HP-UX macros (grr).
18733
18734 2001-02-06  Allan Rae  <rae@lyx.org>
18735
18736         * LaTeX.h: Another bug fix.  Missing std:: this time.
18737
18738 2001-02-04  Allan Rae  <rae@lyx.org>
18739
18740         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18741         floats problem. I've left it commented out because it's not quite
18742         correct.  It should also test that the current object is a table or
18743         figure inset.  But I haven't gotten around to figuring out how to do
18744         that.  I *think* it'll be something like: "table" == inset.type()
18745
18746         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18747         bool.
18748
18749 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18750
18751         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18752         all the citation/databases/styles in the auxilary file.
18753         (run): Rerun latex if there was a babel language error.
18754
18755 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18756
18757         * text.C (Backspace): Preserve the font when changing newline char
18758         with a space.
18759         (BreakParagraph): If the cursor is before a space, delete the space.
18760
18761         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18762
18763 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18764
18765         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18766         new argument (code).
18767         (ChangeCitationsIfUnique): New method.
18768
18769         * paragraph.C (GetPositionOfInset): Handle bibkey.
18770
18771 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18772
18773         * BufferView_pimpl.h: change type of Position::par_pos to
18774         LyXParagraph::size_type.
18775
18776 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18777
18778         * BufferView_pimpl.C (savePosition, restorePosition): Write
18779         messages to minibuffer.
18780
18781 2001-01-28  José Matos  <jamatos@fep.up.pt>
18782
18783         * buffer.C (makeDocBookFile): adds support for document language.
18784         A silly restriction on the name of LatexCommand types where removed.
18785         Added support for CDATA sections, allows to chars unescaped, used
18786         among others in code, to avoid escape < and >.
18787
18788 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18789
18790         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18791         saved positions instrad of a stack. Furthermore, a position is
18792         stored using paragraph id/paragraph position.
18793
18794         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18795         Remove LFUN_REF_BACK.
18796
18797 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18798
18799         * converter.C (dvipdfm_options): New method.
18800
18801 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18802
18803         * vspace.C (isValidLength): Fix for empty input string.
18804
18805 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18806
18807         * LyXAction.C (init): change description of LFUN_FIGURE to
18808         "Insert Graphics"
18809
18810 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18811
18812         * LaTeX.C: add using directive
18813
18814 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18815
18816         * MenuBackend.C (expand): Fix the sorting of the formats.
18817
18818 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18819
18820         * lyx_main.C: tiny error message fix
18821
18822 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18823
18824         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18825         calling fl_initialize(). This fixes the problem with ',' as
18826         decimal separator in text files.
18827
18828 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18829
18830         * trans.C (process): Fix the keymap bug.
18831
18832 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18833
18834         * LaTeX.C (scanAuxFiles): New method. Provides support for
18835         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18836         (scanLogFile) Scan for "run BibTeX" messages.
18837
18838         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18839         OT1 font encoding. Also, load the aecompl package if the ae
18840         package is loaded.
18841
18842         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18843
18844 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18845
18846         * texrow.C (increasePos): turn two error messages into debug
18847         messages.
18848
18849 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18850
18851         * LaTeX.C (scanAux): Handle the \@input macro.
18852         (runBibTeX): Use scanAux().
18853
18854         * language.C (latex_options_): New field.
18855
18856         * LaTeXFeatures.C (getMacros): Add language macros.
18857
18858         * buffer.C (makeLaTeXFile): Small fix.
18859
18860 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18861
18862         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18863
18864         * text2.C: add a using directive.
18865
18866 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18867
18868         * BufferView2.C:
18869         * lyx_gui_misc.h:
18870         * lyxfr1.C:
18871         * lyxfunc.C: kill LyXBell.
18872
18873 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18874
18875         * text.C (IsBoundary): Remove the error message
18876
18877         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18878
18879         * lyxrc.C (setDefaults): Correct initialization value for
18880         font_norm_type.
18881
18882 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18883
18884         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18885         gotoError().
18886
18887         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18888         and GotoNextNote().
18889
18890         * src/LyXAction.C: Added reference-next.
18891
18892         * text.C (InsertChar): Use contains instead of strchr.
18893
18894         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18895
18896 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18897
18898         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18899         alignment commands (when needed).
18900
18901         * text.C (InsertChar): Add ':' to number separator chars.