]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
* QPrefsDialog::QPrefsDialog():
[lyx.git] / src / ChangeLog
1 2006-03-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * text.C (delete): adjust cursor after backspace in change tracking
4         mode (bug 2185).
5
6 2006-03-16  Félix-Antoine Bourbonnais  <bouf10pub2@myriade.ca>
7
8         * text3.C (dispatch): set needsUpdate according to the return
9         value of the methods below (bug 2298)
10
11         * text2.C (cursorTop, cursorBottom, cursorHome, cursorEnd): return
12         true if dEPM triggered.
13
14 2006-03-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15
16         * text.C (getPossibleLabel): get a sensible prefix inside figure and 
17         tabular floats (bug 1999).
18
19 2006-03-16  John Spray  <spray@lyx.org>
20
21         * lyxfunc.C (getStatus): disable LFUN_MENUWRITE when document is
22         clean (bug 2313)
23
24 2006-03-15  Martin Vermeer  <martin.vermeer@hut.fi>
25
26         * CutAndPaste.C (pasteSelectionHelper): comments
27         * paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug
28         * changes.h: comments
29         * paragraph.C (stripLeadingSpaces): remove unnecessary setChange
30         * text.C (backspace): allow deletion of inserted para break
31         Change tracking -related bug fixes (reported by Juergen) and 
32         some documentation work
33
34 2006-03-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
35
36         * MenuBackend.C (expand): make sure the menu is empty before
37         starting. 
38
39         * MenuBackend.h (clear): new method.
40
41 2006-03-13  Martin Vermeer  <martin.vermeer@hut.fi>
42
43         * rowpainter.C (paintChangeBar): fix painting of change bar with
44         only paragraph break changed
45
46 2006-03-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
47
48         * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
49         * lyx_main.C (reconfigureUserLyXDir): run ditto
50
51 2006-03-12  Martin Vermeer  <martin.vermeer@hut.fi>
52
53         * lyxtext.h: doxygen documentation fix
54
55 2006-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
56
57         * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
58         added setChangeFull):
59         * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
60         rejectChange, erase; added setChangeFull):
61         * CutAndPaste.C (eraseSelectionHelper):
62         * lyxtext.h:
63         * text.C (readParToken, readParagraph, breakParagraph,
64         acceptChange, rejectChange, backspace, currentState; 
65         added backspacePos0):
66         * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
67         * lyxfind.C (findChange, findNextChange): fix bug 880: Change
68         tracked paragraphs should still allow a paragraph split (and related
69         things, i.e., multi-paragraph change tracking)
70
71 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
72
73         * BufferView_pimpl.C: fix bug 2212: First change is skipped is
74         "Merge changes..." dialog
75
76 2006-03-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
77
78         * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX 
79         error if the class has not defined them yet (bug 2053).
80
81 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
82
83         * BufferView.[Ch]:
84         * BufferView_pimpl.[Ch]: 
85         * LyXAction.C:
86         * debug.[Ch]:
87         * rowpainter.C:
88         * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
89
90 2006-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
91
92         * pch.h: fix nullstream.hpp location for boost 1.33.0
93
94 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
95
96         * pch.h:
97         * support/pch.h:
98         * support/debugstream.h: Use the correct nullstream.
99
100 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
101
102         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
103
104 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
105
106         * cursor.C (niceInsert): fix (properly) insertion of
107         fonts/decorations around selection
108
109 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
110
111         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
112
113 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * text3.C (mathDispatch): fix crash when selection is not empty
116         but selectionAsString is empty (bug 2321).
117
118 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
119
120         * text.C (changeCase): avoid crash in empty paragraph or on last
121         word of the paragraph. (buf 2323)
122         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
123
124 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
125
126         * buffer.C (readHeader): also erase params.preamble in advance
127         so that an empty preamble is actually recognized (bug 2317).
128
129         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
130
131 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
132
133         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
134
135 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
136
137         * buffer.C:
138         * bufferparams.[Ch]:
139         * lyxtext.h:
140         * paragraph.[Ch]:
141         * paragraph_funcs.C
142         * rowpainter.C:
143         * text.C:
144         * text2.C:
145         * text3.C: Fix bug 2115: blue language lines (for default font)
146         popping up when the documnent font is different. This includes work
147         by Georg Baum.
148
149 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
150
151         * exporter.C (Backends): Add "lyx" backend
152         * exporter.C (Export): Handle "lyx" backend
153         * graph.C (getReachable): Don't exclude "lyx"
154         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
155
156 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
157
158         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
159         for correct in-mathed positioning
160
161 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
162
163         * rowpainter.C (paintForeignMark): fix foreign blue line under
164         insets
165
166 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
167
168         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
169         pit of the uno range (bug 2022).
170
171 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
172
173         * messages.C (get): Only warn once if setlocale fails (bug 2177)
174
175 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
176
177         * text2.C (setCharFont): take inset's own font settings into account
178         when defining the font to reduce to, fixes 2019
179
180 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
181
182         * bufferview_funcs.C (coordOffset): remove the check for
183         collapsed collapsables (fix for bug 2094). This is now done
184         on a more general level (cursor.C).
185
186         * dociterator.[Ch] (forwardPos): add an optional argument
187         bool "ignorecollapsed" (default false), which lets forwardPos
188         skip collapsed insets.
189
190         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
191         (fixes bug 2241 and 2094).
192
193 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
194
195         * buffer.C: change tracking (dvipost) doesn't require
196         color.sty anymore.
197
198         * LaTeXFeatures.C (getPackages): no need for the color
199         option "usenames" (bug 2169).
200
201 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
202         * buffer_funcs.C: Trivial fix - added {} around
203         the statements to be affected by a if-test. Now
204         label in a minipage in a float looks ok on screen again.
205
206 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
207
208         * text2.C: fix bug 2015: on screen fonts in nested environments 
209         can be wrong
210
211 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
212
213         * converter.C (convert): handle unknown formats
214
215 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
216
217         * cursor.C (goUpDown): comment out some debug messages.
218
219         * counters.C (newCounter): make error messages more explicit
220         (these appear with some textclasses like beamer)
221
222 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
223
224         * kbmap.C (defkey): 
225         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
226         have origin set to KEYBOARD. (bug 2221)
227
228 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
229
230         * rowpainter.C (isCursorOnRow): do not exclude endpos().
231
232 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         * cursor.C (macroModeClose): returns true if an inset actually got
235         inserted; revert faulty fix to bug 2034.
236
237 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
238
239         * tabular.C (getLabelList): remove (not used anymore).
240
241 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
242
243         * outputparams.[Ch]: add new flag inComment
244
245 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
246
247         * text2.C (deleteEmptyParagraphMechanism): since we delete a
248         paragraph, recordUndo should span two paragraphs (bug 2155).
249
250 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * rowpainter.C (paintPar): always repaint the row with the
253         cursor in it
254
255 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
256
257         * MenuBackend.h: 
258         * bufferlist.h: 
259         * lyxtext.h: 
260         * paragraph.h:
261         * vspace.h: fix syntax error
262
263 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
264
265         * text3.C (dispatch): Force refresh if typing into inset changes its
266                               metrics
267
268 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
269
270         * RowList_fwd.h:
271         * paragraph.C:
272         * paragraph.h:
273         * rowpainter.C: Speed up rendering by only re-painting rows that
274         have changed. When selection or whole-screen update active, all rows
275         are repainted, as are all rows within insets.
276
277 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
278
279         * version.C.in: Use PACKAGE_VERSION instead of VERSION
280
281 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
282
283         * tabular.C (toggleFixedWidth): Use default layout of text class
284         instead of hardcoded "Standard"
285
286 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
287
288         * lyxfunc.C (dispatch): do not call getStatus again to determine
289         whether a lfun is disabled (bug 2172).
290
291 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * cursor.C (macroModeClose): set the cursor inside the new math
294         atom if relevant (think \frac{}{}) (bug 2034)
295
296 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
297
298         * lyxtext.h:
299         * text.C:
300         * text3.C (Delete, backspace): force update when merging paragraphs
301
302 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         * BufferView.C (mouseSetCursor): clear the selection properly (bug
305         2163). 
306
307 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
308
309         * text.C (redoParagraph): honor inset->noFontChange()
310         * rowpainter.C (paintInset): ditto
311
312 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
313
314         * lyx_main.C (priv_exec): don't initialize Math on startup 
315         (initMath() has been moved to math_hullinset).
316
317 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
318
319         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
320         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
321         * paper.h: dispose dead PAPER_PACKAGES enum.
322
323 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
324
325         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
326         without X support.
327
328 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
329
330         * exporter.C (Export): Don't try to copy a file if it does not exist
331         (bug 1888)
332
333 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
334
335         * text2.C (makeFontEntriesLayoutSpecific): remove.
336         (setLayout): adapt.
337
338         * text.C (insertChar): remove bogus caching of fonts (did not do
339         anything). 
340
341         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
342         ALL_SANE). (bug 2146)
343
344 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * rowpainter.C (paintFirst): fix centering of
347         LABEL_CENTERED_TOP_ENVIRONMENT. 
348
349 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
350
351         * BufferView.C (mouseSetCursor): new method. Calls
352         deleteEmptyParagraphMechanism if necessary.
353
354         * lyxtext.h: make deleteEmptyParagraphMechanism public.
355
356         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
357         BufferView::mouseSetCursor (bug 2109).
358         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
359
360 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
361
362         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
363         do not remove it (this inset behaves differently from the others).
364
365 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
366
367         Fix bug 2096.
368         
369         * BufferView_pimpl.C (getStatus): it is only possible to insert a
370         file in a text inset.
371
372         * buffer.C (readDocument): remove pit argument and code releated
373         to it; set the inset owner correctly (unrelated, but useful).
374         (readFile): get rid of pit argument.
375
376         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
377         textclass instead of a selection index.
378         (pasteParagraphList): new function.
379         (pasteSelection): make it a wrapper around pasteParagraphList.
380
381         * BufferView_pimpl.C (MenuInsertLyXFile): use
382         cap::pasteParagraphList to insert a file.
383
384 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
385
386         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
387
388 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
389
390         * exporter.C: fix typo in text message
391
392 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
393
394         * text2.C (setLayout): move recUndo call to other setLayout method
395         * tabular.C (toggleFixedWidth): new, handle cell width changes
396         * tabular.C (setColumnPWidth): move some code from insettabular.C here
397         and use toggleFixedWidth
398         * tabular.C (setMColumnPWidth): ditto
399
400 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
401
402         * paragraph.C (asString): use new inset->textString method (fix
403         bug 2089) 
404
405 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
406
407         * CutAndPaste.C (numberOfSelections): new helper function.
408
409         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
410
411         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
412         LyXFunc::getStatus; implement LFUN_PASTE.
413
414 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
415
416         * dociterator.[Ch]: new member realInset() that returns the cell
417         for tabulars and the inset for the rest (bug 1952).
418         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
419         (bug 1952).
420
421 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
422
423         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
424
425 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
426
427         * lyxfunc.C:
428         * paragraph.C:
429         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
430         argument.
431
432 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
433
434         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
435         line after typing ctrl-enter
436
437 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
438
439         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
440         math insets do not return a proper editable() state yet (bug 2124).
441
442 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
443
444         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
445         docs containing very large paragraphs.
446
447 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
448
449         * cursor.C (selectionBegin, selectionEnd):
450         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
451         cursor at different depths.
452
453 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
454
455         * bufferview_funcs.C (coordOffset): do not call cursorPos
456         for collapsed collapsables (fix bug 2094).
457
458 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * paragraph.C (fontSpan): make sure that the FontSpan does not
461         span across beginOfBody (bug 1947).
462
463 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
466
467 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
468
469         * messages.C: fix crash and localization on MinGW/Windows platform
470
471 2005-11-02  Angus Leeming  <leeming@lyx.org>
472
473         * Bidi.C:
474         * lyxtextclass.C: trivial fixes to some MSVS warnings.
475
476 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         * text3.C (getStatus): re-enable disabled code. (bug 2081)
479
480         * BranchList.h (empty): constify.
481
482 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
483
484         * text3.C (getStatus): 
485         * MenuBackend.C (expandBranches): take the branch list from the
486         master document (bug 2092).
487         
488         * MenuBackend.C (expandBranches): 
489         * bufferparams.C (writeFile): use BranchList type.
490
491 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
492
493         * text3.C (dispatch, getStatus): 
494         * LyXAction.C (init): 
495         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
496
497 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
500
501 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
502
503         * text.C (insertChar): do not reset boundary (bug 2061)
504
505 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * dociterator.C (updateInsets): new method. Updates the inset_
508         cache of all the slices of the iterator.
509
510         * text2.C (deleteEmptyParagraphMechanism): compare also containing
511         insets when comparing pit/pos; pass the right cursor to
512         recordUndo; when a paragraph has been deleted, compare `old.top()' to
513         the right cursor slice of `cur'; use updateInsets on cur to make
514         sure that the inset caches are correct; general cleanup.
515
516 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
517
518         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
519         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
520         containg inset. If this does not work, the same command will be
521         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
522
523         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
524         a dispatch.
525
526 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
527
528         * lyxtextclass.C (Read): convert layout file if the format is wrong
529         * lyxtextclass.C (layout2layout): new, needed for the above
530
531 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
532
533         * messages.C: do not forget to include <cerrno>.
534
535 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
536
537         * dociterator.h (StableDocIterator): add access to pos().
538         * undo.C (samePar): new method to check if two
539         iterators are in the same paragraph
540         * undo.C (recordUndo): check for samePar instead of cell identity
541         (which includes pos() and is too strict) (fixes bug 2097)
542
543 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * text.C (setCursorFromCoordinates): return a bool telling whether
546         dEPM triggered.
547
548         * text3.C (cursorPrevious): update if needed after
549         setCursorFromCoordinates (when dEPM triggered).
550
551         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
552         (otherwise the anchor may be completely wrong and make dEPM assert).
553
554 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
555
556         * buffer.C: version upgrade to 245.
557         * bufferparams.C: remove \quotes_times (bug 2090).
558         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
559         quotation marks as default.
560
561 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
562
563         * CutAndPaste.C (nrOfParagraphs): remove (unused)
564         * CutAndPaste.C (cutSelection): Remove debug message
565         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
566         undo information and only copy if this is a real cut
567         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
568         call
569         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
570         (bug 2059)
571         * CutAndPaste.C (eraseSelection): prevent cursor corruption
572         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
573         superflous cur.selection() setting
574         * CutAndPaste.[Ch] (grabSelection): take a const cursor
575         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
576
577 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
578
579         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
580         change anything.
581
582 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
583
584         * BufferView_pimpl.C: comment layout change
585
586 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
587
588         * LyXAction.C:
589         * lfuns.h:
590         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
591         by bibliography managers (bug 2071).
592
593 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
594
595         * BufferView_pimpl.C (update): choose arguments to update call so
596         that single-par update works most times
597         * text3.C (dispatch): carefully tune updating separately for
598         whole-screen and current-paragraph
599         * rowpainter.C (paintText): 1) replace painting by caching for
600         the two extra paragraphs, because we can;
601         2) suppress greying out of areas below/above drawn area in case of
602         single-par refresh
603         * lyxfunc.C (dispatch): remove superfluous update
604         * LyXAction.[Ch]: introduce SingleParUpdate
605
606 2005-10-05  Angus Leeming  <leeming@lyx.org>
607
608         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
609         always initialised before use.
610
611         * text.C (setHeightOfRow): squash warning about comparison
612         of signed and unsigned types.
613
614 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
615
616         * text.C (cursorX): two fixes involving RtL text drawing
617
618 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
619
620         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
621         items, not only large ones (part of bug 2057)
622
623 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
624
625         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
626         argument, use "newcommand".
627
628 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
629
630         * cursor.C (setSelection): do not open collapsable insets;
631         the insets do by themselves now (autoopen).
632
633 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
634
635         * buffer.C: format is up to 244.
636
637 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
638
639         * text.C (redoParagraph): fix calcultation of inset width wrt 
640         leftMargin (bug 1957).
641
642         * text3.C (dispatch): leave inset to the right when hitting ESC 
643         (bug 2034).
644
645 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
646
647         * text2.C: 
648         * text.C: 
649         * factory.C:
650         * messages.C: include <boost/current_function.hpp> 
651
652 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
653
654         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
655         when command is internal. (bug 1941)
656
657 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
658
659         * text2.C (cursorRight): do not honor boundary when at the end of
660         a paragraph. (bug 2010 again)
661
662 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
663
664         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
665
666 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
667
668         * rowpainter.C (paintText): fix RtL space width display bug (2029)
669
670 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
671
672         * text2.C (setCursor): remove the unused 'boundary' parameter for
673         the CursorSlice version; adapt the LCursor version.
674
675         * lyxrc.C (write): 
676         * paragraph_pimpl.C (markErased): 
677         * cursor.C (bruteFind2, bruteFond3): fix warnings.
678
679 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
682         as is already done for "chapter".
683
684 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
685
686         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
687         textclass; do not record undo if nothing is changed.
688
689 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
690
691         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
692
693 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
694
695         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
696
697 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
698
699         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
700         combox, it is necessary to search for the topmost paragraph in the
701         cursor stack (bug 1926)
702
703 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
704
705         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
706         end of paragraph. (bug 2010)
707
708 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
709
710         * text.C (leftMargin): check for inInset == 0
711
712 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
713
714         * text.C (leftMargin): test for insetbase's new neverIndent()
715         bool instead of listing each and every inset that does not
716         wish par indendation.
717
718 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
719
720         * buffer_funcs.C (setCounter): put the code to compute enum label
721         here (where it belongs).
722
723         * counters.C (enumLabel): move code to buffer_funcs.C.
724
725 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
726
727         * outputparams.[Ch]: store local_font instead of local_language
728         * paragraph.C (simpleTeXOnePar): adapt to the change above
729
730 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
731
732         * buffer_funcs.C:
733         * counters.[Ch]: clean up special code for Hebrew.
734
735 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
736
737         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
738         than 2.
739
740 2005-09-08  Angus Leeming  <leeming@lyx.org>
741
742         * ispell.C:
743         * lyxrc.C: correct grammar describing invocation of the
744         spellchecker.
745
746 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
747
748         * text.C (read): remove unused variable.
749         (readParToken): remove static Change variable (never good in
750         recursive settings...); add it as a parameter instead.
751
752         * paragraph_pimpl.C (acceptChange): make debug info conditional.
753
754         * metricsinfo.C (PainterInfo): add new member erased_.
755
756         * rowpainter.C (RowPainter): add erased_ member, initialized from
757         PainterInfo. 
758         (paintInset): pass erased_ to Inset::draw.
759
760         * lyxfunc.C (lookupChange): new function. Tells whether change 
761         tracking is disabled at a given postion.
762         (getStatus): disable some actions when in deleted text with change
763         tracking. 
764
765 2005-08-03  John Levon  <levon@movementarian.org>
766         
767         * tabular.C (appendColumn, setMultiColumn): adapt to change to
768         InsetText::clear().
769
770         * paragraph_pimpl.C (markErased): add bool argument and handle it.
771         Also make sure to mark insets recursively.
772         (rejectChange, erase): be recursive
773
774         * paragraph.C (markErased): add bool argument.
775 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
776
777         * lyxfind.C (findNextChange): tiny cleanup.
778
779         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
780         change tracking with the cursor in an inset; make sure the first
781         change is not skipped.
782
783 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
784
785         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
786         tabularStackDirty to work around bug 1919 (tabular needs
787         to know whether its own cell paste buffer or the one of 
788         texted is newer.
789         * CutAndPaste.C: mark tabular_stack_ clean after copy.
790
791 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
792
793         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
794
795 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
796
797         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
798         use old deleteion algorithm when changetracking is on.
799
800 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
801
802         * messages.C (get): add debug output.
803
804 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
805
806         * text.C (cursorX): fix bug 1965: cursor movement at
807         line end broken in RtL.
808         (drawSelection): fix bug 1970: drawing of single-line 
809         selection broken for RtL.
810
811 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
812
813         bug 465.
814
815         * dociterator.h (clear, push_back, pop_back): change from
816         protected to public.
817
818         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
819         and changed to just return the value of the item depth; take a
820         ParIterator as argument; take the itemdepth at outer nesting level
821         in account if necessary; cleanup and comment the code.
822         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
823         and changed to just return true if reset is needed; take a
824         ParIterator as argument; cleanup and comment the code.
825         (setCounter): adapt to above changes.
826
827 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
828
829         * text3.C (dispatch): make debug message optional
830
831 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
832
833         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
834         inset. (bug 1963)
835
836 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
837
838         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
839
840 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
841
842         * text.C (insertChar):
843         * text2.C (deleteEmptyParagraphMechanism): take care whether 
844         a blank has been deleted (in change tracking mode) (bug 1254).
845
846 2005-07-20  John Levon  <levon@movementarian.org>
847
848         * text2.C (insertStringAsLines): remove old dubious code,
849         fixing bug 1939.
850
851 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
852
853         * MenuBackend.C (expandToc): use Floating::listName() as title of
854         the floats submenus.
855
856 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
857
858         * toc.[Ch]: Do not use translatable strings (bug 1870).
859
860 2005-07-20  John Levon  <levon@movementarian.org>
861
862         * tabular.C: fix 1748 - setting multicolumn adds
863           left line to the first cell
864
865 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
866
867         bug 1920
868         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
869         pars in one go.
870
871 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
872
873         * messages.C: supress some lyxerr messages
874
875 2005-07-18  Juergen Vigna  <jug@lyx.org>
876
877         * text.C (drawSelection): honor boundary when asking for cursorX.
878
879 2005-07-17  José Matos  <jamatos@fc.up.pt>
880
881         * tabular.C (recalculateMulticolumns): fix handling of one column
882         tables.
883
884 2005-07-17  Juergen Vigna  <jug@lyx.org>
885
886         * text.C (Delete, backspace): fixed so that paragraph with the
887         same layout can be merged by Delete/Backspace.
888
889 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
890
891         * text.C (readParToken): fix spelling.
892
893 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
894
895         * text2.C: fix counter update for DEPM problem reported by
896         Georg Baum
897
898 2005-07-17  Juergen Vigna  <jug@lyx.org>
899
900         * BufferView_pimpl.C (setBuffer): save/restore the
901         cursor/selection when switching buffers
902
903         * buffer.h: 
904         * buffer.C (saveCursor): add saveDocumentIterators to save the
905         cursor when switching buffer.
906
907 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
908
909         * debug.C: fix typo
910         * buffer.C: clarify message
911         
912 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
913
914         * dociterator.C (DocIterator): fix initialization order
915
916 2005-07-17  Juergen Vigna  <jug@lyx.org>
917
918         * text2.C (cursorHome): 
919         * text.C (drawSelection, cursorX): 
920         * dociterator.C (textRow): add boundary to getRow() call
921
922         * paragraph.C (getRow): implementation of below
923
924         * paragraph.h: add parameter boundary for getRow() function
925
926 2005-07-17  José Matos  <jamatos@fc.up.pt>
927
928         * buffer.C:
929         * bufferparams.[Ch]:
930         * tex-strings.[Ch]: new file format, remove support for a4.sty,
931         a4wide.sty and a4widemargins.
932
933 2005-07-17  Juergen Vigna  <jug@lyx.org>
934
935         * text2.C (cursorLeft): fix one of error
936
937 2005-07-17  Juergen Vigna  <jug@lyx.org>
938
939         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
940                    cursorEnd):
941         more fixes for boundary handling
942
943         * text3.C (dispatch): don't reset cursor if boundary has changed
944         on cursor movement.
945
946 2005-07-16  Juergen Vigna  <jug@lyx.org>
947
948         * text2.C (getColumnNearX): hopefully got it right now,
949         check if we are on column 0 for special case.
950
951 2005-07-16  Juergen Vigna  <jug@lyx.org>
952
953         * text2.C (getColumnNearX): handle special case Newline Inset
954
955         * text.C (singleWidth): Just remove bogus check
956
957 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
958
959         * funcrequest.C (split): avoid reading uninitialized char c
960
961 2005-07-16  José Matos  <jamatos@fc.up.pt>
962
963         * buffer.C:
964         * converter.C:
965         * lyxrc.C:
966         * paper.h:
967         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
968         single papersize variable.
969
970 2005-07-16  Juergen Vigna  <jug@lyx.org>
971
972         * text3.C (dispatch): honor boundary when checking if a cursor
973         movement has been done
974
975         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
976         (setCursor, setCursorIntern): fix cursor movement with boundary
977
978 2005-07-16  Juergen Vigna  <jug@lyx.org>
979
980         * text.C (currentState): output the actual Boundary
981
982 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
983
984         * factory.C (createInset): fix bad logic for tabular creation
985
986 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
987
988         * lyx_main.C (init): change some reLyX reference to tex2lyx
989
990 2005-07-16  Juergen Vigna  <jug@lyx.org>
991
992         * dociterator.C (DocIterator): initialize boundary
993
994 2005-07-16  Juergen Vigna  <jug@lyx.org>
995
996         * text2.C (getColumnNearX): Consider rows without trailing blank.  
997
998 2005-07-16  André Pönitz  <poenitz@gmx.net>
999
1000         * lyxfont.h: Change order of declarations to give the compiler
1001         a better chance to inline things
1002
1003         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
1004         questions on unsaved docs for better scritability
1005
1006 2005-07-16  André Pönitz  <poenitz@gmx.net>
1007
1008         * paragraph.h (getChar): remove asserts as the same kind of security
1009         can be achieved by using a suitable standard library implementation
1010         and the function was in the critical path (25.9% in profiler)
1011
1012 2005-07-16  Juergen Vigna  <jug@lyx.org>
1013
1014         * cursor.C (bruteFind2):
1015         * bufferview_funcs.C (coordOffset): 
1016         * text.C (cursorX,cursorY): Handle cursor position after last char
1017         in row before a inset which uses a whole row.
1018
1019 2005-07-15  José Matos <jamatos@lyx.org>
1020
1021         * output_plaintext.[Ch] (writeFileAscii): control reference title
1022         printing.
1023         (asciiParagraph): noparbreak was already deal and was incorrectly
1024         used.
1025
1026 2005-07-15  Juergen Vigna <jug@lyx.org>
1027
1028         * lyxfunc.C (dispatch): save and restore the cursor after a
1029         textclass switch.
1030
1031 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
1032
1033         * text.C (backspace): bug 806 for empty keepempty paragraphs we
1034         change the layout to default before letting DEPM do its thing.
1035
1036         * paragraph_funcs.C (breakParagraph): dont reset the layout on
1037         keepEmpty paragraphs
1038
1039         * text.C (setCursorFromCoordinates): add a debug statement
1040
1041         * text2.C (getColumnNearX): bug 1825 make sure that we don't
1042         return a pos that is not on the row
1043
1044         * output_latex.C (TeXDeeper): get rid of potential dereferencing
1045         of past the end iterator
1046
1047 2005-07-14  André Pönitz  <poenitz@gmx.net>
1048
1049         * undo.C (recordUndoFullBuffer): implement undo for
1050         textclass switches
1051
1052 2005-07-14  André Pönitz  <poenitz@gmx.net>
1053
1054         * cursor.C (setSelection): open insets when selection is set there
1055         to avoid crashs with cold coord cache
1056
1057 2005-07-14  André Pönitz  <poenitz@gmx.net>
1058
1059         * trans_mgr.C (insert): move cursor to the right after inserting
1060         a char.
1061
1062 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1063
1064         * BufferView_pimpl.C (update): dampen some of the debug blabbering
1065         * factory.C (readInset): ditto
1066         * text.C, text2.C: ditto
1067
1068 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1069
1070         * buffer.C: format incremented to 242. There is no file format per
1071         se, but the "frenchb" language has been removed from lib/language
1072         and has to be translated to "french" by lyx2lyx.
1073
1074 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1075
1076         * cursor_slice.h, dociterator.h: add some documentation
1077         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1078
1079 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1080
1081         * text.C (leftMargin): do not add identation to display() style
1082         insets, because they are always centered (bug 1293).
1083
1084 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1085
1086         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1087         formatted_time methods in support/lyxtime.
1088
1089 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1090
1091         * toc.[Ch]: new method getGuiName, which is used by the frontends 
1092         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1093
1094 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1095
1096         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1097         StableDocIterator const &)
1098         * undo.C (recordUndo): use the above instead of cell.size() comparison
1099         (fixes bug 1808; instructed by Andr�.
1100
1101 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1102
1103         * cursor_slice.h: 
1104         * dociterator.h: Fix the assert when copying rows/cols in math
1105
1106 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1107
1108         * BufferView_pimpl.C:
1109         * LyXAction.C:
1110         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1111
1112         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1113         (findInset): new functions, refactored from goto Inset that return 
1114         the position of a certain inset without setting the buffer's cursor
1115         (by Jean-Marc); 
1116         (gotoInset): rewrite to call findInset and then set the cursor
1117         (by Jean-Marc).
1118
1119 2005-06-16  Angus Leeming  <leeming@lyx.org>
1120
1121         * lyxrc.C (output, read): wrap all input and output of paths with
1122         calls to os::internal_path and os::external_path, respectively.
1123         (output): wrap bind_file inside quotes.
1124
1125         * format.C (view): enable the viewer to use the '$$s' placeholder.
1126
1127 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1128
1129         * LColor.[Ch] (getFromLaTeXName): new
1130
1131 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1132
1133         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1134
1135 2005-06-14  Angus Leeming  <leeming@lyx.org>
1136
1137         * lyx_main.C (init): ensure that the LyX binary dir is the first
1138         element in the PATH on non-POSIX builds.
1139
1140 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1141
1142         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1143
1144 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1145
1146         * rowpainter.C (paintInset, paintHebrewComposeChar)
1147         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1148         (paintChars): use getFontSpan to reduce calls to getFont to a
1149         minimum; use Paragraph::lookupChange instead of isXXXText.
1150         (paintForeignMark): rename LyXFont argument.
1151         (paintFromPos): pass a LyXFont object to the various paintXXX
1152         methods.
1153
1154         * FontIterator.C (FontIterator, operator++): use
1155         Paragraph::getFontSpan
1156
1157         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1158         version that returns the font span as a pair.
1159
1160 2005-06-09  Angus Leeming  <leeming@lyx.org>
1161
1162         * converter.C (convert): Don't forget "outfile = real_outfile" as
1163         the final step in a conversion where the input and output file names
1164         are the same. Otherwise, future conversion steps won't work...
1165
1166 2005-06-09  Angus Leeming  <leeming@lyx.org>
1167
1168         * lyxsocket.C: remove stub code as it isn't needed by
1169         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1170
1171 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1172
1173         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1174         effectively disabled -x
1175
1176 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1177
1178         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1179         when it actually makes sense.
1180
1181 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1182
1183         * BufferView_pimpl.C: revert to showCursor in connection with
1184         Lars's front-end stack
1185
1186 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1187
1188         * text.C (redoParagraph): move cursor right after a bibitem
1189         has been inserted.
1190
1191         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1192
1193 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1194
1195         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1196         error range.
1197
1198 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1199
1200         * BufferView.[Ch] (update):
1201         * BufferView_pimpl.[Ch] (update, metrics):
1202         * dimension.h (operator==):
1203         * lyxfunc.C (dispatch):
1204         * metricsinfo.h (ViewMetricsInfo):
1205         * rowpainter.C (paintText):
1206         * lyxtext.h:
1207         * text.C (redoParagraph):
1208         * text3.C (dispatch): Make LyX only repaint current paragraph in
1209         case of character insert --> speedup. Also fix cursor draw
1210         artifacts
1211
1212 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1213
1214         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1215         avoid a crash (bug 1891)
1216
1217 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1218
1219         Fix bug 1892:
1220
1221         * text2.C (getStringToIndex): constify cur argument.
1222
1223         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1224         argument has been given
1225         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1226         try to invoke LFUN_INSET_APPLY).
1227
1228         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1229         if no inset was created by doInsertInset
1230         (doInsertInset): return true if an inset has been inserted.
1231
1232 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1233
1234         * vspace.C (asGUIName): new method. A version of the space
1235         suitable for showing on screen.
1236
1237 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1238
1239         * MenuBackend.C:
1240         * lyxrc.C: rename "ASCII" to "Plain Text"
1241
1242 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1243
1244         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1245         translate the labelstring.
1246         (setCounter): translate labelstring as needed.
1247
1248         * output_docbook.C (makeCommand): fix expandLabel invokation
1249
1250 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1251
1252         * BufferView.C: fix dialog title
1253
1254 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1255
1256         * lyx_main.C (priv_exec): fix logic error with help from Angus
1257         * lyx_main.C (parse_execute): set is_gui = false and remove now
1258         obsolete comment about a segfault
1259
1260 2005-05-18  Angus Leeming  <leeming@lyx.org>
1261
1262         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1263
1264 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1265
1266         * tabular.[hC]: added setCellInset to fix tabular paste.
1267
1268 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1269
1270         * buffer.C (save): check if destination is writable before trying
1271         to copy a file
1272
1273 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1274
1275         * BufferView_pimpl.C (update): fix processEvents -caused update
1276         recursion bug
1277
1278 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1279
1280         * buffer_funcs.C (setCounter): fix test for numbering of
1281         environments.
1282
1283         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1284         depth correctly; use optional argument when it exists
1285
1286         * lyxtextclass.C: remove unused MaxCounterTags enum
1287         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1288         (max_toclevel, min_toclevel): new methods.
1289
1290         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1291         the smallest depth in toc.
1292
1293         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1294         layouts that should not appear in a table of contents.
1295
1296 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1297
1298         * cursor.h (undispatched, noUpdate): add comments from Andr�
1299 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1300
1301         * lfuns.h:
1302         * LyXAction.C:
1303         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1304
1305 2005-05-07  André Pönitz  <poenitz@gmx.net>
1306
1307         * cursor.[Ch] (leaveInset): new function
1308
1309 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1310
1311         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1312
1313 2005-05-04  Angus Leeming  <leeming@lyx.org>
1314
1315         * lyxfunc.C (getStatus): disable the spell checker dialog if
1316         none of USE_[AIP]SPELL are defined.
1317
1318 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1319
1320         * tabular.C (setWidthOfCell): remove obsolete comment
1321
1322 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1323
1324         * paragraph.C (bibitem):
1325         * buffer_funcs.C (setCounter):
1326         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1327
1328 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1329
1330         * text3.C (getStatus): immediately return after setOnOff
1331
1332         * rowpainter.C: fix drawing of appendix start
1333
1334 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1335
1336         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1337         SwitchBetweenClasses and remove the unused return value.
1338         Handle character styles, too
1339
1340 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1341
1342         * factory.C (createInset): handle undefined character styles
1343
1344 2005-05-02  Angus Leeming  <leeming@lyx.org>
1345
1346         * buffer.C: protect the #include of utime.h with a preprocessor
1347         guard.
1348
1349 2005-05-02  Angus Leeming  <leeming@lyx.org>
1350
1351         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1352         function so that auto-saving works, albeit in a blocking manner.
1353
1354         * Makefile.am: make compilation of the client sub directory, of
1355         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1356         on conditionals set at configure time.
1357
1358         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1359         it can be compiled in its own right but has no-op functionality.
1360
1361         * aspell.C, pspell.C: remove preprocessor guards. The files should
1362         be compiled only if the necessary functionality exists.
1363
1364         * lyxserver.C, lyxsocket.C: disable on Windows.
1365
1366 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1367
1368         * text.C (leftMargin): Fix the parindent use bug (1764)
1369         by dirty trick
1370
1371 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1372
1373         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1374         argument.
1375
1376 2005-04-25  Angus Leeming  <leeming@lyx.org>
1377
1378         * Bidi.[Ch]:
1379         * coordcache.[Ch]:
1380         * ispell.C:
1381         * lyxserver.C:
1382         * mover.C:
1383         * pch.h:
1384         include <config.h> in .C files, not .h ones.
1385         add licence blurb.
1386         protect headers inside preprocessor guards.
1387
1388 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1389
1390         * FuncStatus.h (StatusCodes): document
1391
1392 2005-04-21  André Pönitz  <poenitz@gmx.net>
1393
1394         * FuncStatus.h (enabled, onoff): document
1395
1396 2005-04-19  Angus Leeming  <leeming@lyx.org>
1397
1398         * BufferView_pimpl.C (cursorToggle): no longer test whether
1399         any child processes have been reaped before calling
1400         handleCompletedProcesses().
1401
1402 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1403
1404         * text3.C (dispatch): fix, finally fix, the language problem in
1405         new lyxtexts, without disabling on-the-fly font changes (Helge's
1406         bug report)
1407
1408 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1409
1410         * text3.C (dispatch): set cursor on double/triple click events
1411         (bug 1811)
1412
1413 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1414
1415         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1416         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1417
1418         * rowpainter.C (paintFirst): simplify the code a little bit. In
1419         particular, remove the test for secnumdepth.
1420         * text.C (setHeightOfRow): only allocate space for chapter number
1421         when updateCounters provided an actual label, instead of looking
1422         at secnumdepth directly.
1423
1424         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1425
1426         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1427         paragraphs when secnumdepth is large enough or, for environments,
1428         when they are not the first in a sequence.
1429
1430 2005-04-17  Angus Leeming  <leeming@lyx.org>
1431
1432         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1433         containing space and '~' characters with a call to latex_path().
1434
1435 2005-04-17  Angus Leeming  <leeming@lyx.org>
1436
1437         * converter.C (convert): protect all args of convertDefault.sh
1438         script with quotes.
1439
1440 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1441
1442         * text3.C (dispatch): change the layout to "Caption" after inserting
1443         a float.
1444
1445 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1446
1447         * text3.C (dispatch): fix language problem in newly created
1448         textinsets (and main text) in non-english docs
1449
1450 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1451
1452         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1453         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1454         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1455
1456 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1457
1458         * lyxtext.h:
1459         * text.C (metrics):
1460         * text2.C (getFont):
1461         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1462         fonts fix
1463
1464 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1465
1466         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1467         output of \item arguments without trailing text.
1468
1469 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1470
1471         * FontIterator.C (operator*): avoid a copy of the font.
1472
1473 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1474
1475         * rowpainter.C (getFont): fix language bug from previous fix
1476
1477 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1478
1479         * rowpainter.C (RowPainter, getFont): fix font inside inset
1480         (bugs 1766, 1809)
1481
1482 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1483
1484         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1485         preventing inserted font, deco, delim insets jumping to start of
1486         surrounding inset.
1487
1488 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * lyxfunc.C (dispatch): translate message before sending it to the
1491         minibuffer.
1492
1493 2005-03-29  Angus Leeming  <leeming@lyx.org>
1494
1495         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1496         to LyX on the command line.
1497
1498 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1499
1500         * vc-backend.C: use QuoteName to protect file names wherever
1501         necessary.
1502
1503 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1504
1505         * buffer.[Ch]:
1506         * BranchList.h: fix bugs 1844,1845: document settings don't
1507         stick
1508
1509 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1510
1511         * lyxrc.C (setDefaults, read, output, getDescription): add support
1512         for tex_allows_spaces.
1513
1514         * exporter.C (Export): allows files in directory containing spaces
1515         if tex_allows_spaces is true.
1516
1517         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1518         output it in double quotes.
1519
1520 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1521
1522         * rowpainter.C: use default text height for drawing change tracker
1523         strikeout lines.
1524
1525 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1526
1527         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1528
1529 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1530
1531         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1532         directory is missing.
1533
1534 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1535
1536         * text2.C: fixed the fix, extended to other case.
1537
1538 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1539
1540         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1541
1542 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1543
1544         * text2.C (cursorUp): get rid of a crash
1545         * text.C (x2pos): add an assert
1546
1547 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1548
1549         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1550
1551         * text3.C:
1552         * lyxfunc.C:
1553         * dociterator.C: include <boost/current_function.hpp>, which is
1554         needed when assertions are disabled.
1555
1556 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1557
1558         * text2.C: fix for stuck cursor when traversing two
1559         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1560
1561 2005-02-25  Andreas Vox  <avox@arcor.de>
1562
1563         * output_docbook.C (makeParagraph): suppress trailing newline
1564         after a run of paragraphs
1565
1566 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1567
1568         * paragraph.C: fix for confused change tracker when pasting
1569         text that begins with a lineseparator. [bug 1827]
1570         (setChange(0, Change::INSERTED);)
1571
1572         * paragraph_funcs.C: fix for lost changes on triple-paste
1573         in change tracking mode [bug 1827] (par.setChange()).
1574
1575 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1576
1577         * text2.C (updateCounters, setCounter, expandLabel): move to
1578         buffer_funcs.
1579
1580         * buffer_funcs.C (updateCounters): turn into a free standing
1581         function and add a buffer parameter. Remove dead code for tracking
1582         labelstring change.
1583         (setCounter): change into a free-standing function which gets a
1584         dociterator as argument. Use this iterator to fix captions in a
1585         simple way. When no float is found above the caption, use the
1586         labelstring of the caption layout as default.
1587
1588         * text.C (breakParagraph, backspace):
1589         * text2.C (init, setLayout, changeDepth):
1590         * text3.C (dispatch):
1591         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1592         updateCounters.
1593
1594         * dociterator.C (forwardPar): make it much faster by calling
1595         forwardPos() only when really necessary.
1596
1597         * output_docbook.C (makeCommand): adapt to expandLabel move.
1598
1599         * cursor.C: remove unused variable
1600
1601 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1602
1603         * paragraph_funcs.C: fix crash when pasting insets in change
1604         tracking mode [bug 1277] (honour change type in moveItem).
1605
1606 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1607
1608         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1609
1610 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1611
1612         * BufferView.C (setCursor): change to use a DocIterator.
1613         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1614         (putSelectionAt): adapt to BufferView::setCursor change.
1615
1616         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1617         moved here from LyXText and rewritten to use proper cursor
1618         methods. Fixes bug 1787, 616 and 835.
1619
1620         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1621         when inside an inset (part of bug 781).
1622         (dispatch): adapt to change of BufferView::setCursor.
1623         (getStatus, dispatch): handle LFUN_GOTOERROR,
1624         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1625
1626         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1627         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1628         * text3.C (gotoNextInset, gotoInset): removed.
1629
1630 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1631
1632         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1633
1634 2005-02-15  Angus Leeming  <leeming@lyx.org>
1635
1636         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1637         can be used meaningfully in a comparison.
1638
1639 2005-02-13  André Pönitz  <poenitz@gmx.net>
1640
1641         * bufferview_funcs.C (coordOffset): improve cursor drawing
1642
1643 2005-02-13  André Pönitz  <poenitz@gmx.net>
1644
1645         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1646         * Cursor.C (dispatch): use fixIfBroken
1647         * lyxfunc.C (getStatus): use fixIfBroken
1648
1649 2005-02-15  Angus Leeming  <leeming@lyx.org>
1650
1651         * lyx_main.C (error_handler):
1652         * lyxfunc.C:
1653         * lyxrc.C (setDefaults):
1654         s/GetEnv/getEnv/.
1655         #include "environment.h".
1656
1657         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1658
1659 2005-02-15  Angus Leeming  <leeming@lyx.org>
1660
1661         * lyxserver.C (startPipe): squash MSVC warning "local variable
1662         'fd' used without having been initialized".
1663
1664 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1665
1666         * BufferView_pimpl.C: revert accidental commit.
1667
1668 2005-02-14  André Pönitz  <poenitz@gmx.net>
1669
1670         * dociterator.[Ch]: new member forwardPosNoDescent(),
1671         which doesn't enter nested insets.
1672         * text2.C (setFont): use forwardPosNoDescent() instead
1673         of ForwardPos() (fixes crash on font change).
1674
1675 2005-02-13  Angus Leeming  <leeming@lyx.org>
1676
1677         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1678         only if lyxrc.path_prefix is not empty.
1679
1680 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1681
1682         * bufferparams.C (readGraphicsDriver): prevent crash
1683
1684 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1685
1686         * text2.C (setCounter): check for inInset() == 0
1687
1688 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1689
1690         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1691         but use update() to get correct screen display; use convert
1692         instead of istringstream.
1693         (getStatus): handle LFUN_GOTO_PARAGRAPH
1694
1695         * lyxfunc.C (dispatch, getStatus): do not handle
1696         LFUN_GOTO_PARAGRAPH here.
1697
1698 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1699
1700         * text3.C (dispatch): size() -> depth()
1701
1702         * text2.C: remove some debug output
1703
1704         * paragraph.C: ws changes only
1705
1706         * lyxfunc.C (getStatus): size() -> depth()
1707
1708         * dociterator.h (clear, push_back, pop_back, internalData,
1709         operator[], resize, empty): new functions
1710         Make StableDocIterator and operator== be friends. Don't inherit
1711         from std::vector use a privat class variable slices_ instead.
1712         Modify to fit.
1713
1714         * dociterator.C: update because of not inheriting from std::vector
1715         anymore. Call explictly to slices_ instead. Use depth() instead of
1716         size() and top() instead of back()
1717
1718         * cursor.C: chagne size() -> depth and back() -> top(). Also
1719         remove some direct operator[](i) calls in favour of foo[i]
1720         (getFont): remove some dead code
1721
1722         * bufferview_funcs.C (coordOffset): size() -> depth()
1723
1724         * buffer.C: ws changes only
1725
1726         * CutAndPaste.C (eraseSelection): back() -> top()
1727
1728         * BufferView_pimpl.C (selectionRequested): back() -> top()
1729
1730         * BufferView.C (setCursor): size() -> depth()
1731
1732 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1733
1734         * text3.C (cursorPrevious): return true if depm changed something
1735         (cursorNext): ditto
1736         (dispatch): rename sl to oldTopSlice, remove moving use the new
1737         NoUpdate func attrib instead. Make sure that needsUpdate is set
1738         for function that have NoUpdate, but where depm might have changed
1739         the buffer anyway.
1740
1741         * text2.C (cursorLeft): make us return true if depm changed
1742         something
1743         (cursorRight): ditto
1744         (cursorUpParagraph): ditto
1745         (curosrDownParagraph): ditto
1746         (cursorUp, cursorDown): ditto, make sure to read comments in code
1747         (deleteEmptyParagraphMechanism): remove an assert, also return
1748         true if just a single char was deleted.
1749
1750         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1751         cursor that we modify, to avoid modifying an active cursor before
1752         we call setCursor. This allows depm to run. Also return true if
1753         depm deleted something.
1754
1755         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1756         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1757         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1758         something was changed in the buffer because of them (ie. depm run)
1759
1760         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1761         debug messages. Make update by default be false. Make sure that
1762         the result of update is retained throught several calls down to
1763         dispatch.
1764
1765         * LyXAction.h: add a new func_attrib: NoUpdate
1766
1767         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1768         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1769         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1770         and LFUN_WORDLEFT
1771         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1772
1773 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1774
1775         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1776         bv_->owner(), bv_->buffer() by direct references to the private
1777         members.
1778         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1779         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1780         (fitCursor): center() is in BufferView::Pimpl.
1781         (getStatus, trackChanges, dispatch): no need for a temporary buf
1782         variable
1783         (fitCursor, workAreaDispatch): use workarea().workheight()
1784
1785 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1786
1787         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1788
1789 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1790
1791         * buffer.C: format up to 241.
1792         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1793         break if pasting into ERT
1794         * lyxfunc.C (getStatus): suppress mathpanel and
1795         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1796
1797 2005-02-01  Angus Leeming  <leeming@lyx.org>
1798
1799         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1800
1801 2005-02-01  Angus Leeming  <leeming@lyx.org>
1802
1803         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1804         calling fs::is_directory().
1805
1806 2005-01-31  Angus Leeming  <leeming@lyx.org>
1807
1808         * lyx_main.C (priv_exec): specify explicitly the relative location
1809         of the top level build directory when run in-place.
1810
1811 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1812
1813         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1814         LyXText containing the cursor, not the top-level one.
1815
1816         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1817         true.
1818         (insertStringAsLines): rename par to pit; use temporary variable
1819         par to hold a Paragraph; do not store par.layout() in a variable,
1820         since the pointer may die when breaking paragraphs; pass pars to
1821         breakParagraph() instead of Buffer::paragraphs().
1822
1823 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1824
1825         * lyxlex_pimpl.h: #include <fstream>.
1826
1827         * BufferView.[Ch] (getLyXText): add a const version.
1828
1829         * BufferView_pimpl.C: add debug aids.
1830
1831         * RowList_fwd.h:
1832         * buffer.h:
1833         * lyxrow.h:
1834         * paragraph_funcs.h: add commentary explaining what the class does.
1835
1836
1837         * coordcache.[Ch]: add lots of commentary.
1838         (startUpdating, doneUpdating): debug aids.
1839         (arrays, insets, parPos, getParPos): accessors to private data.
1840
1841         * cursor_slice.[Ch] (text): add a const version.
1842         * dociterator.[Ch] (text, innerText): add const versions.
1843
1844         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1845         bool.
1846
1847         * paragraph.C (getRow, pos2ros): add asserts.
1848
1849         * paragraph.h: add commentary. Lots of.
1850
1851         * paragraph.[Ch] (metrucs, draw): removed.
1852
1853         * cursor.C:
1854         * rowpainter.[Ch]: const-correct changes.
1855
1856         * text.C: various obvious clean-ups. Removal of ancient cruft.
1857         Bug fixes, even.
1858
1859 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1860
1861         * vc-backend.C (find_file): rewrite to use boost.filesystem
1862         (scanMaster): ditto
1863
1864         * main.C (main): set default name check for boost.filesystem to
1865         no check
1866
1867         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1868         (open): ditto
1869         (doImport): ditto
1870         (actOnUpdatedPrefs): ditto
1871
1872         * lyx_main.C (init): rewrite to use boost.filesystem
1873         (queryUserLyXDir): ditto
1874
1875         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1876         (getContentsOfAsciiFile): ditto
1877
1878         * lastfiles.C (readFile): rewrite to use boost.filesystem
1879
1880         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1881
1882         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1883         (loadLyXFile): ditto
1884
1885         * buffer.C (Buffer): adjust for destroydir
1886         (getLogName): rewrite to use boost.filesystem
1887         (setFileName): ditto
1888         (save): use fs::copy_file (from fs_extras)
1889
1890         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1891
1892         * LaTeX.C (run): rewrite to use boost.filesystem
1893         (scanAuxFiles): ditto
1894         (handleFoundFile): ditto
1895
1896 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1897
1898         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1899
1900         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1901
1902 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1903
1904         * lyxlayout.[Ch]: change some vars from float to double
1905
1906         * buffer.C (readFile): make a local var const
1907
1908         * Several files: use convert<> instead of atoi,strToXXX and friends
1909
1910 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1911
1912         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1913         holds the contents of packages.lst. New functions getAvailable
1914         and isAvailable to parse and check that list, resp.
1915
1916         * LyXAction.C:
1917         * lfuns.h:
1918         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1919
1920         * bufferparams.[Ch]: new param output_changes.
1921
1922         * Buffer.C: increase file format to 240.
1923         Use output_changes and isVailable.
1924
1925         * changes.[Ch]:
1926         * paragraph.C:
1927         * paragraph_pimpl.C: Use output_changes and isVailable.
1928
1929 2005-01-23  Angus Leeming  <leeming@lyx.org>
1930
1931         * output_latex.C: #include "insetbibitem.h", rather than
1932         forward declare function bibitemWidest.
1933
1934 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1935
1936         * lyx_main.C (init): make it compile on the Mac.
1937
1938 2005-01-20  Angus Leeming  <leeming@lyx.org>
1939
1940         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1941         (setLyXMisc): (char string literal) != (char string literal) is
1942         performing a comparison on the addresses. Convert one operand
1943         explicitly to string to guarantee expected behaviour.
1944         From MSVC warning.
1945
1946 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1947
1948         * buffer.C:
1949         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1950
1951         * output_plaintext.C: remove unneeded #include gzstream.h.
1952
1953 2005-01-20  Angus Leeming  <leeming@lyx.org>
1954
1955         * SpellBase.h: rename some of the elements of the Result enum.
1956
1957         * aspell_local.h:
1958         * ispell.h:
1959         * pspell.h:
1960         * aspell.C (check):
1961         * ispell.C (check):
1962         * pspell.C (check): ditto
1963
1964 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1965
1966         * buffer.C: add #include <fstream>.
1967
1968         * lyx_main.C (init): Compile fix.
1969
1970         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1971
1972 2005-01-20  Angus Leeming  <leeming@lyx.org>
1973
1974         * mover.h: change commentary to reflect the changed meaning of
1975         the $$s placeholder.
1976
1977 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1978
1979         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1980
1981         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1982
1983 2005-01-20  Angus Leeming  <leeming@lyx.org>
1984
1985         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1986         printing diagnostic data by not dereferecing an iterator past the
1987         end.
1988
1989 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1990
1991         * buffer.C (readHeader): use "&&" rather than "and".
1992
1993         * lyxserver.h (inPipeName, outPipeName): make these const.
1994
1995 2005-01-19  Angus Leeming  <leeming@lyx.org>
1996
1997         * lyx_main.C (error_handler, init): protect SIGHUP with
1998         #ifdef SIGHUP guards.
1999
2000 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2001
2002         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
2003
2004 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2005
2006         * text.C (setHeightOfRow): add a margin at the top and bottom of
2007         the document (bug 1761)
2008
2009 2005-01-17  Angus Leeming  <leeming@lyx.org>
2010
2011         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
2012         with "python ". Workaround for a brain-dead Windows.
2013
2014 2005-01-16  Angus Leeming  <leeming@lyx.org>
2015
2016         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
2017         for MacOSX and Windows to use prependEnvPath.
2018         Strip out the hard-coded block to add elements to the PATH for
2019         MacOSX and replace it with a call to prependEnvPath using the
2020         contents of LyXRC::path_prefix.
2021         (queryUserLyXDir): strip out the code to run reconfigure, instead
2022         returning a boolean indicating the necessity to do so.
2023         (reconfigureUserLyXDir): contains the code to reconfigure the
2024         user support directory. Is now called after the various LyXRC data
2025         files have been read.
2026
2027         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
2028
2029 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2030
2031         * converter.[Ch] (convert): take a new parameter try_default. Use
2032         a default converter (imagemagick) if try_default is true.
2033
2034 2005-01-13  Angus Leeming  <leeming@lyx.org>
2035
2036         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
2037         os::cygwin_path_fix.
2038         (write): output LyXRC::cygwin_path_fix as necessary.
2039
2040 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
2041
2042         * lyxrc.h:
2043         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2044
2045 2005-01-12  Angus Leeming  <leeming@lyx.org>
2046
2047         * lyx_main.C (init): set the PATH variable to include the
2048         directory containing the LyX binary when running on Mac or Windows.
2049
2050 2005-01-12  Angus Leeming  <leeming@lyx.org>
2051
2052         * lyx_main.C (init): remove cruft that purports to set the locale
2053         dir. It doesn't and is not needed anyway.
2054
2055 2005-01-10  Angus Leeming  <leeming@lyx.org>
2056
2057         * Makefile.am: remove the lyx_main.C special casing.
2058
2059         * BufferView_pimpl.C:
2060         * bufferlist.C:
2061         * exporter.C:
2062         * lyx_cb.C:
2063         * lyx_main.C:
2064         * lyxfunc.C:
2065         * messages.C: use support/package.h to provide the paths to the
2066         various directories used by LyX.
2067
2068 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2069
2070         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2071         layout if pasting into an empty paragraph)
2072
2073 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2074
2075         * tex-accent.C: add <string>
2076
2077 2005-01-06  José Matos  <jamatos@lyx.org>
2078
2079         * ParagraphParameters.C (write): put every parameter in its own line.
2080         * paragraph.C (write): reduce number of consecutive empty lines exported.
2081         * buffer.C (LYX_FORMAT): increase file format to 239.
2082
2083 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2084
2085         * everywhere: change support/tostr.h -> support/convert.h
2086
2087         * tabular.C: make all write_attributes templates, tostr -> convert
2088
2089         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2090         (emptyTag): and -> &&, and fix type for ret from getChar
2091         (getFirstWord): fix type for ret from getChar
2092         (onlyText): and -> &&
2093         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2094         getChar
2095
2096         * toc.C (goTo, action):
2097         * text3.C (dispatch):
2098         * text.C (currentState):
2099         * tex-accent.C (DoAccent):
2100         * sgml.C:
2101         * lyxrc.C:
2102         * lyxfunc.C (menuNew):
2103         * lyxfinc.C (replace):
2104         * counters.C (laberItem):
2105         * bufferview_funcs.C (font2string):
2106         * bufferparams.C (writeFile):
2107         * buffer.C (readFile):
2108         * Spacing.C (set):
2109         * MenuBackend.C: tostr -> convert
2110
2111         * LaTeX.C (runMessage): fix format
2112         (scanAuxFiles): tostr -> convert
2113
2114         * BufferView_pimpl.C (savePosition): fix format
2115         (restorePosition): ditto
2116         (dispatch): ditto
2117
2118 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2119
2120         * Spacing.[Ch]: New method getValueAsString().
2121
2122         * Spacing.[Ch]:
2123         * bufferparams.C:
2124         * ParagraphParameters.C:
2125         * lyxlayout.C:
2126         * text.C:
2127         * text3.C: store/read spacing value as string.
2128
2129         * rowpainter.C: change float value (spacing_val) to double.
2130
2131         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2132         broken custom document spacing).
2133
2134 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2135
2136         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2137         namespace, also more use of temp references and const
2138
2139         * cursor.[Ch] (getStatus): move to lyxfunc.C
2140
2141         * bufferparams.C: reformat slightly
2142
2143         * bufferview_funcs.C (font2string): constify arg
2144
2145         * changes.C:
2146         * converter.C:
2147         * counters.C:
2148         * bufferlist.C:
2149         * buffer_funcs.C: (many funcs): constify arg on function
2150         definitions, also make more local vars const, also add ASSERTS on
2151         pointer args.
2152
2153         * buffer.C (LYX_FORMAT): put const in correct place
2154         (many funcs): constify arg on function definitions, also make
2155         more local vars const
2156
2157         * aspell_local.h: remove "struct" from typdef setup
2158
2159         * aspell.C (check): make word_ok const
2160         (nextMiss): simplify slightly
2161         (error): ditto
2162
2163 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2164
2165         * lyxrc.[Ch]: store all float values as strings.
2166         use int (not float) for lyxrc.dpi.
2167
2168 2005-01-04  Angus Leeming  <leeming@lyx.org>
2169
2170         * lyx_cb.C (Reconfigure):
2171         * lyx_main.C (queryUserLyXDir):
2172         to run the <system_lyxdir>/configure correctly on Windows, prefix
2173         the path to the script with "sh " when generating the string that
2174         is passed to system().
2175
2176 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2177
2178         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2179
2180 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2181
2182         * lyxlength.C (asLatexString): get rid of setprecision
2183
2184 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2185
2186         * text2.C (setLayout): remove unused variable endpit.
2187         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2188
2189         * paragraph.C (onlyText): remove unused variable style.
2190
2191         * cursor.C (bruteFind): remove unused variables beg and end.
2192
2193         * Makefile.am (dist_noinset_DATA): not needed anymore
2194
2195         * cheaders/*: remove.
2196
2197 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2198
2199         * text3.C: fix LFUN_MATH_MODE.
2200
2201 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2202
2203         * buffer_funcs.C (countWords): new function. Counts words between
2204         two iterators.
2205
2206         * BufferView_pimpl.C (getStatus, dispatch): handle
2207         LFUN_WORDS_COUNT.
2208
2209         * LyXAction.C (init):
2210         * lfuns.h: add LFUN_WORDS_COUNT.
2211
2212 2004-12-19  Angus Leeming  <leeming@lyx.org>
2213
2214         * buffer.C (save): s/slashify_path/internal_path/.
2215
2216 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2217
2218         * lyxfind.C (findChange): do not search for end of pars, because
2219         the change tracker cannot handle this (fixes bug 1719).
2220
2221 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2222
2223         * paragraph.[Ch] (autoBreakRows): remove
2224
2225         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2226
2227         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2228         avoid using the paragraph one
2229
2230         * text2.C (LyXText, insertStringAsLines): adjust
2231
2232 2004-12-16  Angus Leeming  <leeming@lyx.org>
2233
2234         * bufferlist.C:
2235         * lyx_main.C:
2236         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2237
2238 2004-12-14  Angus Leeming  <leeming@lyx.org>
2239
2240         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2241
2242         * bufferlist.C (emergencyWrite):
2243         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2244         GetEnvPath("HOME").
2245
2246 2004-12-14  Angus Leeming  <leeming@lyx.org>
2247
2248         * main.C: (main): no longer pass pointers to os::init.
2249
2250 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2251
2252         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2253         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2254
2255 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2256
2257         * lyxfunc.C:
2258         * text3.C: remove selection_possible global flag
2259
2260 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2261
2262         * text2.C (getSelectionSpan): remove
2263         (changeDepth, changeDepthAllowed): adjust
2264
2265 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2266
2267         * Makefile.am (BOOST_LIBS): use boost variables
2268
2269 2004-12-03  José Matos  <jamatos@lyx.org>
2270
2271         * buffer.C: format up to 238.
2272
2273 2004-12-03  José Matos  <jamatos@lyx.org>
2274
2275         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2276
2277 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2278
2279         * cursor.C (goUpDown): remove call to idxUpDown2
2280
2281 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2282
2283         * tabular.[Ch]: use size_t-like types for cell, row and column
2284         indices
2285
2286 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2287
2288         * lyxfunc.C (getStatus): do not lose previous information when
2289         calling BufferView::getStatus; do not set a default "Command
2290         disabled" message at the beginning, but just before returning.
2291
2292 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2293
2294         * cursor.h (getStatus): add better comment from src/cursor.C
2295
2296 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2297
2298         * text3.C (getStatus): return false when the lfun is not handled
2299
2300 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2301
2302         * broken_headers.h: remove
2303
2304         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2305
2306 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2307
2308         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2309         offset_ref accessors
2310
2311         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2312         top_y_, merge fitcursor with update
2313         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2314         coord scheme
2315         (metrics): introduce
2316         (workAreaDispatch): adapt to new coord scheme
2317         (redoCurrentBuffer): remove
2318
2319         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2320
2321         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2322         CurStatus enum.
2323
2324         * coordcache.[Ch]: add paragraph cache and helpers
2325
2326         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2327         adjust everywhere
2328
2329         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2330         (targetX, setTargetX): introduce
2331
2332         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2333         baseline -> ascent, as the rest of lyx
2334
2335         * lyxtext.h: remove redoParagraphs, updateParPositions,
2336         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2337         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2338         have ascent/descent (ascent is ascent of first par)
2339
2340         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2341         step of BufferView
2342
2343         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2344
2345         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2346
2347         * pariterator.C: fix infinite loop introduced in par->pit renaming
2348
2349         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2350         in insets and LyXText, draw two off-screen paragraphs using
2351         NullPainter, and adapt to new coord scheme
2352
2353         * text.C:
2354         * text2.C:
2355         * text3.C: adapt lfun handlers to the new coord scheme, which
2356         means: there's only guaranteed coord information for onscreen pars
2357         plus one above and one below. This implies that one can do search
2358         from y coordinates in the range [-1,workHeight]
2359
2360 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2361
2362         * rename a lot of InsetOld to InsetBase
2363
2364 2004-11-25  Angus Leeming  <leeming@lyx.org>
2365
2366         * BufferView_pimpl.C:
2367         * lyx_cb.C:
2368         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2369
2370 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2371
2372         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2373         call BufferView::getStatus if LCursor::getStatus did nothing
2374         (setStatusMessage, getStatusMessage): removed.
2375
2376         * FuncStatus.C (message): new methods. Used to provide an error
2377         message indicating why a command is disabled.
2378         (clear, |=, FuncStatus): update for message.
2379
2380 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2381
2382         * lyxfunc.C (dispatch): always call sendDispatchMessage
2383
2384 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2385
2386         * BufferView.C:
2387         * BufferView_pimpl.C:
2388         * CutAndPaste.C:
2389         * FontIterator.C:
2390         * buffer.C:
2391         * cursor.C:
2392         * cursor_slice.[Ch]:
2393         * dociterator.[Ch]:
2394         * lyxfind.C:
2395         * paragraph_funcs.C:
2396         * pariterator.C:
2397         * rowpainter.C:
2398         * text.C:
2399         * text2.C:
2400         * text3.C:
2401         * undo.C: par->pit renaming
2402
2403 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2404
2405         * tabular.C (cellstruct): use initialization, store a shared_ptr
2406         to insettext instead of the insettext directly, adjust to fit.
2407         (operator=):  new function
2408         (swap): new function
2409         (rowstruct): use initialization
2410         (columnstruct): use initialization
2411         (ltType): use initialization
2412
2413
2414         * lyxlength.h (swap): new function
2415
2416         * LColor.[Ch] (operator=): use the common semantics
2417
2418 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2419
2420         * lyxfind.C (findNextChange): update the bufferview after setting
2421         the selection.
2422
2423 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2424
2425         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2426         number of InsetOptArgs has already been inserted.
2427
2428         * output_latex.C (latexOptArgInsets): new method. This outputs all
2429         the optarg insets, up to the limit defined in the layout file.
2430         (optArgInset): removed
2431         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2432
2433 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2434
2435         * paragraph.C (isLetter): remove special spellchecker-related
2436         code; return true also for digits
2437         (isWord, isKomma): remove
2438
2439         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2440         * lyxfind.C (MatchString()): use isLetter instead of isWord
2441
2442 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2443
2444         * pariterator.h (operatir=): comment out un-implemented member
2445         function.
2446
2447         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2448         static cast.
2449
2450 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2451
2452         * lyxfont.h: include LColor.h to satisfy concept checks.
2453
2454 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2455
2456         * pariterator.h: add typdefs for value_type, difference_type,
2457         pointer and reference to satisfy concept checks. Also add default
2458         constructor for same reason.
2459
2460         * pariterator.C (operator++): add post-increment operator to
2461         satisfy concept checks.
2462
2463         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2464         checks.
2465
2466         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2467
2468         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2469         checks. Also rename base_type to BaseType to follow naming
2470         standard better.
2471
2472         * FloatList.h: include Floating.h to satisfy concept checks.
2473
2474 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2475
2476         * lyxfunc.C (getStatus): when the origin of the request is menu or
2477         toolbar, and the LyXView does not have focus, do as if there was
2478         no buffer (bug 1720)
2479
2480         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2481         FuncRequest to individual entries of LFUN_SEQUENCE
2482
2483 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2484
2485         * output_latex.C (TeXOnePar): override runparams.moving_arg
2486         according to the needprotect value of the current paragraph (bug
2487         1739)
2488
2489         * paragraph.C (simpleTeXOnePar): no need to override
2490         runparams.moving_args here
2491
2492 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2493
2494         * vspace.C: fix off-by-one-error, related to fix #1682
2495
2496 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2497
2498         * lengthcommon.C: a more general fix for bug 1682
2499
2500 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2501
2502         * text.C (backspace): fix crash
2503
2504 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2505
2506         * format.[Ch] (getFormatFromFile): new method
2507         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2508
2509 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2510
2511         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2512
2513 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2514
2515         * lyxfunc.C (dispatch): remove the verbose argument
2516         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2517         instead
2518
2519         * kbmap.C (defkey): set the origin of func to KEYBOARD
2520
2521         * MenuBackend.C (MenuItem):
2522         * ToolbarBackend.C (add): set the origin of func to UI
2523
2524         * funcrequest.[Ch]: add origin member, which indicates which part
2525         of LyX requests an action
2526
2527 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2528
2529         * converter.C (move): don't lie in the error message
2530         * converter.h (isReachable, move): document
2531
2532 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2533
2534         * buffer.C: remove unused using lyx::support::atoi
2535         * paragraph_funcs.C: ditto
2536
2537 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2538
2539         * bufferlist.C (exists): use bind and equal_to instead of
2540         compare_memfun
2541         (getBuffer): ditto
2542         * lyxtextclasslist.C (NumberOfClass): ditto
2543
2544         * cursor.C (insert): use for_each instead of explicit for loop
2545
2546         * bufferlist.C (getFileNames): use std::transform and
2547         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2548
2549         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2550         for loop
2551
2552         * buffer.C (changeLanguage): use for_each instead of explicit for
2553         loop
2554         (hasParWithID): implement using getParFromID
2555
2556         * LaTeXFeatures.C: ws change only
2557
2558         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2559         to cleanup a bit.
2560
2561         * BufferView_pimpl.C (trackChanges): use for_each instead of
2562         expilicit for loop
2563
2564 2004-11-04  André Pönitz  <poenitz@gmx.net>
2565
2566         * undo.h:
2567         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2568
2569         * dociterator.C (asDocIterator): use hard assert again.
2570
2571 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2572
2573         * lyxlength.C (asLatexString): rewrite so that it does not use
2574         snprintf anymore
2575
2576 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2577
2578         * text3.C (specialChar, dispatch): make sure cursor moves to the
2579         right after inserting an inset
2580
2581 2004-11-02  José Matos  <jamatos@lyx.org>
2582
2583         * output_docbook.C (docbook):
2584         * paragraph.C (getID):
2585         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2586         garantee that the output is always legal.
2587
2588         * tabular.C (docbook):
2589         * outputprams.[Ch]: remove mixed contents.
2590
2591 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2592
2593         * text2.C (setCounter): prevent endless loop
2594
2595 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2596
2597         * exporter.C (copyFile): use the mover instead of support::copy()
2598         * exporter.C (Export): pass format and latex name to copyFile()
2599         * exporter.h (addExternalFile): document
2600         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2601
2602 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2603
2604         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2605
2606 2004-10-30  José Matos  <jamatos@lyx.org>
2607
2608         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2609         text and no inset or font change. This allows to use CDATA
2610         sections just for the whole paragraph.
2611
2612 2004-10-30  José Matos  <jamatos@lyx.org>
2613
2614         * paragraph.C (getFirstWord): remove unused variable.
2615
2616 2004-10-30  José Matos  <jamatos@lyx.org>
2617
2618         * paragraph.C (getFirstWord): the content should always be escaped
2619         there.
2620         (simpleDocBookOnePar):
2621         * output_docbook.C (makeEnvironment): replace reference to CDATA
2622         to style pass_thru.
2623
2624 2004-10-30  José Matos  <jamatos@lyx.org>
2625
2626         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2627
2628 2004-10-30  José Matos  <jamatos@lyx.org>
2629
2630         * output_docbook.C (makeParagraphs):
2631         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2632         standard paragraph has only a given type of content drop the wrapper.
2633
2634 2004-10-29  José Matos  <jamatos@lyx.org>
2635
2636         * output_docbook.C (makeEnvironment):
2637         * sgml.C (openTag):
2638         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2639
2640 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2641
2642         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2643         (cleanID): sanitize any id.
2644
2645 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2646
2647         * buffer.C, lyxlex_pimpl.C:
2648         * lyxlex_pimpl.C (setFile):
2649         s/getExtFromContents/getFormatFromContents/
2650
2651 2004-10-28  José Matos  <jamatos@lyx.org>
2652
2653         * output_docbook.C (makeEnvironment): move id to broadest possible
2654         scope.
2655
2656         * sgml.C (openTag): apply substitution of <> for all attributes.
2657
2658 2004-10-28  José Matos  <jamatos@lyx.org>
2659
2660         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2661         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2662         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2663
2664         * sgml.[Ch]: new version for open and closeTag for paragraph and
2665         for strings. Now they handle the ids of paragraphs.
2666
2667 2004-10-26  Angus Leeming  <leeming@lyx.org>
2668
2669         * Makefile.am: add mover.[Ch].
2670
2671         * converter.C (convert, move): use the new Movers to move external
2672         files to the temp directory.
2673
2674         * lyx_main.C (init): ensure that the global system_movers data
2675         is initialised.
2676
2677         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2678         preferences file.
2679
2680         * mover.[Ch]: new files, defining a Mover as a utility to move an
2681         external file between directories and, if necessary, manipulate this
2682         file using a helper script.
2683
2684 2004-10-25  José Matos  <jamatos@lyx.org>
2685
2686         * output_docbook.C (makeCommand): merge two if's that tested the
2687         same condition.
2688
2689 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2690
2691         * sgml.C (escapeString): fix warning in a better way
2692
2693 2004-10-25  José Matos  <jamatos@lyx.org>
2694
2695         * sgml.C (escapeString): import the require boosts header file for
2696         tie, and avoid a signed unsigned comparison.
2697
2698 2004-10-25  José Matos  <jamatos@lyx.org>
2699
2700         * sgml.h: add #include <string>
2701
2702 2004-10-25  José Matos  <jamatos@lyx.org>
2703
2704         * sgml.[Ch] (escapeString): new function to escape all the string.
2705
2706 2004-10-24  José Matos  <jamatos@lyx.org>
2707
2708         * paragraph.[Ch] (getFirstWord): new function to get the first
2709         word. Useful for description.
2710         (simpleDocBookOnePar): remove depth argument, add another that
2711         says where to start the paragraph.
2712
2713         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2714         use the new functions to fix cleanly the support for descriptions.
2715
2716 2004-10-24  José Matos  <jamatos@lyx.org>
2717
2718         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2719         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2720         * output_linuxdoc.C (linuxdocParagraphs):
2721         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2722         add buffer as argument.
2723
2724 2004-10-24  José Matos  <jamatos@lyx.org>
2725
2726         * output_docbook.C (makeEnvironment, searchEnvironment): place
2727         CDATA inside paragraphs and fix scope for listitems.
2728
2729 2004-10-24  José Matos  <jamatos@lyx.org>
2730
2731         * output_docbook.C: remove using statement for stack.
2732
2733 2004-10-23  José Matos  <jamatos@lyx.org>
2734
2735         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2736         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2737         docbook. The new scheme is recursive and makes use of iterators, the
2738         same as latex export works.
2739         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2740         directly with the paragraph contents. This code was moved up to
2741         output_docbook.C (docbookParagraphs).
2742         * sgml.C (openTag, closeTag): removed unneeded newlines.
2743         (closeEnvTags) removed.
2744
2745 2004-10-23  André Pönitz  <poenitz@gmx.net>
2746
2747         * undo.C (textUndoOrRedo):
2748         * dociterator.C (asDocIterator): work around crash
2749
2750         * cursor.C (getStatus): replace ASSERT by more verbose error message
2751           and manual correction of the problem. Should increase stability
2752           while providing more sensible information.
2753
2754 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2755
2756         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2757
2758         * bufferlist.C (previous, next): new methods
2759
2760         * lfuns.h:
2761         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2762
2763 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2764
2765         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2766         entities to preamble.
2767
2768 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2769
2770         * messages.C (Pimpl): strip off translation context information
2771
2772 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2773
2774         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2775         the cursor is correct (bug 1694)
2776
2777 2004-10-13  José Matos  <jamatos@lyx.org>
2778
2779         * output_docbook.C (docbookParagraphs): fix closing tags in the
2780         end of the document.
2781
2782 2004-10-09  José Matos  <jamatos@lyx.org>
2783
2784         * buffer.C: format up to 237.
2785         * bufferparams.C (write): use tostr to convert booleans to strings.
2786
2787 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2788
2789         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2790
2791 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2792
2793         * LaTeX.C: implement use of babel language in xindy.
2794
2795 2004-10-05  José Matos  <jamatos@lyx.org>
2796
2797         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2798         Add new translators to help reading and writing the lyx file.
2799
2800 2004-10-05  José Matos  <jamatos@lyx.org>
2801
2802         * ParagraphParameters.C (read):
2803         * text.C (readParToken): replace nexToken by more appropriate lex
2804         methods.
2805
2806 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2807
2808         * LaTeX.C (runMakeIndex):
2809         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2810         (usually 'makeindex') configurable.
2811
2812         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2813         with a variable rather than with a number.
2814
2815 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2816
2817         * output_latex.C (TeXOnePar): make sure font setting is the first
2818         thing that gets output (and the last at the end). Should fix bug
2819         1404.
2820
2821 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2822
2823         * pch.h: use proper signal include
2824
2825         * LaTeX.h: Use preferred calling of Boost.Signal
2826         * buffer.h: ditto
2827
2828 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2829
2830         * pch.h: dont include <boost/function/function0.hpp>
2831
2832         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2833
2834         * paragraph_pimpl.h: remove usage of ShareContainer
2835
2836         * paragraph_pimpl.C: remove initialization of ShareContainer.
2837
2838 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2839
2840         Fix bug #1666
2841
2842         * BufferView.C (putSelectionAt): change the semantics when
2843         backwards == true: now, this just swaps cursor and anchor wrt the
2844         forward case
2845
2846         * BufferView.h (putSelectionAt): add some documentation
2847
2848         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2849         make sure backwardChar is done at least once (to avoid getting
2850         stuck)
2851         (findNextChange): use putSelectionAt in the forward direction
2852         (operator()): use Paragraph::isWord
2853
2854 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2855
2856         * Spacing.C (set): c_str fix
2857
2858 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2859
2860         * lyx_cb.C (Reconfigure): quote the name of configure script in
2861         case it contains spaces
2862
2863 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2864
2865         * client: new dir
2866
2867         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2868         (BOOST_LIBS): use top_buildir when looking for the file
2869
2870 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2871
2872         * pch.h: do not use include boost/format.hpp, multiple symbols
2873                 will result (gcc bug)
2874
2875
2876 2004-08-23  José Matos  <jamatos@lyx.org>
2877
2878         * bufferparams.C (readToken): fix reading of the author field.
2879
2880 2004-08-20  José Matos  <jamatos@lyx.org>
2881
2882         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2883
2884 2004-08-20  José Matos  <jamatos@lyx.org>
2885
2886         * lyxlex.[Ch] (findToken): remove function.
2887
2888         * ParagraphParameters.C (findToken):
2889         * bufferparams.C (findToken): replace call for previous function
2890         with local copy. This local function has one more argument, the
2891         read string argument.
2892
2893 2004-08-16  José Matos  <jamatos@lyx.org>
2894
2895         * ParagraphParameters.C (write):
2896         * Spacing.C (writeFile):
2897         * bufferparams.C (writeLaTeX):
2898         * lyx_cb.C (Reconfigure):
2899         * paragraph.C (write):
2900         * tabular.C (write): remove unnecessary space at end of line.
2901
2902
2903 2004-08-16  José Matos  <jamatos@lyx.org>
2904
2905         * text.C (readParagraph): remove debug message.
2906
2907 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2908
2909         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2910         crash
2911
2912         * output_plaintext.C (asciiParagraph): set depth correctly
2913
2914         * outputparams.h: add member depth
2915
2916         * paragraph_funcs.C (ownerPar): remove.
2917
2918         * text2.C (setCounter): remove first_pit; comment out some
2919         non-working code that uses ownerPar
2920
2921         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2922         uses ownerPar
2923
2924 2004-08-16  José Matos  <jamatos@lyx.org>
2925
2926         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2927         For the same level of importance use the same chanel to report problems.
2928         (read): add code to deal with \begin_body and \end_body.
2929
2930
2931 2004-08-15  José Matos  <jamatos@lyx.org>
2932
2933         * lyxlex.C (getString): fix comment, buffer::readBody is now
2934         buffer:readDocument.
2935
2936         * tex-strings.C (string_papersize): Default -> default,
2937         Custom -> custom, for consistency with other options.
2938
2939 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2940
2941         * pch.h: new file
2942
2943         * Makefile.am: support pch
2944
2945 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2946
2947         * text.C (readParToken): remove the static LyXFont variable and
2948         pass it as a parameter instead. This fixes a nasty bug where an
2949         inset will be inserted with a bad font in some situations
2950         (readParagraph): adapt
2951
2952         * text2.C (setCounter): reduce number of calls to pars_[pit]
2953
2954         * text.C (singleWidth): add an assert, fix a test
2955
2956         * rowpainter.C (paintText): reduce number of calls to singleWidth
2957
2958         * paragraph.C (isHfill):
2959         (isNewline): ws only
2960
2961 2004-08-14  André Pönitz  <poenitz@gmx.net>
2962
2963         * text.C:
2964         * text2.C:
2965         * rowpainter.C:
2966         * lyxtext.h (several functions): use a Paragraph & argument
2967         instead of par_type
2968
2969 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2970
2971         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2972
2973         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2974
2975         * text.C (singleWidth): remove useless test
2976
2977 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2978
2979         * tabular.h: remove bogus comments
2980
2981         * tabular.C (getDescentOfRow):
2982         (isPartOfMultiColumn): add assertions
2983
2984         * lyxlength.C (inPixels): remove #warning
2985
2986 2004-08-14  André Pönitz  <poenitz@gmx.net>
2987
2988         * paragraph.h: inline getChar()
2989
2990         * BufferView.h: remove unused declarations
2991
2992 2004-08-14  José Matos  <jamatos@lyx.org>
2993
2994         * Buffer.[Ch] (readDocument): new name for old readBody.
2995         * Buffer.C: new file format, new keywords: \begin_document,
2996         \begin_header, \begin_body, \end_body.
2997
2998         * bufferparams.C (readToken): replace all calls to lex.nextToken
2999         by lex.next(). Do the same to eatLine except where really needed.
3000
3001         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
3002         line when writing to the lyx file.
3003
3004         * output_plaintext.C (asciiParagraph): fix Bibliography style
3005         handling.
3006
3007         * text.C (read): fix end of file handling.
3008
3009 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3010
3011         * MenuBackend.C (Menu::operator[]): new method to access
3012         individual menu items
3013         (Menu::hasFunc): new method. search for an item that corresponds
3014         to a given func
3015         (MenuBackend::specialMenu): new method
3016         (MenuBackend::expand): if a special menu has been set, skip
3017         entries whose func() appears in this menu
3018
3019 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3020
3021         * text3.C: use Debug::DEBUG a bit more
3022
3023         * text.C (leftMargin): try to simplify a tiny bit change var x to
3024         l_margin. Dont output the wide margins always.
3025         (rightMargin): no margin in inner texts
3026
3027         * rowpainter.h (nestMargin): new func
3028         (changebarMargin): new func
3029         (rightMargin): new func
3030
3031         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
3032         now functions.
3033         (paintLast): ditto
3034
3035         * factory.C (createInset): modify setDrawFrame
3036
3037         * cursor.C: use Debug::DEBUG a bit more
3038
3039 2004-08-14  André Pönitz  <poenitz@gmx.net>
3040
3041         * coordcache.[Ch]:
3042         * Makefile.am: new files to accomodate an 'external' (x,y)-position
3043         cache for all insets in (at least partially) visible (top-level)
3044         paragraphs.
3045
3046         * BufferView_pimpl.C: reset external coord cache before every update.
3047         This means the coord cache only contains valid entries.
3048
3049 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3050
3051         bug 1096
3052         * BufferView_pimpl.C (getInsetByCode): move function out of class
3053         and change in to a template in anon namespace. Also fix to do what
3054         suits us better.
3055
3056 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
3057
3058         bug 1305
3059         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3060         of char
3061         (breakParagraph): rename par to par_offset and use a local
3062         reference. Add code to keep the language over a rebreak.
3063         (breakParagraphConservative): rename par to par_offset, use a
3064         local reference
3065         (mergeParagraph): ditto
3066         (outerHook): ditto
3067         (isFirstInSequence): ditto
3068         (outerFont): rename pit to par_offset
3069
3070         * paragraph.C: ws change
3071         * paragraph.h: ditto
3072         * text3.C: ditto
3073         * text.C: ditto
3074
3075 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3076
3077         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3078         treatment for ']'
3079
3080         * paragraph.C (simpleTeXOnePar): when we have a \item with
3081         optional argument, enclose the argument with curly brackets (in
3082         case it contains a closing square bracket)
3083
3084         * text2.C (editXY):
3085         * text2.C (editXY):
3086         * text3.C (checkInsetHit): constify
3087
3088 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3089
3090         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3091         documents (bug 1629)
3092
3093 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3094
3095         Fix toggling of collapsable insets with the mouse (bug 1558)
3096
3097         * lyxfunc.C (dispatch): adapt to LCursor changes
3098
3099         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
3100         make sure that dispatch is not invoked twice
3101
3102         * cursor.C (needsUpdate): new method
3103         (dispatch): return void
3104         (result): new method, to access the DispatchResult of the cursor.
3105
3106 2004-08-13  José Matos  <jamatos@lyx.org>
3107
3108         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3109
3110 2004-08-13  André Pönitz  <poenitz@gmx.net>
3111
3112         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3113
3114         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3115           multiple cells
3116
3117 2004-08-12  André Pönitz  <poenitz@gmx.net>
3118
3119         * text3.C: take out the 'cursor right' form insertInset and only
3120         do it in those places when it is really needed. Fixes crash on
3121         C-m...
3122
3123 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3124
3125         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3126
3127         * BufferView_pimpl.C (setBuffer): initialize the current font of
3128         the underlying LyXText
3129
3130 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3131
3132         * kbsequence.C (print): use UI native formatting for menu
3133         shortcuts
3134
3135         * text.C (insertChar): call Paragraph::insertChar with a font
3136         argument (cosmetic)
3137
3138         * paragraph.C (insertInset, insertChar): the version that takes a
3139         LyXFont argument is now a wrapper around the other one (the
3140         opposite used to be true).
3141
3142         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3143         argument. Font setting is done in Paragraph now.
3144
3145 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3146
3147         * outputparams.h: add new members intitle and lang.
3148
3149         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3150         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3151
3152 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3153
3154         * text3.C (dispatch): remove special handling of button 4 and 5,
3155         it is now taken care of in the frontend code.
3156
3157 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3158
3159         * Spacing.h: add <string> (STLPort compile fix)
3160
3161 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3162
3163         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3164
3165 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3166
3167         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3168         to bool.
3169
3170         * converter.C (showMessage): inherit from unary_function, make
3171         operator() const.
3172
3173         * buffer.C (writeFile): initialize retval
3174
3175         * InsetList.h: rename private variable list to list_
3176         * InsetList.[Ch]: adjust accordingly.
3177
3178 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3179
3180         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3181         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3182         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3183         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3184         * ParagraphParameters.C, LaTeXFeatures.C: replace
3185         "support/std_sstream.h" with <sstream>
3186
3187 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3188
3189         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3190         * lyxsocket.C (LyXServerSocket): ditto
3191         (serverCallback): ditto
3192
3193 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3194
3195         * LaTeXFeatures.C: check release date when loading jurabib.
3196
3197 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3198
3199         * lyxserver.C (startPipe): call register_socket_callback
3200         (endPipe): call unregister_socket_callback
3201
3202 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3203
3204         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3205         (LyXServerSocket): register the callback
3206         (LyXServerSocket): unregister the callback
3207         (fd): delete function
3208         (serverCallback): improve error checking and setup the callbacks.
3209         (dataCallback): change arg to fd.
3210         (writeln): new func (copied fro the client socket) used for server
3211         write to client.
3212         (LyXDataSocket): simplify
3213         (~LyXDataSocket): close ann unregiser callback
3214         (server): delete function
3215         (fd): delete function
3216         (readln): small changes, improve some std::string usage
3217         (writeln): constify a bit
3218
3219 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3220
3221         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3222         Qt frontend
3223
3224 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3225
3226         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3227         after it has been populated
3228
3229 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3230
3231         * text2.C (insertInset): move cursor when inserting inset.
3232
3233 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3234
3235         * kbmap.C (findbindings): a couple of new methods. returns a
3236         container of kb_sequence objects. The real work is done by the
3237         private recursive version
3238         (printbindings): uses findbindings to print out a bracketed list
3239         of bindings (renamed from findbinding).
3240
3241         * MenuBackend.C (binding): use kb_keymap::findbindings
3242
3243         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3244
3245 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3246
3247         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3248
3249 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3250
3251         * paragraph.C (isWord): return true on insets that report
3252         isLetter().
3253
3254         * text.C (getWord): use Paragraph::isWord to decide what is in a
3255         word and what is not; fix bug 1609.
3256
3257 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3258
3259         * tex-strings.C: add "none" to string_paperpackages[], fixes
3260         off-by-one-error in the paperpackage selection.
3261
3262         * lyxlex.[Ch]:
3263         * tex-strings.[Ch]: char const * string[n]
3264         -> char const * const string[]
3265
3266 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3267
3268         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3269         command, return early.
3270
3271 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3272
3273         * debug.h: add DEBUG to enum and fix size of ANY.
3274
3275         * debug.C: add support for Debug::DEBUG
3276         (showTags): cast errorTags.level to unsigned int
3277
3278         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3279         (redoCurrentBuffer): ditto
3280         (updateScrollbar): ditto
3281         * cursor.C (dispatch): ditto
3282         * text2.C (setLayout): ditto
3283         (setFont): ditto
3284         (updateCounters): ditto
3285         (editXY): ditto
3286         (deleteEmptyParagraphMechanism): ditto
3287
3288 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3289
3290         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3291         annotations to cleanup the Makefile slightly.
3292
3293 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3294
3295         * lyxrc.C: do not set user_email to a default value but use empty
3296         instead. The entry used to be translated, which does not work
3297         since at the point where lyxrc is constructed there is no
3298         translation service available
3299
3300         * messages.C (getLocaleDir): remove and use directly
3301         lyx_localedir() instead
3302
3303 2004-06-02  Angus Leeming  <leeming@lyx.org>
3304
3305         Fix crash caused by dereferencing null pointer 'exportdata' in
3306         OutputParams by creating a new ExportData variable on the heap,
3307         storing it in a boost::shared_ptr.
3308         The crash was triggered when generating an Instant Preview
3309         of an external inset.
3310
3311         * Makefile.am: add outputparams.C
3312
3313         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3314         (c-tor): allocate memory to it.
3315
3316         * exporter.C (c-tor): associated changes.
3317
3318 2004-06-01  Angus Leeming  <leeming@lyx.org>
3319
3320         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3321         contains data before calling isInset(0). (Bug 1513.)
3322
3323 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3324
3325         * exporter.C (checkOverwrite): new method
3326         * exporter.C (copyFile): new method
3327         * exporter.C (Export): copy referenced files to the document dir
3328         * exporter.[Ch]: new class ExportedFile
3329         * exporter.[Ch]: new class ExportData. Contains currently the
3330         names of referenced external files
3331         * outputparams.h: add exportdata member.
3332
3333 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3334
3335         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3336         version.C-tmp
3337
3338 2004-05-19  Angus Leeming  <leeming@lyx.org>
3339
3340         * LaTeXFeatures.C:
3341         * ToolbarBackend.C:
3342         * bufferparams.C:
3343         * lyxfunc.C: small changes due to the introduction of namespace
3344         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3345
3346 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3347
3348         * text3.C (dispatch): supress update when only moving the cursor
3349         * cursor.C (selHandle): remove commented code
3350
3351 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3352
3353         * paragraph.C (startTeXParParams): correct column count
3354         * CutAndPaste.C (pasteSelection): remove const_cast
3355         * output_docbook.C (docbookParagraphs): remove const_cast
3356         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3357         const_cast and return ParagraphList::const_iterator
3358         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3359         * output_plaintext.C (writeFileAscii): remove const_cast
3360         * paragraph.[Ch] (simpleTeXOnePar): make const
3361         * paragraph_funcs.C (outerPar): use const iterators
3362         * paragraph_pimpl.C (validate): use const iterators
3363         * text.C (setHeightOfRow): use const iterators
3364
3365 2004-05-17  Angus Leeming  <leeming@lyx.org>
3366
3367         * lfuns.h:
3368         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3369
3370         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3371         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3372         if the citation engine has changed.
3373
3374 2004-05-14  José Matos  <jamatos@lyx.org>
3375
3376         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3377         if the textclass does not provide it. Have it different for sgml and
3378         xml.
3379         support the language of document.
3380         * output_docbook.C (docbookParagraphs):
3381         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3382         first anchor as the id of the paragraph, remove special case code.
3383         * sgml.C (escapeChar): escape only < & >.
3384
3385 2004-05-14  Angus Leeming  <leeming@lyx.org>
3386
3387         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3388         dependencies on src/frontends/controllers/biblio.h. Define a
3389         CiteEngine_enum wrapper class to enable the enum to be forward
3390         declared.
3391
3392 2004-05-12  Angus Leeming  <leeming@lyx.org>
3393
3394         * buffer.C: up LYX_FORMAT to 234.
3395         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3396         use_numerical_citations with a single biblio::CiteEngine cite_engine
3397         variable.
3398         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3399
3400 2004-05-13  José Matos  <jamatos@lyx.org>
3401
3402         * converter.h:
3403         * converter.C (Converter, readFlags): add xml member.
3404         * outputparams.h: add XML flavor.
3405         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3406
3407 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3408
3409         * lyxfunc.C (dispatch):
3410         (getStatus): fix handling of LFUN_SEQUENCE
3411
3412 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3413
3414         * debug.C (showLevel): do not forget the end-of-line marker
3415
3416 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3417
3418         * kbmap.C (read): do not stop parsing a bind file when an error
3419         occurs (bug 1575)
3420
3421 2004-04-29  Angus Leeming  <leeming@lyx.org>
3422
3423         * cursor.C:
3424         * factory.C:
3425         * pariterator.C:
3426         * text2.C: wrap a bunch of #warning statements
3427         inside #ifdef WITH_WARNINGS blocks.
3428
3429 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3430
3431         * buffer.C: increment format to 233.
3432
3433 2004-04-28  Angus Leeming  <leeming@lyx.org>
3434
3435         * BufferView_pimpl.C:
3436         * lyxfunc.C:
3437         * text3.C:
3438         s/updateToolbar()/updateToolbars()/
3439         s/Toolbar.h/Toolbars.h/
3440
3441 2004-04-28  Angus Leeming  <leeming@lyx.org>
3442
3443         * BufferView.[Ch] (c-tor):
3444         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3445         No longer passes these data to the WorkArea generator.
3446
3447 2004-04-28  Angus Leeming  <leeming@lyx.org>
3448
3449         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3450
3451 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3452
3453         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3454
3455 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3456
3457         * output_latex.C (TeXEnvironment): make sure that there is a line
3458         break before \end{foo} for the last paragraph of a document
3459         (TeXOnePar): if the paragraph is at the end of the document (or
3460         inset) and the language has to be reset, then make sure that the
3461         line break is _before_ the language command, not after (fixes bug
3462         1225); also make sure that the language reset command is the first
3463         thing after the paragraph (to ensure proper nesting of
3464         environments and thus fix bug 1404)
3465
3466 2004-04-21  John Levon  <levon@movementarian.org>
3467
3468         * ToolbarBackend.h:
3469         * ToolbarBackend.C: make "name" be a programmatic name
3470         and a gui_name field.
3471
3472         * lyxfunc.C: display the minibuffer on M-x
3473
3474 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3475
3476         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3477         (bug 1526)
3478
3479 2004-04-19  Angus Leeming  <leeming@lyx.org>
3480
3481         * BufferView_pimpl.C (setBuffer): changed preview interface.
3482
3483         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3484         possible values.
3485
3486 2004-04-19  John Levon  <levon@movementarian.org>
3487
3488         * BufferView_pimpl.C:
3489         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3490
3491 2004-04-05  Angus Leeming  <leeming@lyx.org>
3492
3493         * text.C (redoParagraphs): add call to updateCounters(), thereby
3494         fixing the missing "Figure #:" label from the caption of a
3495         figure float.
3496
3497 2004-04-13  Angus Leeming  <leeming@lyx.org>
3498
3499         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3500         cursor is clicked out of an inset.
3501
3502 2004-04-13  Angus Leeming  <leeming@lyx.org>
3503
3504         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3505         than an InsetOld one.
3506
3507 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3508
3509         * format.[Ch]: add editor to Format
3510         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3511         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3512
3513 2004-04-08  André Pönitz  <poenitz@gmx.net>
3514
3515         * metricsinfo.h: remove PainterInfo::width member
3516
3517 2004-04-08  Angus Leeming  <leeming@lyx.org>
3518
3519         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3520         "\providecommand" rather than "\newcommand", thereby preventing
3521         clashes with packages that define "\boldsymbol" themselves.
3522         Eg, beamer.
3523
3524 2004-04-08  Angus Leeming  <leeming@lyx.org>
3525
3526         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3527         thereby squashing an unnecessary warning.
3528
3529 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3530
3531         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3532         setBuffer()
3533
3534 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3535
3536         * BufferView.C (setCursor): call redoParagraph (some insets could
3537         have been opened)
3538         (putSelectionAt): remove the 'double update' trick
3539
3540         * BufferView_pimpl.C (fitCursor): call refreshPar
3541         (workAreaDispatch): remove an uneeded update call
3542         (dispatch): remove some manual update calls
3543
3544         * cursor.[Ch]: remove cached_y_, updatePos
3545         (selHandle): set noUpdate when appropriate
3546
3547         * lyxfunc.C (dispatch): track if we need an update
3548
3549         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3550
3551         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3552         (paintSelection): cheap optimization, do not call cursorX when not
3553         needed
3554         (paintPars): change signature
3555         (refreshPar): add
3556         (paintText): adjust
3557         (paintTextInset): adjust
3558
3559         * text.C: adjust
3560
3561 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3562
3563         * lengthcommon.C: compilation fix: remove explicit array size from
3564         unit_name[] and friends
3565
3566 2004-04-05  Angus Leeming  <leeming@lyx.org>
3567
3568         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3569
3570         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3571         present only for the preferences dialog.
3572         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3573
3574 2004-04-05  Angus Leeming  <leeming@lyx.org>
3575
3576         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3577         to enable the frontends to export changes to lyxrc correctly.
3578
3579         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3580
3581 2004-04-07  André Pönitz  <poenitz@gmx.net>
3582
3583         * cursor.[Ch] (selClear, adjust): remove math
3584
3585         * cursor_slice.C: more agressive assert
3586
3587         * lyxfunc.C:
3588         * BufferView_pimpl.C: rework mouse event dispatch
3589
3590         * dociterator.C:
3591         * paragraph.C:
3592         * text2.C:
3593         * text3.C: adjust
3594
3595 2004-04-05  André Pönitz  <poenitz@gmx.net>
3596
3597         * cursor.[Ch] (valign, halign...): remove unneeded functions
3598
3599 2004-04-05  Angus Leeming  <leeming@lyx.org>
3600
3601         * lyxlength.[Ch] (unit_name et al.): const-correct.
3602
3603 2004-04-05  Angus Leeming  <leeming@lyx.org>
3604
3605         * BufferView_pimpl.C:
3606         * buffer.C:
3607         * counters.C:
3608         * cursor.C:
3609         * lyxfunc.C
3610         * paragraph.C:
3611         * pariterator.C:
3612         * text.C:
3613         * text2.C:
3614         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3615
3616 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3617
3618         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3619
3620 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3621
3622         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3623         * BufferView_pimpl.[Ch] (getStatus)
3624         * BufferView.[Ch] (getStatus): add
3625         * lyxfunc.C (getStatus): move lfuns handled in
3626         BufferView::dispatch to te function above
3627         * Cursor.C (setSelection): set selection() = true
3628
3629 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3630
3631         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3632
3633 2004-03-31  Angus Leeming  <leeming@lyx.org>
3634
3635         * lyxfunc.C (dispatch): Fall through to the generic
3636         Dialogs::show("preamble").
3637
3638 2004-03-31  Angus Leeming  <leeming@lyx.org>
3639
3640         * lyxfunc.C (dispatch): Fall through to the generic
3641         Dialogs::show("spellchecker").
3642
3643 2004-03-31  Angus Leeming  <leeming@lyx.org>
3644
3645         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3646         preferences dialog.
3647
3648 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3649
3650         * BufferView.C
3651         * cursor.[Ch]
3652         * dociterator.[Ch]:
3653         * insetiterator.[Ch]:
3654         * lyxfind.C:
3655         * lyxfunc.C:
3656         * pariterator.[Ch]:
3657         * text2.C:
3658         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3659
3660 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3661
3662         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3663         insets where we are putting the cursor.
3664
3665 2004-03-31  Angus Leeming  <leeming@lyx.org>
3666
3667         * lfuns.h:
3668         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3669
3670         * lyxrc.[Ch] (read, write): overloaded member functions taking
3671         a std::[io]stream arguments.
3672
3673         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3674
3675 2004-03-31  Angus Leeming  <leeming@lyx.org>
3676
3677         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3678         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3679
3680         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3681         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3682
3683 2004-03-31  Angus Leeming  <leeming@lyx.org>
3684
3685         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3686         the LFUN_ALL_INSETS_TOGGLE code.
3687
3688 2004-03-30  Angus Leeming  <leeming@lyx.org>
3689
3690         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3691         has died. Fall through to the generic Dialogs::show("document").
3692
3693 2004-03-30  Angus Leeming  <leeming@lyx.org>
3694
3695         * lfuns.h:
3696         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3697         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3698
3699         * lyxfunc.C (getStatus, dispatch): define the actions for these
3700         lfuns. Little more than a cut and pste job from ControlDocument.C
3701
3702         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3703
3704 2004-03-30  Angus Leeming  <leeming@lyx.org>
3705
3706         * lfuns.h:
3707         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3708         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3709
3710         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3711         open/closed state of ollapsable insets. Usage:
3712
3713         all-inset-toggle <state> <name>, where
3714         <state> == "open" || "closed" || "toggle" and
3715         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3716
3717         * lyxtext.h, text2.C (toggleInset): removed.
3718
3719         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3720         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3721         now passes LFUN_INSET_TOGGLE to the found inset.
3722
3723         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3724         is now invoked as "all-insets-toggle toggle branch".
3725
3726 2004-03-30  Angus Leeming  <leeming@lyx.org>
3727
3728         * dociterator.C:
3729         * insetiterator.C:
3730         * pariterator.[Ch]: added/corrected header blurb.
3731
3732 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3733
3734         * dociterator.[Ch]: add an inset_ member
3735         (backwardPos): implemented
3736         (backwardPos, forwardPos): use inset_ when the stack is empty.
3737         (doc_iterator_begin, doc_iterator_end): implemented
3738         * pariterator.[Ch]: adjust, add begin, end
3739         * insetiterator.[Ch]: adjust, add begin, end
3740         * cursor.C:
3741         * document.C:
3742         * BufferView.C:
3743         * BufferView_pimpl.C:
3744         * CutAndPaste.C: adjust
3745
3746 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3747
3748         * buffer.C: increment file format to 232.
3749         * LaTeXFeatures.C: add bibtopic package.
3750         * bufferparams.[Ch]: param \use_bibtopic.
3751
3752         * lyxrc.[Ch]: add lyxrc bibtex_command
3753         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3754
3755         * buffer.C: increment file format to 231.
3756
3757 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3758
3759         * dociterator.C: implement forwardPar
3760         * iterators.[Ch]: remove, replaced by
3761         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3762         * BufferView.C:
3763         * BufferView_pimpl.C:
3764         * CutAndPaste.C:
3765         * buffer.C:
3766         * bufferview_funcs.C:
3767         * cursor.C:
3768         * lyxfind.C
3769         * lyxfunc.C
3770         * paragraph_funcs.C
3771         * toc.C:
3772         * Makefile.am: adjust
3773
3774 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3775
3776         * CutAndPaste.C (pasteSelection): fix 2 crashes
3777         (eraseSelection): fix a crash
3778         * paragraph_funcs.C: remove a warning
3779
3780 2004-03-28  Angus Leeming  <leeming@lyx.org>
3781
3782         * lfuns.h:
3783         * LyXAction.C (init): new LFUN_PRINT.
3784
3785         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3786
3787 2004-03-27  Angus Leeming  <leeming@lyx.org>
3788
3789         * lfuns.h:
3790         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3791
3792         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3793
3794 2004-03-27  Angus Leeming  <leeming@lyx.org>
3795
3796         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3797         insetlist always contains non-null pointers to insets.
3798
3799 2004-03-26  Angus Leeming  <leeming@lyx.org>
3800
3801         * src/BufferView_pimpl.C:
3802         * src/CutAndPaste.C:
3803         * src/buffer.C:
3804         * src/iterators.C:
3805         * src/output_plaintext.C:
3806         * src/outputparams.h:
3807         * src/paragraph_funcs.C:
3808         * src/rowpainter.C:
3809         * src/text.C:
3810         * src/text2.C:
3811         * src/frontends/controllers/ControlErrorList.C:
3812         * src/frontends/gtk/FileDialogPrivate.C:
3813         * src/frontends/gtk/GPainter.C:
3814         * src/frontends/gtk/GToolbar.C:
3815         * src/frontends/qt2/QRef.C:
3816         * src/mathed/math_scriptinset.C: squash compiler warnings.
3817
3818 2004-03-26  Angus Leeming  <leeming@lyx.org>
3819
3820         * ispell.C (LaunchIspell::start):
3821         * lyx_cb.C (AutoSaveBuffer::start):
3822         invoke run(DontWait) rather than runNonBlocking().
3823
3824 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3825
3826         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3827
3828 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3829
3830         * kbsequence.C (print): adjust
3831
3832         * kbmap.C (printKeySym): rename and change signature
3833         (printKey): use LyXKeySym::print()
3834
3835 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3836
3837         * undo.C: add using std::advance to compile for stlport
3838
3839 2004-03-24  Angus Leeming  <leeming@lyx.org>
3840
3841         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3842         it leads to a crash when no buffer is present.
3843
3844 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3845             Martin Vermeer  <martin.vermeer@hut.fi>
3846
3847         * lyxfunc.C (dispatch):
3848         * bufferparams.C (readToken): use the new LColor::setColor
3849
3850         * LColor.[Ch] (setColor): new version that takes two strings as
3851         argument and creates a new color entry if necessary
3852
3853 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3854
3855         * buffer.C (makeLaTeXFile): if the main latex file that is
3856         processed is usually a subdocument of some master, then pretend
3857         for a while that it is actually the master
3858
3859 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3860
3861         * buffer.C (getLabelList):
3862         (getBibkeyList): use getMasterBuffer()
3863         (getMasterBuffer): new method. Returns the main document in the
3864         case where one is using included documents.
3865
3866 2004-03-25  André Pönitz  <poenitz@gmx.net>
3867
3868         * Makefile.am:
3869         * iterators.[Ch]:
3870         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3871
3872         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3873
3874         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3875         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3876
3877         * ParameterStruct.h: merge with ParagraphParameters
3878
3879         * lyxtext.h: remove LyXText::parOffset() and getPar()
3880
3881         * text3.C: Remove all 'manual' update calls. We do now one per user
3882         interaction which is completely sufficient.
3883
3884         * Bidi.C:
3885         * BufferView.[Ch]:
3886         * BufferView_pimpl.C:
3887         * FontIterator.[Ch]:
3888         * MenuBackend.C:
3889         * ParagraphParameters.[Ch]:
3890         * buffer.C:
3891         * buffer.h:
3892         * bufferlist.C:
3893         * cursor.[Ch]:
3894         * cursor_slice.[Ch]:
3895         * dociterator.[Ch]:
3896         * errorlist.[Ch]:
3897         * factory.C:
3898         * lfuns.h:
3899         * lyxfind.C:
3900         * lyxfunc.C:
3901         * output_docbook.[Ch]:
3902         * output_latex.[Ch]:
3903         * output_linuxdoc.[Ch]:
3904         * output_plaintext.[Ch]:
3905         * paragraph.[Ch]:
3906         * paragraph_funcs.[Ch]:
3907         * paragraph_pimpl.[Ch]:
3908         * rowpainter.C:
3909         * tabular.[Ch]:
3910         * text.C:
3911         * text2.C:
3912         * toc.C:
3913         * undo.[Ch]: adjust
3914
3915         * frontends/controllers/ControlDocument.C:
3916         * frontends/controllers/ControlErrorList.C:
3917         * frontends/controllers/ControlSpellchecker.C:
3918         * insets/inset.C:
3919         * insets/inset.h:
3920         * insets/insetbase.h:
3921         * insets/insetbibitem.C:
3922         * insets/insetbox.C:
3923         * insets/insetbranch.C:
3924         * insets/insetcaption.C:
3925         * insets/insetcharstyle.C:
3926         * insets/insetcharstyle.h:
3927         * insets/insetcollapsable.C:
3928         * insets/insetcollapsable.h:
3929         * insets/insetert.C:
3930         * insets/insetfloat.C:
3931         * insets/insetfoot.C:
3932         * insets/insetmarginal.C:
3933         * insets/insetnote.C:
3934         * insets/insetoptarg.C:
3935         * insets/insettabular.C:
3936         * insets/insettext.C:
3937         * insets/insettext.h:
3938         * insets/insetwrap.C:
3939         * mathed/math_mboxinset.C:
3940         * mathed/math_nestinset.C:
3941         * mathed/math_scriptinset.C:
3942         * mathed/math_scriptinset.h:
3943         * support/types.h:
3944
3945 2004-03-24  Angus Leeming  <leeming@lyx.org>
3946
3947         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3948         deal with any child processes that have finished but are waiting to
3949         communicate this fact to the rest of LyX.
3950
3951 2004-03-24  Angus Leeming  <leeming@lyx.org>
3952
3953         64-bit compile fixes.
3954
3955         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3956         (c-tor): pass lyx::pos_types rather than ints.
3957
3958         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3959         lyx::pos_type.
3960
3961         * text.C (Delete): compile fix.
3962         (getPar): ensure that function declaration is the same as that in
3963         the header file.
3964
3965 2004-03-23  Angus Leeming  <leeming@lyx.org>
3966
3967         * ispell.C (LaunchIspell):
3968         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3969         a boost::shred_ptr rather than a std::auto_ptr.
3970
3971 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3972
3973         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3974         handle LFUN_FILE_INSERT_*
3975
3976         * lyxrc.C (setDefaults, getDescription, output, read):
3977         * lyxrc.h: remove ps_command
3978
3979 2004-03-22  Angus Leeming  <leeming@lyx.org>
3980
3981         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3982         Ensure that error_handler is processed once only and that all data
3983         is saved before attempting to output any warning messages.
3984
3985         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3986
3987 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3988
3989         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3990
3991 2004-03-19  André Pönitz  <poenitz@gmx.net>
3992
3993         * cursor.[Ch] (reset): take main text inset as argument
3994
3995         * BufferView: adjust
3996         * BufferView_pimpl.C: adjust
3997
3998         * paragraph.[Ch]: fix completely broken operator=()
3999
4000 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4001
4002         * LColor.C (getFromLyXName): make sure that the color name is used
4003         as lowercase.
4004
4005 2004-03-17  Angus Leeming  <leeming@lyx.org>
4006
4007         * lfuns.h:
4008         * LyXAction.C (init): remove LFUN_FORKS_KILL.
4009
4010         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
4011         dialog and to kill a forked process.
4012
4013 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
4014
4015         * text2.C (setCursorFromCoordinates): fix font problem
4016
4017 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
4018
4019         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
4020         bogus "rebuild cursor" code
4021
4022 2004-03-11  André Pönitz  <poenitz@gmx.net>
4023
4024         * buffer.[Ch]: use InsetText instead of LyXText as container for
4025         the main lyx text.
4026
4027         * dociterator.[Ch]: drop the BufferView * member which is not needed
4028         anymore after the change to buffer.C
4029
4030         * paragraph_funcs.C:
4031         * text.C:
4032         * text2.C:
4033         * BufferView.[Ch]:
4034         * BufferView_pimpl.[Ch]:
4035         * cursor.[Ch]:
4036         * cursor_slice.[Ch]: adjust
4037
4038         * text3.C: fix bug in mathDispatch
4039
4040 2004-03-08  André Pönitz  <poenitz@gmx.net>
4041
4042         * undo.[Ch]: use 'StableDocumentIterator' as base for
4043         the Undo struct.
4044
4045 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4046
4047         * LaTeXFeatures.C:
4048         * bufferparams.[Ch]: add jurabib support and param.
4049
4050         * LaTeX.C: add FIXME/comment.
4051
4052 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4053
4054         * buffer.C: increment file format to 230.
4055
4056 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
4057
4058         * cursor.C (dispatch): avoid infinite loops
4059
4060 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4061
4062         * rowpainter.C (paintSelection): fix x coordinates
4063
4064 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4065
4066         * text.C (rowBreakPoint): fix breaking before displayed insets
4067
4068 2004-03-01  André Pönitz  <poenitz@gmx.net>
4069
4070         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
4071
4072         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4073
4074         * Makefile.am:
4075         * BufferView.C:
4076         * BufferView_pimpl.C:
4077         * buffer.C:
4078         * lyxfind.C:
4079         * lyxfunc.C:
4080         * text.C:
4081         * text2.C:
4082         * text3.C: adjust
4083
4084 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4085
4086         * lyxtext.h:
4087         * text.C:
4088         * text2.C:
4089         * rowpainter.C:
4090         * BufferView_pimpl.C: rename textwidth -> maxwidth,
4091         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4092
4093 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4094
4095         * Bidi.[Ch] (computeTables): const correctness
4096         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4097         fill_hfill, fill_label_hfill and x from Row
4098         * lyxtext.h: prepareToPrint returns a RowMetrics
4099         * rowPainter.C: adjust
4100         * text.C (prepareToPrint): use width, not textWidth. adjust
4101         (redoParagraphInternal, cursorX): adjust
4102         * text2.C (getColumnNearX): adjust
4103         (init): put a default value to the top LyXText::width
4104
4105 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4106
4107         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4108
4109 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4110
4111         * lyxtext.h: add FontIterator class
4112
4113         * text.C (FontIterator, operator*, operator->, operator++): add
4114         (rowBreakPoint, setRowWidth): adjust (fixing a
4115         rebreaking bug)
4116
4117 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4118
4119         * BufferView_pimpl.C (workAreaDispatch): allow also
4120         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4121
4122 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4123
4124         * text.C (rowBreakPoint): fix a bug showing with very large insets
4125
4126 2004-02-25  André Pönitz  <poenitz@gmx.net>
4127
4128         * text3.C:
4129         * cursor.[Ch]: move some mathed specific code to mathed
4130
4131 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4132
4133         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4134         use_tempdir in preferences
4135         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4136         tempfile creation
4137         * lyx_main.C: ensure that tempdir is valid
4138         * lyxlex.h: correct typo
4139         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4140         * paragraph.[Ch] (isMultiLingual): make const
4141         * cursor.[Ch] (openable): make const
4142
4143 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4144
4145         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4146
4147 2004-02-20  André Pönitz  <poenitz@gmx.net>
4148
4149         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4150
4151         * cursor.[Ch]: prepare for localized getStatus()
4152
4153         * lyxtext.h:
4154         * tabular.C:
4155         * text.C:
4156         * text2.C:
4157         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4158
4159 2004-02-20  André Pönitz  <poenitz@gmx.net>
4160
4161         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4162
4163 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4164
4165         * text2.C (setCursorFromCoordinates): switch to absolute coords
4166         (cursorUp): adjust
4167         (cursorDown): adjust
4168         * text3.C (dispatch): adjust
4169
4170 2004-02-16  André Pönitz  <poenitz@gmx.net>
4171
4172         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4173           insets/ChangeLog)
4174
4175         * cursor_slice.[Ch]: remove unneeded acessor function
4176
4177         * lyxtext.h: rename rtl() to isRTL()
4178
4179         * rowpainter.C:
4180         * tabular.C:
4181         * text.C:
4182         * text2.C:
4183         * text3.C: adjust
4184
4185 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4186
4187         * rowpainter.C (paintSelection): coord fix
4188
4189 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4190
4191         * Spacing.C: compile fix
4192
4193 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4194
4195         * cursor.C (dispatch): restore current_ before returning
4196
4197 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4198
4199         * text2.C (cursorUp, cursorDown): fix coords
4200         (moveUp): fix crash
4201
4202 2004-02-12  André Pönitz  <poenitz@gmx.net>
4203
4204         * lyxtext.h:
4205         * text.C:
4206         * text2.C:
4207         * text3.C: add LCursor & parameter to most cursor movement functions
4208           remove usage of LyXText::cursorRow() and cursorPar()
4209
4210         * cursor.[Ch]: add textRow() needed members
4211
4212         * BufferView.C:
4213         * BufferView_pimpl.C:
4214         * paragraph.[Ch]:
4215         * BufferView.C:
4216         * BufferView_pimpl.C: adjust
4217
4218 2004-02-11  André Pönitz  <poenitz@gmx.net>
4219
4220         * lyxfunc.C:
4221         * BufferView.[Ch]:
4222         * BufferView_pimpl.C: shift undo/redo handling
4223
4224         * cursor.[Ch]: fix mathed crash
4225
4226         * lyxfind.C:
4227         * lyxtext.h: move selectionAsText to LCursor
4228
4229         * output_latex.C:
4230         * paragraph.C:
4231         * text.C:
4232         * text2.C:
4233         * text3.C: adjust
4234
4235         * rowpainter.C: fix excessive drawing
4236
4237 2004-02-06  André Pönitz  <poenitz@gmx.net>
4238
4239         * BufferView.[Ch]:
4240         * BufferView_pimpl.[Ch]:
4241         * text3.C: move some text specific LFUN handling
4242
4243 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4244
4245         * text3.C (checkInsetHit): adjust coords
4246         * text2.C (getColumnNearX): adjust coords
4247         (edit): adjust coords
4248         * text.C (getRowNearY): add two asserts
4249
4250 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4251
4252         * converter.C:
4253         * format.C: add using std::distance to compile on gcc 2.95/stlport
4254
4255 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4256
4257         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4258
4259 2004-02-04  André Pönitz  <poenitz@gmx.net>
4260
4261         * BufferView.[Ch] (insertInset):
4262         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4263
4264         * text2.C:
4265         * text3.C: adjust
4266
4267 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4268
4269         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4270         on the default clause of the switch
4271         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4272         wasn't catched by LCursor::dispatch
4273
4274 2004-02-03  André Pönitz  <poenitz@gmx.net>
4275
4276         * BufferView.C:
4277         * cursor.[Ch]: some additional asserts
4278
4279         * undo.[Ch]: remove LyXText dependency in interface
4280
4281         * lyxfunc.C: adjust
4282
4283         * lyxtext.h (firstPar, lastPar): remove dead functions
4284
4285         * text.C:
4286         * text2.C:
4287         * text3.C:
4288         * paragraph.[Ch]: adjust
4289
4290 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4291
4292         * lyxfind.C (find): fix argument order in call to ::find
4293
4294 2004-02-02  André Pönitz  <poenitz@gmx.net>
4295
4296         * cursor.[Ch]: remove direct access to anchor
4297
4298         * text.C: remove findText() hack
4299
4300 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4301
4302         * iterators.[Ch] (lockPath): remove in favour of...
4303         * BufferView.[Ch] (setCursor): this addition
4304         * BufferView.C (putSelectionAt): adjust
4305         * undo.C (performUndoOrRedo): adjust
4306         * lyxfunc.C (dispatch): adjust
4307
4308 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4309
4310         * iterators.C (lockPath): add a missing slice
4311         * undo.C (performUndoOrRedo): remove redundant positioning code
4312
4313 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4314
4315         * vc-backend.C (scanMaster): ";" -> ';'
4316
4317 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4318
4319         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4320         std::binary_function
4321
4322         * lyxtextclass.C (compare_name): rename to...
4323         (LayoutNamesEqual): ...this
4324
4325         * lyxlex_pimpl.C (compare_tags): inherit from
4326         std::binary_function, put back into anon namespace
4327
4328         * lyxfind.C (MatchString): inherig from std::binary_function
4329         (findChange): use empty() istead of !size()
4330
4331         * format.C (FormatNamesEqual): new functor
4332         (getFormat): use it
4333         (getNumber): use it
4334         (add): use it
4335         (erase): use it
4336         (setViewer): use it
4337
4338         * converter.C (compare_Converter): rename to...
4339         (ConverterEqual): ...this, and fixup a bit.
4340         (getConverter): use it, and make function const
4341         (getNumber): use it, and make function const
4342         (add): use it
4343         (erase): use it:
4344
4345         * bufferlist.C: add using boost::bind
4346
4347         * MenuBackend.C (MenuNamesEqual): new functor
4348         (hasMenu): use it, and make function const
4349         (hasSubmenu): use nested bind to get rid of compare_memfun.
4350
4351 2004-01-30  André Pönitz  <poenitz@gmx.net>
4352
4353         * BufferView_pimpl.C:
4354         * cursor.C:
4355         * cursor.h:
4356         * cursor_slice.[Ch]:
4357         * lyxfunc.C:
4358         * lyxtext.h:
4359         * paragraph_funcs.C:
4360         * paragraph_funcs.h:
4361         * rowpainter.C:
4362         * text.C:
4363         * text2.C:
4364         * text3.C: move some of the edit(x,y) handling to the insets
4365         some coordinate changes.
4366
4367 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4368
4369         * text.C: add using statements for std::advance and std::distance
4370
4371         * paragraph.C: add using statement for std::distance
4372
4373         * lyxfind.C: add using statement for std::advance
4374
4375         * cursor.C (region): remove std:: from swap
4376         (openable): use nucleus in stead of operator->
4377
4378         * BufferView.C: add using statements for std::distance and std::swap
4379
4380 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4381
4382         * iterators.C: Remove the pimple, move the needed structures to
4383         the header file. Create accessor for the positions stack.
4384         (asPosIterator): remove function
4385
4386         * PosIterator.C (PosIterator): move constructors to top of file
4387         (PosIterator): reimplement the constructor taking a ParIterator in
4388         terms of setFrom.
4389         (setFrom): new function
4390         (operator!=): inline it
4391
4392 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4393
4394         * lyxfind.C (replaceAll): use std::advance
4395
4396         * iterators.h: inherit from std::iterator.
4397
4398         * PosIterator.C (advance, distance): remove
4399         * PosIterator.h: interit from std::iterator.
4400
4401 2004-01-26  André Pönitz  <poenitz@gmx.net>
4402
4403         * BufferView.[Ch]:
4404         * BufferView_pimpl.[Ch]:
4405         * InsetList.[Ch]:
4406         * PosIterator.[Ch]:
4407         * buffer.h:
4408         * bufferview_funcs.C:
4409         * cursor.[Ch]:
4410         * cursor_slice.h:
4411         * factory.[Ch]:
4412         * iterators.[Ch]:
4413         * lyxfind.C:
4414         * lyxfunc.C:
4415         * lyxtext.h:
4416         * output_docbook.C:
4417         * output_latex.C:
4418         * output_linuxdoc.C:
4419         * output_plaintext.C:
4420         * paragraph.[Ch]:
4421         * paragraph_funcs.[Ch]:
4422         * paragraph_pimpl.[Ch]:
4423         * rowpainter.C:
4424         * tabular.C:
4425         * tabular.h:
4426         * text.C:
4427         * text2.C:
4428         * text3.C: more IU:  dumps most of the rest of the mathcursor
4429     implementation into cursor.[Ch]; "globalize" a bit of it.
4430
4431 2004-01-25  Angus Leeming  <leeming@lyx.org>
4432
4433         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4434
4435 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4436
4437         * LaTeXFeatures.h: add nice_ and nice() const
4438         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4439
4440 2004-01-20  André Pönitz  <poenitz@gmx.net>
4441
4442         * BufferView.[Ch]:
4443         * BufferView_pimpl.C:
4444         * PosIterator.C:
4445         * bufferview_funcs.C:
4446         * cursor.[Ch]:
4447         * cursor_slice.[Ch]:
4448         * factory.C:
4449         * iterators.C:
4450         * lyx_cb.C:
4451         * lyxfind.C:
4452         * lyxfunc.C:
4453         * lyxtext.h:
4454         * rowpainter.C:
4455         * text.C:
4456         * text2.C:
4457         * text3.C:
4458         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4459           LCursor and mathcursor parts to LCursor and InsetBase.
4460
4461 2004-01-15  André Pönitz  <poenitz@gmx.net>
4462
4463         * cursor_slice.[Ch]: add a few covienience functions
4464
4465         * funcrequest.[Ch]: remove BufferView * member
4466
4467         * BufferView_pimpl.C:
4468         * cursor.C:
4469         * factory.[Ch]:
4470         * lyxfind.[Ch]:
4471         * lyxfunc.C:
4472         * lyxtext.h:
4473         * text3.C:
4474         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4475
4476 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4477
4478         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4479         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4480
4481 2004-01-13  André Pönitz  <poenitz@gmx.net>
4482
4483         * textcursor.[Ch]:
4484         * lyxtext.h: hide cursor and selection anchor behind accessor function
4485
4486         * BufferView.C:
4487         * BufferView_pimpl.[Ch]:
4488         * PosIterator.C:
4489         * bufferview_funcs.C:
4490         * cursor.h:
4491         * lyxfind.C:
4492         * lyxfunc.C:
4493         * text.C:
4494         * text2.C:
4495         * text3.C:
4496         * undo.C: adjust
4497
4498         * cursor.h:
4499         * cursor_slice.[Ch]: some integer type changes for inset unification
4500
4501         * lyxcursor.[hC]: remove, it's CursorSlice now.
4502
4503         * Makefile.am:
4504         * BufferView_pimpl.[Ch]:
4505         * bufferview_funcs.C:
4506         * cursor_slice.C:
4507         * lyxtext.h:
4508         * text.C:
4509         * text2.C:
4510         * text3.C:
4511         * textcursor.[Ch]: adjust
4512
4513 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4514
4515         * text2.C (undoSpan): add and use
4516         * text.C (breakParagraph): use undoSpan (fix bug 578)
4517         * lyxtext.h: adjust
4518
4519 2004-01-08  Angus Leeming  <leeming@lyx.org>
4520
4521         * BufferView_pimpl.C (MenuInsertLyXFile):
4522         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4523         * lyxfunc.C (menuNew, open, doImport):
4524         FileFilterList change to the FileDialog open and save functions.
4525
4526 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4527
4528         * ShareContainer.h: make isEqual and isUnique adaptable
4529
4530         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4531
4532 2004-01-07  Angus Leeming  <leeming@lyx.org>
4533
4534         * LyXAction.C:
4535         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4536
4537         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4538
4539         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4540         functions replacing find, replace and replaceAll.
4541
4542         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4543         LFUN_WORDFIND(FORWARD|BACKWARD).
4544
4545 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4546
4547         * text.C (breakParagraph): remove an outdated #warning
4548
4549 2004-01-07  André Pönitz  <poenitz@gmx.net>
4550
4551         * lyxfind.C: somewhat clearer logic
4552
4553         * text.C: prevent crash in cursorX on unitialized row cache
4554
4555 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4556
4557         * lyxcursor.[Ch] (operator>): add
4558         * textcursor.C (selStart, selEnd): use std::min and std::max
4559
4560 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4561
4562         * Chktex.C: include boost/format.hpp
4563
4564 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4565
4566         * InsetList.C: replace functor MathcIt with adaptable functor
4567         InsetTablePosLess
4568         (insetIterator): modify accordingly
4569
4570         * BranchList.h: move the BranchNamesEqual functor here from...
4571         * BranchList.C: ... to here
4572
4573         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4574         SameName and match.
4575         (add): replace a finding loop with std::find_if.
4576
4577 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4578
4579         * output_docbook.C: moving LatexParam functionality into
4580         .layout files
4581
4582 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4583
4584         * buffer.C: increment format to 229.
4585
4586 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4587
4588         * LaTeXFeatures.C:
4589         * lyx_sty.[Ch]: remove minipageindent_def
4590
4591         * LyXAction.C:
4592         * factory.C:
4593         * lfuns.h:
4594         * lyxfunc.C:
4595         * text3.C: remove LFUN_INSET_MINIPAGE
4596
4597 2003-12-28  Angus Leeming  <leeming@lyx.org>
4598
4599         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4600
4601 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4602
4603         * text2.C (setParagraph): fix off-by-one crash
4604
4605 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4606
4607         * output_docbook.C: header stuff for AGU
4608
4609 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4610
4611         * text2.C (redoCursor): remove
4612         * text.C:
4613         * text3.C:
4614         * BufferView_pimpl.C: remove calls to redoCursor and
4615         setCursor(cursor.par(), cursor.pos()) all around
4616
4617 2003-12-15  Angus Leeming  <leeming@lyx.org>
4618
4619         * buffer.C: up the format to 228.
4620
4621 2003-12-15  André Pönitz  <poenitz@gmx.net>
4622
4623         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4624         slices
4625
4626         * Makefile.am:
4627
4628         * BufferView_pimpl.C:
4629         * cursor.[Ch]:
4630         * lyxcursor.[Ch]:
4631         * rowpainter.[Ch]:
4632         * lyxtext.h:
4633         * text.C:
4634         * text2.C:
4635         * text3.C: adjust
4636
4637 2003-12-15  Angus Leeming  <leeming@lyx.org>
4638
4639         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4640         than getFromGUIName to manipulate the color.
4641
4642 2003-12-14  Angus Leeming  <leeming@lyx.org>
4643
4644         * BranchList.[Ch]: minimize the API.
4645         (Branch::getBranch, getColor): now return a 'const &'.
4646         (Branch::setSelected) now returns a bool set to true if the
4647         selection status changes.
4648         (BranchList::clear, size, getColor, setColor, setSelected,
4649         allBranches, allSelected, separator): removed.
4650         (BranchList::find): new functions, returning the Branch with
4651         the given name.
4652         (BranchList::add, remove): return a bool indicating that
4653         the operation was successful.
4654
4655         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4656         new InsetBranch::isBranchSlected member function.
4657
4658         * LColor.[Ch]: mimimize the API.
4659         (fill): renamed as addColor and made private.
4660         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4661         versions of these functions taking a string arg have been removed.
4662
4663         * bufferparams.C (readToken):
4664         * lyxfunc.C (dispatch):
4665         * lyxrc.C (read): changes due to the altered BranchList and
4666         LColor APIs.
4667
4668         * factory.C (createInset, readInset): changes due to altered
4669         InsetBranch c-tor.
4670
4671 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4672
4673         * factory.C:
4674         * lyxfunc.C: remove insetminipage. "minipage-insert"
4675         now produces a frameless minipage box inset.
4676
4677 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4678
4679         * textcursor.[Ch] (selStart,selEnd): add new methods
4680         remove selection::start, end, use LyXCursor::operator<
4681         * lyxcursor.[Ch] (operator<): add
4682         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4683         * BufferView.[Ch] (unsetXSel): add
4684         * text2.C (clearSelection): use unsetXSel,adjust
4685         * text.C: adjust
4686         * text3.C: adjust
4687         * rowpainter.C: adjust
4688         * bufferview_funcs.C (put_selection_at): adjust
4689
4690 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4691
4692         * BufferView_pimpl.C: small coord. correction
4693
4694 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4695
4696         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4697         dragging over the splash screen.
4698
4699 2003-12-11  Angus Leeming  <leeming@lyx.org>
4700
4701         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4702         as it is now handled in LyXText::dispatch.
4703
4704         * text3.C (doInsertInset): remove a level of nesting.
4705
4706 2003-12-11  Angus Leeming  <leeming@lyx.org>
4707
4708         * factory.C (createInset): changes due to the changed interface to
4709         InsetCommandMailer::string2params.
4710
4711 2003-12-10  Angus Leeming  <leeming@lyx.org>
4712
4713         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4714         'dialog-show-new-inset <inset name>'
4715
4716 2003-12-10  Angus Leeming  <leeming@lyx.org>
4717
4718         * buffer.C: up the format to 227.
4719
4720         * factory.C: the box inset is now identified simply by 'Box'.
4721
4722 2003-12-10  Angus Leeming  <leeming@lyx.org>
4723
4724         * buffer.C: up the format to 226.
4725
4726         * factory.C: the note inset is now identified simply by 'Note'.
4727
4728 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4729
4730         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4731         when a pit is enough. Standarize a couple of loops.
4732
4733 2003-12-05  Angus Leeming  <leeming@lyx.org>
4734
4735         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4736         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4737         data to the re-worked "log" dialog.
4738
4739 2003-12-03  André Pönitz  <poenitz@gmx.net>
4740
4741         * PosIterator.C:
4742         * iterators.C:
4743         * lyxtext.h:
4744         * output_latex.C:
4745         * paragraph_funcs.C:
4746         * text.C:
4747         * text2.C: use Inset::getText instead of Inset::getParagraph
4748
4749 2003-12-03  André Pönitz  <poenitz@gmx.net>
4750
4751         * buffer.[Ch]:
4752         * lyxtext.h:
4753         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4754         InsetText::read() as LyXText::read()
4755
4756 2003-12-02  Angus Leeming  <leeming@lyx.org>
4757
4758         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4759         type. Add a comment in the implementation that the function uses
4760         the stream's bad() function rather than fail() as the std::streams
4761         would do.
4762
4763 2003-12-02  André Pönitz  <poenitz@gmx.net>
4764
4765         * lyxlex.[Ch]: make interface more similar to std::stream
4766
4767         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4768
4769 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4770
4771         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4772
4773 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4774
4775         * vspace.[Ch]: remove VSpace::NONE
4776
4777 2003-12-01  André Pönitz  <poenitz@gmx.net>
4778
4779         * buffer.[Ch]:
4780         * lyxtext.h: move ParagraphList member to LyXText
4781         rename LyXText::ownerParagraphs to LyXText::paragraph
4782
4783         * CutAndPaste.C:
4784         * bufferview_funcs.C:
4785         * iterators.[Ch]:
4786         * lyx_cb.C:
4787         * paragraph.C:
4788         * rowpainter.C:
4789         * tabular.C:
4790         * text.C:
4791         * text2.C:
4792         * text3.C: adjust
4793
4794         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4795
4796         * undo.C: fix cursor positioning
4797
4798 2003-12-01  John Levon  <levon@movementarian.org>
4799
4800         * BufferView_pimpl.C: fix a crash on exit with
4801         a buffer open
4802
4803 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4804
4805         * BranchList.C: fix setSelected() method.
4806
4807 2003-11-28  André Pönitz  <poenitz@gmx.net>
4808
4809         * ParagraphParameters.[Ch]:
4810         * ParameterStruct.h: remove space above/below from Paragraph to
4811          InsetVSpace
4812
4813         * BufferView_pimpl.C:
4814         * factory.C:
4815         * lyxfunc.C:
4816         * lyxtext.h:
4817         * output_latex.C:
4818         * paragraph.C:
4819         * paragraph_funcs.C:
4820         * rowpainter.[Ch]:
4821         * text.C:
4822         * text2.C:
4823         * text3.C: adjust
4824
4825 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4826
4827         * factory.C: Syntax change for CharStyles
4828
4829 2003-11-28  André Pönitz  <poenitz@gmx.net>
4830
4831         * BufferView.[Ch]:
4832         * BufferView.[Ch]:
4833         * buffer.[Ch]:
4834         * buffer.[Ch]: move LyXText member
4835
4836 2003-11-28  André Pönitz  <poenitz@gmx.net>
4837
4838         * BufferView.[Ch]: make LyXText * text a private member
4839
4840         * BufferView_pimpl.C:
4841         * cursor.C:
4842         * iterators.C:
4843         * lyx_cb.C:
4844         * lyxfind.C:
4845         * lyxtext.h:
4846         * rowpainter.[Ch]:
4847         * text.C:
4848         * text2.C:
4849         * undo.C: adjust
4850
4851         * output_plaintext.C: cleanup
4852
4853 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4854
4855         * buffer.C:
4856         * lyxtextclass.[Ch]: parametrize SGML document header
4857
4858 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4859
4860         * converter.[Ch]:
4861         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4862         getFlavor().
4863
4864 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4865
4866         * text2.C (setFont): rework using PosIterator (no more recursive)
4867         (setCharFont): no more needed
4868         (setLayout): no more selection cursors fiddling (done by redoCursor)
4869         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4870         destroy remaining ones)
4871
4872 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4873
4874         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4875         * lyxtext.h: ditto
4876         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4877         selection cursors
4878         * lyxfunc.C: adjust
4879         * text3.C: adjust + re-allow multi par depth changes
4880         * textcursor.C: simplify a bit
4881
4882 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4883
4884         * src/buffer.C:
4885         * src/lyxlayout.C:
4886         * src/lyxlayout.h:
4887         * src/lyxtext.h:
4888         * src/output_docbook.C:
4889         * src/output_latex.C:
4890         * src/paragraph.C:
4891         * src/paragraph.h:
4892         * src/sgml.C:
4893         * src/sgml.h:
4894         * src/text2.C: Introducing a number of tags parametrizing various
4895         XML formats that we may want to support
4896
4897 2003-11-25  André Pönitz  <poenitz@gmx.net>
4898
4899         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4900
4901         * lyxtext.h (leftMargin/rightMargin): simplify interface
4902
4903         * rowpainter.C:
4904         * text.C:
4905         * text2.C:
4906         * text3.C: adjust
4907
4908 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4909
4910         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4911         master file to any child files. Fixes bug 546.
4912
4913 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4914
4915         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4916
4917 2003-11-24  André Pönitz  <poenitz@gmx.net>
4918
4919         * rowpainter.C: simplification
4920
4921         * text2.C (updateCounters): remove call to redoParagraph on
4922         changed labels as this is far too expensive.
4923
4924 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4925
4926         * converter.C (convert): fix a crash: this function gets
4927         called with buffer == 0 from importer code.
4928
4929 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4930
4931         * text3.C (cursorPrevious): make sure that we do not compare
4932         iterators form different containers.
4933         (cursorNext): ditto
4934
4935         * rowpainter.C (paintSelection): make sure that we do not compare
4936         iterators from different containers.
4937
4938         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4939         iterators from different ParagraphList containers.
4940         [NEXT] ditto
4941
4942         * text2.C (LyXText): change order of initialization slightly
4943         (operator=): new function. copy all variables except cache_par_
4944         (moveUp): make sure that we do not compare iterators from
4945         different ParagraphList constainers.
4946         (moveDown): ditto
4947
4948         * text.C (firstPar): new function
4949         (lastPar): new function
4950         (endPar): new function
4951
4952         * lyxtext.h: move things around and group public functions, public
4953         variables, private functions, private variables
4954
4955 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4956
4957         * factory.C: change call to InsetERT constructor to avoid
4958         additional invocation of method status
4959         * text2.C (toggleInset): remove redundant update() call
4960         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4961         instead of a Bufferview pointer
4962
4963 2003-11-21  André Pönitz  <poenitz@gmx.net>
4964
4965         * rowpainter.C: simplification
4966
4967 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4968
4969         * text3.C (dispatch): make possible to extend a word/row selection
4970         with the mouse
4971
4972 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4973
4974         * lyxtext.h: x0_,y0_ -> xo_,yo_
4975         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4976         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4977         * rowpainter.C (paintRows): paint full paragraphs
4978
4979 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4980
4981         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4982         screen coordinates)
4983
4984 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4985
4986         * lyxtext.h: add x0_, y0_
4987         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4988         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4989
4990 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4991
4992         * text2.C (setCursorIntern): move the x_target update here *
4993         * text3.C: change some bv() to true/false in calls to
4994         cursorUp/Down/Right/Left
4995         * cursor.C: use helper function.
4996
4997 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4998
4999         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
5000         * paragraph_funcs.[Ch]: correct comment
5001         * rowpainter.C: do not paint selections away from bv->cursor()
5002         Fix a long standing selection painting bug.
5003         * text3.C: generalize mouse-selection code to LyXTexts other that
5004         top one
5005         * textcursor.C: do not use y coords if we can use par offsets
5006
5007 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
5008
5009         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
5010         cursor position after e.g. inset insert)
5011
5012 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
5013
5014         * lyxfind.C (replace): adjust to locking removal + some
5015         code simplification
5016
5017 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
5018
5019         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
5020         of the path
5021
5022 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
5023
5024         * lyxlayout.[Ch]:
5025         * output_docbook.C: XML sanitation: new layout
5026         parameters InnerTag and CommandDepth
5027
5028 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
5029
5030         * BufferView_pimpl.C:
5031         * factory.C:
5032         * text3.C: Fix the insertion and modification of button-style
5033         insets
5034
5035 2003-11-13  André Pönitz  <poenitz@gmx.net>
5036
5037         * InsetList.[Ch]: remove deleteLyXText
5038
5039         * paragraph.[Ch]: cache beginOfBody position
5040
5041         * Bidi.C:
5042         * text.C:
5043         * text2.C:
5044         * text3.C: remove superfluous update() calls
5045
5046         * vspace.C: cleanup
5047
5048 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
5049
5050         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5051         * BufferView.C (fitLockedInsetCursor): remove
5052         * cursor.[Ch] (getDim): add
5053         * text.C (getRowNearY): add faster version
5054         * text3.C: remove some update calls
5055
5056 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
5057
5058         * LaTeXFeatures.C:
5059         * LyXAction.C:
5060         * MenuBackend.C:
5061         * MenuBackend.h:
5062         * dispatchresult.h:
5063         * factory.C:
5064         * lfuns.h:
5065         * lyxfunc.C:
5066         * lyxtextclass.C:
5067         * lyxtextclass.h:
5068         * text3.C: The Character Style /XML short element patch.
5069
5070 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
5071
5072         * text3.C:
5073         * factory.C: Small step to solving 'unable to insert some insets'
5074         problem
5075
5076 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
5077
5078         * cursor.[Ch] (updatePos): new function for updating the y
5079         position of the tip inset
5080         * bufferview_funcs.C (put_selection_at):
5081         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5082
5083 2003-11-11  André Pönitz  <poenitz@gmx.net>
5084
5085         * text.C: remove big comment on invalid Paragraph pointers as it is
5086         not valid anymore
5087
5088 2003-11-11  André Pönitz  <poenitz@gmx.net>
5089
5090         * text_funcs.[Ch]: merge with ...
5091
5092         * text.C: ... this
5093
5094         * lyxtext.h:
5095         * text2.C:
5096         * text3.C: adjust
5097
5098         * Makefile.am: remove text_funcs.[Ch]
5099
5100 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5101
5102         * cursor.C (getPos): return absolute cached y coord
5103
5104         * BufferView_pimpl.C (fitCursor): new simplistic code
5105         (workAreaDispatch): add a fitCursor call
5106
5107 2003-11-10  André Pönitz  <poenitz@gmx.net>
5108
5109         * BufferView.[Ch]:
5110         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5111
5112 2003-11-10  André Pönitz  <poenitz@gmx.net>
5113
5114         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5115         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5116         indicate that the cursor needs to leave an inset
5117
5118         * lyxtext.h: remove inset locking
5119
5120         * cursor.[Ch]: re-implement functionality provided by inset locking
5121
5122         * BufferView.[Ch]:
5123         * BufferView_pimpl.[Ch]:
5124         * LyXAction.C:
5125         * bufferview_funcs.[Ch]:
5126         * factory.C:
5127         * funcrequest.[Ch]:
5128         * iterators.C:
5129         * lyx_cb.C:
5130         * lyxfind.C:
5131         * lyxfunc.C:
5132         * text.C:
5133         * text2.C:
5134         * text3.C:
5135         * undo.C: adjust
5136
5137 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * PosIterator.[Ch]: replace the stack with a vector, add inset
5140         accesor
5141         * iterators.[C]: adjust
5142
5143 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5144
5145         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5146         replaced
5147         * paragraph_funcs.C (readParToken): put the correct id in the
5148         error item, not the id of the top paragraph
5149
5150 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5151
5152         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5153         * bufferview_funcs.C (put_selection_at): use the above
5154
5155 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5156
5157         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5158
5159 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5160
5161         * output_linuxdoc.h:
5162         * output_plaintext.h:
5163         * output.h:
5164         * output_docbook.h: add #include statements
5165
5166 2003-11-05  José Matos  <jamatos@lyx.org>
5167
5168         * output_docbook.[Ch]:
5169         * output_latex.[Ch]:
5170         * output_linuxdoc.[Ch]:
5171         * output_plaintext.[Ch]: New files for output formats.
5172         * output.[Ch]: New file for helper functions.
5173
5174         * buffer.[Ch]:
5175         * paragraph_funcs.[Ch]: output functions moved to new files.
5176
5177         * outputparams.h: rename of latexrunparams.h
5178
5179         * LaTeX.[Ch]:
5180         * buffer.[Ch]:
5181         * bufferlist.[Ch]:
5182         * converter.[Ch]:
5183         * exporter.C:
5184         * paragraph.[Ch]:
5185         * paragraph_funcs.[Ch]:
5186         * paragraph_pimpl.[Ch]:
5187         * tabular.[Ch]: rename ascii to plaintext
5188         and LatexRunParams to OutputParams.
5189
5190 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5191
5192         * iterators.[Ch] (text): require bv argument
5193         * undo.C (recordUndo):
5194         * lyxfunc.C (dispatch):
5195         * bufferview_funcs.C (put_selection_at): adjust
5196
5197 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5198
5199         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5200
5201 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5202
5203         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5204         nestings
5205
5206 2003-11-04  André Pönitz  <poenitz@gmx.net>
5207
5208         * cursor.[Ch]: restructure
5209
5210         * BufferView.[Ch]:
5211         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5212
5213         * iterators.[Ch] (asCursor): remove
5214
5215         * lfuns.h: remove LFUN_INSET_EDIT
5216
5217         * lyxfunc.C:
5218         * tabular.C:
5219         * text.C:
5220         * text2.C:
5221         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5222
5223 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5224
5225         * lyxfind.[Ch]: complete overhaul
5226         * BufferView_pimpl.C:
5227         * lyxfunc.C: adjust
5228         * paragraph.[Ch] (insert): add
5229
5230 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5231
5232         * BufferView.[Ch]:
5233         * lyxtext.h:
5234         * text.C: remove dead spellcheck code
5235
5236 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5237
5238         * dispatchresult.h: add a val setter
5239
5240         * cursor.C (dispatch): use a tempvar for data_[i]
5241
5242 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5243
5244         * PosIterator.[Ch]: compile fix
5245
5246 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5247
5248         * text.C (cursorPar): deactivate the cursor cache
5249
5250 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5251
5252         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5253
5254 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5255
5256         * text3.C (dispatch): adjust for new DisptchResult semantics.
5257
5258         * lyxfunc.C (dispatch): handle update when return from
5259         Cursor::dispatch, adjust for new DispatchResult semantics.
5260
5261         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5262         DispatchResult(true) mean to not update. Add class functions for
5263         setting dispatched and update, as well as reading.
5264
5265         * cursor.C (dispatch): don't handle update here
5266
5267 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5270         * trans_mgr.C: adjust
5271
5272         * paragraph_funcs.C (readParToken): exception safety
5273
5274         * lyxvc.h: store the vcs pointer in a scoped_ptr
5275         * lyxvc.C: adjust
5276
5277         * lyxsocket.C (serverCallback): exception safety
5278
5279         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5280
5281         * ispell.C (clone): make it return a auto_ptr
5282
5283         * factory.C (createInset): exception safety
5284         (readInset): exception safety
5285
5286         * bufferlist.C (newBuffer): exception safety
5287
5288         * Thesaurus.C (Thesaurus): use initialization for aik_
5289
5290         * MenuBackend.C (expandToc): exception safety.
5291
5292 2003-11-03  André Pönitz  <poenitz@gmx.net>
5293
5294         * buffer.C:
5295         * buffer.h:
5296         * bufferview_funcs.C: remove getInsetFromId()
5297
5298         * lyxcursor.[Ch]:
5299         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5300
5301         * lyxfunc.C:
5302         * text2.C:
5303         * text3.C: adjust
5304
5305 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5306
5307         * PosIterator.C (distance, advance): new
5308         * bufferview_funcs.[Ch] (put_selection_at): new
5309         * iterators.[Ch] (lockPath): new
5310
5311 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5312
5313         * iterators.[Ch] (asPosIterator): added
5314         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5315         * PosIterator.[Ch]: added
5316
5317 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5318
5319         * text3.C:
5320         * lyxfunc.C:
5321         * cursor.C (dispatch):
5322         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5323
5324         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5325         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5326         contructor, add a class function dispatched. Remove operator>=
5327
5328 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5329
5330         * debug.C: only use the default constructor for debugstream
5331         (lyxerr) here.
5332
5333         * main.C (main): include debug.h and setup the lyxerr streambuf
5334         here.
5335
5336 2003-10-31  José Matos  <jamatos@lyx.org>
5337
5338         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5339
5340         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5341         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5342         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5343         * paragraph_pimpl.C (simpleTeXSpecialC):
5344         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5345         add LatexRunParams argument.
5346
5347         * exporter.C (Export): change call accordingly.
5348
5349         * latexrunparams.h: add new member to take care of the other backends.
5350 2003-10-30  José Matos  <jamatos@lyx.org>
5351
5352         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5353         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5354         factorise code for paragraph output.
5355         * buffer.[Ch]:
5356         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5357         move functions.
5358
5359 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5360
5361         * text3.C (dispatch):
5362         * lyxfunc.C (dispatch):
5363         * cursor.C (dispatch):
5364         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5365
5366         * dispatchresult.h: make the dispatch_result_t ctor explicit
5367
5368 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5369
5370         * sgml.[Ch]:
5371         * buffer.C: small refactoring of docbook stuff
5372
5373 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5374
5375         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5376         meaning.
5377
5378 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5381         operator dispatch_result_t, and operators for == != and >=
5382
5383         * cursor.C (dispatch): adjust for operator dispatch_result_t
5384         removal. comment out call to update
5385
5386         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5387
5388 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5389
5390         * text3.C:
5391         * text2.C:
5392         * text.C:
5393         * lyxtext.h:
5394         * lyxfunc.C:
5395         * cursor.C:
5396         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5397         (dispatch):
5398
5399         * dispatchresult.h: new file, DispatchResult broken out of
5400         insets/insetbase.h
5401
5402         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5403
5404 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5405
5406         * text.C (rowBreakPoint): put a hack inside #if 0
5407
5408 2003-10-28  André Pönitz  <poenitz@gmx.net>
5409
5410         * lyxtext.h:
5411         * metricsinfo.C:
5412         * paragraph_funcs.C:
5413         * rowpainter.C:
5414         * text.C:
5415         * text2.C: general cleanup (lots of small stuff)
5416
5417 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5418
5419         * text2.C (cursorEnd): simple fix to the "end key goes to one
5420         before the end on last row" bug
5421
5422 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5423
5424         * text.C (backspace): fix the "zombie characters"
5425
5426 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5427
5428         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5429
5430 2003-10-27  André Pönitz  <poenitz@gmx.net>
5431
5432         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5433
5434         * factory.C: handle new InsetPagebreak, InsetLine
5435
5436         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5437         and move handling into new InsetPagebreak, InsetLine
5438
5439         * BufferView_pimpl.C:
5440         * LyXAction.C:
5441         * ParagraphParameters.C:
5442         * ParameterStruct.h:
5443         * lyxfunc.C:
5444         * lyxtext.h:
5445         * paragraph.C:
5446         * paragraph.h:
5447         * paragraph_funcs.C:
5448         * paragraph_pimpl.C:
5449         * rowpainter.C:
5450         * text.C:
5451         * text2.C:
5452         * text3.C: adjust
5453
5454 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5455
5456         * text.C:
5457         * lyxrow_funcs.[Ch]:
5458         * Bidi.C:
5459         * paragraph.C:
5460         * lyxtext.h:
5461         * rowpainter.C:
5462         * text2.C:
5463         * text3.C: remove lastPos uses in favour of Row::endpos
5464
5465 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5466
5467         * undo.C (performUndoOrRedo): fix two crashes by setting a
5468         cursor by hand and reordering some calls. Use bv->lockInset instead
5469         of inset->edit because the latter loses cursor information
5470
5471 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5472
5473         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5474         by Martin
5475         (rowBreakPoint): fix width. change point to point + 1.
5476         Add a missing check.
5477
5478 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5479
5480         * MenuBackend.C:
5481         * lyxfunc.C: fix (at least partly) the problems
5482         with the Nav menu and headers inside branch insets
5483         reported by Kayvan
5484
5485 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5486
5487         * paragraph.C (getChar): add strong asserts
5488
5489         * lyxrow_funcs.C (lastPos): remove hideous hack
5490
5491         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5492         (fill): adjust to that (avoid an infinite loop)
5493
5494 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5495
5496         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5497
5498 2003-10-23  André Pönitz  <poenitz@gmx.net>
5499
5500         * RowList_fwd.h: change list<> to vector<> to gain speed
5501         after suggestion from Alfredo
5502
5503 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5504
5505         * lyxtext.h: move the bidi stuff from here...
5506         * text.C: and here
5507         * text2.C: and here
5508         * Bidi.[Ch]: ... to here
5509
5510 2003-10-23  André Pönitz  <poenitz@gmx.net>
5511
5512         * lyxtext.h:
5513         * text.C (isLastRow, isFirstRow): new functions
5514
5515         * paragraph.h: new width cache member
5516
5517         * rowpainter.C: replace RowList::iterator with Row & where possible
5518
5519         * lyxfunc.C: replace several view()->text with a single call
5520
5521         * toc.C: fix 'unused' warning
5522
5523 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5526         when woring with stream::pos_type
5527         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5528
5529 2003-10-22  André Pönitz  <poenitz@gmx.net>
5530
5531         * lyxtext.h:
5532         * text.C: use Row & instead of RowList::iterator
5533
5534         * lyxrow.h: rename end() to endpos()
5535
5536         * rowpainter.C:
5537         * text.C:
5538         * text2.C: adjust
5539
5540 2003-10-22  Angus Leeming  <leeming@lyx.org>
5541
5542         * buffer.[Ch] (fully_loaded): new member function, returning true
5543         only when the file has been loaded fully.
5544         Used to prevent the premature generation of previews and by the
5545         citation inset to prevent computation of the natbib-style label.
5546
5547         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5548         templates are all set up.
5549
5550         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5551
5552 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5553
5554         * text.C: fixed an "oops" in the "is a bit silly"
5555         bug fix
5556
5557 2003-10-21  André Pönitz  <poenitz@gmx.net>
5558
5559         * FuncStatus.[Ch]: small stuff, whitespace
5560
5561         * lyxfont.[Ch]: operator<<() for debug reasons
5562
5563         * lyxfunc.C:
5564         * lyxrow_funcs.C:
5565         * lyxtext.h: whitespace, spelling
5566
5567         * paragraph.C: naming of variables
5568
5569         * text.C:
5570         * text2.C: small stuff
5571
5572
5573 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5574
5575         * text.C: (1) finish off the inset display() work;
5576         (2) fix the "is a bit silly" bug (accessing char
5577         past end of par).
5578
5579 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5580
5581         * text.C: re-introduce display() for insets, fixing the
5582         various bugs (stretch of line above, math inset
5583         positioning, ...)
5584
5585 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5586
5587         * text.C (rightMargin): remove spurious semicolon
5588
5589         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5590         1415)
5591
5592 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5593
5594         * text3.C: fix one crash due to wrong cursor def
5595
5596 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * vc-backend.C (scanMaster): make the regex static
5599
5600         * LaTeX.C (scanAuxFile): make the regexs static
5601
5602         * text3.C (doInsertInset, dispatch, dispatch):
5603         * text2.C (cursorUp, cursorDown):
5604         * text.C (selectNextWordToSpellcheck):
5605         * BufferView_pimpl.C (dispatch):
5606         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5607
5608 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5609
5610         * lyxsocket.C: include <cerrno>
5611
5612 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5613
5614         * lyxfunc.C (dispatch): remove textcache stuff
5615
5616         * bufferlist.C (release): remove textcache stuff
5617         (closeAll): ditto
5618
5619         * TextCache.C: delete file
5620         * TextCache.h: delete file
5621
5622         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5623
5624         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5625         delete of the bv_->text.
5626         (resizeCurrentBuffer): remove texcache stuff
5627         (workAreaResize): ditto
5628
5629 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5630
5631         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5632         action.
5633
5634 2003-10-16  André Pönitz  <poenitz@gmx.net>
5635
5636         * lyxrow.[Ch]:
5637         * paragraph.h:
5638         * rowpainter.C:
5639         * text.C:
5640         * text2.C:
5641         * text3.C: speed up by storing y positions per paragraph plus per-row
5642         offset instead of having a 'full' y position in the row.
5643
5644 2003-10-15  André Pönitz  <poenitz@gmx.net>
5645
5646         * iterators.[Ch]:
5647         * iterators.[Ch]:
5648         * undo.[Ch]: make undo aware of inner insets
5649
5650 2003-10-14  Angus Leeming  <leeming@lyx.org>
5651
5652         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5653         static member functions LyX::ref() and LyX::cref.
5654         (lastfiles): new accessor functions for the new lastfiles_ member var.
5655         (addLyXView, views_): add a new LyXView to the list of views_.
5656         (updateInset): loop over all LyXViews to call their own updateInset
5657         member function, returning a pointer to the Buffer owning the inset.
5658
5659         * BufferView_pimpl.C (loadLyXFile):
5660         * MenuBackend.C (expandLastfiles):
5661         * bufferlist.C (MenuWrite, QuitLyX):
5662         lastfiles is no longer a global variable.
5663         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5664
5665         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5666         static function. Access through LyX::cref().emergencyCleanup().
5667
5668 2003-10-14  André Pönitz  <poenitz@gmx.net>
5669
5670         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5671
5672         * undo.[Ch]: restoring part of 'undo in insets'
5673
5674         * Makefile.am:
5675         * undo_funcs.[Ch]: merge with undo.[Ch]
5676
5677         * tabular.C: small cleansing stuff
5678
5679 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5680
5681         * paragraph_funcs.C (readParToken): report unknown insets as error
5682         boxes. Use the outer paragraph as location (also for unknown
5683         tokens).
5684
5685         * factory.C (readInset): do not abort on reading an unknown inset.
5686         Eat it and return 0.
5687
5688 2003-10-13  Angus Leeming  <leeming@lyx.org>
5689
5690         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5691
5692         * lyxrc.C: displayTranslator is now a function,
5693         declared in GraphicsTypes.h.
5694
5695 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5696
5697         * format.C: new placeholder $$a to pass the socket address.
5698
5699         * bufferlist.[Ch]: new function getBufferFromTmp.
5700
5701         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5702           files in the temporary dir.
5703
5704 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5705
5706         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5707
5708         * Makefile.am: add lyxsocket.[Ch].
5709
5710         * lyx_main.C (error_handler): handle SIGPIPE.
5711
5712 2003-10-13  André Pönitz  <poenitz@gmx.net>
5713
5714         * BufferView_pimpl.C:
5715         * lyxtext.h:
5716         * text.C:
5717         * text2.C:
5718         * text3.C:
5719         * undo_funcs.[Ch]: use paroffset_type instead of
5720           ParagraphList::iterators to prevent multiple conversion
5721           (and get a more robust interface)
5722
5723 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5724
5725         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5726         * lyxtext.h: ditto
5727         * text3.C (dispatch): ditto
5728
5729 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5730
5731         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5732         move the onlyfile, use onlyfile instead of foundfile in a couple
5733         of places.
5734
5735         * DepTable.C (update): flush the error stream a bit more
5736
5737 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5738
5739         * lyxserver.C (callback): adjust
5740
5741         * lyxfunc.C (getStatus): add a missing brace in commented code
5742         (ensureBufferClean): reindent
5743         (dispatch): delete version taking a string
5744
5745 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5746
5747         * LaTeX.C (deplog): move found file handlig from here...
5748         (handleFoundFile): .. to new function here.
5749         (deplog): make sure to discover several files mentioned on the
5750         same log line.
5751
5752 2003-10-10  André Pönitz  <poenitz@gmx.net>
5753
5754         * lyxfunc.C:
5755         * lyxtext.h:
5756         * tabular.C:
5757         * text.C:
5758         * text2.C:
5759         * text3.C: fix some of the tabular crashes
5760
5761 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5762
5763         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5764
5765         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5766
5767 2003-10-09  André Pönitz  <poenitz@gmx.net>
5768
5769         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5770
5771         * BufferView.C:
5772         * BufferView_pimpl.C:
5773         * bufferview_funcs.C:
5774         * lyx_cb.C:
5775         * lyxcursor.C:
5776         * lyxfind.C:
5777         * lyxfunc.C:
5778         * lyxtext.h:
5779         * text.C:
5780         * text2.C:
5781         * text3.C:
5782         * text_funcs.[Ch]:
5783         * textcursor.[Ch]:
5784         * undo_funcs.C: adjust
5785
5786 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5787
5788         * text2.C (incrementItemDepth): new function, use a backtracking
5789         algorithm to discover the correct item depth.
5790         (resetEnumCounterIfNeeded): new function, use a backtracking
5791         algorithm to discover if counter reset is needed.
5792         (setCounter): use them. Simplify a bit. Add different labels for
5793         different item depths for itemize.
5794
5795         * paragraph.C (Paragraph): remove initialization of enumdepth
5796         (operator=): ditto
5797
5798         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5799         enumerate and itemize. Change the type of itemdepth to signed char.
5800
5801 2003-10-08  André Pönitz  <poenitz@gmx.net>
5802
5803         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5804           thing assignable.
5805         * text.C:
5806         * text2.C: adjust
5807
5808         * tabular.[Ch]: fix crash after 'row-insert'
5809
5810 2003-10-08  Angus Leeming  <leeming@lyx.org>
5811
5812         Fix doxygen warnings.
5813
5814         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5815         Remove CutAndPaste:: prefix from header file declaration.
5816
5817         * LColor.h (fill): remove LColor:: prefix from declaration.
5818
5819         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5820         use lyx::depth_type rather than Paragraph::depth_type so that
5821         header file and .C file match.
5822
5823         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5824
5825         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5826         * aspell.C: \file aspell_local.C -> \file aspell.C
5827         * gettext.C: \file gettext.C -> \file src/gettext.C
5828         * gettext.h: \file gettext.h -> \file src/gettext.h
5829         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5830         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5831         * text.C: \file text.C -> \file src/text.C
5832
5833         * toc.C: move comment so that doxygen is not confused.
5834
5835 2003-10-07  Angus Leeming  <leeming@lyx.org>
5836
5837         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5838
5839 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5840
5841         * aspell.C:
5842         * aspell_local.h: add forgotten std::string's.
5843
5844 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5845
5846         * LaTeXFeatures.C:
5847         * LyXAction.C:
5848         * factory.C:
5849         * lfuns.h:
5850         * lyxfunc.C:
5851         * text3.C: The Box patch. Fancybox support, minipage, parbox
5852
5853 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5854
5855         * CutAndPaste.h:
5856         * DepTable.h:
5857         * FloatList.h:
5858         * LaTeXFeatures.h:
5859         * ParagraphParameters.h:
5860         * TextCache.h:
5861         * Thesaurus.h:
5862         * bufferlist.h:
5863         * exporter.h:
5864         * importer.h:
5865         * lastfiles.h:
5866         * lyxfind.h:
5867         * lyxfont.h:
5868         * lyxlex.h:
5869         * lyxtextclasslist.h:
5870         * messages.h:
5871         * paragraph.h:
5872         * paragraph_pimpl.C:
5873         * textcursor.h: add <string> and other small fixes to make Lars'
5874         std::string patch compile with STLport.
5875
5876 2003-10-06  Angus Leeming  <leeming@lyx.org>
5877
5878         * LColor.h: Add missing #include <string>.
5879
5880 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5881
5882         * All most all file in all subdirs: Make <string> be the prefered
5883         way of getting to std::string, add using declarations.
5884
5885 2003-10-06  André Pönitz  <poenitz@gmx.net>
5886
5887         * metricsinfo.C: initialize LyXFont before changing attribute.
5888         (fixes the 'math in \emph is upright' bug)
5889
5890 2003-10-06  André Pönitz  <poenitz@gmx.net>
5891
5892         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5893
5894 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5895
5896         * graph.C:
5897         * paragraph_pimpl.C: Small fixes to build using STLport
5898
5899 2003-10-02  André Pönitz  <poenitz@gmx.net>
5900
5901         * lyxfunc.C:
5902         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5903
5904 2003-10-01  André Pönitz  <poenitz@gmx.net>
5905
5906         * factory.C: assert early
5907
5908 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5909
5910         * lyx_main.C: remove the global debug object
5911
5912         * debug.h: adjust for new debugstream
5913
5914         * debug.C: adjust for new debugstream and keep the global debug
5915         object here.
5916
5917 2003-09-22  Angus Leeming  <leeming@lyx.org>
5918
5919         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5920         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5921         an incomplete class LyXFont.
5922
5923 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5924
5925         * factory.C: bug fix in branches
5926
5927 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5928
5929         * lyxfunc.C (processKeySym): adjust
5930         (dispatch): adjust
5931         (dispatch): change arg name from ev to func, adjust
5932         (sendDispatchMessage): ditto
5933
5934         * lyx_main.C (defaultKeyBindings): adjust keybindings
5935         (deadKeyBindings): ditto
5936
5937         * kbsequence.C (addkey): return a FuncRequest
5938
5939         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5940
5941         * kbmap.C (bind): take a FuncRequest as arg, adjust
5942         (read): adjust
5943         (lookup): adjust
5944         (defkey): change to take a FuncRequest as arg, adjust
5945         (findbinding): take a FuncRequest as arg, adjust.
5946
5947         * funcrequest.h (operator=): added
5948
5949         * funcrequest.C (FuncRequest): default kb_action changed from
5950         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5951
5952         * buffer.C (dispatch): simplify
5953         (dispatch): adjust to take a FuncRequest as arg, adjust
5954
5955         * boost.C (assertion_failed): change assertion message slightly
5956
5957         * ToolbarBackend.C (read): simplify
5958
5959         * MenuBackend.C (binding): adjust call to findbinding, add a
5960         message if no binding is found.
5961         (read): simplify
5962         (expandToc): correct by adding a empty FuncRequest
5963
5964         * LyXAction.C: include <boost/assert.hpp>
5965         (isPseudoAction): delete function
5966         (LookupFunc): change name to...
5967         (lookupFunc): this. change return type to FuncRequest.
5968         (getActionName): take kb_action as arg, simplify
5969         (funcHasFlag): add an assert, simplify.
5970
5971 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * toc.C (action): return a FuncRequest, simplify
5974
5975         * lyxfunc.C (processKeySym): adjust
5976         (getStatus): delete version that takes an int.
5977         (getStatus): adjust
5978         (dispatch): delete version that takes action as int
5979         (dispatch): adjust
5980         (sendDispatchMessage): simplify and adjust
5981
5982         * funcrequest.C (getArg): take unsigned int as arg
5983
5984         * ToolbarBackend.C (read): adjust
5985         (add): delete version that takes func as a string.
5986         (getIton): take a FuncRequest as arg
5987
5988         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5989         action.
5990
5991         * MenuBackend.C (MenuItem): add a new construct that only takes a
5992         Kind, simplify the constructor use for submenus.
5993         (add): adjust
5994         (expandLastfiles): adjust
5995         (expandDocuments): adjust
5996         (expandFormats): adjust
5997         (expandFloatListInsert): adjust
5998         (expandFloatInsert): adjust
5999         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
6000
6001         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
6002         Remove class variables lyx_pseudo_map and lyx_arg_map
6003
6004         * LyXAction.C (searchActionArg): delete function
6005         (getPseudoAction): delete function
6006         (retrieveActionArg): delete function
6007         (LookupFunc): make it return kb_action, simplify.
6008         (getActionName): simplify
6009
6010         * factory.C (createInset): fix new bug
6011
6012 2003-09-19  Angus Leeming  <leeming@lyx.org>
6013
6014         * CutAndPaste.C (pasteSelection): remove fudge used to set the
6015         masterFilename_ parameter in the include inset.
6016
6017         * factory.C (createInset): changes due to the changes to InsetInclude.
6018
6019 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6020
6021         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
6022
6023 2003-09-18  Angus Leeming  <leeming@lyx.org>
6024
6025         * buffer.C:
6026         * BufferView.C: pass the buffer when calling Inset::getLabelList,
6027         Inset::fillWithBibKeys.
6028         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
6029
6030 2003-09-18  Angus Leeming  <leeming@lyx.org>
6031
6032         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
6033         variables.
6034         (ctor): pass and store a 'Buffer const &'
6035         (buffer): new member function.
6036
6037         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
6038         '*this' to the LaTeXFeatures ctor.
6039
6040 2003-09-18  Angus Leeming  <leeming@lyx.org>
6041
6042         * LColor.h:
6043         * lyxfont.C:
6044         * lyxfont.h:
6045         * lyxtext.h:
6046         * text.C: rename EnumLColor as LColor_color.
6047
6048 2003-09-18  Angus Leeming  <leeming@lyx.org>
6049
6050         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6051         remove #include "insets/insetbase.h" from cursor.h.
6052
6053 2003-09-18  Angus Leeming  <leeming@lyx.org>
6054
6055         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6056         InsetOld_code to remove #include "inset.h".
6057
6058         * iterators.C: add #include "insets/inset.h"
6059
6060 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
6061
6062         * BufferView.C: remove more locking stuff that apparently doesn't
6063         do anything sensible.
6064
6065 2003-09-16  André Pönitz  <poenitz@gmx.net>
6066
6067         * paragraph.[Ch]:
6068         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6069           performance boost.
6070
6071 2003-09-16  Angus Leeming  <leeming@lyx.org>
6072
6073         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6074
6075         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6076         arg/return type.
6077
6078         * paragraph.h: remove #include "lyxfont.h". Forward declare
6079         LyXFont_size.
6080
6081 2003-09-16  Angus Leeming  <leeming@lyx.org>
6082
6083         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6084         of support/textutils.h.
6085         (isWord): move the contents of support/textutils.h's IsWordChar here.
6086
6087         * buffer.C:
6088         * lyxfind.C:
6089         * rowpainter.C:
6090         * text.C:
6091         * text2.C: add #include "paragraph.h".
6092
6093         * rowpainter.C:
6094         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6095
6096 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6097
6098         * main.C:
6099         * lyx_main.C:
6100         * lyx_cb.C:
6101         * buffer.C:
6102         * LaTeX.C: use namespace alias for lyx::support::os
6103
6104 2003-09-16  Angus Leeming  <leeming@lyx.org>
6105
6106         * bufferparams.C:
6107         * bufferview_funcs.C:
6108         * factory.C:
6109         * lyxfunc.C:
6110         * paragraph_pimpl.C:
6111         * rowpainter.C:
6112         * text.C: add #include "LColor.h".
6113
6114 2003-09-16  Angus Leeming  <leeming@lyx.org>
6115
6116         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6117         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6118         return LyXFont &.
6119         Store the FontBits::color variable as an int rather than as an
6120         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6121         file.
6122
6123         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6124         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6125         string calls together.
6126
6127         * lyxrc.C: add #include "LColor.h".
6128
6129 2003-09-15  Angus Leeming  <leeming@lyx.org>
6130
6131         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6132         a cow_ptr.
6133
6134 2003-09-15  Angus Leeming  <leeming@lyx.org>
6135
6136         * LColor.h: add an EnumLColor wrapper for LColor::color.
6137
6138         * lyxfont.[Ch] (color, setColor, realColor):
6139         * lyxtext.h, text.C (backgroundColor):
6140         pass EnumLColor args to/from the functions, rather than LColor::color
6141         ones.
6142
6143         * lyxfont.h:
6144         * lyxtext.h: forward declare EnumLColor.
6145
6146         * lyx_main.C: add #include "LColor.h".
6147
6148 2003-09-15  Angus Leeming  <leeming@lyx.org>
6149
6150         * .cvsignore: add lyx-gtk.
6151
6152 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6153
6154         * Chktex.C
6155         * LaTeX.C
6156         * LaTeXFeatures.C
6157         * ParagraphParameters.C
6158         * Spacing.C
6159         * buffer.C
6160         * bufferparams.C
6161         * bufferview_funcs.C
6162         * chset.C
6163         * counters.C
6164         * funcrequest.C
6165         * lyxfont.C
6166         * lyxgluelength.C
6167         * lyxlength.C
6168         * paragraph.C
6169         * paragraph_funcs.C
6170         * text3.C
6171         * vc-backend.C: remove usage of STRCONV
6172
6173 2003-09-15  Angus Leeming  <leeming@lyx.org>
6174
6175         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6176         explicitly define the color passed to the painter.
6177
6178 2003-09-15  Angus Leeming  <leeming@lyx.org>
6179
6180         * bufferparams.C (BufferParams): reorder member initializers to avoid
6181         compiler warning.
6182
6183 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6184
6185         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6186         * text.C (updateRowPositions): remove an unusual nop
6187
6188 2003-09-12  André Pönitz  <poenitz@gmx.net>
6189
6190         * BufferView_pimpl.C:
6191         * Bullet.C:
6192         * layout.h:
6193         * lyxfunc.C:
6194         * lyxlayout.[Ch]:
6195         * lyxtextclass.C:
6196         * rowpainter.C:
6197         * text.C:
6198         * text2.C:
6199         * Counters.[Ch]: finish the 'automatic counters' job
6200
6201 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6202
6203         * aspell.C: include <boost/assert.cpp> (compile fix)
6204
6205 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6206
6207         * boost.C (assertion_failed): use lyx::support::abort instead of
6208         assert.
6209
6210 2003-09-10  Angus Leeming  <leeming@lyx.org>
6211
6212         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6213         with their _fwd progeny.
6214
6215 2003-09-09  Angus Leeming  <leeming@lyx.org>
6216
6217         134 files throughtout the source tree: replace 'using namespace abc;'
6218         directives with the appropriate 'using abc::xyz;' declarations.
6219
6220 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6221
6222         * boost.C (emergencyCleanup): moved here from LAssert.c
6223         (assertion_failed): new function, called by BOOST_ASSERT
6224
6225         * several files: change Assert to BOOST_ASSERT
6226
6227 2003-09-09  Angus Leeming  <leeming@lyx.org>
6228
6229         * buffer.[Ch]: Add an Impl class and move Buffer's member
6230         variables into it. As a result move several header files out of
6231         buffer.h.
6232
6233         Add header files to lots of .C files all over the tree as a result.
6234
6235 2003-09-09  Angus Leeming  <leeming@lyx.org>
6236
6237         * buffer.[Ch]: make Buffer's member variables private. Add
6238         accessor functions.
6239
6240         Lots of changes all over the tree as a result.
6241
6242 2003-09-08  Angus Leeming  <leeming@lyx.org>
6243
6244         * graph.C: #include <config.h>.
6245
6246 2003-09-08  Angus Leeming  <leeming@lyx.org>
6247
6248         * BranchList.C:
6249         * BufferView.C:
6250         * BufferView_pimpl.C:
6251         * CutAndPaste.C:
6252         * DepTable.C:
6253         * LaTeX.C:
6254         * LaTeXFeatures.C:
6255         * LyXAction.C:
6256         * MenuBackend.C:
6257         * TextCache.C:
6258         * aspell.C:
6259         * buffer.C:
6260         * bufferlist.C:
6261         * changes.C:
6262         * chset.C:
6263         * converter.C:
6264         * counters.C:
6265         * debug.C:
6266         * graph.C:
6267         * ispell.C:
6268         * lyx_cb.C:
6269         * lyxfind.C:
6270         * lyxfunc.C:
6271         * lyxlex_pimpl.C:
6272         * lyxrc.C:
6273         * lyxrow.C:
6274         * paragraph.C:
6275         * rowpainter.C:
6276         * texrow.C:
6277         * text.C:
6278         * text2.C:
6279         * toc.C: remove redundant using directives.
6280
6281 2003-09-07  Angus Leeming  <leeming@lyx.org>
6282
6283         * LaTeXFeatures.h: remove #include "support/types.h".
6284         * ToolbarBackend.h: remove #include <algorithm>.
6285         * changes.h: remove #include <ctime>.
6286         * debug.h: remove #include <iosfwd>.
6287         * graph.h: remove #include "support/std_string.h".
6288         * lyx_main.h: remove #include <csignal>.
6289         * lyxlex_pimpl.h: remove #include <fstream>.
6290         * sgml.h: remove #include <algorithm>, <utility>.
6291         * toc.h: remove #include "support/std_ostream.h".
6292         Add #include <iosfwd>.
6293
6294 2003-09-07  Angus Leeming  <leeming@lyx.org>
6295
6296         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6297
6298         * converter.h: forward declare LatexRunParams.
6299         * encoding.h: remove #include "lyxrc.h".
6300         * lyxtext.h: remove #include "LColor.h".
6301         * lyxtextclass.h: remove #include "support/types.h".
6302         * trans.h: remove #include "tex-accent.h".
6303         * trans_mgr.h: remove #include "tex-accent.h".
6304         * insets/inset.h: remove #include "support/types.h", <vector>.
6305         * insets/insetcollapsable.h: remove #include "LColor.h".
6306         * insets/insetinclude.h: remove #include "dimension.h".
6307         * insets/insetlatexaccent.h: remove #include "dimension.h".
6308         * insets/insetoptarg.h:: remove #include "insettext.h".
6309         * insets/insettext.h: remove #include "dimension.h",
6310         <boost/shared_ptr.hpp>
6311
6312         * insets/renderers.h: add #include "dimension.h".
6313         * insets/updatableinset.h: add #include "support/types.h".
6314
6315         * many .C files: Associated changes.
6316
6317 2003-09-06  Angus Leeming  <leeming@lyx.org>
6318
6319         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6320         one, inside testInvariant.
6321
6322         * PrinterParams.C: new file.
6323         * PrinterParams.[Ch]: move the function bodies out of line.
6324
6325 2003-09-06  Angus Leeming  <leeming@lyx.org>
6326
6327         * ParagraphParameters.h: forward declare ParameterStruct rather than
6328         including its header file.
6329         (depth): moved out-of-line.
6330
6331 2003-09-06  Angus Leeming  <leeming@lyx.org>
6332
6333         * BufferView_pimpl.h:
6334         * kbmap.h:
6335         * kbsequence.h:
6336         * lyxfunc.h: forward declare LyXKeySym rather than
6337         #include "frontends/LyXKeySym.h".
6338
6339         * BufferView_pimpl.C:
6340         * kbmap.C:
6341         * kbsequence.C:
6342         * lyxfunc.C: associated changes.
6343
6344 2003-09-06  Angus Leeming  <leeming@lyx.org>
6345
6346         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6347         As a result, can remove the #include "insets/inset.h" from BufferView.h
6348
6349 2003-09-06  Angus Leeming  <leeming@lyx.org>
6350
6351         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6352         As a result, can remove the #include "insets/inset.h" from BufferView.h
6353
6354 2003-09-06  Angus Leeming  <leeming@lyx.org>
6355
6356         * buffer_funcs.C:
6357         * buffer.h:
6358         * bufferlist.C:
6359         * BufferView.C:
6360         * bufferview_funcs.C:
6361         * BufferView_pimpl.C:
6362         * CutAndPaste.C:
6363         * lyx_cb.C:
6364         * lyxfunc.C:
6365         * paragraph.h:
6366         * ParagraphParameters.C:
6367         * tabular.C:
6368         * text3.C:
6369         * toc.C:
6370         * undo_funcs.C:
6371         * frontends/controllers/ControlDocument.C:
6372         * insets/insetcaption.C: rearrange the #includes into some sort of
6373         coherent order.
6374
6375         * buffer.h: remove #includes ErrorList.h, undo.h
6376
6377 2003-09-06  Angus Leeming  <leeming@lyx.org>
6378
6379         * support/types.h: add a 'depth_type' typedef, used to store the
6380         nesting depth of a paragraph.
6381
6382         * paragraph.h:
6383         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6384         defining explicitly.
6385
6386         * buffer.h:
6387         * paragraph_funcs.h:
6388         * ParagraphParameters.h:
6389         * sgml.h: use lyx::depth_type rather than Paragraph or
6390         ParameterStruct's depth_type.
6391
6392         * buffer.h
6393         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6394
6395         * BufferView.C:
6396         * BufferView_pimpl.C:
6397         * CutAndPaste.C:
6398         * ParagraphParameters.C:
6399         * buffer_funcs.C:
6400         * bufferlist.C:
6401         * bufferview_funcs.C:
6402         * lyx_cb.C:
6403         * lyxfunc.C:
6404         * tabular.C:
6405         * text3.C:
6406         * toc.C:
6407         * undo_funcs.C:
6408         * frontends/LyXView.C:
6409         * frontends/controllers/ControlDocument.C:
6410         * frontends/controllers/ControlErrorList.C:
6411         * insets/insetbibitem.C:
6412         * insets/insetbranch.C:
6413         * insets/insetcaption.C:
6414         * insets/insetcollapsable.C:
6415         * insets/insetenv.C:
6416         * insets/insetert.C:
6417         * insets/insetfloat.C:
6418         * insets/insetfoot.C:
6419         * insets/insetfootlike.C:
6420         * insets/insetnewline.C:
6421         * insets/insetquotes.C:
6422         * insets/insettabular.C:
6423         * insets/insettext.C:
6424         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6425
6426         * frontends/controllers/ControlChanges.C: #include "changes.h".
6427
6428 2003-09-06  Angus Leeming  <leeming@lyx.org>
6429
6430         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6431         than #including paragraph.h.
6432
6433         * ParagraphList.h:
6434         * RowList.h: deleted. Superfluous.
6435
6436         * CutAndPaste.h:
6437         * iterators.h:
6438         * lyxcursor.h:
6439         * lyxtext.h:
6440         * text_funcs.h:
6441         * undo.h:
6442         * undo_funcs.h:
6443         * insets/inset.h:
6444         * insets/insettext.h: use ParagraphList_fwd.h rather than
6445         ParagraphList.h.
6446
6447         * paragraph.h: don't forward declare ParagraphList.
6448
6449         * buffer.h:
6450         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6451         rather than ParagraphList.h. paragraph.h is still needed for the
6452         Paragraph::depth_type parameters.
6453
6454         * textcursor.h: enable it to compile stand-alone in light of the
6455         above changes.
6456
6457         * bufferview_funcs.C:
6458         * iterators.C:
6459         * lyxfunc.C:
6460         * lyxrow_funcs.C:
6461         * paragraph.C:
6462         * rowpainter.C:
6463         * text.C:
6464         * text2.C:
6465         * text3.C:
6466         * text_funcs.C:
6467         * textcursor.C:
6468         * undo.C:
6469         * frontends/controllers/ControlParagraph.C:
6470         * frontends/controllers/ControlTabular.C:
6471         * insets/insetmarginal.C:
6472         * insets/insetminipage.C:
6473         * insets/insetnote.C:
6474         * insets/insetoptarg.C: add header files needed to compile again.
6475
6476 2003-09-06  Angus Leeming  <leeming@lyx.org>
6477
6478         * RowList_fwd.h: new file, forward-declaring Row rather than
6479         #including lyxrow.h.
6480
6481         * lyxrow_funcs.h:
6482         * lyxtext.h:
6483         * paragraph.h:
6484         * insets/insettext.h: use it instead of RowList.h
6485
6486         * bufferview_funcs.C:
6487         * lyxfunc.C:
6488         * lyxrow_funcs.C:
6489         * paragraph.C:
6490         * rowpainter.C:
6491         * text.C:
6492         * text2.C:
6493         * text3.C: #include "RowList.h".
6494
6495 2003-09-05  Angus Leeming  <leeming@lyx.org>
6496
6497         * factory.C (createInset):
6498         * vspace.C (c-tor): replace sscanf call with an istringstream.
6499         * ispell.C: re-add missing HP/UX headers.
6500         * lyxserver.C: re-add missing  os2 headers.
6501
6502 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6503
6504         * BranchList.C:
6505         * graph.C:
6506         * ispell.C:
6507         * lastfiles.C:
6508         * lyx_cb.C:
6509         * lyxserver.C:
6510         * texrow.C:
6511         * text3.C: re-add missing system headers, needed for 2.95.2.
6512
6513 2003-09-05  Angus Leeming  <leeming@lyx.org>
6514
6515         Changes most place everywhere due to the removal of using directives
6516         from support/std_sstream.h.
6517
6518 2003-09-05  Angus Leeming  <leeming@lyx.org>
6519
6520         Replace LString.h with support/std_string.h,
6521         Lsstream.h with support/std_sstream.h,
6522         support/LIstream.h with support/std_istream.h,
6523         support/LOstream.h with support/std_ostream.h.
6524
6525         Changes resulting throughout the tree.
6526
6527 2003-09-05  Angus Leeming  <leeming@lyx.org>
6528
6529         * sgml.h: ensure that the header file can be compiled stand-alone.
6530         * *.C: strip out redundant #includes. (320 in total.)
6531
6532 2003-09-04  Angus Leeming  <leeming@lyx.org>
6533
6534         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6535         here (from getPackages).
6536
6537         * debug.[Ch]: add a new EXTERNAL tag.
6538
6539 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6540
6541         * text2.C (cursorEnd): simplify
6542         (setCursor): adjust
6543         (getColumnNearX): adjust
6544
6545         * text.C (computeBidiTables): adjust
6546         (fill): adjust
6547
6548         * rowpainter.C (paintChars): adjust
6549         (paintSelection): adjust
6550         (paintChangeBar): adjust
6551         (paintText): adjust
6552
6553         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6554         lastPos instead.
6555         (numberOfSeparators): adjust
6556
6557 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6558
6559         * LyXAction.C:
6560         * box.[Ch]:
6561         * lfuns.h:
6562         * lyxfunc.C:
6563         * text3.C: Restricts the mouse click functionality
6564         of insets like bibtex, include, toc and floatlist to the visible
6565         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6566         up the dialogs. Cursor has to be in front of the inset (i.e.
6567         start of row) for this to function.
6568
6569 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6570
6571         * bufferview_funcs.C (currentState): output row information
6572
6573 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6574
6575         * bufferview_funcs.C (currentState): output paragraph position
6576
6577 2003-09-04  Angus Leeming  <leeming@lyx.org>
6578
6579         * FloatList.h: move out #include "Floating.h".
6580         * LaTeX.h: move out #include "DepTable.h".
6581         * LyXAction.h: move out #include "funcrequest.h".
6582         * buffer.h: move out #include "author.h", "iterators.h".
6583         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6584         * lyx_main.h: move out #include "errorlist.h".
6585         * lyxfunc.h: move out #include "FuncStatus.h".
6586         * lyxtext: move out #include "lyxcursor.h".
6587         * paragraph_pimpl.h: move out #include "counters.h".
6588
6589 2003-09-03  Angus Leeming  <leeming@lyx.org>
6590
6591         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6592         preamble_snippets list, enabling us to add snippets to the preamble
6593         only if the snippet was not there already.
6594
6595 2003-09-04  Angus Leeming  <leeming@lyx.org>
6596
6597         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6598
6599 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6600
6601         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6602         update
6603
6604 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6605
6606         * BranchList.C: point fix, earlier forgotten
6607
6608 2003-09-02  Angus Leeming  <leeming@lyx.org>
6609
6610         * box.C (contains): renamed from 'contained' after a fantastic
6611         amount of hot air.
6612
6613 2003-09-02  John Levon  <levon@movementarian.org>
6614
6615         * BufferView.C:
6616         * lyxcursor.h:
6617         * lyxcursor.C:
6618         * lyxfunc.C:
6619         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6620
6621 2003-09-02  John Levon  <levon@movementarian.org>
6622
6623         * text2.C: simplification of cursorEnd(), including partial
6624         fix for bug 1376
6625
6626 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6627
6628         * buffer.C (readFile): add a space
6629
6630 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6631
6632         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6633
6634 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6635
6636         * buffer.C (readFile): new function, take a filename and a
6637         ParagraphList::iterator
6638         (readFile): adjust
6639         (readFile): adjust, make it private. don't use setStream, make
6640         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6641         always contain the filename.
6642
6643         * BufferView.C (insertLyXFile): simplify and make it work for
6644         gzipped files.
6645
6646 2003-08-30  John Levon  <levon@movementarian.org>
6647
6648         * Makefile.am: fix dist (from Kayvan)
6649
6650 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6651
6652         * most files: change to use const Buffer refs
6653
6654 2003-08-27  André Pönitz  <poenitz@gmx.net>
6655
6656         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6657         on top of ownerPar().
6658
6659 2003-08-27  John Levon  <levon@movementarian.org>
6660
6661         * funcrequest.C: properly initialise POD members
6662
6663 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6664
6665         * lyxtext.h (top_y): move top_y from here
6666         * text.C:
6667         * text2.C:
6668         * text3.C:
6669         * BufferView.[Ch]:
6670         * BufferView_pimpl.[Ch]: to here
6671         * frontends/screen.C:
6672         * insets/insettabular.C:
6673         * insets/insettext.C: adjust
6674         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6675
6676 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6677
6678         * BufferView.[Ch]:
6679         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6680
6681 2003-08-26  André Pönitz  <poenitz@gmx.net>
6682
6683         * paragraph_func.[Ch] (outerPar): new function
6684
6685         * paragraph.C:
6686         * paragraph_funcs.C:
6687         * paragraph_funcs.h:
6688         * paragraph_pimpl.C:
6689         * text2.C: remove Inset::par_owner
6690
6691 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6692
6693         * lyxrow_funcs.C:
6694         * lyxtext.h:
6695         * text.C:
6696         * text2.C: eliminates the needFullRow/display() stuff
6697         altogether, putting the logic in metrics/draw in the insets.
6698
6699 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6700
6701         * text2.C (redoParagraphInternal, redoParagraphs):
6702         * text.C (redoParagraph): add a call to updateRowPositions at the
6703         end of each 'metrics-like' call. Remove all others.
6704         (getRow): remove the 'y-computing' version.
6705         (getRowNearY): do not compute nor return the real y. Solve the
6706         'y < 0' problem and simplify.
6707
6708 2003-08-22  Angus Leeming  <leeming@lyx.org>
6709
6710         * *.[Ch]: clean-up of licence and author blurbs.
6711         Also move config.h out of a few .h files and into a few .C files.
6712
6713 2003-08-22  André Pönitz  <poenitz@gmx.net>
6714
6715         * lyxrow.[Ch]: add x_ and *fill_ members
6716
6717         * lyxtext.h:
6718         * text.C:
6719         * rowpainter.C:
6720         * text2.C: adjust/remove prepareToPrint() calls
6721
6722 2003-08-22  André Pönitz  <poenitz@gmx.net>
6723
6724         * lyxrow.[Ch]: add  end_ member
6725
6726         * lyxrow_funcs.C: use LyXRow::end_
6727
6728         * lyxtext.h (singleWidth): add LyXFont parameter
6729
6730         * rowpainter.C:
6731         * text2.C: adjust LyXText::singleWidth() calls
6732
6733         * text.C (redoParagraph): simplify row breaking logic
6734
6735
6736 2003-08-19  André Pönitz  <poenitz@gmx.net>
6737
6738         * funcrequest.C: initialize button_ member
6739
6740         * text3.C:
6741         * rowpainter.[Ch]: interface consolidation
6742
6743 2003-08-18  André Pönitz  <poenitz@gmx.net>
6744
6745         * BufferView.C:
6746         * BufferView_pimpl.C:
6747         * lyxfind.C:
6748         * paragraph_funcs.C:
6749         * rowpainter.C:
6750         * text3.C: remove LyXScreen::draw() and fitCursor calls
6751
6752         * BranchList.h: remove spurious semicolons
6753
6754         * MenuBackend.C: fix branchlist related crash
6755
6756 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6757
6758         * BranchList.[Ch]:
6759         * InsetList.[Ch]:
6760         * LColor.[Ch]:
6761         * LyXAction.C:
6762         * Makefile.am:
6763         * MenuBackend.[Ch]:
6764         * bufferparams.[Ch]:
6765         * factory.C:
6766         * lfuns.h:
6767         * lyxfunc.C:
6768         * text3.C: implements the 'branch inset'
6769         idea. This allows the output of various versions of a document
6770         from a single source version, selectively outputing or suppressing
6771         output of parts of the text.
6772         This implementation contains a 'branch list editor' in a separate
6773         tab of the document settings dialog. Branches are user definable
6774         and have a "display colour" to distinguish them on-screen.
6775
6776         ColorHandler was somewhat cleaned up.
6777         (1) make possible a dynamically growing LColor list by allowing
6778         the graphic context cache to grow along (vector);
6779         (2) eliminate an IMHO unnecessary step in colour allocation.
6780
6781 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6782
6783         * BufferView_pimpl.C: compile fix
6784
6785 2003-08-15  André Pönitz  <poenitz@gmx.net>
6786
6787         * rowpainter.C: remove extra metrics calls
6788
6789         * lyxtext.h: merge the two constructors into a single one,
6790           pass reference to owner's par list
6791
6792         * BufferView_pimpl.C:
6793         * text.C:
6794         * text2.C: adjust
6795
6796 2003-08-15  André Pönitz  <poenitz@gmx.net>
6797
6798         * lyxrow_funcs.[Ch]:
6799         * lyxtext.h:
6800         * paragraph.h:
6801         * paragraph_funcs.C:
6802         * rowpainter.C:
6803         * text.C:
6804         * text2.C:
6805         * text3.C:
6806         * text_funcs.C: split LyXText::rowlist_ into individual
6807         Paragraph::rows_ chunks
6808
6809         * BufferView.[Ch]:
6810         * BufferView_pimpl.[Ch]:
6811         * lyxfind.C:
6812         * lyxtext.h:
6813         * text3.C: remove toggleSelection()
6814
6815 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6816
6817         * bufferlist.C: beautify two alerts (shorter text of buttons)
6818         * buffer.C: Remove redundant ' ' from message
6819         * tabular.h:
6820         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6821         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6822         rename VALIGN_CENTER to VALIGN_MIDDLE
6823
6824 2003-08-11  André Pönitz  <poenitz@gmx.net>
6825
6826         * lyxtext.h (getPar):
6827         * text.C: new function
6828
6829 2003-08-11  André Pönitz  <poenitz@gmx.net>
6830
6831         * Makefile.am:
6832         * tracer.[Ch]: remove unneeded files
6833
6834         * InsetList.[Ch]: remove resizeInsetsLyXText()
6835
6836         * lyxtext.h:
6837         * text.C:
6838         * text2.C:
6839         * text3.C: merge insertParagraphs() and appendParagraph()
6840         remove breakAgain(), update()
6841
6842         * BufferView_pimpl.[Ch]:
6843         * bufferview_funcs.[Ch]:
6844         * lyxfunc.C:
6845         * paragraph.[Ch]:
6846         * rowpainter.C:
6847         * tabular.C: adjust after text & InsetList changes.
6848
6849 2003-08-08  André Pönitz  <poenitz@gmx.net>
6850
6851         * text.C (insertChar, backspace): replace rowlist fiddling
6852         with rebreak of full par
6853
6854         * lyxtext.h:
6855         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6856         checkParagraph, updateInset): removed
6857
6858 2003-08-07  André Pönitz  <poenitz@gmx.net>
6859
6860         * paragraph.C:
6861         * text3.C: merge some LFUN handlers, remove dead code
6862
6863 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6864
6865         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6866
6867 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6868
6869         * text2.C (DEPM): fix part of bug 1255 and 1256
6870
6871 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6872
6873         * BufferView_pimpl.C (workAreaDispatch): change to use
6874         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6875         that are no mouse related.
6876
6877 2003-08-05  André Pönitz  <poenitz@gmx.net>
6878
6879         * BufferView.[Ch]:
6880         * BufferView_pimpl.[Ch]:
6881         * bufferview_funcs.C:
6882         * text2.C:
6883         * text3.C: rip out "deep update"
6884
6885         * textcursor.[Ch] (last_sel_cursor): remove unused member
6886
6887 2003-08-04  André Pönitz  <poenitz@gmx.net>
6888
6889         * BufferView.[Ch]:
6890         * BufferView_pimpl.[Ch]:
6891         * ParagraphParameters.C:
6892         * bufferview_funcs.C:
6893         * lyx_cb.C:
6894         * lyxfind.C:
6895         * lyxfunc.C:
6896         * text.C:
6897         * text2.C:
6898         * text3.C: replace "complicated" BufferView::update(...) calls with
6899         simpler ones.
6900
6901         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6902
6903 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6904
6905         * Makefile.am (lyx_SOURCES): add paper.h
6906
6907 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6908
6909         * Makefile.am: move things around so that both lyx-qt and
6910         lyx-xforms can be built (according to --with-frontend). Then lyx
6911         is a symbolic link to lyx-[firstfrontend]
6912
6913 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6914
6915         * Always use std::endl with lyxerr
6916
6917 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6918
6919         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6920
6921 2003-08-01  André Pönitz  <poenitz@gmx.net>
6922
6923         * BufferView.[Ch]:
6924         * BufferView_pimpl.[Ch]:
6925         * lyxfunc.C:
6926         * text3.C: merge BufferView::repaint() and BufferView::update()
6927
6928 2003-08-01  José Matos  <jamatos@lyx.org>
6929
6930         * buffer.[Ch]: file_format is no longer a buffer data element.
6931
6932 2003-08-01  André Pönitz  <poenitz@gmx.net>
6933
6934         * BufferView.C:
6935         * lyxtext.h:
6936         * text.C:
6937         * text2.C: make redoParagraph more independent of current cursor
6938
6939         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6940         * text.C:
6941         * text2.C: remove unneeded members
6942
6943 2003-07-30  André Pönitz  <poenitz@gmx.net>
6944
6945         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6946
6947         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6948           create a single function...
6949
6950         * paragraph_funcs.C (moveItem): ... here.
6951
6952         * text.C:
6953           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6954
6955 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6956
6957         * LColor.[Ch]: Add comment and greyedout logical colors.
6958
6959 2003-07-30  André Pönitz  <poenitz@gmx.net>
6960
6961         * tabular.C: don't use Assert too heavily. This crashes where it
6962           shouldn't
6963
6964 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6965
6966         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6967         is disabled (bug 1232)
6968
6969 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6970
6971         * factory.C: limited 'arg' scope
6972
6973 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6974
6975         * factory.C: fixed Note submenu issues
6976
6977 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6978
6979         * factory.C: submenu for Note/Comment/Greyedout
6980
6981 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6982
6983         * lyx_main.C (LyX):
6984         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6985
6986 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6987
6988         * LaTeXFeatures.C:
6989         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6990         greyedout. Patch provided by Jürgen Spitzmüller.
6991
6992 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6993
6994         * kbmap.C (read): fix error message when reading bind files
6995
6996 2003-07-29  Angus Leeming  <leeming@lyx.org>
6997
6998         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6999         certainly does not do what it purports to do. I am doing it, and
7000         us, a favour by killing it.
7001
7002 2003-07-28  José Matos  <jamatos@lyx.org>
7003
7004         * buffer.C (readBody, do_writeFile):
7005         * paragraph.C(readParagraph): \end_document replaces \the_end.
7006
7007 2003-07-29  André Pönitz  <poenitz@gmx.net>
7008
7009         * BufferView.[Ch]:
7010         * BufferView_pimpl.[Ch]:
7011         * lyxfunc.C:
7012         * text2.C:
7013         * text3.C:
7014         * textcursor.[Ch]: remove toggleToggle & Co
7015
7016 2003-07-28  José Matos  <jamatos@fep.up.pt>
7017
7018         * buffer.C (readParagraph):
7019         * params_func (readParToken, readParagraph):
7020         * paragraph.C (write): \layout -> \begin_layout.
7021
7022 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7023
7024         * lyxlex_pimpl.C (setFile): clean up slightly.
7025
7026         * bufferparams.h: add compressed var
7027
7028         * buffer_funcs.C (readFile): adjust for LyXLex change
7029         (newFile): ditto + simplify
7030
7031         * buffer.C (writeFile): handle writing of compressed files
7032
7033         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
7034         Check if the file is compressed and set a bufferparm if so.
7035
7036         * Makefile.am (lyx_LDADD): remove explicit -lz
7037
7038 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7039
7040         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7041         makeDocBookFile): put the real LyX version in the first line of
7042         the file
7043
7044         * version.h:
7045         * version.C.in: remove lyx_docversion
7046
7047         * tabular.C (write_attribute): add a template-based version to
7048         write enums properly
7049
7050 2003-07-28  André Pönitz  <poenitz@gmx.net>
7051
7052         * lyxtext.h:
7053         * text.C:
7054         * text2.C:
7055         * text3.C: use doubles again for x-coordinates. They are needed.
7056
7057 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7058
7059         * messages.C (getLocaleDir): use lyx_localedir()
7060
7061         * lyxlex_pimpl.C (setFile): compress stuff
7062
7063         * buffer.C (writeFile): add some compression stuff
7064         (do_writeFile): new func, dont call expliti close... will this
7065         breake anything?
7066
7067         * Makefile.am (lyx_LDADD): add -lz
7068
7069 2003-07-28  José Matos  <jamatos@fep.up.pt>
7070
7071         * buffer.C: increment file format.
7072         * paragraph_funcs (readParagraph, readParToken):
7073         * paragraph.C (readParagraph): add \end_layout.
7074
7075 2003-07-27  Angus Leeming  <leeming@lyx.org>
7076
7077         * Makefile.am: remove special casing for configure-time setting of
7078         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7079
7080         * lyx_main.C (init): remove all Jean-Marc's magic setting of
7081         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7082
7083 2003-07-26  André Pönitz  <poenitz@gmx.net>
7084
7085         * paragraph_func.[Ch]:
7086         * paragraph.C (realizeFont): inline it whereever it is used
7087
7088         * rowpainter.C:
7089         * text.C:
7090         * text2.C:
7091         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7092
7093
7094 2003-07-26  André Pönitz  <poenitz@gmx.net>
7095
7096         *       lyxtext.h:
7097         * text.C:
7098         * text2.C: get rid of LyXText::need_break_row
7099
7100 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * toc.[Ch]: put namespace toc inside namespace lyx
7103
7104         * MenuBackend.C (expandToc2): adjust for lyx::toc
7105         (expandToc): ditto
7106
7107         * lyxfunc.C (dispatch): adjust for lyx::find
7108
7109         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7110         lyx::find instead. Reorganize a bit.
7111         (LyXReplace): rename to replace
7112         (LyXFind): rename to find
7113
7114         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7115         (dispatch): ditto
7116
7117 2003-07-26  André Pönitz  <poenitz@gmx.net>
7118
7119         * text.C (setHeightOfRow): restrict scope of temporary variable
7120
7121         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7122           code (never has been used?)
7123
7124 2003-07-27  Asger Alstrup  <alstrup@local>
7125
7126         * text.C (fill): Optimise algorithm to exploit that we can reuse
7127         the LyXFont for many characters.
7128         (setHeightOfRow): Same thing.
7129         (rowBreakPoint): Same thing.
7130
7131 2003-07-26  Asger Alstrup  <alstrup@local>
7132
7133         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7134
7135         * text.C (singleWidth): Spurious font copying in hot-spot
7136         singleWidth avoided. Reorder tests for arabic for efficiency.
7137
7138         * text.C (fill): handle empty paragraphs better.
7139
7140 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7141
7142         * ispell.C:
7143         * encoding.h: add includes
7144
7145         * lyxrc.C: remove reading of bind files
7146
7147         * lyx_main.C (init): setup bindings and menus only if we have a
7148         gui.
7149
7150         * kbmap.C (read): new method. Do the actual reading of bind
7151         files.
7152
7153         * converter.C (dvipdfm_options):
7154         * bufferparams.C:
7155         * lyxrc.C (read):
7156         (output): adapt PAPER_* enums.
7157
7158         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7159
7160         * bufferparams.h: remove paper-related enums from there
7161
7162         * paper.h: New file. A trivial header file to hold paper-related
7163         enums. It should later expand to contain many paper-related
7164         horrors access.
7165
7166         * lyxrc.C: declare extern displayTranslator
7167
7168 2003-07-27  José Matos  <jamatos@fep.up.pt>
7169
7170         * tabular.[Ch] (linuxdoc): add support for tables and figures
7171         (linuxdoc).
7172
7173 2003-07-27  José Matos  <jamatos@fep.up.pt>
7174
7175         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7176         consistency in both functions.
7177         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7178
7179 2003-07-26  Asger Alstrup  <alstrup@local>
7180
7181         * rowpainter.C (paintRows): Change algorithm to work directly on
7182         the insets rather than asking every character in the document
7183         whether its an inset.
7184
7185 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7186
7187         * buffer.C (openFileWrite): factorize some code
7188
7189 2003-07-26  Angus Leeming  <leeming@lyx.org>
7190
7191         * lyx_cb.C:
7192         * lyx_main.[Ch]: replace occurances of system_tempdir with
7193         os::getTmpDir().
7194
7195 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * rename Inset to InsetOld
7198
7199 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7200
7201         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7202         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7203         which I think is a bit clearer. EDIT is gone, since it was
7204         premature optimisation, and broken for mathed anyway.
7205         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7206         with cursor positioning in insets as well (math insets still do not
7207         work, but that's a different story anyway.) It mysteriously
7208         crashes sometimes with undo in the first paragraph, but I'm fairly
7209         confident that this is a compiler bug.
7210
7211 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7212
7213         * paragraph.C (Paragraph): adjust for new clone return type
7214         (operator==): ditto
7215         (copyIntoMinibuffer): ditto
7216
7217 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7218
7219         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7220         by not having a special case, and always doing a full rebreak of
7221         the document after undo.
7222
7223 2003-07-23  Angus Leeming  <leeming@lyx.org>
7224
7225         * factory.C (createInset): InsetExternal::setParams now takes a
7226         Buffer const * arg.
7227
7228 2003-07-23  Angus Leeming  <leeming@lyx.org>
7229
7230         * factory.C (createInset): changed interface to the external and
7231         graphics mailers' string2params functions.
7232
7233 2003-07-23  Angus Leeming  <leeming@lyx.org>
7234
7235         * factory.C (createInset): pass a
7236         Buffer const * parameter to InsetExternalMailer's string2params.
7237
7238 2003-07-22  John Levon  <levon@movementarian.org>
7239
7240         * Thesaurus.h: include the right aiksaurus header
7241
7242 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7243
7244         * MenuBackend.C (expand): check menu shortcuts unconditionally
7245
7246 2003-07-21  Angus Leeming  <leeming@lyx.org>
7247
7248         * factory.C (createInset): pass a
7249         buffer_path parameter to InsetGraphicsMailer's string2params.
7250
7251 2003-07-21  Angus Leeming  <leeming@lyx.org>
7252
7253         * BufferView_pimpl.C (buffer):
7254         * buffer.C (d-tor):
7255         * lyx_main.C (LyX):
7256         * lyxfunc.C (dispatch):
7257         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7258         rather than the grfx shortcut.
7259
7260 2003-07-21  André Pönitz  <poenitz@gmx.net>
7261
7262         * rowpainter.C: remove unused variables
7263
7264         * tabular_funcs.C:
7265         * tabular_funcs.h: move to tabular.C
7266         * Makefile.am: adjust
7267
7268         * tabular.[Ch]: basic optical cleaning
7269
7270         * author.h: pass references, not values
7271
7272 2003-07-18  André Pönitz  <poenitz@gmx.net>
7273
7274         * lyxtext.h:
7275         * metricsinfo.C:
7276         * metricsinfo.h:
7277         * rowpainter.C:
7278         * text.C:
7279         * text2.C:
7280         * text3.C: two-phase drawing for InsetText and InsetTabular
7281         some float -> int changes.
7282
7283 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7284
7285         * lyx_main.C: fix the fix
7286
7287 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7288
7289         * lyx_main.C: fix a crash in batch mode if no files specified
7290         * converter.C: ws
7291
7292 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7293
7294         * format.[Ch] (papersize): moved to BufferParams
7295         * converter.[Ch] (dvips_options): moved to BufferParams
7296         (dvipdfm_options): moved to anon namespace
7297         * bufferparams.[Ch]: added above functions.
7298
7299 2003-07-17  André Pönitz  <poenitz@gmx.net>
7300
7301         * lyxtext.h:
7302         * rowpainter.C:
7303         * text2.C: don't call inset->update() anymore
7304
7305         * metricsinfo.[Ch]: add convenience constructor
7306
7307 2003-07-16  André Pönitz  <poenitz@gmx.net>
7308
7309         * lyxcursor.[Ch]:
7310         * lyxfunc.[Ch]:
7311         * text.C:
7312         * text2.C: replace the LyXCursor::irow_ member with
7313          on-demand computation of the value
7314
7315 2003-07-16  John Levon  <levon@movementarian.org>
7316
7317         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7318
7319 2003-07-15  André Pönitz  <poenitz@gmx.net>
7320
7321         * text.C:
7322         * text2.C: remove no more needed refresh_row
7323
7324 2003-07-15  André Pönitz  <poenitz@gmx.net>
7325
7326         * lyxtext.h:
7327         * rowpainter.C:
7328         * text2.C:
7329         * text3.C: refresh_status tristate -> need_update bool
7330
7331 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7332
7333         * lyxtext.h (init): remove reinit argument (act as if always true)
7334         * text2.C: adjust to that
7335
7336 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7337
7338         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7339         * text3.C: use it to delete selections in some cases
7340         (bugs 441, 673, 702, 954).
7341
7342 2003-07-14  André Pönitz  <poenitz@gmx.net>
7343
7344         * rowpainter.[Ch]: reduce interface
7345
7346 2003-07-14  André Pönitz  <poenitz@gmx.net>
7347
7348         * BufferView_pimpl.C:
7349         * text2.C: adjust after removing unused BufferView * argument
7350
7351 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7352
7353         * text2.C (init): fix a crash fired on resize
7354
7355 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7356
7357         * buffer.[Ch]: added new closing signal
7358         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7359         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7360         BufferView::Pimpl via the closing the signal
7361
7362 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7363
7364         * buffer.[Ch]: take out all bv-related from buffer
7365         * BufferView.C:
7366         * BufferView_pimpl.[Ch]: connect to new signals
7367         * CutAndPaste.C: removed useless asserts
7368         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7369         * lyxvc.[Ch]:
7370         * vc-backend.[Ch]:
7371         * lyxfunc.C: moved view-related funciontality from vc here
7372         * paragraph.C: removed outdated comments
7373         * text.C: ws
7374
7375 2003-07-10  André Pönitz  <poenitz@gmx.net>
7376
7377         * BufferView_pimpl.C:
7378         * tabular.h:
7379         * tabular_funcs.C:
7380         * text.C:
7381         * text2.C: remove InsetText::InnerCache, clean up consequences
7382
7383 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7384
7385         * ispell.C: fix two typos in error messages
7386
7387 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7388
7389         * Extend Note inset to other forms of annotation like Comment
7390         and Greyedout. Right button click gives dialog.
7391
7392         Files modified or added (+):
7393
7394         * insetnote.[Ch]
7395         * FormNote.[Ch]      +
7396         * ControlNote.[Ch]   +
7397         * form_note.fd       +
7398         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7399         frontends/controllers
7400         * xforms/Dialogs.C
7401         * factory.C
7402
7403 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7404
7405         * aspell.C: add missing namespace lyx::support
7406
7407 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7408
7409         * BufferView.[Ch] (newFile): Add
7410         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7411         * LaTeX.[Ch] (message): added this signal and use it
7412         * buffer.[Ch] (busy, message): added these signals and use them
7413         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7414         * converter.C:
7415         * exporter.C:
7416         * format.C:
7417         * importer.C: use buffer signals instead of direct bv calling
7418         * lyx_cb.[Ch] (ShowMessage): removed
7419         * lyx_main.C:
7420         * lyxfunc.C:
7421         * paragraph_funcs.C:
7422         * text2.C: use buffer signals
7423
7424 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7425
7426         * introduce namespace lyx::graphics
7427
7428 2003-07-02  André Pönitz  <poenitz@gmx.net>
7429
7430         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7431
7432 2003-07-01  André Pönitz  <poenitz@gmx.net>
7433
7434         * text.C:
7435         * text2.C:
7436         * text3.C:
7437         * text_funcs.[Ch]:
7438         * textcursor.h:
7439         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7440           text*.C to text_func.C
7441
7442 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7443
7444         * introduce namespace lyx::support
7445
7446 2003-06-30  André Pönitz  <poenitz@gmx.net>
7447
7448         * Chktex.C:
7449         * funcrequest.C:
7450         * lyxtext.h:
7451         * text.C: re-enable --with-included-string
7452
7453 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7454
7455         * textcursor.C: add <config.h>
7456
7457         * text.C (getWord): remove const from word_location arg
7458
7459         * lyxvc.C (getLogFile): fix const type order
7460
7461         * lyxtext.h: remove const from word_location arg, add arg name
7462
7463         * lyxlayout.h: currect type on labeltype.
7464
7465         * importer.C: correct \file
7466
7467         * converter.C (intToFormat): use std:: on ret val, ws changes
7468
7469         * bufferlist.h: correct \file
7470
7471         * buffer.C (makeLinuxDocFile): fix const type order
7472         (makeDocBookFile): ditto
7473         (fillWithBibKeys): use std:: on stdlib args.
7474
7475         * CutAndPaste.C: fix authors.
7476         (availableSelections): use std:: on return vector
7477
7478 2003-06-27  André Pönitz  <poenitz@gmx.net>
7479
7480         * BufferView_pimpl.C:
7481         * bufferview_funcs.C:
7482         * lyxcursor.C:
7483         * lyxcursor.h:
7484         * lyxfunc.C:
7485         * lyxtext.h:
7486         * rowpainter.C:
7487         * text.C:
7488         * text2.C:
7489         * text3.C: remove LyXCursor::row_ member
7490
7491         * lyxtext.h:
7492         * text.C: rename fullRebreak() to partialRebreak() and implement
7493           a fullRebreak() that really bereks fully
7494
7495         * textcursor.h: new struct for cursor-related data
7496
7497 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7498
7499         * lyx_main.C (LyX): get full path of document loaded on the
7500         command line
7501
7502 2003-06-26  André Pönitz  <poenitz@gmx.net>
7503
7504         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7505           remove unused/broken operator>,<,>=.
7506
7507         *       text.C: remove only use of broken operator<= in an Assert().
7508
7509 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7510
7511         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7512         moved errorlist_.clear to showErrorList
7513
7514 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7515
7516         * converter.C (scanLog, runLaTeX):
7517         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7518         move the bv->showErrorList call to the callers
7519         * lyxfunc.C: i.e. here...
7520         * text2.C: and here
7521         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7522         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7523         namespace, the second to...
7524         * buffer_funcs (BufferFormat, parseErrors): added
7525         * errorlist.C (ErrorList(TeXErrors const &)): removed
7526
7527 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7528
7529         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7530
7531 2003-06-24  "Garst R. Reese" <reese@isn.net>
7532
7533         * debug.C: fix typo
7534
7535 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7536
7537         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7538
7539         * version.C.in: change docversion to 1.4
7540
7541 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7542
7543         * buffer.C: fix a bug just introduced
7544
7545 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7546
7547         * buffer.[Ch]: added the parseError signal and use it, removed
7548         sgmlError
7549         * BufferView.[Ch] (addError): moved to ...
7550         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7551         to the Buffer::parseError signal to catch (guess what) parse errors
7552         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7553
7554 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7555
7556         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7557         ability to create a buffer and to return an existing one from
7558         the list. Moved these functions to...
7559         * buffer_funcs.[Ch]: added
7560         * BufferView.[Ch] (loadLyXFile): added
7561         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7562         job removed from bufferlist::loadLyXFile.
7563         * buffer.C (setReadOnly): make it work without view
7564         (i.e added an if (users))
7565
7566 2003-06-19  Angus Leeming  <leeming@lyx.org>
7567
7568         * lfuns.h:
7569         * LyXAction.C (init):
7570         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7571         with LFUN_DIALOG_SHOW <name> <data>.
7572
7573 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7574
7575         * CutAndPaste.C (availableSelections): small compilation fix for
7576         ancient (gcc 2.9x) compilers
7577
7578 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7579
7580         * text3.C (cursorNext): add tmp var
7581
7582         * text2.C (updateCounters): for function calling out of for clause
7583         (replaceSelectionWithString): ditto
7584         (insertStringAsParagraphs): ditto
7585         (getColumnNearX): add tmp var
7586         (setCursorFromCoordinates): add tmp var
7587         (cursorDownParagraph): add tmp var
7588         (deleteEmptyParagraphMechanism): add tmp var
7589
7590         * text.C (insertChar): add tmp var
7591
7592         * rowpainter.C (paintDepthBar): add tmp var
7593
7594         * CutAndPaste.C (availableSelections): potentially check all
7595         paragraphs in a cut to fill the shown strings.
7596
7597 2003-06-18  André Pönitz  <poenitz@gmx.net>
7598
7599         * kbmap.[Ch]: use vector<> instead of list<>
7600
7601 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7602
7603         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7604         pasteSelection with index
7605
7606         * text2.C (pasteSelection): modify, call pasteSelection with index
7607
7608         * paragraph.C (asString): reimplement version with no interval to
7609         call the one with interval.
7610
7611         * lyxtext.h: add index arg to pasteSelection
7612
7613         * MenuBackend.C (MenuItem): handle PasteRecent
7614         (Menu::read::Menutags): add md_pasterecent
7615         (read): handle it
7616         (expandPasteRecent): new function
7617         (expand): use it
7618
7619         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7620
7621         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7622         the limited stack
7623         (availableSelections): new function
7624
7625 2003-06-17  Angus Leeming  <leeming@lyx.org>
7626
7627         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7628
7629 2003-06-17  Angus Leeming  <leeming@lyx.org>
7630
7631         * lfuns.h:
7632         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7633
7634         * lyxfunc.C (dispatch): invoke it.
7635
7636 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7637
7638         * iterators.C (operator++, ParPosition): reintroduce some
7639         const_cast for the benefit of older compilers.
7640
7641 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7642
7643         * text3.C (dispatch): do not modify clipboard when doing
7644         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7645         LFUN_DELETE_SKIP on a selection selection
7646
7647 2003-06-16  André Pönitz  <poenitz@gmx.net>
7648
7649         * BufferView.C:
7650         * buffer.C:
7651         * buffer.h:
7652         * paragraph.C:
7653         * tabular.[Ch]: IU of clone() and getLabelList();
7654
7655 2003-06-13  André Pönitz  <poenitz@gmx.net>
7656
7657         * tabular.h: compactification
7658
7659 2003-06-12  André Pönitz  <poenitz@gmx.net>
7660
7661         * tabular.C:
7662         * tabular.h:
7663         * tabular_funcs.h: some renaming plus whitespace
7664
7665 2003-06-12  André Pönitz  <poenitz@gmx.net>
7666
7667         * BufferView.C:
7668         * BufferView_pimpl.C:
7669         * CutAndPaste.C:
7670         * buffer.C:
7671         * iterators.[Ch]:
7672         * lyxfunc.C:
7673         * text.C:
7674         * toc.C: Return a Paragraph & for ParIterator::operator*()
7675
7676 2003-06-11  John Levon  <levon@movementarian.org>
7677
7678         * lyx_main.C:
7679         * ToolbarBackend.h:
7680         * ToolbarBackend.C: add "Toolbars" section and
7681         put the flags there
7682
7683 2003-06-10  Angus Leeming  <leeming@lyx.org>
7684
7685         * lfuns.h:
7686         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7687
7688         * lyxfunc.C (dispatch): invoke it.
7689
7690 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7691
7692         * main.C: protect <ios> with HAVE_IOS
7693         (main): protect sync_with_stdio with HAVE_IOS
7694
7695 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7696
7697         * text2.C (cutSelection): adjust
7698         (pasteSelection): adjust
7699
7700         * messages.C: handle get of empty string
7701
7702         * main.C (main): use sync_with_stdio(false)
7703
7704         * lyxfunc.C (dispatch): adjust
7705
7706         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7707         (WriteAs): remove unneeded BufferView arg.
7708
7709         * bufferparams.h: use correct types on papersize, papersize2 and
7710         paperpackage.
7711
7712         * bufferparams.C (readToken): adjust for type
7713         (writeLaTeX): add missing cases to switch.
7714
7715         * bufferlist.C (quitWriteBuffer): adjust
7716         (close): adjust
7717
7718         * buffer.C (asciiParagraph): remove some commented code.
7719
7720         * CutAndPaste.C: remove current_view extern variable.
7721         (cutSelection): add BufferParams arg.
7722         (eraseSelection): add BufferParams arg.
7723         (pasteSelection): add Buffer const & arg
7724
7725 2003-06-07  John Levon  <levon@movementarian.org>
7726
7727         * buffer.C:
7728         * paragraph_funcs.C:
7729         * paragraph_pimpl.C:
7730         * text.C:
7731         * text2.C:
7732         * paragraph.h:
7733         * paragraph.C: allow InsetERT to freely space lines,
7734         and some consolidation of code
7735
7736 2003-06-06  José Matos  <jamatos@fep.up.pt>
7737
7738         * buffer.C (makeDocBookFile): fix bug #821
7739
7740 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7741
7742         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7743
7744 2003-06-04  Angus Leeming  <leeming@lyx.org>
7745
7746         * buffer.C: bump format to 224.
7747
7748 2003-06-05  André Pönitz  <poenitz@gmx.net>
7749
7750         * text2.C (redoParagraphs): remove two const_cast<>
7751
7752 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7753
7754         * ParagraphList.h: remove last remnants of NO_STD_LIST
7755
7756 2003-06-03  Angus Leeming  <leeming@lyx.org>
7757
7758         * factory.C (createInset): small change to the way InsetExternal's params
7759         are set.
7760
7761 2003-06-04  André Pönitz  <poenitz@gmx.net>
7762
7763         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7764
7765         * paragraph_pimpl.h:
7766         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7767
7768         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7769
7770         * undo_funcs.C: make some simple cases of undo work again
7771
7772 2003-06-03  John Levon  <levon@movementarian.org>
7773
7774         * ispell.C: HPUX doesn't have sys/select.h
7775         (from Albert Chin)
7776
7777 2003-06-03  John Levon  <levon@movementarian.org>
7778
7779         * CutAndPaste.C: update tabular and include inset
7780         buffer references
7781
7782         * buffer.h:
7783         * paragraph.h:
7784         * paragraph.C: remove owningBuffer(), don't pass Buffer
7785         to clone()
7786
7787         * factory.C: insetGraphicsParams changed
7788
7789 2003-06-02  John Levon  <levon@movementarian.org>
7790
7791         * LyXAction.C:
7792         * factory.C:
7793         * lfuns.h:
7794         * lyxfunc.C:
7795         * text3.C: remove insetparent
7796
7797 2003-06-02  John Levon  <levon@movementarian.org>
7798
7799         * buffer.h:
7800         * buffer.C: fix inset_iterator.end(), move out of line
7801         (bug 1149)
7802
7803 2003-06-01  John Levon  <levon@movementarian.org>
7804
7805         * text3.C: use a proper cut/paste when doing inset
7806         insert (from Jürgen Spitzmüller)
7807
7808 2003-06-01  John Levon  <levon@movementarian.org>
7809
7810         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7811
7812 2003-05-30  André Pönitz  <poenitz@gmx.net>
7813
7814         * rowpainter.C: unify second drawing phase
7815
7816 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7817
7818         * trans_mgr.C: remove one case of current_view
7819
7820         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7821
7822         * paragraph_funcs.h: remove paragraph.h include
7823
7824         * paragraph.h: delete NO_STD_LIST stuff
7825
7826         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7827
7828         * buffer.h: remove paragraph.h include
7829
7830         * ParagraphList.C: delete file
7831
7832         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7833
7834         * toc.C (getTocList): adjust
7835
7836         * paragraph_pimpl.C (validate): adjust
7837
7838         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7839
7840         * paragraph.C (Paragraph): adjust
7841         (getPositionOfInset): use const_iterator, adjust
7842         (bibitem): use const_iterator, adjust
7843         (setInsetOwner): adjust
7844
7845         * iterators.C (operator++): adjust
7846
7847         * InsetList.[Ch]: Replace selfmade iterator with standard
7848         vector::iterator also introduce const_iterator. Remove getPos,
7849         getInset and setInset from InsetTable. Adjust accordingly.
7850
7851         * BufferView.C (lockInset): adjust
7852         (ChangeInsets): adjust
7853
7854         * tabular.[Ch]: delete commented same_id functions
7855
7856 2003-05-28  John Levon  <levon@movementarian.org>
7857
7858         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7859
7860 2003-05-28  André Pönitz  <poenitz@gmx.net>
7861
7862         * metricsinfo.[Ch]: remove 'fullredraw' member
7863
7864 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7865
7866         * lyxtextclass.C (operator): remove caching.
7867
7868 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7869
7870         * text3.C: adjust
7871
7872         * text2.C (cursorBottom): adjust
7873         (setCounter): use ParagraphList::find, adjust
7874
7875         * text.C (workWidth): use ParagraphList::find, adjust
7876
7877         * lyxcursor.C (LyXCursor): adjust
7878
7879         * buffer.C (inset_iterator): adjust
7880
7881         * ParagraphList.h: make iterator(value_type) private, make
7882         ParagraphList a friend of iterator.
7883
7884         * ParagraphList.C (find): new function
7885
7886         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7887
7888 2003-05-27  André Pönitz  <poenitz@gmx.net>
7889
7890         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7891
7892 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7893
7894         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7895
7896 2003-05-26  John Levon  <levon@movementarian.org>
7897
7898         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7899
7900 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7901
7902         * remove same_id from function signatures, adjust.
7903
7904 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7905
7906         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7907
7908         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7909
7910         * paragraph.C (Paragraph): get rid of same_ids parameter
7911
7912         * ParagraphList.C (insert): adjust
7913         (push_back): adjust
7914
7915 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7916
7917         * paragraph_funcs.C (breakParagraph): adjust
7918         (breakParagraphConservative): adjust
7919
7920         * buffer.C (readParagraph): adjust
7921
7922         * ParagraphList.C (insert): take a reference instead of a pointer
7923         (insert): adjust
7924
7925         * paragraph.[Ch] (id): new function
7926
7927         * bufferlist.C (newFile): adjust
7928
7929         * ParagraphList.C (ParagraphList): adjust
7930         (assign): adjust
7931         (push_back): take a reference instead of a pointer.
7932
7933         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7934
7935         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7936         instead.
7937
7938         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7939         set else use old code.
7940
7941         * ParagraphList.C: remove all NO_NEXT code and only compile this
7942         code of NO_STD_LIST is set.
7943
7944 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7945
7946         * BufferView_pimpl.C:
7947         * TextCache.C:
7948         * TextCache.h:
7949         * bufferlist.C:
7950         * errorlist.h:
7951         * format.C:
7952         * format.h:
7953         * graph.C:
7954         * lyxfunc.C:
7955         * lyxrc.C:
7956         * graphics/GraphicsConverter.C:
7957         * graphics/PreviewLoader.C: header adjustment
7958
7959 2003-05-23  Angus Leeming  <leeming@lyx.org>
7960
7961         * LaTeXFeatures.[Ch] (useBabel): new method.
7962         * bufferparams.C (writeLaTeX): use it.
7963
7964 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7965
7966         * ParagraphList.h (set): remove unused function.
7967
7968 2003-05-23  André Pönitz  <poenitz@gmx.net>
7969
7970         * BufferView.C:
7971         * BufferView_pimpl.C:
7972         * buffer.C:
7973         * buffer.h:
7974         * lyxfunc.C:
7975         * undo_funcs.C: setUndo reworked
7976
7977         * iterators.[Ch]: add access to topmost ParagraphList
7978
7979         * lyxtext.[Ch] (workWidth): add a const
7980
7981 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7982
7983         * texrow.[Ch] (increasePos): remove function
7984         * exporter.C (export): removed unused var and outdated comment
7985
7986 2003-05-23  Angus Leeming  <leeming@lyx.org>
7987
7988         * latexrunparams.h: rename fragile as moving_arg.
7989         * paragraph.C (simpleTeXOnePar): ditto.
7990         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7991
7992 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7993
7994         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7995         (createUndo): ditto
7996         (textUndoOrRedo): comment out a currently unused var.
7997
7998         * paragraph.h (NO_NEXT): enable NO_NEXT
7999
8000         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
8001
8002         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
8003
8004         * exporter.C (Export): adjust for removeAutoInsets removal.
8005
8006         * buffer.C (runChktex): adjust for removeAutoInsets removal.
8007
8008         * LyXAction.C (init): remove LFUN_REMOVEERRORS
8009
8010         * BufferView.[Ch] (removeAutoInsets): delete function
8011
8012 2003-05-22  Angus Leeming  <leeming@lyx.org>
8013
8014         * latexrunparams.h: add a free_spacing variable.
8015
8016         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
8017         to pass moving_arg, as the data is stored in runparams.fragile.
8018
8019         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
8020         to Inset::latexOptional or to simpleTeXOnePar.
8021
8022         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
8023         free_spacing arg to Inset::latexOptional.
8024
8025         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8026         free_spacing arg.
8027
8028 2003-05-22  Angus Leeming  <leeming@lyx.org>
8029
8030         * latexrunparams.h: add fragile and use_babel variables.
8031
8032         * bufferparams.[Ch] (writeLaTeX): return use_babel.
8033         * buffer.C (makeLaTeXFile): store this returned value in
8034         runparams.use_babel, thus passing it to the inset::latex methods.
8035
8036         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
8037         simpleTeXSpecialChars as it is now stored in runparams.fragile.
8038
8039         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8040         longer has a fragile arg, as it is stored in runparams.fragile.
8041
8042         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8043         moving_arg parameter as the data is stored in runparams.fragile.
8044
8045         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8046         a fragile parameter as the data is stored in runparams.fragile.
8047
8048 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8049
8050         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8051
8052 2003-05-22  Angus Leeming  <leeming@lyx.org>
8053
8054         * latexrunparams.h: add a 'bool nice' which defaults to false.
8055
8056         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8057         now encapsulated within runparams.
8058
8059         * bufferlist.C (updateIncludedTeXfiles):
8060         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8061
8062 2003-05-22  Angus Leeming  <leeming@lyx.org>
8063
8064         * latexrunparams.h: new file containing struct LatexRunParams.
8065         * Makefile.am: add new file.
8066
8067         * LaTeX.[Ch] (c-tor, run):
8068         * buffer.[Ch] (makeLaTeXFile):
8069         * bufferlist.[Ch] (updateIncludedTeXfiles):
8070         * converter.C (convert, scanLog):
8071         * converter.[Ch] (runLaTeX):
8072         * exporter.C (Export):
8073         * paragraph.[Ch] (simpleTeXOnePar):
8074         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8075         * paragraph_funcs.[Ch] (latexParagraphs):
8076         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8077         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8078         pass around a LatexRunParams parameter.
8079
8080 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8081
8082         * paragraph.[Ch]: remove unused constructor
8083
8084         * ParagraphList.C (erase): new function, taking two iterators
8085
8086 2003-05-22  André Pönitz  <poenitz@gmx.net>
8087
8088         * undo_funcs.C: remove duplicated code
8089
8090         * iterator.[Ch]: operator=
8091
8092 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8093
8094         * tabular.C (SetMultiColumn): ws changes
8095
8096         * rowpainter.C (paintFirst): get rid of a ->previous
8097
8098         * lyx_cb.C (getPossibleLabel): parlist simplification
8099
8100         * BufferView.C (ChangeInsets): simplify slightly.
8101
8102 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8103
8104         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8105         * lfuns.h: new LFUN_SPACE
8106         * lyxfunc.C: protected space has a new lfun
8107         * paragraph_funcs.C: read new space insets
8108         * text3.C:
8109         * factory.C: handle new space insets
8110
8111 2003-05-22  André Pönitz  <poenitz@gmx.net>
8112
8113         * BufferView.C:
8114         * BufferView_pimpl.C:
8115         * buffer.[Ch]:
8116         * lyxfunc.C:
8117         * undo_funcs.C: return a ParIterator from getParFromID.
8118
8119         * iterators.[Ch]: add two const's
8120
8121 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8122
8123         * toc.C (getTocList): adjust
8124
8125         * iterators.[Ch]: rework for parlist
8126
8127         * buffer.C (par_iterator_begin): adjust
8128         (par_iterator_end): adjust
8129
8130         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8131
8132         * BufferView.C (removeAutoInsets): adjust
8133         (ChangeInsets): adjust
8134
8135 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8136
8137         * text.C (top_y): fix bug 1110
8138
8139 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8140
8141         * errorlist.[Ch]: added
8142         * buffer.C:
8143         * BufferView.[Ch]:
8144         * BufferView_pimpl.C:
8145         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8146         instead
8147
8148 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8149
8150         * Makefile.am: ensure that lyx is relinked upon changes to the
8151         various "convenience" libs.
8152
8153 2003-05-20  Angus Leeming  <leeming@lyx.org>
8154
8155         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8156         files are compiled in alphabetical order again.
8157
8158         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8159
8160 2003-05-19  Angus Leeming  <leeming@lyx.org>
8161
8162         * gettext.[Ch]: remove "char const * _(char const *)".
8163
8164 2003-05-19  André Pönitz  <poenitz@gmx.net>
8165
8166         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8167
8168         * Makefile.am:
8169         * BufferView.C:
8170         * DepTable.h:
8171         * LaTeXFeatures.C:
8172         * buffer.C:
8173         * lyxfont.C:
8174         * lyxlex.h:
8175         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8176
8177 2003-05-19  André Pönitz  <poenitz@gmx.net>
8178
8179         * buffer.C:
8180         * lyxlayout.[Ch]:
8181         * lyxtextclass.[Ch]:
8182         * paragraph.C:
8183         * paragraph_funcs.[Ch]:
8184         * text2.C:
8185         * text3.C: more insetenv work
8186
8187 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8188
8189         * ParagraphParameters.C (params2string): small bug fixed
8190
8191 2003-05-16  André Pönitz  <poenitz@gmx.net>
8192
8193         * debug.C:
8194         * bufferview_funcs.C: patch from Kornel Benko to prevent
8195           crash when _(...) is called twice in a statement
8196
8197 2003-05-16  André Pönitz  <poenitz@gmx.net>
8198
8199         * BufferView.C:
8200         * lyxfunc.C:
8201         * text.C:
8202         * text2.C:
8203         * text3.C:
8204         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8205
8206 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8207
8208         * lyx_main.C (init): remove spurious static_cast
8209
8210 2003-05-14  André Pönitz  <poenitz@gmx.net>
8211
8212         * BufferView.C: fix format string
8213
8214 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8215
8216         * BufferView.[Ch] (insertErrors): removed
8217         * BufferView.[Ch] (showErrorList): added
8218         * buffer.C (runChkTeX):
8219         * converter.C (scanLog): call showErrorList instead of inserterrors
8220
8221 2003-05-13  André Pönitz  <poenitz@gmx.net>
8222
8223         * BufferView_pimpl.C:
8224         * buffer.C:
8225         * bufferview_func.C:
8226         * MenuBackend.C:
8227         * lyxfunc.C:
8228         * lyxrc.C:
8229         * tex-accent.C:
8230         * text3.C:
8231         * toc.C:
8232         * tabular_funcs.h: tostr() from its own header
8233
8234         * ParagraphParameters.C:
8235         * ToolbarBackend.C:
8236         * bufferparams.C:
8237         * format.C:
8238         * lyxlex_pimpl.C:
8239         * text3.C: STRCONV()
8240
8241 2003-05-12  André Pönitz  <poenitz@gmx.net>
8242
8243         * BufferView.C:
8244         * BufferView_pimpl.C:
8245         * CutAndPaste.C:
8246         * LaTeX.C:
8247         * LaTeXFeatures.C:
8248         * ParagraphParameters.C:
8249         * buffer.C:
8250         * bufferlist.C:
8251         * bufferparams.C:
8252         * bufferview_funcs.C:
8253         * converter.C:
8254         * counters.C:
8255         * debug.C:
8256         * exporter.C:
8257         * format.C:
8258         * importer.C:
8259         * lyx_cb.C:
8260         * lyx_main.C:
8261         * lyxfont.C:
8262         * lyxfunc.C:
8263         * lyxvc.C:
8264         * paragraph.C:
8265         * paragraph_funcs.C:
8266         * tabular.C:
8267         * tabular_funcs.C:
8268         * text2.C:
8269         * text3.C:  boost::format -> bformat  all over the place
8270
8271
8272 2003-05-09  André Pönitz  <poenitz@gmx.net>
8273
8274         * LColor.[Ch]: Pimpl the #include <map> away
8275
8276 2003-05-09  John Levon  <levon@movementarian.org>
8277
8278         * bufferlist.C: never remove emergency saves
8279
8280 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * Makefile.am: better lib building
8283
8284 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8285
8286         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8287         instead.
8288         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8289         (simpleTeXSpecialChars): adjust
8290         (simpleTeXSpecialChars): adjust
8291         * paragraph.C (simpleTeXOnePar): adjust
8292         * buffer.C (makeLaTeXFile): adjust
8293
8294         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8295
8296         * text2.C (changeDepth): parlist cleanup
8297         (getColumnNearX): ditto
8298
8299         * rowpainter.C (getLabelFont): parlist cleanup
8300
8301         * bufferlist.C (newFile): parlist cleanup
8302
8303         * CutAndPaste.C (eraseSelection): parlist cleanup
8304
8305         * BufferView_pimpl.C (trackChanges): parlist cleanup
8306         (dispatch): ditto
8307
8308         * BufferView.C (lockInset): parlist cleanup.
8309         (ChangeInsets): ditto
8310
8311 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8312
8313         * CutAndPaste.h: Update file header.
8314
8315         * CutAndPaste.C: Update file header.
8316         Store the parts cut out of the Document in a limited_stack.
8317         (copySelection): adjust
8318         (pasteSelection): new function, takes the index in the limited stack.
8319         (nrOfParagraphs): adjust
8320         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8321         simplify error inset insertion.
8322         (checkPastePossible): adjust
8323
8324 2003-05-06  John Levon  <levon@movementarian.org>
8325
8326         * text2.C: don't cast wrap inset to float
8327
8328 2003-05-05  André Pönitz  <poenitz@gmx.net>
8329
8330         * iterator.C:
8331         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8332
8333         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8334           few naked Paragraph *.
8335
8336 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8337
8338         * bufferparams.C: Output warning if a document with missing
8339         TeX document class is loaded
8340         * exporter.C: Disable TeX exports if the document class is missing
8341         * lyxtextclass.C:
8342         * lyxtextclass.h:
8343         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8344         isTeXClassAvailable()
8345
8346 2003-05-03  John Levon  <levon@movementarian.org>
8347
8348         * BufferView.h:
8349         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8350         explicit cursor show/hide
8351
8352         * BufferView_pimpl.h:
8353         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8354         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8355
8356         * lyxfunc.C: hide cursor before dispatching.
8357
8358         * lyx_cb.C:
8359         * lyxfind.C:
8360         * text.C:
8361         * text3.C: remove explicit cursor hides
8362
8363 2003-05-02  André Pönitz  <poenitz@gmx.net>
8364
8365         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8366
8367         * undo_funcs.C:
8368         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8369           linked lists
8370
8371         * text2.C: tiny whitespace
8372
8373 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8374
8375         * undo_funcs.C: almost only ws changes.
8376
8377         * ParagraphList.C (splice): just return if pl is empty.
8378
8379 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8380
8381         * ParagraphList.C (splice): new function.
8382
8383         * CutAndPaste.C (pasteSelection): use it
8384
8385 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8386
8387         * CutAndPaste.C (pasteSelection): remove the last next and
8388         previous from this file.
8389
8390 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8391
8392         * CutAndPaste.C (pasteSelection): more clean up, user proper
8393         ParagraphList functions for pasteing.
8394
8395         * ParagraphList.C (insert): new function, three arg insert
8396
8397 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8398
8399         * ParagraphList.C (insert): new function, three arg insert
8400
8401         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8402         not on paragraphs.
8403
8404 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8405
8406         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8407
8408 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8409
8410         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8411
8412 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8413
8414         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8415         (copySelection): clean up a bit.
8416         (pasteSelection): use make_pair
8417
8418         * ParagraphList.C (ParagraphList): implement copy constructor
8419         (operator=): implement, base on copy constructor.
8420         (assign): new func
8421
8422         * paragraph.C (erase): return a bool
8423
8424         * paragraph_pimpl.C (erasePos): remove function, move contents...
8425         (erase): ... here. Return a bool.
8426         (erase): call erase instead of erasePos.
8427
8428 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8429
8430         * ParagraphList.h: define PitPosPair
8431         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8432         ParagraphList, fix a bug on pasting multiple pars
8433         * text2.C: change interface to C&P
8434
8435 2003-04-30  André Pönitz  <poenitz@gmx.net>
8436
8437         * undo_func.C: revert part of yesterday's patch 2
8438
8439 2003-04-30  John Levon  <levon@movementarian.org>
8440
8441         * LColor.C: s/tabular/table/
8442
8443 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8444
8445         * text3.C (dispatch): do not convert iterator -> pointer
8446         * undo_funcs.C (setCursorParUndo): ditto
8447         * text_funcs.C (transposeChars): ditto
8448
8449         * text2.C (setLayout): ws changes only
8450
8451         * text.C (breakParagraph): do not convert iterator -> pointer
8452         (insertChar): ditto
8453         (acceptChange): ditto
8454         (rejectChange): ditto
8455         (changeCase): ditto
8456         (Delete): ditto
8457         (backspace): ditto
8458
8459         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8460         pointer
8461
8462 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8463
8464         * text3.C (gotoInset): YABG (yet another bad getChar)
8465
8466 2003-04-29  André Pönitz  <poenitz@gmx.net>
8467
8468         * paragraph.h: make operator= private unimplemented as long as
8469           it is unusable
8470
8471         * ParagraphList.C: whitespace
8472
8473         * paragraph.[Ch]:
8474         * paragraph_pimpl.[Ch]:
8475         * paragraph_funcs.C:
8476         * CutAndPaste.C:
8477         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8478
8479         * text2.C:
8480           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8481
8482 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8483
8484         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8485         * paragraph.[Ch] (erase):
8486         * paragraph_pimpl.[Ch] (erase): change return type and value
8487         * text2.C (cutSelection): some rework
8488
8489 2003-04-28  John Levon  <levon@movementarian.org>
8490
8491         * bufferlist.C: changes for unsaved changes dialog
8492
8493 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8494
8495         * bufferlist.C (newFile): set language (messages_) for new
8496         documents also.
8497
8498         * buffer.C (readFile): ws changes only.
8499
8500 2003-04-28  André Pönitz  <poenitz@gmx.net>
8501
8502         * undo_funcs.C:
8503         * lyxfunc.C:
8504         * buffer.[Ch]:
8505         * BufferView_pimpl.C:
8506         * BufferView.C: getParFromID related ParagraphList::iterator changes
8507
8508 2003-04-28  André Pönitz  <poenitz@gmx.net>
8509
8510         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8511           Changes
8512
8513 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8514
8515         * messages.C: remove one more localedir class variable.
8516
8517 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8518
8519         * messages.C (getLocaleDir): singleton generation function
8520         (Pimpl): use it.
8521         (Messages): add a default constructor.
8522
8523         * main.C (main): do not setup localedir here, do not call
8524         gettext_init.
8525
8526         * gettext.C (_): use it.
8527         (gettext_init): delete funciton
8528
8529 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8530
8531         * gettext.C (getLyXMessages): new singleton generating function.
8532
8533         * buffer.C (updateDocLang): adjust
8534
8535         * Makefile.am (messages.o): add target
8536         (main.o): remove target
8537
8538 2003-04-27  John Levon  <levon@movementarian.org>
8539
8540         * bufferlist.C:
8541         * lyx_cb.C:
8542         * lyxfunc.C:
8543         * lyxvc.C: specify cancel button in Alert::prompt
8544
8545 2003-04-26  John Levon  <levon@movementarian.org>
8546
8547         * text3.C:
8548         * lyxfunc.C:
8549         * lfuns.h:
8550         * LyXAction.C: add LFUN_INSET_SETTINGS
8551
8552         * lyxfunc.C: don't enable tabular-feature when there's
8553         just any locking inset
8554
8555 2003-04-26  John Levon  <levon@movementarian.org>
8556
8557         * bufferlist.C: re-add Cancel to buffer close question
8558
8559         * lyxfunc.C: fix import UI a bit
8560
8561 2003-04-25  John Levon  <levon@movementarian.org>
8562
8563         * gettext.C: remove the broken asserts for now
8564
8565 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8566
8567         * messages.C: make case where setlocale cannot comply work better.
8568
8569         * buffer.C (updateDocLang): new function
8570         (changeLanguage): use it
8571         (readFile): use it
8572
8573         * text2.C (setCounter): use B_ a bit.
8574
8575         * lyxlayout.C (Read): be sure to trim the label strings.
8576
8577         * messages.C (Messages): fix typo in comment
8578
8579         * buffer.C (readFile): set message_ after file is loaded.
8580         (makeDocBookFile): remove double return
8581         (changeLanguage): reset message_ upon language change.
8582         (B_): new func, use this to get translated buffer strings.
8583
8584         * main.C: add myself and Jean Marc as authors.
8585
8586 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8587
8588         * messages.[hC]: pimplify Messages, and three different pimpls to be
8589         used in different circumstances.
8590
8591         * gettext.[Ch]: change for use with new message code.
8592
8593 2003-04-24 André Pönitz <poenitz@gmx.net>
8594
8595         * factory.C: support for eqref
8596
8597 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * messages.[Ch]: add missing char
8600
8601         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8602
8603         * messages.[Ch]: New files
8604
8605 2003-04-18  John Levon  <levon@movementarian.org>
8606
8607         * BufferView.h:
8608         * BufferView.C:
8609         * BufferView_pimpl.C:
8610         * lfuns.h:
8611         * LyXAction.C:
8612         * lyxtext.h:
8613         * text2.C: remove layout-copy/paste (bug 778)
8614
8615 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8616
8617         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8618
8619 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8620
8621         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8622         if they succeed. Act accordingly.
8623
8624 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8625
8626         * text2.C (setCharFont): adjust
8627         (setCounter): adjust
8628         (insertStringAsLines): adjust
8629
8630         * text.C (leftMargin): adjust
8631         (setHeightOfRow): adjust
8632
8633         * rowpainter.C (paintFirst): adjust
8634         (paintLast): adjust
8635
8636         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8637         (outerHook): ditto
8638         (isFirstInSequence): ditto
8639         (getEndLabel): ditto
8640         (outerFont): adjust
8641
8642         * paragraph.C (getParLanguage): comment out some hard stuff.
8643
8644         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8645         (sgmlError): ditto
8646         (simpleDocBookOnePar): ditto
8647         (makeDocBookFile): use ParagraphList::iterator
8648
8649         * CutAndPaste.C (pasteSelection): adjust
8650
8651 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8652
8653         * text2.C (getFont): adjust
8654         (getLayoutFont): adjust
8655         (getLabelFont): adjust
8656
8657         * paragraph_funcs.C (TeXOnePar): adjust
8658
8659         * buffer.C (simpleLinuxDocOnePar): adjust
8660         (simpleDocBookOnePar): adjust
8661
8662         * CutAndPaste.C (pasteSelection): adjust
8663
8664         * BufferView.C (getEncoding): adjust
8665
8666         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8667
8668 2003-04-16  John Levon  <levon@movementarian.org>
8669
8670         * lyxfind.C: use parlist stuff for search/changes
8671
8672 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8673
8674         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8675
8676         * text2.C (deleteEmptyParagraphMechanism): adjust
8677
8678         * text2.[Ch] (ownerParagraph): delete func (both of them
8679
8680 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8681
8682         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8683
8684 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8685
8686         * ParagraphList.C: prepare for NO_NEXT
8687
8688 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8689
8690         * text2.C (getFont): adjust
8691         (getLayoutFont): adjust
8692         (getLabelFont): adjust
8693
8694         * paragraph.C (getFont): adjust
8695         (getLabelFont): adjust
8696         (getLayoutFont): adjust
8697
8698         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8699
8700 2003-04-15  John Levon  <levon@movementarian.org>
8701
8702         From Angus Leeming
8703
8704         * lyx_main.C: handle Include in .ui files
8705
8706 2003-04-15  John Levon  <levon@movementarian.org>
8707
8708         * MenuBackend.C: make the doc files length shorter
8709
8710         * ToolbarBackend.h:
8711         * ToolbarBackend.C: handle toolbar placement flags,
8712         Minibuffer
8713
8714 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8715
8716         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8717         adjust
8718
8719         * paragraph_funcs.C (TeXOnePar): adjust
8720
8721         * paragraph.C (getLabelFont): add outerfont arg, adjust
8722         (getLayoutFont): ditto
8723         (simpleTeXOnePar): adjust
8724
8725         * paragraph_pimpl.C (realizeFont): delete func
8726
8727 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8728
8729         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8730         row argument, constify cur argument.
8731
8732 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8733
8734         * text2.C (getFont): adjust
8735         (getLayoutFont): adjust
8736         (getLabelFont): adjust
8737
8738         * paragraph_funcs.C (TeXOnePar): adjust
8739         (outerFont): new func...
8740         (realizeFont): ...moved out from here, changed this to facilitate
8741         transition
8742
8743         * paragraph.C (getFont): take outerfont as arg, adjust
8744         (simpleTeXOnePar): add outerfont arg, adjust
8745
8746         * buffer.C (simpleLinuxDocOnePar): adjust
8747         (simpleDocBookOnePar): adjust
8748
8749         * CutAndPaste.C (pasteSelection): adjust
8750
8751         * BufferView.C (getEncoding): adjust
8752
8753 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8754
8755         * text2.C (setCharFont): adjust
8756         (setCounter): adjust
8757
8758         * text.C (leftMargin): adjust
8759         (setHeightOfRow): adjust
8760
8761         * rowpainter.C (paintFirst): adjust
8762         (paintLast): adjust
8763
8764         * paragraph_pimpl.C (realizeFont): adjust
8765
8766         * paragraph.C (isFirstInSequence): move from here...
8767         * paragraph_funcs.C (isFirstInSequence): ...to here
8768
8769         * paragraph.C (outerHook): move from here...
8770         * paragraph_funcs.C (outerHook): ...to here
8771
8772         * paragraph.C (depthHook): move from here...
8773         * paragraph_funcs.C (depthHook): ...to here
8774
8775         * paragraph.C (getEndLabel): move from here...
8776         * paragraph_funcs.C (getEndLabel): ...to here
8777
8778         * text2.C (realizeFont): move from here...
8779         * paragraph_funcs.C (realizeFont): ...to here
8780
8781 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8782
8783         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8784
8785 2003-04-14  Angus Leeming  <leeming@lyx.org>
8786
8787         * LColor.[Ch]: scrap LColor mathcursor.
8788
8789 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8790
8791         * lyxlex.[Ch] (text): delete function
8792         * trans.C (Load): adjust
8793         * paragraph_funcs.C (readParToken): adjust
8794
8795 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8796
8797         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8798         vector<char> instead of a char[].
8799
8800         * lyxlex_pimpl.C (getString): adjust
8801         (next): adjust
8802         (lex): use getString
8803         (eatLine): adjust
8804         (nextToken): adjust
8805
8806         * lyxlex.C (text): use pimpl_->getString()
8807         (getBool): ditto
8808         (findToken): ditto
8809
8810 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8811
8812         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8813         (makeFontEntriesLayoutSpecific): temp var for par.size()
8814         (setLayout): temp var for ownerParagraphs().end()
8815         (fullRebreak): temp var for rows().end()
8816         (selectionAsString): temp var for boost::next(startpit), realize
8817         that the while really is a regular for loop.
8818         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8819         setCursor in one place.
8820         (setParagraph): temp vr for ownerParagraphs().end()
8821         (updateCounters): make the while loop a for loop
8822         (cutSelection): temp var for ownerParagraphs().end()
8823         (updateInset): make the do {} while() a regular for loop
8824         (getCursorX): use temp vars
8825         (setCurrentFont): use temp vars
8826         (getColumnNearX): use temp vars
8827
8828 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8829
8830         * text.C (transformChar): use temp var for getChar
8831         (computeBidiTables): use temp var for row->par()
8832         (fill): move temp vars for row->par() and pit->layout() earlier in
8833         the function.
8834         (labelFill): use temp var for row->par()
8835         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8836         asc and desc, realize that pit never changes and that firstpit is
8837         just a duplicate and not needed. Exchange rit->par() with pit in a
8838         lot of places.
8839         (breakAgain): use a temp var for boost::next(rit)
8840         (breakAgainOneRow): ditto
8841         (breakParagraph): use a temp var for rows().begin()
8842         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8843         (cursorRightOneWord): use temp var for cursor.par() and
8844         cursor.pos(), remove usage of tmpcursor.
8845         (cursorLeftOneWord): use temp var for cursor.par() and
8846         cursor.pos() only set cur at end of function.
8847
8848 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8849
8850         * text.C, text2.C: exchange all usage of Paragraph::next with
8851         boost::next(ParagraphList::iterator)
8852
8853         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8854
8855         * text2.C (cursorTop): simplify implementation
8856         (cursorBottom): ditto
8857         (setParagraph): use ParagraphList::iterator
8858         (setCurrentFont): adjust
8859         (getColumnNearX): adjust
8860         (cursorRight): adjust
8861         (cursorLeft): remove usage of Paragraph::previous
8862         (cursorUpParagraph): ditto
8863         (deleteEmptyParagraphMechanism): slight cleanup
8864
8865         * text.C (isBoundary): take a Paragraph const & instead of a
8866         pointer as arg.
8867         (addressBreakPoint): ditto
8868         (leftMargin): remove usage of Paragraph::previous.
8869         (setHeightOfRow): ditto
8870         (cursorLeftOneWord): ditto
8871         (selectNextWordToSpellcheck): ditto
8872         (Delete): ditto
8873         (backspace): ditto
8874         (breakParagraph): remove one usage of Paragraph::next
8875         (redoParagraph): ditto
8876         (acceptChange): ditto
8877         (insertChar): adjust
8878         (rowBreakPoint): adjust
8879
8880         * bufferview_funcs.C (toggleAndShow): adjust
8881
8882 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8883
8884         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8885         methods to access it.
8886         * lyxtext.h:
8887         * text.C: Added updateRowPositions to compute all row positions.
8888         Make top_y and getRowNearY() to use the cached y position
8889
8890 2003-04-11  John Levon  <levon@movementarian.org>
8891
8892         * text.C (rowBreakPoint): reintroduce the labelEnd
8893         checks, code copied from the row fill stuff. Deep voodoo.
8894
8895         * text.C (fill): add a comment and debugging for the
8896         next poor soul.
8897
8898 2003-04-11  John Levon  <levon@movementarian.org>
8899
8900         * text.C: make sure fullrow insets get wrapped to the next line,
8901         even when they're in a manual label
8902
8903 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8904
8905         * text2.C (insertParagraph): make it take ParagraphList::iterator
8906         as arg.
8907         (setLayout): make it return ParagraphList::iterator
8908         (redoParagraphs): ditto
8909         (setCounter): ditto
8910         (checkParagraph): ditto
8911
8912         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8913
8914         * text2.C: adjust several funcs.
8915         (realizeFont): take a ParagraphList::iterator as arg.
8916         (getLayoutFont): ditto
8917         (getLabelFont): ditto
8918         (setCharFont): ditto
8919
8920         * text.C: adjust several funcs.
8921
8922 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8923
8924         * text.C (selectNextWordToSpellcheck): don't accidentally
8925         skip insets
8926
8927 2003-04-10  John Levon  <levon@movementarian.org>
8928
8929         * ToolbarBackend.C (getIcon): special handling for
8930         LFUN_MATH_DELIM
8931
8932 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8933
8934         * text2.C (cursorRight): a getChar assert fixed
8935
8936 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8937
8938         * text2.C (getFont): change to take a ParagraphList::iterator
8939         instead of Paragraph*
8940         Adjust several functions.
8941
8942         * text.C (transformChar): change to take a ParagraphList::iterator
8943         instead of Paragraph*
8944         (singleWidth): ditto
8945         Adjust several functions.
8946
8947         * rowpainter.C: adjust several functions
8948         * rowpainter.h:store a ParagraphList::iterator and not a
8949         Paragraph&.
8950
8951
8952 2003-04-09  John Levon  <levon@movementarian.org>
8953
8954         * lyxfunc.C:
8955         * lfuns.h:
8956         * LyXAction.h:
8957         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8958         and the "help" bits as well
8959
8960 2003-04-09  John Levon  <levon@movementarian.org>
8961
8962         * ToolbarBackend.h:
8963         * ToolbarBackend.C: allow multiple toolbars
8964
8965 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8966
8967         * undo_funcs.C (setCursorParUndo): adjust
8968
8969         * text_funcs.C (transposeChars): adjust
8970
8971         * text3.C (gotoNextInset): adjust
8972         (dispatch): adjust
8973
8974         * text2.C (setLayout): adjust
8975         (changeDepth): adjust
8976         (setFont): adjust
8977         (redoParagraphs): adjust
8978         (selectionAsString): adjust
8979         (setParagraph): adjust
8980         (insertInset): adjust
8981         (cutSelection): adjust
8982         (copySelection): adjust
8983         (pasteSelection): adjust
8984         (insertStringAsLines): adjust
8985         (updateInset): adjust
8986         (setCursor): change to take a ParagraphList::iterator parameter
8987         (setCursorIntern): change to take a ParagraphList::iterator parameter
8988         (setCurrentFont): adjust
8989         (cursorLeft): adjust
8990         (cursorRight): adjust
8991         (deleteEmptyParagraphMechanism): adjust
8992
8993         * text.C (breakParagraph): adjust
8994         (insertChar): adjust
8995         (acceptChange): adjust
8996         (rejectChange): adjust
8997         (selectNextWordToSpellcheck): adjust
8998         (changeCase): adjust
8999         (Delete): adjust
9000         (backspace): adjust
9001
9002         * lyxfind.C (SearchForward): adjust
9003         (SearchBackward): adjust
9004         (nextChange): adjust
9005
9006         * lyxcursor.C (par): adjust
9007
9008         * lyxcursor.h: store a ParagraphList::iterator instead of a
9009         Paragraph*
9010
9011         * lyx_cb.C (getPossibleLabel): adjust
9012
9013         * bufferview_funcs.C (toggleAndShow): adjust
9014
9015         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9016         (dispatch): adjust
9017
9018         * BufferView.C (removeAutoInsets): adjust
9019         (lockedInsetStoreUndo): adjust
9020
9021 2003-04-09  John Levon  <levon@movementarian.org>
9022
9023         * ToolbarBackend.C: try icon without argument
9024         if with argument fails
9025
9026 2003-04-08  John Levon  <levon@movementarian.org>
9027
9028         * ToolbarBackend.h:
9029         * ToolbarBackend.C: add getIcon(), handle tooltip,
9030         and change from "Icon" to "Item".
9031
9032 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9033
9034         * BufferView.C (lockInset): another bad getchar crunched
9035
9036 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9037
9038         * text2.C (changeDepth): do not setUndo on test_only (make undo work
9039         again)
9040
9041 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
9042
9043         * lyxfind.C (searchForward, searchBackwards): bug 782
9044
9045 2003-04-07  John Levon  <levon@movementarian.org>
9046
9047         * paragraph.C: remove dead comment
9048
9049         * text.C: remove troublesome depth-fiddling code
9050         in leftMargin() and rightMargin() (bug 1017)
9051
9052         * text.C: fix breaking of rows in nested lists
9053         (bug 1004)
9054
9055         * text2.C (updateCounters): fix up depth values
9056         (bug 1013)
9057
9058 2003-04-07  John Levon  <levon@movementarian.org>
9059
9060         * BufferView_pimpl.C: clear message when doc finishes resizing,
9061         and after a mouse event
9062
9063         * lyxfunc.C: clear message after exiting inset
9064
9065 2003-04-07  John Levon  <levon@movementarian.org>
9066
9067         * bufferview_funcs.C: show math status not outside
9068         status in the statusbar
9069
9070 2003-04-07  John Levon  <levon@movementarian.org>
9071
9072         * lyxfunc.C: note status changed after a depth change
9073
9074 2003-04-04  Angus Leeming  <leeming@lyx.org>
9075
9076         * LaTeX.h: move AuxInfo operator==, != out of line.
9077         Remove LaTeX virtual destructor; nothing derives from it.
9078         Move operator()() out of public area and rename it startscript().
9079         Change protected for private.
9080
9081 2003-04-04  Angus Leeming  <leeming@lyx.org>
9082
9083         * lyxfunc.C:
9084         * text2.C: remove unneeded #includes.
9085
9086 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9087
9088         * text2.C (dEPM): fix the heigth of the next row
9089
9090 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9091
9092         * text.C: squashed an invalid getChar requester + some ws changes
9093
9094 2003-04-03  John Levon  <levon@movementarian.org>
9095
9096         * bufferview_funcs.h:
9097         * bufferview_funcs.C:
9098         * lyxfunc.C:
9099         * lyxtext.h:
9100         * text2.C: make getStatus work for the env depth lfuns
9101
9102 2003-04-03  John Levon  <levon@movementarian.org>
9103
9104         * bufferview_funcs.h:
9105         * bufferview_funcs.C:
9106         * lyxfunc.C:
9107         * lyxtext.h:
9108         * text2.C: parlistize decDepth(), by merging it with incDepth()
9109
9110 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9111
9112         * lyxrow.h: store a ParagraphList::iterator instead of a
9113         Paragraph* and adjust other class functions to suit.
9114
9115         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9116         above.
9117
9118 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9119
9120         * text2.C (setCursor): do not anchor to cursor row for the time being
9121
9122 2003-04-02  John Levon  <levon@movementarian.org>
9123
9124         * LyXAction.C:
9125         * lfuns.h:
9126         * lyx_main.C:
9127         * lyxtext.h:
9128         * text.C:
9129         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9130
9131 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9132
9133         * paragraph.h: make ParagraphList and ParagraphList::iterator
9134         friends of Paragraph.
9135
9136         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9137
9138         * ParagraphList.C: Use the private next_ and previous_ from
9139         Paragraph.
9140
9141 2003-04-01  John Levon  <levon@movementarian.org>
9142
9143         * ToolbarBackend.h:
9144         * ToolbarBackend.C:
9145         * Makefile.am: rename, remove defaults gunk
9146
9147         * MenuBackend.h:
9148         * MenuBackend.C: remove defaults gunk
9149
9150         * Languages.h:
9151         * Languages.C: remove defaults gunk
9152
9153         * lyx_main.h:
9154         * lyx_main.C: error out if files couldn't be found.
9155
9156 2003-04-02  John Levon  <levon@movementarian.org>
9157
9158         * text2.C: make incDepth() use parlist
9159
9160 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9161
9162         * undo_funcs.C (firstUndoParagraph): adjust
9163
9164         * text3.C (gotoInset): adjust
9165         (dispatch): adjust, and rewrite loop.
9166
9167         * text2.C (init): adjust, and rewrite loop.
9168         (redoParagraphs): adjust
9169         (updateInset): adjust, and rewrite loop.
9170         (deleteEmptyParagraphMechanism): adjust
9171
9172         * tabular.C (LyXTabular): adjust
9173         (SetMultiColumn): adjust
9174         (TeXRow): adjust
9175
9176         * lyxtext.[Ch] (ownerParagraph): delete function
9177         (ownerParagraphs): new function returns a ParagraphList.
9178
9179         * BufferView.C (removeAutoInsets): adjust
9180         (insertErrors): adjust
9181         (setCursorFromRow): adjust
9182
9183 2003-04-01  Angus Leeming  <leeming@lyx.org>
9184
9185         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9186         in the frontends.
9187
9188 2003-04-02  John Levon  <levon@movementarian.org>
9189
9190         * lyxtext.h:
9191         * text.C:
9192         * Makefile.am:
9193         * text_funcs.h:
9194         * text_funcs.C: make transposeChars a free function
9195
9196         * lyxrow_funcs.C: remove wrong comment
9197
9198 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9199
9200         * lyxtext.h: adjust
9201         * rowpainter.C: adjust
9202         * text.C: adjust
9203         * text2.C: adjust
9204         * text3.C: adjust
9205
9206         * lyxrow_funcs. [Ch]: new files
9207
9208         * lyxrow.[Ch]: remove next and previous pointers
9209         (next,previous): remove accessor functions
9210         (isParEnd): move to lyxrow_funcs
9211         (lastPos): move to lyxrow_funcs
9212         (nextRowIsAllInset): move to lyxrow_funcs
9213         (lastPrintablePos): move to lyxrow_funcs
9214         (numberOfSeparators): move to lyxrow_funcs
9215         (numberOfHfills): move to lyxrow_funcs
9216         (numberOfLabelHfills): move to lyxrow_funcs
9217         (hfillExpansion): move to lyxrow_funcs
9218
9219         * lyxfunc.C: adjust
9220
9221         * bufferview_funcs.C (toggleAndShow): adjust
9222
9223         * RowList.h: Remove class RowList from file leave just a
9224         std::list<Row>.
9225
9226         * RowList.C: delete file
9227
9228         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9229         and lyxrow_funcs.h
9230
9231 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9232
9233         * text3.C (cursorPrevious): adjust
9234         (cursorNext): adjust
9235         (dispatch): adjust
9236
9237         * text2.C (redoHeightOfParagraph): adjust
9238         (redoDrawingOfParagraph): adjust
9239         (setCursor): adjust
9240
9241         * text.C (breakParagraph): adjust
9242         (insertChar): adjust
9243         (backspace): adjust
9244
9245         * rowpainter.C (RowPainter): adjust
9246         (leftMargin): simplify and adjust
9247         (most rowpainter functions): adjust.
9248
9249         * rowpainter.h: store the row as RowList::iterator not as Row*
9250
9251         * lyxcursor.C (row): taka RowList::iterator as arg
9252         (irow): ditto
9253
9254         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9255         of Row*.
9256
9257 2003-04-01  Angus Leeming  <leeming@lyx.org>
9258
9259         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9260         stuff like bool Bool.
9261
9262 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9263
9264         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9265         rewrite a loop
9266
9267 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9268
9269         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9270         RowList::iterator.
9271
9272         * lyxtext.h (rows): drop one version and leve a const variant that
9273         returns a RowList::iterator.
9274
9275 2003-03-31  Angus Leeming  <leeming@lyx.org>
9276
9277         * text.C (fill): ensure that the signature is the same as that in the
9278         header file.
9279
9280 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9281
9282         * text2.C (redoParagraphs): adjust
9283         (updateCounters): adjust
9284         (checkParagraph): adjust
9285         (getColumnNearX): adjust and reformat a bit.
9286
9287         * text.C (top_y): adjust
9288         (workWidth): adjust
9289         (leftMargin): adjust
9290         (prepareToPrint): adjust
9291         (getRow): adjust
9292         (getRowNearY): adjust
9293
9294         * lyxtext.h: make rowlist_ mutable.
9295
9296         * RowList.h: add const_iterator
9297         * RowList.C: adjust for RowList::const_iterator.
9298
9299         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9300         adjust.
9301
9302 2003-03-31  John Levon  <levon@movementarian.org>
9303
9304         * lyxrc.h:
9305         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9306
9307         * lyx_main.C: set default fonts from using lyx_gui funcs
9308
9309         * exporter.C: pdf_mode moved from lyxrc
9310
9311         * lyx_cb.C:
9312         * lyxfunc.C: changes from above
9313
9314 2003-03-31  John Levon  <levon@movementarian.org>
9315
9316         * lyx_main.C: fix to the last fix
9317
9318 2003-03-31  John Levon  <levon@movementarian.org>
9319
9320         * bufferlist.C: "Load original" -> "Load Original"
9321
9322         * converter.C:
9323         * exporter.C:
9324         * importer.C:
9325         * lyx_main.C:
9326         * format.C: more Alert cleanups
9327
9328 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9329
9330         * text2.C (removeParagraph): make it take a RowList::iterator as
9331         arg, adjust.
9332         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9333         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9334
9335         * text.C (anchor_row): make it take a RowList::iterator as arg,
9336         adjust.
9337         (computeBidiTables): make it take a const reference to Row instead
9338         of Row pointer, adjust.
9339         (leftMargin): make it take a RowList::iterator as arg, adjust.
9340         (rowBreakPoint): adjust
9341         (breakAgainOneRow): make it take a RowList::iterator as arg,
9342         adjust.
9343         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9344
9345         * bufferview_funcs.C (toggleAndShow): adjust
9346
9347 2003-03-30  John Levon  <levon@movementarian.org>
9348
9349         * Makefile.am:
9350         * BoostFormat.h:
9351         * boost-inst.C: moved to support
9352
9353         * several files: changes as a result
9354
9355 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9356
9357         * text2.C (LyXText): adjust.
9358         (init): adjust
9359         (removeRow): make it take a RowList::iterator as arg, adjust.
9360         (fullRebreak): adjust
9361         (deleteEmptyParagraphMechanism): adjust
9362         (clearPaint): adjust
9363         (postPaint): adjust
9364
9365         * text.C (top_y): adjust
9366         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9367         (breakAgain): make it take a RowList::iterator as arg, adjust.
9368         (breakParagraph): adjust
9369         (insertChar): adjust
9370         (backspace): adjust
9371
9372         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9373         need_break_row, and refresh_row.
9374
9375         * text3.C (dispatch): adjust
9376
9377         * text2.C (checkParagraph): adjust
9378         (setCursor): adjust
9379         (setCursorFromCoordinates): adjust
9380
9381         * text.C (top_y): adjust
9382         (workWidth): adjust
9383         (getRow): make it return a RowList::iterator, adjust
9384         (getRowNearY): make it return a RowList::iterator, adjust
9385
9386         * text2.C (init): adjust
9387         (insertRow): remove function
9388         (insertParagraph): adjust
9389         (redoParagraphs): adjust
9390         (fullRebreak): adjust
9391         (updateCounters): adjust
9392
9393         * text.C (top_y): rewrite to use RowList iterators.
9394         (top_y): adjust
9395         (setHeightOfRow): rewrite to sue RowList iterators.
9396         (appendParagraph): adjust
9397         (breakAgain): adjust
9398         (breakAgainOneRow): adjust
9399         (breakParagraph): adjust
9400         (getRow): adjust
9401         (getRowNearY): adjust, and remove commented code.
9402
9403         * lyxtext.h (firstRow): delete function
9404         (lastRow): delete function
9405         (rows): new function (const and non-const versions.)
9406         (insertRow): delete function
9407
9408         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9409
9410 2003-03-29  John Levon  <levon@movementarian.org>
9411
9412         * BufferView_pimpl.C: always update scrollbar top
9413         because pasting text when we're anchored could mean we
9414         miss an update altogether
9415
9416 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9417
9418         * text2.C (init): use rowlist_.end() and not 0.
9419         (insertRow): change to take a RowList::iterator as arg, adjust
9420         for this.
9421         (insertParagraph): change to take a RowList::iterator as arg,
9422         adjust for this.
9423         (redoParagraphs): remove some debug msgs.
9424
9425         * text.C (appendParagraph): change to take a RowList::iterator
9426         arg, adjust for this.
9427         (breakAgain): add an assert
9428         (breakAgainOneRow): ditto
9429
9430 2003-03-29  John Levon  <levon@movementarian.org>
9431
9432         * text2.C: do not clear selection after inc/decDepth
9433         (bug 550)
9434
9435 2003-03-29  John Levon  <levon@movementarian.org>
9436
9437         * BufferView.C:
9438         * buffer.C: fix broken strerrors according to Lars
9439
9440 2003-03-29  John Levon  <levon@movementarian.org>
9441
9442         * converters.C: more Alert cleanups
9443
9444 2003-03-29  John Levon  <levon@movementarian.org>
9445
9446         * bufferview_funcs.C: remove pointless Alert
9447
9448         * buffer.C: fix confusing error message when
9449         a template is chmoded 000
9450
9451 2003-03-29  John Levon  <levon@movementarian.org>
9452
9453         * BufferView.C:
9454         * BufferView.h:
9455         * BufferView_pimpl.C: Alert fixes
9456
9457         * Makefile.am:
9458         * tabular.C:
9459         * tabular-old.C: remove unused table compat reading
9460
9461 2003-03-29  John Levon  <levon@movementarian.org>
9462
9463         * BufferView.C:
9464         * buffer.C:
9465         * lyx_cb.h:
9466         * lyx_cb.C: more Alert cleanups
9467
9468         * lyxfunc.C: don't allow chktex if not latex document
9469
9470 2003-03-29  John Levon  <levon@movementarian.org>
9471
9472         * lyx_cb.C:
9473         * BufferView.C:
9474         * buffer.C: warnings pushed down from support/,
9475         kill err_alert
9476
9477 2003-03-29  John Levon  <levon@movementarian.org>
9478
9479         * lyxfunc.C: safety check for C-r (revert)
9480
9481 2003-03-29  John Levon  <levon@movementarian.org>
9482
9483         * bufferlist.h:
9484         * bufferlist.C: several UI fixes using Alert::prompt.
9485         Fix the pointless looping quit code. Fix stupid revert
9486         behaviour (bug 938)
9487
9488         * lyxvc.h:
9489         * lyxvc.C:
9490         * lyx_cb.C: use Alert::prompt
9491
9492         * lyx_main.C: remove a silly question
9493
9494         * lyxfunc.C: remove a couple of silly questions,
9495         use Alert::prompt
9496
9497 2003-03-28  John Levon  <levon@movementarian.org>
9498
9499         * text2.C: fix bug 974 (End on empty par)
9500
9501 2003-03-28  John Levon  <levon@movementarian.org>
9502
9503         * BufferView_pimpl.C:
9504         * LyXAction.C:
9505         * lfuns.h: remove do-nothing math greek lfuns
9506
9507 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9508
9509         * lyxgluelength.h (isValidGlueLength): add default arg on
9510         parameter 2. Remove default arg from friend in class.
9511
9512         * lyxlength.h (isValidLength): add default arg on parameter 2.
9513         Remove default arg from friend in class.
9514
9515         * text2.C (LyXText): adjust, initialize refresh_row.
9516         (init): adjust
9517         (removeRow): adjust
9518         (insertRow): adjust
9519         (insertParagraph): adjst
9520         (redoParagraphs): adjust
9521         (fullRebreak): adjust
9522         (updateCounters): adjust
9523         (deleteEmptyParagraphMechanism): first attempt at fixing a
9524         crashing bug.
9525
9526         * text.C (top_y): adjust
9527         (setHeightOfRow): adjust
9528         (getRow): adjust
9529         (getRowNearY): adjust
9530
9531         * lyxtext.h: include RowList.h
9532         (~LyXText): not needed anymore, deleted.
9533         (firstRow): modify for RowList
9534         (lastRow): new function
9535         Delete firstrow and lastrow class variables, add a Rowlist
9536         rowlist_ class variable.
9537
9538         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9539         paragraph is empty.
9540
9541         * RowList.C (insert): fix case where it == begin().
9542
9543 2003-03-26  Angus Leeming  <leeming@lyx.org>
9544
9545         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9546         the thesaurus dialog.
9547
9548 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9549
9550         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9551
9552         * RowList.[Ch]: new files
9553
9554         * ParagraphList.C (erase): handle the case where it == begin
9555         correctly.
9556
9557 2003-03-25  John Levon  <levon@movementarian.org>
9558
9559         * Makefile.am:
9560         * aspell_local.h:
9561         * aspell.C: add new aspell support
9562
9563         * lyxrc.h:
9564         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9565         have it accessible.
9566
9567 2003-03-25  Angus Leeming  <leeming@lyx.org>
9568
9569         * lfuns.h:
9570         * LyXAction.C (init): new LFUN_INSET_INSERT.
9571
9572         * BufferView_pimpl.C (dispatch): split out part of the
9573         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9574
9575         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9576         LFUN_INSET_APPLY.
9577
9578 2003-03-25  Angus Leeming  <leeming@lyx.org>
9579
9580         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9581
9582 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9583
9584         * text2.C:
9585         * text3.C: remove useless row->height(0)
9586
9587 2003-03-25  John Levon  <levon@movementarian.org>
9588
9589         * lyxtext.h:
9590         * text2.C:
9591         * text3.C: rename the refreshing stuff to better names
9592
9593 2003-03-24  John Levon  <levon@movementarian.org>
9594
9595         * BufferView_pimpl.h:
9596         * BufferView_pimpl.C: update layout choice on a mouse
9597         press/release
9598
9599 2003-03-23  John Levon  <levon@movementarian.org>
9600
9601         * Makefile.am: fix commandtags.h reference
9602
9603 2003-03-22  John Levon  <levon@movementarian.org>
9604
9605         * BufferView_pimpl.C:
9606         * lyxtext.h:
9607         * rowpainter.C:
9608         * rowpainter.h:
9609         * text.C:
9610         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9611
9612 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9613
9614         * lyxtext.h:
9615         * text.C: take the rtl methods out of line
9616
9617 2003-03-21 André Pönitz <poenitz@gmx.net>
9618
9619         * metricsinfo.[Ch]: new files containing structures to be passed around
9620         during the two-phase-drawing...
9621
9622 2003-03-21 André Pönitz <poenitz@gmx.net>
9623
9624         * lyxtextclass.C: read 'environment' tag.
9625
9626 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9627
9628         * text2.C (removeRow): fix bug 964
9629
9630 2003-03-20  John Levon  <levon@movementarian.org>
9631
9632         * rowpainter.C:
9633         * text.C:
9634         * text2.C: paint cleanups. Inset::update() dropped font
9635         parameter
9636
9637 2003-03-19  John Levon  <levon@movementarian.org>
9638
9639         * lyxfunc.C: only fitcursor/markDirty if available()
9640
9641 2003-03-19  John Levon  <levon@movementarian.org>
9642
9643         * commandtags.h: rename to ...
9644
9645         * lfuns.h: ... this, and renumber / cleanup
9646
9647 2003-03-19  John Levon  <levon@movementarian.org>
9648
9649         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9650         fit the cursor after an lfun
9651
9652         * BufferView.h:
9653         * BufferView.C:
9654         * BufferView_pimpl.h:
9655         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9656
9657         * LyXAction.C: layout-character should have ReadOnly
9658
9659         * ParagraphParameters.C:
9660         * buffer.C:
9661         * bufferview_funcs.C:
9662         * lyx_cb.C:
9663         * lyxfind.C:
9664         * lyxtext.h:
9665         * text.C:
9666         * text2.C:
9667         * text3.C:
9668         * undo_funcs.C: changes from above
9669
9670 2003-03-18  John Levon  <levon@movementarian.org>
9671
9672         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9673         remove it from update()
9674
9675         * lyxfunc.C: update layout choice after an lfun
9676
9677         * text3.C: remove extra updateLayoutChoice()s
9678
9679 2003-03-18  John Levon  <levon@movementarian.org>
9680
9681         * text.C: top_y change means full repaint, fix
9682         a drawing bug with cursor movement
9683
9684 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9685
9686         * lyxtext.h:
9687         * text.C:
9688         * text2.C: anchor row on setCursor
9689
9690 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9691
9692         * lyxtext.h: remove almost all mutable keywords
9693         * text.C:
9694         * text2.C:
9695         * text3.C: remove const keywords accordingly
9696
9697 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9698
9699         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9700         anon namespace
9701         (TeXEnvironment): ditto
9702         (TeXOnePar): ditto
9703
9704 2003-03-17  John Levon  <levon@movementarian.org>
9705
9706         * text.C (rowBreakPoint): remove attempt to fix displayed
9707         math insets inside a manual label
9708
9709 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9710
9711         * lyxtext.h: remove BufferView* as first arg from almost all class
9712         functions.
9713         * other files: adjust.
9714
9715 2003-03-17  John Levon  <levon@movementarian.org>
9716
9717         * lyxtext.h:
9718         * undo_funcs.C:
9719         * text2.C: more paint cleanups
9720
9721         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9722
9723         * rowpainter.h:
9724         * rowpainter.C: remove "smart" background painting code
9725
9726 2003-03-16  John Levon  <levon@movementarian.org>
9727
9728         * lyxtext.h:
9729         * text.C:
9730         * text2.C:
9731         * text3.C: add helper functions for setting refresh_row/y
9732
9733 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9734
9735         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9736         newline inset which *can* get inserted in the pass_thru layouts.
9737         This is primarily for literate documents.
9738
9739 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9740
9741         * buffer.C: increment LYX_FORMAT to 223
9742
9743 2003-03-14 André Pönitz <poenitz@gmx.net>
9744
9745         * textclass.h: prepare for environment handling, ws changes
9746         * lyxlayout.C: read latexheader and latexfooter tags
9747
9748 2003-03-14  John Levon  <levon@movementarian.org>
9749
9750         * text2.C: rewrite ::status() a bit
9751
9752 2003-03-13  John Levon  <levon@movementarian.org>
9753
9754         * lyxtext.h: add some docs
9755
9756 2003-03-13  John Levon  <levon@movementarian.org>
9757
9758         * lyxtext.h:
9759         * text.C:
9760         * text2.C:
9761         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9762
9763 2003-03-13  John Levon  <levon@movementarian.org>
9764
9765         * text3.C: fix appendix redrawing
9766
9767 2003-03-13  John Levon  <levon@movementarian.org>
9768
9769         * text.C (setHeightOfRow):
9770         * rowpainter.h:
9771         * rowpainter.C: make appendix mark have the text
9772           "Appendix" so the user knows what it is
9773
9774         * LColor.h:
9775         * LColor.C: s/appendixline/appendix/ from above
9776
9777 2003-03-13  John Levon  <levon@movementarian.org>
9778
9779         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9780
9781         * text.C: fix a getChar(pos) bug properly
9782
9783 2003-03-13  Angus Leeming  <leeming@lyx.org>
9784
9785         * commandtags.h:
9786         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9787         Probably only temporary. Let's see how things pan out.
9788
9789         * BufferView.C (unlockInset):
9790         * BufferView_pimpl.C (fitCursor):
9791         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9792
9793         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9794         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9795
9796         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9797         new functions that convert ParagraphParameters to and from a string.
9798
9799         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9800         BufferView::Pimpl's dispatch.
9801         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9802
9803 2003-03-13 André Pönitz <poenitz@gmx.net>
9804
9805         * lyxfunc.C:
9806         * text3.C:
9807         * factory.C: make it aware of InsetEnv
9808
9809 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9810
9811         * text2.C (setCursor): never ask for one past last
9812         (setCursor): add some debugging messages.
9813
9814         * text.C (singleWidth): never ask for one past last
9815         (singleWidth): ditto
9816         (leftMargin): ditto
9817         (rightMargin): ditto
9818         (rowBreakPoint): ditto
9819         (setHeightOfRow): ditto
9820         (prepareToPrint): ditto
9821
9822         * rowpainter.C (paintBackground): never ask for one past last
9823         (paintText): never ask for one past last
9824
9825         * paragraph_pimpl.C (getChar): make the assert stricter, never
9826         allow the one past last pos to be taken
9827
9828         * paragraph.C (getChar): ws changes only
9829
9830         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9831         (numberOfSeparators): ditto
9832         (numberOfHfills): ditto
9833
9834 2003-03-12  John Levon  <levon@movementarian.org>
9835
9836         * author.h:
9837         * author.C:
9838         * bufferparams.h:
9839         * bufferparams.C:
9840         * paragraph_funcs.C: fix per-buffer authorlists
9841
9842 2003-03-12  John Levon  <levon@movementarian.org>
9843
9844         * text.C: fix newline in right address
9845
9846 2003-03-12  Angus Leeming  <leeming@lyx.org>
9847
9848         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9849         duplicate those in LyXFunc::dispatch.
9850
9851         * commandtags.h:
9852         * LyXAction.C:
9853         * ToolbarDefaults.C:
9854         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9855         Add LFUN_FONTFREE_UPDATE.
9856
9857         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9858         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9859
9860         * bufferview_func.[Ch]: several new functions to facilliate
9861         transfer of data to and from the character dialog.
9862
9863 2003-03-12  John Levon  <levon@movementarian.org>
9864
9865         * buffer.C:
9866         * paragraph.h:
9867         * paragraph.C:
9868         * paragraph_funcs.C:
9869         * paragraph_pimpl.C:
9870         * sgml.C:
9871         * tabular.C:
9872         * text.C:
9873         * text3.C: remove META_NEWLINE in favour of an inset
9874
9875         * rowpainter.h:
9876         * rowpainter.C: remove paintNewline (done by inset)
9877
9878 2003-03-12  John Levon  <levon@movementarian.org>
9879
9880         * paragraph_pimpl.C: complain about bad getChar()s
9881         for a while at least
9882
9883 2003-03-12  John Levon  <levon@movementarian.org>
9884
9885         * buffer.h:
9886         * buffer.C: move paragraph read into a separate function,
9887         a little renaming to reflect that.
9888
9889         * bufferparams.h:
9890         * bufferparams.C: remove the author_ids map, not necessary now
9891
9892         * factory.h:
9893         * factory.C: moved Buffer::readInset to here
9894
9895         * paragraph_funcs.h:
9896         * paragraph_funcs.C: readParagraph free function moved from
9897         buffer.C
9898
9899         * tabular.C: name change
9900
9901 2003-03-12  John Levon  <levon@movementarian.org>
9902
9903         * buffer.C:
9904         * ParagraphParameters.C: move par params input to
9905         a read() method
9906
9907         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9908         behave like a normal read from the stream wrt reading
9909         a line vs. a \\token
9910
9911 2003-03-12  John Levon  <levon@movementarian.org>
9912
9913         * paragraph.C:
9914         * ParagraphParameters.h:
9915         * ParagraphParameters.C: move output code to a
9916         ::write() method
9917
9918 2003-03-12  John Levon  <levon@movementarian.org>
9919
9920         * BufferView.C (insertLyXFile):
9921         * buffer.h:
9922         * buffer.C:
9923         * tabular.C: use a parlist iterator for creating the
9924           document.
9925
9926 2003-03-12  John Levon  <levon@movementarian.org>
9927
9928         * buffer.C: make current_change static local not
9929           static file-scope
9930
9931 2003-03-12  John Levon  <levon@movementarian.org>
9932
9933         * buffer.C: fix insertStringAsLines for change tracking
9934
9935 2003-03-12  John Levon  <levon@movementarian.org>
9936
9937         * BufferView.C:
9938         * tabular.C:
9939         * buffer.h:
9940         * buffer.C:
9941         * bufferparams.h:
9942         * bufferparams.C: move author list into params. Rename some
9943           functions. Move the header reading into a separate token
9944           loop. Move the header token reading into BufferParams.
9945
9946 2003-03-12  John Levon  <levon@movementarian.org>
9947
9948         * changes.C: put debug inside lyxerr.debugging() checks
9949
9950 2003-03-11 André Pönitz <poenitz@gmx.net>
9951
9952         * factory.C: make it aware of InsetHFill
9953
9954 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9955
9956         * buffer.C (latexParagraphs): move function from here...
9957         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9958         args.
9959
9960 2003-03-10  Angus Leeming  <leeming@lyx.org>
9961
9962         * LyXAction.C (init): fix bug in poplating array with multiple entries
9963         with the same LFUN (spotted by JMarc).
9964
9965 2003-03-10  John Levon  <levon@movementarian.org>
9966
9967         * text.C:
9968         * text2.C: move getColumnNearX() near its
9969         only call site
9970
9971 2003-03-10  John Levon  <levon@movementarian.org>
9972
9973         * text.C: fix break before a minipage
9974
9975 2003-03-10  John Levon  <levon@movementarian.org>
9976
9977         * text.C: fix the last commit
9978
9979 2003-03-09  John Levon  <levon@movementarian.org>
9980
9981         * lyxtext.h:
9982         * text.C:
9983         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9984         bug 365 (don't break before insets unless needed). Don't
9985         return a value > last under any circumstances.
9986
9987 2003-03-09  Angus Leeming  <leeming@lyx.org>
9988
9989         * BufferView_pimpl.C (trackChanges, dispatch): call
9990         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9991
9992 2003-03-09  Angus Leeming  <leeming@lyx.org>
9993
9994         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9995         than Dialogs::showAboutlyx().
9996
9997 2003-03-09  Angus Leeming  <leeming@lyx.org>
9998
9999         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
10000         than Dialogs::showTabularCreate().
10001
10002 2003-03-09  John Levon  <levon@movementarian.org>
10003
10004         * lyxtext.h:
10005         * text.C:
10006         * text2.C: 3rd arg to nextBreakPoint was always the same.
10007           Use references.
10008
10009 2003-03-08  John Levon  <levon@movementarian.org>
10010
10011         * lyxrow.C:
10012         * paragraph.C:
10013         * paragraph.h:
10014         * rowpainter.C:
10015         * text.C:
10016         * text2.C: Remove the "main" bit from the "main body"
10017           notion.
10018
10019 2003-03-08  John Levon  <levon@movementarian.org>
10020
10021         * text.C (leftMargin): The left margin of an empty
10022         manual label paragraph should not include the label width
10023         string length.
10024
10025         * text.C (prepareToPrint): don't attempt to measure hfills
10026         for empty manual label paragraphs - the answer should be 0
10027
10028 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10029
10030         * CutAndPaste.C: remove commented code and reindent.
10031
10032 2003-03-08  John Levon  <levon@movementarian.org>
10033
10034         * lyxfunc.h:
10035         * lyxfunc.C: move reloadBuffer()
10036
10037         * BufferView.h:
10038         * BufferView.C: to here
10039
10040         * lyxvc.C: add comment
10041
10042         * vc-backend.h:
10043         * vc-backend.C: call bv->reload() to avoid
10044           getStatus() check on MENURELOAD
10045
10046 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
10047
10048         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10049         to an old format .dep file.
10050
10051 2003-03-07  Angus Leeming  <leeming@lyx.org>
10052
10053         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10054         when the LFUN_MOUSE_RELEASE should have been handled by
10055         inset->localDispatch.
10056
10057 2003-03-07  Angus Leeming  <leeming@lyx.org>
10058
10059         * BufferView_pimpl.C (dispatch):
10060         * LyXAction.C (init):
10061         * ToolbarDefaults.C (init):
10062         * commandtags.h:
10063         * lyxfunc.C (getStatus):
10064         remove LFUN_INSET_GRAPHICS.
10065
10066         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10067
10068 2003-03-07  Angus Leeming  <leeming@lyx.org>
10069
10070         * commandtags.h:
10071         * LyXAction.C (init):
10072         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10073
10074         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10075
10076         * commandtags.h:
10077         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10078
10079         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10080         localDispatch method LFUN_INSET_DIALOG_UPDATE.
10081
10082 2003-03-07  Angus Leeming  <leeming@lyx.org>
10083
10084         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10085         remove "ert".
10086
10087 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10088
10089         * ParagraphList.C (front): new function
10090         (back): implement
10091
10092 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10093
10094         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10095         and top_row_offset_. removed var first_y.
10096         * text.C (top_y):
10097         * text2.C (LyXText, removeRow):
10098         * text3.C:
10099         * BufferView_pimpl.C:
10100         use these methods instead of using first_y
10101
10102 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10103
10104         * text2.C (pasteSelection): adjust for checkPastePossible
10105
10106         * CutAndPaste.C: remove Paragraph * buf and replace with
10107         ParagraphList paragraphs.
10108         (DeleteBuffer): delete
10109         (cutSelection): change the tc type to textclass_type
10110         (copySelection): change the tc type to textclass_type
10111         (copySelection): adjust for ParagraphList
10112         (pasteSelection): change the tc type to textclass_type
10113         (pasteSelection): adjust for Paragraphlist
10114         (nrOfParagraphs): simplify for ParagraphList
10115         (checkPastePossible): simplify for ParagraphList
10116         (checkPastePossible): remove unused arg
10117
10118         * ParagraphList.C (insert): handle the case where there are no
10119         paragraphs yet.
10120
10121         * CutAndPaste.h: make CutAndPaste a namespace.
10122
10123         * text3.C (dispatch): adjust
10124
10125         * text.C (breakParagraph): add a ParagraphList as arg
10126
10127         * paragraph_funcs.C (breakParagraph): change to take a
10128         BufferParams and a ParagraphList as args.
10129         (breakParagraphConservative): ditto
10130         (mergeParagraph): ditto
10131         (TeXDeeper): add a ParagraphList arg
10132         (TeXEnvironment): ditto
10133         (TeXOnePar): ditto
10134
10135         * buffer.C (readLyXformat2): adjust
10136         (insertStringAsLines): adjust
10137         (latexParagraphs): adjust
10138
10139         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10140         (cutSelection): adjust
10141         (pasteSelection): adjust
10142
10143         * BufferView_pimpl.C (insertInset): adjust
10144
10145 2003-03-05  Angus Leeming  <leeming@lyx.org>
10146
10147         * commandtags.h:
10148         * LyXAction.C (init):
10149         * BufferView_pimpl.C (dispatch):
10150         * lyxfunc.C (getStatus):
10151         remove LFUN_CHILD_INSERT.
10152
10153         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10154
10155 2003-03-05  Angus Leeming  <leeming@lyx.org>
10156
10157         * commandtags.h:
10158         * LyXAction.C (init):
10159         * src/factory.C (createInset):
10160         * lyxfunc.C (getStatus):
10161         * text3.C (dispatch):
10162         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10163
10164         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10165
10166 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10167
10168         * ParagraphList.C (insert): handle insert right before end()
10169         (erase): fix cases where it can be first or last paragraph.
10170
10171 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10172
10173         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10174         Paragraph::next and Paragraph::previous
10175         (TeXOnePar): ditto
10176
10177         * text.C (breakParagraph): adjust
10178
10179         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10180         BufferParams& as arg.
10181         (breakParagraph): use ParagraphList::insert
10182         (breakParagraphConservative): take a Buffer* instead of a
10183         BufferParams& as arg.
10184         (breakParagraphConservative): use ParagraphList::insert.
10185
10186         * buffer.C (insertStringAsLines): un-const it
10187         (insertStringAsLines): adjust
10188
10189         * ParagraphList.C (insert): new function
10190
10191         * CutAndPaste.C (pasteSelection): adjust
10192
10193         * text.C (backspace): adjust
10194
10195         * tabular.C (SetMultiColumn): adjust
10196
10197         * CutAndPaste.C (cutSelection): adjust
10198         (pasteSelection): adjust
10199
10200         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10201         Buffer const * as arg
10202
10203         * ParagraphList.C (erase): new function
10204         * paragraph_funcs.C (mergeParagraph): use it
10205         (mergeParagraph): make it take a Buffer* instead of a
10206         BufferParams* as arg
10207
10208         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10209         as arg
10210         (breakParagraphConservative): ditto
10211
10212         * paragraph.h: remove the breakParagraph friend
10213
10214         * paragraph.C (eraseIntern): new function
10215         (setChange): new function
10216
10217         * paragraph_funcs.C (mergeParagraph): make it take a
10218         ParagraphList::iterator instead of a Paragraph *, adjust
10219         accordingly.
10220
10221         * paragraph.h: move an #endif so that the change tracking stuff
10222         also works in the NO_NEXT case.
10223
10224 2003-03-04  Angus Leeming  <leeming@lyx.org>
10225
10226         * commandtags.h:
10227         * LyXAction.C: new LFUN_INSET_MODIFY.
10228
10229         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10230         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10231
10232 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10233
10234         * several files: ws changes only
10235
10236         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10237         (TeXEnvironment): ditto
10238         (TeXDeeper): ditto
10239
10240         * buffer.C (makeLaTeXFile): adjust
10241         (latexParagraphs): make it take ParagraphList::iterator as args
10242
10243 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10244
10245         * buffer.C (latexParagraphs): adjust
10246
10247         * paragraph.C (TeXOnePar): move function...
10248         (optArgInset): move function...
10249         (TeXEnvironment): move function...
10250         * paragraph_pimpl.C (TeXDeeper): move function...
10251         * paragraph_funcs.C: ...here
10252
10253         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10254
10255 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10256
10257         * buffer.C (readInset): remove compability code for old Figure and
10258         InsetInfo insets
10259
10260 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10261
10262         * buffer.C: ws changes
10263         (readInset):
10264
10265         * BufferView_pimpl.C: ditto
10266         * author.C: ditto
10267         * buffer.h: ditto
10268         * bufferlist.h: ditto
10269         * changes.h: ditto
10270         * lyxfunc.C: ditto
10271
10272 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10273
10274         * converter.[Ch]: split into itself +
10275         * graph.[Ch]
10276         * format.[Ch]
10277         * Makefile.am: += graph.[Ch] + format.[Ch]
10278         * MenuBackend.C
10279         * buffer.C
10280         * exporter.C
10281         * importer.C
10282         * lyx_main.C
10283         * lyxfunc.C
10284         * lyxrc.C: added #include "format.h"
10285
10286 2003-02-27  Angus Leeming  <leeming@lyx.org>
10287
10288         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10289           a label.
10290
10291         * factory.C (createInset): add "label" to the factory.
10292
10293         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10294           string and do no more.
10295
10296 2003-02-27  Angus Leeming  <leeming@lyx.org>
10297
10298         * commandtags.h:
10299         * LyXAction.C (init):
10300         * factory.C (createInset):
10301         * BufferView_pimpl.C (dispatch):
10302           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10303
10304         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10305
10306         * lyxfunc.C (dispatch):
10307         * text3.C (dispatch): pass name to params2string.
10308
10309 2003-02-26  Angus Leeming  <leeming@lyx.org>
10310
10311         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10312           blocks together.
10313           Rearrange the ~includes. Strip out the unnecessary ones.
10314
10315         * factory.C (createInset): reformat.
10316           create new insets for the various LFUN_XYZ_APPLY lfuns.
10317
10318 2003-02-26  John Levon  <levon@movementarian.org>
10319
10320         * lyxrow.h:
10321         * lyxrow.C: add isParStart,isParEnd helpers
10322
10323         * paragraph.h: make isInserted/DeletedText take refs
10324
10325         * paragraph_funcs.h:
10326         * paragraph_funcs.C: remove #if 0'd code
10327
10328         * lyxtext.h:
10329         * text3.C:
10330         * text2.C:
10331         * text.C: use lyxrow helpers above.
10332           Move draw and paint routines to RowPainter.
10333           Make several methods use refs not pointers.
10334           Make backgroundColor() const.
10335           Add markChangeInDraw(), isInInset().
10336           Merge changeRegionCase into changeCase.
10337           Make workWidth() shouldn't-happen code into an Assert.
10338
10339         * rowpainter.h:
10340         * rowpainter.C: new class for painting a row.
10341
10342         * vspace.h:
10343         * vspace.C: make inPixels take a ref
10344
10345 2003-02-26  Angus Leeming  <leeming@lyx.org>
10346
10347         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10348         LFUN_REF_APPLY.
10349
10350 2003-02-25  John Levon  <levon@movementarian.org>
10351
10352         * ispell.C: give the forked command a more accurate name
10353
10354 2003-02-22  John Levon  <levon@movementarian.org>
10355
10356         * toc.h:
10357         * toc.C: make TocItem store an id not a Paragraph *
10358           (bug #913)
10359
10360 2003-02-21  Angus Leeming  <leeming@lyx.org>
10361
10362         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10363           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10364           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10365           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10366           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10367           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10368
10369         * BufferView_pimpl.C (dispatch):
10370         * LyXAction.C (init):
10371         * factory.C (createInset):
10372         * lyxfunc.C (getStatus, dispatch):
10373         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10374
10375 2003-02-21  Angus Leeming  <leeming@lyx.org>
10376
10377         * BufferView_pimpl.C (MenuInsertLyXFile):
10378         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10379         * lyxfunc.C (menuNew, open, doImport):
10380           no longer pass a LyXView & to fileDlg.
10381
10382 2003-02-21  Angus Leeming  <leeming@lyx.org>
10383
10384         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10385         * LyXAction.C: change, BIBKEY to BIBITEM.
10386         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10387         Change InsetBibKey to InsetBibitem.
10388         Change BIBKEY_CODE to BIBITEM_CODE.
10389         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10390         * factory.C: replace insetbib.h with insetbibitem.h.
10391         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10392         * paragraph.C: replace insetbib.h with insetbibitem.h.
10393         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10394         Change bibkey() to bibitem().
10395         * text.C: remove insetbib.h.
10396         * text2.C: replace insetbib.h with insetbibitem.h.
10397         change bibkey() to bibitem().
10398         * text3.C: remove insetbib.h.
10399         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10400
10401 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10402
10403         * lyxrc.C (output): enclose user email in quotes (in case there are
10404         several words)
10405
10406 2003-02-18  John Levon  <levon@movementarian.org>
10407
10408         * buffer.h: add std::
10409
10410 2003-02-17  John Levon  <levon@movementarian.org>
10411
10412         * SpellBase.h:
10413         * ispell.h:
10414         * ispell.C:
10415         * pspell.h:
10416         * pspell.C: reworking. Especially in ispell, a large
10417           number of clean ups and bug fixes.
10418
10419         * lyxfunc.C: fix revert to behave sensibly
10420
10421 2003-02-17 André Pönitz <poenitz@gmx.net>
10422
10423         * LyXAction.C:
10424         * commandtags.h: new LFUN_INSERT_BIBKEY
10425
10426         * layout.h:
10427         * lyxlayout.C:
10428         * buffer.C:
10429         * factory.C:
10430         * text.C:
10431         * text2.C:
10432         * text3.C:
10433         * paragraph.[Ch]:
10434         * paragraph_func.C: remove special bibkey handling
10435
10436 2003-02-17  John Levon  <levon@movementarian.org>
10437
10438         * text.C (Delete): fix case where delete at the end of
10439           the very first paragraph would not merge the pars
10440
10441 2003-02-17  John Levon  <levon@movementarian.org>
10442
10443         * lyxrow.C: fix lastPrintablePos()
10444
10445 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10446
10447         * bufferparams.C (writeLaTeX): add a std:here
10448
10449         * buffer.C: and remove a using directive there
10450
10451 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10452
10453         * buffer.C (makeLaTeXFile): move the code that generates the
10454           preamble...
10455
10456         * bufferparams.C (writeLaTeX): ... in this new method
10457
10458         * LaTeXFeatures.C (getEncodingSet): make const
10459           (getLanguages): make const
10460
10461         * MenuBackend.C (binding): returns the binding associated to this
10462           action
10463           (add): sets the status of each item by calling getStatus. Adds
10464           some intelligence.
10465           (read): add support for OptSubMenu
10466           (expand): remove extra separator at the end of expanded menu
10467
10468 2003-02-15  John Levon  <levon@movementarian.org>
10469
10470         * BufferView.C:
10471         * BufferView_pimpl.C:
10472         * bufferlist.h:
10473         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10474           inset code that had no actual effect. Remove unneeded status
10475           code.
10476
10477 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10478
10479         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10480           in preamble
10481
10482 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10483
10484         * text.C (drawLengthMarker): also draw an arrow marker for
10485           symbolic lengths (medskip...)
10486
10487 2003-02-14  John Levon  <levon@movementarian.org>
10488
10489         * tabular.h:
10490         * tabular.C: better method names
10491
10492 2003-02-14  John Levon  <levon@movementarian.org>
10493
10494         * BufferView_pimpl.C:
10495         * bufferlist.C:
10496         * buffer.C:
10497         * converter.C:
10498         * lyx_cb.C:
10499         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10500           it's a more accurate name. Remove some pointless uses.
10501
10502 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10503
10504         * text2.C (LyXText): change order of initilizers to shut off
10505           warnings
10506
10507 2003-02-14  John Levon  <levon@movementarian.org>
10508
10509         * buffer.C: use ParIterator for getParFromID()
10510
10511         * paragraph.h:
10512         * paragraph.C:
10513         * paragraph_pimpl.h:
10514         * paragraph_pimpl.C: remove unused getParFromID()
10515
10516 2003-02-14  John Levon  <levon@movementarian.org>
10517
10518         * buffer.C: remove some very old #if 0'd parse code
10519
10520 2003-02-13  John Levon  <levon@movementarian.org>
10521
10522         * text.h:
10523         * text.C:
10524         * text2.C: move hfillExpansion(), numberOfSeparators(),
10525           rowLast(), rowLastPrintable(), numberofHfills(),
10526           numberOfLabelHfills() ...
10527
10528         * lyxrow.h:
10529         * lyxrow.C: ... to member functions here.
10530
10531         * paragraph.h:
10532         * paragraph.C:
10533         * lyxtext.h:
10534         * text.C: remove LyXText::beginningOfMainBody(), and call
10535           p->beginningOfMainBody() directly. Move the check for
10536           LABEL_MANUAL into the latter.
10537
10538         * text.h:
10539         * text.C:
10540         * text2.C:
10541         * vspace.C:
10542         * BufferView.h:
10543         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10544
10545         * text.h:
10546         * text.C:
10547         * text2.C:
10548         * text3.C:
10549         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10550           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10551
10552 2003-02-13  John Levon  <levon@movementarian.org>
10553
10554         * CutAndPaste.C: remove debug
10555
10556 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10557
10558         * paragraph.C (asString): remove two unused variables
10559
10560         * lyxtextclass.C (readTitleType):
10561           (Read):
10562           (LyXTextClass): handle new members titletype_ and titlename_
10563
10564         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10565
10566 2003-02-09  John Levon  <levon@movementarian.org>
10567
10568         * buffer.h:
10569         * buffer.C: replace hand-coded list with a map for the dep clean
10570
10571 2003-02-08  John Levon  <levon@movementarian.org>
10572
10573         * LaTeX.C: consolidate code into showRunMessage() helper
10574
10575 2003-02-08  John Levon  <levon@movementarian.org>
10576
10577         * lyxfind.C:
10578         * lyxtext.h:
10579         * text2.C:
10580         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10581           and pass the size in explicitly
10582
10583         * BufferView_pimpl.h:
10584         * BufferView_pimpl.C:
10585         * BufferView.h:
10586         * BufferView.C: add getCurrentChange()
10587
10588         * BufferView_pimpl.h:
10589         * BufferView_pimpl.C: handle change lfuns
10590
10591         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10592           for changes. Mark pasted paragraphs as new.
10593
10594         * support/lyxtime.h:
10595         * support/lyxtime.C:
10596         * DepTable.C: abstract time_t as lyx::time_type
10597
10598         * LColor.h:
10599         * LColor.C: add colours for new text, deleted text, changebars
10600
10601         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10602           package use "usenames" option.
10603
10604         * commandtags.h:
10605         * lyxfunc.C:
10606         * LyXAction.C: add change lfuns
10607
10608         * Makefile.am:
10609         * author.h:
10610         * author.C: author handling
10611
10612         * buffer.h:
10613         * buffer.C: add a per-buffer author list, with first entry as
10614           current author. Handle new .lyx tokens for change tracking. Output
10615           author list to .lyx file. Output dvipost stuff to .tex preamble.
10616           Bump lyx format to 222.
10617
10618         * bufferlist.h:
10619         * bufferlist.C: add setCurrentAuthor() to reset current author details
10620           in all buffers.
10621
10622         * bufferparams.h:
10623         * bufferparams.C: add param for tracking
10624
10625         * bufferview_funcs.C: output change info in minibuffer
10626
10627         * Makefile.am:
10628         * changes.h:
10629         * changes.C: add change-tracking structure
10630
10631         * debug.h:
10632         * debug.C: add CHANGES debug flag
10633
10634         * lyxfind.h:
10635         * lyxfind.C: add code for finding the next change piece
10636
10637         * lyxrc.h:
10638         * lyxrc.C: add user_name and user_email
10639
10640         * lyxrow.h:
10641         * lyxrow.C: add a metric for the top of the text line
10642
10643         * lyxtext.h:
10644         * text.C: implement accept/rejectChange()
10645
10646         * lyxtext.h:
10647         * text.C: paint changebars. Paint new/deleted text in the chosen
10648         colours. Strike through deleted text.
10649
10650         * paragraph.h:
10651         * paragraph.C:
10652         * paragraph_pimpl.h:
10653         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10654           in the current change to the insert functions. Rework erase to
10655           mark text as deleted, adding an eraseIntern() and a range-based
10656           erase(). Implement per-paragraph change lookup and
10657           accept/reject.
10658
10659         * paragraph_funcs.C: Fixup paste for change tracking.
10660
10661         * tabular.C: mark added row/columns as new.
10662
10663         * text.C: fix rowLast() to never return -1. Don't allow
10664           spellchecking of deleted text. Track transpose changes. Don't
10665           allow paragraph break or merge where appropriate.
10666
10667         * text2.C: leave cursor at end of selection after a cut.
10668
10669 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10670
10671         * text.C (getLengthMarkerHeight):
10672         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10673         visible on screen too.
10674
10675 2003-02-07  John Levon  <levon@movementarian.org>
10676
10677         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10678
10679 2003-02-05  Angus Leeming  <leeming@lyx.org>
10680
10681         * lyxserver.C (read_ready): revert my patch of 11 September last year
10682         as it sends PC cpu through the roof. Presumably this means that
10683         the lyxserver will no longer run on an Alpha...
10684
10685 2003-01-30  Angus Leeming  <leeming@lyx.org>
10686
10687         * factory.C (createInset): create an InsetCommandParam of type "index"
10688         and use it to 'do the right thing'.
10689
10690         * text2.C (getStringToIndex): ensure that cursor position is always
10691         reset to the reset_cursor position.
10692
10693 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10694
10695         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10696         disabled.
10697
10698 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10699
10700         * bufferview.C:
10701         * lyxcb.C:
10702         * lyxfunc.C: Output messages with identical spelling, punctuation,
10703         and spaces
10704
10705 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10706
10707         * MenuBackend.C (expandFormats): List only viewable export formats
10708         in "View" menu
10709
10710         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10711         message
10712
10713         * lyxfunc.C (getStatus): Make sure that formats other than
10714         "fax" can also be disabled
10715
10716 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10717
10718         * text3.C (dispatch): put the lfuns that insert insets in 3
10719         groups, and call doInsertInset with appropriate arguments.
10720         (doInsertInset): new function, that creates an inset and inserts
10721         it according to some boolean parameters.
10722
10723 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10724
10725         * buffer.C (readFile): remember to pass on 'par' when calling
10726         readFile recursively.
10727
10728 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10729
10730         * MenuBackend.C (expandFormats): add "..." to import formats.
10731
10732 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10733
10734         * paragraph.C (asString): Remove XForms RTL hacks.
10735
10736 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10737         * buffer.C: fix typo
10738
10739 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10740
10741         * Makefile.am (LIBS): delete var
10742         (lyx_LDADD): add @LIBS@ here instead.
10743
10744 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10745
10746         * Clarify the meaning of "wheel mouse jump"
10747
10748 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10749
10750         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10751         tabular in a float
10752
10753 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10754
10755         * importer.C (Loaders): do not preallocate 3 elements in the
10756         vector, since one ends up with 6 elements otherwise
10757
10758 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10759
10760         * DepTable.C (write): write the file name as last element of the
10761         .dep file (because it may contain spaces)
10762         (read): read info in the right order
10763
10764 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10765
10766         * paragraph_pimpl.C (simpleTeXBlanks):
10767         (simpleTeXSpecialChars):
10768         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10769
10770         * tabular.C (latex): add some missing case statements. Reindent.
10771
10772         * MenuBackend.C (expandToc): remove unused variable.
10773
10774 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10775
10776         * LColor.C:
10777         * LaTeX.C:
10778         * LyXAction.C:
10779         * MenuBackend.C:
10780         * buffer.C:
10781         * exporter.C:
10782         * lyxfunc.C:
10783         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10784         and the like.
10785
10786 2003-01-05  John Levon  <levon@movementarian.org>
10787
10788         * BufferView.h:
10789         * BufferView.C: add getEncoding()
10790
10791         * kbsequence.h:
10792         * kbsequence.C: do not store last keypress
10793
10794         * lyxfunc.h:
10795         * lyxfunc.C: store last keypress here instead. Pass encoding
10796           to getISOEncoded()
10797
10798 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10799
10800         * lyx_main.C (init): remove annoying error message when following
10801         symbolic links (bug #780)
10802
10803 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10804
10805         * text.C (insertChar):
10806         * lyxrc.C (getDescription): remove extra spaces
10807
10808 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10809
10810         * lyxrc.C (getDescription): remove extra spaces
10811
10812 2002-12-20  John Levon  <levon@movementarian.org>
10813
10814         * text3.C: hack fix for page up/down across tall rows
10815
10816 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10817
10818         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10819         not been invoked
10820
10821 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10822
10823         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10824         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10825         thesaurus is not compiled in
10826
10827 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10828
10829         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10830
10831 2002-12-16  Angus Leeming  <leeming@lyx.org>
10832
10833         * lyxrc.[Ch]:
10834         * lyx_main.C (init): remove override_x_deadkeys stuff.
10835
10836 2002-12-12  John Levon  <levon@movementarian.org>
10837
10838         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10839           insert. Only remove shift modifier under strict
10840           circumstances.
10841
10842 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10843
10844         * MenuBackend.C (expandToc): fix crash.
10845
10846 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10847
10848         * MenuBackend.C (expandToc): gettext on float names.
10849
10850 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10851
10852         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10853         implement bool empty() [bug 490]
10854
10855 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10856
10857         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10858
10859 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10860
10861         * several files: ws changes
10862
10863 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10864
10865         * text2.C (setCounter): clean up a bit, use boost.format.
10866         (updateCounters): initialize par upon declaration.
10867
10868         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10869         if the layout exists. We do not just store the layout any more.
10870         (SwitchLayoutsBetweenClasses): use boost.format
10871
10872 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10873
10874         * converter.C (convert): if from and to files are the same, use a
10875         temporary files as intermediary
10876
10877 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10878
10879         * commandtags.h:
10880         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10881
10882 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10883
10884         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10885
10886 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10887
10888         * tabular.C (asciiPrintCell): use string(size, char) instead of
10889         explicit loop.
10890
10891         * sgml.C (openTag): fix order of arguments to string constructor
10892         (closeTag): ditto
10893
10894         * lyxfunc.C (dispatch): use boost.format
10895
10896         * lots of files: change "c" -> 'c'
10897
10898 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10899
10900         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10901
10902 2002-11-25  Angus Leeming  <leeming@lyx.org>
10903
10904         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10905
10906         * lyx_main.C (init): compile fix.
10907
10908 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10909
10910         * lyx_cb.C (start): boost.formatify
10911         do not include <iostream>
10912
10913         * lengthcommon.C: ws only
10914
10915         * boost-inst.C,BoostFormat.h: add more explict instantations
10916
10917 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10918
10919         * lots of files: handle USE_BOOST_FORMAT
10920
10921 2002-11-21  John Levon  <levon@movementarian.org>
10922
10923         * pspell.C: fix compile
10924
10925 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10926
10927         * lyxfunc.C (dispatch): use boost::format
10928         (open): ditto
10929         (doImport): ditto
10930
10931         * lyxfont.C (stateText): use boost::format
10932
10933         * lyx_main.C (LyX): use boost::format
10934         (init): ditto
10935         (queryUserLyXDir): ditto
10936         (readRcFile): ditto
10937         (parse_dbg): ditto
10938         (typedef boost::function): use the recommened syntax.
10939
10940         * importer.C (Import): use boost::format
10941
10942         * debug.C (showLevel): use boost::format
10943
10944         * converter.C (view): use boost::format
10945         (convert): ditto
10946         (move): ditto
10947         (scanLog): ditto
10948
10949         * bufferview_funcs.C (currentState): use boost::format
10950
10951         * bufferlist.C (emergencyWrite): use boost::format
10952
10953         * buffer.C (readLyXformat2): use boost::format
10954         (parseSingleLyXformat2Token): ditto
10955
10956         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10957
10958         * LaTeX.C (run): use boost::format
10959
10960         * Chktex.C (scanLogFile): use boost::format
10961
10962         * BufferView_pimpl.C (savePosition): use boost::format
10963         (restorePosition): ditto
10964         (MenuInsertLyXFile): ditto
10965
10966         * BoostFormat.h: help file for explicit instation.
10967
10968 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10969
10970         * tabular.C (latex): Support for block alignment in fixed width
10971         columns.
10972
10973 2002-11-17  John Levon  <levon@movementarian.org>
10974
10975         * BufferView_pimpl.C:
10976         * lyx_cb.C:
10977         * lyxfunc.C: split filedialog into open/save
10978
10979 2002-11-08  Juergen Vigna  <jug@sad.it>
10980
10981         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10982         by my last patch (hopefully).
10983
10984 2002-11-08  John Levon  <levon@movementarian.org>
10985
10986         * iterators.h:
10987         * iterators.C:
10988         * buffer.h:
10989         * buffer.C:
10990         * paragraph.h:
10991         * paragraph.C:
10992         * toc.h:
10993         * toc.C: ParConstIterator, and use it (from Lars)
10994
10995 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10996
10997         * lyxtextclass.[Ch]: revise and add doxygen comments
10998
10999 2002-11-07  John Levon  <levon@movementarian.org>
11000
11001         * text.C: fix progress value for spellchecker
11002
11003         * toc.C: fix navigate menu for insetwrap inside minipage
11004
11005         * paragraph_funcs.C: added FIXME for suspect code
11006
11007 2002-11-07  John Levon  <levon@movementarian.org>
11008
11009         * BufferView_pimpl.C: fix redrawing of insets
11010           on buffer switch
11011
11012 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11013
11014         * text2.C (updateCounters): fix bug 668
11015
11016 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
11017
11018         * text3.C (dispatch): Do not make the buffer dirty when moving the
11019         cursor.
11020
11021 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11022
11023         * vc-backend.C: STRCONV
11024         (scanMaster): ditto
11025
11026         * text2.C (setCounter): STRCONV
11027
11028         * paragraph.C (asString): STRCONV
11029
11030         * lyxlength.C (asString): STRCONV
11031         (asLatexString): ditto
11032
11033         * lyxgluelength.C (asString): STRCONV
11034         (asLatexString): ditto
11035
11036         * lyxfunc.C (dispatch): STRCONV
11037         (open): ditto
11038
11039         * lyxfont.C (stateText): STRCONV
11040
11041         * importer.C (Import): STRCONV
11042
11043         * counters.C (labelItem): STRCONV
11044         (numberLabel): ditto
11045         (numberLabel): remove unused ostringstream o
11046
11047         * chset.C: STRCONV
11048         (loadFile): ditto
11049
11050         * bufferview_funcs.C (currentState): STRCONV
11051
11052         * buffer.C (readFile): STRCONV
11053         (asciiParagraph): ditto
11054         (makeLaTeXFile): ditto
11055
11056         * Spacing.C (writeEnvirBegin): STRCONV
11057
11058         * LaTeXFeatures.C (getLanguages): STRCONV
11059         (getPackages): ditto
11060         (getMacros): ditto
11061         (getBabelOptions): ditto
11062         (getTClassPreamble): ditto
11063         (getLyXSGMLEntities): ditto
11064         (getIncludedFiles): ditto
11065
11066         * LaTeX.C: STRCONV
11067         (run): ditto
11068         (scanAuxFile): ditto
11069         (deplog): ditto
11070
11071         * LString.h: add the STRCONV macros
11072
11073         * BufferView_pimpl.C (savePosition): STRCONV
11074         (restorePosition): ditto
11075         (MenuInsertLyXFile): ditto
11076
11077         * vc-backend.C (scanMaster): change from submatch[...] to
11078         submatch.str(...)
11079
11080         * funcrequest.C: include config.h
11081
11082         * factory.C: include config.h
11083
11084         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11085
11086         * box.C: include config.h
11087
11088         * LaTeX.C (scanAuxFile): change from submatch[...] to
11089         submatch.str(...)
11090         (deplog): ditto
11091
11092 2002-10-25  Angus Leeming  <leeming@lyx.org>
11093
11094         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11095
11096         * ispell.[Ch] (setError): new method.
11097         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11098         Use setError() insetead of goto END.
11099
11100         * lyx_cb.C (AutoSave): move out child process into new class
11101         AutoSaveBuffer.
11102
11103 2002-10-30  John Levon  <levon@movementarian.org>
11104
11105         * text3.C: make start appendix undoable
11106
11107 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11108
11109         * lyxlength.C (inPixels): Fix returned value.
11110
11111         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11112         environment.
11113
11114 2002-10-24  Angus Leeming  <leeming@lyx.org>
11115
11116         * lyxgluelength.h: no need to forward declare BufferParams
11117         or BufferView, so don't.
11118
11119 2002-10-21  John Levon  <levon@movementarian.org>
11120
11121         * BufferView.C: menuUndo ->undo, redo
11122
11123         * BufferView.h: document, remove dead, make some methods private
11124
11125         * paragraph_funcs.h:
11126         * paragraph_funcs.C:
11127         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11128
11129         * buffer.h:
11130         * buffer.C:
11131         * sgml.h:
11132         * sgml.C: move sgml open/close tag into sgml.C
11133
11134         * bufferview_funcs.h: unused prototype
11135
11136         * lyxfunc.h:
11137         * lyxfunc.C: remove unused
11138
11139         * lyxtext.h:
11140         * text.C: remove unused
11141
11142 2002-10-21  John Levon  <levon@movementarian.org>
11143
11144         * BufferView.h:
11145         * BufferView.C:
11146         * BufferView_pimpl.h:
11147         * BufferView_pimpl.C: fix mouse wheel handling based on
11148           patch from Darren Freeman
11149
11150 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11151
11152         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11153
11154 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11155
11156         * lyxlength.C (inPixels): Fix hanfling of negative length.
11157         Fix LyXLength::MU case.
11158
11159 2002-10-16  John Levon  <levon@movementarian.org>
11160
11161         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11162
11163 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11164
11165         * converter.C (view): add support for $$i (file name) and $$p
11166         (file path) for the viewer command. If $$i is not specified, then
11167         it is appended to the command (for compatibility with old syntax)
11168
11169 2002-10-14  Juergen Vigna  <jug@sad.it>
11170
11171         * undo_funcs.C (textHandleUndo): alter the order in which the
11172         new undopar is added to the LyXText, as we have to set first
11173         the right prev/next and then add it as otherwise the rebuild of
11174         LyXText is not correct. Also reset the cursor to the right paragraph,
11175         with this IMO we could remove the hack in "redoParagraphs()".
11176
11177 2002-10-09  Angus Leeming  <leeming@lyx.org>
11178
11179         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11180         to turn off an optimisation if a new inset is to be inserted.
11181
11182 2002-10-11 André Pönitz <poenitz@gmx.net>
11183
11184         * lyxtext.h: make some functions public to allow access
11185         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11186
11187 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11188
11189         * text3.C (dispatch): when changing layout, avoid an infinite loop
11190         [bug #652]
11191
11192 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11193
11194         * lyxrc.C (read): treat a viewer or converter command of "none" as
11195         if it were empty.
11196
11197         * MenuBackend.C (expandFormats): for an update, also allow the
11198         formats that are not viewable
11199
11200         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11201         script if it is newer than the lyxrc.defaults in user directory
11202
11203 2002-10-07 André Pönitz <poenitz@gmx.net>
11204
11205         * text.C: Vitaly Lipatov's small i18n fix
11206
11207 2002-09-25  Angus Leeming  <leeming@lyx.org>
11208
11209         * ispell.h: doxygen fix.
11210
11211 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11212
11213         * buffer.h (readFile): Add a new argument to the method, to allow
11214         reading of old-format templates.
11215
11216 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11217
11218         * toc.C (getTocList): Get TOC from InsetWrap.
11219
11220 2002-09-16  John Levon  <levon@movementarian.org>
11221
11222         * lyxfunc.C: check tabular for cut/copy too
11223
11224 2002-09-12  John Levon  <levon@movementarian.org>
11225
11226         * LyXAction.C: tidy
11227
11228         * factory.h:
11229         * factory.C: add header
11230
11231         * paragraph_funcs.h:
11232         * paragraph_funcs.C: cleanup
11233
11234 2002-09-11  John Levon  <levon@movementarian.org>
11235
11236         * PrinterParams.h: odd/even default to true
11237
11238 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11239
11240         * PrinterParams.h: update printer parameters for new xforms dialog
11241
11242 2002-09-11  Angus Leeming  <leeming@lyx.org>
11243
11244         * lyxserver.C (read_ready): re-write to make it more transparent
11245         and to make it work in coherent fashion under Tru64 Unix.
11246
11247 2002-09-11  André Pönitz <poenitz@gmx.net>
11248
11249         * commandtags.h:
11250         * LyXAction.C:
11251         * text3.C: implement LFUN_WORDSEL
11252
11253 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11254
11255         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11256         make floatlist_ a boost::shared_ptr<FloatList>
11257
11258         * lyxtextclass.C: include FloatList.h
11259         (LyXTextClass): initialize floatlist_
11260         (TextClassTags): add TC_NOFLOAT
11261         (Read): match "nofloat" to TC_NOFLOAT and use it.
11262         (readFloat): modify call to floatlist_
11263         (floats): ditto
11264         (floats): ditto
11265
11266         * FloatList.[Ch] (FloatList): remove commented out float
11267         initialization.
11268         (erase): new function
11269
11270 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11271
11272         * MenuBackend.C (expandToc): fix crash when there is no document
11273         open
11274
11275 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11276
11277         * many files: Add insetwrap.
11278
11279 2002-09-09  John Levon  <levon@movementarian.org>
11280
11281         * text2.C: remove confusing and awkward depth wraparound
11282
11283 2002-09-09  John Levon  <levon@movementarian.org>
11284
11285         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11286
11287         * buffer.h:
11288         * buffer.C: remove getIncludeonlyList()
11289
11290         * paragraph.C:
11291         * lyxfunc.C: remove headers
11292
11293 2002-09-09  Juergen Vigna  <jug@sad.it>
11294
11295         * text.C (getColumnNearX): fix form Michael this is most
11296         probably a cut&paste bug.
11297
11298 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11299
11300         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11301
11302         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11303         references, ws changes.
11304
11305         * text2.C (init): update counters after init
11306         (insertParagraph): no need to set counter on idividual paragraphs.
11307         (setCounter): access the counters object in the textclass object
11308         on in the buffer object.
11309         (updateCounters): ditto
11310
11311         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11312         shared_ptr<Counters> to avoid loading counters.h in all
11313         compilation units.
11314         (LyXTextClass): initialize ctrs_
11315         (TextClassTags): add TC_COUNTER, and ...
11316         (Read): use it here.
11317         (CounterTags): new tags
11318         (readCounter): new function
11319         (counters): new funtion
11320         (defaultLayoutName): return a const reference
11321
11322         * counters.C (Counters): remove contructor
11323         (newCounter): remove a couple of unneeded statements.
11324         (newCounter): simplify a bit.
11325         (numberLabel): some small formatting changes.
11326
11327         * buffer.[Ch]: remove all traces of counters, move the Counters
11328         object to the LyXTextClass.
11329
11330 2002-09-06  Alain Castera  <castera@in2p3.fr>
11331
11332         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11333         package to set the horizontal alignment on fixed width columns.
11334
11335         * lyx_sty.C:
11336         * lyx_sty.h: added tabularnewline macro def.
11337
11338         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11339
11340 2002-09-06  John Levon  <levon@movementarian.org>
11341
11342         * LyXAction.C: tooltips for sub/superscript
11343
11344         * MenuBackend.C: a bit more verbose
11345
11346         * lyxfunc.C: tiny clean
11347
11348         * undo_funcs.C: document undo_frozen
11349
11350 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11351
11352         * counters.C (Counters): add missing algorithm counter.
11353
11354         * text2.C (setCounter): lookup the counter with layouts latexname
11355         instead of by section number.
11356         (setCounter): use a hackish way to lookup the correct enum
11357         counter.
11358         a float name->type change
11359         reset enum couners with counter name directly instead of depth value.
11360
11361         * counters.C (Counters): remove the push_backs, change to use the
11362         float type not the float name.
11363         (labelItem): remove unused string, float name->type change
11364
11365         * counters.h: don't include vector, loose the enums and sects vectors
11366
11367 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11368
11369         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11370         (Read): add float->TC_FLOAT to textclassTags
11371         (Read): and handle it in the switch
11372         (readFloat): new function
11373
11374         * FloatList.C (FloatList): comment out the hardcoded float
11375         definitions.
11376
11377         * lyxlayout.h: ws change.
11378
11379 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11380
11381         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11382
11383 2002-09-03  Angus Leeming  <leeming@lyx.org>
11384
11385         * BufferView_pimpl.h: qualified name is not allowed in member
11386         declaration: WorkArea & Pimpl::workarea() const;
11387
11388         * factory.C: added using std::endl directive.
11389
11390         * text3.C: added using std::find and std::vector directives.
11391
11392 2002-08-29  André Pönitz <poenitz@gmx.net>
11393
11394         * lyxtext.h:
11395         * text2.C: remove unused member number_of_rows
11396
11397         * Makefile.am:
11398         * BufferView2.C: remove file, move contents to...
11399         * BufferView.C: ... here
11400
11401         * BufferView_pimpl.C:
11402         * factory.C: move more inset creation to factory
11403
11404         * vspace.C: avoid direct usage of LyXText, ws changes
11405
11406         * BufferView.[Ch]:
11407                 don't provide direct access to WorkArea, use two simple
11408                 acessors haveSelction() and workHeight() instead
11409
11410
11411 2002-08-29  John Levon  <levon@movementarian.org>
11412
11413         * BufferView_pimpl.C (dispatch): do not continue when
11414           no buffer
11415
11416 2002-08-28  André Pönitz <poenitz@gmx.net>
11417
11418         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11419
11420         * BufferView.h:
11421         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11422
11423 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11424
11425         * buffer.C: increment LYX_FORMAT to 221
11426
11427         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11428         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11429
11430         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11431
11432         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11433
11434 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11435
11436         * factory.C (createInset): use LyXTextClass::floats
11437
11438         * MenuBackend.C (expandFloatListInsert):
11439         (expandFloatInsert):
11440         (expandToc):
11441
11442         * text2.C (setCounter):
11443
11444         * LaTeXFeatures.C (useFloat):
11445         (getFloatDefinitions):
11446
11447         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11448
11449         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11450         floatlist_, with accessor floats().
11451
11452         * FloatList.h: remove global FloatList
11453
11454 2002-08-26  André Pönitz <poenitz@gmx.net>
11455
11456         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11457
11458         * BufferView.h:
11459         * BufferView2.C:
11460         * BufferView_pimpl.C:
11461         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11462
11463 2002-08-25  John Levon  <levon@movementarian.org>
11464
11465         * LyXAction.C: fix margin note description
11466
11467 2002-08-24  John Levon  <levon@movementarian.org>
11468
11469         * buffer.C:
11470         * bufferlist.C:
11471         * bufferview_funcs.C:
11472         * lyxfont.C:
11473         * undo_funcs.C: cleanups
11474
11475         * lyxfunc.C: disable CUT/COPY when no selection
11476
11477 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11478
11479         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11480         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11481
11482         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11483         Add backward compatibility to "mono", "gray" and "no".
11484
11485 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11486
11487         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11488         (and file_format >= 200).
11489
11490 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11491
11492         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11493
11494 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11495
11496         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11497
11498 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11499
11500         * BufferView_pimpl.C:
11501         * LyXAction.C:
11502         * buffer.C:
11503         * commandtags.h:
11504         * lyxfunc.C:
11505         * paragraph.[Ch]:
11506         * text2.C:
11507         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11508         inset and code to make it  work with the paragraph code. The inset
11509         can be anywhere in the paragraph, but will only do the expected
11510         thing in LaTeX if the layout file contains the parameter line
11511                         OptionalArgs    1
11512         (or more generally, a nonzero value) for that layout.
11513
11514 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11515
11516         * paragraph.h: remove the declaration of undefined counters class
11517         function.
11518
11519 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11520
11521         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11522         Dr. Richard Hawkins.
11523
11524 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11525
11526         * paragraph_funcs.h: remove some unneeded includes
11527
11528         * text.C (backspace): pasteParagraph now in global scipe
11529
11530         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11531         (pasteSelection): ditto
11532
11533         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11534         * paragraph_funcs.C (pasteParagraph): ... here
11535
11536 2002-08-20  André Pönitz <poenitz@gmx.net>
11537
11538         * commandtags.h: new LFUNs for swapping/copying table row/colums
11539
11540         * LyXAction.C:
11541         * lyxfunc.C: support for new lfuns
11542
11543 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11544
11545         * tabular.C:
11546         * buffer.[Ch]: remove NO_COMPABILITY stuff
11547
11548 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11549
11550         * boost.C (throw_exception): new file, with helper function for
11551         boost compiled without exceptions.
11552
11553         * paragraph.h:
11554         * lyxlength.C:
11555         * buffer.C:
11556         * ParameterStruct.h:
11557         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11558
11559         * bufferlist.C (emergencyWriteAll): use boost bind
11560
11561         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11562
11563         * text.C: include paragraph_funcs.h
11564         (breakParagraph): breakParagraph is now in global scope
11565
11566         * paragraph_funcs.[Ch]: new files
11567
11568         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11569         global scope
11570
11571         * buffer.C: include paragraph_funcs.h
11572         (insertStringAsLines): breakParagraph is now in global scope
11573
11574         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11575         paragraph_funcs.C
11576
11577         * CutAndPaste.C: include paragraph_funcs.h
11578         (cutSelection): breakParagraphConservative is now in global scope
11579         (pasteSelection): ditto
11580
11581         * buffer.h: declare oprator== and operator!= for
11582         Buffer::inset_iterator
11583
11584         * bufferlist.C (emergencyWrite): don't use fmt(...)
11585
11586         * text3.C: add using std::endl
11587
11588         * BufferView.C (moveCursorUpdate): remove default arg
11589
11590 2002-08-20  André Pönitz <poenitz@gmx.net>
11591
11592         * buffer.[Ch]: move inline functions to .C
11593
11594         * BufferView2.C:
11595         * BufferView_pimpl.C:
11596         * text.C:
11597         * buffer.[Ch]: use improved inset_iterator
11598
11599         * buffer.C:
11600         * paragraph.[Ch]: write one paragraph at a time
11601
11602 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11603
11604         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11605         style if style is not specified.
11606
11607 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11608
11609         * text2.C (setCounter): when searching for right label for a
11610         caption, make sure to recurse to parent insets (so that a caption
11611         in a minipage in a figure float works) (bug #568)
11612
11613 2002-08-20  André Pönitz <poenitz@gmx.net>
11614
11615         * text3.C: new file for LyXText::dispatch() and helpers
11616
11617         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11618
11619         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11620
11621 2002-08-19  André Pönitz <poenitz@gmx.net>
11622
11623         * lyxtext.h:
11624         * text.C: new LyXText::dispatch()
11625
11626         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11627
11628 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11629
11630         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11631
11632         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11633         Hebrew text.
11634
11635 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11636
11637         * Makefile.am: use $(variables) instead of @substitutions@
11638
11639 2002-08-15  André Pönitz <poenitz@gmx.net>
11640
11641         * lyxfunc.C:
11642         * BufferView_pimpl.C: streamlining mathed <-> outer world
11643         interaction
11644
11645         * commandtags.h:
11646         * LyXAction.C: remove unused LFUN_MATH
11647
11648 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11649
11650         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11651
11652 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11653
11654         * paragraph.C (Paragraph): reformat a bit
11655         (cutIntoMinibuffer): use builtin InsetList function instad of
11656         doing it manually.
11657         (getInset): ditto
11658
11659         * buffer.C: include boost/bind.hpp, add using std::for_each
11660         (writeFileAscii): use ParagraphList iterators
11661         (validate): use for_each for validate traversal of paragraphs
11662         (getBibkeyList): use ParagraphList iterators
11663         (resizeInsets): use for_each to resizeInsetsLyXText for all
11664         paragraphs.
11665         (getParFromID): use ParagraphList iterators
11666
11667         * BufferView2.C (lockInset): use paragraph list and iterators
11668
11669 2002-08-14  John Levon  <levon@movementarian.org>
11670
11671         * lyxserver.C: remove spurious xforms include
11672
11673 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11674
11675         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11676
11677 2002-08-13  André Pönitz <poenitz@gmx.net>
11678
11679         * LyXAction.[Ch]:
11680         * lyxfunc.C: further cleaning
11681
11682 2002-08-13  André Pönitz <poenitz@gmx.net>
11683
11684         * funcrequest.h: new constructor
11685
11686         * funcrequest.C: move stuff here from .h
11687
11688         * Makefile.am:
11689         * BufferView_pimpl.C:
11690         * LyXAction.C:
11691         * toc.C:
11692         * lyxfunc.C: subsequent changes
11693
11694         * lyxfunc.h: new view() member function
11695
11696         * lyxfunc.C: subsequent changes
11697
11698 2002-08-13  Angus Leeming  <leeming@lyx.org>
11699
11700         * BufferView2.C:
11701         * BufferView_pimpl.C:
11702         * buffer.C:
11703         * converter.C:
11704         * importer.C:
11705         * lyxfunc.C:
11706         * lyxvc.C:
11707         * toc.C:
11708         * vc-backend.C:
11709         changes due to the changed LyXView interface that now returns references
11710         to member variables not pointers.
11711
11712 2002-08-13  Angus Leeming  <leeming@lyx.org>
11713
11714         * WordLangTuple (word, lang_code): return references to strings,
11715         not strings.
11716
11717         * BufferView.h:
11718         * SpellBase.h:
11719         * lyxtext.h: forward-declare WordLangTuple.
11720
11721         * BufferView2.C:
11722         * ispell.C:
11723         * pspell.C:
11724         * text.C: #include "WordLangTuple.h".
11725
11726         * lyxtext.h:
11727         * text.C: (selectNextWordToSpellcheck): constify return type.
11728
11729 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11730
11731         * buffer.C:
11732         * buffer.h:
11733         * lyxtext.h:
11734         * paragraph.C:
11735         * paragraph_pimpl.h:
11736         * text.C:
11737         * text2.C:
11738         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11739         suggested by Angus.
11740         Made updateCounter always count from start of buffer, and removed
11741         second argument (par).
11742         Reverted floats number display to '#'. Perhaps I'll try again when the
11743         code base is sanitized a bit.
11744
11745 2002-08-12  Angus Leeming  <leeming@lyx.org>
11746
11747         * buffer.[Ch] (getLabelList): constify.
11748
11749 2002-08-07  André Pönitz <poenitz@gmx.net>
11750
11751         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11752
11753         * funcrequest.h: extension to keep mouse (x,y) position
11754
11755 2002-08-12  Juergen Vigna  <jug@sad.it>
11756
11757         * BufferView2.C (insertErrors): forbid undo when inserting error
11758         insets.
11759
11760         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11761
11762 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11763
11764         * ParagraphList.[Ch]: new files
11765
11766         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11767
11768         * BufferView2.C (lockInset): ParagraphList changes
11769         * toc.C: ditto
11770         * text2.C: ditto
11771         * bufferlist.C: ditto
11772         * buffer.h: ditto
11773         * buffer.C: ditto
11774
11775 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11776
11777         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11778         unused class variable counter_,
11779
11780         * paragraph.[Ch] (getFirstCounter): delete unused function
11781
11782         * counters.C: include LAssert.h
11783         (reset): add a new function with no arg, change other version to
11784         not have def. arg and to not allow empty arg.
11785
11786         * text2.C (setCounter): remove empty arg from call to Counters::reset
11787
11788 2002-08-11  John Levon  <levon@movementarian.org>
11789
11790         * Makefile.am: add WordLangTuple.h
11791
11792 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11793
11794         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11795         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11796
11797         * insets/insettext.C: InsetList changes
11798
11799         * graphics/GraphicsSupport.C (operator()): InsetList changes
11800
11801         * toc.C (getTocList): InsetList changes
11802
11803         * paragraph_pimpl.[Ch]: InsetList changes
11804
11805         * paragraph.[Ch]: InsetList changes
11806
11807         * buffer.C (inset_iterator): InsetList changes
11808         (setParagraph): ditto
11809         * buffer.h (inset_iterator): ditto
11810         * iterators.C (operator++): ditto
11811         * iterators.h: ditto
11812
11813         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11814
11815         * InsetList.[Ch]: new files, most InsetList handling moved out of
11816         paragraph.C.
11817
11818         * BufferView2.C (removeAutoInsets): InsetList changes
11819         (lockInset): ditto
11820         (ChangeInsets): ditto
11821
11822 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11823
11824         * paragraph_pimpl.h (empty): new function
11825
11826         * paragraph.[Ch] (empty): new function
11827
11828         * other files: use the new Paragraph::empty function
11829
11830 2002-08-09  John Levon  <levon@movementarian.org>
11831
11832         * lyxtext.h: remove unused refresh_height
11833
11834 2002-08-09  John Levon  <levon@movementarian.org>
11835
11836         * Makefile.am:
11837         * sgml.h:
11838         * sgml.C:
11839         * buffer.C:
11840         * paragraph.h:
11841         * paragraph.C: move sgml char escaping out of paragraph
11842
11843         * paragraph.h:
11844         * paragraph.C: remove id setter
11845
11846         * buffer.C:
11847         * paragraph.C:
11848         * paragraph_pimpl.C: remove dead tex_code_break_column
11849
11850         * bufferview_funcs.C: small cleanup
11851
11852         * lyxfunc.C: remove dead proto
11853
11854         * lyxtext.h: make some stuff private. Remove some dead stuff.
11855
11856         * lyxgluelength.C: make as[LyX]String() readable
11857
11858 2002-08-08  John Levon  <levon@movementarian.org>
11859
11860         * LyXAction.h:
11861         * LyXAction.C:
11862         * MenuBackend.C:
11863         * ToolbarDefaults.C:
11864         * lyxfunc.C:
11865         * lyxrc.C:
11866         * toc.C: lyxaction cleanup
11867
11868 2002-08-08  John Levon  <levon@movementarian.org>
11869
11870         * BufferView2.C: small cleanup
11871
11872         * lyxfind.h:
11873         * lyxfind.C: move unnecessary header into the .C
11874
11875 2002-08-08  John Levon  <levon@movementarian.org>
11876
11877         * funcrequest.h: just tedious nonsense
11878
11879         * lyx_main.h:
11880         * lyx_main.C: cleanups
11881
11882         * buffer.C:
11883         * vspace.C: remove dead header lyx_main.h
11884
11885 2002-08-07  Angus Leeming  <leeming@lyx.org>
11886
11887         * Paragraph.[Ch]:
11888         * paragraph_pimpl.h:
11889         Forward declare class Counters in paragraph.h by moving the ctrs member
11890         variable into Paragraph::Pimpl.
11891         (counters): new method, returning a reference to pimpl_->ctrs.
11892
11893         * text2.C: ensuing changes.
11894
11895 2002-08-07  John Levon  <levon@movementarian.org>
11896
11897         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11898
11899         * BufferView_pimpl.C: announce X selection on double/triple
11900           click
11901
11902         * lyx_main.C: use correct bool in batch dispatch
11903
11904         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11905
11906 2002-08-07  André Pönitz <poenitz@gmx.net>
11907
11908         * funcrequest.h: new class to wrap a kb_action and its argument
11909
11910         * BufferView.[Ch]:
11911         * BufferView_pimpl[Ch]:
11912         * LaTeX.C:
11913         * LyXAction.[Ch]:
11914         * lyxfunc.[Ch]:
11915         * lyxrc.C: subsequent changes
11916
11917
11918 2002-08-07  John Levon  <levon@movementarian.org>
11919
11920         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11921           document options change.
11922
11923 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11924
11925         * counters.[Ch]
11926         * text2.C
11927         * paragraph.[Ch]
11928         * makefile.am: move counters functionality over from
11929         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11930
11931 2002-08-06  John Levon  <levon@movementarian.org>
11932
11933         * WordLangTuple.h: new file for word + language code tuple
11934
11935         * SpellBase.h:
11936         * pspell.h:
11937         * pspell.C:
11938         * ispell.h:
11939         * ispell.C:
11940         * lyxtext.h:
11941         * text.C:
11942         * text2.C:
11943         * BufferView.h:
11944         * BufferView2.C: use WordLangTuple
11945
11946         * layout.h:
11947         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11948
11949 2002-08-06  John Levon  <levon@movementarian.org>
11950
11951         * lyx_main.C: fix cmdline batch handling
11952
11953 2002-08-06  André Pönitz <poenitz@gmx.net>
11954
11955         * lyxrc.C: set default for show_banner to true
11956
11957 2002-08-06  John Levon  <levon@movementarian.org>
11958
11959         * pspell.C: fix a crash, and allow new aspell to work
11960
11961 2002-08-06  John Levon  <levon@movementarian.org>
11962
11963         * lyxfunc.C:
11964         * kbmap.C: small cleanup
11965
11966         * vspace.h:
11967         * vspace.C: add const
11968
11969 2002-08-05  John Levon  <levon@movementarian.org>
11970
11971         * LyXAction.C: back to tabular-insert
11972
11973 2002-08-04  John Levon  <levon@movementarian.org>
11974
11975         * BufferView.h:
11976         * BufferView.C: cosmetic change
11977
11978         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11979
11980         * bufferlist.C:
11981         * buffer.h:
11982         * buffer.C:
11983         * lyxcb.h:
11984         * lyxcb.C:
11985         * lyxserver.C:
11986         * lyxvc.C:
11987         * vc-backend.C:
11988         * BufferView2.C: purge all "Lyx" not "LyX" strings
11989
11990         * lyxcursor.h:
11991         * lyxcursor.C: attempt to add some documentation
11992
11993         * lyxfunc.C:
11994         * commandtags.h:
11995         * LyXAction.C:
11996         * ToolbarDefaults.C:
11997         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11998           merge with LFUN_TABULAR_INSERT
11999
12000         * Makefile.am:
12001         * SpellBase.h:
12002         * ispell.h:
12003         * ispell.C:
12004         * pspell.h:
12005         * pspell.C: split up i/pspell implementations into separate
12006           files, many cleanups
12007
12008         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
12009
12010         * text2.C: some cleanup
12011
12012         * lyxfunc.C: don't check for isp_command == "none" any more, it
12013           didn't make any sense
12014
12015 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
12016
12017         * counters.[Ch]
12018         * text2.C
12019         * paragraph.[Ch]
12020         * makefile.am: move counters functionality over
12021         from text2.C/paragraph.[Ch] to counters.[Ch], and
12022         make proper C++.
12023 2002-08-02  John Levon  <levon@movementarian.org>
12024
12025         * buffer.C: s/lyxconvert/lyx2lyx/
12026
12027 2002-08-02  Angus Leeming  <leeming@lyx.org>
12028
12029         * lyxlex.C: revert John's change as it breaks reading of the user
12030         preamble.
12031
12032 2002-08-02  Angus Leeming  <leeming@lyx.org>
12033
12034         * importer.C (Import):
12035         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
12036         changes due to LyXView::view() now returning a boost::shared_ptr.
12037
12038 2002-08-02  John Levon  <levon@movementarian.org>
12039
12040         * lyxlex.C: small cleanup
12041
12042 2002-08-02  John Levon  <levon@movementarian.org>
12043
12044         * text2.C (status): small cleanup, no logic change
12045
12046 2002-08-01  John Levon  <levon@movementarian.org>
12047
12048         * buffer.h:
12049         * buffer.C (writeFile): don't output alerts, caller
12050           handles this
12051
12052         * bufferlist.C:
12053         * lyx_cb.C: from above
12054
12055         * lyxfunc.C: allow to open non-existent files
12056
12057 2002-07-31  John Levon  <levon@movementarian.org>
12058
12059         * lyxserver.C: don't let incidental errors get
12060           in the way (errno)
12061
12062 2002-07-30  John Levon  <levon@movementarian.org>
12063
12064         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12065
12066 2002-07-30  John Levon  <levon@movementarian.org>
12067
12068         * lyxserver.h:
12069         * lyxserver.C: remove I/O callback too
12070
12071 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12072
12073         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12074         log.
12075
12076 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12077
12078         * many files: strip,frontStrip -> trim,ltrim,rtrim
12079
12080 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
12081
12082         * PrinterParams.h: remove extern containsOnly, and include
12083         support/lstrings.h instead.
12084
12085         * LaTeX.C (scanAuxFile): modify because of strip changes
12086         (deplog): ditto
12087         * buffer.C (makeLaTeXFile): ditto
12088         * bufferparams.C (writeFile): ditt
12089         * lyxfont.C (stateText): ditto
12090         * lyxserver.C (read_ready): ditto
12091         * vc-backend.C (scanMaster): ditto
12092
12093         * BufferView_pimpl.h: ws changes
12094
12095         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12096
12097 2002-07-26  André Pönitz <poenitz@gmx.net>
12098
12099         * kb_sequence.C: remove unnedred usings
12100
12101 2002-07-26  Juergen Vigna  <jug@sad.it>
12102
12103         * lyxfind.C (LyXReplace): we have to check better if the returned
12104         text is not of theLockingInset()->getLockingInset().
12105
12106 2002-07-25  Juergen Vigna  <jug@sad.it>
12107
12108         * lyxfind.C (LyXReplace): don't replace if we don't get the
12109         right LyXText.
12110
12111         * undo_funcs.C (createUndo): remove debugging code.
12112
12113 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12114
12115         * buffer.C (parseSingleLyXformat2Token): Use default placement
12116         when reading old floats.
12117
12118         * FloatList.C (FloatList): Change the default placement of figure
12119         and tables to "tbp".
12120
12121 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12122
12123         * MenuBackend.C: using std::max
12124
12125 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12126
12127         * MenuBackend.C (expandToc):
12128         (expandToc2): code moved from xforms menu frontend. It is now
12129         generic and TOCs are transparent to menu frontends.
12130
12131 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12132
12133         * toc.C (getTocList): protect against buf=0
12134
12135         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12136         Menu as first parameter. Now, this calls itself recursively to
12137         expand a whole tree (this will be useful for TOC handling)
12138         (expandFloatInsert): remove 'wide' version of floats
12139
12140         * MenuBackend.h (submenuname): returns the name of the submenu.
12141         (submenu): returns the submenu itself, provided it has been
12142         created by MenuBackend::expand
12143
12144 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12145
12146         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12147         insets which have noFontChange == true. (bug #172)
12148
12149 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12150
12151         * BufferView_pimpl.C: add connection objects and use them...
12152         (Pimpl): here.
12153
12154 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12155
12156         * MenuBackend.C (expandLastfiles):
12157         (expandDocuments):
12158         (expandFormats):
12159         (expandFloatListInsert):
12160         (expandFloatInsert):
12161         (expand): split expand in parts
12162
12163 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * lyx_gui.C: use lyx_gui::exit()
12166
12167 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12168
12169         * LyXAction.C: show the failing pseudo action
12170
12171 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12172
12173         * buffer.C (readFile): Run the lyxconvert script in order to read
12174         old files.
12175
12176 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12177
12178         * LyXAction.C:
12179         * commandtags.h:
12180         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12181
12182 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12183
12184         * LyXAction.C:
12185         * commandtags.h:
12186         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12187
12188 2002-07-22  Herbert Voss  <voss@lyx.org>
12189
12190         * lengthcommon.C:
12191         * lyxlength.[Ch]: add support for the vertical lengths
12192
12193 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12194
12195         * toc.[Ch]: std:: fixes
12196
12197 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12198
12199         * lyxrc.C: do not include lyx_main.h
12200
12201         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12202         for layouts
12203
12204         * lyxrc.C:
12205         * encoding.C:
12206         * bufferlist.C:
12207         * BufferView2.C: include "lyxlex.h"
12208
12209         * tabular.h:
12210         * bufferparams.h: do not #include "lyxlex.h"
12211
12212         * lyxtextclasslist.C (Add): remove method
12213         (classlist): renamed to classlist_
12214
12215         * paragraph_pimpl.C:
12216         * paragraph.C:
12217         * text2.C:
12218         * CutAndPaste.C:
12219         * bufferview_funcs.C:
12220         * bufferlist.C:
12221         * text.C:
12222         * LaTeXFeatures.C:
12223         * buffer.C:
12224         * toc.C (getTocList): use BufferParams::getLyXTextClass
12225
12226         * toc.C (getTocList): use InsetFloat::addToToc
12227
12228         * toc.[Ch]: new files, containing helper functions to handle table
12229         of contents
12230
12231         * lyxfunc.C (dispatch): no need to remove spaces around command
12232         given as a string
12233         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12234         first command of the sequence; it is not very clever, but I do not
12235         have a better idea, actually
12236
12237         * LyXAction.C (LookupFunc): make sure to remove space at the
12238         beginning and end of the command
12239
12240 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12241
12242         * MenuBackend.C (getMenubar): new method: return the menubar of
12243         this menu set
12244         (read): treat differently reading of menu and menubar (in
12245         particular, the menubar has no name now)
12246         (Menu::menubar): remove
12247
12248         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12249         saving is finished
12250
12251 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12252
12253         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12254         a bibitem inset in a RTL paragraph.
12255
12256 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * paragraph_pimpl.C: constify
12259
12260         * BufferView_pimpl.C:
12261         * LaTeX.C:
12262         * lyxfunc.C: fix dispatch in a nicer way
12263
12264 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12265
12266         * lyxfunc.C (dispatch):
12267         * BufferView_pimpl.C:
12268         * BufferView_pimpl.h:
12269         * BufferView.C:
12270         * BufferView.h: rename Dispatch() to dispatch()
12271
12272         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12273
12274         * lyxlayout.C (Read): honor DependsOn tag
12275
12276         * lyxlayout.[Ch] (depends_on): new method
12277
12278         * version.C.in: update lyx_docversion
12279
12280         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12281
12282         * paragraph.C (validate): remove from here...
12283         * paragraph_pimpl.C (validate): ... and move here
12284         (isTextAt): make it const
12285
12286         * buffer.C (getLists): ws cleanup
12287
12288 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12289
12290         * language.C (read): Use iso8859-1 encoding in latex_lang
12291         (this prevents LyX from crashing when using iso10646-1 encoding).
12292
12293 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12294
12295         * text2.C (toggleInset): if cursor is inside an inset, close the
12296         inset and leave cursor _after_ it
12297
12298 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * lyxfunc.C: move minibuffer completion handling out of here
12301
12302 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12303
12304         * BufferView_pimpl.C:
12305         * LaTeX.C: fix dispatch calls
12306
12307 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12308
12309         * text.C (drawChars): Fix Arabic text rendering.
12310
12311 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12312
12313         * LyXAction.C:
12314         * commandtags.h:
12315         * lyxfunc.C: remove message-push/pop
12316
12317         * lyxserver.C:
12318         * lyxfunc.h:
12319         * lyxfunc.C: rationalise some code by removing verboseDispatch
12320           in favour of a bool argument to dispatch()
12321
12322 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12323
12324         * lyx_main.C (init): make sure to read symlinks as absolute paths
12325
12326 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * lyxfunc.h:
12329         * lyxfunc.C: no need for commandshortcut to be a member
12330
12331 2002-07-15  André Pönitz <poenitz@gmx.net>
12332
12333         * converter.C: add support for $$s (scripts from lib/scripts dir)
12334         * lyx_main.C: white space
12335
12336 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12337
12338         * bufferlist.C:
12339         * lyxrc.h:
12340         * lyxrc.C: remove second exit confirmation
12341
12342 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12343
12344         * BufferView.h:
12345         * BufferView.C:
12346         * BufferView2.C:
12347         * BufferView_pimpl.h:
12348         * BufferView_pimpl.C:
12349         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12350
12351 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12352
12353         * MenuBackend.C (expand): add numeric shortcuts to document menu
12354
12355         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12356
12357 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12358
12359         * lyxfont.C (setLyXFamily):
12360         (setLyXSeries):
12361         (setLyXShape):
12362         (setLyXSize):
12363         (setLyXMisc):
12364         (lyxRead):
12365         * debug.C (value):
12366         * buffer.C (asciiParagraph): use ascii_lowercase
12367
12368 2002-07-15  Mike Fabian  <mfabian@suse.de>
12369
12370         * lyxlex_pimpl.C (search_kw):
12371         * lyxlex.C (getLongString):
12372         * converter.h (operator<):
12373         * converter.C (operator<):
12374         * buffer.C (parseSingleLyXformat2Token):
12375         (asciiParagraph):
12376         * ToolbarDefaults.C (read):
12377         * MenuBackend.C (checkShortcuts):
12378         (read):
12379         * LColor.C (getFromGUIName):
12380         (getFromLyXName): use the compare_ascii_no_case instead of
12381         compare_no_case, because in turkish, 'i' is not the lowercase
12382         version of 'I', and thus turkish locale breaks parsing of tags.
12383
12384 2002-07-16  Angus Leeming  <leeming@lyx.org>
12385
12386         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12387         now takes a Buffer const & argument.
12388
12389 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * BufferView.C (resize): check there's a buffer to resize
12392
12393 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12394
12395         * lyxfunc.C: remove dead code
12396
12397         * lyxserver.h:
12398         * lyxserver.C: use lyx_guii::set_read_callback
12399
12400 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12401
12402         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12403         an inset in a RTL paragraph.
12404
12405 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12406
12407         * lyxfunc.C: repaint after a font size update
12408
12409 2002-07-15  André Pönitz <poenitz@gmx.net>
12410
12411         * lyxlength.C: inBP should be able to return negative values
12412
12413 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12414
12415         * lyxfunc.C: use lyx_gui::update_fonts()
12416
12417 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12418
12419         * lyxfunc.C: use lyx_gui::update_color()
12420
12421 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12422
12423         * bufferlist.C:
12424         * lyxfunc.h:
12425         * lyxfunc.C:
12426         * lyxrc.h:
12427         * lyxrc.C: remove file->new asks for name option, and let
12428           buffer-new take an argument
12429
12430 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12431
12432         * BufferView_pimpl.C: remove unneeded extra repaint()
12433
12434 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * LyXAction.C: allow command-sequence with NoBuffer
12437
12438         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12439
12440 2002-07-10  Angus Leeming  <leeming@lyx.org>
12441
12442         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12443
12444 2002-07-09  Angus Leeming  <leeming@lyx.org>
12445
12446         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12447
12448 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * lengthcommon.h: whitespace
12451
12452         * lyxfunc.C: update scrollbar after goto paragraph
12453
12454         * lyxtext.h: factor out page break drawing, and fix it so
12455           page break/added space paints as selected nicely
12456
12457 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12458
12459         * BufferView_pimpl.C: add FIXMEs, clean up a little
12460
12461 2002-07-09  André Pönitz <poenitz@gmx.net>
12462
12463         * lyxfont.[Ch]: support for wasy symbols
12464
12465 2002-07-08  André Pönitz <poenitz@gmx.net>
12466
12467         * BufferView_pimpl.C: apply John's patch for #93.
12468
12469 2002-07-05  Angus Leeming  <leeming@lyx.org>
12470
12471         * BufferView_pimpl.C (buffer): generate previews if desired.
12472
12473         * LColor.h: add "preview" to the color enum.
12474
12475         * LColor.C (LColor): add a corresponding entry to the items array.
12476
12477         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12478         with this buffer.
12479
12480 2002-07-05  Angus Leeming  <leeming@lyx.org>
12481
12482         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12483         The body of the code is now in the method that is passed an ostream &
12484         rather than a file name.
12485         Pass an additional only_preamble parameter, useful for the forthcoming
12486         preview stuff.
12487
12488 2002-07-03  André Pönitz <poenitz@gmx.net>
12489
12490         * lyxfunc.C: simplify getStatus() a bit for math stuff
12491
12492 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12493
12494         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12495
12496 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12497
12498         * text.C (changeRegionCase): do not change case of all the
12499         document when region ends at paragraph end (bug #461)
12500
12501 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12502
12503         * paragraph.C (startTeXParParams):
12504         (endTeXParParams): add \protect when necessary
12505
12506 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12507
12508         * BufferView_pimpl.C (workAreaExpose): remove warning
12509
12510 2002-06-27  Angus Leeming  <leeming@lyx.org>
12511
12512         * Makefile.am: add lyxlayout_ptr_fwd.h.
12513
12514 2002-06-26  André Pönitz <poenitz@gmx.net>
12515
12516         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12517
12518 2002-06-25  Angus Leeming  <leeming@lyx.org>
12519
12520         * lyxfunc.C (dispatch): Comment out the call to
12521         grfx::GCache::changeDisplay. The method no longer exists now that the
12522         pixmap generation part of the graphics loader has been moved into
12523         InsetGraphics.
12524
12525 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12526
12527         * text2.C: layout as layout
12528
12529         * text.C: layout as layout
12530
12531         * tabular.C (OldFormatRead): layout as layout
12532
12533         * paragraph_pimpl.C (TeXDeeper): layout as layout
12534         (realizeFont): layout as layout
12535
12536         * paragraph.C (writeFile): layout as layout
12537         (validate): layout as layout
12538         (getFont): layout as layout
12539         (getLabelFont): layout as layout
12540         (getLayoutFont): layout as layout
12541         (breakParagraph): layout as layout
12542         (stripLeadingSpaces): layout as layout
12543         (getEndLabel): layout as layout
12544         (getMaxDepthAfter): layout as layout
12545         (applyLayout): layout as layout
12546         (TeXOnePar): layout as layout
12547         (simpleTeXOnePar): layout as layout
12548         (TeXEnvironment): layout as layout
12549         (layout): layout as layout
12550         (layout): layout as layout
12551
12552         * lyxtextclass.C (compare_name): new functor to work with
12553         shared_ptr, layout as layout
12554         (Read): layout as layout
12555         (hasLayout): layout as layout
12556         (operator): layout as layout
12557         (delete_layout): layout as layout
12558         (defaultLayout): layout as layout
12559
12560         * lyxlayout_ptr_fwd.h: new file
12561
12562         * lyxlayout.C (Read): layout as layout
12563
12564         * lyx_cb.C (MenuInsertLabel): layout as layout
12565
12566         * bufferlist.C (newFile): layout as layout
12567
12568         * buffer.C (readLyXformat2): layout as layout
12569         (parseSingleLyXformat2Token): layout as layout
12570         (insertStringAsLines): layout as layout
12571         (asciiParagraph): layout as layout
12572         (latexParagraphs): layout as layout
12573         (makeLinuxDocFile): layout as layout
12574         (simpleLinuxDocOnePar): layout as layout
12575         (makeDocBookFile): layout as layout
12576         (simpleDocBookOnePar): layout as layout
12577         (getLists): layout as layout
12578
12579         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12580
12581         * CutAndPaste.C (cutSelection): layout as layout
12582         (pasteSelection): layout as layout
12583         (SwitchLayoutsBetweenClasses): layout as layout
12584
12585         * BufferView_pimpl.C (Dispatch): layout as layout
12586         (smartQuote): layout as layout
12587
12588         * BufferView2.C (unlockInset): layout as layout
12589
12590 2002-06-24  André Pönitz <poenitz@gmx.net>
12591
12592         * lyxfunc.C: fix #487
12593
12594 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12595
12596         * lyxrc.h:
12597         * lyxrc.C:
12598         * lyxfunc.C: remove display_shortcuts, show_banner
12599
12600 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12601
12602         * Buffer_pimpl.C: oops, update on resize
12603
12604 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12605
12606         * buffer.C:
12607         * converter.C:
12608         * exporter.C:
12609         * lyxfunc.C:
12610         * BufferView.h:
12611         * BufferView.C: use repaint()
12612
12613         * BufferView_pimpl.h:
12614         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12615           as it's a clearer description. Remove superfluous
12616           redraws.
12617
12618 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12619
12620         * text.C: fix bug 488. Not ideal, but getting
12621           getWord() to work properly for the insets that
12622           matter is more difficult ...
12623
12624 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12625
12626         * BufferView_pimpl.C:
12627         * LyXAction.C:
12628         * commandtags.h:
12629         * lyxfunc.C: remove the six million index lyxfuncs to just
12630           one, and DTRT (bug 458)
12631
12632 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12633
12634         * BufferView.h:
12635         * BufferView.C:
12636         * BufferView_pimpl.h:
12637         * BufferView_pimpl.C: clean up resize() stuff,
12638           and unnecessary updateScreen()s
12639
12640 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12641
12642         * BufferView.h:
12643         * BufferView.C:
12644         * BufferView_pimpl.h:
12645         * BufferView_pimpl.C:
12646         * lyxfind.h:
12647         * lyxfind.C:
12648         * minibuffer.C: remove focus management of workarea,
12649           not needed. Use screen's greyOut()
12650
12651 2002-06-17  Herbert Voss  <voss@lyx.org>
12652
12653         * converter.C: (convert) do not post a message, when converting
12654         fails, let the calling function decide what to do in this case
12655
12656 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12657
12658         * lyxfunc.C: tidy up a little
12659
12660 2002-06-16    <alstrup@diku.dk>
12661
12662         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12663         Got rid of FORMS_H_LOCATION include. Now we are
12664         GUII.
12665
12666 2002-06-15  LyX Development team  <lyx@rilke>
12667
12668         * buffer.[Ch] (sgmlOpenTag):
12669         (sgmlCloseTag): Added support for avoiding pernicious mixed
12670         content. Return number of lines written.
12671
12672         (makeLinuxDocFile):
12673         (makeDocBookFile): Fixed calls to sgml*Tag.
12674         Simple white space clean.
12675
12676         (simpleDocBookOnePar): Simple white space clean.
12677
12678         * tabular.[Ch] (docBook): Renamed to docbook and got another
12679         argument to related with the pernicious mixed content.
12680
12681         (docbookRow): Fixed calls for docbook inset method.
12682
12683 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12684
12685         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12686         so it's X11 independent.
12687
12688         * kb*.[Ch]: ditto.
12689
12690         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12691
12692 2002-06-15  Lyx Development team  <lyx@electronia>
12693
12694         * intl.h: Renamed getTrans to getTransManager.
12695
12696 2002-06-14  Angus Leeming  <leeming@lyx.org>
12697
12698         * Makefile.am: nuke forgotten stl_string_fwd.h.
12699
12700 2002-06-12  Angus Leeming  <leeming@lyx.org>
12701
12702         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12703
12704 2002-06-13  Angus Leeming  <leeming@lyx.org>
12705
12706         * LaTeX.C:
12707         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12708
12709 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12710
12711         * kbmap.C (getiso): add support for cyrillic and greek
12712
12713 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12714
12715         * BufferView.h:
12716         * BufferView.C:
12717         * BufferView_pimpl.h:
12718         * BufferView_pimpl.C: move bogus scrolling logic
12719           to xforms
12720
12721 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12722
12723         * lyxfunc.C:
12724         * BufferView_pimpl.C: view->resize() change
12725
12726 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * BufferView_pimpl.C: topCursorVisible
12729           prototype change
12730
12731 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * Makefile.am:
12734         * lyx_gui.h:
12735         * lyx_gui.C: move to frontends/
12736
12737         * main.C:
12738         * lyx_main.h:
12739         * lyx_main.C: changes from above
12740
12741 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12742
12743         * intl.C:
12744         * intl.h:
12745         * kbmap.C:
12746         * kbsequence.C:
12747         * lyx_cb.C:
12748         * lyx_main.C: minor tidy
12749
12750 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12751
12752         * BufferView_pimpl.h:
12753         * BufferView_pimpl.C:
12754         * BufferView.h:
12755         * BufferView.C: make painter() const,
12756           remove dead code
12757
12758         * BufferView2.C: use screen() accessor
12759
12760         * lyx_main.h:
12761         * lyx_main.C: some minor cleanup
12762
12763 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12764
12765         * BufferView_pimpl.h:
12766         * BufferView_pimpl.C: remove enter/leaveView,
12767           use workHeight()
12768
12769 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12770
12771         * BufferView.h:
12772         * BufferView.C:
12773         * BufferView2.C:
12774         * BufferView_pimpl.h:
12775         * BufferView_pimpl.C: only construct screen once,
12776           rename
12777
12778         * lyxrc.C: remove pointless comment
12779
12780 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * BufferView.h:
12783         * BufferView.C: remove active() and belowMouse()
12784
12785         * BufferView_pimpl.h:
12786         * BufferView_pimpl.C: use workarea() not workarea_,
12787           and make it use a scoped_ptr instead
12788
12789 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12790
12791         * lyx_gui.C: add debug message on BadWindow
12792
12793 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12794
12795         * sp_spell.C: fdopen is not part of the C++ standard.
12796
12797         * paragraph.C (InsetIterator): use >= instead of ==
12798
12799 2002-06-07  Angus Leeming  <leeming@lyx.org>
12800
12801         Fixes needed to compile with Compaq cxx 6.5.
12802         * BufferView_pimpl.C:
12803         * DepTable.C:
12804         * buffer.C:
12805         * converter.C:
12806         * encoding.C:
12807         * lyx_gui.C:
12808         * lyx_main.C:
12809         * lyxtextclasslist.C:
12810         * minibuffer.C:
12811         * sp_spell.C:
12812         * tabular_funcs.C:
12813         * vc-backend.C:
12814         all c-library variables have been moved into namespace std. Wrap
12815         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12816
12817         * lyxlength.C:
12818         * tabular-old.C:
12819         * tabular.C:
12820         Add a using std::abs declaration.
12821
12822         * kbmap.h (modifier_pair):
12823         * paragraph.h (InsetTable, InsetList):
12824         * lyxfont.h (FontBits):
12825         type definition made public.
12826
12827         * bufferlist.C (emergencyWriteAll): the compiler complains that
12828         there is more than one possible lyx::class_fun template to choose from.
12829         I re-named the void specialisation as lyx::void_class_fun.
12830
12831         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12832
12833         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12834         the compiler is is unable to find tostr in write_attribute.
12835
12836 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12837
12838         * buffer.C (sgmlError): hide #warning
12839
12840 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12841
12842         * xtl/*: get rid of xtl, which is not in use anyway
12843
12844         * LyXAction.C (init):
12845         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12846         were unimplemented xtl experimentation
12847
12848 2002-06-04  André Pönitz <poenitz@gmx.net>
12849
12850         * lyxfunc.C: disable array operation on simple formulae
12851
12852 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12853
12854         * converter.C: constify a bit
12855
12856 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12857
12858         * lyx_gui.C: check xforms version correctly
12859
12860 2002-04-30  Herbert Voss  <voss@lyx.org>
12861
12862         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12863         "keep" option
12864
12865 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12866
12867         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12868           attempt to register it with a VCS)
12869
12870 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12871
12872         * lyx_main.C (init): honor variables LYX_DIR_13x and
12873         LYX_USERDIR_13x
12874
12875 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12876
12877         * buffer.h:
12878         * buffer.C:
12879         * lyx_main.C: fix a crash on bad command line,
12880           and give a useful exit status on error
12881
12882         * lyxfunc.C (doImport): allow -i lyx to work
12883
12884 2002-03-30  André Pönitz <poenitz@gmx.net>
12885
12886         * lyxfunc.C: mathed font changes
12887
12888 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12889
12890         * LaTeX.C:
12891         * importer.h:
12892         * importer.C:
12893         * lyx_sty.h:
12894         * lyx_sty.C:
12895         * lyxlex.C:
12896         * lyxrow.h:
12897         * lyxtext.h:
12898         * paragraph.h:
12899         * paragraph.C:
12900         * texrow.h:
12901         * texrow.C:
12902         * text.C:
12903         * trans_mgr.h: srcdocs, and some minor cleanups
12904
12905 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12906
12907         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12908         call getFont all the time)
12909
12910 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12911
12912         * switch from SigC signals to boost::signals
12913
12914 2002-05-29  André Pönitz <poenitz@gmx.net>
12915
12916         * paragraph_pimpl.C (getChar): don't call size() too often...
12917
12918 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12919
12920         * paragraph_pimpl.C (insertChar): do not try to update tables when
12921         appending (pos == size())
12922
12923         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12924         in order to reduce drastically the number of comparisons needed to
12925         parse a large document
12926
12927 2002-05-29  André Pönitz <poenitz@gmx.net>
12928
12929         * text.C:
12930         * text2.C:
12931         * lyxtextclass.C:
12932         * sp_pspell.h:
12933         * textclasslist.[Ch]:
12934         * sp_ispell.h: whitespace change
12935
12936 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12937
12938         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12939         lyxaction directly now.
12940
12941 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12942
12943         * trans.C:
12944         * lyxfont.C:
12945         * lyxvc.C: remove unused headers
12946
12947 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12948
12949         * Makefile.am:
12950         * buffer.h:
12951         * undostack.h:
12952         * undostack.C:
12953         * undo_funcs.h:
12954         * undo_funcs.C: some cleanups. Use shared_ptr
12955           and a template for the undo stacks.
12956
12957 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12958
12959         * BufferView_pimpl.h:
12960         * BufferView_pimpl.C:
12961         * kbmap.h:
12962         * kbmap.C:
12963         * kbsequence.h:
12964         * kbsequence.C:
12965         * lyxfunc.h:
12966         * lyxfunc.C:
12967         * text2.C: use key_state/mouse_state
12968
12969 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12970
12971         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12972         and LSubstring
12973
12974         * chset.C: change include order
12975         (loadFile): use boost regex and get rid of LRegex and LSubstring
12976
12977         * Makefile.am (BOOST_LIBS): new variable
12978         (lyx_LDADD): use it
12979
12980         * LaTeX.C: change include order.
12981         (scanAuxFile): use boost regex and get rid of LRegex and
12982         LSubstring
12983         (deplog): ditto
12984
12985 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12986
12987         * ColorHandler.h:
12988         * ColorHandler.C:
12989         * FontInfo.h:
12990         * FontInfo.C: moved to frontends/xforms/
12991
12992         * FontLoader.h:
12993         * FontLoader.C: moved into frontends for GUIIzation
12994
12995         * Makefile.am:
12996         * lyx_gui.C:
12997         * lyxfont.C:
12998         * lyxfunc.C: changes from above
12999
13000 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
13001
13002         * LColor.C: remove spurious X include
13003
13004         * BufferView_pimpl.C:
13005         * Makefile.am:
13006         * font.h:
13007         * font.C:
13008         * text.C:
13009         * text2.C: move font metrics to frontends/
13010
13011 2002-05-24  Juergen Vigna  <jug@sad.it>
13012
13013         * undo_funcs.C (textHandleUndo): fix the cursor selection after
13014         setting the undo_cursor.
13015
13016         * ParagraphParameters.h: include local includes first.
13017
13018 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13019
13020         * BufferView_pimpl.C:
13021         * BufferView_pimpl.h:
13022         * Makefile.am:
13023         * WorkArea.h:
13024         * WorkArea.C:
13025         * screen.C: move WorkArea into frontends/
13026
13027         * lyxscreen.h:
13028         * screen.C:
13029         * text.C:
13030         * BufferView.C:
13031         * BufferView2.C: move LyXScreen into frontends/
13032
13033         * lyxlookup.h:
13034         * lyxlookup.C:
13035         * lyx_gui.C: move lyxlookup into frontends/xforms/
13036
13037 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13038
13039         * BufferView2.C:
13040         * BufferView_pimpl.C:
13041         * FontLoader.C:
13042         * LyXView.h:
13043         * LyXView.C:
13044         * Makefile.am:
13045         * WorkArea.C:
13046         * XFormsView.h:
13047         * XFormsView.C:
13048         * buffer.C:
13049         * bufferlist.C:
13050         * bufferview_funcs.C:
13051         * converter.C:
13052         * importer.C:
13053         * lyx_cb.C:
13054         * lyx_gui.C:
13055         * lyx_main.C:
13056         * lyx_find.C:
13057         * lyxfunc.C:
13058         * lyxvc.C:
13059         * minibuffer.C:
13060         * text.C:
13061         * text2.C:
13062         * trans.C:
13063         * vc-backend.C: move LyX/XFormsView into frontends/
13064
13065 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13066
13067         * Makefile.am:
13068         * PainterBase.C:
13069         * PainterBase.h:
13070         * Painter.C:
13071         * Painter.h:
13072         * WorkArea.C:
13073         * WorkArea.h:
13074         * screen.C:
13075         * tabular.C:
13076         * text.C:
13077         * text2.C: move Painter to frontends/
13078
13079 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13080
13081         * buffer.C: comment out some some code that depend upon lyx_format
13082         < 220
13083
13084         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13085         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13086
13087         * buffer.h (NO_COMPABILITY): turn off compability
13088
13089         * ColorHandler.C: include scoped_array.hpp
13090
13091         * font.C: Use more specific smart_ptr header.
13092         * Painter.C: ditto
13093         * gettext.C: ditto
13094         * ShareContainer.h: ditto
13095         * lyx_main.h: ditto
13096         * kbmap.h: ditto
13097         * FontInfo.h: ditto
13098         * BufferView_pimpl.h: ditto
13099         * ColorHandler.h: ditto
13100
13101         * kbmap.C (defkey): change call to shared_ptr::reset
13102
13103 2002-05-21  Juergen Vigna  <jug@sad.it>
13104
13105         * buffer.C (insertErtContents): fix to insert ert asis if it is
13106         non empty. Skip it completely if it contains only whitespaces.
13107
13108 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13109
13110         * BufferView_pimpl.C:
13111         * BufferView2.C: clear selection on paste (bug 393)
13112
13113 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * DepTable.C: include ctime
13116
13117 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13118
13119         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13120
13121 2002-05-14  Juergen Vigna  <jug@sad.it>
13122
13123         * text.C (breakParagraph): fixed function to honor the keepempty
13124         layout in the right maner and also to permit the right breaking
13125         algorithm on empty or non empyt keepempty paragraphs.
13126
13127         * paragraph.C (breakParagraph): we have to check also if the par
13128         is really empty (!size()) for isempty otherwise we do the wrong
13129         paragraph break.
13130
13131 2002-05-10  Juergen Vigna  <jug@sad.it>
13132
13133         * buffer.[Ch] : The following are only changes to the ert
13134         compatibility read reading old LaTeX layout and font stuff and
13135         convert it to ERTInsets.
13136
13137         * buffer.h: added isErtInset().
13138
13139         * buffer.C (struct ErtComp): add a fromlayout bool to check
13140         if we're inside a LaTeX layout.
13141         (isErtInset): new helper function.
13142         (insertErtContents): look for other ert insets before this one
13143         and insert the contents there, so that we don't have subsequent
13144         ERT insets with nothing between them. This way we create only one
13145         inset with multiple paragraphs. Also check if we don't insert only
13146         spaces ' ' as they are ignored anyway afterwards in the .tex file
13147         so if we have only spaces we will ignore this latex part in the
13148         new file.
13149         (parseSingleLyXformat2Token \\layout): better compatibility when
13150         reading layout-latex stuff.
13151         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13152         language tag.
13153         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13154         stuff after reading the inset only get the information back from
13155         the stack.
13156
13157 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13158
13159         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13160
13161         * LaTeXFeatures.C (getBabelOptions): New method.
13162
13163 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13164
13165         * BufferView_pimpl.C (Dispatch): work around missing argument for
13166         'layout'
13167
13168 2002-05-08  Juergen Vigna  <jug@sad.it>
13169
13170         * text.C (leftMargin): handle paragraph leftindent.
13171
13172         * paragraph.C (writeFile): write the new \\leftindent tag.
13173         (validate): handle leftindent code.
13174         (TeXEnvironment): handle paragraphleftindent code again.
13175
13176         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13177
13178         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13179         for paragrap_extra indent code and new token \\leftindent.
13180         (latexParagraphs): handle the leftindent as environment.
13181
13182         * ParameterStruct.h: added leftindent support.
13183
13184         * ParagraphParameters.C (leftIndent): added support functions for
13185         the paragraph left indent.
13186
13187         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13188         more appropriate.
13189
13190 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13191
13192         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13193         inside insetERT.
13194
13195         * text.C (computeBidiTables): No bidi in insetERT.
13196
13197         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13198         in RTL documents.
13199
13200 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * version.C.in: pre 5
13203
13204 2002-05-02  José Matos  <jamatos@fep.up.pt>
13205         * buffer.C (makeDocBookFile): white space changes, add newline to
13206         command styles.
13207         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13208
13209         * tabular.C (docBook): fix typo.
13210
13211 2002-05-03  Juergen Vigna  <jug@sad.it>
13212
13213         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13214         change in LyXText as we can not be sure it was not freed.
13215         (drawOneRow): remove unused code.
13216
13217         * text.C (drawInset): redo the calculation of the need_break_row as
13218         it could have a row which was already freed.
13219         (draw): look at the return value of drawInset and return false if
13220         it also returned false.
13221         (paintRowText): look at the return value of draw and return false if
13222         it also returned false.
13223
13224         * lyxtext.h: added bool return type to drawInset() and draw() so that
13225         if we have a change in the row so that the rowbreak has to be redone
13226         we abort drawing as it will be called again.
13227
13228 2002-05-02  Juergen Vigna  <jug@sad.it>
13229
13230         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13231         a change in the maintext also if we're inside an inset.
13232         (Dispatch): set the cursor again after a break line and after the
13233         screen has been updated as it could be we're in a different row.
13234
13235         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13236         to set the cursor behind the pargraph with > size().
13237         (setCursor): check also for the same paragraph when checking where
13238         to put the cursor if we have a NFR inset.
13239
13240         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13241         parts of layout read further up as it still was in the wrong
13242         position.
13243
13244 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13245
13246         * screen.C (drawFromTo): change sine fullRebreak always return
13247         true.
13248
13249         * buffer.C (parseSingleLyXformat2Token): reindent some
13250
13251         * BufferView_pimpl.C (update): change since fullRebreak always
13252         return true.
13253         (Dispatch): git rid of the last hardcoded "Standard"s.
13254
13255 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13256
13257         * text2.[Ch] (fullRebreak): make it return void now that we always
13258         returned true.
13259
13260 2002-04-30  Juergen Vigna  <jug@sad.it>
13261
13262         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13263         ert compatibility check for "latex" layout.
13264
13265 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13266
13267         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13268         minipages: use col% instead of p%, and also use the current font.
13269         (makeLaTeXFile): Fix use babel condition.
13270         (parseSingleLyXformat2Token): Correct font when reading old floats.
13271
13272 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13273
13274         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13275         inserting list of floats.
13276
13277 2002-04-25  Herbert Voss  <voss@lyx.org>
13278
13279         * MenuBackend.C (expand): don't add the graphics extensions to the
13280         export menu
13281
13282 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13283
13284         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13285         non-existing layout, do not complain if it was the default layout
13286         of the original class (bug #342)
13287
13288 2002-04-24  Juergen Vigna  <jug@sad.it>
13289
13290         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13291         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13292
13293 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13294
13295         * buffer.C (getBibkeyList): If using \bibliography, return the
13296         option field with the reference itself. Enables us to provide natbib
13297         support when using \bibliography.
13298
13299 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13300
13301         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13302
13303         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13304         natbib is provided by the LaTeX class.
13305
13306 2002-04-23  Juergen Vigna  <jug@sad.it>
13307
13308         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13309         Wakeup functions.
13310
13311         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13312
13313 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13314
13315         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13316
13317         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13318         ensuremath around textordmasculine, textordfeminine and
13319         textdegree.
13320
13321 2002-04-19  Juergen Vigna  <jug@sad.it>
13322
13323         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13324         reinitializing the buffer otherwise row-dimensions may be wrong.
13325         (update): reset also the selection cursors if they do exits otherwise
13326         their x/y positions may be wrong.
13327
13328         * text2.C (cursorDown): don't enter the inset if we came from a row
13329         above and are one row over the inset.
13330
13331         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13332         really leaving an inset.
13333
13334 2002-04-18  Juergen Vigna  <jug@sad.it>
13335
13336         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13337         of the selected paragraph does not have the selected layout also if
13338         the last one had!
13339
13340         * text2.C (setLayout): fixed bug which did not change last selected
13341         paragraph.
13342
13343         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13344         changed the read and substituted \\end_float with \\end_inset!
13345
13346         * BufferView_pimpl.C (cursorPrevious):
13347         (cursorNext): fixed to make it work with rows heigher than the work
13348         area without moving the cursor only the draw of the row.
13349         (workAreaMotionNotify): fix jumping over high rows.
13350
13351 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13352
13353         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13354         Ressler.
13355
13356 2002-04-16  Juergen Vigna  <jug@sad.it>
13357
13358         * text2.C (setCursor): set also the irow().
13359         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13360         (cursorUp):
13361         (cursorDown): support for locking an inset if the x_fix value goes
13362         inside it. That way I can transverse insets too with cursor up/down.
13363
13364         * lyxrow.h: added irow helper function same as other (i) functions.
13365
13366         * BufferView_pimpl.C (cursorPrevious):
13367         (cursorNext): fixed for insets!
13368
13369 2002-04-15  Juergen Vigna  <jug@sad.it>
13370
13371         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13372         position otherwise it is wrong in some cases.
13373
13374         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13375         inside the inset before the call.
13376
13377 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13378
13379         * buffer.[Ch] (getBibkeyList): make it const.
13380
13381 2002-04-12  Juergen Vigna  <jug@sad.it>
13382
13383         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13384
13385         * text2.C (getCursorX): new helper function
13386         (setCursor): compute also ix_
13387         (setCursorFromCoordinates): set also ix.
13388
13389         * lyxcursor.h: added ix_ and helper functions.
13390
13391         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13392
13393         * buffer.C (insertStringAsLines): dont break paragraph if the this
13394         paragraph is inside an inset which does not permit it!
13395
13396         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13397         also with no chars on this paragraph.
13398         (paintRowText): only paint stuff if it's inside the workarea!
13399
13400         * paragraph.C (breakParagraph): honor keepempty flag and break the
13401         paragraph always below not above.
13402
13403         * BufferView2.C (unlockInset): update the paragraph layout on inset
13404         unlock as we changed paragraph in such a case.
13405
13406         * lyxfind.C (LyXFind): clear the former selection if not found!
13407
13408         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13409         again called in insertChar().
13410
13411         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13412         an inset which uses the whole row!
13413         (rightMargin): ditto.
13414         (insertChar): force a rebreak if we inserted an inset!
13415
13416 2002-03-28  Herbert Voss  <voss@lyx.org>
13417
13418         * lyxlength.[Ch]: add inBP() to get the right PS-point
13419         units (BigPoint). With inPixels we have rounding errors
13420
13421 2002-04-11  Juergen Vigna  <jug@sad.it>
13422
13423         * text2.C (setCursorFromCoordinates): set iy to the right value.
13424         (setCursor): add check if row->previous exists!
13425
13426         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13427         an old float_type as this was the case in the old code!
13428
13429         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13430
13431         * BufferView2.C (showLockedInsetCursor): use iy
13432         (fitLockedInsetCursor): ditto
13433
13434         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13435         locked insets as there we have the right value now.
13436
13437         * lyxcursor.C: added iy_ variable and iy functions to set to the
13438         baseline of cursor-y of the locked inset.
13439
13440         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13441         (setCursor): fixed for insets which need a full row.
13442
13443         * text.C (rowLastPrintable): don't ignore the last space when before
13444         an inset which needs a full row.
13445         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13446         as last character of a row when before a inset which needs a full row.
13447
13448 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13449
13450         * version.C.in: update date
13451
13452         * text2.C (fullRebreak): try to always return true and see what
13453         happens...
13454
13455 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13456
13457         * MenuBackend.C (expand): use Floating::listName
13458
13459         * FloatList.C (FloatList): add listName argument to the built-in
13460         floats
13461
13462         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13463         text associated with the float.
13464
13465 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13466
13467         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13468
13469 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13470
13471         * ShareContainer.h: add a couple of missing typenames.
13472
13473 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13474
13475         * lyxrc.C (getDescription): use _() correctly rather than N_().
13476
13477 2002-03-28  Herbert Voss  <voss@lyx.org>
13478
13479         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13480         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13481
13482 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13483
13484         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13485         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13486
13487 2002-03-29  Juergen Vigna  <jug@sad.it>
13488
13489         * lyxfunc.C (dispatch): add a missing fitCursor call.
13490
13491         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13492         it was scrolled by a cursor move, so return the bool status.
13493
13494         * BufferView.C (fitCursor): return the bool flag also to the outside
13495         world as this is needed.
13496
13497         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13498
13499         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13500         call the edit() as it is not needed (and wrong) IMO.
13501         (workAreaButtonPress): set the screen_first variable before evt.
13502         unlock the inset as this may change screen_first and then we have
13503         a wrong y position for the click!
13504
13505 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13506
13507         * MenuBackend.C (expand): another translation that I missed
13508
13509 2002-03-28  Juergen Vigna  <jug@sad.it>
13510
13511         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13512
13513         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13514
13515 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13516
13517         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13518
13519         * MenuBackend.C (expand): fix export/view/update when there is no
13520         document open.
13521
13522 2002-03-27  Herbert Voss  <voss@lyx.org>
13523
13524         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13525         and text%
13526
13527 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13528
13529         * bufferview_funcs.C (currentState): only show paragraph number
13530         for is DEVEL_VERSION is set.
13531
13532         * lyxfunc.C (dispatch): put warning in INFO channel
13533
13534         * MenuBackend.C (expand): translate the name of floats
13535
13536         * FloatList.C (FloatList): mark the float names for translation
13537
13538         * converter.C (convert): use LibScriptSearch
13539
13540 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13541
13542         * MenuBackend.C (defaults): fix default menu (we might as well get
13543         rid of it...)
13544
13545 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13546
13547         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13548         directory.
13549
13550 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13551
13552         * lyxvc.C: reorder includes.
13553
13554 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13555
13556         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13557           properly
13558
13559 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13560
13561         * CutAndPaste.C: change layouts earlier on paste
13562           to avoid crashing when calling getFont()
13563
13564 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13565
13566         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13567         irritating #error.
13568
13569 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13570
13571         * WorkArea.C: remove 'Pending' debug message.
13572
13573         * most files: ws cleanup
13574
13575         * buffer.[Ch]: ws changes
13576
13577         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13578
13579 2002-03-21  Juergen Vigna  <jug@sad.it>
13580
13581         * tabular.C (SetMultiColumn): collapse also the contents of the
13582         cells and set the last border right. Added a Buffer const * param.
13583
13584 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13585
13586         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13587         linking or not.
13588
13589 2002-03-19  Juergen Vigna  <jug@sad.it>
13590
13591         * text2.C (clearSelection): reset also xsel_cache.
13592
13593         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13594         where it needs to be called (John tells us to do so too :)
13595         (selectionLost): reset sel_cache.
13596
13597         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13598
13599 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13600
13601         * text2.C (setCursorIntern): put debuging code in INSETS channel
13602
13603 2002-03-19  André Pönitz <poenitz@gmx.net>
13604
13605         * lyxfunc.C: tiny whitespace change
13606
13607 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13608
13609         * ToolbarDefaults.C (init):
13610         * LyXAction.C (init):
13611         * commandtags.h:
13612         * BufferView_pimpl.C (Dispatch):
13613         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13614
13615 2002-03-19  Allan Rae  <rae@lyx.org>
13616
13617         * exporter.C (Export): removeAutoInsets before doing anything else.
13618         While I've just introduced a dependency on BufferView this really is
13619         the best place to clean the buffer otherwise you need to cleanup in
13620         a dozen places before calling export or cleanup in a dozen functions
13621         that export calls.
13622
13623         * converter.C (runLaTeX):
13624         (scanLog): Better handling of removeAutoInsets and screen updates.
13625
13626         * lyxfunc.C (dispatch): small whitespace changes
13627
13628 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13629
13630         * WorkArea.C (C_WorkAreaEvent): return a value.
13631         (event_cb): return 1 if we handled the event, 0 otherwise.
13632
13633         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13634
13635 2002-03-18  Juergen Vigna  <jug@sad.it>
13636
13637         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13638         (GetAdditionalWidth): ditto.
13639         (RightLine): ditto.
13640         (LeftLine): ditto.
13641
13642         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13643         inset if we're there actually (probably not used right now but this
13644         is the direction to go for unifying code).
13645         (paste): disable code to clear the selection.
13646
13647         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13648         inside an InsetText and move the check further up as it is in the
13649         wrong place.
13650
13651         * text2.C (pasteSelection): set a selection over the pasted text.
13652
13653 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13654
13655         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13656         and libgraphics to build on Cygwin.
13657
13658 2002-03-15  Juergen Vigna  <jug@sad.it>
13659
13660         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13661         inserting an Inset into the paragraph. I know this is not the best
13662         fix but we already use current_view in CutAndPaste so we will remove
13663         all of it's using at the same time.
13664
13665         * buffer.C (sgmlError): deactivated function till it is rewritten in
13666         the right mode, now it can create problems.
13667
13668         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13669         before accessing it.
13670
13671 2002-03-14  Juergen Vigna  <jug@sad.it>
13672
13673         * undo_funcs.C (textHandleUndo): do the right thing when updating
13674         the inset after the undo/redo.
13675
13676         * text2.C (setCursor): just some testcode for #44 not ready yet.
13677
13678         * undo_funcs.C (textHandleUndo): set the next() and previous()
13679         pointers of the paragraph to 0 before deleting otherwise we have
13680         problems with the Paragraph::[destructor].
13681
13682         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13683         on a paragraph insertion.
13684
13685 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13686
13687         * buffer.C (asciiParagraph): use += operator for char append to
13688         string.
13689
13690         * paragraph.C (getFontSettings): compare >= not just >
13691         (highestFontInRange): ditto
13692         (setFont): ditto
13693
13694 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13695
13696         * paragraph.C: change several algorithm to be more appripriate for
13697         the problem domain. This is lookip in FontList and in the InsetList.
13698
13699 2002-03-13  André Pönitz <poenitz@gmx.net>
13700
13701         * commandtags.h:
13702         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13703
13704 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13705
13706         * commandtags.h:
13707         * LyXAction.C:
13708         * lyxfunc.C:
13709         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13710
13711 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13712
13713         * Painter.C (display): anon helper function, adjust code for this
13714         change.
13715         (pixmap): remove function.
13716
13717         * Painter.h: remove private display variable.
13718
13719         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13720
13721 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13722
13723         * WorkArea.[Ch]: remove figinset_canvas cruft.
13724
13725 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13726
13727         * lyxtextclass.C (operator): add one item cache optimization.
13728
13729         * bufferlist.h: doxy changes
13730
13731         * bufferlist.C: ws changes
13732
13733         * DepTable.[Ch] (ext_exist): place const in the right spot.
13734
13735         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13736         call resizeInsets.
13737         (workAreaExpose): call resizeInsets when the with BufferView changes.
13738         (Dispatch): adjust for protectedBlank removal
13739         (specialChar): call updateInset if the insert went ok.
13740
13741         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13742         specialChar instead.
13743
13744         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13745
13746         * BufferView.h: doxy change
13747
13748         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13749
13750         * lyxtextclass.C (operator[]): remove non-const version
13751         (defaultLayout): remove non-const version
13752
13753 2002-03-12  Juergen Vigna  <jug@sad.it>
13754
13755         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13756         did resize the LyXText too.
13757
13758         * buffer.C (readLyXformat2): set layout information on newly allocated
13759         paragraphs.
13760
13761         * tabular.C (OldFormatRead): set layout information on the paragraph.
13762
13763 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13764
13765         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13766
13767 2002-03-11  Juergen Vigna  <jug@sad.it>
13768
13769         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13770         plainly wrong.
13771         (resizeCurrentBuffer): force also the insets to resize themselfes.
13772         (moveCursorUpdate): fixed up for InsetText.
13773
13774 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13775
13776         * commandtags.h:
13777         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13778         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13779         value of Dialogs::tooltipsEnabled().
13780         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13781
13782 2002-03-08  Juergen Vigna  <jug@sad.it>
13783
13784         * BufferView_pimpl.C (updateInset): update inset inside inset also
13785         if it isn't inside theLockingInset().
13786
13787 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13788
13789         * buffer.C (asciiParagraph): redo some of the word and line length
13790         handling.
13791         (getLists): look for Caption instead of caption.
13792
13793 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13794
13795         * buffer.C (Buffer): initialize niceFile to true
13796         (makeLaTeXFile):
13797         (makeLinuxDocFile):
13798         (makeDocBookFile): make sure niceFile is true on exit
13799
13800 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13801
13802         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13803
13804 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13805
13806         * LyXSendto.C: remove.
13807         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13808         * lyx_gui.C: remove now-redundant comment.
13809         * ColorHandler.h: remove forward declaration of class WorkArea.
13810         * lyxfunc.C: remove #include "WorkArea.h".
13811
13812 2002-03-07  Juergen Vigna  <jug@sad.it>
13813
13814         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13815         got moved away with the DEPM and also set the inset_owner always
13816         right which before could have been omitted.
13817
13818 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13819
13820         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13821         wanted layout is not found.
13822
13823 2002-03-07  Juergen Vigna  <jug@sad.it>
13824
13825         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13826
13827 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13828
13829         * paragraph.C (breakParagraph): use default layout not layout of
13830         prev paragraph.
13831         (Paragraph): clear ParagraphParameters.
13832
13833 2002-03-06  Juergen Vigna  <jug@sad.it>
13834
13835         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13836         otherwise it would not be a valid lenght. Fixed a special case in
13837         the minipage compatibility read where we end the document with a
13838         minipage.
13839
13840         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13841         was set as it could be 0 for InsetTexts first entry.
13842
13843 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13844
13845         * paragraph.C (writeFile): if layout is empty write out
13846         defaultLayoutName().
13847
13848         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13849         file without named layout we set layout to defaultLayoutName().
13850
13851 2002-03-06  Juergen Vigna  <jug@sad.it>
13852
13853         * CutAndPaste.C (copySelection): set layout for new paragraph.
13854
13855         * text.C (prepareToPrint): leave ERT inset left aligned
13856         (leftMargin): don't indent paragraphs inside ERT insets
13857
13858 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13859
13860         * paragraph.C (breakParagraph): dont call clear do the work manually
13861
13862         * paragraph.[Ch] (clear): remove function
13863
13864 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13865
13866         * paragraph.C (Paragraph): dont call clear, the work has already
13867         been done.
13868
13869         * lyxtextclass.C (operator): assert if n is empty
13870
13871         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13872         work manually instead.
13873
13874 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13875
13876         * BufferView_pimpl.C: protect selectionLost against text == 0
13877
13878 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13879
13880         * text.C (breakParagraph): fix a setting layout to '0' problem.
13881
13882 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13883
13884         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13885         final location of file, for the included files, and graphics.
13886
13887 2002-03-05  Juergen Vigna  <jug@sad.it>
13888
13889         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13890
13891 2002-03-04  Juergen Vigna  <jug@sad.it>
13892
13893         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13894
13895         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13896         last column of multicolumn cells.
13897         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13898
13899 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13900
13901         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13902         file if it doesn't go to a temporary file.
13903
13904         * buffer.C (sgmlOpenTag):
13905         (sgmlCloseTag):  remove extra newline insertion.
13906
13907 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13908
13909         * text.C (getRowNearY): comment out debug msg
13910
13911 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13912
13913         * text2.C: first -> first_y
13914
13915         * text.C (getRowNearY): add some attemts at a possible
13916         optimization, not working.
13917
13918         * tabular.[Ch]: add BufferParams to several function so that newly
13919         created paragraph can be initialized to he default layotu for the
13920         buffers textclass.
13921
13922         * tabular-old.C (ReadOld): add buf->params to call of Init
13923
13924         * screen.C: rename text->first to text->first_y
13925
13926         * paragraph.C (breakParagraph): always set layout in the broken
13927         paragraph
13928
13929         * lyxtextclass.C (Read): remove lowercase
13930         (hasLayout): ditto
13931         (operator): ditto
13932         (delete_layout): ditto
13933
13934         * lyxtext.h: rename first -> first_y
13935
13936         * lyxlayout.C (Read): remove lowercase
13937         (name): ditto
13938         (setName): ditto
13939         (obsoleted_by): ditto
13940
13941         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13942
13943         * buffer.C (insertErtContents): add params are to InsetERT
13944         (parseSingleLyXformat2Token): add code to check if a paragraphs
13945         layout really exist.
13946         (parseSingleLyXformat2Token): add params to several inset
13947         constructors
13948         (asciiParagraph): remove lowercase, do the layout comparisons with
13949         no_case
13950
13951         * BufferView_pimpl.C (cursorNext): first -> first_y
13952         (resizeCurrentBuffer): first -> first_y
13953         (updateScrollbar): first -> first_y
13954         (scrollCB): first -> first_y
13955         (workAreaMotionNotify): first -> first_y
13956         (workAreaButtonPress): first -> first_y
13957         (checkInsetHit): first -> first_y
13958         (cursorPrevious): first -> first_y
13959         (cursorNext): first -> first_y
13960         (Dispatch): add buffer_->params to severl inset contructors
13961
13962 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13963
13964         * lyxlayout.C (Read): remove some debug info that I forgot.
13965
13966         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13967         clean up the code slightly.
13968         (makeLinuxDocFile): ditto
13969         (makeDocBookFile): ditto
13970
13971         * text2.C: layout as string
13972
13973         * text.C: layout as string
13974
13975         * paragraph_pimpl.C: layout as string
13976
13977         * paragraph.[Ch]: layout as string
13978
13979         * lyxtextclasslist.[Ch]: layout as string
13980
13981         * lyxtextclass.[Ch]: layout as string
13982
13983         * lyxtext.h: layout as string
13984
13985         * lyxlayout.[Ch]: layout as string
13986
13987         * lyx_cb.C: layout as string
13988
13989         * bufferview_funcs.C: layout as string
13990
13991         * bufferparams.C: layout as string
13992
13993         * buffer.C: layout as string
13994
13995         * LyXView.[Ch]: layout as string
13996
13997         * LaTeXFeatures.[Ch]: layout as string
13998
13999         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
14000
14001         * BufferView_pimpl.C: change current_layout to string, remove
14002         lyx::layout_type.
14003         (Dispatch):
14004         (smartQuote):
14005         (insertInset):
14006         (workAreaButtonRelease): layout as string
14007
14008         * BufferView2.C (unlockInset): adjust
14009
14010         * vspace.C (asLatexCommand): use an explict temp variable.
14011
14012 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
14013
14014         * Makefile.am: use FRONTEND_*
14015
14016 2002-03-01  Juergen Vigna  <jug@sad.it>
14017
14018         * tabular.C (SetWidthOfMulticolCell): changed to something better
14019         I hope but still work in progress.
14020         (recalculateMulticolumnsOfColumn): renamed function from
14021         recalculateMulticolCells as it is more appropriate now.
14022         (SetWidthOfCell): calculate multicols better.
14023
14024 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14025
14026         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
14027
14028         * lyxfunc.C (processKeySym): print sequence also if it is
14029         `deleted' (complete)
14030
14031         * kbsequence.C (print): print sequence even if it is deleted
14032         (complete would be a better word, actually).
14033
14034         * lyxfunc.C (dispatch): print complete options after a prefix key
14035
14036         * vspace.C (asLatexCommand): rewrite in a slightly different form.
14037
14038 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
14039
14040         * text2.C (setCharFont): eliminate setCharFont code duplication.
14041
14042 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14043
14044         * BufferView_pimpl.C (Dispatch): remove bogus handling of
14045         LFUN_TABULAR_FEATURE (bug #177)
14046
14047 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
14048
14049         * Makefile.am: remove figure.h
14050
14051 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
14052
14053         * Bufferview_pimpl.C:
14054         * CutAndPasteC:
14055         * LaTeX.C:
14056         * LyXSendto.C:
14057         * buffer.C:
14058         * bufferlist.C:
14059         * converter.C:
14060         * language.C:
14061         * lyxfunc.C:
14062         * lyxvc.C:
14063         * paragraph.C:
14064         * text.C:
14065         * text2.C: remove #include "lyx_gui_misc.h".
14066
14067         * LaTeX.C: added #include <cstdio>
14068
14069 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14070
14071         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14072         that the paragraph following this one can have.
14073
14074         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14075
14076         * vspace.C (asLatexCommand): fix bogus gcc warning
14077
14078         * Makefile.am (lyx_SOURCES): remove vms_defines.h
14079
14080 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
14081
14082         * text2.C (setLayout): get rid of redundant code
14083
14084 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
14085
14086         * text2.C (incDepth): make sure depth cannot be increased beyond
14087         reasonable values.
14088
14089 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
14090
14091         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14092         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14093
14094         * PainterBase.h (image):
14095         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14096         a LyXImage const *.
14097
14098 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14099
14100         * BufferView.C:
14101         * BufferView.h:
14102         * BufferView_pimpl.C:
14103         * BufferView_pimpl.h:
14104         * LaTeXFeatures.C:
14105         * LyXAction.C:
14106         * LyXView.C:
14107         * Makefile.am:
14108         * UpdateList.h:
14109         * UpdateList.C:
14110         * buffer.C:
14111         * figure.h:
14112         * figureForm.C:
14113         * figureForm.h:
14114         * figure_form.C:
14115         * figure_form.h:
14116         * lyx_cb.C:
14117         * lyx_gui.C:
14118         * lyx_gui_misc.C:
14119         * lyxfunc.C:
14120         * sp_base.h:
14121         * sp_ispell.h:
14122         * sp_pspell.h:
14123         * sp_spell.C: remove fig inset, and the crap house of
14124           cards that follows it
14125
14126 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14127
14128         * Makefile.am:
14129         * lyxserver.C:
14130         * os2_defines.h:
14131         * os2_errortable.h:
14132         * nt_defines.h: move .h into support/
14133
14134         * vms_defines.h: remove
14135
14136         * WorkArea.C: add space in debug output
14137
14138         * text2.C:
14139         * paragraph.C:
14140         * buffer.C: add WITH_WARNINGS
14141
14142         * vc-backend.h:
14143         * vc-backend.C:
14144         * bufferlist.C: s/retrive/retrieve/, add docs
14145
14146         * vspace.h:
14147         * vspace.C:
14148         * kbmap.h:
14149         * lyxlength.h:
14150         * lyxgluelength.h:
14151         * length_common.h:
14152         * chset.h:
14153         * chset.C: add docs
14154
14155         * lyxgui.C: add ID to X error handler
14156
14157         * lyxtestclass.c: fix typo
14158
14159 2002-02-26  Juergen Vigna  <jug@sad.it>
14160
14161         * tabular_funcs.C (write_attribute): changed so that some default
14162         attributes are not written at all.
14163         (getTokenValue): set default values before trying to read the
14164         value so we have the return value always set as default if we don't
14165         find the token we search for.
14166
14167         * tabular.C (Write): write bools as bools not as strings!
14168
14169 2002-02-22  Juergen Vigna  <jug@sad.it>
14170
14171         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14172         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14173
14174         * text.C (leftMargin): don't add an indent for paragraphs inside
14175         tabular cells (fix #208).
14176
14177 2002-02-21  José Matos  <jamatos@fep.up.pt>
14178
14179         * tabular.C (docBook): fixed support for long tables.
14180
14181 2002-02-20  Juergen Vigna  <jug@sad.it>
14182
14183         * text2.C (getFont): get the drawing font of the Inset if this
14184         paragraph is inside an inset (only important for InsetERT for now).
14185
14186         * buffer.C (insertErtContents): use new lanugage params in ERT
14187         constructor.
14188
14189         * CutAndPaste.C: commenting out seemingly uneeded code.
14190
14191 2002-02-19  Allan Rae  <rae@lyx.org>
14192
14193         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14194         Iterators might be simple to use but they also get invalidated.
14195         (removeAutoInsets): renamed saved cursor tracking variables and added
14196         some comments to clarify what everything does.
14197
14198 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14199
14200         * Chktex.C:
14201         * LaTeX.C:
14202         * LyXSendto.C:
14203         * converter.C:
14204         * lyx_cb.C:
14205         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14206         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14207
14208         * lyxfunc.C:
14209         * vc-backend.h: remove #include "support/syscall.h"
14210
14211         * LaTeX.C:
14212         * LyXSendto.C:
14213         * converter.C: rearrange #includes in Lars' approved fashion.
14214
14215         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14216         forward declare class Timeout in the header file.
14217
14218         * XFormsView.C: changes due to the above.
14219
14220         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14221         similar to LyXView.
14222
14223         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14224         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14225
14226 2002-02-18  José Matos  <jamatos@fep.up.pt>
14227
14228         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14229         insets contents.
14230
14231 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14232
14233         * a lot of small ws changes
14234         * add a lot of using std::XXX
14235         * use std construcs some places where approp.
14236         * use some exisint stuff from lyxfunctional where approp.
14237         * Make file changes to use partial linking (lets test this now...)
14238
14239 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14240
14241         * Chktex.C:
14242         * buffer.C:
14243         remove #include "support/syscontr.h" as it's redundant. Always has been.
14244
14245         * Chktex.C:
14246         * LaTeX.C:
14247         * LyXSendto.C:
14248         * converter.C:
14249         * lyx_cb.C:
14250         * vc-backend.C:
14251         change Systemcalls::System to Systemcalls::Wait and
14252         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14253         No change of functionality, just reflects the stripped down Systemcalls
14254         class.
14255
14256 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14257
14258         * debug.[Ch]: add a GRAPHICS type to the enum.
14259
14260 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14261
14262         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14263
14264         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14265         there is an inset.
14266
14267 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14268
14269         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14270         match the changes below.
14271
14272         * text2.C (toggleInset): if there is not editable inset at cursor
14273         position, try to see if cursor is _inside_ a collapsable inset
14274         and close it.
14275
14276 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14277
14278         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14279         document menu has a nice checkbox
14280
14281 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14282
14283         * lyxlength.C (asLatexString): change PW to output as percent of
14284         \textwidth.
14285
14286         * lengthcommon.C: change '%' to 't%'
14287
14288         * lyxfunc.C (dispatch): a few comments from Martin
14289
14290 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14291
14292         * WorkArea.h:
14293         * WorkArea.C:
14294         * BufferView_pimpl.h:
14295         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14296           the X selection.
14297
14298 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14299
14300         * vspace.C (inPixels): fix compiler warning
14301
14302 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14303
14304         * lyxfunc.C (getStatus): fix status message for disabled commands.
14305
14306 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14307
14308         * BufferView_pimpl.C: fix crash on close buffer
14309         during selection (#227)
14310
14311 2002-01-27  Herbert Voss  <voss@lyx.org>
14312
14313         * buffer.C: link old Figure to new graphic inset
14314
14315 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14316
14317         * FontLoader.C (getFontinfo): Change the latex font names in order
14318         to match the names of type1inst.
14319
14320 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14321
14322         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14323
14324         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14325         (extchanged): ditto
14326         (ext_exist): ditto
14327         (remove_files_with_extension): ditto
14328         (remove_file): ditto
14329         (write): ditto
14330
14331         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14332         document is smaller than the work area height. Do not initialize
14333         static variables to 0.
14334
14335 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14336
14337         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14338
14339         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14340         LFUN_LAYOUT_PARAGRAPHS.
14341
14342         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14343         tabular. It is possible to provide a possible cell, which will
14344         typically be the actcell from the corresponding insettabular
14345
14346         * lyxfunc.C (getStatus): small cleanup; disable
14347         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14348         true
14349
14350 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14351
14352         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14353
14354         * paragraph.C (startTeXParParams):
14355         (endTeXParParams): new methods. The LaTeX code to
14356         start/end paragraph formatting
14357         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14358         empty (fixes bug #200)
14359
14360         * vspace.C (inPixels): adapt to the change below
14361         (inPixels): [later] more cleanups (remove unused variables)
14362
14363         * lyxlength.C (inPixels): change to use a width and a height as
14364         parameter.
14365
14366 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14367
14368         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14369         Replaced with \paperwidth
14370
14371         * DepTable.C (insert): add std:: qualifier
14372
14373 2002-01-18  Allan Rae  <rae@lyx.org>
14374
14375         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14376         updated also?
14377
14378         * text.C (drawInset): Turned out I didn't know enough about how
14379         rebreaking worked.  This fixes most of the redraw problems.  I see
14380         an occasional cursor trail when a line is broken now and the cursor
14381         placement can seem out by a few pixels also after a rebreak.
14382
14383 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14384
14385         * buffer.C (parseSingleLyXformat2Token): update because minipage
14386         width is now a LyXLength
14387
14388         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14389
14390         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14391         math insets
14392
14393 2002-01-17  Juergen Vigna  <jug@sad.it>
14394
14395         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14396
14397         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14398         is set correctly and the inset is updated correctly.
14399
14400 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14401
14402         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14403         the beginning of the loop.
14404
14405 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14406
14407         * lyxrc.C: improve help for use_scalable_fonts
14408
14409 2002-01-17  Allan Rae  <rae@lyx.org>
14410
14411         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14412
14413 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14414
14415         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14416         make sure to set their inset_owner to the right value (bug #171)
14417
14418 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14419
14420         * DepTable.h
14421         * DepTable.C: Implement mtime checking to reduce time spent doing
14422         CRCs.
14423
14424 2002-01-16  Juergen Vigna  <jug@sad.it>
14425
14426         * tabular.C (GetAdditionalHeight): one of error fixed.
14427
14428         * lyxrc.C (output): small fix in writing use_pspell.
14429
14430 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14431
14432         * sp_base.h: #include LString.h
14433
14434 2002-01-16  Allan Rae  <rae@lyx.org>
14435
14436         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14437         Can someone check this please?
14438
14439         * text.C (drawInset): It was possible that p.row would be removed by
14440         breakAgainOneRow upsetting a few other settings.  There may be another
14441         small tweak possible by setting need_break_row = 0 when p.row has been
14442         removed but I don't know enough about the logic here.
14443
14444 2002-01-15  Allan Rae  <rae@lyx.org>
14445
14446         * text.C (insertChar): removed conditional truism.
14447
14448         * BufferView2.C (removeAutoInsets): More tweaks.
14449         cur_par_prev could be a stray pointer.  Check for trailing empty line
14450         in case last line was cur_par and only had an error inset on it.
14451
14452 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14453
14454         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14455         absolute
14456
14457         * vc-backend.C (most methods):
14458         * exporter.C (Export):
14459         * converter.C (convert):
14460         (runLaTeX):
14461         * LyXSendto.C (SendtoApplyCB):
14462         * lyxfunc.C (dispatch):
14463         (menuNew):
14464         (open):
14465         (doImport):
14466         * lyx_cb.C (AutoSave):
14467         (InsertAsciiFile):
14468         * BufferView_pimpl.C (MenuInsertLyXFile):
14469         * buffer.C (runChktex): use Buffer::filePath().
14470
14471         * buffer.h: rename filename to filename_; rename filepath to
14472         filepath_ and make it private
14473         (filePath): new method
14474
14475         * buffer.C (writeFile): use fileName()
14476         (getLatexName):
14477
14478         * lyx_main.C (init): fix starting  of LyX when the binary is a
14479         link from so,ewhere else.
14480
14481         * minibuffer.C: include <cctype> for isprint
14482
14483 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14484
14485         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14486         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14487         name clash with InsetCollapsable's width function.
14488
14489 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14490
14491         * lastfiles.C: include <iterator>
14492
14493 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14494
14495         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14496         std::count.
14497
14498         * buffer.C (makeLaTeXFile): ditto.
14499         Also make loop operation more transparent.
14500
14501 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14502
14503         * ToolbarDefaults.C: remove trailing comma closing namespace.
14504
14505         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14506
14507         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14508         as in WorkArea.
14509
14510         * trans.C (Load): comment out unused variable, allowed.
14511
14512 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14513
14514         * minibuffer.[Ch] (append_char): new method to recieve input from the
14515         drop-down completion browser. If a key was pressed, then recieve this
14516         char and append it to the existing string.
14517         (peek_event): modify the positioning data passed to the completion
14518         browser so that it can be placed above the minibuffer rather than below.
14519 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14520
14521         * LyXAction.C (init): alloe error-next for readonly documents.
14522
14523         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14524         count.
14525
14526 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14527
14528         * bufferlist.C (readFile): create the buffer _after_ checking that
14529         the file exists.
14530
14531         * lyxfunc.C (verboseDispatch): fix handling of arguments
14532
14533         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14534
14535         * lyxrc.C: use string::erase() instead of initializing to "".
14536
14537
14538 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14539
14540         * BufferView_pimpl.h:
14541         * BufferView_pimpl.C:
14542         * WorkArea.h:
14543         * WorkArea.C:
14544         * text2.C: tell X when we have made a selection for copying
14545
14546 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14547
14548         * BufferView_pimpl.C (MenuInsertLyXFile):
14549         * lyxfunc.C (menuNew):
14550         (open):
14551         (doImport): add shortcuts to directory buttons
14552
14553         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14554         open a float)
14555
14556         * lyxfunc.C (setStatusMessage):
14557         (getStatusMessage): new methods
14558         (getStatus):use setStatusMessage instead of setErrorMessage
14559         (dispatch): when function is disabled, set error message here
14560         [instead of in getStatus previously]
14561
14562         * BufferView_pimpl.C (workAreaButtonRelease): update
14563         toolbar/menubar here too.
14564
14565 2002-01-13  Allan Rae  <rae@lyx.org>
14566
14567         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14568         Now seems indestructible.  Remaining task is to audit all other
14569         code affected by deleteEmptyParagraphMechanism.  One small quirk
14570         left is that an empty document with an error in the preamble can
14571         be made to report an error but no error box appears.  I don't know
14572         where it goes.
14573         (removeAutoInsets): Improved comments.
14574
14575 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14576
14577         * Thesaurus.h:
14578         * Thesaurus.C: update for Aiksaurus 0.14
14579
14580 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14581
14582         * text2.C (firstParagraph): removed member function, all uses
14583         replaces with ownerParagraph
14584         (redoParagraphs): here
14585         (updateInset): here
14586         (toggleAppendix): here
14587         * BufferView2.C (insertErrors): here
14588         (setCursorFromRow): here
14589
14590 2002-01-13  Allan Rae  <rae@lyx.org>
14591
14592         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14593         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14594         There is still a way to segfault this although you may have to do this
14595         multiple times: Have an InsetERT with an unknown command in it.
14596         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14597         <down-arrow>, <Enter> again, View->DVI, BANG!
14598
14599         * text2.C (setCursor):
14600         (deleteEmptyParagraphMechanism):
14601         * lyxtext.h (setCursor):
14602         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14603         Making use of the return value may help fix other bugs.
14604
14605 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14606
14607         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14608
14609         * LyXView.C (updateMenubar): call MenuBar::update here
14610         (updateToolbar): but not here
14611         (showState): do not update toolbar/menubar
14612
14613         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14614         should need to care about that.
14615
14616         * lyxfunc.C (verboseDispatch): simplify a bit
14617         (getStatus): have a version which takes a pseudoaction, and
14618         another which requires a (kb_action,string).
14619
14620         * LyXAction.C (retrieveActionArg): make it work also when action
14621         is not a pseudo-action.
14622         (getActionName): simplify a bit
14623         (helpText):
14624
14625 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14626
14627         * lyxfunc.C (verboseDispatch): new families of methods with
14628         several ways to specify a command and a bool to indicate whether
14629         the command name and shortcut should be displayed in minibuffer
14630         (eventually, we could extend that to a finer bitmask like
14631         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14632         (dispatch): the pristine dispatch command which just, well,
14633         dispatchs! Note it still sets its result to minibuffer; I'm not
14634         sure we want that.
14635
14636         * lyxfunc.h: remove setHintMessage
14637
14638         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14639
14640 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14641
14642         * BufferView_pimpl.C (specialChar): delete new inset if we have
14643         not been able to insert it.
14644
14645         * kbmap.C: revert to using int instead of kb_action, since all we
14646         are dealing with is pseudo-actions.
14647
14648         * LyXAction.C (searchActionArg): change to return int instead of
14649         kb_action, since the result is a pseudoaction.
14650
14651 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14652
14653         * buffer.C (insertErtContents): Fix (partially) the font bug.
14654
14655 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14656
14657         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14658         as the other one is broken on my machine!
14659
14660 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14661
14662         * commandtags.h:
14663         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14664
14665 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14666
14667         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14668         reflect their actual use. Provide compatibility code for older lyxrc
14669         files.
14670
14671         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14672         FL_NORMAL_STYLE.
14673         change names of popup font variables in line with the changes to lyxrc.C
14674
14675 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14676
14677         * buffer.C (asciiParagraph): avoid outputing a word twice after
14678         an inset.
14679
14680         * lyxrc.C (getDescription): document that document_path and
14681         template_path can be empty.
14682
14683 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14684
14685         * LaTeXFeatures.C (getMacros):
14686         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14687
14688         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14689
14690         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14691         getPackages.
14692         (getPackages): rename feature "floats" to "float". Use an array to
14693         iterate over 'simple' features (i.e. just a \usepackage). Add
14694         handling of "amsmath" (renamed from "amsstyle").
14695
14696 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14697
14698         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14699         features list.
14700
14701 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14702
14703         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14704         FuncStaus::FuncStatus & FuncStaus::some_method().
14705
14706 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14707
14708         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14709         of the func_satus stuff. Edited and massaged in various ways by
14710         JMarc.
14711
14712         * lyxfunc.C (getStatus): use FuncStatus
14713
14714 2002-01-08  Juergen Vigna  <jug@sad.it>
14715
14716         * text.C (nextBreakPoint): use function Inset::isChar().
14717
14718         * paragraph.C (TeXOnePar): use function
14719         Inset::forceDefaultParagraphs.
14720
14721         * buffer.C (latexParagraphs): use function
14722         Inset::forceDefaultParagraphs.
14723
14724 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14725
14726         * lyx_gui.C (init): set the style of the menu popups to
14727         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14728
14729 2002-01-07  Juergen Vigna  <jug@sad.it>
14730
14731         * text.C (setHeightOfRow): small fix
14732         (prepareToPrint): don't look at alignment if we don't have the place
14733         for doing it.
14734
14735 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14736
14737         * box.C: New file. Move the Box methods and functions out of box.h,
14738         following Lars' suggestion.
14739
14740 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14741
14742         * box.h: #include "support/LOstream.h", needed for inlined function.
14743
14744         * lyxtextclass.C:
14745         * lyxtextclasslist.C: added some using std declarations.
14746
14747 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14748
14749         * box.h: make signed dimensions to allow insets wider than
14750           the screen (bug #162)
14751
14752         * BufferView_pimpl.C: add some insetHit debug
14753
14754 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14755
14756         * vc-backend.C: add FIXME
14757
14758 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14759
14760         * lyxfunc.C (getStatus): enable code for showing math font status
14761         in toolbar/menu.
14762
14763 2002-01-07  Juergen Vigna  <jug@sad.it>
14764
14765         * text.C (nextBreakPoint): removed debug output not needed anymore.
14766
14767 2002-01-06  Juergen Vigna  <jug@sad.it>
14768
14769         * text.C (nextBreakPoint): fixed up this function we had this bug
14770         since ever but now hopefully we break row better.
14771         (insertChar): we have to check if an inset is the next char as it
14772         could now happen that a large inset is causing a break.
14773
14774 2002-01-05  Juergen Vigna  <jug@sad.it>
14775
14776         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14777         if it doesn't like to be drawed.
14778
14779 2002-01-04  Juergen Vigna  <jug@sad.it>
14780
14781         * BufferView2.C (lockInset): forgot to set a cursor.
14782
14783         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14784
14785 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14786
14787         * FormMathsPanel.C:
14788         * FormMathsPanel.h
14789         * MathsSymbols.C:
14790         * form_maths_panel.C:
14791         * form_maths_panel.h:
14792         * form_maths_panel.fd: implemented sub- and super- buttons in math
14793         panel.
14794
14795         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14796         (or ^ space) to be used as in TeX (req'd by Andr�.
14797
14798         * lyxfunc.C: Allow ^ and _ again to be used both as
14799         super/subscript (mathed) and as themselves (in text).
14800
14801 2002-01-03  Allan Rae  <rae@lyx.org>
14802
14803         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14804         "LyX" or the filename of the current buffer if it has one.  This is a
14805         modified form of John Levon's patch.
14806
14807         * XFormsView.C (setWindowTitle): also set icon title.
14808
14809         * LyXView.h (setWindowTitle): signature changed.
14810         * XFormsView.h (setWindowTitle): ditto.
14811
14812 2002-01-02  Juergen Vigna  <jug@sad.it>
14813
14814         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14815
14816 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14817
14818         * screen.C (topCursorVisible): introduce a temp var for
14819         text->cursor.row(), handle the case where this row is null. (kindo
14820         hachish)
14821
14822         * text2.C (setCursor): add a couple of asserts.
14823
14824         * paragraph.h (inset_iterator): add -> operator
14825
14826         * paragraph.[Ch] (autoDeleteInsets): remove member function
14827
14828         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14829         cursor pos correctly and handle inset deletion by itself.
14830         (insertErrors): move iterator declaration out of for expression
14831
14832         * lyxtextclass.C: add <algorithm>
14833
14834         * Makefile.am: added the new files to sources, removed layout.C
14835
14836         * layout.C: removed file
14837
14838         * layout.h: remove LYX_DUMMY_LAYOUT
14839
14840         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14841         layout.
14842
14843         * lyxlayout.[Ch]:
14844         * lyxtextclass.[Ch]:
14845         * lyxtextclasslist.[Ch]: new files
14846
14847         * include order changes to a lot of files, also changes because of
14848         the six new files.
14849
14850 2001-12-27  Juergen Vigna  <jug@sad.it>
14851
14852         * buffer.C (asciiParagraph): more fixes.
14853
14854         * tabular.C (ascii): make ascii export support export of only the
14855         data separated by a column-delimiter.
14856         (ascii): better support for ascii export.
14857
14858         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14859
14860 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14861
14862         * tabular_funcs.C: use a "using std::getline" instead of the
14863         previous fix from Angus (necessary for cxx + lyxstring)
14864
14865 2001-12-24  Juergen Vigna  <jug@sad.it>
14866
14867         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14868
14869         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14870         problems. First check a minipage also if we have some ert-contents
14871         (not only on par->size(), second set the right depth of the paragraph
14872         on the relink to the root-paragraph-list!
14873
14874         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14875         which then did not anymore update the main paragraphs on undo/redo!
14876
14877 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14878
14879         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14880         code. Support all font-changing funcs (even those which are not in
14881         menu currently). Support for reporting font settings in
14882         mathed (disabled until Andre provides a function on mathed's side).
14883
14884         * func_status.h (toggle): small helper function to set toggle
14885         state on a flag.
14886
14887 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14888
14889         * tabular_funcs.C: getline -> std::getline
14890
14891 2001-12-21  Juergen Vigna  <jug@sad.it>
14892
14893         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14894         accessed and could be 0 (I couldn't generate this but it seems
14895         Michael could!).
14896
14897 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14898
14899         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14900         * tabular_funcs.h: here and include iosfwd
14901
14902 2001-12-20  Juergen Vigna  <jug@sad.it>
14903
14904         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14905         inside inset but undo_par was.
14906
14907 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14908
14909         * Thesaurus.C: always include <config.h> in sources.
14910
14911         * Painter.h:
14912         * lyxlookup.h:
14913         * box.h: do not include <config.h> in header files
14914
14915         * text.C (paintLastRow): remove unused variable
14916
14917         * text.C (transformChar):
14918         (insertChar):
14919         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14920
14921         * Painter.C (text):
14922         * font.C (width): rewrite to use uppercase() instead of
14923         islower/toupper.
14924
14925         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14926
14927 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14928
14929         * lyxfind.C: clean up of find failure position change
14930
14931 2001-12-20  Juergen Vigna  <jug@sad.it>
14932
14933         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14934
14935         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14936         (TeXRow): added to LaTeX a single tabular row.
14937         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14938         (Latex): simplified and finally good LT-h/f support.
14939         (various_functions): just small adaptions for LT-h/f support.
14940
14941         * tabular_funcs.[hC]: added and moved here all not classfunctions
14942         of LyXTabular.
14943
14944 2001-12-19  Juergen Vigna  <jug@sad.it>
14945
14946         * tabular.[Ch]: better support for longtabular options (not finished
14947         yet!)
14948
14949 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14950
14951         * text.C (paintLastRow): use the label font instead of the font of
14952         the last character to compute the size of *_BOX. This makes more
14953         sense and avoids a crash with empty paragraphs.
14954         Use Painter::rectangle to draw EMPTY_BOX.
14955
14956 2001-12-19  Juergen Vigna  <jug@sad.it>
14957
14958         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14959         the paragraphs if the replaced paragraph is not the first one!
14960         Tried to delete not used paragraphs but does not work yet so for
14961         now it's inside #ifdef's and by default off!
14962
14963 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14964
14965         * MenuBackend.C: include "lyx_main.h" instead of declaring
14966         lastfiles (actually was declared as LastFiles* instead of a
14967         scoped_ptr).
14968
14969 2001-12-17  Juergen Vigna  <jug@sad.it>
14970
14971         * tabular.C (AppendColumn): applied John's fix
14972
14973 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14974
14975         * BufferView.h:
14976         * BufferView.C:
14977         * BufferView_pimpl.h:
14978         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14979
14980         * Makefile.am:
14981         * box.h: new start of class for above
14982
14983         * lyxfunc.C: ignore space-only minibuffer dispatches.
14984           Show the command name when it doesn't exist
14985
14986         * minibuffer.C: don't add empty lines to the history
14987
14988         * minibuffer.C: add a space on dropdown completion
14989
14990 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14991
14992         * text.C: fix line above/below drawing in insets
14993
14994 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14995
14996         * lyxlength.C (LyXLength): Initialize private variables.
14997
14998 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14999
15000         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
15001         when inserting error insets.
15002
15003 2001-12-13  Juergen Vigna  <jug@sad.it>
15004
15005         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
15006         actually sometimes the before-paragraph.
15007         (setUndo): don't clear the redostack if we're not actually undoing!
15008
15009 2001-12-06  Juergen Vigna  <jug@sad.it>
15010
15011         * undo_funcs.C (textHandleUndo): well after John's hint I got here
15012         and fixed redoing of main paragraph, so we can use it now ;)
15013
15014         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
15015
15016 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15017
15018         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
15019         Juergen's request
15020
15021 2001-12-13  André Pönitz <poenitz@gmx.net>
15022
15023         * undostack.[Ch]:
15024         * undo_func.C: minor cleanup
15025
15026 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15027
15028         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
15029         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
15030         font in urw-fonts package which is marked as -urw-fontspecific and
15031         does not work (incidentally, changing the encoding in the
15032         fonts.dir of this package to -adobe-fontspecific fixes the
15033         problem).
15034
15035         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
15036         is a crash when undoing first paragraph (Juergen, please take a
15037         look). THis does not mean the undo fix is wrong, just that it
15038         uncovers problems.
15039
15040         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15041         the (Paragraph*) version when needed instead of duplicating the
15042         code.
15043
15044         * text.C (workWidth): use Inset::parOwner to find out where the
15045         inset has been inserted. This is a huge performance gain for large
15046         documents with lots of insets. If Inset::parOwner is not set, fall
15047         back on the brute force method
15048
15049         * paragraph_pimpl.C (insertInset):
15050         * paragraph.C (Paragraph):
15051         (cutIntoMinibuffer): set parOwner of insets when
15052         inserting/removing them
15053
15054         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15055
15056 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
15057
15058         * commandtags.h:
15059         * LyXAction.C:
15060         * lyx_main.C:
15061         * lyxfunc.C:
15062         * mathed/formulabase.C:
15063         * mathed/math_cursor.[Ch]:
15064         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15065
15066
15067 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15068
15069         * lyxlength.[Ch] (operator!=): new function
15070
15071 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15072
15073         * text.C (workWidth): use Inset::parOwner to find out where the
15074         inset has been inserted. This is a huge performance gain for large
15075         documents with lots of insets. If Inset::parOwner is not set, fall
15076         back on the brute force method
15077
15078         * paragraph_pimpl.C (insertInset):
15079         * paragraph.C (Paragraph):
15080         (cutIntoMinibuffer): set parOwner of insets when
15081         inserting/removing them
15082
15083         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15084
15085 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15086
15087         * tabular-old.C (getTokenValue):
15088         * tabular.C (getTokenValue):
15089         (write_attribute): new versions for LyXLength
15090         (everywhere): adjust the use of widths
15091
15092         * tabular.h: change the type of widths from string to LyXLength
15093
15094 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15095
15096         * paragraph.C: fixed missing line number count when exporting
15097         Environments to LaTeX file
15098
15099         * buffer.C: added informational message for checking line numbers.
15100
15101 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15102
15103         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15104         paragraph, do the 'double space' part, but not the 'empty
15105         paragraph' one.
15106
15107         * text.C (workWidth): small optimization
15108         (getLengthMarkerHeight): use minimal size for negative lengths.
15109
15110 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15111
15112         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15113
15114         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15115
15116 2001-12-11  André Pönitz <poenitz@gmx.net>
15117
15118         * FontLoader.C:
15119         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15120
15121 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15122
15123         * text2.C: keep selection on a setFont()
15124
15125 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15126
15127         * lyx_cb.C: another bv->text misuse, from insert label
15128
15129 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15130
15131         * kbsequence.h:
15132         * kbsequence.C: re-instate nmodifier mask
15133
15134 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15135
15136         * lyx_main.h: make lyxGUI private.
15137
15138 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15139
15140         * lyxfind.C: place the cursor correctly on failed search
15141
15142 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15143
15144         * text.C (getLengthMarkerHeight): for small heights, the arrows
15145         are not always on top/bottom of the text
15146         (drawLengthMarker): smaller arrows; take the left margin in
15147         account; draw also vfills.
15148         (paintFirstRow):
15149         (paintLastRow): remove special code for vfill and standard spaces,
15150         since everything is handled in drawLengthMarker now.
15151
15152 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15153
15154         * buffer.C (insertErtContents): try to handle font and language
15155         interaction a bit better.g
15156
15157         * ColorHandler.C (updateColor): change the hash to cover the whole
15158         LColor enum, ws cleanup
15159         (getGCLinepars): ditto
15160         (getGCLinepars): only lookup in the linecache once.
15161
15162 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15163
15164         * iterators.C (operator++): Make the iterator more robust
15165
15166         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15167         (John's patch)
15168         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15169
15170 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15171
15172         * lyxtext.h:
15173         * text.C: better added space drawing
15174
15175 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15176
15177         * LyXView.C:
15178         * BufferView2.C: fix layout combo update on inset unlock
15179
15180 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15181
15182         * Makefile.am: don't compile unused files
15183
15184 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15185
15186         * lyxfunc.C:
15187         * commandtags.h:
15188         * LyXAction.C: remove old LFUN_LAYOUTNO
15189
15190 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15191
15192         * paragraph_pimpl.h:
15193         * paragraph_pimpl.C: isTextAt() doesn't need font param
15194
15195 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15196
15197         * lyxlex.h:
15198         * lyxlex.C: little cleanup
15199
15200 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15201
15202         * BufferView_pimpl.C: fix insertAscii for insets
15203
15204 2001-12-05  Juergen Vigna  <jug@sad.it>
15205
15206         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15207         set the right font on the "multi" paragraph paste!
15208
15209 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15210
15211         * trans_decl.h:
15212         * trans_mgr.[Ch]:
15213         * trans.[Ch]:
15214         * lyxgluelength.C:
15215         * lyxlength.C: remove out-commented code.
15216
15217         * BufferView_pimpl:
15218         * CutAndPaste.C:
15219         * DepTable.C:
15220         * buffer.C:
15221         * chset.C:
15222         * lastfiles.C:
15223         * lyxlex.C:
15224         * lyxlex_pimpl.C:
15225         * lyxserver.C:
15226         * screen.C:
15227         * tabular-old.C:
15228         * tabular.C:
15229         * text.C:
15230         * trans_mgr.C:
15231         * vc-backend.C: change "while(" to "while ("
15232
15233         * lyxlength.[Ch]: add zero function to check if length is zero or
15234         not
15235         * lyxgluelength.C: use it
15236
15237 2001-12-05  Allan Rae  <rae@lyx.org>
15238
15239         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15240         Works for 2.95.3, from what I understand of Garst's reports this should
15241         work for other g++ versions.  We're screwed if the abs(int) definition
15242         changed between bugfix releases of gcc.
15243
15244 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15245
15246         * text.C: fix chapter label offset !
15247
15248 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15249
15250         * lyxtext.h:
15251         * text.C: fix hfill at end of line, clean up
15252
15253 2001-12-04  Juergen Vigna  <jug@sad.it>
15254
15255         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15256         that we force an update of the inset and it's owners if neccessary.
15257
15258 2001-12-03  Juergen Vigna  <jug@sad.it>
15259
15260         * text.C (rowLast): simplified code
15261
15262 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15263
15264         * lyxfunc.C: fix show options on timeout
15265
15266 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15267
15268         * screen.C (topCursorVisible): scroll half a page when the cursor
15269         reached top of bottom of screen
15270
15271 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15272
15273         * minibuffer.C: deactivate on loss of focus
15274
15275 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15276
15277         * vspace.[Ch] (operator!=): add operator.
15278
15279 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15280
15281         * BufferView_pimpl.C: refuse to open an inset when
15282         there's a selection.
15283
15284 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15285
15286         * BufferView_pimpl.C: allow to click on RHS of full row insets
15287
15288 2001-11-30  Juergen Vigna  <jug@sad.it>
15289
15290         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15291         insets for undo reasons.
15292
15293 2001-11-28  André Pönitz <poenitz@gmx.net>
15294
15295         * vspace.[Ch]: cosmetical changes
15296
15297 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15298
15299         * LyXAction.h:
15300         * LyXAction.C:
15301         * lyxfunc.h:
15302         * lyxfunc.C:
15303         * kbmap.h:
15304         * kbmap.C:
15305         * lyxrc.C:
15306         * kbsequence.h:
15307         * kbsequence.C: part re-write of old kb code
15308
15309         * Painter.C:
15310         * WorkArea.C: remove Lgb_bug_find_hack
15311
15312 2001-11-30  José Matos <jamatos@fep.up.pt>
15313
15314         * buffer.C (makeDocBookFile): add a comment to point a hack.
15315         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15316         Fixed a double write of labels.
15317
15318 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15319
15320         * LaTeX.C:
15321         * LaTeX.h Fixed bug in LaTeX class where it would not
15322         re-run latex if no depfiles were changed, but the .dvi was removed.
15323
15324 2001-11-28  André Pönitz <poenitz@gmx.net>
15325
15326         * all the files from the change on 2001/11/26:
15327         use lyx::layout_type instead of LyXTextClass::size_type
15328         use lyx::textclass_type instead of LyXTextClassList::size_type
15329
15330 2001-11-29  Juergen Vigna  <jug@sad.it>
15331
15332         * text.C: added support for paragraph::isFreeSpacing()
15333
15334         * buffer.C: same as above
15335
15336         * paragraph.h: inserted isFreeSpacing() function to enable
15337         FreeSpacing inside InsetERT.
15338
15339         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15340         of the paragraph's in the cut/copy buffer to 0!
15341
15342         * text2.C (removeRow): remove the assert as it can!
15343
15344         * lyxtext.h: added helper function firstRow returning firstrow and
15345         made firstrow private again.
15346
15347         * BufferView2.C (lockInset): don't relock if we're already locked!
15348
15349         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15350         the only paragraph.
15351         (removeRow): added Assert::(firstrow)
15352
15353         * debug.C: forgot to add INSETTEXT here.
15354
15355 2001-11-28  Juergen Vigna  <jug@sad.it>
15356
15357         * sp_spell.C (initialize): changed error text to more general
15358         spellchecker command use (not only ispell!)
15359
15360         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15361
15362         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15363
15364 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15365
15366         * vspace.C: initialise lyxgluelength on failure
15367
15368 2001-11-28  Allan Rae  <rae@lyx.org>
15369
15370         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15371         declaration & definition that looks like a function declaration.
15372
15373 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15374
15375         * BufferView2.C (copy):
15376         (copyEnvironment): do not clear the selection when doing a copy.
15377
15378         * text.C (paintFirstRow): compilation fix
15379
15380 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15381
15382         * tabular.C (Latex): correct line count when writing latex.
15383
15384 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15385
15386         * paragraph_pimpl.h:
15387         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15388           bug a bit
15389
15390 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15391
15392         * text.C:
15393         * LColor.h:
15394         * LColor.C: change vfillline->added_space
15395
15396         * text.C: add markers and text for added space
15397
15398         * vspace.C: fix comment
15399
15400 2001-11-28  André Pönitz <poenitz@gmx.net>
15401
15402         * paragraph.C: whitespace changes
15403         * all the other files from the change on 2001/11/26:
15404         change *::pos_type into lyx::pos_type
15405
15406 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15407
15408         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15409         language of the document when inserting error insets.
15410
15411 2001-11-26  André Pönitz <poenitz@gmx.net>
15412
15413         * BufferView_pimpl.[Ch]:
15414         *       CutAndPaste.C:
15415         * buffer.[Ch]:
15416         * lyxcursor.[Ch]:
15417         * lyxfind.C:
15418         * lyxfunc.C:
15419         * lyxrow.[Ch]:
15420         * paragraph.[Ch]:
15421         * paragraph_pimpl.[Ch]:
15422         * sp_spell.C:
15423         * text.C:
15424         * text2.C: reduce header dependencies, introduce type for positions
15425
15426 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15427
15428         * <various>: change to use Alert.h
15429
15430 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15431
15432         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15433         when encountering an unknown token.
15434         (readLyXformat2): Show an error message if there were unknown tokens.
15435
15436 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15437
15438         * BufferView2.C:
15439         * BufferView_pimpl.C:
15440         * buffer.C:
15441         * paragraph.h:
15442         * text.C:
15443         * text2.C: use par->isInset()
15444
15445 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15446
15447         * paragraph_pimpl.h:
15448         * paragraph_pimpl.C: cleanup
15449
15450 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15451
15452         * text2.C (removeRow):
15453         * text.C (setHeightOfRow): remove useless (and costly) call to
15454         getRow.
15455
15456 2001-11-20  Allan Rae  <rae@lyx.org>
15457
15458         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15459         Now need Inset*::checkInsertChar() to return true for appropriate
15460         cases so that the characters in the minibuffer will actually be
15461         inserted.
15462
15463 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15464
15465         * text.C: change the order of the includes.
15466         (workWidth): initialize it at once.
15467         (workWidth): make maxw unsigned
15468         (setHeightOfRow): remove unused variable (inset)
15469         (selectSelectedWord): remove unused variable (inset)
15470         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15471
15472 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15473
15474         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15475         server is not running.
15476         (openConnection):
15477         (closeConnection): add debug info when server is disabled.
15478
15479         * ColorHandler.C (getGCForeground): send debug message to GUI
15480         channel.
15481
15482         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15483
15484         * kbmap.C (bind): modify because return conventions of
15485         kb_sequence::parse have changed.
15486
15487         * kbsequence.C (parse): only ignore spaces and not any stupid
15488         control character. This avoids tests like s[i] <= ' ', which are
15489         guaranteed to fail with 8bit characters and signed chars.
15490         Change return code to string::npos when there have been no error
15491         (0 was a bad idea when error is at first character)
15492
15493 2001-11-14  José Matos  <jamatos@fep.up.pt>
15494
15495         * buffer.h:
15496         * buffer.C (simpleDocBookOnePar): removed unused argument.
15497
15498 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15499
15500         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15501         insets which are part of a word. Paragraph::isLetter takes care of
15502         that now. Use Paragraph::isInset to identify insets.
15503         (selectSelectedWord): do not test for hyphenation break.
15504
15505         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15506         that protected spaces are considered as spaces.
15507
15508         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15509         Inset::isLetter.
15510
15511 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15512
15513         * lyxserver.h:
15514         * lyxserver.C: fix it. and small cleanup.
15515
15516 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15517
15518         * BufferView_pimpl.C: use inline helpers
15519
15520         * LaTeXFeatures.h:
15521         * LaTeXFeatures.C: fix typos
15522
15523         * Spacing.h:
15524         * Spacing.C: move spacing_string into class
15525
15526         * ToolbarDefaults.C: move stuff into namespace anon
15527
15528         * layout.h: update enum
15529
15530         * lyxfunc.C: use better debug
15531
15532         * minibuffer.h: fix typo
15533
15534         * debug.h:
15535         * debug.C:
15536         * WorkArea.C: add and use Debug::WORKAREA
15537
15538         * lyxtext.h:
15539         * text.C:
15540         * text2.C: code re-organisation, inline helpers
15541
15542 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15543
15544         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15545         std::vector.empty().
15546
15547 2001-11-09  Allan Rae  <rae@lyx.org>
15548
15549         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15550         '\n's after tables.  Tabular and ERT inset work now makes this no
15551         longer necessary.
15552
15553 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15554
15555         * minibuffer.h:
15556         * minibuffer.C: fix crash, improve drop-down completion
15557
15558 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15559
15560         * lyxserver.h:
15561         * lyxserver.C: invalidate fd's when doing endPipe()
15562
15563 2001-11-08  José Matos  <jamatos@fep.up.pt>
15564
15565         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15566         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15567
15568         * paragraph.h:
15569         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15570
15571 2001-11-07  José Matos  <jamatos@fep.up.pt>
15572
15573         * buffer.h:
15574         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15575         const qualifier.
15576
15577         * buffer.C (sgmlOpenTag):
15578         * buffer.C (sgmlCloseTag): removed debug info.
15579
15580         * buffer.h (sgmlOpenTag):
15581         * buffer.h (sgmlCloseTag): made public.
15582
15583 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15584
15585         * buffer.C (saveParamsAsDefaults):
15586         * lyx_cb.C (MenuLayoutSave): remove
15587
15588         * LyXAction.C (init):
15589         * commandtags.h:
15590         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15591
15592 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15593
15594         * buffer.C (setPaperStuff): removed from here...
15595
15596         * bufferparams.C (setPaperStuff): ... and moved there.
15597
15598 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15599
15600         * minibuffer.h:
15601         * minibuffer.C:
15602         * XFormsView.C: add support for drop-down completion
15603
15604 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15605
15606         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15607         commands.
15608
15609 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15610
15611         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15612         disabled.
15613
15614 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15615
15616         * lyx_main.C: change ref to known bugs
15617
15618 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15619
15620         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15621         to work around older babel problems.
15622
15623 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15624
15625         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15626
15627 2001-10-24  Juergen Vigna  <jug@sad.it>
15628
15629         * tabular-old.C (ReadOld): below variable changes reflected.
15630
15631         * tabular.[Ch]: added ltType struct for longtable header/footer
15632         defines and changed all instances where they are used. Added
15633         future support for double top/bottom rows.
15634
15635 2001-10-24  José Matos  <jamatos@fep.up.pt>
15636
15637         * buffer.h (docbookHandleCaption):
15638         * buffer.C (docbookHandleCaption): removed unused function.
15639         (makeDocBookFile): moved docbook supported version to v4.1.
15640
15641 2001-10-24  José Matos  <jamatos@fep.up.pt>
15642
15643         * tabular.h:
15644         * tabular.C (docbookRow): new function to export docbook code of a row.
15645         (DocBook): now honors the longtable flags.
15646
15647 2001-10-23  José Matos  <jamatos@fep.up.pt>
15648
15649         * LaTeXFeatures.h:
15650         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15651         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15652
15653         * buffer.C (makeLinuxDocFile):
15654         (makeDocBookFile): reworked the preamble, more clean, and with
15655         support for lyx defined entities. Changed the document declaration
15656         to be more XML friendly.
15657
15658         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15659         if we need to output XML that should be done with a filter.
15660
15661 2001-10-22  Juergen Vigna  <jug@sad.it>
15662
15663         * sp_pspell.h (class PSpell): add alive function needed in the
15664         controller to see if the spellchecker could be started.
15665
15666 2001-10-22  Juergen Vigna  <jug@sad.it>
15667
15668         * buffer.C (insertStringAsLines): modify the font for inserting
15669         chars in certain conditions by calling checkInsertChar(font).
15670
15671 2001-10-19  Juergen Vigna  <jug@sad.it>
15672
15673         * text.C (workWidth): use getRow instead of wrong algorithm.
15674         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15675
15676 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15677
15678         * lyxserver.h:
15679         * lyxserver.C:
15680         * lyx_main.h:
15681         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15682
15683 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15684
15685         * text.C (workWidth): do not search for the exact row when
15686         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15687         optimization for big documents.
15688
15689 2001-10-18  Juergen Vigna  <jug@sad.it>
15690
15691         * text.C (workWidth): new function with added Inset * parameter.
15692
15693 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15694
15695         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15696
15697         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15698         change return type of getColumnNearX.
15699
15700
15701         * text.C (changeRegionCase): use uppercase/lowercase instead of
15702         toupper/tolower.
15703         (leftMargin):
15704         (rightMargin): simplify code by factoring out the uses of
15705         textclasslist.
15706         (labelFill):
15707         (numberOfHfills):
15708         (setHeightOfRow):
15709         (appendParagraph): use Paragraph::size_type
15710
15711 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15712
15713         * vspace.C (asLatexString): add a missing break
15714
15715 2001-10-15  Herbert Voss  <voss@perce.de>
15716
15717         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15718
15719 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15720
15721         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15722         is not available.
15723
15724 2001-10-10  André Pönitz <poenitz@gmx.net>
15725
15726         * lyxfunc.C: removed greek_kb_flag.
15727
15728 2001-10-10  Herbert Voss  <voss@perce.de>
15729
15730         * lyx_main.C: delete global string help_lyxdir.
15731
15732 2001-10-09  Herbert Voss  <voss@perce.de>
15733
15734         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15735
15736         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15737
15738         * lyx_main.C: added global string help_lyxdir.
15739
15740         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15741
15742 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15743
15744         * lyxrc.C (set_font_norm_type): support iso8859-4
15745
15746 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15747
15748         * LaTeX.C (deplog): add another regex for MikTeX
15749
15750 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15751
15752         * lyxrc.C (set_font_norm_type): support iso8859-3
15753
15754 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15755
15756         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15757
15758         * LaTeXFeatures.C: remove special case of french and index
15759
15760         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15761         before \begin{document}). This solves several incompatibilities.
15762
15763 2001-10-03  Garst Reese  <reese@isn.net>
15764
15765         * lyx_cb.C: change CheckTex error msg.
15766
15767 2001-10-03  José Matos  <jamatos@fep.up.pt>
15768
15769         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15770
15771 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15772
15773         * .cvsignore: update
15774
15775         * lyx_main.C (commandLineVersionInfo): use new style version info.
15776
15777         * buffer.C (writeFile):
15778         (makeLaTeXFile):
15779         (makeLinuxDocFile):
15780         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15781
15782         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15783
15784         * version.h: update to use stuff in version.C
15785
15786         * version.C.in: new file. Contains version information determined
15787         at compile time. This is a merging of version.h and
15788         version_info.h.in.
15789
15790 2001-10-03  Juergen Vigna  <jug@sad.it>
15791
15792         * BufferView_pimpl.C (update): don't change "dirty" status in
15793         updateInset call.
15794
15795 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15796
15797         * WorkArea.C (c-tor): re-position version string slightly.
15798
15799 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15800
15801         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15802         revert to previous code.
15803
15804         WorkArea.[Ch]: (show, destroySplash): methods removed.
15805
15806         WorkArea.C: rework code so that it's an amalgam of the codes before and
15807         after the splash screen was moved to WorkArea.
15808
15809 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15810
15811         * lyxrc.C (read):
15812         * vspace.C (inPixels):
15813         (lyx_advance):
15814         * kbmap.C (bind):
15815         * buffer.C (insertStringAsLines):
15816         (asciiParagraph): fix types to be large enough
15817
15818         * lyxlex_pimpl.h: change member status from short to int
15819
15820         * layout.h: fix type of endlabeltype
15821
15822         * kbmap.C (bind):
15823         * kbsequence.C (parse): change return type to string::size_type
15824
15825         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15826         variable
15827
15828         * Bullet.C (bulletSize):
15829         (bulletEntry): do not use short ints as parameters
15830
15831         * BufferView2.C (insertLyXFile): change a char to an int.
15832
15833         * WorkArea.C (WorkArea): remove unneeded floats in computation
15834
15835 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15836
15837         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15838
15839         * paragraph.C (asString): Do not ignore newline/hfill chars when
15840         copying to the clipboard.
15841
15842 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15843
15844         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15845         after a multi-line inset.
15846
15847 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15848
15849         * paragraph.C (validate): Set NeedLyXFootnoteCode
15850
15851 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15852
15853         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15854         and decrease-error to decrease.
15855
15856 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15857
15858         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15859         it more readable (should be equivalent)
15860
15861 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15862
15863         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15864
15865 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15866
15867         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15868         of a cursor (row, etc.) after a character has been deleted
15869         (deleteEmptyParagraphMechanism): call the method above on _all_
15870         cursors held by the LyXText when a double space has been
15871         detected/deleted.
15872
15873 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15874
15875         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15876         pixmap.
15877         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15878
15879         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15880         background. Use greyOut() and the new show() methods to toggle between
15881         the foreground and background. Add code to remove the splash after
15882         its initial showing.
15883
15884         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15885         (create_forms): no longer call Dialogs::showSplash.
15886
15887 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15888
15889         * .cvsignore: add version_info.h
15890
15891 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15892
15893         * version_info.h.in: new file
15894
15895         * Makefile.am: add version_info.h.in
15896
15897         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15898         version_info.h instead of VERSION_INFO
15899
15900 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15901
15902         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15903         The ERT inset now returns string().
15904
15905 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15906
15907         * lyxtext.h, text.C (selectNextWord): renamed as
15908         selectNextWordToSpellcheck.
15909
15910         * text.C (selectNextWordToSpellcheck): Modified to not select
15911         words inside an ERT inset.
15912
15913 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15914
15915         * lyx_cb.C (MenuLayoutSave): change a bit the question
15916
15917         * sp_base.h: include <sys/types.h>
15918
15919 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15920
15921         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15922
15923 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15924
15925         * several files: fix typos in user-visible strings
15926
15927 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15928
15929         * text2.C (pasteSelection): do not set the selection, since it
15930         will be cleared later. Actually, the intent was to fix the way the
15931         selection was set, but I figured rmoving the code was just as good.
15932
15933 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15934
15935         * FontLoader.C (available): Check if font is available without
15936         loading the font.
15937
15938 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15939
15940         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15941
15942 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15943
15944         * lyxrc.[Ch]: added display_graphics variable and associated code.
15945
15946 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15947
15948         * bufferparams.C (hasClassDefaults): new method. Returns true if
15949         the buffer parameters correspond to known class defaults
15950
15951 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15952
15953         * XFormsView.C (show): set minimum size to the main window.
15954
15955 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15956
15957         * text2.C (copySelection):
15958         (cutSelection):
15959         * lyxfind.C (LyXReplace):
15960         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15961         LyXText::selectionAsString.
15962
15963         * paragraph.C (asString): add "label" argument to the second form
15964
15965         * text2.C (selectionAsString): add "label" argument and pass it to
15966         Paragraph::asString.
15967
15968 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15969
15970         * lyx_main.C (commandLineHelp): remove version information
15971
15972 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15973
15974         * lyx_main.C: add -version commandline option
15975
15976 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15977
15978         * paragraph.h: make the optional constructor arg required instead.
15979         some modifications to other files because of this.
15980
15981         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15982
15983         * lyxserver.C (C_LyXComm_callback): make it static
15984
15985         * lyx_main.C (error_handler): make it static
15986
15987         * lyx_gui.C (LyX_XErrHandler): make it static
15988
15989         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15990
15991         * WorkArea.C: make the extern "C" methods static.
15992
15993         * Makefile.am (lyx_LDADD): simplify
15994
15995 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15996
15997         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15998         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15999
16000         * LyXAction.C (init):
16001         * lyxfunc.C (dispatch): associated code removal.
16002
16003 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16004
16005         * lyxfont.h (isSymbolFont): shut off warning
16006
16007         * text.C (setHeightOfRow):
16008         (getVisibleRow): fix crash with empty paragraphs which have a
16009         bottom line
16010
16011 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
16012
16013         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
16014         code.
16015
16016 2001-09-04  José Matos  <jamatos@fep.up.pt>
16017         * buffer.C
16018         * buffer.h
16019         * tabular.C (docbook): rename docBook method to docbook.
16020
16021 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16022
16023         * Makefile.am: add dependencies to main.o.
16024
16025 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
16026
16027         * FontLoader.C (available): Return false if !lyxrc.use_gui
16028
16029 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
16030
16031         * FontInfo.C (query):
16032         * converter.C (view):
16033         * importer.C (Import):
16034         * exporter.C (Export): Can not -> cannot.
16035
16036 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
16037
16038         * BufferView_pimpl.C: allow to create index inset even if
16039           string is empty
16040
16041 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16042
16043         * buffer.C (getLists): replace boost::tie code with an explicit pair
16044         as boost::tie can break some compilers.
16045
16046         * iterators.h: Added a std:: declaration to the return type of
16047         ParIterator::size.
16048
16049 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
16050
16051         * lyxrc.C: add help for view_dvi_paper_option, default to safe
16052           case.
16053
16054 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
16055
16056         * iterators.[Ch]: New files. Provide paragraph iterators.
16057
16058         * buffer.C (changeLanguage): Use paragraph iterators.
16059         (isMultiLingual): ditto
16060
16061         * BufferView2.C (ChangeInsets): Use paragraph iterators.
16062
16063 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
16064
16065         * FontLoader.C: Support for cmr font.
16066
16067 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
16068
16069         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16070         (available): New method.
16071
16072         * FontInfo.C (getFontname): Use scalable fonts even when
16073         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16074         found.
16075
16076 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16077
16078         * converter.C (Formats::view): reverted! Incorrect fix.
16079
16080 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16081
16082         * converter.C (Formats::view): only output the -paper option
16083         if the dvi viewer is xdvi, thereby fixing bug #233429.
16084
16085 2001-08-23  Herbert Voss  <voss@perce>
16086
16087         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16088
16089 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
16090
16091         * Spacing.h (Spacing): Set space to Default on in the default
16092         constructor.
16093
16094 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16095
16096         * vc-backend.h (RCS::versionString): add RCS to version
16097         (CVS::versionString): add CVS to version
16098
16099         * vc-backend.C (scanMaster): do not add CVS to version.
16100         (scanMaster): do not add RCS to version
16101
16102         * lyxvc.C (versionString): new method
16103
16104         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16105
16106 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16107
16108         * Spacing.C (set): initialize fval
16109
16110 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16111
16112         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16113         " or \.
16114
16115 2001-08-16  Juergen Vigna  <jug@sad.it>
16116
16117         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16118
16119 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16120
16121         * BufferView_pimpl.C:
16122         * figureForm.C:
16123         * lyxtext.h:
16124         * text2.C: setParagraph takes linespacing now
16125
16126 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16127
16128         * LyxAction.C: add internal LFUN_CITATION_INSERT
16129
16130         * LyXView.C: actually apply fix
16131
16132         * bufferlist.C: fix open non-existent file
16133
16134         * lyxfind.C: fix indentation
16135
16136         * lyxfunc.C: remove unneeded assert, fix typo
16137
16138 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16139
16140         * MenuBackend.C: use "Floatname List"
16141
16142 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16143
16144         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16145         when converting LaTeX layout to insetERT.
16146         Generate a non-collapsed float when reading old float
16147
16148 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16149
16150         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16151         ERT insets.
16152
16153 2001-08-13  Juergen Vigna  <jug@sad.it>
16154
16155         * text.C (fill): return 0 instead of 20 as this seems to be the more
16156         correct value.
16157
16158 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16159
16160         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16161         lyxrc.font_norm.
16162
16163 2001-08-13  Juergen Vigna  <jug@sad.it>
16164
16165         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16166         casesensitive off.
16167         (SearchBackward): comment out the unlocking of the inset_owner this
16168         should not be needed!
16169
16170 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16171
16172         * Many files: Remove inherit_language, and add latex_language
16173
16174         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16175         collapsible insets.
16176
16177 2001-08-10  Juergen Vigna  <jug@sad.it>
16178
16179         * text.C (prepareToPrint): fixed hfill-width in draw!
16180
16181         * BufferView2.C (selectLastWord): save the selection cursor as this
16182         now is cleared in the function LyXText::clearSelection!
16183
16184 2001-08-08  Juergen Vigna  <jug@sad.it>
16185
16186         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16187         BACKSPACE type functions.
16188
16189         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16190         is only cutted from the document but not put in the cut-buffer, where
16191         still the old stuff should be.
16192
16193         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16194
16195         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16196
16197         * tabular.C (SetWidthOfCell): fixed special case where the width
16198         was not updated!
16199         (LeftLine): handle '|' in align_special.
16200         (RightLine): ditto
16201         (LeftAlreadyDrawed): ditto
16202         (SetWidthOfCell): ditto
16203
16204 2001-08-07  Juergen Vigna  <jug@sad.it>
16205
16206         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16207
16208 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16209
16210         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16211         * lyxlex.[hC]: ditto
16212
16213 2001-08-06  Juergen Vigna  <jug@sad.it>
16214
16215         * text.C (getVisibleRow): fix up row clearing a bit.
16216
16217 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16218
16219         * minibuffer.C: make sure the X server sees the changes in the input.
16220
16221 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16222
16223         * paragraph.C (getFont): split into...
16224         (getLabelFont): this
16225         (getLayoutFont): and this
16226         * paragraph_pimpl.C (realizeFont): calling this
16227
16228         * text2.C (getFont): split into...
16229         (getLayoutFont): this
16230         (getLabelFont): and this
16231         (realizeFont): all three calling this
16232
16233         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16234         files where used.
16235
16236 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16237
16238         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16239
16240 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16241
16242         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16243         layouts from the Quote inset insertion.
16244
16245 2001-08-03  Juergen Vigna  <jug@sad.it>
16246
16247         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16248
16249         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16250         only if status not is already CHANGED_IN_DRAW (second level).
16251
16252         * text.C (draw): don't set the need_break_row when inside an
16253         InsetText LyXText.
16254
16255 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16256
16257         * buffer.C (parseSingleLyXformat2Token): handle more latex
16258         conversion cases.
16259
16260         * bufferview_funcs.[hC]: change function names to
16261         begin with small char, adjust other files.
16262
16263 2001-08-02  André Pönitz <poenitz@gmx.net>
16264
16265         * lyxfunc.C:
16266         BufferView_pimpl.C: remove broken special code for math-greek
16267
16268 2001-08-02  Juergen Vigna  <jug@sad.it>
16269
16270         * BufferView_pimpl.C (update): redone this function so that we
16271         update the text again if there was a CHANGE_IN_DRAW.
16272
16273         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16274         (drawFromTo): added a new internal bool which is used by draw() and
16275         redraw() function.
16276         (general): some cursor drawing problems fixed.
16277
16278 2001-08-01  Juergen Vigna  <jug@sad.it>
16279
16280         * lyxfind.C (LyXFind): fixed
16281         (SearchForward): ditto
16282         (SearchBackward): ditto
16283
16284         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16285         spurius drawing of the cursor in the main area.
16286
16287         * text2.C (status): small fix which could lead to a segfault!
16288         (clearSelection): remove unneeded BufferView param.
16289
16290 2001-08-01  André Pönitz <poenitz@gmx.net>
16291
16292         * lyxfunc.C: small change due to changed mathed interface
16293
16294 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16295
16296         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16297
16298 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16299
16300         * lyxfunc.c: fail gracefully if file doesn't exist
16301
16302         * LyXSendto.C:
16303         * buffer.C:
16304         * lyxfunc.C:
16305         * BufferView_pimpl.C: IsDirWriteable() proto changed
16306
16307         * LyXView.C: fix updateWindowTitle() to store the last title
16308
16309 2001-07-31  Juergen Vigna  <jug@sad.it>
16310
16311         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16312         the font (wrong since using of Paragraph::highestFontInRange).
16313
16314         * paragraph.C (highestFontInRange): added a default_size parameter.
16315
16316         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16317         (setHeightOfRow): reformat
16318
16319 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16320
16321         * converter.[hC] + affected files: move to (inital-char)lowercase
16322         function names.
16323
16324         * ParagraphParameters.C (ParagraphParameters): remove commented code
16325
16326         * PainterBase.[Ch]: remove commented code
16327
16328         * LaTeXFeatures.h: add "bool floats" for float.sty
16329
16330         * LaTeXFeatures.C (LaTeXFeatures): init floats
16331         (require): handle float
16332         (getPackages): do it with floats
16333
16334 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16335
16336         * BufferView_pimpl.C (Dispatch): improve handling of
16337         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16338
16339         * commandtags.h: #include lyxfont.h here temporarily to avoid
16340         keybinding bug.
16341
16342         * bufferlist.h: include LString.h here.
16343
16344 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16345
16346         * text2.C (getStringToIndex): new method.
16347
16348 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16349
16350         * *: Reduced header file dependencies all over.
16351
16352 2001-07-30  Baruch Even  <baruch@lyx.org>
16353
16354         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16355
16356 2001-07-29  Baruch Even  <baruch@lyx.org>
16357
16358         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16359
16360 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16361
16362         * ParameterStruct.h (endif): add a default constructor to make
16363         sure that all variables is initialized.
16364
16365         * ParagraphParameters.C (ParagraphParameters): adjust
16366
16367 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16368
16369         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16370         index; also, check that there is something to index, and that it
16371         does not span over several paragraphs.
16372         (doubleClick): use WHOLE_WORD_STRICT for double click.
16373
16374         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16375
16376         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16377         scheme.
16378
16379 2001-07-26  Baruch Even  <baruch@lyx.org>
16380
16381         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16382         an InsetFig figure, backwards compatible reading of old figure code.
16383
16384 2001-07-27  Juergen Vigna  <jug@sad.it>
16385
16386         * text2.C: font.realize function adaption.
16387
16388         * text.C (draw): add a warnings lyxerr text if needed.
16389
16390         * layout.C: font.realize function adaption.
16391
16392         * language.C: add inherit_language and implement it's handlings
16393
16394         * bufferview_funcs.C (StyleReset): remove language parameter from
16395         font creation (should be language_inherit now).
16396
16397         * bufferparams.C (writeFile): handle ignore_language.
16398
16399         * paragraph.C (getFontSettings): the language has to be resolved
16400         otherwise we have problems in LyXFont!
16401
16402         * lyxfont.C (lyxWriteChanges): added document_language parameter
16403         (update): removed unneeded language parameter
16404
16405         * paragraph.C (validate): fixed wrong output of color-package when
16406         using interface colors for certain fonts in certain environments,
16407         which should not seen as that on the final output.
16408
16409 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16410
16411         * BufferView_pimpl.C:
16412         * Thesaurus.h:
16413         * Thesaurus.C:
16414         * Makefile.am:
16415         * commandtags.h:
16416         * LyXAction.C: add thesaurus support
16417
16418         * lyxfind.h:
16419         * lyxfind.C: add "once" parameter, for thesaurus, to not
16420           move to the next match
16421
16422 2001-07-26  Juergen Vigna  <jug@sad.it>
16423
16424         * lyxfont.C (realize): honor ignore_language too!
16425         (resolved): ditto.
16426
16427         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16428
16429         * text.C (draw): one place more for ignore_language to not draw
16430         itself!
16431
16432 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16433
16434         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16435
16436 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16437
16438         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16439         the minipage conversion problem.
16440
16441 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16442
16443         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16444         insert an inset.
16445
16446 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16447
16448         * BufferView.h: don't forward declare WorkArea
16449
16450         * BufferView.C: don't include WorkArea.h
16451
16452 2001-07-25  André Pönitz <poenitz@gmx.net>
16453
16454         * commandtags.h:
16455         * LyXAction.C:
16456         * lyxfunc.C:  new LFUN 'math-space'
16457
16458         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16459
16460 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16461
16462         * text2.C (toggleInset): call open/close
16463
16464 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16465
16466         * lyxfunc.C (dispatch): add debug for the disabled case
16467
16468         * font.C (buttonText): make similar to rectText
16469
16470         * buffer.C (readInset): comment out parsing of insetlist and
16471         insttheorem
16472
16473         * PainterBase.C (rectText): small correction
16474
16475         * BufferView_pimpl.C: comment out insettheorem and insetlist
16476         * LyXAction.C: ditto
16477         * commandtags.h: ditto
16478
16479 2001-07-24  Juergen Vigna  <jug@sad.it>
16480
16481         * text.C (draw): honor the ignore_language.
16482
16483         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16484
16485 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16486
16487         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16488         char inset.
16489
16490 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16491
16492         * lyxtext.h: remove unused (and unimplemented) methods
16493
16494 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16495
16496         * text.C (getVisibleRow): honor background color
16497
16498         * PainterBase.h:
16499         * Painter.h: remove default color argument for fillRectangle
16500
16501         * text.C (backgroundColor): new method
16502
16503 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16504
16505         * text.C (getVisibleRow): adjust
16506
16507         * font.[Ch] (rectText): new method, metrics
16508         (buttonText): new method, metrics
16509
16510         * PainterBase.[hC]: make rectText and buttonText always draw and take
16511         fewer paramteres.
16512
16513 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16514
16515         * ToolbarDefaults.C (read):
16516         * MenuBackend.C (read): allow escaping in all strings
16517
16518         * BufferView_pimpl.C (insertAndEditInset): new method.
16519         (Dispatch): use insertAndEditInset whenever appropriate.
16520
16521         * BufferView_pimpl.C (insertNote): removed
16522
16523         * BufferView_pimpl.C (smartQuote): new method, moved from
16524         BufferView; if an insetquote cannot be inserted, insert a '"'
16525         character instead.
16526
16527         * BufferView2.C: remove insertCorrectQuote();
16528
16529         * lyxfunc.C (getStatus): Add support for all remaingin
16530         inset-insert lfuns.
16531
16532         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16533
16534         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16535         command (necessary to pass " as parameter of self-insert.
16536
16537         * text.C (selectWordWhenUnderCursor):
16538         (selectWord): add word_location parameter
16539         (selectWordWhenUnderCursor): same + remove special code for word
16540         boundary.
16541         (selectNextWord): use kind() to guess type of insetspecialchar,
16542         not latex().
16543
16544         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16545         (insertErtContents): create ert insets as collapsed.
16546         (readInset): better compatibility code for Info inset.
16547
16548 2001-07-20  Juergen Vigna  <jug@sad.it>
16549
16550         * lyxfunc.C (dispatch): use always LyXFind now!
16551
16552         * text2.C (init): add a reinit flag so that the LyXText can be
16553         reinited instead of deleted and reallocated (used in InsetText).
16554
16555         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16556
16557         * text.C: ditto
16558
16559         * text2.C: ditto
16560
16561 2001-07-18  Juergen Vigna  <jug@sad.it>
16562
16563         * text.C (selectNextWord): handle insets inside inset by calling
16564         always the bv->text functions so that we can go up the_locking_inset!
16565
16566         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16567         in strange locations when inside an inset!
16568
16569         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16570         handling to include insets.
16571
16572         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16573
16574 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16575
16576         * LyXAction.C (init):
16577         * commandtags.h:
16578         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16579         LIGATURE_BREAK, since the name is so stupid.
16580
16581 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16582
16583         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16584         InsetInfos.
16585
16586         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16587
16588         * sp_form.[Ch]: remove.
16589
16590         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16591
16592         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16593         InsetInfo.
16594
16595         * src/buffer.C (readInset): ditto.
16596
16597 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16598
16599         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16600         menuSeparator(), endOfSentenceDot(), ldots() and
16601         hyphenationPoint(), which are therefore removed.
16602         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16603
16604         * LyXAction.C (init):
16605         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16606
16607         * paragraph.C (getWord): removed.
16608
16609         * BufferView_pimpl.C (Dispatch): use last word or selection for
16610         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16611
16612         * lyx_main.C (queryUserLyXDir): do not ask before creating
16613         user_dir, except if it has been named explicitely.
16614
16615 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16616
16617         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16618         a document of zero size.
16619
16620 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16621
16622         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16623         approriately in the c-tor and in require().
16624         (getPackages): output the appropriate LaTeX for natbib support.
16625
16626         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16627         variables "use_natbib" and "use_numerical_citations" when reading the
16628         LyX file.
16629         (readInset): read the various natbib cite commands.
16630         (validate): white-space change.
16631
16632         * bufferparams.[Ch]: new variables "bool use_natbib" and
16633         "bool use_numerical_citations".
16634         (writeFile): output them in the LyX file.
16635
16636 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16637
16638         * lyxfunc.C (getStatus): add support for all the inset insertion
16639         commands.
16640
16641         * text2.C (insertInset):
16642         * paragraph.C (insetAllowed):
16643         * BufferView_pimpl.C (insertInset): update to take in account the
16644         renaming of insertInsetAllowed
16645
16646         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16647
16648         * text2.C (getInset): new method. returns inset at cursor position.
16649
16650         * BufferView_pimpl.C (Dispatch): changes because of this.
16651
16652         * LyXAction.C (init): rename open-stuff to inset-toggle.
16653
16654         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16655
16656         * text2.C (toggleInset): renamed from openStuff; use
16657         Inset::open().
16658
16659 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16660
16661         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16662
16663         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16664
16665 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16666
16667         * buffer.C (readLyXformat2): Add filename to the error dialog
16668
16669 2001-07-18  Juergen Vigna  <jug@sad.it>
16670
16671         * tabular.C (GetCellNumber): put an assert here instead of the check!
16672
16673 2001-07-17  Juergen Vigna  <jug@sad.it>
16674
16675         * BufferView_pimpl.C (toggleSelection): adapted too.
16676
16677         * text.C (selectNextWord): adapted for use with insets.
16678         (selectSelectedWord): ditto
16679
16680 2001-07-17  Juergen Vigna  <jug@sad.it>
16681
16682         * sp_spell.C (PSpell): fix initialitation order.
16683
16684 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16685
16686         * paragraph.C: spacing
16687
16688 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16689
16690         * sp_spell.C: repair language selection for pspell
16691
16692 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16693
16694         * lyxfunc.h: change more methods to begin with lower char.
16695
16696 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16697
16698         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16699         for unknown layouts.
16700
16701 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16702
16703         * buffer.C (readLyXformat2): Generate an error dialog if there are
16704         unknown layouts.
16705
16706 2001-07-16  Juergen Vigna  <jug@sad.it>
16707
16708         * sp_spell.C: always compile ISpell part.
16709
16710         * lyxrc.C: added use_pspell entry and it's handling.
16711
16712 2001-07-13  Juergen Vigna  <jug@sad.it>
16713
16714         * sp_spell.C: removed double includes.
16715
16716 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16717
16718         Consistent use of Lsstream.h:
16719         * Lsstream.h: added using std::stringstream for consistencies sake.
16720
16721         * buffer.C: removed using std::stringstream
16722
16723         * lyxfont.C (stateText):
16724         * paragraph.C (asString):
16725         * text.C (selectNextWord, selectSelectedWord):
16726         * text2.C (setCounter):
16727         * vspace.C (asString, asLatexString):
16728         std::ostringstream -> ostringstream.
16729
16730 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16731
16732         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16733         * commandtags.h: add LFUN_HELP_ABOUTLYX
16734         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16735
16736 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16737
16738         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16739         cursorToggle()
16740         * lyx_gui_misc.C: remove spellchecker
16741         * lyxfunc.C: showSpellchecker
16742         * sp_base.h: added
16743         * sp_ispell.h: added
16744         * sp_pspell.h: added
16745         * sp_spell.C: added
16746         * sp_form.[Ch]: removed
16747         * spellchecker.[Ch]: removed
16748
16749 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16750
16751         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16752         is set.
16753         (simpleTeXSpecialChars): Simply print the input character without
16754         any special translation if pass_thru is set.
16755
16756         * layout.h: Added bool pass_thru to layout class for being able to
16757         implement pass through of a paragraph for Literate Programming.
16758
16759         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16760         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16761         * layout.C (Read): add "passthru" to list of layout tags and add
16762         code to set the pass_thru boolean when it is read.
16763
16764 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16765
16766         * trans_decl.h: remove allowed from KmodInfo
16767
16768         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16769         remove allowed code
16770         (Load): adjust
16771
16772         * paragraph_pimpl.C (erase): use boost::prior
16773
16774         * Painter.C (text): use data() instead of c_str() when length is
16775         also provided.
16776         * WorkArea.C (putClipboard): ditto
16777         * font.h (width): ditto
16778
16779         * BufferView2.C: use it-> instead of (*it). for iterators
16780         * texrow.C: ditto
16781         * paragraph_pimpl.C: ditto
16782         * paragraph.C: ditto
16783         * minibuffer.C: ditto
16784         * language.C: ditto
16785         * kbmap.C: ditto
16786         * encoding.C: ditto
16787         * counters.C: ditto
16788         * converter.C: ditto
16789         * chset.C: ditto
16790         * Variables.C: ditto
16791         * TextCache.C: ditto
16792         * MenuBackend.C: ditto
16793         * LyXAction.C: ditto
16794         * LColor.C: ditto
16795         * FloatList.C: ditto
16796         * DepTable.C: ditto
16797         * ColorHandler.C (LyXColorHandler): ditto
16798
16799 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16800
16801         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16802
16803         * text2.C (openStuff): reintroduce this method (which had been
16804         nuked in NEW_INSETS frenzy).
16805
16806         * lyxfunc.C (Dispatch): when an action has not been handled, use
16807         its name in the error message, not its number.
16808
16809         * paragraph.C (inInset): change method name to begin with lowercase.
16810
16811         * undo_funcs.C:
16812         * text2.C: updates because of this.
16813
16814 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16815
16816         * ToolbarDefaults.C (add): add spaces in error message
16817
16818 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16819
16820         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16821         (readLyXformat2): rename return_par to first_par, use lyxlex's
16822         pushToken and remove the manual push handling.
16823         (parseSingleLyXformat2Token): add another ert comp. variable:
16824         in_tabular, rename return_par to first_par. handle newlines better
16825
16826 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16827
16828         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16829
16830 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16831
16832         * text2.C (getParFromID): removed
16833
16834         * buffer.C (getParFromID): new method moved form lyxtext.
16835         * BufferView2.C (insertErrors): adjust
16836         (setCursorFromRow): adjust
16837         * BufferView_pimpl.C (restorePosition): adjust
16838         * lyxfunc.C (Dispatch): adjust
16839         * undo_funcs.C (textUndo): adjust
16840         (textRedo): adjust
16841         (textHandleUndo): adjust
16842         (textHandleUndo): adjust
16843
16844 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16845
16846         * buffer.C: up' the LYX_FORMAT
16847
16848         * lyxfont.h: turn NO_LATEX on as default
16849
16850         * buffer.C (insertErtContents): new methods of tex style compability.
16851         (parseSingleLyXformat2Token): use it several places.
16852         * tabular.C (OldFormatRead): and here
16853
16854 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16855
16856         * text2.C: remove some commented code.
16857         reindent file.
16858
16859         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16860         * trans.C: changes because of the above.
16861
16862 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16863
16864         * text2.C (setCounter): Fix counters bug with bibliography layout.
16865
16866 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16867
16868         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16869         own member functions
16870         (simpleTeXSpecialChars): ditto
16871
16872 2001-07-06  Juergen Vigna  <jug@sad.it>
16873
16874         * a lot of files: changed the access to LyXText::status and the
16875         call of undo-functions.
16876
16877         * undo.[Ch]: added a inset_id to the undo informations.
16878
16879         * undo_funcs.[Ch]: added and moved here all undo functions.
16880
16881         * lyxtext.h: give the status enum a weight, made status_ a private
16882         variable and made accessor functions for it, removed the whole bunch
16883         of undo-functions as they are now in their own file, make some
16884         functions publically available. Added function ownerParagraph with
16885         int parameter.
16886
16887         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16888         made InInset() a const function, added getParFromID() function.
16889
16890         * buffer.[Ch]: added const version for inset_iterator functions,
16891         added getInsetFromID() function.
16892
16893         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16894         changed undo functions for new version.
16895
16896 2001-07-05  Juergen Vigna  <jug@sad.it>
16897
16898         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16899         unknow mechanism does not call the proper constructor but only this
16900         one also if I request the other!?
16901
16902 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16903
16904         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16905
16906         * text2.C (LyXText): use initialization lists.
16907
16908         * lyxtext.h (Selection): initialize set_ and mark_
16909         (init): remove method
16910
16911 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16912
16913         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16914
16915 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16916
16917         * screen.[Ch]: change method names to begin with lowercase
16918
16919         * BufferView_pimpl.C (updateScrollbar): simplify further and
16920         hopefully make it a bit faster.
16921
16922 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16923
16924         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16925         calling directly xforms functions.
16926
16927         * Painter.C (Painter):
16928         * lyx_cb.C (MenuWrite):
16929         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16930         fl_display.
16931
16932         * lyx_gui.C: remove bogus guiruntime extern declaration.
16933
16934 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16935
16936         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16937         in NEW_INSETS
16938         (redoDrawingOfParagraph): ditto
16939         (redoParagraphs): ditto
16940         (cutSelection): don't create a object for CutAndPaste use the
16941         static method directly
16942         (pasteSelection): ditto
16943
16944         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16945         LyXview (+ rename)
16946
16947 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16948
16949         * modifications to some other files because of this.
16950
16951         * Makefile.am (lyx_SOURCES): add XFormsView
16952
16953         * XFormsView.[Ch]: new files
16954
16955         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16956         the main window. Move the gui dependent stuff to XFormsView
16957
16958 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16959
16960         * tabular.C (GetCellInset): update cur_cell also in the row/col
16961         version of this function.
16962
16963         * lyxfunc.C: no need to include figure_form.h here.
16964
16965         * FontLoader.h:
16966         * lyxfunc.h:
16967         * lyxscreen.h:
16968         * text2.C:
16969         * lyxvc.C: no need to include forms.h here.
16970
16971 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16972
16973         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16974
16975         * lyxfunc.C (Dispatch):
16976         * Spacing.C (set):
16977         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16978         constructor argument.
16979
16980 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16981
16982         * paragraph.C (Paragraph): dont't clear, and just set layout.
16983         (makeSameLayout): use params's copy contructor.
16984
16985         * ParagraphParameters.[Ch] (makeSame): delete method
16986
16987 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16988
16989         * Variables.[Ch]: fix indentation, rename set to isSet
16990
16991 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16992
16993         * lyxfunc.C (Dispatch): fix typo
16994
16995 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16996
16997         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16998         upper_bound.
16999
17000         * bufferlist.C: include assert.h for emergencyWrite().
17001
17002 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17003
17004         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
17005           give up at last (bug #425202) !
17006
17007 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
17008
17009         * lyx_gui_misc.C:
17010         * sp_form.h:
17011         * sp_form.C:
17012         * spellchecker.h:
17013         * spellchecker.C: strip spellchecker options and bring up
17014           preferences tab instead
17015
17016 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17017
17018         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
17019         the istringstream constructor
17020
17021 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17022
17023         * paragraph.C (getLayout): fix return value
17024
17025         * paragraph.h: do not declare getLayout as inline.
17026
17027         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
17028
17029 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17030
17031         * lyxcursor.h (operator<): new func
17032         (operator>): new func
17033         (operator>=): new func
17034         (operator<=): new func
17035
17036         * text.C (changeCase): use selection.start and selection.end
17037         (changeRegionCase): require from to be <= to. Require par to be a
17038         valid paragraph.
17039
17040         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17041
17042 2001-06-27  Juergen Vigna  <jug@sad.it>
17043
17044         * text.C (cursorLeftOneWord): changed to return the cursor and added
17045         overlay with BufferView * parameter which calls this one.
17046         (getWord): added
17047         (selectWord): use new getWord function.
17048         (changeCase): renamed from changeWordCase as and extended to work
17049         also on selections.
17050
17051         * lyxtext.h: added enum word_location
17052
17053         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17054         changeCase as this operates now also on selections.
17055
17056 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
17057
17058         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17059
17060         * many files: send debug output to Debug::INFO instead of
17061         Debug::ANY.
17062
17063         * converter.C (View):
17064         (Convert):
17065         (Move): send debug output to Debug::FILES instead of console.
17066
17067 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
17068
17069         * lyxfunc.C (getStatus): use func_status
17070
17071         * func_status.h: new header, describing the results of
17072         LyXFunc::getStatus;
17073
17074         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17075         LFUN_MATH_HALIGN.
17076
17077 2001-06-25  The LyX Project  <jug@sad.it>
17078
17079         * buffer.C (sgmlOpenTag):
17080         (sgmlCloseTag):
17081         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
17082
17083 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17084
17085         * text2.C: remove some dead code
17086
17087         * tabular.C (GetCellInset): store the last cell checked (gotten)
17088
17089         * tabular.h: add the helper for the speedup
17090
17091         * lyxtext.h: remove some dead code
17092
17093 2001-06-26  The LyX Project  <Asger>
17094
17095         * paragraph.C: Change export to LaTeX of alignment to
17096         \begin{center} and family for better roundtrip work with reLyX.
17097
17098         * Tune the math drawing a bit.
17099
17100 2001-06-25  The LyX Project  <Asger>
17101
17102         * LColor.C (LColor): New color for math background. New color
17103         for buttons.
17104
17105 2001-06-25  The LyX Project  <jug@sad.it>
17106
17107         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17108
17109         * lyxfunc.C (Open):
17110         * bufferlist.C (newFile): do not restrict to files ending with
17111         .lyx
17112
17113         * BufferView_pimpl.C (MenuInsertLyXFile):
17114
17115 2001-06-24  The LyX Project  <jug@sad.it>
17116
17117         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17118         of compare_no_case
17119
17120 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17121
17122         * lyxtext.h: rename most methods to begin with a small char.
17123         Lots of changes because of this.
17124
17125         * paragraph.C (Paragraph): do not call fitToSize
17126         (erase): call Pimpl::erase
17127         (insertChar): call Pimpl::insertChar
17128         (insertInset): call Pipl::insertInset
17129         (breakParagraph): do not call fitToSize
17130         (breakParagraphConservative): do not call fitToSize
17131         (fitToSize): remove method
17132
17133         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17134
17135 2001-06-24  The LyX Project  <Asger>
17136
17137         * Fix Qt compilation^2
17138
17139 2001-06-24  The LyX Project  <jug@sad.it>
17140
17141         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17142         depthHook(getDepth()-1).
17143
17144         * paragraph.h:
17145         * ParagraphParameters.h:
17146         * ParameterStruct.h: change type of depth to unsigned int ==
17147         depth_type. Many adaptations to other files before of that.
17148
17149 2001-06-24  The LyX Project  <Asger>
17150
17151         * Fix Qt compilation.
17152
17153 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17154
17155         * paragraph.h: renamed several methods to begin with small letter.
17156         several changes to many parts of the code because of this.
17157
17158 2001-06-23  The LyX Project  <jug@sad.it>
17159
17160         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17161         rewritten to discard all double spaces when KeepEmpty is off
17162         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17163         to only handle newlines but not fiddle with spaces and friends.
17164
17165         * lyxfunc.C (MenuNew): when doing 'new from template', use
17166         template_path as default directory
17167
17168 2001-06-23  The LyX Project  <Asger>
17169
17170         * Clean-up of header file includes all over
17171         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17172
17173 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17174
17175         * paragraph.h: renamed from lyxparagraph.h
17176
17177 2001-06-23  Asger  <lyx@violet.home.sad.it>
17178
17179         * Buffer.h: Removed Buffer::resize
17180         * BufferList.h: Removed BufferList::resize
17181         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17182         the document lazily when we change the width, or the font settings.
17183
17184 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17185
17186         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17187
17188 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17189
17190         * buffer.h: remove out of date comment
17191
17192 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17193
17194         * lyxscreen.h:
17195         * screen.C: fix "theoretical" GC leak
17196
17197 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17198
17199         * LaTeX.C (scanAuxFile):
17200         (deplog): remove trailing \r when reading stream (useful under
17201         win32)
17202
17203 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17204
17205         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17206         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17207         and BufferView::theLockingInset(Inset*), so should use them and not
17208         access bv_->text->the_locking_inset directly.
17209
17210         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17211
17212 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17213
17214         * Makefile.am:
17215         * tex-defs.h: remove old unused file
17216
17217 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17218
17219         * BufferView_pimpl.C: fix typo, remove minibuffer message
17220           when buffer has loaded
17221
17222 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17223
17224         * lyxfunc.C (Dispatch): use stringstream
17225         (MenuNew): use stringstream
17226         (Open): use stringstream
17227
17228         * importer.C (Import): use stringstream
17229
17230         * bufferview_funcs.C (CurrentState): use stringstream
17231
17232         * LaTeX.C (run): use stringstream
17233
17234         * BufferView_pimpl.C (savePosition): use stringstream
17235         (restorePosition): use stringstream
17236         (MenuInsertLyXFile): use stringstream
17237
17238 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17239
17240         * BufferView.C:
17241         * Bullet.C:
17242         * ColorHandler.C:
17243         * FontInfo.C:
17244         * FontLoader.C:
17245         * LColor.C:
17246         * LaTeXFeatures.C:
17247         * Painter.C:
17248         * gettext.C:
17249         * lyx_gui_misc.C:
17250         * lyxserver.C:
17251         * vspace.C: removed // -*- C++ -*- as first line.
17252
17253         * lyxfind.h:
17254         * version.h: added // -*- C++ -*- as first line.
17255
17256 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17257
17258         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17259
17260         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17261         of string
17262
17263 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17264
17265         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17266         of floats.
17267
17268 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17269
17270         * gettext.C: include LString.h even when --disable-nls is on.
17271
17272 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17273
17274         * converter.h (Get): changed argument type from int to
17275         FormatList::size_type to avoid unnecessary conversion.
17276
17277         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17278         before using it.
17279
17280 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17281
17282         * gettext.h: include LString.h even when --disable-nls is on.
17283
17284 2001-06-07  Juergen Vigna  <jug@sad.it>
17285
17286         * text.C (BreakAgain): subst spaces with tabs.
17287
17288         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17289         (resizeInsetsLyXText): set force on resizeLyXText.
17290
17291 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17292
17293         * gettext.h (gettext_init):
17294         (locale_init): use a real definition instead of a macro
17295
17296 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17297
17298         * Bufferview_pimpl.C:
17299         * LColor.h:
17300         * LColor.C: further lcolor tidies
17301
17302 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17303
17304         * BufferView_pimpl.C (updateScrollbar): simplify.
17305
17306         * BufferView2.C: don't include insets/insetinfo.h, change
17307         prototype for insertInset and call the Pimpl version. let
17308         updateInset call Pimpl version.
17309
17310         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17311         gotoInset to BufferView::Pimpl
17312
17313 2001-06-01  Juergen Vigna  <jug@sad.it>
17314
17315         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17316         inside a LockingInset (is the update needed at all?).
17317
17318 2001-05-31  Juergen Vigna  <jug@sad.it>
17319
17320         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17321         here not the old one otherwise how should we compare it afterwards
17322         if it's the same!
17323
17324 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17325
17326         * lyxfont.C:
17327         * tabular.C:
17328         * tabular-old.C:
17329         * FontInfo.C: bring C functions into global namespace when
17330         necessary
17331
17332 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17333
17334         * LString.h: make sure config.h has been loaded before LString.h.
17335
17336         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17337         (one for each char read by EatLine!).
17338
17339         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17340         variables.
17341
17342 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17343
17344         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17345         to the same as the par we break from
17346
17347 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17348
17349         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17350
17351         * MenuBackend.C (expand): also create menu entries for wide
17352         versions of the floats.
17353
17354         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17355
17356         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17357
17358         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17359         frontends/Makefile.am
17360
17361         * text2.C: adjust
17362         * text.C: adjust
17363
17364
17365         * tabular.C (getTokenValue): add std::
17366
17367         * tabular-old.C (getTokenValue): add std::
17368         (getTokenValue): ditto
17369         (getTokenValue): ditto
17370
17371         * screen.C (ToggleSelection): adjust
17372
17373         * lyxtext.h: put selection cursors inside a Selection struct.
17374
17375         * lyxfunc.C (moveCursorUpdate): adjust
17376
17377         * lyxfont.C (latexWriteStartChanges): add std::
17378
17379         * lyxfind.C: adjust
17380
17381         * font.h: delete with(char const *, LyXFont const &)
17382
17383         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17384
17385         * FontInfo.C (getFontname): add std::
17386
17387         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17388         (workAreaButtonPress): adjust
17389         (tripleClick): adjust
17390         (update): adjust
17391         (moveCursorUpdate): adjust
17392         (Dispatch): adjust
17393
17394         * BufferView2.C (gotoInset): adjust
17395
17396 2001-05-30  Juergen Vigna  <jug@sad.it>
17397
17398         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17399         to check pspell I add this as default as I now have new pspell
17400         libraries and they seem to use this.
17401
17402 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17403
17404         * text2.C (CutSelection): make the cursor valid before the call to
17405         ClearSelection.
17406
17407 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17408
17409         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17410         relied on 0 terminated strings and other horrors. Bug found due to
17411         the new assert in lyxstring!
17412
17413         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17414         KP_ keys.
17415
17416 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17417
17418         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17419         to latinkeys.bind.
17420
17421         * lyxfunc.C (processKeySym): change method of getting to the
17422         self-insert char.
17423
17424         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17425         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17426         * BufferView_pimpl.[Ch]: here as private methods.
17427
17428 2001-05-28  Juergen Vigna  <jug@sad.it>
17429
17430         * text.C (SetHeightOfRow): added the update() call again as it is
17431         needed to initialize inset dimensions!
17432
17433 2001-05-16  Juergen Vigna  <jug@sad.it>
17434
17435         * text2.C (SetCharFont): Add new function with BufferView * and
17436         bool toggleall parameters for setting insets internal fonts.
17437         (SetFont): Freeze the undo as we may change fonts in Insets and
17438         all this change should be inside only one Undo!
17439
17440         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17441         setting font's in insets as for them we have the SetFont function!
17442
17443 2001-05-15  Juergen Vigna  <jug@sad.it>
17444
17445         * text2.C (ClearSelection): to be sure we REALLY don't have any
17446         selection anymore!
17447
17448         * tabular.C (TeXCellPreamble): fixed the left border problem for
17449         multicolumn cells.
17450
17451 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17452
17453         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17454         dependancy file
17455
17456 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17457
17458         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17459         LFUN_BREAKPARAGRAPH.
17460
17461         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17462         help test to "internal only", similar for LFUN_INSERT_URL
17463
17464         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17465         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17466         auto_region_delete and deadkeys.
17467
17468 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17469
17470         * LColor.h:
17471         * LColor.C: remove some dead entries, tidy a little
17472
17473 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17474
17475         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17476         commented code.
17477         (Dispatch): implement LFUN_ESCAPE
17478
17479         * commandtags.h: add LFUN_ESCAPE
17480
17481         * LyXAction.C (init): add entry for LFUN_ESCAPE
17482
17483         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17484         Remove commented code.
17485         (insertNote): moved here
17486         (open_new_inset): moved here
17487
17488         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17489         BufferView_pimpl
17490
17491 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17492
17493         * kbmap.C (findbinding): clean it up and make it work correctly.
17494
17495         * lyx_main.C (init): do not pass argc and argv as parameters
17496
17497 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17498
17499         * buffer.C: fix path for OS/2 & Win32
17500
17501         * lyx_gui.C:
17502         * lyx_main:
17503         * lyx_main.C: Added os:: class.
17504
17505         * os2_defines.h: update
17506
17507 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17508
17509         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17510         better by trying again with reduced state.
17511
17512 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17513
17514         * lyxrc.C (read): print error about invalid key sequence only when
17515         debugging (because not all latinX keysyms are known to some X
17516         servers)
17517
17518         * kbsequence.C (getiso): add a few std:: qualifiers
17519         (getiso): comment out extra return statement.
17520
17521 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17522
17523         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17524         handling.
17525         (Dispatch): enhance the accent inset a bit. (not perfect)
17526
17527 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17528
17529         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17530
17531 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17532
17533         * bufferlist.C (emergencyWrite): fix assert() call
17534
17535 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17536
17537         * text.C (InsertChar): Added trivial patch to only send the "you
17538         can not do multiple spaces this way" message once during a
17539         session.
17540
17541 2001-05-08  Baruch Even  <baruch@lyx.org>
17542
17543         * Makefile.am: Changed order of libraries to get LyX to link properly
17544         with the gnome frontend.
17545
17546 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17547
17548         * LaTeXFeatures.h: add a std:: qualifier
17549
17550 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17551
17552         * paragraph.C (String): use stringstream
17553
17554 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17555
17556         * paragraph.C (writeFile): remove footflag arg
17557
17558         * buffer.C (makeLaTeXFile): use stringstream
17559         (latexParagraphs): remove footnot gurba
17560
17561         * LaTeXFeatures.C (getPackages): use stringstream
17562         (getMacros): likewise
17563         (getTClassPreamble): likewise
17564         (getFloatDefinitions): new method
17565
17566         * paragraph.C (writeFile): reindent
17567         (Erase): reindent
17568
17569         * WorkArea.h: revert the xpos + etc changes.
17570
17571         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17572
17573         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17574
17575         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17576         (pasteSelection): likewise
17577         * text2.C (CreateUndo): likewise
17578
17579 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17580
17581         * minibuffer.C (peek_event): temporarily reduce the functionality
17582         of the minibuffer (to allow args on lfuns)
17583
17584         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17585         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17586
17587         * buffer.C (readInset): add compability reading of old float
17588         lists, add reading of new style float list.
17589         (readInset): avoid reevaluation of inscmd.getCmdName()
17590         (getLists): reindent
17591
17592         * MenuBackend.C (MenuItem): implement parsing of
17593         md_floatlistinsert and md_floatinsert.
17594         (expand::LastFiles): move initalizaton of iterators out of loop,
17595         avoid reevaluation.
17596         (expand::Documents): introduce typdedef vector<string> Strings,
17597         and use it.
17598         (expand::ExportFormats): introduce typedef vector<Format const *>
17599         Formats, and use it.
17600         (expand): implement FloatListInsert and FloatInsert.
17601
17602         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17603         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17604         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17605
17606         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17607         handling.
17608         (Dispatch::LFUN_FLOAT_LIST): implement
17609
17610 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17611
17612         * LaTeX.C (run): Fix problem with --export code.
17613
17614 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17615
17616         * BufferView.[Ch] (workarea): removed.
17617         (getClipboard) new method; wrapper for workarea()->getClipboard()
17618
17619         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17620         bug.
17621
17622         * WorkArea.h (width, height, xpos, ypos): These methods all
17623         returned the dimensions of the work_area sub-area of WorkArea,
17624         resulting in a position error if the WorkArea were resized. Now
17625         return the dimensions of the entire WorkArea.
17626
17627         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17628
17629 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17630
17631         * LaTeX.C (deplog): correct the syntax of regex reg1
17632
17633 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17634
17635         * undo.C: remove !NEW_INSETS cruft
17636
17637 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17638
17639         * text2.C: remove !NEW_INSETS cruft
17640
17641         * text.C: remove !NEW_INSETS cruft
17642
17643         * tabular.C: remove !NEW_INSETS cruft
17644
17645         * spellchecker.C: remove !NEW_INSETS cruft
17646
17647         * lyxtext.h: remove !NEW_INSETS cruft
17648
17649         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17650
17651         * lyxfunc.C: remove !NEW_INSETS cruft
17652
17653         * lyxfind.C: remove !NEW_INSETS cruft
17654
17655         * lyx_cb.C: remove !NEW_INSETS cruft
17656
17657         * figureForm.C: remove  !NEW_INSETS cruft
17658
17659         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17660
17661         * buffer.[Ch]: remove !NEW_INSETS cruft
17662
17663         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17664
17665         * CutAndPaste.C: remove !NEW_INSETS cruft
17666
17667         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17668
17669         * BufferView2.C: remove !NEW_INSETS cruft
17670
17671         * BufferView.h: remove !NEW_INSETS cruft
17672
17673 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17674
17675         * Lsstream.h: include LString.h before the sstream headers to
17676         fix problem with gcc 2.95.3 and lyxstring
17677
17678 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17679
17680         * lyx_main.C: add using directives when needed for C functions
17681         declared in std:: namespace.
17682
17683 2001-04-27  Juergen Vigna  <jug@sad.it>
17684
17685         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17686         (SetHeightOfRow): comment out the update call should not be needed!
17687
17688 2001-04-13  Juergen Vigna  <jug@sad.it>
17689
17690         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17691         (LyXTabular): tried to minimize operator= operations (and realized
17692         hopfully Lars wish).
17693
17694 2001-04-27  Juergen Vigna  <jug@sad.it>
17695
17696         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17697
17698 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17699
17700         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17701
17702         * buffer.C (readInset): hack to make listof algorithm work
17703
17704         * BufferView_pimpl.C: hack to make listof algorithm work
17705
17706 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17707
17708         * LyXAction.C: removed all !NEW_INSETS cruft
17709         (init): moved lfun_item in method
17710
17711         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17712
17713 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17714
17715         * BufferView2.C (theLockingInset): white space.
17716
17717 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17718
17719         * minibuffer.C: include <iostream>
17720
17721         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17722
17723         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17724
17725         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17726
17727         * text.[Ch] (TransposeChars): new method
17728
17729 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17730
17731         * call message directly through LyXView instead of through LyXFunc
17732         * BufferView2.C: adjust
17733         * BufferView_pimpl.C: adjust
17734         * FontLoader.C: adjust
17735         * buffer.C: adjust
17736         * bufferview_funcs.C: adjust
17737         * converter.C: adjust
17738         * figureForm.C: adjust
17739         * importer.C: adjust
17740         * lyx_cb.C: adjust
17741         * lyx_gui_misc.C: adjust
17742         * lyxfunc.C: adjust
17743         * lyxvc.C: adjust
17744         * text2.C: adjust
17745         + more files in subdirs
17746
17747         * lyxparagraph.h (size): move up int file
17748         (GetLayout): ditto
17749
17750         * adjust all uses of Assert to lyx::Assert.
17751
17752         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17753         lyxfunctional in namespace lyx
17754         * layout.C (hasLayout): ditto
17755         (GetLayout): ditto
17756         (GetLayout): ditto
17757         (delete_layout): ditto
17758         (NumberOfClass): ditto
17759         * converter.C (GetFormat): ditto
17760         (GetNumber): ditto
17761         (Add): ditto
17762         (Delete): ditto
17763         (SetViewer): ditto
17764         * bufferlist.C (getFileNames): ditto
17765         (emergencyWriteAll): ditto
17766         (exists): ditto
17767         (getBuffer): ditto
17768         * MenuBackend.C (hasSubmenu): ditto
17769         (hasMenu): ditto
17770         (getMenu): ditto
17771         * BufferView_pimpl.C (getInsetByCode): ditto
17772
17773 2001-04-18  Juergen Vigna  <jug@sad.it>
17774
17775         * vspace.C (asLatexString): fixed the 100% problem.
17776
17777 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17778
17779         * lyxfunc.C (Dispatch):
17780         * minibuffer.C:
17781         * minibuffer.h: add a few std:: qualifiers
17782
17783 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17784
17785         * minibuffer.[Ch]: reimplement so that commands is initiated and
17786         run from lyxfunc, simplified som handling, and made the completion
17787         and history code for complete. wip.
17788
17789         * lyxfunc.C (processKeySym): call message
17790         (miniDispatch): new temporary method
17791         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17792         (LFUN_MESSAGE): implement
17793         (LFUN_MESSAGE_PUSH): implement
17794         (LFUN_MESSAGE_POP): implement
17795         (initMiniBuffer): the initial/defualt minibuffer message.
17796
17797         * lyxfont.[Ch]: inline some more getters
17798
17799         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17800
17801         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17802
17803         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17804         (AutoSave): use LFUN_MESSAGE
17805         (Reconfigure): ditto
17806
17807         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17808
17809         * figureForm.C: use LFUN_MESSAGE
17810
17811         * converter.C (runLaTeX): use LFUN_MESSAGE
17812
17813         * bufferview_funcs.C: use LFUN_MESSAGE
17814         (Melt): ditto
17815         (changeDepth): ditto
17816
17817         * bufferparams.h: use boost::
17818
17819         * bufferlist.h: inherit privately from noncopyable
17820
17821         * bufferlist.C (loadLyXFile): remove some commented code.
17822
17823         * buffer.C (runChktex): use LFUN_MESSAGE
17824
17825         * ShareContainer.h: inherit privately from noncopyable
17826
17827         * ParagraphParameters.[hC] (depth): inline it.
17828
17829         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17830         methods.
17831         (message): new method
17832         (messagePush): ditto
17833         (messagePop): ditto
17834         (show): init minibuffer
17835         (showState): direct call
17836
17837         * LaTeX.[Ch]: inherit privately from noncopyable
17838         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17839         instead of WriteStatus.
17840
17841         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17842
17843         * BufferView_pimpl.C (buffer): don't init minibuffer
17844         (workAreaButtonPress): use LFUN_MESSAGE
17845         (workAreaButtonRelease): ditto
17846         (savePosition): ditto
17847         (restorePosition): ditto
17848         (MenuInsertLyXFile): ditto
17849         (workAreaExpose): don't init minibuffer
17850         (update): remove commented code, simplify
17851
17852         * BufferView2.C (openStuff): use LFUN_MESSAGE
17853         (toggleFloat): ditto
17854         (menuUndo): ditto
17855         (menuRedo): ditto
17856         (copyEnvironment): ditto
17857         (pasteEnvironment): ditto
17858         (copy): ditto
17859         (cut): ditto
17860         (paste): ditto
17861         (gotoInset): ditto
17862         (updateInset): remove some commented code
17863
17864         * lastfiles.h: inherit privately from noncopyable
17865         * layout.h: ditto
17866         * lyx_gui.h: ditto
17867         * lyx_main.h: ditto
17868         * lyxlex.h: ditto
17869         * lyxlex_pimpl.h: ditto
17870
17871         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17872         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17873         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17874
17875         * LyXAction.h: inherit privately from noncopyable, add methods
17876         func_begin, func_end, returning iterators to the func map.
17877
17878         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17879         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17880         (func_begin): new method
17881         (func_end): new method
17882
17883         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17884         and not)
17885         (copySelection): ditto
17886         (pasteSelection): ditto
17887
17888         * BufferView.C: whitespace change
17889         * BufferView.h: inherit privately from noncopyable
17890
17891 2001-04-16  Allan Rae  <rae@lyx.org>
17892
17893         * tabular-old.C (l_getline):
17894         * spellchecker.C (sc_check_word):
17895         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17896         an unrecognised preprocessor directive.  So ensure they're wrapped.
17897
17898 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17899
17900         * src/exporter.C (Export): Give an error message when path to file
17901         contains spaces.
17902
17903 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17904
17905         * LaTeX.C (deplog): Always check that foundfile exists.
17906
17907 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17908
17909         * lyx_main.h:
17910         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17911
17912 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17913
17914         * tabular.[Ch] (getLabelList): implement new method
17915
17916         * minibuffer.h: comment ouf setTiimer
17917
17918         * minibuffer.C (ExecutingCB): constify res
17919         (peek_event): constify s
17920         (Set): constify ntext
17921         (Init): constify nicename
17922
17923         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17924
17925         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17926         (savePosition): use two params to Minibuffer::Set
17927         (restorePosition): ditto
17928
17929 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17930
17931         * lyx_main.C: include language.h
17932
17933         * Makefile.am (lyx_main.o): add language.h
17934
17935 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17936
17937         * exporter.C:
17938         * paragraph.C:
17939         * screen.C:
17940         * tabular.C:
17941         * CutAndPaste.C: include gettext.h
17942
17943         * lyxfont.h: remove old hack with ON and OFF.
17944
17945         * lyxparagraph.h:
17946         * lyxfont.h: do not include language.h...
17947
17948         * BufferView2.C:
17949         * LaTeXFeatures.C:
17950         * Painter.C:
17951         * bufferview_funcs.C:
17952         * font.C:
17953         * lyxfont.C:
17954         * text.C:
17955         * text2.C:
17956         * trans_mgr.C:
17957         * paragraph.C: ... but do it here instead
17958
17959 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17960
17961         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17962
17963         * tabular.C: small reformat
17964
17965         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17966         NEW_INSETS version
17967         (GetChar): ditto
17968         (BreakParagraph): ditto
17969         (SetOnlyLayout): ditto
17970         (SetLayout): ditto
17971
17972         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17973         with one arg less.
17974
17975         * lastfiles.C: removed most using decl, add std:: where needed
17976
17977         * buffer.C: ws changes
17978
17979         * MenuBackend.C (class compare_format): put into anon namespace
17980         (expand): constify label, names, action, action2
17981         (expand):
17982
17983         * text.C (SingleWidth): constify font
17984         (IsBoundary): constify rtl2
17985         (GetVisibleRow): constify ww
17986
17987         * LaTeX.C (deplog): constify logfile
17988
17989         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17990         start_x, end_x
17991         (workAreaExpose): constify widthChange, heightChange
17992
17993         * lyxrow.C (par): moved
17994         (height): moved
17995         (next): moved
17996         * lyxrow.h: as inlines here
17997
17998         * lyxfont.h (shape): moved from lyxfont.C
17999         (emph): moved from lyxfont.C
18000
18001         * lyxfont.C (LyXFont): use initialization list for all
18002         constructors
18003         (shape): move to lyxfont.h as inline
18004         (emph): move to lyxfont.h as inline
18005
18006
18007 2001-04-04  Juergen Vigna  <jug@sad.it>
18008
18009         * vspace.C: had to include stdio.h for use of sscanf
18010
18011 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
18012
18013         * BufferView.h:
18014         * BufferView_pimpl.h: remove xforms cruft. Both classes are
18015         independent of xforms.
18016
18017 2001-04-02  Juergen Vigna  <jug@sad.it>
18018
18019         * spellchecker.C: fixed namespace placing!
18020
18021 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
18022
18023         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
18024         the LyXParagraph * is 0.
18025
18026 2001-03-29  Juergen Vigna  <jug@sad.it>
18027
18028         * vspace.C: added support for %, c%, p%, l%.
18029         (stringFromUnit): added helper function.
18030         (asLatexString): changed to give right results for the %-values.
18031
18032         * buffer.C: convert the widthp in a width%.
18033
18034 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
18035
18036         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
18037         figureForm.[Ch].
18038
18039         * figureForm.[Ch]: stripped the FD_from_figure manipulation
18040         code out of lux_cb.[Ch], ready for its (imminent?) removal.
18041
18042         * lyx_cb.[Ch]: see above.
18043
18044         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18045         form1.[Ch].
18046
18047         * form1.[Ch]:
18048         * lyx.[Ch]: replaced by figure_form.[Ch].
18049
18050         * lyx_gui.C:
18051         * lyx_gui_misc.C:
18052         * lyxfunc.C: changed headers associated with above changes.
18053
18054 2001-03-27  Juergen Vigna  <jug@sad.it>
18055
18056         * BufferView_pimpl.C: set the temporary cursor right!
18057
18058 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
18059
18060         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18061
18062 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
18063
18064         * LString.h: removed "using std::getline"!
18065
18066         * BufferView_pimpl.C (Dispatch): changes due to changes in
18067         InsetInclude::Params.
18068
18069         * buffer.C (tag_name): removed redundant break statements as they were
18070         producing lots of warnings with my compiler.
18071
18072 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18073
18074         * LString.h: add "using std::getline" when using the real <string>.
18075
18076 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18077
18078         * buffer.C: removed bitset usage.
18079         PAR_TAG moved to an anonymous name space.
18080         (tag_name): new funtion, also in the anonymous namespace.
18081         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18082         (makeDocBookFile): clean code. Completed transition from string arrays
18083         to string vectors.
18084         (SimpleDocBookOnePar): code clean.
18085
18086 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18087
18088         * tabular.C: add some comments.
18089
18090 2001-03-22  Juergen Vigna  <jug@sad.it>
18091
18092         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18093         compatibility read a bit and fixed bug with minipage in different
18094         depth.
18095
18096 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18097
18098         * buffer.C (pop_tag): removed.
18099         (push_tag): removed.
18100         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18101         array replaced with vector. Added support for CDATA sections.
18102         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18103         at any nest level.
18104         (makeDocBookFile): XML conformant declaration of CDATA section,
18105         fixed bug related to <emphasis> in the first paragraph char.
18106         (sgmlOpenTag): exclude empty tags.
18107         (sgmlCloseTag): ditto.
18108
18109         * buffer.h (pop_tag): removed.
18110         (push_tag): removed.
18111
18112 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18113
18114         * language.h (Languages): added size_type and size().
18115
18116 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18117
18118         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18119         response on compability reading of minipages. One probliem is that
18120         the old usage of minipages was flertydig
18121
18122         * several files here and in subdirs: don't use static at file
18123         scope use anon namespaces instead.
18124
18125 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18126
18127         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18128         LaTeX output. This is necessary for Literate document
18129         processing.
18130
18131 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18132
18133         * buffer.C: insert hfill when needed.
18134
18135         * tabular.C (l_getline): use string::erase, small whitespace change.
18136
18137         * BufferView_pimpl.C: try the anon namespace.
18138         * WorkArea.C: ditto
18139
18140 2001-03-16  Juergen Vigna  <jug@sad.it>
18141
18142         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18143         otherwise it won't open options-dialogs.
18144
18145         * buffer.C: honor pextraWidth(p) on converting minipages.
18146
18147         * tabular.C (l_getline): changed the functions to strip trailing \r.
18148
18149 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18150
18151         * BufferView_pimpl.C:
18152         * minibuffer..C: added "using SigC::slot" declaration.
18153
18154 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18155
18156         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18157
18158         * text2.C: ditto
18159
18160         * text.C: ditto
18161
18162         * paragraph.C: ditto
18163
18164         * lyxtext.h: NO_PEXTRA
18165
18166         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18167
18168         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18169         * ParameterStruct.h: ditto
18170         * ParagraphParameters.h: ditto
18171         * lyxparagraph.h: ditto
18172
18173 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18174
18175         * buffer.C: add compability for minipage alignment.
18176         (latexParagraphs): remove unwanted pextra check.
18177
18178         * several files: remove CXX_WORKING_NAMESPACES
18179
18180         * buffer.C (pop_tag): tie is in namespace boost
18181
18182         * BufferView.h: noncopyable is in namespace boost
18183         * lyxlex.h: ditto
18184         * lyx_main.h: ditto
18185         * lyx_gui.h: ditto
18186         * layout.h: ditto
18187         * lastfiles.h: ditto
18188         * bufferlist.h: ditto
18189         * ShareContainer.h: ditto
18190         * LyXView.h: ditto
18191         * LyXAction.h: ditto
18192         * LaTeX.h: ditto
18193
18194 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18195
18196         * Merging changes from BRANCH_MVC back into HEAD.
18197
18198         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18199
18200 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18201
18202         * BufferView_pimpl.C: change from intl.C
18203
18204         * combox.h:
18205         * combox.C:
18206         * Makefile.am: move combox.*
18207
18208         * form1.h:
18209         * form1.C:
18210         * lyx_gui.C:
18211         * intl.h:
18212         * intl.C: remove dialog (covered by prefs)
18213
18214 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18215
18216         * lyxfunc.C (Dispatch): removed redundant break statement.
18217
18218 2001-03-14  Juergen Vigna  <jug@sad.it>
18219
18220         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18221
18222 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18223
18224         * buffer.C: add hack to fix compability reading of minipages.
18225
18226 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18227
18228         * buffer.C (getLists): Cleanup.
18229
18230 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18231
18232         * lyxfont.C (update): don't honor toggleall on font size.
18233
18234 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18235
18236         * bmtable.c:
18237         * bmtable.h:
18238         * Makefile.am: moved to frontends/xforms/
18239
18240         * lyx_gui_misc.C:
18241         * lyxfunc.C:
18242         * BufferView_pimpl.C: changes for moved mathpanel
18243
18244 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18245
18246         * gettext.h: fix gettext_init() in --disable-nls
18247
18248 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18249
18250         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18251
18252 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18253
18254         * lyx.C:
18255         * lyx.h: strip external form
18256
18257 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18258
18259         * BufferView_pimpl.C: add comment, destroySplash()
18260
18261 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18262
18263         * BufferView_pimpl.C:
18264         * LyXAction.C:
18265         * buffer.C:
18266         * commandtags.h:
18267         * lyxfunc.C: use re-worked insetinclude
18268
18269 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18270
18271         * buffer.C: add using std::stringstream.
18272
18273         * lyx_cb.C: readd using std::ios.
18274
18275         * buffer.C: add using std::map.
18276
18277         * BufferView_pimpl.C: add using std::vector.
18278
18279         * ShareContainer.h: add std:: to swap.
18280
18281         * buffer.h: add some typedefs
18282         * buffer.C (getLists): use them
18283         (getLists): renamed from getTocList.
18284         add a counter for the different float types and use it in the
18285         generated string.
18286         (getLists): use the same counter for the NEW_INSETS and the "non"
18287         NEW_INSETS
18288
18289         * lyx_cb.h: remove unused items, includes, using etc.
18290
18291         * ShareContainer.h: remove some commented code, add more comments
18292         and "documentation".
18293
18294 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18295
18296         * buffer.C (getTocList): make the list also when NEW_INSETS is
18297         defined.
18298
18299         * buffer.h: remove TocType
18300
18301         * buffer.C (getTocList): change to return a map<string,
18302         vector<TocItem> >, implement for dynamic number of list.
18303
18304         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18305         * text2.C (PasteSelection): adjust
18306         * CutAndPaste.C (pasteSelection): adjust
18307
18308         * FloatList.C (FloatList): update from the new_insets branch.
18309         * Floating.[Ch]: ditto
18310         * LaTeXFeatures.C: ditto
18311         * buffer.C: ditto
18312         * lyxlex_pimpl.C: ditto
18313
18314         * paragraph.C (Last): remove when NEW_INSETS is defined.
18315
18316         * other file: changes because of the above.
18317
18318 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18319
18320         * lyxparagraph.h: rename next to next_, previous to previous_,
18321         make them private for NEW_INSETS. Rename Next() to next(),
18322         Previous() to previous().
18323
18324         * other files: changes because of the above.
18325
18326 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18327
18328         * BufferView.h:
18329         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18330         problem.
18331
18332 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18333
18334         * main.C (main): pass lyx_localedir to gettext_init().
18335
18336         * gettext.h: remove locale_init and gettext_init macros
18337
18338         * gettext.C (locale_init): new function
18339         (gettext_init): new function
18340
18341         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18342         setlocale().
18343
18344 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18345
18346         * Moved credits to frontends:
18347         * credits.[Ch]: removed
18348         * credits_form.[Ch]: removed
18349         * lyx_gui_misc.C: remove credits stuff
18350         * Makefile.am:
18351
18352 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18353
18354         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18355
18356         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18357         unneeded destructor.
18358
18359         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18360         a standalone pointer again.
18361
18362         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18363
18364 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18365
18366         * Makefile.am:
18367         * filedlg.h:
18368         * filedlg.C:
18369         * LyXAction.C:
18370         * ToolbarDefaults.C:
18371         * bufferlist.C:
18372         * commandtags.h:
18373         * form1.C:
18374         * form1.h:
18375         * lyx_cb.C:
18376         * lyx_cb.h:
18377         * lyxfunc.h:
18378         * lyxfunc.C:
18379         * BufferView_pimpl.C: use new file dialog in GUII
18380
18381         * lyx_cb.h:
18382         * lyx_cb.C: remove LayoutsCB to Toolbar
18383
18384 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18385
18386         * ShareContainer.h (get): add std:: qualifier
18387
18388 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18389
18390         * ShareContainer.h: define a proper ShareContainer::value_type
18391         type (and use typename to please compaq cxx)
18392
18393 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18394
18395         * lyxparagraph.h: move serveral local vars to
18396         ParameterStruct/ParagraphParameters., use ShareContainer in
18397         FontTable., make vars in FontTable private and add getter and
18398         setter.
18399
18400         * paragraph.C: changes because of the above.
18401
18402         * lyxfont.h: remove copy constructor and copy assignment. (the
18403         default ones is ok), move number inside FontBits. move inlines to
18404         lyxfont.C
18405
18406         * lyxfont.C: add number to initializaton of statics, move several
18407         inlines here. constify several local vars. some whitespace
18408         cleanup. Dont hide outerscope variables.
18409
18410         * Spacing.h: add two new constructors to match the set methods.
18411
18412         * ShareContainer.h: new file, will perhaps be moved to support
18413
18414         * ParameterStruct.h: new file
18415
18416         * ParagraphParameters.h: new file
18417
18418         * ParagraphParameters.C: new file
18419
18420         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18421         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18422
18423         * BufferView_pimpl.C: ParagraphParameter changes.
18424         * buffer.C: Likewise.
18425         * bufferview_funcs.C: Likewise.
18426         * text.C: Likewise.
18427         * text2.C: Likewise.
18428
18429 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18430
18431         * lyxfind.C (LyXReplace): do not redefine default argument in
18432         implementation.
18433         (IsStringInText): ditto
18434         (SearchForward): ditto
18435         (SearchBackward): ditto
18436
18437 2001-03-06  Juergen Vigna  <jug@sad.it>
18438
18439         * lyxfind.C (IsStringInText): put parentes around expressions.
18440
18441 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18442
18443         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18444
18445 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18446
18447         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18448
18449         * stl_string_fwd.h: add comment
18450
18451         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18452
18453         * tabular.h:
18454         * tabular.C: remove unused DocBook methods
18455
18456         * intl.C:
18457         * language.C:
18458         * paragraph.C:
18459         * buffer.C:
18460         killed DO_USE_DEFAULT_LANGUAGE
18461
18462 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18463
18464         * lyx_gui.C: do not include language.h.
18465
18466         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18467         arguments in function implementation.
18468
18469 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18470
18471         * BufferView_pimpl.C: add <ctime>
18472
18473 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18474
18475         * BufferView_pimpl.C: add using std::find_if
18476
18477 2001-02-27  José Matos  <jamatos@fep.up.pt>
18478
18479         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18480         by OnlyPath.
18481
18482 2001-02-11  José Matos  <jamatos@fep.up.pt>
18483
18484         * buffer.C (makeDocBookFile): command styles now have a parameter as
18485         "title" by default.
18486
18487 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18488
18489         * layout_forms.[Ch]: removed
18490         * lyx_cb.[Ch]: out character
18491         * lyx_gui.C: out character
18492         * lyx_gui_misc.C: out character
18493         * bufferview_funcs.C: : out character,
18494         added toggleall as parameter in ToggleAndShow
18495
18496 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18497
18498         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18499
18500         * text2.C (SetCurrentFont): Disable number property at boundary.
18501
18502 2001-02-26  Juergen Vigna  <jug@sad.it>
18503
18504         * lyxfunc.C (getStatus): added a string argument override function so
18505         that this is correctly called from LyXFunc::Dispatch if it contains a
18506         do_not_use_argument which is used!
18507         (Dispatch): added check for "custom" export and call appropriate func.
18508
18509 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18510
18511         * lyxrc.C: Add language_command_local, language_use_babel and
18512         language_global_options.
18513
18514         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18515
18516         * buffer.C (makeLaTeXFile): Use language_use_babel and
18517         language_global_options.
18518
18519 2001-02-23  Juergen Vigna  <jug@sad.it>
18520
18521         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18522         which works with LyXText and putted it inside BufferView. Here now we
18523         only call for that part the BufferView::Dispatch() function.
18524
18525         * BufferView.C (Dispatch): added.
18526
18527         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18528         functions which needs to use a LyXText over from LyXFunc.
18529         (MenuInsertLyXFile): added
18530         (getInsetByCode): added
18531         (moveCursorUpdate): added
18532         (static TEXT): added
18533
18534 2001-02-22  Juergen Vigna  <jug@sad.it>
18535
18536         * BufferView_pimpl.C (update): call a status update to see if LyXText
18537         needs it.
18538
18539 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18540
18541         * vc-backend.C (revert): implement for CVS
18542         (getLog): implement for CVS
18543
18544 2001-02-20  Juergen Vigna  <jug@sad.it>
18545
18546         * text2.C (ClearSelection): added BufferView param for inset_owner call
18547
18548         * lyxfunc.C (TEXT): added this function and use it instead of
18549         directly owner->view()-text of getLyXText().
18550
18551 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18552
18553         * src/layout_forms.C: out preamble
18554         * src/layout_forms.h: out preamble
18555         * src/lyx_cb.C: out preamble
18556         * src/lyx_cb.h: out preamble
18557         * src/lyx_gui.C: out preamble
18558         * src/lyx_gui_misc.C: out preamble
18559         * src/lyxfunc.C: connect with guii preamble
18560
18561 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18562
18563         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18564
18565 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18566
18567         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18568         whether to run bibtex.
18569
18570 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18571
18572         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18573
18574 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18575
18576         * Makefile.am (lyx_SOURCES): removed bibforms.h
18577
18578         * vspace.h: doxygen
18579
18580         * text.C (GetVisibleRow): make several local vars const
18581
18582         * tabular.C: small cleanup.
18583
18584         * lyxserver.C (callback): use compare instead of strncmp
18585
18586         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18587         inlines to after class or to paragraph.C
18588
18589         * lyxfont.h: remove friend operator!=
18590
18591         * converter.h: move friend bool operator< to non friend and after
18592         class def.
18593
18594         * combox.h: small cleanup
18595
18596         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18597         to inlines after class def.
18598
18599         * buffer.C (pop_tag): use string operations instead of strcmp
18600
18601         * bmtable.c: doxygen, small cleanup
18602
18603         * LaTeX.h: remove friend operator==
18604
18605 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18606
18607         * screen.C:
18608         * lyxrc.[Ch]:
18609         * lyxfunc.C:
18610         * lyxfont.[Ch]:
18611         * lyx_cb.C:
18612         * intl.[Ch]:
18613         * commandtags.h:
18614         * buffer.C:
18615         * WorkArea.[Ch]:
18616         * LyXAction.C:
18617         * BufferView_pimpl.C:
18618         * BufferView.[Ch]: remove cruft
18619
18620 2001-02-14  Juergen Vigna  <jug@sad.it>
18621
18622         * lyxfunc.C: removed #if 0 unused code
18623
18624         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18625
18626         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18627
18628         * text2.C (SetSelection): added a BufferView * parameter
18629
18630 2001-02-13  Juergen Vigna  <jug@sad.it>
18631
18632         * lyxfunc.C (Dispatch): fixed protected blank problem.
18633         * BufferView2.C (protectedBlank): added LyxText * parameter.
18634
18635         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18636         (AppendColumn): same as above for column_info.
18637
18638         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18639         (moveCursorUpdate): use a LyXText param for support of InsetText.
18640
18641         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18642         (tripleClick): ditto
18643
18644         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18645
18646         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18647
18648         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18649
18650         * text2.C (SetSelection): set correct update status if inset_owner
18651         (ToggleFree): ditto
18652
18653 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18654
18655         * tabular.C: remove some commented code.
18656
18657 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18658
18659         * BufferView_pimpl.C: call hideSplash()
18660
18661         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18662
18663         * include_form.h:
18664         * bibforms.h: remove
18665
18666         * lyxfunc.C:
18667         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18668           add LFUN_CHILD_CREATE
18669
18670         * counters.h: fix tiny typo
18671
18672         * lyx_cb.C:
18673         * lyx.h:
18674         * lyx_gui.C:
18675         * lyx.C: move splash to frontends/xforms/
18676
18677         * lyx_gui_misc.C: move Include and Bibform to frontends
18678
18679         * lyxvc.h: clarify comment
18680
18681         * vspace.C: tiny housekeeping
18682
18683 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18684
18685         * text.C (PrepareToPrint): RTL Fix.
18686
18687         * paragraph.C (GetUChar): New method.
18688         (String):  Use GetUChar.
18689
18690         * buffer.C (asciiParagraph): Use GetUChar.
18691
18692 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18693
18694         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18695
18696 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18697
18698         * buffer.h:
18699         * buffer.C: rename to getLogName(), handle
18700           build log / latex log nicely
18701
18702 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18703
18704         * MenuBackend.C:
18705         * MenuBackend.h: remove support for reference menuitem type.
18706
18707 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18708
18709         * BufferView_pimpl.C: housekeeping
18710         * BufferView_pimpl.h:
18711         * LyXView.h:
18712         * Makefile.am:
18713         * Timeout.C:
18714         * Timeout.h:
18715         * minibuffer.h: move Timeout GUI-I
18716
18717 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18718
18719         * lyxrc.C (read): Update converters data-structures.
18720
18721 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18722
18723         * LaTeX.h (operator!=): add operator != for Aux_Info
18724
18725 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18726
18727         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18728
18729         * LaTeXLog.C: deleted, useful code moved to Buffer
18730
18731         * buffer.h:
18732         * buffer.C: new function getLatexLogName()
18733
18734         * lyx_gui_misc.C:
18735         * lyx_gui.C:
18736         * lyxvc.C:
18737         * lyxvc.h:
18738         * lyxfunc.C: use frontends for LaTeX and VC logs
18739
18740 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18741
18742         * LaTeX.h: yet another std:: that Allan forgot.
18743
18744         * Variables.C (set): renamed from isset(), because this clashes
18745         with some HP-UX macros (grr).
18746
18747 2001-02-06  Allan Rae  <rae@lyx.org>
18748
18749         * LaTeX.h: Another bug fix.  Missing std:: this time.
18750
18751 2001-02-04  Allan Rae  <rae@lyx.org>
18752
18753         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18754         floats problem. I've left it commented out because it's not quite
18755         correct.  It should also test that the current object is a table or
18756         figure inset.  But I haven't gotten around to figuring out how to do
18757         that.  I *think* it'll be something like: "table" == inset.type()
18758
18759         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18760         bool.
18761
18762 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18763
18764         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18765         all the citation/databases/styles in the auxilary file.
18766         (run): Rerun latex if there was a babel language error.
18767
18768 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18769
18770         * text.C (Backspace): Preserve the font when changing newline char
18771         with a space.
18772         (BreakParagraph): If the cursor is before a space, delete the space.
18773
18774         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18775
18776 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18777
18778         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18779         new argument (code).
18780         (ChangeCitationsIfUnique): New method.
18781
18782         * paragraph.C (GetPositionOfInset): Handle bibkey.
18783
18784 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18785
18786         * BufferView_pimpl.h: change type of Position::par_pos to
18787         LyXParagraph::size_type.
18788
18789 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18790
18791         * BufferView_pimpl.C (savePosition, restorePosition): Write
18792         messages to minibuffer.
18793
18794 2001-01-28  José Matos  <jamatos@fep.up.pt>
18795
18796         * buffer.C (makeDocBookFile): adds support for document language.
18797         A silly restriction on the name of LatexCommand types where removed.
18798         Added support for CDATA sections, allows to chars unescaped, used
18799         among others in code, to avoid escape < and >.
18800
18801 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18802
18803         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18804         saved positions instrad of a stack. Furthermore, a position is
18805         stored using paragraph id/paragraph position.
18806
18807         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18808         Remove LFUN_REF_BACK.
18809
18810 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18811
18812         * converter.C (dvipdfm_options): New method.
18813
18814 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18815
18816         * vspace.C (isValidLength): Fix for empty input string.
18817
18818 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18819
18820         * LyXAction.C (init): change description of LFUN_FIGURE to
18821         "Insert Graphics"
18822
18823 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18824
18825         * LaTeX.C: add using directive
18826
18827 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18828
18829         * MenuBackend.C (expand): Fix the sorting of the formats.
18830
18831 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18832
18833         * lyx_main.C: tiny error message fix
18834
18835 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18836
18837         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18838         calling fl_initialize(). This fixes the problem with ',' as
18839         decimal separator in text files.
18840
18841 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18842
18843         * trans.C (process): Fix the keymap bug.
18844
18845 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18846
18847         * LaTeX.C (scanAuxFiles): New method. Provides support for
18848         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18849         (scanLogFile) Scan for "run BibTeX" messages.
18850
18851         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18852         OT1 font encoding. Also, load the aecompl package if the ae
18853         package is loaded.
18854
18855         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18856
18857 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18858
18859         * texrow.C (increasePos): turn two error messages into debug
18860         messages.
18861
18862 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18863
18864         * LaTeX.C (scanAux): Handle the \@input macro.
18865         (runBibTeX): Use scanAux().
18866
18867         * language.C (latex_options_): New field.
18868
18869         * LaTeXFeatures.C (getMacros): Add language macros.
18870
18871         * buffer.C (makeLaTeXFile): Small fix.
18872
18873 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18874
18875         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18876
18877         * text2.C: add a using directive.
18878
18879 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18880
18881         * BufferView2.C:
18882         * lyx_gui_misc.h:
18883         * lyxfr1.C:
18884         * lyxfunc.C: kill LyXBell.
18885
18886 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18887
18888         * text.C (IsBoundary): Remove the error message
18889
18890         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18891
18892         * lyxrc.C (setDefaults): Correct initialization value for
18893         font_norm_type.
18894
18895 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18896
18897         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18898         gotoError().
18899
18900         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18901         and GotoNextNote().
18902
18903         * src/LyXAction.C: Added reference-next.
18904
18905         * text.C (InsertChar): Use contains instead of strchr.
18906
18907         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18908
18909 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18910
18911         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18912         alignment commands (when needed).
18913
18914         * text.C (InsertChar): Add ':' to number separator chars.