]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
rename MathArray into MathData
[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-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
42
43         * buffer.C: format up to 246.
44
45 2006-03-13  Martin Vermeer  <martin.vermeer@hut.fi>
46
47         * rowpainter.C (paintChangeBar): fix painting of change bar with
48         only paragraph break changed
49
50 2006-03-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
51
52         * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure
53         * lyx_main.C (reconfigureUserLyXDir): run ditto
54
55 2006-03-12  Martin Vermeer  <martin.vermeer@hut.fi>
56
57         * lyxtext.h: doxygen documentation fix
58
59 2006-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
60
61         * paragraph.[Ch] (write, lookupChange, lookupChangeFull;
62         added setChangeFull):
63         * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
64         rejectChange, erase; added setChangeFull):
65         * CutAndPaste.C (eraseSelectionHelper):
66         * lyxtext.h:
67         * text.C (readParToken, readParagraph, breakParagraph,
68         acceptChange, rejectChange, backspace, currentState; 
69         added backspacePos0):
70         * paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
71         * lyxfind.C (findChange, findNextChange): fix bug 880: Change
72         tracked paragraphs should still allow a paragraph split (and related
73         things, i.e., multi-paragraph change tracking)
74
75 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
76
77         * BufferView_pimpl.C: fix bug 2212: First change is skipped is
78         "Merge changes..." dialog
79
80 2006-03-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
81
82         * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX 
83         error if the class has not defined them yet (bug 2053).
84
85 2006-03-10  Martin Vermeer  <martin.vermeer@hut.fi>
86
87         * BufferView.[Ch]:
88         * BufferView_pimpl.[Ch]: 
89         * LyXAction.C:
90         * debug.[Ch]:
91         * rowpainter.C:
92         * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195)
93
94 2006-03-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
95
96         * pch.h: fix nullstream.hpp location for boost 1.33.0
97
98 2006-03-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
99
100         * pch.h:
101         * support/pch.h:
102         * support/debugstream.h: Use the correct nullstream.
103
104 2006-02-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
105
106         * text3.C (mathDispatch): fix math inset creation from string (bug 2315)
107
108 2006-02-28  Martin Vermeer  <martin.vermeer@hut.fi>
109
110         * cursor.C (niceInsert): fix (properly) insertion of
111         fonts/decorations around selection
112
113 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
114
115         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
116
117 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * text3.C (mathDispatch): fix crash when selection is not empty
120         but selectionAsString is empty (bug 2321).
121
122 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
123
124         * text.C (changeCase): avoid crash in empty paragraph or on last
125         word of the paragraph. (buf 2323)
126         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
127
128 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
129
130         * buffer.C (readHeader): also erase params.preamble in advance
131         so that an empty preamble is actually recognized (bug 2317).
132
133         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
134
135 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
136
137         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
138
139 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
140
141         * buffer.C:
142         * bufferparams.[Ch]:
143         * lyxtext.h:
144         * paragraph.[Ch]:
145         * paragraph_funcs.C
146         * rowpainter.C:
147         * text.C:
148         * text2.C:
149         * text3.C: Fix bug 2115: blue language lines (for default font)
150         popping up when the documnent font is different. This includes work
151         by Georg Baum.
152
153 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
154
155         * exporter.C (Backends): Add "lyx" backend
156         * exporter.C (Export): Handle "lyx" backend
157         * graph.C (getReachable): Don't exclude "lyx"
158         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
159
160 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
161
162         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
163         for correct in-mathed positioning
164
165 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
166
167         * rowpainter.C (paintForeignMark): fix foreign blue line under
168         insets
169
170 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
171
172         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
173         pit of the uno range (bug 2022).
174
175 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
176
177         * messages.C (get): Only warn once if setlocale fails (bug 2177)
178
179 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
180
181         * text2.C (setCharFont): take inset's own font settings into account
182         when defining the font to reduce to, fixes 2019
183
184 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
185
186         * bufferview_funcs.C (coordOffset): remove the check for
187         collapsed collapsables (fix for bug 2094). This is now done
188         on a more general level (cursor.C).
189
190         * dociterator.[Ch] (forwardPos): add an optional argument
191         bool "ignorecollapsed" (default false), which lets forwardPos
192         skip collapsed insets.
193
194         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
195         (fixes bug 2241 and 2094).
196
197 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
198
199         * buffer.C: change tracking (dvipost) doesn't require
200         color.sty anymore.
201
202         * LaTeXFeatures.C (getPackages): no need for the color
203         option "usenames" (bug 2169).
204
205 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
206         * buffer_funcs.C: Trivial fix - added {} around
207         the statements to be affected by a if-test. Now
208         label in a minipage in a float looks ok on screen again.
209
210 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
211
212         * text2.C: fix bug 2015: on screen fonts in nested environments 
213         can be wrong
214
215 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
216
217         * converter.C (convert): handle unknown formats
218
219 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         * cursor.C (goUpDown): comment out some debug messages.
222
223         * counters.C (newCounter): make error messages more explicit
224         (these appear with some textclasses like beamer)
225
226 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227
228         * kbmap.C (defkey): 
229         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
230         have origin set to KEYBOARD. (bug 2221)
231
232 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
233
234         * rowpainter.C (isCursorOnRow): do not exclude endpos().
235
236 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
237
238         * cursor.C (macroModeClose): returns true if an inset actually got
239         inserted; revert faulty fix to bug 2034.
240
241 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * tabular.C (getLabelList): remove (not used anymore).
244
245 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
246
247         * outputparams.[Ch]: add new flag inComment
248
249 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
250
251         * text2.C (deleteEmptyParagraphMechanism): since we delete a
252         paragraph, recordUndo should span two paragraphs (bug 2155).
253
254 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
255
256         * rowpainter.C (paintPar): always repaint the row with the
257         cursor in it
258
259 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
260
261         * MenuBackend.h: 
262         * bufferlist.h: 
263         * lyxtext.h: 
264         * paragraph.h:
265         * vspace.h: fix syntax error
266
267 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
268
269         * text3.C (dispatch): Force refresh if typing into inset changes its
270                               metrics
271
272 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
273
274         * RowList_fwd.h:
275         * paragraph.C:
276         * paragraph.h:
277         * rowpainter.C: Speed up rendering by only re-painting rows that
278         have changed. When selection or whole-screen update active, all rows
279         are repainted, as are all rows within insets.
280
281 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
282
283         * version.C.in: Use PACKAGE_VERSION instead of VERSION
284
285 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
286
287         * tabular.C (toggleFixedWidth): Use default layout of text class
288         instead of hardcoded "Standard"
289
290 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
291
292         * lyxfunc.C (dispatch): do not call getStatus again to determine
293         whether a lfun is disabled (bug 2172).
294
295 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
296
297         * cursor.C (macroModeClose): set the cursor inside the new math
298         atom if relevant (think \frac{}{}) (bug 2034)
299
300 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
301
302         * lyxtext.h:
303         * text.C:
304         * text3.C (Delete, backspace): force update when merging paragraphs
305
306 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
307
308         * BufferView.C (mouseSetCursor): clear the selection properly (bug
309         2163). 
310
311 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
312
313         * text.C (redoParagraph): honor inset->noFontChange()
314         * rowpainter.C (paintInset): ditto
315
316 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
317
318         * lyx_main.C (priv_exec): don't initialize Math on startup 
319         (initMath() has been moved to math_hullinset).
320
321 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
322
323         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
324         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
325         * paper.h: dispose dead PAPER_PACKAGES enum.
326
327 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
328
329         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
330         without X support.
331
332 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
333
334         * exporter.C (Export): Don't try to copy a file if it does not exist
335         (bug 1888)
336
337 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
338
339         * text2.C (makeFontEntriesLayoutSpecific): remove.
340         (setLayout): adapt.
341
342         * text.C (insertChar): remove bogus caching of fonts (did not do
343         anything). 
344
345         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
346         ALL_SANE). (bug 2146)
347
348 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
349
350         * rowpainter.C (paintFirst): fix centering of
351         LABEL_CENTERED_TOP_ENVIRONMENT. 
352
353 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
354
355         * BufferView.C (mouseSetCursor): new method. Calls
356         deleteEmptyParagraphMechanism if necessary.
357
358         * lyxtext.h: make deleteEmptyParagraphMechanism public.
359
360         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
361         BufferView::mouseSetCursor (bug 2109).
362         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
363
364 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
365
366         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
367         do not remove it (this inset behaves differently from the others).
368
369 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
370
371         Fix bug 2096.
372         
373         * BufferView_pimpl.C (getStatus): it is only possible to insert a
374         file in a text inset.
375
376         * buffer.C (readDocument): remove pit argument and code releated
377         to it; set the inset owner correctly (unrelated, but useful).
378         (readFile): get rid of pit argument.
379
380         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
381         textclass instead of a selection index.
382         (pasteParagraphList): new function.
383         (pasteSelection): make it a wrapper around pasteParagraphList.
384
385         * BufferView_pimpl.C (MenuInsertLyXFile): use
386         cap::pasteParagraphList to insert a file.
387
388 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
389
390         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
391
392 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
393
394         * exporter.C: fix typo in text message
395
396 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
397
398         * text2.C (setLayout): move recUndo call to other setLayout method
399         * tabular.C (toggleFixedWidth): new, handle cell width changes
400         * tabular.C (setColumnPWidth): move some code from insettabular.C here
401         and use toggleFixedWidth
402         * tabular.C (setMColumnPWidth): ditto
403
404 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
405
406         * paragraph.C (asString): use new inset->textString method (fix
407         bug 2089) 
408
409 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
410
411         * CutAndPaste.C (numberOfSelections): new helper function.
412
413         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
414
415         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
416         LyXFunc::getStatus; implement LFUN_PASTE.
417
418 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
419
420         * dociterator.[Ch]: new member realInset() that returns the cell
421         for tabulars and the inset for the rest (bug 1952).
422         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
423         (bug 1952).
424
425 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
426
427         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
428
429 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
430
431         * lyxfunc.C:
432         * paragraph.C:
433         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
434         argument.
435
436 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
437
438         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
439         line after typing ctrl-enter
440
441 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
442
443         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
444         math insets do not return a proper editable() state yet (bug 2124).
445
446 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
447
448         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
449         docs containing very large paragraphs.
450
451 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
452
453         * cursor.C (selectionBegin, selectionEnd):
454         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
455         cursor at different depths.
456
457 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
458
459         * bufferview_funcs.C (coordOffset): do not call cursorPos
460         for collapsed collapsables (fix bug 2094).
461
462 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
463
464         * paragraph.C (fontSpan): make sure that the FontSpan does not
465         span across beginOfBody (bug 1947).
466
467 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
468
469         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
470
471 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
472
473         * messages.C: fix crash and localization on MinGW/Windows platform
474
475 2005-11-02  Angus Leeming  <leeming@lyx.org>
476
477         * Bidi.C:
478         * lyxtextclass.C: trivial fixes to some MSVS warnings.
479
480 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * text3.C (getStatus): re-enable disabled code. (bug 2081)
483
484         * BranchList.h (empty): constify.
485
486 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * text3.C (getStatus): 
489         * MenuBackend.C (expandBranches): take the branch list from the
490         master document (bug 2092).
491         
492         * MenuBackend.C (expandBranches): 
493         * bufferparams.C (writeFile): use BranchList type.
494
495 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
496
497         * text3.C (dispatch, getStatus): 
498         * LyXAction.C (init): 
499         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
500
501 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
502
503         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
504
505 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * text.C (insertChar): do not reset boundary (bug 2061)
508
509 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
510
511         * dociterator.C (updateInsets): new method. Updates the inset_
512         cache of all the slices of the iterator.
513
514         * text2.C (deleteEmptyParagraphMechanism): compare also containing
515         insets when comparing pit/pos; pass the right cursor to
516         recordUndo; when a paragraph has been deleted, compare `old.top()' to
517         the right cursor slice of `cur'; use updateInsets on cur to make
518         sure that the inset caches are correct; general cleanup.
519
520 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
521
522         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
523         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
524         containg inset. If this does not work, the same command will be
525         sent to other insets down the queue by Cursor::dispatch. (bug 2066)
526
527         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
528         a dispatch.
529
530 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
531
532         * lyxtextclass.C (Read): convert layout file if the format is wrong
533         * lyxtextclass.C (layout2layout): new, needed for the above
534
535 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
536
537         * messages.C: do not forget to include <cerrno>.
538
539 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
540
541         * dociterator.h (StableDocIterator): add access to pos().
542         * undo.C (samePar): new method to check if two
543         iterators are in the same paragraph
544         * undo.C (recordUndo): check for samePar instead of cell identity
545         (which includes pos() and is too strict) (fixes bug 2097)
546
547 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
548
549         * text.C (setCursorFromCoordinates): return a bool telling whether
550         dEPM triggered.
551
552         * text3.C (cursorPrevious): update if needed after
553         setCursorFromCoordinates (when dEPM triggered).
554
555         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
556         (otherwise the anchor may be completely wrong and make dEPM assert).
557
558 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
559
560         * buffer.C: version upgrade to 245.
561         * bufferparams.C: remove \quotes_times (bug 2090).
562         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
563         quotation marks as default.
564
565 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
566
567         * CutAndPaste.C (nrOfParagraphs): remove (unused)
568         * CutAndPaste.C (cutSelection): Remove debug message
569         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
570         undo information and only copy if this is a real cut
571         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
572         call
573         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
574         (bug 2059)
575         * CutAndPaste.C (eraseSelection): prevent cursor corruption
576         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
577         superflous cur.selection() setting
578         * CutAndPaste.[Ch] (grabSelection): take a const cursor
579         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
580
581 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
582
583         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
584         change anything.
585
586 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
587
588         * BufferView_pimpl.C: comment layout change
589
590 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
591
592         * LyXAction.C:
593         * lfuns.h:
594         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
595         by bibliography managers (bug 2071).
596
597 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
598
599         * BufferView_pimpl.C (update): choose arguments to update call so
600         that single-par update works most times
601         * text3.C (dispatch): carefully tune updating separately for
602         whole-screen and current-paragraph
603         * rowpainter.C (paintText): 1) replace painting by caching for
604         the two extra paragraphs, because we can;
605         2) suppress greying out of areas below/above drawn area in case of
606         single-par refresh
607         * lyxfunc.C (dispatch): remove superfluous update
608         * LyXAction.[Ch]: introduce SingleParUpdate
609
610 2005-10-05  Angus Leeming  <leeming@lyx.org>
611
612         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
613         always initialised before use.
614
615         * text.C (setHeightOfRow): squash warning about comparison
616         of signed and unsigned types.
617
618 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
619
620         * text.C (cursorX): two fixes involving RtL text drawing
621
622 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
623
624         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
625         items, not only large ones (part of bug 2057)
626
627 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
630         argument, use "newcommand".
631
632 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
633
634         * cursor.C (setSelection): do not open collapsable insets;
635         the insets do by themselves now (autoopen).
636
637 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
638
639         * buffer.C: format is up to 244.
640
641 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
642
643         * text.C (redoParagraph): fix calcultation of inset width wrt 
644         leftMargin (bug 1957).
645
646         * text3.C (dispatch): leave inset to the right when hitting ESC 
647         (bug 2034).
648
649 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
650
651         * text2.C: 
652         * text.C: 
653         * factory.C:
654         * messages.C: include <boost/current_function.hpp> 
655
656 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
657
658         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
659         when command is internal. (bug 1941)
660
661 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * text2.C (cursorRight): do not honor boundary when at the end of
664         a paragraph. (bug 2010 again)
665
666 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
667
668         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
669
670 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
671
672         * rowpainter.C (paintText): fix RtL space width display bug (2029)
673
674 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
675
676         * text2.C (setCursor): remove the unused 'boundary' parameter for
677         the CursorSlice version; adapt the Cursor version.
678
679         * lyxrc.C (write): 
680         * paragraph_pimpl.C (markErased): 
681         * cursor.C (bruteFind2, bruteFond3): fix warnings.
682
683 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
684
685         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
686         as is already done for "chapter".
687
688 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
689
690         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
691         textclass; do not record undo if nothing is changed.
692
693 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
694
695         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
696
697 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
698
699         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
700
701 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
702
703         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
704         combox, it is necessary to search for the topmost paragraph in the
705         cursor stack (bug 1926)
706
707 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
708
709         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
710         end of paragraph. (bug 2010)
711
712 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
713
714         * text.C (leftMargin): check for inInset == 0
715
716 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
717
718         * text.C (leftMargin): test for insetbase's new neverIndent()
719         bool instead of listing each and every inset that does not
720         wish par indendation.
721
722 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
723
724         * buffer_funcs.C (setCounter): put the code to compute enum label
725         here (where it belongs).
726
727         * counters.C (enumLabel): move code to buffer_funcs.C.
728
729 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
730
731         * outputparams.[Ch]: store local_font instead of local_language
732         * paragraph.C (simpleTeXOnePar): adapt to the change above
733
734 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
735
736         * buffer_funcs.C:
737         * counters.[Ch]: clean up special code for Hebrew.
738
739 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
740
741         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
742         than 2.
743
744 2005-09-08  Angus Leeming  <leeming@lyx.org>
745
746         * ispell.C:
747         * lyxrc.C: correct grammar describing invocation of the
748         spellchecker.
749
750 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
751
752         * text.C (read): remove unused variable.
753         (readParToken): remove static Change variable (never good in
754         recursive settings...); add it as a parameter instead.
755
756         * paragraph_pimpl.C (acceptChange): make debug info conditional.
757
758         * metricsinfo.C (PainterInfo): add new member erased_.
759
760         * rowpainter.C (RowPainter): add erased_ member, initialized from
761         PainterInfo. 
762         (paintInset): pass erased_ to Inset::draw.
763
764         * lyxfunc.C (lookupChange): new function. Tells whether change 
765         tracking is disabled at a given postion.
766         (getStatus): disable some actions when in deleted text with change
767         tracking. 
768
769 2005-08-03  John Levon  <levon@movementarian.org>
770         
771         * tabular.C (appendColumn, setMultiColumn): adapt to change to
772         InsetText::clear().
773
774         * paragraph_pimpl.C (markErased): add bool argument and handle it.
775         Also make sure to mark insets recursively.
776         (rejectChange, erase): be recursive
777
778         * paragraph.C (markErased): add bool argument.
779 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
780
781         * lyxfind.C (findNextChange): tiny cleanup.
782
783         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
784         change tracking with the cursor in an inset; make sure the first
785         change is not skipped.
786
787 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
788
789         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
790         tabularStackDirty to work around bug 1919 (tabular needs
791         to know whether its own cell paste buffer or the one of 
792         texted is newer.
793         * CutAndPaste.C: mark tabular_stack_ clean after copy.
794
795 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
796
797         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
798
799 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
800
801         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
802         use old deleteion algorithm when changetracking is on.
803
804 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
805
806         * messages.C (get): add debug output.
807
808 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
809
810         * text.C (cursorX): fix bug 1965: cursor movement at
811         line end broken in RtL.
812         (drawSelection): fix bug 1970: drawing of single-line 
813         selection broken for RtL.
814
815 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
816
817         bug 465.
818
819         * dociterator.h (clear, push_back, pop_back): change from
820         protected to public.
821
822         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
823         and changed to just return the value of the item depth; take a
824         ParIterator as argument; take the itemdepth at outer nesting level
825         in account if necessary; cleanup and comment the code.
826         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
827         and changed to just return true if reset is needed; take a
828         ParIterator as argument; cleanup and comment the code.
829         (setCounter): adapt to above changes.
830
831 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
832
833         * text3.C (dispatch): make debug message optional
834
835 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
836
837         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
838         inset. (bug 1963)
839
840 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
841
842         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
843
844 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
845
846         * text.C (insertChar):
847         * text2.C (deleteEmptyParagraphMechanism): take care whether 
848         a blank has been deleted (in change tracking mode) (bug 1254).
849
850 2005-07-20  John Levon  <levon@movementarian.org>
851
852         * text2.C (insertStringAsLines): remove old dubious code,
853         fixing bug 1939.
854
855 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
856
857         * MenuBackend.C (expandToc): use Floating::listName() as title of
858         the floats submenus.
859
860 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
861
862         * toc.[Ch]: Do not use translatable strings (bug 1870).
863
864 2005-07-20  John Levon  <levon@movementarian.org>
865
866         * tabular.C: fix 1748 - setting multicolumn adds
867           left line to the first cell
868
869 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
870
871         bug 1920
872         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
873         pars in one go.
874
875 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
876
877         * messages.C: supress some lyxerr messages
878
879 2005-07-18  Juergen Vigna  <jug@lyx.org>
880
881         * text.C (drawSelection): honor boundary when asking for cursorX.
882
883 2005-07-17  José Matos  <jamatos@fc.up.pt>
884
885         * tabular.C (recalculateMulticolumns): fix handling of one column
886         tables.
887
888 2005-07-17  Juergen Vigna  <jug@lyx.org>
889
890         * text.C (Delete, backspace): fixed so that paragraph with the
891         same layout can be merged by Delete/Backspace.
892
893 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
894
895         * text.C (readParToken): fix spelling.
896
897 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
898
899         * text2.C: fix counter update for DEPM problem reported by
900         Georg Baum
901
902 2005-07-17  Juergen Vigna  <jug@lyx.org>
903
904         * BufferView_pimpl.C (setBuffer): save/restore the
905         cursor/selection when switching buffers
906
907         * buffer.h: 
908         * buffer.C (saveCursor): add saveDocumentIterators to save the
909         cursor when switching buffer.
910
911 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
912
913         * debug.C: fix typo
914         * buffer.C: clarify message
915         
916 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
917
918         * dociterator.C (DocIterator): fix initialization order
919
920 2005-07-17  Juergen Vigna  <jug@lyx.org>
921
922         * text2.C (cursorHome): 
923         * text.C (drawSelection, cursorX): 
924         * dociterator.C (textRow): add boundary to getRow() call
925
926         * paragraph.C (getRow): implementation of below
927
928         * paragraph.h: add parameter boundary for getRow() function
929
930 2005-07-17  José Matos  <jamatos@fc.up.pt>
931
932         * buffer.C:
933         * bufferparams.[Ch]:
934         * tex-strings.[Ch]: new file format, remove support for a4.sty,
935         a4wide.sty and a4widemargins.
936
937 2005-07-17  Juergen Vigna  <jug@lyx.org>
938
939         * text2.C (cursorLeft): fix one of error
940
941 2005-07-17  Juergen Vigna  <jug@lyx.org>
942
943         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
944                    cursorEnd):
945         more fixes for boundary handling
946
947         * text3.C (dispatch): don't reset cursor if boundary has changed
948         on cursor movement.
949
950 2005-07-16  Juergen Vigna  <jug@lyx.org>
951
952         * text2.C (getColumnNearX): hopefully got it right now,
953         check if we are on column 0 for special case.
954
955 2005-07-16  Juergen Vigna  <jug@lyx.org>
956
957         * text2.C (getColumnNearX): handle special case Newline Inset
958
959         * text.C (singleWidth): Just remove bogus check
960
961 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
962
963         * funcrequest.C (split): avoid reading uninitialized char c
964
965 2005-07-16  José Matos  <jamatos@fc.up.pt>
966
967         * buffer.C:
968         * converter.C:
969         * lyxrc.C:
970         * paper.h:
971         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
972         single papersize variable.
973
974 2005-07-16  Juergen Vigna  <jug@lyx.org>
975
976         * text3.C (dispatch): honor boundary when checking if a cursor
977         movement has been done
978
979         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
980         (setCursor, setCursorIntern): fix cursor movement with boundary
981
982 2005-07-16  Juergen Vigna  <jug@lyx.org>
983
984         * text.C (currentState): output the actual Boundary
985
986 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
987
988         * factory.C (createInset): fix bad logic for tabular creation
989
990 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
991
992         * lyx_main.C (init): change some reLyX reference to tex2lyx
993
994 2005-07-16  Juergen Vigna  <jug@lyx.org>
995
996         * dociterator.C (DocIterator): initialize boundary
997
998 2005-07-16  Juergen Vigna  <jug@lyx.org>
999
1000         * text2.C (getColumnNearX): Consider rows without trailing blank.  
1001
1002 2005-07-16  André Pönitz  <poenitz@gmx.net>
1003
1004         * lyxfont.h: Change order of declarations to give the compiler
1005         a better chance to inline things
1006
1007         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
1008         questions on unsaved docs for better scritability
1009
1010 2005-07-16  André Pönitz  <poenitz@gmx.net>
1011
1012         * paragraph.h (getChar): remove asserts as the same kind of security
1013         can be achieved by using a suitable standard library implementation
1014         and the function was in the critical path (25.9% in profiler)
1015
1016 2005-07-16  Juergen Vigna  <jug@lyx.org>
1017
1018         * cursor.C (bruteFind2):
1019         * bufferview_funcs.C (coordOffset): 
1020         * text.C (cursorX,cursorY): Handle cursor position after last char
1021         in row before a inset which uses a whole row.
1022
1023 2005-07-15  José Matos <jamatos@lyx.org>
1024
1025         * output_plaintext.[Ch] (writeFileAscii): control reference title
1026         printing.
1027         (asciiParagraph): noparbreak was already deal and was incorrectly
1028         used.
1029
1030 2005-07-15  Juergen Vigna <jug@lyx.org>
1031
1032         * lyxfunc.C (dispatch): save and restore the cursor after a
1033         textclass switch.
1034
1035 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
1036
1037         * text.C (backspace): bug 806 for empty keepempty paragraphs we
1038         change the layout to default before letting DEPM do its thing.
1039
1040         * paragraph_funcs.C (breakParagraph): dont reset the layout on
1041         keepEmpty paragraphs
1042
1043         * text.C (setCursorFromCoordinates): add a debug statement
1044
1045         * text2.C (getColumnNearX): bug 1825 make sure that we don't
1046         return a pos that is not on the row
1047
1048         * output_latex.C (TeXDeeper): get rid of potential dereferencing
1049         of past the end iterator
1050
1051 2005-07-14  André Pönitz  <poenitz@gmx.net>
1052
1053         * undo.C (recordUndoFullBuffer): implement undo for
1054         textclass switches
1055
1056 2005-07-14  André Pönitz  <poenitz@gmx.net>
1057
1058         * cursor.C (setSelection): open insets when selection is set there
1059         to avoid crashs with cold coord cache
1060
1061 2005-07-14  André Pönitz  <poenitz@gmx.net>
1062
1063         * trans_mgr.C (insert): move cursor to the right after inserting
1064         a char.
1065
1066 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1067
1068         * BufferView_pimpl.C (update): dampen some of the debug blabbering
1069         * factory.C (readInset): ditto
1070         * text.C, text2.C: ditto
1071
1072 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1073
1074         * buffer.C: format incremented to 242. There is no file format per
1075         se, but the "frenchb" language has been removed from lib/language
1076         and has to be translated to "french" by lyx2lyx.
1077
1078 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1079
1080         * cursor_slice.h, dociterator.h: add some documentation
1081         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
1082
1083 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1084
1085         * text.C (leftMargin): do not add identation to display() style
1086         insets, because they are always centered (bug 1293).
1087
1088 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1089
1090         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
1091         formatted_time methods in support/lyxtime.
1092
1093 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1094
1095         * toc.[Ch]: new method getGuiName, which is used by the frontends 
1096         to set the toc combo (fixes bug 1870). Make TOC string translatable.
1097
1098 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1099
1100         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
1101         StableDocIterator const &)
1102         * undo.C (recordUndo): use the above instead of cell.size() comparison
1103         (fixes bug 1808; instructed by Andr�.
1104
1105 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
1106
1107         * cursor_slice.h: 
1108         * dociterator.h: Fix the assert when copying rows/cols in math
1109
1110 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1111
1112         * BufferView_pimpl.C:
1113         * LyXAction.C:
1114         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1115
1116         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1117         (findInset): new functions, refactored from goto Inset that return 
1118         the position of a certain inset without setting the buffer's cursor
1119         (by Jean-Marc); 
1120         (gotoInset): rewrite to call findInset and then set the cursor
1121         (by Jean-Marc).
1122
1123 2005-06-16  Angus Leeming  <leeming@lyx.org>
1124
1125         * lyxrc.C (output, read): wrap all input and output of paths with
1126         calls to os::internal_path and os::external_path, respectively.
1127         (output): wrap bind_file inside quotes.
1128
1129         * format.C (view): enable the viewer to use the '$$s' placeholder.
1130
1131 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1132
1133         * LColor.[Ch] (getFromLaTeXName): new
1134
1135 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1136
1137         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1138
1139 2005-06-14  Angus Leeming  <leeming@lyx.org>
1140
1141         * lyx_main.C (init): ensure that the LyX binary dir is the first
1142         element in the PATH on non-POSIX builds.
1143
1144 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1145
1146         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1147
1148 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1149
1150         * rowpainter.C (paintInset, paintHebrewComposeChar)
1151         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1152         (paintChars): use getFontSpan to reduce calls to getFont to a
1153         minimum; use Paragraph::lookupChange instead of isXXXText.
1154         (paintForeignMark): rename LyXFont argument.
1155         (paintFromPos): pass a LyXFont object to the various paintXXX
1156         methods.
1157
1158         * FontIterator.C (FontIterator, operator++): use
1159         Paragraph::getFontSpan
1160
1161         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1162         version that returns the font span as a pair.
1163
1164 2005-06-09  Angus Leeming  <leeming@lyx.org>
1165
1166         * converter.C (convert): Don't forget "outfile = real_outfile" as
1167         the final step in a conversion where the input and output file names
1168         are the same. Otherwise, future conversion steps won't work...
1169
1170 2005-06-09  Angus Leeming  <leeming@lyx.org>
1171
1172         * lyxsocket.C: remove stub code as it isn't needed by
1173         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1174
1175 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1176
1177         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1178         effectively disabled -x
1179
1180 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1181
1182         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1183         when it actually makes sense.
1184
1185 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1186
1187         * BufferView_pimpl.C: revert to showCursor in connection with
1188         Lars's front-end stack
1189
1190 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1191
1192         * text.C (redoParagraph): move cursor right after a bibitem
1193         has been inserted.
1194
1195         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1196
1197 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1198
1199         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1200         error range.
1201
1202 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1203
1204         * BufferView.[Ch] (update):
1205         * BufferView_pimpl.[Ch] (update, metrics):
1206         * dimension.h (operator==):
1207         * lyxfunc.C (dispatch):
1208         * metricsinfo.h (ViewMetricsInfo):
1209         * rowpainter.C (paintText):
1210         * lyxtext.h:
1211         * text.C (redoParagraph):
1212         * text3.C (dispatch): Make LyX only repaint current paragraph in
1213         case of character insert --> speedup. Also fix cursor draw
1214         artifacts
1215
1216 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1217
1218         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1219         avoid a crash (bug 1891)
1220
1221 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         Fix bug 1892:
1224
1225         * text2.C (getStringToIndex): constify cur argument.
1226
1227         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1228         argument has been given
1229         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1230         try to invoke LFUN_INSET_APPLY).
1231
1232         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1233         if no inset was created by doInsertInset
1234         (doInsertInset): return true if an inset has been inserted.
1235
1236 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1237
1238         * vspace.C (asGUIName): new method. A version of the space
1239         suitable for showing on screen.
1240
1241 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1242
1243         * MenuBackend.C:
1244         * lyxrc.C: rename "ASCII" to "Plain Text"
1245
1246 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1247
1248         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1249         translate the labelstring.
1250         (setCounter): translate labelstring as needed.
1251
1252         * output_docbook.C (makeCommand): fix expandLabel invokation
1253
1254 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1255
1256         * BufferView.C: fix dialog title
1257
1258 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1259
1260         * lyx_main.C (priv_exec): fix logic error with help from Angus
1261         * lyx_main.C (parse_execute): set is_gui = false and remove now
1262         obsolete comment about a segfault
1263
1264 2005-05-18  Angus Leeming  <leeming@lyx.org>
1265
1266         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1267
1268 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1269
1270         * tabular.[hC]: added setCellInset to fix tabular paste.
1271
1272 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1273
1274         * buffer.C (save): check if destination is writable before trying
1275         to copy a file
1276
1277 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1278
1279         * BufferView_pimpl.C (update): fix processEvents -caused update
1280         recursion bug
1281
1282 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1283
1284         * buffer_funcs.C (setCounter): fix test for numbering of
1285         environments.
1286
1287         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1288         depth correctly; use optional argument when it exists
1289
1290         * lyxtextclass.C: remove unused MaxCounterTags enum
1291         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1292         (max_toclevel, min_toclevel): new methods.
1293
1294         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1295         the smallest depth in toc.
1296
1297         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1298         layouts that should not appear in a table of contents.
1299
1300 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1301
1302         * cursor.h (undispatched, noUpdate): add comments from Andr�
1303 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1304
1305         * lfuns.h:
1306         * LyXAction.C:
1307         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1308
1309 2005-05-07  André Pönitz  <poenitz@gmx.net>
1310
1311         * cursor.[Ch] (leaveInset): new function
1312
1313 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1314
1315         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1316
1317 2005-05-04  Angus Leeming  <leeming@lyx.org>
1318
1319         * lyxfunc.C (getStatus): disable the spell checker dialog if
1320         none of USE_[AIP]SPELL are defined.
1321
1322 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1323
1324         * tabular.C (setWidthOfCell): remove obsolete comment
1325
1326 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1327
1328         * paragraph.C (bibitem):
1329         * buffer_funcs.C (setCounter):
1330         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1331
1332 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1333
1334         * text3.C (getStatus): immediately return after setOnOff
1335
1336         * rowpainter.C: fix drawing of appendix start
1337
1338 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1339
1340         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1341         SwitchBetweenClasses and remove the unused return value.
1342         Handle character styles, too
1343
1344 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1345
1346         * factory.C (createInset): handle undefined character styles
1347
1348 2005-05-02  Angus Leeming  <leeming@lyx.org>
1349
1350         * buffer.C: protect the #include of utime.h with a preprocessor
1351         guard.
1352
1353 2005-05-02  Angus Leeming  <leeming@lyx.org>
1354
1355         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1356         function so that auto-saving works, albeit in a blocking manner.
1357
1358         * Makefile.am: make compilation of the client sub directory, of
1359         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1360         on conditionals set at configure time.
1361
1362         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1363         it can be compiled in its own right but has no-op functionality.
1364
1365         * aspell.C, pspell.C: remove preprocessor guards. The files should
1366         be compiled only if the necessary functionality exists.
1367
1368         * lyxserver.C, lyxsocket.C: disable on Windows.
1369
1370 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1371
1372         * text.C (leftMargin): Fix the parindent use bug (1764)
1373         by dirty trick
1374
1375 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1376
1377         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1378         argument.
1379
1380 2005-04-25  Angus Leeming  <leeming@lyx.org>
1381
1382         * Bidi.[Ch]:
1383         * coordcache.[Ch]:
1384         * ispell.C:
1385         * lyxserver.C:
1386         * mover.C:
1387         * pch.h:
1388         include <config.h> in .C files, not .h ones.
1389         add licence blurb.
1390         protect headers inside preprocessor guards.
1391
1392 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1393
1394         * FuncStatus.h (StatusCodes): document
1395
1396 2005-04-21  André Pönitz  <poenitz@gmx.net>
1397
1398         * FuncStatus.h (enabled, onoff): document
1399
1400 2005-04-19  Angus Leeming  <leeming@lyx.org>
1401
1402         * BufferView_pimpl.C (cursorToggle): no longer test whether
1403         any child processes have been reaped before calling
1404         handleCompletedProcesses().
1405
1406 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1407
1408         * text3.C (dispatch): fix, finally fix, the language problem in
1409         new lyxtexts, without disabling on-the-fly font changes (Helge's
1410         bug report)
1411
1412 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1413
1414         * text3.C (dispatch): set cursor on double/triple click events
1415         (bug 1811)
1416
1417 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1418
1419         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1420         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1421
1422         * rowpainter.C (paintFirst): simplify the code a little bit. In
1423         particular, remove the test for secnumdepth.
1424         * text.C (setHeightOfRow): only allocate space for chapter number
1425         when updateCounters provided an actual label, instead of looking
1426         at secnumdepth directly.
1427
1428         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1429
1430         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1431         paragraphs when secnumdepth is large enough or, for environments,
1432         when they are not the first in a sequence.
1433
1434 2005-04-17  Angus Leeming  <leeming@lyx.org>
1435
1436         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1437         containing space and '~' characters with a call to latex_path().
1438
1439 2005-04-17  Angus Leeming  <leeming@lyx.org>
1440
1441         * converter.C (convert): protect all args of convertDefault.sh
1442         script with quotes.
1443
1444 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1445
1446         * text3.C (dispatch): change the layout to "Caption" after inserting
1447         a float.
1448
1449 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1450
1451         * text3.C (dispatch): fix language problem in newly created
1452         textinsets (and main text) in non-english docs
1453
1454 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1455
1456         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1457         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1458         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1459
1460 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1461
1462         * lyxtext.h:
1463         * text.C (metrics):
1464         * text2.C (getFont):
1465         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1466         fonts fix
1467
1468 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1469
1470         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1471         output of \item arguments without trailing text.
1472
1473 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1474
1475         * FontIterator.C (operator*): avoid a copy of the font.
1476
1477 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1478
1479         * rowpainter.C (getFont): fix language bug from previous fix
1480
1481 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1482
1483         * rowpainter.C (RowPainter, getFont): fix font inside inset
1484         (bugs 1766, 1809)
1485
1486 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1487
1488         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1489         preventing inserted font, deco, delim insets jumping to start of
1490         surrounding inset.
1491
1492 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1493
1494         * lyxfunc.C (dispatch): translate message before sending it to the
1495         minibuffer.
1496
1497 2005-03-29  Angus Leeming  <leeming@lyx.org>
1498
1499         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1500         to LyX on the command line.
1501
1502 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1503
1504         * vc-backend.C: use QuoteName to protect file names wherever
1505         necessary.
1506
1507 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1508
1509         * buffer.[Ch]:
1510         * BranchList.h: fix bugs 1844,1845: document settings don't
1511         stick
1512
1513 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1514
1515         * lyxrc.C (setDefaults, read, output, getDescription): add support
1516         for tex_allows_spaces.
1517
1518         * exporter.C (Export): allows files in directory containing spaces
1519         if tex_allows_spaces is true.
1520
1521         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1522         output it in double quotes.
1523
1524 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1525
1526         * rowpainter.C: use default text height for drawing change tracker
1527         strikeout lines.
1528
1529 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1530
1531         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1532
1533 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1534
1535         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1536         directory is missing.
1537
1538 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1539
1540         * text2.C: fixed the fix, extended to other case.
1541
1542 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1543
1544         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1545
1546 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1547
1548         * text2.C (cursorUp): get rid of a crash
1549         * text.C (x2pos): add an assert
1550
1551 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1552
1553         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1554
1555         * text3.C:
1556         * lyxfunc.C:
1557         * dociterator.C: include <boost/current_function.hpp>, which is
1558         needed when assertions are disabled.
1559
1560 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1561
1562         * text2.C: fix for stuck cursor when traversing two
1563         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1564
1565 2005-02-25  Andreas Vox  <avox@arcor.de>
1566
1567         * output_docbook.C (makeParagraph): suppress trailing newline
1568         after a run of paragraphs
1569
1570 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1571
1572         * paragraph.C: fix for confused change tracker when pasting
1573         text that begins with a lineseparator. [bug 1827]
1574         (setChange(0, Change::INSERTED);)
1575
1576         * paragraph_funcs.C: fix for lost changes on triple-paste
1577         in change tracking mode [bug 1827] (par.setChange()).
1578
1579 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1580
1581         * text2.C (updateCounters, setCounter, expandLabel): move to
1582         buffer_funcs.
1583
1584         * buffer_funcs.C (updateCounters): turn into a free standing
1585         function and add a buffer parameter. Remove dead code for tracking
1586         labelstring change.
1587         (setCounter): change into a free-standing function which gets a
1588         dociterator as argument. Use this iterator to fix captions in a
1589         simple way. When no float is found above the caption, use the
1590         labelstring of the caption layout as default.
1591
1592         * text.C (breakParagraph, backspace):
1593         * text2.C (init, setLayout, changeDepth):
1594         * text3.C (dispatch):
1595         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1596         updateCounters.
1597
1598         * dociterator.C (forwardPar): make it much faster by calling
1599         forwardPos() only when really necessary.
1600
1601         * output_docbook.C (makeCommand): adapt to expandLabel move.
1602
1603         * cursor.C: remove unused variable
1604
1605 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1606
1607         * paragraph_funcs.C: fix crash when pasting insets in change
1608         tracking mode [bug 1277] (honour change type in moveItem).
1609
1610 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1611
1612         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1613
1614 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1615
1616         * BufferView.C (setCursor): change to use a DocIterator.
1617         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1618         (putSelectionAt): adapt to BufferView::setCursor change.
1619
1620         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1621         moved here from LyXText and rewritten to use proper cursor
1622         methods. Fixes bug 1787, 616 and 835.
1623
1624         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1625         when inside an inset (part of bug 781).
1626         (dispatch): adapt to change of BufferView::setCursor.
1627         (getStatus, dispatch): handle LFUN_GOTOERROR,
1628         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1629
1630         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1631         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1632         * text3.C (gotoNextInset, gotoInset): removed.
1633
1634 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1635
1636         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1637
1638 2005-02-15  Angus Leeming  <leeming@lyx.org>
1639
1640         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1641         can be used meaningfully in a comparison.
1642
1643 2005-02-13  André Pönitz  <poenitz@gmx.net>
1644
1645         * bufferview_funcs.C (coordOffset): improve cursor drawing
1646
1647 2005-02-13  André Pönitz  <poenitz@gmx.net>
1648
1649         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1650         * Cursor.C (dispatch): use fixIfBroken
1651         * lyxfunc.C (getStatus): use fixIfBroken
1652
1653 2005-02-15  Angus Leeming  <leeming@lyx.org>
1654
1655         * lyx_main.C (error_handler):
1656         * lyxfunc.C:
1657         * lyxrc.C (setDefaults):
1658         s/GetEnv/getEnv/.
1659         #include "environment.h".
1660
1661         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1662
1663 2005-02-15  Angus Leeming  <leeming@lyx.org>
1664
1665         * lyxserver.C (startPipe): squash MSVC warning "local variable
1666         'fd' used without having been initialized".
1667
1668 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1669
1670         * BufferView_pimpl.C: revert accidental commit.
1671
1672 2005-02-14  André Pönitz  <poenitz@gmx.net>
1673
1674         * dociterator.[Ch]: new member forwardPosNoDescent(),
1675         which doesn't enter nested insets.
1676         * text2.C (setFont): use forwardPosNoDescent() instead
1677         of ForwardPos() (fixes crash on font change).
1678
1679 2005-02-13  Angus Leeming  <leeming@lyx.org>
1680
1681         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1682         only if lyxrc.path_prefix is not empty.
1683
1684 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1685
1686         * bufferparams.C (readGraphicsDriver): prevent crash
1687
1688 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1689
1690         * text2.C (setCounter): check for inInset() == 0
1691
1692 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1693
1694         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1695         but use update() to get correct screen display; use convert
1696         instead of istringstream.
1697         (getStatus): handle LFUN_GOTO_PARAGRAPH
1698
1699         * lyxfunc.C (dispatch, getStatus): do not handle
1700         LFUN_GOTO_PARAGRAPH here.
1701
1702 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1703
1704         * text3.C (dispatch): size() -> depth()
1705
1706         * text2.C: remove some debug output
1707
1708         * paragraph.C: ws changes only
1709
1710         * lyxfunc.C (getStatus): size() -> depth()
1711
1712         * dociterator.h (clear, push_back, pop_back, internalData,
1713         operator[], resize, empty): new functions
1714         Make StableDocIterator and operator== be friends. Don't inherit
1715         from std::vector use a privat class variable slices_ instead.
1716         Modify to fit.
1717
1718         * dociterator.C: update because of not inheriting from std::vector
1719         anymore. Call explictly to slices_ instead. Use depth() instead of
1720         size() and top() instead of back()
1721
1722         * cursor.C: chagne size() -> depth and back() -> top(). Also
1723         remove some direct operator[](i) calls in favour of foo[i]
1724         (getFont): remove some dead code
1725
1726         * bufferview_funcs.C (coordOffset): size() -> depth()
1727
1728         * buffer.C: ws changes only
1729
1730         * CutAndPaste.C (eraseSelection): back() -> top()
1731
1732         * BufferView_pimpl.C (selectionRequested): back() -> top()
1733
1734         * BufferView.C (setCursor): size() -> depth()
1735
1736 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1737
1738         * text3.C (cursorPrevious): return true if depm changed something
1739         (cursorNext): ditto
1740         (dispatch): rename sl to oldTopSlice, remove moving use the new
1741         NoUpdate func attrib instead. Make sure that needsUpdate is set
1742         for function that have NoUpdate, but where depm might have changed
1743         the buffer anyway.
1744
1745         * text2.C (cursorLeft): make us return true if depm changed
1746         something
1747         (cursorRight): ditto
1748         (cursorUpParagraph): ditto
1749         (curosrDownParagraph): ditto
1750         (cursorUp, cursorDown): ditto, make sure to read comments in code
1751         (deleteEmptyParagraphMechanism): remove an assert, also return
1752         true if just a single char was deleted.
1753
1754         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1755         cursor that we modify, to avoid modifying an active cursor before
1756         we call setCursor. This allows depm to run. Also return true if
1757         depm deleted something.
1758
1759         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1760         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1761         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1762         something was changed in the buffer because of them (ie. depm run)
1763
1764         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1765         debug messages. Make update by default be false. Make sure that
1766         the result of update is retained throught several calls down to
1767         dispatch.
1768
1769         * LyXAction.h: add a new func_attrib: NoUpdate
1770
1771         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1772         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1773         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1774         and LFUN_WORDLEFT
1775         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1776
1777 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1778
1779         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1780         bv_->owner(), bv_->buffer() by direct references to the private
1781         members.
1782         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1783         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1784         (fitCursor): center() is in BufferView::Pimpl.
1785         (getStatus, trackChanges, dispatch): no need for a temporary buf
1786         variable
1787         (fitCursor, workAreaDispatch): use workarea().workheight()
1788
1789 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1790
1791         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1792
1793 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1794
1795         * buffer.C: format up to 241.
1796         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1797         break if pasting into ERT
1798         * lyxfunc.C (getStatus): suppress mathpanel and
1799         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1800
1801 2005-02-01  Angus Leeming  <leeming@lyx.org>
1802
1803         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1804
1805 2005-02-01  Angus Leeming  <leeming@lyx.org>
1806
1807         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1808         calling fs::is_directory().
1809
1810 2005-01-31  Angus Leeming  <leeming@lyx.org>
1811
1812         * lyx_main.C (priv_exec): specify explicitly the relative location
1813         of the top level build directory when run in-place.
1814
1815 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1816
1817         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1818         LyXText containing the cursor, not the top-level one.
1819
1820         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1821         true.
1822         (insertStringAsLines): rename par to pit; use temporary variable
1823         par to hold a Paragraph; do not store par.layout() in a variable,
1824         since the pointer may die when breaking paragraphs; pass pars to
1825         breakParagraph() instead of Buffer::paragraphs().
1826
1827 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1828
1829         * lyxlex_pimpl.h: #include <fstream>.
1830
1831         * BufferView.[Ch] (getLyXText): add a const version.
1832
1833         * BufferView_pimpl.C: add debug aids.
1834
1835         * RowList_fwd.h:
1836         * buffer.h:
1837         * lyxrow.h:
1838         * paragraph_funcs.h: add commentary explaining what the class does.
1839
1840
1841         * coordcache.[Ch]: add lots of commentary.
1842         (startUpdating, doneUpdating): debug aids.
1843         (arrays, insets, parPos, getParPos): accessors to private data.
1844
1845         * cursor_slice.[Ch] (text): add a const version.
1846         * dociterator.[Ch] (text, innerText): add const versions.
1847
1848         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1849         bool.
1850
1851         * paragraph.C (getRow, pos2ros): add asserts.
1852
1853         * paragraph.h: add commentary. Lots of.
1854
1855         * paragraph.[Ch] (metrucs, draw): removed.
1856
1857         * cursor.C:
1858         * rowpainter.[Ch]: const-correct changes.
1859
1860         * text.C: various obvious clean-ups. Removal of ancient cruft.
1861         Bug fixes, even.
1862
1863 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1864
1865         * vc-backend.C (find_file): rewrite to use boost.filesystem
1866         (scanMaster): ditto
1867
1868         * main.C (main): set default name check for boost.filesystem to
1869         no check
1870
1871         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1872         (open): ditto
1873         (doImport): ditto
1874         (actOnUpdatedPrefs): ditto
1875
1876         * lyx_main.C (init): rewrite to use boost.filesystem
1877         (queryUserLyXDir): ditto
1878
1879         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1880         (getContentsOfAsciiFile): ditto
1881
1882         * lastfiles.C (readFile): rewrite to use boost.filesystem
1883
1884         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1885
1886         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1887         (loadLyXFile): ditto
1888
1889         * buffer.C (Buffer): adjust for destroydir
1890         (getLogName): rewrite to use boost.filesystem
1891         (setFileName): ditto
1892         (save): use fs::copy_file (from fs_extras)
1893
1894         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1895
1896         * LaTeX.C (run): rewrite to use boost.filesystem
1897         (scanAuxFiles): ditto
1898         (handleFoundFile): ditto
1899
1900 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1901
1902         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1903
1904         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1905
1906 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1907
1908         * lyxlayout.[Ch]: change some vars from float to double
1909
1910         * buffer.C (readFile): make a local var const
1911
1912         * Several files: use convert<> instead of atoi,strToXXX and friends
1913
1914 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1915
1916         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1917         holds the contents of packages.lst. New functions getAvailable
1918         and isAvailable to parse and check that list, resp.
1919
1920         * LyXAction.C:
1921         * lfuns.h:
1922         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1923
1924         * bufferparams.[Ch]: new param output_changes.
1925
1926         * Buffer.C: increase file format to 240.
1927         Use output_changes and isVailable.
1928
1929         * changes.[Ch]:
1930         * paragraph.C:
1931         * paragraph_pimpl.C: Use output_changes and isVailable.
1932
1933 2005-01-23  Angus Leeming  <leeming@lyx.org>
1934
1935         * output_latex.C: #include "insetbibitem.h", rather than
1936         forward declare function bibitemWidest.
1937
1938 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1939
1940         * lyx_main.C (init): make it compile on the Mac.
1941
1942 2005-01-20  Angus Leeming  <leeming@lyx.org>
1943
1944         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1945         (setLyXMisc): (char string literal) != (char string literal) is
1946         performing a comparison on the addresses. Convert one operand
1947         explicitly to string to guarantee expected behaviour.
1948         From MSVC warning.
1949
1950 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1951
1952         * buffer.C:
1953         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1954
1955         * output_plaintext.C: remove unneeded #include gzstream.h.
1956
1957 2005-01-20  Angus Leeming  <leeming@lyx.org>
1958
1959         * SpellBase.h: rename some of the elements of the Result enum.
1960
1961         * aspell_local.h:
1962         * ispell.h:
1963         * pspell.h:
1964         * aspell.C (check):
1965         * ispell.C (check):
1966         * pspell.C (check): ditto
1967
1968 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1969
1970         * buffer.C: add #include <fstream>.
1971
1972         * lyx_main.C (init): Compile fix.
1973
1974         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1975
1976 2005-01-20  Angus Leeming  <leeming@lyx.org>
1977
1978         * mover.h: change commentary to reflect the changed meaning of
1979         the $$s placeholder.
1980
1981 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1982
1983         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1984
1985         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1986
1987 2005-01-20  Angus Leeming  <leeming@lyx.org>
1988
1989         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1990         printing diagnostic data by not dereferecing an iterator past the
1991         end.
1992
1993 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1994
1995         * buffer.C (readHeader): use "&&" rather than "and".
1996
1997         * lyxserver.h (inPipeName, outPipeName): make these const.
1998
1999 2005-01-19  Angus Leeming  <leeming@lyx.org>
2000
2001         * lyx_main.C (error_handler, init): protect SIGHUP with
2002         #ifdef SIGHUP guards.
2003
2004 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2005
2006         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
2007
2008 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2009
2010         * text.C (setHeightOfRow): add a margin at the top and bottom of
2011         the document (bug 1761)
2012
2013 2005-01-17  Angus Leeming  <leeming@lyx.org>
2014
2015         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
2016         with "python ". Workaround for a brain-dead Windows.
2017
2018 2005-01-16  Angus Leeming  <leeming@lyx.org>
2019
2020         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
2021         for MacOSX and Windows to use prependEnvPath.
2022         Strip out the hard-coded block to add elements to the PATH for
2023         MacOSX and replace it with a call to prependEnvPath using the
2024         contents of LyXRC::path_prefix.
2025         (queryUserLyXDir): strip out the code to run reconfigure, instead
2026         returning a boolean indicating the necessity to do so.
2027         (reconfigureUserLyXDir): contains the code to reconfigure the
2028         user support directory. Is now called after the various LyXRC data
2029         files have been read.
2030
2031         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
2032
2033 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2034
2035         * converter.[Ch] (convert): take a new parameter try_default. Use
2036         a default converter (imagemagick) if try_default is true.
2037
2038 2005-01-13  Angus Leeming  <leeming@lyx.org>
2039
2040         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
2041         os::cygwin_path_fix.
2042         (write): output LyXRC::cygwin_path_fix as necessary.
2043
2044 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
2045
2046         * lyxrc.h:
2047         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
2048
2049 2005-01-12  Angus Leeming  <leeming@lyx.org>
2050
2051         * lyx_main.C (init): set the PATH variable to include the
2052         directory containing the LyX binary when running on Mac or Windows.
2053
2054 2005-01-12  Angus Leeming  <leeming@lyx.org>
2055
2056         * lyx_main.C (init): remove cruft that purports to set the locale
2057         dir. It doesn't and is not needed anyway.
2058
2059 2005-01-10  Angus Leeming  <leeming@lyx.org>
2060
2061         * Makefile.am: remove the lyx_main.C special casing.
2062
2063         * BufferView_pimpl.C:
2064         * bufferlist.C:
2065         * exporter.C:
2066         * lyx_cb.C:
2067         * lyx_main.C:
2068         * lyxfunc.C:
2069         * messages.C: use support/package.h to provide the paths to the
2070         various directories used by LyX.
2071
2072 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2073
2074         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
2075         layout if pasting into an empty paragraph)
2076
2077 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2078
2079         * tex-accent.C: add <string>
2080
2081 2005-01-06  José Matos  <jamatos@lyx.org>
2082
2083         * ParagraphParameters.C (write): put every parameter in its own line.
2084         * paragraph.C (write): reduce number of consecutive empty lines exported.
2085         * buffer.C (LYX_FORMAT): increase file format to 239.
2086
2087 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2088
2089         * everywhere: change support/tostr.h -> support/convert.h
2090
2091         * tabular.C: make all write_attributes templates, tostr -> convert
2092
2093         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
2094         (emptyTag): and -> &&, and fix type for ret from getChar
2095         (getFirstWord): fix type for ret from getChar
2096         (onlyText): and -> &&
2097         (simpleDocBookOnePar): and not -> && !, fix type for ret from
2098         getChar
2099
2100         * toc.C (goTo, action):
2101         * text3.C (dispatch):
2102         * text.C (currentState):
2103         * tex-accent.C (DoAccent):
2104         * sgml.C:
2105         * lyxrc.C:
2106         * lyxfunc.C (menuNew):
2107         * lyxfinc.C (replace):
2108         * counters.C (laberItem):
2109         * bufferview_funcs.C (font2string):
2110         * bufferparams.C (writeFile):
2111         * buffer.C (readFile):
2112         * Spacing.C (set):
2113         * MenuBackend.C: tostr -> convert
2114
2115         * LaTeX.C (runMessage): fix format
2116         (scanAuxFiles): tostr -> convert
2117
2118         * BufferView_pimpl.C (savePosition): fix format
2119         (restorePosition): ditto
2120         (dispatch): ditto
2121
2122 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2123
2124         * Spacing.[Ch]: New method getValueAsString().
2125
2126         * Spacing.[Ch]:
2127         * bufferparams.C:
2128         * ParagraphParameters.C:
2129         * lyxlayout.C:
2130         * text.C:
2131         * text3.C: store/read spacing value as string.
2132
2133         * rowpainter.C: change float value (spacing_val) to double.
2134
2135         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2136         broken custom document spacing).
2137
2138 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2139
2140         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2141         namespace, also more use of temp references and const
2142
2143         * cursor.[Ch] (getStatus): move to lyxfunc.C
2144
2145         * bufferparams.C: reformat slightly
2146
2147         * bufferview_funcs.C (font2string): constify arg
2148
2149         * changes.C:
2150         * converter.C:
2151         * counters.C:
2152         * bufferlist.C:
2153         * buffer_funcs.C: (many funcs): constify arg on function
2154         definitions, also make more local vars const, also add ASSERTS on
2155         pointer args.
2156
2157         * buffer.C (LYX_FORMAT): put const in correct place
2158         (many funcs): constify arg on function definitions, also make
2159         more local vars const
2160
2161         * aspell_local.h: remove "struct" from typdef setup
2162
2163         * aspell.C (check): make word_ok const
2164         (nextMiss): simplify slightly
2165         (error): ditto
2166
2167 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2168
2169         * lyxrc.[Ch]: store all float values as strings.
2170         use int (not float) for lyxrc.dpi.
2171
2172 2005-01-04  Angus Leeming  <leeming@lyx.org>
2173
2174         * lyx_cb.C (Reconfigure):
2175         * lyx_main.C (queryUserLyXDir):
2176         to run the <system_lyxdir>/configure correctly on Windows, prefix
2177         the path to the script with "sh " when generating the string that
2178         is passed to system().
2179
2180 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2181
2182         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2183
2184 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2185
2186         * lyxlength.C (asLatexString): get rid of setprecision
2187
2188 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2189
2190         * text2.C (setLayout): remove unused variable endpit.
2191         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2192
2193         * paragraph.C (onlyText): remove unused variable style.
2194
2195         * cursor.C (bruteFind): remove unused variables beg and end.
2196
2197         * Makefile.am (dist_noinset_DATA): not needed anymore
2198
2199         * cheaders/*: remove.
2200
2201 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2202
2203         * text3.C: fix LFUN_MATH_MODE.
2204
2205 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2206
2207         * buffer_funcs.C (countWords): new function. Counts words between
2208         two iterators.
2209
2210         * BufferView_pimpl.C (getStatus, dispatch): handle
2211         LFUN_WORDS_COUNT.
2212
2213         * LyXAction.C (init):
2214         * lfuns.h: add LFUN_WORDS_COUNT.
2215
2216 2004-12-19  Angus Leeming  <leeming@lyx.org>
2217
2218         * buffer.C (save): s/slashify_path/internal_path/.
2219
2220 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2221
2222         * lyxfind.C (findChange): do not search for end of pars, because
2223         the change tracker cannot handle this (fixes bug 1719).
2224
2225 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2226
2227         * paragraph.[Ch] (autoBreakRows): remove
2228
2229         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2230
2231         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2232         avoid using the paragraph one
2233
2234         * text2.C (LyXText, insertStringAsLines): adjust
2235
2236 2004-12-16  Angus Leeming  <leeming@lyx.org>
2237
2238         * bufferlist.C:
2239         * lyx_main.C:
2240         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2241
2242 2004-12-14  Angus Leeming  <leeming@lyx.org>
2243
2244         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2245
2246         * bufferlist.C (emergencyWrite):
2247         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2248         GetEnvPath("HOME").
2249
2250 2004-12-14  Angus Leeming  <leeming@lyx.org>
2251
2252         * main.C: (main): no longer pass pointers to os::init.
2253
2254 2004-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2255
2256         * buffer.C: format up to 239.
2257
2258 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2259
2260         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2261         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2262
2263 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2264
2265         * lyxfunc.C:
2266         * text3.C: remove selection_possible global flag
2267
2268 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2269
2270         * text2.C (getSelectionSpan): remove
2271         (changeDepth, changeDepthAllowed): adjust
2272
2273 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2274
2275         * Makefile.am (BOOST_LIBS): use boost variables
2276
2277 2004-12-03  José Matos  <jamatos@lyx.org>
2278
2279         * buffer.C: format up to 238.
2280
2281 2004-12-03  José Matos  <jamatos@lyx.org>
2282
2283         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2284
2285 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2286
2287         * cursor.C (goUpDown): remove call to idxUpDown2
2288
2289 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2290
2291         * tabular.[Ch]: use size_t-like types for cell, row and column
2292         indices
2293
2294 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2295
2296         * lyxfunc.C (getStatus): do not lose previous information when
2297         calling BufferView::getStatus; do not set a default "Command
2298         disabled" message at the beginning, but just before returning.
2299
2300 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2301
2302         * cursor.h (getStatus): add better comment from src/cursor.C
2303
2304 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2305
2306         * text3.C (getStatus): return false when the lfun is not handled
2307
2308 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2309
2310         * broken_headers.h: remove
2311
2312         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2313
2314 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2315
2316         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2317         offset_ref accessors
2318
2319         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2320         top_y_, merge fitcursor with update
2321         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2322         coord scheme
2323         (metrics): introduce
2324         (workAreaDispatch): adapt to new coord scheme
2325         (redoCurrentBuffer): remove
2326
2327         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2328
2329         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2330         CurStatus enum.
2331
2332         * coordcache.[Ch]: add paragraph cache and helpers
2333
2334         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2335         adjust everywhere
2336
2337         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2338         (targetX, setTargetX): introduce
2339
2340         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2341         baseline -> ascent, as the rest of lyx
2342
2343         * lyxtext.h: remove redoParagraphs, updateParPositions,
2344         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2345         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2346         have ascent/descent (ascent is ascent of first par)
2347
2348         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2349         step of BufferView
2350
2351         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2352
2353         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2354
2355         * pariterator.C: fix infinite loop introduced in par->pit renaming
2356
2357         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2358         in insets and LyXText, draw two off-screen paragraphs using
2359         NullPainter, and adapt to new coord scheme
2360
2361         * text.C:
2362         * text2.C:
2363         * text3.C: adapt lfun handlers to the new coord scheme, which
2364         means: there's only guaranteed coord information for onscreen pars
2365         plus one above and one below. This implies that one can do search
2366         from y coordinates in the range [-1,workHeight]
2367
2368 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2369
2370         * rename a lot of InsetOld to InsetBase
2371
2372 2004-11-25  Angus Leeming  <leeming@lyx.org>
2373
2374         * BufferView_pimpl.C:
2375         * lyx_cb.C:
2376         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2377
2378 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2379
2380         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2381         call BufferView::getStatus if Cursor::getStatus did nothing
2382         (setStatusMessage, getStatusMessage): removed.
2383
2384         * FuncStatus.C (message): new methods. Used to provide an error
2385         message indicating why a command is disabled.
2386         (clear, |=, FuncStatus): update for message.
2387
2388 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2389
2390         * lyxfunc.C (dispatch): always call sendDispatchMessage
2391
2392 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2393
2394         * BufferView.C:
2395         * BufferView_pimpl.C:
2396         * CutAndPaste.C:
2397         * FontIterator.C:
2398         * buffer.C:
2399         * cursor.C:
2400         * cursor_slice.[Ch]:
2401         * dociterator.[Ch]:
2402         * lyxfind.C:
2403         * paragraph_funcs.C:
2404         * pariterator.C:
2405         * rowpainter.C:
2406         * text.C:
2407         * text2.C:
2408         * text3.C:
2409         * undo.C: par->pit renaming
2410
2411 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2412
2413         * tabular.C (cellstruct): use initialization, store a shared_ptr
2414         to insettext instead of the insettext directly, adjust to fit.
2415         (operator=):  new function
2416         (swap): new function
2417         (rowstruct): use initialization
2418         (columnstruct): use initialization
2419         (ltType): use initialization
2420
2421
2422         * lyxlength.h (swap): new function
2423
2424         * LColor.[Ch] (operator=): use the common semantics
2425
2426 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2427
2428         * lyxfind.C (findNextChange): update the bufferview after setting
2429         the selection.
2430
2431 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2432
2433         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2434         number of InsetOptArgs has already been inserted.
2435
2436         * output_latex.C (latexOptArgInsets): new method. This outputs all
2437         the optarg insets, up to the limit defined in the layout file.
2438         (optArgInset): removed
2439         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2440
2441 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2442
2443         * paragraph.C (isLetter): remove special spellchecker-related
2444         code; return true also for digits
2445         (isWord, isKomma): remove
2446
2447         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2448         * lyxfind.C (MatchString()): use isLetter instead of isWord
2449
2450 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2451
2452         * pariterator.h (operatir=): comment out un-implemented member
2453         function.
2454
2455         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2456         static cast.
2457
2458 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2459
2460         * lyxfont.h: include LColor.h to satisfy concept checks.
2461
2462 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2463
2464         * pariterator.h: add typdefs for value_type, difference_type,
2465         pointer and reference to satisfy concept checks. Also add default
2466         constructor for same reason.
2467
2468         * pariterator.C (operator++): add post-increment operator to
2469         satisfy concept checks.
2470
2471         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2472         checks.
2473
2474         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2475
2476         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2477         checks. Also rename base_type to BaseType to follow naming
2478         standard better.
2479
2480         * FloatList.h: include Floating.h to satisfy concept checks.
2481
2482 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2483
2484         * lyxfunc.C (getStatus): when the origin of the request is menu or
2485         toolbar, and the LyXView does not have focus, do as if there was
2486         no buffer (bug 1720)
2487
2488         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2489         FuncRequest to individual entries of LFUN_SEQUENCE
2490
2491 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2492
2493         * output_latex.C (TeXOnePar): override runparams.moving_arg
2494         according to the needprotect value of the current paragraph (bug
2495         1739)
2496
2497         * paragraph.C (simpleTeXOnePar): no need to override
2498         runparams.moving_args here
2499
2500 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2501
2502         * vspace.C: fix off-by-one-error, related to fix #1682
2503
2504 2004-11-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2505
2506         * buffer.C: format up to 238.
2507
2508 2004-11-11  Edwin Leuven
2509
2510         * LaTeXFeatures.C: add booktabs package
2511         * tabular.[Ch] (use_booktabs, setBookTabs, useBookTabs): new members,
2512         use them in several places
2513
2514 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2515
2516         * lengthcommon.C: a more general fix for bug 1682
2517
2518 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2519
2520         * text.C (backspace): fix crash
2521
2522 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2523
2524         * format.[Ch] (getFormatFromFile): new method
2525         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2526
2527 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2528
2529         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2530
2531 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2532
2533         * lyxfunc.C (dispatch): remove the verbose argument
2534         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2535         instead
2536
2537         * kbmap.C (defkey): set the origin of func to KEYBOARD
2538
2539         * MenuBackend.C (MenuItem):
2540         * ToolbarBackend.C (add): set the origin of func to UI
2541
2542         * funcrequest.[Ch]: add origin member, which indicates which part
2543         of LyX requests an action
2544
2545 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2546
2547         * converter.C (move): don't lie in the error message
2548         * converter.h (isReachable, move): document
2549
2550 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2551
2552         * buffer.C: remove unused using lyx::support::atoi
2553         * paragraph_funcs.C: ditto
2554
2555 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2556
2557         * bufferlist.C (exists): use bind and equal_to instead of
2558         compare_memfun
2559         (getBuffer): ditto
2560         * lyxtextclasslist.C (NumberOfClass): ditto
2561
2562         * cursor.C (insert): use for_each instead of explicit for loop
2563
2564         * bufferlist.C (getFileNames): use std::transform and
2565         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2566
2567         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2568         for loop
2569
2570         * buffer.C (changeLanguage): use for_each instead of explicit for
2571         loop
2572         (hasParWithID): implement using getParFromID
2573
2574         * LaTeXFeatures.C: ws change only
2575
2576         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2577         to cleanup a bit.
2578
2579         * BufferView_pimpl.C (trackChanges): use for_each instead of
2580         expilicit for loop
2581
2582 2004-11-04  André Pönitz  <poenitz@gmx.net>
2583
2584         * undo.h:
2585         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2586
2587         * dociterator.C (asDocIterator): use hard assert again.
2588
2589 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2590
2591         * lyxlength.C (asLatexString): rewrite so that it does not use
2592         snprintf anymore
2593
2594 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2595
2596         * text3.C (specialChar, dispatch): make sure cursor moves to the
2597         right after inserting an inset
2598
2599 2004-11-02  José Matos  <jamatos@lyx.org>
2600
2601         * output_docbook.C (docbook):
2602         * paragraph.C (getID):
2603         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2604         garantee that the output is always legal.
2605
2606         * tabular.C (docbook):
2607         * outputprams.[Ch]: remove mixed contents.
2608
2609 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2610
2611         * text2.C (setCounter): prevent endless loop
2612
2613 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2614
2615         * exporter.C (copyFile): use the mover instead of support::copy()
2616         * exporter.C (Export): pass format and latex name to copyFile()
2617         * exporter.h (addExternalFile): document
2618         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2619
2620 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2621
2622         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2623
2624 2004-10-30  José Matos  <jamatos@lyx.org>
2625
2626         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2627         text and no inset or font change. This allows to use CDATA
2628         sections just for the whole paragraph.
2629
2630 2004-10-30  José Matos  <jamatos@lyx.org>
2631
2632         * paragraph.C (getFirstWord): remove unused variable.
2633
2634 2004-10-30  José Matos  <jamatos@lyx.org>
2635
2636         * paragraph.C (getFirstWord): the content should always be escaped
2637         there.
2638         (simpleDocBookOnePar):
2639         * output_docbook.C (makeEnvironment): replace reference to CDATA
2640         to style pass_thru.
2641
2642 2004-10-30  José Matos  <jamatos@lyx.org>
2643
2644         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2645
2646 2004-10-30  José Matos  <jamatos@lyx.org>
2647
2648         * output_docbook.C (makeParagraphs):
2649         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2650         standard paragraph has only a given type of content drop the wrapper.
2651
2652 2004-10-29  José Matos  <jamatos@lyx.org>
2653
2654         * output_docbook.C (makeEnvironment):
2655         * sgml.C (openTag):
2656         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2657
2658 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2659
2660         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2661         (cleanID): sanitize any id.
2662
2663 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2664
2665         * buffer.C, lyxlex_pimpl.C:
2666         * lyxlex_pimpl.C (setFile):
2667         s/getExtFromContents/getFormatFromContents/
2668
2669 2004-10-28  José Matos  <jamatos@lyx.org>
2670
2671         * output_docbook.C (makeEnvironment): move id to broadest possible
2672         scope.
2673
2674         * sgml.C (openTag): apply substitution of <> for all attributes.
2675
2676 2004-10-28  José Matos  <jamatos@lyx.org>
2677
2678         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2679         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2680         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2681
2682         * sgml.[Ch]: new version for open and closeTag for paragraph and
2683         for strings. Now they handle the ids of paragraphs.
2684
2685 2004-10-26  Angus Leeming  <leeming@lyx.org>
2686
2687         * Makefile.am: add mover.[Ch].
2688
2689         * converter.C (convert, move): use the new Movers to move external
2690         files to the temp directory.
2691
2692         * lyx_main.C (init): ensure that the global system_movers data
2693         is initialised.
2694
2695         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2696         preferences file.
2697
2698         * mover.[Ch]: new files, defining a Mover as a utility to move an
2699         external file between directories and, if necessary, manipulate this
2700         file using a helper script.
2701
2702 2004-10-25  José Matos  <jamatos@lyx.org>
2703
2704         * output_docbook.C (makeCommand): merge two if's that tested the
2705         same condition.
2706
2707 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2708
2709         * sgml.C (escapeString): fix warning in a better way
2710
2711 2004-10-25  José Matos  <jamatos@lyx.org>
2712
2713         * sgml.C (escapeString): import the require boosts header file for
2714         tie, and avoid a signed unsigned comparison.
2715
2716 2004-10-25  José Matos  <jamatos@lyx.org>
2717
2718         * sgml.h: add #include <string>
2719
2720 2004-10-25  José Matos  <jamatos@lyx.org>
2721
2722         * sgml.[Ch] (escapeString): new function to escape all the string.
2723
2724 2004-10-24  José Matos  <jamatos@lyx.org>
2725
2726         * paragraph.[Ch] (getFirstWord): new function to get the first
2727         word. Useful for description.
2728         (simpleDocBookOnePar): remove depth argument, add another that
2729         says where to start the paragraph.
2730
2731         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2732         use the new functions to fix cleanly the support for descriptions.
2733
2734 2004-10-24  José Matos  <jamatos@lyx.org>
2735
2736         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2737         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2738         * output_linuxdoc.C (linuxdocParagraphs):
2739         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2740         add buffer as argument.
2741
2742 2004-10-24  José Matos  <jamatos@lyx.org>
2743
2744         * output_docbook.C (makeEnvironment, searchEnvironment): place
2745         CDATA inside paragraphs and fix scope for listitems.
2746
2747 2004-10-24  José Matos  <jamatos@lyx.org>
2748
2749         * output_docbook.C: remove using statement for stack.
2750
2751 2004-10-23  José Matos  <jamatos@lyx.org>
2752
2753         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2754         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2755         docbook. The new scheme is recursive and makes use of iterators, the
2756         same as latex export works.
2757         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2758         directly with the paragraph contents. This code was moved up to
2759         output_docbook.C (docbookParagraphs).
2760         * sgml.C (openTag, closeTag): removed unneeded newlines.
2761         (closeEnvTags) removed.
2762
2763 2004-10-23  André Pönitz  <poenitz@gmx.net>
2764
2765         * undo.C (textUndoOrRedo):
2766         * dociterator.C (asDocIterator): work around crash
2767
2768         * cursor.C (getStatus): replace ASSERT by more verbose error message
2769           and manual correction of the problem. Should increase stability
2770           while providing more sensible information.
2771
2772 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2773
2774         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2775
2776         * bufferlist.C (previous, next): new methods
2777
2778         * lfuns.h:
2779         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2780
2781 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2782
2783         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2784         entities to preamble.
2785
2786 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2787
2788         * messages.C (Pimpl): strip off translation context information
2789
2790 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2791
2792         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2793         the cursor is correct (bug 1694)
2794
2795 2004-10-13  José Matos  <jamatos@lyx.org>
2796
2797         * output_docbook.C (docbookParagraphs): fix closing tags in the
2798         end of the document.
2799
2800 2004-10-09  José Matos  <jamatos@lyx.org>
2801
2802         * buffer.C: format up to 237.
2803         * bufferparams.C (write): use tostr to convert booleans to strings.
2804
2805 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2806
2807         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2808
2809 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2810
2811         * LaTeX.C: implement use of babel language in xindy.
2812
2813 2004-10-05  José Matos  <jamatos@lyx.org>
2814
2815         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2816         Add new translators to help reading and writing the lyx file.
2817
2818 2004-10-05  José Matos  <jamatos@lyx.org>
2819
2820         * ParagraphParameters.C (read):
2821         * text.C (readParToken): replace nexToken by more appropriate lex
2822         methods.
2823
2824 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2825
2826         * LaTeX.C (runMakeIndex):
2827         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2828         (usually 'makeindex') configurable.
2829
2830         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2831         with a variable rather than with a number.
2832
2833 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2834
2835         * output_latex.C (TeXOnePar): make sure font setting is the first
2836         thing that gets output (and the last at the end). Should fix bug
2837         1404.
2838
2839 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2840
2841         * pch.h: use proper signal include
2842
2843         * LaTeX.h: Use preferred calling of Boost.Signal
2844         * buffer.h: ditto
2845
2846 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2847
2848         * pch.h: dont include <boost/function/function0.hpp>
2849
2850         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2851
2852         * paragraph_pimpl.h: remove usage of ShareContainer
2853
2854         * paragraph_pimpl.C: remove initialization of ShareContainer.
2855
2856 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2857
2858         Fix bug #1666
2859
2860         * BufferView.C (putSelectionAt): change the semantics when
2861         backwards == true: now, this just swaps cursor and anchor wrt the
2862         forward case
2863
2864         * BufferView.h (putSelectionAt): add some documentation
2865
2866         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2867         make sure backwardChar is done at least once (to avoid getting
2868         stuck)
2869         (findNextChange): use putSelectionAt in the forward direction
2870         (operator()): use Paragraph::isWord
2871
2872 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2873
2874         * Spacing.C (set): c_str fix
2875
2876 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2877
2878         * lyx_cb.C (Reconfigure): quote the name of configure script in
2879         case it contains spaces
2880
2881 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2882
2883         * client: new dir
2884
2885         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2886         (BOOST_LIBS): use top_buildir when looking for the file
2887
2888 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2889
2890         * pch.h: do not use include boost/format.hpp, multiple symbols
2891                 will result (gcc bug)
2892
2893
2894 2004-08-23  José Matos  <jamatos@lyx.org>
2895
2896         * bufferparams.C (readToken): fix reading of the author field.
2897
2898 2004-08-20  José Matos  <jamatos@lyx.org>
2899
2900         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2901
2902 2004-08-20  José Matos  <jamatos@lyx.org>
2903
2904         * lyxlex.[Ch] (findToken): remove function.
2905
2906         * ParagraphParameters.C (findToken):
2907         * bufferparams.C (findToken): replace call for previous function
2908         with local copy. This local function has one more argument, the
2909         read string argument.
2910
2911 2004-08-16  José Matos  <jamatos@lyx.org>
2912
2913         * ParagraphParameters.C (write):
2914         * Spacing.C (writeFile):
2915         * bufferparams.C (writeLaTeX):
2916         * lyx_cb.C (Reconfigure):
2917         * paragraph.C (write):
2918         * tabular.C (write): remove unnecessary space at end of line.
2919
2920
2921 2004-08-16  José Matos  <jamatos@lyx.org>
2922
2923         * text.C (readParagraph): remove debug message.
2924
2925 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2926
2927         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2928         crash
2929
2930         * output_plaintext.C (asciiParagraph): set depth correctly
2931
2932         * outputparams.h: add member depth
2933
2934         * paragraph_funcs.C (ownerPar): remove.
2935
2936         * text2.C (setCounter): remove first_pit; comment out some
2937         non-working code that uses ownerPar
2938
2939         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2940         uses ownerPar
2941
2942 2004-08-16  José Matos  <jamatos@lyx.org>
2943
2944         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2945         For the same level of importance use the same chanel to report problems.
2946         (read): add code to deal with \begin_body and \end_body.
2947
2948
2949 2004-08-15  José Matos  <jamatos@lyx.org>
2950
2951         * lyxlex.C (getString): fix comment, buffer::readBody is now
2952         buffer:readDocument.
2953
2954         * tex-strings.C (string_papersize): Default -> default,
2955         Custom -> custom, for consistency with other options.
2956
2957 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2958
2959         * pch.h: new file
2960
2961         * Makefile.am: support pch
2962
2963 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2964
2965         * text.C (readParToken): remove the static LyXFont variable and
2966         pass it as a parameter instead. This fixes a nasty bug where an
2967         inset will be inserted with a bad font in some situations
2968         (readParagraph): adapt
2969
2970         * text2.C (setCounter): reduce number of calls to pars_[pit]
2971
2972         * text.C (singleWidth): add an assert, fix a test
2973
2974         * rowpainter.C (paintText): reduce number of calls to singleWidth
2975
2976         * paragraph.C (isHfill):
2977         (isNewline): ws only
2978
2979 2004-08-14  André Pönitz  <poenitz@gmx.net>
2980
2981         * text.C:
2982         * text2.C:
2983         * rowpainter.C:
2984         * lyxtext.h (several functions): use a Paragraph & argument
2985         instead of par_type
2986
2987 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2988
2989         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2990
2991         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2992
2993         * text.C (singleWidth): remove useless test
2994
2995 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2996
2997         * tabular.h: remove bogus comments
2998
2999         * tabular.C (getDescentOfRow):
3000         (isPartOfMultiColumn): add assertions
3001
3002         * lyxlength.C (inPixels): remove #warning
3003
3004 2004-08-14  André Pönitz  <poenitz@gmx.net>
3005
3006         * paragraph.h: inline getChar()
3007
3008         * BufferView.h: remove unused declarations
3009
3010 2004-08-14  José Matos  <jamatos@lyx.org>
3011
3012         * Buffer.[Ch] (readDocument): new name for old readBody.
3013         * Buffer.C: new file format, new keywords: \begin_document,
3014         \begin_header, \begin_body, \end_body.
3015
3016         * bufferparams.C (readToken): replace all calls to lex.nextToken
3017         by lex.next(). Do the same to eatLine except where really needed.
3018
3019         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
3020         line when writing to the lyx file.
3021
3022         * output_plaintext.C (asciiParagraph): fix Bibliography style
3023         handling.
3024
3025         * text.C (read): fix end of file handling.
3026
3027 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3028
3029         * MenuBackend.C (Menu::operator[]): new method to access
3030         individual menu items
3031         (Menu::hasFunc): new method. search for an item that corresponds
3032         to a given func
3033         (MenuBackend::specialMenu): new method
3034         (MenuBackend::expand): if a special menu has been set, skip
3035         entries whose func() appears in this menu
3036
3037 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3038
3039         * text3.C: use Debug::DEBUG a bit more
3040
3041         * text.C (leftMargin): try to simplify a tiny bit change var x to
3042         l_margin. Dont output the wide margins always.
3043         (rightMargin): no margin in inner texts
3044
3045         * rowpainter.h (nestMargin): new func
3046         (changebarMargin): new func
3047         (rightMargin): new func
3048
3049         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
3050         now functions.
3051         (paintLast): ditto
3052
3053         * factory.C (createInset): modify setDrawFrame
3054
3055         * cursor.C: use Debug::DEBUG a bit more
3056
3057 2004-08-14  André Pönitz  <poenitz@gmx.net>
3058
3059         * coordcache.[Ch]:
3060         * Makefile.am: new files to accomodate an 'external' (x,y)-position
3061         cache for all insets in (at least partially) visible (top-level)
3062         paragraphs.
3063
3064         * BufferView_pimpl.C: reset external coord cache before every update.
3065         This means the coord cache only contains valid entries.
3066
3067 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3068
3069         bug 1096
3070         * BufferView_pimpl.C (getInsetByCode): move function out of class
3071         and change in to a template in anon namespace. Also fix to do what
3072         suits us better.
3073
3074 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
3075
3076         bug 1305
3077         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
3078         of char
3079         (breakParagraph): rename par to par_offset and use a local
3080         reference. Add code to keep the language over a rebreak.
3081         (breakParagraphConservative): rename par to par_offset, use a
3082         local reference
3083         (mergeParagraph): ditto
3084         (outerHook): ditto
3085         (isFirstInSequence): ditto
3086         (outerFont): rename pit to par_offset
3087
3088         * paragraph.C: ws change
3089         * paragraph.h: ditto
3090         * text3.C: ditto
3091         * text.C: ditto
3092
3093 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3094
3095         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
3096         treatment for ']'
3097
3098         * paragraph.C (simpleTeXOnePar): when we have a \item with
3099         optional argument, enclose the argument with curly brackets (in
3100         case it contains a closing square bracket)
3101
3102         * text2.C (editXY):
3103         * text2.C (editXY):
3104         * text3.C (checkInsetHit): constify
3105
3106 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3107
3108         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
3109         documents (bug 1629)
3110
3111 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3112
3113         Fix toggling of collapsable insets with the mouse (bug 1558)
3114
3115         * lyxfunc.C (dispatch): adapt to Cursor changes
3116
3117         * BufferView_pimpl.C (workAreaDispatch): adapt to Cursor changes;
3118         make sure that dispatch is not invoked twice
3119
3120         * cursor.C (needsUpdate): new method
3121         (dispatch): return void
3122         (result): new method, to access the DispatchResult of the cursor.
3123
3124 2004-08-13  José Matos  <jamatos@lyx.org>
3125
3126         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3127
3128 2004-08-13  André Pönitz  <poenitz@gmx.net>
3129
3130         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3131
3132         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3133           multiple cells
3134
3135 2004-08-12  André Pönitz  <poenitz@gmx.net>
3136
3137         * text3.C: take out the 'cursor right' form insertInset and only
3138         do it in those places when it is really needed. Fixes crash on
3139         C-m...
3140
3141 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3142
3143         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3144
3145         * BufferView_pimpl.C (setBuffer): initialize the current font of
3146         the underlying LyXText
3147
3148 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3149
3150         * kbsequence.C (print): use UI native formatting for menu
3151         shortcuts
3152
3153         * text.C (insertChar): call Paragraph::insertChar with a font
3154         argument (cosmetic)
3155
3156         * paragraph.C (insertInset, insertChar): the version that takes a
3157         LyXFont argument is now a wrapper around the other one (the
3158         opposite used to be true).
3159
3160         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3161         argument. Font setting is done in Paragraph now.
3162
3163 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3164
3165         * outputparams.h: add new members intitle and lang.
3166
3167         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3168         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3169
3170 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3171
3172         * text3.C (dispatch): remove special handling of button 4 and 5,
3173         it is now taken care of in the frontend code.
3174
3175 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3176
3177         * Spacing.h: add <string> (STLPort compile fix)
3178
3179 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3180
3181         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3182
3183 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3184
3185         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3186         to bool.
3187
3188         * converter.C (showMessage): inherit from unary_function, make
3189         operator() const.
3190
3191         * buffer.C (writeFile): initialize retval
3192
3193         * InsetList.h: rename private variable list to list_
3194         * InsetList.[Ch]: adjust accordingly.
3195
3196 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3197
3198         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3199         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3200         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3201         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3202         * ParagraphParameters.C, LaTeXFeatures.C: replace
3203         "support/std_sstream.h" with <sstream>
3204
3205 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3206
3207         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3208         * lyxsocket.C (LyXServerSocket): ditto
3209         (serverCallback): ditto
3210
3211 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3212
3213         * LaTeXFeatures.C: check release date when loading jurabib.
3214
3215 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3216
3217         * lyxserver.C (startPipe): call register_socket_callback
3218         (endPipe): call unregister_socket_callback
3219
3220 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3221
3222         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3223         (LyXServerSocket): register the callback
3224         (LyXServerSocket): unregister the callback
3225         (fd): delete function
3226         (serverCallback): improve error checking and setup the callbacks.
3227         (dataCallback): change arg to fd.
3228         (writeln): new func (copied fro the client socket) used for server
3229         write to client.
3230         (LyXDataSocket): simplify
3231         (~LyXDataSocket): close ann unregiser callback
3232         (server): delete function
3233         (fd): delete function
3234         (readln): small changes, improve some std::string usage
3235         (writeln): constify a bit
3236
3237 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3238
3239         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3240         Qt frontend
3241
3242 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3243
3244         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3245         after it has been populated
3246
3247 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3248
3249         * text2.C (insertInset): move cursor when inserting inset.
3250
3251 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3252
3253         * kbmap.C (findbindings): a couple of new methods. returns a
3254         container of kb_sequence objects. The real work is done by the
3255         private recursive version
3256         (printbindings): uses findbindings to print out a bracketed list
3257         of bindings (renamed from findbinding).
3258
3259         * MenuBackend.C (binding): use kb_keymap::findbindings
3260
3261         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3262
3263 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3264
3265         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3266
3267 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3268
3269         * paragraph.C (isWord): return true on insets that report
3270         isLetter().
3271
3272         * text.C (getWord): use Paragraph::isWord to decide what is in a
3273         word and what is not; fix bug 1609.
3274
3275 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3276
3277         * tex-strings.C: add "none" to string_paperpackages[], fixes
3278         off-by-one-error in the paperpackage selection.
3279
3280         * lyxlex.[Ch]:
3281         * tex-strings.[Ch]: char const * string[n]
3282         -> char const * const string[]
3283
3284 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3285
3286         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3287         command, return early.
3288
3289 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3290
3291         * debug.h: add DEBUG to enum and fix size of ANY.
3292
3293         * debug.C: add support for Debug::DEBUG
3294         (showTags): cast errorTags.level to unsigned int
3295
3296         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3297         (redoCurrentBuffer): ditto
3298         (updateScrollbar): ditto
3299         * cursor.C (dispatch): ditto
3300         * text2.C (setLayout): ditto
3301         (setFont): ditto
3302         (updateCounters): ditto
3303         (editXY): ditto
3304         (deleteEmptyParagraphMechanism): ditto
3305
3306 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3307
3308         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3309         annotations to cleanup the Makefile slightly.
3310
3311 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3312
3313         * lyxrc.C: do not set user_email to a default value but use empty
3314         instead. The entry used to be translated, which does not work
3315         since at the point where lyxrc is constructed there is no
3316         translation service available
3317
3318         * messages.C (getLocaleDir): remove and use directly
3319         lyx_localedir() instead
3320
3321 2004-06-02  Angus Leeming  <leeming@lyx.org>
3322
3323         Fix crash caused by dereferencing null pointer 'exportdata' in
3324         OutputParams by creating a new ExportData variable on the heap,
3325         storing it in a boost::shared_ptr.
3326         The crash was triggered when generating an Instant Preview
3327         of an external inset.
3328
3329         * Makefile.am: add outputparams.C
3330
3331         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3332         (c-tor): allocate memory to it.
3333
3334         * exporter.C (c-tor): associated changes.
3335
3336 2004-06-01  Angus Leeming  <leeming@lyx.org>
3337
3338         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3339         contains data before calling isInset(0). (Bug 1513.)
3340
3341 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3342
3343         * exporter.C (checkOverwrite): new method
3344         * exporter.C (copyFile): new method
3345         * exporter.C (Export): copy referenced files to the document dir
3346         * exporter.[Ch]: new class ExportedFile
3347         * exporter.[Ch]: new class ExportData. Contains currently the
3348         names of referenced external files
3349         * outputparams.h: add exportdata member.
3350
3351 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3352
3353         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3354         version.C-tmp
3355
3356 2004-05-19  Angus Leeming  <leeming@lyx.org>
3357
3358         * LaTeXFeatures.C:
3359         * ToolbarBackend.C:
3360         * bufferparams.C:
3361         * lyxfunc.C: small changes due to the introduction of namespace
3362         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3363
3364 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3365
3366         * text3.C (dispatch): supress update when only moving the cursor
3367         * cursor.C (selHandle): remove commented code
3368
3369 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3370
3371         * paragraph.C (startTeXParParams): correct column count
3372         * CutAndPaste.C (pasteSelection): remove const_cast
3373         * output_docbook.C (docbookParagraphs): remove const_cast
3374         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3375         const_cast and return ParagraphList::const_iterator
3376         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3377         * output_plaintext.C (writeFileAscii): remove const_cast
3378         * paragraph.[Ch] (simpleTeXOnePar): make const
3379         * paragraph_funcs.C (outerPar): use const iterators
3380         * paragraph_pimpl.C (validate): use const iterators
3381         * text.C (setHeightOfRow): use const iterators
3382
3383 2004-05-17  Angus Leeming  <leeming@lyx.org>
3384
3385         * lfuns.h:
3386         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3387
3388         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3389         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3390         if the citation engine has changed.
3391
3392 2004-05-14  José Matos  <jamatos@lyx.org>
3393
3394         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3395         if the textclass does not provide it. Have it different for sgml and
3396         xml.
3397         support the language of document.
3398         * output_docbook.C (docbookParagraphs):
3399         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3400         first anchor as the id of the paragraph, remove special case code.
3401         * sgml.C (escapeChar): escape only < & >.
3402
3403 2004-05-14  Angus Leeming  <leeming@lyx.org>
3404
3405         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3406         dependencies on src/frontends/controllers/biblio.h. Define a
3407         CiteEngine_enum wrapper class to enable the enum to be forward
3408         declared.
3409
3410 2004-05-12  Angus Leeming  <leeming@lyx.org>
3411
3412         * buffer.C: up LYX_FORMAT to 234.
3413         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3414         use_numerical_citations with a single biblio::CiteEngine cite_engine
3415         variable.
3416         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3417
3418 2004-05-13  José Matos  <jamatos@lyx.org>
3419
3420         * converter.h:
3421         * converter.C (Converter, readFlags): add xml member.
3422         * outputparams.h: add XML flavor.
3423         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3424
3425 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3426
3427         * lyxfunc.C (dispatch):
3428         (getStatus): fix handling of LFUN_SEQUENCE
3429
3430 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3431
3432         * debug.C (showLevel): do not forget the end-of-line marker
3433
3434 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3435
3436         * kbmap.C (read): do not stop parsing a bind file when an error
3437         occurs (bug 1575)
3438
3439 2004-04-29  Angus Leeming  <leeming@lyx.org>
3440
3441         * cursor.C:
3442         * factory.C:
3443         * pariterator.C:
3444         * text2.C: wrap a bunch of #warning statements
3445         inside #ifdef WITH_WARNINGS blocks.
3446
3447 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3448
3449         * buffer.C: increment format to 233.
3450
3451 2004-04-28  Angus Leeming  <leeming@lyx.org>
3452
3453         * BufferView_pimpl.C:
3454         * lyxfunc.C:
3455         * text3.C:
3456         s/updateToolbar()/updateToolbars()/
3457         s/Toolbar.h/Toolbars.h/
3458
3459 2004-04-28  Angus Leeming  <leeming@lyx.org>
3460
3461         * BufferView.[Ch] (c-tor):
3462         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3463         No longer passes these data to the WorkArea generator.
3464
3465 2004-04-28  Angus Leeming  <leeming@lyx.org>
3466
3467         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3468
3469 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3470
3471         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3472
3473 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3474
3475         * output_latex.C (TeXEnvironment): make sure that there is a line
3476         break before \end{foo} for the last paragraph of a document
3477         (TeXOnePar): if the paragraph is at the end of the document (or
3478         inset) and the language has to be reset, then make sure that the
3479         line break is _before_ the language command, not after (fixes bug
3480         1225); also make sure that the language reset command is the first
3481         thing after the paragraph (to ensure proper nesting of
3482         environments and thus fix bug 1404)
3483
3484 2004-04-21  John Levon  <levon@movementarian.org>
3485
3486         * ToolbarBackend.h:
3487         * ToolbarBackend.C: make "name" be a programmatic name
3488         and a gui_name field.
3489
3490         * lyxfunc.C: display the minibuffer on M-x
3491
3492 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3493
3494         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3495         (bug 1526)
3496
3497 2004-04-19  Angus Leeming  <leeming@lyx.org>
3498
3499         * BufferView_pimpl.C (setBuffer): changed preview interface.
3500
3501         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3502         possible values.
3503
3504 2004-04-19  John Levon  <levon@movementarian.org>
3505
3506         * BufferView_pimpl.C:
3507         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3508
3509 2004-04-05  Angus Leeming  <leeming@lyx.org>
3510
3511         * text.C (redoParagraphs): add call to updateCounters(), thereby
3512         fixing the missing "Figure #:" label from the caption of a
3513         figure float.
3514
3515 2004-04-13  Angus Leeming  <leeming@lyx.org>
3516
3517         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3518         cursor is clicked out of an inset.
3519
3520 2004-04-13  Angus Leeming  <leeming@lyx.org>
3521
3522         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3523         than an InsetOld one.
3524
3525 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3526
3527         * format.[Ch]: add editor to Format
3528         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3529         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3530
3531 2004-04-08  André Pönitz  <poenitz@gmx.net>
3532
3533         * metricsinfo.h: remove PainterInfo::width member
3534
3535 2004-04-08  Angus Leeming  <leeming@lyx.org>
3536
3537         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3538         "\providecommand" rather than "\newcommand", thereby preventing
3539         clashes with packages that define "\boldsymbol" themselves.
3540         Eg, beamer.
3541
3542 2004-04-08  Angus Leeming  <leeming@lyx.org>
3543
3544         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3545         thereby squashing an unnecessary warning.
3546
3547 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3548
3549         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3550         setBuffer()
3551
3552 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3553
3554         * BufferView.C (setCursor): call redoParagraph (some insets could
3555         have been opened)
3556         (putSelectionAt): remove the 'double update' trick
3557
3558         * BufferView_pimpl.C (fitCursor): call refreshPar
3559         (workAreaDispatch): remove an uneeded update call
3560         (dispatch): remove some manual update calls
3561
3562         * cursor.[Ch]: remove cached_y_, updatePos
3563         (selHandle): set noUpdate when appropriate
3564
3565         * lyxfunc.C (dispatch): track if we need an update
3566
3567         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3568
3569         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3570         (paintSelection): cheap optimization, do not call cursorX when not
3571         needed
3572         (paintPars): change signature
3573         (refreshPar): add
3574         (paintText): adjust
3575         (paintTextInset): adjust
3576
3577         * text.C: adjust
3578
3579 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3580
3581         * lengthcommon.C: compilation fix: remove explicit array size from
3582         unit_name[] and friends
3583
3584 2004-04-05  Angus Leeming  <leeming@lyx.org>
3585
3586         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3587
3588         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3589         present only for the preferences dialog.
3590         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3591
3592 2004-04-05  Angus Leeming  <leeming@lyx.org>
3593
3594         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3595         to enable the frontends to export changes to lyxrc correctly.
3596
3597         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3598
3599 2004-04-07  André Pönitz  <poenitz@gmx.net>
3600
3601         * cursor.[Ch] (selClear, adjust): remove math
3602
3603         * cursor_slice.C: more agressive assert
3604
3605         * lyxfunc.C:
3606         * BufferView_pimpl.C: rework mouse event dispatch
3607
3608         * dociterator.C:
3609         * paragraph.C:
3610         * text2.C:
3611         * text3.C: adjust
3612
3613 2004-04-05  André Pönitz  <poenitz@gmx.net>
3614
3615         * cursor.[Ch] (valign, halign...): remove unneeded functions
3616
3617 2004-04-05  Angus Leeming  <leeming@lyx.org>
3618
3619         * lyxlength.[Ch] (unit_name et al.): const-correct.
3620
3621 2004-04-05  Angus Leeming  <leeming@lyx.org>
3622
3623         * BufferView_pimpl.C:
3624         * buffer.C:
3625         * counters.C:
3626         * cursor.C:
3627         * lyxfunc.C
3628         * paragraph.C:
3629         * pariterator.C:
3630         * text.C:
3631         * text2.C:
3632         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3633
3634 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3635
3636         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3637
3638 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3639
3640         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3641         * BufferView_pimpl.[Ch] (getStatus)
3642         * BufferView.[Ch] (getStatus): add
3643         * lyxfunc.C (getStatus): move lfuns handled in
3644         BufferView::dispatch to te function above
3645         * Cursor.C (setSelection): set selection() = true
3646
3647 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3648
3649         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3650
3651 2004-03-31  Angus Leeming  <leeming@lyx.org>
3652
3653         * lyxfunc.C (dispatch): Fall through to the generic
3654         Dialogs::show("preamble").
3655
3656 2004-03-31  Angus Leeming  <leeming@lyx.org>
3657
3658         * lyxfunc.C (dispatch): Fall through to the generic
3659         Dialogs::show("spellchecker").
3660
3661 2004-03-31  Angus Leeming  <leeming@lyx.org>
3662
3663         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3664         preferences dialog.
3665
3666 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3667
3668         * BufferView.C
3669         * cursor.[Ch]
3670         * dociterator.[Ch]:
3671         * insetiterator.[Ch]:
3672         * lyxfind.C:
3673         * lyxfunc.C:
3674         * pariterator.[Ch]:
3675         * text2.C:
3676         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3677
3678 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3679
3680         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3681         insets where we are putting the cursor.
3682
3683 2004-03-31  Angus Leeming  <leeming@lyx.org>
3684
3685         * lfuns.h:
3686         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3687
3688         * lyxrc.[Ch] (read, write): overloaded member functions taking
3689         a std::[io]stream arguments.
3690
3691         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3692
3693 2004-03-31  Angus Leeming  <leeming@lyx.org>
3694
3695         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3696         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3697
3698         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3699         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3700
3701 2004-03-31  Angus Leeming  <leeming@lyx.org>
3702
3703         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3704         the LFUN_ALL_INSETS_TOGGLE code.
3705
3706 2004-03-30  Angus Leeming  <leeming@lyx.org>
3707
3708         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3709         has died. Fall through to the generic Dialogs::show("document").
3710
3711 2004-03-30  Angus Leeming  <leeming@lyx.org>
3712
3713         * lfuns.h:
3714         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3715         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3716
3717         * lyxfunc.C (getStatus, dispatch): define the actions for these
3718         lfuns. Little more than a cut and pste job from ControlDocument.C
3719
3720         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3721
3722 2004-03-30  Angus Leeming  <leeming@lyx.org>
3723
3724         * lfuns.h:
3725         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3726         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3727
3728         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3729         open/closed state of ollapsable insets. Usage:
3730
3731         all-inset-toggle <state> <name>, where
3732         <state> == "open" || "closed" || "toggle" and
3733         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3734
3735         * lyxtext.h, text2.C (toggleInset): removed.
3736
3737         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3738         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3739         now passes LFUN_INSET_TOGGLE to the found inset.
3740
3741         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3742         is now invoked as "all-insets-toggle toggle branch".
3743
3744 2004-03-30  Angus Leeming  <leeming@lyx.org>
3745
3746         * dociterator.C:
3747         * insetiterator.C:
3748         * pariterator.[Ch]: added/corrected header blurb.
3749
3750 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3751
3752         * dociterator.[Ch]: add an inset_ member
3753         (backwardPos): implemented
3754         (backwardPos, forwardPos): use inset_ when the stack is empty.
3755         (doc_iterator_begin, doc_iterator_end): implemented
3756         * pariterator.[Ch]: adjust, add begin, end
3757         * insetiterator.[Ch]: adjust, add begin, end
3758         * cursor.C:
3759         * document.C:
3760         * BufferView.C:
3761         * BufferView_pimpl.C:
3762         * CutAndPaste.C: adjust
3763
3764 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3765
3766         * buffer.C: increment file format to 232.
3767         * LaTeXFeatures.C: add bibtopic package.
3768         * bufferparams.[Ch]: param \use_bibtopic.
3769
3770         * lyxrc.[Ch]: add lyxrc bibtex_command
3771         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3772
3773         * buffer.C: increment file format to 231.
3774
3775 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3776
3777         * dociterator.C: implement forwardPar
3778         * iterators.[Ch]: remove, replaced by
3779         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3780         * BufferView.C:
3781         * BufferView_pimpl.C:
3782         * CutAndPaste.C:
3783         * buffer.C:
3784         * bufferview_funcs.C:
3785         * cursor.C:
3786         * lyxfind.C
3787         * lyxfunc.C
3788         * paragraph_funcs.C
3789         * toc.C:
3790         * Makefile.am: adjust
3791
3792 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3793
3794         * CutAndPaste.C (pasteSelection): fix 2 crashes
3795         (eraseSelection): fix a crash
3796         * paragraph_funcs.C: remove a warning
3797
3798 2004-03-28  Angus Leeming  <leeming@lyx.org>
3799
3800         * lfuns.h:
3801         * LyXAction.C (init): new LFUN_PRINT.
3802
3803         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3804
3805 2004-03-27  Angus Leeming  <leeming@lyx.org>
3806
3807         * lfuns.h:
3808         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3809
3810         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3811
3812 2004-03-27  Angus Leeming  <leeming@lyx.org>
3813
3814         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3815         insetlist always contains non-null pointers to insets.
3816
3817 2004-03-26  Angus Leeming  <leeming@lyx.org>
3818
3819         * src/BufferView_pimpl.C:
3820         * src/CutAndPaste.C:
3821         * src/buffer.C:
3822         * src/iterators.C:
3823         * src/output_plaintext.C:
3824         * src/outputparams.h:
3825         * src/paragraph_funcs.C:
3826         * src/rowpainter.C:
3827         * src/text.C:
3828         * src/text2.C:
3829         * src/frontends/controllers/ControlErrorList.C:
3830         * src/frontends/gtk/FileDialogPrivate.C:
3831         * src/frontends/gtk/GPainter.C:
3832         * src/frontends/gtk/GToolbar.C:
3833         * src/frontends/qt2/QRef.C:
3834         * src/mathed/math_scriptinset.C: squash compiler warnings.
3835
3836 2004-03-26  Angus Leeming  <leeming@lyx.org>
3837
3838         * ispell.C (LaunchIspell::start):
3839         * lyx_cb.C (AutoSaveBuffer::start):
3840         invoke run(DontWait) rather than runNonBlocking().
3841
3842 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3843
3844         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3845
3846 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3847
3848         * kbsequence.C (print): adjust
3849
3850         * kbmap.C (printKeySym): rename and change signature
3851         (printKey): use LyXKeySym::print()
3852
3853 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3854
3855         * undo.C: add using std::advance to compile for stlport
3856
3857 2004-03-24  Angus Leeming  <leeming@lyx.org>
3858
3859         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3860         it leads to a crash when no buffer is present.
3861
3862 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3863             Martin Vermeer  <martin.vermeer@hut.fi>
3864
3865         * lyxfunc.C (dispatch):
3866         * bufferparams.C (readToken): use the new LColor::setColor
3867
3868         * LColor.[Ch] (setColor): new version that takes two strings as
3869         argument and creates a new color entry if necessary
3870
3871 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3872
3873         * buffer.C (makeLaTeXFile): if the main latex file that is
3874         processed is usually a subdocument of some master, then pretend
3875         for a while that it is actually the master
3876
3877 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3878
3879         * buffer.C (getLabelList):
3880         (getBibkeyList): use getMasterBuffer()
3881         (getMasterBuffer): new method. Returns the main document in the
3882         case where one is using included documents.
3883
3884 2004-03-25  André Pönitz  <poenitz@gmx.net>
3885
3886         * Makefile.am:
3887         * iterators.[Ch]:
3888         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3889
3890         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3891
3892         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3893         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3894
3895         * ParameterStruct.h: merge with ParagraphParameters
3896
3897         * lyxtext.h: remove LyXText::parOffset() and getPar()
3898
3899         * text3.C: Remove all 'manual' update calls. We do now one per user
3900         interaction which is completely sufficient.
3901
3902         * Bidi.C:
3903         * BufferView.[Ch]:
3904         * BufferView_pimpl.C:
3905         * FontIterator.[Ch]:
3906         * MenuBackend.C:
3907         * ParagraphParameters.[Ch]:
3908         * buffer.C:
3909         * buffer.h:
3910         * bufferlist.C:
3911         * cursor.[Ch]:
3912         * cursor_slice.[Ch]:
3913         * dociterator.[Ch]:
3914         * errorlist.[Ch]:
3915         * factory.C:
3916         * lfuns.h:
3917         * lyxfind.C:
3918         * lyxfunc.C:
3919         * output_docbook.[Ch]:
3920         * output_latex.[Ch]:
3921         * output_linuxdoc.[Ch]:
3922         * output_plaintext.[Ch]:
3923         * paragraph.[Ch]:
3924         * paragraph_funcs.[Ch]:
3925         * paragraph_pimpl.[Ch]:
3926         * rowpainter.C:
3927         * tabular.[Ch]:
3928         * text.C:
3929         * text2.C:
3930         * toc.C:
3931         * undo.[Ch]: adjust
3932
3933         * frontends/controllers/ControlDocument.C:
3934         * frontends/controllers/ControlErrorList.C:
3935         * frontends/controllers/ControlSpellchecker.C:
3936         * insets/inset.C:
3937         * insets/inset.h:
3938         * insets/insetbase.h:
3939         * insets/insetbibitem.C:
3940         * insets/insetbox.C:
3941         * insets/insetbranch.C:
3942         * insets/insetcaption.C:
3943         * insets/insetcharstyle.C:
3944         * insets/insetcharstyle.h:
3945         * insets/insetcollapsable.C:
3946         * insets/insetcollapsable.h:
3947         * insets/insetert.C:
3948         * insets/insetfloat.C:
3949         * insets/insetfoot.C:
3950         * insets/insetmarginal.C:
3951         * insets/insetnote.C:
3952         * insets/insetoptarg.C:
3953         * insets/insettabular.C:
3954         * insets/insettext.C:
3955         * insets/insettext.h:
3956         * insets/insetwrap.C:
3957         * mathed/math_mboxinset.C:
3958         * mathed/math_nestinset.C:
3959         * mathed/math_scriptinset.C:
3960         * mathed/math_scriptinset.h:
3961         * support/types.h:
3962
3963 2004-03-24  Angus Leeming  <leeming@lyx.org>
3964
3965         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3966         deal with any child processes that have finished but are waiting to
3967         communicate this fact to the rest of LyX.
3968
3969 2004-03-24  Angus Leeming  <leeming@lyx.org>
3970
3971         64-bit compile fixes.
3972
3973         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3974         (c-tor): pass lyx::pos_types rather than ints.
3975
3976         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3977         lyx::pos_type.
3978
3979         * text.C (Delete): compile fix.
3980         (getPar): ensure that function declaration is the same as that in
3981         the header file.
3982
3983 2004-03-23  Angus Leeming  <leeming@lyx.org>
3984
3985         * ispell.C (LaunchIspell):
3986         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3987         a boost::shred_ptr rather than a std::auto_ptr.
3988
3989 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3990
3991         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3992         handle LFUN_FILE_INSERT_*
3993
3994         * lyxrc.C (setDefaults, getDescription, output, read):
3995         * lyxrc.h: remove ps_command
3996
3997 2004-03-22  Angus Leeming  <leeming@lyx.org>
3998
3999         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
4000         Ensure that error_handler is processed once only and that all data
4001         is saved before attempting to output any warning messages.
4002
4003         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
4004
4005 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
4006
4007         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
4008
4009 2004-03-19  André Pönitz  <poenitz@gmx.net>
4010
4011         * cursor.[Ch] (reset): take main text inset as argument
4012
4013         * BufferView: adjust
4014         * BufferView_pimpl.C: adjust
4015
4016         * paragraph.[Ch]: fix completely broken operator=()
4017
4018 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4019
4020         * LColor.C (getFromLyXName): make sure that the color name is used
4021         as lowercase.
4022
4023 2004-03-17  Angus Leeming  <leeming@lyx.org>
4024
4025         * lfuns.h:
4026         * LyXAction.C (init): remove LFUN_FORKS_KILL.
4027
4028         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
4029         dialog and to kill a forked process.
4030
4031 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
4032
4033         * text2.C (setCursorFromCoordinates): fix font problem
4034
4035 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
4036
4037         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
4038         bogus "rebuild cursor" code
4039
4040 2004-03-11  André Pönitz  <poenitz@gmx.net>
4041
4042         * buffer.[Ch]: use InsetText instead of LyXText as container for
4043         the main lyx text.
4044
4045         * dociterator.[Ch]: drop the BufferView * member which is not needed
4046         anymore after the change to buffer.C
4047
4048         * paragraph_funcs.C:
4049         * text.C:
4050         * text2.C:
4051         * BufferView.[Ch]:
4052         * BufferView_pimpl.[Ch]:
4053         * cursor.[Ch]:
4054         * cursor_slice.[Ch]: adjust
4055
4056         * text3.C: fix bug in mathDispatch
4057
4058 2004-03-08  André Pönitz  <poenitz@gmx.net>
4059
4060         * undo.[Ch]: use 'StableDocumentIterator' as base for
4061         the Undo struct.
4062
4063 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4064
4065         * LaTeXFeatures.C:
4066         * bufferparams.[Ch]: add jurabib support and param.
4067
4068         * LaTeX.C: add FIXME/comment.
4069
4070 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4071
4072         * buffer.C: increment file format to 230.
4073
4074 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
4075
4076         * cursor.C (dispatch): avoid infinite loops
4077
4078 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4079
4080         * rowpainter.C (paintSelection): fix x coordinates
4081
4082 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4083
4084         * text.C (rowBreakPoint): fix breaking before displayed insets
4085
4086 2004-03-01  André Pönitz  <poenitz@gmx.net>
4087
4088         * dociterator.[Ch]: new class for the 'iterator part' of Cursor.
4089
4090         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
4091
4092         * Makefile.am:
4093         * BufferView.C:
4094         * BufferView_pimpl.C:
4095         * buffer.C:
4096         * lyxfind.C:
4097         * lyxfunc.C:
4098         * text.C:
4099         * text2.C:
4100         * text3.C: adjust
4101
4102 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4103
4104         * lyxtext.h:
4105         * text.C:
4106         * text2.C:
4107         * rowpainter.C:
4108         * BufferView_pimpl.C: rename textwidth -> maxwidth,
4109         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
4110
4111 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4112
4113         * Bidi.[Ch] (computeTables): const correctness
4114         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
4115         fill_hfill, fill_label_hfill and x from Row
4116         * lyxtext.h: prepareToPrint returns a RowMetrics
4117         * rowPainter.C: adjust
4118         * text.C (prepareToPrint): use width, not textWidth. adjust
4119         (redoParagraphInternal, cursorX): adjust
4120         * text2.C (getColumnNearX): adjust
4121         (init): put a default value to the top LyXText::width
4122
4123 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4124
4125         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4126
4127 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4128
4129         * lyxtext.h: add FontIterator class
4130
4131         * text.C (FontIterator, operator*, operator->, operator++): add
4132         (rowBreakPoint, setRowWidth): adjust (fixing a
4133         rebreaking bug)
4134
4135 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4136
4137         * BufferView_pimpl.C (workAreaDispatch): allow also
4138         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4139
4140 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4141
4142         * text.C (rowBreakPoint): fix a bug showing with very large insets
4143
4144 2004-02-25  André Pönitz  <poenitz@gmx.net>
4145
4146         * text3.C:
4147         * cursor.[Ch]: move some mathed specific code to mathed
4148
4149 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4150
4151         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4152         use_tempdir in preferences
4153         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4154         tempfile creation
4155         * lyx_main.C: ensure that tempdir is valid
4156         * lyxlex.h: correct typo
4157         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4158         * paragraph.[Ch] (isMultiLingual): make const
4159         * cursor.[Ch] (openable): make const
4160
4161 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4162
4163         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4164
4165 2004-02-20  André Pönitz  <poenitz@gmx.net>
4166
4167         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4168
4169         * cursor.[Ch]: prepare for localized getStatus()
4170
4171         * lyxtext.h:
4172         * tabular.C:
4173         * text.C:
4174         * text2.C:
4175         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4176
4177 2004-02-20  André Pönitz  <poenitz@gmx.net>
4178
4179         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4180
4181 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4182
4183         * text2.C (setCursorFromCoordinates): switch to absolute coords
4184         (cursorUp): adjust
4185         (cursorDown): adjust
4186         * text3.C (dispatch): adjust
4187
4188 2004-02-16  André Pönitz  <poenitz@gmx.net>
4189
4190         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4191           insets/ChangeLog)
4192
4193         * cursor_slice.[Ch]: remove unneeded acessor function
4194
4195         * lyxtext.h: rename rtl() to isRTL()
4196
4197         * rowpainter.C:
4198         * tabular.C:
4199         * text.C:
4200         * text2.C:
4201         * text3.C: adjust
4202
4203 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4204
4205         * rowpainter.C (paintSelection): coord fix
4206
4207 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4208
4209         * Spacing.C: compile fix
4210
4211 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4212
4213         * cursor.C (dispatch): restore current_ before returning
4214
4215 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4216
4217         * text2.C (cursorUp, cursorDown): fix coords
4218         (moveUp): fix crash
4219
4220 2004-02-12  André Pönitz  <poenitz@gmx.net>
4221
4222         * lyxtext.h:
4223         * text.C:
4224         * text2.C:
4225         * text3.C: add Cursor & parameter to most cursor movement functions
4226           remove usage of LyXText::cursorRow() and cursorPar()
4227
4228         * cursor.[Ch]: add textRow() needed members
4229
4230         * BufferView.C:
4231         * BufferView_pimpl.C:
4232         * paragraph.[Ch]:
4233         * BufferView.C:
4234         * BufferView_pimpl.C: adjust
4235
4236 2004-02-11  André Pönitz  <poenitz@gmx.net>
4237
4238         * lyxfunc.C:
4239         * BufferView.[Ch]:
4240         * BufferView_pimpl.C: shift undo/redo handling
4241
4242         * cursor.[Ch]: fix mathed crash
4243
4244         * lyxfind.C:
4245         * lyxtext.h: move selectionAsText to Cursor
4246
4247         * output_latex.C:
4248         * paragraph.C:
4249         * text.C:
4250         * text2.C:
4251         * text3.C: adjust
4252
4253         * rowpainter.C: fix excessive drawing
4254
4255 2004-02-06  André Pönitz  <poenitz@gmx.net>
4256
4257         * BufferView.[Ch]:
4258         * BufferView_pimpl.[Ch]:
4259         * text3.C: move some text specific LFUN handling
4260
4261 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4262
4263         * text3.C (checkInsetHit): adjust coords
4264         * text2.C (getColumnNearX): adjust coords
4265         (edit): adjust coords
4266         * text.C (getRowNearY): add two asserts
4267
4268 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4269
4270         * converter.C:
4271         * format.C: add using std::distance to compile on gcc 2.95/stlport
4272
4273 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4274
4275         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4276
4277 2004-02-04  André Pönitz  <poenitz@gmx.net>
4278
4279         * BufferView.[Ch] (insertInset):
4280         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4281
4282         * text2.C:
4283         * text3.C: adjust
4284
4285 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4286
4287         * BufferView_pimpl.C (dispatch): remove call to Cursor::dispatch
4288         on the default clause of the switch
4289         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4290         wasn't catched by Cursor::dispatch
4291
4292 2004-02-03  André Pönitz  <poenitz@gmx.net>
4293
4294         * BufferView.C:
4295         * cursor.[Ch]: some additional asserts
4296
4297         * undo.[Ch]: remove LyXText dependency in interface
4298
4299         * lyxfunc.C: adjust
4300
4301         * lyxtext.h (firstPar, lastPar): remove dead functions
4302
4303         * text.C:
4304         * text2.C:
4305         * text3.C:
4306         * paragraph.[Ch]: adjust
4307
4308 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4309
4310         * lyxfind.C (find): fix argument order in call to ::find
4311
4312 2004-02-02  André Pönitz  <poenitz@gmx.net>
4313
4314         * cursor.[Ch]: remove direct access to anchor
4315
4316         * text.C: remove findText() hack
4317
4318 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4319
4320         * iterators.[Ch] (lockPath): remove in favour of...
4321         * BufferView.[Ch] (setCursor): this addition
4322         * BufferView.C (putSelectionAt): adjust
4323         * undo.C (performUndoOrRedo): adjust
4324         * lyxfunc.C (dispatch): adjust
4325
4326 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4327
4328         * iterators.C (lockPath): add a missing slice
4329         * undo.C (performUndoOrRedo): remove redundant positioning code
4330
4331 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4332
4333         * vc-backend.C (scanMaster): ";" -> ';'
4334
4335 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4336
4337         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4338         std::binary_function
4339
4340         * lyxtextclass.C (compare_name): rename to...
4341         (LayoutNamesEqual): ...this
4342
4343         * lyxlex_pimpl.C (compare_tags): inherit from
4344         std::binary_function, put back into anon namespace
4345
4346         * lyxfind.C (MatchString): inherig from std::binary_function
4347         (findChange): use empty() istead of !size()
4348
4349         * format.C (FormatNamesEqual): new functor
4350         (getFormat): use it
4351         (getNumber): use it
4352         (add): use it
4353         (erase): use it
4354         (setViewer): use it
4355
4356         * converter.C (compare_Converter): rename to...
4357         (ConverterEqual): ...this, and fixup a bit.
4358         (getConverter): use it, and make function const
4359         (getNumber): use it, and make function const
4360         (add): use it
4361         (erase): use it:
4362
4363         * bufferlist.C: add using boost::bind
4364
4365         * MenuBackend.C (MenuNamesEqual): new functor
4366         (hasMenu): use it, and make function const
4367         (hasSubmenu): use nested bind to get rid of compare_memfun.
4368
4369 2004-01-30  André Pönitz  <poenitz@gmx.net>
4370
4371         * BufferView_pimpl.C:
4372         * cursor.C:
4373         * cursor.h:
4374         * cursor_slice.[Ch]:
4375         * lyxfunc.C:
4376         * lyxtext.h:
4377         * paragraph_funcs.C:
4378         * paragraph_funcs.h:
4379         * rowpainter.C:
4380         * text.C:
4381         * text2.C:
4382         * text3.C: move some of the edit(x,y) handling to the insets
4383         some coordinate changes.
4384
4385 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4386
4387         * text.C: add using statements for std::advance and std::distance
4388
4389         * paragraph.C: add using statement for std::distance
4390
4391         * lyxfind.C: add using statement for std::advance
4392
4393         * cursor.C (region): remove std:: from swap
4394         (openable): use nucleus in stead of operator->
4395
4396         * BufferView.C: add using statements for std::distance and std::swap
4397
4398 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4399
4400         * iterators.C: Remove the pimple, move the needed structures to
4401         the header file. Create accessor for the positions stack.
4402         (asPosIterator): remove function
4403
4404         * PosIterator.C (PosIterator): move constructors to top of file
4405         (PosIterator): reimplement the constructor taking a ParIterator in
4406         terms of setFrom.
4407         (setFrom): new function
4408         (operator!=): inline it
4409
4410 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4411
4412         * lyxfind.C (replaceAll): use std::advance
4413
4414         * iterators.h: inherit from std::iterator.
4415
4416         * PosIterator.C (advance, distance): remove
4417         * PosIterator.h: interit from std::iterator.
4418
4419 2004-01-26  André Pönitz  <poenitz@gmx.net>
4420
4421         * BufferView.[Ch]:
4422         * BufferView_pimpl.[Ch]:
4423         * InsetList.[Ch]:
4424         * PosIterator.[Ch]:
4425         * buffer.h:
4426         * bufferview_funcs.C:
4427         * cursor.[Ch]:
4428         * cursor_slice.h:
4429         * factory.[Ch]:
4430         * iterators.[Ch]:
4431         * lyxfind.C:
4432         * lyxfunc.C:
4433         * lyxtext.h:
4434         * output_docbook.C:
4435         * output_latex.C:
4436         * output_linuxdoc.C:
4437         * output_plaintext.C:
4438         * paragraph.[Ch]:
4439         * paragraph_funcs.[Ch]:
4440         * paragraph_pimpl.[Ch]:
4441         * rowpainter.C:
4442         * tabular.C:
4443         * tabular.h:
4444         * text.C:
4445         * text2.C:
4446         * text3.C: more IU:  dumps most of the rest of the mathcursor
4447     implementation into cursor.[Ch]; "globalize" a bit of it.
4448
4449 2004-01-25  Angus Leeming  <leeming@lyx.org>
4450
4451         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4452
4453 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4454
4455         * LaTeXFeatures.h: add nice_ and nice() const
4456         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4457
4458 2004-01-20  André Pönitz  <poenitz@gmx.net>
4459
4460         * BufferView.[Ch]:
4461         * BufferView_pimpl.C:
4462         * PosIterator.C:
4463         * bufferview_funcs.C:
4464         * cursor.[Ch]:
4465         * cursor_slice.[Ch]:
4466         * factory.C:
4467         * iterators.C:
4468         * lyx_cb.C:
4469         * lyxfind.C:
4470         * lyxfunc.C:
4471         * lyxtext.h:
4472         * rowpainter.C:
4473         * text.C:
4474         * text2.C:
4475         * text3.C:
4476         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4477           Cursor and mathcursor parts to Cursor and InsetBase.
4478
4479 2004-01-15  André Pönitz  <poenitz@gmx.net>
4480
4481         * cursor_slice.[Ch]: add a few covienience functions
4482
4483         * funcrequest.[Ch]: remove BufferView * member
4484
4485         * BufferView_pimpl.C:
4486         * cursor.C:
4487         * factory.[Ch]:
4488         * lyxfind.[Ch]:
4489         * lyxfunc.C:
4490         * lyxtext.h:
4491         * text3.C:
4492         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4493
4494 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4495
4496         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4497         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4498
4499 2004-01-13  André Pönitz  <poenitz@gmx.net>
4500
4501         * textcursor.[Ch]:
4502         * lyxtext.h: hide cursor and selection anchor behind accessor function
4503
4504         * BufferView.C:
4505         * BufferView_pimpl.[Ch]:
4506         * PosIterator.C:
4507         * bufferview_funcs.C:
4508         * cursor.h:
4509         * lyxfind.C:
4510         * lyxfunc.C:
4511         * text.C:
4512         * text2.C:
4513         * text3.C:
4514         * undo.C: adjust
4515
4516         * cursor.h:
4517         * cursor_slice.[Ch]: some integer type changes for inset unification
4518
4519         * lyxcursor.[hC]: remove, it's CursorSlice now.
4520
4521         * Makefile.am:
4522         * BufferView_pimpl.[Ch]:
4523         * bufferview_funcs.C:
4524         * cursor_slice.C:
4525         * lyxtext.h:
4526         * text.C:
4527         * text2.C:
4528         * text3.C:
4529         * textcursor.[Ch]: adjust
4530
4531 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4532
4533         * text2.C (undoSpan): add and use
4534         * text.C (breakParagraph): use undoSpan (fix bug 578)
4535         * lyxtext.h: adjust
4536
4537 2004-01-08  Angus Leeming  <leeming@lyx.org>
4538
4539         * BufferView_pimpl.C (MenuInsertLyXFile):
4540         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4541         * lyxfunc.C (menuNew, open, doImport):
4542         FileFilterList change to the FileDialog open and save functions.
4543
4544 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4545
4546         * ShareContainer.h: make isEqual and isUnique adaptable
4547
4548         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4549
4550 2004-01-07  Angus Leeming  <leeming@lyx.org>
4551
4552         * LyXAction.C:
4553         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4554
4555         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4556
4557         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4558         functions replacing find, replace and replaceAll.
4559
4560         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4561         LFUN_WORDFIND(FORWARD|BACKWARD).
4562
4563 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4564
4565         * text.C (breakParagraph): remove an outdated #warning
4566
4567 2004-01-07  André Pönitz  <poenitz@gmx.net>
4568
4569         * lyxfind.C: somewhat clearer logic
4570
4571         * text.C: prevent crash in cursorX on unitialized row cache
4572
4573 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4574
4575         * lyxcursor.[Ch] (operator>): add
4576         * textcursor.C (selStart, selEnd): use std::min and std::max
4577
4578 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4579
4580         * Chktex.C: include boost/format.hpp
4581
4582 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4583
4584         * InsetList.C: replace functor MathcIt with adaptable functor
4585         InsetTablePosLess
4586         (insetIterator): modify accordingly
4587
4588         * BranchList.h: move the BranchNamesEqual functor here from...
4589         * BranchList.C: ... to here
4590
4591         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4592         SameName and match.
4593         (add): replace a finding loop with std::find_if.
4594
4595 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4596
4597         * output_docbook.C: moving LatexParam functionality into
4598         .layout files
4599
4600 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4601
4602         * buffer.C: increment format to 229.
4603
4604 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4605
4606         * LaTeXFeatures.C:
4607         * lyx_sty.[Ch]: remove minipageindent_def
4608
4609         * LyXAction.C:
4610         * factory.C:
4611         * lfuns.h:
4612         * lyxfunc.C:
4613         * text3.C: remove LFUN_INSET_MINIPAGE
4614
4615 2003-12-28  Angus Leeming  <leeming@lyx.org>
4616
4617         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4618
4619 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4620
4621         * text2.C (setParagraph): fix off-by-one crash
4622
4623 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4624
4625         * output_docbook.C: header stuff for AGU
4626
4627 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4628
4629         * text2.C (redoCursor): remove
4630         * text.C:
4631         * text3.C:
4632         * BufferView_pimpl.C: remove calls to redoCursor and
4633         setCursor(cursor.par(), cursor.pos()) all around
4634
4635 2003-12-15  Angus Leeming  <leeming@lyx.org>
4636
4637         * buffer.C: up the format to 228.
4638
4639 2003-12-15  André Pönitz  <poenitz@gmx.net>
4640
4641         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4642         slices
4643
4644         * Makefile.am:
4645
4646         * BufferView_pimpl.C:
4647         * cursor.[Ch]:
4648         * lyxcursor.[Ch]:
4649         * rowpainter.[Ch]:
4650         * lyxtext.h:
4651         * text.C:
4652         * text2.C:
4653         * text3.C: adjust
4654
4655 2003-12-15  Angus Leeming  <leeming@lyx.org>
4656
4657         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4658         than getFromGUIName to manipulate the color.
4659
4660 2003-12-14  Angus Leeming  <leeming@lyx.org>
4661
4662         * BranchList.[Ch]: minimize the API.
4663         (Branch::getBranch, getColor): now return a 'const &'.
4664         (Branch::setSelected) now returns a bool set to true if the
4665         selection status changes.
4666         (BranchList::clear, size, getColor, setColor, setSelected,
4667         allBranches, allSelected, separator): removed.
4668         (BranchList::find): new functions, returning the Branch with
4669         the given name.
4670         (BranchList::add, remove): return a bool indicating that
4671         the operation was successful.
4672
4673         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4674         new InsetBranch::isBranchSlected member function.
4675
4676         * LColor.[Ch]: mimimize the API.
4677         (fill): renamed as addColor and made private.
4678         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4679         versions of these functions taking a string arg have been removed.
4680
4681         * bufferparams.C (readToken):
4682         * lyxfunc.C (dispatch):
4683         * lyxrc.C (read): changes due to the altered BranchList and
4684         LColor APIs.
4685
4686         * factory.C (createInset, readInset): changes due to altered
4687         InsetBranch c-tor.
4688
4689 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4690
4691         * factory.C:
4692         * lyxfunc.C: remove insetminipage. "minipage-insert"
4693         now produces a frameless minipage box inset.
4694
4695 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4696
4697         * textcursor.[Ch] (selStart,selEnd): add new methods
4698         remove selection::start, end, use LyXCursor::operator<
4699         * lyxcursor.[Ch] (operator<): add
4700         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4701         * BufferView.[Ch] (unsetXSel): add
4702         * text2.C (clearSelection): use unsetXSel,adjust
4703         * text.C: adjust
4704         * text3.C: adjust
4705         * rowpainter.C: adjust
4706         * bufferview_funcs.C (put_selection_at): adjust
4707
4708 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4709
4710         * BufferView_pimpl.C: small coord. correction
4711
4712 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4713
4714         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4715         dragging over the splash screen.
4716
4717 2003-12-11  Angus Leeming  <leeming@lyx.org>
4718
4719         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4720         as it is now handled in LyXText::dispatch.
4721
4722         * text3.C (doInsertInset): remove a level of nesting.
4723
4724 2003-12-11  Angus Leeming  <leeming@lyx.org>
4725
4726         * factory.C (createInset): changes due to the changed interface to
4727         InsetCommandMailer::string2params.
4728
4729 2003-12-10  Angus Leeming  <leeming@lyx.org>
4730
4731         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4732         'dialog-show-new-inset <inset name>'
4733
4734 2003-12-10  Angus Leeming  <leeming@lyx.org>
4735
4736         * buffer.C: up the format to 227.
4737
4738         * factory.C: the box inset is now identified simply by 'Box'.
4739
4740 2003-12-10  Angus Leeming  <leeming@lyx.org>
4741
4742         * buffer.C: up the format to 226.
4743
4744         * factory.C: the note inset is now identified simply by 'Note'.
4745
4746 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4747
4748         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4749         when a pit is enough. Standarize a couple of loops.
4750
4751 2003-12-05  Angus Leeming  <leeming@lyx.org>
4752
4753         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4754         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4755         data to the re-worked "log" dialog.
4756
4757 2003-12-03  André Pönitz  <poenitz@gmx.net>
4758
4759         * PosIterator.C:
4760         * iterators.C:
4761         * lyxtext.h:
4762         * output_latex.C:
4763         * paragraph_funcs.C:
4764         * text.C:
4765         * text2.C: use Inset::getText instead of Inset::getParagraph
4766
4767 2003-12-03  André Pönitz  <poenitz@gmx.net>
4768
4769         * buffer.[Ch]:
4770         * lyxtext.h:
4771         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4772         InsetText::read() as LyXText::read()
4773
4774 2003-12-02  Angus Leeming  <leeming@lyx.org>
4775
4776         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4777         type. Add a comment in the implementation that the function uses
4778         the stream's bad() function rather than fail() as the std::streams
4779         would do.
4780
4781 2003-12-02  André Pönitz  <poenitz@gmx.net>
4782
4783         * lyxlex.[Ch]: make interface more similar to std::stream
4784
4785         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4786
4787 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4788
4789         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4790
4791 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4792
4793         * vspace.[Ch]: remove VSpace::NONE
4794
4795 2003-12-01  André Pönitz  <poenitz@gmx.net>
4796
4797         * buffer.[Ch]:
4798         * lyxtext.h: move ParagraphList member to LyXText
4799         rename LyXText::ownerParagraphs to LyXText::paragraph
4800
4801         * CutAndPaste.C:
4802         * bufferview_funcs.C:
4803         * iterators.[Ch]:
4804         * lyx_cb.C:
4805         * paragraph.C:
4806         * rowpainter.C:
4807         * tabular.C:
4808         * text.C:
4809         * text2.C:
4810         * text3.C: adjust
4811
4812         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4813
4814         * undo.C: fix cursor positioning
4815
4816 2003-12-01  John Levon  <levon@movementarian.org>
4817
4818         * BufferView_pimpl.C: fix a crash on exit with
4819         a buffer open
4820
4821 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4822
4823         * BranchList.C: fix setSelected() method.
4824
4825 2003-11-28  André Pönitz  <poenitz@gmx.net>
4826
4827         * ParagraphParameters.[Ch]:
4828         * ParameterStruct.h: remove space above/below from Paragraph to
4829          InsetVSpace
4830
4831         * BufferView_pimpl.C:
4832         * factory.C:
4833         * lyxfunc.C:
4834         * lyxtext.h:
4835         * output_latex.C:
4836         * paragraph.C:
4837         * paragraph_funcs.C:
4838         * rowpainter.[Ch]:
4839         * text.C:
4840         * text2.C:
4841         * text3.C: adjust
4842
4843 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4844
4845         * factory.C: Syntax change for CharStyles
4846
4847 2003-11-28  André Pönitz  <poenitz@gmx.net>
4848
4849         * BufferView.[Ch]:
4850         * BufferView.[Ch]:
4851         * buffer.[Ch]:
4852         * buffer.[Ch]: move LyXText member
4853
4854 2003-11-28  André Pönitz  <poenitz@gmx.net>
4855
4856         * BufferView.[Ch]: make LyXText * text a private member
4857
4858         * BufferView_pimpl.C:
4859         * cursor.C:
4860         * iterators.C:
4861         * lyx_cb.C:
4862         * lyxfind.C:
4863         * lyxtext.h:
4864         * rowpainter.[Ch]:
4865         * text.C:
4866         * text2.C:
4867         * undo.C: adjust
4868
4869         * output_plaintext.C: cleanup
4870
4871 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4872
4873         * buffer.C:
4874         * lyxtextclass.[Ch]: parametrize SGML document header
4875
4876 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4877
4878         * converter.[Ch]:
4879         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4880         getFlavor().
4881
4882 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4883
4884         * text2.C (setFont): rework using PosIterator (no more recursive)
4885         (setCharFont): no more needed
4886         (setLayout): no more selection cursors fiddling (done by redoCursor)
4887         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4888         destroy remaining ones)
4889
4890 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4891
4892         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4893         * lyxtext.h: ditto
4894         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4895         selection cursors
4896         * lyxfunc.C: adjust
4897         * text3.C: adjust + re-allow multi par depth changes
4898         * textcursor.C: simplify a bit
4899
4900 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4901
4902         * src/buffer.C:
4903         * src/lyxlayout.C:
4904         * src/lyxlayout.h:
4905         * src/lyxtext.h:
4906         * src/output_docbook.C:
4907         * src/output_latex.C:
4908         * src/paragraph.C:
4909         * src/paragraph.h:
4910         * src/sgml.C:
4911         * src/sgml.h:
4912         * src/text2.C: Introducing a number of tags parametrizing various
4913         XML formats that we may want to support
4914
4915 2003-11-25  André Pönitz  <poenitz@gmx.net>
4916
4917         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4918
4919         * lyxtext.h (leftMargin/rightMargin): simplify interface
4920
4921         * rowpainter.C:
4922         * text.C:
4923         * text2.C:
4924         * text3.C: adjust
4925
4926 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4927
4928         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4929         master file to any child files. Fixes bug 546.
4930
4931 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4932
4933         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4934
4935 2003-11-24  André Pönitz  <poenitz@gmx.net>
4936
4937         * rowpainter.C: simplification
4938
4939         * text2.C (updateCounters): remove call to redoParagraph on
4940         changed labels as this is far too expensive.
4941
4942 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4943
4944         * converter.C (convert): fix a crash: this function gets
4945         called with buffer == 0 from importer code.
4946
4947 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * text3.C (cursorPrevious): make sure that we do not compare
4950         iterators form different containers.
4951         (cursorNext): ditto
4952
4953         * rowpainter.C (paintSelection): make sure that we do not compare
4954         iterators from different containers.
4955
4956         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4957         iterators from different ParagraphList containers.
4958         [NEXT] ditto
4959
4960         * text2.C (LyXText): change order of initialization slightly
4961         (operator=): new function. copy all variables except cache_par_
4962         (moveUp): make sure that we do not compare iterators from
4963         different ParagraphList constainers.
4964         (moveDown): ditto
4965
4966         * text.C (firstPar): new function
4967         (lastPar): new function
4968         (endPar): new function
4969
4970         * lyxtext.h: move things around and group public functions, public
4971         variables, private functions, private variables
4972
4973 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4974
4975         * factory.C: change call to InsetERT constructor to avoid
4976         additional invocation of method status
4977         * text2.C (toggleInset): remove redundant update() call
4978         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4979         instead of a Bufferview pointer
4980
4981 2003-11-21  André Pönitz  <poenitz@gmx.net>
4982
4983         * rowpainter.C: simplification
4984
4985 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4986
4987         * text3.C (dispatch): make possible to extend a word/row selection
4988         with the mouse
4989
4990 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4991
4992         * lyxtext.h: x0_,y0_ -> xo_,yo_
4993         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4994         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4995         * rowpainter.C (paintRows): paint full paragraphs
4996
4997 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4998
4999         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
5000         screen coordinates)
5001
5002 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
5003
5004         * lyxtext.h: add x0_, y0_
5005         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
5006         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
5007
5008 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
5009
5010         * text2.C (setCursorIntern): move the x_target update here *
5011         * text3.C: change some bv() to true/false in calls to
5012         cursorUp/Down/Right/Left
5013         * cursor.C: use helper function.
5014
5015 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
5016
5017         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
5018         * paragraph_funcs.[Ch]: correct comment
5019         * rowpainter.C: do not paint selections away from bv->cursor()
5020         Fix a long standing selection painting bug.
5021         * text3.C: generalize mouse-selection code to LyXTexts other that
5022         top one
5023         * textcursor.C: do not use y coords if we can use par offsets
5024
5025 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
5026
5027         * lyxfunc.C (dispatch): add a missing Cursor::updatePos (fix
5028         cursor position after e.g. inset insert)
5029
5030 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
5031
5032         * lyxfind.C (replace): adjust to locking removal + some
5033         code simplification
5034
5035 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
5036
5037         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
5038         of the path
5039
5040 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
5041
5042         * lyxlayout.[Ch]:
5043         * output_docbook.C: XML sanitation: new layout
5044         parameters InnerTag and CommandDepth
5045
5046 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
5047
5048         * BufferView_pimpl.C:
5049         * factory.C:
5050         * text3.C: Fix the insertion and modification of button-style
5051         insets
5052
5053 2003-11-13  André Pönitz  <poenitz@gmx.net>
5054
5055         * InsetList.[Ch]: remove deleteLyXText
5056
5057         * paragraph.[Ch]: cache beginOfBody position
5058
5059         * Bidi.C:
5060         * text.C:
5061         * text2.C:
5062         * text3.C: remove superfluous update() calls
5063
5064         * vspace.C: cleanup
5065
5066 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
5067
5068         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
5069         * BufferView.C (fitLockedInsetCursor): remove
5070         * cursor.[Ch] (getDim): add
5071         * text.C (getRowNearY): add faster version
5072         * text3.C: remove some update calls
5073
5074 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
5075
5076         * LaTeXFeatures.C:
5077         * LyXAction.C:
5078         * MenuBackend.C:
5079         * MenuBackend.h:
5080         * dispatchresult.h:
5081         * factory.C:
5082         * lfuns.h:
5083         * lyxfunc.C:
5084         * lyxtextclass.C:
5085         * lyxtextclass.h:
5086         * text3.C: The Character Style /XML short element patch.
5087
5088 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
5089
5090         * text3.C:
5091         * factory.C: Small step to solving 'unable to insert some insets'
5092         problem
5093
5094 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
5095
5096         * cursor.[Ch] (updatePos): new function for updating the y
5097         position of the tip inset
5098         * bufferview_funcs.C (put_selection_at):
5099         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
5100
5101 2003-11-11  André Pönitz  <poenitz@gmx.net>
5102
5103         * text.C: remove big comment on invalid Paragraph pointers as it is
5104         not valid anymore
5105
5106 2003-11-11  André Pönitz  <poenitz@gmx.net>
5107
5108         * text_funcs.[Ch]: merge with ...
5109
5110         * text.C: ... this
5111
5112         * lyxtext.h:
5113         * text2.C:
5114         * text3.C: adjust
5115
5116         * Makefile.am: remove text_funcs.[Ch]
5117
5118 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
5119
5120         * cursor.C (getPos): return absolute cached y coord
5121
5122         * BufferView_pimpl.C (fitCursor): new simplistic code
5123         (workAreaDispatch): add a fitCursor call
5124
5125 2003-11-10  André Pönitz  <poenitz@gmx.net>
5126
5127         * BufferView.[Ch]:
5128         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5129
5130 2003-11-10  André Pönitz  <poenitz@gmx.net>
5131
5132         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5133         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5134         indicate that the cursor needs to leave an inset
5135
5136         * lyxtext.h: remove inset locking
5137
5138         * cursor.[Ch]: re-implement functionality provided by inset locking
5139
5140         * BufferView.[Ch]:
5141         * BufferView_pimpl.[Ch]:
5142         * LyXAction.C:
5143         * bufferview_funcs.[Ch]:
5144         * factory.C:
5145         * funcrequest.[Ch]:
5146         * iterators.C:
5147         * lyx_cb.C:
5148         * lyxfind.C:
5149         * lyxfunc.C:
5150         * text.C:
5151         * text2.C:
5152         * text3.C:
5153         * undo.C: adjust
5154
5155 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5156
5157         * PosIterator.[Ch]: replace the stack with a vector, add inset
5158         accesor
5159         * iterators.[C]: adjust
5160
5161 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5162
5163         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5164         replaced
5165         * paragraph_funcs.C (readParToken): put the correct id in the
5166         error item, not the id of the top paragraph
5167
5168 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5169
5170         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5171         * bufferview_funcs.C (put_selection_at): use the above
5172
5173 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5174
5175         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5176
5177 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5178
5179         * output_linuxdoc.h:
5180         * output_plaintext.h:
5181         * output.h:
5182         * output_docbook.h: add #include statements
5183
5184 2003-11-05  José Matos  <jamatos@lyx.org>
5185
5186         * output_docbook.[Ch]:
5187         * output_latex.[Ch]:
5188         * output_linuxdoc.[Ch]:
5189         * output_plaintext.[Ch]: New files for output formats.
5190         * output.[Ch]: New file for helper functions.
5191
5192         * buffer.[Ch]:
5193         * paragraph_funcs.[Ch]: output functions moved to new files.
5194
5195         * outputparams.h: rename of latexrunparams.h
5196
5197         * LaTeX.[Ch]:
5198         * buffer.[Ch]:
5199         * bufferlist.[Ch]:
5200         * converter.[Ch]:
5201         * exporter.C:
5202         * paragraph.[Ch]:
5203         * paragraph_funcs.[Ch]:
5204         * paragraph_pimpl.[Ch]:
5205         * tabular.[Ch]: rename ascii to plaintext
5206         and LatexRunParams to OutputParams.
5207
5208 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5209
5210         * iterators.[Ch] (text): require bv argument
5211         * undo.C (recordUndo):
5212         * lyxfunc.C (dispatch):
5213         * bufferview_funcs.C (put_selection_at): adjust
5214
5215 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5216
5217         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5218
5219 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5220
5221         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5222         nestings
5223
5224 2003-11-04  André Pönitz  <poenitz@gmx.net>
5225
5226         * cursor.[Ch]: restructure
5227
5228         * BufferView.[Ch]:
5229         * BufferView_pimpl.[Ch]: new Cursor cursor_ member
5230
5231         * iterators.[Ch] (asCursor): remove
5232
5233         * lfuns.h: remove LFUN_INSET_EDIT
5234
5235         * lyxfunc.C:
5236         * tabular.C:
5237         * text.C:
5238         * text2.C:
5239         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5240
5241 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5242
5243         * lyxfind.[Ch]: complete overhaul
5244         * BufferView_pimpl.C:
5245         * lyxfunc.C: adjust
5246         * paragraph.[Ch] (insert): add
5247
5248 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5249
5250         * BufferView.[Ch]:
5251         * lyxtext.h:
5252         * text.C: remove dead spellcheck code
5253
5254 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5255
5256         * dispatchresult.h: add a val setter
5257
5258         * cursor.C (dispatch): use a tempvar for data_[i]
5259
5260 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5261
5262         * PosIterator.[Ch]: compile fix
5263
5264 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5265
5266         * text.C (cursorPar): deactivate the cursor cache
5267
5268 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5269
5270         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5271
5272 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5273
5274         * text3.C (dispatch): adjust for new DisptchResult semantics.
5275
5276         * lyxfunc.C (dispatch): handle update when return from
5277         Cursor::dispatch, adjust for new DispatchResult semantics.
5278
5279         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5280         DispatchResult(true) mean to not update. Add class functions for
5281         setting dispatched and update, as well as reading.
5282
5283         * cursor.C (dispatch): don't handle update here
5284
5285 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5288         * trans_mgr.C: adjust
5289
5290         * paragraph_funcs.C (readParToken): exception safety
5291
5292         * lyxvc.h: store the vcs pointer in a scoped_ptr
5293         * lyxvc.C: adjust
5294
5295         * lyxsocket.C (serverCallback): exception safety
5296
5297         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5298
5299         * ispell.C (clone): make it return a auto_ptr
5300
5301         * factory.C (createInset): exception safety
5302         (readInset): exception safety
5303
5304         * bufferlist.C (newBuffer): exception safety
5305
5306         * Thesaurus.C (Thesaurus): use initialization for aik_
5307
5308         * MenuBackend.C (expandToc): exception safety.
5309
5310 2003-11-03  André Pönitz  <poenitz@gmx.net>
5311
5312         * buffer.C:
5313         * buffer.h:
5314         * bufferview_funcs.C: remove getInsetFromId()
5315
5316         * lyxcursor.[Ch]:
5317         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5318
5319         * lyxfunc.C:
5320         * text2.C:
5321         * text3.C: adjust
5322
5323 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5324
5325         * PosIterator.C (distance, advance): new
5326         * bufferview_funcs.[Ch] (put_selection_at): new
5327         * iterators.[Ch] (lockPath): new
5328
5329 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5330
5331         * iterators.[Ch] (asPosIterator): added
5332         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5333         * PosIterator.[Ch]: added
5334
5335 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5336
5337         * text3.C:
5338         * lyxfunc.C:
5339         * cursor.C (dispatch):
5340         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5341
5342         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5343         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5344         contructor, add a class function dispatched. Remove operator>=
5345
5346 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5347
5348         * debug.C: only use the default constructor for debugstream
5349         (lyxerr) here.
5350
5351         * main.C (main): include debug.h and setup the lyxerr streambuf
5352         here.
5353
5354 2003-10-31  José Matos  <jamatos@lyx.org>
5355
5356         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5357
5358         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5359         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5360         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5361         * paragraph_pimpl.C (simpleTeXSpecialC):
5362         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5363         add LatexRunParams argument.
5364
5365         * exporter.C (Export): change call accordingly.
5366
5367         * latexrunparams.h: add new member to take care of the other backends.
5368 2003-10-30  José Matos  <jamatos@lyx.org>
5369
5370         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5371         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5372         factorise code for paragraph output.
5373         * buffer.[Ch]:
5374         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5375         move functions.
5376
5377 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5378
5379         * text3.C (dispatch):
5380         * lyxfunc.C (dispatch):
5381         * cursor.C (dispatch):
5382         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5383
5384         * dispatchresult.h: make the dispatch_result_t ctor explicit
5385
5386 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5387
5388         * sgml.[Ch]:
5389         * buffer.C: small refactoring of docbook stuff
5390
5391 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5392
5393         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5394         meaning.
5395
5396 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5397
5398         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5399         operator dispatch_result_t, and operators for == != and >=
5400
5401         * cursor.C (dispatch): adjust for operator dispatch_result_t
5402         removal. comment out call to update
5403
5404         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5405
5406 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5407
5408         * text3.C:
5409         * text2.C:
5410         * text.C:
5411         * lyxtext.h:
5412         * lyxfunc.C:
5413         * cursor.C:
5414         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5415         (dispatch):
5416
5417         * dispatchresult.h: new file, DispatchResult broken out of
5418         insets/insetbase.h
5419
5420         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5421
5422 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5423
5424         * text.C (rowBreakPoint): put a hack inside #if 0
5425
5426 2003-10-28  André Pönitz  <poenitz@gmx.net>
5427
5428         * lyxtext.h:
5429         * metricsinfo.C:
5430         * paragraph_funcs.C:
5431         * rowpainter.C:
5432         * text.C:
5433         * text2.C: general cleanup (lots of small stuff)
5434
5435 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5436
5437         * text2.C (cursorEnd): simple fix to the "end key goes to one
5438         before the end on last row" bug
5439
5440 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5441
5442         * text.C (backspace): fix the "zombie characters"
5443
5444 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5445
5446         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5447
5448 2003-10-27  André Pönitz  <poenitz@gmx.net>
5449
5450         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5451
5452         * factory.C: handle new InsetPagebreak, InsetLine
5453
5454         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5455         and move handling into new InsetPagebreak, InsetLine
5456
5457         * BufferView_pimpl.C:
5458         * LyXAction.C:
5459         * ParagraphParameters.C:
5460         * ParameterStruct.h:
5461         * lyxfunc.C:
5462         * lyxtext.h:
5463         * paragraph.C:
5464         * paragraph.h:
5465         * paragraph_funcs.C:
5466         * paragraph_pimpl.C:
5467         * rowpainter.C:
5468         * text.C:
5469         * text2.C:
5470         * text3.C: adjust
5471
5472 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5473
5474         * text.C:
5475         * lyxrow_funcs.[Ch]:
5476         * Bidi.C:
5477         * paragraph.C:
5478         * lyxtext.h:
5479         * rowpainter.C:
5480         * text2.C:
5481         * text3.C: remove lastPos uses in favour of Row::endpos
5482
5483 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5484
5485         * undo.C (performUndoOrRedo): fix two crashes by setting a
5486         cursor by hand and reordering some calls. Use bv->lockInset instead
5487         of inset->edit because the latter loses cursor information
5488
5489 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5490
5491         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5492         by Martin
5493         (rowBreakPoint): fix width. change point to point + 1.
5494         Add a missing check.
5495
5496 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5497
5498         * MenuBackend.C:
5499         * lyxfunc.C: fix (at least partly) the problems
5500         with the Nav menu and headers inside branch insets
5501         reported by Kayvan
5502
5503 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5504
5505         * paragraph.C (getChar): add strong asserts
5506
5507         * lyxrow_funcs.C (lastPos): remove hideous hack
5508
5509         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5510         (fill): adjust to that (avoid an infinite loop)
5511
5512 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5513
5514         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5515
5516 2003-10-23  André Pönitz  <poenitz@gmx.net>
5517
5518         * RowList_fwd.h: change list<> to vector<> to gain speed
5519         after suggestion from Alfredo
5520
5521 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5522
5523         * lyxtext.h: move the bidi stuff from here...
5524         * text.C: and here
5525         * text2.C: and here
5526         * Bidi.[Ch]: ... to here
5527
5528 2003-10-23  André Pönitz  <poenitz@gmx.net>
5529
5530         * lyxtext.h:
5531         * text.C (isLastRow, isFirstRow): new functions
5532
5533         * paragraph.h: new width cache member
5534
5535         * rowpainter.C: replace RowList::iterator with Row & where possible
5536
5537         * lyxfunc.C: replace several view()->text with a single call
5538
5539         * toc.C: fix 'unused' warning
5540
5541 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5542
5543         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5544         when woring with stream::pos_type
5545         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5546
5547 2003-10-22  André Pönitz  <poenitz@gmx.net>
5548
5549         * lyxtext.h:
5550         * text.C: use Row & instead of RowList::iterator
5551
5552         * lyxrow.h: rename end() to endpos()
5553
5554         * rowpainter.C:
5555         * text.C:
5556         * text2.C: adjust
5557
5558 2003-10-22  Angus Leeming  <leeming@lyx.org>
5559
5560         * buffer.[Ch] (fully_loaded): new member function, returning true
5561         only when the file has been loaded fully.
5562         Used to prevent the premature generation of previews and by the
5563         citation inset to prevent computation of the natbib-style label.
5564
5565         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5566         templates are all set up.
5567
5568         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5569
5570 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5571
5572         * text.C: fixed an "oops" in the "is a bit silly"
5573         bug fix
5574
5575 2003-10-21  André Pönitz  <poenitz@gmx.net>
5576
5577         * FuncStatus.[Ch]: small stuff, whitespace
5578
5579         * lyxfont.[Ch]: operator<<() for debug reasons
5580
5581         * lyxfunc.C:
5582         * lyxrow_funcs.C:
5583         * lyxtext.h: whitespace, spelling
5584
5585         * paragraph.C: naming of variables
5586
5587         * text.C:
5588         * text2.C: small stuff
5589
5590
5591 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5592
5593         * text.C: (1) finish off the inset display() work;
5594         (2) fix the "is a bit silly" bug (accessing char
5595         past end of par).
5596
5597 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5598
5599         * text.C: re-introduce display() for insets, fixing the
5600         various bugs (stretch of line above, math inset
5601         positioning, ...)
5602
5603 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5604
5605         * text.C (rightMargin): remove spurious semicolon
5606
5607         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5608         1415)
5609
5610 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5611
5612         * text3.C: fix one crash due to wrong cursor def
5613
5614 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * vc-backend.C (scanMaster): make the regex static
5617
5618         * LaTeX.C (scanAuxFile): make the regexs static
5619
5620         * text3.C (doInsertInset, dispatch, dispatch):
5621         * text2.C (cursorUp, cursorDown):
5622         * text.C (selectNextWordToSpellcheck):
5623         * BufferView_pimpl.C (dispatch):
5624         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5625
5626 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5627
5628         * lyxsocket.C: include <cerrno>
5629
5630 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * lyxfunc.C (dispatch): remove textcache stuff
5633
5634         * bufferlist.C (release): remove textcache stuff
5635         (closeAll): ditto
5636
5637         * TextCache.C: delete file
5638         * TextCache.h: delete file
5639
5640         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5641
5642         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5643         delete of the bv_->text.
5644         (resizeCurrentBuffer): remove texcache stuff
5645         (workAreaResize): ditto
5646
5647 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5648
5649         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5650         action.
5651
5652 2003-10-16  André Pönitz  <poenitz@gmx.net>
5653
5654         * lyxrow.[Ch]:
5655         * paragraph.h:
5656         * rowpainter.C:
5657         * text.C:
5658         * text2.C:
5659         * text3.C: speed up by storing y positions per paragraph plus per-row
5660         offset instead of having a 'full' y position in the row.
5661
5662 2003-10-15  André Pönitz  <poenitz@gmx.net>
5663
5664         * iterators.[Ch]:
5665         * iterators.[Ch]:
5666         * undo.[Ch]: make undo aware of inner insets
5667
5668 2003-10-14  Angus Leeming  <leeming@lyx.org>
5669
5670         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5671         static member functions LyX::ref() and LyX::cref.
5672         (lastfiles): new accessor functions for the new lastfiles_ member var.
5673         (addLyXView, views_): add a new LyXView to the list of views_.
5674         (updateInset): loop over all LyXViews to call their own updateInset
5675         member function, returning a pointer to the Buffer owning the inset.
5676
5677         * BufferView_pimpl.C (loadLyXFile):
5678         * MenuBackend.C (expandLastfiles):
5679         * bufferlist.C (MenuWrite, QuitLyX):
5680         lastfiles is no longer a global variable.
5681         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5682
5683         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5684         static function. Access through LyX::cref().emergencyCleanup().
5685
5686 2003-10-14  André Pönitz  <poenitz@gmx.net>
5687
5688         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5689
5690         * undo.[Ch]: restoring part of 'undo in insets'
5691
5692         * Makefile.am:
5693         * undo_funcs.[Ch]: merge with undo.[Ch]
5694
5695         * tabular.C: small cleansing stuff
5696
5697 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5698
5699         * paragraph_funcs.C (readParToken): report unknown insets as error
5700         boxes. Use the outer paragraph as location (also for unknown
5701         tokens).
5702
5703         * factory.C (readInset): do not abort on reading an unknown inset.
5704         Eat it and return 0.
5705
5706 2003-10-13  Angus Leeming  <leeming@lyx.org>
5707
5708         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5709
5710         * lyxrc.C: displayTranslator is now a function,
5711         declared in GraphicsTypes.h.
5712
5713 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5714
5715         * format.C: new placeholder $$a to pass the socket address.
5716
5717         * bufferlist.[Ch]: new function getBufferFromTmp.
5718
5719         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5720           files in the temporary dir.
5721
5722 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5723
5724         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5725
5726         * Makefile.am: add lyxsocket.[Ch].
5727
5728         * lyx_main.C (error_handler): handle SIGPIPE.
5729
5730 2003-10-13  André Pönitz  <poenitz@gmx.net>
5731
5732         * BufferView_pimpl.C:
5733         * lyxtext.h:
5734         * text.C:
5735         * text2.C:
5736         * text3.C:
5737         * undo_funcs.[Ch]: use paroffset_type instead of
5738           ParagraphList::iterators to prevent multiple conversion
5739           (and get a more robust interface)
5740
5741 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5742
5743         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5744         * lyxtext.h: ditto
5745         * text3.C (dispatch): ditto
5746
5747 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5748
5749         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5750         move the onlyfile, use onlyfile instead of foundfile in a couple
5751         of places.
5752
5753         * DepTable.C (update): flush the error stream a bit more
5754
5755 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5756
5757         * lyxserver.C (callback): adjust
5758
5759         * lyxfunc.C (getStatus): add a missing brace in commented code
5760         (ensureBufferClean): reindent
5761         (dispatch): delete version taking a string
5762
5763 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5764
5765         * LaTeX.C (deplog): move found file handlig from here...
5766         (handleFoundFile): .. to new function here.
5767         (deplog): make sure to discover several files mentioned on the
5768         same log line.
5769
5770 2003-10-10  André Pönitz  <poenitz@gmx.net>
5771
5772         * lyxfunc.C:
5773         * lyxtext.h:
5774         * tabular.C:
5775         * text.C:
5776         * text2.C:
5777         * text3.C: fix some of the tabular crashes
5778
5779 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5780
5781         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5782
5783         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5784
5785 2003-10-09  André Pönitz  <poenitz@gmx.net>
5786
5787         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5788
5789         * BufferView.C:
5790         * BufferView_pimpl.C:
5791         * bufferview_funcs.C:
5792         * lyx_cb.C:
5793         * lyxcursor.C:
5794         * lyxfind.C:
5795         * lyxfunc.C:
5796         * lyxtext.h:
5797         * text.C:
5798         * text2.C:
5799         * text3.C:
5800         * text_funcs.[Ch]:
5801         * textcursor.[Ch]:
5802         * undo_funcs.C: adjust
5803
5804 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5805
5806         * text2.C (incrementItemDepth): new function, use a backtracking
5807         algorithm to discover the correct item depth.
5808         (resetEnumCounterIfNeeded): new function, use a backtracking
5809         algorithm to discover if counter reset is needed.
5810         (setCounter): use them. Simplify a bit. Add different labels for
5811         different item depths for itemize.
5812
5813         * paragraph.C (Paragraph): remove initialization of enumdepth
5814         (operator=): ditto
5815
5816         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5817         enumerate and itemize. Change the type of itemdepth to signed char.
5818
5819 2003-10-08  André Pönitz  <poenitz@gmx.net>
5820
5821         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5822           thing assignable.
5823         * text.C:
5824         * text2.C: adjust
5825
5826         * tabular.[Ch]: fix crash after 'row-insert'
5827
5828 2003-10-08  Angus Leeming  <leeming@lyx.org>
5829
5830         Fix doxygen warnings.
5831
5832         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5833         Remove CutAndPaste:: prefix from header file declaration.
5834
5835         * LColor.h (fill): remove LColor:: prefix from declaration.
5836
5837         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5838         use lyx::depth_type rather than Paragraph::depth_type so that
5839         header file and .C file match.
5840
5841         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5842
5843         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5844         * aspell.C: \file aspell_local.C -> \file aspell.C
5845         * gettext.C: \file gettext.C -> \file src/gettext.C
5846         * gettext.h: \file gettext.h -> \file src/gettext.h
5847         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5848         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5849         * text.C: \file text.C -> \file src/text.C
5850
5851         * toc.C: move comment so that doxygen is not confused.
5852
5853 2003-10-07  Angus Leeming  <leeming@lyx.org>
5854
5855         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5856
5857 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5858
5859         * aspell.C:
5860         * aspell_local.h: add forgotten std::string's.
5861
5862 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5863
5864         * LaTeXFeatures.C:
5865         * LyXAction.C:
5866         * factory.C:
5867         * lfuns.h:
5868         * lyxfunc.C:
5869         * text3.C: The Box patch. Fancybox support, minipage, parbox
5870
5871 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5872
5873         * CutAndPaste.h:
5874         * DepTable.h:
5875         * FloatList.h:
5876         * LaTeXFeatures.h:
5877         * ParagraphParameters.h:
5878         * TextCache.h:
5879         * Thesaurus.h:
5880         * bufferlist.h:
5881         * exporter.h:
5882         * importer.h:
5883         * lastfiles.h:
5884         * lyxfind.h:
5885         * lyxfont.h:
5886         * lyxlex.h:
5887         * lyxtextclasslist.h:
5888         * messages.h:
5889         * paragraph.h:
5890         * paragraph_pimpl.C:
5891         * textcursor.h: add <string> and other small fixes to make Lars'
5892         std::string patch compile with STLport.
5893
5894 2003-10-06  Angus Leeming  <leeming@lyx.org>
5895
5896         * LColor.h: Add missing #include <string>.
5897
5898 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5899
5900         * All most all file in all subdirs: Make <string> be the prefered
5901         way of getting to std::string, add using declarations.
5902
5903 2003-10-06  André Pönitz  <poenitz@gmx.net>
5904
5905         * metricsinfo.C: initialize LyXFont before changing attribute.
5906         (fixes the 'math in \emph is upright' bug)
5907
5908 2003-10-06  André Pönitz  <poenitz@gmx.net>
5909
5910         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5911
5912 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5913
5914         * graph.C:
5915         * paragraph_pimpl.C: Small fixes to build using STLport
5916
5917 2003-10-02  André Pönitz  <poenitz@gmx.net>
5918
5919         * lyxfunc.C:
5920         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5921
5922 2003-10-01  André Pönitz  <poenitz@gmx.net>
5923
5924         * factory.C: assert early
5925
5926 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5927
5928         * lyx_main.C: remove the global debug object
5929
5930         * debug.h: adjust for new debugstream
5931
5932         * debug.C: adjust for new debugstream and keep the global debug
5933         object here.
5934
5935 2003-09-22  Angus Leeming  <leeming@lyx.org>
5936
5937         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5938         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5939         an incomplete class LyXFont.
5940
5941 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5942
5943         * factory.C: bug fix in branches
5944
5945 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5946
5947         * lyxfunc.C (processKeySym): adjust
5948         (dispatch): adjust
5949         (dispatch): change arg name from ev to func, adjust
5950         (sendDispatchMessage): ditto
5951
5952         * lyx_main.C (defaultKeyBindings): adjust keybindings
5953         (deadKeyBindings): ditto
5954
5955         * kbsequence.C (addkey): return a FuncRequest
5956
5957         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5958
5959         * kbmap.C (bind): take a FuncRequest as arg, adjust
5960         (read): adjust
5961         (lookup): adjust
5962         (defkey): change to take a FuncRequest as arg, adjust
5963         (findbinding): take a FuncRequest as arg, adjust.
5964
5965         * funcrequest.h (operator=): added
5966
5967         * funcrequest.C (FuncRequest): default kb_action changed from
5968         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5969
5970         * buffer.C (dispatch): simplify
5971         (dispatch): adjust to take a FuncRequest as arg, adjust
5972
5973         * boost.C (assertion_failed): change assertion message slightly
5974
5975         * ToolbarBackend.C (read): simplify
5976
5977         * MenuBackend.C (binding): adjust call to findbinding, add a
5978         message if no binding is found.
5979         (read): simplify
5980         (expandToc): correct by adding a empty FuncRequest
5981
5982         * LyXAction.C: include <boost/assert.hpp>
5983         (isPseudoAction): delete function
5984         (LookupFunc): change name to...
5985         (lookupFunc): this. change return type to FuncRequest.
5986         (getActionName): take kb_action as arg, simplify
5987         (funcHasFlag): add an assert, simplify.
5988
5989 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5990
5991         * toc.C (action): return a FuncRequest, simplify
5992
5993         * lyxfunc.C (processKeySym): adjust
5994         (getStatus): delete version that takes an int.
5995         (getStatus): adjust
5996         (dispatch): delete version that takes action as int
5997         (dispatch): adjust
5998         (sendDispatchMessage): simplify and adjust
5999
6000         * funcrequest.C (getArg): take unsigned int as arg
6001
6002         * ToolbarBackend.C (read): adjust
6003         (add): delete version that takes func as a string.
6004         (getIton): take a FuncRequest as arg
6005
6006         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
6007         action.
6008
6009         * MenuBackend.C (MenuItem): add a new construct that only takes a
6010         Kind, simplify the constructor use for submenus.
6011         (add): adjust
6012         (expandLastfiles): adjust
6013         (expandDocuments): adjust
6014         (expandFormats): adjust
6015         (expandFloatListInsert): adjust
6016         (expandFloatInsert): adjust
6017         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
6018
6019         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
6020         Remove class variables lyx_pseudo_map and lyx_arg_map
6021
6022         * LyXAction.C (searchActionArg): delete function
6023         (getPseudoAction): delete function
6024         (retrieveActionArg): delete function
6025         (LookupFunc): make it return kb_action, simplify.
6026         (getActionName): simplify
6027
6028         * factory.C (createInset): fix new bug
6029
6030 2003-09-19  Angus Leeming  <leeming@lyx.org>
6031
6032         * CutAndPaste.C (pasteSelection): remove fudge used to set the
6033         masterFilename_ parameter in the include inset.
6034
6035         * factory.C (createInset): changes due to the changes to InsetInclude.
6036
6037 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6038
6039         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
6040
6041 2003-09-18  Angus Leeming  <leeming@lyx.org>
6042
6043         * buffer.C:
6044         * BufferView.C: pass the buffer when calling Inset::getLabelList,
6045         Inset::fillWithBibKeys.
6046         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
6047
6048 2003-09-18  Angus Leeming  <leeming@lyx.org>
6049
6050         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
6051         variables.
6052         (ctor): pass and store a 'Buffer const &'
6053         (buffer): new member function.
6054
6055         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
6056         '*this' to the LaTeXFeatures ctor.
6057
6058 2003-09-18  Angus Leeming  <leeming@lyx.org>
6059
6060         * LColor.h:
6061         * lyxfont.C:
6062         * lyxfont.h:
6063         * lyxtext.h:
6064         * text.C: rename EnumLColor as LColor_color.
6065
6066 2003-09-18  Angus Leeming  <leeming@lyx.org>
6067
6068         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
6069         remove #include "insets/insetbase.h" from cursor.h.
6070
6071 2003-09-18  Angus Leeming  <leeming@lyx.org>
6072
6073         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
6074         InsetOld_code to remove #include "inset.h".
6075
6076         * iterators.C: add #include "insets/inset.h"
6077
6078 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
6079
6080         * BufferView.C: remove more locking stuff that apparently doesn't
6081         do anything sensible.
6082
6083 2003-09-16  André Pönitz  <poenitz@gmx.net>
6084
6085         * paragraph.[Ch]:
6086         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6087           performance boost.
6088
6089 2003-09-16  Angus Leeming  <leeming@lyx.org>
6090
6091         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
6092
6093         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
6094         arg/return type.
6095
6096         * paragraph.h: remove #include "lyxfont.h". Forward declare
6097         LyXFont_size.
6098
6099 2003-09-16  Angus Leeming  <leeming@lyx.org>
6100
6101         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
6102         of support/textutils.h.
6103         (isWord): move the contents of support/textutils.h's IsWordChar here.
6104
6105         * buffer.C:
6106         * lyxfind.C:
6107         * rowpainter.C:
6108         * text.C:
6109         * text2.C: add #include "paragraph.h".
6110
6111         * rowpainter.C:
6112         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
6113
6114 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6115
6116         * main.C:
6117         * lyx_main.C:
6118         * lyx_cb.C:
6119         * buffer.C:
6120         * LaTeX.C: use namespace alias for lyx::support::os
6121
6122 2003-09-16  Angus Leeming  <leeming@lyx.org>
6123
6124         * bufferparams.C:
6125         * bufferview_funcs.C:
6126         * factory.C:
6127         * lyxfunc.C:
6128         * paragraph_pimpl.C:
6129         * rowpainter.C:
6130         * text.C: add #include "LColor.h".
6131
6132 2003-09-16  Angus Leeming  <leeming@lyx.org>
6133
6134         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6135         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6136         return LyXFont &.
6137         Store the FontBits::color variable as an int rather than as an
6138         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6139         file.
6140
6141         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6142         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6143         string calls together.
6144
6145         * lyxrc.C: add #include "LColor.h".
6146
6147 2003-09-15  Angus Leeming  <leeming@lyx.org>
6148
6149         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6150         a cow_ptr.
6151
6152 2003-09-15  Angus Leeming  <leeming@lyx.org>
6153
6154         * LColor.h: add an EnumLColor wrapper for LColor::color.
6155
6156         * lyxfont.[Ch] (color, setColor, realColor):
6157         * lyxtext.h, text.C (backgroundColor):
6158         pass EnumLColor args to/from the functions, rather than LColor::color
6159         ones.
6160
6161         * lyxfont.h:
6162         * lyxtext.h: forward declare EnumLColor.
6163
6164         * lyx_main.C: add #include "LColor.h".
6165
6166 2003-09-15  Angus Leeming  <leeming@lyx.org>
6167
6168         * .cvsignore: add lyx-gtk.
6169
6170 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6171
6172         * Chktex.C
6173         * LaTeX.C
6174         * LaTeXFeatures.C
6175         * ParagraphParameters.C
6176         * Spacing.C
6177         * buffer.C
6178         * bufferparams.C
6179         * bufferview_funcs.C
6180         * chset.C
6181         * counters.C
6182         * funcrequest.C
6183         * lyxfont.C
6184         * lyxgluelength.C
6185         * lyxlength.C
6186         * paragraph.C
6187         * paragraph_funcs.C
6188         * text3.C
6189         * vc-backend.C: remove usage of STRCONV
6190
6191 2003-09-15  Angus Leeming  <leeming@lyx.org>
6192
6193         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6194         explicitly define the color passed to the painter.
6195
6196 2003-09-15  Angus Leeming  <leeming@lyx.org>
6197
6198         * bufferparams.C (BufferParams): reorder member initializers to avoid
6199         compiler warning.
6200
6201 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6202
6203         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6204         * text.C (updateRowPositions): remove an unusual nop
6205
6206 2003-09-12  André Pönitz  <poenitz@gmx.net>
6207
6208         * BufferView_pimpl.C:
6209         * Bullet.C:
6210         * layout.h:
6211         * lyxfunc.C:
6212         * lyxlayout.[Ch]:
6213         * lyxtextclass.C:
6214         * rowpainter.C:
6215         * text.C:
6216         * text2.C:
6217         * Counters.[Ch]: finish the 'automatic counters' job
6218
6219 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6220
6221         * aspell.C: include <boost/assert.cpp> (compile fix)
6222
6223 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6224
6225         * boost.C (assertion_failed): use lyx::support::abort instead of
6226         assert.
6227
6228 2003-09-10  Angus Leeming  <leeming@lyx.org>
6229
6230         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6231         with their _fwd progeny.
6232
6233 2003-09-09  Angus Leeming  <leeming@lyx.org>
6234
6235         134 files throughtout the source tree: replace 'using namespace abc;'
6236         directives with the appropriate 'using abc::xyz;' declarations.
6237
6238 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6239
6240         * boost.C (emergencyCleanup): moved here from LAssert.c
6241         (assertion_failed): new function, called by BOOST_ASSERT
6242
6243         * several files: change Assert to BOOST_ASSERT
6244
6245 2003-09-09  Angus Leeming  <leeming@lyx.org>
6246
6247         * buffer.[Ch]: Add an Impl class and move Buffer's member
6248         variables into it. As a result move several header files out of
6249         buffer.h.
6250
6251         Add header files to lots of .C files all over the tree as a result.
6252
6253 2003-09-09  Angus Leeming  <leeming@lyx.org>
6254
6255         * buffer.[Ch]: make Buffer's member variables private. Add
6256         accessor functions.
6257
6258         Lots of changes all over the tree as a result.
6259
6260 2003-09-08  Angus Leeming  <leeming@lyx.org>
6261
6262         * graph.C: #include <config.h>.
6263
6264 2003-09-08  Angus Leeming  <leeming@lyx.org>
6265
6266         * BranchList.C:
6267         * BufferView.C:
6268         * BufferView_pimpl.C:
6269         * CutAndPaste.C:
6270         * DepTable.C:
6271         * LaTeX.C:
6272         * LaTeXFeatures.C:
6273         * LyXAction.C:
6274         * MenuBackend.C:
6275         * TextCache.C:
6276         * aspell.C:
6277         * buffer.C:
6278         * bufferlist.C:
6279         * changes.C:
6280         * chset.C:
6281         * converter.C:
6282         * counters.C:
6283         * debug.C:
6284         * graph.C:
6285         * ispell.C:
6286         * lyx_cb.C:
6287         * lyxfind.C:
6288         * lyxfunc.C:
6289         * lyxlex_pimpl.C:
6290         * lyxrc.C:
6291         * lyxrow.C:
6292         * paragraph.C:
6293         * rowpainter.C:
6294         * texrow.C:
6295         * text.C:
6296         * text2.C:
6297         * toc.C: remove redundant using directives.
6298
6299 2003-09-07  Angus Leeming  <leeming@lyx.org>
6300
6301         * LaTeXFeatures.h: remove #include "support/types.h".
6302         * ToolbarBackend.h: remove #include <algorithm>.
6303         * changes.h: remove #include <ctime>.
6304         * debug.h: remove #include <iosfwd>.
6305         * graph.h: remove #include "support/std_string.h".
6306         * lyx_main.h: remove #include <csignal>.
6307         * lyxlex_pimpl.h: remove #include <fstream>.
6308         * sgml.h: remove #include <algorithm>, <utility>.
6309         * toc.h: remove #include "support/std_ostream.h".
6310         Add #include <iosfwd>.
6311
6312 2003-09-07  Angus Leeming  <leeming@lyx.org>
6313
6314         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6315
6316         * converter.h: forward declare LatexRunParams.
6317         * encoding.h: remove #include "lyxrc.h".
6318         * lyxtext.h: remove #include "LColor.h".
6319         * lyxtextclass.h: remove #include "support/types.h".
6320         * trans.h: remove #include "tex-accent.h".
6321         * trans_mgr.h: remove #include "tex-accent.h".
6322         * insets/inset.h: remove #include "support/types.h", <vector>.
6323         * insets/insetcollapsable.h: remove #include "LColor.h".
6324         * insets/insetinclude.h: remove #include "dimension.h".
6325         * insets/insetlatexaccent.h: remove #include "dimension.h".
6326         * insets/insetoptarg.h:: remove #include "insettext.h".
6327         * insets/insettext.h: remove #include "dimension.h",
6328         <boost/shared_ptr.hpp>
6329
6330         * insets/renderers.h: add #include "dimension.h".
6331         * insets/updatableinset.h: add #include "support/types.h".
6332
6333         * many .C files: Associated changes.
6334
6335 2003-09-06  Angus Leeming  <leeming@lyx.org>
6336
6337         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6338         one, inside testInvariant.
6339
6340         * PrinterParams.C: new file.
6341         * PrinterParams.[Ch]: move the function bodies out of line.
6342
6343 2003-09-06  Angus Leeming  <leeming@lyx.org>
6344
6345         * ParagraphParameters.h: forward declare ParameterStruct rather than
6346         including its header file.
6347         (depth): moved out-of-line.
6348
6349 2003-09-06  Angus Leeming  <leeming@lyx.org>
6350
6351         * BufferView_pimpl.h:
6352         * kbmap.h:
6353         * kbsequence.h:
6354         * lyxfunc.h: forward declare LyXKeySym rather than
6355         #include "frontends/LyXKeySym.h".
6356
6357         * BufferView_pimpl.C:
6358         * kbmap.C:
6359         * kbsequence.C:
6360         * lyxfunc.C: associated changes.
6361
6362 2003-09-06  Angus Leeming  <leeming@lyx.org>
6363
6364         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6365         As a result, can remove the #include "insets/inset.h" from BufferView.h
6366
6367 2003-09-06  Angus Leeming  <leeming@lyx.org>
6368
6369         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6370         As a result, can remove the #include "insets/inset.h" from BufferView.h
6371
6372 2003-09-06  Angus Leeming  <leeming@lyx.org>
6373
6374         * buffer_funcs.C:
6375         * buffer.h:
6376         * bufferlist.C:
6377         * BufferView.C:
6378         * bufferview_funcs.C:
6379         * BufferView_pimpl.C:
6380         * CutAndPaste.C:
6381         * lyx_cb.C:
6382         * lyxfunc.C:
6383         * paragraph.h:
6384         * ParagraphParameters.C:
6385         * tabular.C:
6386         * text3.C:
6387         * toc.C:
6388         * undo_funcs.C:
6389         * frontends/controllers/ControlDocument.C:
6390         * insets/insetcaption.C: rearrange the #includes into some sort of
6391         coherent order.
6392
6393         * buffer.h: remove #includes ErrorList.h, undo.h
6394
6395 2003-09-06  Angus Leeming  <leeming@lyx.org>
6396
6397         * support/types.h: add a 'depth_type' typedef, used to store the
6398         nesting depth of a paragraph.
6399
6400         * paragraph.h:
6401         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6402         defining explicitly.
6403
6404         * buffer.h:
6405         * paragraph_funcs.h:
6406         * ParagraphParameters.h:
6407         * sgml.h: use lyx::depth_type rather than Paragraph or
6408         ParameterStruct's depth_type.
6409
6410         * buffer.h
6411         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6412
6413         * BufferView.C:
6414         * BufferView_pimpl.C:
6415         * CutAndPaste.C:
6416         * ParagraphParameters.C:
6417         * buffer_funcs.C:
6418         * bufferlist.C:
6419         * bufferview_funcs.C:
6420         * lyx_cb.C:
6421         * lyxfunc.C:
6422         * tabular.C:
6423         * text3.C:
6424         * toc.C:
6425         * undo_funcs.C:
6426         * frontends/LyXView.C:
6427         * frontends/controllers/ControlDocument.C:
6428         * frontends/controllers/ControlErrorList.C:
6429         * insets/insetbibitem.C:
6430         * insets/insetbranch.C:
6431         * insets/insetcaption.C:
6432         * insets/insetcollapsable.C:
6433         * insets/insetenv.C:
6434         * insets/insetert.C:
6435         * insets/insetfloat.C:
6436         * insets/insetfoot.C:
6437         * insets/insetfootlike.C:
6438         * insets/insetnewline.C:
6439         * insets/insetquotes.C:
6440         * insets/insettabular.C:
6441         * insets/insettext.C:
6442         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6443
6444         * frontends/controllers/ControlChanges.C: #include "changes.h".
6445
6446 2003-09-06  Angus Leeming  <leeming@lyx.org>
6447
6448         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6449         than #including paragraph.h.
6450
6451         * ParagraphList.h:
6452         * RowList.h: deleted. Superfluous.
6453
6454         * CutAndPaste.h:
6455         * iterators.h:
6456         * lyxcursor.h:
6457         * lyxtext.h:
6458         * text_funcs.h:
6459         * undo.h:
6460         * undo_funcs.h:
6461         * insets/inset.h:
6462         * insets/insettext.h: use ParagraphList_fwd.h rather than
6463         ParagraphList.h.
6464
6465         * paragraph.h: don't forward declare ParagraphList.
6466
6467         * buffer.h:
6468         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6469         rather than ParagraphList.h. paragraph.h is still needed for the
6470         Paragraph::depth_type parameters.
6471
6472         * textcursor.h: enable it to compile stand-alone in light of the
6473         above changes.
6474
6475         * bufferview_funcs.C:
6476         * iterators.C:
6477         * lyxfunc.C:
6478         * lyxrow_funcs.C:
6479         * paragraph.C:
6480         * rowpainter.C:
6481         * text.C:
6482         * text2.C:
6483         * text3.C:
6484         * text_funcs.C:
6485         * textcursor.C:
6486         * undo.C:
6487         * frontends/controllers/ControlParagraph.C:
6488         * frontends/controllers/ControlTabular.C:
6489         * insets/insetmarginal.C:
6490         * insets/insetminipage.C:
6491         * insets/insetnote.C:
6492         * insets/insetoptarg.C: add header files needed to compile again.
6493
6494 2003-09-06  Angus Leeming  <leeming@lyx.org>
6495
6496         * RowList_fwd.h: new file, forward-declaring Row rather than
6497         #including lyxrow.h.
6498
6499         * lyxrow_funcs.h:
6500         * lyxtext.h:
6501         * paragraph.h:
6502         * insets/insettext.h: use it instead of RowList.h
6503
6504         * bufferview_funcs.C:
6505         * lyxfunc.C:
6506         * lyxrow_funcs.C:
6507         * paragraph.C:
6508         * rowpainter.C:
6509         * text.C:
6510         * text2.C:
6511         * text3.C: #include "RowList.h".
6512
6513 2003-09-05  Angus Leeming  <leeming@lyx.org>
6514
6515         * factory.C (createInset):
6516         * vspace.C (c-tor): replace sscanf call with an istringstream.
6517         * ispell.C: re-add missing HP/UX headers.
6518         * lyxserver.C: re-add missing  os2 headers.
6519
6520 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6521
6522         * BranchList.C:
6523         * graph.C:
6524         * ispell.C:
6525         * lastfiles.C:
6526         * lyx_cb.C:
6527         * lyxserver.C:
6528         * texrow.C:
6529         * text3.C: re-add missing system headers, needed for 2.95.2.
6530
6531 2003-09-05  Angus Leeming  <leeming@lyx.org>
6532
6533         Changes most place everywhere due to the removal of using directives
6534         from support/std_sstream.h.
6535
6536 2003-09-05  Angus Leeming  <leeming@lyx.org>
6537
6538         Replace LString.h with support/std_string.h,
6539         Lsstream.h with support/std_sstream.h,
6540         support/LIstream.h with support/std_istream.h,
6541         support/LOstream.h with support/std_ostream.h.
6542
6543         Changes resulting throughout the tree.
6544
6545 2003-09-05  Angus Leeming  <leeming@lyx.org>
6546
6547         * sgml.h: ensure that the header file can be compiled stand-alone.
6548         * *.C: strip out redundant #includes. (320 in total.)
6549
6550 2003-09-04  Angus Leeming  <leeming@lyx.org>
6551
6552         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6553         here (from getPackages).
6554
6555         * debug.[Ch]: add a new EXTERNAL tag.
6556
6557 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6558
6559         * text2.C (cursorEnd): simplify
6560         (setCursor): adjust
6561         (getColumnNearX): adjust
6562
6563         * text.C (computeBidiTables): adjust
6564         (fill): adjust
6565
6566         * rowpainter.C (paintChars): adjust
6567         (paintSelection): adjust
6568         (paintChangeBar): adjust
6569         (paintText): adjust
6570
6571         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6572         lastPos instead.
6573         (numberOfSeparators): adjust
6574
6575 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6576
6577         * LyXAction.C:
6578         * box.[Ch]:
6579         * lfuns.h:
6580         * lyxfunc.C:
6581         * text3.C: Restricts the mouse click functionality
6582         of insets like bibtex, include, toc and floatlist to the visible
6583         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6584         up the dialogs. Cursor has to be in front of the inset (i.e.
6585         start of row) for this to function.
6586
6587 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6588
6589         * bufferview_funcs.C (currentState): output row information
6590
6591 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6592
6593         * bufferview_funcs.C (currentState): output paragraph position
6594
6595 2003-09-04  Angus Leeming  <leeming@lyx.org>
6596
6597         * FloatList.h: move out #include "Floating.h".
6598         * LaTeX.h: move out #include "DepTable.h".
6599         * LyXAction.h: move out #include "funcrequest.h".
6600         * buffer.h: move out #include "author.h", "iterators.h".
6601         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6602         * lyx_main.h: move out #include "errorlist.h".
6603         * lyxfunc.h: move out #include "FuncStatus.h".
6604         * lyxtext: move out #include "lyxcursor.h".
6605         * paragraph_pimpl.h: move out #include "counters.h".
6606
6607 2003-09-03  Angus Leeming  <leeming@lyx.org>
6608
6609         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6610         preamble_snippets list, enabling us to add snippets to the preamble
6611         only if the snippet was not there already.
6612
6613 2003-09-04  Angus Leeming  <leeming@lyx.org>
6614
6615         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6616
6617 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6618
6619         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6620         update
6621
6622 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6623
6624         * BranchList.C: point fix, earlier forgotten
6625
6626 2003-09-02  Angus Leeming  <leeming@lyx.org>
6627
6628         * box.C (contains): renamed from 'contained' after a fantastic
6629         amount of hot air.
6630
6631 2003-09-02  John Levon  <levon@movementarian.org>
6632
6633         * BufferView.C:
6634         * lyxcursor.h:
6635         * lyxcursor.C:
6636         * lyxfunc.C:
6637         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6638
6639 2003-09-02  John Levon  <levon@movementarian.org>
6640
6641         * text2.C: simplification of cursorEnd(), including partial
6642         fix for bug 1376
6643
6644 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6645
6646         * buffer.C (readFile): add a space
6647
6648 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6649
6650         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6651
6652 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6653
6654         * buffer.C (readFile): new function, take a filename and a
6655         ParagraphList::iterator
6656         (readFile): adjust
6657         (readFile): adjust, make it private. don't use setStream, make
6658         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6659         always contain the filename.
6660
6661         * BufferView.C (insertLyXFile): simplify and make it work for
6662         gzipped files.
6663
6664 2003-08-30  John Levon  <levon@movementarian.org>
6665
6666         * Makefile.am: fix dist (from Kayvan)
6667
6668 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6669
6670         * most files: change to use const Buffer refs
6671
6672 2003-08-27  André Pönitz  <poenitz@gmx.net>
6673
6674         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6675         on top of ownerPar().
6676
6677 2003-08-27  John Levon  <levon@movementarian.org>
6678
6679         * funcrequest.C: properly initialise POD members
6680
6681 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6682
6683         * lyxtext.h (top_y): move top_y from here
6684         * text.C:
6685         * text2.C:
6686         * text3.C:
6687         * BufferView.[Ch]:
6688         * BufferView_pimpl.[Ch]: to here
6689         * frontends/screen.C:
6690         * insets/insettabular.C:
6691         * insets/insettext.C: adjust
6692         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6693
6694 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6695
6696         * BufferView.[Ch]:
6697         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6698
6699 2003-08-26  André Pönitz  <poenitz@gmx.net>
6700
6701         * paragraph_func.[Ch] (outerPar): new function
6702
6703         * paragraph.C:
6704         * paragraph_funcs.C:
6705         * paragraph_funcs.h:
6706         * paragraph_pimpl.C:
6707         * text2.C: remove Inset::par_owner
6708
6709 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6710
6711         * lyxrow_funcs.C:
6712         * lyxtext.h:
6713         * text.C:
6714         * text2.C: eliminates the needFullRow/display() stuff
6715         altogether, putting the logic in metrics/draw in the insets.
6716
6717 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6718
6719         * text2.C (redoParagraphInternal, redoParagraphs):
6720         * text.C (redoParagraph): add a call to updateRowPositions at the
6721         end of each 'metrics-like' call. Remove all others.
6722         (getRow): remove the 'y-computing' version.
6723         (getRowNearY): do not compute nor return the real y. Solve the
6724         'y < 0' problem and simplify.
6725
6726 2003-08-22  Angus Leeming  <leeming@lyx.org>
6727
6728         * *.[Ch]: clean-up of licence and author blurbs.
6729         Also move config.h out of a few .h files and into a few .C files.
6730
6731 2003-08-22  André Pönitz  <poenitz@gmx.net>
6732
6733         * lyxrow.[Ch]: add x_ and *fill_ members
6734
6735         * lyxtext.h:
6736         * text.C:
6737         * rowpainter.C:
6738         * text2.C: adjust/remove prepareToPrint() calls
6739
6740 2003-08-22  André Pönitz  <poenitz@gmx.net>
6741
6742         * lyxrow.[Ch]: add  end_ member
6743
6744         * lyxrow_funcs.C: use LyXRow::end_
6745
6746         * lyxtext.h (singleWidth): add LyXFont parameter
6747
6748         * rowpainter.C:
6749         * text2.C: adjust LyXText::singleWidth() calls
6750
6751         * text.C (redoParagraph): simplify row breaking logic
6752
6753
6754 2003-08-19  André Pönitz  <poenitz@gmx.net>
6755
6756         * funcrequest.C: initialize button_ member
6757
6758         * text3.C:
6759         * rowpainter.[Ch]: interface consolidation
6760
6761 2003-08-18  André Pönitz  <poenitz@gmx.net>
6762
6763         * BufferView.C:
6764         * BufferView_pimpl.C:
6765         * lyxfind.C:
6766         * paragraph_funcs.C:
6767         * rowpainter.C:
6768         * text3.C: remove LyXScreen::draw() and fitCursor calls
6769
6770         * BranchList.h: remove spurious semicolons
6771
6772         * MenuBackend.C: fix branchlist related crash
6773
6774 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6775
6776         * BranchList.[Ch]:
6777         * InsetList.[Ch]:
6778         * LColor.[Ch]:
6779         * LyXAction.C:
6780         * Makefile.am:
6781         * MenuBackend.[Ch]:
6782         * bufferparams.[Ch]:
6783         * factory.C:
6784         * lfuns.h:
6785         * lyxfunc.C:
6786         * text3.C: implements the 'branch inset'
6787         idea. This allows the output of various versions of a document
6788         from a single source version, selectively outputing or suppressing
6789         output of parts of the text.
6790         This implementation contains a 'branch list editor' in a separate
6791         tab of the document settings dialog. Branches are user definable
6792         and have a "display colour" to distinguish them on-screen.
6793
6794         ColorHandler was somewhat cleaned up.
6795         (1) make possible a dynamically growing LColor list by allowing
6796         the graphic context cache to grow along (vector);
6797         (2) eliminate an IMHO unnecessary step in colour allocation.
6798
6799 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6800
6801         * BufferView_pimpl.C: compile fix
6802
6803 2003-08-15  André Pönitz  <poenitz@gmx.net>
6804
6805         * rowpainter.C: remove extra metrics calls
6806
6807         * lyxtext.h: merge the two constructors into a single one,
6808           pass reference to owner's par list
6809
6810         * BufferView_pimpl.C:
6811         * text.C:
6812         * text2.C: adjust
6813
6814 2003-08-15  André Pönitz  <poenitz@gmx.net>
6815
6816         * lyxrow_funcs.[Ch]:
6817         * lyxtext.h:
6818         * paragraph.h:
6819         * paragraph_funcs.C:
6820         * rowpainter.C:
6821         * text.C:
6822         * text2.C:
6823         * text3.C:
6824         * text_funcs.C: split LyXText::rowlist_ into individual
6825         Paragraph::rows_ chunks
6826
6827         * BufferView.[Ch]:
6828         * BufferView_pimpl.[Ch]:
6829         * lyxfind.C:
6830         * lyxtext.h:
6831         * text3.C: remove toggleSelection()
6832
6833 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6834
6835         * bufferlist.C: beautify two alerts (shorter text of buttons)
6836         * buffer.C: Remove redundant ' ' from message
6837         * tabular.h:
6838         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6839         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6840         rename VALIGN_CENTER to VALIGN_MIDDLE
6841
6842 2003-08-11  André Pönitz  <poenitz@gmx.net>
6843
6844         * lyxtext.h (getPar):
6845         * text.C: new function
6846
6847 2003-08-11  André Pönitz  <poenitz@gmx.net>
6848
6849         * Makefile.am:
6850         * tracer.[Ch]: remove unneeded files
6851
6852         * InsetList.[Ch]: remove resizeInsetsLyXText()
6853
6854         * lyxtext.h:
6855         * text.C:
6856         * text2.C:
6857         * text3.C: merge insertParagraphs() and appendParagraph()
6858         remove breakAgain(), update()
6859
6860         * BufferView_pimpl.[Ch]:
6861         * bufferview_funcs.[Ch]:
6862         * lyxfunc.C:
6863         * paragraph.[Ch]:
6864         * rowpainter.C:
6865         * tabular.C: adjust after text & InsetList changes.
6866
6867 2003-08-08  André Pönitz  <poenitz@gmx.net>
6868
6869         * text.C (insertChar, backspace): replace rowlist fiddling
6870         with rebreak of full par
6871
6872         * lyxtext.h:
6873         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6874         checkParagraph, updateInset): removed
6875
6876 2003-08-07  André Pönitz  <poenitz@gmx.net>
6877
6878         * paragraph.C:
6879         * text3.C: merge some LFUN handlers, remove dead code
6880
6881 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6882
6883         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6884
6885 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6886
6887         * text2.C (DEPM): fix part of bug 1255 and 1256
6888
6889 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6890
6891         * BufferView_pimpl.C (workAreaDispatch): change to use
6892         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6893         that are no mouse related.
6894
6895 2003-08-05  André Pönitz  <poenitz@gmx.net>
6896
6897         * BufferView.[Ch]:
6898         * BufferView_pimpl.[Ch]:
6899         * bufferview_funcs.C:
6900         * text2.C:
6901         * text3.C: rip out "deep update"
6902
6903         * textcursor.[Ch] (last_sel_cursor): remove unused member
6904
6905 2003-08-04  André Pönitz  <poenitz@gmx.net>
6906
6907         * BufferView.[Ch]:
6908         * BufferView_pimpl.[Ch]:
6909         * ParagraphParameters.C:
6910         * bufferview_funcs.C:
6911         * lyx_cb.C:
6912         * lyxfind.C:
6913         * lyxfunc.C:
6914         * text.C:
6915         * text2.C:
6916         * text3.C: replace "complicated" BufferView::update(...) calls with
6917         simpler ones.
6918
6919         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6920
6921 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6922
6923         * Makefile.am (lyx_SOURCES): add paper.h
6924
6925 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6926
6927         * Makefile.am: move things around so that both lyx-qt and
6928         lyx-xforms can be built (according to --with-frontend). Then lyx
6929         is a symbolic link to lyx-[firstfrontend]
6930
6931 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6932
6933         * Always use std::endl with lyxerr
6934
6935 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6936
6937         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6938
6939 2003-08-01  André Pönitz  <poenitz@gmx.net>
6940
6941         * BufferView.[Ch]:
6942         * BufferView_pimpl.[Ch]:
6943         * lyxfunc.C:
6944         * text3.C: merge BufferView::repaint() and BufferView::update()
6945
6946 2003-08-01  José Matos  <jamatos@lyx.org>
6947
6948         * buffer.[Ch]: file_format is no longer a buffer data element.
6949
6950 2003-08-01  André Pönitz  <poenitz@gmx.net>
6951
6952         * BufferView.C:
6953         * lyxtext.h:
6954         * text.C:
6955         * text2.C: make redoParagraph more independent of current cursor
6956
6957         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6958         * text.C:
6959         * text2.C: remove unneeded members
6960
6961 2003-07-30  André Pönitz  <poenitz@gmx.net>
6962
6963         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6964
6965         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6966           create a single function...
6967
6968         * paragraph_funcs.C (moveItem): ... here.
6969
6970         * text.C:
6971           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6972
6973 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6974
6975         * LColor.[Ch]: Add comment and greyedout logical colors.
6976
6977 2003-07-30  André Pönitz  <poenitz@gmx.net>
6978
6979         * tabular.C: don't use Assert too heavily. This crashes where it
6980           shouldn't
6981
6982 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6983
6984         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6985         is disabled (bug 1232)
6986
6987 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6988
6989         * factory.C: limited 'arg' scope
6990
6991 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6992
6993         * factory.C: fixed Note submenu issues
6994
6995 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6996
6997         * factory.C: submenu for Note/Comment/Greyedout
6998
6999 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
7000
7001         * lyx_main.C (LyX):
7002         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
7003
7004 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
7005
7006         * LaTeXFeatures.C:
7007         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
7008         greyedout. Patch provided by Jürgen Spitzmüller.
7009
7010 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7011
7012         * kbmap.C (read): fix error message when reading bind files
7013
7014 2003-07-29  Angus Leeming  <leeming@lyx.org>
7015
7016         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
7017         certainly does not do what it purports to do. I am doing it, and
7018         us, a favour by killing it.
7019
7020 2003-07-28  José Matos  <jamatos@lyx.org>
7021
7022         * buffer.C (readBody, do_writeFile):
7023         * paragraph.C(readParagraph): \end_document replaces \the_end.
7024
7025 2003-07-29  André Pönitz  <poenitz@gmx.net>
7026
7027         * BufferView.[Ch]:
7028         * BufferView_pimpl.[Ch]:
7029         * lyxfunc.C:
7030         * text2.C:
7031         * text3.C:
7032         * textcursor.[Ch]: remove toggleToggle & Co
7033
7034 2003-07-28  José Matos  <jamatos@fep.up.pt>
7035
7036         * buffer.C (readParagraph):
7037         * params_func (readParToken, readParagraph):
7038         * paragraph.C (write): \layout -> \begin_layout.
7039
7040 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7041
7042         * lyxlex_pimpl.C (setFile): clean up slightly.
7043
7044         * bufferparams.h: add compressed var
7045
7046         * buffer_funcs.C (readFile): adjust for Lexer change
7047         (newFile): ditto + simplify
7048
7049         * buffer.C (writeFile): handle writing of compressed files
7050
7051         * buffer.[Ch] (readFile): begin Lexer here, remove one argument.
7052         Check if the file is compressed and set a bufferparm if so.
7053
7054         * Makefile.am (lyx_LDADD): remove explicit -lz
7055
7056 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7057
7058         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
7059         makeDocBookFile): put the real LyX version in the first line of
7060         the file
7061
7062         * version.h:
7063         * version.C.in: remove lyx_docversion
7064
7065         * tabular.C (write_attribute): add a template-based version to
7066         write enums properly
7067
7068 2003-07-28  André Pönitz  <poenitz@gmx.net>
7069
7070         * lyxtext.h:
7071         * text.C:
7072         * text2.C:
7073         * text3.C: use doubles again for x-coordinates. They are needed.
7074
7075 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7076
7077         * messages.C (getLocaleDir): use lyx_localedir()
7078
7079         * lyxlex_pimpl.C (setFile): compress stuff
7080
7081         * buffer.C (writeFile): add some compression stuff
7082         (do_writeFile): new func, dont call expliti close... will this
7083         breake anything?
7084
7085         * Makefile.am (lyx_LDADD): add -lz
7086
7087 2003-07-28  José Matos  <jamatos@fep.up.pt>
7088
7089         * buffer.C: increment file format.
7090         * paragraph_funcs (readParagraph, readParToken):
7091         * paragraph.C (readParagraph): add \end_layout.
7092
7093 2003-07-27  Angus Leeming  <leeming@lyx.org>
7094
7095         * Makefile.am: remove special casing for configure-time setting of
7096         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
7097
7098         * lyx_main.C (init): remove all Jean-Marc's magic setting of
7099         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
7100
7101 2003-07-26  André Pönitz  <poenitz@gmx.net>
7102
7103         * paragraph_func.[Ch]:
7104         * paragraph.C (realizeFont): inline it whereever it is used
7105
7106         * rowpainter.C:
7107         * text.C:
7108         * text2.C:
7109         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
7110
7111
7112 2003-07-26  André Pönitz  <poenitz@gmx.net>
7113
7114         *       lyxtext.h:
7115         * text.C:
7116         * text2.C: get rid of LyXText::need_break_row
7117
7118 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7119
7120         * toc.[Ch]: put namespace toc inside namespace lyx
7121
7122         * MenuBackend.C (expandToc2): adjust for lyx::toc
7123         (expandToc): ditto
7124
7125         * lyxfunc.C (dispatch): adjust for lyx::find
7126
7127         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7128         lyx::find instead. Reorganize a bit.
7129         (LyXReplace): rename to replace
7130         (LyXFind): rename to find
7131
7132         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7133         (dispatch): ditto
7134
7135 2003-07-26  André Pönitz  <poenitz@gmx.net>
7136
7137         * text.C (setHeightOfRow): restrict scope of temporary variable
7138
7139         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7140           code (never has been used?)
7141
7142 2003-07-27  Asger Alstrup  <alstrup@local>
7143
7144         * text.C (fill): Optimise algorithm to exploit that we can reuse
7145         the LyXFont for many characters.
7146         (setHeightOfRow): Same thing.
7147         (rowBreakPoint): Same thing.
7148
7149 2003-07-26  Asger Alstrup  <alstrup@local>
7150
7151         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7152
7153         * text.C (singleWidth): Spurious font copying in hot-spot
7154         singleWidth avoided. Reorder tests for arabic for efficiency.
7155
7156         * text.C (fill): handle empty paragraphs better.
7157
7158 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7159
7160         * ispell.C:
7161         * encoding.h: add includes
7162
7163         * lyxrc.C: remove reading of bind files
7164
7165         * lyx_main.C (init): setup bindings and menus only if we have a
7166         gui.
7167
7168         * kbmap.C (read): new method. Do the actual reading of bind
7169         files.
7170
7171         * converter.C (dvipdfm_options):
7172         * bufferparams.C:
7173         * lyxrc.C (read):
7174         (output): adapt PAPER_* enums.
7175
7176         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7177
7178         * bufferparams.h: remove paper-related enums from there
7179
7180         * paper.h: New file. A trivial header file to hold paper-related
7181         enums. It should later expand to contain many paper-related
7182         horrors access.
7183
7184         * lyxrc.C: declare extern displayTranslator
7185
7186 2003-07-27  José Matos  <jamatos@fep.up.pt>
7187
7188         * tabular.[Ch] (linuxdoc): add support for tables and figures
7189         (linuxdoc).
7190
7191 2003-07-27  José Matos  <jamatos@fep.up.pt>
7192
7193         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7194         consistency in both functions.
7195         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7196
7197 2003-07-26  Asger Alstrup  <alstrup@local>
7198
7199         * rowpainter.C (paintRows): Change algorithm to work directly on
7200         the insets rather than asking every character in the document
7201         whether its an inset.
7202
7203 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7204
7205         * buffer.C (openFileWrite): factorize some code
7206
7207 2003-07-26  Angus Leeming  <leeming@lyx.org>
7208
7209         * lyx_cb.C:
7210         * lyx_main.[Ch]: replace occurances of system_tempdir with
7211         os::getTmpDir().
7212
7213 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7214
7215         * rename Inset to InsetOld
7216
7217 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7218
7219         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7220         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7221         which I think is a bit clearer. EDIT is gone, since it was
7222         premature optimisation, and broken for mathed anyway.
7223         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7224         with cursor positioning in insets as well (math insets still do not
7225         work, but that's a different story anyway.) It mysteriously
7226         crashes sometimes with undo in the first paragraph, but I'm fairly
7227         confident that this is a compiler bug.
7228
7229 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7230
7231         * paragraph.C (Paragraph): adjust for new clone return type
7232         (operator==): ditto
7233         (copyIntoMinibuffer): ditto
7234
7235 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7236
7237         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7238         by not having a special case, and always doing a full rebreak of
7239         the document after undo.
7240
7241 2003-07-23  Angus Leeming  <leeming@lyx.org>
7242
7243         * factory.C (createInset): InsetExternal::setParams now takes a
7244         Buffer const * arg.
7245
7246 2003-07-23  Angus Leeming  <leeming@lyx.org>
7247
7248         * factory.C (createInset): changed interface to the external and
7249         graphics mailers' string2params functions.
7250
7251 2003-07-23  Angus Leeming  <leeming@lyx.org>
7252
7253         * factory.C (createInset): pass a
7254         Buffer const * parameter to InsetExternalMailer's string2params.
7255
7256 2003-07-22  John Levon  <levon@movementarian.org>
7257
7258         * Thesaurus.h: include the right aiksaurus header
7259
7260 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7261
7262         * MenuBackend.C (expand): check menu shortcuts unconditionally
7263
7264 2003-07-21  Angus Leeming  <leeming@lyx.org>
7265
7266         * factory.C (createInset): pass a
7267         buffer_path parameter to InsetGraphicsMailer's string2params.
7268
7269 2003-07-21  Angus Leeming  <leeming@lyx.org>
7270
7271         * BufferView_pimpl.C (buffer):
7272         * buffer.C (d-tor):
7273         * lyx_main.C (LyX):
7274         * lyxfunc.C (dispatch):
7275         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7276         rather than the grfx shortcut.
7277
7278 2003-07-21  André Pönitz  <poenitz@gmx.net>
7279
7280         * rowpainter.C: remove unused variables
7281
7282         * tabular_funcs.C:
7283         * tabular_funcs.h: move to tabular.C
7284         * Makefile.am: adjust
7285
7286         * tabular.[Ch]: basic optical cleaning
7287
7288         * author.h: pass references, not values
7289
7290 2003-07-18  André Pönitz  <poenitz@gmx.net>
7291
7292         * lyxtext.h:
7293         * metricsinfo.C:
7294         * metricsinfo.h:
7295         * rowpainter.C:
7296         * text.C:
7297         * text2.C:
7298         * text3.C: two-phase drawing for InsetText and InsetTabular
7299         some float -> int changes.
7300
7301 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7302
7303         * lyx_main.C: fix the fix
7304
7305 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7306
7307         * lyx_main.C: fix a crash in batch mode if no files specified
7308         * converter.C: ws
7309
7310 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7311
7312         * format.[Ch] (papersize): moved to BufferParams
7313         * converter.[Ch] (dvips_options): moved to BufferParams
7314         (dvipdfm_options): moved to anon namespace
7315         * bufferparams.[Ch]: added above functions.
7316
7317 2003-07-17  André Pönitz  <poenitz@gmx.net>
7318
7319         * lyxtext.h:
7320         * rowpainter.C:
7321         * text2.C: don't call inset->update() anymore
7322
7323         * metricsinfo.[Ch]: add convenience constructor
7324
7325 2003-07-16  André Pönitz  <poenitz@gmx.net>
7326
7327         * lyxcursor.[Ch]:
7328         * lyxfunc.[Ch]:
7329         * text.C:
7330         * text2.C: replace the LyXCursor::irow_ member with
7331          on-demand computation of the value
7332
7333 2003-07-16  John Levon  <levon@movementarian.org>
7334
7335         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7336
7337 2003-07-15  André Pönitz  <poenitz@gmx.net>
7338
7339         * text.C:
7340         * text2.C: remove no more needed refresh_row
7341
7342 2003-07-15  André Pönitz  <poenitz@gmx.net>
7343
7344         * lyxtext.h:
7345         * rowpainter.C:
7346         * text2.C:
7347         * text3.C: refresh_status tristate -> need_update bool
7348
7349 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7350
7351         * lyxtext.h (init): remove reinit argument (act as if always true)
7352         * text2.C: adjust to that
7353
7354 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7355
7356         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7357         * text3.C: use it to delete selections in some cases
7358         (bugs 441, 673, 702, 954).
7359
7360 2003-07-14  André Pönitz  <poenitz@gmx.net>
7361
7362         * rowpainter.[Ch]: reduce interface
7363
7364 2003-07-14  André Pönitz  <poenitz@gmx.net>
7365
7366         * BufferView_pimpl.C:
7367         * text2.C: adjust after removing unused BufferView * argument
7368
7369 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7370
7371         * text2.C (init): fix a crash fired on resize
7372
7373 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7374
7375         * buffer.[Ch]: added new closing signal
7376         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7377         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7378         BufferView::Pimpl via the closing the signal
7379
7380 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7381
7382         * buffer.[Ch]: take out all bv-related from buffer
7383         * BufferView.C:
7384         * BufferView_pimpl.[Ch]: connect to new signals
7385         * CutAndPaste.C: removed useless asserts
7386         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7387         * lyxvc.[Ch]:
7388         * vc-backend.[Ch]:
7389         * lyxfunc.C: moved view-related funciontality from vc here
7390         * paragraph.C: removed outdated comments
7391         * text.C: ws
7392
7393 2003-07-10  André Pönitz  <poenitz@gmx.net>
7394
7395         * BufferView_pimpl.C:
7396         * tabular.h:
7397         * tabular_funcs.C:
7398         * text.C:
7399         * text2.C: remove InsetText::InnerCache, clean up consequences
7400
7401 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7402
7403         * ispell.C: fix two typos in error messages
7404
7405 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7406
7407         * Extend Note inset to other forms of annotation like Comment
7408         and Greyedout. Right button click gives dialog.
7409
7410         Files modified or added (+):
7411
7412         * insetnote.[Ch]
7413         * FormNote.[Ch]      +
7414         * ControlNote.[Ch]   +
7415         * form_note.fd       +
7416         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7417         frontends/controllers
7418         * xforms/Dialogs.C
7419         * factory.C
7420
7421 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7422
7423         * aspell.C: add missing namespace lyx::support
7424
7425 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7426
7427         * BufferView.[Ch] (newFile): Add
7428         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7429         * LaTeX.[Ch] (message): added this signal and use it
7430         * buffer.[Ch] (busy, message): added these signals and use them
7431         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7432         * converter.C:
7433         * exporter.C:
7434         * format.C:
7435         * importer.C: use buffer signals instead of direct bv calling
7436         * lyx_cb.[Ch] (ShowMessage): removed
7437         * lyx_main.C:
7438         * lyxfunc.C:
7439         * paragraph_funcs.C:
7440         * text2.C: use buffer signals
7441
7442 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7443
7444         * introduce namespace lyx::graphics
7445
7446 2003-07-02  André Pönitz  <poenitz@gmx.net>
7447
7448         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7449
7450 2003-07-01  André Pönitz  <poenitz@gmx.net>
7451
7452         * text.C:
7453         * text2.C:
7454         * text3.C:
7455         * text_funcs.[Ch]:
7456         * textcursor.h:
7457         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7458           text*.C to text_func.C
7459
7460 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7461
7462         * introduce namespace lyx::support
7463
7464 2003-06-30  André Pönitz  <poenitz@gmx.net>
7465
7466         * Chktex.C:
7467         * funcrequest.C:
7468         * lyxtext.h:
7469         * text.C: re-enable --with-included-string
7470
7471 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7472
7473         * textcursor.C: add <config.h>
7474
7475         * text.C (getWord): remove const from word_location arg
7476
7477         * lyxvc.C (getLogFile): fix const type order
7478
7479         * lyxtext.h: remove const from word_location arg, add arg name
7480
7481         * lyxlayout.h: currect type on labeltype.
7482
7483         * importer.C: correct \file
7484
7485         * converter.C (intToFormat): use std:: on ret val, ws changes
7486
7487         * bufferlist.h: correct \file
7488
7489         * buffer.C (makeLinuxDocFile): fix const type order
7490         (makeDocBookFile): ditto
7491         (fillWithBibKeys): use std:: on stdlib args.
7492
7493         * CutAndPaste.C: fix authors.
7494         (availableSelections): use std:: on return vector
7495
7496 2003-06-27  André Pönitz  <poenitz@gmx.net>
7497
7498         * BufferView_pimpl.C:
7499         * bufferview_funcs.C:
7500         * lyxcursor.C:
7501         * lyxcursor.h:
7502         * lyxfunc.C:
7503         * lyxtext.h:
7504         * rowpainter.C:
7505         * text.C:
7506         * text2.C:
7507         * text3.C: remove LyXCursor::row_ member
7508
7509         * lyxtext.h:
7510         * text.C: rename fullRebreak() to partialRebreak() and implement
7511           a fullRebreak() that really bereks fully
7512
7513         * textcursor.h: new struct for cursor-related data
7514
7515 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7516
7517         * lyx_main.C (LyX): get full path of document loaded on the
7518         command line
7519
7520 2003-06-26  André Pönitz  <poenitz@gmx.net>
7521
7522         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7523           remove unused/broken operator>,<,>=.
7524
7525         *       text.C: remove only use of broken operator<= in an Assert().
7526
7527 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7528
7529         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7530         moved errorlist_.clear to showErrorList
7531
7532 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7533
7534         * converter.C (scanLog, runLaTeX):
7535         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7536         move the bv->showErrorList call to the callers
7537         * lyxfunc.C: i.e. here...
7538         * text2.C: and here
7539         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7540         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7541         namespace, the second to...
7542         * buffer_funcs (BufferFormat, parseErrors): added
7543         * errorlist.C (ErrorList(TeXErrors const &)): removed
7544
7545 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7546
7547         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7548
7549 2003-06-24  "Garst R. Reese" <reese@isn.net>
7550
7551         * debug.C: fix typo
7552
7553 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7554
7555         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7556
7557         * version.C.in: change docversion to 1.4
7558
7559 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7560
7561         * buffer.C: fix a bug just introduced
7562
7563 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7564
7565         * buffer.[Ch]: added the parseError signal and use it, removed
7566         sgmlError
7567         * BufferView.[Ch] (addError): moved to ...
7568         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7569         to the Buffer::parseError signal to catch (guess what) parse errors
7570         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7571
7572 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7573
7574         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7575         ability to create a buffer and to return an existing one from
7576         the list. Moved these functions to...
7577         * buffer_funcs.[Ch]: added
7578         * BufferView.[Ch] (loadLyXFile): added
7579         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7580         job removed from bufferlist::loadLyXFile.
7581         * buffer.C (setReadOnly): make it work without view
7582         (i.e added an if (users))
7583
7584 2003-06-19  Angus Leeming  <leeming@lyx.org>
7585
7586         * lfuns.h:
7587         * LyXAction.C (init):
7588         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7589         with LFUN_DIALOG_SHOW <name> <data>.
7590
7591 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7592
7593         * CutAndPaste.C (availableSelections): small compilation fix for
7594         ancient (gcc 2.9x) compilers
7595
7596 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7597
7598         * text3.C (cursorNext): add tmp var
7599
7600         * text2.C (updateCounters): for function calling out of for clause
7601         (replaceSelectionWithString): ditto
7602         (insertStringAsParagraphs): ditto
7603         (getColumnNearX): add tmp var
7604         (setCursorFromCoordinates): add tmp var
7605         (cursorDownParagraph): add tmp var
7606         (deleteEmptyParagraphMechanism): add tmp var
7607
7608         * text.C (insertChar): add tmp var
7609
7610         * rowpainter.C (paintDepthBar): add tmp var
7611
7612         * CutAndPaste.C (availableSelections): potentially check all
7613         paragraphs in a cut to fill the shown strings.
7614
7615 2003-06-18  André Pönitz  <poenitz@gmx.net>
7616
7617         * kbmap.[Ch]: use vector<> instead of list<>
7618
7619 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7620
7621         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7622         pasteSelection with index
7623
7624         * text2.C (pasteSelection): modify, call pasteSelection with index
7625
7626         * paragraph.C (asString): reimplement version with no interval to
7627         call the one with interval.
7628
7629         * lyxtext.h: add index arg to pasteSelection
7630
7631         * MenuBackend.C (MenuItem): handle PasteRecent
7632         (Menu::read::Menutags): add md_pasterecent
7633         (read): handle it
7634         (expandPasteRecent): new function
7635         (expand): use it
7636
7637         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7638
7639         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7640         the limited stack
7641         (availableSelections): new function
7642
7643 2003-06-17  Angus Leeming  <leeming@lyx.org>
7644
7645         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7646
7647 2003-06-17  Angus Leeming  <leeming@lyx.org>
7648
7649         * lfuns.h:
7650         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7651
7652         * lyxfunc.C (dispatch): invoke it.
7653
7654 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7655
7656         * iterators.C (operator++, ParPosition): reintroduce some
7657         const_cast for the benefit of older compilers.
7658
7659 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7660
7661         * text3.C (dispatch): do not modify clipboard when doing
7662         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7663         LFUN_DELETE_SKIP on a selection selection
7664
7665 2003-06-16  André Pönitz  <poenitz@gmx.net>
7666
7667         * BufferView.C:
7668         * buffer.C:
7669         * buffer.h:
7670         * paragraph.C:
7671         * tabular.[Ch]: IU of clone() and getLabelList();
7672
7673 2003-06-13  André Pönitz  <poenitz@gmx.net>
7674
7675         * tabular.h: compactification
7676
7677 2003-06-12  André Pönitz  <poenitz@gmx.net>
7678
7679         * tabular.C:
7680         * tabular.h:
7681         * tabular_funcs.h: some renaming plus whitespace
7682
7683 2003-06-12  André Pönitz  <poenitz@gmx.net>
7684
7685         * BufferView.C:
7686         * BufferView_pimpl.C:
7687         * CutAndPaste.C:
7688         * buffer.C:
7689         * iterators.[Ch]:
7690         * lyxfunc.C:
7691         * text.C:
7692         * toc.C: Return a Paragraph & for ParIterator::operator*()
7693
7694 2003-06-11  John Levon  <levon@movementarian.org>
7695
7696         * lyx_main.C:
7697         * ToolbarBackend.h:
7698         * ToolbarBackend.C: add "Toolbars" section and
7699         put the flags there
7700
7701 2003-06-10  Angus Leeming  <leeming@lyx.org>
7702
7703         * lfuns.h:
7704         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7705
7706         * lyxfunc.C (dispatch): invoke it.
7707
7708 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7709
7710         * main.C: protect <ios> with HAVE_IOS
7711         (main): protect sync_with_stdio with HAVE_IOS
7712
7713 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7714
7715         * text2.C (cutSelection): adjust
7716         (pasteSelection): adjust
7717
7718         * messages.C: handle get of empty string
7719
7720         * main.C (main): use sync_with_stdio(false)
7721
7722         * lyxfunc.C (dispatch): adjust
7723
7724         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7725         (WriteAs): remove unneeded BufferView arg.
7726
7727         * bufferparams.h: use correct types on papersize, papersize2 and
7728         paperpackage.
7729
7730         * bufferparams.C (readToken): adjust for type
7731         (writeLaTeX): add missing cases to switch.
7732
7733         * bufferlist.C (quitWriteBuffer): adjust
7734         (close): adjust
7735
7736         * buffer.C (asciiParagraph): remove some commented code.
7737
7738         * CutAndPaste.C: remove current_view extern variable.
7739         (cutSelection): add BufferParams arg.
7740         (eraseSelection): add BufferParams arg.
7741         (pasteSelection): add Buffer const & arg
7742
7743 2003-06-07  John Levon  <levon@movementarian.org>
7744
7745         * buffer.C:
7746         * paragraph_funcs.C:
7747         * paragraph_pimpl.C:
7748         * text.C:
7749         * text2.C:
7750         * paragraph.h:
7751         * paragraph.C: allow InsetERT to freely space lines,
7752         and some consolidation of code
7753
7754 2003-06-06  José Matos  <jamatos@fep.up.pt>
7755
7756         * buffer.C (makeDocBookFile): fix bug #821
7757
7758 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7759
7760         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7761
7762 2003-06-04  Angus Leeming  <leeming@lyx.org>
7763
7764         * buffer.C: bump format to 224.
7765
7766 2003-06-05  André Pönitz  <poenitz@gmx.net>
7767
7768         * text2.C (redoParagraphs): remove two const_cast<>
7769
7770 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7771
7772         * ParagraphList.h: remove last remnants of NO_STD_LIST
7773
7774 2003-06-03  Angus Leeming  <leeming@lyx.org>
7775
7776         * factory.C (createInset): small change to the way InsetExternal's params
7777         are set.
7778
7779 2003-06-04  André Pönitz  <poenitz@gmx.net>
7780
7781         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7782
7783         * paragraph_pimpl.h:
7784         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7785
7786         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7787
7788         * undo_funcs.C: make some simple cases of undo work again
7789
7790 2003-06-03  John Levon  <levon@movementarian.org>
7791
7792         * ispell.C: HPUX doesn't have sys/select.h
7793         (from Albert Chin)
7794
7795 2003-06-03  John Levon  <levon@movementarian.org>
7796
7797         * CutAndPaste.C: update tabular and include inset
7798         buffer references
7799
7800         * buffer.h:
7801         * paragraph.h:
7802         * paragraph.C: remove owningBuffer(), don't pass Buffer
7803         to clone()
7804
7805         * factory.C: insetGraphicsParams changed
7806
7807 2003-06-02  John Levon  <levon@movementarian.org>
7808
7809         * LyXAction.C:
7810         * factory.C:
7811         * lfuns.h:
7812         * lyxfunc.C:
7813         * text3.C: remove insetparent
7814
7815 2003-06-02  John Levon  <levon@movementarian.org>
7816
7817         * buffer.h:
7818         * buffer.C: fix inset_iterator.end(), move out of line
7819         (bug 1149)
7820
7821 2003-06-01  John Levon  <levon@movementarian.org>
7822
7823         * text3.C: use a proper cut/paste when doing inset
7824         insert (from Jürgen Spitzmüller)
7825
7826 2003-06-01  John Levon  <levon@movementarian.org>
7827
7828         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7829
7830 2003-05-30  André Pönitz  <poenitz@gmx.net>
7831
7832         * rowpainter.C: unify second drawing phase
7833
7834 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7835
7836         * trans_mgr.C: remove one case of current_view
7837
7838         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7839
7840         * paragraph_funcs.h: remove paragraph.h include
7841
7842         * paragraph.h: delete NO_STD_LIST stuff
7843
7844         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7845
7846         * buffer.h: remove paragraph.h include
7847
7848         * ParagraphList.C: delete file
7849
7850         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7851
7852         * toc.C (getTocList): adjust
7853
7854         * paragraph_pimpl.C (validate): adjust
7855
7856         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7857
7858         * paragraph.C (Paragraph): adjust
7859         (getPositionOfInset): use const_iterator, adjust
7860         (bibitem): use const_iterator, adjust
7861         (setInsetOwner): adjust
7862
7863         * iterators.C (operator++): adjust
7864
7865         * InsetList.[Ch]: Replace selfmade iterator with standard
7866         vector::iterator also introduce const_iterator. Remove getPos,
7867         getInset and setInset from InsetTable. Adjust accordingly.
7868
7869         * BufferView.C (lockInset): adjust
7870         (ChangeInsets): adjust
7871
7872         * tabular.[Ch]: delete commented same_id functions
7873
7874 2003-05-28  John Levon  <levon@movementarian.org>
7875
7876         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7877
7878 2003-05-28  André Pönitz  <poenitz@gmx.net>
7879
7880         * metricsinfo.[Ch]: remove 'fullredraw' member
7881
7882 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7883
7884         * lyxtextclass.C (operator): remove caching.
7885
7886 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7887
7888         * text3.C: adjust
7889
7890         * text2.C (cursorBottom): adjust
7891         (setCounter): use ParagraphList::find, adjust
7892
7893         * text.C (workWidth): use ParagraphList::find, adjust
7894
7895         * lyxcursor.C (LyXCursor): adjust
7896
7897         * buffer.C (inset_iterator): adjust
7898
7899         * ParagraphList.h: make iterator(value_type) private, make
7900         ParagraphList a friend of iterator.
7901
7902         * ParagraphList.C (find): new function
7903
7904         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7905
7906 2003-05-27  André Pönitz  <poenitz@gmx.net>
7907
7908         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7909
7910 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7911
7912         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7913
7914 2003-05-26  John Levon  <levon@movementarian.org>
7915
7916         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7917
7918 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7919
7920         * remove same_id from function signatures, adjust.
7921
7922 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7923
7924         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7925
7926         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7927
7928         * paragraph.C (Paragraph): get rid of same_ids parameter
7929
7930         * ParagraphList.C (insert): adjust
7931         (push_back): adjust
7932
7933 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7934
7935         * paragraph_funcs.C (breakParagraph): adjust
7936         (breakParagraphConservative): adjust
7937
7938         * buffer.C (readParagraph): adjust
7939
7940         * ParagraphList.C (insert): take a reference instead of a pointer
7941         (insert): adjust
7942
7943         * paragraph.[Ch] (id): new function
7944
7945         * bufferlist.C (newFile): adjust
7946
7947         * ParagraphList.C (ParagraphList): adjust
7948         (assign): adjust
7949         (push_back): take a reference instead of a pointer.
7950
7951         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7952
7953         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7954         instead.
7955
7956         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7957         set else use old code.
7958
7959         * ParagraphList.C: remove all NO_NEXT code and only compile this
7960         code of NO_STD_LIST is set.
7961
7962 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7963
7964         * BufferView_pimpl.C:
7965         * TextCache.C:
7966         * TextCache.h:
7967         * bufferlist.C:
7968         * errorlist.h:
7969         * format.C:
7970         * format.h:
7971         * graph.C:
7972         * lyxfunc.C:
7973         * lyxrc.C:
7974         * graphics/GraphicsConverter.C:
7975         * graphics/PreviewLoader.C: header adjustment
7976
7977 2003-05-23  Angus Leeming  <leeming@lyx.org>
7978
7979         * LaTeXFeatures.[Ch] (useBabel): new method.
7980         * bufferparams.C (writeLaTeX): use it.
7981
7982 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7983
7984         * ParagraphList.h (set): remove unused function.
7985
7986 2003-05-23  André Pönitz  <poenitz@gmx.net>
7987
7988         * BufferView.C:
7989         * BufferView_pimpl.C:
7990         * buffer.C:
7991         * buffer.h:
7992         * lyxfunc.C:
7993         * undo_funcs.C: setUndo reworked
7994
7995         * iterators.[Ch]: add access to topmost ParagraphList
7996
7997         * lyxtext.[Ch] (workWidth): add a const
7998
7999 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
8000
8001         * texrow.[Ch] (increasePos): remove function
8002         * exporter.C (export): removed unused var and outdated comment
8003
8004 2003-05-23  Angus Leeming  <leeming@lyx.org>
8005
8006         * latexrunparams.h: rename fragile as moving_arg.
8007         * paragraph.C (simpleTeXOnePar): ditto.
8008         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
8009
8010 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8011
8012         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
8013         (createUndo): ditto
8014         (textUndoOrRedo): comment out a currently unused var.
8015
8016         * paragraph.h (NO_NEXT): enable NO_NEXT
8017
8018         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
8019
8020         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
8021
8022         * exporter.C (Export): adjust for removeAutoInsets removal.
8023
8024         * buffer.C (runChktex): adjust for removeAutoInsets removal.
8025
8026         * LyXAction.C (init): remove LFUN_REMOVEERRORS
8027
8028         * BufferView.[Ch] (removeAutoInsets): delete function
8029
8030 2003-05-22  Angus Leeming  <leeming@lyx.org>
8031
8032         * latexrunparams.h: add a free_spacing variable.
8033
8034         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
8035         to pass moving_arg, as the data is stored in runparams.fragile.
8036
8037         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
8038         to Inset::latexOptional or to simpleTeXOnePar.
8039
8040         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
8041         free_spacing arg to Inset::latexOptional.
8042
8043         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8044         free_spacing arg.
8045
8046 2003-05-22  Angus Leeming  <leeming@lyx.org>
8047
8048         * latexrunparams.h: add fragile and use_babel variables.
8049
8050         * bufferparams.[Ch] (writeLaTeX): return use_babel.
8051         * buffer.C (makeLaTeXFile): store this returned value in
8052         runparams.use_babel, thus passing it to the inset::latex methods.
8053
8054         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
8055         simpleTeXSpecialChars as it is now stored in runparams.fragile.
8056
8057         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
8058         longer has a fragile arg, as it is stored in runparams.fragile.
8059
8060         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
8061         moving_arg parameter as the data is stored in runparams.fragile.
8062
8063         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
8064         a fragile parameter as the data is stored in runparams.fragile.
8065
8066 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8067
8068         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
8069
8070 2003-05-22  Angus Leeming  <leeming@lyx.org>
8071
8072         * latexrunparams.h: add a 'bool nice' which defaults to false.
8073
8074         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
8075         now encapsulated within runparams.
8076
8077         * bufferlist.C (updateIncludedTeXfiles):
8078         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
8079
8080 2003-05-22  Angus Leeming  <leeming@lyx.org>
8081
8082         * latexrunparams.h: new file containing struct LatexRunParams.
8083         * Makefile.am: add new file.
8084
8085         * LaTeX.[Ch] (c-tor, run):
8086         * buffer.[Ch] (makeLaTeXFile):
8087         * bufferlist.[Ch] (updateIncludedTeXfiles):
8088         * converter.C (convert, scanLog):
8089         * converter.[Ch] (runLaTeX):
8090         * exporter.C (Export):
8091         * paragraph.[Ch] (simpleTeXOnePar):
8092         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
8093         * paragraph_funcs.[Ch] (latexParagraphs):
8094         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
8095         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
8096         pass around a LatexRunParams parameter.
8097
8098 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8099
8100         * paragraph.[Ch]: remove unused constructor
8101
8102         * ParagraphList.C (erase): new function, taking two iterators
8103
8104 2003-05-22  André Pönitz  <poenitz@gmx.net>
8105
8106         * undo_funcs.C: remove duplicated code
8107
8108         * iterator.[Ch]: operator=
8109
8110 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8111
8112         * tabular.C (SetMultiColumn): ws changes
8113
8114         * rowpainter.C (paintFirst): get rid of a ->previous
8115
8116         * lyx_cb.C (getPossibleLabel): parlist simplification
8117
8118         * BufferView.C (ChangeInsets): simplify slightly.
8119
8120 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8121
8122         * LyXAction.C: new lfun space-insert, kill protected-space-insert
8123         * lfuns.h: new LFUN_SPACE
8124         * lyxfunc.C: protected space has a new lfun
8125         * paragraph_funcs.C: read new space insets
8126         * text3.C:
8127         * factory.C: handle new space insets
8128
8129 2003-05-22  André Pönitz  <poenitz@gmx.net>
8130
8131         * BufferView.C:
8132         * BufferView_pimpl.C:
8133         * buffer.[Ch]:
8134         * lyxfunc.C:
8135         * undo_funcs.C: return a ParIterator from getParFromID.
8136
8137         * iterators.[Ch]: add two const's
8138
8139 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8140
8141         * toc.C (getTocList): adjust
8142
8143         * iterators.[Ch]: rework for parlist
8144
8145         * buffer.C (par_iterator_begin): adjust
8146         (par_iterator_end): adjust
8147
8148         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8149
8150         * BufferView.C (removeAutoInsets): adjust
8151         (ChangeInsets): adjust
8152
8153 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8154
8155         * text.C (top_y): fix bug 1110
8156
8157 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8158
8159         * errorlist.[Ch]: added
8160         * buffer.C:
8161         * BufferView.[Ch]:
8162         * BufferView_pimpl.C:
8163         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8164         instead
8165
8166 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8167
8168         * Makefile.am: ensure that lyx is relinked upon changes to the
8169         various "convenience" libs.
8170
8171 2003-05-20  Angus Leeming  <leeming@lyx.org>
8172
8173         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8174         files are compiled in alphabetical order again.
8175
8176         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8177
8178 2003-05-19  Angus Leeming  <leeming@lyx.org>
8179
8180         * gettext.[Ch]: remove "char const * _(char const *)".
8181
8182 2003-05-19  André Pönitz  <poenitz@gmx.net>
8183
8184         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8185
8186         * Makefile.am:
8187         * BufferView.C:
8188         * DepTable.h:
8189         * LaTeXFeatures.C:
8190         * buffer.C:
8191         * lyxfont.C:
8192         * lyxlex.h:
8193         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8194
8195 2003-05-19  André Pönitz  <poenitz@gmx.net>
8196
8197         * buffer.C:
8198         * lyxlayout.[Ch]:
8199         * lyxtextclass.[Ch]:
8200         * paragraph.C:
8201         * paragraph_funcs.[Ch]:
8202         * text2.C:
8203         * text3.C: more insetenv work
8204
8205 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8206
8207         * ParagraphParameters.C (params2string): small bug fixed
8208
8209 2003-05-16  André Pönitz  <poenitz@gmx.net>
8210
8211         * debug.C:
8212         * bufferview_funcs.C: patch from Kornel Benko to prevent
8213           crash when _(...) is called twice in a statement
8214
8215 2003-05-16  André Pönitz  <poenitz@gmx.net>
8216
8217         * BufferView.C:
8218         * lyxfunc.C:
8219         * text.C:
8220         * text2.C:
8221         * text3.C:
8222         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8223
8224 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8225
8226         * lyx_main.C (init): remove spurious static_cast
8227
8228 2003-05-14  André Pönitz  <poenitz@gmx.net>
8229
8230         * BufferView.C: fix format string
8231
8232 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8233
8234         * BufferView.[Ch] (insertErrors): removed
8235         * BufferView.[Ch] (showErrorList): added
8236         * buffer.C (runChkTeX):
8237         * converter.C (scanLog): call showErrorList instead of inserterrors
8238
8239 2003-05-13  André Pönitz  <poenitz@gmx.net>
8240
8241         * BufferView_pimpl.C:
8242         * buffer.C:
8243         * bufferview_func.C:
8244         * MenuBackend.C:
8245         * lyxfunc.C:
8246         * lyxrc.C:
8247         * tex-accent.C:
8248         * text3.C:
8249         * toc.C:
8250         * tabular_funcs.h: tostr() from its own header
8251
8252         * ParagraphParameters.C:
8253         * ToolbarBackend.C:
8254         * bufferparams.C:
8255         * format.C:
8256         * lyxlex_pimpl.C:
8257         * text3.C: STRCONV()
8258
8259 2003-05-12  André Pönitz  <poenitz@gmx.net>
8260
8261         * BufferView.C:
8262         * BufferView_pimpl.C:
8263         * CutAndPaste.C:
8264         * LaTeX.C:
8265         * LaTeXFeatures.C:
8266         * ParagraphParameters.C:
8267         * buffer.C:
8268         * bufferlist.C:
8269         * bufferparams.C:
8270         * bufferview_funcs.C:
8271         * converter.C:
8272         * counters.C:
8273         * debug.C:
8274         * exporter.C:
8275         * format.C:
8276         * importer.C:
8277         * lyx_cb.C:
8278         * lyx_main.C:
8279         * lyxfont.C:
8280         * lyxfunc.C:
8281         * lyxvc.C:
8282         * paragraph.C:
8283         * paragraph_funcs.C:
8284         * tabular.C:
8285         * tabular_funcs.C:
8286         * text2.C:
8287         * text3.C:  boost::format -> bformat  all over the place
8288
8289
8290 2003-05-09  André Pönitz  <poenitz@gmx.net>
8291
8292         * LColor.[Ch]: Pimpl the #include <map> away
8293
8294 2003-05-09  John Levon  <levon@movementarian.org>
8295
8296         * bufferlist.C: never remove emergency saves
8297
8298 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8299
8300         * Makefile.am: better lib building
8301
8302 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8303
8304         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8305         instead.
8306         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8307         (simpleTeXSpecialChars): adjust
8308         (simpleTeXSpecialChars): adjust
8309         * paragraph.C (simpleTeXOnePar): adjust
8310         * buffer.C (makeLaTeXFile): adjust
8311
8312         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8313
8314         * text2.C (changeDepth): parlist cleanup
8315         (getColumnNearX): ditto
8316
8317         * rowpainter.C (getLabelFont): parlist cleanup
8318
8319         * bufferlist.C (newFile): parlist cleanup
8320
8321         * CutAndPaste.C (eraseSelection): parlist cleanup
8322
8323         * BufferView_pimpl.C (trackChanges): parlist cleanup
8324         (dispatch): ditto
8325
8326         * BufferView.C (lockInset): parlist cleanup.
8327         (ChangeInsets): ditto
8328
8329 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * CutAndPaste.h: Update file header.
8332
8333         * CutAndPaste.C: Update file header.
8334         Store the parts cut out of the Document in a limited_stack.
8335         (copySelection): adjust
8336         (pasteSelection): new function, takes the index in the limited stack.
8337         (nrOfParagraphs): adjust
8338         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8339         simplify error inset insertion.
8340         (checkPastePossible): adjust
8341
8342 2003-05-06  John Levon  <levon@movementarian.org>
8343
8344         * text2.C: don't cast wrap inset to float
8345
8346 2003-05-05  André Pönitz  <poenitz@gmx.net>
8347
8348         * iterator.C:
8349         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8350
8351         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8352           few naked Paragraph *.
8353
8354 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8355
8356         * bufferparams.C: Output warning if a document with missing
8357         TeX document class is loaded
8358         * exporter.C: Disable TeX exports if the document class is missing
8359         * lyxtextclass.C:
8360         * lyxtextclass.h:
8361         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8362         isTeXClassAvailable()
8363
8364 2003-05-03  John Levon  <levon@movementarian.org>
8365
8366         * BufferView.h:
8367         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8368         explicit cursor show/hide
8369
8370         * BufferView_pimpl.h:
8371         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8372         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8373
8374         * lyxfunc.C: hide cursor before dispatching.
8375
8376         * lyx_cb.C:
8377         * lyxfind.C:
8378         * text.C:
8379         * text3.C: remove explicit cursor hides
8380
8381 2003-05-02  André Pönitz  <poenitz@gmx.net>
8382
8383         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8384
8385         * undo_funcs.C:
8386         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8387           linked lists
8388
8389         * text2.C: tiny whitespace
8390
8391 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8392
8393         * undo_funcs.C: almost only ws changes.
8394
8395         * ParagraphList.C (splice): just return if pl is empty.
8396
8397 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8398
8399         * ParagraphList.C (splice): new function.
8400
8401         * CutAndPaste.C (pasteSelection): use it
8402
8403 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8404
8405         * CutAndPaste.C (pasteSelection): remove the last next and
8406         previous from this file.
8407
8408 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8409
8410         * CutAndPaste.C (pasteSelection): more clean up, user proper
8411         ParagraphList functions for pasteing.
8412
8413         * ParagraphList.C (insert): new function, three arg insert
8414
8415 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8416
8417         * ParagraphList.C (insert): new function, three arg insert
8418
8419         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8420         not on paragraphs.
8421
8422 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8423
8424         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8425
8426 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8427
8428         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8429
8430 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8431
8432         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8433         (copySelection): clean up a bit.
8434         (pasteSelection): use make_pair
8435
8436         * ParagraphList.C (ParagraphList): implement copy constructor
8437         (operator=): implement, base on copy constructor.
8438         (assign): new func
8439
8440         * paragraph.C (erase): return a bool
8441
8442         * paragraph_pimpl.C (erasePos): remove function, move contents...
8443         (erase): ... here. Return a bool.
8444         (erase): call erase instead of erasePos.
8445
8446 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8447
8448         * ParagraphList.h: define PitPosPair
8449         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8450         ParagraphList, fix a bug on pasting multiple pars
8451         * text2.C: change interface to C&P
8452
8453 2003-04-30  André Pönitz  <poenitz@gmx.net>
8454
8455         * undo_func.C: revert part of yesterday's patch 2
8456
8457 2003-04-30  John Levon  <levon@movementarian.org>
8458
8459         * LColor.C: s/tabular/table/
8460
8461 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8462
8463         * text3.C (dispatch): do not convert iterator -> pointer
8464         * undo_funcs.C (setCursorParUndo): ditto
8465         * text_funcs.C (transposeChars): ditto
8466
8467         * text2.C (setLayout): ws changes only
8468
8469         * text.C (breakParagraph): do not convert iterator -> pointer
8470         (insertChar): ditto
8471         (acceptChange): ditto
8472         (rejectChange): ditto
8473         (changeCase): ditto
8474         (Delete): ditto
8475         (backspace): ditto
8476
8477         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8478         pointer
8479
8480 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8481
8482         * text3.C (gotoInset): YABG (yet another bad getChar)
8483
8484 2003-04-29  André Pönitz  <poenitz@gmx.net>
8485
8486         * paragraph.h: make operator= private unimplemented as long as
8487           it is unusable
8488
8489         * ParagraphList.C: whitespace
8490
8491         * paragraph.[Ch]:
8492         * paragraph_pimpl.[Ch]:
8493         * paragraph_funcs.C:
8494         * CutAndPaste.C:
8495         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8496
8497         * text2.C:
8498           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8499
8500 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8501
8502         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8503         * paragraph.[Ch] (erase):
8504         * paragraph_pimpl.[Ch] (erase): change return type and value
8505         * text2.C (cutSelection): some rework
8506
8507 2003-04-28  John Levon  <levon@movementarian.org>
8508
8509         * bufferlist.C: changes for unsaved changes dialog
8510
8511 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8512
8513         * bufferlist.C (newFile): set language (messages_) for new
8514         documents also.
8515
8516         * buffer.C (readFile): ws changes only.
8517
8518 2003-04-28  André Pönitz  <poenitz@gmx.net>
8519
8520         * undo_funcs.C:
8521         * lyxfunc.C:
8522         * buffer.[Ch]:
8523         * BufferView_pimpl.C:
8524         * BufferView.C: getParFromID related ParagraphList::iterator changes
8525
8526 2003-04-28  André Pönitz  <poenitz@gmx.net>
8527
8528         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8529           Changes
8530
8531 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8532
8533         * messages.C: remove one more localedir class variable.
8534
8535 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8536
8537         * messages.C (getLocaleDir): singleton generation function
8538         (Pimpl): use it.
8539         (Messages): add a default constructor.
8540
8541         * main.C (main): do not setup localedir here, do not call
8542         gettext_init.
8543
8544         * gettext.C (_): use it.
8545         (gettext_init): delete funciton
8546
8547 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8548
8549         * gettext.C (getLyXMessages): new singleton generating function.
8550
8551         * buffer.C (updateDocLang): adjust
8552
8553         * Makefile.am (messages.o): add target
8554         (main.o): remove target
8555
8556 2003-04-27  John Levon  <levon@movementarian.org>
8557
8558         * bufferlist.C:
8559         * lyx_cb.C:
8560         * lyxfunc.C:
8561         * lyxvc.C: specify cancel button in Alert::prompt
8562
8563 2003-04-26  John Levon  <levon@movementarian.org>
8564
8565         * text3.C:
8566         * lyxfunc.C:
8567         * lfuns.h:
8568         * LyXAction.C: add LFUN_INSET_SETTINGS
8569
8570         * lyxfunc.C: don't enable tabular-feature when there's
8571         just any locking inset
8572
8573 2003-04-26  John Levon  <levon@movementarian.org>
8574
8575         * bufferlist.C: re-add Cancel to buffer close question
8576
8577         * lyxfunc.C: fix import UI a bit
8578
8579 2003-04-25  John Levon  <levon@movementarian.org>
8580
8581         * gettext.C: remove the broken asserts for now
8582
8583 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8584
8585         * messages.C: make case where setlocale cannot comply work better.
8586
8587         * buffer.C (updateDocLang): new function
8588         (changeLanguage): use it
8589         (readFile): use it
8590
8591         * text2.C (setCounter): use B_ a bit.
8592
8593         * lyxlayout.C (Read): be sure to trim the label strings.
8594
8595         * messages.C (Messages): fix typo in comment
8596
8597         * buffer.C (readFile): set message_ after file is loaded.
8598         (makeDocBookFile): remove double return
8599         (changeLanguage): reset message_ upon language change.
8600         (B_): new func, use this to get translated buffer strings.
8601
8602         * main.C: add myself and Jean Marc as authors.
8603
8604 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8605
8606         * messages.[hC]: pimplify Messages, and three different pimpls to be
8607         used in different circumstances.
8608
8609         * gettext.[Ch]: change for use with new message code.
8610
8611 2003-04-24 André Pönitz <poenitz@gmx.net>
8612
8613         * factory.C: support for eqref
8614
8615 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8616
8617         * messages.[Ch]: add missing char
8618
8619         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8620
8621         * messages.[Ch]: New files
8622
8623 2003-04-18  John Levon  <levon@movementarian.org>
8624
8625         * BufferView.h:
8626         * BufferView.C:
8627         * BufferView_pimpl.C:
8628         * lfuns.h:
8629         * LyXAction.C:
8630         * lyxtext.h:
8631         * text2.C: remove layout-copy/paste (bug 778)
8632
8633 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8634
8635         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8636
8637 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8638
8639         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8640         if they succeed. Act accordingly.
8641
8642 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8643
8644         * text2.C (setCharFont): adjust
8645         (setCounter): adjust
8646         (insertStringAsLines): adjust
8647
8648         * text.C (leftMargin): adjust
8649         (setHeightOfRow): adjust
8650
8651         * rowpainter.C (paintFirst): adjust
8652         (paintLast): adjust
8653
8654         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8655         (outerHook): ditto
8656         (isFirstInSequence): ditto
8657         (getEndLabel): ditto
8658         (outerFont): adjust
8659
8660         * paragraph.C (getParLanguage): comment out some hard stuff.
8661
8662         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8663         (sgmlError): ditto
8664         (simpleDocBookOnePar): ditto
8665         (makeDocBookFile): use ParagraphList::iterator
8666
8667         * CutAndPaste.C (pasteSelection): adjust
8668
8669 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8670
8671         * text2.C (getFont): adjust
8672         (getLayoutFont): adjust
8673         (getLabelFont): adjust
8674
8675         * paragraph_funcs.C (TeXOnePar): adjust
8676
8677         * buffer.C (simpleLinuxDocOnePar): adjust
8678         (simpleDocBookOnePar): adjust
8679
8680         * CutAndPaste.C (pasteSelection): adjust
8681
8682         * BufferView.C (getEncoding): adjust
8683
8684         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8685
8686 2003-04-16  John Levon  <levon@movementarian.org>
8687
8688         * lyxfind.C: use parlist stuff for search/changes
8689
8690 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8691
8692         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8693
8694         * text2.C (deleteEmptyParagraphMechanism): adjust
8695
8696         * text2.[Ch] (ownerParagraph): delete func (both of them
8697
8698 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8699
8700         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8701
8702 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8703
8704         * ParagraphList.C: prepare for NO_NEXT
8705
8706 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8707
8708         * text2.C (getFont): adjust
8709         (getLayoutFont): adjust
8710         (getLabelFont): adjust
8711
8712         * paragraph.C (getFont): adjust
8713         (getLabelFont): adjust
8714         (getLayoutFont): adjust
8715
8716         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8717
8718 2003-04-15  John Levon  <levon@movementarian.org>
8719
8720         From Angus Leeming
8721
8722         * lyx_main.C: handle Include in .ui files
8723
8724 2003-04-15  John Levon  <levon@movementarian.org>
8725
8726         * MenuBackend.C: make the doc files length shorter
8727
8728         * ToolbarBackend.h:
8729         * ToolbarBackend.C: handle toolbar placement flags,
8730         Minibuffer
8731
8732 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8733
8734         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8735         adjust
8736
8737         * paragraph_funcs.C (TeXOnePar): adjust
8738
8739         * paragraph.C (getLabelFont): add outerfont arg, adjust
8740         (getLayoutFont): ditto
8741         (simpleTeXOnePar): adjust
8742
8743         * paragraph_pimpl.C (realizeFont): delete func
8744
8745 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8746
8747         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8748         row argument, constify cur argument.
8749
8750 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8751
8752         * text2.C (getFont): adjust
8753         (getLayoutFont): adjust
8754         (getLabelFont): adjust
8755
8756         * paragraph_funcs.C (TeXOnePar): adjust
8757         (outerFont): new func...
8758         (realizeFont): ...moved out from here, changed this to facilitate
8759         transition
8760
8761         * paragraph.C (getFont): take outerfont as arg, adjust
8762         (simpleTeXOnePar): add outerfont arg, adjust
8763
8764         * buffer.C (simpleLinuxDocOnePar): adjust
8765         (simpleDocBookOnePar): adjust
8766
8767         * CutAndPaste.C (pasteSelection): adjust
8768
8769         * BufferView.C (getEncoding): adjust
8770
8771 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8772
8773         * text2.C (setCharFont): adjust
8774         (setCounter): adjust
8775
8776         * text.C (leftMargin): adjust
8777         (setHeightOfRow): adjust
8778
8779         * rowpainter.C (paintFirst): adjust
8780         (paintLast): adjust
8781
8782         * paragraph_pimpl.C (realizeFont): adjust
8783
8784         * paragraph.C (isFirstInSequence): move from here...
8785         * paragraph_funcs.C (isFirstInSequence): ...to here
8786
8787         * paragraph.C (outerHook): move from here...
8788         * paragraph_funcs.C (outerHook): ...to here
8789
8790         * paragraph.C (depthHook): move from here...
8791         * paragraph_funcs.C (depthHook): ...to here
8792
8793         * paragraph.C (getEndLabel): move from here...
8794         * paragraph_funcs.C (getEndLabel): ...to here
8795
8796         * text2.C (realizeFont): move from here...
8797         * paragraph_funcs.C (realizeFont): ...to here
8798
8799 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8800
8801         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8802
8803 2003-04-14  Angus Leeming  <leeming@lyx.org>
8804
8805         * LColor.[Ch]: scrap LColor mathcursor.
8806
8807 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8808
8809         * lyxlex.[Ch] (text): delete function
8810         * trans.C (Load): adjust
8811         * paragraph_funcs.C (readParToken): adjust
8812
8813 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8814
8815         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8816         vector<char> instead of a char[].
8817
8818         * lyxlex_pimpl.C (getString): adjust
8819         (next): adjust
8820         (lex): use getString
8821         (eatLine): adjust
8822         (nextToken): adjust
8823
8824         * lyxlex.C (text): use pimpl_->getString()
8825         (getBool): ditto
8826         (findToken): ditto
8827
8828 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8829
8830         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8831         (makeFontEntriesLayoutSpecific): temp var for par.size()
8832         (setLayout): temp var for ownerParagraphs().end()
8833         (fullRebreak): temp var for rows().end()
8834         (selectionAsString): temp var for boost::next(startpit), realize
8835         that the while really is a regular for loop.
8836         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8837         setCursor in one place.
8838         (setParagraph): temp vr for ownerParagraphs().end()
8839         (updateCounters): make the while loop a for loop
8840         (cutSelection): temp var for ownerParagraphs().end()
8841         (updateInset): make the do {} while() a regular for loop
8842         (getCursorX): use temp vars
8843         (setCurrentFont): use temp vars
8844         (getColumnNearX): use temp vars
8845
8846 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8847
8848         * text.C (transformChar): use temp var for getChar
8849         (computeBidiTables): use temp var for row->par()
8850         (fill): move temp vars for row->par() and pit->layout() earlier in
8851         the function.
8852         (labelFill): use temp var for row->par()
8853         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8854         asc and desc, realize that pit never changes and that firstpit is
8855         just a duplicate and not needed. Exchange rit->par() with pit in a
8856         lot of places.
8857         (breakAgain): use a temp var for boost::next(rit)
8858         (breakAgainOneRow): ditto
8859         (breakParagraph): use a temp var for rows().begin()
8860         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8861         (cursorRightOneWord): use temp var for cursor.par() and
8862         cursor.pos(), remove usage of tmpcursor.
8863         (cursorLeftOneWord): use temp var for cursor.par() and
8864         cursor.pos() only set cur at end of function.
8865
8866 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8867
8868         * text.C, text2.C: exchange all usage of Paragraph::next with
8869         boost::next(ParagraphList::iterator)
8870
8871         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8872
8873         * text2.C (cursorTop): simplify implementation
8874         (cursorBottom): ditto
8875         (setParagraph): use ParagraphList::iterator
8876         (setCurrentFont): adjust
8877         (getColumnNearX): adjust
8878         (cursorRight): adjust
8879         (cursorLeft): remove usage of Paragraph::previous
8880         (cursorUpParagraph): ditto
8881         (deleteEmptyParagraphMechanism): slight cleanup
8882
8883         * text.C (isBoundary): take a Paragraph const & instead of a
8884         pointer as arg.
8885         (addressBreakPoint): ditto
8886         (leftMargin): remove usage of Paragraph::previous.
8887         (setHeightOfRow): ditto
8888         (cursorLeftOneWord): ditto
8889         (selectNextWordToSpellcheck): ditto
8890         (Delete): ditto
8891         (backspace): ditto
8892         (breakParagraph): remove one usage of Paragraph::next
8893         (redoParagraph): ditto
8894         (acceptChange): ditto
8895         (insertChar): adjust
8896         (rowBreakPoint): adjust
8897
8898         * bufferview_funcs.C (toggleAndShow): adjust
8899
8900 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8901
8902         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8903         methods to access it.
8904         * lyxtext.h:
8905         * text.C: Added updateRowPositions to compute all row positions.
8906         Make top_y and getRowNearY() to use the cached y position
8907
8908 2003-04-11  John Levon  <levon@movementarian.org>
8909
8910         * text.C (rowBreakPoint): reintroduce the labelEnd
8911         checks, code copied from the row fill stuff. Deep voodoo.
8912
8913         * text.C (fill): add a comment and debugging for the
8914         next poor soul.
8915
8916 2003-04-11  John Levon  <levon@movementarian.org>
8917
8918         * text.C: make sure fullrow insets get wrapped to the next line,
8919         even when they're in a manual label
8920
8921 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8922
8923         * text2.C (insertParagraph): make it take ParagraphList::iterator
8924         as arg.
8925         (setLayout): make it return ParagraphList::iterator
8926         (redoParagraphs): ditto
8927         (setCounter): ditto
8928         (checkParagraph): ditto
8929
8930         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8931
8932         * text2.C: adjust several funcs.
8933         (realizeFont): take a ParagraphList::iterator as arg.
8934         (getLayoutFont): ditto
8935         (getLabelFont): ditto
8936         (setCharFont): ditto
8937
8938         * text.C: adjust several funcs.
8939
8940 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8941
8942         * text.C (selectNextWordToSpellcheck): don't accidentally
8943         skip insets
8944
8945 2003-04-10  John Levon  <levon@movementarian.org>
8946
8947         * ToolbarBackend.C (getIcon): special handling for
8948         LFUN_MATH_DELIM
8949
8950 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8951
8952         * text2.C (cursorRight): a getChar assert fixed
8953
8954 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8955
8956         * text2.C (getFont): change to take a ParagraphList::iterator
8957         instead of Paragraph*
8958         Adjust several functions.
8959
8960         * text.C (transformChar): change to take a ParagraphList::iterator
8961         instead of Paragraph*
8962         (singleWidth): ditto
8963         Adjust several functions.
8964
8965         * rowpainter.C: adjust several functions
8966         * rowpainter.h:store a ParagraphList::iterator and not a
8967         Paragraph&.
8968
8969
8970 2003-04-09  John Levon  <levon@movementarian.org>
8971
8972         * lyxfunc.C:
8973         * lfuns.h:
8974         * LyXAction.h:
8975         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8976         and the "help" bits as well
8977
8978 2003-04-09  John Levon  <levon@movementarian.org>
8979
8980         * ToolbarBackend.h:
8981         * ToolbarBackend.C: allow multiple toolbars
8982
8983 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8984
8985         * undo_funcs.C (setCursorParUndo): adjust
8986
8987         * text_funcs.C (transposeChars): adjust
8988
8989         * text3.C (gotoNextInset): adjust
8990         (dispatch): adjust
8991
8992         * text2.C (setLayout): adjust
8993         (changeDepth): adjust
8994         (setFont): adjust
8995         (redoParagraphs): adjust
8996         (selectionAsString): adjust
8997         (setParagraph): adjust
8998         (insertInset): adjust
8999         (cutSelection): adjust
9000         (copySelection): adjust
9001         (pasteSelection): adjust
9002         (insertStringAsLines): adjust
9003         (updateInset): adjust
9004         (setCursor): change to take a ParagraphList::iterator parameter
9005         (setCursorIntern): change to take a ParagraphList::iterator parameter
9006         (setCurrentFont): adjust
9007         (cursorLeft): adjust
9008         (cursorRight): adjust
9009         (deleteEmptyParagraphMechanism): adjust
9010
9011         * text.C (breakParagraph): adjust
9012         (insertChar): adjust
9013         (acceptChange): adjust
9014         (rejectChange): adjust
9015         (selectNextWordToSpellcheck): adjust
9016         (changeCase): adjust
9017         (Delete): adjust
9018         (backspace): adjust
9019
9020         * lyxfind.C (SearchForward): adjust
9021         (SearchBackward): adjust
9022         (nextChange): adjust
9023
9024         * lyxcursor.C (par): adjust
9025
9026         * lyxcursor.h: store a ParagraphList::iterator instead of a
9027         Paragraph*
9028
9029         * lyx_cb.C (getPossibleLabel): adjust
9030
9031         * bufferview_funcs.C (toggleAndShow): adjust
9032
9033         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9034         (dispatch): adjust
9035
9036         * BufferView.C (removeAutoInsets): adjust
9037         (lockedInsetStoreUndo): adjust
9038
9039 2003-04-09  John Levon  <levon@movementarian.org>
9040
9041         * ToolbarBackend.C: try icon without argument
9042         if with argument fails
9043
9044 2003-04-08  John Levon  <levon@movementarian.org>
9045
9046         * ToolbarBackend.h:
9047         * ToolbarBackend.C: add getIcon(), handle tooltip,
9048         and change from "Icon" to "Item".
9049
9050 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9051
9052         * BufferView.C (lockInset): another bad getchar crunched
9053
9054 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
9055
9056         * text2.C (changeDepth): do not setUndo on test_only (make undo work
9057         again)
9058
9059 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
9060
9061         * lyxfind.C (searchForward, searchBackwards): bug 782
9062
9063 2003-04-07  John Levon  <levon@movementarian.org>
9064
9065         * paragraph.C: remove dead comment
9066
9067         * text.C: remove troublesome depth-fiddling code
9068         in leftMargin() and rightMargin() (bug 1017)
9069
9070         * text.C: fix breaking of rows in nested lists
9071         (bug 1004)
9072
9073         * text2.C (updateCounters): fix up depth values
9074         (bug 1013)
9075
9076 2003-04-07  John Levon  <levon@movementarian.org>
9077
9078         * BufferView_pimpl.C: clear message when doc finishes resizing,
9079         and after a mouse event
9080
9081         * lyxfunc.C: clear message after exiting inset
9082
9083 2003-04-07  John Levon  <levon@movementarian.org>
9084
9085         * bufferview_funcs.C: show math status not outside
9086         status in the statusbar
9087
9088 2003-04-07  John Levon  <levon@movementarian.org>
9089
9090         * lyxfunc.C: note status changed after a depth change
9091
9092 2003-04-04  Angus Leeming  <leeming@lyx.org>
9093
9094         * LaTeX.h: move AuxInfo operator==, != out of line.
9095         Remove LaTeX virtual destructor; nothing derives from it.
9096         Move operator()() out of public area and rename it startscript().
9097         Change protected for private.
9098
9099 2003-04-04  Angus Leeming  <leeming@lyx.org>
9100
9101         * lyxfunc.C:
9102         * text2.C: remove unneeded #includes.
9103
9104 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9105
9106         * text2.C (dEPM): fix the heigth of the next row
9107
9108 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
9109
9110         * text.C: squashed an invalid getChar requester + some ws changes
9111
9112 2003-04-03  John Levon  <levon@movementarian.org>
9113
9114         * bufferview_funcs.h:
9115         * bufferview_funcs.C:
9116         * lyxfunc.C:
9117         * lyxtext.h:
9118         * text2.C: make getStatus work for the env depth lfuns
9119
9120 2003-04-03  John Levon  <levon@movementarian.org>
9121
9122         * bufferview_funcs.h:
9123         * bufferview_funcs.C:
9124         * lyxfunc.C:
9125         * lyxtext.h:
9126         * text2.C: parlistize decDepth(), by merging it with incDepth()
9127
9128 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9129
9130         * lyxrow.h: store a ParagraphList::iterator instead of a
9131         Paragraph* and adjust other class functions to suit.
9132
9133         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9134         above.
9135
9136 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9137
9138         * text2.C (setCursor): do not anchor to cursor row for the time being
9139
9140 2003-04-02  John Levon  <levon@movementarian.org>
9141
9142         * LyXAction.C:
9143         * lfuns.h:
9144         * lyx_main.C:
9145         * lyxtext.h:
9146         * text.C:
9147         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9148
9149 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9150
9151         * paragraph.h: make ParagraphList and ParagraphList::iterator
9152         friends of Paragraph.
9153
9154         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9155
9156         * ParagraphList.C: Use the private next_ and previous_ from
9157         Paragraph.
9158
9159 2003-04-01  John Levon  <levon@movementarian.org>
9160
9161         * ToolbarBackend.h:
9162         * ToolbarBackend.C:
9163         * Makefile.am: rename, remove defaults gunk
9164
9165         * MenuBackend.h:
9166         * MenuBackend.C: remove defaults gunk
9167
9168         * Languages.h:
9169         * Languages.C: remove defaults gunk
9170
9171         * lyx_main.h:
9172         * lyx_main.C: error out if files couldn't be found.
9173
9174 2003-04-02  John Levon  <levon@movementarian.org>
9175
9176         * text2.C: make incDepth() use parlist
9177
9178 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9179
9180         * undo_funcs.C (firstUndoParagraph): adjust
9181
9182         * text3.C (gotoInset): adjust
9183         (dispatch): adjust, and rewrite loop.
9184
9185         * text2.C (init): adjust, and rewrite loop.
9186         (redoParagraphs): adjust
9187         (updateInset): adjust, and rewrite loop.
9188         (deleteEmptyParagraphMechanism): adjust
9189
9190         * tabular.C (LyXTabular): adjust
9191         (SetMultiColumn): adjust
9192         (TeXRow): adjust
9193
9194         * lyxtext.[Ch] (ownerParagraph): delete function
9195         (ownerParagraphs): new function returns a ParagraphList.
9196
9197         * BufferView.C (removeAutoInsets): adjust
9198         (insertErrors): adjust
9199         (setCursorFromRow): adjust
9200
9201 2003-04-01  Angus Leeming  <leeming@lyx.org>
9202
9203         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9204         in the frontends.
9205
9206 2003-04-02  John Levon  <levon@movementarian.org>
9207
9208         * lyxtext.h:
9209         * text.C:
9210         * Makefile.am:
9211         * text_funcs.h:
9212         * text_funcs.C: make transposeChars a free function
9213
9214         * lyxrow_funcs.C: remove wrong comment
9215
9216 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9217
9218         * lyxtext.h: adjust
9219         * rowpainter.C: adjust
9220         * text.C: adjust
9221         * text2.C: adjust
9222         * text3.C: adjust
9223
9224         * lyxrow_funcs. [Ch]: new files
9225
9226         * lyxrow.[Ch]: remove next and previous pointers
9227         (next,previous): remove accessor functions
9228         (isParEnd): move to lyxrow_funcs
9229         (lastPos): move to lyxrow_funcs
9230         (nextRowIsAllInset): move to lyxrow_funcs
9231         (lastPrintablePos): move to lyxrow_funcs
9232         (numberOfSeparators): move to lyxrow_funcs
9233         (numberOfHfills): move to lyxrow_funcs
9234         (numberOfLabelHfills): move to lyxrow_funcs
9235         (hfillExpansion): move to lyxrow_funcs
9236
9237         * lyxfunc.C: adjust
9238
9239         * bufferview_funcs.C (toggleAndShow): adjust
9240
9241         * RowList.h: Remove class RowList from file leave just a
9242         std::list<Row>.
9243
9244         * RowList.C: delete file
9245
9246         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9247         and lyxrow_funcs.h
9248
9249 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9250
9251         * text3.C (cursorPrevious): adjust
9252         (cursorNext): adjust
9253         (dispatch): adjust
9254
9255         * text2.C (redoHeightOfParagraph): adjust
9256         (redoDrawingOfParagraph): adjust
9257         (setCursor): adjust
9258
9259         * text.C (breakParagraph): adjust
9260         (insertChar): adjust
9261         (backspace): adjust
9262
9263         * rowpainter.C (RowPainter): adjust
9264         (leftMargin): simplify and adjust
9265         (most rowpainter functions): adjust.
9266
9267         * rowpainter.h: store the row as RowList::iterator not as Row*
9268
9269         * lyxcursor.C (row): taka RowList::iterator as arg
9270         (irow): ditto
9271
9272         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9273         of Row*.
9274
9275 2003-04-01  Angus Leeming  <leeming@lyx.org>
9276
9277         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9278         stuff like bool Bool.
9279
9280 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9281
9282         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9283         rewrite a loop
9284
9285 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9286
9287         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9288         RowList::iterator.
9289
9290         * lyxtext.h (rows): drop one version and leve a const variant that
9291         returns a RowList::iterator.
9292
9293 2003-03-31  Angus Leeming  <leeming@lyx.org>
9294
9295         * text.C (fill): ensure that the signature is the same as that in the
9296         header file.
9297
9298 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9299
9300         * text2.C (redoParagraphs): adjust
9301         (updateCounters): adjust
9302         (checkParagraph): adjust
9303         (getColumnNearX): adjust and reformat a bit.
9304
9305         * text.C (top_y): adjust
9306         (workWidth): adjust
9307         (leftMargin): adjust
9308         (prepareToPrint): adjust
9309         (getRow): adjust
9310         (getRowNearY): adjust
9311
9312         * lyxtext.h: make rowlist_ mutable.
9313
9314         * RowList.h: add const_iterator
9315         * RowList.C: adjust for RowList::const_iterator.
9316
9317         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9318         adjust.
9319
9320 2003-03-31  John Levon  <levon@movementarian.org>
9321
9322         * lyxrc.h:
9323         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9324
9325         * lyx_main.C: set default fonts from using lyx_gui funcs
9326
9327         * exporter.C: pdf_mode moved from lyxrc
9328
9329         * lyx_cb.C:
9330         * lyxfunc.C: changes from above
9331
9332 2003-03-31  John Levon  <levon@movementarian.org>
9333
9334         * lyx_main.C: fix to the last fix
9335
9336 2003-03-31  John Levon  <levon@movementarian.org>
9337
9338         * bufferlist.C: "Load original" -> "Load Original"
9339
9340         * converter.C:
9341         * exporter.C:
9342         * importer.C:
9343         * lyx_main.C:
9344         * format.C: more Alert cleanups
9345
9346 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9347
9348         * text2.C (removeParagraph): make it take a RowList::iterator as
9349         arg, adjust.
9350         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9351         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9352
9353         * text.C (anchor_row): make it take a RowList::iterator as arg,
9354         adjust.
9355         (computeBidiTables): make it take a const reference to Row instead
9356         of Row pointer, adjust.
9357         (leftMargin): make it take a RowList::iterator as arg, adjust.
9358         (rowBreakPoint): adjust
9359         (breakAgainOneRow): make it take a RowList::iterator as arg,
9360         adjust.
9361         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9362
9363         * bufferview_funcs.C (toggleAndShow): adjust
9364
9365 2003-03-30  John Levon  <levon@movementarian.org>
9366
9367         * Makefile.am:
9368         * BoostFormat.h:
9369         * boost-inst.C: moved to support
9370
9371         * several files: changes as a result
9372
9373 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9374
9375         * text2.C (LyXText): adjust.
9376         (init): adjust
9377         (removeRow): make it take a RowList::iterator as arg, adjust.
9378         (fullRebreak): adjust
9379         (deleteEmptyParagraphMechanism): adjust
9380         (clearPaint): adjust
9381         (postPaint): adjust
9382
9383         * text.C (top_y): adjust
9384         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9385         (breakAgain): make it take a RowList::iterator as arg, adjust.
9386         (breakParagraph): adjust
9387         (insertChar): adjust
9388         (backspace): adjust
9389
9390         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9391         need_break_row, and refresh_row.
9392
9393         * text3.C (dispatch): adjust
9394
9395         * text2.C (checkParagraph): adjust
9396         (setCursor): adjust
9397         (setCursorFromCoordinates): adjust
9398
9399         * text.C (top_y): adjust
9400         (workWidth): adjust
9401         (getRow): make it return a RowList::iterator, adjust
9402         (getRowNearY): make it return a RowList::iterator, adjust
9403
9404         * text2.C (init): adjust
9405         (insertRow): remove function
9406         (insertParagraph): adjust
9407         (redoParagraphs): adjust
9408         (fullRebreak): adjust
9409         (updateCounters): adjust
9410
9411         * text.C (top_y): rewrite to use RowList iterators.
9412         (top_y): adjust
9413         (setHeightOfRow): rewrite to sue RowList iterators.
9414         (appendParagraph): adjust
9415         (breakAgain): adjust
9416         (breakAgainOneRow): adjust
9417         (breakParagraph): adjust
9418         (getRow): adjust
9419         (getRowNearY): adjust, and remove commented code.
9420
9421         * lyxtext.h (firstRow): delete function
9422         (lastRow): delete function
9423         (rows): new function (const and non-const versions.)
9424         (insertRow): delete function
9425
9426         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9427
9428 2003-03-29  John Levon  <levon@movementarian.org>
9429
9430         * BufferView_pimpl.C: always update scrollbar top
9431         because pasting text when we're anchored could mean we
9432         miss an update altogether
9433
9434 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9435
9436         * text2.C (init): use rowlist_.end() and not 0.
9437         (insertRow): change to take a RowList::iterator as arg, adjust
9438         for this.
9439         (insertParagraph): change to take a RowList::iterator as arg,
9440         adjust for this.
9441         (redoParagraphs): remove some debug msgs.
9442
9443         * text.C (appendParagraph): change to take a RowList::iterator
9444         arg, adjust for this.
9445         (breakAgain): add an assert
9446         (breakAgainOneRow): ditto
9447
9448 2003-03-29  John Levon  <levon@movementarian.org>
9449
9450         * text2.C: do not clear selection after inc/decDepth
9451         (bug 550)
9452
9453 2003-03-29  John Levon  <levon@movementarian.org>
9454
9455         * BufferView.C:
9456         * buffer.C: fix broken strerrors according to Lars
9457
9458 2003-03-29  John Levon  <levon@movementarian.org>
9459
9460         * converters.C: more Alert cleanups
9461
9462 2003-03-29  John Levon  <levon@movementarian.org>
9463
9464         * bufferview_funcs.C: remove pointless Alert
9465
9466         * buffer.C: fix confusing error message when
9467         a template is chmoded 000
9468
9469 2003-03-29  John Levon  <levon@movementarian.org>
9470
9471         * BufferView.C:
9472         * BufferView.h:
9473         * BufferView_pimpl.C: Alert fixes
9474
9475         * Makefile.am:
9476         * tabular.C:
9477         * tabular-old.C: remove unused table compat reading
9478
9479 2003-03-29  John Levon  <levon@movementarian.org>
9480
9481         * BufferView.C:
9482         * buffer.C:
9483         * lyx_cb.h:
9484         * lyx_cb.C: more Alert cleanups
9485
9486         * lyxfunc.C: don't allow chktex if not latex document
9487
9488 2003-03-29  John Levon  <levon@movementarian.org>
9489
9490         * lyx_cb.C:
9491         * BufferView.C:
9492         * buffer.C: warnings pushed down from support/,
9493         kill err_alert
9494
9495 2003-03-29  John Levon  <levon@movementarian.org>
9496
9497         * lyxfunc.C: safety check for C-r (revert)
9498
9499 2003-03-29  John Levon  <levon@movementarian.org>
9500
9501         * bufferlist.h:
9502         * bufferlist.C: several UI fixes using Alert::prompt.
9503         Fix the pointless looping quit code. Fix stupid revert
9504         behaviour (bug 938)
9505
9506         * lyxvc.h:
9507         * lyxvc.C:
9508         * lyx_cb.C: use Alert::prompt
9509
9510         * lyx_main.C: remove a silly question
9511
9512         * lyxfunc.C: remove a couple of silly questions,
9513         use Alert::prompt
9514
9515 2003-03-28  John Levon  <levon@movementarian.org>
9516
9517         * text2.C: fix bug 974 (End on empty par)
9518
9519 2003-03-28  John Levon  <levon@movementarian.org>
9520
9521         * BufferView_pimpl.C:
9522         * LyXAction.C:
9523         * lfuns.h: remove do-nothing math greek lfuns
9524
9525 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9526
9527         * lyxgluelength.h (isValidGlueLength): add default arg on
9528         parameter 2. Remove default arg from friend in class.
9529
9530         * lyxlength.h (isValidLength): add default arg on parameter 2.
9531         Remove default arg from friend in class.
9532
9533         * text2.C (LyXText): adjust, initialize refresh_row.
9534         (init): adjust
9535         (removeRow): adjust
9536         (insertRow): adjust
9537         (insertParagraph): adjst
9538         (redoParagraphs): adjust
9539         (fullRebreak): adjust
9540         (updateCounters): adjust
9541         (deleteEmptyParagraphMechanism): first attempt at fixing a
9542         crashing bug.
9543
9544         * text.C (top_y): adjust
9545         (setHeightOfRow): adjust
9546         (getRow): adjust
9547         (getRowNearY): adjust
9548
9549         * lyxtext.h: include RowList.h
9550         (~LyXText): not needed anymore, deleted.
9551         (firstRow): modify for RowList
9552         (lastRow): new function
9553         Delete firstrow and lastrow class variables, add a Rowlist
9554         rowlist_ class variable.
9555
9556         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9557         paragraph is empty.
9558
9559         * RowList.C (insert): fix case where it == begin().
9560
9561 2003-03-26  Angus Leeming  <leeming@lyx.org>
9562
9563         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9564         the thesaurus dialog.
9565
9566 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9567
9568         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9569
9570         * RowList.[Ch]: new files
9571
9572         * ParagraphList.C (erase): handle the case where it == begin
9573         correctly.
9574
9575 2003-03-25  John Levon  <levon@movementarian.org>
9576
9577         * Makefile.am:
9578         * aspell_local.h:
9579         * aspell.C: add new aspell support
9580
9581         * lyxrc.h:
9582         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9583         have it accessible.
9584
9585 2003-03-25  Angus Leeming  <leeming@lyx.org>
9586
9587         * lfuns.h:
9588         * LyXAction.C (init): new LFUN_INSET_INSERT.
9589
9590         * BufferView_pimpl.C (dispatch): split out part of the
9591         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9592
9593         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9594         LFUN_INSET_APPLY.
9595
9596 2003-03-25  Angus Leeming  <leeming@lyx.org>
9597
9598         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9599
9600 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9601
9602         * text2.C:
9603         * text3.C: remove useless row->height(0)
9604
9605 2003-03-25  John Levon  <levon@movementarian.org>
9606
9607         * lyxtext.h:
9608         * text2.C:
9609         * text3.C: rename the refreshing stuff to better names
9610
9611 2003-03-24  John Levon  <levon@movementarian.org>
9612
9613         * BufferView_pimpl.h:
9614         * BufferView_pimpl.C: update layout choice on a mouse
9615         press/release
9616
9617 2003-03-23  John Levon  <levon@movementarian.org>
9618
9619         * Makefile.am: fix commandtags.h reference
9620
9621 2003-03-22  John Levon  <levon@movementarian.org>
9622
9623         * BufferView_pimpl.C:
9624         * lyxtext.h:
9625         * rowpainter.C:
9626         * rowpainter.h:
9627         * text.C:
9628         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9629
9630 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9631
9632         * lyxtext.h:
9633         * text.C: take the rtl methods out of line
9634
9635 2003-03-21 André Pönitz <poenitz@gmx.net>
9636
9637         * metricsinfo.[Ch]: new files containing structures to be passed around
9638         during the two-phase-drawing...
9639
9640 2003-03-21 André Pönitz <poenitz@gmx.net>
9641
9642         * lyxtextclass.C: read 'environment' tag.
9643
9644 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9645
9646         * text2.C (removeRow): fix bug 964
9647
9648 2003-03-20  John Levon  <levon@movementarian.org>
9649
9650         * rowpainter.C:
9651         * text.C:
9652         * text2.C: paint cleanups. Inset::update() dropped font
9653         parameter
9654
9655 2003-03-19  John Levon  <levon@movementarian.org>
9656
9657         * lyxfunc.C: only fitcursor/markDirty if available()
9658
9659 2003-03-19  John Levon  <levon@movementarian.org>
9660
9661         * commandtags.h: rename to ...
9662
9663         * lfuns.h: ... this, and renumber / cleanup
9664
9665 2003-03-19  John Levon  <levon@movementarian.org>
9666
9667         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9668         fit the cursor after an lfun
9669
9670         * BufferView.h:
9671         * BufferView.C:
9672         * BufferView_pimpl.h:
9673         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9674
9675         * LyXAction.C: layout-character should have ReadOnly
9676
9677         * ParagraphParameters.C:
9678         * buffer.C:
9679         * bufferview_funcs.C:
9680         * lyx_cb.C:
9681         * lyxfind.C:
9682         * lyxtext.h:
9683         * text.C:
9684         * text2.C:
9685         * text3.C:
9686         * undo_funcs.C: changes from above
9687
9688 2003-03-18  John Levon  <levon@movementarian.org>
9689
9690         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9691         remove it from update()
9692
9693         * lyxfunc.C: update layout choice after an lfun
9694
9695         * text3.C: remove extra updateLayoutChoice()s
9696
9697 2003-03-18  John Levon  <levon@movementarian.org>
9698
9699         * text.C: top_y change means full repaint, fix
9700         a drawing bug with cursor movement
9701
9702 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9703
9704         * lyxtext.h:
9705         * text.C:
9706         * text2.C: anchor row on setCursor
9707
9708 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9709
9710         * lyxtext.h: remove almost all mutable keywords
9711         * text.C:
9712         * text2.C:
9713         * text3.C: remove const keywords accordingly
9714
9715 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9716
9717         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9718         anon namespace
9719         (TeXEnvironment): ditto
9720         (TeXOnePar): ditto
9721
9722 2003-03-17  John Levon  <levon@movementarian.org>
9723
9724         * text.C (rowBreakPoint): remove attempt to fix displayed
9725         math insets inside a manual label
9726
9727 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9728
9729         * lyxtext.h: remove BufferView* as first arg from almost all class
9730         functions.
9731         * other files: adjust.
9732
9733 2003-03-17  John Levon  <levon@movementarian.org>
9734
9735         * lyxtext.h:
9736         * undo_funcs.C:
9737         * text2.C: more paint cleanups
9738
9739         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9740
9741         * rowpainter.h:
9742         * rowpainter.C: remove "smart" background painting code
9743
9744 2003-03-16  John Levon  <levon@movementarian.org>
9745
9746         * lyxtext.h:
9747         * text.C:
9748         * text2.C:
9749         * text3.C: add helper functions for setting refresh_row/y
9750
9751 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9752
9753         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9754         newline inset which *can* get inserted in the pass_thru layouts.
9755         This is primarily for literate documents.
9756
9757 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9758
9759         * buffer.C: increment LYX_FORMAT to 223
9760
9761 2003-03-14 André Pönitz <poenitz@gmx.net>
9762
9763         * textclass.h: prepare for environment handling, ws changes
9764         * lyxlayout.C: read latexheader and latexfooter tags
9765
9766 2003-03-14  John Levon  <levon@movementarian.org>
9767
9768         * text2.C: rewrite ::status() a bit
9769
9770 2003-03-13  John Levon  <levon@movementarian.org>
9771
9772         * lyxtext.h: add some docs
9773
9774 2003-03-13  John Levon  <levon@movementarian.org>
9775
9776         * lyxtext.h:
9777         * text.C:
9778         * text2.C:
9779         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9780
9781 2003-03-13  John Levon  <levon@movementarian.org>
9782
9783         * text3.C: fix appendix redrawing
9784
9785 2003-03-13  John Levon  <levon@movementarian.org>
9786
9787         * text.C (setHeightOfRow):
9788         * rowpainter.h:
9789         * rowpainter.C: make appendix mark have the text
9790           "Appendix" so the user knows what it is
9791
9792         * LColor.h:
9793         * LColor.C: s/appendixline/appendix/ from above
9794
9795 2003-03-13  John Levon  <levon@movementarian.org>
9796
9797         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9798
9799         * text.C: fix a getChar(pos) bug properly
9800
9801 2003-03-13  Angus Leeming  <leeming@lyx.org>
9802
9803         * commandtags.h:
9804         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9805         Probably only temporary. Let's see how things pan out.
9806
9807         * BufferView.C (unlockInset):
9808         * BufferView_pimpl.C (fitCursor):
9809         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9810
9811         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9812         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9813
9814         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9815         new functions that convert ParagraphParameters to and from a string.
9816
9817         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9818         BufferView::Pimpl's dispatch.
9819         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9820
9821 2003-03-13 André Pönitz <poenitz@gmx.net>
9822
9823         * lyxfunc.C:
9824         * text3.C:
9825         * factory.C: make it aware of InsetEnv
9826
9827 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9828
9829         * text2.C (setCursor): never ask for one past last
9830         (setCursor): add some debugging messages.
9831
9832         * text.C (singleWidth): never ask for one past last
9833         (singleWidth): ditto
9834         (leftMargin): ditto
9835         (rightMargin): ditto
9836         (rowBreakPoint): ditto
9837         (setHeightOfRow): ditto
9838         (prepareToPrint): ditto
9839
9840         * rowpainter.C (paintBackground): never ask for one past last
9841         (paintText): never ask for one past last
9842
9843         * paragraph_pimpl.C (getChar): make the assert stricter, never
9844         allow the one past last pos to be taken
9845
9846         * paragraph.C (getChar): ws changes only
9847
9848         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9849         (numberOfSeparators): ditto
9850         (numberOfHfills): ditto
9851
9852 2003-03-12  John Levon  <levon@movementarian.org>
9853
9854         * author.h:
9855         * author.C:
9856         * bufferparams.h:
9857         * bufferparams.C:
9858         * paragraph_funcs.C: fix per-buffer authorlists
9859
9860 2003-03-12  John Levon  <levon@movementarian.org>
9861
9862         * text.C: fix newline in right address
9863
9864 2003-03-12  Angus Leeming  <leeming@lyx.org>
9865
9866         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9867         duplicate those in LyXFunc::dispatch.
9868
9869         * commandtags.h:
9870         * LyXAction.C:
9871         * ToolbarDefaults.C:
9872         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9873         Add LFUN_FONTFREE_UPDATE.
9874
9875         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9876         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9877
9878         * bufferview_func.[Ch]: several new functions to facilliate
9879         transfer of data to and from the character dialog.
9880
9881 2003-03-12  John Levon  <levon@movementarian.org>
9882
9883         * buffer.C:
9884         * paragraph.h:
9885         * paragraph.C:
9886         * paragraph_funcs.C:
9887         * paragraph_pimpl.C:
9888         * sgml.C:
9889         * tabular.C:
9890         * text.C:
9891         * text3.C: remove META_NEWLINE in favour of an inset
9892
9893         * rowpainter.h:
9894         * rowpainter.C: remove paintNewline (done by inset)
9895
9896 2003-03-12  John Levon  <levon@movementarian.org>
9897
9898         * paragraph_pimpl.C: complain about bad getChar()s
9899         for a while at least
9900
9901 2003-03-12  John Levon  <levon@movementarian.org>
9902
9903         * buffer.h:
9904         * buffer.C: move paragraph read into a separate function,
9905         a little renaming to reflect that.
9906
9907         * bufferparams.h:
9908         * bufferparams.C: remove the author_ids map, not necessary now
9909
9910         * factory.h:
9911         * factory.C: moved Buffer::readInset to here
9912
9913         * paragraph_funcs.h:
9914         * paragraph_funcs.C: readParagraph free function moved from
9915         buffer.C
9916
9917         * tabular.C: name change
9918
9919 2003-03-12  John Levon  <levon@movementarian.org>
9920
9921         * buffer.C:
9922         * ParagraphParameters.C: move par params input to
9923         a read() method
9924
9925         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9926         behave like a normal read from the stream wrt reading
9927         a line vs. a \\token
9928
9929 2003-03-12  John Levon  <levon@movementarian.org>
9930
9931         * paragraph.C:
9932         * ParagraphParameters.h:
9933         * ParagraphParameters.C: move output code to a
9934         ::write() method
9935
9936 2003-03-12  John Levon  <levon@movementarian.org>
9937
9938         * BufferView.C (insertLyXFile):
9939         * buffer.h:
9940         * buffer.C:
9941         * tabular.C: use a parlist iterator for creating the
9942           document.
9943
9944 2003-03-12  John Levon  <levon@movementarian.org>
9945
9946         * buffer.C: make current_change static local not
9947           static file-scope
9948
9949 2003-03-12  John Levon  <levon@movementarian.org>
9950
9951         * buffer.C: fix insertStringAsLines for change tracking
9952
9953 2003-03-12  John Levon  <levon@movementarian.org>
9954
9955         * BufferView.C:
9956         * tabular.C:
9957         * buffer.h:
9958         * buffer.C:
9959         * bufferparams.h:
9960         * bufferparams.C: move author list into params. Rename some
9961           functions. Move the header reading into a separate token
9962           loop. Move the header token reading into BufferParams.
9963
9964 2003-03-12  John Levon  <levon@movementarian.org>
9965
9966         * changes.C: put debug inside lyxerr.debugging() checks
9967
9968 2003-03-11 André Pönitz <poenitz@gmx.net>
9969
9970         * factory.C: make it aware of InsetHFill
9971
9972 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9973
9974         * buffer.C (latexParagraphs): move function from here...
9975         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9976         args.
9977
9978 2003-03-10  Angus Leeming  <leeming@lyx.org>
9979
9980         * LyXAction.C (init): fix bug in poplating array with multiple entries
9981         with the same LFUN (spotted by JMarc).
9982
9983 2003-03-10  John Levon  <levon@movementarian.org>
9984
9985         * text.C:
9986         * text2.C: move getColumnNearX() near its
9987         only call site
9988
9989 2003-03-10  John Levon  <levon@movementarian.org>
9990
9991         * text.C: fix break before a minipage
9992
9993 2003-03-10  John Levon  <levon@movementarian.org>
9994
9995         * text.C: fix the last commit
9996
9997 2003-03-09  John Levon  <levon@movementarian.org>
9998
9999         * lyxtext.h:
10000         * text.C:
10001         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
10002         bug 365 (don't break before insets unless needed). Don't
10003         return a value > last under any circumstances.
10004
10005 2003-03-09  Angus Leeming  <leeming@lyx.org>
10006
10007         * BufferView_pimpl.C (trackChanges, dispatch): call
10008         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
10009
10010 2003-03-09  Angus Leeming  <leeming@lyx.org>
10011
10012         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
10013         than Dialogs::showAboutlyx().
10014
10015 2003-03-09  Angus Leeming  <leeming@lyx.org>
10016
10017         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
10018         than Dialogs::showTabularCreate().
10019
10020 2003-03-09  John Levon  <levon@movementarian.org>
10021
10022         * lyxtext.h:
10023         * text.C:
10024         * text2.C: 3rd arg to nextBreakPoint was always the same.
10025           Use references.
10026
10027 2003-03-08  John Levon  <levon@movementarian.org>
10028
10029         * lyxrow.C:
10030         * paragraph.C:
10031         * paragraph.h:
10032         * rowpainter.C:
10033         * text.C:
10034         * text2.C: Remove the "main" bit from the "main body"
10035           notion.
10036
10037 2003-03-08  John Levon  <levon@movementarian.org>
10038
10039         * text.C (leftMargin): The left margin of an empty
10040         manual label paragraph should not include the label width
10041         string length.
10042
10043         * text.C (prepareToPrint): don't attempt to measure hfills
10044         for empty manual label paragraphs - the answer should be 0
10045
10046 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10047
10048         * CutAndPaste.C: remove commented code and reindent.
10049
10050 2003-03-08  John Levon  <levon@movementarian.org>
10051
10052         * lyxfunc.h:
10053         * lyxfunc.C: move reloadBuffer()
10054
10055         * BufferView.h:
10056         * BufferView.C: to here
10057
10058         * lyxvc.C: add comment
10059
10060         * vc-backend.h:
10061         * vc-backend.C: call bv->reload() to avoid
10062           getStatus() check on MENURELOAD
10063
10064 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
10065
10066         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
10067         to an old format .dep file.
10068
10069 2003-03-07  Angus Leeming  <leeming@lyx.org>
10070
10071         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
10072         when the LFUN_MOUSE_RELEASE should have been handled by
10073         inset->localDispatch.
10074
10075 2003-03-07  Angus Leeming  <leeming@lyx.org>
10076
10077         * BufferView_pimpl.C (dispatch):
10078         * LyXAction.C (init):
10079         * ToolbarDefaults.C (init):
10080         * commandtags.h:
10081         * lyxfunc.C (getStatus):
10082         remove LFUN_INSET_GRAPHICS.
10083
10084         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
10085
10086 2003-03-07  Angus Leeming  <leeming@lyx.org>
10087
10088         * commandtags.h:
10089         * LyXAction.C (init):
10090         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
10091
10092         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
10093
10094         * commandtags.h:
10095         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
10096
10097         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
10098         localDispatch method LFUN_INSET_DIALOG_UPDATE.
10099
10100 2003-03-07  Angus Leeming  <leeming@lyx.org>
10101
10102         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
10103         remove "ert".
10104
10105 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10106
10107         * ParagraphList.C (front): new function
10108         (back): implement
10109
10110 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
10111
10112         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
10113         and top_row_offset_. removed var first_y.
10114         * text.C (top_y):
10115         * text2.C (LyXText, removeRow):
10116         * text3.C:
10117         * BufferView_pimpl.C:
10118         use these methods instead of using first_y
10119
10120 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10121
10122         * text2.C (pasteSelection): adjust for checkPastePossible
10123
10124         * CutAndPaste.C: remove Paragraph * buf and replace with
10125         ParagraphList paragraphs.
10126         (DeleteBuffer): delete
10127         (cutSelection): change the tc type to textclass_type
10128         (copySelection): change the tc type to textclass_type
10129         (copySelection): adjust for ParagraphList
10130         (pasteSelection): change the tc type to textclass_type
10131         (pasteSelection): adjust for Paragraphlist
10132         (nrOfParagraphs): simplify for ParagraphList
10133         (checkPastePossible): simplify for ParagraphList
10134         (checkPastePossible): remove unused arg
10135
10136         * ParagraphList.C (insert): handle the case where there are no
10137         paragraphs yet.
10138
10139         * CutAndPaste.h: make CutAndPaste a namespace.
10140
10141         * text3.C (dispatch): adjust
10142
10143         * text.C (breakParagraph): add a ParagraphList as arg
10144
10145         * paragraph_funcs.C (breakParagraph): change to take a
10146         BufferParams and a ParagraphList as args.
10147         (breakParagraphConservative): ditto
10148         (mergeParagraph): ditto
10149         (TeXDeeper): add a ParagraphList arg
10150         (TeXEnvironment): ditto
10151         (TeXOnePar): ditto
10152
10153         * buffer.C (readLyXformat2): adjust
10154         (insertStringAsLines): adjust
10155         (latexParagraphs): adjust
10156
10157         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10158         (cutSelection): adjust
10159         (pasteSelection): adjust
10160
10161         * BufferView_pimpl.C (insertInset): adjust
10162
10163 2003-03-05  Angus Leeming  <leeming@lyx.org>
10164
10165         * commandtags.h:
10166         * LyXAction.C (init):
10167         * BufferView_pimpl.C (dispatch):
10168         * lyxfunc.C (getStatus):
10169         remove LFUN_CHILD_INSERT.
10170
10171         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10172
10173 2003-03-05  Angus Leeming  <leeming@lyx.org>
10174
10175         * commandtags.h:
10176         * LyXAction.C (init):
10177         * src/factory.C (createInset):
10178         * lyxfunc.C (getStatus):
10179         * text3.C (dispatch):
10180         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10181
10182         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10183
10184 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10185
10186         * ParagraphList.C (insert): handle insert right before end()
10187         (erase): fix cases where it can be first or last paragraph.
10188
10189 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10190
10191         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10192         Paragraph::next and Paragraph::previous
10193         (TeXOnePar): ditto
10194
10195         * text.C (breakParagraph): adjust
10196
10197         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10198         BufferParams& as arg.
10199         (breakParagraph): use ParagraphList::insert
10200         (breakParagraphConservative): take a Buffer* instead of a
10201         BufferParams& as arg.
10202         (breakParagraphConservative): use ParagraphList::insert.
10203
10204         * buffer.C (insertStringAsLines): un-const it
10205         (insertStringAsLines): adjust
10206
10207         * ParagraphList.C (insert): new function
10208
10209         * CutAndPaste.C (pasteSelection): adjust
10210
10211         * text.C (backspace): adjust
10212
10213         * tabular.C (SetMultiColumn): adjust
10214
10215         * CutAndPaste.C (cutSelection): adjust
10216         (pasteSelection): adjust
10217
10218         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10219         Buffer const * as arg
10220
10221         * ParagraphList.C (erase): new function
10222         * paragraph_funcs.C (mergeParagraph): use it
10223         (mergeParagraph): make it take a Buffer* instead of a
10224         BufferParams* as arg
10225
10226         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10227         as arg
10228         (breakParagraphConservative): ditto
10229
10230         * paragraph.h: remove the breakParagraph friend
10231
10232         * paragraph.C (eraseIntern): new function
10233         (setChange): new function
10234
10235         * paragraph_funcs.C (mergeParagraph): make it take a
10236         ParagraphList::iterator instead of a Paragraph *, adjust
10237         accordingly.
10238
10239         * paragraph.h: move an #endif so that the change tracking stuff
10240         also works in the NO_NEXT case.
10241
10242 2003-03-04  Angus Leeming  <leeming@lyx.org>
10243
10244         * commandtags.h:
10245         * LyXAction.C: new LFUN_INSET_MODIFY.
10246
10247         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10248         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10249
10250 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10251
10252         * several files: ws changes only
10253
10254         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10255         (TeXEnvironment): ditto
10256         (TeXDeeper): ditto
10257
10258         * buffer.C (makeLaTeXFile): adjust
10259         (latexParagraphs): make it take ParagraphList::iterator as args
10260
10261 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10262
10263         * buffer.C (latexParagraphs): adjust
10264
10265         * paragraph.C (TeXOnePar): move function...
10266         (optArgInset): move function...
10267         (TeXEnvironment): move function...
10268         * paragraph_pimpl.C (TeXDeeper): move function...
10269         * paragraph_funcs.C: ...here
10270
10271         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10272
10273 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10274
10275         * buffer.C (readInset): remove compability code for old Figure and
10276         InsetInfo insets
10277
10278 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10279
10280         * buffer.C: ws changes
10281         (readInset):
10282
10283         * BufferView_pimpl.C: ditto
10284         * author.C: ditto
10285         * buffer.h: ditto
10286         * bufferlist.h: ditto
10287         * changes.h: ditto
10288         * lyxfunc.C: ditto
10289
10290 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10291
10292         * converter.[Ch]: split into itself +
10293         * graph.[Ch]
10294         * format.[Ch]
10295         * Makefile.am: += graph.[Ch] + format.[Ch]
10296         * MenuBackend.C
10297         * buffer.C
10298         * exporter.C
10299         * importer.C
10300         * lyx_main.C
10301         * lyxfunc.C
10302         * lyxrc.C: added #include "format.h"
10303
10304 2003-02-27  Angus Leeming  <leeming@lyx.org>
10305
10306         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10307           a label.
10308
10309         * factory.C (createInset): add "label" to the factory.
10310
10311         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10312           string and do no more.
10313
10314 2003-02-27  Angus Leeming  <leeming@lyx.org>
10315
10316         * commandtags.h:
10317         * LyXAction.C (init):
10318         * factory.C (createInset):
10319         * BufferView_pimpl.C (dispatch):
10320           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10321
10322         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10323
10324         * lyxfunc.C (dispatch):
10325         * text3.C (dispatch): pass name to params2string.
10326
10327 2003-02-26  Angus Leeming  <leeming@lyx.org>
10328
10329         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10330           blocks together.
10331           Rearrange the ~includes. Strip out the unnecessary ones.
10332
10333         * factory.C (createInset): reformat.
10334           create new insets for the various LFUN_XYZ_APPLY lfuns.
10335
10336 2003-02-26  John Levon  <levon@movementarian.org>
10337
10338         * lyxrow.h:
10339         * lyxrow.C: add isParStart,isParEnd helpers
10340
10341         * paragraph.h: make isInserted/DeletedText take refs
10342
10343         * paragraph_funcs.h:
10344         * paragraph_funcs.C: remove #if 0'd code
10345
10346         * lyxtext.h:
10347         * text3.C:
10348         * text2.C:
10349         * text.C: use lyxrow helpers above.
10350           Move draw and paint routines to RowPainter.
10351           Make several methods use refs not pointers.
10352           Make backgroundColor() const.
10353           Add markChangeInDraw(), isInInset().
10354           Merge changeRegionCase into changeCase.
10355           Make workWidth() shouldn't-happen code into an Assert.
10356
10357         * rowpainter.h:
10358         * rowpainter.C: new class for painting a row.
10359
10360         * vspace.h:
10361         * vspace.C: make inPixels take a ref
10362
10363 2003-02-26  Angus Leeming  <leeming@lyx.org>
10364
10365         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10366         LFUN_REF_APPLY.
10367
10368 2003-02-25  John Levon  <levon@movementarian.org>
10369
10370         * ispell.C: give the forked command a more accurate name
10371
10372 2003-02-22  John Levon  <levon@movementarian.org>
10373
10374         * toc.h:
10375         * toc.C: make TocItem store an id not a Paragraph *
10376           (bug #913)
10377
10378 2003-02-21  Angus Leeming  <leeming@lyx.org>
10379
10380         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10381           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10382           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10383           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10384           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10385           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10386
10387         * BufferView_pimpl.C (dispatch):
10388         * LyXAction.C (init):
10389         * factory.C (createInset):
10390         * lyxfunc.C (getStatus, dispatch):
10391         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10392
10393 2003-02-21  Angus Leeming  <leeming@lyx.org>
10394
10395         * BufferView_pimpl.C (MenuInsertLyXFile):
10396         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10397         * lyxfunc.C (menuNew, open, doImport):
10398           no longer pass a LyXView & to fileDlg.
10399
10400 2003-02-21  Angus Leeming  <leeming@lyx.org>
10401
10402         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10403         * LyXAction.C: change, BIBKEY to BIBITEM.
10404         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10405         Change InsetBibKey to InsetBibitem.
10406         Change BIBKEY_CODE to BIBITEM_CODE.
10407         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10408         * factory.C: replace insetbib.h with insetbibitem.h.
10409         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10410         * paragraph.C: replace insetbib.h with insetbibitem.h.
10411         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10412         Change bibkey() to bibitem().
10413         * text.C: remove insetbib.h.
10414         * text2.C: replace insetbib.h with insetbibitem.h.
10415         change bibkey() to bibitem().
10416         * text3.C: remove insetbib.h.
10417         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10418
10419 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10420
10421         * lyxrc.C (output): enclose user email in quotes (in case there are
10422         several words)
10423
10424 2003-02-18  John Levon  <levon@movementarian.org>
10425
10426         * buffer.h: add std::
10427
10428 2003-02-17  John Levon  <levon@movementarian.org>
10429
10430         * SpellBase.h:
10431         * ispell.h:
10432         * ispell.C:
10433         * pspell.h:
10434         * pspell.C: reworking. Especially in ispell, a large
10435           number of clean ups and bug fixes.
10436
10437         * lyxfunc.C: fix revert to behave sensibly
10438
10439 2003-02-17 André Pönitz <poenitz@gmx.net>
10440
10441         * LyXAction.C:
10442         * commandtags.h: new LFUN_INSERT_BIBKEY
10443
10444         * layout.h:
10445         * lyxlayout.C:
10446         * buffer.C:
10447         * factory.C:
10448         * text.C:
10449         * text2.C:
10450         * text3.C:
10451         * paragraph.[Ch]:
10452         * paragraph_func.C: remove special bibkey handling
10453
10454 2003-02-17  John Levon  <levon@movementarian.org>
10455
10456         * text.C (Delete): fix case where delete at the end of
10457           the very first paragraph would not merge the pars
10458
10459 2003-02-17  John Levon  <levon@movementarian.org>
10460
10461         * lyxrow.C: fix lastPrintablePos()
10462
10463 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * bufferparams.C (writeLaTeX): add a std:here
10466
10467         * buffer.C: and remove a using directive there
10468
10469 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10470
10471         * buffer.C (makeLaTeXFile): move the code that generates the
10472           preamble...
10473
10474         * bufferparams.C (writeLaTeX): ... in this new method
10475
10476         * LaTeXFeatures.C (getEncodingSet): make const
10477           (getLanguages): make const
10478
10479         * MenuBackend.C (binding): returns the binding associated to this
10480           action
10481           (add): sets the status of each item by calling getStatus. Adds
10482           some intelligence.
10483           (read): add support for OptSubMenu
10484           (expand): remove extra separator at the end of expanded menu
10485
10486 2003-02-15  John Levon  <levon@movementarian.org>
10487
10488         * BufferView.C:
10489         * BufferView_pimpl.C:
10490         * bufferlist.h:
10491         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10492           inset code that had no actual effect. Remove unneeded status
10493           code.
10494
10495 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10496
10497         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10498           in preamble
10499
10500 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10501
10502         * text.C (drawLengthMarker): also draw an arrow marker for
10503           symbolic lengths (medskip...)
10504
10505 2003-02-14  John Levon  <levon@movementarian.org>
10506
10507         * tabular.h:
10508         * tabular.C: better method names
10509
10510 2003-02-14  John Levon  <levon@movementarian.org>
10511
10512         * BufferView_pimpl.C:
10513         * bufferlist.C:
10514         * buffer.C:
10515         * converter.C:
10516         * lyx_cb.C:
10517         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10518           it's a more accurate name. Remove some pointless uses.
10519
10520 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10521
10522         * text2.C (LyXText): change order of initilizers to shut off
10523           warnings
10524
10525 2003-02-14  John Levon  <levon@movementarian.org>
10526
10527         * buffer.C: use ParIterator for getParFromID()
10528
10529         * paragraph.h:
10530         * paragraph.C:
10531         * paragraph_pimpl.h:
10532         * paragraph_pimpl.C: remove unused getParFromID()
10533
10534 2003-02-14  John Levon  <levon@movementarian.org>
10535
10536         * buffer.C: remove some very old #if 0'd parse code
10537
10538 2003-02-13  John Levon  <levon@movementarian.org>
10539
10540         * text.h:
10541         * text.C:
10542         * text2.C: move hfillExpansion(), numberOfSeparators(),
10543           rowLast(), rowLastPrintable(), numberofHfills(),
10544           numberOfLabelHfills() ...
10545
10546         * lyxrow.h:
10547         * lyxrow.C: ... to member functions here.
10548
10549         * paragraph.h:
10550         * paragraph.C:
10551         * lyxtext.h:
10552         * text.C: remove LyXText::beginningOfMainBody(), and call
10553           p->beginningOfMainBody() directly. Move the check for
10554           LABEL_MANUAL into the latter.
10555
10556         * text.h:
10557         * text.C:
10558         * text2.C:
10559         * vspace.C:
10560         * BufferView.h:
10561         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10562
10563         * text.h:
10564         * text.C:
10565         * text2.C:
10566         * text3.C:
10567         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10568           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10569
10570 2003-02-13  John Levon  <levon@movementarian.org>
10571
10572         * CutAndPaste.C: remove debug
10573
10574 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10575
10576         * paragraph.C (asString): remove two unused variables
10577
10578         * lyxtextclass.C (readTitleType):
10579           (Read):
10580           (LyXTextClass): handle new members titletype_ and titlename_
10581
10582         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10583
10584 2003-02-09  John Levon  <levon@movementarian.org>
10585
10586         * buffer.h:
10587         * buffer.C: replace hand-coded list with a map for the dep clean
10588
10589 2003-02-08  John Levon  <levon@movementarian.org>
10590
10591         * LaTeX.C: consolidate code into showRunMessage() helper
10592
10593 2003-02-08  John Levon  <levon@movementarian.org>
10594
10595         * lyxfind.C:
10596         * lyxtext.h:
10597         * text2.C:
10598         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10599           and pass the size in explicitly
10600
10601         * BufferView_pimpl.h:
10602         * BufferView_pimpl.C:
10603         * BufferView.h:
10604         * BufferView.C: add getCurrentChange()
10605
10606         * BufferView_pimpl.h:
10607         * BufferView_pimpl.C: handle change lfuns
10608
10609         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10610           for changes. Mark pasted paragraphs as new.
10611
10612         * support/lyxtime.h:
10613         * support/lyxtime.C:
10614         * DepTable.C: abstract time_t as lyx::time_type
10615
10616         * LColor.h:
10617         * LColor.C: add colours for new text, deleted text, changebars
10618
10619         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10620           package use "usenames" option.
10621
10622         * commandtags.h:
10623         * lyxfunc.C:
10624         * LyXAction.C: add change lfuns
10625
10626         * Makefile.am:
10627         * author.h:
10628         * author.C: author handling
10629
10630         * buffer.h:
10631         * buffer.C: add a per-buffer author list, with first entry as
10632           current author. Handle new .lyx tokens for change tracking. Output
10633           author list to .lyx file. Output dvipost stuff to .tex preamble.
10634           Bump lyx format to 222.
10635
10636         * bufferlist.h:
10637         * bufferlist.C: add setCurrentAuthor() to reset current author details
10638           in all buffers.
10639
10640         * bufferparams.h:
10641         * bufferparams.C: add param for tracking
10642
10643         * bufferview_funcs.C: output change info in minibuffer
10644
10645         * Makefile.am:
10646         * changes.h:
10647         * changes.C: add change-tracking structure
10648
10649         * debug.h:
10650         * debug.C: add CHANGES debug flag
10651
10652         * lyxfind.h:
10653         * lyxfind.C: add code for finding the next change piece
10654
10655         * lyxrc.h:
10656         * lyxrc.C: add user_name and user_email
10657
10658         * lyxrow.h:
10659         * lyxrow.C: add a metric for the top of the text line
10660
10661         * lyxtext.h:
10662         * text.C: implement accept/rejectChange()
10663
10664         * lyxtext.h:
10665         * text.C: paint changebars. Paint new/deleted text in the chosen
10666         colours. Strike through deleted text.
10667
10668         * paragraph.h:
10669         * paragraph.C:
10670         * paragraph_pimpl.h:
10671         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10672           in the current change to the insert functions. Rework erase to
10673           mark text as deleted, adding an eraseIntern() and a range-based
10674           erase(). Implement per-paragraph change lookup and
10675           accept/reject.
10676
10677         * paragraph_funcs.C: Fixup paste for change tracking.
10678
10679         * tabular.C: mark added row/columns as new.
10680
10681         * text.C: fix rowLast() to never return -1. Don't allow
10682           spellchecking of deleted text. Track transpose changes. Don't
10683           allow paragraph break or merge where appropriate.
10684
10685         * text2.C: leave cursor at end of selection after a cut.
10686
10687 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10688
10689         * text.C (getLengthMarkerHeight):
10690         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10691         visible on screen too.
10692
10693 2003-02-07  John Levon  <levon@movementarian.org>
10694
10695         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10696
10697 2003-02-05  Angus Leeming  <leeming@lyx.org>
10698
10699         * lyxserver.C (read_ready): revert my patch of 11 September last year
10700         as it sends PC cpu through the roof. Presumably this means that
10701         the lyxserver will no longer run on an Alpha...
10702
10703 2003-01-30  Angus Leeming  <leeming@lyx.org>
10704
10705         * factory.C (createInset): create an InsetCommandParam of type "index"
10706         and use it to 'do the right thing'.
10707
10708         * text2.C (getStringToIndex): ensure that cursor position is always
10709         reset to the reset_cursor position.
10710
10711 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10712
10713         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10714         disabled.
10715
10716 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10717
10718         * bufferview.C:
10719         * lyxcb.C:
10720         * lyxfunc.C: Output messages with identical spelling, punctuation,
10721         and spaces
10722
10723 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10724
10725         * MenuBackend.C (expandFormats): List only viewable export formats
10726         in "View" menu
10727
10728         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10729         message
10730
10731         * lyxfunc.C (getStatus): Make sure that formats other than
10732         "fax" can also be disabled
10733
10734 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10735
10736         * text3.C (dispatch): put the lfuns that insert insets in 3
10737         groups, and call doInsertInset with appropriate arguments.
10738         (doInsertInset): new function, that creates an inset and inserts
10739         it according to some boolean parameters.
10740
10741 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10742
10743         * buffer.C (readFile): remember to pass on 'par' when calling
10744         readFile recursively.
10745
10746 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10747
10748         * MenuBackend.C (expandFormats): add "..." to import formats.
10749
10750 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10751
10752         * paragraph.C (asString): Remove XForms RTL hacks.
10753
10754 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10755         * buffer.C: fix typo
10756
10757 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10758
10759         * Makefile.am (LIBS): delete var
10760         (lyx_LDADD): add @LIBS@ here instead.
10761
10762 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10763
10764         * Clarify the meaning of "wheel mouse jump"
10765
10766 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10767
10768         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10769         tabular in a float
10770
10771 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10772
10773         * importer.C (Loaders): do not preallocate 3 elements in the
10774         vector, since one ends up with 6 elements otherwise
10775
10776 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10777
10778         * DepTable.C (write): write the file name as last element of the
10779         .dep file (because it may contain spaces)
10780         (read): read info in the right order
10781
10782 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10783
10784         * paragraph_pimpl.C (simpleTeXBlanks):
10785         (simpleTeXSpecialChars):
10786         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10787
10788         * tabular.C (latex): add some missing case statements. Reindent.
10789
10790         * MenuBackend.C (expandToc): remove unused variable.
10791
10792 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10793
10794         * LColor.C:
10795         * LaTeX.C:
10796         * LyXAction.C:
10797         * MenuBackend.C:
10798         * buffer.C:
10799         * exporter.C:
10800         * lyxfunc.C:
10801         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10802         and the like.
10803
10804 2003-01-05  John Levon  <levon@movementarian.org>
10805
10806         * BufferView.h:
10807         * BufferView.C: add getEncoding()
10808
10809         * kbsequence.h:
10810         * kbsequence.C: do not store last keypress
10811
10812         * lyxfunc.h:
10813         * lyxfunc.C: store last keypress here instead. Pass encoding
10814           to getISOEncoded()
10815
10816 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10817
10818         * lyx_main.C (init): remove annoying error message when following
10819         symbolic links (bug #780)
10820
10821 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10822
10823         * text.C (insertChar):
10824         * lyxrc.C (getDescription): remove extra spaces
10825
10826 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10827
10828         * lyxrc.C (getDescription): remove extra spaces
10829
10830 2002-12-20  John Levon  <levon@movementarian.org>
10831
10832         * text3.C: hack fix for page up/down across tall rows
10833
10834 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10835
10836         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10837         not been invoked
10838
10839 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10840
10841         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10842         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10843         thesaurus is not compiled in
10844
10845 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10846
10847         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10848
10849 2002-12-16  Angus Leeming  <leeming@lyx.org>
10850
10851         * lyxrc.[Ch]:
10852         * lyx_main.C (init): remove override_x_deadkeys stuff.
10853
10854 2002-12-12  John Levon  <levon@movementarian.org>
10855
10856         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10857           insert. Only remove shift modifier under strict
10858           circumstances.
10859
10860 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10861
10862         * MenuBackend.C (expandToc): fix crash.
10863
10864 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10865
10866         * MenuBackend.C (expandToc): gettext on float names.
10867
10868 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10869
10870         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10871         implement bool empty() [bug 490]
10872
10873 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10874
10875         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10876
10877 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10878
10879         * several files: ws changes
10880
10881 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10882
10883         * text2.C (setCounter): clean up a bit, use boost.format.
10884         (updateCounters): initialize par upon declaration.
10885
10886         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10887         if the layout exists. We do not just store the layout any more.
10888         (SwitchLayoutsBetweenClasses): use boost.format
10889
10890 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10891
10892         * converter.C (convert): if from and to files are the same, use a
10893         temporary files as intermediary
10894
10895 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10896
10897         * commandtags.h:
10898         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10899
10900 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10901
10902         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10903
10904 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10905
10906         * tabular.C (asciiPrintCell): use string(size, char) instead of
10907         explicit loop.
10908
10909         * sgml.C (openTag): fix order of arguments to string constructor
10910         (closeTag): ditto
10911
10912         * lyxfunc.C (dispatch): use boost.format
10913
10914         * lots of files: change "c" -> 'c'
10915
10916 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10917
10918         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10919
10920 2002-11-25  Angus Leeming  <leeming@lyx.org>
10921
10922         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10923
10924         * lyx_main.C (init): compile fix.
10925
10926 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10927
10928         * lyx_cb.C (start): boost.formatify
10929         do not include <iostream>
10930
10931         * lengthcommon.C: ws only
10932
10933         * boost-inst.C,BoostFormat.h: add more explict instantations
10934
10935 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10936
10937         * lots of files: handle USE_BOOST_FORMAT
10938
10939 2002-11-21  John Levon  <levon@movementarian.org>
10940
10941         * pspell.C: fix compile
10942
10943 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10944
10945         * lyxfunc.C (dispatch): use boost::format
10946         (open): ditto
10947         (doImport): ditto
10948
10949         * lyxfont.C (stateText): use boost::format
10950
10951         * lyx_main.C (LyX): use boost::format
10952         (init): ditto
10953         (queryUserLyXDir): ditto
10954         (readRcFile): ditto
10955         (parse_dbg): ditto
10956         (typedef boost::function): use the recommened syntax.
10957
10958         * importer.C (Import): use boost::format
10959
10960         * debug.C (showLevel): use boost::format
10961
10962         * converter.C (view): use boost::format
10963         (convert): ditto
10964         (move): ditto
10965         (scanLog): ditto
10966
10967         * bufferview_funcs.C (currentState): use boost::format
10968
10969         * bufferlist.C (emergencyWrite): use boost::format
10970
10971         * buffer.C (readLyXformat2): use boost::format
10972         (parseSingleLyXformat2Token): ditto
10973
10974         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10975
10976         * LaTeX.C (run): use boost::format
10977
10978         * Chktex.C (scanLogFile): use boost::format
10979
10980         * BufferView_pimpl.C (savePosition): use boost::format
10981         (restorePosition): ditto
10982         (MenuInsertLyXFile): ditto
10983
10984         * BoostFormat.h: help file for explicit instation.
10985
10986 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10987
10988         * tabular.C (latex): Support for block alignment in fixed width
10989         columns.
10990
10991 2002-11-17  John Levon  <levon@movementarian.org>
10992
10993         * BufferView_pimpl.C:
10994         * lyx_cb.C:
10995         * lyxfunc.C: split filedialog into open/save
10996
10997 2002-11-08  Juergen Vigna  <jug@sad.it>
10998
10999         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
11000         by my last patch (hopefully).
11001
11002 2002-11-08  John Levon  <levon@movementarian.org>
11003
11004         * iterators.h:
11005         * iterators.C:
11006         * buffer.h:
11007         * buffer.C:
11008         * paragraph.h:
11009         * paragraph.C:
11010         * toc.h:
11011         * toc.C: ParConstIterator, and use it (from Lars)
11012
11013 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
11014
11015         * lyxtextclass.[Ch]: revise and add doxygen comments
11016
11017 2002-11-07  John Levon  <levon@movementarian.org>
11018
11019         * text.C: fix progress value for spellchecker
11020
11021         * toc.C: fix navigate menu for insetwrap inside minipage
11022
11023         * paragraph_funcs.C: added FIXME for suspect code
11024
11025 2002-11-07  John Levon  <levon@movementarian.org>
11026
11027         * BufferView_pimpl.C: fix redrawing of insets
11028           on buffer switch
11029
11030 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11031
11032         * text2.C (updateCounters): fix bug 668
11033
11034 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
11035
11036         * text3.C (dispatch): Do not make the buffer dirty when moving the
11037         cursor.
11038
11039 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11040
11041         * vc-backend.C: STRCONV
11042         (scanMaster): ditto
11043
11044         * text2.C (setCounter): STRCONV
11045
11046         * paragraph.C (asString): STRCONV
11047
11048         * lyxlength.C (asString): STRCONV
11049         (asLatexString): ditto
11050
11051         * lyxgluelength.C (asString): STRCONV
11052         (asLatexString): ditto
11053
11054         * lyxfunc.C (dispatch): STRCONV
11055         (open): ditto
11056
11057         * lyxfont.C (stateText): STRCONV
11058
11059         * importer.C (Import): STRCONV
11060
11061         * counters.C (labelItem): STRCONV
11062         (numberLabel): ditto
11063         (numberLabel): remove unused ostringstream o
11064
11065         * chset.C: STRCONV
11066         (loadFile): ditto
11067
11068         * bufferview_funcs.C (currentState): STRCONV
11069
11070         * buffer.C (readFile): STRCONV
11071         (asciiParagraph): ditto
11072         (makeLaTeXFile): ditto
11073
11074         * Spacing.C (writeEnvirBegin): STRCONV
11075
11076         * LaTeXFeatures.C (getLanguages): STRCONV
11077         (getPackages): ditto
11078         (getMacros): ditto
11079         (getBabelOptions): ditto
11080         (getTClassPreamble): ditto
11081         (getLyXSGMLEntities): ditto
11082         (getIncludedFiles): ditto
11083
11084         * LaTeX.C: STRCONV
11085         (run): ditto
11086         (scanAuxFile): ditto
11087         (deplog): ditto
11088
11089         * LString.h: add the STRCONV macros
11090
11091         * BufferView_pimpl.C (savePosition): STRCONV
11092         (restorePosition): ditto
11093         (MenuInsertLyXFile): ditto
11094
11095         * vc-backend.C (scanMaster): change from submatch[...] to
11096         submatch.str(...)
11097
11098         * funcrequest.C: include config.h
11099
11100         * factory.C: include config.h
11101
11102         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
11103
11104         * box.C: include config.h
11105
11106         * LaTeX.C (scanAuxFile): change from submatch[...] to
11107         submatch.str(...)
11108         (deplog): ditto
11109
11110 2002-10-25  Angus Leeming  <leeming@lyx.org>
11111
11112         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
11113
11114         * ispell.[Ch] (setError): new method.
11115         * ispell.C (c-tor): move out child process into new class LaunchIspell.
11116         Use setError() insetead of goto END.
11117
11118         * lyx_cb.C (AutoSave): move out child process into new class
11119         AutoSaveBuffer.
11120
11121 2002-10-30  John Levon  <levon@movementarian.org>
11122
11123         * text3.C: make start appendix undoable
11124
11125 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11126
11127         * lyxlength.C (inPixels): Fix returned value.
11128
11129         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11130         environment.
11131
11132 2002-10-24  Angus Leeming  <leeming@lyx.org>
11133
11134         * lyxgluelength.h: no need to forward declare BufferParams
11135         or BufferView, so don't.
11136
11137 2002-10-21  John Levon  <levon@movementarian.org>
11138
11139         * BufferView.C: menuUndo ->undo, redo
11140
11141         * BufferView.h: document, remove dead, make some methods private
11142
11143         * paragraph_funcs.h:
11144         * paragraph_funcs.C:
11145         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11146
11147         * buffer.h:
11148         * buffer.C:
11149         * sgml.h:
11150         * sgml.C: move sgml open/close tag into sgml.C
11151
11152         * bufferview_funcs.h: unused prototype
11153
11154         * lyxfunc.h:
11155         * lyxfunc.C: remove unused
11156
11157         * lyxtext.h:
11158         * text.C: remove unused
11159
11160 2002-10-21  John Levon  <levon@movementarian.org>
11161
11162         * BufferView.h:
11163         * BufferView.C:
11164         * BufferView_pimpl.h:
11165         * BufferView_pimpl.C: fix mouse wheel handling based on
11166           patch from Darren Freeman
11167
11168 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11169
11170         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11171
11172 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11173
11174         * lyxlength.C (inPixels): Fix hanfling of negative length.
11175         Fix LyXLength::MU case.
11176
11177 2002-10-16  John Levon  <levon@movementarian.org>
11178
11179         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11180
11181 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11182
11183         * converter.C (view): add support for $$i (file name) and $$p
11184         (file path) for the viewer command. If $$i is not specified, then
11185         it is appended to the command (for compatibility with old syntax)
11186
11187 2002-10-14  Juergen Vigna  <jug@sad.it>
11188
11189         * undo_funcs.C (textHandleUndo): alter the order in which the
11190         new undopar is added to the LyXText, as we have to set first
11191         the right prev/next and then add it as otherwise the rebuild of
11192         LyXText is not correct. Also reset the cursor to the right paragraph,
11193         with this IMO we could remove the hack in "redoParagraphs()".
11194
11195 2002-10-09  Angus Leeming  <leeming@lyx.org>
11196
11197         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11198         to turn off an optimisation if a new inset is to be inserted.
11199
11200 2002-10-11 André Pönitz <poenitz@gmx.net>
11201
11202         * lyxtext.h: make some functions public to allow access
11203         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11204
11205 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11206
11207         * text3.C (dispatch): when changing layout, avoid an infinite loop
11208         [bug #652]
11209
11210 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11211
11212         * lyxrc.C (read): treat a viewer or converter command of "none" as
11213         if it were empty.
11214
11215         * MenuBackend.C (expandFormats): for an update, also allow the
11216         formats that are not viewable
11217
11218         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11219         script if it is newer than the lyxrc.defaults in user directory
11220
11221 2002-10-07 André Pönitz <poenitz@gmx.net>
11222
11223         * text.C: Vitaly Lipatov's small i18n fix
11224
11225 2002-09-25  Angus Leeming  <leeming@lyx.org>
11226
11227         * ispell.h: doxygen fix.
11228
11229 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11230
11231         * buffer.h (readFile): Add a new argument to the method, to allow
11232         reading of old-format templates.
11233
11234 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11235
11236         * toc.C (getTocList): Get TOC from InsetWrap.
11237
11238 2002-09-16  John Levon  <levon@movementarian.org>
11239
11240         * lyxfunc.C: check tabular for cut/copy too
11241
11242 2002-09-12  John Levon  <levon@movementarian.org>
11243
11244         * LyXAction.C: tidy
11245
11246         * factory.h:
11247         * factory.C: add header
11248
11249         * paragraph_funcs.h:
11250         * paragraph_funcs.C: cleanup
11251
11252 2002-09-11  John Levon  <levon@movementarian.org>
11253
11254         * PrinterParams.h: odd/even default to true
11255
11256 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11257
11258         * PrinterParams.h: update printer parameters for new xforms dialog
11259
11260 2002-09-11  Angus Leeming  <leeming@lyx.org>
11261
11262         * lyxserver.C (read_ready): re-write to make it more transparent
11263         and to make it work in coherent fashion under Tru64 Unix.
11264
11265 2002-09-11  André Pönitz <poenitz@gmx.net>
11266
11267         * commandtags.h:
11268         * LyXAction.C:
11269         * text3.C: implement LFUN_WORDSEL
11270
11271 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11272
11273         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11274         make floatlist_ a boost::shared_ptr<FloatList>
11275
11276         * lyxtextclass.C: include FloatList.h
11277         (LyXTextClass): initialize floatlist_
11278         (TextClassTags): add TC_NOFLOAT
11279         (Read): match "nofloat" to TC_NOFLOAT and use it.
11280         (readFloat): modify call to floatlist_
11281         (floats): ditto
11282         (floats): ditto
11283
11284         * FloatList.[Ch] (FloatList): remove commented out float
11285         initialization.
11286         (erase): new function
11287
11288 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11289
11290         * MenuBackend.C (expandToc): fix crash when there is no document
11291         open
11292
11293 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11294
11295         * many files: Add insetwrap.
11296
11297 2002-09-09  John Levon  <levon@movementarian.org>
11298
11299         * text2.C: remove confusing and awkward depth wraparound
11300
11301 2002-09-09  John Levon  <levon@movementarian.org>
11302
11303         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11304
11305         * buffer.h:
11306         * buffer.C: remove getIncludeonlyList()
11307
11308         * paragraph.C:
11309         * lyxfunc.C: remove headers
11310
11311 2002-09-09  Juergen Vigna  <jug@sad.it>
11312
11313         * text.C (getColumnNearX): fix form Michael this is most
11314         probably a cut&paste bug.
11315
11316 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11317
11318         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11319
11320         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11321         references, ws changes.
11322
11323         * text2.C (init): update counters after init
11324         (insertParagraph): no need to set counter on idividual paragraphs.
11325         (setCounter): access the counters object in the textclass object
11326         on in the buffer object.
11327         (updateCounters): ditto
11328
11329         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11330         shared_ptr<Counters> to avoid loading counters.h in all
11331         compilation units.
11332         (LyXTextClass): initialize ctrs_
11333         (TextClassTags): add TC_COUNTER, and ...
11334         (Read): use it here.
11335         (CounterTags): new tags
11336         (readCounter): new function
11337         (counters): new funtion
11338         (defaultLayoutName): return a const reference
11339
11340         * counters.C (Counters): remove contructor
11341         (newCounter): remove a couple of unneeded statements.
11342         (newCounter): simplify a bit.
11343         (numberLabel): some small formatting changes.
11344
11345         * buffer.[Ch]: remove all traces of counters, move the Counters
11346         object to the LyXTextClass.
11347
11348 2002-09-06  Alain Castera  <castera@in2p3.fr>
11349
11350         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11351         package to set the horizontal alignment on fixed width columns.
11352
11353         * lyx_sty.C:
11354         * lyx_sty.h: added tabularnewline macro def.
11355
11356         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11357
11358 2002-09-06  John Levon  <levon@movementarian.org>
11359
11360         * LyXAction.C: tooltips for sub/superscript
11361
11362         * MenuBackend.C: a bit more verbose
11363
11364         * lyxfunc.C: tiny clean
11365
11366         * undo_funcs.C: document undo_frozen
11367
11368 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11369
11370         * counters.C (Counters): add missing algorithm counter.
11371
11372         * text2.C (setCounter): lookup the counter with layouts latexname
11373         instead of by section number.
11374         (setCounter): use a hackish way to lookup the correct enum
11375         counter.
11376         a float name->type change
11377         reset enum couners with counter name directly instead of depth value.
11378
11379         * counters.C (Counters): remove the push_backs, change to use the
11380         float type not the float name.
11381         (labelItem): remove unused string, float name->type change
11382
11383         * counters.h: don't include vector, loose the enums and sects vectors
11384
11385 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11386
11387         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11388         (Read): add float->TC_FLOAT to textclassTags
11389         (Read): and handle it in the switch
11390         (readFloat): new function
11391
11392         * FloatList.C (FloatList): comment out the hardcoded float
11393         definitions.
11394
11395         * lyxlayout.h: ws change.
11396
11397 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11398
11399         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11400
11401 2002-09-03  Angus Leeming  <leeming@lyx.org>
11402
11403         * BufferView_pimpl.h: qualified name is not allowed in member
11404         declaration: WorkArea & Pimpl::workarea() const;
11405
11406         * factory.C: added using std::endl directive.
11407
11408         * text3.C: added using std::find and std::vector directives.
11409
11410 2002-08-29  André Pönitz <poenitz@gmx.net>
11411
11412         * lyxtext.h:
11413         * text2.C: remove unused member number_of_rows
11414
11415         * Makefile.am:
11416         * BufferView2.C: remove file, move contents to...
11417         * BufferView.C: ... here
11418
11419         * BufferView_pimpl.C:
11420         * factory.C: move more inset creation to factory
11421
11422         * vspace.C: avoid direct usage of LyXText, ws changes
11423
11424         * BufferView.[Ch]:
11425                 don't provide direct access to WorkArea, use two simple
11426                 acessors haveSelction() and workHeight() instead
11427
11428
11429 2002-08-29  John Levon  <levon@movementarian.org>
11430
11431         * BufferView_pimpl.C (dispatch): do not continue when
11432           no buffer
11433
11434 2002-08-28  André Pönitz <poenitz@gmx.net>
11435
11436         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11437
11438         * BufferView.h:
11439         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11440
11441 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11442
11443         * buffer.C: increment LYX_FORMAT to 221
11444
11445         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11446         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11447
11448         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11449
11450         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11451
11452 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11453
11454         * factory.C (createInset): use LyXTextClass::floats
11455
11456         * MenuBackend.C (expandFloatListInsert):
11457         (expandFloatInsert):
11458         (expandToc):
11459
11460         * text2.C (setCounter):
11461
11462         * LaTeXFeatures.C (useFloat):
11463         (getFloatDefinitions):
11464
11465         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11466
11467         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11468         floatlist_, with accessor floats().
11469
11470         * FloatList.h: remove global FloatList
11471
11472 2002-08-26  André Pönitz <poenitz@gmx.net>
11473
11474         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11475
11476         * BufferView.h:
11477         * BufferView2.C:
11478         * BufferView_pimpl.C:
11479         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11480
11481 2002-08-25  John Levon  <levon@movementarian.org>
11482
11483         * LyXAction.C: fix margin note description
11484
11485 2002-08-24  John Levon  <levon@movementarian.org>
11486
11487         * buffer.C:
11488         * bufferlist.C:
11489         * bufferview_funcs.C:
11490         * lyxfont.C:
11491         * undo_funcs.C: cleanups
11492
11493         * lyxfunc.C: disable CUT/COPY when no selection
11494
11495 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11496
11497         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11498         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11499
11500         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11501         Add backward compatibility to "mono", "gray" and "no".
11502
11503 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11504
11505         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11506         (and file_format >= 200).
11507
11508 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11509
11510         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11511
11512 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11513
11514         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11515
11516 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11517
11518         * BufferView_pimpl.C:
11519         * LyXAction.C:
11520         * buffer.C:
11521         * commandtags.h:
11522         * lyxfunc.C:
11523         * paragraph.[Ch]:
11524         * text2.C:
11525         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11526         inset and code to make it  work with the paragraph code. The inset
11527         can be anywhere in the paragraph, but will only do the expected
11528         thing in LaTeX if the layout file contains the parameter line
11529                         OptionalArgs    1
11530         (or more generally, a nonzero value) for that layout.
11531
11532 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11533
11534         * paragraph.h: remove the declaration of undefined counters class
11535         function.
11536
11537 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11538
11539         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11540         Dr. Richard Hawkins.
11541
11542 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11543
11544         * paragraph_funcs.h: remove some unneeded includes
11545
11546         * text.C (backspace): pasteParagraph now in global scipe
11547
11548         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11549         (pasteSelection): ditto
11550
11551         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11552         * paragraph_funcs.C (pasteParagraph): ... here
11553
11554 2002-08-20  André Pönitz <poenitz@gmx.net>
11555
11556         * commandtags.h: new LFUNs for swapping/copying table row/colums
11557
11558         * LyXAction.C:
11559         * lyxfunc.C: support for new lfuns
11560
11561 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11562
11563         * tabular.C:
11564         * buffer.[Ch]: remove NO_COMPABILITY stuff
11565
11566 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11567
11568         * boost.C (throw_exception): new file, with helper function for
11569         boost compiled without exceptions.
11570
11571         * paragraph.h:
11572         * lyxlength.C:
11573         * buffer.C:
11574         * ParameterStruct.h:
11575         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11576
11577         * bufferlist.C (emergencyWriteAll): use boost bind
11578
11579         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11580
11581         * text.C: include paragraph_funcs.h
11582         (breakParagraph): breakParagraph is now in global scope
11583
11584         * paragraph_funcs.[Ch]: new files
11585
11586         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11587         global scope
11588
11589         * buffer.C: include paragraph_funcs.h
11590         (insertStringAsLines): breakParagraph is now in global scope
11591
11592         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11593         paragraph_funcs.C
11594
11595         * CutAndPaste.C: include paragraph_funcs.h
11596         (cutSelection): breakParagraphConservative is now in global scope
11597         (pasteSelection): ditto
11598
11599         * buffer.h: declare oprator== and operator!= for
11600         Buffer::inset_iterator
11601
11602         * bufferlist.C (emergencyWrite): don't use fmt(...)
11603
11604         * text3.C: add using std::endl
11605
11606         * BufferView.C (moveCursorUpdate): remove default arg
11607
11608 2002-08-20  André Pönitz <poenitz@gmx.net>
11609
11610         * buffer.[Ch]: move inline functions to .C
11611
11612         * BufferView2.C:
11613         * BufferView_pimpl.C:
11614         * text.C:
11615         * buffer.[Ch]: use improved inset_iterator
11616
11617         * buffer.C:
11618         * paragraph.[Ch]: write one paragraph at a time
11619
11620 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11621
11622         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11623         style if style is not specified.
11624
11625 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11626
11627         * text2.C (setCounter): when searching for right label for a
11628         caption, make sure to recurse to parent insets (so that a caption
11629         in a minipage in a figure float works) (bug #568)
11630
11631 2002-08-20  André Pönitz <poenitz@gmx.net>
11632
11633         * text3.C: new file for LyXText::dispatch() and helpers
11634
11635         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11636
11637         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11638
11639 2002-08-19  André Pönitz <poenitz@gmx.net>
11640
11641         * lyxtext.h:
11642         * text.C: new LyXText::dispatch()
11643
11644         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11645
11646 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11647
11648         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11649
11650         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11651         Hebrew text.
11652
11653 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11654
11655         * Makefile.am: use $(variables) instead of @substitutions@
11656
11657 2002-08-15  André Pönitz <poenitz@gmx.net>
11658
11659         * lyxfunc.C:
11660         * BufferView_pimpl.C: streamlining mathed <-> outer world
11661         interaction
11662
11663         * commandtags.h:
11664         * LyXAction.C: remove unused LFUN_MATH
11665
11666 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11667
11668         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11669
11670 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11671
11672         * paragraph.C (Paragraph): reformat a bit
11673         (cutIntoMinibuffer): use builtin InsetList function instad of
11674         doing it manually.
11675         (getInset): ditto
11676
11677         * buffer.C: include boost/bind.hpp, add using std::for_each
11678         (writeFileAscii): use ParagraphList iterators
11679         (validate): use for_each for validate traversal of paragraphs
11680         (getBibkeyList): use ParagraphList iterators
11681         (resizeInsets): use for_each to resizeInsetsLyXText for all
11682         paragraphs.
11683         (getParFromID): use ParagraphList iterators
11684
11685         * BufferView2.C (lockInset): use paragraph list and iterators
11686
11687 2002-08-14  John Levon  <levon@movementarian.org>
11688
11689         * lyxserver.C: remove spurious xforms include
11690
11691 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11692
11693         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11694
11695 2002-08-13  André Pönitz <poenitz@gmx.net>
11696
11697         * LyXAction.[Ch]:
11698         * lyxfunc.C: further cleaning
11699
11700 2002-08-13  André Pönitz <poenitz@gmx.net>
11701
11702         * funcrequest.h: new constructor
11703
11704         * funcrequest.C: move stuff here from .h
11705
11706         * Makefile.am:
11707         * BufferView_pimpl.C:
11708         * LyXAction.C:
11709         * toc.C:
11710         * lyxfunc.C: subsequent changes
11711
11712         * lyxfunc.h: new view() member function
11713
11714         * lyxfunc.C: subsequent changes
11715
11716 2002-08-13  Angus Leeming  <leeming@lyx.org>
11717
11718         * BufferView2.C:
11719         * BufferView_pimpl.C:
11720         * buffer.C:
11721         * converter.C:
11722         * importer.C:
11723         * lyxfunc.C:
11724         * lyxvc.C:
11725         * toc.C:
11726         * vc-backend.C:
11727         changes due to the changed LyXView interface that now returns references
11728         to member variables not pointers.
11729
11730 2002-08-13  Angus Leeming  <leeming@lyx.org>
11731
11732         * WordLangTuple (word, lang_code): return references to strings,
11733         not strings.
11734
11735         * BufferView.h:
11736         * SpellBase.h:
11737         * lyxtext.h: forward-declare WordLangTuple.
11738
11739         * BufferView2.C:
11740         * ispell.C:
11741         * pspell.C:
11742         * text.C: #include "WordLangTuple.h".
11743
11744         * lyxtext.h:
11745         * text.C: (selectNextWordToSpellcheck): constify return type.
11746
11747 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11748
11749         * buffer.C:
11750         * buffer.h:
11751         * lyxtext.h:
11752         * paragraph.C:
11753         * paragraph_pimpl.h:
11754         * text.C:
11755         * text2.C:
11756         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11757         suggested by Angus.
11758         Made updateCounter always count from start of buffer, and removed
11759         second argument (par).
11760         Reverted floats number display to '#'. Perhaps I'll try again when the
11761         code base is sanitized a bit.
11762
11763 2002-08-12  Angus Leeming  <leeming@lyx.org>
11764
11765         * buffer.[Ch] (getLabelList): constify.
11766
11767 2002-08-07  André Pönitz <poenitz@gmx.net>
11768
11769         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11770
11771         * funcrequest.h: extension to keep mouse (x,y) position
11772
11773 2002-08-12  Juergen Vigna  <jug@sad.it>
11774
11775         * BufferView2.C (insertErrors): forbid undo when inserting error
11776         insets.
11777
11778         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11779
11780 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11781
11782         * ParagraphList.[Ch]: new files
11783
11784         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11785
11786         * BufferView2.C (lockInset): ParagraphList changes
11787         * toc.C: ditto
11788         * text2.C: ditto
11789         * bufferlist.C: ditto
11790         * buffer.h: ditto
11791         * buffer.C: ditto
11792
11793 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11794
11795         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11796         unused class variable counter_,
11797
11798         * paragraph.[Ch] (getFirstCounter): delete unused function
11799
11800         * counters.C: include LAssert.h
11801         (reset): add a new function with no arg, change other version to
11802         not have def. arg and to not allow empty arg.
11803
11804         * text2.C (setCounter): remove empty arg from call to Counters::reset
11805
11806 2002-08-11  John Levon  <levon@movementarian.org>
11807
11808         * Makefile.am: add WordLangTuple.h
11809
11810 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11811
11812         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11813         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11814
11815         * insets/insettext.C: InsetList changes
11816
11817         * graphics/GraphicsSupport.C (operator()): InsetList changes
11818
11819         * toc.C (getTocList): InsetList changes
11820
11821         * paragraph_pimpl.[Ch]: InsetList changes
11822
11823         * paragraph.[Ch]: InsetList changes
11824
11825         * buffer.C (inset_iterator): InsetList changes
11826         (setParagraph): ditto
11827         * buffer.h (inset_iterator): ditto
11828         * iterators.C (operator++): ditto
11829         * iterators.h: ditto
11830
11831         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11832
11833         * InsetList.[Ch]: new files, most InsetList handling moved out of
11834         paragraph.C.
11835
11836         * BufferView2.C (removeAutoInsets): InsetList changes
11837         (lockInset): ditto
11838         (ChangeInsets): ditto
11839
11840 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11841
11842         * paragraph_pimpl.h (empty): new function
11843
11844         * paragraph.[Ch] (empty): new function
11845
11846         * other files: use the new Paragraph::empty function
11847
11848 2002-08-09  John Levon  <levon@movementarian.org>
11849
11850         * lyxtext.h: remove unused refresh_height
11851
11852 2002-08-09  John Levon  <levon@movementarian.org>
11853
11854         * Makefile.am:
11855         * sgml.h:
11856         * sgml.C:
11857         * buffer.C:
11858         * paragraph.h:
11859         * paragraph.C: move sgml char escaping out of paragraph
11860
11861         * paragraph.h:
11862         * paragraph.C: remove id setter
11863
11864         * buffer.C:
11865         * paragraph.C:
11866         * paragraph_pimpl.C: remove dead tex_code_break_column
11867
11868         * bufferview_funcs.C: small cleanup
11869
11870         * lyxfunc.C: remove dead proto
11871
11872         * lyxtext.h: make some stuff private. Remove some dead stuff.
11873
11874         * lyxgluelength.C: make as[LyX]String() readable
11875
11876 2002-08-08  John Levon  <levon@movementarian.org>
11877
11878         * LyXAction.h:
11879         * LyXAction.C:
11880         * MenuBackend.C:
11881         * ToolbarDefaults.C:
11882         * lyxfunc.C:
11883         * lyxrc.C:
11884         * toc.C: lyxaction cleanup
11885
11886 2002-08-08  John Levon  <levon@movementarian.org>
11887
11888         * BufferView2.C: small cleanup
11889
11890         * lyxfind.h:
11891         * lyxfind.C: move unnecessary header into the .C
11892
11893 2002-08-08  John Levon  <levon@movementarian.org>
11894
11895         * funcrequest.h: just tedious nonsense
11896
11897         * lyx_main.h:
11898         * lyx_main.C: cleanups
11899
11900         * buffer.C:
11901         * vspace.C: remove dead header lyx_main.h
11902
11903 2002-08-07  Angus Leeming  <leeming@lyx.org>
11904
11905         * Paragraph.[Ch]:
11906         * paragraph_pimpl.h:
11907         Forward declare class Counters in paragraph.h by moving the ctrs member
11908         variable into Paragraph::Pimpl.
11909         (counters): new method, returning a reference to pimpl_->ctrs.
11910
11911         * text2.C: ensuing changes.
11912
11913 2002-08-07  John Levon  <levon@movementarian.org>
11914
11915         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11916
11917         * BufferView_pimpl.C: announce X selection on double/triple
11918           click
11919
11920         * lyx_main.C: use correct bool in batch dispatch
11921
11922         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11923
11924 2002-08-07  André Pönitz <poenitz@gmx.net>
11925
11926         * funcrequest.h: new class to wrap a kb_action and its argument
11927
11928         * BufferView.[Ch]:
11929         * BufferView_pimpl[Ch]:
11930         * LaTeX.C:
11931         * LyXAction.[Ch]:
11932         * lyxfunc.[Ch]:
11933         * lyxrc.C: subsequent changes
11934
11935
11936 2002-08-07  John Levon  <levon@movementarian.org>
11937
11938         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11939           document options change.
11940
11941 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11942
11943         * counters.[Ch]
11944         * text2.C
11945         * paragraph.[Ch]
11946         * makefile.am: move counters functionality over from
11947         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11948
11949 2002-08-06  John Levon  <levon@movementarian.org>
11950
11951         * WordLangTuple.h: new file for word + language code tuple
11952
11953         * SpellBase.h:
11954         * pspell.h:
11955         * pspell.C:
11956         * ispell.h:
11957         * ispell.C:
11958         * lyxtext.h:
11959         * text.C:
11960         * text2.C:
11961         * BufferView.h:
11962         * BufferView2.C: use WordLangTuple
11963
11964         * layout.h:
11965         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11966
11967 2002-08-06  John Levon  <levon@movementarian.org>
11968
11969         * lyx_main.C: fix cmdline batch handling
11970
11971 2002-08-06  André Pönitz <poenitz@gmx.net>
11972
11973         * lyxrc.C: set default for show_banner to true
11974
11975 2002-08-06  John Levon  <levon@movementarian.org>
11976
11977         * pspell.C: fix a crash, and allow new aspell to work
11978
11979 2002-08-06  John Levon  <levon@movementarian.org>
11980
11981         * lyxfunc.C:
11982         * kbmap.C: small cleanup
11983
11984         * vspace.h:
11985         * vspace.C: add const
11986
11987 2002-08-05  John Levon  <levon@movementarian.org>
11988
11989         * LyXAction.C: back to tabular-insert
11990
11991 2002-08-04  John Levon  <levon@movementarian.org>
11992
11993         * BufferView.h:
11994         * BufferView.C: cosmetic change
11995
11996         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11997
11998         * bufferlist.C:
11999         * buffer.h:
12000         * buffer.C:
12001         * lyxcb.h:
12002         * lyxcb.C:
12003         * lyxserver.C:
12004         * lyxvc.C:
12005         * vc-backend.C:
12006         * BufferView2.C: purge all "Lyx" not "LyX" strings
12007
12008         * lyxcursor.h:
12009         * lyxcursor.C: attempt to add some documentation
12010
12011         * lyxfunc.C:
12012         * commandtags.h:
12013         * LyXAction.C:
12014         * ToolbarDefaults.C:
12015         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
12016           merge with LFUN_TABULAR_INSERT
12017
12018         * Makefile.am:
12019         * SpellBase.h:
12020         * ispell.h:
12021         * ispell.C:
12022         * pspell.h:
12023         * pspell.C: split up i/pspell implementations into separate
12024           files, many cleanups
12025
12026         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
12027
12028         * text2.C: some cleanup
12029
12030         * lyxfunc.C: don't check for isp_command == "none" any more, it
12031           didn't make any sense
12032
12033 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
12034
12035         * counters.[Ch]
12036         * text2.C
12037         * paragraph.[Ch]
12038         * makefile.am: move counters functionality over
12039         from text2.C/paragraph.[Ch] to counters.[Ch], and
12040         make proper C++.
12041 2002-08-02  John Levon  <levon@movementarian.org>
12042
12043         * buffer.C: s/lyxconvert/lyx2lyx/
12044
12045 2002-08-02  Angus Leeming  <leeming@lyx.org>
12046
12047         * lyxlex.C: revert John's change as it breaks reading of the user
12048         preamble.
12049
12050 2002-08-02  Angus Leeming  <leeming@lyx.org>
12051
12052         * importer.C (Import):
12053         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
12054         changes due to LyXView::view() now returning a boost::shared_ptr.
12055
12056 2002-08-02  John Levon  <levon@movementarian.org>
12057
12058         * lyxlex.C: small cleanup
12059
12060 2002-08-02  John Levon  <levon@movementarian.org>
12061
12062         * text2.C (status): small cleanup, no logic change
12063
12064 2002-08-01  John Levon  <levon@movementarian.org>
12065
12066         * buffer.h:
12067         * buffer.C (writeFile): don't output alerts, caller
12068           handles this
12069
12070         * bufferlist.C:
12071         * lyx_cb.C: from above
12072
12073         * lyxfunc.C: allow to open non-existent files
12074
12075 2002-07-31  John Levon  <levon@movementarian.org>
12076
12077         * lyxserver.C: don't let incidental errors get
12078           in the way (errno)
12079
12080 2002-07-30  John Levon  <levon@movementarian.org>
12081
12082         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
12083
12084 2002-07-30  John Levon  <levon@movementarian.org>
12085
12086         * lyxserver.h:
12087         * lyxserver.C: remove I/O callback too
12088
12089 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12090
12091         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
12092         log.
12093
12094 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
12095
12096         * many files: strip,frontStrip -> trim,ltrim,rtrim
12097
12098 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
12099
12100         * PrinterParams.h: remove extern containsOnly, and include
12101         support/lstrings.h instead.
12102
12103         * LaTeX.C (scanAuxFile): modify because of strip changes
12104         (deplog): ditto
12105         * buffer.C (makeLaTeXFile): ditto
12106         * bufferparams.C (writeFile): ditt
12107         * lyxfont.C (stateText): ditto
12108         * lyxserver.C (read_ready): ditto
12109         * vc-backend.C (scanMaster): ditto
12110
12111         * BufferView_pimpl.h: ws changes
12112
12113         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
12114
12115 2002-07-26  André Pönitz <poenitz@gmx.net>
12116
12117         * kb_sequence.C: remove unnedred usings
12118
12119 2002-07-26  Juergen Vigna  <jug@sad.it>
12120
12121         * lyxfind.C (LyXReplace): we have to check better if the returned
12122         text is not of theLockingInset()->getLockingInset().
12123
12124 2002-07-25  Juergen Vigna  <jug@sad.it>
12125
12126         * lyxfind.C (LyXReplace): don't replace if we don't get the
12127         right LyXText.
12128
12129         * undo_funcs.C (createUndo): remove debugging code.
12130
12131 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12132
12133         * buffer.C (parseSingleLyXformat2Token): Use default placement
12134         when reading old floats.
12135
12136         * FloatList.C (FloatList): Change the default placement of figure
12137         and tables to "tbp".
12138
12139 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12140
12141         * MenuBackend.C: using std::max
12142
12143 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12144
12145         * MenuBackend.C (expandToc):
12146         (expandToc2): code moved from xforms menu frontend. It is now
12147         generic and TOCs are transparent to menu frontends.
12148
12149 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12150
12151         * toc.C (getTocList): protect against buf=0
12152
12153         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12154         Menu as first parameter. Now, this calls itself recursively to
12155         expand a whole tree (this will be useful for TOC handling)
12156         (expandFloatInsert): remove 'wide' version of floats
12157
12158         * MenuBackend.h (submenuname): returns the name of the submenu.
12159         (submenu): returns the submenu itself, provided it has been
12160         created by MenuBackend::expand
12161
12162 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12163
12164         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12165         insets which have noFontChange == true. (bug #172)
12166
12167 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12168
12169         * BufferView_pimpl.C: add connection objects and use them...
12170         (Pimpl): here.
12171
12172 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12173
12174         * MenuBackend.C (expandLastfiles):
12175         (expandDocuments):
12176         (expandFormats):
12177         (expandFloatListInsert):
12178         (expandFloatInsert):
12179         (expand): split expand in parts
12180
12181 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12182
12183         * lyx_gui.C: use lyx_gui::exit()
12184
12185 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12186
12187         * LyXAction.C: show the failing pseudo action
12188
12189 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12190
12191         * buffer.C (readFile): Run the lyxconvert script in order to read
12192         old files.
12193
12194 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12195
12196         * LyXAction.C:
12197         * commandtags.h:
12198         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12199
12200 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12201
12202         * LyXAction.C:
12203         * commandtags.h:
12204         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12205
12206 2002-07-22  Herbert Voss  <voss@lyx.org>
12207
12208         * lengthcommon.C:
12209         * lyxlength.[Ch]: add support for the vertical lengths
12210
12211 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12212
12213         * toc.[Ch]: std:: fixes
12214
12215 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12216
12217         * lyxrc.C: do not include lyx_main.h
12218
12219         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12220         for layouts
12221
12222         * lyxrc.C:
12223         * encoding.C:
12224         * bufferlist.C:
12225         * BufferView2.C: include "lyxlex.h"
12226
12227         * tabular.h:
12228         * bufferparams.h: do not #include "lyxlex.h"
12229
12230         * lyxtextclasslist.C (Add): remove method
12231         (classlist): renamed to classlist_
12232
12233         * paragraph_pimpl.C:
12234         * paragraph.C:
12235         * text2.C:
12236         * CutAndPaste.C:
12237         * bufferview_funcs.C:
12238         * bufferlist.C:
12239         * text.C:
12240         * LaTeXFeatures.C:
12241         * buffer.C:
12242         * toc.C (getTocList): use BufferParams::getLyXTextClass
12243
12244         * toc.C (getTocList): use InsetFloat::addToToc
12245
12246         * toc.[Ch]: new files, containing helper functions to handle table
12247         of contents
12248
12249         * lyxfunc.C (dispatch): no need to remove spaces around command
12250         given as a string
12251         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12252         first command of the sequence; it is not very clever, but I do not
12253         have a better idea, actually
12254
12255         * LyXAction.C (LookupFunc): make sure to remove space at the
12256         beginning and end of the command
12257
12258 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12259
12260         * MenuBackend.C (getMenubar): new method: return the menubar of
12261         this menu set
12262         (read): treat differently reading of menu and menubar (in
12263         particular, the menubar has no name now)
12264         (Menu::menubar): remove
12265
12266         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12267         saving is finished
12268
12269 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12270
12271         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12272         a bibitem inset in a RTL paragraph.
12273
12274 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12275
12276         * paragraph_pimpl.C: constify
12277
12278         * BufferView_pimpl.C:
12279         * LaTeX.C:
12280         * lyxfunc.C: fix dispatch in a nicer way
12281
12282 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12283
12284         * lyxfunc.C (dispatch):
12285         * BufferView_pimpl.C:
12286         * BufferView_pimpl.h:
12287         * BufferView.C:
12288         * BufferView.h: rename Dispatch() to dispatch()
12289
12290         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12291
12292         * lyxlayout.C (Read): honor DependsOn tag
12293
12294         * lyxlayout.[Ch] (depends_on): new method
12295
12296         * version.C.in: update lyx_docversion
12297
12298         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12299
12300         * paragraph.C (validate): remove from here...
12301         * paragraph_pimpl.C (validate): ... and move here
12302         (isTextAt): make it const
12303
12304         * buffer.C (getLists): ws cleanup
12305
12306 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12307
12308         * language.C (read): Use iso8859-1 encoding in latex_lang
12309         (this prevents LyX from crashing when using iso10646-1 encoding).
12310
12311 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12312
12313         * text2.C (toggleInset): if cursor is inside an inset, close the
12314         inset and leave cursor _after_ it
12315
12316 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12317
12318         * lyxfunc.C: move minibuffer completion handling out of here
12319
12320 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12321
12322         * BufferView_pimpl.C:
12323         * LaTeX.C: fix dispatch calls
12324
12325 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12326
12327         * text.C (drawChars): Fix Arabic text rendering.
12328
12329 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12330
12331         * LyXAction.C:
12332         * commandtags.h:
12333         * lyxfunc.C: remove message-push/pop
12334
12335         * lyxserver.C:
12336         * lyxfunc.h:
12337         * lyxfunc.C: rationalise some code by removing verboseDispatch
12338           in favour of a bool argument to dispatch()
12339
12340 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12341
12342         * lyx_main.C (init): make sure to read symlinks as absolute paths
12343
12344 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12345
12346         * lyxfunc.h:
12347         * lyxfunc.C: no need for commandshortcut to be a member
12348
12349 2002-07-15  André Pönitz <poenitz@gmx.net>
12350
12351         * converter.C: add support for $$s (scripts from lib/scripts dir)
12352         * lyx_main.C: white space
12353
12354 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * bufferlist.C:
12357         * lyxrc.h:
12358         * lyxrc.C: remove second exit confirmation
12359
12360 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12361
12362         * BufferView.h:
12363         * BufferView.C:
12364         * BufferView2.C:
12365         * BufferView_pimpl.h:
12366         * BufferView_pimpl.C:
12367         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12368
12369 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12370
12371         * MenuBackend.C (expand): add numeric shortcuts to document menu
12372
12373         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12374
12375 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12376
12377         * lyxfont.C (setLyXFamily):
12378         (setLyXSeries):
12379         (setLyXShape):
12380         (setLyXSize):
12381         (setLyXMisc):
12382         (lyxRead):
12383         * debug.C (value):
12384         * buffer.C (asciiParagraph): use ascii_lowercase
12385
12386 2002-07-15  Mike Fabian  <mfabian@suse.de>
12387
12388         * lyxlex_pimpl.C (search_kw):
12389         * lyxlex.C (getLongString):
12390         * converter.h (operator<):
12391         * converter.C (operator<):
12392         * buffer.C (parseSingleLyXformat2Token):
12393         (asciiParagraph):
12394         * ToolbarDefaults.C (read):
12395         * MenuBackend.C (checkShortcuts):
12396         (read):
12397         * LColor.C (getFromGUIName):
12398         (getFromLyXName): use the compare_ascii_no_case instead of
12399         compare_no_case, because in turkish, 'i' is not the lowercase
12400         version of 'I', and thus turkish locale breaks parsing of tags.
12401
12402 2002-07-16  Angus Leeming  <leeming@lyx.org>
12403
12404         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12405         now takes a Buffer const & argument.
12406
12407 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * BufferView.C (resize): check there's a buffer to resize
12410
12411 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12412
12413         * lyxfunc.C: remove dead code
12414
12415         * lyxserver.h:
12416         * lyxserver.C: use lyx_guii::set_read_callback
12417
12418 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12419
12420         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12421         an inset in a RTL paragraph.
12422
12423 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12424
12425         * lyxfunc.C: repaint after a font size update
12426
12427 2002-07-15  André Pönitz <poenitz@gmx.net>
12428
12429         * lyxlength.C: inBP should be able to return negative values
12430
12431 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12432
12433         * lyxfunc.C: use lyx_gui::update_fonts()
12434
12435 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12436
12437         * lyxfunc.C: use lyx_gui::update_color()
12438
12439 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12440
12441         * bufferlist.C:
12442         * lyxfunc.h:
12443         * lyxfunc.C:
12444         * lyxrc.h:
12445         * lyxrc.C: remove file->new asks for name option, and let
12446           buffer-new take an argument
12447
12448 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * BufferView_pimpl.C: remove unneeded extra repaint()
12451
12452 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * LyXAction.C: allow command-sequence with NoBuffer
12455
12456         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12457
12458 2002-07-10  Angus Leeming  <leeming@lyx.org>
12459
12460         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12461
12462 2002-07-09  Angus Leeming  <leeming@lyx.org>
12463
12464         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12465
12466 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12467
12468         * lengthcommon.h: whitespace
12469
12470         * lyxfunc.C: update scrollbar after goto paragraph
12471
12472         * lyxtext.h: factor out page break drawing, and fix it so
12473           page break/added space paints as selected nicely
12474
12475 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12476
12477         * BufferView_pimpl.C: add FIXMEs, clean up a little
12478
12479 2002-07-09  André Pönitz <poenitz@gmx.net>
12480
12481         * lyxfont.[Ch]: support for wasy symbols
12482
12483 2002-07-08  André Pönitz <poenitz@gmx.net>
12484
12485         * BufferView_pimpl.C: apply John's patch for #93.
12486
12487 2002-07-05  Angus Leeming  <leeming@lyx.org>
12488
12489         * BufferView_pimpl.C (buffer): generate previews if desired.
12490
12491         * LColor.h: add "preview" to the color enum.
12492
12493         * LColor.C (LColor): add a corresponding entry to the items array.
12494
12495         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12496         with this buffer.
12497
12498 2002-07-05  Angus Leeming  <leeming@lyx.org>
12499
12500         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12501         The body of the code is now in the method that is passed an ostream &
12502         rather than a file name.
12503         Pass an additional only_preamble parameter, useful for the forthcoming
12504         preview stuff.
12505
12506 2002-07-03  André Pönitz <poenitz@gmx.net>
12507
12508         * lyxfunc.C: simplify getStatus() a bit for math stuff
12509
12510 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12511
12512         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12513
12514 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12515
12516         * text.C (changeRegionCase): do not change case of all the
12517         document when region ends at paragraph end (bug #461)
12518
12519 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12520
12521         * paragraph.C (startTeXParParams):
12522         (endTeXParParams): add \protect when necessary
12523
12524 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12525
12526         * BufferView_pimpl.C (workAreaExpose): remove warning
12527
12528 2002-06-27  Angus Leeming  <leeming@lyx.org>
12529
12530         * Makefile.am: add lyxlayout_ptr_fwd.h.
12531
12532 2002-06-26  André Pönitz <poenitz@gmx.net>
12533
12534         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12535
12536 2002-06-25  Angus Leeming  <leeming@lyx.org>
12537
12538         * lyxfunc.C (dispatch): Comment out the call to
12539         grfx::GCache::changeDisplay. The method no longer exists now that the
12540         pixmap generation part of the graphics loader has been moved into
12541         InsetGraphics.
12542
12543 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12544
12545         * text2.C: layout as layout
12546
12547         * text.C: layout as layout
12548
12549         * tabular.C (OldFormatRead): layout as layout
12550
12551         * paragraph_pimpl.C (TeXDeeper): layout as layout
12552         (realizeFont): layout as layout
12553
12554         * paragraph.C (writeFile): layout as layout
12555         (validate): layout as layout
12556         (getFont): layout as layout
12557         (getLabelFont): layout as layout
12558         (getLayoutFont): layout as layout
12559         (breakParagraph): layout as layout
12560         (stripLeadingSpaces): layout as layout
12561         (getEndLabel): layout as layout
12562         (getMaxDepthAfter): layout as layout
12563         (applyLayout): layout as layout
12564         (TeXOnePar): layout as layout
12565         (simpleTeXOnePar): layout as layout
12566         (TeXEnvironment): layout as layout
12567         (layout): layout as layout
12568         (layout): layout as layout
12569
12570         * lyxtextclass.C (compare_name): new functor to work with
12571         shared_ptr, layout as layout
12572         (Read): layout as layout
12573         (hasLayout): layout as layout
12574         (operator): layout as layout
12575         (delete_layout): layout as layout
12576         (defaultLayout): layout as layout
12577
12578         * lyxlayout_ptr_fwd.h: new file
12579
12580         * lyxlayout.C (Read): layout as layout
12581
12582         * lyx_cb.C (MenuInsertLabel): layout as layout
12583
12584         * bufferlist.C (newFile): layout as layout
12585
12586         * buffer.C (readLyXformat2): layout as layout
12587         (parseSingleLyXformat2Token): layout as layout
12588         (insertStringAsLines): layout as layout
12589         (asciiParagraph): layout as layout
12590         (latexParagraphs): layout as layout
12591         (makeLinuxDocFile): layout as layout
12592         (simpleLinuxDocOnePar): layout as layout
12593         (makeDocBookFile): layout as layout
12594         (simpleDocBookOnePar): layout as layout
12595         (getLists): layout as layout
12596
12597         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12598
12599         * CutAndPaste.C (cutSelection): layout as layout
12600         (pasteSelection): layout as layout
12601         (SwitchLayoutsBetweenClasses): layout as layout
12602
12603         * BufferView_pimpl.C (Dispatch): layout as layout
12604         (smartQuote): layout as layout
12605
12606         * BufferView2.C (unlockInset): layout as layout
12607
12608 2002-06-24  André Pönitz <poenitz@gmx.net>
12609
12610         * lyxfunc.C: fix #487
12611
12612 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12613
12614         * lyxrc.h:
12615         * lyxrc.C:
12616         * lyxfunc.C: remove display_shortcuts, show_banner
12617
12618 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12619
12620         * Buffer_pimpl.C: oops, update on resize
12621
12622 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12623
12624         * buffer.C:
12625         * converter.C:
12626         * exporter.C:
12627         * lyxfunc.C:
12628         * BufferView.h:
12629         * BufferView.C: use repaint()
12630
12631         * BufferView_pimpl.h:
12632         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12633           as it's a clearer description. Remove superfluous
12634           redraws.
12635
12636 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12637
12638         * text.C: fix bug 488. Not ideal, but getting
12639           getWord() to work properly for the insets that
12640           matter is more difficult ...
12641
12642 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * BufferView_pimpl.C:
12645         * LyXAction.C:
12646         * commandtags.h:
12647         * lyxfunc.C: remove the six million index lyxfuncs to just
12648           one, and DTRT (bug 458)
12649
12650 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12651
12652         * BufferView.h:
12653         * BufferView.C:
12654         * BufferView_pimpl.h:
12655         * BufferView_pimpl.C: clean up resize() stuff,
12656           and unnecessary updateScreen()s
12657
12658 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12659
12660         * BufferView.h:
12661         * BufferView.C:
12662         * BufferView_pimpl.h:
12663         * BufferView_pimpl.C:
12664         * lyxfind.h:
12665         * lyxfind.C:
12666         * minibuffer.C: remove focus management of workarea,
12667           not needed. Use screen's greyOut()
12668
12669 2002-06-17  Herbert Voss  <voss@lyx.org>
12670
12671         * converter.C: (convert) do not post a message, when converting
12672         fails, let the calling function decide what to do in this case
12673
12674 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12675
12676         * lyxfunc.C: tidy up a little
12677
12678 2002-06-16    <alstrup@diku.dk>
12679
12680         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12681         Got rid of FORMS_H_LOCATION include. Now we are
12682         GUII.
12683
12684 2002-06-15  LyX Development team  <lyx@rilke>
12685
12686         * buffer.[Ch] (sgmlOpenTag):
12687         (sgmlCloseTag): Added support for avoiding pernicious mixed
12688         content. Return number of lines written.
12689
12690         (makeLinuxDocFile):
12691         (makeDocBookFile): Fixed calls to sgml*Tag.
12692         Simple white space clean.
12693
12694         (simpleDocBookOnePar): Simple white space clean.
12695
12696         * tabular.[Ch] (docBook): Renamed to docbook and got another
12697         argument to related with the pernicious mixed content.
12698
12699         (docbookRow): Fixed calls for docbook inset method.
12700
12701 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12702
12703         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12704         so it's X11 independent.
12705
12706         * kb*.[Ch]: ditto.
12707
12708         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12709
12710 2002-06-15  Lyx Development team  <lyx@electronia>
12711
12712         * intl.h: Renamed getTrans to getTransManager.
12713
12714 2002-06-14  Angus Leeming  <leeming@lyx.org>
12715
12716         * Makefile.am: nuke forgotten stl_string_fwd.h.
12717
12718 2002-06-12  Angus Leeming  <leeming@lyx.org>
12719
12720         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12721
12722 2002-06-13  Angus Leeming  <leeming@lyx.org>
12723
12724         * LaTeX.C:
12725         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12726
12727 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12728
12729         * kbmap.C (getiso): add support for cyrillic and greek
12730
12731 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * BufferView.h:
12734         * BufferView.C:
12735         * BufferView_pimpl.h:
12736         * BufferView_pimpl.C: move bogus scrolling logic
12737           to xforms
12738
12739 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12740
12741         * lyxfunc.C:
12742         * BufferView_pimpl.C: view->resize() change
12743
12744 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * BufferView_pimpl.C: topCursorVisible
12747           prototype change
12748
12749 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12750
12751         * Makefile.am:
12752         * lyx_gui.h:
12753         * lyx_gui.C: move to frontends/
12754
12755         * main.C:
12756         * lyx_main.h:
12757         * lyx_main.C: changes from above
12758
12759 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12760
12761         * intl.C:
12762         * intl.h:
12763         * kbmap.C:
12764         * kbsequence.C:
12765         * lyx_cb.C:
12766         * lyx_main.C: minor tidy
12767
12768 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12769
12770         * BufferView_pimpl.h:
12771         * BufferView_pimpl.C:
12772         * BufferView.h:
12773         * BufferView.C: make painter() const,
12774           remove dead code
12775
12776         * BufferView2.C: use screen() accessor
12777
12778         * lyx_main.h:
12779         * lyx_main.C: some minor cleanup
12780
12781 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12782
12783         * BufferView_pimpl.h:
12784         * BufferView_pimpl.C: remove enter/leaveView,
12785           use workHeight()
12786
12787 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12788
12789         * BufferView.h:
12790         * BufferView.C:
12791         * BufferView2.C:
12792         * BufferView_pimpl.h:
12793         * BufferView_pimpl.C: only construct screen once,
12794           rename
12795
12796         * lyxrc.C: remove pointless comment
12797
12798 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12799
12800         * BufferView.h:
12801         * BufferView.C: remove active() and belowMouse()
12802
12803         * BufferView_pimpl.h:
12804         * BufferView_pimpl.C: use workarea() not workarea_,
12805           and make it use a scoped_ptr instead
12806
12807 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12808
12809         * lyx_gui.C: add debug message on BadWindow
12810
12811 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * sp_spell.C: fdopen is not part of the C++ standard.
12814
12815         * paragraph.C (InsetIterator): use >= instead of ==
12816
12817 2002-06-07  Angus Leeming  <leeming@lyx.org>
12818
12819         Fixes needed to compile with Compaq cxx 6.5.
12820         * BufferView_pimpl.C:
12821         * DepTable.C:
12822         * buffer.C:
12823         * converter.C:
12824         * encoding.C:
12825         * lyx_gui.C:
12826         * lyx_main.C:
12827         * lyxtextclasslist.C:
12828         * minibuffer.C:
12829         * sp_spell.C:
12830         * tabular_funcs.C:
12831         * vc-backend.C:
12832         all c-library variables have been moved into namespace std. Wrap
12833         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12834
12835         * lyxlength.C:
12836         * tabular-old.C:
12837         * tabular.C:
12838         Add a using std::abs declaration.
12839
12840         * kbmap.h (modifier_pair):
12841         * paragraph.h (InsetTable, InsetList):
12842         * lyxfont.h (FontBits):
12843         type definition made public.
12844
12845         * bufferlist.C (emergencyWriteAll): the compiler complains that
12846         there is more than one possible lyx::class_fun template to choose from.
12847         I re-named the void specialisation as lyx::void_class_fun.
12848
12849         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12850
12851         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12852         the compiler is is unable to find tostr in write_attribute.
12853
12854 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12855
12856         * buffer.C (sgmlError): hide #warning
12857
12858 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12859
12860         * xtl/*: get rid of xtl, which is not in use anyway
12861
12862         * LyXAction.C (init):
12863         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12864         were unimplemented xtl experimentation
12865
12866 2002-06-04  André Pönitz <poenitz@gmx.net>
12867
12868         * lyxfunc.C: disable array operation on simple formulae
12869
12870 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12871
12872         * converter.C: constify a bit
12873
12874 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12875
12876         * lyx_gui.C: check xforms version correctly
12877
12878 2002-04-30  Herbert Voss  <voss@lyx.org>
12879
12880         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12881         "keep" option
12882
12883 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12884
12885         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12886           attempt to register it with a VCS)
12887
12888 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12889
12890         * lyx_main.C (init): honor variables LYX_DIR_13x and
12891         LYX_USERDIR_13x
12892
12893 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12894
12895         * buffer.h:
12896         * buffer.C:
12897         * lyx_main.C: fix a crash on bad command line,
12898           and give a useful exit status on error
12899
12900         * lyxfunc.C (doImport): allow -i lyx to work
12901
12902 2002-03-30  André Pönitz <poenitz@gmx.net>
12903
12904         * lyxfunc.C: mathed font changes
12905
12906 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12907
12908         * LaTeX.C:
12909         * importer.h:
12910         * importer.C:
12911         * lyx_sty.h:
12912         * lyx_sty.C:
12913         * lyxlex.C:
12914         * lyxrow.h:
12915         * lyxtext.h:
12916         * paragraph.h:
12917         * paragraph.C:
12918         * texrow.h:
12919         * texrow.C:
12920         * text.C:
12921         * trans_mgr.h: srcdocs, and some minor cleanups
12922
12923 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12924
12925         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12926         call getFont all the time)
12927
12928 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12929
12930         * switch from SigC signals to boost::signals
12931
12932 2002-05-29  André Pönitz <poenitz@gmx.net>
12933
12934         * paragraph_pimpl.C (getChar): don't call size() too often...
12935
12936 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12937
12938         * paragraph_pimpl.C (insertChar): do not try to update tables when
12939         appending (pos == size())
12940
12941         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12942         in order to reduce drastically the number of comparisons needed to
12943         parse a large document
12944
12945 2002-05-29  André Pönitz <poenitz@gmx.net>
12946
12947         * text.C:
12948         * text2.C:
12949         * lyxtextclass.C:
12950         * sp_pspell.h:
12951         * textclasslist.[Ch]:
12952         * sp_ispell.h: whitespace change
12953
12954 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12955
12956         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12957         lyxaction directly now.
12958
12959 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12960
12961         * trans.C:
12962         * lyxfont.C:
12963         * lyxvc.C: remove unused headers
12964
12965 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12966
12967         * Makefile.am:
12968         * buffer.h:
12969         * undostack.h:
12970         * undostack.C:
12971         * undo_funcs.h:
12972         * undo_funcs.C: some cleanups. Use shared_ptr
12973           and a template for the undo stacks.
12974
12975 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * BufferView_pimpl.h:
12978         * BufferView_pimpl.C:
12979         * kbmap.h:
12980         * kbmap.C:
12981         * kbsequence.h:
12982         * kbsequence.C:
12983         * lyxfunc.h:
12984         * lyxfunc.C:
12985         * text2.C: use key_state/mouse_state
12986
12987 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12988
12989         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12990         and LSubstring
12991
12992         * chset.C: change include order
12993         (loadFile): use boost regex and get rid of LRegex and LSubstring
12994
12995         * Makefile.am (BOOST_LIBS): new variable
12996         (lyx_LDADD): use it
12997
12998         * LaTeX.C: change include order.
12999         (scanAuxFile): use boost regex and get rid of LRegex and
13000         LSubstring
13001         (deplog): ditto
13002
13003 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
13004
13005         * ColorHandler.h:
13006         * ColorHandler.C:
13007         * FontInfo.h:
13008         * FontInfo.C: moved to frontends/xforms/
13009
13010         * FontLoader.h:
13011         * FontLoader.C: moved into frontends for GUIIzation
13012
13013         * Makefile.am:
13014         * lyx_gui.C:
13015         * lyxfont.C:
13016         * lyxfunc.C: changes from above
13017
13018 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
13019
13020         * LColor.C: remove spurious X include
13021
13022         * BufferView_pimpl.C:
13023         * Makefile.am:
13024         * font.h:
13025         * font.C:
13026         * text.C:
13027         * text2.C: move font metrics to frontends/
13028
13029 2002-05-24  Juergen Vigna  <jug@sad.it>
13030
13031         * undo_funcs.C (textHandleUndo): fix the cursor selection after
13032         setting the undo_cursor.
13033
13034         * ParagraphParameters.h: include local includes first.
13035
13036 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13037
13038         * BufferView_pimpl.C:
13039         * BufferView_pimpl.h:
13040         * Makefile.am:
13041         * WorkArea.h:
13042         * WorkArea.C:
13043         * screen.C: move WorkArea into frontends/
13044
13045         * lyxscreen.h:
13046         * screen.C:
13047         * text.C:
13048         * BufferView.C:
13049         * BufferView2.C: move LyXScreen into frontends/
13050
13051         * lyxlookup.h:
13052         * lyxlookup.C:
13053         * lyx_gui.C: move lyxlookup into frontends/xforms/
13054
13055 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13056
13057         * BufferView2.C:
13058         * BufferView_pimpl.C:
13059         * FontLoader.C:
13060         * LyXView.h:
13061         * LyXView.C:
13062         * Makefile.am:
13063         * WorkArea.C:
13064         * XFormsView.h:
13065         * XFormsView.C:
13066         * buffer.C:
13067         * bufferlist.C:
13068         * bufferview_funcs.C:
13069         * converter.C:
13070         * importer.C:
13071         * lyx_cb.C:
13072         * lyx_gui.C:
13073         * lyx_main.C:
13074         * lyx_find.C:
13075         * lyxfunc.C:
13076         * lyxvc.C:
13077         * minibuffer.C:
13078         * text.C:
13079         * text2.C:
13080         * trans.C:
13081         * vc-backend.C: move LyX/XFormsView into frontends/
13082
13083 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
13084
13085         * Makefile.am:
13086         * PainterBase.C:
13087         * PainterBase.h:
13088         * Painter.C:
13089         * Painter.h:
13090         * WorkArea.C:
13091         * WorkArea.h:
13092         * screen.C:
13093         * tabular.C:
13094         * text.C:
13095         * text2.C: move Painter to frontends/
13096
13097 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13098
13099         * buffer.C: comment out some some code that depend upon lyx_format
13100         < 220
13101
13102         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
13103         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
13104
13105         * buffer.h (NO_COMPABILITY): turn off compability
13106
13107         * ColorHandler.C: include scoped_array.hpp
13108
13109         * font.C: Use more specific smart_ptr header.
13110         * Painter.C: ditto
13111         * gettext.C: ditto
13112         * ShareContainer.h: ditto
13113         * lyx_main.h: ditto
13114         * kbmap.h: ditto
13115         * FontInfo.h: ditto
13116         * BufferView_pimpl.h: ditto
13117         * ColorHandler.h: ditto
13118
13119         * kbmap.C (defkey): change call to shared_ptr::reset
13120
13121 2002-05-21  Juergen Vigna  <jug@sad.it>
13122
13123         * buffer.C (insertErtContents): fix to insert ert asis if it is
13124         non empty. Skip it completely if it contains only whitespaces.
13125
13126 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13127
13128         * BufferView_pimpl.C:
13129         * BufferView2.C: clear selection on paste (bug 393)
13130
13131 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13132
13133         * DepTable.C: include ctime
13134
13135 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13136
13137         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13138
13139 2002-05-14  Juergen Vigna  <jug@sad.it>
13140
13141         * text.C (breakParagraph): fixed function to honor the keepempty
13142         layout in the right maner and also to permit the right breaking
13143         algorithm on empty or non empyt keepempty paragraphs.
13144
13145         * paragraph.C (breakParagraph): we have to check also if the par
13146         is really empty (!size()) for isempty otherwise we do the wrong
13147         paragraph break.
13148
13149 2002-05-10  Juergen Vigna  <jug@sad.it>
13150
13151         * buffer.[Ch] : The following are only changes to the ert
13152         compatibility read reading old LaTeX layout and font stuff and
13153         convert it to ERTInsets.
13154
13155         * buffer.h: added isErtInset().
13156
13157         * buffer.C (struct ErtComp): add a fromlayout bool to check
13158         if we're inside a LaTeX layout.
13159         (isErtInset): new helper function.
13160         (insertErtContents): look for other ert insets before this one
13161         and insert the contents there, so that we don't have subsequent
13162         ERT insets with nothing between them. This way we create only one
13163         inset with multiple paragraphs. Also check if we don't insert only
13164         spaces ' ' as they are ignored anyway afterwards in the .tex file
13165         so if we have only spaces we will ignore this latex part in the
13166         new file.
13167         (parseSingleLyXformat2Token \\layout): better compatibility when
13168         reading layout-latex stuff.
13169         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13170         language tag.
13171         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13172         stuff after reading the inset only get the information back from
13173         the stack.
13174
13175 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13176
13177         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13178
13179         * LaTeXFeatures.C (getBabelOptions): New method.
13180
13181 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * BufferView_pimpl.C (Dispatch): work around missing argument for
13184         'layout'
13185
13186 2002-05-08  Juergen Vigna  <jug@sad.it>
13187
13188         * text.C (leftMargin): handle paragraph leftindent.
13189
13190         * paragraph.C (writeFile): write the new \\leftindent tag.
13191         (validate): handle leftindent code.
13192         (TeXEnvironment): handle paragraphleftindent code again.
13193
13194         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13195
13196         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13197         for paragrap_extra indent code and new token \\leftindent.
13198         (latexParagraphs): handle the leftindent as environment.
13199
13200         * ParameterStruct.h: added leftindent support.
13201
13202         * ParagraphParameters.C (leftIndent): added support functions for
13203         the paragraph left indent.
13204
13205         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13206         more appropriate.
13207
13208 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13209
13210         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13211         inside insetERT.
13212
13213         * text.C (computeBidiTables): No bidi in insetERT.
13214
13215         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13216         in RTL documents.
13217
13218 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13219
13220         * version.C.in: pre 5
13221
13222 2002-05-02  José Matos  <jamatos@fep.up.pt>
13223         * buffer.C (makeDocBookFile): white space changes, add newline to
13224         command styles.
13225         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13226
13227         * tabular.C (docBook): fix typo.
13228
13229 2002-05-03  Juergen Vigna  <jug@sad.it>
13230
13231         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13232         change in LyXText as we can not be sure it was not freed.
13233         (drawOneRow): remove unused code.
13234
13235         * text.C (drawInset): redo the calculation of the need_break_row as
13236         it could have a row which was already freed.
13237         (draw): look at the return value of drawInset and return false if
13238         it also returned false.
13239         (paintRowText): look at the return value of draw and return false if
13240         it also returned false.
13241
13242         * lyxtext.h: added bool return type to drawInset() and draw() so that
13243         if we have a change in the row so that the rowbreak has to be redone
13244         we abort drawing as it will be called again.
13245
13246 2002-05-02  Juergen Vigna  <jug@sad.it>
13247
13248         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13249         a change in the maintext also if we're inside an inset.
13250         (Dispatch): set the cursor again after a break line and after the
13251         screen has been updated as it could be we're in a different row.
13252
13253         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13254         to set the cursor behind the pargraph with > size().
13255         (setCursor): check also for the same paragraph when checking where
13256         to put the cursor if we have a NFR inset.
13257
13258         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13259         parts of layout read further up as it still was in the wrong
13260         position.
13261
13262 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13263
13264         * screen.C (drawFromTo): change sine fullRebreak always return
13265         true.
13266
13267         * buffer.C (parseSingleLyXformat2Token): reindent some
13268
13269         * BufferView_pimpl.C (update): change since fullRebreak always
13270         return true.
13271         (Dispatch): git rid of the last hardcoded "Standard"s.
13272
13273 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13274
13275         * text2.[Ch] (fullRebreak): make it return void now that we always
13276         returned true.
13277
13278 2002-04-30  Juergen Vigna  <jug@sad.it>
13279
13280         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13281         ert compatibility check for "latex" layout.
13282
13283 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13284
13285         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13286         minipages: use col% instead of p%, and also use the current font.
13287         (makeLaTeXFile): Fix use babel condition.
13288         (parseSingleLyXformat2Token): Correct font when reading old floats.
13289
13290 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13291
13292         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13293         inserting list of floats.
13294
13295 2002-04-25  Herbert Voss  <voss@lyx.org>
13296
13297         * MenuBackend.C (expand): don't add the graphics extensions to the
13298         export menu
13299
13300 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13301
13302         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13303         non-existing layout, do not complain if it was the default layout
13304         of the original class (bug #342)
13305
13306 2002-04-24  Juergen Vigna  <jug@sad.it>
13307
13308         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13309         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13310
13311 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13312
13313         * buffer.C (getBibkeyList): If using \bibliography, return the
13314         option field with the reference itself. Enables us to provide natbib
13315         support when using \bibliography.
13316
13317 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13318
13319         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13320
13321         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13322         natbib is provided by the LaTeX class.
13323
13324 2002-04-23  Juergen Vigna  <jug@sad.it>
13325
13326         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13327         Wakeup functions.
13328
13329         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13330
13331 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13332
13333         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13334
13335         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13336         ensuremath around textordmasculine, textordfeminine and
13337         textdegree.
13338
13339 2002-04-19  Juergen Vigna  <jug@sad.it>
13340
13341         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13342         reinitializing the buffer otherwise row-dimensions may be wrong.
13343         (update): reset also the selection cursors if they do exits otherwise
13344         their x/y positions may be wrong.
13345
13346         * text2.C (cursorDown): don't enter the inset if we came from a row
13347         above and are one row over the inset.
13348
13349         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13350         really leaving an inset.
13351
13352 2002-04-18  Juergen Vigna  <jug@sad.it>
13353
13354         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13355         of the selected paragraph does not have the selected layout also if
13356         the last one had!
13357
13358         * text2.C (setLayout): fixed bug which did not change last selected
13359         paragraph.
13360
13361         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13362         changed the read and substituted \\end_float with \\end_inset!
13363
13364         * BufferView_pimpl.C (cursorPrevious):
13365         (cursorNext): fixed to make it work with rows heigher than the work
13366         area without moving the cursor only the draw of the row.
13367         (workAreaMotionNotify): fix jumping over high rows.
13368
13369 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13370
13371         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13372         Ressler.
13373
13374 2002-04-16  Juergen Vigna  <jug@sad.it>
13375
13376         * text2.C (setCursor): set also the irow().
13377         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13378         (cursorUp):
13379         (cursorDown): support for locking an inset if the x_fix value goes
13380         inside it. That way I can transverse insets too with cursor up/down.
13381
13382         * lyxrow.h: added irow helper function same as other (i) functions.
13383
13384         * BufferView_pimpl.C (cursorPrevious):
13385         (cursorNext): fixed for insets!
13386
13387 2002-04-15  Juergen Vigna  <jug@sad.it>
13388
13389         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13390         position otherwise it is wrong in some cases.
13391
13392         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13393         inside the inset before the call.
13394
13395 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13396
13397         * buffer.[Ch] (getBibkeyList): make it const.
13398
13399 2002-04-12  Juergen Vigna  <jug@sad.it>
13400
13401         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13402
13403         * text2.C (getCursorX): new helper function
13404         (setCursor): compute also ix_
13405         (setCursorFromCoordinates): set also ix.
13406
13407         * lyxcursor.h: added ix_ and helper functions.
13408
13409         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13410
13411         * buffer.C (insertStringAsLines): dont break paragraph if the this
13412         paragraph is inside an inset which does not permit it!
13413
13414         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13415         also with no chars on this paragraph.
13416         (paintRowText): only paint stuff if it's inside the workarea!
13417
13418         * paragraph.C (breakParagraph): honor keepempty flag and break the
13419         paragraph always below not above.
13420
13421         * BufferView2.C (unlockInset): update the paragraph layout on inset
13422         unlock as we changed paragraph in such a case.
13423
13424         * lyxfind.C (LyXFind): clear the former selection if not found!
13425
13426         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13427         again called in insertChar().
13428
13429         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13430         an inset which uses the whole row!
13431         (rightMargin): ditto.
13432         (insertChar): force a rebreak if we inserted an inset!
13433
13434 2002-03-28  Herbert Voss  <voss@lyx.org>
13435
13436         * lyxlength.[Ch]: add inBP() to get the right PS-point
13437         units (BigPoint). With inPixels we have rounding errors
13438
13439 2002-04-11  Juergen Vigna  <jug@sad.it>
13440
13441         * text2.C (setCursorFromCoordinates): set iy to the right value.
13442         (setCursor): add check if row->previous exists!
13443
13444         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13445         an old float_type as this was the case in the old code!
13446
13447         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13448
13449         * BufferView2.C (showLockedInsetCursor): use iy
13450         (fitLockedInsetCursor): ditto
13451
13452         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13453         locked insets as there we have the right value now.
13454
13455         * lyxcursor.C: added iy_ variable and iy functions to set to the
13456         baseline of cursor-y of the locked inset.
13457
13458         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13459         (setCursor): fixed for insets which need a full row.
13460
13461         * text.C (rowLastPrintable): don't ignore the last space when before
13462         an inset which needs a full row.
13463         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13464         as last character of a row when before a inset which needs a full row.
13465
13466 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13467
13468         * version.C.in: update date
13469
13470         * text2.C (fullRebreak): try to always return true and see what
13471         happens...
13472
13473 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13474
13475         * MenuBackend.C (expand): use Floating::listName
13476
13477         * FloatList.C (FloatList): add listName argument to the built-in
13478         floats
13479
13480         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13481         text associated with the float.
13482
13483 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13484
13485         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13486
13487 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13488
13489         * ShareContainer.h: add a couple of missing typenames.
13490
13491 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13492
13493         * lyxrc.C (getDescription): use _() correctly rather than N_().
13494
13495 2002-03-28  Herbert Voss  <voss@lyx.org>
13496
13497         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13498         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13499
13500 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13501
13502         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13503         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13504
13505 2002-03-29  Juergen Vigna  <jug@sad.it>
13506
13507         * lyxfunc.C (dispatch): add a missing fitCursor call.
13508
13509         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13510         it was scrolled by a cursor move, so return the bool status.
13511
13512         * BufferView.C (fitCursor): return the bool flag also to the outside
13513         world as this is needed.
13514
13515         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13516
13517         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13518         call the edit() as it is not needed (and wrong) IMO.
13519         (workAreaButtonPress): set the screen_first variable before evt.
13520         unlock the inset as this may change screen_first and then we have
13521         a wrong y position for the click!
13522
13523 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13524
13525         * MenuBackend.C (expand): another translation that I missed
13526
13527 2002-03-28  Juergen Vigna  <jug@sad.it>
13528
13529         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13530
13531         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13532
13533 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13534
13535         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13536
13537         * MenuBackend.C (expand): fix export/view/update when there is no
13538         document open.
13539
13540 2002-03-27  Herbert Voss  <voss@lyx.org>
13541
13542         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13543         and text%
13544
13545 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13546
13547         * bufferview_funcs.C (currentState): only show paragraph number
13548         for is DEVEL_VERSION is set.
13549
13550         * lyxfunc.C (dispatch): put warning in INFO channel
13551
13552         * MenuBackend.C (expand): translate the name of floats
13553
13554         * FloatList.C (FloatList): mark the float names for translation
13555
13556         * converter.C (convert): use LibScriptSearch
13557
13558 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13559
13560         * MenuBackend.C (defaults): fix default menu (we might as well get
13561         rid of it...)
13562
13563 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13566         directory.
13567
13568 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13569
13570         * lyxvc.C: reorder includes.
13571
13572 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13573
13574         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13575           properly
13576
13577 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13578
13579         * CutAndPaste.C: change layouts earlier on paste
13580           to avoid crashing when calling getFont()
13581
13582 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13583
13584         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13585         irritating #error.
13586
13587 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13588
13589         * WorkArea.C: remove 'Pending' debug message.
13590
13591         * most files: ws cleanup
13592
13593         * buffer.[Ch]: ws changes
13594
13595         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13596
13597 2002-03-21  Juergen Vigna  <jug@sad.it>
13598
13599         * tabular.C (SetMultiColumn): collapse also the contents of the
13600         cells and set the last border right. Added a Buffer const * param.
13601
13602 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13603
13604         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13605         linking or not.
13606
13607 2002-03-19  Juergen Vigna  <jug@sad.it>
13608
13609         * text2.C (clearSelection): reset also xsel_cache.
13610
13611         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13612         where it needs to be called (John tells us to do so too :)
13613         (selectionLost): reset sel_cache.
13614
13615         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13616
13617 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13618
13619         * text2.C (setCursorIntern): put debuging code in INSETS channel
13620
13621 2002-03-19  André Pönitz <poenitz@gmx.net>
13622
13623         * lyxfunc.C: tiny whitespace change
13624
13625 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13626
13627         * ToolbarDefaults.C (init):
13628         * LyXAction.C (init):
13629         * commandtags.h:
13630         * BufferView_pimpl.C (Dispatch):
13631         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13632
13633 2002-03-19  Allan Rae  <rae@lyx.org>
13634
13635         * exporter.C (Export): removeAutoInsets before doing anything else.
13636         While I've just introduced a dependency on BufferView this really is
13637         the best place to clean the buffer otherwise you need to cleanup in
13638         a dozen places before calling export or cleanup in a dozen functions
13639         that export calls.
13640
13641         * converter.C (runLaTeX):
13642         (scanLog): Better handling of removeAutoInsets and screen updates.
13643
13644         * lyxfunc.C (dispatch): small whitespace changes
13645
13646 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13647
13648         * WorkArea.C (C_WorkAreaEvent): return a value.
13649         (event_cb): return 1 if we handled the event, 0 otherwise.
13650
13651         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13652
13653 2002-03-18  Juergen Vigna  <jug@sad.it>
13654
13655         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13656         (GetAdditionalWidth): ditto.
13657         (RightLine): ditto.
13658         (LeftLine): ditto.
13659
13660         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13661         inset if we're there actually (probably not used right now but this
13662         is the direction to go for unifying code).
13663         (paste): disable code to clear the selection.
13664
13665         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13666         inside an InsetText and move the check further up as it is in the
13667         wrong place.
13668
13669         * text2.C (pasteSelection): set a selection over the pasted text.
13670
13671 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13672
13673         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13674         and libgraphics to build on Cygwin.
13675
13676 2002-03-15  Juergen Vigna  <jug@sad.it>
13677
13678         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13679         inserting an Inset into the paragraph. I know this is not the best
13680         fix but we already use current_view in CutAndPaste so we will remove
13681         all of it's using at the same time.
13682
13683         * buffer.C (sgmlError): deactivated function till it is rewritten in
13684         the right mode, now it can create problems.
13685
13686         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13687         before accessing it.
13688
13689 2002-03-14  Juergen Vigna  <jug@sad.it>
13690
13691         * undo_funcs.C (textHandleUndo): do the right thing when updating
13692         the inset after the undo/redo.
13693
13694         * text2.C (setCursor): just some testcode for #44 not ready yet.
13695
13696         * undo_funcs.C (textHandleUndo): set the next() and previous()
13697         pointers of the paragraph to 0 before deleting otherwise we have
13698         problems with the Paragraph::[destructor].
13699
13700         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13701         on a paragraph insertion.
13702
13703 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13704
13705         * buffer.C (asciiParagraph): use += operator for char append to
13706         string.
13707
13708         * paragraph.C (getFontSettings): compare >= not just >
13709         (highestFontInRange): ditto
13710         (setFont): ditto
13711
13712 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13713
13714         * paragraph.C: change several algorithm to be more appripriate for
13715         the problem domain. This is lookip in FontList and in the InsetList.
13716
13717 2002-03-13  André Pönitz <poenitz@gmx.net>
13718
13719         * commandtags.h:
13720         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13721
13722 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13723
13724         * commandtags.h:
13725         * LyXAction.C:
13726         * lyxfunc.C:
13727         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13728
13729 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13730
13731         * Painter.C (display): anon helper function, adjust code for this
13732         change.
13733         (pixmap): remove function.
13734
13735         * Painter.h: remove private display variable.
13736
13737         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13738
13739 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13740
13741         * WorkArea.[Ch]: remove figinset_canvas cruft.
13742
13743 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13744
13745         * lyxtextclass.C (operator): add one item cache optimization.
13746
13747         * bufferlist.h: doxy changes
13748
13749         * bufferlist.C: ws changes
13750
13751         * DepTable.[Ch] (ext_exist): place const in the right spot.
13752
13753         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13754         call resizeInsets.
13755         (workAreaExpose): call resizeInsets when the with BufferView changes.
13756         (Dispatch): adjust for protectedBlank removal
13757         (specialChar): call updateInset if the insert went ok.
13758
13759         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13760         specialChar instead.
13761
13762         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13763
13764         * BufferView.h: doxy change
13765
13766         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13767
13768         * lyxtextclass.C (operator[]): remove non-const version
13769         (defaultLayout): remove non-const version
13770
13771 2002-03-12  Juergen Vigna  <jug@sad.it>
13772
13773         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13774         did resize the LyXText too.
13775
13776         * buffer.C (readLyXformat2): set layout information on newly allocated
13777         paragraphs.
13778
13779         * tabular.C (OldFormatRead): set layout information on the paragraph.
13780
13781 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13782
13783         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13784
13785 2002-03-11  Juergen Vigna  <jug@sad.it>
13786
13787         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13788         plainly wrong.
13789         (resizeCurrentBuffer): force also the insets to resize themselfes.
13790         (moveCursorUpdate): fixed up for InsetText.
13791
13792 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13793
13794         * commandtags.h:
13795         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13796         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13797         value of Dialogs::tooltipsEnabled().
13798         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13799
13800 2002-03-08  Juergen Vigna  <jug@sad.it>
13801
13802         * BufferView_pimpl.C (updateInset): update inset inside inset also
13803         if it isn't inside theLockingInset().
13804
13805 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13806
13807         * buffer.C (asciiParagraph): redo some of the word and line length
13808         handling.
13809         (getLists): look for Caption instead of caption.
13810
13811 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13812
13813         * buffer.C (Buffer): initialize niceFile to true
13814         (makeLaTeXFile):
13815         (makeLinuxDocFile):
13816         (makeDocBookFile): make sure niceFile is true on exit
13817
13818 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13819
13820         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13821
13822 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13823
13824         * LyXSendto.C: remove.
13825         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13826         * lyx_gui.C: remove now-redundant comment.
13827         * ColorHandler.h: remove forward declaration of class WorkArea.
13828         * lyxfunc.C: remove #include "WorkArea.h".
13829
13830 2002-03-07  Juergen Vigna  <jug@sad.it>
13831
13832         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13833         got moved away with the DEPM and also set the inset_owner always
13834         right which before could have been omitted.
13835
13836 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13837
13838         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13839         wanted layout is not found.
13840
13841 2002-03-07  Juergen Vigna  <jug@sad.it>
13842
13843         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13844
13845 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13846
13847         * paragraph.C (breakParagraph): use default layout not layout of
13848         prev paragraph.
13849         (Paragraph): clear ParagraphParameters.
13850
13851 2002-03-06  Juergen Vigna  <jug@sad.it>
13852
13853         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13854         otherwise it would not be a valid lenght. Fixed a special case in
13855         the minipage compatibility read where we end the document with a
13856         minipage.
13857
13858         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13859         was set as it could be 0 for InsetTexts first entry.
13860
13861 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13862
13863         * paragraph.C (writeFile): if layout is empty write out
13864         defaultLayoutName().
13865
13866         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13867         file without named layout we set layout to defaultLayoutName().
13868
13869 2002-03-06  Juergen Vigna  <jug@sad.it>
13870
13871         * CutAndPaste.C (copySelection): set layout for new paragraph.
13872
13873         * text.C (prepareToPrint): leave ERT inset left aligned
13874         (leftMargin): don't indent paragraphs inside ERT insets
13875
13876 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13877
13878         * paragraph.C (breakParagraph): dont call clear do the work manually
13879
13880         * paragraph.[Ch] (clear): remove function
13881
13882 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13883
13884         * paragraph.C (Paragraph): dont call clear, the work has already
13885         been done.
13886
13887         * lyxtextclass.C (operator): assert if n is empty
13888
13889         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13890         work manually instead.
13891
13892 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13893
13894         * BufferView_pimpl.C: protect selectionLost against text == 0
13895
13896 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13897
13898         * text.C (breakParagraph): fix a setting layout to '0' problem.
13899
13900 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13901
13902         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13903         final location of file, for the included files, and graphics.
13904
13905 2002-03-05  Juergen Vigna  <jug@sad.it>
13906
13907         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13908
13909 2002-03-04  Juergen Vigna  <jug@sad.it>
13910
13911         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13912
13913         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13914         last column of multicolumn cells.
13915         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13916
13917 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13918
13919         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13920         file if it doesn't go to a temporary file.
13921
13922         * buffer.C (sgmlOpenTag):
13923         (sgmlCloseTag):  remove extra newline insertion.
13924
13925 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13926
13927         * text.C (getRowNearY): comment out debug msg
13928
13929 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13930
13931         * text2.C: first -> first_y
13932
13933         * text.C (getRowNearY): add some attemts at a possible
13934         optimization, not working.
13935
13936         * tabular.[Ch]: add BufferParams to several function so that newly
13937         created paragraph can be initialized to he default layotu for the
13938         buffers textclass.
13939
13940         * tabular-old.C (ReadOld): add buf->params to call of Init
13941
13942         * screen.C: rename text->first to text->first_y
13943
13944         * paragraph.C (breakParagraph): always set layout in the broken
13945         paragraph
13946
13947         * lyxtextclass.C (Read): remove lowercase
13948         (hasLayout): ditto
13949         (operator): ditto
13950         (delete_layout): ditto
13951
13952         * lyxtext.h: rename first -> first_y
13953
13954         * lyxlayout.C (Read): remove lowercase
13955         (name): ditto
13956         (setName): ditto
13957         (obsoleted_by): ditto
13958
13959         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13960
13961         * buffer.C (insertErtContents): add params are to InsetERT
13962         (parseSingleLyXformat2Token): add code to check if a paragraphs
13963         layout really exist.
13964         (parseSingleLyXformat2Token): add params to several inset
13965         constructors
13966         (asciiParagraph): remove lowercase, do the layout comparisons with
13967         no_case
13968
13969         * BufferView_pimpl.C (cursorNext): first -> first_y
13970         (resizeCurrentBuffer): first -> first_y
13971         (updateScrollbar): first -> first_y
13972         (scrollCB): first -> first_y
13973         (workAreaMotionNotify): first -> first_y
13974         (workAreaButtonPress): first -> first_y
13975         (checkInsetHit): first -> first_y
13976         (cursorPrevious): first -> first_y
13977         (cursorNext): first -> first_y
13978         (Dispatch): add buffer_->params to severl inset contructors
13979
13980 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13981
13982         * lyxlayout.C (Read): remove some debug info that I forgot.
13983
13984         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13985         clean up the code slightly.
13986         (makeLinuxDocFile): ditto
13987         (makeDocBookFile): ditto
13988
13989         * text2.C: layout as string
13990
13991         * text.C: layout as string
13992
13993         * paragraph_pimpl.C: layout as string
13994
13995         * paragraph.[Ch]: layout as string
13996
13997         * lyxtextclasslist.[Ch]: layout as string
13998
13999         * lyxtextclass.[Ch]: layout as string
14000
14001         * lyxtext.h: layout as string
14002
14003         * lyxlayout.[Ch]: layout as string
14004
14005         * lyx_cb.C: layout as string
14006
14007         * bufferview_funcs.C: layout as string
14008
14009         * bufferparams.C: layout as string
14010
14011         * buffer.C: layout as string
14012
14013         * LyXView.[Ch]: layout as string
14014
14015         * LaTeXFeatures.[Ch]: layout as string
14016
14017         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
14018
14019         * BufferView_pimpl.C: change current_layout to string, remove
14020         lyx::layout_type.
14021         (Dispatch):
14022         (smartQuote):
14023         (insertInset):
14024         (workAreaButtonRelease): layout as string
14025
14026         * BufferView2.C (unlockInset): adjust
14027
14028         * vspace.C (asLatexCommand): use an explict temp variable.
14029
14030 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
14031
14032         * Makefile.am: use FRONTEND_*
14033
14034 2002-03-01  Juergen Vigna  <jug@sad.it>
14035
14036         * tabular.C (SetWidthOfMulticolCell): changed to something better
14037         I hope but still work in progress.
14038         (recalculateMulticolumnsOfColumn): renamed function from
14039         recalculateMulticolCells as it is more appropriate now.
14040         (SetWidthOfCell): calculate multicols better.
14041
14042 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14043
14044         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
14045
14046         * lyxfunc.C (processKeySym): print sequence also if it is
14047         `deleted' (complete)
14048
14049         * kbsequence.C (print): print sequence even if it is deleted
14050         (complete would be a better word, actually).
14051
14052         * lyxfunc.C (dispatch): print complete options after a prefix key
14053
14054         * vspace.C (asLatexCommand): rewrite in a slightly different form.
14055
14056 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
14057
14058         * text2.C (setCharFont): eliminate setCharFont code duplication.
14059
14060 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14061
14062         * BufferView_pimpl.C (Dispatch): remove bogus handling of
14063         LFUN_TABULAR_FEATURE (bug #177)
14064
14065 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
14066
14067         * Makefile.am: remove figure.h
14068
14069 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
14070
14071         * Bufferview_pimpl.C:
14072         * CutAndPasteC:
14073         * LaTeX.C:
14074         * LyXSendto.C:
14075         * buffer.C:
14076         * bufferlist.C:
14077         * converter.C:
14078         * language.C:
14079         * lyxfunc.C:
14080         * lyxvc.C:
14081         * paragraph.C:
14082         * text.C:
14083         * text2.C: remove #include "lyx_gui_misc.h".
14084
14085         * LaTeX.C: added #include <cstdio>
14086
14087 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14088
14089         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
14090         that the paragraph following this one can have.
14091
14092         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
14093
14094         * vspace.C (asLatexCommand): fix bogus gcc warning
14095
14096         * Makefile.am (lyx_SOURCES): remove vms_defines.h
14097
14098 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
14099
14100         * text2.C (setLayout): get rid of redundant code
14101
14102 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
14103
14104         * text2.C (incDepth): make sure depth cannot be increased beyond
14105         reasonable values.
14106
14107 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
14108
14109         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
14110         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
14111
14112         * PainterBase.h (image):
14113         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
14114         a LyXImage const *.
14115
14116 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14117
14118         * BufferView.C:
14119         * BufferView.h:
14120         * BufferView_pimpl.C:
14121         * BufferView_pimpl.h:
14122         * LaTeXFeatures.C:
14123         * LyXAction.C:
14124         * LyXView.C:
14125         * Makefile.am:
14126         * UpdateList.h:
14127         * UpdateList.C:
14128         * buffer.C:
14129         * figure.h:
14130         * figureForm.C:
14131         * figureForm.h:
14132         * figure_form.C:
14133         * figure_form.h:
14134         * lyx_cb.C:
14135         * lyx_gui.C:
14136         * lyx_gui_misc.C:
14137         * lyxfunc.C:
14138         * sp_base.h:
14139         * sp_ispell.h:
14140         * sp_pspell.h:
14141         * sp_spell.C: remove fig inset, and the crap house of
14142           cards that follows it
14143
14144 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14145
14146         * Makefile.am:
14147         * lyxserver.C:
14148         * os2_defines.h:
14149         * os2_errortable.h:
14150         * nt_defines.h: move .h into support/
14151
14152         * vms_defines.h: remove
14153
14154         * WorkArea.C: add space in debug output
14155
14156         * text2.C:
14157         * paragraph.C:
14158         * buffer.C: add WITH_WARNINGS
14159
14160         * vc-backend.h:
14161         * vc-backend.C:
14162         * bufferlist.C: s/retrive/retrieve/, add docs
14163
14164         * vspace.h:
14165         * vspace.C:
14166         * kbmap.h:
14167         * lyxlength.h:
14168         * lyxgluelength.h:
14169         * length_common.h:
14170         * chset.h:
14171         * chset.C: add docs
14172
14173         * lyxgui.C: add ID to X error handler
14174
14175         * lyxtestclass.c: fix typo
14176
14177 2002-02-26  Juergen Vigna  <jug@sad.it>
14178
14179         * tabular_funcs.C (write_attribute): changed so that some default
14180         attributes are not written at all.
14181         (getTokenValue): set default values before trying to read the
14182         value so we have the return value always set as default if we don't
14183         find the token we search for.
14184
14185         * tabular.C (Write): write bools as bools not as strings!
14186
14187 2002-02-22  Juergen Vigna  <jug@sad.it>
14188
14189         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14190         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14191
14192         * text.C (leftMargin): don't add an indent for paragraphs inside
14193         tabular cells (fix #208).
14194
14195 2002-02-21  José Matos  <jamatos@fep.up.pt>
14196
14197         * tabular.C (docBook): fixed support for long tables.
14198
14199 2002-02-20  Juergen Vigna  <jug@sad.it>
14200
14201         * text2.C (getFont): get the drawing font of the Inset if this
14202         paragraph is inside an inset (only important for InsetERT for now).
14203
14204         * buffer.C (insertErtContents): use new lanugage params in ERT
14205         constructor.
14206
14207         * CutAndPaste.C: commenting out seemingly uneeded code.
14208
14209 2002-02-19  Allan Rae  <rae@lyx.org>
14210
14211         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14212         Iterators might be simple to use but they also get invalidated.
14213         (removeAutoInsets): renamed saved cursor tracking variables and added
14214         some comments to clarify what everything does.
14215
14216 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14217
14218         * Chktex.C:
14219         * LaTeX.C:
14220         * LyXSendto.C:
14221         * converter.C:
14222         * lyx_cb.C:
14223         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14224         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14225
14226         * lyxfunc.C:
14227         * vc-backend.h: remove #include "support/syscall.h"
14228
14229         * LaTeX.C:
14230         * LyXSendto.C:
14231         * converter.C: rearrange #includes in Lars' approved fashion.
14232
14233         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14234         forward declare class Timeout in the header file.
14235
14236         * XFormsView.C: changes due to the above.
14237
14238         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14239         similar to LyXView.
14240
14241         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14242         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14243
14244 2002-02-18  José Matos  <jamatos@fep.up.pt>
14245
14246         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14247         insets contents.
14248
14249 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14250
14251         * a lot of small ws changes
14252         * add a lot of using std::XXX
14253         * use std construcs some places where approp.
14254         * use some exisint stuff from lyxfunctional where approp.
14255         * Make file changes to use partial linking (lets test this now...)
14256
14257 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14258
14259         * Chktex.C:
14260         * buffer.C:
14261         remove #include "support/syscontr.h" as it's redundant. Always has been.
14262
14263         * Chktex.C:
14264         * LaTeX.C:
14265         * LyXSendto.C:
14266         * converter.C:
14267         * lyx_cb.C:
14268         * vc-backend.C:
14269         change Systemcalls::System to Systemcalls::Wait and
14270         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14271         No change of functionality, just reflects the stripped down Systemcalls
14272         class.
14273
14274 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14275
14276         * debug.[Ch]: add a GRAPHICS type to the enum.
14277
14278 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14279
14280         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14281
14282         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14283         there is an inset.
14284
14285 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14286
14287         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14288         match the changes below.
14289
14290         * text2.C (toggleInset): if there is not editable inset at cursor
14291         position, try to see if cursor is _inside_ a collapsable inset
14292         and close it.
14293
14294 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14295
14296         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14297         document menu has a nice checkbox
14298
14299 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14300
14301         * lyxlength.C (asLatexString): change PW to output as percent of
14302         \textwidth.
14303
14304         * lengthcommon.C: change '%' to 't%'
14305
14306         * lyxfunc.C (dispatch): a few comments from Martin
14307
14308 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14309
14310         * WorkArea.h:
14311         * WorkArea.C:
14312         * BufferView_pimpl.h:
14313         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14314           the X selection.
14315
14316 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14317
14318         * vspace.C (inPixels): fix compiler warning
14319
14320 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14321
14322         * lyxfunc.C (getStatus): fix status message for disabled commands.
14323
14324 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14325
14326         * BufferView_pimpl.C: fix crash on close buffer
14327         during selection (#227)
14328
14329 2002-01-27  Herbert Voss  <voss@lyx.org>
14330
14331         * buffer.C: link old Figure to new graphic inset
14332
14333 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14334
14335         * FontLoader.C (getFontinfo): Change the latex font names in order
14336         to match the names of type1inst.
14337
14338 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14339
14340         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14341
14342         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14343         (extchanged): ditto
14344         (ext_exist): ditto
14345         (remove_files_with_extension): ditto
14346         (remove_file): ditto
14347         (write): ditto
14348
14349         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14350         document is smaller than the work area height. Do not initialize
14351         static variables to 0.
14352
14353 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14354
14355         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14356
14357         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14358         LFUN_LAYOUT_PARAGRAPHS.
14359
14360         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14361         tabular. It is possible to provide a possible cell, which will
14362         typically be the actcell from the corresponding insettabular
14363
14364         * lyxfunc.C (getStatus): small cleanup; disable
14365         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14366         true
14367
14368 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14369
14370         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14371
14372         * paragraph.C (startTeXParParams):
14373         (endTeXParParams): new methods. The LaTeX code to
14374         start/end paragraph formatting
14375         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14376         empty (fixes bug #200)
14377
14378         * vspace.C (inPixels): adapt to the change below
14379         (inPixels): [later] more cleanups (remove unused variables)
14380
14381         * lyxlength.C (inPixels): change to use a width and a height as
14382         parameter.
14383
14384 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14385
14386         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14387         Replaced with \paperwidth
14388
14389         * DepTable.C (insert): add std:: qualifier
14390
14391 2002-01-18  Allan Rae  <rae@lyx.org>
14392
14393         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14394         updated also?
14395
14396         * text.C (drawInset): Turned out I didn't know enough about how
14397         rebreaking worked.  This fixes most of the redraw problems.  I see
14398         an occasional cursor trail when a line is broken now and the cursor
14399         placement can seem out by a few pixels also after a rebreak.
14400
14401 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14402
14403         * buffer.C (parseSingleLyXformat2Token): update because minipage
14404         width is now a LyXLength
14405
14406         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14407
14408         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14409         math insets
14410
14411 2002-01-17  Juergen Vigna  <jug@sad.it>
14412
14413         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14414
14415         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14416         is set correctly and the inset is updated correctly.
14417
14418 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14419
14420         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14421         the beginning of the loop.
14422
14423 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14424
14425         * lyxrc.C: improve help for use_scalable_fonts
14426
14427 2002-01-17  Allan Rae  <rae@lyx.org>
14428
14429         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14430
14431 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14432
14433         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14434         make sure to set their inset_owner to the right value (bug #171)
14435
14436 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14437
14438         * DepTable.h
14439         * DepTable.C: Implement mtime checking to reduce time spent doing
14440         CRCs.
14441
14442 2002-01-16  Juergen Vigna  <jug@sad.it>
14443
14444         * tabular.C (GetAdditionalHeight): one of error fixed.
14445
14446         * lyxrc.C (output): small fix in writing use_pspell.
14447
14448 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14449
14450         * sp_base.h: #include LString.h
14451
14452 2002-01-16  Allan Rae  <rae@lyx.org>
14453
14454         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14455         Can someone check this please?
14456
14457         * text.C (drawInset): It was possible that p.row would be removed by
14458         breakAgainOneRow upsetting a few other settings.  There may be another
14459         small tweak possible by setting need_break_row = 0 when p.row has been
14460         removed but I don't know enough about the logic here.
14461
14462 2002-01-15  Allan Rae  <rae@lyx.org>
14463
14464         * text.C (insertChar): removed conditional truism.
14465
14466         * BufferView2.C (removeAutoInsets): More tweaks.
14467         cur_par_prev could be a stray pointer.  Check for trailing empty line
14468         in case last line was cur_par and only had an error inset on it.
14469
14470 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14471
14472         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14473         absolute
14474
14475         * vc-backend.C (most methods):
14476         * exporter.C (Export):
14477         * converter.C (convert):
14478         (runLaTeX):
14479         * LyXSendto.C (SendtoApplyCB):
14480         * lyxfunc.C (dispatch):
14481         (menuNew):
14482         (open):
14483         (doImport):
14484         * lyx_cb.C (AutoSave):
14485         (InsertAsciiFile):
14486         * BufferView_pimpl.C (MenuInsertLyXFile):
14487         * buffer.C (runChktex): use Buffer::filePath().
14488
14489         * buffer.h: rename filename to filename_; rename filepath to
14490         filepath_ and make it private
14491         (filePath): new method
14492
14493         * buffer.C (writeFile): use fileName()
14494         (getLatexName):
14495
14496         * lyx_main.C (init): fix starting  of LyX when the binary is a
14497         link from so,ewhere else.
14498
14499         * minibuffer.C: include <cctype> for isprint
14500
14501 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14502
14503         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14504         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14505         name clash with InsetCollapsable's width function.
14506
14507 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14508
14509         * lastfiles.C: include <iterator>
14510
14511 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14512
14513         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14514         std::count.
14515
14516         * buffer.C (makeLaTeXFile): ditto.
14517         Also make loop operation more transparent.
14518
14519 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14520
14521         * ToolbarDefaults.C: remove trailing comma closing namespace.
14522
14523         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14524
14525         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14526         as in WorkArea.
14527
14528         * trans.C (Load): comment out unused variable, allowed.
14529
14530 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14531
14532         * minibuffer.[Ch] (append_char): new method to recieve input from the
14533         drop-down completion browser. If a key was pressed, then recieve this
14534         char and append it to the existing string.
14535         (peek_event): modify the positioning data passed to the completion
14536         browser so that it can be placed above the minibuffer rather than below.
14537 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14538
14539         * LyXAction.C (init): alloe error-next for readonly documents.
14540
14541         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14542         count.
14543
14544 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14545
14546         * bufferlist.C (readFile): create the buffer _after_ checking that
14547         the file exists.
14548
14549         * lyxfunc.C (verboseDispatch): fix handling of arguments
14550
14551         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14552
14553         * lyxrc.C: use string::erase() instead of initializing to "".
14554
14555
14556 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14557
14558         * BufferView_pimpl.h:
14559         * BufferView_pimpl.C:
14560         * WorkArea.h:
14561         * WorkArea.C:
14562         * text2.C: tell X when we have made a selection for copying
14563
14564 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14565
14566         * BufferView_pimpl.C (MenuInsertLyXFile):
14567         * lyxfunc.C (menuNew):
14568         (open):
14569         (doImport): add shortcuts to directory buttons
14570
14571         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14572         open a float)
14573
14574         * lyxfunc.C (setStatusMessage):
14575         (getStatusMessage): new methods
14576         (getStatus):use setStatusMessage instead of setErrorMessage
14577         (dispatch): when function is disabled, set error message here
14578         [instead of in getStatus previously]
14579
14580         * BufferView_pimpl.C (workAreaButtonRelease): update
14581         toolbar/menubar here too.
14582
14583 2002-01-13  Allan Rae  <rae@lyx.org>
14584
14585         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14586         Now seems indestructible.  Remaining task is to audit all other
14587         code affected by deleteEmptyParagraphMechanism.  One small quirk
14588         left is that an empty document with an error in the preamble can
14589         be made to report an error but no error box appears.  I don't know
14590         where it goes.
14591         (removeAutoInsets): Improved comments.
14592
14593 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14594
14595         * Thesaurus.h:
14596         * Thesaurus.C: update for Aiksaurus 0.14
14597
14598 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14599
14600         * text2.C (firstParagraph): removed member function, all uses
14601         replaces with ownerParagraph
14602         (redoParagraphs): here
14603         (updateInset): here
14604         (toggleAppendix): here
14605         * BufferView2.C (insertErrors): here
14606         (setCursorFromRow): here
14607
14608 2002-01-13  Allan Rae  <rae@lyx.org>
14609
14610         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14611         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14612         There is still a way to segfault this although you may have to do this
14613         multiple times: Have an InsetERT with an unknown command in it.
14614         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14615         <down-arrow>, <Enter> again, View->DVI, BANG!
14616
14617         * text2.C (setCursor):
14618         (deleteEmptyParagraphMechanism):
14619         * lyxtext.h (setCursor):
14620         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14621         Making use of the return value may help fix other bugs.
14622
14623 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14624
14625         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14626
14627         * LyXView.C (updateMenubar): call MenuBar::update here
14628         (updateToolbar): but not here
14629         (showState): do not update toolbar/menubar
14630
14631         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14632         should need to care about that.
14633
14634         * lyxfunc.C (verboseDispatch): simplify a bit
14635         (getStatus): have a version which takes a pseudoaction, and
14636         another which requires a (kb_action,string).
14637
14638         * LyXAction.C (retrieveActionArg): make it work also when action
14639         is not a pseudo-action.
14640         (getActionName): simplify a bit
14641         (helpText):
14642
14643 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14644
14645         * lyxfunc.C (verboseDispatch): new families of methods with
14646         several ways to specify a command and a bool to indicate whether
14647         the command name and shortcut should be displayed in minibuffer
14648         (eventually, we could extend that to a finer bitmask like
14649         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14650         (dispatch): the pristine dispatch command which just, well,
14651         dispatchs! Note it still sets its result to minibuffer; I'm not
14652         sure we want that.
14653
14654         * lyxfunc.h: remove setHintMessage
14655
14656         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14657
14658 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14659
14660         * BufferView_pimpl.C (specialChar): delete new inset if we have
14661         not been able to insert it.
14662
14663         * kbmap.C: revert to using int instead of kb_action, since all we
14664         are dealing with is pseudo-actions.
14665
14666         * LyXAction.C (searchActionArg): change to return int instead of
14667         kb_action, since the result is a pseudoaction.
14668
14669 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14670
14671         * buffer.C (insertErtContents): Fix (partially) the font bug.
14672
14673 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14674
14675         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14676         as the other one is broken on my machine!
14677
14678 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14679
14680         * commandtags.h:
14681         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14682
14683 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14684
14685         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14686         reflect their actual use. Provide compatibility code for older lyxrc
14687         files.
14688
14689         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14690         FL_NORMAL_STYLE.
14691         change names of popup font variables in line with the changes to lyxrc.C
14692
14693 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14694
14695         * buffer.C (asciiParagraph): avoid outputing a word twice after
14696         an inset.
14697
14698         * lyxrc.C (getDescription): document that document_path and
14699         template_path can be empty.
14700
14701 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14702
14703         * LaTeXFeatures.C (getMacros):
14704         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14705
14706         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14707
14708         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14709         getPackages.
14710         (getPackages): rename feature "floats" to "float". Use an array to
14711         iterate over 'simple' features (i.e. just a \usepackage). Add
14712         handling of "amsmath" (renamed from "amsstyle").
14713
14714 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14715
14716         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14717         features list.
14718
14719 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14720
14721         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14722         FuncStaus::FuncStatus & FuncStaus::some_method().
14723
14724 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14725
14726         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14727         of the func_satus stuff. Edited and massaged in various ways by
14728         JMarc.
14729
14730         * lyxfunc.C (getStatus): use FuncStatus
14731
14732 2002-01-08  Juergen Vigna  <jug@sad.it>
14733
14734         * text.C (nextBreakPoint): use function Inset::isChar().
14735
14736         * paragraph.C (TeXOnePar): use function
14737         Inset::forceDefaultParagraphs.
14738
14739         * buffer.C (latexParagraphs): use function
14740         Inset::forceDefaultParagraphs.
14741
14742 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14743
14744         * lyx_gui.C (init): set the style of the menu popups to
14745         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14746
14747 2002-01-07  Juergen Vigna  <jug@sad.it>
14748
14749         * text.C (setHeightOfRow): small fix
14750         (prepareToPrint): don't look at alignment if we don't have the place
14751         for doing it.
14752
14753 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14754
14755         * box.C: New file. Move the Box methods and functions out of box.h,
14756         following Lars' suggestion.
14757
14758 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14759
14760         * box.h: #include "support/LOstream.h", needed for inlined function.
14761
14762         * lyxtextclass.C:
14763         * lyxtextclasslist.C: added some using std declarations.
14764
14765 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14766
14767         * box.h: make signed dimensions to allow insets wider than
14768           the screen (bug #162)
14769
14770         * BufferView_pimpl.C: add some insetHit debug
14771
14772 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14773
14774         * vc-backend.C: add FIXME
14775
14776 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14777
14778         * lyxfunc.C (getStatus): enable code for showing math font status
14779         in toolbar/menu.
14780
14781 2002-01-07  Juergen Vigna  <jug@sad.it>
14782
14783         * text.C (nextBreakPoint): removed debug output not needed anymore.
14784
14785 2002-01-06  Juergen Vigna  <jug@sad.it>
14786
14787         * text.C (nextBreakPoint): fixed up this function we had this bug
14788         since ever but now hopefully we break row better.
14789         (insertChar): we have to check if an inset is the next char as it
14790         could now happen that a large inset is causing a break.
14791
14792 2002-01-05  Juergen Vigna  <jug@sad.it>
14793
14794         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14795         if it doesn't like to be drawed.
14796
14797 2002-01-04  Juergen Vigna  <jug@sad.it>
14798
14799         * BufferView2.C (lockInset): forgot to set a cursor.
14800
14801         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14802
14803 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14804
14805         * FormMathsPanel.C:
14806         * FormMathsPanel.h
14807         * MathsSymbols.C:
14808         * form_maths_panel.C:
14809         * form_maths_panel.h:
14810         * form_maths_panel.fd: implemented sub- and super- buttons in math
14811         panel.
14812
14813         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14814         (or ^ space) to be used as in TeX (req'd by Andr�.
14815
14816         * lyxfunc.C: Allow ^ and _ again to be used both as
14817         super/subscript (mathed) and as themselves (in text).
14818
14819 2002-01-03  Allan Rae  <rae@lyx.org>
14820
14821         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14822         "LyX" or the filename of the current buffer if it has one.  This is a
14823         modified form of John Levon's patch.
14824
14825         * XFormsView.C (setWindowTitle): also set icon title.
14826
14827         * LyXView.h (setWindowTitle): signature changed.
14828         * XFormsView.h (setWindowTitle): ditto.
14829
14830 2002-01-02  Juergen Vigna  <jug@sad.it>
14831
14832         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14833
14834 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14835
14836         * screen.C (topCursorVisible): introduce a temp var for
14837         text->cursor.row(), handle the case where this row is null. (kindo
14838         hachish)
14839
14840         * text2.C (setCursor): add a couple of asserts.
14841
14842         * paragraph.h (inset_iterator): add -> operator
14843
14844         * paragraph.[Ch] (autoDeleteInsets): remove member function
14845
14846         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14847         cursor pos correctly and handle inset deletion by itself.
14848         (insertErrors): move iterator declaration out of for expression
14849
14850         * lyxtextclass.C: add <algorithm>
14851
14852         * Makefile.am: added the new files to sources, removed layout.C
14853
14854         * layout.C: removed file
14855
14856         * layout.h: remove LYX_DUMMY_LAYOUT
14857
14858         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14859         layout.
14860
14861         * lyxlayout.[Ch]:
14862         * lyxtextclass.[Ch]:
14863         * lyxtextclasslist.[Ch]: new files
14864
14865         * include order changes to a lot of files, also changes because of
14866         the six new files.
14867
14868 2001-12-27  Juergen Vigna  <jug@sad.it>
14869
14870         * buffer.C (asciiParagraph): more fixes.
14871
14872         * tabular.C (ascii): make ascii export support export of only the
14873         data separated by a column-delimiter.
14874         (ascii): better support for ascii export.
14875
14876         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14877
14878 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14879
14880         * tabular_funcs.C: use a "using std::getline" instead of the
14881         previous fix from Angus (necessary for cxx + lyxstring)
14882
14883 2001-12-24  Juergen Vigna  <jug@sad.it>
14884
14885         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14886
14887         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14888         problems. First check a minipage also if we have some ert-contents
14889         (not only on par->size(), second set the right depth of the paragraph
14890         on the relink to the root-paragraph-list!
14891
14892         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14893         which then did not anymore update the main paragraphs on undo/redo!
14894
14895 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14896
14897         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14898         code. Support all font-changing funcs (even those which are not in
14899         menu currently). Support for reporting font settings in
14900         mathed (disabled until Andre provides a function on mathed's side).
14901
14902         * func_status.h (toggle): small helper function to set toggle
14903         state on a flag.
14904
14905 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14906
14907         * tabular_funcs.C: getline -> std::getline
14908
14909 2001-12-21  Juergen Vigna  <jug@sad.it>
14910
14911         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14912         accessed and could be 0 (I couldn't generate this but it seems
14913         Michael could!).
14914
14915 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14916
14917         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14918         * tabular_funcs.h: here and include iosfwd
14919
14920 2001-12-20  Juergen Vigna  <jug@sad.it>
14921
14922         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14923         inside inset but undo_par was.
14924
14925 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14926
14927         * Thesaurus.C: always include <config.h> in sources.
14928
14929         * Painter.h:
14930         * lyxlookup.h:
14931         * box.h: do not include <config.h> in header files
14932
14933         * text.C (paintLastRow): remove unused variable
14934
14935         * text.C (transformChar):
14936         (insertChar):
14937         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14938
14939         * Painter.C (text):
14940         * font.C (width): rewrite to use uppercase() instead of
14941         islower/toupper.
14942
14943         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14944
14945 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14946
14947         * lyxfind.C: clean up of find failure position change
14948
14949 2001-12-20  Juergen Vigna  <jug@sad.it>
14950
14951         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14952
14953         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14954         (TeXRow): added to LaTeX a single tabular row.
14955         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14956         (Latex): simplified and finally good LT-h/f support.
14957         (various_functions): just small adaptions for LT-h/f support.
14958
14959         * tabular_funcs.[hC]: added and moved here all not classfunctions
14960         of LyXTabular.
14961
14962 2001-12-19  Juergen Vigna  <jug@sad.it>
14963
14964         * tabular.[Ch]: better support for longtabular options (not finished
14965         yet!)
14966
14967 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14968
14969         * text.C (paintLastRow): use the label font instead of the font of
14970         the last character to compute the size of *_BOX. This makes more
14971         sense and avoids a crash with empty paragraphs.
14972         Use Painter::rectangle to draw EMPTY_BOX.
14973
14974 2001-12-19  Juergen Vigna  <jug@sad.it>
14975
14976         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14977         the paragraphs if the replaced paragraph is not the first one!
14978         Tried to delete not used paragraphs but does not work yet so for
14979         now it's inside #ifdef's and by default off!
14980
14981 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14982
14983         * MenuBackend.C: include "lyx_main.h" instead of declaring
14984         lastfiles (actually was declared as LastFiles* instead of a
14985         scoped_ptr).
14986
14987 2001-12-17  Juergen Vigna  <jug@sad.it>
14988
14989         * tabular.C (AppendColumn): applied John's fix
14990
14991 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14992
14993         * BufferView.h:
14994         * BufferView.C:
14995         * BufferView_pimpl.h:
14996         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14997
14998         * Makefile.am:
14999         * box.h: new start of class for above
15000
15001         * lyxfunc.C: ignore space-only minibuffer dispatches.
15002           Show the command name when it doesn't exist
15003
15004         * minibuffer.C: don't add empty lines to the history
15005
15006         * minibuffer.C: add a space on dropdown completion
15007
15008 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
15009
15010         * text.C: fix line above/below drawing in insets
15011
15012 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15013
15014         * lyxlength.C (LyXLength): Initialize private variables.
15015
15016 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
15017
15018         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
15019         when inserting error insets.
15020
15021 2001-12-13  Juergen Vigna  <jug@sad.it>
15022
15023         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
15024         actually sometimes the before-paragraph.
15025         (setUndo): don't clear the redostack if we're not actually undoing!
15026
15027 2001-12-06  Juergen Vigna  <jug@sad.it>
15028
15029         * undo_funcs.C (textHandleUndo): well after John's hint I got here
15030         and fixed redoing of main paragraph, so we can use it now ;)
15031
15032         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
15033
15034 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15035
15036         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
15037         Juergen's request
15038
15039 2001-12-13  André Pönitz <poenitz@gmx.net>
15040
15041         * undostack.[Ch]:
15042         * undo_func.C: minor cleanup
15043
15044 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15045
15046         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
15047         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
15048         font in urw-fonts package which is marked as -urw-fontspecific and
15049         does not work (incidentally, changing the encoding in the
15050         fonts.dir of this package to -adobe-fontspecific fixes the
15051         problem).
15052
15053         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
15054         is a crash when undoing first paragraph (Juergen, please take a
15055         look). THis does not mean the undo fix is wrong, just that it
15056         uncovers problems.
15057
15058         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
15059         the (Paragraph*) version when needed instead of duplicating the
15060         code.
15061
15062         * text.C (workWidth): use Inset::parOwner to find out where the
15063         inset has been inserted. This is a huge performance gain for large
15064         documents with lots of insets. If Inset::parOwner is not set, fall
15065         back on the brute force method
15066
15067         * paragraph_pimpl.C (insertInset):
15068         * paragraph.C (Paragraph):
15069         (cutIntoMinibuffer): set parOwner of insets when
15070         inserting/removing them
15071
15072         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15073
15074 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
15075
15076         * commandtags.h:
15077         * LyXAction.C:
15078         * lyx_main.C:
15079         * lyxfunc.C:
15080         * mathed/formulabase.C:
15081         * mathed/math_cursor.[Ch]:
15082         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
15083
15084
15085 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15086
15087         * lyxlength.[Ch] (operator!=): new function
15088
15089 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15090
15091         * text.C (workWidth): use Inset::parOwner to find out where the
15092         inset has been inserted. This is a huge performance gain for large
15093         documents with lots of insets. If Inset::parOwner is not set, fall
15094         back on the brute force method
15095
15096         * paragraph_pimpl.C (insertInset):
15097         * paragraph.C (Paragraph):
15098         (cutIntoMinibuffer): set parOwner of insets when
15099         inserting/removing them
15100
15101         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
15102
15103 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15104
15105         * tabular-old.C (getTokenValue):
15106         * tabular.C (getTokenValue):
15107         (write_attribute): new versions for LyXLength
15108         (everywhere): adjust the use of widths
15109
15110         * tabular.h: change the type of widths from string to LyXLength
15111
15112 2001-12-11  Ben Stanley <bds02@uow.edu.au>
15113
15114         * paragraph.C: fixed missing line number count when exporting
15115         Environments to LaTeX file
15116
15117         * buffer.C: added informational message for checking line numbers.
15118
15119 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15120
15121         * text2.C (deleteEmptyParagraphMechanism): if there is only one
15122         paragraph, do the 'double space' part, but not the 'empty
15123         paragraph' one.
15124
15125         * text.C (workWidth): small optimization
15126         (getLengthMarkerHeight): use minimal size for negative lengths.
15127
15128 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15129
15130         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15131
15132         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15133
15134 2001-12-11  André Pönitz <poenitz@gmx.net>
15135
15136         * FontLoader.C:
15137         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15138
15139 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15140
15141         * text2.C: keep selection on a setFont()
15142
15143 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15144
15145         * lyx_cb.C: another bv->text misuse, from insert label
15146
15147 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15148
15149         * kbsequence.h:
15150         * kbsequence.C: re-instate nmodifier mask
15151
15152 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15153
15154         * lyx_main.h: make lyxGUI private.
15155
15156 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15157
15158         * lyxfind.C: place the cursor correctly on failed search
15159
15160 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15161
15162         * text.C (getLengthMarkerHeight): for small heights, the arrows
15163         are not always on top/bottom of the text
15164         (drawLengthMarker): smaller arrows; take the left margin in
15165         account; draw also vfills.
15166         (paintFirstRow):
15167         (paintLastRow): remove special code for vfill and standard spaces,
15168         since everything is handled in drawLengthMarker now.
15169
15170 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15171
15172         * buffer.C (insertErtContents): try to handle font and language
15173         interaction a bit better.g
15174
15175         * ColorHandler.C (updateColor): change the hash to cover the whole
15176         LColor enum, ws cleanup
15177         (getGCLinepars): ditto
15178         (getGCLinepars): only lookup in the linecache once.
15179
15180 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15181
15182         * iterators.C (operator++): Make the iterator more robust
15183
15184         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15185         (John's patch)
15186         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15187
15188 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15189
15190         * lyxtext.h:
15191         * text.C: better added space drawing
15192
15193 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15194
15195         * LyXView.C:
15196         * BufferView2.C: fix layout combo update on inset unlock
15197
15198 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15199
15200         * Makefile.am: don't compile unused files
15201
15202 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15203
15204         * lyxfunc.C:
15205         * commandtags.h:
15206         * LyXAction.C: remove old LFUN_LAYOUTNO
15207
15208 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15209
15210         * paragraph_pimpl.h:
15211         * paragraph_pimpl.C: isTextAt() doesn't need font param
15212
15213 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15214
15215         * lyxlex.h:
15216         * lyxlex.C: little cleanup
15217
15218 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15219
15220         * BufferView_pimpl.C: fix insertAscii for insets
15221
15222 2001-12-05  Juergen Vigna  <jug@sad.it>
15223
15224         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15225         set the right font on the "multi" paragraph paste!
15226
15227 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15228
15229         * trans_decl.h:
15230         * trans_mgr.[Ch]:
15231         * trans.[Ch]:
15232         * lyxgluelength.C:
15233         * lyxlength.C: remove out-commented code.
15234
15235         * BufferView_pimpl:
15236         * CutAndPaste.C:
15237         * DepTable.C:
15238         * buffer.C:
15239         * chset.C:
15240         * lastfiles.C:
15241         * lyxlex.C:
15242         * lyxlex_pimpl.C:
15243         * lyxserver.C:
15244         * screen.C:
15245         * tabular-old.C:
15246         * tabular.C:
15247         * text.C:
15248         * trans_mgr.C:
15249         * vc-backend.C: change "while(" to "while ("
15250
15251         * lyxlength.[Ch]: add zero function to check if length is zero or
15252         not
15253         * lyxgluelength.C: use it
15254
15255 2001-12-05  Allan Rae  <rae@lyx.org>
15256
15257         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15258         Works for 2.95.3, from what I understand of Garst's reports this should
15259         work for other g++ versions.  We're screwed if the abs(int) definition
15260         changed between bugfix releases of gcc.
15261
15262 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15263
15264         * text.C: fix chapter label offset !
15265
15266 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15267
15268         * lyxtext.h:
15269         * text.C: fix hfill at end of line, clean up
15270
15271 2001-12-04  Juergen Vigna  <jug@sad.it>
15272
15273         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15274         that we force an update of the inset and it's owners if neccessary.
15275
15276 2001-12-03  Juergen Vigna  <jug@sad.it>
15277
15278         * text.C (rowLast): simplified code
15279
15280 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15281
15282         * lyxfunc.C: fix show options on timeout
15283
15284 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15285
15286         * screen.C (topCursorVisible): scroll half a page when the cursor
15287         reached top of bottom of screen
15288
15289 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15290
15291         * minibuffer.C: deactivate on loss of focus
15292
15293 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15294
15295         * vspace.[Ch] (operator!=): add operator.
15296
15297 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15298
15299         * BufferView_pimpl.C: refuse to open an inset when
15300         there's a selection.
15301
15302 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15303
15304         * BufferView_pimpl.C: allow to click on RHS of full row insets
15305
15306 2001-11-30  Juergen Vigna  <jug@sad.it>
15307
15308         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15309         insets for undo reasons.
15310
15311 2001-11-28  André Pönitz <poenitz@gmx.net>
15312
15313         * vspace.[Ch]: cosmetical changes
15314
15315 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15316
15317         * LyXAction.h:
15318         * LyXAction.C:
15319         * lyxfunc.h:
15320         * lyxfunc.C:
15321         * kbmap.h:
15322         * kbmap.C:
15323         * lyxrc.C:
15324         * kbsequence.h:
15325         * kbsequence.C: part re-write of old kb code
15326
15327         * Painter.C:
15328         * WorkArea.C: remove Lgb_bug_find_hack
15329
15330 2001-11-30  José Matos <jamatos@fep.up.pt>
15331
15332         * buffer.C (makeDocBookFile): add a comment to point a hack.
15333         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15334         Fixed a double write of labels.
15335
15336 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15337
15338         * LaTeX.C:
15339         * LaTeX.h Fixed bug in LaTeX class where it would not
15340         re-run latex if no depfiles were changed, but the .dvi was removed.
15341
15342 2001-11-28  André Pönitz <poenitz@gmx.net>
15343
15344         * all the files from the change on 2001/11/26:
15345         use lyx::layout_type instead of LyXTextClass::size_type
15346         use lyx::textclass_type instead of LyXTextClassList::size_type
15347
15348 2001-11-29  Juergen Vigna  <jug@sad.it>
15349
15350         * text.C: added support for paragraph::isFreeSpacing()
15351
15352         * buffer.C: same as above
15353
15354         * paragraph.h: inserted isFreeSpacing() function to enable
15355         FreeSpacing inside InsetERT.
15356
15357         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15358         of the paragraph's in the cut/copy buffer to 0!
15359
15360         * text2.C (removeRow): remove the assert as it can!
15361
15362         * lyxtext.h: added helper function firstRow returning firstrow and
15363         made firstrow private again.
15364
15365         * BufferView2.C (lockInset): don't relock if we're already locked!
15366
15367         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15368         the only paragraph.
15369         (removeRow): added Assert::(firstrow)
15370
15371         * debug.C: forgot to add INSETTEXT here.
15372
15373 2001-11-28  Juergen Vigna  <jug@sad.it>
15374
15375         * sp_spell.C (initialize): changed error text to more general
15376         spellchecker command use (not only ispell!)
15377
15378         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15379
15380         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15381
15382 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15383
15384         * vspace.C: initialise lyxgluelength on failure
15385
15386 2001-11-28  Allan Rae  <rae@lyx.org>
15387
15388         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15389         declaration & definition that looks like a function declaration.
15390
15391 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15392
15393         * BufferView2.C (copy):
15394         (copyEnvironment): do not clear the selection when doing a copy.
15395
15396         * text.C (paintFirstRow): compilation fix
15397
15398 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15399
15400         * tabular.C (Latex): correct line count when writing latex.
15401
15402 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15403
15404         * paragraph_pimpl.h:
15405         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15406           bug a bit
15407
15408 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15409
15410         * text.C:
15411         * LColor.h:
15412         * LColor.C: change vfillline->added_space
15413
15414         * text.C: add markers and text for added space
15415
15416         * vspace.C: fix comment
15417
15418 2001-11-28  André Pönitz <poenitz@gmx.net>
15419
15420         * paragraph.C: whitespace changes
15421         * all the other files from the change on 2001/11/26:
15422         change *::pos_type into lyx::pos_type
15423
15424 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15425
15426         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15427         language of the document when inserting error insets.
15428
15429 2001-11-26  André Pönitz <poenitz@gmx.net>
15430
15431         * BufferView_pimpl.[Ch]:
15432         *       CutAndPaste.C:
15433         * buffer.[Ch]:
15434         * lyxcursor.[Ch]:
15435         * lyxfind.C:
15436         * lyxfunc.C:
15437         * lyxrow.[Ch]:
15438         * paragraph.[Ch]:
15439         * paragraph_pimpl.[Ch]:
15440         * sp_spell.C:
15441         * text.C:
15442         * text2.C: reduce header dependencies, introduce type for positions
15443
15444 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15445
15446         * <various>: change to use Alert.h
15447
15448 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15449
15450         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15451         when encountering an unknown token.
15452         (readLyXformat2): Show an error message if there were unknown tokens.
15453
15454 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15455
15456         * BufferView2.C:
15457         * BufferView_pimpl.C:
15458         * buffer.C:
15459         * paragraph.h:
15460         * text.C:
15461         * text2.C: use par->isInset()
15462
15463 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15464
15465         * paragraph_pimpl.h:
15466         * paragraph_pimpl.C: cleanup
15467
15468 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15469
15470         * text2.C (removeRow):
15471         * text.C (setHeightOfRow): remove useless (and costly) call to
15472         getRow.
15473
15474 2001-11-20  Allan Rae  <rae@lyx.org>
15475
15476         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15477         Now need Inset*::checkInsertChar() to return true for appropriate
15478         cases so that the characters in the minibuffer will actually be
15479         inserted.
15480
15481 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15482
15483         * text.C: change the order of the includes.
15484         (workWidth): initialize it at once.
15485         (workWidth): make maxw unsigned
15486         (setHeightOfRow): remove unused variable (inset)
15487         (selectSelectedWord): remove unused variable (inset)
15488         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15489
15490 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15491
15492         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15493         server is not running.
15494         (openConnection):
15495         (closeConnection): add debug info when server is disabled.
15496
15497         * ColorHandler.C (getGCForeground): send debug message to GUI
15498         channel.
15499
15500         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15501
15502         * kbmap.C (bind): modify because return conventions of
15503         kb_sequence::parse have changed.
15504
15505         * kbsequence.C (parse): only ignore spaces and not any stupid
15506         control character. This avoids tests like s[i] <= ' ', which are
15507         guaranteed to fail with 8bit characters and signed chars.
15508         Change return code to string::npos when there have been no error
15509         (0 was a bad idea when error is at first character)
15510
15511 2001-11-14  José Matos  <jamatos@fep.up.pt>
15512
15513         * buffer.h:
15514         * buffer.C (simpleDocBookOnePar): removed unused argument.
15515
15516 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15517
15518         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15519         insets which are part of a word. Paragraph::isLetter takes care of
15520         that now. Use Paragraph::isInset to identify insets.
15521         (selectSelectedWord): do not test for hyphenation break.
15522
15523         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15524         that protected spaces are considered as spaces.
15525
15526         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15527         Inset::isLetter.
15528
15529 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15530
15531         * lyxserver.h:
15532         * lyxserver.C: fix it. and small cleanup.
15533
15534 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15535
15536         * BufferView_pimpl.C: use inline helpers
15537
15538         * LaTeXFeatures.h:
15539         * LaTeXFeatures.C: fix typos
15540
15541         * Spacing.h:
15542         * Spacing.C: move spacing_string into class
15543
15544         * ToolbarDefaults.C: move stuff into namespace anon
15545
15546         * layout.h: update enum
15547
15548         * lyxfunc.C: use better debug
15549
15550         * minibuffer.h: fix typo
15551
15552         * debug.h:
15553         * debug.C:
15554         * WorkArea.C: add and use Debug::WORKAREA
15555
15556         * lyxtext.h:
15557         * text.C:
15558         * text2.C: code re-organisation, inline helpers
15559
15560 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15561
15562         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15563         std::vector.empty().
15564
15565 2001-11-09  Allan Rae  <rae@lyx.org>
15566
15567         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15568         '\n's after tables.  Tabular and ERT inset work now makes this no
15569         longer necessary.
15570
15571 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15572
15573         * minibuffer.h:
15574         * minibuffer.C: fix crash, improve drop-down completion
15575
15576 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15577
15578         * lyxserver.h:
15579         * lyxserver.C: invalidate fd's when doing endPipe()
15580
15581 2001-11-08  José Matos  <jamatos@fep.up.pt>
15582
15583         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15584         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15585
15586         * paragraph.h:
15587         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15588
15589 2001-11-07  José Matos  <jamatos@fep.up.pt>
15590
15591         * buffer.h:
15592         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15593         const qualifier.
15594
15595         * buffer.C (sgmlOpenTag):
15596         * buffer.C (sgmlCloseTag): removed debug info.
15597
15598         * buffer.h (sgmlOpenTag):
15599         * buffer.h (sgmlCloseTag): made public.
15600
15601 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15602
15603         * buffer.C (saveParamsAsDefaults):
15604         * lyx_cb.C (MenuLayoutSave): remove
15605
15606         * LyXAction.C (init):
15607         * commandtags.h:
15608         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15609
15610 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15611
15612         * buffer.C (setPaperStuff): removed from here...
15613
15614         * bufferparams.C (setPaperStuff): ... and moved there.
15615
15616 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15617
15618         * minibuffer.h:
15619         * minibuffer.C:
15620         * XFormsView.C: add support for drop-down completion
15621
15622 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15623
15624         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15625         commands.
15626
15627 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15628
15629         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15630         disabled.
15631
15632 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15633
15634         * lyx_main.C: change ref to known bugs
15635
15636 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15637
15638         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15639         to work around older babel problems.
15640
15641 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15642
15643         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15644
15645 2001-10-24  Juergen Vigna  <jug@sad.it>
15646
15647         * tabular-old.C (ReadOld): below variable changes reflected.
15648
15649         * tabular.[Ch]: added ltType struct for longtable header/footer
15650         defines and changed all instances where they are used. Added
15651         future support for double top/bottom rows.
15652
15653 2001-10-24  José Matos  <jamatos@fep.up.pt>
15654
15655         * buffer.h (docbookHandleCaption):
15656         * buffer.C (docbookHandleCaption): removed unused function.
15657         (makeDocBookFile): moved docbook supported version to v4.1.
15658
15659 2001-10-24  José Matos  <jamatos@fep.up.pt>
15660
15661         * tabular.h:
15662         * tabular.C (docbookRow): new function to export docbook code of a row.
15663         (DocBook): now honors the longtable flags.
15664
15665 2001-10-23  José Matos  <jamatos@fep.up.pt>
15666
15667         * LaTeXFeatures.h:
15668         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15669         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15670
15671         * buffer.C (makeLinuxDocFile):
15672         (makeDocBookFile): reworked the preamble, more clean, and with
15673         support for lyx defined entities. Changed the document declaration
15674         to be more XML friendly.
15675
15676         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15677         if we need to output XML that should be done with a filter.
15678
15679 2001-10-22  Juergen Vigna  <jug@sad.it>
15680
15681         * sp_pspell.h (class PSpell): add alive function needed in the
15682         controller to see if the spellchecker could be started.
15683
15684 2001-10-22  Juergen Vigna  <jug@sad.it>
15685
15686         * buffer.C (insertStringAsLines): modify the font for inserting
15687         chars in certain conditions by calling checkInsertChar(font).
15688
15689 2001-10-19  Juergen Vigna  <jug@sad.it>
15690
15691         * text.C (workWidth): use getRow instead of wrong algorithm.
15692         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15693
15694 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15695
15696         * lyxserver.h:
15697         * lyxserver.C:
15698         * lyx_main.h:
15699         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15700
15701 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15702
15703         * text.C (workWidth): do not search for the exact row when
15704         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15705         optimization for big documents.
15706
15707 2001-10-18  Juergen Vigna  <jug@sad.it>
15708
15709         * text.C (workWidth): new function with added Inset * parameter.
15710
15711 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15712
15713         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15714
15715         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15716         change return type of getColumnNearX.
15717
15718
15719         * text.C (changeRegionCase): use uppercase/lowercase instead of
15720         toupper/tolower.
15721         (leftMargin):
15722         (rightMargin): simplify code by factoring out the uses of
15723         textclasslist.
15724         (labelFill):
15725         (numberOfHfills):
15726         (setHeightOfRow):
15727         (appendParagraph): use Paragraph::size_type
15728
15729 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15730
15731         * vspace.C (asLatexString): add a missing break
15732
15733 2001-10-15  Herbert Voss  <voss@perce.de>
15734
15735         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15736
15737 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15738
15739         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15740         is not available.
15741
15742 2001-10-10  André Pönitz <poenitz@gmx.net>
15743
15744         * lyxfunc.C: removed greek_kb_flag.
15745
15746 2001-10-10  Herbert Voss  <voss@perce.de>
15747
15748         * lyx_main.C: delete global string help_lyxdir.
15749
15750 2001-10-09  Herbert Voss  <voss@perce.de>
15751
15752         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15753
15754         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15755
15756         * lyx_main.C: added global string help_lyxdir.
15757
15758         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15759
15760 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15761
15762         * lyxrc.C (set_font_norm_type): support iso8859-4
15763
15764 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15765
15766         * LaTeX.C (deplog): add another regex for MikTeX
15767
15768 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15769
15770         * lyxrc.C (set_font_norm_type): support iso8859-3
15771
15772 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15773
15774         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15775
15776         * LaTeXFeatures.C: remove special case of french and index
15777
15778         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15779         before \begin{document}). This solves several incompatibilities.
15780
15781 2001-10-03  Garst Reese  <reese@isn.net>
15782
15783         * lyx_cb.C: change CheckTex error msg.
15784
15785 2001-10-03  José Matos  <jamatos@fep.up.pt>
15786
15787         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15788
15789 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15790
15791         * .cvsignore: update
15792
15793         * lyx_main.C (commandLineVersionInfo): use new style version info.
15794
15795         * buffer.C (writeFile):
15796         (makeLaTeXFile):
15797         (makeLinuxDocFile):
15798         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15799
15800         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15801
15802         * version.h: update to use stuff in version.C
15803
15804         * version.C.in: new file. Contains version information determined
15805         at compile time. This is a merging of version.h and
15806         version_info.h.in.
15807
15808 2001-10-03  Juergen Vigna  <jug@sad.it>
15809
15810         * BufferView_pimpl.C (update): don't change "dirty" status in
15811         updateInset call.
15812
15813 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15814
15815         * WorkArea.C (c-tor): re-position version string slightly.
15816
15817 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15818
15819         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15820         revert to previous code.
15821
15822         WorkArea.[Ch]: (show, destroySplash): methods removed.
15823
15824         WorkArea.C: rework code so that it's an amalgam of the codes before and
15825         after the splash screen was moved to WorkArea.
15826
15827 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15828
15829         * lyxrc.C (read):
15830         * vspace.C (inPixels):
15831         (lyx_advance):
15832         * kbmap.C (bind):
15833         * buffer.C (insertStringAsLines):
15834         (asciiParagraph): fix types to be large enough
15835
15836         * lyxlex_pimpl.h: change member status from short to int
15837
15838         * layout.h: fix type of endlabeltype
15839
15840         * kbmap.C (bind):
15841         * kbsequence.C (parse): change return type to string::size_type
15842
15843         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15844         variable
15845
15846         * Bullet.C (bulletSize):
15847         (bulletEntry): do not use short ints as parameters
15848
15849         * BufferView2.C (insertLyXFile): change a char to an int.
15850
15851         * WorkArea.C (WorkArea): remove unneeded floats in computation
15852
15853 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15854
15855         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15856
15857         * paragraph.C (asString): Do not ignore newline/hfill chars when
15858         copying to the clipboard.
15859
15860 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15861
15862         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15863         after a multi-line inset.
15864
15865 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15866
15867         * paragraph.C (validate): Set NeedLyXFootnoteCode
15868
15869 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15870
15871         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15872         and decrease-error to decrease.
15873
15874 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15875
15876         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15877         it more readable (should be equivalent)
15878
15879 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15880
15881         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15882
15883 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15884
15885         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15886         of a cursor (row, etc.) after a character has been deleted
15887         (deleteEmptyParagraphMechanism): call the method above on _all_
15888         cursors held by the LyXText when a double space has been
15889         detected/deleted.
15890
15891 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15892
15893         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15894         pixmap.
15895         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15896
15897         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15898         background. Use greyOut() and the new show() methods to toggle between
15899         the foreground and background. Add code to remove the splash after
15900         its initial showing.
15901
15902         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15903         (create_forms): no longer call Dialogs::showSplash.
15904
15905 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15906
15907         * .cvsignore: add version_info.h
15908
15909 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15910
15911         * version_info.h.in: new file
15912
15913         * Makefile.am: add version_info.h.in
15914
15915         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15916         version_info.h instead of VERSION_INFO
15917
15918 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15919
15920         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15921         The ERT inset now returns string().
15922
15923 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15924
15925         * lyxtext.h, text.C (selectNextWord): renamed as
15926         selectNextWordToSpellcheck.
15927
15928         * text.C (selectNextWordToSpellcheck): Modified to not select
15929         words inside an ERT inset.
15930
15931 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15932
15933         * lyx_cb.C (MenuLayoutSave): change a bit the question
15934
15935         * sp_base.h: include <sys/types.h>
15936
15937 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15938
15939         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15940
15941 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15942
15943         * several files: fix typos in user-visible strings
15944
15945 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15946
15947         * text2.C (pasteSelection): do not set the selection, since it
15948         will be cleared later. Actually, the intent was to fix the way the
15949         selection was set, but I figured rmoving the code was just as good.
15950
15951 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15952
15953         * FontLoader.C (available): Check if font is available without
15954         loading the font.
15955
15956 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15957
15958         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15959
15960 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15961
15962         * lyxrc.[Ch]: added display_graphics variable and associated code.
15963
15964 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15965
15966         * bufferparams.C (hasClassDefaults): new method. Returns true if
15967         the buffer parameters correspond to known class defaults
15968
15969 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15970
15971         * XFormsView.C (show): set minimum size to the main window.
15972
15973 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15974
15975         * text2.C (copySelection):
15976         (cutSelection):
15977         * lyxfind.C (LyXReplace):
15978         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15979         LyXText::selectionAsString.
15980
15981         * paragraph.C (asString): add "label" argument to the second form
15982
15983         * text2.C (selectionAsString): add "label" argument and pass it to
15984         Paragraph::asString.
15985
15986 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15987
15988         * lyx_main.C (commandLineHelp): remove version information
15989
15990 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15991
15992         * lyx_main.C: add -version commandline option
15993
15994 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15995
15996         * paragraph.h: make the optional constructor arg required instead.
15997         some modifications to other files because of this.
15998
15999         * minibuffer.C (C_MiniBuffer_peek_event): make it static
16000
16001         * lyxserver.C (C_LyXComm_callback): make it static
16002
16003         * lyx_main.C (error_handler): make it static
16004
16005         * lyx_gui.C (LyX_XErrHandler): make it static
16006
16007         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
16008
16009         * WorkArea.C: make the extern "C" methods static.
16010
16011         * Makefile.am (lyx_LDADD): simplify
16012
16013 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16014
16015         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
16016         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
16017
16018         * LyXAction.C (init):
16019         * lyxfunc.C (dispatch): associated code removal.
16020
16021 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16022
16023         * lyxfont.h (isSymbolFont): shut off warning
16024
16025         * text.C (setHeightOfRow):
16026         (getVisibleRow): fix crash with empty paragraphs which have a
16027         bottom line
16028
16029 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
16030
16031         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
16032         code.
16033
16034 2001-09-04  José Matos  <jamatos@fep.up.pt>
16035         * buffer.C
16036         * buffer.h
16037         * tabular.C (docbook): rename docBook method to docbook.
16038
16039 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16040
16041         * Makefile.am: add dependencies to main.o.
16042
16043 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
16044
16045         * FontLoader.C (available): Return false if !lyxrc.use_gui
16046
16047 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
16048
16049         * FontInfo.C (query):
16050         * converter.C (view):
16051         * importer.C (Import):
16052         * exporter.C (Export): Can not -> cannot.
16053
16054 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
16055
16056         * BufferView_pimpl.C: allow to create index inset even if
16057           string is empty
16058
16059 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
16060
16061         * buffer.C (getLists): replace boost::tie code with an explicit pair
16062         as boost::tie can break some compilers.
16063
16064         * iterators.h: Added a std:: declaration to the return type of
16065         ParIterator::size.
16066
16067 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
16068
16069         * lyxrc.C: add help for view_dvi_paper_option, default to safe
16070           case.
16071
16072 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
16073
16074         * iterators.[Ch]: New files. Provide paragraph iterators.
16075
16076         * buffer.C (changeLanguage): Use paragraph iterators.
16077         (isMultiLingual): ditto
16078
16079         * BufferView2.C (ChangeInsets): Use paragraph iterators.
16080
16081 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
16082
16083         * FontLoader.C: Support for cmr font.
16084
16085 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
16086
16087         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
16088         (available): New method.
16089
16090         * FontInfo.C (getFontname): Use scalable fonts even when
16091         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
16092         found.
16093
16094 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16095
16096         * converter.C (Formats::view): reverted! Incorrect fix.
16097
16098 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
16099
16100         * converter.C (Formats::view): only output the -paper option
16101         if the dvi viewer is xdvi, thereby fixing bug #233429.
16102
16103 2001-08-23  Herbert Voss  <voss@perce>
16104
16105         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
16106
16107 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
16108
16109         * Spacing.h (Spacing): Set space to Default on in the default
16110         constructor.
16111
16112 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16113
16114         * vc-backend.h (RCS::versionString): add RCS to version
16115         (CVS::versionString): add CVS to version
16116
16117         * vc-backend.C (scanMaster): do not add CVS to version.
16118         (scanMaster): do not add RCS to version
16119
16120         * lyxvc.C (versionString): new method
16121
16122         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
16123
16124 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16125
16126         * Spacing.C (set): initialize fval
16127
16128 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16129
16130         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16131         " or \.
16132
16133 2001-08-16  Juergen Vigna  <jug@sad.it>
16134
16135         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16136
16137 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16138
16139         * BufferView_pimpl.C:
16140         * figureForm.C:
16141         * lyxtext.h:
16142         * text2.C: setParagraph takes linespacing now
16143
16144 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16145
16146         * LyxAction.C: add internal LFUN_CITATION_INSERT
16147
16148         * LyXView.C: actually apply fix
16149
16150         * bufferlist.C: fix open non-existent file
16151
16152         * lyxfind.C: fix indentation
16153
16154         * lyxfunc.C: remove unneeded assert, fix typo
16155
16156 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16157
16158         * MenuBackend.C: use "Floatname List"
16159
16160 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16161
16162         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16163         when converting LaTeX layout to insetERT.
16164         Generate a non-collapsed float when reading old float
16165
16166 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16167
16168         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16169         ERT insets.
16170
16171 2001-08-13  Juergen Vigna  <jug@sad.it>
16172
16173         * text.C (fill): return 0 instead of 20 as this seems to be the more
16174         correct value.
16175
16176 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16177
16178         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16179         lyxrc.font_norm.
16180
16181 2001-08-13  Juergen Vigna  <jug@sad.it>
16182
16183         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16184         casesensitive off.
16185         (SearchBackward): comment out the unlocking of the inset_owner this
16186         should not be needed!
16187
16188 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16189
16190         * Many files: Remove inherit_language, and add latex_language
16191
16192         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16193         collapsible insets.
16194
16195 2001-08-10  Juergen Vigna  <jug@sad.it>
16196
16197         * text.C (prepareToPrint): fixed hfill-width in draw!
16198
16199         * BufferView2.C (selectLastWord): save the selection cursor as this
16200         now is cleared in the function LyXText::clearSelection!
16201
16202 2001-08-08  Juergen Vigna  <jug@sad.it>
16203
16204         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16205         BACKSPACE type functions.
16206
16207         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16208         is only cutted from the document but not put in the cut-buffer, where
16209         still the old stuff should be.
16210
16211         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16212
16213         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16214
16215         * tabular.C (SetWidthOfCell): fixed special case where the width
16216         was not updated!
16217         (LeftLine): handle '|' in align_special.
16218         (RightLine): ditto
16219         (LeftAlreadyDrawed): ditto
16220         (SetWidthOfCell): ditto
16221
16222 2001-08-07  Juergen Vigna  <jug@sad.it>
16223
16224         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16225
16226 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16227
16228         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16229         * lyxlex.[hC]: ditto
16230
16231 2001-08-06  Juergen Vigna  <jug@sad.it>
16232
16233         * text.C (getVisibleRow): fix up row clearing a bit.
16234
16235 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16236
16237         * minibuffer.C: make sure the X server sees the changes in the input.
16238
16239 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16240
16241         * paragraph.C (getFont): split into...
16242         (getLabelFont): this
16243         (getLayoutFont): and this
16244         * paragraph_pimpl.C (realizeFont): calling this
16245
16246         * text2.C (getFont): split into...
16247         (getLayoutFont): this
16248         (getLabelFont): and this
16249         (realizeFont): all three calling this
16250
16251         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16252         files where used.
16253
16254 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16255
16256         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16257
16258 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16259
16260         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16261         layouts from the Quote inset insertion.
16262
16263 2001-08-03  Juergen Vigna  <jug@sad.it>
16264
16265         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16266
16267         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16268         only if status not is already CHANGED_IN_DRAW (second level).
16269
16270         * text.C (draw): don't set the need_break_row when inside an
16271         InsetText LyXText.
16272
16273 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16274
16275         * buffer.C (parseSingleLyXformat2Token): handle more latex
16276         conversion cases.
16277
16278         * bufferview_funcs.[hC]: change function names to
16279         begin with small char, adjust other files.
16280
16281 2001-08-02  André Pönitz <poenitz@gmx.net>
16282
16283         * lyxfunc.C:
16284         BufferView_pimpl.C: remove broken special code for math-greek
16285
16286 2001-08-02  Juergen Vigna  <jug@sad.it>
16287
16288         * BufferView_pimpl.C (update): redone this function so that we
16289         update the text again if there was a CHANGE_IN_DRAW.
16290
16291         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16292         (drawFromTo): added a new internal bool which is used by draw() and
16293         redraw() function.
16294         (general): some cursor drawing problems fixed.
16295
16296 2001-08-01  Juergen Vigna  <jug@sad.it>
16297
16298         * lyxfind.C (LyXFind): fixed
16299         (SearchForward): ditto
16300         (SearchBackward): ditto
16301
16302         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16303         spurius drawing of the cursor in the main area.
16304
16305         * text2.C (status): small fix which could lead to a segfault!
16306         (clearSelection): remove unneeded BufferView param.
16307
16308 2001-08-01  André Pönitz <poenitz@gmx.net>
16309
16310         * lyxfunc.C: small change due to changed mathed interface
16311
16312 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16313
16314         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16315
16316 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16317
16318         * lyxfunc.c: fail gracefully if file doesn't exist
16319
16320         * LyXSendto.C:
16321         * buffer.C:
16322         * lyxfunc.C:
16323         * BufferView_pimpl.C: IsDirWriteable() proto changed
16324
16325         * LyXView.C: fix updateWindowTitle() to store the last title
16326
16327 2001-07-31  Juergen Vigna  <jug@sad.it>
16328
16329         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16330         the font (wrong since using of Paragraph::highestFontInRange).
16331
16332         * paragraph.C (highestFontInRange): added a default_size parameter.
16333
16334         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16335         (setHeightOfRow): reformat
16336
16337 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16338
16339         * converter.[hC] + affected files: move to (inital-char)lowercase
16340         function names.
16341
16342         * ParagraphParameters.C (ParagraphParameters): remove commented code
16343
16344         * PainterBase.[Ch]: remove commented code
16345
16346         * LaTeXFeatures.h: add "bool floats" for float.sty
16347
16348         * LaTeXFeatures.C (LaTeXFeatures): init floats
16349         (require): handle float
16350         (getPackages): do it with floats
16351
16352 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16353
16354         * BufferView_pimpl.C (Dispatch): improve handling of
16355         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16356
16357         * commandtags.h: #include lyxfont.h here temporarily to avoid
16358         keybinding bug.
16359
16360         * bufferlist.h: include LString.h here.
16361
16362 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16363
16364         * text2.C (getStringToIndex): new method.
16365
16366 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16367
16368         * *: Reduced header file dependencies all over.
16369
16370 2001-07-30  Baruch Even  <baruch@lyx.org>
16371
16372         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16373
16374 2001-07-29  Baruch Even  <baruch@lyx.org>
16375
16376         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16377
16378 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16379
16380         * ParameterStruct.h (endif): add a default constructor to make
16381         sure that all variables is initialized.
16382
16383         * ParagraphParameters.C (ParagraphParameters): adjust
16384
16385 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16386
16387         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16388         index; also, check that there is something to index, and that it
16389         does not span over several paragraphs.
16390         (doubleClick): use WHOLE_WORD_STRICT for double click.
16391
16392         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16393
16394         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16395         scheme.
16396
16397 2001-07-26  Baruch Even  <baruch@lyx.org>
16398
16399         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16400         an InsetFig figure, backwards compatible reading of old figure code.
16401
16402 2001-07-27  Juergen Vigna  <jug@sad.it>
16403
16404         * text2.C: font.realize function adaption.
16405
16406         * text.C (draw): add a warnings lyxerr text if needed.
16407
16408         * layout.C: font.realize function adaption.
16409
16410         * language.C: add inherit_language and implement it's handlings
16411
16412         * bufferview_funcs.C (StyleReset): remove language parameter from
16413         font creation (should be language_inherit now).
16414
16415         * bufferparams.C (writeFile): handle ignore_language.
16416
16417         * paragraph.C (getFontSettings): the language has to be resolved
16418         otherwise we have problems in LyXFont!
16419
16420         * lyxfont.C (lyxWriteChanges): added document_language parameter
16421         (update): removed unneeded language parameter
16422
16423         * paragraph.C (validate): fixed wrong output of color-package when
16424         using interface colors for certain fonts in certain environments,
16425         which should not seen as that on the final output.
16426
16427 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16428
16429         * BufferView_pimpl.C:
16430         * Thesaurus.h:
16431         * Thesaurus.C:
16432         * Makefile.am:
16433         * commandtags.h:
16434         * LyXAction.C: add thesaurus support
16435
16436         * lyxfind.h:
16437         * lyxfind.C: add "once" parameter, for thesaurus, to not
16438           move to the next match
16439
16440 2001-07-26  Juergen Vigna  <jug@sad.it>
16441
16442         * lyxfont.C (realize): honor ignore_language too!
16443         (resolved): ditto.
16444
16445         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16446
16447         * text.C (draw): one place more for ignore_language to not draw
16448         itself!
16449
16450 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16451
16452         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16453
16454 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16455
16456         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16457         the minipage conversion problem.
16458
16459 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16460
16461         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16462         insert an inset.
16463
16464 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16465
16466         * BufferView.h: don't forward declare WorkArea
16467
16468         * BufferView.C: don't include WorkArea.h
16469
16470 2001-07-25  André Pönitz <poenitz@gmx.net>
16471
16472         * commandtags.h:
16473         * LyXAction.C:
16474         * lyxfunc.C:  new LFUN 'math-space'
16475
16476         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16477
16478 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16479
16480         * text2.C (toggleInset): call open/close
16481
16482 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16483
16484         * lyxfunc.C (dispatch): add debug for the disabled case
16485
16486         * font.C (buttonText): make similar to rectText
16487
16488         * buffer.C (readInset): comment out parsing of insetlist and
16489         insttheorem
16490
16491         * PainterBase.C (rectText): small correction
16492
16493         * BufferView_pimpl.C: comment out insettheorem and insetlist
16494         * LyXAction.C: ditto
16495         * commandtags.h: ditto
16496
16497 2001-07-24  Juergen Vigna  <jug@sad.it>
16498
16499         * text.C (draw): honor the ignore_language.
16500
16501         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16502
16503 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16504
16505         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16506         char inset.
16507
16508 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16509
16510         * lyxtext.h: remove unused (and unimplemented) methods
16511
16512 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16513
16514         * text.C (getVisibleRow): honor background color
16515
16516         * PainterBase.h:
16517         * Painter.h: remove default color argument for fillRectangle
16518
16519         * text.C (backgroundColor): new method
16520
16521 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16522
16523         * text.C (getVisibleRow): adjust
16524
16525         * font.[Ch] (rectText): new method, metrics
16526         (buttonText): new method, metrics
16527
16528         * PainterBase.[hC]: make rectText and buttonText always draw and take
16529         fewer paramteres.
16530
16531 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16532
16533         * ToolbarDefaults.C (read):
16534         * MenuBackend.C (read): allow escaping in all strings
16535
16536         * BufferView_pimpl.C (insertAndEditInset): new method.
16537         (Dispatch): use insertAndEditInset whenever appropriate.
16538
16539         * BufferView_pimpl.C (insertNote): removed
16540
16541         * BufferView_pimpl.C (smartQuote): new method, moved from
16542         BufferView; if an insetquote cannot be inserted, insert a '"'
16543         character instead.
16544
16545         * BufferView2.C: remove insertCorrectQuote();
16546
16547         * lyxfunc.C (getStatus): Add support for all remaingin
16548         inset-insert lfuns.
16549
16550         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16551
16552         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16553         command (necessary to pass " as parameter of self-insert.
16554
16555         * text.C (selectWordWhenUnderCursor):
16556         (selectWord): add word_location parameter
16557         (selectWordWhenUnderCursor): same + remove special code for word
16558         boundary.
16559         (selectNextWord): use kind() to guess type of insetspecialchar,
16560         not latex().
16561
16562         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16563         (insertErtContents): create ert insets as collapsed.
16564         (readInset): better compatibility code for Info inset.
16565
16566 2001-07-20  Juergen Vigna  <jug@sad.it>
16567
16568         * lyxfunc.C (dispatch): use always LyXFind now!
16569
16570         * text2.C (init): add a reinit flag so that the LyXText can be
16571         reinited instead of deleted and reallocated (used in InsetText).
16572
16573         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16574
16575         * text.C: ditto
16576
16577         * text2.C: ditto
16578
16579 2001-07-18  Juergen Vigna  <jug@sad.it>
16580
16581         * text.C (selectNextWord): handle insets inside inset by calling
16582         always the bv->text functions so that we can go up the_locking_inset!
16583
16584         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16585         in strange locations when inside an inset!
16586
16587         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16588         handling to include insets.
16589
16590         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16591
16592 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16593
16594         * LyXAction.C (init):
16595         * commandtags.h:
16596         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16597         LIGATURE_BREAK, since the name is so stupid.
16598
16599 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16600
16601         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16602         InsetInfos.
16603
16604         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16605
16606         * sp_form.[Ch]: remove.
16607
16608         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16609
16610         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16611         InsetInfo.
16612
16613         * src/buffer.C (readInset): ditto.
16614
16615 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16616
16617         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16618         menuSeparator(), endOfSentenceDot(), ldots() and
16619         hyphenationPoint(), which are therefore removed.
16620         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16621
16622         * LyXAction.C (init):
16623         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16624
16625         * paragraph.C (getWord): removed.
16626
16627         * BufferView_pimpl.C (Dispatch): use last word or selection for
16628         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16629
16630         * lyx_main.C (queryUserLyXDir): do not ask before creating
16631         user_dir, except if it has been named explicitely.
16632
16633 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16634
16635         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16636         a document of zero size.
16637
16638 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16639
16640         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16641         approriately in the c-tor and in require().
16642         (getPackages): output the appropriate LaTeX for natbib support.
16643
16644         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16645         variables "use_natbib" and "use_numerical_citations" when reading the
16646         LyX file.
16647         (readInset): read the various natbib cite commands.
16648         (validate): white-space change.
16649
16650         * bufferparams.[Ch]: new variables "bool use_natbib" and
16651         "bool use_numerical_citations".
16652         (writeFile): output them in the LyX file.
16653
16654 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16655
16656         * lyxfunc.C (getStatus): add support for all the inset insertion
16657         commands.
16658
16659         * text2.C (insertInset):
16660         * paragraph.C (insetAllowed):
16661         * BufferView_pimpl.C (insertInset): update to take in account the
16662         renaming of insertInsetAllowed
16663
16664         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16665
16666         * text2.C (getInset): new method. returns inset at cursor position.
16667
16668         * BufferView_pimpl.C (Dispatch): changes because of this.
16669
16670         * LyXAction.C (init): rename open-stuff to inset-toggle.
16671
16672         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16673
16674         * text2.C (toggleInset): renamed from openStuff; use
16675         Inset::open().
16676
16677 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16678
16679         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16680
16681         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16682
16683 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16684
16685         * buffer.C (readLyXformat2): Add filename to the error dialog
16686
16687 2001-07-18  Juergen Vigna  <jug@sad.it>
16688
16689         * tabular.C (GetCellNumber): put an assert here instead of the check!
16690
16691 2001-07-17  Juergen Vigna  <jug@sad.it>
16692
16693         * BufferView_pimpl.C (toggleSelection): adapted too.
16694
16695         * text.C (selectNextWord): adapted for use with insets.
16696         (selectSelectedWord): ditto
16697
16698 2001-07-17  Juergen Vigna  <jug@sad.it>
16699
16700         * sp_spell.C (PSpell): fix initialitation order.
16701
16702 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16703
16704         * paragraph.C: spacing
16705
16706 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16707
16708         * sp_spell.C: repair language selection for pspell
16709
16710 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16711
16712         * lyxfunc.h: change more methods to begin with lower char.
16713
16714 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16715
16716         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16717         for unknown layouts.
16718
16719 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16720
16721         * buffer.C (readLyXformat2): Generate an error dialog if there are
16722         unknown layouts.
16723
16724 2001-07-16  Juergen Vigna  <jug@sad.it>
16725
16726         * sp_spell.C: always compile ISpell part.
16727
16728         * lyxrc.C: added use_pspell entry and it's handling.
16729
16730 2001-07-13  Juergen Vigna  <jug@sad.it>
16731
16732         * sp_spell.C: removed double includes.
16733
16734 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16735
16736         Consistent use of Lsstream.h:
16737         * Lsstream.h: added using std::stringstream for consistencies sake.
16738
16739         * buffer.C: removed using std::stringstream
16740
16741         * lyxfont.C (stateText):
16742         * paragraph.C (asString):
16743         * text.C (selectNextWord, selectSelectedWord):
16744         * text2.C (setCounter):
16745         * vspace.C (asString, asLatexString):
16746         std::ostringstream -> ostringstream.
16747
16748 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16749
16750         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16751         * commandtags.h: add LFUN_HELP_ABOUTLYX
16752         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16753
16754 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16755
16756         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16757         cursorToggle()
16758         * lyx_gui_misc.C: remove spellchecker
16759         * lyxfunc.C: showSpellchecker
16760         * sp_base.h: added
16761         * sp_ispell.h: added
16762         * sp_pspell.h: added
16763         * sp_spell.C: added
16764         * sp_form.[Ch]: removed
16765         * spellchecker.[Ch]: removed
16766
16767 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16768
16769         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16770         is set.
16771         (simpleTeXSpecialChars): Simply print the input character without
16772         any special translation if pass_thru is set.
16773
16774         * layout.h: Added bool pass_thru to layout class for being able to
16775         implement pass through of a paragraph for Literate Programming.
16776
16777         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16778         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16779         * layout.C (Read): add "passthru" to list of layout tags and add
16780         code to set the pass_thru boolean when it is read.
16781
16782 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16783
16784         * trans_decl.h: remove allowed from KmodInfo
16785
16786         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16787         remove allowed code
16788         (Load): adjust
16789
16790         * paragraph_pimpl.C (erase): use boost::prior
16791
16792         * Painter.C (text): use data() instead of c_str() when length is
16793         also provided.
16794         * WorkArea.C (putClipboard): ditto
16795         * font.h (width): ditto
16796
16797         * BufferView2.C: use it-> instead of (*it). for iterators
16798         * texrow.C: ditto
16799         * paragraph_pimpl.C: ditto
16800         * paragraph.C: ditto
16801         * minibuffer.C: ditto
16802         * language.C: ditto
16803         * kbmap.C: ditto
16804         * encoding.C: ditto
16805         * counters.C: ditto
16806         * converter.C: ditto
16807         * chset.C: ditto
16808         * Variables.C: ditto
16809         * TextCache.C: ditto
16810         * MenuBackend.C: ditto
16811         * LyXAction.C: ditto
16812         * LColor.C: ditto
16813         * FloatList.C: ditto
16814         * DepTable.C: ditto
16815         * ColorHandler.C (LyXColorHandler): ditto
16816
16817 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16818
16819         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16820
16821         * text2.C (openStuff): reintroduce this method (which had been
16822         nuked in NEW_INSETS frenzy).
16823
16824         * lyxfunc.C (Dispatch): when an action has not been handled, use
16825         its name in the error message, not its number.
16826
16827         * paragraph.C (inInset): change method name to begin with lowercase.
16828
16829         * undo_funcs.C:
16830         * text2.C: updates because of this.
16831
16832 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16833
16834         * ToolbarDefaults.C (add): add spaces in error message
16835
16836 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16837
16838         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16839         (readLyXformat2): rename return_par to first_par, use lyxlex's
16840         pushToken and remove the manual push handling.
16841         (parseSingleLyXformat2Token): add another ert comp. variable:
16842         in_tabular, rename return_par to first_par. handle newlines better
16843
16844 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16845
16846         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16847
16848 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16849
16850         * text2.C (getParFromID): removed
16851
16852         * buffer.C (getParFromID): new method moved form lyxtext.
16853         * BufferView2.C (insertErrors): adjust
16854         (setCursorFromRow): adjust
16855         * BufferView_pimpl.C (restorePosition): adjust
16856         * lyxfunc.C (Dispatch): adjust
16857         * undo_funcs.C (textUndo): adjust
16858         (textRedo): adjust
16859         (textHandleUndo): adjust
16860         (textHandleUndo): adjust
16861
16862 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16863
16864         * buffer.C: up' the LYX_FORMAT
16865
16866         * lyxfont.h: turn NO_LATEX on as default
16867
16868         * buffer.C (insertErtContents): new methods of tex style compability.
16869         (parseSingleLyXformat2Token): use it several places.
16870         * tabular.C (OldFormatRead): and here
16871
16872 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16873
16874         * text2.C: remove some commented code.
16875         reindent file.
16876
16877         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16878         * trans.C: changes because of the above.
16879
16880 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16881
16882         * text2.C (setCounter): Fix counters bug with bibliography layout.
16883
16884 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16885
16886         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16887         own member functions
16888         (simpleTeXSpecialChars): ditto
16889
16890 2001-07-06  Juergen Vigna  <jug@sad.it>
16891
16892         * a lot of files: changed the access to LyXText::status and the
16893         call of undo-functions.
16894
16895         * undo.[Ch]: added a inset_id to the undo informations.
16896
16897         * undo_funcs.[Ch]: added and moved here all undo functions.
16898
16899         * lyxtext.h: give the status enum a weight, made status_ a private
16900         variable and made accessor functions for it, removed the whole bunch
16901         of undo-functions as they are now in their own file, make some
16902         functions publically available. Added function ownerParagraph with
16903         int parameter.
16904
16905         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16906         made InInset() a const function, added getParFromID() function.
16907
16908         * buffer.[Ch]: added const version for inset_iterator functions,
16909         added getInsetFromID() function.
16910
16911         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16912         changed undo functions for new version.
16913
16914 2001-07-05  Juergen Vigna  <jug@sad.it>
16915
16916         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16917         unknow mechanism does not call the proper constructor but only this
16918         one also if I request the other!?
16919
16920 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16921
16922         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16923
16924         * text2.C (LyXText): use initialization lists.
16925
16926         * lyxtext.h (Selection): initialize set_ and mark_
16927         (init): remove method
16928
16929 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16930
16931         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16932
16933 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16934
16935         * screen.[Ch]: change method names to begin with lowercase
16936
16937         * BufferView_pimpl.C (updateScrollbar): simplify further and
16938         hopefully make it a bit faster.
16939
16940 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16941
16942         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16943         calling directly xforms functions.
16944
16945         * Painter.C (Painter):
16946         * lyx_cb.C (MenuWrite):
16947         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16948         fl_display.
16949
16950         * lyx_gui.C: remove bogus guiruntime extern declaration.
16951
16952 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16953
16954         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16955         in NEW_INSETS
16956         (redoDrawingOfParagraph): ditto
16957         (redoParagraphs): ditto
16958         (cutSelection): don't create a object for CutAndPaste use the
16959         static method directly
16960         (pasteSelection): ditto
16961
16962         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16963         LyXview (+ rename)
16964
16965 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16966
16967         * modifications to some other files because of this.
16968
16969         * Makefile.am (lyx_SOURCES): add XFormsView
16970
16971         * XFormsView.[Ch]: new files
16972
16973         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16974         the main window. Move the gui dependent stuff to XFormsView
16975
16976 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16977
16978         * tabular.C (GetCellInset): update cur_cell also in the row/col
16979         version of this function.
16980
16981         * lyxfunc.C: no need to include figure_form.h here.
16982
16983         * FontLoader.h:
16984         * lyxfunc.h:
16985         * lyxscreen.h:
16986         * text2.C:
16987         * lyxvc.C: no need to include forms.h here.
16988
16989 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16990
16991         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16992
16993         * lyxfunc.C (Dispatch):
16994         * Spacing.C (set):
16995         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16996         constructor argument.
16997
16998 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16999
17000         * paragraph.C (Paragraph): dont't clear, and just set layout.
17001         (makeSameLayout): use params's copy contructor.
17002
17003         * ParagraphParameters.[Ch] (makeSame): delete method
17004
17005 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
17006
17007         * Variables.[Ch]: fix indentation, rename set to isSet
17008
17009 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17010
17011         * lyxfunc.C (Dispatch): fix typo
17012
17013 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17014
17015         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
17016         upper_bound.
17017
17018         * bufferlist.C: include assert.h for emergencyWrite().
17019
17020 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17021
17022         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
17023           give up at last (bug #425202) !
17024
17025 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
17026
17027         * lyx_gui_misc.C:
17028         * sp_form.h:
17029         * sp_form.C:
17030         * spellchecker.h:
17031         * spellchecker.C: strip spellchecker options and bring up
17032           preferences tab instead
17033
17034 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17035
17036         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
17037         the istringstream constructor
17038
17039 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17040
17041         * paragraph.C (getLayout): fix return value
17042
17043         * paragraph.h: do not declare getLayout as inline.
17044
17045         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
17046
17047 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17048
17049         * lyxcursor.h (operator<): new func
17050         (operator>): new func
17051         (operator>=): new func
17052         (operator<=): new func
17053
17054         * text.C (changeCase): use selection.start and selection.end
17055         (changeRegionCase): require from to be <= to. Require par to be a
17056         valid paragraph.
17057
17058         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
17059
17060 2001-06-27  Juergen Vigna  <jug@sad.it>
17061
17062         * text.C (cursorLeftOneWord): changed to return the cursor and added
17063         overlay with BufferView * parameter which calls this one.
17064         (getWord): added
17065         (selectWord): use new getWord function.
17066         (changeCase): renamed from changeWordCase as and extended to work
17067         also on selections.
17068
17069         * lyxtext.h: added enum word_location
17070
17071         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17072         changeCase as this operates now also on selections.
17073
17074 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
17075
17076         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
17077
17078         * many files: send debug output to Debug::INFO instead of
17079         Debug::ANY.
17080
17081         * converter.C (View):
17082         (Convert):
17083         (Move): send debug output to Debug::FILES instead of console.
17084
17085 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
17086
17087         * lyxfunc.C (getStatus): use func_status
17088
17089         * func_status.h: new header, describing the results of
17090         LyXFunc::getStatus;
17091
17092         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
17093         LFUN_MATH_HALIGN.
17094
17095 2001-06-25  The LyX Project  <jug@sad.it>
17096
17097         * buffer.C (sgmlOpenTag):
17098         (sgmlCloseTag):
17099         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
17100
17101 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17102
17103         * text2.C: remove some dead code
17104
17105         * tabular.C (GetCellInset): store the last cell checked (gotten)
17106
17107         * tabular.h: add the helper for the speedup
17108
17109         * lyxtext.h: remove some dead code
17110
17111 2001-06-26  The LyX Project  <Asger>
17112
17113         * paragraph.C: Change export to LaTeX of alignment to
17114         \begin{center} and family for better roundtrip work with reLyX.
17115
17116         * Tune the math drawing a bit.
17117
17118 2001-06-25  The LyX Project  <Asger>
17119
17120         * LColor.C (LColor): New color for math background. New color
17121         for buttons.
17122
17123 2001-06-25  The LyX Project  <jug@sad.it>
17124
17125         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17126
17127         * lyxfunc.C (Open):
17128         * bufferlist.C (newFile): do not restrict to files ending with
17129         .lyx
17130
17131         * BufferView_pimpl.C (MenuInsertLyXFile):
17132
17133 2001-06-24  The LyX Project  <jug@sad.it>
17134
17135         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17136         of compare_no_case
17137
17138 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17139
17140         * lyxtext.h: rename most methods to begin with a small char.
17141         Lots of changes because of this.
17142
17143         * paragraph.C (Paragraph): do not call fitToSize
17144         (erase): call Pimpl::erase
17145         (insertChar): call Pimpl::insertChar
17146         (insertInset): call Pipl::insertInset
17147         (breakParagraph): do not call fitToSize
17148         (breakParagraphConservative): do not call fitToSize
17149         (fitToSize): remove method
17150
17151         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17152
17153 2001-06-24  The LyX Project  <Asger>
17154
17155         * Fix Qt compilation^2
17156
17157 2001-06-24  The LyX Project  <jug@sad.it>
17158
17159         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17160         depthHook(getDepth()-1).
17161
17162         * paragraph.h:
17163         * ParagraphParameters.h:
17164         * ParameterStruct.h: change type of depth to unsigned int ==
17165         depth_type. Many adaptations to other files before of that.
17166
17167 2001-06-24  The LyX Project  <Asger>
17168
17169         * Fix Qt compilation.
17170
17171 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17172
17173         * paragraph.h: renamed several methods to begin with small letter.
17174         several changes to many parts of the code because of this.
17175
17176 2001-06-23  The LyX Project  <jug@sad.it>
17177
17178         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17179         rewritten to discard all double spaces when KeepEmpty is off
17180         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17181         to only handle newlines but not fiddle with spaces and friends.
17182
17183         * lyxfunc.C (MenuNew): when doing 'new from template', use
17184         template_path as default directory
17185
17186 2001-06-23  The LyX Project  <Asger>
17187
17188         * Clean-up of header file includes all over
17189         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17190
17191 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17192
17193         * paragraph.h: renamed from lyxparagraph.h
17194
17195 2001-06-23  Asger  <lyx@violet.home.sad.it>
17196
17197         * Buffer.h: Removed Buffer::resize
17198         * BufferList.h: Removed BufferList::resize
17199         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17200         the document lazily when we change the width, or the font settings.
17201
17202 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17203
17204         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17205
17206 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17207
17208         * buffer.h: remove out of date comment
17209
17210 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17211
17212         * lyxscreen.h:
17213         * screen.C: fix "theoretical" GC leak
17214
17215 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17216
17217         * LaTeX.C (scanAuxFile):
17218         (deplog): remove trailing \r when reading stream (useful under
17219         win32)
17220
17221 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17222
17223         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17224         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17225         and BufferView::theLockingInset(Inset*), so should use them and not
17226         access bv_->text->the_locking_inset directly.
17227
17228         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17229
17230 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17231
17232         * Makefile.am:
17233         * tex-defs.h: remove old unused file
17234
17235 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17236
17237         * BufferView_pimpl.C: fix typo, remove minibuffer message
17238           when buffer has loaded
17239
17240 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17241
17242         * lyxfunc.C (Dispatch): use stringstream
17243         (MenuNew): use stringstream
17244         (Open): use stringstream
17245
17246         * importer.C (Import): use stringstream
17247
17248         * bufferview_funcs.C (CurrentState): use stringstream
17249
17250         * LaTeX.C (run): use stringstream
17251
17252         * BufferView_pimpl.C (savePosition): use stringstream
17253         (restorePosition): use stringstream
17254         (MenuInsertLyXFile): use stringstream
17255
17256 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17257
17258         * BufferView.C:
17259         * Bullet.C:
17260         * ColorHandler.C:
17261         * FontInfo.C:
17262         * FontLoader.C:
17263         * LColor.C:
17264         * LaTeXFeatures.C:
17265         * Painter.C:
17266         * gettext.C:
17267         * lyx_gui_misc.C:
17268         * lyxserver.C:
17269         * vspace.C: removed // -*- C++ -*- as first line.
17270
17271         * lyxfind.h:
17272         * version.h: added // -*- C++ -*- as first line.
17273
17274 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17275
17276         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17277
17278         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17279         of string
17280
17281 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17282
17283         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17284         of floats.
17285
17286 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17287
17288         * gettext.C: include LString.h even when --disable-nls is on.
17289
17290 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17291
17292         * converter.h (Get): changed argument type from int to
17293         FormatList::size_type to avoid unnecessary conversion.
17294
17295         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17296         before using it.
17297
17298 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17299
17300         * gettext.h: include LString.h even when --disable-nls is on.
17301
17302 2001-06-07  Juergen Vigna  <jug@sad.it>
17303
17304         * text.C (BreakAgain): subst spaces with tabs.
17305
17306         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17307         (resizeInsetsLyXText): set force on resizeLyXText.
17308
17309 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17310
17311         * gettext.h (gettext_init):
17312         (locale_init): use a real definition instead of a macro
17313
17314 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17315
17316         * Bufferview_pimpl.C:
17317         * LColor.h:
17318         * LColor.C: further lcolor tidies
17319
17320 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17321
17322         * BufferView_pimpl.C (updateScrollbar): simplify.
17323
17324         * BufferView2.C: don't include insets/insetinfo.h, change
17325         prototype for insertInset and call the Pimpl version. let
17326         updateInset call Pimpl version.
17327
17328         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17329         gotoInset to BufferView::Pimpl
17330
17331 2001-06-01  Juergen Vigna  <jug@sad.it>
17332
17333         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17334         inside a LockingInset (is the update needed at all?).
17335
17336 2001-05-31  Juergen Vigna  <jug@sad.it>
17337
17338         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17339         here not the old one otherwise how should we compare it afterwards
17340         if it's the same!
17341
17342 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17343
17344         * lyxfont.C:
17345         * tabular.C:
17346         * tabular-old.C:
17347         * FontInfo.C: bring C functions into global namespace when
17348         necessary
17349
17350 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17351
17352         * LString.h: make sure config.h has been loaded before LString.h.
17353
17354         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17355         (one for each char read by EatLine!).
17356
17357         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17358         variables.
17359
17360 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17361
17362         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17363         to the same as the par we break from
17364
17365 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17366
17367         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17368
17369         * MenuBackend.C (expand): also create menu entries for wide
17370         versions of the floats.
17371
17372         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17373
17374         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17375
17376         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17377         frontends/Makefile.am
17378
17379         * text2.C: adjust
17380         * text.C: adjust
17381
17382
17383         * tabular.C (getTokenValue): add std::
17384
17385         * tabular-old.C (getTokenValue): add std::
17386         (getTokenValue): ditto
17387         (getTokenValue): ditto
17388
17389         * screen.C (ToggleSelection): adjust
17390
17391         * lyxtext.h: put selection cursors inside a Selection struct.
17392
17393         * lyxfunc.C (moveCursorUpdate): adjust
17394
17395         * lyxfont.C (latexWriteStartChanges): add std::
17396
17397         * lyxfind.C: adjust
17398
17399         * font.h: delete with(char const *, LyXFont const &)
17400
17401         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17402
17403         * FontInfo.C (getFontname): add std::
17404
17405         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17406         (workAreaButtonPress): adjust
17407         (tripleClick): adjust
17408         (update): adjust
17409         (moveCursorUpdate): adjust
17410         (Dispatch): adjust
17411
17412         * BufferView2.C (gotoInset): adjust
17413
17414 2001-05-30  Juergen Vigna  <jug@sad.it>
17415
17416         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17417         to check pspell I add this as default as I now have new pspell
17418         libraries and they seem to use this.
17419
17420 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17421
17422         * text2.C (CutSelection): make the cursor valid before the call to
17423         ClearSelection.
17424
17425 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17426
17427         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17428         relied on 0 terminated strings and other horrors. Bug found due to
17429         the new assert in lyxstring!
17430
17431         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17432         KP_ keys.
17433
17434 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17435
17436         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17437         to latinkeys.bind.
17438
17439         * lyxfunc.C (processKeySym): change method of getting to the
17440         self-insert char.
17441
17442         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17443         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17444         * BufferView_pimpl.[Ch]: here as private methods.
17445
17446 2001-05-28  Juergen Vigna  <jug@sad.it>
17447
17448         * text.C (SetHeightOfRow): added the update() call again as it is
17449         needed to initialize inset dimensions!
17450
17451 2001-05-16  Juergen Vigna  <jug@sad.it>
17452
17453         * text2.C (SetCharFont): Add new function with BufferView * and
17454         bool toggleall parameters for setting insets internal fonts.
17455         (SetFont): Freeze the undo as we may change fonts in Insets and
17456         all this change should be inside only one Undo!
17457
17458         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17459         setting font's in insets as for them we have the SetFont function!
17460
17461 2001-05-15  Juergen Vigna  <jug@sad.it>
17462
17463         * text2.C (ClearSelection): to be sure we REALLY don't have any
17464         selection anymore!
17465
17466         * tabular.C (TeXCellPreamble): fixed the left border problem for
17467         multicolumn cells.
17468
17469 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17470
17471         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17472         dependancy file
17473
17474 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17475
17476         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17477         LFUN_BREAKPARAGRAPH.
17478
17479         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17480         help test to "internal only", similar for LFUN_INSERT_URL
17481
17482         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17483         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17484         auto_region_delete and deadkeys.
17485
17486 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17487
17488         * LColor.h:
17489         * LColor.C: remove some dead entries, tidy a little
17490
17491 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17492
17493         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17494         commented code.
17495         (Dispatch): implement LFUN_ESCAPE
17496
17497         * commandtags.h: add LFUN_ESCAPE
17498
17499         * LyXAction.C (init): add entry for LFUN_ESCAPE
17500
17501         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17502         Remove commented code.
17503         (insertNote): moved here
17504         (open_new_inset): moved here
17505
17506         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17507         BufferView_pimpl
17508
17509 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17510
17511         * kbmap.C (findbinding): clean it up and make it work correctly.
17512
17513         * lyx_main.C (init): do not pass argc and argv as parameters
17514
17515 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17516
17517         * buffer.C: fix path for OS/2 & Win32
17518
17519         * lyx_gui.C:
17520         * lyx_main:
17521         * lyx_main.C: Added os:: class.
17522
17523         * os2_defines.h: update
17524
17525 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17526
17527         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17528         better by trying again with reduced state.
17529
17530 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17531
17532         * lyxrc.C (read): print error about invalid key sequence only when
17533         debugging (because not all latinX keysyms are known to some X
17534         servers)
17535
17536         * kbsequence.C (getiso): add a few std:: qualifiers
17537         (getiso): comment out extra return statement.
17538
17539 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17540
17541         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17542         handling.
17543         (Dispatch): enhance the accent inset a bit. (not perfect)
17544
17545 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17546
17547         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17548
17549 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17550
17551         * bufferlist.C (emergencyWrite): fix assert() call
17552
17553 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17554
17555         * text.C (InsertChar): Added trivial patch to only send the "you
17556         can not do multiple spaces this way" message once during a
17557         session.
17558
17559 2001-05-08  Baruch Even  <baruch@lyx.org>
17560
17561         * Makefile.am: Changed order of libraries to get LyX to link properly
17562         with the gnome frontend.
17563
17564 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17565
17566         * LaTeXFeatures.h: add a std:: qualifier
17567
17568 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17569
17570         * paragraph.C (String): use stringstream
17571
17572 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17573
17574         * paragraph.C (writeFile): remove footflag arg
17575
17576         * buffer.C (makeLaTeXFile): use stringstream
17577         (latexParagraphs): remove footnot gurba
17578
17579         * LaTeXFeatures.C (getPackages): use stringstream
17580         (getMacros): likewise
17581         (getTClassPreamble): likewise
17582         (getFloatDefinitions): new method
17583
17584         * paragraph.C (writeFile): reindent
17585         (Erase): reindent
17586
17587         * WorkArea.h: revert the xpos + etc changes.
17588
17589         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17590
17591         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17592
17593         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17594         (pasteSelection): likewise
17595         * text2.C (CreateUndo): likewise
17596
17597 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17598
17599         * minibuffer.C (peek_event): temporarily reduce the functionality
17600         of the minibuffer (to allow args on lfuns)
17601
17602         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17603         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17604
17605         * buffer.C (readInset): add compability reading of old float
17606         lists, add reading of new style float list.
17607         (readInset): avoid reevaluation of inscmd.getCmdName()
17608         (getLists): reindent
17609
17610         * MenuBackend.C (MenuItem): implement parsing of
17611         md_floatlistinsert and md_floatinsert.
17612         (expand::LastFiles): move initalizaton of iterators out of loop,
17613         avoid reevaluation.
17614         (expand::Documents): introduce typdedef vector<string> Strings,
17615         and use it.
17616         (expand::ExportFormats): introduce typedef vector<Format const *>
17617         Formats, and use it.
17618         (expand): implement FloatListInsert and FloatInsert.
17619
17620         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17621         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17622         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17623
17624         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17625         handling.
17626         (Dispatch::LFUN_FLOAT_LIST): implement
17627
17628 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17629
17630         * LaTeX.C (run): Fix problem with --export code.
17631
17632 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17633
17634         * BufferView.[Ch] (workarea): removed.
17635         (getClipboard) new method; wrapper for workarea()->getClipboard()
17636
17637         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17638         bug.
17639
17640         * WorkArea.h (width, height, xpos, ypos): These methods all
17641         returned the dimensions of the work_area sub-area of WorkArea,
17642         resulting in a position error if the WorkArea were resized. Now
17643         return the dimensions of the entire WorkArea.
17644
17645         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17646
17647 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17648
17649         * LaTeX.C (deplog): correct the syntax of regex reg1
17650
17651 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17652
17653         * undo.C: remove !NEW_INSETS cruft
17654
17655 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17656
17657         * text2.C: remove !NEW_INSETS cruft
17658
17659         * text.C: remove !NEW_INSETS cruft
17660
17661         * tabular.C: remove !NEW_INSETS cruft
17662
17663         * spellchecker.C: remove !NEW_INSETS cruft
17664
17665         * lyxtext.h: remove !NEW_INSETS cruft
17666
17667         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17668
17669         * lyxfunc.C: remove !NEW_INSETS cruft
17670
17671         * lyxfind.C: remove !NEW_INSETS cruft
17672
17673         * lyx_cb.C: remove !NEW_INSETS cruft
17674
17675         * figureForm.C: remove  !NEW_INSETS cruft
17676
17677         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17678
17679         * buffer.[Ch]: remove !NEW_INSETS cruft
17680
17681         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17682
17683         * CutAndPaste.C: remove !NEW_INSETS cruft
17684
17685         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17686
17687         * BufferView2.C: remove !NEW_INSETS cruft
17688
17689         * BufferView.h: remove !NEW_INSETS cruft
17690
17691 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17692
17693         * Lsstream.h: include LString.h before the sstream headers to
17694         fix problem with gcc 2.95.3 and lyxstring
17695
17696 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17697
17698         * lyx_main.C: add using directives when needed for C functions
17699         declared in std:: namespace.
17700
17701 2001-04-27  Juergen Vigna  <jug@sad.it>
17702
17703         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17704         (SetHeightOfRow): comment out the update call should not be needed!
17705
17706 2001-04-13  Juergen Vigna  <jug@sad.it>
17707
17708         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17709         (LyXTabular): tried to minimize operator= operations (and realized
17710         hopfully Lars wish).
17711
17712 2001-04-27  Juergen Vigna  <jug@sad.it>
17713
17714         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17715
17716 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17717
17718         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17719
17720         * buffer.C (readInset): hack to make listof algorithm work
17721
17722         * BufferView_pimpl.C: hack to make listof algorithm work
17723
17724 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17725
17726         * LyXAction.C: removed all !NEW_INSETS cruft
17727         (init): moved lfun_item in method
17728
17729         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17730
17731 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17732
17733         * BufferView2.C (theLockingInset): white space.
17734
17735 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17736
17737         * minibuffer.C: include <iostream>
17738
17739         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17740
17741         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17742
17743         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17744
17745         * text.[Ch] (TransposeChars): new method
17746
17747 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17748
17749         * call message directly through LyXView instead of through LyXFunc
17750         * BufferView2.C: adjust
17751         * BufferView_pimpl.C: adjust
17752         * FontLoader.C: adjust
17753         * buffer.C: adjust
17754         * bufferview_funcs.C: adjust
17755         * converter.C: adjust
17756         * figureForm.C: adjust
17757         * importer.C: adjust
17758         * lyx_cb.C: adjust
17759         * lyx_gui_misc.C: adjust
17760         * lyxfunc.C: adjust
17761         * lyxvc.C: adjust
17762         * text2.C: adjust
17763         + more files in subdirs
17764
17765         * lyxparagraph.h (size): move up int file
17766         (GetLayout): ditto
17767
17768         * adjust all uses of Assert to lyx::Assert.
17769
17770         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17771         lyxfunctional in namespace lyx
17772         * layout.C (hasLayout): ditto
17773         (GetLayout): ditto
17774         (GetLayout): ditto
17775         (delete_layout): ditto
17776         (NumberOfClass): ditto
17777         * converter.C (GetFormat): ditto
17778         (GetNumber): ditto
17779         (Add): ditto
17780         (Delete): ditto
17781         (SetViewer): ditto
17782         * bufferlist.C (getFileNames): ditto
17783         (emergencyWriteAll): ditto
17784         (exists): ditto
17785         (getBuffer): ditto
17786         * MenuBackend.C (hasSubmenu): ditto
17787         (hasMenu): ditto
17788         (getMenu): ditto
17789         * BufferView_pimpl.C (getInsetByCode): ditto
17790
17791 2001-04-18  Juergen Vigna  <jug@sad.it>
17792
17793         * vspace.C (asLatexString): fixed the 100% problem.
17794
17795 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17796
17797         * lyxfunc.C (Dispatch):
17798         * minibuffer.C:
17799         * minibuffer.h: add a few std:: qualifiers
17800
17801 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17802
17803         * minibuffer.[Ch]: reimplement so that commands is initiated and
17804         run from lyxfunc, simplified som handling, and made the completion
17805         and history code for complete. wip.
17806
17807         * lyxfunc.C (processKeySym): call message
17808         (miniDispatch): new temporary method
17809         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17810         (LFUN_MESSAGE): implement
17811         (LFUN_MESSAGE_PUSH): implement
17812         (LFUN_MESSAGE_POP): implement
17813         (initMiniBuffer): the initial/defualt minibuffer message.
17814
17815         * lyxfont.[Ch]: inline some more getters
17816
17817         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17818
17819         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17820
17821         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17822         (AutoSave): use LFUN_MESSAGE
17823         (Reconfigure): ditto
17824
17825         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17826
17827         * figureForm.C: use LFUN_MESSAGE
17828
17829         * converter.C (runLaTeX): use LFUN_MESSAGE
17830
17831         * bufferview_funcs.C: use LFUN_MESSAGE
17832         (Melt): ditto
17833         (changeDepth): ditto
17834
17835         * bufferparams.h: use boost::
17836
17837         * bufferlist.h: inherit privately from noncopyable
17838
17839         * bufferlist.C (loadLyXFile): remove some commented code.
17840
17841         * buffer.C (runChktex): use LFUN_MESSAGE
17842
17843         * ShareContainer.h: inherit privately from noncopyable
17844
17845         * ParagraphParameters.[hC] (depth): inline it.
17846
17847         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17848         methods.
17849         (message): new method
17850         (messagePush): ditto
17851         (messagePop): ditto
17852         (show): init minibuffer
17853         (showState): direct call
17854
17855         * LaTeX.[Ch]: inherit privately from noncopyable
17856         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17857         instead of WriteStatus.
17858
17859         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17860
17861         * BufferView_pimpl.C (buffer): don't init minibuffer
17862         (workAreaButtonPress): use LFUN_MESSAGE
17863         (workAreaButtonRelease): ditto
17864         (savePosition): ditto
17865         (restorePosition): ditto
17866         (MenuInsertLyXFile): ditto
17867         (workAreaExpose): don't init minibuffer
17868         (update): remove commented code, simplify
17869
17870         * BufferView2.C (openStuff): use LFUN_MESSAGE
17871         (toggleFloat): ditto
17872         (menuUndo): ditto
17873         (menuRedo): ditto
17874         (copyEnvironment): ditto
17875         (pasteEnvironment): ditto
17876         (copy): ditto
17877         (cut): ditto
17878         (paste): ditto
17879         (gotoInset): ditto
17880         (updateInset): remove some commented code
17881
17882         * lastfiles.h: inherit privately from noncopyable
17883         * layout.h: ditto
17884         * lyx_gui.h: ditto
17885         * lyx_main.h: ditto
17886         * lyxlex.h: ditto
17887         * lyxlex_pimpl.h: ditto
17888
17889         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17890         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17891         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17892
17893         * LyXAction.h: inherit privately from noncopyable, add methods
17894         func_begin, func_end, returning iterators to the func map.
17895
17896         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17897         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17898         (func_begin): new method
17899         (func_end): new method
17900
17901         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17902         and not)
17903         (copySelection): ditto
17904         (pasteSelection): ditto
17905
17906         * BufferView.C: whitespace change
17907         * BufferView.h: inherit privately from noncopyable
17908
17909 2001-04-16  Allan Rae  <rae@lyx.org>
17910
17911         * tabular-old.C (l_getline):
17912         * spellchecker.C (sc_check_word):
17913         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17914         an unrecognised preprocessor directive.  So ensure they're wrapped.
17915
17916 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17917
17918         * src/exporter.C (Export): Give an error message when path to file
17919         contains spaces.
17920
17921 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17922
17923         * LaTeX.C (deplog): Always check that foundfile exists.
17924
17925 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17926
17927         * lyx_main.h:
17928         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17929
17930 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17931
17932         * tabular.[Ch] (getLabelList): implement new method
17933
17934         * minibuffer.h: comment ouf setTiimer
17935
17936         * minibuffer.C (ExecutingCB): constify res
17937         (peek_event): constify s
17938         (Set): constify ntext
17939         (Init): constify nicename
17940
17941         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17942
17943         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17944         (savePosition): use two params to Minibuffer::Set
17945         (restorePosition): ditto
17946
17947 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17948
17949         * lyx_main.C: include language.h
17950
17951         * Makefile.am (lyx_main.o): add language.h
17952
17953 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17954
17955         * exporter.C:
17956         * paragraph.C:
17957         * screen.C:
17958         * tabular.C:
17959         * CutAndPaste.C: include gettext.h
17960
17961         * lyxfont.h: remove old hack with ON and OFF.
17962
17963         * lyxparagraph.h:
17964         * lyxfont.h: do not include language.h...
17965
17966         * BufferView2.C:
17967         * LaTeXFeatures.C:
17968         * Painter.C:
17969         * bufferview_funcs.C:
17970         * font.C:
17971         * lyxfont.C:
17972         * text.C:
17973         * text2.C:
17974         * trans_mgr.C:
17975         * paragraph.C: ... but do it here instead
17976
17977 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17978
17979         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17980
17981         * tabular.C: small reformat
17982
17983         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17984         NEW_INSETS version
17985         (GetChar): ditto
17986         (BreakParagraph): ditto
17987         (SetOnlyLayout): ditto
17988         (SetLayout): ditto
17989
17990         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17991         with one arg less.
17992
17993         * lastfiles.C: removed most using decl, add std:: where needed
17994
17995         * buffer.C: ws changes
17996
17997         * MenuBackend.C (class compare_format): put into anon namespace
17998         (expand): constify label, names, action, action2
17999         (expand):
18000
18001         * text.C (SingleWidth): constify font
18002         (IsBoundary): constify rtl2
18003         (GetVisibleRow): constify ww
18004
18005         * LaTeX.C (deplog): constify logfile
18006
18007         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
18008         start_x, end_x
18009         (workAreaExpose): constify widthChange, heightChange
18010
18011         * lyxrow.C (par): moved
18012         (height): moved
18013         (next): moved
18014         * lyxrow.h: as inlines here
18015
18016         * lyxfont.h (shape): moved from lyxfont.C
18017         (emph): moved from lyxfont.C
18018
18019         * lyxfont.C (LyXFont): use initialization list for all
18020         constructors
18021         (shape): move to lyxfont.h as inline
18022         (emph): move to lyxfont.h as inline
18023
18024
18025 2001-04-04  Juergen Vigna  <jug@sad.it>
18026
18027         * vspace.C: had to include stdio.h for use of sscanf
18028
18029 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
18030
18031         * BufferView.h:
18032         * BufferView_pimpl.h: remove xforms cruft. Both classes are
18033         independent of xforms.
18034
18035 2001-04-02  Juergen Vigna  <jug@sad.it>
18036
18037         * spellchecker.C: fixed namespace placing!
18038
18039 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
18040
18041         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
18042         the LyXParagraph * is 0.
18043
18044 2001-03-29  Juergen Vigna  <jug@sad.it>
18045
18046         * vspace.C: added support for %, c%, p%, l%.
18047         (stringFromUnit): added helper function.
18048         (asLatexString): changed to give right results for the %-values.
18049
18050         * buffer.C: convert the widthp in a width%.
18051
18052 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
18053
18054         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
18055         figureForm.[Ch].
18056
18057         * figureForm.[Ch]: stripped the FD_from_figure manipulation
18058         code out of lux_cb.[Ch], ready for its (imminent?) removal.
18059
18060         * lyx_cb.[Ch]: see above.
18061
18062         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
18063         form1.[Ch].
18064
18065         * form1.[Ch]:
18066         * lyx.[Ch]: replaced by figure_form.[Ch].
18067
18068         * lyx_gui.C:
18069         * lyx_gui_misc.C:
18070         * lyxfunc.C: changed headers associated with above changes.
18071
18072 2001-03-27  Juergen Vigna  <jug@sad.it>
18073
18074         * BufferView_pimpl.C: set the temporary cursor right!
18075
18076 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
18077
18078         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
18079
18080 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
18081
18082         * LString.h: removed "using std::getline"!
18083
18084         * BufferView_pimpl.C (Dispatch): changes due to changes in
18085         InsetInclude::Params.
18086
18087         * buffer.C (tag_name): removed redundant break statements as they were
18088         producing lots of warnings with my compiler.
18089
18090 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18091
18092         * LString.h: add "using std::getline" when using the real <string>.
18093
18094 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18095
18096         * buffer.C: removed bitset usage.
18097         PAR_TAG moved to an anonymous name space.
18098         (tag_name): new funtion, also in the anonymous namespace.
18099         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
18100         (makeDocBookFile): clean code. Completed transition from string arrays
18101         to string vectors.
18102         (SimpleDocBookOnePar): code clean.
18103
18104 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18105
18106         * tabular.C: add some comments.
18107
18108 2001-03-22  Juergen Vigna  <jug@sad.it>
18109
18110         * buffer.C (parseSingleLyXformat2Token): redone the minipage
18111         compatibility read a bit and fixed bug with minipage in different
18112         depth.
18113
18114 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
18115
18116         * buffer.C (pop_tag): removed.
18117         (push_tag): removed.
18118         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
18119         array replaced with vector. Added support for CDATA sections.
18120         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
18121         at any nest level.
18122         (makeDocBookFile): XML conformant declaration of CDATA section,
18123         fixed bug related to <emphasis> in the first paragraph char.
18124         (sgmlOpenTag): exclude empty tags.
18125         (sgmlCloseTag): ditto.
18126
18127         * buffer.h (pop_tag): removed.
18128         (push_tag): removed.
18129
18130 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18131
18132         * language.h (Languages): added size_type and size().
18133
18134 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18135
18136         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18137         response on compability reading of minipages. One probliem is that
18138         the old usage of minipages was flertydig
18139
18140         * several files here and in subdirs: don't use static at file
18141         scope use anon namespaces instead.
18142
18143 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18144
18145         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18146         LaTeX output. This is necessary for Literate document
18147         processing.
18148
18149 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18150
18151         * buffer.C: insert hfill when needed.
18152
18153         * tabular.C (l_getline): use string::erase, small whitespace change.
18154
18155         * BufferView_pimpl.C: try the anon namespace.
18156         * WorkArea.C: ditto
18157
18158 2001-03-16  Juergen Vigna  <jug@sad.it>
18159
18160         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18161         otherwise it won't open options-dialogs.
18162
18163         * buffer.C: honor pextraWidth(p) on converting minipages.
18164
18165         * tabular.C (l_getline): changed the functions to strip trailing \r.
18166
18167 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18168
18169         * BufferView_pimpl.C:
18170         * minibuffer..C: added "using SigC::slot" declaration.
18171
18172 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18173
18174         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18175
18176         * text2.C: ditto
18177
18178         * text.C: ditto
18179
18180         * paragraph.C: ditto
18181
18182         * lyxtext.h: NO_PEXTRA
18183
18184         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18185
18186         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18187         * ParameterStruct.h: ditto
18188         * ParagraphParameters.h: ditto
18189         * lyxparagraph.h: ditto
18190
18191 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18192
18193         * buffer.C: add compability for minipage alignment.
18194         (latexParagraphs): remove unwanted pextra check.
18195
18196         * several files: remove CXX_WORKING_NAMESPACES
18197
18198         * buffer.C (pop_tag): tie is in namespace boost
18199
18200         * BufferView.h: noncopyable is in namespace boost
18201         * lyxlex.h: ditto
18202         * lyx_main.h: ditto
18203         * lyx_gui.h: ditto
18204         * layout.h: ditto
18205         * lastfiles.h: ditto
18206         * bufferlist.h: ditto
18207         * ShareContainer.h: ditto
18208         * LyXView.h: ditto
18209         * LyXAction.h: ditto
18210         * LaTeX.h: ditto
18211
18212 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18213
18214         * Merging changes from BRANCH_MVC back into HEAD.
18215
18216         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18217
18218 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18219
18220         * BufferView_pimpl.C: change from intl.C
18221
18222         * combox.h:
18223         * combox.C:
18224         * Makefile.am: move combox.*
18225
18226         * form1.h:
18227         * form1.C:
18228         * lyx_gui.C:
18229         * intl.h:
18230         * intl.C: remove dialog (covered by prefs)
18231
18232 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18233
18234         * lyxfunc.C (Dispatch): removed redundant break statement.
18235
18236 2001-03-14  Juergen Vigna  <jug@sad.it>
18237
18238         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18239
18240 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18241
18242         * buffer.C: add hack to fix compability reading of minipages.
18243
18244 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18245
18246         * buffer.C (getLists): Cleanup.
18247
18248 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18249
18250         * lyxfont.C (update): don't honor toggleall on font size.
18251
18252 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18253
18254         * bmtable.c:
18255         * bmtable.h:
18256         * Makefile.am: moved to frontends/xforms/
18257
18258         * lyx_gui_misc.C:
18259         * lyxfunc.C:
18260         * BufferView_pimpl.C: changes for moved mathpanel
18261
18262 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18263
18264         * gettext.h: fix gettext_init() in --disable-nls
18265
18266 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18267
18268         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18269
18270 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18271
18272         * lyx.C:
18273         * lyx.h: strip external form
18274
18275 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18276
18277         * BufferView_pimpl.C: add comment, destroySplash()
18278
18279 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18280
18281         * BufferView_pimpl.C:
18282         * LyXAction.C:
18283         * buffer.C:
18284         * commandtags.h:
18285         * lyxfunc.C: use re-worked insetinclude
18286
18287 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18288
18289         * buffer.C: add using std::stringstream.
18290
18291         * lyx_cb.C: readd using std::ios.
18292
18293         * buffer.C: add using std::map.
18294
18295         * BufferView_pimpl.C: add using std::vector.
18296
18297         * ShareContainer.h: add std:: to swap.
18298
18299         * buffer.h: add some typedefs
18300         * buffer.C (getLists): use them
18301         (getLists): renamed from getTocList.
18302         add a counter for the different float types and use it in the
18303         generated string.
18304         (getLists): use the same counter for the NEW_INSETS and the "non"
18305         NEW_INSETS
18306
18307         * lyx_cb.h: remove unused items, includes, using etc.
18308
18309         * ShareContainer.h: remove some commented code, add more comments
18310         and "documentation".
18311
18312 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18313
18314         * buffer.C (getTocList): make the list also when NEW_INSETS is
18315         defined.
18316
18317         * buffer.h: remove TocType
18318
18319         * buffer.C (getTocList): change to return a map<string,
18320         vector<TocItem> >, implement for dynamic number of list.
18321
18322         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18323         * text2.C (PasteSelection): adjust
18324         * CutAndPaste.C (pasteSelection): adjust
18325
18326         * FloatList.C (FloatList): update from the new_insets branch.
18327         * Floating.[Ch]: ditto
18328         * LaTeXFeatures.C: ditto
18329         * buffer.C: ditto
18330         * lyxlex_pimpl.C: ditto
18331
18332         * paragraph.C (Last): remove when NEW_INSETS is defined.
18333
18334         * other file: changes because of the above.
18335
18336 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18337
18338         * lyxparagraph.h: rename next to next_, previous to previous_,
18339         make them private for NEW_INSETS. Rename Next() to next(),
18340         Previous() to previous().
18341
18342         * other files: changes because of the above.
18343
18344 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18345
18346         * BufferView.h:
18347         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18348         problem.
18349
18350 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18351
18352         * main.C (main): pass lyx_localedir to gettext_init().
18353
18354         * gettext.h: remove locale_init and gettext_init macros
18355
18356         * gettext.C (locale_init): new function
18357         (gettext_init): new function
18358
18359         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18360         setlocale().
18361
18362 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18363
18364         * Moved credits to frontends:
18365         * credits.[Ch]: removed
18366         * credits_form.[Ch]: removed
18367         * lyx_gui_misc.C: remove credits stuff
18368         * Makefile.am:
18369
18370 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18371
18372         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18373
18374         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18375         unneeded destructor.
18376
18377         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18378         a standalone pointer again.
18379
18380         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18381
18382 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18383
18384         * Makefile.am:
18385         * filedlg.h:
18386         * filedlg.C:
18387         * LyXAction.C:
18388         * ToolbarDefaults.C:
18389         * bufferlist.C:
18390         * commandtags.h:
18391         * form1.C:
18392         * form1.h:
18393         * lyx_cb.C:
18394         * lyx_cb.h:
18395         * lyxfunc.h:
18396         * lyxfunc.C:
18397         * BufferView_pimpl.C: use new file dialog in GUII
18398
18399         * lyx_cb.h:
18400         * lyx_cb.C: remove LayoutsCB to Toolbar
18401
18402 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18403
18404         * ShareContainer.h (get): add std:: qualifier
18405
18406 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18407
18408         * ShareContainer.h: define a proper ShareContainer::value_type
18409         type (and use typename to please compaq cxx)
18410
18411 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18412
18413         * lyxparagraph.h: move serveral local vars to
18414         ParameterStruct/ParagraphParameters., use ShareContainer in
18415         FontTable., make vars in FontTable private and add getter and
18416         setter.
18417
18418         * paragraph.C: changes because of the above.
18419
18420         * lyxfont.h: remove copy constructor and copy assignment. (the
18421         default ones is ok), move number inside FontBits. move inlines to
18422         lyxfont.C
18423
18424         * lyxfont.C: add number to initializaton of statics, move several
18425         inlines here. constify several local vars. some whitespace
18426         cleanup. Dont hide outerscope variables.
18427
18428         * Spacing.h: add two new constructors to match the set methods.
18429
18430         * ShareContainer.h: new file, will perhaps be moved to support
18431
18432         * ParameterStruct.h: new file
18433
18434         * ParagraphParameters.h: new file
18435
18436         * ParagraphParameters.C: new file
18437
18438         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18439         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18440
18441         * BufferView_pimpl.C: ParagraphParameter changes.
18442         * buffer.C: Likewise.
18443         * bufferview_funcs.C: Likewise.
18444         * text.C: Likewise.
18445         * text2.C: Likewise.
18446
18447 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18448
18449         * lyxfind.C (LyXReplace): do not redefine default argument in
18450         implementation.
18451         (IsStringInText): ditto
18452         (SearchForward): ditto
18453         (SearchBackward): ditto
18454
18455 2001-03-06  Juergen Vigna  <jug@sad.it>
18456
18457         * lyxfind.C (IsStringInText): put parentes around expressions.
18458
18459 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18460
18461         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18462
18463 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18464
18465         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18466
18467         * stl_string_fwd.h: add comment
18468
18469         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18470
18471         * tabular.h:
18472         * tabular.C: remove unused DocBook methods
18473
18474         * intl.C:
18475         * language.C:
18476         * paragraph.C:
18477         * buffer.C:
18478         killed DO_USE_DEFAULT_LANGUAGE
18479
18480 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18481
18482         * lyx_gui.C: do not include language.h.
18483
18484         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18485         arguments in function implementation.
18486
18487 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18488
18489         * BufferView_pimpl.C: add <ctime>
18490
18491 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18492
18493         * BufferView_pimpl.C: add using std::find_if
18494
18495 2001-02-27  José Matos  <jamatos@fep.up.pt>
18496
18497         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18498         by OnlyPath.
18499
18500 2001-02-11  José Matos  <jamatos@fep.up.pt>
18501
18502         * buffer.C (makeDocBookFile): command styles now have a parameter as
18503         "title" by default.
18504
18505 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18506
18507         * layout_forms.[Ch]: removed
18508         * lyx_cb.[Ch]: out character
18509         * lyx_gui.C: out character
18510         * lyx_gui_misc.C: out character
18511         * bufferview_funcs.C: : out character,
18512         added toggleall as parameter in ToggleAndShow
18513
18514 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18515
18516         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18517
18518         * text2.C (SetCurrentFont): Disable number property at boundary.
18519
18520 2001-02-26  Juergen Vigna  <jug@sad.it>
18521
18522         * lyxfunc.C (getStatus): added a string argument override function so
18523         that this is correctly called from LyXFunc::Dispatch if it contains a
18524         do_not_use_argument which is used!
18525         (Dispatch): added check for "custom" export and call appropriate func.
18526
18527 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18528
18529         * lyxrc.C: Add language_command_local, language_use_babel and
18530         language_global_options.
18531
18532         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18533
18534         * buffer.C (makeLaTeXFile): Use language_use_babel and
18535         language_global_options.
18536
18537 2001-02-23  Juergen Vigna  <jug@sad.it>
18538
18539         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18540         which works with LyXText and putted it inside BufferView. Here now we
18541         only call for that part the BufferView::Dispatch() function.
18542
18543         * BufferView.C (Dispatch): added.
18544
18545         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18546         functions which needs to use a LyXText over from LyXFunc.
18547         (MenuInsertLyXFile): added
18548         (getInsetByCode): added
18549         (moveCursorUpdate): added
18550         (static TEXT): added
18551
18552 2001-02-22  Juergen Vigna  <jug@sad.it>
18553
18554         * BufferView_pimpl.C (update): call a status update to see if LyXText
18555         needs it.
18556
18557 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18558
18559         * vc-backend.C (revert): implement for CVS
18560         (getLog): implement for CVS
18561
18562 2001-02-20  Juergen Vigna  <jug@sad.it>
18563
18564         * text2.C (ClearSelection): added BufferView param for inset_owner call
18565
18566         * lyxfunc.C (TEXT): added this function and use it instead of
18567         directly owner->view()-text of getLyXText().
18568
18569 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18570
18571         * src/layout_forms.C: out preamble
18572         * src/layout_forms.h: out preamble
18573         * src/lyx_cb.C: out preamble
18574         * src/lyx_cb.h: out preamble
18575         * src/lyx_gui.C: out preamble
18576         * src/lyx_gui_misc.C: out preamble
18577         * src/lyxfunc.C: connect with guii preamble
18578
18579 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18580
18581         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18582
18583 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18584
18585         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18586         whether to run bibtex.
18587
18588 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18589
18590         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18591
18592 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18593
18594         * Makefile.am (lyx_SOURCES): removed bibforms.h
18595
18596         * vspace.h: doxygen
18597
18598         * text.C (GetVisibleRow): make several local vars const
18599
18600         * tabular.C: small cleanup.
18601
18602         * lyxserver.C (callback): use compare instead of strncmp
18603
18604         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18605         inlines to after class or to paragraph.C
18606
18607         * lyxfont.h: remove friend operator!=
18608
18609         * converter.h: move friend bool operator< to non friend and after
18610         class def.
18611
18612         * combox.h: small cleanup
18613
18614         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18615         to inlines after class def.
18616
18617         * buffer.C (pop_tag): use string operations instead of strcmp
18618
18619         * bmtable.c: doxygen, small cleanup
18620
18621         * LaTeX.h: remove friend operator==
18622
18623 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18624
18625         * screen.C:
18626         * lyxrc.[Ch]:
18627         * lyxfunc.C:
18628         * lyxfont.[Ch]:
18629         * lyx_cb.C:
18630         * intl.[Ch]:
18631         * commandtags.h:
18632         * buffer.C:
18633         * WorkArea.[Ch]:
18634         * LyXAction.C:
18635         * BufferView_pimpl.C:
18636         * BufferView.[Ch]: remove cruft
18637
18638 2001-02-14  Juergen Vigna  <jug@sad.it>
18639
18640         * lyxfunc.C: removed #if 0 unused code
18641
18642         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18643
18644         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18645
18646         * text2.C (SetSelection): added a BufferView * parameter
18647
18648 2001-02-13  Juergen Vigna  <jug@sad.it>
18649
18650         * lyxfunc.C (Dispatch): fixed protected blank problem.
18651         * BufferView2.C (protectedBlank): added LyxText * parameter.
18652
18653         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18654         (AppendColumn): same as above for column_info.
18655
18656         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18657         (moveCursorUpdate): use a LyXText param for support of InsetText.
18658
18659         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18660         (tripleClick): ditto
18661
18662         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18663
18664         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18665
18666         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18667
18668         * text2.C (SetSelection): set correct update status if inset_owner
18669         (ToggleFree): ditto
18670
18671 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18672
18673         * tabular.C: remove some commented code.
18674
18675 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18676
18677         * BufferView_pimpl.C: call hideSplash()
18678
18679         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18680
18681         * include_form.h:
18682         * bibforms.h: remove
18683
18684         * lyxfunc.C:
18685         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18686           add LFUN_CHILD_CREATE
18687
18688         * counters.h: fix tiny typo
18689
18690         * lyx_cb.C:
18691         * lyx.h:
18692         * lyx_gui.C:
18693         * lyx.C: move splash to frontends/xforms/
18694
18695         * lyx_gui_misc.C: move Include and Bibform to frontends
18696
18697         * lyxvc.h: clarify comment
18698
18699         * vspace.C: tiny housekeeping
18700
18701 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18702
18703         * text.C (PrepareToPrint): RTL Fix.
18704
18705         * paragraph.C (GetUChar): New method.
18706         (String):  Use GetUChar.
18707
18708         * buffer.C (asciiParagraph): Use GetUChar.
18709
18710 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18711
18712         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18713
18714 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18715
18716         * buffer.h:
18717         * buffer.C: rename to getLogName(), handle
18718           build log / latex log nicely
18719
18720 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18721
18722         * MenuBackend.C:
18723         * MenuBackend.h: remove support for reference menuitem type.
18724
18725 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18726
18727         * BufferView_pimpl.C: housekeeping
18728         * BufferView_pimpl.h:
18729         * LyXView.h:
18730         * Makefile.am:
18731         * Timeout.C:
18732         * Timeout.h:
18733         * minibuffer.h: move Timeout GUI-I
18734
18735 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18736
18737         * lyxrc.C (read): Update converters data-structures.
18738
18739 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18740
18741         * LaTeX.h (operator!=): add operator != for Aux_Info
18742
18743 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18744
18745         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18746
18747         * LaTeXLog.C: deleted, useful code moved to Buffer
18748
18749         * buffer.h:
18750         * buffer.C: new function getLatexLogName()
18751
18752         * lyx_gui_misc.C:
18753         * lyx_gui.C:
18754         * lyxvc.C:
18755         * lyxvc.h:
18756         * lyxfunc.C: use frontends for LaTeX and VC logs
18757
18758 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18759
18760         * LaTeX.h: yet another std:: that Allan forgot.
18761
18762         * Variables.C (set): renamed from isset(), because this clashes
18763         with some HP-UX macros (grr).
18764
18765 2001-02-06  Allan Rae  <rae@lyx.org>
18766
18767         * LaTeX.h: Another bug fix.  Missing std:: this time.
18768
18769 2001-02-04  Allan Rae  <rae@lyx.org>
18770
18771         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18772         floats problem. I've left it commented out because it's not quite
18773         correct.  It should also test that the current object is a table or
18774         figure inset.  But I haven't gotten around to figuring out how to do
18775         that.  I *think* it'll be something like: "table" == inset.type()
18776
18777         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18778         bool.
18779
18780 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18781
18782         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18783         all the citation/databases/styles in the auxilary file.
18784         (run): Rerun latex if there was a babel language error.
18785
18786 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18787
18788         * text.C (Backspace): Preserve the font when changing newline char
18789         with a space.
18790         (BreakParagraph): If the cursor is before a space, delete the space.
18791
18792         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18793
18794 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18795
18796         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18797         new argument (code).
18798         (ChangeCitationsIfUnique): New method.
18799
18800         * paragraph.C (GetPositionOfInset): Handle bibkey.
18801
18802 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18803
18804         * BufferView_pimpl.h: change type of Position::par_pos to
18805         LyXParagraph::size_type.
18806
18807 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18808
18809         * BufferView_pimpl.C (savePosition, restorePosition): Write
18810         messages to minibuffer.
18811
18812 2001-01-28  José Matos  <jamatos@fep.up.pt>
18813
18814         * buffer.C (makeDocBookFile): adds support for document language.
18815         A silly restriction on the name of LatexCommand types where removed.
18816         Added support for CDATA sections, allows to chars unescaped, used
18817         among others in code, to avoid escape < and >.
18818
18819 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18820
18821         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18822         saved positions instrad of a stack. Furthermore, a position is
18823         stored using paragraph id/paragraph position.
18824
18825         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18826         Remove LFUN_REF_BACK.
18827
18828 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18829
18830         * converter.C (dvipdfm_options): New method.
18831
18832 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18833
18834         * vspace.C (isValidLength): Fix for empty input string.
18835
18836 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18837
18838         * LyXAction.C (init): change description of LFUN_FIGURE to
18839         "Insert Graphics"
18840
18841 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18842
18843         * LaTeX.C: add using directive
18844
18845 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18846
18847         * MenuBackend.C (expand): Fix the sorting of the formats.
18848
18849 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18850
18851         * lyx_main.C: tiny error message fix
18852
18853 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18854
18855         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18856         calling fl_initialize(). This fixes the problem with ',' as
18857         decimal separator in text files.
18858
18859 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18860
18861         * trans.C (process): Fix the keymap bug.
18862
18863 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18864
18865         * LaTeX.C (scanAuxFiles): New method. Provides support for
18866         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18867         (scanLogFile) Scan for "run BibTeX" messages.
18868
18869         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18870         OT1 font encoding. Also, load the aecompl package if the ae
18871         package is loaded.
18872
18873         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18874
18875 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18876
18877         * texrow.C (increasePos): turn two error messages into debug
18878         messages.
18879
18880 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18881
18882         * LaTeX.C (scanAux): Handle the \@input macro.
18883         (runBibTeX): Use scanAux().
18884
18885         * language.C (latex_options_): New field.
18886
18887         * LaTeXFeatures.C (getMacros): Add language macros.
18888
18889         * buffer.C (makeLaTeXFile): Small fix.
18890
18891 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18892
18893         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18894
18895         * text2.C: add a using directive.
18896
18897 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18898
18899         * BufferView2.C:
18900         * lyx_gui_misc.h:
18901         * lyxfr1.C:
18902         * lyxfunc.C: kill LyXBell.
18903
18904 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18905
18906         * text.C (IsBoundary): Remove the error message
18907
18908         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18909
18910         * lyxrc.C (setDefaults): Correct initialization value for
18911         font_norm_type.
18912
18913 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18914
18915         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18916         gotoError().
18917
18918         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18919         and GotoNextNote().
18920
18921         * src/LyXAction.C: Added reference-next.
18922
18923         * text.C (InsertChar): Use contains instead of strchr.
18924
18925         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18926
18927 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18928
18929         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18930         alignment commands (when needed).
18931
18932         * text.C (InsertChar): Add ':' to number separator chars.