]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
0d5f19330ec7e5af9370d046a11b80555d5994a4
[lyx.git] / src / ChangeLog
1 2006-02-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * lyxfont.C (lyxWriteChanges): Don't write \lang latex
4
5 2006-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * text3.C (mathDispatch): fix crash when selection is not empty
8         but selectionAsString is empty (bug 2321).
9
10 2006-02-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * text.C (changeCase): avoid crash in empty paragraph or on last
13         word of the paragraph. (buf 2323)
14         (cursorRightOneWord): fix the logic to stop at a beginning of a word.
15
16 2006-02-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
17
18         * buffer.C (readHeader): also erase params.preamble in advance
19         so that an empty preamble is actually recognized (bug 2317).
20
21         * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308).
22
23 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
24
25         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
26
27 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
28
29         * buffer.C:
30         * bufferparams.[Ch]:
31         * lyxtext.h:
32         * paragraph.[Ch]:
33         * paragraph_funcs.C
34         * rowpainter.C:
35         * text.C:
36         * text2.C:
37         * text3.C: Fix bug 2115: blue language lines (for default font)
38         popping up when the documnent font is different. This includes work
39         by Georg Baum.
40
41 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
42
43         * exporter.C (Backends): Add "lyx" backend
44         * exporter.C (Export): Handle "lyx" backend
45         * graph.C (getReachable): Don't exclude "lyx"
46         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
47
48 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
51         for correct in-mathed positioning
52
53 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
54
55         * rowpainter.C (paintForeignMark): fix foreign blue line under
56         insets
57
58 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
59
60         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
61         pit of the uno range (bug 2022).
62
63 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
64
65         * messages.C (get): Only warn once if setlocale fails (bug 2177)
66
67 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
68
69         * text2.C (setCharFont): take inset's own font settings into account
70         when defining the font to reduce to, fixes 2019
71
72 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
73
74         * bufferview_funcs.C (coordOffset): remove the check for
75         collapsed collapsables (fix for bug 2094). This is now done
76         on a more general level (cursor.C).
77
78         * dociterator.[Ch] (forwardPos): add an optional argument
79         bool "ignorecollapsed" (default false), which lets forwardPos
80         skip collapsed insets.
81
82         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
83         (fixes bug 2241 and 2094).
84
85 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
86
87         * buffer.C: change tracking (dvipost) doesn't require
88         color.sty anymore.
89
90         * LaTeXFeatures.C (getPackages): no need for the color
91         option "usenames" (bug 2169).
92
93 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
94         * buffer_funcs.C: Trivial fix - added {} around
95         the statements to be affected by a if-test. Now
96         label in a minipage in a float looks ok on screen again.
97
98 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
99
100         * text2.C: fix bug 2015: on screen fonts in nested environments 
101         can be wrong
102
103 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
104
105         * converter.C (convert): handle unknown formats
106
107 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * cursor.C (goUpDown): comment out some debug messages.
110
111         * counters.C (newCounter): make error messages more explicit
112         (these appear with some textclasses like beamer)
113
114 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
115
116         * kbmap.C (defkey): 
117         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
118         have origin set to KEYBOARD. (bug 2221)
119
120 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
121
122         * rowpainter.C (isCursorOnRow): do not exclude endpos().
123
124 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
125
126         * cursor.C (macroModeClose): returns true if an inset actually got
127         inserted; revert faulty fix to bug 2034.
128
129 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
130
131         * tabular.C (getLabelList): remove (not used anymore).
132
133 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
134
135         * outputparams.[Ch]: add new flag inComment
136
137 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * text2.C (deleteEmptyParagraphMechanism): since we delete a
140         paragraph, recordUndo should span two paragraphs (bug 2155).
141
142 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
143
144         * rowpainter.C (paintPar): always repaint the row with the
145         cursor in it
146
147 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
148
149         * MenuBackend.h: 
150         * bufferlist.h: 
151         * lyxtext.h: 
152         * paragraph.h:
153         * vspace.h: fix syntax error
154
155 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
156
157         * text3.C (dispatch): Force refresh if typing into inset changes its
158                               metrics
159
160 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
161
162         * RowList_fwd.h:
163         * paragraph.C:
164         * paragraph.h:
165         * rowpainter.C: Speed up rendering by only re-painting rows that
166         have changed. When selection or whole-screen update active, all rows
167         are repainted, as are all rows within insets.
168
169 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
170
171         * version.C.in: Use PACKAGE_VERSION instead of VERSION
172
173 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
174
175         * tabular.C (toggleFixedWidth): Use default layout of text class
176         instead of hardcoded "Standard"
177
178 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
179
180         * lyxfunc.C (dispatch): do not call getStatus again to determine
181         whether a lfun is disabled (bug 2172).
182
183 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
184
185         * cursor.C (macroModeClose): set the cursor inside the new math
186         atom if relevant (think \frac{}{}) (bug 2034)
187
188 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
189
190         * lyxtext.h:
191         * text.C:
192         * text3.C (Delete, backspace): force update when merging paragraphs
193
194 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * BufferView.C (mouseSetCursor): clear the selection properly (bug
197         2163). 
198
199 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
200
201         * text.C (redoParagraph): honor inset->noFontChange()
202         * rowpainter.C (paintInset): ditto
203
204 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
205
206         * lyx_main.C (priv_exec): don't initialize Math on startup 
207         (initMath() has been moved to math_hullinset).
208
209 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
210
211         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
212         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
213         * paper.h: dispose dead PAPER_PACKAGES enum.
214
215 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
216
217         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
218         without X support.
219
220 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
221
222         * exporter.C (Export): Don't try to copy a file if it does not exist
223         (bug 1888)
224
225 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
226
227         * text2.C (makeFontEntriesLayoutSpecific): remove.
228         (setLayout): adapt.
229
230         * text.C (insertChar): remove bogus caching of fonts (did not do
231         anything). 
232
233         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
234         ALL_SANE). (bug 2146)
235
236 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
237
238         * rowpainter.C (paintFirst): fix centering of
239         LABEL_CENTERED_TOP_ENVIRONMENT. 
240
241 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * BufferView.C (mouseSetCursor): new method. Calls
244         deleteEmptyParagraphMechanism if necessary.
245
246         * lyxtext.h: make deleteEmptyParagraphMechanism public.
247
248         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
249         BufferView::mouseSetCursor (bug 2109).
250         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
251
252 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
253
254         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
255         do not remove it (this inset behaves differently from the others).
256
257 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
258
259         Fix bug 2096.
260         
261         * BufferView_pimpl.C (getStatus): it is only possible to insert a
262         file in a text inset.
263
264         * buffer.C (readDocument): remove pit argument and code releated
265         to it; set the inset owner correctly (unrelated, but useful).
266         (readFile): get rid of pit argument.
267
268         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
269         textclass instead of a selection index.
270         (pasteParagraphList): new function.
271         (pasteSelection): make it a wrapper around pasteParagraphList.
272
273         * BufferView_pimpl.C (MenuInsertLyXFile): use
274         cap::pasteParagraphList to insert a file.
275
276 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
277
278         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
279
280 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
281
282         * exporter.C: fix typo in text message
283
284 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
285
286         * text2.C (setLayout): move recUndo call to other setLayout method
287         * tabular.C (toggleFixedWidth): new, handle cell width changes
288         * tabular.C (setColumnPWidth): move some code from insettabular.C here
289         and use toggleFixedWidth
290         * tabular.C (setMColumnPWidth): ditto
291
292 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
293
294         * paragraph.C (asString): use new inset->textString method (fix
295         bug 2089) 
296
297 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * CutAndPaste.C (numberOfSelections): new helper function.
300
301         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
302
303         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
304         LyXFunc::getStatus; implement LFUN_PASTE.
305
306 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
307
308         * dociterator.[Ch]: new member realInset() that returns the cell
309         for tabulars and the inset for the rest (bug 1952).
310         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
311         (bug 1952).
312
313 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
314
315         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
316
317 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
318
319         * lyxfunc.C:
320         * paragraph.C:
321         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
322         argument.
323
324 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
325
326         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
327         line after typing ctrl-enter
328
329 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
330
331         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
332         math insets do not return a proper editable() state yet (bug 2124).
333
334 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
335
336         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
337         docs containing very large paragraphs.
338
339 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
340
341         * cursor.C (selectionBegin, selectionEnd):
342         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
343         cursor at different depths.
344
345 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
346
347         * bufferview_funcs.C (coordOffset): do not call cursorPos
348         for collapsed collapsables (fix bug 2094).
349
350 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351
352         * paragraph.C (fontSpan): make sure that the FontSpan does not
353         span across beginOfBody (bug 1947).
354
355 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
356
357         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
358
359 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
360
361         * messages.C: fix crash and localization on MinGW/Windows platform
362
363 2005-11-02  Angus Leeming  <leeming@lyx.org>
364
365         * Bidi.C:
366         * lyxtextclass.C: trivial fixes to some MSVS warnings.
367
368 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
369
370         * text3.C (getStatus): re-enable disabled code. (bug 2081)
371
372         * BranchList.h (empty): constify.
373
374 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * text3.C (getStatus): 
377         * MenuBackend.C (expandBranches): take the branch list from the
378         master document (bug 2092).
379         
380         * MenuBackend.C (expandBranches): 
381         * bufferparams.C (writeFile): use BranchList type.
382
383 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
384
385         * text3.C (dispatch, getStatus): 
386         * LyXAction.C (init): 
387         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
388
389 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
390
391         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
392
393 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
394
395         * text.C (insertChar): do not reset boundary (bug 2061)
396
397 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
398
399         * dociterator.C (updateInsets): new method. Updates the inset_
400         cache of all the slices of the iterator.
401
402         * text2.C (deleteEmptyParagraphMechanism): compare also containing
403         insets when comparing pit/pos; pass the right cursor to
404         recordUndo; when a paragraph has been deleted, compare `old.top()' to
405         the right cursor slice of `cur'; use updateInsets on cur to make
406         sure that the inset caches are correct; general cleanup.
407
408 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
411         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
412         containg inset. If this does not work, the same command will be
413         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
414
415         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
416         a dispatch.
417
418 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
419
420         * lyxtextclass.C (Read): convert layout file if the format is wrong
421         * lyxtextclass.C (layout2layout): new, needed for the above
422
423 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
424
425         * messages.C: do not forget to include <cerrno>.
426
427 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
428
429         * dociterator.h (StableDocIterator): add access to pos().
430         * undo.C (samePar): new method to check if two
431         iterators are in the same paragraph
432         * undo.C (recordUndo): check for samePar instead of cell identity
433         (which includes pos() and is too strict) (fixes bug 2097)
434
435 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
436
437         * text.C (setCursorFromCoordinates): return a bool telling whether
438         dEPM triggered.
439
440         * text3.C (cursorPrevious): update if needed after
441         setCursorFromCoordinates (when dEPM triggered).
442
443         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
444         (otherwise the anchor may be completely wrong and make dEPM assert).
445
446 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
447
448         * buffer.C: version upgrade to 245.
449         * bufferparams.C: remove \quotes_times (bug 2090).
450         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
451         quotation marks as default.
452
453 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
454
455         * CutAndPaste.C (nrOfParagraphs): remove (unused)
456         * CutAndPaste.C (cutSelection): Remove debug message
457         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
458         undo information and only copy if this is a real cut
459         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
460         call
461         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
462         (bug 2059)
463         * CutAndPaste.C (eraseSelection): prevent cursor corruption
464         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
465         superflous cur.selection() setting
466         * CutAndPaste.[Ch] (grabSelection): take a const cursor
467         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
468
469 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
470
471         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
472         change anything.
473
474 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
475
476         * BufferView_pimpl.C: comment layout change
477
478 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
479
480         * LyXAction.C:
481         * lfuns.h:
482         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
483         by bibliography managers (bug 2071).
484
485 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
486
487         * BufferView_pimpl.C (update): choose arguments to update call so
488         that single-par update works most times
489         * text3.C (dispatch): carefully tune updating separately for
490         whole-screen and current-paragraph
491         * rowpainter.C (paintText): 1) replace painting by caching for
492         the two extra paragraphs, because we can;
493         2) suppress greying out of areas below/above drawn area in case of
494         single-par refresh
495         * lyxfunc.C (dispatch): remove superfluous update
496         * LyXAction.[Ch]: introduce SingleParUpdate
497
498 2005-10-05  Angus Leeming  <leeming@lyx.org>
499
500         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
501         always initialised before use.
502
503         * text.C (setHeightOfRow): squash warning about comparison
504         of signed and unsigned types.
505
506 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
507
508         * text.C (cursorX): two fixes involving RtL text drawing
509
510 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
513         items, not only large ones (part of bug 2057)
514
515 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
516
517         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
518         argument, use "newcommand".
519
520 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
521
522         * cursor.C (setSelection): do not open collapsable insets;
523         the insets do by themselves now (autoopen).
524
525 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
526
527         * buffer.C: format is up to 244.
528
529 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
530
531         * text.C (redoParagraph): fix calcultation of inset width wrt 
532         leftMargin (bug 1957).
533
534         * text3.C (dispatch): leave inset to the right when hitting ESC 
535         (bug 2034).
536
537 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
538
539         * text2.C: 
540         * text.C: 
541         * factory.C:
542         * messages.C: include <boost/current_function.hpp> 
543
544 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
545
546         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
547         when command is internal. (bug 1941)
548
549 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
550
551         * text2.C (cursorRight): do not honor boundary when at the end of
552         a paragraph. (bug 2010 again)
553
554 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
555
556         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
557
558 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
559
560         * rowpainter.C (paintText): fix RtL space width display bug (2029)
561
562 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
563
564         * text2.C (setCursor): remove the unused 'boundary' parameter for
565         the CursorSlice version; adapt the LCursor version.
566
567         * lyxrc.C (write): 
568         * paragraph_pimpl.C (markErased): 
569         * cursor.C (bruteFind2, bruteFond3): fix warnings.
570
571 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
572
573         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
574         as is already done for "chapter".
575
576 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
577
578         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
579         textclass; do not record undo if nothing is changed.
580
581 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
582
583         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
584
585 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
586
587         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
588
589 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
590
591         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
592         combox, it is necessary to search for the topmost paragraph in the
593         cursor stack (bug 1926)
594
595 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
596
597         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
598         end of paragraph. (bug 2010)
599
600 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
601
602         * text.C (leftMargin): check for inInset == 0
603
604 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
605
606         * text.C (leftMargin): test for insetbase's new neverIndent()
607         bool instead of listing each and every inset that does not
608         wish par indendation.
609
610 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
611
612         * buffer_funcs.C (setCounter): put the code to compute enum label
613         here (where it belongs).
614
615         * counters.C (enumLabel): move code to buffer_funcs.C.
616
617 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
618
619         * outputparams.[Ch]: store local_font instead of local_language
620         * paragraph.C (simpleTeXOnePar): adapt to the change above
621
622 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
623
624         * buffer_funcs.C:
625         * counters.[Ch]: clean up special code for Hebrew.
626
627 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
630         than 2.
631
632 2005-09-08  Angus Leeming  <leeming@lyx.org>
633
634         * ispell.C:
635         * lyxrc.C: correct grammar describing invocation of the
636         spellchecker.
637
638 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
639
640         * text.C (read): remove unused variable.
641         (readParToken): remove static Change variable (never good in
642         recursive settings...); add it as a parameter instead.
643
644         * paragraph_pimpl.C (acceptChange): make debug info conditional.
645
646         * metricsinfo.C (PainterInfo): add new member erased_.
647
648         * rowpainter.C (RowPainter): add erased_ member, initialized from
649         PainterInfo. 
650         (paintInset): pass erased_ to Inset::draw.
651
652         * lyxfunc.C (lookupChange): new function. Tells whether change 
653         tracking is disabled at a given postion.
654         (getStatus): disable some actions when in deleted text with change
655         tracking. 
656
657 2005-08-03  John Levon  <levon@movementarian.org>
658         
659         * tabular.C (appendColumn, setMultiColumn): adapt to change to
660         InsetText::clear().
661
662         * paragraph_pimpl.C (markErased): add bool argument and handle it.
663         Also make sure to mark insets recursively.
664         (rejectChange, erase): be recursive
665
666         * paragraph.C (markErased): add bool argument.
667 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
668
669         * lyxfind.C (findNextChange): tiny cleanup.
670
671         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
672         change tracking with the cursor in an inset; make sure the first
673         change is not skipped.
674
675 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
676
677         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
678         tabularStackDirty to work around bug 1919 (tabular needs
679         to know whether its own cell paste buffer or the one of 
680         texted is newer.
681         * CutAndPaste.C: mark tabular_stack_ clean after copy.
682
683 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
684
685         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
686
687 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
688
689         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
690         use old deleteion algorithm when changetracking is on.
691
692 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
693
694         * messages.C (get): add debug output.
695
696 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
697
698         * text.C (cursorX): fix bug 1965: cursor movement at
699         line end broken in RtL.
700         (drawSelection): fix bug 1970: drawing of single-line 
701         selection broken for RtL.
702
703 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
704
705         bug 465.
706
707         * dociterator.h (clear, push_back, pop_back): change from
708         protected to public.
709
710         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
711         and changed to just return the value of the item depth; take a
712         ParIterator as argument; take the itemdepth at outer nesting level
713         in account if necessary; cleanup and comment the code.
714         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
715         and changed to just return true if reset is needed; take a
716         ParIterator as argument; cleanup and comment the code.
717         (setCounter): adapt to above changes.
718
719 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
720
721         * text3.C (dispatch): make debug message optional
722
723 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
724
725         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
726         inset. (bug 1963)
727
728 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
729
730         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
731
732 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
733
734         * text.C (insertChar):
735         * text2.C (deleteEmptyParagraphMechanism): take care whether 
736         a blank has been deleted (in change tracking mode) (bug 1254).
737
738 2005-07-20  John Levon  <levon@movementarian.org>
739
740         * text2.C (insertStringAsLines): remove old dubious code,
741         fixing bug 1939.
742
743 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
744
745         * MenuBackend.C (expandToc): use Floating::listName() as title of
746         the floats submenus.
747
748 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
749
750         * toc.[Ch]: Do not use translatable strings (bug 1870).
751
752 2005-07-20  John Levon  <levon@movementarian.org>
753
754         * tabular.C: fix 1748 - setting multicolumn adds
755           left line to the first cell
756
757 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
758
759         bug 1920
760         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
761         pars in one go.
762
763 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
764
765         * messages.C: supress some lyxerr messages
766
767 2005-07-18  Juergen Vigna  <jug@lyx.org>
768
769         * text.C (drawSelection): honor boundary when asking for cursorX.
770
771 2005-07-17  José Matos  <jamatos@fc.up.pt>
772
773         * tabular.C (recalculateMulticolumns): fix handling of one column
774         tables.
775
776 2005-07-17  Juergen Vigna  <jug@lyx.org>
777
778         * text.C (Delete, backspace): fixed so that paragraph with the
779         same layout can be merged by Delete/Backspace.
780
781 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
782
783         * text.C (readParToken): fix spelling.
784
785 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
786
787         * text2.C: fix counter update for DEPM problem reported by
788         Georg Baum
789
790 2005-07-17  Juergen Vigna  <jug@lyx.org>
791
792         * BufferView_pimpl.C (setBuffer): save/restore the
793         cursor/selection when switching buffers
794
795         * buffer.h: 
796         * buffer.C (saveCursor): add saveDocumentIterators to save the
797         cursor when switching buffer.
798
799 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
800
801         * debug.C: fix typo
802         * buffer.C: clarify message
803         
804 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
805
806         * dociterator.C (DocIterator): fix initialization order
807
808 2005-07-17  Juergen Vigna  <jug@lyx.org>
809
810         * text2.C (cursorHome): 
811         * text.C (drawSelection, cursorX): 
812         * dociterator.C (textRow): add boundary to getRow() call
813
814         * paragraph.C (getRow): implementation of below
815
816         * paragraph.h: add parameter boundary for getRow() function
817
818 2005-07-17  José Matos  <jamatos@fc.up.pt>
819
820         * buffer.C:
821         * bufferparams.[Ch]:
822         * tex-strings.[Ch]: new file format, remove support for a4.sty,
823         a4wide.sty and a4widemargins.
824
825 2005-07-17  Juergen Vigna  <jug@lyx.org>
826
827         * text2.C (cursorLeft): fix one of error
828
829 2005-07-17  Juergen Vigna  <jug@lyx.org>
830
831         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
832                    cursorEnd):
833         more fixes for boundary handling
834
835         * text3.C (dispatch): don't reset cursor if boundary has changed
836         on cursor movement.
837
838 2005-07-16  Juergen Vigna  <jug@lyx.org>
839
840         * text2.C (getColumnNearX): hopefully got it right now,
841         check if we are on column 0 for special case.
842
843 2005-07-16  Juergen Vigna  <jug@lyx.org>
844
845         * text2.C (getColumnNearX): handle special case Newline Inset
846
847         * text.C (singleWidth): Just remove bogus check
848
849 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
850
851         * funcrequest.C (split): avoid reading uninitialized char c
852
853 2005-07-16  José Matos  <jamatos@fc.up.pt>
854
855         * buffer.C:
856         * converter.C:
857         * lyxrc.C:
858         * paper.h:
859         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
860         single papersize variable.
861
862 2005-07-16  Juergen Vigna  <jug@lyx.org>
863
864         * text3.C (dispatch): honor boundary when checking if a cursor
865         movement has been done
866
867         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
868         (setCursor, setCursorIntern): fix cursor movement with boundary
869
870 2005-07-16  Juergen Vigna  <jug@lyx.org>
871
872         * text.C (currentState): output the actual Boundary
873
874 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
875
876         * factory.C (createInset): fix bad logic for tabular creation
877
878 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
879
880         * lyx_main.C (init): change some reLyX reference to tex2lyx
881
882 2005-07-16  Juergen Vigna  <jug@lyx.org>
883
884         * dociterator.C (DocIterator): initialize boundary
885
886 2005-07-16  Juergen Vigna  <jug@lyx.org>
887
888         * text2.C (getColumnNearX): Consider rows without trailing blank.  
889
890 2005-07-16  André Pönitz  <poenitz@gmx.net>
891
892         * lyxfont.h: Change order of declarations to give the compiler
893         a better chance to inline things
894
895         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
896         questions on unsaved docs for better scritability
897
898 2005-07-16  André Pönitz  <poenitz@gmx.net>
899
900         * paragraph.h (getChar): remove asserts as the same kind of security
901         can be achieved by using a suitable standard library implementation
902         and the function was in the critical path (25.9% in profiler)
903
904 2005-07-16  Juergen Vigna  <jug@lyx.org>
905
906         * cursor.C (bruteFind2):
907         * bufferview_funcs.C (coordOffset): 
908         * text.C (cursorX,cursorY): Handle cursor position after last char
909         in row before a inset which uses a whole row.
910
911 2005-07-15  José Matos <jamatos@lyx.org>
912
913         * output_plaintext.[Ch] (writeFileAscii): control reference title
914         printing.
915         (asciiParagraph): noparbreak was already deal and was incorrectly
916         used.
917
918 2005-07-15  Juergen Vigna <jug@lyx.org>
919
920         * lyxfunc.C (dispatch): save and restore the cursor after a
921         textclass switch.
922
923 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
924
925         * text.C (backspace): bug 806 for empty keepempty paragraphs we
926         change the layout to default before letting DEPM do its thing.
927
928         * paragraph_funcs.C (breakParagraph): dont reset the layout on
929         keepEmpty paragraphs
930
931         * text.C (setCursorFromCoordinates): add a debug statement
932
933         * text2.C (getColumnNearX): bug 1825 make sure that we don't
934         return a pos that is not on the row
935
936         * output_latex.C (TeXDeeper): get rid of potential dereferencing
937         of past the end iterator
938
939 2005-07-14  André Pönitz  <poenitz@gmx.net>
940
941         * undo.C (recordUndoFullBuffer): implement undo for
942         textclass switches
943
944 2005-07-14  André Pönitz  <poenitz@gmx.net>
945
946         * cursor.C (setSelection): open insets when selection is set there
947         to avoid crashs with cold coord cache
948
949 2005-07-14  André Pönitz  <poenitz@gmx.net>
950
951         * trans_mgr.C (insert): move cursor to the right after inserting
952         a char.
953
954 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
955
956         * BufferView_pimpl.C (update): dampen some of the debug blabbering
957         * factory.C (readInset): ditto
958         * text.C, text2.C: ditto
959
960 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
961
962         * buffer.C: format incremented to 242. There is no file format per
963         se, but the "frenchb" language has been removed from lib/language
964         and has to be translated to "french" by lyx2lyx.
965
966 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
967
968         * cursor_slice.h, dociterator.h: add some documentation
969         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
970
971 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
972
973         * text.C (leftMargin): do not add identation to display() style
974         insets, because they are always centered (bug 1293).
975
976 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
977
978         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
979         formatted_time methods in support/lyxtime.
980
981 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
982
983         * toc.[Ch]: new method getGuiName, which is used by the frontends 
984         to set the toc combo (fixes bug 1870). Make TOC string translatable.
985
986 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
987
988         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
989         StableDocIterator const &)
990         * undo.C (recordUndo): use the above instead of cell.size() comparison
991         (fixes bug 1808; instructed by Andr�.
992
993 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
994
995         * cursor_slice.h: 
996         * dociterator.h: Fix the assert when copying rows/cols in math
997
998 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
999
1000         * BufferView_pimpl.C:
1001         * LyXAction.C:
1002         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
1003
1004         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
1005         (findInset): new functions, refactored from goto Inset that return 
1006         the position of a certain inset without setting the buffer's cursor
1007         (by Jean-Marc); 
1008         (gotoInset): rewrite to call findInset and then set the cursor
1009         (by Jean-Marc).
1010
1011 2005-06-16  Angus Leeming  <leeming@lyx.org>
1012
1013         * lyxrc.C (output, read): wrap all input and output of paths with
1014         calls to os::internal_path and os::external_path, respectively.
1015         (output): wrap bind_file inside quotes.
1016
1017         * format.C (view): enable the viewer to use the '$$s' placeholder.
1018
1019 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1020
1021         * LColor.[Ch] (getFromLaTeXName): new
1022
1023 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1024
1025         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1026
1027 2005-06-14  Angus Leeming  <leeming@lyx.org>
1028
1029         * lyx_main.C (init): ensure that the LyX binary dir is the first
1030         element in the PATH on non-POSIX builds.
1031
1032 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1033
1034         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1035
1036 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1037
1038         * rowpainter.C (paintInset, paintHebrewComposeChar)
1039         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1040         (paintChars): use getFontSpan to reduce calls to getFont to a
1041         minimum; use Paragraph::lookupChange instead of isXXXText.
1042         (paintForeignMark): rename LyXFont argument.
1043         (paintFromPos): pass a LyXFont object to the various paintXXX
1044         methods.
1045
1046         * FontIterator.C (FontIterator, operator++): use
1047         Paragraph::getFontSpan
1048
1049         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1050         version that returns the font span as a pair.
1051
1052 2005-06-09  Angus Leeming  <leeming@lyx.org>
1053
1054         * converter.C (convert): Don't forget "outfile = real_outfile" as
1055         the final step in a conversion where the input and output file names
1056         are the same. Otherwise, future conversion steps won't work...
1057
1058 2005-06-09  Angus Leeming  <leeming@lyx.org>
1059
1060         * lyxsocket.C: remove stub code as it isn't needed by
1061         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1062
1063 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1064
1065         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1066         effectively disabled -x
1067
1068 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1069
1070         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1071         when it actually makes sense.
1072
1073 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1074
1075         * BufferView_pimpl.C: revert to showCursor in connection with
1076         Lars's front-end stack
1077
1078 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1079
1080         * text.C (redoParagraph): move cursor right after a bibitem
1081         has been inserted.
1082
1083         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1084
1085 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1086
1087         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1088         error range.
1089
1090 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1091
1092         * BufferView.[Ch] (update):
1093         * BufferView_pimpl.[Ch] (update, metrics):
1094         * dimension.h (operator==):
1095         * lyxfunc.C (dispatch):
1096         * metricsinfo.h (ViewMetricsInfo):
1097         * rowpainter.C (paintText):
1098         * lyxtext.h:
1099         * text.C (redoParagraph):
1100         * text3.C (dispatch): Make LyX only repaint current paragraph in
1101         case of character insert --> speedup. Also fix cursor draw
1102         artifacts
1103
1104 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1105
1106         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1107         avoid a crash (bug 1891)
1108
1109 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1110
1111         Fix bug 1892:
1112
1113         * text2.C (getStringToIndex): constify cur argument.
1114
1115         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1116         argument has been given
1117         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1118         try to invoke LFUN_INSET_APPLY).
1119
1120         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1121         if no inset was created by doInsertInset
1122         (doInsertInset): return true if an inset has been inserted.
1123
1124 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1125
1126         * vspace.C (asGUIName): new method. A version of the space
1127         suitable for showing on screen.
1128
1129 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1130
1131         * MenuBackend.C:
1132         * lyxrc.C: rename "ASCII" to "Plain Text"
1133
1134 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1135
1136         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1137         translate the labelstring.
1138         (setCounter): translate labelstring as needed.
1139
1140         * output_docbook.C (makeCommand): fix expandLabel invokation
1141
1142 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1143
1144         * BufferView.C: fix dialog title
1145
1146 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1147
1148         * lyx_main.C (priv_exec): fix logic error with help from Angus
1149         * lyx_main.C (parse_execute): set is_gui = false and remove now
1150         obsolete comment about a segfault
1151
1152 2005-05-18  Angus Leeming  <leeming@lyx.org>
1153
1154         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1155
1156 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1157
1158         * tabular.[hC]: added setCellInset to fix tabular paste.
1159
1160 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1161
1162         * buffer.C (save): check if destination is writable before trying
1163         to copy a file
1164
1165 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1166
1167         * BufferView_pimpl.C (update): fix processEvents -caused update
1168         recursion bug
1169
1170 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * buffer_funcs.C (setCounter): fix test for numbering of
1173         environments.
1174
1175         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1176         depth correctly; use optional argument when it exists
1177
1178         * lyxtextclass.C: remove unused MaxCounterTags enum
1179         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1180         (max_toclevel, min_toclevel): new methods.
1181
1182         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1183         the smallest depth in toc.
1184
1185         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1186         layouts that should not appear in a table of contents.
1187
1188 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1189
1190         * cursor.h (undispatched, noUpdate): add comments from Andr�
1191 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1192
1193         * lfuns.h:
1194         * LyXAction.C:
1195         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1196
1197 2005-05-07  André Pönitz  <poenitz@gmx.net>
1198
1199         * cursor.[Ch] (leaveInset): new function
1200
1201 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1202
1203         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1204
1205 2005-05-04  Angus Leeming  <leeming@lyx.org>
1206
1207         * lyxfunc.C (getStatus): disable the spell checker dialog if
1208         none of USE_[AIP]SPELL are defined.
1209
1210 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1211
1212         * tabular.C (setWidthOfCell): remove obsolete comment
1213
1214 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1215
1216         * paragraph.C (bibitem):
1217         * buffer_funcs.C (setCounter):
1218         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1219
1220 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1221
1222         * text3.C (getStatus): immediately return after setOnOff
1223
1224         * rowpainter.C: fix drawing of appendix start
1225
1226 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1227
1228         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1229         SwitchBetweenClasses and remove the unused return value.
1230         Handle character styles, too
1231
1232 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1233
1234         * factory.C (createInset): handle undefined character styles
1235
1236 2005-05-02  Angus Leeming  <leeming@lyx.org>
1237
1238         * buffer.C: protect the #include of utime.h with a preprocessor
1239         guard.
1240
1241 2005-05-02  Angus Leeming  <leeming@lyx.org>
1242
1243         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1244         function so that auto-saving works, albeit in a blocking manner.
1245
1246         * Makefile.am: make compilation of the client sub directory, of
1247         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1248         on conditionals set at configure time.
1249
1250         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1251         it can be compiled in its own right but has no-op functionality.
1252
1253         * aspell.C, pspell.C: remove preprocessor guards. The files should
1254         be compiled only if the necessary functionality exists.
1255
1256         * lyxserver.C, lyxsocket.C: disable on Windows.
1257
1258 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1259
1260         * text.C (leftMargin): Fix the parindent use bug (1764)
1261         by dirty trick
1262
1263 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1264
1265         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1266         argument.
1267
1268 2005-04-25  Angus Leeming  <leeming@lyx.org>
1269
1270         * Bidi.[Ch]:
1271         * coordcache.[Ch]:
1272         * ispell.C:
1273         * lyxserver.C:
1274         * mover.C:
1275         * pch.h:
1276         include <config.h> in .C files, not .h ones.
1277         add licence blurb.
1278         protect headers inside preprocessor guards.
1279
1280 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1281
1282         * FuncStatus.h (StatusCodes): document
1283
1284 2005-04-21  André Pönitz  <poenitz@gmx.net>
1285
1286         * FuncStatus.h (enabled, onoff): document
1287
1288 2005-04-19  Angus Leeming  <leeming@lyx.org>
1289
1290         * BufferView_pimpl.C (cursorToggle): no longer test whether
1291         any child processes have been reaped before calling
1292         handleCompletedProcesses().
1293
1294 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1295
1296         * text3.C (dispatch): fix, finally fix, the language problem in
1297         new lyxtexts, without disabling on-the-fly font changes (Helge's
1298         bug report)
1299
1300 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1301
1302         * text3.C (dispatch): set cursor on double/triple click events
1303         (bug 1811)
1304
1305 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1306
1307         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1308         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1309
1310         * rowpainter.C (paintFirst): simplify the code a little bit. In
1311         particular, remove the test for secnumdepth.
1312         * text.C (setHeightOfRow): only allocate space for chapter number
1313         when updateCounters provided an actual label, instead of looking
1314         at secnumdepth directly.
1315
1316         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1317
1318         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1319         paragraphs when secnumdepth is large enough or, for environments,
1320         when they are not the first in a sequence.
1321
1322 2005-04-17  Angus Leeming  <leeming@lyx.org>
1323
1324         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1325         containing space and '~' characters with a call to latex_path().
1326
1327 2005-04-17  Angus Leeming  <leeming@lyx.org>
1328
1329         * converter.C (convert): protect all args of convertDefault.sh
1330         script with quotes.
1331
1332 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1333
1334         * text3.C (dispatch): change the layout to "Caption" after inserting
1335         a float.
1336
1337 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1338
1339         * text3.C (dispatch): fix language problem in newly created
1340         textinsets (and main text) in non-english docs
1341
1342 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1343
1344         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1345         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1346         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1347
1348 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1349
1350         * lyxtext.h:
1351         * text.C (metrics):
1352         * text2.C (getFont):
1353         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1354         fonts fix
1355
1356 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1357
1358         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1359         output of \item arguments without trailing text.
1360
1361 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * FontIterator.C (operator*): avoid a copy of the font.
1364
1365 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1366
1367         * rowpainter.C (getFont): fix language bug from previous fix
1368
1369 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1370
1371         * rowpainter.C (RowPainter, getFont): fix font inside inset
1372         (bugs 1766, 1809)
1373
1374 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1375
1376         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1377         preventing inserted font, deco, delim insets jumping to start of
1378         surrounding inset.
1379
1380 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1381
1382         * lyxfunc.C (dispatch): translate message before sending it to the
1383         minibuffer.
1384
1385 2005-03-29  Angus Leeming  <leeming@lyx.org>
1386
1387         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1388         to LyX on the command line.
1389
1390 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1391
1392         * vc-backend.C: use QuoteName to protect file names wherever
1393         necessary.
1394
1395 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1396
1397         * buffer.[Ch]:
1398         * BranchList.h: fix bugs 1844,1845: document settings don't
1399         stick
1400
1401 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1402
1403         * lyxrc.C (setDefaults, read, output, getDescription): add support
1404         for tex_allows_spaces.
1405
1406         * exporter.C (Export): allows files in directory containing spaces
1407         if tex_allows_spaces is true.
1408
1409         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1410         output it in double quotes.
1411
1412 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1413
1414         * rowpainter.C: use default text height for drawing change tracker
1415         strikeout lines.
1416
1417 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1418
1419         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1420
1421 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1422
1423         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1424         directory is missing.
1425
1426 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1427
1428         * text2.C: fixed the fix, extended to other case.
1429
1430 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1431
1432         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1433
1434 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1435
1436         * text2.C (cursorUp): get rid of a crash
1437         * text.C (x2pos): add an assert
1438
1439 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1440
1441         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1442
1443         * text3.C:
1444         * lyxfunc.C:
1445         * dociterator.C: include <boost/current_function.hpp>, which is
1446         needed when assertions are disabled.
1447
1448 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1449
1450         * text2.C: fix for stuck cursor when traversing two
1451         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1452
1453 2005-02-25  Andreas Vox  <avox@arcor.de>
1454
1455         * output_docbook.C (makeParagraph): suppress trailing newline
1456         after a run of paragraphs
1457
1458 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1459
1460         * paragraph.C: fix for confused change tracker when pasting
1461         text that begins with a lineseparator. [bug 1827]
1462         (setChange(0, Change::INSERTED);)
1463
1464         * paragraph_funcs.C: fix for lost changes on triple-paste
1465         in change tracking mode [bug 1827] (par.setChange()).
1466
1467 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1468
1469         * text2.C (updateCounters, setCounter, expandLabel): move to
1470         buffer_funcs.
1471
1472         * buffer_funcs.C (updateCounters): turn into a free standing
1473         function and add a buffer parameter. Remove dead code for tracking
1474         labelstring change.
1475         (setCounter): change into a free-standing function which gets a
1476         dociterator as argument. Use this iterator to fix captions in a
1477         simple way. When no float is found above the caption, use the
1478         labelstring of the caption layout as default.
1479
1480         * text.C (breakParagraph, backspace):
1481         * text2.C (init, setLayout, changeDepth):
1482         * text3.C (dispatch):
1483         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1484         updateCounters.
1485
1486         * dociterator.C (forwardPar): make it much faster by calling
1487         forwardPos() only when really necessary.
1488
1489         * output_docbook.C (makeCommand): adapt to expandLabel move.
1490
1491         * cursor.C: remove unused variable
1492
1493 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1494
1495         * paragraph_funcs.C: fix crash when pasting insets in change
1496         tracking mode [bug 1277] (honour change type in moveItem).
1497
1498 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1499
1500         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1501
1502 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1503
1504         * BufferView.C (setCursor): change to use a DocIterator.
1505         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1506         (putSelectionAt): adapt to BufferView::setCursor change.
1507
1508         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1509         moved here from LyXText and rewritten to use proper cursor
1510         methods. Fixes bug 1787, 616 and 835.
1511
1512         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1513         when inside an inset (part of bug 781).
1514         (dispatch): adapt to change of BufferView::setCursor.
1515         (getStatus, dispatch): handle LFUN_GOTOERROR,
1516         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1517
1518         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1519         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1520         * text3.C (gotoNextInset, gotoInset): removed.
1521
1522 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1523
1524         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1525
1526 2005-02-15  Angus Leeming  <leeming@lyx.org>
1527
1528         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1529         can be used meaningfully in a comparison.
1530
1531 2005-02-13  André Pönitz  <poenitz@gmx.net>
1532
1533         * bufferview_funcs.C (coordOffset): improve cursor drawing
1534
1535 2005-02-13  André Pönitz  <poenitz@gmx.net>
1536
1537         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1538         * Cursor.C (dispatch): use fixIfBroken
1539         * lyxfunc.C (getStatus): use fixIfBroken
1540
1541 2005-02-15  Angus Leeming  <leeming@lyx.org>
1542
1543         * lyx_main.C (error_handler):
1544         * lyxfunc.C:
1545         * lyxrc.C (setDefaults):
1546         s/GetEnv/getEnv/.
1547         #include "environment.h".
1548
1549         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1550
1551 2005-02-15  Angus Leeming  <leeming@lyx.org>
1552
1553         * lyxserver.C (startPipe): squash MSVC warning "local variable
1554         'fd' used without having been initialized".
1555
1556 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1557
1558         * BufferView_pimpl.C: revert accidental commit.
1559
1560 2005-02-14  André Pönitz  <poenitz@gmx.net>
1561
1562         * dociterator.[Ch]: new member forwardPosNoDescent(),
1563         which doesn't enter nested insets.
1564         * text2.C (setFont): use forwardPosNoDescent() instead
1565         of ForwardPos() (fixes crash on font change).
1566
1567 2005-02-13  Angus Leeming  <leeming@lyx.org>
1568
1569         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1570         only if lyxrc.path_prefix is not empty.
1571
1572 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1573
1574         * bufferparams.C (readGraphicsDriver): prevent crash
1575
1576 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1577
1578         * text2.C (setCounter): check for inInset() == 0
1579
1580 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1581
1582         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1583         but use update() to get correct screen display; use convert
1584         instead of istringstream.
1585         (getStatus): handle LFUN_GOTO_PARAGRAPH
1586
1587         * lyxfunc.C (dispatch, getStatus): do not handle
1588         LFUN_GOTO_PARAGRAPH here.
1589
1590 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1591
1592         * text3.C (dispatch): size() -> depth()
1593
1594         * text2.C: remove some debug output
1595
1596         * paragraph.C: ws changes only
1597
1598         * lyxfunc.C (getStatus): size() -> depth()
1599
1600         * dociterator.h (clear, push_back, pop_back, internalData,
1601         operator[], resize, empty): new functions
1602         Make StableDocIterator and operator== be friends. Don't inherit
1603         from std::vector use a privat class variable slices_ instead.
1604         Modify to fit.
1605
1606         * dociterator.C: update because of not inheriting from std::vector
1607         anymore. Call explictly to slices_ instead. Use depth() instead of
1608         size() and top() instead of back()
1609
1610         * cursor.C: chagne size() -> depth and back() -> top(). Also
1611         remove some direct operator[](i) calls in favour of foo[i]
1612         (getFont): remove some dead code
1613
1614         * bufferview_funcs.C (coordOffset): size() -> depth()
1615
1616         * buffer.C: ws changes only
1617
1618         * CutAndPaste.C (eraseSelection): back() -> top()
1619
1620         * BufferView_pimpl.C (selectionRequested): back() -> top()
1621
1622         * BufferView.C (setCursor): size() -> depth()
1623
1624 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1625
1626         * text3.C (cursorPrevious): return true if depm changed something
1627         (cursorNext): ditto
1628         (dispatch): rename sl to oldTopSlice, remove moving use the new
1629         NoUpdate func attrib instead. Make sure that needsUpdate is set
1630         for function that have NoUpdate, but where depm might have changed
1631         the buffer anyway.
1632
1633         * text2.C (cursorLeft): make us return true if depm changed
1634         something
1635         (cursorRight): ditto
1636         (cursorUpParagraph): ditto
1637         (curosrDownParagraph): ditto
1638         (cursorUp, cursorDown): ditto, make sure to read comments in code
1639         (deleteEmptyParagraphMechanism): remove an assert, also return
1640         true if just a single char was deleted.
1641
1642         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1643         cursor that we modify, to avoid modifying an active cursor before
1644         we call setCursor. This allows depm to run. Also return true if
1645         depm deleted something.
1646
1647         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1648         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1649         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1650         something was changed in the buffer because of them (ie. depm run)
1651
1652         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1653         debug messages. Make update by default be false. Make sure that
1654         the result of update is retained throught several calls down to
1655         dispatch.
1656
1657         * LyXAction.h: add a new func_attrib: NoUpdate
1658
1659         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1660         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1661         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1662         and LFUN_WORDLEFT
1663         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1664
1665 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1666
1667         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1668         bv_->owner(), bv_->buffer() by direct references to the private
1669         members.
1670         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1671         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1672         (fitCursor): center() is in BufferView::Pimpl.
1673         (getStatus, trackChanges, dispatch): no need for a temporary buf
1674         variable
1675         (fitCursor, workAreaDispatch): use workarea().workheight()
1676
1677 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1678
1679         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1680
1681 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1682
1683         * buffer.C: format up to 241.
1684         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1685         break if pasting into ERT
1686         * lyxfunc.C (getStatus): suppress mathpanel and
1687         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1688
1689 2005-02-01  Angus Leeming  <leeming@lyx.org>
1690
1691         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1692
1693 2005-02-01  Angus Leeming  <leeming@lyx.org>
1694
1695         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1696         calling fs::is_directory().
1697
1698 2005-01-31  Angus Leeming  <leeming@lyx.org>
1699
1700         * lyx_main.C (priv_exec): specify explicitly the relative location
1701         of the top level build directory when run in-place.
1702
1703 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1704
1705         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1706         LyXText containing the cursor, not the top-level one.
1707
1708         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1709         true.
1710         (insertStringAsLines): rename par to pit; use temporary variable
1711         par to hold a Paragraph; do not store par.layout() in a variable,
1712         since the pointer may die when breaking paragraphs; pass pars to
1713         breakParagraph() instead of Buffer::paragraphs().
1714
1715 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1716
1717         * lyxlex_pimpl.h: #include <fstream>.
1718
1719         * BufferView.[Ch] (getLyXText): add a const version.
1720
1721         * BufferView_pimpl.C: add debug aids.
1722
1723         * RowList_fwd.h:
1724         * buffer.h:
1725         * lyxrow.h:
1726         * paragraph_funcs.h: add commentary explaining what the class does.
1727
1728
1729         * coordcache.[Ch]: add lots of commentary.
1730         (startUpdating, doneUpdating): debug aids.
1731         (arrays, insets, parPos, getParPos): accessors to private data.
1732
1733         * cursor_slice.[Ch] (text): add a const version.
1734         * dociterator.[Ch] (text, innerText): add const versions.
1735
1736         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1737         bool.
1738
1739         * paragraph.C (getRow, pos2ros): add asserts.
1740
1741         * paragraph.h: add commentary. Lots of.
1742
1743         * paragraph.[Ch] (metrucs, draw): removed.
1744
1745         * cursor.C:
1746         * rowpainter.[Ch]: const-correct changes.
1747
1748         * text.C: various obvious clean-ups. Removal of ancient cruft.
1749         Bug fixes, even.
1750
1751 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1752
1753         * vc-backend.C (find_file): rewrite to use boost.filesystem
1754         (scanMaster): ditto
1755
1756         * main.C (main): set default name check for boost.filesystem to
1757         no check
1758
1759         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1760         (open): ditto
1761         (doImport): ditto
1762         (actOnUpdatedPrefs): ditto
1763
1764         * lyx_main.C (init): rewrite to use boost.filesystem
1765         (queryUserLyXDir): ditto
1766
1767         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1768         (getContentsOfAsciiFile): ditto
1769
1770         * lastfiles.C (readFile): rewrite to use boost.filesystem
1771
1772         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1773
1774         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1775         (loadLyXFile): ditto
1776
1777         * buffer.C (Buffer): adjust for destroydir
1778         (getLogName): rewrite to use boost.filesystem
1779         (setFileName): ditto
1780         (save): use fs::copy_file (from fs_extras)
1781
1782         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1783
1784         * LaTeX.C (run): rewrite to use boost.filesystem
1785         (scanAuxFiles): ditto
1786         (handleFoundFile): ditto
1787
1788 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1789
1790         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1791
1792         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1793
1794 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1795
1796         * lyxlayout.[Ch]: change some vars from float to double
1797
1798         * buffer.C (readFile): make a local var const
1799
1800         * Several files: use convert<> instead of atoi,strToXXX and friends
1801
1802 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1803
1804         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1805         holds the contents of packages.lst. New functions getAvailable
1806         and isAvailable to parse and check that list, resp.
1807
1808         * LyXAction.C:
1809         * lfuns.h:
1810         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1811
1812         * bufferparams.[Ch]: new param output_changes.
1813
1814         * Buffer.C: increase file format to 240.
1815         Use output_changes and isVailable.
1816
1817         * changes.[Ch]:
1818         * paragraph.C:
1819         * paragraph_pimpl.C: Use output_changes and isVailable.
1820
1821 2005-01-23  Angus Leeming  <leeming@lyx.org>
1822
1823         * output_latex.C: #include "insetbibitem.h", rather than
1824         forward declare function bibitemWidest.
1825
1826 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1827
1828         * lyx_main.C (init): make it compile on the Mac.
1829
1830 2005-01-20  Angus Leeming  <leeming@lyx.org>
1831
1832         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1833         (setLyXMisc): (char string literal) != (char string literal) is
1834         performing a comparison on the addresses. Convert one operand
1835         explicitly to string to guarantee expected behaviour.
1836         From MSVC warning.
1837
1838 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1839
1840         * buffer.C:
1841         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1842
1843         * output_plaintext.C: remove unneeded #include gzstream.h.
1844
1845 2005-01-20  Angus Leeming  <leeming@lyx.org>
1846
1847         * SpellBase.h: rename some of the elements of the Result enum.
1848
1849         * aspell_local.h:
1850         * ispell.h:
1851         * pspell.h:
1852         * aspell.C (check):
1853         * ispell.C (check):
1854         * pspell.C (check): ditto
1855
1856 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1857
1858         * buffer.C: add #include <fstream>.
1859
1860         * lyx_main.C (init): Compile fix.
1861
1862         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1863
1864 2005-01-20  Angus Leeming  <leeming@lyx.org>
1865
1866         * mover.h: change commentary to reflect the changed meaning of
1867         the $$s placeholder.
1868
1869 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1870
1871         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1872
1873         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1874
1875 2005-01-20  Angus Leeming  <leeming@lyx.org>
1876
1877         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1878         printing diagnostic data by not dereferecing an iterator past the
1879         end.
1880
1881 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1882
1883         * buffer.C (readHeader): use "&&" rather than "and".
1884
1885         * lyxserver.h (inPipeName, outPipeName): make these const.
1886
1887 2005-01-19  Angus Leeming  <leeming@lyx.org>
1888
1889         * lyx_main.C (error_handler, init): protect SIGHUP with
1890         #ifdef SIGHUP guards.
1891
1892 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1893
1894         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1895
1896 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1897
1898         * text.C (setHeightOfRow): add a margin at the top and bottom of
1899         the document (bug 1761)
1900
1901 2005-01-17  Angus Leeming  <leeming@lyx.org>
1902
1903         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1904         with "python ". Workaround for a brain-dead Windows.
1905
1906 2005-01-16  Angus Leeming  <leeming@lyx.org>
1907
1908         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1909         for MacOSX and Windows to use prependEnvPath.
1910         Strip out the hard-coded block to add elements to the PATH for
1911         MacOSX and replace it with a call to prependEnvPath using the
1912         contents of LyXRC::path_prefix.
1913         (queryUserLyXDir): strip out the code to run reconfigure, instead
1914         returning a boolean indicating the necessity to do so.
1915         (reconfigureUserLyXDir): contains the code to reconfigure the
1916         user support directory. Is now called after the various LyXRC data
1917         files have been read.
1918
1919         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1920
1921 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1922
1923         * converter.[Ch] (convert): take a new parameter try_default. Use
1924         a default converter (imagemagick) if try_default is true.
1925
1926 2005-01-13  Angus Leeming  <leeming@lyx.org>
1927
1928         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1929         os::cygwin_path_fix.
1930         (write): output LyXRC::cygwin_path_fix as necessary.
1931
1932 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1933
1934         * lyxrc.h:
1935         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1936
1937 2005-01-12  Angus Leeming  <leeming@lyx.org>
1938
1939         * lyx_main.C (init): set the PATH variable to include the
1940         directory containing the LyX binary when running on Mac or Windows.
1941
1942 2005-01-12  Angus Leeming  <leeming@lyx.org>
1943
1944         * lyx_main.C (init): remove cruft that purports to set the locale
1945         dir. It doesn't and is not needed anyway.
1946
1947 2005-01-10  Angus Leeming  <leeming@lyx.org>
1948
1949         * Makefile.am: remove the lyx_main.C special casing.
1950
1951         * BufferView_pimpl.C:
1952         * bufferlist.C:
1953         * exporter.C:
1954         * lyx_cb.C:
1955         * lyx_main.C:
1956         * lyxfunc.C:
1957         * messages.C: use support/package.h to provide the paths to the
1958         various directories used by LyX.
1959
1960 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1961
1962         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1963         layout if pasting into an empty paragraph)
1964
1965 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1966
1967         * tex-accent.C: add <string>
1968
1969 2005-01-06  José Matos  <jamatos@lyx.org>
1970
1971         * ParagraphParameters.C (write): put every parameter in its own line.
1972         * paragraph.C (write): reduce number of consecutive empty lines exported.
1973         * buffer.C (LYX_FORMAT): increase file format to 239.
1974
1975 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1976
1977         * everywhere: change support/tostr.h -> support/convert.h
1978
1979         * tabular.C: make all write_attributes templates, tostr -> convert
1980
1981         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1982         (emptyTag): and -> &&, and fix type for ret from getChar
1983         (getFirstWord): fix type for ret from getChar
1984         (onlyText): and -> &&
1985         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1986         getChar
1987
1988         * toc.C (goTo, action):
1989         * text3.C (dispatch):
1990         * text.C (currentState):
1991         * tex-accent.C (DoAccent):
1992         * sgml.C:
1993         * lyxrc.C:
1994         * lyxfunc.C (menuNew):
1995         * lyxfinc.C (replace):
1996         * counters.C (laberItem):
1997         * bufferview_funcs.C (font2string):
1998         * bufferparams.C (writeFile):
1999         * buffer.C (readFile):
2000         * Spacing.C (set):
2001         * MenuBackend.C: tostr -> convert
2002
2003         * LaTeX.C (runMessage): fix format
2004         (scanAuxFiles): tostr -> convert
2005
2006         * BufferView_pimpl.C (savePosition): fix format
2007         (restorePosition): ditto
2008         (dispatch): ditto
2009
2010 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2011
2012         * Spacing.[Ch]: New method getValueAsString().
2013
2014         * Spacing.[Ch]:
2015         * bufferparams.C:
2016         * ParagraphParameters.C:
2017         * lyxlayout.C:
2018         * text.C:
2019         * text3.C: store/read spacing value as string.
2020
2021         * rowpainter.C: change float value (spacing_val) to double.
2022
2023         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2024         broken custom document spacing).
2025
2026 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2027
2028         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2029         namespace, also more use of temp references and const
2030
2031         * cursor.[Ch] (getStatus): move to lyxfunc.C
2032
2033         * bufferparams.C: reformat slightly
2034
2035         * bufferview_funcs.C (font2string): constify arg
2036
2037         * changes.C:
2038         * converter.C:
2039         * counters.C:
2040         * bufferlist.C:
2041         * buffer_funcs.C: (many funcs): constify arg on function
2042         definitions, also make more local vars const, also add ASSERTS on
2043         pointer args.
2044
2045         * buffer.C (LYX_FORMAT): put const in correct place
2046         (many funcs): constify arg on function definitions, also make
2047         more local vars const
2048
2049         * aspell_local.h: remove "struct" from typdef setup
2050
2051         * aspell.C (check): make word_ok const
2052         (nextMiss): simplify slightly
2053         (error): ditto
2054
2055 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2056
2057         * lyxrc.[Ch]: store all float values as strings.
2058         use int (not float) for lyxrc.dpi.
2059
2060 2005-01-04  Angus Leeming  <leeming@lyx.org>
2061
2062         * lyx_cb.C (Reconfigure):
2063         * lyx_main.C (queryUserLyXDir):
2064         to run the <system_lyxdir>/configure correctly on Windows, prefix
2065         the path to the script with "sh " when generating the string that
2066         is passed to system().
2067
2068 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2069
2070         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2071
2072 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2073
2074         * lyxlength.C (asLatexString): get rid of setprecision
2075
2076 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2077
2078         * text2.C (setLayout): remove unused variable endpit.
2079         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2080
2081         * paragraph.C (onlyText): remove unused variable style.
2082
2083         * cursor.C (bruteFind): remove unused variables beg and end.
2084
2085         * Makefile.am (dist_noinset_DATA): not needed anymore
2086
2087         * cheaders/*: remove.
2088
2089 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2090
2091         * text3.C: fix LFUN_MATH_MODE.
2092
2093 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2094
2095         * buffer_funcs.C (countWords): new function. Counts words between
2096         two iterators.
2097
2098         * BufferView_pimpl.C (getStatus, dispatch): handle
2099         LFUN_WORDS_COUNT.
2100
2101         * LyXAction.C (init):
2102         * lfuns.h: add LFUN_WORDS_COUNT.
2103
2104 2004-12-19  Angus Leeming  <leeming@lyx.org>
2105
2106         * buffer.C (save): s/slashify_path/internal_path/.
2107
2108 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2109
2110         * lyxfind.C (findChange): do not search for end of pars, because
2111         the change tracker cannot handle this (fixes bug 1719).
2112
2113 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2114
2115         * paragraph.[Ch] (autoBreakRows): remove
2116
2117         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2118
2119         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2120         avoid using the paragraph one
2121
2122         * text2.C (LyXText, insertStringAsLines): adjust
2123
2124 2004-12-16  Angus Leeming  <leeming@lyx.org>
2125
2126         * bufferlist.C:
2127         * lyx_main.C:
2128         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2129
2130 2004-12-14  Angus Leeming  <leeming@lyx.org>
2131
2132         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2133
2134         * bufferlist.C (emergencyWrite):
2135         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2136         GetEnvPath("HOME").
2137
2138 2004-12-14  Angus Leeming  <leeming@lyx.org>
2139
2140         * main.C: (main): no longer pass pointers to os::init.
2141
2142 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2143
2144         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2145         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2146
2147 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2148
2149         * lyxfunc.C:
2150         * text3.C: remove selection_possible global flag
2151
2152 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2153
2154         * text2.C (getSelectionSpan): remove
2155         (changeDepth, changeDepthAllowed): adjust
2156
2157 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2158
2159         * Makefile.am (BOOST_LIBS): use boost variables
2160
2161 2004-12-03  José Matos  <jamatos@lyx.org>
2162
2163         * buffer.C: format up to 238.
2164
2165 2004-12-03  José Matos  <jamatos@lyx.org>
2166
2167         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2168
2169 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2170
2171         * cursor.C (goUpDown): remove call to idxUpDown2
2172
2173 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2174
2175         * tabular.[Ch]: use size_t-like types for cell, row and column
2176         indices
2177
2178 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2179
2180         * lyxfunc.C (getStatus): do not lose previous information when
2181         calling BufferView::getStatus; do not set a default "Command
2182         disabled" message at the beginning, but just before returning.
2183
2184 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2185
2186         * cursor.h (getStatus): add better comment from src/cursor.C
2187
2188 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2189
2190         * text3.C (getStatus): return false when the lfun is not handled
2191
2192 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2193
2194         * broken_headers.h: remove
2195
2196         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2197
2198 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2199
2200         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2201         offset_ref accessors
2202
2203         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2204         top_y_, merge fitcursor with update
2205         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2206         coord scheme
2207         (metrics): introduce
2208         (workAreaDispatch): adapt to new coord scheme
2209         (redoCurrentBuffer): remove
2210
2211         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2212
2213         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2214         CurStatus enum.
2215
2216         * coordcache.[Ch]: add paragraph cache and helpers
2217
2218         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2219         adjust everywhere
2220
2221         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2222         (targetX, setTargetX): introduce
2223
2224         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2225         baseline -> ascent, as the rest of lyx
2226
2227         * lyxtext.h: remove redoParagraphs, updateParPositions,
2228         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2229         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2230         have ascent/descent (ascent is ascent of first par)
2231
2232         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2233         step of BufferView
2234
2235         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2236
2237         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2238
2239         * pariterator.C: fix infinite loop introduced in par->pit renaming
2240
2241         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2242         in insets and LyXText, draw two off-screen paragraphs using
2243         NullPainter, and adapt to new coord scheme
2244
2245         * text.C:
2246         * text2.C:
2247         * text3.C: adapt lfun handlers to the new coord scheme, which
2248         means: there's only guaranteed coord information for onscreen pars
2249         plus one above and one below. This implies that one can do search
2250         from y coordinates in the range [-1,workHeight]
2251
2252 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2253
2254         * rename a lot of InsetOld to InsetBase
2255
2256 2004-11-25  Angus Leeming  <leeming@lyx.org>
2257
2258         * BufferView_pimpl.C:
2259         * lyx_cb.C:
2260         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2261
2262 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2263
2264         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2265         call BufferView::getStatus if LCursor::getStatus did nothing
2266         (setStatusMessage, getStatusMessage): removed.
2267
2268         * FuncStatus.C (message): new methods. Used to provide an error
2269         message indicating why a command is disabled.
2270         (clear, |=, FuncStatus): update for message.
2271
2272 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2273
2274         * lyxfunc.C (dispatch): always call sendDispatchMessage
2275
2276 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2277
2278         * BufferView.C:
2279         * BufferView_pimpl.C:
2280         * CutAndPaste.C:
2281         * FontIterator.C:
2282         * buffer.C:
2283         * cursor.C:
2284         * cursor_slice.[Ch]:
2285         * dociterator.[Ch]:
2286         * lyxfind.C:
2287         * paragraph_funcs.C:
2288         * pariterator.C:
2289         * rowpainter.C:
2290         * text.C:
2291         * text2.C:
2292         * text3.C:
2293         * undo.C: par->pit renaming
2294
2295 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2296
2297         * tabular.C (cellstruct): use initialization, store a shared_ptr
2298         to insettext instead of the insettext directly, adjust to fit.
2299         (operator=):  new function
2300         (swap): new function
2301         (rowstruct): use initialization
2302         (columnstruct): use initialization
2303         (ltType): use initialization
2304
2305
2306         * lyxlength.h (swap): new function
2307
2308         * LColor.[Ch] (operator=): use the common semantics
2309
2310 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2311
2312         * lyxfind.C (findNextChange): update the bufferview after setting
2313         the selection.
2314
2315 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2316
2317         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2318         number of InsetOptArgs has already been inserted.
2319
2320         * output_latex.C (latexOptArgInsets): new method. This outputs all
2321         the optarg insets, up to the limit defined in the layout file.
2322         (optArgInset): removed
2323         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2324
2325 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2326
2327         * paragraph.C (isLetter): remove special spellchecker-related
2328         code; return true also for digits
2329         (isWord, isKomma): remove
2330
2331         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2332         * lyxfind.C (MatchString()): use isLetter instead of isWord
2333
2334 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2335
2336         * pariterator.h (operatir=): comment out un-implemented member
2337         function.
2338
2339         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2340         static cast.
2341
2342 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2343
2344         * lyxfont.h: include LColor.h to satisfy concept checks.
2345
2346 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2347
2348         * pariterator.h: add typdefs for value_type, difference_type,
2349         pointer and reference to satisfy concept checks. Also add default
2350         constructor for same reason.
2351
2352         * pariterator.C (operator++): add post-increment operator to
2353         satisfy concept checks.
2354
2355         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2356         checks.
2357
2358         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2359
2360         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2361         checks. Also rename base_type to BaseType to follow naming
2362         standard better.
2363
2364         * FloatList.h: include Floating.h to satisfy concept checks.
2365
2366 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2367
2368         * lyxfunc.C (getStatus): when the origin of the request is menu or
2369         toolbar, and the LyXView does not have focus, do as if there was
2370         no buffer (bug 1720)
2371
2372         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2373         FuncRequest to individual entries of LFUN_SEQUENCE
2374
2375 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2376
2377         * output_latex.C (TeXOnePar): override runparams.moving_arg
2378         according to the needprotect value of the current paragraph (bug
2379         1739)
2380
2381         * paragraph.C (simpleTeXOnePar): no need to override
2382         runparams.moving_args here
2383
2384 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2385
2386         * vspace.C: fix off-by-one-error, related to fix #1682
2387
2388 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2389
2390         * lengthcommon.C: a more general fix for bug 1682
2391
2392 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2393
2394         * text.C (backspace): fix crash
2395
2396 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2397
2398         * format.[Ch] (getFormatFromFile): new method
2399         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2400
2401 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2402
2403         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2404
2405 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2406
2407         * lyxfunc.C (dispatch): remove the verbose argument
2408         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2409         instead
2410
2411         * kbmap.C (defkey): set the origin of func to KEYBOARD
2412
2413         * MenuBackend.C (MenuItem):
2414         * ToolbarBackend.C (add): set the origin of func to UI
2415
2416         * funcrequest.[Ch]: add origin member, which indicates which part
2417         of LyX requests an action
2418
2419 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2420
2421         * converter.C (move): don't lie in the error message
2422         * converter.h (isReachable, move): document
2423
2424 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2425
2426         * buffer.C: remove unused using lyx::support::atoi
2427         * paragraph_funcs.C: ditto
2428
2429 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2430
2431         * bufferlist.C (exists): use bind and equal_to instead of
2432         compare_memfun
2433         (getBuffer): ditto
2434         * lyxtextclasslist.C (NumberOfClass): ditto
2435
2436         * cursor.C (insert): use for_each instead of explicit for loop
2437
2438         * bufferlist.C (getFileNames): use std::transform and
2439         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2440
2441         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2442         for loop
2443
2444         * buffer.C (changeLanguage): use for_each instead of explicit for
2445         loop
2446         (hasParWithID): implement using getParFromID
2447
2448         * LaTeXFeatures.C: ws change only
2449
2450         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2451         to cleanup a bit.
2452
2453         * BufferView_pimpl.C (trackChanges): use for_each instead of
2454         expilicit for loop
2455
2456 2004-11-04  André Pönitz  <poenitz@gmx.net>
2457
2458         * undo.h:
2459         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2460
2461         * dociterator.C (asDocIterator): use hard assert again.
2462
2463 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2464
2465         * lyxlength.C (asLatexString): rewrite so that it does not use
2466         snprintf anymore
2467
2468 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2469
2470         * text3.C (specialChar, dispatch): make sure cursor moves to the
2471         right after inserting an inset
2472
2473 2004-11-02  José Matos  <jamatos@lyx.org>
2474
2475         * output_docbook.C (docbook):
2476         * paragraph.C (getID):
2477         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2478         garantee that the output is always legal.
2479
2480         * tabular.C (docbook):
2481         * outputprams.[Ch]: remove mixed contents.
2482
2483 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2484
2485         * text2.C (setCounter): prevent endless loop
2486
2487 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2488
2489         * exporter.C (copyFile): use the mover instead of support::copy()
2490         * exporter.C (Export): pass format and latex name to copyFile()
2491         * exporter.h (addExternalFile): document
2492         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2493
2494 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2495
2496         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2497
2498 2004-10-30  José Matos  <jamatos@lyx.org>
2499
2500         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2501         text and no inset or font change. This allows to use CDATA
2502         sections just for the whole paragraph.
2503
2504 2004-10-30  José Matos  <jamatos@lyx.org>
2505
2506         * paragraph.C (getFirstWord): remove unused variable.
2507
2508 2004-10-30  José Matos  <jamatos@lyx.org>
2509
2510         * paragraph.C (getFirstWord): the content should always be escaped
2511         there.
2512         (simpleDocBookOnePar):
2513         * output_docbook.C (makeEnvironment): replace reference to CDATA
2514         to style pass_thru.
2515
2516 2004-10-30  José Matos  <jamatos@lyx.org>
2517
2518         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2519
2520 2004-10-30  José Matos  <jamatos@lyx.org>
2521
2522         * output_docbook.C (makeParagraphs):
2523         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2524         standard paragraph has only a given type of content drop the wrapper.
2525
2526 2004-10-29  José Matos  <jamatos@lyx.org>
2527
2528         * output_docbook.C (makeEnvironment):
2529         * sgml.C (openTag):
2530         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2531
2532 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2533
2534         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2535         (cleanID): sanitize any id.
2536
2537 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2538
2539         * buffer.C, lyxlex_pimpl.C:
2540         * lyxlex_pimpl.C (setFile):
2541         s/getExtFromContents/getFormatFromContents/
2542
2543 2004-10-28  José Matos  <jamatos@lyx.org>
2544
2545         * output_docbook.C (makeEnvironment): move id to broadest possible
2546         scope.
2547
2548         * sgml.C (openTag): apply substitution of <> for all attributes.
2549
2550 2004-10-28  José Matos  <jamatos@lyx.org>
2551
2552         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2553         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2554         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2555
2556         * sgml.[Ch]: new version for open and closeTag for paragraph and
2557         for strings. Now they handle the ids of paragraphs.
2558
2559 2004-10-26  Angus Leeming  <leeming@lyx.org>
2560
2561         * Makefile.am: add mover.[Ch].
2562
2563         * converter.C (convert, move): use the new Movers to move external
2564         files to the temp directory.
2565
2566         * lyx_main.C (init): ensure that the global system_movers data
2567         is initialised.
2568
2569         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2570         preferences file.
2571
2572         * mover.[Ch]: new files, defining a Mover as a utility to move an
2573         external file between directories and, if necessary, manipulate this
2574         file using a helper script.
2575
2576 2004-10-25  José Matos  <jamatos@lyx.org>
2577
2578         * output_docbook.C (makeCommand): merge two if's that tested the
2579         same condition.
2580
2581 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2582
2583         * sgml.C (escapeString): fix warning in a better way
2584
2585 2004-10-25  José Matos  <jamatos@lyx.org>
2586
2587         * sgml.C (escapeString): import the require boosts header file for
2588         tie, and avoid a signed unsigned comparison.
2589
2590 2004-10-25  José Matos  <jamatos@lyx.org>
2591
2592         * sgml.h: add #include <string>
2593
2594 2004-10-25  José Matos  <jamatos@lyx.org>
2595
2596         * sgml.[Ch] (escapeString): new function to escape all the string.
2597
2598 2004-10-24  José Matos  <jamatos@lyx.org>
2599
2600         * paragraph.[Ch] (getFirstWord): new function to get the first
2601         word. Useful for description.
2602         (simpleDocBookOnePar): remove depth argument, add another that
2603         says where to start the paragraph.
2604
2605         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2606         use the new functions to fix cleanly the support for descriptions.
2607
2608 2004-10-24  José Matos  <jamatos@lyx.org>
2609
2610         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2611         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2612         * output_linuxdoc.C (linuxdocParagraphs):
2613         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2614         add buffer as argument.
2615
2616 2004-10-24  José Matos  <jamatos@lyx.org>
2617
2618         * output_docbook.C (makeEnvironment, searchEnvironment): place
2619         CDATA inside paragraphs and fix scope for listitems.
2620
2621 2004-10-24  José Matos  <jamatos@lyx.org>
2622
2623         * output_docbook.C: remove using statement for stack.
2624
2625 2004-10-23  José Matos  <jamatos@lyx.org>
2626
2627         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2628         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2629         docbook. The new scheme is recursive and makes use of iterators, the
2630         same as latex export works.
2631         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2632         directly with the paragraph contents. This code was moved up to
2633         output_docbook.C (docbookParagraphs).
2634         * sgml.C (openTag, closeTag): removed unneeded newlines.
2635         (closeEnvTags) removed.
2636
2637 2004-10-23  André Pönitz  <poenitz@gmx.net>
2638
2639         * undo.C (textUndoOrRedo):
2640         * dociterator.C (asDocIterator): work around crash
2641
2642         * cursor.C (getStatus): replace ASSERT by more verbose error message
2643           and manual correction of the problem. Should increase stability
2644           while providing more sensible information.
2645
2646 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2647
2648         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2649
2650         * bufferlist.C (previous, next): new methods
2651
2652         * lfuns.h:
2653         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2654
2655 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2656
2657         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2658         entities to preamble.
2659
2660 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2661
2662         * messages.C (Pimpl): strip off translation context information
2663
2664 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2665
2666         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2667         the cursor is correct (bug 1694)
2668
2669 2004-10-13  José Matos  <jamatos@lyx.org>
2670
2671         * output_docbook.C (docbookParagraphs): fix closing tags in the
2672         end of the document.
2673
2674 2004-10-09  José Matos  <jamatos@lyx.org>
2675
2676         * buffer.C: format up to 237.
2677         * bufferparams.C (write): use tostr to convert booleans to strings.
2678
2679 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2680
2681         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2682
2683 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2684
2685         * LaTeX.C: implement use of babel language in xindy.
2686
2687 2004-10-05  José Matos  <jamatos@lyx.org>
2688
2689         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2690         Add new translators to help reading and writing the lyx file.
2691
2692 2004-10-05  José Matos  <jamatos@lyx.org>
2693
2694         * ParagraphParameters.C (read):
2695         * text.C (readParToken): replace nexToken by more appropriate lex
2696         methods.
2697
2698 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2699
2700         * LaTeX.C (runMakeIndex):
2701         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2702         (usually 'makeindex') configurable.
2703
2704         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2705         with a variable rather than with a number.
2706
2707 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2708
2709         * output_latex.C (TeXOnePar): make sure font setting is the first
2710         thing that gets output (and the last at the end). Should fix bug
2711         1404.
2712
2713 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2714
2715         * pch.h: use proper signal include
2716
2717         * LaTeX.h: Use preferred calling of Boost.Signal
2718         * buffer.h: ditto
2719
2720 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2721
2722         * pch.h: dont include <boost/function/function0.hpp>
2723
2724         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2725
2726         * paragraph_pimpl.h: remove usage of ShareContainer
2727
2728         * paragraph_pimpl.C: remove initialization of ShareContainer.
2729
2730 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2731
2732         Fix bug #1666
2733
2734         * BufferView.C (putSelectionAt): change the semantics when
2735         backwards == true: now, this just swaps cursor and anchor wrt the
2736         forward case
2737
2738         * BufferView.h (putSelectionAt): add some documentation
2739
2740         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2741         make sure backwardChar is done at least once (to avoid getting
2742         stuck)
2743         (findNextChange): use putSelectionAt in the forward direction
2744         (operator()): use Paragraph::isWord
2745
2746 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2747
2748         * Spacing.C (set): c_str fix
2749
2750 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2751
2752         * lyx_cb.C (Reconfigure): quote the name of configure script in
2753         case it contains spaces
2754
2755 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2756
2757         * client: new dir
2758
2759         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2760         (BOOST_LIBS): use top_buildir when looking for the file
2761
2762 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2763
2764         * pch.h: do not use include boost/format.hpp, multiple symbols
2765                 will result (gcc bug)
2766
2767
2768 2004-08-23  José Matos  <jamatos@lyx.org>
2769
2770         * bufferparams.C (readToken): fix reading of the author field.
2771
2772 2004-08-20  José Matos  <jamatos@lyx.org>
2773
2774         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2775
2776 2004-08-20  José Matos  <jamatos@lyx.org>
2777
2778         * lyxlex.[Ch] (findToken): remove function.
2779
2780         * ParagraphParameters.C (findToken):
2781         * bufferparams.C (findToken): replace call for previous function
2782         with local copy. This local function has one more argument, the
2783         read string argument.
2784
2785 2004-08-16  José Matos  <jamatos@lyx.org>
2786
2787         * ParagraphParameters.C (write):
2788         * Spacing.C (writeFile):
2789         * bufferparams.C (writeLaTeX):
2790         * lyx_cb.C (Reconfigure):
2791         * paragraph.C (write):
2792         * tabular.C (write): remove unnecessary space at end of line.
2793
2794
2795 2004-08-16  José Matos  <jamatos@lyx.org>
2796
2797         * text.C (readParagraph): remove debug message.
2798
2799 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2800
2801         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2802         crash
2803
2804         * output_plaintext.C (asciiParagraph): set depth correctly
2805
2806         * outputparams.h: add member depth
2807
2808         * paragraph_funcs.C (ownerPar): remove.
2809
2810         * text2.C (setCounter): remove first_pit; comment out some
2811         non-working code that uses ownerPar
2812
2813         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2814         uses ownerPar
2815
2816 2004-08-16  José Matos  <jamatos@lyx.org>
2817
2818         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2819         For the same level of importance use the same chanel to report problems.
2820         (read): add code to deal with \begin_body and \end_body.
2821
2822
2823 2004-08-15  José Matos  <jamatos@lyx.org>
2824
2825         * lyxlex.C (getString): fix comment, buffer::readBody is now
2826         buffer:readDocument.
2827
2828         * tex-strings.C (string_papersize): Default -> default,
2829         Custom -> custom, for consistency with other options.
2830
2831 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2832
2833         * pch.h: new file
2834
2835         * Makefile.am: support pch
2836
2837 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2838
2839         * text.C (readParToken): remove the static LyXFont variable and
2840         pass it as a parameter instead. This fixes a nasty bug where an
2841         inset will be inserted with a bad font in some situations
2842         (readParagraph): adapt
2843
2844         * text2.C (setCounter): reduce number of calls to pars_[pit]
2845
2846         * text.C (singleWidth): add an assert, fix a test
2847
2848         * rowpainter.C (paintText): reduce number of calls to singleWidth
2849
2850         * paragraph.C (isHfill):
2851         (isNewline): ws only
2852
2853 2004-08-14  André Pönitz  <poenitz@gmx.net>
2854
2855         * text.C:
2856         * text2.C:
2857         * rowpainter.C:
2858         * lyxtext.h (several functions): use a Paragraph & argument
2859         instead of par_type
2860
2861 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2862
2863         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2864
2865         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2866
2867         * text.C (singleWidth): remove useless test
2868
2869 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2870
2871         * tabular.h: remove bogus comments
2872
2873         * tabular.C (getDescentOfRow):
2874         (isPartOfMultiColumn): add assertions
2875
2876         * lyxlength.C (inPixels): remove #warning
2877
2878 2004-08-14  André Pönitz  <poenitz@gmx.net>
2879
2880         * paragraph.h: inline getChar()
2881
2882         * BufferView.h: remove unused declarations
2883
2884 2004-08-14  José Matos  <jamatos@lyx.org>
2885
2886         * Buffer.[Ch] (readDocument): new name for old readBody.
2887         * Buffer.C: new file format, new keywords: \begin_document,
2888         \begin_header, \begin_body, \end_body.
2889
2890         * bufferparams.C (readToken): replace all calls to lex.nextToken
2891         by lex.next(). Do the same to eatLine except where really needed.
2892
2893         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2894         line when writing to the lyx file.
2895
2896         * output_plaintext.C (asciiParagraph): fix Bibliography style
2897         handling.
2898
2899         * text.C (read): fix end of file handling.
2900
2901 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2902
2903         * MenuBackend.C (Menu::operator[]): new method to access
2904         individual menu items
2905         (Menu::hasFunc): new method. search for an item that corresponds
2906         to a given func
2907         (MenuBackend::specialMenu): new method
2908         (MenuBackend::expand): if a special menu has been set, skip
2909         entries whose func() appears in this menu
2910
2911 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2912
2913         * text3.C: use Debug::DEBUG a bit more
2914
2915         * text.C (leftMargin): try to simplify a tiny bit change var x to
2916         l_margin. Dont output the wide margins always.
2917         (rightMargin): no margin in inner texts
2918
2919         * rowpainter.h (nestMargin): new func
2920         (changebarMargin): new func
2921         (rightMargin): new func
2922
2923         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2924         now functions.
2925         (paintLast): ditto
2926
2927         * factory.C (createInset): modify setDrawFrame
2928
2929         * cursor.C: use Debug::DEBUG a bit more
2930
2931 2004-08-14  André Pönitz  <poenitz@gmx.net>
2932
2933         * coordcache.[Ch]:
2934         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2935         cache for all insets in (at least partially) visible (top-level)
2936         paragraphs.
2937
2938         * BufferView_pimpl.C: reset external coord cache before every update.
2939         This means the coord cache only contains valid entries.
2940
2941 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2942
2943         bug 1096
2944         * BufferView_pimpl.C (getInsetByCode): move function out of class
2945         and change in to a template in anon namespace. Also fix to do what
2946         suits us better.
2947
2948 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2949
2950         bug 1305
2951         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2952         of char
2953         (breakParagraph): rename par to par_offset and use a local
2954         reference. Add code to keep the language over a rebreak.
2955         (breakParagraphConservative): rename par to par_offset, use a
2956         local reference
2957         (mergeParagraph): ditto
2958         (outerHook): ditto
2959         (isFirstInSequence): ditto
2960         (outerFont): rename pit to par_offset
2961
2962         * paragraph.C: ws change
2963         * paragraph.h: ditto
2964         * text3.C: ditto
2965         * text.C: ditto
2966
2967 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2968
2969         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2970         treatment for ']'
2971
2972         * paragraph.C (simpleTeXOnePar): when we have a \item with
2973         optional argument, enclose the argument with curly brackets (in
2974         case it contains a closing square bracket)
2975
2976         * text2.C (editXY):
2977         * text2.C (editXY):
2978         * text3.C (checkInsetHit): constify
2979
2980 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2981
2982         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2983         documents (bug 1629)
2984
2985 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2986
2987         Fix toggling of collapsable insets with the mouse (bug 1558)
2988
2989         * lyxfunc.C (dispatch): adapt to LCursor changes
2990
2991         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2992         make sure that dispatch is not invoked twice
2993
2994         * cursor.C (needsUpdate): new method
2995         (dispatch): return void
2996         (result): new method, to access the DispatchResult of the cursor.
2997
2998 2004-08-13  José Matos  <jamatos@lyx.org>
2999
3000         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
3001
3002 2004-08-13  André Pönitz  <poenitz@gmx.net>
3003
3004         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
3005
3006         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
3007           multiple cells
3008
3009 2004-08-12  André Pönitz  <poenitz@gmx.net>
3010
3011         * text3.C: take out the 'cursor right' form insertInset and only
3012         do it in those places when it is really needed. Fixes crash on
3013         C-m...
3014
3015 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3016
3017         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
3018
3019         * BufferView_pimpl.C (setBuffer): initialize the current font of
3020         the underlying LyXText
3021
3022 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3023
3024         * kbsequence.C (print): use UI native formatting for menu
3025         shortcuts
3026
3027         * text.C (insertChar): call Paragraph::insertChar with a font
3028         argument (cosmetic)
3029
3030         * paragraph.C (insertInset, insertChar): the version that takes a
3031         LyXFont argument is now a wrapper around the other one (the
3032         opposite used to be true).
3033
3034         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3035         argument. Font setting is done in Paragraph now.
3036
3037 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3038
3039         * outputparams.h: add new members intitle and lang.
3040
3041         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3042         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3043
3044 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3045
3046         * text3.C (dispatch): remove special handling of button 4 and 5,
3047         it is now taken care of in the frontend code.
3048
3049 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3050
3051         * Spacing.h: add <string> (STLPort compile fix)
3052
3053 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3054
3055         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3056
3057 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3058
3059         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3060         to bool.
3061
3062         * converter.C (showMessage): inherit from unary_function, make
3063         operator() const.
3064
3065         * buffer.C (writeFile): initialize retval
3066
3067         * InsetList.h: rename private variable list to list_
3068         * InsetList.[Ch]: adjust accordingly.
3069
3070 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3071
3072         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3073         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3074         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3075         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3076         * ParagraphParameters.C, LaTeXFeatures.C: replace
3077         "support/std_sstream.h" with <sstream>
3078
3079 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3080
3081         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3082         * lyxsocket.C (LyXServerSocket): ditto
3083         (serverCallback): ditto
3084
3085 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3086
3087         * LaTeXFeatures.C: check release date when loading jurabib.
3088
3089 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3090
3091         * lyxserver.C (startPipe): call register_socket_callback
3092         (endPipe): call unregister_socket_callback
3093
3094 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3097         (LyXServerSocket): register the callback
3098         (LyXServerSocket): unregister the callback
3099         (fd): delete function
3100         (serverCallback): improve error checking and setup the callbacks.
3101         (dataCallback): change arg to fd.
3102         (writeln): new func (copied fro the client socket) used for server
3103         write to client.
3104         (LyXDataSocket): simplify
3105         (~LyXDataSocket): close ann unregiser callback
3106         (server): delete function
3107         (fd): delete function
3108         (readln): small changes, improve some std::string usage
3109         (writeln): constify a bit
3110
3111 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3112
3113         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3114         Qt frontend
3115
3116 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3117
3118         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3119         after it has been populated
3120
3121 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3122
3123         * text2.C (insertInset): move cursor when inserting inset.
3124
3125 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3126
3127         * kbmap.C (findbindings): a couple of new methods. returns a
3128         container of kb_sequence objects. The real work is done by the
3129         private recursive version
3130         (printbindings): uses findbindings to print out a bracketed list
3131         of bindings (renamed from findbinding).
3132
3133         * MenuBackend.C (binding): use kb_keymap::findbindings
3134
3135         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3136
3137 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3138
3139         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3140
3141 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3142
3143         * paragraph.C (isWord): return true on insets that report
3144         isLetter().
3145
3146         * text.C (getWord): use Paragraph::isWord to decide what is in a
3147         word and what is not; fix bug 1609.
3148
3149 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3150
3151         * tex-strings.C: add "none" to string_paperpackages[], fixes
3152         off-by-one-error in the paperpackage selection.
3153
3154         * lyxlex.[Ch]:
3155         * tex-strings.[Ch]: char const * string[n]
3156         -> char const * const string[]
3157
3158 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3159
3160         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3161         command, return early.
3162
3163 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3164
3165         * debug.h: add DEBUG to enum and fix size of ANY.
3166
3167         * debug.C: add support for Debug::DEBUG
3168         (showTags): cast errorTags.level to unsigned int
3169
3170         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3171         (redoCurrentBuffer): ditto
3172         (updateScrollbar): ditto
3173         * cursor.C (dispatch): ditto
3174         * text2.C (setLayout): ditto
3175         (setFont): ditto
3176         (updateCounters): ditto
3177         (editXY): ditto
3178         (deleteEmptyParagraphMechanism): ditto
3179
3180 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3183         annotations to cleanup the Makefile slightly.
3184
3185 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3186
3187         * lyxrc.C: do not set user_email to a default value but use empty
3188         instead. The entry used to be translated, which does not work
3189         since at the point where lyxrc is constructed there is no
3190         translation service available
3191
3192         * messages.C (getLocaleDir): remove and use directly
3193         lyx_localedir() instead
3194
3195 2004-06-02  Angus Leeming  <leeming@lyx.org>
3196
3197         Fix crash caused by dereferencing null pointer 'exportdata' in
3198         OutputParams by creating a new ExportData variable on the heap,
3199         storing it in a boost::shared_ptr.
3200         The crash was triggered when generating an Instant Preview
3201         of an external inset.
3202
3203         * Makefile.am: add outputparams.C
3204
3205         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3206         (c-tor): allocate memory to it.
3207
3208         * exporter.C (c-tor): associated changes.
3209
3210 2004-06-01  Angus Leeming  <leeming@lyx.org>
3211
3212         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3213         contains data before calling isInset(0). (Bug 1513.)
3214
3215 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3216
3217         * exporter.C (checkOverwrite): new method
3218         * exporter.C (copyFile): new method
3219         * exporter.C (Export): copy referenced files to the document dir
3220         * exporter.[Ch]: new class ExportedFile
3221         * exporter.[Ch]: new class ExportData. Contains currently the
3222         names of referenced external files
3223         * outputparams.h: add exportdata member.
3224
3225 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3226
3227         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3228         version.C-tmp
3229
3230 2004-05-19  Angus Leeming  <leeming@lyx.org>
3231
3232         * LaTeXFeatures.C:
3233         * ToolbarBackend.C:
3234         * bufferparams.C:
3235         * lyxfunc.C: small changes due to the introduction of namespace
3236         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3237
3238 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3239
3240         * text3.C (dispatch): supress update when only moving the cursor
3241         * cursor.C (selHandle): remove commented code
3242
3243 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3244
3245         * paragraph.C (startTeXParParams): correct column count
3246         * CutAndPaste.C (pasteSelection): remove const_cast
3247         * output_docbook.C (docbookParagraphs): remove const_cast
3248         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3249         const_cast and return ParagraphList::const_iterator
3250         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3251         * output_plaintext.C (writeFileAscii): remove const_cast
3252         * paragraph.[Ch] (simpleTeXOnePar): make const
3253         * paragraph_funcs.C (outerPar): use const iterators
3254         * paragraph_pimpl.C (validate): use const iterators
3255         * text.C (setHeightOfRow): use const iterators
3256
3257 2004-05-17  Angus Leeming  <leeming@lyx.org>
3258
3259         * lfuns.h:
3260         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3261
3262         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3263         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3264         if the citation engine has changed.
3265
3266 2004-05-14  José Matos  <jamatos@lyx.org>
3267
3268         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3269         if the textclass does not provide it. Have it different for sgml and
3270         xml.
3271         support the language of document.
3272         * output_docbook.C (docbookParagraphs):
3273         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3274         first anchor as the id of the paragraph, remove special case code.
3275         * sgml.C (escapeChar): escape only < & >.
3276
3277 2004-05-14  Angus Leeming  <leeming@lyx.org>
3278
3279         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3280         dependencies on src/frontends/controllers/biblio.h. Define a
3281         CiteEngine_enum wrapper class to enable the enum to be forward
3282         declared.
3283
3284 2004-05-12  Angus Leeming  <leeming@lyx.org>
3285
3286         * buffer.C: up LYX_FORMAT to 234.
3287         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3288         use_numerical_citations with a single biblio::CiteEngine cite_engine
3289         variable.
3290         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3291
3292 2004-05-13  José Matos  <jamatos@lyx.org>
3293
3294         * converter.h:
3295         * converter.C (Converter, readFlags): add xml member.
3296         * outputparams.h: add XML flavor.
3297         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3298
3299 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3300
3301         * lyxfunc.C (dispatch):
3302         (getStatus): fix handling of LFUN_SEQUENCE
3303
3304 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3305
3306         * debug.C (showLevel): do not forget the end-of-line marker
3307
3308 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3309
3310         * kbmap.C (read): do not stop parsing a bind file when an error
3311         occurs (bug 1575)
3312
3313 2004-04-29  Angus Leeming  <leeming@lyx.org>
3314
3315         * cursor.C:
3316         * factory.C:
3317         * pariterator.C:
3318         * text2.C: wrap a bunch of #warning statements
3319         inside #ifdef WITH_WARNINGS blocks.
3320
3321 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3322
3323         * buffer.C: increment format to 233.
3324
3325 2004-04-28  Angus Leeming  <leeming@lyx.org>
3326
3327         * BufferView_pimpl.C:
3328         * lyxfunc.C:
3329         * text3.C:
3330         s/updateToolbar()/updateToolbars()/
3331         s/Toolbar.h/Toolbars.h/
3332
3333 2004-04-28  Angus Leeming  <leeming@lyx.org>
3334
3335         * BufferView.[Ch] (c-tor):
3336         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3337         No longer passes these data to the WorkArea generator.
3338
3339 2004-04-28  Angus Leeming  <leeming@lyx.org>
3340
3341         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3342
3343 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3344
3345         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3346
3347 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3348
3349         * output_latex.C (TeXEnvironment): make sure that there is a line
3350         break before \end{foo} for the last paragraph of a document
3351         (TeXOnePar): if the paragraph is at the end of the document (or
3352         inset) and the language has to be reset, then make sure that the
3353         line break is _before_ the language command, not after (fixes bug
3354         1225); also make sure that the language reset command is the first
3355         thing after the paragraph (to ensure proper nesting of
3356         environments and thus fix bug 1404)
3357
3358 2004-04-21  John Levon  <levon@movementarian.org>
3359
3360         * ToolbarBackend.h:
3361         * ToolbarBackend.C: make "name" be a programmatic name
3362         and a gui_name field.
3363
3364         * lyxfunc.C: display the minibuffer on M-x
3365
3366 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3367
3368         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3369         (bug 1526)
3370
3371 2004-04-19  Angus Leeming  <leeming@lyx.org>
3372
3373         * BufferView_pimpl.C (setBuffer): changed preview interface.
3374
3375         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3376         possible values.
3377
3378 2004-04-19  John Levon  <levon@movementarian.org>
3379
3380         * BufferView_pimpl.C:
3381         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3382
3383 2004-04-05  Angus Leeming  <leeming@lyx.org>
3384
3385         * text.C (redoParagraphs): add call to updateCounters(), thereby
3386         fixing the missing "Figure #:" label from the caption of a
3387         figure float.
3388
3389 2004-04-13  Angus Leeming  <leeming@lyx.org>
3390
3391         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3392         cursor is clicked out of an inset.
3393
3394 2004-04-13  Angus Leeming  <leeming@lyx.org>
3395
3396         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3397         than an InsetOld one.
3398
3399 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3400
3401         * format.[Ch]: add editor to Format
3402         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3403         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3404
3405 2004-04-08  André Pönitz  <poenitz@gmx.net>
3406
3407         * metricsinfo.h: remove PainterInfo::width member
3408
3409 2004-04-08  Angus Leeming  <leeming@lyx.org>
3410
3411         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3412         "\providecommand" rather than "\newcommand", thereby preventing
3413         clashes with packages that define "\boldsymbol" themselves.
3414         Eg, beamer.
3415
3416 2004-04-08  Angus Leeming  <leeming@lyx.org>
3417
3418         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3419         thereby squashing an unnecessary warning.
3420
3421 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3422
3423         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3424         setBuffer()
3425
3426 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3427
3428         * BufferView.C (setCursor): call redoParagraph (some insets could
3429         have been opened)
3430         (putSelectionAt): remove the 'double update' trick
3431
3432         * BufferView_pimpl.C (fitCursor): call refreshPar
3433         (workAreaDispatch): remove an uneeded update call
3434         (dispatch): remove some manual update calls
3435
3436         * cursor.[Ch]: remove cached_y_, updatePos
3437         (selHandle): set noUpdate when appropriate
3438
3439         * lyxfunc.C (dispatch): track if we need an update
3440
3441         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3442
3443         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3444         (paintSelection): cheap optimization, do not call cursorX when not
3445         needed
3446         (paintPars): change signature
3447         (refreshPar): add
3448         (paintText): adjust
3449         (paintTextInset): adjust
3450
3451         * text.C: adjust
3452
3453 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3454
3455         * lengthcommon.C: compilation fix: remove explicit array size from
3456         unit_name[] and friends
3457
3458 2004-04-05  Angus Leeming  <leeming@lyx.org>
3459
3460         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3461
3462         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3463         present only for the preferences dialog.
3464         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3465
3466 2004-04-05  Angus Leeming  <leeming@lyx.org>
3467
3468         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3469         to enable the frontends to export changes to lyxrc correctly.
3470
3471         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3472
3473 2004-04-07  André Pönitz  <poenitz@gmx.net>
3474
3475         * cursor.[Ch] (selClear, adjust): remove math
3476
3477         * cursor_slice.C: more agressive assert
3478
3479         * lyxfunc.C:
3480         * BufferView_pimpl.C: rework mouse event dispatch
3481
3482         * dociterator.C:
3483         * paragraph.C:
3484         * text2.C:
3485         * text3.C: adjust
3486
3487 2004-04-05  André Pönitz  <poenitz@gmx.net>
3488
3489         * cursor.[Ch] (valign, halign...): remove unneeded functions
3490
3491 2004-04-05  Angus Leeming  <leeming@lyx.org>
3492
3493         * lyxlength.[Ch] (unit_name et al.): const-correct.
3494
3495 2004-04-05  Angus Leeming  <leeming@lyx.org>
3496
3497         * BufferView_pimpl.C:
3498         * buffer.C:
3499         * counters.C:
3500         * cursor.C:
3501         * lyxfunc.C
3502         * paragraph.C:
3503         * pariterator.C:
3504         * text.C:
3505         * text2.C:
3506         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3507
3508 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3509
3510         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3511
3512 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3513
3514         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3515         * BufferView_pimpl.[Ch] (getStatus)
3516         * BufferView.[Ch] (getStatus): add
3517         * lyxfunc.C (getStatus): move lfuns handled in
3518         BufferView::dispatch to te function above
3519         * Cursor.C (setSelection): set selection() = true
3520
3521 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3522
3523         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3524
3525 2004-03-31  Angus Leeming  <leeming@lyx.org>
3526
3527         * lyxfunc.C (dispatch): Fall through to the generic
3528         Dialogs::show("preamble").
3529
3530 2004-03-31  Angus Leeming  <leeming@lyx.org>
3531
3532         * lyxfunc.C (dispatch): Fall through to the generic
3533         Dialogs::show("spellchecker").
3534
3535 2004-03-31  Angus Leeming  <leeming@lyx.org>
3536
3537         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3538         preferences dialog.
3539
3540 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3541
3542         * BufferView.C
3543         * cursor.[Ch]
3544         * dociterator.[Ch]:
3545         * insetiterator.[Ch]:
3546         * lyxfind.C:
3547         * lyxfunc.C:
3548         * pariterator.[Ch]:
3549         * text2.C:
3550         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3551
3552 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3553
3554         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3555         insets where we are putting the cursor.
3556
3557 2004-03-31  Angus Leeming  <leeming@lyx.org>
3558
3559         * lfuns.h:
3560         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3561
3562         * lyxrc.[Ch] (read, write): overloaded member functions taking
3563         a std::[io]stream arguments.
3564
3565         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3566
3567 2004-03-31  Angus Leeming  <leeming@lyx.org>
3568
3569         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3570         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3571
3572         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3573         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3574
3575 2004-03-31  Angus Leeming  <leeming@lyx.org>
3576
3577         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3578         the LFUN_ALL_INSETS_TOGGLE code.
3579
3580 2004-03-30  Angus Leeming  <leeming@lyx.org>
3581
3582         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3583         has died. Fall through to the generic Dialogs::show("document").
3584
3585 2004-03-30  Angus Leeming  <leeming@lyx.org>
3586
3587         * lfuns.h:
3588         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3589         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3590
3591         * lyxfunc.C (getStatus, dispatch): define the actions for these
3592         lfuns. Little more than a cut and pste job from ControlDocument.C
3593
3594         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3595
3596 2004-03-30  Angus Leeming  <leeming@lyx.org>
3597
3598         * lfuns.h:
3599         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3600         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3601
3602         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3603         open/closed state of ollapsable insets. Usage:
3604
3605         all-inset-toggle <state> <name>, where
3606         <state> == "open" || "closed" || "toggle" and
3607         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3608
3609         * lyxtext.h, text2.C (toggleInset): removed.
3610
3611         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3612         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3613         now passes LFUN_INSET_TOGGLE to the found inset.
3614
3615         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3616         is now invoked as "all-insets-toggle toggle branch".
3617
3618 2004-03-30  Angus Leeming  <leeming@lyx.org>
3619
3620         * dociterator.C:
3621         * insetiterator.C:
3622         * pariterator.[Ch]: added/corrected header blurb.
3623
3624 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3625
3626         * dociterator.[Ch]: add an inset_ member
3627         (backwardPos): implemented
3628         (backwardPos, forwardPos): use inset_ when the stack is empty.
3629         (doc_iterator_begin, doc_iterator_end): implemented
3630         * pariterator.[Ch]: adjust, add begin, end
3631         * insetiterator.[Ch]: adjust, add begin, end
3632         * cursor.C:
3633         * document.C:
3634         * BufferView.C:
3635         * BufferView_pimpl.C:
3636         * CutAndPaste.C: adjust
3637
3638 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3639
3640         * buffer.C: increment file format to 232.
3641         * LaTeXFeatures.C: add bibtopic package.
3642         * bufferparams.[Ch]: param \use_bibtopic.
3643
3644         * lyxrc.[Ch]: add lyxrc bibtex_command
3645         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3646
3647         * buffer.C: increment file format to 231.
3648
3649 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3650
3651         * dociterator.C: implement forwardPar
3652         * iterators.[Ch]: remove, replaced by
3653         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3654         * BufferView.C:
3655         * BufferView_pimpl.C:
3656         * CutAndPaste.C:
3657         * buffer.C:
3658         * bufferview_funcs.C:
3659         * cursor.C:
3660         * lyxfind.C
3661         * lyxfunc.C
3662         * paragraph_funcs.C
3663         * toc.C:
3664         * Makefile.am: adjust
3665
3666 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3667
3668         * CutAndPaste.C (pasteSelection): fix 2 crashes
3669         (eraseSelection): fix a crash
3670         * paragraph_funcs.C: remove a warning
3671
3672 2004-03-28  Angus Leeming  <leeming@lyx.org>
3673
3674         * lfuns.h:
3675         * LyXAction.C (init): new LFUN_PRINT.
3676
3677         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3678
3679 2004-03-27  Angus Leeming  <leeming@lyx.org>
3680
3681         * lfuns.h:
3682         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3683
3684         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3685
3686 2004-03-27  Angus Leeming  <leeming@lyx.org>
3687
3688         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3689         insetlist always contains non-null pointers to insets.
3690
3691 2004-03-26  Angus Leeming  <leeming@lyx.org>
3692
3693         * src/BufferView_pimpl.C:
3694         * src/CutAndPaste.C:
3695         * src/buffer.C:
3696         * src/iterators.C:
3697         * src/output_plaintext.C:
3698         * src/outputparams.h:
3699         * src/paragraph_funcs.C:
3700         * src/rowpainter.C:
3701         * src/text.C:
3702         * src/text2.C:
3703         * src/frontends/controllers/ControlErrorList.C:
3704         * src/frontends/gtk/FileDialogPrivate.C:
3705         * src/frontends/gtk/GPainter.C:
3706         * src/frontends/gtk/GToolbar.C:
3707         * src/frontends/qt2/QRef.C:
3708         * src/mathed/math_scriptinset.C: squash compiler warnings.
3709
3710 2004-03-26  Angus Leeming  <leeming@lyx.org>
3711
3712         * ispell.C (LaunchIspell::start):
3713         * lyx_cb.C (AutoSaveBuffer::start):
3714         invoke run(DontWait) rather than runNonBlocking().
3715
3716 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3717
3718         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3719
3720 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3721
3722         * kbsequence.C (print): adjust
3723
3724         * kbmap.C (printKeySym): rename and change signature
3725         (printKey): use LyXKeySym::print()
3726
3727 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3728
3729         * undo.C: add using std::advance to compile for stlport
3730
3731 2004-03-24  Angus Leeming  <leeming@lyx.org>
3732
3733         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3734         it leads to a crash when no buffer is present.
3735
3736 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3737             Martin Vermeer  <martin.vermeer@hut.fi>
3738
3739         * lyxfunc.C (dispatch):
3740         * bufferparams.C (readToken): use the new LColor::setColor
3741
3742         * LColor.[Ch] (setColor): new version that takes two strings as
3743         argument and creates a new color entry if necessary
3744
3745 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3746
3747         * buffer.C (makeLaTeXFile): if the main latex file that is
3748         processed is usually a subdocument of some master, then pretend
3749         for a while that it is actually the master
3750
3751 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3752
3753         * buffer.C (getLabelList):
3754         (getBibkeyList): use getMasterBuffer()
3755         (getMasterBuffer): new method. Returns the main document in the
3756         case where one is using included documents.
3757
3758 2004-03-25  André Pönitz  <poenitz@gmx.net>
3759
3760         * Makefile.am:
3761         * iterators.[Ch]:
3762         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3763
3764         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3765
3766         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3767         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3768
3769         * ParameterStruct.h: merge with ParagraphParameters
3770
3771         * lyxtext.h: remove LyXText::parOffset() and getPar()
3772
3773         * text3.C: Remove all 'manual' update calls. We do now one per user
3774         interaction which is completely sufficient.
3775
3776         * Bidi.C:
3777         * BufferView.[Ch]:
3778         * BufferView_pimpl.C:
3779         * FontIterator.[Ch]:
3780         * MenuBackend.C:
3781         * ParagraphParameters.[Ch]:
3782         * buffer.C:
3783         * buffer.h:
3784         * bufferlist.C:
3785         * cursor.[Ch]:
3786         * cursor_slice.[Ch]:
3787         * dociterator.[Ch]:
3788         * errorlist.[Ch]:
3789         * factory.C:
3790         * lfuns.h:
3791         * lyxfind.C:
3792         * lyxfunc.C:
3793         * output_docbook.[Ch]:
3794         * output_latex.[Ch]:
3795         * output_linuxdoc.[Ch]:
3796         * output_plaintext.[Ch]:
3797         * paragraph.[Ch]:
3798         * paragraph_funcs.[Ch]:
3799         * paragraph_pimpl.[Ch]:
3800         * rowpainter.C:
3801         * tabular.[Ch]:
3802         * text.C:
3803         * text2.C:
3804         * toc.C:
3805         * undo.[Ch]: adjust
3806
3807         * frontends/controllers/ControlDocument.C:
3808         * frontends/controllers/ControlErrorList.C:
3809         * frontends/controllers/ControlSpellchecker.C:
3810         * insets/inset.C:
3811         * insets/inset.h:
3812         * insets/insetbase.h:
3813         * insets/insetbibitem.C:
3814         * insets/insetbox.C:
3815         * insets/insetbranch.C:
3816         * insets/insetcaption.C:
3817         * insets/insetcharstyle.C:
3818         * insets/insetcharstyle.h:
3819         * insets/insetcollapsable.C:
3820         * insets/insetcollapsable.h:
3821         * insets/insetert.C:
3822         * insets/insetfloat.C:
3823         * insets/insetfoot.C:
3824         * insets/insetmarginal.C:
3825         * insets/insetnote.C:
3826         * insets/insetoptarg.C:
3827         * insets/insettabular.C:
3828         * insets/insettext.C:
3829         * insets/insettext.h:
3830         * insets/insetwrap.C:
3831         * mathed/math_mboxinset.C:
3832         * mathed/math_nestinset.C:
3833         * mathed/math_scriptinset.C:
3834         * mathed/math_scriptinset.h:
3835         * support/types.h:
3836
3837 2004-03-24  Angus Leeming  <leeming@lyx.org>
3838
3839         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3840         deal with any child processes that have finished but are waiting to
3841         communicate this fact to the rest of LyX.
3842
3843 2004-03-24  Angus Leeming  <leeming@lyx.org>
3844
3845         64-bit compile fixes.
3846
3847         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3848         (c-tor): pass lyx::pos_types rather than ints.
3849
3850         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3851         lyx::pos_type.
3852
3853         * text.C (Delete): compile fix.
3854         (getPar): ensure that function declaration is the same as that in
3855         the header file.
3856
3857 2004-03-23  Angus Leeming  <leeming@lyx.org>
3858
3859         * ispell.C (LaunchIspell):
3860         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3861         a boost::shred_ptr rather than a std::auto_ptr.
3862
3863 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3864
3865         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3866         handle LFUN_FILE_INSERT_*
3867
3868         * lyxrc.C (setDefaults, getDescription, output, read):
3869         * lyxrc.h: remove ps_command
3870
3871 2004-03-22  Angus Leeming  <leeming@lyx.org>
3872
3873         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3874         Ensure that error_handler is processed once only and that all data
3875         is saved before attempting to output any warning messages.
3876
3877         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3878
3879 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3880
3881         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3882
3883 2004-03-19  André Pönitz  <poenitz@gmx.net>
3884
3885         * cursor.[Ch] (reset): take main text inset as argument
3886
3887         * BufferView: adjust
3888         * BufferView_pimpl.C: adjust
3889
3890         * paragraph.[Ch]: fix completely broken operator=()
3891
3892 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3893
3894         * LColor.C (getFromLyXName): make sure that the color name is used
3895         as lowercase.
3896
3897 2004-03-17  Angus Leeming  <leeming@lyx.org>
3898
3899         * lfuns.h:
3900         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3901
3902         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3903         dialog and to kill a forked process.
3904
3905 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3906
3907         * text2.C (setCursorFromCoordinates): fix font problem
3908
3909 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3910
3911         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3912         bogus "rebuild cursor" code
3913
3914 2004-03-11  André Pönitz  <poenitz@gmx.net>
3915
3916         * buffer.[Ch]: use InsetText instead of LyXText as container for
3917         the main lyx text.
3918
3919         * dociterator.[Ch]: drop the BufferView * member which is not needed
3920         anymore after the change to buffer.C
3921
3922         * paragraph_funcs.C:
3923         * text.C:
3924         * text2.C:
3925         * BufferView.[Ch]:
3926         * BufferView_pimpl.[Ch]:
3927         * cursor.[Ch]:
3928         * cursor_slice.[Ch]: adjust
3929
3930         * text3.C: fix bug in mathDispatch
3931
3932 2004-03-08  André Pönitz  <poenitz@gmx.net>
3933
3934         * undo.[Ch]: use 'StableDocumentIterator' as base for
3935         the Undo struct.
3936
3937 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3938
3939         * LaTeXFeatures.C:
3940         * bufferparams.[Ch]: add jurabib support and param.
3941
3942         * LaTeX.C: add FIXME/comment.
3943
3944 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3945
3946         * buffer.C: increment file format to 230.
3947
3948 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3949
3950         * cursor.C (dispatch): avoid infinite loops
3951
3952 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3953
3954         * rowpainter.C (paintSelection): fix x coordinates
3955
3956 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3957
3958         * text.C (rowBreakPoint): fix breaking before displayed insets
3959
3960 2004-03-01  André Pönitz  <poenitz@gmx.net>
3961
3962         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3963
3964         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3965
3966         * Makefile.am:
3967         * BufferView.C:
3968         * BufferView_pimpl.C:
3969         * buffer.C:
3970         * lyxfind.C:
3971         * lyxfunc.C:
3972         * text.C:
3973         * text2.C:
3974         * text3.C: adjust
3975
3976 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3977
3978         * lyxtext.h:
3979         * text.C:
3980         * text2.C:
3981         * rowpainter.C:
3982         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3983         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3984
3985 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3986
3987         * Bidi.[Ch] (computeTables): const correctness
3988         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3989         fill_hfill, fill_label_hfill and x from Row
3990         * lyxtext.h: prepareToPrint returns a RowMetrics
3991         * rowPainter.C: adjust
3992         * text.C (prepareToPrint): use width, not textWidth. adjust
3993         (redoParagraphInternal, cursorX): adjust
3994         * text2.C (getColumnNearX): adjust
3995         (init): put a default value to the top LyXText::width
3996
3997 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3998
3999         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
4000
4001 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
4002
4003         * lyxtext.h: add FontIterator class
4004
4005         * text.C (FontIterator, operator*, operator->, operator++): add
4006         (rowBreakPoint, setRowWidth): adjust (fixing a
4007         rebreaking bug)
4008
4009 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4010
4011         * BufferView_pimpl.C (workAreaDispatch): allow also
4012         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
4013
4014 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
4015
4016         * text.C (rowBreakPoint): fix a bug showing with very large insets
4017
4018 2004-02-25  André Pönitz  <poenitz@gmx.net>
4019
4020         * text3.C:
4021         * cursor.[Ch]: move some mathed specific code to mathed
4022
4023 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4024
4025         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4026         use_tempdir in preferences
4027         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4028         tempfile creation
4029         * lyx_main.C: ensure that tempdir is valid
4030         * lyxlex.h: correct typo
4031         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4032         * paragraph.[Ch] (isMultiLingual): make const
4033         * cursor.[Ch] (openable): make const
4034
4035 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4036
4037         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4038
4039 2004-02-20  André Pönitz  <poenitz@gmx.net>
4040
4041         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4042
4043         * cursor.[Ch]: prepare for localized getStatus()
4044
4045         * lyxtext.h:
4046         * tabular.C:
4047         * text.C:
4048         * text2.C:
4049         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4050
4051 2004-02-20  André Pönitz  <poenitz@gmx.net>
4052
4053         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4054
4055 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4056
4057         * text2.C (setCursorFromCoordinates): switch to absolute coords
4058         (cursorUp): adjust
4059         (cursorDown): adjust
4060         * text3.C (dispatch): adjust
4061
4062 2004-02-16  André Pönitz  <poenitz@gmx.net>
4063
4064         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4065           insets/ChangeLog)
4066
4067         * cursor_slice.[Ch]: remove unneeded acessor function
4068
4069         * lyxtext.h: rename rtl() to isRTL()
4070
4071         * rowpainter.C:
4072         * tabular.C:
4073         * text.C:
4074         * text2.C:
4075         * text3.C: adjust
4076
4077 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4078
4079         * rowpainter.C (paintSelection): coord fix
4080
4081 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4082
4083         * Spacing.C: compile fix
4084
4085 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4086
4087         * cursor.C (dispatch): restore current_ before returning
4088
4089 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4090
4091         * text2.C (cursorUp, cursorDown): fix coords
4092         (moveUp): fix crash
4093
4094 2004-02-12  André Pönitz  <poenitz@gmx.net>
4095
4096         * lyxtext.h:
4097         * text.C:
4098         * text2.C:
4099         * text3.C: add LCursor & parameter to most cursor movement functions
4100           remove usage of LyXText::cursorRow() and cursorPar()
4101
4102         * cursor.[Ch]: add textRow() needed members
4103
4104         * BufferView.C:
4105         * BufferView_pimpl.C:
4106         * paragraph.[Ch]:
4107         * BufferView.C:
4108         * BufferView_pimpl.C: adjust
4109
4110 2004-02-11  André Pönitz  <poenitz@gmx.net>
4111
4112         * lyxfunc.C:
4113         * BufferView.[Ch]:
4114         * BufferView_pimpl.C: shift undo/redo handling
4115
4116         * cursor.[Ch]: fix mathed crash
4117
4118         * lyxfind.C:
4119         * lyxtext.h: move selectionAsText to LCursor
4120
4121         * output_latex.C:
4122         * paragraph.C:
4123         * text.C:
4124         * text2.C:
4125         * text3.C: adjust
4126
4127         * rowpainter.C: fix excessive drawing
4128
4129 2004-02-06  André Pönitz  <poenitz@gmx.net>
4130
4131         * BufferView.[Ch]:
4132         * BufferView_pimpl.[Ch]:
4133         * text3.C: move some text specific LFUN handling
4134
4135 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4136
4137         * text3.C (checkInsetHit): adjust coords
4138         * text2.C (getColumnNearX): adjust coords
4139         (edit): adjust coords
4140         * text.C (getRowNearY): add two asserts
4141
4142 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4143
4144         * converter.C:
4145         * format.C: add using std::distance to compile on gcc 2.95/stlport
4146
4147 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4148
4149         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4150
4151 2004-02-04  André Pönitz  <poenitz@gmx.net>
4152
4153         * BufferView.[Ch] (insertInset):
4154         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4155
4156         * text2.C:
4157         * text3.C: adjust
4158
4159 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4160
4161         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4162         on the default clause of the switch
4163         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4164         wasn't catched by LCursor::dispatch
4165
4166 2004-02-03  André Pönitz  <poenitz@gmx.net>
4167
4168         * BufferView.C:
4169         * cursor.[Ch]: some additional asserts
4170
4171         * undo.[Ch]: remove LyXText dependency in interface
4172
4173         * lyxfunc.C: adjust
4174
4175         * lyxtext.h (firstPar, lastPar): remove dead functions
4176
4177         * text.C:
4178         * text2.C:
4179         * text3.C:
4180         * paragraph.[Ch]: adjust
4181
4182 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4183
4184         * lyxfind.C (find): fix argument order in call to ::find
4185
4186 2004-02-02  André Pönitz  <poenitz@gmx.net>
4187
4188         * cursor.[Ch]: remove direct access to anchor
4189
4190         * text.C: remove findText() hack
4191
4192 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4193
4194         * iterators.[Ch] (lockPath): remove in favour of...
4195         * BufferView.[Ch] (setCursor): this addition
4196         * BufferView.C (putSelectionAt): adjust
4197         * undo.C (performUndoOrRedo): adjust
4198         * lyxfunc.C (dispatch): adjust
4199
4200 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4201
4202         * iterators.C (lockPath): add a missing slice
4203         * undo.C (performUndoOrRedo): remove redundant positioning code
4204
4205 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * vc-backend.C (scanMaster): ";" -> ';'
4208
4209 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4210
4211         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4212         std::binary_function
4213
4214         * lyxtextclass.C (compare_name): rename to...
4215         (LayoutNamesEqual): ...this
4216
4217         * lyxlex_pimpl.C (compare_tags): inherit from
4218         std::binary_function, put back into anon namespace
4219
4220         * lyxfind.C (MatchString): inherig from std::binary_function
4221         (findChange): use empty() istead of !size()
4222
4223         * format.C (FormatNamesEqual): new functor
4224         (getFormat): use it
4225         (getNumber): use it
4226         (add): use it
4227         (erase): use it
4228         (setViewer): use it
4229
4230         * converter.C (compare_Converter): rename to...
4231         (ConverterEqual): ...this, and fixup a bit.
4232         (getConverter): use it, and make function const
4233         (getNumber): use it, and make function const
4234         (add): use it
4235         (erase): use it:
4236
4237         * bufferlist.C: add using boost::bind
4238
4239         * MenuBackend.C (MenuNamesEqual): new functor
4240         (hasMenu): use it, and make function const
4241         (hasSubmenu): use nested bind to get rid of compare_memfun.
4242
4243 2004-01-30  André Pönitz  <poenitz@gmx.net>
4244
4245         * BufferView_pimpl.C:
4246         * cursor.C:
4247         * cursor.h:
4248         * cursor_slice.[Ch]:
4249         * lyxfunc.C:
4250         * lyxtext.h:
4251         * paragraph_funcs.C:
4252         * paragraph_funcs.h:
4253         * rowpainter.C:
4254         * text.C:
4255         * text2.C:
4256         * text3.C: move some of the edit(x,y) handling to the insets
4257         some coordinate changes.
4258
4259 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4260
4261         * text.C: add using statements for std::advance and std::distance
4262
4263         * paragraph.C: add using statement for std::distance
4264
4265         * lyxfind.C: add using statement for std::advance
4266
4267         * cursor.C (region): remove std:: from swap
4268         (openable): use nucleus in stead of operator->
4269
4270         * BufferView.C: add using statements for std::distance and std::swap
4271
4272 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4273
4274         * iterators.C: Remove the pimple, move the needed structures to
4275         the header file. Create accessor for the positions stack.
4276         (asPosIterator): remove function
4277
4278         * PosIterator.C (PosIterator): move constructors to top of file
4279         (PosIterator): reimplement the constructor taking a ParIterator in
4280         terms of setFrom.
4281         (setFrom): new function
4282         (operator!=): inline it
4283
4284 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4285
4286         * lyxfind.C (replaceAll): use std::advance
4287
4288         * iterators.h: inherit from std::iterator.
4289
4290         * PosIterator.C (advance, distance): remove
4291         * PosIterator.h: interit from std::iterator.
4292
4293 2004-01-26  André Pönitz  <poenitz@gmx.net>
4294
4295         * BufferView.[Ch]:
4296         * BufferView_pimpl.[Ch]:
4297         * InsetList.[Ch]:
4298         * PosIterator.[Ch]:
4299         * buffer.h:
4300         * bufferview_funcs.C:
4301         * cursor.[Ch]:
4302         * cursor_slice.h:
4303         * factory.[Ch]:
4304         * iterators.[Ch]:
4305         * lyxfind.C:
4306         * lyxfunc.C:
4307         * lyxtext.h:
4308         * output_docbook.C:
4309         * output_latex.C:
4310         * output_linuxdoc.C:
4311         * output_plaintext.C:
4312         * paragraph.[Ch]:
4313         * paragraph_funcs.[Ch]:
4314         * paragraph_pimpl.[Ch]:
4315         * rowpainter.C:
4316         * tabular.C:
4317         * tabular.h:
4318         * text.C:
4319         * text2.C:
4320         * text3.C: more IU:  dumps most of the rest of the mathcursor
4321     implementation into cursor.[Ch]; "globalize" a bit of it.
4322
4323 2004-01-25  Angus Leeming  <leeming@lyx.org>
4324
4325         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4326
4327 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4328
4329         * LaTeXFeatures.h: add nice_ and nice() const
4330         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4331
4332 2004-01-20  André Pönitz  <poenitz@gmx.net>
4333
4334         * BufferView.[Ch]:
4335         * BufferView_pimpl.C:
4336         * PosIterator.C:
4337         * bufferview_funcs.C:
4338         * cursor.[Ch]:
4339         * cursor_slice.[Ch]:
4340         * factory.C:
4341         * iterators.C:
4342         * lyx_cb.C:
4343         * lyxfind.C:
4344         * lyxfunc.C:
4345         * lyxtext.h:
4346         * rowpainter.C:
4347         * text.C:
4348         * text2.C:
4349         * text3.C:
4350         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4351           LCursor and mathcursor parts to LCursor and InsetBase.
4352
4353 2004-01-15  André Pönitz  <poenitz@gmx.net>
4354
4355         * cursor_slice.[Ch]: add a few covienience functions
4356
4357         * funcrequest.[Ch]: remove BufferView * member
4358
4359         * BufferView_pimpl.C:
4360         * cursor.C:
4361         * factory.[Ch]:
4362         * lyxfind.[Ch]:
4363         * lyxfunc.C:
4364         * lyxtext.h:
4365         * text3.C:
4366         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4367
4368 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4369
4370         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4371         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4372
4373 2004-01-13  André Pönitz  <poenitz@gmx.net>
4374
4375         * textcursor.[Ch]:
4376         * lyxtext.h: hide cursor and selection anchor behind accessor function
4377
4378         * BufferView.C:
4379         * BufferView_pimpl.[Ch]:
4380         * PosIterator.C:
4381         * bufferview_funcs.C:
4382         * cursor.h:
4383         * lyxfind.C:
4384         * lyxfunc.C:
4385         * text.C:
4386         * text2.C:
4387         * text3.C:
4388         * undo.C: adjust
4389
4390         * cursor.h:
4391         * cursor_slice.[Ch]: some integer type changes for inset unification
4392
4393         * lyxcursor.[hC]: remove, it's CursorSlice now.
4394
4395         * Makefile.am:
4396         * BufferView_pimpl.[Ch]:
4397         * bufferview_funcs.C:
4398         * cursor_slice.C:
4399         * lyxtext.h:
4400         * text.C:
4401         * text2.C:
4402         * text3.C:
4403         * textcursor.[Ch]: adjust
4404
4405 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4406
4407         * text2.C (undoSpan): add and use
4408         * text.C (breakParagraph): use undoSpan (fix bug 578)
4409         * lyxtext.h: adjust
4410
4411 2004-01-08  Angus Leeming  <leeming@lyx.org>
4412
4413         * BufferView_pimpl.C (MenuInsertLyXFile):
4414         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4415         * lyxfunc.C (menuNew, open, doImport):
4416         FileFilterList change to the FileDialog open and save functions.
4417
4418 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4419
4420         * ShareContainer.h: make isEqual and isUnique adaptable
4421
4422         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4423
4424 2004-01-07  Angus Leeming  <leeming@lyx.org>
4425
4426         * LyXAction.C:
4427         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4428
4429         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4430
4431         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4432         functions replacing find, replace and replaceAll.
4433
4434         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4435         LFUN_WORDFIND(FORWARD|BACKWARD).
4436
4437 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4438
4439         * text.C (breakParagraph): remove an outdated #warning
4440
4441 2004-01-07  André Pönitz  <poenitz@gmx.net>
4442
4443         * lyxfind.C: somewhat clearer logic
4444
4445         * text.C: prevent crash in cursorX on unitialized row cache
4446
4447 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4448
4449         * lyxcursor.[Ch] (operator>): add
4450         * textcursor.C (selStart, selEnd): use std::min and std::max
4451
4452 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4453
4454         * Chktex.C: include boost/format.hpp
4455
4456 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4457
4458         * InsetList.C: replace functor MathcIt with adaptable functor
4459         InsetTablePosLess
4460         (insetIterator): modify accordingly
4461
4462         * BranchList.h: move the BranchNamesEqual functor here from...
4463         * BranchList.C: ... to here
4464
4465         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4466         SameName and match.
4467         (add): replace a finding loop with std::find_if.
4468
4469 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4470
4471         * output_docbook.C: moving LatexParam functionality into
4472         .layout files
4473
4474 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4475
4476         * buffer.C: increment format to 229.
4477
4478 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4479
4480         * LaTeXFeatures.C:
4481         * lyx_sty.[Ch]: remove minipageindent_def
4482
4483         * LyXAction.C:
4484         * factory.C:
4485         * lfuns.h:
4486         * lyxfunc.C:
4487         * text3.C: remove LFUN_INSET_MINIPAGE
4488
4489 2003-12-28  Angus Leeming  <leeming@lyx.org>
4490
4491         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4492
4493 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4494
4495         * text2.C (setParagraph): fix off-by-one crash
4496
4497 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4498
4499         * output_docbook.C: header stuff for AGU
4500
4501 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4502
4503         * text2.C (redoCursor): remove
4504         * text.C:
4505         * text3.C:
4506         * BufferView_pimpl.C: remove calls to redoCursor and
4507         setCursor(cursor.par(), cursor.pos()) all around
4508
4509 2003-12-15  Angus Leeming  <leeming@lyx.org>
4510
4511         * buffer.C: up the format to 228.
4512
4513 2003-12-15  André Pönitz  <poenitz@gmx.net>
4514
4515         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4516         slices
4517
4518         * Makefile.am:
4519
4520         * BufferView_pimpl.C:
4521         * cursor.[Ch]:
4522         * lyxcursor.[Ch]:
4523         * rowpainter.[Ch]:
4524         * lyxtext.h:
4525         * text.C:
4526         * text2.C:
4527         * text3.C: adjust
4528
4529 2003-12-15  Angus Leeming  <leeming@lyx.org>
4530
4531         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4532         than getFromGUIName to manipulate the color.
4533
4534 2003-12-14  Angus Leeming  <leeming@lyx.org>
4535
4536         * BranchList.[Ch]: minimize the API.
4537         (Branch::getBranch, getColor): now return a 'const &'.
4538         (Branch::setSelected) now returns a bool set to true if the
4539         selection status changes.
4540         (BranchList::clear, size, getColor, setColor, setSelected,
4541         allBranches, allSelected, separator): removed.
4542         (BranchList::find): new functions, returning the Branch with
4543         the given name.
4544         (BranchList::add, remove): return a bool indicating that
4545         the operation was successful.
4546
4547         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4548         new InsetBranch::isBranchSlected member function.
4549
4550         * LColor.[Ch]: mimimize the API.
4551         (fill): renamed as addColor and made private.
4552         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4553         versions of these functions taking a string arg have been removed.
4554
4555         * bufferparams.C (readToken):
4556         * lyxfunc.C (dispatch):
4557         * lyxrc.C (read): changes due to the altered BranchList and
4558         LColor APIs.
4559
4560         * factory.C (createInset, readInset): changes due to altered
4561         InsetBranch c-tor.
4562
4563 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4564
4565         * factory.C:
4566         * lyxfunc.C: remove insetminipage. "minipage-insert"
4567         now produces a frameless minipage box inset.
4568
4569 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4570
4571         * textcursor.[Ch] (selStart,selEnd): add new methods
4572         remove selection::start, end, use LyXCursor::operator<
4573         * lyxcursor.[Ch] (operator<): add
4574         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4575         * BufferView.[Ch] (unsetXSel): add
4576         * text2.C (clearSelection): use unsetXSel,adjust
4577         * text.C: adjust
4578         * text3.C: adjust
4579         * rowpainter.C: adjust
4580         * bufferview_funcs.C (put_selection_at): adjust
4581
4582 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4583
4584         * BufferView_pimpl.C: small coord. correction
4585
4586 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4587
4588         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4589         dragging over the splash screen.
4590
4591 2003-12-11  Angus Leeming  <leeming@lyx.org>
4592
4593         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4594         as it is now handled in LyXText::dispatch.
4595
4596         * text3.C (doInsertInset): remove a level of nesting.
4597
4598 2003-12-11  Angus Leeming  <leeming@lyx.org>
4599
4600         * factory.C (createInset): changes due to the changed interface to
4601         InsetCommandMailer::string2params.
4602
4603 2003-12-10  Angus Leeming  <leeming@lyx.org>
4604
4605         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4606         'dialog-show-new-inset <inset name>'
4607
4608 2003-12-10  Angus Leeming  <leeming@lyx.org>
4609
4610         * buffer.C: up the format to 227.
4611
4612         * factory.C: the box inset is now identified simply by 'Box'.
4613
4614 2003-12-10  Angus Leeming  <leeming@lyx.org>
4615
4616         * buffer.C: up the format to 226.
4617
4618         * factory.C: the note inset is now identified simply by 'Note'.
4619
4620 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4621
4622         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4623         when a pit is enough. Standarize a couple of loops.
4624
4625 2003-12-05  Angus Leeming  <leeming@lyx.org>
4626
4627         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4628         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4629         data to the re-worked "log" dialog.
4630
4631 2003-12-03  André Pönitz  <poenitz@gmx.net>
4632
4633         * PosIterator.C:
4634         * iterators.C:
4635         * lyxtext.h:
4636         * output_latex.C:
4637         * paragraph_funcs.C:
4638         * text.C:
4639         * text2.C: use Inset::getText instead of Inset::getParagraph
4640
4641 2003-12-03  André Pönitz  <poenitz@gmx.net>
4642
4643         * buffer.[Ch]:
4644         * lyxtext.h:
4645         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4646         InsetText::read() as LyXText::read()
4647
4648 2003-12-02  Angus Leeming  <leeming@lyx.org>
4649
4650         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4651         type. Add a comment in the implementation that the function uses
4652         the stream's bad() function rather than fail() as the std::streams
4653         would do.
4654
4655 2003-12-02  André Pönitz  <poenitz@gmx.net>
4656
4657         * lyxlex.[Ch]: make interface more similar to std::stream
4658
4659         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4660
4661 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4662
4663         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4664
4665 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4666
4667         * vspace.[Ch]: remove VSpace::NONE
4668
4669 2003-12-01  André Pönitz  <poenitz@gmx.net>
4670
4671         * buffer.[Ch]:
4672         * lyxtext.h: move ParagraphList member to LyXText
4673         rename LyXText::ownerParagraphs to LyXText::paragraph
4674
4675         * CutAndPaste.C:
4676         * bufferview_funcs.C:
4677         * iterators.[Ch]:
4678         * lyx_cb.C:
4679         * paragraph.C:
4680         * rowpainter.C:
4681         * tabular.C:
4682         * text.C:
4683         * text2.C:
4684         * text3.C: adjust
4685
4686         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4687
4688         * undo.C: fix cursor positioning
4689
4690 2003-12-01  John Levon  <levon@movementarian.org>
4691
4692         * BufferView_pimpl.C: fix a crash on exit with
4693         a buffer open
4694
4695 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4696
4697         * BranchList.C: fix setSelected() method.
4698
4699 2003-11-28  André Pönitz  <poenitz@gmx.net>
4700
4701         * ParagraphParameters.[Ch]:
4702         * ParameterStruct.h: remove space above/below from Paragraph to
4703          InsetVSpace
4704
4705         * BufferView_pimpl.C:
4706         * factory.C:
4707         * lyxfunc.C:
4708         * lyxtext.h:
4709         * output_latex.C:
4710         * paragraph.C:
4711         * paragraph_funcs.C:
4712         * rowpainter.[Ch]:
4713         * text.C:
4714         * text2.C:
4715         * text3.C: adjust
4716
4717 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4718
4719         * factory.C: Syntax change for CharStyles
4720
4721 2003-11-28  André Pönitz  <poenitz@gmx.net>
4722
4723         * BufferView.[Ch]:
4724         * BufferView.[Ch]:
4725         * buffer.[Ch]:
4726         * buffer.[Ch]: move LyXText member
4727
4728 2003-11-28  André Pönitz  <poenitz@gmx.net>
4729
4730         * BufferView.[Ch]: make LyXText * text a private member
4731
4732         * BufferView_pimpl.C:
4733         * cursor.C:
4734         * iterators.C:
4735         * lyx_cb.C:
4736         * lyxfind.C:
4737         * lyxtext.h:
4738         * rowpainter.[Ch]:
4739         * text.C:
4740         * text2.C:
4741         * undo.C: adjust
4742
4743         * output_plaintext.C: cleanup
4744
4745 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4746
4747         * buffer.C:
4748         * lyxtextclass.[Ch]: parametrize SGML document header
4749
4750 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4751
4752         * converter.[Ch]:
4753         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4754         getFlavor().
4755
4756 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4757
4758         * text2.C (setFont): rework using PosIterator (no more recursive)
4759         (setCharFont): no more needed
4760         (setLayout): no more selection cursors fiddling (done by redoCursor)
4761         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4762         destroy remaining ones)
4763
4764 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4765
4766         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4767         * lyxtext.h: ditto
4768         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4769         selection cursors
4770         * lyxfunc.C: adjust
4771         * text3.C: adjust + re-allow multi par depth changes
4772         * textcursor.C: simplify a bit
4773
4774 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4775
4776         * src/buffer.C:
4777         * src/lyxlayout.C:
4778         * src/lyxlayout.h:
4779         * src/lyxtext.h:
4780         * src/output_docbook.C:
4781         * src/output_latex.C:
4782         * src/paragraph.C:
4783         * src/paragraph.h:
4784         * src/sgml.C:
4785         * src/sgml.h:
4786         * src/text2.C: Introducing a number of tags parametrizing various
4787         XML formats that we may want to support
4788
4789 2003-11-25  André Pönitz  <poenitz@gmx.net>
4790
4791         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4792
4793         * lyxtext.h (leftMargin/rightMargin): simplify interface
4794
4795         * rowpainter.C:
4796         * text.C:
4797         * text2.C:
4798         * text3.C: adjust
4799
4800 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4801
4802         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4803         master file to any child files. Fixes bug 546.
4804
4805 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4806
4807         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4808
4809 2003-11-24  André Pönitz  <poenitz@gmx.net>
4810
4811         * rowpainter.C: simplification
4812
4813         * text2.C (updateCounters): remove call to redoParagraph on
4814         changed labels as this is far too expensive.
4815
4816 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4817
4818         * converter.C (convert): fix a crash: this function gets
4819         called with buffer == 0 from importer code.
4820
4821 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4822
4823         * text3.C (cursorPrevious): make sure that we do not compare
4824         iterators form different containers.
4825         (cursorNext): ditto
4826
4827         * rowpainter.C (paintSelection): make sure that we do not compare
4828         iterators from different containers.
4829
4830         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4831         iterators from different ParagraphList containers.
4832         [NEXT] ditto
4833
4834         * text2.C (LyXText): change order of initialization slightly
4835         (operator=): new function. copy all variables except cache_par_
4836         (moveUp): make sure that we do not compare iterators from
4837         different ParagraphList constainers.
4838         (moveDown): ditto
4839
4840         * text.C (firstPar): new function
4841         (lastPar): new function
4842         (endPar): new function
4843
4844         * lyxtext.h: move things around and group public functions, public
4845         variables, private functions, private variables
4846
4847 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4848
4849         * factory.C: change call to InsetERT constructor to avoid
4850         additional invocation of method status
4851         * text2.C (toggleInset): remove redundant update() call
4852         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4853         instead of a Bufferview pointer
4854
4855 2003-11-21  André Pönitz  <poenitz@gmx.net>
4856
4857         * rowpainter.C: simplification
4858
4859 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4860
4861         * text3.C (dispatch): make possible to extend a word/row selection
4862         with the mouse
4863
4864 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4865
4866         * lyxtext.h: x0_,y0_ -> xo_,yo_
4867         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4868         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4869         * rowpainter.C (paintRows): paint full paragraphs
4870
4871 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4872
4873         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4874         screen coordinates)
4875
4876 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4877
4878         * lyxtext.h: add x0_, y0_
4879         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4880         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4881
4882 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4883
4884         * text2.C (setCursorIntern): move the x_target update here *
4885         * text3.C: change some bv() to true/false in calls to
4886         cursorUp/Down/Right/Left
4887         * cursor.C: use helper function.
4888
4889 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4890
4891         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4892         * paragraph_funcs.[Ch]: correct comment
4893         * rowpainter.C: do not paint selections away from bv->cursor()
4894         Fix a long standing selection painting bug.
4895         * text3.C: generalize mouse-selection code to LyXTexts other that
4896         top one
4897         * textcursor.C: do not use y coords if we can use par offsets
4898
4899 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4900
4901         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4902         cursor position after e.g. inset insert)
4903
4904 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4905
4906         * lyxfind.C (replace): adjust to locking removal + some
4907         code simplification
4908
4909 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4910
4911         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4912         of the path
4913
4914 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4915
4916         * lyxlayout.[Ch]:
4917         * output_docbook.C: XML sanitation: new layout
4918         parameters InnerTag and CommandDepth
4919
4920 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4921
4922         * BufferView_pimpl.C:
4923         * factory.C:
4924         * text3.C: Fix the insertion and modification of button-style
4925         insets
4926
4927 2003-11-13  André Pönitz  <poenitz@gmx.net>
4928
4929         * InsetList.[Ch]: remove deleteLyXText
4930
4931         * paragraph.[Ch]: cache beginOfBody position
4932
4933         * Bidi.C:
4934         * text.C:
4935         * text2.C:
4936         * text3.C: remove superfluous update() calls
4937
4938         * vspace.C: cleanup
4939
4940 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4941
4942         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4943         * BufferView.C (fitLockedInsetCursor): remove
4944         * cursor.[Ch] (getDim): add
4945         * text.C (getRowNearY): add faster version
4946         * text3.C: remove some update calls
4947
4948 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4949
4950         * LaTeXFeatures.C:
4951         * LyXAction.C:
4952         * MenuBackend.C:
4953         * MenuBackend.h:
4954         * dispatchresult.h:
4955         * factory.C:
4956         * lfuns.h:
4957         * lyxfunc.C:
4958         * lyxtextclass.C:
4959         * lyxtextclass.h:
4960         * text3.C: The Character Style /XML short element patch.
4961
4962 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4963
4964         * text3.C:
4965         * factory.C: Small step to solving 'unable to insert some insets'
4966         problem
4967
4968 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4969
4970         * cursor.[Ch] (updatePos): new function for updating the y
4971         position of the tip inset
4972         * bufferview_funcs.C (put_selection_at):
4973         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4974
4975 2003-11-11  André Pönitz  <poenitz@gmx.net>
4976
4977         * text.C: remove big comment on invalid Paragraph pointers as it is
4978         not valid anymore
4979
4980 2003-11-11  André Pönitz  <poenitz@gmx.net>
4981
4982         * text_funcs.[Ch]: merge with ...
4983
4984         * text.C: ... this
4985
4986         * lyxtext.h:
4987         * text2.C:
4988         * text3.C: adjust
4989
4990         * Makefile.am: remove text_funcs.[Ch]
4991
4992 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4993
4994         * cursor.C (getPos): return absolute cached y coord
4995
4996         * BufferView_pimpl.C (fitCursor): new simplistic code
4997         (workAreaDispatch): add a fitCursor call
4998
4999 2003-11-10  André Pönitz  <poenitz@gmx.net>
5000
5001         * BufferView.[Ch]:
5002         * BufferView_pimpl.[Ch]: merge update() and updateInset()
5003
5004 2003-11-10  André Pönitz  <poenitz@gmx.net>
5005
5006         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
5007         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
5008         indicate that the cursor needs to leave an inset
5009
5010         * lyxtext.h: remove inset locking
5011
5012         * cursor.[Ch]: re-implement functionality provided by inset locking
5013
5014         * BufferView.[Ch]:
5015         * BufferView_pimpl.[Ch]:
5016         * LyXAction.C:
5017         * bufferview_funcs.[Ch]:
5018         * factory.C:
5019         * funcrequest.[Ch]:
5020         * iterators.C:
5021         * lyx_cb.C:
5022         * lyxfind.C:
5023         * lyxfunc.C:
5024         * text.C:
5025         * text2.C:
5026         * text3.C:
5027         * undo.C: adjust
5028
5029 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5030
5031         * PosIterator.[Ch]: replace the stack with a vector, add inset
5032         accesor
5033         * iterators.[C]: adjust
5034
5035 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5036
5037         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5038         replaced
5039         * paragraph_funcs.C (readParToken): put the correct id in the
5040         error item, not the id of the top paragraph
5041
5042 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5043
5044         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5045         * bufferview_funcs.C (put_selection_at): use the above
5046
5047 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5048
5049         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5050
5051 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5052
5053         * output_linuxdoc.h:
5054         * output_plaintext.h:
5055         * output.h:
5056         * output_docbook.h: add #include statements
5057
5058 2003-11-05  José Matos  <jamatos@lyx.org>
5059
5060         * output_docbook.[Ch]:
5061         * output_latex.[Ch]:
5062         * output_linuxdoc.[Ch]:
5063         * output_plaintext.[Ch]: New files for output formats.
5064         * output.[Ch]: New file for helper functions.
5065
5066         * buffer.[Ch]:
5067         * paragraph_funcs.[Ch]: output functions moved to new files.
5068
5069         * outputparams.h: rename of latexrunparams.h
5070
5071         * LaTeX.[Ch]:
5072         * buffer.[Ch]:
5073         * bufferlist.[Ch]:
5074         * converter.[Ch]:
5075         * exporter.C:
5076         * paragraph.[Ch]:
5077         * paragraph_funcs.[Ch]:
5078         * paragraph_pimpl.[Ch]:
5079         * tabular.[Ch]: rename ascii to plaintext
5080         and LatexRunParams to OutputParams.
5081
5082 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5083
5084         * iterators.[Ch] (text): require bv argument
5085         * undo.C (recordUndo):
5086         * lyxfunc.C (dispatch):
5087         * bufferview_funcs.C (put_selection_at): adjust
5088
5089 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5090
5091         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5092
5093 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5094
5095         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5096         nestings
5097
5098 2003-11-04  André Pönitz  <poenitz@gmx.net>
5099
5100         * cursor.[Ch]: restructure
5101
5102         * BufferView.[Ch]:
5103         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5104
5105         * iterators.[Ch] (asCursor): remove
5106
5107         * lfuns.h: remove LFUN_INSET_EDIT
5108
5109         * lyxfunc.C:
5110         * tabular.C:
5111         * text.C:
5112         * text2.C:
5113         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5114
5115 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5116
5117         * lyxfind.[Ch]: complete overhaul
5118         * BufferView_pimpl.C:
5119         * lyxfunc.C: adjust
5120         * paragraph.[Ch] (insert): add
5121
5122 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5123
5124         * BufferView.[Ch]:
5125         * lyxtext.h:
5126         * text.C: remove dead spellcheck code
5127
5128 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5129
5130         * dispatchresult.h: add a val setter
5131
5132         * cursor.C (dispatch): use a tempvar for data_[i]
5133
5134 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5135
5136         * PosIterator.[Ch]: compile fix
5137
5138 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5139
5140         * text.C (cursorPar): deactivate the cursor cache
5141
5142 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5143
5144         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5145
5146 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * text3.C (dispatch): adjust for new DisptchResult semantics.
5149
5150         * lyxfunc.C (dispatch): handle update when return from
5151         Cursor::dispatch, adjust for new DispatchResult semantics.
5152
5153         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5154         DispatchResult(true) mean to not update. Add class functions for
5155         setting dispatched and update, as well as reading.
5156
5157         * cursor.C (dispatch): don't handle update here
5158
5159 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5160
5161         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5162         * trans_mgr.C: adjust
5163
5164         * paragraph_funcs.C (readParToken): exception safety
5165
5166         * lyxvc.h: store the vcs pointer in a scoped_ptr
5167         * lyxvc.C: adjust
5168
5169         * lyxsocket.C (serverCallback): exception safety
5170
5171         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5172
5173         * ispell.C (clone): make it return a auto_ptr
5174
5175         * factory.C (createInset): exception safety
5176         (readInset): exception safety
5177
5178         * bufferlist.C (newBuffer): exception safety
5179
5180         * Thesaurus.C (Thesaurus): use initialization for aik_
5181
5182         * MenuBackend.C (expandToc): exception safety.
5183
5184 2003-11-03  André Pönitz  <poenitz@gmx.net>
5185
5186         * buffer.C:
5187         * buffer.h:
5188         * bufferview_funcs.C: remove getInsetFromId()
5189
5190         * lyxcursor.[Ch]:
5191         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5192
5193         * lyxfunc.C:
5194         * text2.C:
5195         * text3.C: adjust
5196
5197 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5198
5199         * PosIterator.C (distance, advance): new
5200         * bufferview_funcs.[Ch] (put_selection_at): new
5201         * iterators.[Ch] (lockPath): new
5202
5203 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5204
5205         * iterators.[Ch] (asPosIterator): added
5206         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5207         * PosIterator.[Ch]: added
5208
5209 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5210
5211         * text3.C:
5212         * lyxfunc.C:
5213         * cursor.C (dispatch):
5214         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5215
5216         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5217         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5218         contructor, add a class function dispatched. Remove operator>=
5219
5220 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5221
5222         * debug.C: only use the default constructor for debugstream
5223         (lyxerr) here.
5224
5225         * main.C (main): include debug.h and setup the lyxerr streambuf
5226         here.
5227
5228 2003-10-31  José Matos  <jamatos@lyx.org>
5229
5230         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5231
5232         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5233         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5234         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5235         * paragraph_pimpl.C (simpleTeXSpecialC):
5236         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5237         add LatexRunParams argument.
5238
5239         * exporter.C (Export): change call accordingly.
5240
5241         * latexrunparams.h: add new member to take care of the other backends.
5242 2003-10-30  José Matos  <jamatos@lyx.org>
5243
5244         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5245         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5246         factorise code for paragraph output.
5247         * buffer.[Ch]:
5248         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5249         move functions.
5250
5251 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5252
5253         * text3.C (dispatch):
5254         * lyxfunc.C (dispatch):
5255         * cursor.C (dispatch):
5256         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5257
5258         * dispatchresult.h: make the dispatch_result_t ctor explicit
5259
5260 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5261
5262         * sgml.[Ch]:
5263         * buffer.C: small refactoring of docbook stuff
5264
5265 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5266
5267         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5268         meaning.
5269
5270 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5271
5272         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5273         operator dispatch_result_t, and operators for == != and >=
5274
5275         * cursor.C (dispatch): adjust for operator dispatch_result_t
5276         removal. comment out call to update
5277
5278         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5279
5280 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * text3.C:
5283         * text2.C:
5284         * text.C:
5285         * lyxtext.h:
5286         * lyxfunc.C:
5287         * cursor.C:
5288         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5289         (dispatch):
5290
5291         * dispatchresult.h: new file, DispatchResult broken out of
5292         insets/insetbase.h
5293
5294         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5295
5296 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5297
5298         * text.C (rowBreakPoint): put a hack inside #if 0
5299
5300 2003-10-28  André Pönitz  <poenitz@gmx.net>
5301
5302         * lyxtext.h:
5303         * metricsinfo.C:
5304         * paragraph_funcs.C:
5305         * rowpainter.C:
5306         * text.C:
5307         * text2.C: general cleanup (lots of small stuff)
5308
5309 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5310
5311         * text2.C (cursorEnd): simple fix to the "end key goes to one
5312         before the end on last row" bug
5313
5314 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5315
5316         * text.C (backspace): fix the "zombie characters"
5317
5318 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5319
5320         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5321
5322 2003-10-27  André Pönitz  <poenitz@gmx.net>
5323
5324         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5325
5326         * factory.C: handle new InsetPagebreak, InsetLine
5327
5328         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5329         and move handling into new InsetPagebreak, InsetLine
5330
5331         * BufferView_pimpl.C:
5332         * LyXAction.C:
5333         * ParagraphParameters.C:
5334         * ParameterStruct.h:
5335         * lyxfunc.C:
5336         * lyxtext.h:
5337         * paragraph.C:
5338         * paragraph.h:
5339         * paragraph_funcs.C:
5340         * paragraph_pimpl.C:
5341         * rowpainter.C:
5342         * text.C:
5343         * text2.C:
5344         * text3.C: adjust
5345
5346 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5347
5348         * text.C:
5349         * lyxrow_funcs.[Ch]:
5350         * Bidi.C:
5351         * paragraph.C:
5352         * lyxtext.h:
5353         * rowpainter.C:
5354         * text2.C:
5355         * text3.C: remove lastPos uses in favour of Row::endpos
5356
5357 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5358
5359         * undo.C (performUndoOrRedo): fix two crashes by setting a
5360         cursor by hand and reordering some calls. Use bv->lockInset instead
5361         of inset->edit because the latter loses cursor information
5362
5363 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5364
5365         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5366         by Martin
5367         (rowBreakPoint): fix width. change point to point + 1.
5368         Add a missing check.
5369
5370 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5371
5372         * MenuBackend.C:
5373         * lyxfunc.C: fix (at least partly) the problems
5374         with the Nav menu and headers inside branch insets
5375         reported by Kayvan
5376
5377 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5378
5379         * paragraph.C (getChar): add strong asserts
5380
5381         * lyxrow_funcs.C (lastPos): remove hideous hack
5382
5383         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5384         (fill): adjust to that (avoid an infinite loop)
5385
5386 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5387
5388         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5389
5390 2003-10-23  André Pönitz  <poenitz@gmx.net>
5391
5392         * RowList_fwd.h: change list<> to vector<> to gain speed
5393         after suggestion from Alfredo
5394
5395 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5396
5397         * lyxtext.h: move the bidi stuff from here...
5398         * text.C: and here
5399         * text2.C: and here
5400         * Bidi.[Ch]: ... to here
5401
5402 2003-10-23  André Pönitz  <poenitz@gmx.net>
5403
5404         * lyxtext.h:
5405         * text.C (isLastRow, isFirstRow): new functions
5406
5407         * paragraph.h: new width cache member
5408
5409         * rowpainter.C: replace RowList::iterator with Row & where possible
5410
5411         * lyxfunc.C: replace several view()->text with a single call
5412
5413         * toc.C: fix 'unused' warning
5414
5415 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5416
5417         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5418         when woring with stream::pos_type
5419         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5420
5421 2003-10-22  André Pönitz  <poenitz@gmx.net>
5422
5423         * lyxtext.h:
5424         * text.C: use Row & instead of RowList::iterator
5425
5426         * lyxrow.h: rename end() to endpos()
5427
5428         * rowpainter.C:
5429         * text.C:
5430         * text2.C: adjust
5431
5432 2003-10-22  Angus Leeming  <leeming@lyx.org>
5433
5434         * buffer.[Ch] (fully_loaded): new member function, returning true
5435         only when the file has been loaded fully.
5436         Used to prevent the premature generation of previews and by the
5437         citation inset to prevent computation of the natbib-style label.
5438
5439         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5440         templates are all set up.
5441
5442         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5443
5444 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5445
5446         * text.C: fixed an "oops" in the "is a bit silly"
5447         bug fix
5448
5449 2003-10-21  André Pönitz  <poenitz@gmx.net>
5450
5451         * FuncStatus.[Ch]: small stuff, whitespace
5452
5453         * lyxfont.[Ch]: operator<<() for debug reasons
5454
5455         * lyxfunc.C:
5456         * lyxrow_funcs.C:
5457         * lyxtext.h: whitespace, spelling
5458
5459         * paragraph.C: naming of variables
5460
5461         * text.C:
5462         * text2.C: small stuff
5463
5464
5465 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5466
5467         * text.C: (1) finish off the inset display() work;
5468         (2) fix the "is a bit silly" bug (accessing char
5469         past end of par).
5470
5471 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5472
5473         * text.C: re-introduce display() for insets, fixing the
5474         various bugs (stretch of line above, math inset
5475         positioning, ...)
5476
5477 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5478
5479         * text.C (rightMargin): remove spurious semicolon
5480
5481         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5482         1415)
5483
5484 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5485
5486         * text3.C: fix one crash due to wrong cursor def
5487
5488 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * vc-backend.C (scanMaster): make the regex static
5491
5492         * LaTeX.C (scanAuxFile): make the regexs static
5493
5494         * text3.C (doInsertInset, dispatch, dispatch):
5495         * text2.C (cursorUp, cursorDown):
5496         * text.C (selectNextWordToSpellcheck):
5497         * BufferView_pimpl.C (dispatch):
5498         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5499
5500 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5501
5502         * lyxsocket.C: include <cerrno>
5503
5504 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5505
5506         * lyxfunc.C (dispatch): remove textcache stuff
5507
5508         * bufferlist.C (release): remove textcache stuff
5509         (closeAll): ditto
5510
5511         * TextCache.C: delete file
5512         * TextCache.h: delete file
5513
5514         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5515
5516         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5517         delete of the bv_->text.
5518         (resizeCurrentBuffer): remove texcache stuff
5519         (workAreaResize): ditto
5520
5521 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5522
5523         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5524         action.
5525
5526 2003-10-16  André Pönitz  <poenitz@gmx.net>
5527
5528         * lyxrow.[Ch]:
5529         * paragraph.h:
5530         * rowpainter.C:
5531         * text.C:
5532         * text2.C:
5533         * text3.C: speed up by storing y positions per paragraph plus per-row
5534         offset instead of having a 'full' y position in the row.
5535
5536 2003-10-15  André Pönitz  <poenitz@gmx.net>
5537
5538         * iterators.[Ch]:
5539         * iterators.[Ch]:
5540         * undo.[Ch]: make undo aware of inner insets
5541
5542 2003-10-14  Angus Leeming  <leeming@lyx.org>
5543
5544         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5545         static member functions LyX::ref() and LyX::cref.
5546         (lastfiles): new accessor functions for the new lastfiles_ member var.
5547         (addLyXView, views_): add a new LyXView to the list of views_.
5548         (updateInset): loop over all LyXViews to call their own updateInset
5549         member function, returning a pointer to the Buffer owning the inset.
5550
5551         * BufferView_pimpl.C (loadLyXFile):
5552         * MenuBackend.C (expandLastfiles):
5553         * bufferlist.C (MenuWrite, QuitLyX):
5554         lastfiles is no longer a global variable.
5555         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5556
5557         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5558         static function. Access through LyX::cref().emergencyCleanup().
5559
5560 2003-10-14  André Pönitz  <poenitz@gmx.net>
5561
5562         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5563
5564         * undo.[Ch]: restoring part of 'undo in insets'
5565
5566         * Makefile.am:
5567         * undo_funcs.[Ch]: merge with undo.[Ch]
5568
5569         * tabular.C: small cleansing stuff
5570
5571 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5572
5573         * paragraph_funcs.C (readParToken): report unknown insets as error
5574         boxes. Use the outer paragraph as location (also for unknown
5575         tokens).
5576
5577         * factory.C (readInset): do not abort on reading an unknown inset.
5578         Eat it and return 0.
5579
5580 2003-10-13  Angus Leeming  <leeming@lyx.org>
5581
5582         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5583
5584         * lyxrc.C: displayTranslator is now a function,
5585         declared in GraphicsTypes.h.
5586
5587 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5588
5589         * format.C: new placeholder $$a to pass the socket address.
5590
5591         * bufferlist.[Ch]: new function getBufferFromTmp.
5592
5593         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5594           files in the temporary dir.
5595
5596 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5597
5598         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5599
5600         * Makefile.am: add lyxsocket.[Ch].
5601
5602         * lyx_main.C (error_handler): handle SIGPIPE.
5603
5604 2003-10-13  André Pönitz  <poenitz@gmx.net>
5605
5606         * BufferView_pimpl.C:
5607         * lyxtext.h:
5608         * text.C:
5609         * text2.C:
5610         * text3.C:
5611         * undo_funcs.[Ch]: use paroffset_type instead of
5612           ParagraphList::iterators to prevent multiple conversion
5613           (and get a more robust interface)
5614
5615 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5616
5617         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5618         * lyxtext.h: ditto
5619         * text3.C (dispatch): ditto
5620
5621 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5622
5623         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5624         move the onlyfile, use onlyfile instead of foundfile in a couple
5625         of places.
5626
5627         * DepTable.C (update): flush the error stream a bit more
5628
5629 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5630
5631         * lyxserver.C (callback): adjust
5632
5633         * lyxfunc.C (getStatus): add a missing brace in commented code
5634         (ensureBufferClean): reindent
5635         (dispatch): delete version taking a string
5636
5637 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5638
5639         * LaTeX.C (deplog): move found file handlig from here...
5640         (handleFoundFile): .. to new function here.
5641         (deplog): make sure to discover several files mentioned on the
5642         same log line.
5643
5644 2003-10-10  André Pönitz  <poenitz@gmx.net>
5645
5646         * lyxfunc.C:
5647         * lyxtext.h:
5648         * tabular.C:
5649         * text.C:
5650         * text2.C:
5651         * text3.C: fix some of the tabular crashes
5652
5653 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5654
5655         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5656
5657         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5658
5659 2003-10-09  André Pönitz  <poenitz@gmx.net>
5660
5661         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5662
5663         * BufferView.C:
5664         * BufferView_pimpl.C:
5665         * bufferview_funcs.C:
5666         * lyx_cb.C:
5667         * lyxcursor.C:
5668         * lyxfind.C:
5669         * lyxfunc.C:
5670         * lyxtext.h:
5671         * text.C:
5672         * text2.C:
5673         * text3.C:
5674         * text_funcs.[Ch]:
5675         * textcursor.[Ch]:
5676         * undo_funcs.C: adjust
5677
5678 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5679
5680         * text2.C (incrementItemDepth): new function, use a backtracking
5681         algorithm to discover the correct item depth.
5682         (resetEnumCounterIfNeeded): new function, use a backtracking
5683         algorithm to discover if counter reset is needed.
5684         (setCounter): use them. Simplify a bit. Add different labels for
5685         different item depths for itemize.
5686
5687         * paragraph.C (Paragraph): remove initialization of enumdepth
5688         (operator=): ditto
5689
5690         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5691         enumerate and itemize. Change the type of itemdepth to signed char.
5692
5693 2003-10-08  André Pönitz  <poenitz@gmx.net>
5694
5695         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5696           thing assignable.
5697         * text.C:
5698         * text2.C: adjust
5699
5700         * tabular.[Ch]: fix crash after 'row-insert'
5701
5702 2003-10-08  Angus Leeming  <leeming@lyx.org>
5703
5704         Fix doxygen warnings.
5705
5706         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5707         Remove CutAndPaste:: prefix from header file declaration.
5708
5709         * LColor.h (fill): remove LColor:: prefix from declaration.
5710
5711         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5712         use lyx::depth_type rather than Paragraph::depth_type so that
5713         header file and .C file match.
5714
5715         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5716
5717         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5718         * aspell.C: \file aspell_local.C -> \file aspell.C
5719         * gettext.C: \file gettext.C -> \file src/gettext.C
5720         * gettext.h: \file gettext.h -> \file src/gettext.h
5721         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5722         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5723         * text.C: \file text.C -> \file src/text.C
5724
5725         * toc.C: move comment so that doxygen is not confused.
5726
5727 2003-10-07  Angus Leeming  <leeming@lyx.org>
5728
5729         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5730
5731 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5732
5733         * aspell.C:
5734         * aspell_local.h: add forgotten std::string's.
5735
5736 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5737
5738         * LaTeXFeatures.C:
5739         * LyXAction.C:
5740         * factory.C:
5741         * lfuns.h:
5742         * lyxfunc.C:
5743         * text3.C: The Box patch. Fancybox support, minipage, parbox
5744
5745 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5746
5747         * CutAndPaste.h:
5748         * DepTable.h:
5749         * FloatList.h:
5750         * LaTeXFeatures.h:
5751         * ParagraphParameters.h:
5752         * TextCache.h:
5753         * Thesaurus.h:
5754         * bufferlist.h:
5755         * exporter.h:
5756         * importer.h:
5757         * lastfiles.h:
5758         * lyxfind.h:
5759         * lyxfont.h:
5760         * lyxlex.h:
5761         * lyxtextclasslist.h:
5762         * messages.h:
5763         * paragraph.h:
5764         * paragraph_pimpl.C:
5765         * textcursor.h: add <string> and other small fixes to make Lars'
5766         std::string patch compile with STLport.
5767
5768 2003-10-06  Angus Leeming  <leeming@lyx.org>
5769
5770         * LColor.h: Add missing #include <string>.
5771
5772 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5773
5774         * All most all file in all subdirs: Make <string> be the prefered
5775         way of getting to std::string, add using declarations.
5776
5777 2003-10-06  André Pönitz  <poenitz@gmx.net>
5778
5779         * metricsinfo.C: initialize LyXFont before changing attribute.
5780         (fixes the 'math in \emph is upright' bug)
5781
5782 2003-10-06  André Pönitz  <poenitz@gmx.net>
5783
5784         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5785
5786 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5787
5788         * graph.C:
5789         * paragraph_pimpl.C: Small fixes to build using STLport
5790
5791 2003-10-02  André Pönitz  <poenitz@gmx.net>
5792
5793         * lyxfunc.C:
5794         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5795
5796 2003-10-01  André Pönitz  <poenitz@gmx.net>
5797
5798         * factory.C: assert early
5799
5800 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5801
5802         * lyx_main.C: remove the global debug object
5803
5804         * debug.h: adjust for new debugstream
5805
5806         * debug.C: adjust for new debugstream and keep the global debug
5807         object here.
5808
5809 2003-09-22  Angus Leeming  <leeming@lyx.org>
5810
5811         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5812         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5813         an incomplete class LyXFont.
5814
5815 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5816
5817         * factory.C: bug fix in branches
5818
5819 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5820
5821         * lyxfunc.C (processKeySym): adjust
5822         (dispatch): adjust
5823         (dispatch): change arg name from ev to func, adjust
5824         (sendDispatchMessage): ditto
5825
5826         * lyx_main.C (defaultKeyBindings): adjust keybindings
5827         (deadKeyBindings): ditto
5828
5829         * kbsequence.C (addkey): return a FuncRequest
5830
5831         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5832
5833         * kbmap.C (bind): take a FuncRequest as arg, adjust
5834         (read): adjust
5835         (lookup): adjust
5836         (defkey): change to take a FuncRequest as arg, adjust
5837         (findbinding): take a FuncRequest as arg, adjust.
5838
5839         * funcrequest.h (operator=): added
5840
5841         * funcrequest.C (FuncRequest): default kb_action changed from
5842         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5843
5844         * buffer.C (dispatch): simplify
5845         (dispatch): adjust to take a FuncRequest as arg, adjust
5846
5847         * boost.C (assertion_failed): change assertion message slightly
5848
5849         * ToolbarBackend.C (read): simplify
5850
5851         * MenuBackend.C (binding): adjust call to findbinding, add a
5852         message if no binding is found.
5853         (read): simplify
5854         (expandToc): correct by adding a empty FuncRequest
5855
5856         * LyXAction.C: include <boost/assert.hpp>
5857         (isPseudoAction): delete function
5858         (LookupFunc): change name to...
5859         (lookupFunc): this. change return type to FuncRequest.
5860         (getActionName): take kb_action as arg, simplify
5861         (funcHasFlag): add an assert, simplify.
5862
5863 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5864
5865         * toc.C (action): return a FuncRequest, simplify
5866
5867         * lyxfunc.C (processKeySym): adjust
5868         (getStatus): delete version that takes an int.
5869         (getStatus): adjust
5870         (dispatch): delete version that takes action as int
5871         (dispatch): adjust
5872         (sendDispatchMessage): simplify and adjust
5873
5874         * funcrequest.C (getArg): take unsigned int as arg
5875
5876         * ToolbarBackend.C (read): adjust
5877         (add): delete version that takes func as a string.
5878         (getIton): take a FuncRequest as arg
5879
5880         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5881         action.
5882
5883         * MenuBackend.C (MenuItem): add a new construct that only takes a
5884         Kind, simplify the constructor use for submenus.
5885         (add): adjust
5886         (expandLastfiles): adjust
5887         (expandDocuments): adjust
5888         (expandFormats): adjust
5889         (expandFloatListInsert): adjust
5890         (expandFloatInsert): adjust
5891         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5892
5893         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5894         Remove class variables lyx_pseudo_map and lyx_arg_map
5895
5896         * LyXAction.C (searchActionArg): delete function
5897         (getPseudoAction): delete function
5898         (retrieveActionArg): delete function
5899         (LookupFunc): make it return kb_action, simplify.
5900         (getActionName): simplify
5901
5902         * factory.C (createInset): fix new bug
5903
5904 2003-09-19  Angus Leeming  <leeming@lyx.org>
5905
5906         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5907         masterFilename_ parameter in the include inset.
5908
5909         * factory.C (createInset): changes due to the changes to InsetInclude.
5910
5911 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5912
5913         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5914
5915 2003-09-18  Angus Leeming  <leeming@lyx.org>
5916
5917         * buffer.C:
5918         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5919         Inset::fillWithBibKeys.
5920         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5921
5922 2003-09-18  Angus Leeming  <leeming@lyx.org>
5923
5924         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5925         variables.
5926         (ctor): pass and store a 'Buffer const &'
5927         (buffer): new member function.
5928
5929         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5930         '*this' to the LaTeXFeatures ctor.
5931
5932 2003-09-18  Angus Leeming  <leeming@lyx.org>
5933
5934         * LColor.h:
5935         * lyxfont.C:
5936         * lyxfont.h:
5937         * lyxtext.h:
5938         * text.C: rename EnumLColor as LColor_color.
5939
5940 2003-09-18  Angus Leeming  <leeming@lyx.org>
5941
5942         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5943         remove #include "insets/insetbase.h" from cursor.h.
5944
5945 2003-09-18  Angus Leeming  <leeming@lyx.org>
5946
5947         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5948         InsetOld_code to remove #include "inset.h".
5949
5950         * iterators.C: add #include "insets/inset.h"
5951
5952 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5953
5954         * BufferView.C: remove more locking stuff that apparently doesn't
5955         do anything sensible.
5956
5957 2003-09-16  André Pönitz  <poenitz@gmx.net>
5958
5959         * paragraph.[Ch]:
5960         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5961           performance boost.
5962
5963 2003-09-16  Angus Leeming  <leeming@lyx.org>
5964
5965         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5966
5967         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5968         arg/return type.
5969
5970         * paragraph.h: remove #include "lyxfont.h". Forward declare
5971         LyXFont_size.
5972
5973 2003-09-16  Angus Leeming  <leeming@lyx.org>
5974
5975         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5976         of support/textutils.h.
5977         (isWord): move the contents of support/textutils.h's IsWordChar here.
5978
5979         * buffer.C:
5980         * lyxfind.C:
5981         * rowpainter.C:
5982         * text.C:
5983         * text2.C: add #include "paragraph.h".
5984
5985         * rowpainter.C:
5986         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5987
5988 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5989
5990         * main.C:
5991         * lyx_main.C:
5992         * lyx_cb.C:
5993         * buffer.C:
5994         * LaTeX.C: use namespace alias for lyx::support::os
5995
5996 2003-09-16  Angus Leeming  <leeming@lyx.org>
5997
5998         * bufferparams.C:
5999         * bufferview_funcs.C:
6000         * factory.C:
6001         * lyxfunc.C:
6002         * paragraph_pimpl.C:
6003         * rowpainter.C:
6004         * text.C: add #include "LColor.h".
6005
6006 2003-09-16  Angus Leeming  <leeming@lyx.org>
6007
6008         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
6009         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
6010         return LyXFont &.
6011         Store the FontBits::color variable as an int rather than as an
6012         LColor::colorso that we can move LColor.h out of the lyxfont.h header
6013         file.
6014
6015         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
6016         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
6017         string calls together.
6018
6019         * lyxrc.C: add #include "LColor.h".
6020
6021 2003-09-15  Angus Leeming  <leeming@lyx.org>
6022
6023         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6024         a cow_ptr.
6025
6026 2003-09-15  Angus Leeming  <leeming@lyx.org>
6027
6028         * LColor.h: add an EnumLColor wrapper for LColor::color.
6029
6030         * lyxfont.[Ch] (color, setColor, realColor):
6031         * lyxtext.h, text.C (backgroundColor):
6032         pass EnumLColor args to/from the functions, rather than LColor::color
6033         ones.
6034
6035         * lyxfont.h:
6036         * lyxtext.h: forward declare EnumLColor.
6037
6038         * lyx_main.C: add #include "LColor.h".
6039
6040 2003-09-15  Angus Leeming  <leeming@lyx.org>
6041
6042         * .cvsignore: add lyx-gtk.
6043
6044 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6045
6046         * Chktex.C
6047         * LaTeX.C
6048         * LaTeXFeatures.C
6049         * ParagraphParameters.C
6050         * Spacing.C
6051         * buffer.C
6052         * bufferparams.C
6053         * bufferview_funcs.C
6054         * chset.C
6055         * counters.C
6056         * funcrequest.C
6057         * lyxfont.C
6058         * lyxgluelength.C
6059         * lyxlength.C
6060         * paragraph.C
6061         * paragraph_funcs.C
6062         * text3.C
6063         * vc-backend.C: remove usage of STRCONV
6064
6065 2003-09-15  Angus Leeming  <leeming@lyx.org>
6066
6067         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6068         explicitly define the color passed to the painter.
6069
6070 2003-09-15  Angus Leeming  <leeming@lyx.org>
6071
6072         * bufferparams.C (BufferParams): reorder member initializers to avoid
6073         compiler warning.
6074
6075 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6076
6077         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6078         * text.C (updateRowPositions): remove an unusual nop
6079
6080 2003-09-12  André Pönitz  <poenitz@gmx.net>
6081
6082         * BufferView_pimpl.C:
6083         * Bullet.C:
6084         * layout.h:
6085         * lyxfunc.C:
6086         * lyxlayout.[Ch]:
6087         * lyxtextclass.C:
6088         * rowpainter.C:
6089         * text.C:
6090         * text2.C:
6091         * Counters.[Ch]: finish the 'automatic counters' job
6092
6093 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6094
6095         * aspell.C: include <boost/assert.cpp> (compile fix)
6096
6097 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6098
6099         * boost.C (assertion_failed): use lyx::support::abort instead of
6100         assert.
6101
6102 2003-09-10  Angus Leeming  <leeming@lyx.org>
6103
6104         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6105         with their _fwd progeny.
6106
6107 2003-09-09  Angus Leeming  <leeming@lyx.org>
6108
6109         134 files throughtout the source tree: replace 'using namespace abc;'
6110         directives with the appropriate 'using abc::xyz;' declarations.
6111
6112 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6113
6114         * boost.C (emergencyCleanup): moved here from LAssert.c
6115         (assertion_failed): new function, called by BOOST_ASSERT
6116
6117         * several files: change Assert to BOOST_ASSERT
6118
6119 2003-09-09  Angus Leeming  <leeming@lyx.org>
6120
6121         * buffer.[Ch]: Add an Impl class and move Buffer's member
6122         variables into it. As a result move several header files out of
6123         buffer.h.
6124
6125         Add header files to lots of .C files all over the tree as a result.
6126
6127 2003-09-09  Angus Leeming  <leeming@lyx.org>
6128
6129         * buffer.[Ch]: make Buffer's member variables private. Add
6130         accessor functions.
6131
6132         Lots of changes all over the tree as a result.
6133
6134 2003-09-08  Angus Leeming  <leeming@lyx.org>
6135
6136         * graph.C: #include <config.h>.
6137
6138 2003-09-08  Angus Leeming  <leeming@lyx.org>
6139
6140         * BranchList.C:
6141         * BufferView.C:
6142         * BufferView_pimpl.C:
6143         * CutAndPaste.C:
6144         * DepTable.C:
6145         * LaTeX.C:
6146         * LaTeXFeatures.C:
6147         * LyXAction.C:
6148         * MenuBackend.C:
6149         * TextCache.C:
6150         * aspell.C:
6151         * buffer.C:
6152         * bufferlist.C:
6153         * changes.C:
6154         * chset.C:
6155         * converter.C:
6156         * counters.C:
6157         * debug.C:
6158         * graph.C:
6159         * ispell.C:
6160         * lyx_cb.C:
6161         * lyxfind.C:
6162         * lyxfunc.C:
6163         * lyxlex_pimpl.C:
6164         * lyxrc.C:
6165         * lyxrow.C:
6166         * paragraph.C:
6167         * rowpainter.C:
6168         * texrow.C:
6169         * text.C:
6170         * text2.C:
6171         * toc.C: remove redundant using directives.
6172
6173 2003-09-07  Angus Leeming  <leeming@lyx.org>
6174
6175         * LaTeXFeatures.h: remove #include "support/types.h".
6176         * ToolbarBackend.h: remove #include <algorithm>.
6177         * changes.h: remove #include <ctime>.
6178         * debug.h: remove #include <iosfwd>.
6179         * graph.h: remove #include "support/std_string.h".
6180         * lyx_main.h: remove #include <csignal>.
6181         * lyxlex_pimpl.h: remove #include <fstream>.
6182         * sgml.h: remove #include <algorithm>, <utility>.
6183         * toc.h: remove #include "support/std_ostream.h".
6184         Add #include <iosfwd>.
6185
6186 2003-09-07  Angus Leeming  <leeming@lyx.org>
6187
6188         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6189
6190         * converter.h: forward declare LatexRunParams.
6191         * encoding.h: remove #include "lyxrc.h".
6192         * lyxtext.h: remove #include "LColor.h".
6193         * lyxtextclass.h: remove #include "support/types.h".
6194         * trans.h: remove #include "tex-accent.h".
6195         * trans_mgr.h: remove #include "tex-accent.h".
6196         * insets/inset.h: remove #include "support/types.h", <vector>.
6197         * insets/insetcollapsable.h: remove #include "LColor.h".
6198         * insets/insetinclude.h: remove #include "dimension.h".
6199         * insets/insetlatexaccent.h: remove #include "dimension.h".
6200         * insets/insetoptarg.h:: remove #include "insettext.h".
6201         * insets/insettext.h: remove #include "dimension.h",
6202         <boost/shared_ptr.hpp>
6203
6204         * insets/renderers.h: add #include "dimension.h".
6205         * insets/updatableinset.h: add #include "support/types.h".
6206
6207         * many .C files: Associated changes.
6208
6209 2003-09-06  Angus Leeming  <leeming@lyx.org>
6210
6211         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6212         one, inside testInvariant.
6213
6214         * PrinterParams.C: new file.
6215         * PrinterParams.[Ch]: move the function bodies out of line.
6216
6217 2003-09-06  Angus Leeming  <leeming@lyx.org>
6218
6219         * ParagraphParameters.h: forward declare ParameterStruct rather than
6220         including its header file.
6221         (depth): moved out-of-line.
6222
6223 2003-09-06  Angus Leeming  <leeming@lyx.org>
6224
6225         * BufferView_pimpl.h:
6226         * kbmap.h:
6227         * kbsequence.h:
6228         * lyxfunc.h: forward declare LyXKeySym rather than
6229         #include "frontends/LyXKeySym.h".
6230
6231         * BufferView_pimpl.C:
6232         * kbmap.C:
6233         * kbsequence.C:
6234         * lyxfunc.C: associated changes.
6235
6236 2003-09-06  Angus Leeming  <leeming@lyx.org>
6237
6238         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6239         As a result, can remove the #include "insets/inset.h" from BufferView.h
6240
6241 2003-09-06  Angus Leeming  <leeming@lyx.org>
6242
6243         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6244         As a result, can remove the #include "insets/inset.h" from BufferView.h
6245
6246 2003-09-06  Angus Leeming  <leeming@lyx.org>
6247
6248         * buffer_funcs.C:
6249         * buffer.h:
6250         * bufferlist.C:
6251         * BufferView.C:
6252         * bufferview_funcs.C:
6253         * BufferView_pimpl.C:
6254         * CutAndPaste.C:
6255         * lyx_cb.C:
6256         * lyxfunc.C:
6257         * paragraph.h:
6258         * ParagraphParameters.C:
6259         * tabular.C:
6260         * text3.C:
6261         * toc.C:
6262         * undo_funcs.C:
6263         * frontends/controllers/ControlDocument.C:
6264         * insets/insetcaption.C: rearrange the #includes into some sort of
6265         coherent order.
6266
6267         * buffer.h: remove #includes ErrorList.h, undo.h
6268
6269 2003-09-06  Angus Leeming  <leeming@lyx.org>
6270
6271         * support/types.h: add a 'depth_type' typedef, used to store the
6272         nesting depth of a paragraph.
6273
6274         * paragraph.h:
6275         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6276         defining explicitly.
6277
6278         * buffer.h:
6279         * paragraph_funcs.h:
6280         * ParagraphParameters.h:
6281         * sgml.h: use lyx::depth_type rather than Paragraph or
6282         ParameterStruct's depth_type.
6283
6284         * buffer.h
6285         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6286
6287         * BufferView.C:
6288         * BufferView_pimpl.C:
6289         * CutAndPaste.C:
6290         * ParagraphParameters.C:
6291         * buffer_funcs.C:
6292         * bufferlist.C:
6293         * bufferview_funcs.C:
6294         * lyx_cb.C:
6295         * lyxfunc.C:
6296         * tabular.C:
6297         * text3.C:
6298         * toc.C:
6299         * undo_funcs.C:
6300         * frontends/LyXView.C:
6301         * frontends/controllers/ControlDocument.C:
6302         * frontends/controllers/ControlErrorList.C:
6303         * insets/insetbibitem.C:
6304         * insets/insetbranch.C:
6305         * insets/insetcaption.C:
6306         * insets/insetcollapsable.C:
6307         * insets/insetenv.C:
6308         * insets/insetert.C:
6309         * insets/insetfloat.C:
6310         * insets/insetfoot.C:
6311         * insets/insetfootlike.C:
6312         * insets/insetnewline.C:
6313         * insets/insetquotes.C:
6314         * insets/insettabular.C:
6315         * insets/insettext.C:
6316         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6317
6318         * frontends/controllers/ControlChanges.C: #include "changes.h".
6319
6320 2003-09-06  Angus Leeming  <leeming@lyx.org>
6321
6322         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6323         than #including paragraph.h.
6324
6325         * ParagraphList.h:
6326         * RowList.h: deleted. Superfluous.
6327
6328         * CutAndPaste.h:
6329         * iterators.h:
6330         * lyxcursor.h:
6331         * lyxtext.h:
6332         * text_funcs.h:
6333         * undo.h:
6334         * undo_funcs.h:
6335         * insets/inset.h:
6336         * insets/insettext.h: use ParagraphList_fwd.h rather than
6337         ParagraphList.h.
6338
6339         * paragraph.h: don't forward declare ParagraphList.
6340
6341         * buffer.h:
6342         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6343         rather than ParagraphList.h. paragraph.h is still needed for the
6344         Paragraph::depth_type parameters.
6345
6346         * textcursor.h: enable it to compile stand-alone in light of the
6347         above changes.
6348
6349         * bufferview_funcs.C:
6350         * iterators.C:
6351         * lyxfunc.C:
6352         * lyxrow_funcs.C:
6353         * paragraph.C:
6354         * rowpainter.C:
6355         * text.C:
6356         * text2.C:
6357         * text3.C:
6358         * text_funcs.C:
6359         * textcursor.C:
6360         * undo.C:
6361         * frontends/controllers/ControlParagraph.C:
6362         * frontends/controllers/ControlTabular.C:
6363         * insets/insetmarginal.C:
6364         * insets/insetminipage.C:
6365         * insets/insetnote.C:
6366         * insets/insetoptarg.C: add header files needed to compile again.
6367
6368 2003-09-06  Angus Leeming  <leeming@lyx.org>
6369
6370         * RowList_fwd.h: new file, forward-declaring Row rather than
6371         #including lyxrow.h.
6372
6373         * lyxrow_funcs.h:
6374         * lyxtext.h:
6375         * paragraph.h:
6376         * insets/insettext.h: use it instead of RowList.h
6377
6378         * bufferview_funcs.C:
6379         * lyxfunc.C:
6380         * lyxrow_funcs.C:
6381         * paragraph.C:
6382         * rowpainter.C:
6383         * text.C:
6384         * text2.C:
6385         * text3.C: #include "RowList.h".
6386
6387 2003-09-05  Angus Leeming  <leeming@lyx.org>
6388
6389         * factory.C (createInset):
6390         * vspace.C (c-tor): replace sscanf call with an istringstream.
6391         * ispell.C: re-add missing HP/UX headers.
6392         * lyxserver.C: re-add missing  os2 headers.
6393
6394 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6395
6396         * BranchList.C:
6397         * graph.C:
6398         * ispell.C:
6399         * lastfiles.C:
6400         * lyx_cb.C:
6401         * lyxserver.C:
6402         * texrow.C:
6403         * text3.C: re-add missing system headers, needed for 2.95.2.
6404
6405 2003-09-05  Angus Leeming  <leeming@lyx.org>
6406
6407         Changes most place everywhere due to the removal of using directives
6408         from support/std_sstream.h.
6409
6410 2003-09-05  Angus Leeming  <leeming@lyx.org>
6411
6412         Replace LString.h with support/std_string.h,
6413         Lsstream.h with support/std_sstream.h,
6414         support/LIstream.h with support/std_istream.h,
6415         support/LOstream.h with support/std_ostream.h.
6416
6417         Changes resulting throughout the tree.
6418
6419 2003-09-05  Angus Leeming  <leeming@lyx.org>
6420
6421         * sgml.h: ensure that the header file can be compiled stand-alone.
6422         * *.C: strip out redundant #includes. (320 in total.)
6423
6424 2003-09-04  Angus Leeming  <leeming@lyx.org>
6425
6426         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6427         here (from getPackages).
6428
6429         * debug.[Ch]: add a new EXTERNAL tag.
6430
6431 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6432
6433         * text2.C (cursorEnd): simplify
6434         (setCursor): adjust
6435         (getColumnNearX): adjust
6436
6437         * text.C (computeBidiTables): adjust
6438         (fill): adjust
6439
6440         * rowpainter.C (paintChars): adjust
6441         (paintSelection): adjust
6442         (paintChangeBar): adjust
6443         (paintText): adjust
6444
6445         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6446         lastPos instead.
6447         (numberOfSeparators): adjust
6448
6449 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6450
6451         * LyXAction.C:
6452         * box.[Ch]:
6453         * lfuns.h:
6454         * lyxfunc.C:
6455         * text3.C: Restricts the mouse click functionality
6456         of insets like bibtex, include, toc and floatlist to the visible
6457         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6458         up the dialogs. Cursor has to be in front of the inset (i.e.
6459         start of row) for this to function.
6460
6461 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6462
6463         * bufferview_funcs.C (currentState): output row information
6464
6465 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6466
6467         * bufferview_funcs.C (currentState): output paragraph position
6468
6469 2003-09-04  Angus Leeming  <leeming@lyx.org>
6470
6471         * FloatList.h: move out #include "Floating.h".
6472         * LaTeX.h: move out #include "DepTable.h".
6473         * LyXAction.h: move out #include "funcrequest.h".
6474         * buffer.h: move out #include "author.h", "iterators.h".
6475         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6476         * lyx_main.h: move out #include "errorlist.h".
6477         * lyxfunc.h: move out #include "FuncStatus.h".
6478         * lyxtext: move out #include "lyxcursor.h".
6479         * paragraph_pimpl.h: move out #include "counters.h".
6480
6481 2003-09-03  Angus Leeming  <leeming@lyx.org>
6482
6483         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6484         preamble_snippets list, enabling us to add snippets to the preamble
6485         only if the snippet was not there already.
6486
6487 2003-09-04  Angus Leeming  <leeming@lyx.org>
6488
6489         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6490
6491 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6492
6493         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6494         update
6495
6496 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6497
6498         * BranchList.C: point fix, earlier forgotten
6499
6500 2003-09-02  Angus Leeming  <leeming@lyx.org>
6501
6502         * box.C (contains): renamed from 'contained' after a fantastic
6503         amount of hot air.
6504
6505 2003-09-02  John Levon  <levon@movementarian.org>
6506
6507         * BufferView.C:
6508         * lyxcursor.h:
6509         * lyxcursor.C:
6510         * lyxfunc.C:
6511         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6512
6513 2003-09-02  John Levon  <levon@movementarian.org>
6514
6515         * text2.C: simplification of cursorEnd(), including partial
6516         fix for bug 1376
6517
6518 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6519
6520         * buffer.C (readFile): add a space
6521
6522 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6523
6524         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6525
6526 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6527
6528         * buffer.C (readFile): new function, take a filename and a
6529         ParagraphList::iterator
6530         (readFile): adjust
6531         (readFile): adjust, make it private. don't use setStream, make
6532         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6533         always contain the filename.
6534
6535         * BufferView.C (insertLyXFile): simplify and make it work for
6536         gzipped files.
6537
6538 2003-08-30  John Levon  <levon@movementarian.org>
6539
6540         * Makefile.am: fix dist (from Kayvan)
6541
6542 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6543
6544         * most files: change to use const Buffer refs
6545
6546 2003-08-27  André Pönitz  <poenitz@gmx.net>
6547
6548         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6549         on top of ownerPar().
6550
6551 2003-08-27  John Levon  <levon@movementarian.org>
6552
6553         * funcrequest.C: properly initialise POD members
6554
6555 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6556
6557         * lyxtext.h (top_y): move top_y from here
6558         * text.C:
6559         * text2.C:
6560         * text3.C:
6561         * BufferView.[Ch]:
6562         * BufferView_pimpl.[Ch]: to here
6563         * frontends/screen.C:
6564         * insets/insettabular.C:
6565         * insets/insettext.C: adjust
6566         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6567
6568 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6569
6570         * BufferView.[Ch]:
6571         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6572
6573 2003-08-26  André Pönitz  <poenitz@gmx.net>
6574
6575         * paragraph_func.[Ch] (outerPar): new function
6576
6577         * paragraph.C:
6578         * paragraph_funcs.C:
6579         * paragraph_funcs.h:
6580         * paragraph_pimpl.C:
6581         * text2.C: remove Inset::par_owner
6582
6583 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6584
6585         * lyxrow_funcs.C:
6586         * lyxtext.h:
6587         * text.C:
6588         * text2.C: eliminates the needFullRow/display() stuff
6589         altogether, putting the logic in metrics/draw in the insets.
6590
6591 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6592
6593         * text2.C (redoParagraphInternal, redoParagraphs):
6594         * text.C (redoParagraph): add a call to updateRowPositions at the
6595         end of each 'metrics-like' call. Remove all others.
6596         (getRow): remove the 'y-computing' version.
6597         (getRowNearY): do not compute nor return the real y. Solve the
6598         'y < 0' problem and simplify.
6599
6600 2003-08-22  Angus Leeming  <leeming@lyx.org>
6601
6602         * *.[Ch]: clean-up of licence and author blurbs.
6603         Also move config.h out of a few .h files and into a few .C files.
6604
6605 2003-08-22  André Pönitz  <poenitz@gmx.net>
6606
6607         * lyxrow.[Ch]: add x_ and *fill_ members
6608
6609         * lyxtext.h:
6610         * text.C:
6611         * rowpainter.C:
6612         * text2.C: adjust/remove prepareToPrint() calls
6613
6614 2003-08-22  André Pönitz  <poenitz@gmx.net>
6615
6616         * lyxrow.[Ch]: add  end_ member
6617
6618         * lyxrow_funcs.C: use LyXRow::end_
6619
6620         * lyxtext.h (singleWidth): add LyXFont parameter
6621
6622         * rowpainter.C:
6623         * text2.C: adjust LyXText::singleWidth() calls
6624
6625         * text.C (redoParagraph): simplify row breaking logic
6626
6627
6628 2003-08-19  André Pönitz  <poenitz@gmx.net>
6629
6630         * funcrequest.C: initialize button_ member
6631
6632         * text3.C:
6633         * rowpainter.[Ch]: interface consolidation
6634
6635 2003-08-18  André Pönitz  <poenitz@gmx.net>
6636
6637         * BufferView.C:
6638         * BufferView_pimpl.C:
6639         * lyxfind.C:
6640         * paragraph_funcs.C:
6641         * rowpainter.C:
6642         * text3.C: remove LyXScreen::draw() and fitCursor calls
6643
6644         * BranchList.h: remove spurious semicolons
6645
6646         * MenuBackend.C: fix branchlist related crash
6647
6648 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6649
6650         * BranchList.[Ch]:
6651         * InsetList.[Ch]:
6652         * LColor.[Ch]:
6653         * LyXAction.C:
6654         * Makefile.am:
6655         * MenuBackend.[Ch]:
6656         * bufferparams.[Ch]:
6657         * factory.C:
6658         * lfuns.h:
6659         * lyxfunc.C:
6660         * text3.C: implements the 'branch inset'
6661         idea. This allows the output of various versions of a document
6662         from a single source version, selectively outputing or suppressing
6663         output of parts of the text.
6664         This implementation contains a 'branch list editor' in a separate
6665         tab of the document settings dialog. Branches are user definable
6666         and have a "display colour" to distinguish them on-screen.
6667
6668         ColorHandler was somewhat cleaned up.
6669         (1) make possible a dynamically growing LColor list by allowing
6670         the graphic context cache to grow along (vector);
6671         (2) eliminate an IMHO unnecessary step in colour allocation.
6672
6673 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6674
6675         * BufferView_pimpl.C: compile fix
6676
6677 2003-08-15  André Pönitz  <poenitz@gmx.net>
6678
6679         * rowpainter.C: remove extra metrics calls
6680
6681         * lyxtext.h: merge the two constructors into a single one,
6682           pass reference to owner's par list
6683
6684         * BufferView_pimpl.C:
6685         * text.C:
6686         * text2.C: adjust
6687
6688 2003-08-15  André Pönitz  <poenitz@gmx.net>
6689
6690         * lyxrow_funcs.[Ch]:
6691         * lyxtext.h:
6692         * paragraph.h:
6693         * paragraph_funcs.C:
6694         * rowpainter.C:
6695         * text.C:
6696         * text2.C:
6697         * text3.C:
6698         * text_funcs.C: split LyXText::rowlist_ into individual
6699         Paragraph::rows_ chunks
6700
6701         * BufferView.[Ch]:
6702         * BufferView_pimpl.[Ch]:
6703         * lyxfind.C:
6704         * lyxtext.h:
6705         * text3.C: remove toggleSelection()
6706
6707 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6708
6709         * bufferlist.C: beautify two alerts (shorter text of buttons)
6710         * buffer.C: Remove redundant ' ' from message
6711         * tabular.h:
6712         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6713         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6714         rename VALIGN_CENTER to VALIGN_MIDDLE
6715
6716 2003-08-11  André Pönitz  <poenitz@gmx.net>
6717
6718         * lyxtext.h (getPar):
6719         * text.C: new function
6720
6721 2003-08-11  André Pönitz  <poenitz@gmx.net>
6722
6723         * Makefile.am:
6724         * tracer.[Ch]: remove unneeded files
6725
6726         * InsetList.[Ch]: remove resizeInsetsLyXText()
6727
6728         * lyxtext.h:
6729         * text.C:
6730         * text2.C:
6731         * text3.C: merge insertParagraphs() and appendParagraph()
6732         remove breakAgain(), update()
6733
6734         * BufferView_pimpl.[Ch]:
6735         * bufferview_funcs.[Ch]:
6736         * lyxfunc.C:
6737         * paragraph.[Ch]:
6738         * rowpainter.C:
6739         * tabular.C: adjust after text & InsetList changes.
6740
6741 2003-08-08  André Pönitz  <poenitz@gmx.net>
6742
6743         * text.C (insertChar, backspace): replace rowlist fiddling
6744         with rebreak of full par
6745
6746         * lyxtext.h:
6747         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6748         checkParagraph, updateInset): removed
6749
6750 2003-08-07  André Pönitz  <poenitz@gmx.net>
6751
6752         * paragraph.C:
6753         * text3.C: merge some LFUN handlers, remove dead code
6754
6755 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6756
6757         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6758
6759 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6760
6761         * text2.C (DEPM): fix part of bug 1255 and 1256
6762
6763 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6764
6765         * BufferView_pimpl.C (workAreaDispatch): change to use
6766         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6767         that are no mouse related.
6768
6769 2003-08-05  André Pönitz  <poenitz@gmx.net>
6770
6771         * BufferView.[Ch]:
6772         * BufferView_pimpl.[Ch]:
6773         * bufferview_funcs.C:
6774         * text2.C:
6775         * text3.C: rip out "deep update"
6776
6777         * textcursor.[Ch] (last_sel_cursor): remove unused member
6778
6779 2003-08-04  André Pönitz  <poenitz@gmx.net>
6780
6781         * BufferView.[Ch]:
6782         * BufferView_pimpl.[Ch]:
6783         * ParagraphParameters.C:
6784         * bufferview_funcs.C:
6785         * lyx_cb.C:
6786         * lyxfind.C:
6787         * lyxfunc.C:
6788         * text.C:
6789         * text2.C:
6790         * text3.C: replace "complicated" BufferView::update(...) calls with
6791         simpler ones.
6792
6793         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6794
6795 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6796
6797         * Makefile.am (lyx_SOURCES): add paper.h
6798
6799 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6800
6801         * Makefile.am: move things around so that both lyx-qt and
6802         lyx-xforms can be built (according to --with-frontend). Then lyx
6803         is a symbolic link to lyx-[firstfrontend]
6804
6805 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6806
6807         * Always use std::endl with lyxerr
6808
6809 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6810
6811         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6812
6813 2003-08-01  André Pönitz  <poenitz@gmx.net>
6814
6815         * BufferView.[Ch]:
6816         * BufferView_pimpl.[Ch]:
6817         * lyxfunc.C:
6818         * text3.C: merge BufferView::repaint() and BufferView::update()
6819
6820 2003-08-01  José Matos  <jamatos@lyx.org>
6821
6822         * buffer.[Ch]: file_format is no longer a buffer data element.
6823
6824 2003-08-01  André Pönitz  <poenitz@gmx.net>
6825
6826         * BufferView.C:
6827         * lyxtext.h:
6828         * text.C:
6829         * text2.C: make redoParagraph more independent of current cursor
6830
6831         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6832         * text.C:
6833         * text2.C: remove unneeded members
6834
6835 2003-07-30  André Pönitz  <poenitz@gmx.net>
6836
6837         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6838
6839         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6840           create a single function...
6841
6842         * paragraph_funcs.C (moveItem): ... here.
6843
6844         * text.C:
6845           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6846
6847 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6848
6849         * LColor.[Ch]: Add comment and greyedout logical colors.
6850
6851 2003-07-30  André Pönitz  <poenitz@gmx.net>
6852
6853         * tabular.C: don't use Assert too heavily. This crashes where it
6854           shouldn't
6855
6856 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6857
6858         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6859         is disabled (bug 1232)
6860
6861 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6862
6863         * factory.C: limited 'arg' scope
6864
6865 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6866
6867         * factory.C: fixed Note submenu issues
6868
6869 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6870
6871         * factory.C: submenu for Note/Comment/Greyedout
6872
6873 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6874
6875         * lyx_main.C (LyX):
6876         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6877
6878 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6879
6880         * LaTeXFeatures.C:
6881         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6882         greyedout. Patch provided by Jürgen Spitzmüller.
6883
6884 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6885
6886         * kbmap.C (read): fix error message when reading bind files
6887
6888 2003-07-29  Angus Leeming  <leeming@lyx.org>
6889
6890         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6891         certainly does not do what it purports to do. I am doing it, and
6892         us, a favour by killing it.
6893
6894 2003-07-28  José Matos  <jamatos@lyx.org>
6895
6896         * buffer.C (readBody, do_writeFile):
6897         * paragraph.C(readParagraph): \end_document replaces \the_end.
6898
6899 2003-07-29  André Pönitz  <poenitz@gmx.net>
6900
6901         * BufferView.[Ch]:
6902         * BufferView_pimpl.[Ch]:
6903         * lyxfunc.C:
6904         * text2.C:
6905         * text3.C:
6906         * textcursor.[Ch]: remove toggleToggle & Co
6907
6908 2003-07-28  José Matos  <jamatos@fep.up.pt>
6909
6910         * buffer.C (readParagraph):
6911         * params_func (readParToken, readParagraph):
6912         * paragraph.C (write): \layout -> \begin_layout.
6913
6914 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6915
6916         * lyxlex_pimpl.C (setFile): clean up slightly.
6917
6918         * bufferparams.h: add compressed var
6919
6920         * buffer_funcs.C (readFile): adjust for LyXLex change
6921         (newFile): ditto + simplify
6922
6923         * buffer.C (writeFile): handle writing of compressed files
6924
6925         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6926         Check if the file is compressed and set a bufferparm if so.
6927
6928         * Makefile.am (lyx_LDADD): remove explicit -lz
6929
6930 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6931
6932         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6933         makeDocBookFile): put the real LyX version in the first line of
6934         the file
6935
6936         * version.h:
6937         * version.C.in: remove lyx_docversion
6938
6939         * tabular.C (write_attribute): add a template-based version to
6940         write enums properly
6941
6942 2003-07-28  André Pönitz  <poenitz@gmx.net>
6943
6944         * lyxtext.h:
6945         * text.C:
6946         * text2.C:
6947         * text3.C: use doubles again for x-coordinates. They are needed.
6948
6949 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6950
6951         * messages.C (getLocaleDir): use lyx_localedir()
6952
6953         * lyxlex_pimpl.C (setFile): compress stuff
6954
6955         * buffer.C (writeFile): add some compression stuff
6956         (do_writeFile): new func, dont call expliti close... will this
6957         breake anything?
6958
6959         * Makefile.am (lyx_LDADD): add -lz
6960
6961 2003-07-28  José Matos  <jamatos@fep.up.pt>
6962
6963         * buffer.C: increment file format.
6964         * paragraph_funcs (readParagraph, readParToken):
6965         * paragraph.C (readParagraph): add \end_layout.
6966
6967 2003-07-27  Angus Leeming  <leeming@lyx.org>
6968
6969         * Makefile.am: remove special casing for configure-time setting of
6970         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6971
6972         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6973         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6974
6975 2003-07-26  André Pönitz  <poenitz@gmx.net>
6976
6977         * paragraph_func.[Ch]:
6978         * paragraph.C (realizeFont): inline it whereever it is used
6979
6980         * rowpainter.C:
6981         * text.C:
6982         * text2.C:
6983         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6984
6985
6986 2003-07-26  André Pönitz  <poenitz@gmx.net>
6987
6988         *       lyxtext.h:
6989         * text.C:
6990         * text2.C: get rid of LyXText::need_break_row
6991
6992 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6993
6994         * toc.[Ch]: put namespace toc inside namespace lyx
6995
6996         * MenuBackend.C (expandToc2): adjust for lyx::toc
6997         (expandToc): ditto
6998
6999         * lyxfunc.C (dispatch): adjust for lyx::find
7000
7001         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
7002         lyx::find instead. Reorganize a bit.
7003         (LyXReplace): rename to replace
7004         (LyXFind): rename to find
7005
7006         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
7007         (dispatch): ditto
7008
7009 2003-07-26  André Pönitz  <poenitz@gmx.net>
7010
7011         * text.C (setHeightOfRow): restrict scope of temporary variable
7012
7013         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
7014           code (never has been used?)
7015
7016 2003-07-27  Asger Alstrup  <alstrup@local>
7017
7018         * text.C (fill): Optimise algorithm to exploit that we can reuse
7019         the LyXFont for many characters.
7020         (setHeightOfRow): Same thing.
7021         (rowBreakPoint): Same thing.
7022
7023 2003-07-26  Asger Alstrup  <alstrup@local>
7024
7025         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7026
7027         * text.C (singleWidth): Spurious font copying in hot-spot
7028         singleWidth avoided. Reorder tests for arabic for efficiency.
7029
7030         * text.C (fill): handle empty paragraphs better.
7031
7032 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7033
7034         * ispell.C:
7035         * encoding.h: add includes
7036
7037         * lyxrc.C: remove reading of bind files
7038
7039         * lyx_main.C (init): setup bindings and menus only if we have a
7040         gui.
7041
7042         * kbmap.C (read): new method. Do the actual reading of bind
7043         files.
7044
7045         * converter.C (dvipdfm_options):
7046         * bufferparams.C:
7047         * lyxrc.C (read):
7048         (output): adapt PAPER_* enums.
7049
7050         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7051
7052         * bufferparams.h: remove paper-related enums from there
7053
7054         * paper.h: New file. A trivial header file to hold paper-related
7055         enums. It should later expand to contain many paper-related
7056         horrors access.
7057
7058         * lyxrc.C: declare extern displayTranslator
7059
7060 2003-07-27  José Matos  <jamatos@fep.up.pt>
7061
7062         * tabular.[Ch] (linuxdoc): add support for tables and figures
7063         (linuxdoc).
7064
7065 2003-07-27  José Matos  <jamatos@fep.up.pt>
7066
7067         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7068         consistency in both functions.
7069         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7070
7071 2003-07-26  Asger Alstrup  <alstrup@local>
7072
7073         * rowpainter.C (paintRows): Change algorithm to work directly on
7074         the insets rather than asking every character in the document
7075         whether its an inset.
7076
7077 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7078
7079         * buffer.C (openFileWrite): factorize some code
7080
7081 2003-07-26  Angus Leeming  <leeming@lyx.org>
7082
7083         * lyx_cb.C:
7084         * lyx_main.[Ch]: replace occurances of system_tempdir with
7085         os::getTmpDir().
7086
7087 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7088
7089         * rename Inset to InsetOld
7090
7091 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7092
7093         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7094         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7095         which I think is a bit clearer. EDIT is gone, since it was
7096         premature optimisation, and broken for mathed anyway.
7097         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7098         with cursor positioning in insets as well (math insets still do not
7099         work, but that's a different story anyway.) It mysteriously
7100         crashes sometimes with undo in the first paragraph, but I'm fairly
7101         confident that this is a compiler bug.
7102
7103 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7104
7105         * paragraph.C (Paragraph): adjust for new clone return type
7106         (operator==): ditto
7107         (copyIntoMinibuffer): ditto
7108
7109 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7110
7111         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7112         by not having a special case, and always doing a full rebreak of
7113         the document after undo.
7114
7115 2003-07-23  Angus Leeming  <leeming@lyx.org>
7116
7117         * factory.C (createInset): InsetExternal::setParams now takes a
7118         Buffer const * arg.
7119
7120 2003-07-23  Angus Leeming  <leeming@lyx.org>
7121
7122         * factory.C (createInset): changed interface to the external and
7123         graphics mailers' string2params functions.
7124
7125 2003-07-23  Angus Leeming  <leeming@lyx.org>
7126
7127         * factory.C (createInset): pass a
7128         Buffer const * parameter to InsetExternalMailer's string2params.
7129
7130 2003-07-22  John Levon  <levon@movementarian.org>
7131
7132         * Thesaurus.h: include the right aiksaurus header
7133
7134 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7135
7136         * MenuBackend.C (expand): check menu shortcuts unconditionally
7137
7138 2003-07-21  Angus Leeming  <leeming@lyx.org>
7139
7140         * factory.C (createInset): pass a
7141         buffer_path parameter to InsetGraphicsMailer's string2params.
7142
7143 2003-07-21  Angus Leeming  <leeming@lyx.org>
7144
7145         * BufferView_pimpl.C (buffer):
7146         * buffer.C (d-tor):
7147         * lyx_main.C (LyX):
7148         * lyxfunc.C (dispatch):
7149         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7150         rather than the grfx shortcut.
7151
7152 2003-07-21  André Pönitz  <poenitz@gmx.net>
7153
7154         * rowpainter.C: remove unused variables
7155
7156         * tabular_funcs.C:
7157         * tabular_funcs.h: move to tabular.C
7158         * Makefile.am: adjust
7159
7160         * tabular.[Ch]: basic optical cleaning
7161
7162         * author.h: pass references, not values
7163
7164 2003-07-18  André Pönitz  <poenitz@gmx.net>
7165
7166         * lyxtext.h:
7167         * metricsinfo.C:
7168         * metricsinfo.h:
7169         * rowpainter.C:
7170         * text.C:
7171         * text2.C:
7172         * text3.C: two-phase drawing for InsetText and InsetTabular
7173         some float -> int changes.
7174
7175 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7176
7177         * lyx_main.C: fix the fix
7178
7179 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7180
7181         * lyx_main.C: fix a crash in batch mode if no files specified
7182         * converter.C: ws
7183
7184 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7185
7186         * format.[Ch] (papersize): moved to BufferParams
7187         * converter.[Ch] (dvips_options): moved to BufferParams
7188         (dvipdfm_options): moved to anon namespace
7189         * bufferparams.[Ch]: added above functions.
7190
7191 2003-07-17  André Pönitz  <poenitz@gmx.net>
7192
7193         * lyxtext.h:
7194         * rowpainter.C:
7195         * text2.C: don't call inset->update() anymore
7196
7197         * metricsinfo.[Ch]: add convenience constructor
7198
7199 2003-07-16  André Pönitz  <poenitz@gmx.net>
7200
7201         * lyxcursor.[Ch]:
7202         * lyxfunc.[Ch]:
7203         * text.C:
7204         * text2.C: replace the LyXCursor::irow_ member with
7205          on-demand computation of the value
7206
7207 2003-07-16  John Levon  <levon@movementarian.org>
7208
7209         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7210
7211 2003-07-15  André Pönitz  <poenitz@gmx.net>
7212
7213         * text.C:
7214         * text2.C: remove no more needed refresh_row
7215
7216 2003-07-15  André Pönitz  <poenitz@gmx.net>
7217
7218         * lyxtext.h:
7219         * rowpainter.C:
7220         * text2.C:
7221         * text3.C: refresh_status tristate -> need_update bool
7222
7223 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7224
7225         * lyxtext.h (init): remove reinit argument (act as if always true)
7226         * text2.C: adjust to that
7227
7228 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7229
7230         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7231         * text3.C: use it to delete selections in some cases
7232         (bugs 441, 673, 702, 954).
7233
7234 2003-07-14  André Pönitz  <poenitz@gmx.net>
7235
7236         * rowpainter.[Ch]: reduce interface
7237
7238 2003-07-14  André Pönitz  <poenitz@gmx.net>
7239
7240         * BufferView_pimpl.C:
7241         * text2.C: adjust after removing unused BufferView * argument
7242
7243 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7244
7245         * text2.C (init): fix a crash fired on resize
7246
7247 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7248
7249         * buffer.[Ch]: added new closing signal
7250         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7251         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7252         BufferView::Pimpl via the closing the signal
7253
7254 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7255
7256         * buffer.[Ch]: take out all bv-related from buffer
7257         * BufferView.C:
7258         * BufferView_pimpl.[Ch]: connect to new signals
7259         * CutAndPaste.C: removed useless asserts
7260         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7261         * lyxvc.[Ch]:
7262         * vc-backend.[Ch]:
7263         * lyxfunc.C: moved view-related funciontality from vc here
7264         * paragraph.C: removed outdated comments
7265         * text.C: ws
7266
7267 2003-07-10  André Pönitz  <poenitz@gmx.net>
7268
7269         * BufferView_pimpl.C:
7270         * tabular.h:
7271         * tabular_funcs.C:
7272         * text.C:
7273         * text2.C: remove InsetText::InnerCache, clean up consequences
7274
7275 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7276
7277         * ispell.C: fix two typos in error messages
7278
7279 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7280
7281         * Extend Note inset to other forms of annotation like Comment
7282         and Greyedout. Right button click gives dialog.
7283
7284         Files modified or added (+):
7285
7286         * insetnote.[Ch]
7287         * FormNote.[Ch]      +
7288         * ControlNote.[Ch]   +
7289         * form_note.fd       +
7290         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7291         frontends/controllers
7292         * xforms/Dialogs.C
7293         * factory.C
7294
7295 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7296
7297         * aspell.C: add missing namespace lyx::support
7298
7299 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7300
7301         * BufferView.[Ch] (newFile): Add
7302         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7303         * LaTeX.[Ch] (message): added this signal and use it
7304         * buffer.[Ch] (busy, message): added these signals and use them
7305         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7306         * converter.C:
7307         * exporter.C:
7308         * format.C:
7309         * importer.C: use buffer signals instead of direct bv calling
7310         * lyx_cb.[Ch] (ShowMessage): removed
7311         * lyx_main.C:
7312         * lyxfunc.C:
7313         * paragraph_funcs.C:
7314         * text2.C: use buffer signals
7315
7316 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7317
7318         * introduce namespace lyx::graphics
7319
7320 2003-07-02  André Pönitz  <poenitz@gmx.net>
7321
7322         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7323
7324 2003-07-01  André Pönitz  <poenitz@gmx.net>
7325
7326         * text.C:
7327         * text2.C:
7328         * text3.C:
7329         * text_funcs.[Ch]:
7330         * textcursor.h:
7331         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7332           text*.C to text_func.C
7333
7334 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7335
7336         * introduce namespace lyx::support
7337
7338 2003-06-30  André Pönitz  <poenitz@gmx.net>
7339
7340         * Chktex.C:
7341         * funcrequest.C:
7342         * lyxtext.h:
7343         * text.C: re-enable --with-included-string
7344
7345 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7346
7347         * textcursor.C: add <config.h>
7348
7349         * text.C (getWord): remove const from word_location arg
7350
7351         * lyxvc.C (getLogFile): fix const type order
7352
7353         * lyxtext.h: remove const from word_location arg, add arg name
7354
7355         * lyxlayout.h: currect type on labeltype.
7356
7357         * importer.C: correct \file
7358
7359         * converter.C (intToFormat): use std:: on ret val, ws changes
7360
7361         * bufferlist.h: correct \file
7362
7363         * buffer.C (makeLinuxDocFile): fix const type order
7364         (makeDocBookFile): ditto
7365         (fillWithBibKeys): use std:: on stdlib args.
7366
7367         * CutAndPaste.C: fix authors.
7368         (availableSelections): use std:: on return vector
7369
7370 2003-06-27  André Pönitz  <poenitz@gmx.net>
7371
7372         * BufferView_pimpl.C:
7373         * bufferview_funcs.C:
7374         * lyxcursor.C:
7375         * lyxcursor.h:
7376         * lyxfunc.C:
7377         * lyxtext.h:
7378         * rowpainter.C:
7379         * text.C:
7380         * text2.C:
7381         * text3.C: remove LyXCursor::row_ member
7382
7383         * lyxtext.h:
7384         * text.C: rename fullRebreak() to partialRebreak() and implement
7385           a fullRebreak() that really bereks fully
7386
7387         * textcursor.h: new struct for cursor-related data
7388
7389 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7390
7391         * lyx_main.C (LyX): get full path of document loaded on the
7392         command line
7393
7394 2003-06-26  André Pönitz  <poenitz@gmx.net>
7395
7396         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7397           remove unused/broken operator>,<,>=.
7398
7399         *       text.C: remove only use of broken operator<= in an Assert().
7400
7401 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7402
7403         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7404         moved errorlist_.clear to showErrorList
7405
7406 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7407
7408         * converter.C (scanLog, runLaTeX):
7409         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7410         move the bv->showErrorList call to the callers
7411         * lyxfunc.C: i.e. here...
7412         * text2.C: and here
7413         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7414         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7415         namespace, the second to...
7416         * buffer_funcs (BufferFormat, parseErrors): added
7417         * errorlist.C (ErrorList(TeXErrors const &)): removed
7418
7419 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7420
7421         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7422
7423 2003-06-24  "Garst R. Reese" <reese@isn.net>
7424
7425         * debug.C: fix typo
7426
7427 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7428
7429         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7430
7431         * version.C.in: change docversion to 1.4
7432
7433 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7434
7435         * buffer.C: fix a bug just introduced
7436
7437 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7438
7439         * buffer.[Ch]: added the parseError signal and use it, removed
7440         sgmlError
7441         * BufferView.[Ch] (addError): moved to ...
7442         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7443         to the Buffer::parseError signal to catch (guess what) parse errors
7444         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7445
7446 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7447
7448         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7449         ability to create a buffer and to return an existing one from
7450         the list. Moved these functions to...
7451         * buffer_funcs.[Ch]: added
7452         * BufferView.[Ch] (loadLyXFile): added
7453         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7454         job removed from bufferlist::loadLyXFile.
7455         * buffer.C (setReadOnly): make it work without view
7456         (i.e added an if (users))
7457
7458 2003-06-19  Angus Leeming  <leeming@lyx.org>
7459
7460         * lfuns.h:
7461         * LyXAction.C (init):
7462         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7463         with LFUN_DIALOG_SHOW <name> <data>.
7464
7465 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7466
7467         * CutAndPaste.C (availableSelections): small compilation fix for
7468         ancient (gcc 2.9x) compilers
7469
7470 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7471
7472         * text3.C (cursorNext): add tmp var
7473
7474         * text2.C (updateCounters): for function calling out of for clause
7475         (replaceSelectionWithString): ditto
7476         (insertStringAsParagraphs): ditto
7477         (getColumnNearX): add tmp var
7478         (setCursorFromCoordinates): add tmp var
7479         (cursorDownParagraph): add tmp var
7480         (deleteEmptyParagraphMechanism): add tmp var
7481
7482         * text.C (insertChar): add tmp var
7483
7484         * rowpainter.C (paintDepthBar): add tmp var
7485
7486         * CutAndPaste.C (availableSelections): potentially check all
7487         paragraphs in a cut to fill the shown strings.
7488
7489 2003-06-18  André Pönitz  <poenitz@gmx.net>
7490
7491         * kbmap.[Ch]: use vector<> instead of list<>
7492
7493 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7494
7495         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7496         pasteSelection with index
7497
7498         * text2.C (pasteSelection): modify, call pasteSelection with index
7499
7500         * paragraph.C (asString): reimplement version with no interval to
7501         call the one with interval.
7502
7503         * lyxtext.h: add index arg to pasteSelection
7504
7505         * MenuBackend.C (MenuItem): handle PasteRecent
7506         (Menu::read::Menutags): add md_pasterecent
7507         (read): handle it
7508         (expandPasteRecent): new function
7509         (expand): use it
7510
7511         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7512
7513         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7514         the limited stack
7515         (availableSelections): new function
7516
7517 2003-06-17  Angus Leeming  <leeming@lyx.org>
7518
7519         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7520
7521 2003-06-17  Angus Leeming  <leeming@lyx.org>
7522
7523         * lfuns.h:
7524         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7525
7526         * lyxfunc.C (dispatch): invoke it.
7527
7528 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7529
7530         * iterators.C (operator++, ParPosition): reintroduce some
7531         const_cast for the benefit of older compilers.
7532
7533 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7534
7535         * text3.C (dispatch): do not modify clipboard when doing
7536         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7537         LFUN_DELETE_SKIP on a selection selection
7538
7539 2003-06-16  André Pönitz  <poenitz@gmx.net>
7540
7541         * BufferView.C:
7542         * buffer.C:
7543         * buffer.h:
7544         * paragraph.C:
7545         * tabular.[Ch]: IU of clone() and getLabelList();
7546
7547 2003-06-13  André Pönitz  <poenitz@gmx.net>
7548
7549         * tabular.h: compactification
7550
7551 2003-06-12  André Pönitz  <poenitz@gmx.net>
7552
7553         * tabular.C:
7554         * tabular.h:
7555         * tabular_funcs.h: some renaming plus whitespace
7556
7557 2003-06-12  André Pönitz  <poenitz@gmx.net>
7558
7559         * BufferView.C:
7560         * BufferView_pimpl.C:
7561         * CutAndPaste.C:
7562         * buffer.C:
7563         * iterators.[Ch]:
7564         * lyxfunc.C:
7565         * text.C:
7566         * toc.C: Return a Paragraph & for ParIterator::operator*()
7567
7568 2003-06-11  John Levon  <levon@movementarian.org>
7569
7570         * lyx_main.C:
7571         * ToolbarBackend.h:
7572         * ToolbarBackend.C: add "Toolbars" section and
7573         put the flags there
7574
7575 2003-06-10  Angus Leeming  <leeming@lyx.org>
7576
7577         * lfuns.h:
7578         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7579
7580         * lyxfunc.C (dispatch): invoke it.
7581
7582 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7583
7584         * main.C: protect <ios> with HAVE_IOS
7585         (main): protect sync_with_stdio with HAVE_IOS
7586
7587 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7588
7589         * text2.C (cutSelection): adjust
7590         (pasteSelection): adjust
7591
7592         * messages.C: handle get of empty string
7593
7594         * main.C (main): use sync_with_stdio(false)
7595
7596         * lyxfunc.C (dispatch): adjust
7597
7598         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7599         (WriteAs): remove unneeded BufferView arg.
7600
7601         * bufferparams.h: use correct types on papersize, papersize2 and
7602         paperpackage.
7603
7604         * bufferparams.C (readToken): adjust for type
7605         (writeLaTeX): add missing cases to switch.
7606
7607         * bufferlist.C (quitWriteBuffer): adjust
7608         (close): adjust
7609
7610         * buffer.C (asciiParagraph): remove some commented code.
7611
7612         * CutAndPaste.C: remove current_view extern variable.
7613         (cutSelection): add BufferParams arg.
7614         (eraseSelection): add BufferParams arg.
7615         (pasteSelection): add Buffer const & arg
7616
7617 2003-06-07  John Levon  <levon@movementarian.org>
7618
7619         * buffer.C:
7620         * paragraph_funcs.C:
7621         * paragraph_pimpl.C:
7622         * text.C:
7623         * text2.C:
7624         * paragraph.h:
7625         * paragraph.C: allow InsetERT to freely space lines,
7626         and some consolidation of code
7627
7628 2003-06-06  José Matos  <jamatos@fep.up.pt>
7629
7630         * buffer.C (makeDocBookFile): fix bug #821
7631
7632 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7633
7634         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7635
7636 2003-06-04  Angus Leeming  <leeming@lyx.org>
7637
7638         * buffer.C: bump format to 224.
7639
7640 2003-06-05  André Pönitz  <poenitz@gmx.net>
7641
7642         * text2.C (redoParagraphs): remove two const_cast<>
7643
7644 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7645
7646         * ParagraphList.h: remove last remnants of NO_STD_LIST
7647
7648 2003-06-03  Angus Leeming  <leeming@lyx.org>
7649
7650         * factory.C (createInset): small change to the way InsetExternal's params
7651         are set.
7652
7653 2003-06-04  André Pönitz  <poenitz@gmx.net>
7654
7655         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7656
7657         * paragraph_pimpl.h:
7658         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7659
7660         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7661
7662         * undo_funcs.C: make some simple cases of undo work again
7663
7664 2003-06-03  John Levon  <levon@movementarian.org>
7665
7666         * ispell.C: HPUX doesn't have sys/select.h
7667         (from Albert Chin)
7668
7669 2003-06-03  John Levon  <levon@movementarian.org>
7670
7671         * CutAndPaste.C: update tabular and include inset
7672         buffer references
7673
7674         * buffer.h:
7675         * paragraph.h:
7676         * paragraph.C: remove owningBuffer(), don't pass Buffer
7677         to clone()
7678
7679         * factory.C: insetGraphicsParams changed
7680
7681 2003-06-02  John Levon  <levon@movementarian.org>
7682
7683         * LyXAction.C:
7684         * factory.C:
7685         * lfuns.h:
7686         * lyxfunc.C:
7687         * text3.C: remove insetparent
7688
7689 2003-06-02  John Levon  <levon@movementarian.org>
7690
7691         * buffer.h:
7692         * buffer.C: fix inset_iterator.end(), move out of line
7693         (bug 1149)
7694
7695 2003-06-01  John Levon  <levon@movementarian.org>
7696
7697         * text3.C: use a proper cut/paste when doing inset
7698         insert (from Jürgen Spitzmüller)
7699
7700 2003-06-01  John Levon  <levon@movementarian.org>
7701
7702         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7703
7704 2003-05-30  André Pönitz  <poenitz@gmx.net>
7705
7706         * rowpainter.C: unify second drawing phase
7707
7708 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7709
7710         * trans_mgr.C: remove one case of current_view
7711
7712         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7713
7714         * paragraph_funcs.h: remove paragraph.h include
7715
7716         * paragraph.h: delete NO_STD_LIST stuff
7717
7718         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7719
7720         * buffer.h: remove paragraph.h include
7721
7722         * ParagraphList.C: delete file
7723
7724         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7725
7726         * toc.C (getTocList): adjust
7727
7728         * paragraph_pimpl.C (validate): adjust
7729
7730         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7731
7732         * paragraph.C (Paragraph): adjust
7733         (getPositionOfInset): use const_iterator, adjust
7734         (bibitem): use const_iterator, adjust
7735         (setInsetOwner): adjust
7736
7737         * iterators.C (operator++): adjust
7738
7739         * InsetList.[Ch]: Replace selfmade iterator with standard
7740         vector::iterator also introduce const_iterator. Remove getPos,
7741         getInset and setInset from InsetTable. Adjust accordingly.
7742
7743         * BufferView.C (lockInset): adjust
7744         (ChangeInsets): adjust
7745
7746         * tabular.[Ch]: delete commented same_id functions
7747
7748 2003-05-28  John Levon  <levon@movementarian.org>
7749
7750         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7751
7752 2003-05-28  André Pönitz  <poenitz@gmx.net>
7753
7754         * metricsinfo.[Ch]: remove 'fullredraw' member
7755
7756 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7757
7758         * lyxtextclass.C (operator): remove caching.
7759
7760 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7761
7762         * text3.C: adjust
7763
7764         * text2.C (cursorBottom): adjust
7765         (setCounter): use ParagraphList::find, adjust
7766
7767         * text.C (workWidth): use ParagraphList::find, adjust
7768
7769         * lyxcursor.C (LyXCursor): adjust
7770
7771         * buffer.C (inset_iterator): adjust
7772
7773         * ParagraphList.h: make iterator(value_type) private, make
7774         ParagraphList a friend of iterator.
7775
7776         * ParagraphList.C (find): new function
7777
7778         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7779
7780 2003-05-27  André Pönitz  <poenitz@gmx.net>
7781
7782         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7783
7784 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7785
7786         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7787
7788 2003-05-26  John Levon  <levon@movementarian.org>
7789
7790         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7791
7792 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7793
7794         * remove same_id from function signatures, adjust.
7795
7796 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7797
7798         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7799
7800         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7801
7802         * paragraph.C (Paragraph): get rid of same_ids parameter
7803
7804         * ParagraphList.C (insert): adjust
7805         (push_back): adjust
7806
7807 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7808
7809         * paragraph_funcs.C (breakParagraph): adjust
7810         (breakParagraphConservative): adjust
7811
7812         * buffer.C (readParagraph): adjust
7813
7814         * ParagraphList.C (insert): take a reference instead of a pointer
7815         (insert): adjust
7816
7817         * paragraph.[Ch] (id): new function
7818
7819         * bufferlist.C (newFile): adjust
7820
7821         * ParagraphList.C (ParagraphList): adjust
7822         (assign): adjust
7823         (push_back): take a reference instead of a pointer.
7824
7825         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7826
7827         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7828         instead.
7829
7830         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7831         set else use old code.
7832
7833         * ParagraphList.C: remove all NO_NEXT code and only compile this
7834         code of NO_STD_LIST is set.
7835
7836 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7837
7838         * BufferView_pimpl.C:
7839         * TextCache.C:
7840         * TextCache.h:
7841         * bufferlist.C:
7842         * errorlist.h:
7843         * format.C:
7844         * format.h:
7845         * graph.C:
7846         * lyxfunc.C:
7847         * lyxrc.C:
7848         * graphics/GraphicsConverter.C:
7849         * graphics/PreviewLoader.C: header adjustment
7850
7851 2003-05-23  Angus Leeming  <leeming@lyx.org>
7852
7853         * LaTeXFeatures.[Ch] (useBabel): new method.
7854         * bufferparams.C (writeLaTeX): use it.
7855
7856 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7857
7858         * ParagraphList.h (set): remove unused function.
7859
7860 2003-05-23  André Pönitz  <poenitz@gmx.net>
7861
7862         * BufferView.C:
7863         * BufferView_pimpl.C:
7864         * buffer.C:
7865         * buffer.h:
7866         * lyxfunc.C:
7867         * undo_funcs.C: setUndo reworked
7868
7869         * iterators.[Ch]: add access to topmost ParagraphList
7870
7871         * lyxtext.[Ch] (workWidth): add a const
7872
7873 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7874
7875         * texrow.[Ch] (increasePos): remove function
7876         * exporter.C (export): removed unused var and outdated comment
7877
7878 2003-05-23  Angus Leeming  <leeming@lyx.org>
7879
7880         * latexrunparams.h: rename fragile as moving_arg.
7881         * paragraph.C (simpleTeXOnePar): ditto.
7882         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7883
7884 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7885
7886         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7887         (createUndo): ditto
7888         (textUndoOrRedo): comment out a currently unused var.
7889
7890         * paragraph.h (NO_NEXT): enable NO_NEXT
7891
7892         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7893
7894         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7895
7896         * exporter.C (Export): adjust for removeAutoInsets removal.
7897
7898         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7899
7900         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7901
7902         * BufferView.[Ch] (removeAutoInsets): delete function
7903
7904 2003-05-22  Angus Leeming  <leeming@lyx.org>
7905
7906         * latexrunparams.h: add a free_spacing variable.
7907
7908         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7909         to pass moving_arg, as the data is stored in runparams.fragile.
7910
7911         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7912         to Inset::latexOptional or to simpleTeXOnePar.
7913
7914         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7915         free_spacing arg to Inset::latexOptional.
7916
7917         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7918         free_spacing arg.
7919
7920 2003-05-22  Angus Leeming  <leeming@lyx.org>
7921
7922         * latexrunparams.h: add fragile and use_babel variables.
7923
7924         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7925         * buffer.C (makeLaTeXFile): store this returned value in
7926         runparams.use_babel, thus passing it to the inset::latex methods.
7927
7928         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7929         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7930
7931         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7932         longer has a fragile arg, as it is stored in runparams.fragile.
7933
7934         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7935         moving_arg parameter as the data is stored in runparams.fragile.
7936
7937         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7938         a fragile parameter as the data is stored in runparams.fragile.
7939
7940 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7941
7942         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7943
7944 2003-05-22  Angus Leeming  <leeming@lyx.org>
7945
7946         * latexrunparams.h: add a 'bool nice' which defaults to false.
7947
7948         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7949         now encapsulated within runparams.
7950
7951         * bufferlist.C (updateIncludedTeXfiles):
7952         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7953
7954 2003-05-22  Angus Leeming  <leeming@lyx.org>
7955
7956         * latexrunparams.h: new file containing struct LatexRunParams.
7957         * Makefile.am: add new file.
7958
7959         * LaTeX.[Ch] (c-tor, run):
7960         * buffer.[Ch] (makeLaTeXFile):
7961         * bufferlist.[Ch] (updateIncludedTeXfiles):
7962         * converter.C (convert, scanLog):
7963         * converter.[Ch] (runLaTeX):
7964         * exporter.C (Export):
7965         * paragraph.[Ch] (simpleTeXOnePar):
7966         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7967         * paragraph_funcs.[Ch] (latexParagraphs):
7968         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7969         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7970         pass around a LatexRunParams parameter.
7971
7972 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7973
7974         * paragraph.[Ch]: remove unused constructor
7975
7976         * ParagraphList.C (erase): new function, taking two iterators
7977
7978 2003-05-22  André Pönitz  <poenitz@gmx.net>
7979
7980         * undo_funcs.C: remove duplicated code
7981
7982         * iterator.[Ch]: operator=
7983
7984 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7985
7986         * tabular.C (SetMultiColumn): ws changes
7987
7988         * rowpainter.C (paintFirst): get rid of a ->previous
7989
7990         * lyx_cb.C (getPossibleLabel): parlist simplification
7991
7992         * BufferView.C (ChangeInsets): simplify slightly.
7993
7994 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7995
7996         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7997         * lfuns.h: new LFUN_SPACE
7998         * lyxfunc.C: protected space has a new lfun
7999         * paragraph_funcs.C: read new space insets
8000         * text3.C:
8001         * factory.C: handle new space insets
8002
8003 2003-05-22  André Pönitz  <poenitz@gmx.net>
8004
8005         * BufferView.C:
8006         * BufferView_pimpl.C:
8007         * buffer.[Ch]:
8008         * lyxfunc.C:
8009         * undo_funcs.C: return a ParIterator from getParFromID.
8010
8011         * iterators.[Ch]: add two const's
8012
8013 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8014
8015         * toc.C (getTocList): adjust
8016
8017         * iterators.[Ch]: rework for parlist
8018
8019         * buffer.C (par_iterator_begin): adjust
8020         (par_iterator_end): adjust
8021
8022         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8023
8024         * BufferView.C (removeAutoInsets): adjust
8025         (ChangeInsets): adjust
8026
8027 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8028
8029         * text.C (top_y): fix bug 1110
8030
8031 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8032
8033         * errorlist.[Ch]: added
8034         * buffer.C:
8035         * BufferView.[Ch]:
8036         * BufferView_pimpl.C:
8037         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8038         instead
8039
8040 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8041
8042         * Makefile.am: ensure that lyx is relinked upon changes to the
8043         various "convenience" libs.
8044
8045 2003-05-20  Angus Leeming  <leeming@lyx.org>
8046
8047         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8048         files are compiled in alphabetical order again.
8049
8050         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8051
8052 2003-05-19  Angus Leeming  <leeming@lyx.org>
8053
8054         * gettext.[Ch]: remove "char const * _(char const *)".
8055
8056 2003-05-19  André Pönitz  <poenitz@gmx.net>
8057
8058         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8059
8060         * Makefile.am:
8061         * BufferView.C:
8062         * DepTable.h:
8063         * LaTeXFeatures.C:
8064         * buffer.C:
8065         * lyxfont.C:
8066         * lyxlex.h:
8067         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8068
8069 2003-05-19  André Pönitz  <poenitz@gmx.net>
8070
8071         * buffer.C:
8072         * lyxlayout.[Ch]:
8073         * lyxtextclass.[Ch]:
8074         * paragraph.C:
8075         * paragraph_funcs.[Ch]:
8076         * text2.C:
8077         * text3.C: more insetenv work
8078
8079 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8080
8081         * ParagraphParameters.C (params2string): small bug fixed
8082
8083 2003-05-16  André Pönitz  <poenitz@gmx.net>
8084
8085         * debug.C:
8086         * bufferview_funcs.C: patch from Kornel Benko to prevent
8087           crash when _(...) is called twice in a statement
8088
8089 2003-05-16  André Pönitz  <poenitz@gmx.net>
8090
8091         * BufferView.C:
8092         * lyxfunc.C:
8093         * text.C:
8094         * text2.C:
8095         * text3.C:
8096         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8097
8098 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8099
8100         * lyx_main.C (init): remove spurious static_cast
8101
8102 2003-05-14  André Pönitz  <poenitz@gmx.net>
8103
8104         * BufferView.C: fix format string
8105
8106 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8107
8108         * BufferView.[Ch] (insertErrors): removed
8109         * BufferView.[Ch] (showErrorList): added
8110         * buffer.C (runChkTeX):
8111         * converter.C (scanLog): call showErrorList instead of inserterrors
8112
8113 2003-05-13  André Pönitz  <poenitz@gmx.net>
8114
8115         * BufferView_pimpl.C:
8116         * buffer.C:
8117         * bufferview_func.C:
8118         * MenuBackend.C:
8119         * lyxfunc.C:
8120         * lyxrc.C:
8121         * tex-accent.C:
8122         * text3.C:
8123         * toc.C:
8124         * tabular_funcs.h: tostr() from its own header
8125
8126         * ParagraphParameters.C:
8127         * ToolbarBackend.C:
8128         * bufferparams.C:
8129         * format.C:
8130         * lyxlex_pimpl.C:
8131         * text3.C: STRCONV()
8132
8133 2003-05-12  André Pönitz  <poenitz@gmx.net>
8134
8135         * BufferView.C:
8136         * BufferView_pimpl.C:
8137         * CutAndPaste.C:
8138         * LaTeX.C:
8139         * LaTeXFeatures.C:
8140         * ParagraphParameters.C:
8141         * buffer.C:
8142         * bufferlist.C:
8143         * bufferparams.C:
8144         * bufferview_funcs.C:
8145         * converter.C:
8146         * counters.C:
8147         * debug.C:
8148         * exporter.C:
8149         * format.C:
8150         * importer.C:
8151         * lyx_cb.C:
8152         * lyx_main.C:
8153         * lyxfont.C:
8154         * lyxfunc.C:
8155         * lyxvc.C:
8156         * paragraph.C:
8157         * paragraph_funcs.C:
8158         * tabular.C:
8159         * tabular_funcs.C:
8160         * text2.C:
8161         * text3.C:  boost::format -> bformat  all over the place
8162
8163
8164 2003-05-09  André Pönitz  <poenitz@gmx.net>
8165
8166         * LColor.[Ch]: Pimpl the #include <map> away
8167
8168 2003-05-09  John Levon  <levon@movementarian.org>
8169
8170         * bufferlist.C: never remove emergency saves
8171
8172 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8173
8174         * Makefile.am: better lib building
8175
8176 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8177
8178         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8179         instead.
8180         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8181         (simpleTeXSpecialChars): adjust
8182         (simpleTeXSpecialChars): adjust
8183         * paragraph.C (simpleTeXOnePar): adjust
8184         * buffer.C (makeLaTeXFile): adjust
8185
8186         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8187
8188         * text2.C (changeDepth): parlist cleanup
8189         (getColumnNearX): ditto
8190
8191         * rowpainter.C (getLabelFont): parlist cleanup
8192
8193         * bufferlist.C (newFile): parlist cleanup
8194
8195         * CutAndPaste.C (eraseSelection): parlist cleanup
8196
8197         * BufferView_pimpl.C (trackChanges): parlist cleanup
8198         (dispatch): ditto
8199
8200         * BufferView.C (lockInset): parlist cleanup.
8201         (ChangeInsets): ditto
8202
8203 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8204
8205         * CutAndPaste.h: Update file header.
8206
8207         * CutAndPaste.C: Update file header.
8208         Store the parts cut out of the Document in a limited_stack.
8209         (copySelection): adjust
8210         (pasteSelection): new function, takes the index in the limited stack.
8211         (nrOfParagraphs): adjust
8212         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8213         simplify error inset insertion.
8214         (checkPastePossible): adjust
8215
8216 2003-05-06  John Levon  <levon@movementarian.org>
8217
8218         * text2.C: don't cast wrap inset to float
8219
8220 2003-05-05  André Pönitz  <poenitz@gmx.net>
8221
8222         * iterator.C:
8223         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8224
8225         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8226           few naked Paragraph *.
8227
8228 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8229
8230         * bufferparams.C: Output warning if a document with missing
8231         TeX document class is loaded
8232         * exporter.C: Disable TeX exports if the document class is missing
8233         * lyxtextclass.C:
8234         * lyxtextclass.h:
8235         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8236         isTeXClassAvailable()
8237
8238 2003-05-03  John Levon  <levon@movementarian.org>
8239
8240         * BufferView.h:
8241         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8242         explicit cursor show/hide
8243
8244         * BufferView_pimpl.h:
8245         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8246         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8247
8248         * lyxfunc.C: hide cursor before dispatching.
8249
8250         * lyx_cb.C:
8251         * lyxfind.C:
8252         * text.C:
8253         * text3.C: remove explicit cursor hides
8254
8255 2003-05-02  André Pönitz  <poenitz@gmx.net>
8256
8257         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8258
8259         * undo_funcs.C:
8260         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8261           linked lists
8262
8263         * text2.C: tiny whitespace
8264
8265 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8266
8267         * undo_funcs.C: almost only ws changes.
8268
8269         * ParagraphList.C (splice): just return if pl is empty.
8270
8271 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8272
8273         * ParagraphList.C (splice): new function.
8274
8275         * CutAndPaste.C (pasteSelection): use it
8276
8277 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8278
8279         * CutAndPaste.C (pasteSelection): remove the last next and
8280         previous from this file.
8281
8282 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8283
8284         * CutAndPaste.C (pasteSelection): more clean up, user proper
8285         ParagraphList functions for pasteing.
8286
8287         * ParagraphList.C (insert): new function, three arg insert
8288
8289 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8290
8291         * ParagraphList.C (insert): new function, three arg insert
8292
8293         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8294         not on paragraphs.
8295
8296 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8297
8298         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8299
8300 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8301
8302         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8303
8304 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8305
8306         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8307         (copySelection): clean up a bit.
8308         (pasteSelection): use make_pair
8309
8310         * ParagraphList.C (ParagraphList): implement copy constructor
8311         (operator=): implement, base on copy constructor.
8312         (assign): new func
8313
8314         * paragraph.C (erase): return a bool
8315
8316         * paragraph_pimpl.C (erasePos): remove function, move contents...
8317         (erase): ... here. Return a bool.
8318         (erase): call erase instead of erasePos.
8319
8320 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8321
8322         * ParagraphList.h: define PitPosPair
8323         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8324         ParagraphList, fix a bug on pasting multiple pars
8325         * text2.C: change interface to C&P
8326
8327 2003-04-30  André Pönitz  <poenitz@gmx.net>
8328
8329         * undo_func.C: revert part of yesterday's patch 2
8330
8331 2003-04-30  John Levon  <levon@movementarian.org>
8332
8333         * LColor.C: s/tabular/table/
8334
8335 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8336
8337         * text3.C (dispatch): do not convert iterator -> pointer
8338         * undo_funcs.C (setCursorParUndo): ditto
8339         * text_funcs.C (transposeChars): ditto
8340
8341         * text2.C (setLayout): ws changes only
8342
8343         * text.C (breakParagraph): do not convert iterator -> pointer
8344         (insertChar): ditto
8345         (acceptChange): ditto
8346         (rejectChange): ditto
8347         (changeCase): ditto
8348         (Delete): ditto
8349         (backspace): ditto
8350
8351         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8352         pointer
8353
8354 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8355
8356         * text3.C (gotoInset): YABG (yet another bad getChar)
8357
8358 2003-04-29  André Pönitz  <poenitz@gmx.net>
8359
8360         * paragraph.h: make operator= private unimplemented as long as
8361           it is unusable
8362
8363         * ParagraphList.C: whitespace
8364
8365         * paragraph.[Ch]:
8366         * paragraph_pimpl.[Ch]:
8367         * paragraph_funcs.C:
8368         * CutAndPaste.C:
8369         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8370
8371         * text2.C:
8372           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8373
8374 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8375
8376         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8377         * paragraph.[Ch] (erase):
8378         * paragraph_pimpl.[Ch] (erase): change return type and value
8379         * text2.C (cutSelection): some rework
8380
8381 2003-04-28  John Levon  <levon@movementarian.org>
8382
8383         * bufferlist.C: changes for unsaved changes dialog
8384
8385 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8386
8387         * bufferlist.C (newFile): set language (messages_) for new
8388         documents also.
8389
8390         * buffer.C (readFile): ws changes only.
8391
8392 2003-04-28  André Pönitz  <poenitz@gmx.net>
8393
8394         * undo_funcs.C:
8395         * lyxfunc.C:
8396         * buffer.[Ch]:
8397         * BufferView_pimpl.C:
8398         * BufferView.C: getParFromID related ParagraphList::iterator changes
8399
8400 2003-04-28  André Pönitz  <poenitz@gmx.net>
8401
8402         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8403           Changes
8404
8405 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8406
8407         * messages.C: remove one more localedir class variable.
8408
8409 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8410
8411         * messages.C (getLocaleDir): singleton generation function
8412         (Pimpl): use it.
8413         (Messages): add a default constructor.
8414
8415         * main.C (main): do not setup localedir here, do not call
8416         gettext_init.
8417
8418         * gettext.C (_): use it.
8419         (gettext_init): delete funciton
8420
8421 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8422
8423         * gettext.C (getLyXMessages): new singleton generating function.
8424
8425         * buffer.C (updateDocLang): adjust
8426
8427         * Makefile.am (messages.o): add target
8428         (main.o): remove target
8429
8430 2003-04-27  John Levon  <levon@movementarian.org>
8431
8432         * bufferlist.C:
8433         * lyx_cb.C:
8434         * lyxfunc.C:
8435         * lyxvc.C: specify cancel button in Alert::prompt
8436
8437 2003-04-26  John Levon  <levon@movementarian.org>
8438
8439         * text3.C:
8440         * lyxfunc.C:
8441         * lfuns.h:
8442         * LyXAction.C: add LFUN_INSET_SETTINGS
8443
8444         * lyxfunc.C: don't enable tabular-feature when there's
8445         just any locking inset
8446
8447 2003-04-26  John Levon  <levon@movementarian.org>
8448
8449         * bufferlist.C: re-add Cancel to buffer close question
8450
8451         * lyxfunc.C: fix import UI a bit
8452
8453 2003-04-25  John Levon  <levon@movementarian.org>
8454
8455         * gettext.C: remove the broken asserts for now
8456
8457 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8458
8459         * messages.C: make case where setlocale cannot comply work better.
8460
8461         * buffer.C (updateDocLang): new function
8462         (changeLanguage): use it
8463         (readFile): use it
8464
8465         * text2.C (setCounter): use B_ a bit.
8466
8467         * lyxlayout.C (Read): be sure to trim the label strings.
8468
8469         * messages.C (Messages): fix typo in comment
8470
8471         * buffer.C (readFile): set message_ after file is loaded.
8472         (makeDocBookFile): remove double return
8473         (changeLanguage): reset message_ upon language change.
8474         (B_): new func, use this to get translated buffer strings.
8475
8476         * main.C: add myself and Jean Marc as authors.
8477
8478 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8479
8480         * messages.[hC]: pimplify Messages, and three different pimpls to be
8481         used in different circumstances.
8482
8483         * gettext.[Ch]: change for use with new message code.
8484
8485 2003-04-24 André Pönitz <poenitz@gmx.net>
8486
8487         * factory.C: support for eqref
8488
8489 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8490
8491         * messages.[Ch]: add missing char
8492
8493         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8494
8495         * messages.[Ch]: New files
8496
8497 2003-04-18  John Levon  <levon@movementarian.org>
8498
8499         * BufferView.h:
8500         * BufferView.C:
8501         * BufferView_pimpl.C:
8502         * lfuns.h:
8503         * LyXAction.C:
8504         * lyxtext.h:
8505         * text2.C: remove layout-copy/paste (bug 778)
8506
8507 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8508
8509         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8510
8511 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8512
8513         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8514         if they succeed. Act accordingly.
8515
8516 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8517
8518         * text2.C (setCharFont): adjust
8519         (setCounter): adjust
8520         (insertStringAsLines): adjust
8521
8522         * text.C (leftMargin): adjust
8523         (setHeightOfRow): adjust
8524
8525         * rowpainter.C (paintFirst): adjust
8526         (paintLast): adjust
8527
8528         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8529         (outerHook): ditto
8530         (isFirstInSequence): ditto
8531         (getEndLabel): ditto
8532         (outerFont): adjust
8533
8534         * paragraph.C (getParLanguage): comment out some hard stuff.
8535
8536         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8537         (sgmlError): ditto
8538         (simpleDocBookOnePar): ditto
8539         (makeDocBookFile): use ParagraphList::iterator
8540
8541         * CutAndPaste.C (pasteSelection): adjust
8542
8543 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8544
8545         * text2.C (getFont): adjust
8546         (getLayoutFont): adjust
8547         (getLabelFont): adjust
8548
8549         * paragraph_funcs.C (TeXOnePar): adjust
8550
8551         * buffer.C (simpleLinuxDocOnePar): adjust
8552         (simpleDocBookOnePar): adjust
8553
8554         * CutAndPaste.C (pasteSelection): adjust
8555
8556         * BufferView.C (getEncoding): adjust
8557
8558         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8559
8560 2003-04-16  John Levon  <levon@movementarian.org>
8561
8562         * lyxfind.C: use parlist stuff for search/changes
8563
8564 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8565
8566         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8567
8568         * text2.C (deleteEmptyParagraphMechanism): adjust
8569
8570         * text2.[Ch] (ownerParagraph): delete func (both of them
8571
8572 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8573
8574         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8575
8576 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8577
8578         * ParagraphList.C: prepare for NO_NEXT
8579
8580 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8581
8582         * text2.C (getFont): adjust
8583         (getLayoutFont): adjust
8584         (getLabelFont): adjust
8585
8586         * paragraph.C (getFont): adjust
8587         (getLabelFont): adjust
8588         (getLayoutFont): adjust
8589
8590         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8591
8592 2003-04-15  John Levon  <levon@movementarian.org>
8593
8594         From Angus Leeming
8595
8596         * lyx_main.C: handle Include in .ui files
8597
8598 2003-04-15  John Levon  <levon@movementarian.org>
8599
8600         * MenuBackend.C: make the doc files length shorter
8601
8602         * ToolbarBackend.h:
8603         * ToolbarBackend.C: handle toolbar placement flags,
8604         Minibuffer
8605
8606 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8609         adjust
8610
8611         * paragraph_funcs.C (TeXOnePar): adjust
8612
8613         * paragraph.C (getLabelFont): add outerfont arg, adjust
8614         (getLayoutFont): ditto
8615         (simpleTeXOnePar): adjust
8616
8617         * paragraph_pimpl.C (realizeFont): delete func
8618
8619 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8620
8621         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8622         row argument, constify cur argument.
8623
8624 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8625
8626         * text2.C (getFont): adjust
8627         (getLayoutFont): adjust
8628         (getLabelFont): adjust
8629
8630         * paragraph_funcs.C (TeXOnePar): adjust
8631         (outerFont): new func...
8632         (realizeFont): ...moved out from here, changed this to facilitate
8633         transition
8634
8635         * paragraph.C (getFont): take outerfont as arg, adjust
8636         (simpleTeXOnePar): add outerfont arg, adjust
8637
8638         * buffer.C (simpleLinuxDocOnePar): adjust
8639         (simpleDocBookOnePar): adjust
8640
8641         * CutAndPaste.C (pasteSelection): adjust
8642
8643         * BufferView.C (getEncoding): adjust
8644
8645 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8646
8647         * text2.C (setCharFont): adjust
8648         (setCounter): adjust
8649
8650         * text.C (leftMargin): adjust
8651         (setHeightOfRow): adjust
8652
8653         * rowpainter.C (paintFirst): adjust
8654         (paintLast): adjust
8655
8656         * paragraph_pimpl.C (realizeFont): adjust
8657
8658         * paragraph.C (isFirstInSequence): move from here...
8659         * paragraph_funcs.C (isFirstInSequence): ...to here
8660
8661         * paragraph.C (outerHook): move from here...
8662         * paragraph_funcs.C (outerHook): ...to here
8663
8664         * paragraph.C (depthHook): move from here...
8665         * paragraph_funcs.C (depthHook): ...to here
8666
8667         * paragraph.C (getEndLabel): move from here...
8668         * paragraph_funcs.C (getEndLabel): ...to here
8669
8670         * text2.C (realizeFont): move from here...
8671         * paragraph_funcs.C (realizeFont): ...to here
8672
8673 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8674
8675         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8676
8677 2003-04-14  Angus Leeming  <leeming@lyx.org>
8678
8679         * LColor.[Ch]: scrap LColor mathcursor.
8680
8681 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8682
8683         * lyxlex.[Ch] (text): delete function
8684         * trans.C (Load): adjust
8685         * paragraph_funcs.C (readParToken): adjust
8686
8687 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8688
8689         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8690         vector<char> instead of a char[].
8691
8692         * lyxlex_pimpl.C (getString): adjust
8693         (next): adjust
8694         (lex): use getString
8695         (eatLine): adjust
8696         (nextToken): adjust
8697
8698         * lyxlex.C (text): use pimpl_->getString()
8699         (getBool): ditto
8700         (findToken): ditto
8701
8702 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8703
8704         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8705         (makeFontEntriesLayoutSpecific): temp var for par.size()
8706         (setLayout): temp var for ownerParagraphs().end()
8707         (fullRebreak): temp var for rows().end()
8708         (selectionAsString): temp var for boost::next(startpit), realize
8709         that the while really is a regular for loop.
8710         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8711         setCursor in one place.
8712         (setParagraph): temp vr for ownerParagraphs().end()
8713         (updateCounters): make the while loop a for loop
8714         (cutSelection): temp var for ownerParagraphs().end()
8715         (updateInset): make the do {} while() a regular for loop
8716         (getCursorX): use temp vars
8717         (setCurrentFont): use temp vars
8718         (getColumnNearX): use temp vars
8719
8720 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8721
8722         * text.C (transformChar): use temp var for getChar
8723         (computeBidiTables): use temp var for row->par()
8724         (fill): move temp vars for row->par() and pit->layout() earlier in
8725         the function.
8726         (labelFill): use temp var for row->par()
8727         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8728         asc and desc, realize that pit never changes and that firstpit is
8729         just a duplicate and not needed. Exchange rit->par() with pit in a
8730         lot of places.
8731         (breakAgain): use a temp var for boost::next(rit)
8732         (breakAgainOneRow): ditto
8733         (breakParagraph): use a temp var for rows().begin()
8734         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8735         (cursorRightOneWord): use temp var for cursor.par() and
8736         cursor.pos(), remove usage of tmpcursor.
8737         (cursorLeftOneWord): use temp var for cursor.par() and
8738         cursor.pos() only set cur at end of function.
8739
8740 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8741
8742         * text.C, text2.C: exchange all usage of Paragraph::next with
8743         boost::next(ParagraphList::iterator)
8744
8745         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8746
8747         * text2.C (cursorTop): simplify implementation
8748         (cursorBottom): ditto
8749         (setParagraph): use ParagraphList::iterator
8750         (setCurrentFont): adjust
8751         (getColumnNearX): adjust
8752         (cursorRight): adjust
8753         (cursorLeft): remove usage of Paragraph::previous
8754         (cursorUpParagraph): ditto
8755         (deleteEmptyParagraphMechanism): slight cleanup
8756
8757         * text.C (isBoundary): take a Paragraph const & instead of a
8758         pointer as arg.
8759         (addressBreakPoint): ditto
8760         (leftMargin): remove usage of Paragraph::previous.
8761         (setHeightOfRow): ditto
8762         (cursorLeftOneWord): ditto
8763         (selectNextWordToSpellcheck): ditto
8764         (Delete): ditto
8765         (backspace): ditto
8766         (breakParagraph): remove one usage of Paragraph::next
8767         (redoParagraph): ditto
8768         (acceptChange): ditto
8769         (insertChar): adjust
8770         (rowBreakPoint): adjust
8771
8772         * bufferview_funcs.C (toggleAndShow): adjust
8773
8774 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8775
8776         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8777         methods to access it.
8778         * lyxtext.h:
8779         * text.C: Added updateRowPositions to compute all row positions.
8780         Make top_y and getRowNearY() to use the cached y position
8781
8782 2003-04-11  John Levon  <levon@movementarian.org>
8783
8784         * text.C (rowBreakPoint): reintroduce the labelEnd
8785         checks, code copied from the row fill stuff. Deep voodoo.
8786
8787         * text.C (fill): add a comment and debugging for the
8788         next poor soul.
8789
8790 2003-04-11  John Levon  <levon@movementarian.org>
8791
8792         * text.C: make sure fullrow insets get wrapped to the next line,
8793         even when they're in a manual label
8794
8795 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8796
8797         * text2.C (insertParagraph): make it take ParagraphList::iterator
8798         as arg.
8799         (setLayout): make it return ParagraphList::iterator
8800         (redoParagraphs): ditto
8801         (setCounter): ditto
8802         (checkParagraph): ditto
8803
8804         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8805
8806         * text2.C: adjust several funcs.
8807         (realizeFont): take a ParagraphList::iterator as arg.
8808         (getLayoutFont): ditto
8809         (getLabelFont): ditto
8810         (setCharFont): ditto
8811
8812         * text.C: adjust several funcs.
8813
8814 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8815
8816         * text.C (selectNextWordToSpellcheck): don't accidentally
8817         skip insets
8818
8819 2003-04-10  John Levon  <levon@movementarian.org>
8820
8821         * ToolbarBackend.C (getIcon): special handling for
8822         LFUN_MATH_DELIM
8823
8824 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8825
8826         * text2.C (cursorRight): a getChar assert fixed
8827
8828 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8829
8830         * text2.C (getFont): change to take a ParagraphList::iterator
8831         instead of Paragraph*
8832         Adjust several functions.
8833
8834         * text.C (transformChar): change to take a ParagraphList::iterator
8835         instead of Paragraph*
8836         (singleWidth): ditto
8837         Adjust several functions.
8838
8839         * rowpainter.C: adjust several functions
8840         * rowpainter.h:store a ParagraphList::iterator and not a
8841         Paragraph&.
8842
8843
8844 2003-04-09  John Levon  <levon@movementarian.org>
8845
8846         * lyxfunc.C:
8847         * lfuns.h:
8848         * LyXAction.h:
8849         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8850         and the "help" bits as well
8851
8852 2003-04-09  John Levon  <levon@movementarian.org>
8853
8854         * ToolbarBackend.h:
8855         * ToolbarBackend.C: allow multiple toolbars
8856
8857 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8858
8859         * undo_funcs.C (setCursorParUndo): adjust
8860
8861         * text_funcs.C (transposeChars): adjust
8862
8863         * text3.C (gotoNextInset): adjust
8864         (dispatch): adjust
8865
8866         * text2.C (setLayout): adjust
8867         (changeDepth): adjust
8868         (setFont): adjust
8869         (redoParagraphs): adjust
8870         (selectionAsString): adjust
8871         (setParagraph): adjust
8872         (insertInset): adjust
8873         (cutSelection): adjust
8874         (copySelection): adjust
8875         (pasteSelection): adjust
8876         (insertStringAsLines): adjust
8877         (updateInset): adjust
8878         (setCursor): change to take a ParagraphList::iterator parameter
8879         (setCursorIntern): change to take a ParagraphList::iterator parameter
8880         (setCurrentFont): adjust
8881         (cursorLeft): adjust
8882         (cursorRight): adjust
8883         (deleteEmptyParagraphMechanism): adjust
8884
8885         * text.C (breakParagraph): adjust
8886         (insertChar): adjust
8887         (acceptChange): adjust
8888         (rejectChange): adjust
8889         (selectNextWordToSpellcheck): adjust
8890         (changeCase): adjust
8891         (Delete): adjust
8892         (backspace): adjust
8893
8894         * lyxfind.C (SearchForward): adjust
8895         (SearchBackward): adjust
8896         (nextChange): adjust
8897
8898         * lyxcursor.C (par): adjust
8899
8900         * lyxcursor.h: store a ParagraphList::iterator instead of a
8901         Paragraph*
8902
8903         * lyx_cb.C (getPossibleLabel): adjust
8904
8905         * bufferview_funcs.C (toggleAndShow): adjust
8906
8907         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8908         (dispatch): adjust
8909
8910         * BufferView.C (removeAutoInsets): adjust
8911         (lockedInsetStoreUndo): adjust
8912
8913 2003-04-09  John Levon  <levon@movementarian.org>
8914
8915         * ToolbarBackend.C: try icon without argument
8916         if with argument fails
8917
8918 2003-04-08  John Levon  <levon@movementarian.org>
8919
8920         * ToolbarBackend.h:
8921         * ToolbarBackend.C: add getIcon(), handle tooltip,
8922         and change from "Icon" to "Item".
8923
8924 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8925
8926         * BufferView.C (lockInset): another bad getchar crunched
8927
8928 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8929
8930         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8931         again)
8932
8933 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8934
8935         * lyxfind.C (searchForward, searchBackwards): bug 782
8936
8937 2003-04-07  John Levon  <levon@movementarian.org>
8938
8939         * paragraph.C: remove dead comment
8940
8941         * text.C: remove troublesome depth-fiddling code
8942         in leftMargin() and rightMargin() (bug 1017)
8943
8944         * text.C: fix breaking of rows in nested lists
8945         (bug 1004)
8946
8947         * text2.C (updateCounters): fix up depth values
8948         (bug 1013)
8949
8950 2003-04-07  John Levon  <levon@movementarian.org>
8951
8952         * BufferView_pimpl.C: clear message when doc finishes resizing,
8953         and after a mouse event
8954
8955         * lyxfunc.C: clear message after exiting inset
8956
8957 2003-04-07  John Levon  <levon@movementarian.org>
8958
8959         * bufferview_funcs.C: show math status not outside
8960         status in the statusbar
8961
8962 2003-04-07  John Levon  <levon@movementarian.org>
8963
8964         * lyxfunc.C: note status changed after a depth change
8965
8966 2003-04-04  Angus Leeming  <leeming@lyx.org>
8967
8968         * LaTeX.h: move AuxInfo operator==, != out of line.
8969         Remove LaTeX virtual destructor; nothing derives from it.
8970         Move operator()() out of public area and rename it startscript().
8971         Change protected for private.
8972
8973 2003-04-04  Angus Leeming  <leeming@lyx.org>
8974
8975         * lyxfunc.C:
8976         * text2.C: remove unneeded #includes.
8977
8978 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8979
8980         * text2.C (dEPM): fix the heigth of the next row
8981
8982 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8983
8984         * text.C: squashed an invalid getChar requester + some ws changes
8985
8986 2003-04-03  John Levon  <levon@movementarian.org>
8987
8988         * bufferview_funcs.h:
8989         * bufferview_funcs.C:
8990         * lyxfunc.C:
8991         * lyxtext.h:
8992         * text2.C: make getStatus work for the env depth lfuns
8993
8994 2003-04-03  John Levon  <levon@movementarian.org>
8995
8996         * bufferview_funcs.h:
8997         * bufferview_funcs.C:
8998         * lyxfunc.C:
8999         * lyxtext.h:
9000         * text2.C: parlistize decDepth(), by merging it with incDepth()
9001
9002 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9003
9004         * lyxrow.h: store a ParagraphList::iterator instead of a
9005         Paragraph* and adjust other class functions to suit.
9006
9007         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9008         above.
9009
9010 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9011
9012         * text2.C (setCursor): do not anchor to cursor row for the time being
9013
9014 2003-04-02  John Levon  <levon@movementarian.org>
9015
9016         * LyXAction.C:
9017         * lfuns.h:
9018         * lyx_main.C:
9019         * lyxtext.h:
9020         * text.C:
9021         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9022
9023 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9024
9025         * paragraph.h: make ParagraphList and ParagraphList::iterator
9026         friends of Paragraph.
9027
9028         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9029
9030         * ParagraphList.C: Use the private next_ and previous_ from
9031         Paragraph.
9032
9033 2003-04-01  John Levon  <levon@movementarian.org>
9034
9035         * ToolbarBackend.h:
9036         * ToolbarBackend.C:
9037         * Makefile.am: rename, remove defaults gunk
9038
9039         * MenuBackend.h:
9040         * MenuBackend.C: remove defaults gunk
9041
9042         * Languages.h:
9043         * Languages.C: remove defaults gunk
9044
9045         * lyx_main.h:
9046         * lyx_main.C: error out if files couldn't be found.
9047
9048 2003-04-02  John Levon  <levon@movementarian.org>
9049
9050         * text2.C: make incDepth() use parlist
9051
9052 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9053
9054         * undo_funcs.C (firstUndoParagraph): adjust
9055
9056         * text3.C (gotoInset): adjust
9057         (dispatch): adjust, and rewrite loop.
9058
9059         * text2.C (init): adjust, and rewrite loop.
9060         (redoParagraphs): adjust
9061         (updateInset): adjust, and rewrite loop.
9062         (deleteEmptyParagraphMechanism): adjust
9063
9064         * tabular.C (LyXTabular): adjust
9065         (SetMultiColumn): adjust
9066         (TeXRow): adjust
9067
9068         * lyxtext.[Ch] (ownerParagraph): delete function
9069         (ownerParagraphs): new function returns a ParagraphList.
9070
9071         * BufferView.C (removeAutoInsets): adjust
9072         (insertErrors): adjust
9073         (setCursorFromRow): adjust
9074
9075 2003-04-01  Angus Leeming  <leeming@lyx.org>
9076
9077         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9078         in the frontends.
9079
9080 2003-04-02  John Levon  <levon@movementarian.org>
9081
9082         * lyxtext.h:
9083         * text.C:
9084         * Makefile.am:
9085         * text_funcs.h:
9086         * text_funcs.C: make transposeChars a free function
9087
9088         * lyxrow_funcs.C: remove wrong comment
9089
9090 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9091
9092         * lyxtext.h: adjust
9093         * rowpainter.C: adjust
9094         * text.C: adjust
9095         * text2.C: adjust
9096         * text3.C: adjust
9097
9098         * lyxrow_funcs. [Ch]: new files
9099
9100         * lyxrow.[Ch]: remove next and previous pointers
9101         (next,previous): remove accessor functions
9102         (isParEnd): move to lyxrow_funcs
9103         (lastPos): move to lyxrow_funcs
9104         (nextRowIsAllInset): move to lyxrow_funcs
9105         (lastPrintablePos): move to lyxrow_funcs
9106         (numberOfSeparators): move to lyxrow_funcs
9107         (numberOfHfills): move to lyxrow_funcs
9108         (numberOfLabelHfills): move to lyxrow_funcs
9109         (hfillExpansion): move to lyxrow_funcs
9110
9111         * lyxfunc.C: adjust
9112
9113         * bufferview_funcs.C (toggleAndShow): adjust
9114
9115         * RowList.h: Remove class RowList from file leave just a
9116         std::list<Row>.
9117
9118         * RowList.C: delete file
9119
9120         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9121         and lyxrow_funcs.h
9122
9123 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9124
9125         * text3.C (cursorPrevious): adjust
9126         (cursorNext): adjust
9127         (dispatch): adjust
9128
9129         * text2.C (redoHeightOfParagraph): adjust
9130         (redoDrawingOfParagraph): adjust
9131         (setCursor): adjust
9132
9133         * text.C (breakParagraph): adjust
9134         (insertChar): adjust
9135         (backspace): adjust
9136
9137         * rowpainter.C (RowPainter): adjust
9138         (leftMargin): simplify and adjust
9139         (most rowpainter functions): adjust.
9140
9141         * rowpainter.h: store the row as RowList::iterator not as Row*
9142
9143         * lyxcursor.C (row): taka RowList::iterator as arg
9144         (irow): ditto
9145
9146         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9147         of Row*.
9148
9149 2003-04-01  Angus Leeming  <leeming@lyx.org>
9150
9151         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9152         stuff like bool Bool.
9153
9154 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9155
9156         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9157         rewrite a loop
9158
9159 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9160
9161         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9162         RowList::iterator.
9163
9164         * lyxtext.h (rows): drop one version and leve a const variant that
9165         returns a RowList::iterator.
9166
9167 2003-03-31  Angus Leeming  <leeming@lyx.org>
9168
9169         * text.C (fill): ensure that the signature is the same as that in the
9170         header file.
9171
9172 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9173
9174         * text2.C (redoParagraphs): adjust
9175         (updateCounters): adjust
9176         (checkParagraph): adjust
9177         (getColumnNearX): adjust and reformat a bit.
9178
9179         * text.C (top_y): adjust
9180         (workWidth): adjust
9181         (leftMargin): adjust
9182         (prepareToPrint): adjust
9183         (getRow): adjust
9184         (getRowNearY): adjust
9185
9186         * lyxtext.h: make rowlist_ mutable.
9187
9188         * RowList.h: add const_iterator
9189         * RowList.C: adjust for RowList::const_iterator.
9190
9191         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9192         adjust.
9193
9194 2003-03-31  John Levon  <levon@movementarian.org>
9195
9196         * lyxrc.h:
9197         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9198
9199         * lyx_main.C: set default fonts from using lyx_gui funcs
9200
9201         * exporter.C: pdf_mode moved from lyxrc
9202
9203         * lyx_cb.C:
9204         * lyxfunc.C: changes from above
9205
9206 2003-03-31  John Levon  <levon@movementarian.org>
9207
9208         * lyx_main.C: fix to the last fix
9209
9210 2003-03-31  John Levon  <levon@movementarian.org>
9211
9212         * bufferlist.C: "Load original" -> "Load Original"
9213
9214         * converter.C:
9215         * exporter.C:
9216         * importer.C:
9217         * lyx_main.C:
9218         * format.C: more Alert cleanups
9219
9220 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9221
9222         * text2.C (removeParagraph): make it take a RowList::iterator as
9223         arg, adjust.
9224         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9225         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9226
9227         * text.C (anchor_row): make it take a RowList::iterator as arg,
9228         adjust.
9229         (computeBidiTables): make it take a const reference to Row instead
9230         of Row pointer, adjust.
9231         (leftMargin): make it take a RowList::iterator as arg, adjust.
9232         (rowBreakPoint): adjust
9233         (breakAgainOneRow): make it take a RowList::iterator as arg,
9234         adjust.
9235         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9236
9237         * bufferview_funcs.C (toggleAndShow): adjust
9238
9239 2003-03-30  John Levon  <levon@movementarian.org>
9240
9241         * Makefile.am:
9242         * BoostFormat.h:
9243         * boost-inst.C: moved to support
9244
9245         * several files: changes as a result
9246
9247 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9248
9249         * text2.C (LyXText): adjust.
9250         (init): adjust
9251         (removeRow): make it take a RowList::iterator as arg, adjust.
9252         (fullRebreak): adjust
9253         (deleteEmptyParagraphMechanism): adjust
9254         (clearPaint): adjust
9255         (postPaint): adjust
9256
9257         * text.C (top_y): adjust
9258         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9259         (breakAgain): make it take a RowList::iterator as arg, adjust.
9260         (breakParagraph): adjust
9261         (insertChar): adjust
9262         (backspace): adjust
9263
9264         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9265         need_break_row, and refresh_row.
9266
9267         * text3.C (dispatch): adjust
9268
9269         * text2.C (checkParagraph): adjust
9270         (setCursor): adjust
9271         (setCursorFromCoordinates): adjust
9272
9273         * text.C (top_y): adjust
9274         (workWidth): adjust
9275         (getRow): make it return a RowList::iterator, adjust
9276         (getRowNearY): make it return a RowList::iterator, adjust
9277
9278         * text2.C (init): adjust
9279         (insertRow): remove function
9280         (insertParagraph): adjust
9281         (redoParagraphs): adjust
9282         (fullRebreak): adjust
9283         (updateCounters): adjust
9284
9285         * text.C (top_y): rewrite to use RowList iterators.
9286         (top_y): adjust
9287         (setHeightOfRow): rewrite to sue RowList iterators.
9288         (appendParagraph): adjust
9289         (breakAgain): adjust
9290         (breakAgainOneRow): adjust
9291         (breakParagraph): adjust
9292         (getRow): adjust
9293         (getRowNearY): adjust, and remove commented code.
9294
9295         * lyxtext.h (firstRow): delete function
9296         (lastRow): delete function
9297         (rows): new function (const and non-const versions.)
9298         (insertRow): delete function
9299
9300         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9301
9302 2003-03-29  John Levon  <levon@movementarian.org>
9303
9304         * BufferView_pimpl.C: always update scrollbar top
9305         because pasting text when we're anchored could mean we
9306         miss an update altogether
9307
9308 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9309
9310         * text2.C (init): use rowlist_.end() and not 0.
9311         (insertRow): change to take a RowList::iterator as arg, adjust
9312         for this.
9313         (insertParagraph): change to take a RowList::iterator as arg,
9314         adjust for this.
9315         (redoParagraphs): remove some debug msgs.
9316
9317         * text.C (appendParagraph): change to take a RowList::iterator
9318         arg, adjust for this.
9319         (breakAgain): add an assert
9320         (breakAgainOneRow): ditto
9321
9322 2003-03-29  John Levon  <levon@movementarian.org>
9323
9324         * text2.C: do not clear selection after inc/decDepth
9325         (bug 550)
9326
9327 2003-03-29  John Levon  <levon@movementarian.org>
9328
9329         * BufferView.C:
9330         * buffer.C: fix broken strerrors according to Lars
9331
9332 2003-03-29  John Levon  <levon@movementarian.org>
9333
9334         * converters.C: more Alert cleanups
9335
9336 2003-03-29  John Levon  <levon@movementarian.org>
9337
9338         * bufferview_funcs.C: remove pointless Alert
9339
9340         * buffer.C: fix confusing error message when
9341         a template is chmoded 000
9342
9343 2003-03-29  John Levon  <levon@movementarian.org>
9344
9345         * BufferView.C:
9346         * BufferView.h:
9347         * BufferView_pimpl.C: Alert fixes
9348
9349         * Makefile.am:
9350         * tabular.C:
9351         * tabular-old.C: remove unused table compat reading
9352
9353 2003-03-29  John Levon  <levon@movementarian.org>
9354
9355         * BufferView.C:
9356         * buffer.C:
9357         * lyx_cb.h:
9358         * lyx_cb.C: more Alert cleanups
9359
9360         * lyxfunc.C: don't allow chktex if not latex document
9361
9362 2003-03-29  John Levon  <levon@movementarian.org>
9363
9364         * lyx_cb.C:
9365         * BufferView.C:
9366         * buffer.C: warnings pushed down from support/,
9367         kill err_alert
9368
9369 2003-03-29  John Levon  <levon@movementarian.org>
9370
9371         * lyxfunc.C: safety check for C-r (revert)
9372
9373 2003-03-29  John Levon  <levon@movementarian.org>
9374
9375         * bufferlist.h:
9376         * bufferlist.C: several UI fixes using Alert::prompt.
9377         Fix the pointless looping quit code. Fix stupid revert
9378         behaviour (bug 938)
9379
9380         * lyxvc.h:
9381         * lyxvc.C:
9382         * lyx_cb.C: use Alert::prompt
9383
9384         * lyx_main.C: remove a silly question
9385
9386         * lyxfunc.C: remove a couple of silly questions,
9387         use Alert::prompt
9388
9389 2003-03-28  John Levon  <levon@movementarian.org>
9390
9391         * text2.C: fix bug 974 (End on empty par)
9392
9393 2003-03-28  John Levon  <levon@movementarian.org>
9394
9395         * BufferView_pimpl.C:
9396         * LyXAction.C:
9397         * lfuns.h: remove do-nothing math greek lfuns
9398
9399 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9400
9401         * lyxgluelength.h (isValidGlueLength): add default arg on
9402         parameter 2. Remove default arg from friend in class.
9403
9404         * lyxlength.h (isValidLength): add default arg on parameter 2.
9405         Remove default arg from friend in class.
9406
9407         * text2.C (LyXText): adjust, initialize refresh_row.
9408         (init): adjust
9409         (removeRow): adjust
9410         (insertRow): adjust
9411         (insertParagraph): adjst
9412         (redoParagraphs): adjust
9413         (fullRebreak): adjust
9414         (updateCounters): adjust
9415         (deleteEmptyParagraphMechanism): first attempt at fixing a
9416         crashing bug.
9417
9418         * text.C (top_y): adjust
9419         (setHeightOfRow): adjust
9420         (getRow): adjust
9421         (getRowNearY): adjust
9422
9423         * lyxtext.h: include RowList.h
9424         (~LyXText): not needed anymore, deleted.
9425         (firstRow): modify for RowList
9426         (lastRow): new function
9427         Delete firstrow and lastrow class variables, add a Rowlist
9428         rowlist_ class variable.
9429
9430         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9431         paragraph is empty.
9432
9433         * RowList.C (insert): fix case where it == begin().
9434
9435 2003-03-26  Angus Leeming  <leeming@lyx.org>
9436
9437         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9438         the thesaurus dialog.
9439
9440 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9441
9442         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9443
9444         * RowList.[Ch]: new files
9445
9446         * ParagraphList.C (erase): handle the case where it == begin
9447         correctly.
9448
9449 2003-03-25  John Levon  <levon@movementarian.org>
9450
9451         * Makefile.am:
9452         * aspell_local.h:
9453         * aspell.C: add new aspell support
9454
9455         * lyxrc.h:
9456         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9457         have it accessible.
9458
9459 2003-03-25  Angus Leeming  <leeming@lyx.org>
9460
9461         * lfuns.h:
9462         * LyXAction.C (init): new LFUN_INSET_INSERT.
9463
9464         * BufferView_pimpl.C (dispatch): split out part of the
9465         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9466
9467         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9468         LFUN_INSET_APPLY.
9469
9470 2003-03-25  Angus Leeming  <leeming@lyx.org>
9471
9472         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9473
9474 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9475
9476         * text2.C:
9477         * text3.C: remove useless row->height(0)
9478
9479 2003-03-25  John Levon  <levon@movementarian.org>
9480
9481         * lyxtext.h:
9482         * text2.C:
9483         * text3.C: rename the refreshing stuff to better names
9484
9485 2003-03-24  John Levon  <levon@movementarian.org>
9486
9487         * BufferView_pimpl.h:
9488         * BufferView_pimpl.C: update layout choice on a mouse
9489         press/release
9490
9491 2003-03-23  John Levon  <levon@movementarian.org>
9492
9493         * Makefile.am: fix commandtags.h reference
9494
9495 2003-03-22  John Levon  <levon@movementarian.org>
9496
9497         * BufferView_pimpl.C:
9498         * lyxtext.h:
9499         * rowpainter.C:
9500         * rowpainter.h:
9501         * text.C:
9502         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9503
9504 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9505
9506         * lyxtext.h:
9507         * text.C: take the rtl methods out of line
9508
9509 2003-03-21 André Pönitz <poenitz@gmx.net>
9510
9511         * metricsinfo.[Ch]: new files containing structures to be passed around
9512         during the two-phase-drawing...
9513
9514 2003-03-21 André Pönitz <poenitz@gmx.net>
9515
9516         * lyxtextclass.C: read 'environment' tag.
9517
9518 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9519
9520         * text2.C (removeRow): fix bug 964
9521
9522 2003-03-20  John Levon  <levon@movementarian.org>
9523
9524         * rowpainter.C:
9525         * text.C:
9526         * text2.C: paint cleanups. Inset::update() dropped font
9527         parameter
9528
9529 2003-03-19  John Levon  <levon@movementarian.org>
9530
9531         * lyxfunc.C: only fitcursor/markDirty if available()
9532
9533 2003-03-19  John Levon  <levon@movementarian.org>
9534
9535         * commandtags.h: rename to ...
9536
9537         * lfuns.h: ... this, and renumber / cleanup
9538
9539 2003-03-19  John Levon  <levon@movementarian.org>
9540
9541         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9542         fit the cursor after an lfun
9543
9544         * BufferView.h:
9545         * BufferView.C:
9546         * BufferView_pimpl.h:
9547         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9548
9549         * LyXAction.C: layout-character should have ReadOnly
9550
9551         * ParagraphParameters.C:
9552         * buffer.C:
9553         * bufferview_funcs.C:
9554         * lyx_cb.C:
9555         * lyxfind.C:
9556         * lyxtext.h:
9557         * text.C:
9558         * text2.C:
9559         * text3.C:
9560         * undo_funcs.C: changes from above
9561
9562 2003-03-18  John Levon  <levon@movementarian.org>
9563
9564         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9565         remove it from update()
9566
9567         * lyxfunc.C: update layout choice after an lfun
9568
9569         * text3.C: remove extra updateLayoutChoice()s
9570
9571 2003-03-18  John Levon  <levon@movementarian.org>
9572
9573         * text.C: top_y change means full repaint, fix
9574         a drawing bug with cursor movement
9575
9576 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9577
9578         * lyxtext.h:
9579         * text.C:
9580         * text2.C: anchor row on setCursor
9581
9582 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9583
9584         * lyxtext.h: remove almost all mutable keywords
9585         * text.C:
9586         * text2.C:
9587         * text3.C: remove const keywords accordingly
9588
9589 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9590
9591         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9592         anon namespace
9593         (TeXEnvironment): ditto
9594         (TeXOnePar): ditto
9595
9596 2003-03-17  John Levon  <levon@movementarian.org>
9597
9598         * text.C (rowBreakPoint): remove attempt to fix displayed
9599         math insets inside a manual label
9600
9601 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9602
9603         * lyxtext.h: remove BufferView* as first arg from almost all class
9604         functions.
9605         * other files: adjust.
9606
9607 2003-03-17  John Levon  <levon@movementarian.org>
9608
9609         * lyxtext.h:
9610         * undo_funcs.C:
9611         * text2.C: more paint cleanups
9612
9613         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9614
9615         * rowpainter.h:
9616         * rowpainter.C: remove "smart" background painting code
9617
9618 2003-03-16  John Levon  <levon@movementarian.org>
9619
9620         * lyxtext.h:
9621         * text.C:
9622         * text2.C:
9623         * text3.C: add helper functions for setting refresh_row/y
9624
9625 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9626
9627         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9628         newline inset which *can* get inserted in the pass_thru layouts.
9629         This is primarily for literate documents.
9630
9631 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9632
9633         * buffer.C: increment LYX_FORMAT to 223
9634
9635 2003-03-14 André Pönitz <poenitz@gmx.net>
9636
9637         * textclass.h: prepare for environment handling, ws changes
9638         * lyxlayout.C: read latexheader and latexfooter tags
9639
9640 2003-03-14  John Levon  <levon@movementarian.org>
9641
9642         * text2.C: rewrite ::status() a bit
9643
9644 2003-03-13  John Levon  <levon@movementarian.org>
9645
9646         * lyxtext.h: add some docs
9647
9648 2003-03-13  John Levon  <levon@movementarian.org>
9649
9650         * lyxtext.h:
9651         * text.C:
9652         * text2.C:
9653         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9654
9655 2003-03-13  John Levon  <levon@movementarian.org>
9656
9657         * text3.C: fix appendix redrawing
9658
9659 2003-03-13  John Levon  <levon@movementarian.org>
9660
9661         * text.C (setHeightOfRow):
9662         * rowpainter.h:
9663         * rowpainter.C: make appendix mark have the text
9664           "Appendix" so the user knows what it is
9665
9666         * LColor.h:
9667         * LColor.C: s/appendixline/appendix/ from above
9668
9669 2003-03-13  John Levon  <levon@movementarian.org>
9670
9671         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9672
9673         * text.C: fix a getChar(pos) bug properly
9674
9675 2003-03-13  Angus Leeming  <leeming@lyx.org>
9676
9677         * commandtags.h:
9678         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9679         Probably only temporary. Let's see how things pan out.
9680
9681         * BufferView.C (unlockInset):
9682         * BufferView_pimpl.C (fitCursor):
9683         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9684
9685         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9686         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9687
9688         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9689         new functions that convert ParagraphParameters to and from a string.
9690
9691         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9692         BufferView::Pimpl's dispatch.
9693         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9694
9695 2003-03-13 André Pönitz <poenitz@gmx.net>
9696
9697         * lyxfunc.C:
9698         * text3.C:
9699         * factory.C: make it aware of InsetEnv
9700
9701 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9702
9703         * text2.C (setCursor): never ask for one past last
9704         (setCursor): add some debugging messages.
9705
9706         * text.C (singleWidth): never ask for one past last
9707         (singleWidth): ditto
9708         (leftMargin): ditto
9709         (rightMargin): ditto
9710         (rowBreakPoint): ditto
9711         (setHeightOfRow): ditto
9712         (prepareToPrint): ditto
9713
9714         * rowpainter.C (paintBackground): never ask for one past last
9715         (paintText): never ask for one past last
9716
9717         * paragraph_pimpl.C (getChar): make the assert stricter, never
9718         allow the one past last pos to be taken
9719
9720         * paragraph.C (getChar): ws changes only
9721
9722         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9723         (numberOfSeparators): ditto
9724         (numberOfHfills): ditto
9725
9726 2003-03-12  John Levon  <levon@movementarian.org>
9727
9728         * author.h:
9729         * author.C:
9730         * bufferparams.h:
9731         * bufferparams.C:
9732         * paragraph_funcs.C: fix per-buffer authorlists
9733
9734 2003-03-12  John Levon  <levon@movementarian.org>
9735
9736         * text.C: fix newline in right address
9737
9738 2003-03-12  Angus Leeming  <leeming@lyx.org>
9739
9740         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9741         duplicate those in LyXFunc::dispatch.
9742
9743         * commandtags.h:
9744         * LyXAction.C:
9745         * ToolbarDefaults.C:
9746         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9747         Add LFUN_FONTFREE_UPDATE.
9748
9749         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9750         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9751
9752         * bufferview_func.[Ch]: several new functions to facilliate
9753         transfer of data to and from the character dialog.
9754
9755 2003-03-12  John Levon  <levon@movementarian.org>
9756
9757         * buffer.C:
9758         * paragraph.h:
9759         * paragraph.C:
9760         * paragraph_funcs.C:
9761         * paragraph_pimpl.C:
9762         * sgml.C:
9763         * tabular.C:
9764         * text.C:
9765         * text3.C: remove META_NEWLINE in favour of an inset
9766
9767         * rowpainter.h:
9768         * rowpainter.C: remove paintNewline (done by inset)
9769
9770 2003-03-12  John Levon  <levon@movementarian.org>
9771
9772         * paragraph_pimpl.C: complain about bad getChar()s
9773         for a while at least
9774
9775 2003-03-12  John Levon  <levon@movementarian.org>
9776
9777         * buffer.h:
9778         * buffer.C: move paragraph read into a separate function,
9779         a little renaming to reflect that.
9780
9781         * bufferparams.h:
9782         * bufferparams.C: remove the author_ids map, not necessary now
9783
9784         * factory.h:
9785         * factory.C: moved Buffer::readInset to here
9786
9787         * paragraph_funcs.h:
9788         * paragraph_funcs.C: readParagraph free function moved from
9789         buffer.C
9790
9791         * tabular.C: name change
9792
9793 2003-03-12  John Levon  <levon@movementarian.org>
9794
9795         * buffer.C:
9796         * ParagraphParameters.C: move par params input to
9797         a read() method
9798
9799         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9800         behave like a normal read from the stream wrt reading
9801         a line vs. a \\token
9802
9803 2003-03-12  John Levon  <levon@movementarian.org>
9804
9805         * paragraph.C:
9806         * ParagraphParameters.h:
9807         * ParagraphParameters.C: move output code to a
9808         ::write() method
9809
9810 2003-03-12  John Levon  <levon@movementarian.org>
9811
9812         * BufferView.C (insertLyXFile):
9813         * buffer.h:
9814         * buffer.C:
9815         * tabular.C: use a parlist iterator for creating the
9816           document.
9817
9818 2003-03-12  John Levon  <levon@movementarian.org>
9819
9820         * buffer.C: make current_change static local not
9821           static file-scope
9822
9823 2003-03-12  John Levon  <levon@movementarian.org>
9824
9825         * buffer.C: fix insertStringAsLines for change tracking
9826
9827 2003-03-12  John Levon  <levon@movementarian.org>
9828
9829         * BufferView.C:
9830         * tabular.C:
9831         * buffer.h:
9832         * buffer.C:
9833         * bufferparams.h:
9834         * bufferparams.C: move author list into params. Rename some
9835           functions. Move the header reading into a separate token
9836           loop. Move the header token reading into BufferParams.
9837
9838 2003-03-12  John Levon  <levon@movementarian.org>
9839
9840         * changes.C: put debug inside lyxerr.debugging() checks
9841
9842 2003-03-11 André Pönitz <poenitz@gmx.net>
9843
9844         * factory.C: make it aware of InsetHFill
9845
9846 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9847
9848         * buffer.C (latexParagraphs): move function from here...
9849         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9850         args.
9851
9852 2003-03-10  Angus Leeming  <leeming@lyx.org>
9853
9854         * LyXAction.C (init): fix bug in poplating array with multiple entries
9855         with the same LFUN (spotted by JMarc).
9856
9857 2003-03-10  John Levon  <levon@movementarian.org>
9858
9859         * text.C:
9860         * text2.C: move getColumnNearX() near its
9861         only call site
9862
9863 2003-03-10  John Levon  <levon@movementarian.org>
9864
9865         * text.C: fix break before a minipage
9866
9867 2003-03-10  John Levon  <levon@movementarian.org>
9868
9869         * text.C: fix the last commit
9870
9871 2003-03-09  John Levon  <levon@movementarian.org>
9872
9873         * lyxtext.h:
9874         * text.C:
9875         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9876         bug 365 (don't break before insets unless needed). Don't
9877         return a value > last under any circumstances.
9878
9879 2003-03-09  Angus Leeming  <leeming@lyx.org>
9880
9881         * BufferView_pimpl.C (trackChanges, dispatch): call
9882         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9883
9884 2003-03-09  Angus Leeming  <leeming@lyx.org>
9885
9886         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9887         than Dialogs::showAboutlyx().
9888
9889 2003-03-09  Angus Leeming  <leeming@lyx.org>
9890
9891         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9892         than Dialogs::showTabularCreate().
9893
9894 2003-03-09  John Levon  <levon@movementarian.org>
9895
9896         * lyxtext.h:
9897         * text.C:
9898         * text2.C: 3rd arg to nextBreakPoint was always the same.
9899           Use references.
9900
9901 2003-03-08  John Levon  <levon@movementarian.org>
9902
9903         * lyxrow.C:
9904         * paragraph.C:
9905         * paragraph.h:
9906         * rowpainter.C:
9907         * text.C:
9908         * text2.C: Remove the "main" bit from the "main body"
9909           notion.
9910
9911 2003-03-08  John Levon  <levon@movementarian.org>
9912
9913         * text.C (leftMargin): The left margin of an empty
9914         manual label paragraph should not include the label width
9915         string length.
9916
9917         * text.C (prepareToPrint): don't attempt to measure hfills
9918         for empty manual label paragraphs - the answer should be 0
9919
9920 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9921
9922         * CutAndPaste.C: remove commented code and reindent.
9923
9924 2003-03-08  John Levon  <levon@movementarian.org>
9925
9926         * lyxfunc.h:
9927         * lyxfunc.C: move reloadBuffer()
9928
9929         * BufferView.h:
9930         * BufferView.C: to here
9931
9932         * lyxvc.C: add comment
9933
9934         * vc-backend.h:
9935         * vc-backend.C: call bv->reload() to avoid
9936           getStatus() check on MENURELOAD
9937
9938 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9939
9940         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9941         to an old format .dep file.
9942
9943 2003-03-07  Angus Leeming  <leeming@lyx.org>
9944
9945         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9946         when the LFUN_MOUSE_RELEASE should have been handled by
9947         inset->localDispatch.
9948
9949 2003-03-07  Angus Leeming  <leeming@lyx.org>
9950
9951         * BufferView_pimpl.C (dispatch):
9952         * LyXAction.C (init):
9953         * ToolbarDefaults.C (init):
9954         * commandtags.h:
9955         * lyxfunc.C (getStatus):
9956         remove LFUN_INSET_GRAPHICS.
9957
9958         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9959
9960 2003-03-07  Angus Leeming  <leeming@lyx.org>
9961
9962         * commandtags.h:
9963         * LyXAction.C (init):
9964         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9965
9966         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9967
9968         * commandtags.h:
9969         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9970
9971         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9972         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9973
9974 2003-03-07  Angus Leeming  <leeming@lyx.org>
9975
9976         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9977         remove "ert".
9978
9979 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9980
9981         * ParagraphList.C (front): new function
9982         (back): implement
9983
9984 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9985
9986         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9987         and top_row_offset_. removed var first_y.
9988         * text.C (top_y):
9989         * text2.C (LyXText, removeRow):
9990         * text3.C:
9991         * BufferView_pimpl.C:
9992         use these methods instead of using first_y
9993
9994 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9995
9996         * text2.C (pasteSelection): adjust for checkPastePossible
9997
9998         * CutAndPaste.C: remove Paragraph * buf and replace with
9999         ParagraphList paragraphs.
10000         (DeleteBuffer): delete
10001         (cutSelection): change the tc type to textclass_type
10002         (copySelection): change the tc type to textclass_type
10003         (copySelection): adjust for ParagraphList
10004         (pasteSelection): change the tc type to textclass_type
10005         (pasteSelection): adjust for Paragraphlist
10006         (nrOfParagraphs): simplify for ParagraphList
10007         (checkPastePossible): simplify for ParagraphList
10008         (checkPastePossible): remove unused arg
10009
10010         * ParagraphList.C (insert): handle the case where there are no
10011         paragraphs yet.
10012
10013         * CutAndPaste.h: make CutAndPaste a namespace.
10014
10015         * text3.C (dispatch): adjust
10016
10017         * text.C (breakParagraph): add a ParagraphList as arg
10018
10019         * paragraph_funcs.C (breakParagraph): change to take a
10020         BufferParams and a ParagraphList as args.
10021         (breakParagraphConservative): ditto
10022         (mergeParagraph): ditto
10023         (TeXDeeper): add a ParagraphList arg
10024         (TeXEnvironment): ditto
10025         (TeXOnePar): ditto
10026
10027         * buffer.C (readLyXformat2): adjust
10028         (insertStringAsLines): adjust
10029         (latexParagraphs): adjust
10030
10031         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10032         (cutSelection): adjust
10033         (pasteSelection): adjust
10034
10035         * BufferView_pimpl.C (insertInset): adjust
10036
10037 2003-03-05  Angus Leeming  <leeming@lyx.org>
10038
10039         * commandtags.h:
10040         * LyXAction.C (init):
10041         * BufferView_pimpl.C (dispatch):
10042         * lyxfunc.C (getStatus):
10043         remove LFUN_CHILD_INSERT.
10044
10045         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10046
10047 2003-03-05  Angus Leeming  <leeming@lyx.org>
10048
10049         * commandtags.h:
10050         * LyXAction.C (init):
10051         * src/factory.C (createInset):
10052         * lyxfunc.C (getStatus):
10053         * text3.C (dispatch):
10054         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10055
10056         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10057
10058 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10059
10060         * ParagraphList.C (insert): handle insert right before end()
10061         (erase): fix cases where it can be first or last paragraph.
10062
10063 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10064
10065         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10066         Paragraph::next and Paragraph::previous
10067         (TeXOnePar): ditto
10068
10069         * text.C (breakParagraph): adjust
10070
10071         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10072         BufferParams& as arg.
10073         (breakParagraph): use ParagraphList::insert
10074         (breakParagraphConservative): take a Buffer* instead of a
10075         BufferParams& as arg.
10076         (breakParagraphConservative): use ParagraphList::insert.
10077
10078         * buffer.C (insertStringAsLines): un-const it
10079         (insertStringAsLines): adjust
10080
10081         * ParagraphList.C (insert): new function
10082
10083         * CutAndPaste.C (pasteSelection): adjust
10084
10085         * text.C (backspace): adjust
10086
10087         * tabular.C (SetMultiColumn): adjust
10088
10089         * CutAndPaste.C (cutSelection): adjust
10090         (pasteSelection): adjust
10091
10092         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10093         Buffer const * as arg
10094
10095         * ParagraphList.C (erase): new function
10096         * paragraph_funcs.C (mergeParagraph): use it
10097         (mergeParagraph): make it take a Buffer* instead of a
10098         BufferParams* as arg
10099
10100         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10101         as arg
10102         (breakParagraphConservative): ditto
10103
10104         * paragraph.h: remove the breakParagraph friend
10105
10106         * paragraph.C (eraseIntern): new function
10107         (setChange): new function
10108
10109         * paragraph_funcs.C (mergeParagraph): make it take a
10110         ParagraphList::iterator instead of a Paragraph *, adjust
10111         accordingly.
10112
10113         * paragraph.h: move an #endif so that the change tracking stuff
10114         also works in the NO_NEXT case.
10115
10116 2003-03-04  Angus Leeming  <leeming@lyx.org>
10117
10118         * commandtags.h:
10119         * LyXAction.C: new LFUN_INSET_MODIFY.
10120
10121         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10122         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10123
10124 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10125
10126         * several files: ws changes only
10127
10128         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10129         (TeXEnvironment): ditto
10130         (TeXDeeper): ditto
10131
10132         * buffer.C (makeLaTeXFile): adjust
10133         (latexParagraphs): make it take ParagraphList::iterator as args
10134
10135 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10136
10137         * buffer.C (latexParagraphs): adjust
10138
10139         * paragraph.C (TeXOnePar): move function...
10140         (optArgInset): move function...
10141         (TeXEnvironment): move function...
10142         * paragraph_pimpl.C (TeXDeeper): move function...
10143         * paragraph_funcs.C: ...here
10144
10145         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10146
10147 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10148
10149         * buffer.C (readInset): remove compability code for old Figure and
10150         InsetInfo insets
10151
10152 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10153
10154         * buffer.C: ws changes
10155         (readInset):
10156
10157         * BufferView_pimpl.C: ditto
10158         * author.C: ditto
10159         * buffer.h: ditto
10160         * bufferlist.h: ditto
10161         * changes.h: ditto
10162         * lyxfunc.C: ditto
10163
10164 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10165
10166         * converter.[Ch]: split into itself +
10167         * graph.[Ch]
10168         * format.[Ch]
10169         * Makefile.am: += graph.[Ch] + format.[Ch]
10170         * MenuBackend.C
10171         * buffer.C
10172         * exporter.C
10173         * importer.C
10174         * lyx_main.C
10175         * lyxfunc.C
10176         * lyxrc.C: added #include "format.h"
10177
10178 2003-02-27  Angus Leeming  <leeming@lyx.org>
10179
10180         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10181           a label.
10182
10183         * factory.C (createInset): add "label" to the factory.
10184
10185         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10186           string and do no more.
10187
10188 2003-02-27  Angus Leeming  <leeming@lyx.org>
10189
10190         * commandtags.h:
10191         * LyXAction.C (init):
10192         * factory.C (createInset):
10193         * BufferView_pimpl.C (dispatch):
10194           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10195
10196         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10197
10198         * lyxfunc.C (dispatch):
10199         * text3.C (dispatch): pass name to params2string.
10200
10201 2003-02-26  Angus Leeming  <leeming@lyx.org>
10202
10203         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10204           blocks together.
10205           Rearrange the ~includes. Strip out the unnecessary ones.
10206
10207         * factory.C (createInset): reformat.
10208           create new insets for the various LFUN_XYZ_APPLY lfuns.
10209
10210 2003-02-26  John Levon  <levon@movementarian.org>
10211
10212         * lyxrow.h:
10213         * lyxrow.C: add isParStart,isParEnd helpers
10214
10215         * paragraph.h: make isInserted/DeletedText take refs
10216
10217         * paragraph_funcs.h:
10218         * paragraph_funcs.C: remove #if 0'd code
10219
10220         * lyxtext.h:
10221         * text3.C:
10222         * text2.C:
10223         * text.C: use lyxrow helpers above.
10224           Move draw and paint routines to RowPainter.
10225           Make several methods use refs not pointers.
10226           Make backgroundColor() const.
10227           Add markChangeInDraw(), isInInset().
10228           Merge changeRegionCase into changeCase.
10229           Make workWidth() shouldn't-happen code into an Assert.
10230
10231         * rowpainter.h:
10232         * rowpainter.C: new class for painting a row.
10233
10234         * vspace.h:
10235         * vspace.C: make inPixels take a ref
10236
10237 2003-02-26  Angus Leeming  <leeming@lyx.org>
10238
10239         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10240         LFUN_REF_APPLY.
10241
10242 2003-02-25  John Levon  <levon@movementarian.org>
10243
10244         * ispell.C: give the forked command a more accurate name
10245
10246 2003-02-22  John Levon  <levon@movementarian.org>
10247
10248         * toc.h:
10249         * toc.C: make TocItem store an id not a Paragraph *
10250           (bug #913)
10251
10252 2003-02-21  Angus Leeming  <leeming@lyx.org>
10253
10254         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10255           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10256           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10257           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10258           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10259           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10260
10261         * BufferView_pimpl.C (dispatch):
10262         * LyXAction.C (init):
10263         * factory.C (createInset):
10264         * lyxfunc.C (getStatus, dispatch):
10265         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10266
10267 2003-02-21  Angus Leeming  <leeming@lyx.org>
10268
10269         * BufferView_pimpl.C (MenuInsertLyXFile):
10270         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10271         * lyxfunc.C (menuNew, open, doImport):
10272           no longer pass a LyXView & to fileDlg.
10273
10274 2003-02-21  Angus Leeming  <leeming@lyx.org>
10275
10276         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10277         * LyXAction.C: change, BIBKEY to BIBITEM.
10278         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10279         Change InsetBibKey to InsetBibitem.
10280         Change BIBKEY_CODE to BIBITEM_CODE.
10281         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10282         * factory.C: replace insetbib.h with insetbibitem.h.
10283         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10284         * paragraph.C: replace insetbib.h with insetbibitem.h.
10285         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10286         Change bibkey() to bibitem().
10287         * text.C: remove insetbib.h.
10288         * text2.C: replace insetbib.h with insetbibitem.h.
10289         change bibkey() to bibitem().
10290         * text3.C: remove insetbib.h.
10291         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10292
10293 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10294
10295         * lyxrc.C (output): enclose user email in quotes (in case there are
10296         several words)
10297
10298 2003-02-18  John Levon  <levon@movementarian.org>
10299
10300         * buffer.h: add std::
10301
10302 2003-02-17  John Levon  <levon@movementarian.org>
10303
10304         * SpellBase.h:
10305         * ispell.h:
10306         * ispell.C:
10307         * pspell.h:
10308         * pspell.C: reworking. Especially in ispell, a large
10309           number of clean ups and bug fixes.
10310
10311         * lyxfunc.C: fix revert to behave sensibly
10312
10313 2003-02-17 André Pönitz <poenitz@gmx.net>
10314
10315         * LyXAction.C:
10316         * commandtags.h: new LFUN_INSERT_BIBKEY
10317
10318         * layout.h:
10319         * lyxlayout.C:
10320         * buffer.C:
10321         * factory.C:
10322         * text.C:
10323         * text2.C:
10324         * text3.C:
10325         * paragraph.[Ch]:
10326         * paragraph_func.C: remove special bibkey handling
10327
10328 2003-02-17  John Levon  <levon@movementarian.org>
10329
10330         * text.C (Delete): fix case where delete at the end of
10331           the very first paragraph would not merge the pars
10332
10333 2003-02-17  John Levon  <levon@movementarian.org>
10334
10335         * lyxrow.C: fix lastPrintablePos()
10336
10337 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10338
10339         * bufferparams.C (writeLaTeX): add a std:here
10340
10341         * buffer.C: and remove a using directive there
10342
10343 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10344
10345         * buffer.C (makeLaTeXFile): move the code that generates the
10346           preamble...
10347
10348         * bufferparams.C (writeLaTeX): ... in this new method
10349
10350         * LaTeXFeatures.C (getEncodingSet): make const
10351           (getLanguages): make const
10352
10353         * MenuBackend.C (binding): returns the binding associated to this
10354           action
10355           (add): sets the status of each item by calling getStatus. Adds
10356           some intelligence.
10357           (read): add support for OptSubMenu
10358           (expand): remove extra separator at the end of expanded menu
10359
10360 2003-02-15  John Levon  <levon@movementarian.org>
10361
10362         * BufferView.C:
10363         * BufferView_pimpl.C:
10364         * bufferlist.h:
10365         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10366           inset code that had no actual effect. Remove unneeded status
10367           code.
10368
10369 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10370
10371         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10372           in preamble
10373
10374 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10375
10376         * text.C (drawLengthMarker): also draw an arrow marker for
10377           symbolic lengths (medskip...)
10378
10379 2003-02-14  John Levon  <levon@movementarian.org>
10380
10381         * tabular.h:
10382         * tabular.C: better method names
10383
10384 2003-02-14  John Levon  <levon@movementarian.org>
10385
10386         * BufferView_pimpl.C:
10387         * bufferlist.C:
10388         * buffer.C:
10389         * converter.C:
10390         * lyx_cb.C:
10391         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10392           it's a more accurate name. Remove some pointless uses.
10393
10394 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10395
10396         * text2.C (LyXText): change order of initilizers to shut off
10397           warnings
10398
10399 2003-02-14  John Levon  <levon@movementarian.org>
10400
10401         * buffer.C: use ParIterator for getParFromID()
10402
10403         * paragraph.h:
10404         * paragraph.C:
10405         * paragraph_pimpl.h:
10406         * paragraph_pimpl.C: remove unused getParFromID()
10407
10408 2003-02-14  John Levon  <levon@movementarian.org>
10409
10410         * buffer.C: remove some very old #if 0'd parse code
10411
10412 2003-02-13  John Levon  <levon@movementarian.org>
10413
10414         * text.h:
10415         * text.C:
10416         * text2.C: move hfillExpansion(), numberOfSeparators(),
10417           rowLast(), rowLastPrintable(), numberofHfills(),
10418           numberOfLabelHfills() ...
10419
10420         * lyxrow.h:
10421         * lyxrow.C: ... to member functions here.
10422
10423         * paragraph.h:
10424         * paragraph.C:
10425         * lyxtext.h:
10426         * text.C: remove LyXText::beginningOfMainBody(), and call
10427           p->beginningOfMainBody() directly. Move the check for
10428           LABEL_MANUAL into the latter.
10429
10430         * text.h:
10431         * text.C:
10432         * text2.C:
10433         * vspace.C:
10434         * BufferView.h:
10435         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10436
10437         * text.h:
10438         * text.C:
10439         * text2.C:
10440         * text3.C:
10441         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10442           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10443
10444 2003-02-13  John Levon  <levon@movementarian.org>
10445
10446         * CutAndPaste.C: remove debug
10447
10448 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10449
10450         * paragraph.C (asString): remove two unused variables
10451
10452         * lyxtextclass.C (readTitleType):
10453           (Read):
10454           (LyXTextClass): handle new members titletype_ and titlename_
10455
10456         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10457
10458 2003-02-09  John Levon  <levon@movementarian.org>
10459
10460         * buffer.h:
10461         * buffer.C: replace hand-coded list with a map for the dep clean
10462
10463 2003-02-08  John Levon  <levon@movementarian.org>
10464
10465         * LaTeX.C: consolidate code into showRunMessage() helper
10466
10467 2003-02-08  John Levon  <levon@movementarian.org>
10468
10469         * lyxfind.C:
10470         * lyxtext.h:
10471         * text2.C:
10472         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10473           and pass the size in explicitly
10474
10475         * BufferView_pimpl.h:
10476         * BufferView_pimpl.C:
10477         * BufferView.h:
10478         * BufferView.C: add getCurrentChange()
10479
10480         * BufferView_pimpl.h:
10481         * BufferView_pimpl.C: handle change lfuns
10482
10483         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10484           for changes. Mark pasted paragraphs as new.
10485
10486         * support/lyxtime.h:
10487         * support/lyxtime.C:
10488         * DepTable.C: abstract time_t as lyx::time_type
10489
10490         * LColor.h:
10491         * LColor.C: add colours for new text, deleted text, changebars
10492
10493         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10494           package use "usenames" option.
10495
10496         * commandtags.h:
10497         * lyxfunc.C:
10498         * LyXAction.C: add change lfuns
10499
10500         * Makefile.am:
10501         * author.h:
10502         * author.C: author handling
10503
10504         * buffer.h:
10505         * buffer.C: add a per-buffer author list, with first entry as
10506           current author. Handle new .lyx tokens for change tracking. Output
10507           author list to .lyx file. Output dvipost stuff to .tex preamble.
10508           Bump lyx format to 222.
10509
10510         * bufferlist.h:
10511         * bufferlist.C: add setCurrentAuthor() to reset current author details
10512           in all buffers.
10513
10514         * bufferparams.h:
10515         * bufferparams.C: add param for tracking
10516
10517         * bufferview_funcs.C: output change info in minibuffer
10518
10519         * Makefile.am:
10520         * changes.h:
10521         * changes.C: add change-tracking structure
10522
10523         * debug.h:
10524         * debug.C: add CHANGES debug flag
10525
10526         * lyxfind.h:
10527         * lyxfind.C: add code for finding the next change piece
10528
10529         * lyxrc.h:
10530         * lyxrc.C: add user_name and user_email
10531
10532         * lyxrow.h:
10533         * lyxrow.C: add a metric for the top of the text line
10534
10535         * lyxtext.h:
10536         * text.C: implement accept/rejectChange()
10537
10538         * lyxtext.h:
10539         * text.C: paint changebars. Paint new/deleted text in the chosen
10540         colours. Strike through deleted text.
10541
10542         * paragraph.h:
10543         * paragraph.C:
10544         * paragraph_pimpl.h:
10545         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10546           in the current change to the insert functions. Rework erase to
10547           mark text as deleted, adding an eraseIntern() and a range-based
10548           erase(). Implement per-paragraph change lookup and
10549           accept/reject.
10550
10551         * paragraph_funcs.C: Fixup paste for change tracking.
10552
10553         * tabular.C: mark added row/columns as new.
10554
10555         * text.C: fix rowLast() to never return -1. Don't allow
10556           spellchecking of deleted text. Track transpose changes. Don't
10557           allow paragraph break or merge where appropriate.
10558
10559         * text2.C: leave cursor at end of selection after a cut.
10560
10561 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10562
10563         * text.C (getLengthMarkerHeight):
10564         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10565         visible on screen too.
10566
10567 2003-02-07  John Levon  <levon@movementarian.org>
10568
10569         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10570
10571 2003-02-05  Angus Leeming  <leeming@lyx.org>
10572
10573         * lyxserver.C (read_ready): revert my patch of 11 September last year
10574         as it sends PC cpu through the roof. Presumably this means that
10575         the lyxserver will no longer run on an Alpha...
10576
10577 2003-01-30  Angus Leeming  <leeming@lyx.org>
10578
10579         * factory.C (createInset): create an InsetCommandParam of type "index"
10580         and use it to 'do the right thing'.
10581
10582         * text2.C (getStringToIndex): ensure that cursor position is always
10583         reset to the reset_cursor position.
10584
10585 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10586
10587         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10588         disabled.
10589
10590 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10591
10592         * bufferview.C:
10593         * lyxcb.C:
10594         * lyxfunc.C: Output messages with identical spelling, punctuation,
10595         and spaces
10596
10597 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10598
10599         * MenuBackend.C (expandFormats): List only viewable export formats
10600         in "View" menu
10601
10602         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10603         message
10604
10605         * lyxfunc.C (getStatus): Make sure that formats other than
10606         "fax" can also be disabled
10607
10608 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10609
10610         * text3.C (dispatch): put the lfuns that insert insets in 3
10611         groups, and call doInsertInset with appropriate arguments.
10612         (doInsertInset): new function, that creates an inset and inserts
10613         it according to some boolean parameters.
10614
10615 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10616
10617         * buffer.C (readFile): remember to pass on 'par' when calling
10618         readFile recursively.
10619
10620 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10621
10622         * MenuBackend.C (expandFormats): add "..." to import formats.
10623
10624 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10625
10626         * paragraph.C (asString): Remove XForms RTL hacks.
10627
10628 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10629         * buffer.C: fix typo
10630
10631 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10632
10633         * Makefile.am (LIBS): delete var
10634         (lyx_LDADD): add @LIBS@ here instead.
10635
10636 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10637
10638         * Clarify the meaning of "wheel mouse jump"
10639
10640 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10641
10642         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10643         tabular in a float
10644
10645 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10646
10647         * importer.C (Loaders): do not preallocate 3 elements in the
10648         vector, since one ends up with 6 elements otherwise
10649
10650 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10651
10652         * DepTable.C (write): write the file name as last element of the
10653         .dep file (because it may contain spaces)
10654         (read): read info in the right order
10655
10656 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10657
10658         * paragraph_pimpl.C (simpleTeXBlanks):
10659         (simpleTeXSpecialChars):
10660         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10661
10662         * tabular.C (latex): add some missing case statements. Reindent.
10663
10664         * MenuBackend.C (expandToc): remove unused variable.
10665
10666 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10667
10668         * LColor.C:
10669         * LaTeX.C:
10670         * LyXAction.C:
10671         * MenuBackend.C:
10672         * buffer.C:
10673         * exporter.C:
10674         * lyxfunc.C:
10675         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10676         and the like.
10677
10678 2003-01-05  John Levon  <levon@movementarian.org>
10679
10680         * BufferView.h:
10681         * BufferView.C: add getEncoding()
10682
10683         * kbsequence.h:
10684         * kbsequence.C: do not store last keypress
10685
10686         * lyxfunc.h:
10687         * lyxfunc.C: store last keypress here instead. Pass encoding
10688           to getISOEncoded()
10689
10690 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10691
10692         * lyx_main.C (init): remove annoying error message when following
10693         symbolic links (bug #780)
10694
10695 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10696
10697         * text.C (insertChar):
10698         * lyxrc.C (getDescription): remove extra spaces
10699
10700 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10701
10702         * lyxrc.C (getDescription): remove extra spaces
10703
10704 2002-12-20  John Levon  <levon@movementarian.org>
10705
10706         * text3.C: hack fix for page up/down across tall rows
10707
10708 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10709
10710         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10711         not been invoked
10712
10713 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10714
10715         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10716         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10717         thesaurus is not compiled in
10718
10719 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10720
10721         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10722
10723 2002-12-16  Angus Leeming  <leeming@lyx.org>
10724
10725         * lyxrc.[Ch]:
10726         * lyx_main.C (init): remove override_x_deadkeys stuff.
10727
10728 2002-12-12  John Levon  <levon@movementarian.org>
10729
10730         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10731           insert. Only remove shift modifier under strict
10732           circumstances.
10733
10734 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10735
10736         * MenuBackend.C (expandToc): fix crash.
10737
10738 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10739
10740         * MenuBackend.C (expandToc): gettext on float names.
10741
10742 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10743
10744         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10745         implement bool empty() [bug 490]
10746
10747 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10748
10749         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10750
10751 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10752
10753         * several files: ws changes
10754
10755 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10756
10757         * text2.C (setCounter): clean up a bit, use boost.format.
10758         (updateCounters): initialize par upon declaration.
10759
10760         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10761         if the layout exists. We do not just store the layout any more.
10762         (SwitchLayoutsBetweenClasses): use boost.format
10763
10764 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10765
10766         * converter.C (convert): if from and to files are the same, use a
10767         temporary files as intermediary
10768
10769 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10770
10771         * commandtags.h:
10772         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10773
10774 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10775
10776         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10777
10778 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10779
10780         * tabular.C (asciiPrintCell): use string(size, char) instead of
10781         explicit loop.
10782
10783         * sgml.C (openTag): fix order of arguments to string constructor
10784         (closeTag): ditto
10785
10786         * lyxfunc.C (dispatch): use boost.format
10787
10788         * lots of files: change "c" -> 'c'
10789
10790 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10791
10792         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10793
10794 2002-11-25  Angus Leeming  <leeming@lyx.org>
10795
10796         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10797
10798         * lyx_main.C (init): compile fix.
10799
10800 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10801
10802         * lyx_cb.C (start): boost.formatify
10803         do not include <iostream>
10804
10805         * lengthcommon.C: ws only
10806
10807         * boost-inst.C,BoostFormat.h: add more explict instantations
10808
10809 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10810
10811         * lots of files: handle USE_BOOST_FORMAT
10812
10813 2002-11-21  John Levon  <levon@movementarian.org>
10814
10815         * pspell.C: fix compile
10816
10817 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10818
10819         * lyxfunc.C (dispatch): use boost::format
10820         (open): ditto
10821         (doImport): ditto
10822
10823         * lyxfont.C (stateText): use boost::format
10824
10825         * lyx_main.C (LyX): use boost::format
10826         (init): ditto
10827         (queryUserLyXDir): ditto
10828         (readRcFile): ditto
10829         (parse_dbg): ditto
10830         (typedef boost::function): use the recommened syntax.
10831
10832         * importer.C (Import): use boost::format
10833
10834         * debug.C (showLevel): use boost::format
10835
10836         * converter.C (view): use boost::format
10837         (convert): ditto
10838         (move): ditto
10839         (scanLog): ditto
10840
10841         * bufferview_funcs.C (currentState): use boost::format
10842
10843         * bufferlist.C (emergencyWrite): use boost::format
10844
10845         * buffer.C (readLyXformat2): use boost::format
10846         (parseSingleLyXformat2Token): ditto
10847
10848         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10849
10850         * LaTeX.C (run): use boost::format
10851
10852         * Chktex.C (scanLogFile): use boost::format
10853
10854         * BufferView_pimpl.C (savePosition): use boost::format
10855         (restorePosition): ditto
10856         (MenuInsertLyXFile): ditto
10857
10858         * BoostFormat.h: help file for explicit instation.
10859
10860 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10861
10862         * tabular.C (latex): Support for block alignment in fixed width
10863         columns.
10864
10865 2002-11-17  John Levon  <levon@movementarian.org>
10866
10867         * BufferView_pimpl.C:
10868         * lyx_cb.C:
10869         * lyxfunc.C: split filedialog into open/save
10870
10871 2002-11-08  Juergen Vigna  <jug@sad.it>
10872
10873         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10874         by my last patch (hopefully).
10875
10876 2002-11-08  John Levon  <levon@movementarian.org>
10877
10878         * iterators.h:
10879         * iterators.C:
10880         * buffer.h:
10881         * buffer.C:
10882         * paragraph.h:
10883         * paragraph.C:
10884         * toc.h:
10885         * toc.C: ParConstIterator, and use it (from Lars)
10886
10887 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10888
10889         * lyxtextclass.[Ch]: revise and add doxygen comments
10890
10891 2002-11-07  John Levon  <levon@movementarian.org>
10892
10893         * text.C: fix progress value for spellchecker
10894
10895         * toc.C: fix navigate menu for insetwrap inside minipage
10896
10897         * paragraph_funcs.C: added FIXME for suspect code
10898
10899 2002-11-07  John Levon  <levon@movementarian.org>
10900
10901         * BufferView_pimpl.C: fix redrawing of insets
10902           on buffer switch
10903
10904 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10905
10906         * text2.C (updateCounters): fix bug 668
10907
10908 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10909
10910         * text3.C (dispatch): Do not make the buffer dirty when moving the
10911         cursor.
10912
10913 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10914
10915         * vc-backend.C: STRCONV
10916         (scanMaster): ditto
10917
10918         * text2.C (setCounter): STRCONV
10919
10920         * paragraph.C (asString): STRCONV
10921
10922         * lyxlength.C (asString): STRCONV
10923         (asLatexString): ditto
10924
10925         * lyxgluelength.C (asString): STRCONV
10926         (asLatexString): ditto
10927
10928         * lyxfunc.C (dispatch): STRCONV
10929         (open): ditto
10930
10931         * lyxfont.C (stateText): STRCONV
10932
10933         * importer.C (Import): STRCONV
10934
10935         * counters.C (labelItem): STRCONV
10936         (numberLabel): ditto
10937         (numberLabel): remove unused ostringstream o
10938
10939         * chset.C: STRCONV
10940         (loadFile): ditto
10941
10942         * bufferview_funcs.C (currentState): STRCONV
10943
10944         * buffer.C (readFile): STRCONV
10945         (asciiParagraph): ditto
10946         (makeLaTeXFile): ditto
10947
10948         * Spacing.C (writeEnvirBegin): STRCONV
10949
10950         * LaTeXFeatures.C (getLanguages): STRCONV
10951         (getPackages): ditto
10952         (getMacros): ditto
10953         (getBabelOptions): ditto
10954         (getTClassPreamble): ditto
10955         (getLyXSGMLEntities): ditto
10956         (getIncludedFiles): ditto
10957
10958         * LaTeX.C: STRCONV
10959         (run): ditto
10960         (scanAuxFile): ditto
10961         (deplog): ditto
10962
10963         * LString.h: add the STRCONV macros
10964
10965         * BufferView_pimpl.C (savePosition): STRCONV
10966         (restorePosition): ditto
10967         (MenuInsertLyXFile): ditto
10968
10969         * vc-backend.C (scanMaster): change from submatch[...] to
10970         submatch.str(...)
10971
10972         * funcrequest.C: include config.h
10973
10974         * factory.C: include config.h
10975
10976         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10977
10978         * box.C: include config.h
10979
10980         * LaTeX.C (scanAuxFile): change from submatch[...] to
10981         submatch.str(...)
10982         (deplog): ditto
10983
10984 2002-10-25  Angus Leeming  <leeming@lyx.org>
10985
10986         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10987
10988         * ispell.[Ch] (setError): new method.
10989         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10990         Use setError() insetead of goto END.
10991
10992         * lyx_cb.C (AutoSave): move out child process into new class
10993         AutoSaveBuffer.
10994
10995 2002-10-30  John Levon  <levon@movementarian.org>
10996
10997         * text3.C: make start appendix undoable
10998
10999 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
11000
11001         * lyxlength.C (inPixels): Fix returned value.
11002
11003         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
11004         environment.
11005
11006 2002-10-24  Angus Leeming  <leeming@lyx.org>
11007
11008         * lyxgluelength.h: no need to forward declare BufferParams
11009         or BufferView, so don't.
11010
11011 2002-10-21  John Levon  <levon@movementarian.org>
11012
11013         * BufferView.C: menuUndo ->undo, redo
11014
11015         * BufferView.h: document, remove dead, make some methods private
11016
11017         * paragraph_funcs.h:
11018         * paragraph_funcs.C:
11019         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
11020
11021         * buffer.h:
11022         * buffer.C:
11023         * sgml.h:
11024         * sgml.C: move sgml open/close tag into sgml.C
11025
11026         * bufferview_funcs.h: unused prototype
11027
11028         * lyxfunc.h:
11029         * lyxfunc.C: remove unused
11030
11031         * lyxtext.h:
11032         * text.C: remove unused
11033
11034 2002-10-21  John Levon  <levon@movementarian.org>
11035
11036         * BufferView.h:
11037         * BufferView.C:
11038         * BufferView_pimpl.h:
11039         * BufferView_pimpl.C: fix mouse wheel handling based on
11040           patch from Darren Freeman
11041
11042 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11043
11044         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11045
11046 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11047
11048         * lyxlength.C (inPixels): Fix hanfling of negative length.
11049         Fix LyXLength::MU case.
11050
11051 2002-10-16  John Levon  <levon@movementarian.org>
11052
11053         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11054
11055 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11056
11057         * converter.C (view): add support for $$i (file name) and $$p
11058         (file path) for the viewer command. If $$i is not specified, then
11059         it is appended to the command (for compatibility with old syntax)
11060
11061 2002-10-14  Juergen Vigna  <jug@sad.it>
11062
11063         * undo_funcs.C (textHandleUndo): alter the order in which the
11064         new undopar is added to the LyXText, as we have to set first
11065         the right prev/next and then add it as otherwise the rebuild of
11066         LyXText is not correct. Also reset the cursor to the right paragraph,
11067         with this IMO we could remove the hack in "redoParagraphs()".
11068
11069 2002-10-09  Angus Leeming  <leeming@lyx.org>
11070
11071         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11072         to turn off an optimisation if a new inset is to be inserted.
11073
11074 2002-10-11 André Pönitz <poenitz@gmx.net>
11075
11076         * lyxtext.h: make some functions public to allow access
11077         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11078
11079 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11080
11081         * text3.C (dispatch): when changing layout, avoid an infinite loop
11082         [bug #652]
11083
11084 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11085
11086         * lyxrc.C (read): treat a viewer or converter command of "none" as
11087         if it were empty.
11088
11089         * MenuBackend.C (expandFormats): for an update, also allow the
11090         formats that are not viewable
11091
11092         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11093         script if it is newer than the lyxrc.defaults in user directory
11094
11095 2002-10-07 André Pönitz <poenitz@gmx.net>
11096
11097         * text.C: Vitaly Lipatov's small i18n fix
11098
11099 2002-09-25  Angus Leeming  <leeming@lyx.org>
11100
11101         * ispell.h: doxygen fix.
11102
11103 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11104
11105         * buffer.h (readFile): Add a new argument to the method, to allow
11106         reading of old-format templates.
11107
11108 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11109
11110         * toc.C (getTocList): Get TOC from InsetWrap.
11111
11112 2002-09-16  John Levon  <levon@movementarian.org>
11113
11114         * lyxfunc.C: check tabular for cut/copy too
11115
11116 2002-09-12  John Levon  <levon@movementarian.org>
11117
11118         * LyXAction.C: tidy
11119
11120         * factory.h:
11121         * factory.C: add header
11122
11123         * paragraph_funcs.h:
11124         * paragraph_funcs.C: cleanup
11125
11126 2002-09-11  John Levon  <levon@movementarian.org>
11127
11128         * PrinterParams.h: odd/even default to true
11129
11130 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11131
11132         * PrinterParams.h: update printer parameters for new xforms dialog
11133
11134 2002-09-11  Angus Leeming  <leeming@lyx.org>
11135
11136         * lyxserver.C (read_ready): re-write to make it more transparent
11137         and to make it work in coherent fashion under Tru64 Unix.
11138
11139 2002-09-11  André Pönitz <poenitz@gmx.net>
11140
11141         * commandtags.h:
11142         * LyXAction.C:
11143         * text3.C: implement LFUN_WORDSEL
11144
11145 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11146
11147         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11148         make floatlist_ a boost::shared_ptr<FloatList>
11149
11150         * lyxtextclass.C: include FloatList.h
11151         (LyXTextClass): initialize floatlist_
11152         (TextClassTags): add TC_NOFLOAT
11153         (Read): match "nofloat" to TC_NOFLOAT and use it.
11154         (readFloat): modify call to floatlist_
11155         (floats): ditto
11156         (floats): ditto
11157
11158         * FloatList.[Ch] (FloatList): remove commented out float
11159         initialization.
11160         (erase): new function
11161
11162 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11163
11164         * MenuBackend.C (expandToc): fix crash when there is no document
11165         open
11166
11167 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11168
11169         * many files: Add insetwrap.
11170
11171 2002-09-09  John Levon  <levon@movementarian.org>
11172
11173         * text2.C: remove confusing and awkward depth wraparound
11174
11175 2002-09-09  John Levon  <levon@movementarian.org>
11176
11177         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11178
11179         * buffer.h:
11180         * buffer.C: remove getIncludeonlyList()
11181
11182         * paragraph.C:
11183         * lyxfunc.C: remove headers
11184
11185 2002-09-09  Juergen Vigna  <jug@sad.it>
11186
11187         * text.C (getColumnNearX): fix form Michael this is most
11188         probably a cut&paste bug.
11189
11190 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11191
11192         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11193
11194         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11195         references, ws changes.
11196
11197         * text2.C (init): update counters after init
11198         (insertParagraph): no need to set counter on idividual paragraphs.
11199         (setCounter): access the counters object in the textclass object
11200         on in the buffer object.
11201         (updateCounters): ditto
11202
11203         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11204         shared_ptr<Counters> to avoid loading counters.h in all
11205         compilation units.
11206         (LyXTextClass): initialize ctrs_
11207         (TextClassTags): add TC_COUNTER, and ...
11208         (Read): use it here.
11209         (CounterTags): new tags
11210         (readCounter): new function
11211         (counters): new funtion
11212         (defaultLayoutName): return a const reference
11213
11214         * counters.C (Counters): remove contructor
11215         (newCounter): remove a couple of unneeded statements.
11216         (newCounter): simplify a bit.
11217         (numberLabel): some small formatting changes.
11218
11219         * buffer.[Ch]: remove all traces of counters, move the Counters
11220         object to the LyXTextClass.
11221
11222 2002-09-06  Alain Castera  <castera@in2p3.fr>
11223
11224         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11225         package to set the horizontal alignment on fixed width columns.
11226
11227         * lyx_sty.C:
11228         * lyx_sty.h: added tabularnewline macro def.
11229
11230         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11231
11232 2002-09-06  John Levon  <levon@movementarian.org>
11233
11234         * LyXAction.C: tooltips for sub/superscript
11235
11236         * MenuBackend.C: a bit more verbose
11237
11238         * lyxfunc.C: tiny clean
11239
11240         * undo_funcs.C: document undo_frozen
11241
11242 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11243
11244         * counters.C (Counters): add missing algorithm counter.
11245
11246         * text2.C (setCounter): lookup the counter with layouts latexname
11247         instead of by section number.
11248         (setCounter): use a hackish way to lookup the correct enum
11249         counter.
11250         a float name->type change
11251         reset enum couners with counter name directly instead of depth value.
11252
11253         * counters.C (Counters): remove the push_backs, change to use the
11254         float type not the float name.
11255         (labelItem): remove unused string, float name->type change
11256
11257         * counters.h: don't include vector, loose the enums and sects vectors
11258
11259 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11260
11261         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11262         (Read): add float->TC_FLOAT to textclassTags
11263         (Read): and handle it in the switch
11264         (readFloat): new function
11265
11266         * FloatList.C (FloatList): comment out the hardcoded float
11267         definitions.
11268
11269         * lyxlayout.h: ws change.
11270
11271 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11272
11273         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11274
11275 2002-09-03  Angus Leeming  <leeming@lyx.org>
11276
11277         * BufferView_pimpl.h: qualified name is not allowed in member
11278         declaration: WorkArea & Pimpl::workarea() const;
11279
11280         * factory.C: added using std::endl directive.
11281
11282         * text3.C: added using std::find and std::vector directives.
11283
11284 2002-08-29  André Pönitz <poenitz@gmx.net>
11285
11286         * lyxtext.h:
11287         * text2.C: remove unused member number_of_rows
11288
11289         * Makefile.am:
11290         * BufferView2.C: remove file, move contents to...
11291         * BufferView.C: ... here
11292
11293         * BufferView_pimpl.C:
11294         * factory.C: move more inset creation to factory
11295
11296         * vspace.C: avoid direct usage of LyXText, ws changes
11297
11298         * BufferView.[Ch]:
11299                 don't provide direct access to WorkArea, use two simple
11300                 acessors haveSelction() and workHeight() instead
11301
11302
11303 2002-08-29  John Levon  <levon@movementarian.org>
11304
11305         * BufferView_pimpl.C (dispatch): do not continue when
11306           no buffer
11307
11308 2002-08-28  André Pönitz <poenitz@gmx.net>
11309
11310         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11311
11312         * BufferView.h:
11313         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11314
11315 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11316
11317         * buffer.C: increment LYX_FORMAT to 221
11318
11319         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11320         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11321
11322         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11323
11324         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11325
11326 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11327
11328         * factory.C (createInset): use LyXTextClass::floats
11329
11330         * MenuBackend.C (expandFloatListInsert):
11331         (expandFloatInsert):
11332         (expandToc):
11333
11334         * text2.C (setCounter):
11335
11336         * LaTeXFeatures.C (useFloat):
11337         (getFloatDefinitions):
11338
11339         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11340
11341         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11342         floatlist_, with accessor floats().
11343
11344         * FloatList.h: remove global FloatList
11345
11346 2002-08-26  André Pönitz <poenitz@gmx.net>
11347
11348         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11349
11350         * BufferView.h:
11351         * BufferView2.C:
11352         * BufferView_pimpl.C:
11353         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11354
11355 2002-08-25  John Levon  <levon@movementarian.org>
11356
11357         * LyXAction.C: fix margin note description
11358
11359 2002-08-24  John Levon  <levon@movementarian.org>
11360
11361         * buffer.C:
11362         * bufferlist.C:
11363         * bufferview_funcs.C:
11364         * lyxfont.C:
11365         * undo_funcs.C: cleanups
11366
11367         * lyxfunc.C: disable CUT/COPY when no selection
11368
11369 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11370
11371         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11372         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11373
11374         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11375         Add backward compatibility to "mono", "gray" and "no".
11376
11377 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11378
11379         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11380         (and file_format >= 200).
11381
11382 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11383
11384         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11385
11386 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11387
11388         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11389
11390 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11391
11392         * BufferView_pimpl.C:
11393         * LyXAction.C:
11394         * buffer.C:
11395         * commandtags.h:
11396         * lyxfunc.C:
11397         * paragraph.[Ch]:
11398         * text2.C:
11399         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11400         inset and code to make it  work with the paragraph code. The inset
11401         can be anywhere in the paragraph, but will only do the expected
11402         thing in LaTeX if the layout file contains the parameter line
11403                         OptionalArgs    1
11404         (or more generally, a nonzero value) for that layout.
11405
11406 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11407
11408         * paragraph.h: remove the declaration of undefined counters class
11409         function.
11410
11411 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11412
11413         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11414         Dr. Richard Hawkins.
11415
11416 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11417
11418         * paragraph_funcs.h: remove some unneeded includes
11419
11420         * text.C (backspace): pasteParagraph now in global scipe
11421
11422         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11423         (pasteSelection): ditto
11424
11425         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11426         * paragraph_funcs.C (pasteParagraph): ... here
11427
11428 2002-08-20  André Pönitz <poenitz@gmx.net>
11429
11430         * commandtags.h: new LFUNs for swapping/copying table row/colums
11431
11432         * LyXAction.C:
11433         * lyxfunc.C: support for new lfuns
11434
11435 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11436
11437         * tabular.C:
11438         * buffer.[Ch]: remove NO_COMPABILITY stuff
11439
11440 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11441
11442         * boost.C (throw_exception): new file, with helper function for
11443         boost compiled without exceptions.
11444
11445         * paragraph.h:
11446         * lyxlength.C:
11447         * buffer.C:
11448         * ParameterStruct.h:
11449         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11450
11451         * bufferlist.C (emergencyWriteAll): use boost bind
11452
11453         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11454
11455         * text.C: include paragraph_funcs.h
11456         (breakParagraph): breakParagraph is now in global scope
11457
11458         * paragraph_funcs.[Ch]: new files
11459
11460         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11461         global scope
11462
11463         * buffer.C: include paragraph_funcs.h
11464         (insertStringAsLines): breakParagraph is now in global scope
11465
11466         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11467         paragraph_funcs.C
11468
11469         * CutAndPaste.C: include paragraph_funcs.h
11470         (cutSelection): breakParagraphConservative is now in global scope
11471         (pasteSelection): ditto
11472
11473         * buffer.h: declare oprator== and operator!= for
11474         Buffer::inset_iterator
11475
11476         * bufferlist.C (emergencyWrite): don't use fmt(...)
11477
11478         * text3.C: add using std::endl
11479
11480         * BufferView.C (moveCursorUpdate): remove default arg
11481
11482 2002-08-20  André Pönitz <poenitz@gmx.net>
11483
11484         * buffer.[Ch]: move inline functions to .C
11485
11486         * BufferView2.C:
11487         * BufferView_pimpl.C:
11488         * text.C:
11489         * buffer.[Ch]: use improved inset_iterator
11490
11491         * buffer.C:
11492         * paragraph.[Ch]: write one paragraph at a time
11493
11494 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11495
11496         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11497         style if style is not specified.
11498
11499 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11500
11501         * text2.C (setCounter): when searching for right label for a
11502         caption, make sure to recurse to parent insets (so that a caption
11503         in a minipage in a figure float works) (bug #568)
11504
11505 2002-08-20  André Pönitz <poenitz@gmx.net>
11506
11507         * text3.C: new file for LyXText::dispatch() and helpers
11508
11509         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11510
11511         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11512
11513 2002-08-19  André Pönitz <poenitz@gmx.net>
11514
11515         * lyxtext.h:
11516         * text.C: new LyXText::dispatch()
11517
11518         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11519
11520 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11521
11522         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11523
11524         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11525         Hebrew text.
11526
11527 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11528
11529         * Makefile.am: use $(variables) instead of @substitutions@
11530
11531 2002-08-15  André Pönitz <poenitz@gmx.net>
11532
11533         * lyxfunc.C:
11534         * BufferView_pimpl.C: streamlining mathed <-> outer world
11535         interaction
11536
11537         * commandtags.h:
11538         * LyXAction.C: remove unused LFUN_MATH
11539
11540 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11541
11542         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11543
11544 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11545
11546         * paragraph.C (Paragraph): reformat a bit
11547         (cutIntoMinibuffer): use builtin InsetList function instad of
11548         doing it manually.
11549         (getInset): ditto
11550
11551         * buffer.C: include boost/bind.hpp, add using std::for_each
11552         (writeFileAscii): use ParagraphList iterators
11553         (validate): use for_each for validate traversal of paragraphs
11554         (getBibkeyList): use ParagraphList iterators
11555         (resizeInsets): use for_each to resizeInsetsLyXText for all
11556         paragraphs.
11557         (getParFromID): use ParagraphList iterators
11558
11559         * BufferView2.C (lockInset): use paragraph list and iterators
11560
11561 2002-08-14  John Levon  <levon@movementarian.org>
11562
11563         * lyxserver.C: remove spurious xforms include
11564
11565 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11566
11567         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11568
11569 2002-08-13  André Pönitz <poenitz@gmx.net>
11570
11571         * LyXAction.[Ch]:
11572         * lyxfunc.C: further cleaning
11573
11574 2002-08-13  André Pönitz <poenitz@gmx.net>
11575
11576         * funcrequest.h: new constructor
11577
11578         * funcrequest.C: move stuff here from .h
11579
11580         * Makefile.am:
11581         * BufferView_pimpl.C:
11582         * LyXAction.C:
11583         * toc.C:
11584         * lyxfunc.C: subsequent changes
11585
11586         * lyxfunc.h: new view() member function
11587
11588         * lyxfunc.C: subsequent changes
11589
11590 2002-08-13  Angus Leeming  <leeming@lyx.org>
11591
11592         * BufferView2.C:
11593         * BufferView_pimpl.C:
11594         * buffer.C:
11595         * converter.C:
11596         * importer.C:
11597         * lyxfunc.C:
11598         * lyxvc.C:
11599         * toc.C:
11600         * vc-backend.C:
11601         changes due to the changed LyXView interface that now returns references
11602         to member variables not pointers.
11603
11604 2002-08-13  Angus Leeming  <leeming@lyx.org>
11605
11606         * WordLangTuple (word, lang_code): return references to strings,
11607         not strings.
11608
11609         * BufferView.h:
11610         * SpellBase.h:
11611         * lyxtext.h: forward-declare WordLangTuple.
11612
11613         * BufferView2.C:
11614         * ispell.C:
11615         * pspell.C:
11616         * text.C: #include "WordLangTuple.h".
11617
11618         * lyxtext.h:
11619         * text.C: (selectNextWordToSpellcheck): constify return type.
11620
11621 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11622
11623         * buffer.C:
11624         * buffer.h:
11625         * lyxtext.h:
11626         * paragraph.C:
11627         * paragraph_pimpl.h:
11628         * text.C:
11629         * text2.C:
11630         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11631         suggested by Angus.
11632         Made updateCounter always count from start of buffer, and removed
11633         second argument (par).
11634         Reverted floats number display to '#'. Perhaps I'll try again when the
11635         code base is sanitized a bit.
11636
11637 2002-08-12  Angus Leeming  <leeming@lyx.org>
11638
11639         * buffer.[Ch] (getLabelList): constify.
11640
11641 2002-08-07  André Pönitz <poenitz@gmx.net>
11642
11643         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11644
11645         * funcrequest.h: extension to keep mouse (x,y) position
11646
11647 2002-08-12  Juergen Vigna  <jug@sad.it>
11648
11649         * BufferView2.C (insertErrors): forbid undo when inserting error
11650         insets.
11651
11652         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11653
11654 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11655
11656         * ParagraphList.[Ch]: new files
11657
11658         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11659
11660         * BufferView2.C (lockInset): ParagraphList changes
11661         * toc.C: ditto
11662         * text2.C: ditto
11663         * bufferlist.C: ditto
11664         * buffer.h: ditto
11665         * buffer.C: ditto
11666
11667 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11668
11669         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11670         unused class variable counter_,
11671
11672         * paragraph.[Ch] (getFirstCounter): delete unused function
11673
11674         * counters.C: include LAssert.h
11675         (reset): add a new function with no arg, change other version to
11676         not have def. arg and to not allow empty arg.
11677
11678         * text2.C (setCounter): remove empty arg from call to Counters::reset
11679
11680 2002-08-11  John Levon  <levon@movementarian.org>
11681
11682         * Makefile.am: add WordLangTuple.h
11683
11684 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11685
11686         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11687         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11688
11689         * insets/insettext.C: InsetList changes
11690
11691         * graphics/GraphicsSupport.C (operator()): InsetList changes
11692
11693         * toc.C (getTocList): InsetList changes
11694
11695         * paragraph_pimpl.[Ch]: InsetList changes
11696
11697         * paragraph.[Ch]: InsetList changes
11698
11699         * buffer.C (inset_iterator): InsetList changes
11700         (setParagraph): ditto
11701         * buffer.h (inset_iterator): ditto
11702         * iterators.C (operator++): ditto
11703         * iterators.h: ditto
11704
11705         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11706
11707         * InsetList.[Ch]: new files, most InsetList handling moved out of
11708         paragraph.C.
11709
11710         * BufferView2.C (removeAutoInsets): InsetList changes
11711         (lockInset): ditto
11712         (ChangeInsets): ditto
11713
11714 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11715
11716         * paragraph_pimpl.h (empty): new function
11717
11718         * paragraph.[Ch] (empty): new function
11719
11720         * other files: use the new Paragraph::empty function
11721
11722 2002-08-09  John Levon  <levon@movementarian.org>
11723
11724         * lyxtext.h: remove unused refresh_height
11725
11726 2002-08-09  John Levon  <levon@movementarian.org>
11727
11728         * Makefile.am:
11729         * sgml.h:
11730         * sgml.C:
11731         * buffer.C:
11732         * paragraph.h:
11733         * paragraph.C: move sgml char escaping out of paragraph
11734
11735         * paragraph.h:
11736         * paragraph.C: remove id setter
11737
11738         * buffer.C:
11739         * paragraph.C:
11740         * paragraph_pimpl.C: remove dead tex_code_break_column
11741
11742         * bufferview_funcs.C: small cleanup
11743
11744         * lyxfunc.C: remove dead proto
11745
11746         * lyxtext.h: make some stuff private. Remove some dead stuff.
11747
11748         * lyxgluelength.C: make as[LyX]String() readable
11749
11750 2002-08-08  John Levon  <levon@movementarian.org>
11751
11752         * LyXAction.h:
11753         * LyXAction.C:
11754         * MenuBackend.C:
11755         * ToolbarDefaults.C:
11756         * lyxfunc.C:
11757         * lyxrc.C:
11758         * toc.C: lyxaction cleanup
11759
11760 2002-08-08  John Levon  <levon@movementarian.org>
11761
11762         * BufferView2.C: small cleanup
11763
11764         * lyxfind.h:
11765         * lyxfind.C: move unnecessary header into the .C
11766
11767 2002-08-08  John Levon  <levon@movementarian.org>
11768
11769         * funcrequest.h: just tedious nonsense
11770
11771         * lyx_main.h:
11772         * lyx_main.C: cleanups
11773
11774         * buffer.C:
11775         * vspace.C: remove dead header lyx_main.h
11776
11777 2002-08-07  Angus Leeming  <leeming@lyx.org>
11778
11779         * Paragraph.[Ch]:
11780         * paragraph_pimpl.h:
11781         Forward declare class Counters in paragraph.h by moving the ctrs member
11782         variable into Paragraph::Pimpl.
11783         (counters): new method, returning a reference to pimpl_->ctrs.
11784
11785         * text2.C: ensuing changes.
11786
11787 2002-08-07  John Levon  <levon@movementarian.org>
11788
11789         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11790
11791         * BufferView_pimpl.C: announce X selection on double/triple
11792           click
11793
11794         * lyx_main.C: use correct bool in batch dispatch
11795
11796         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11797
11798 2002-08-07  André Pönitz <poenitz@gmx.net>
11799
11800         * funcrequest.h: new class to wrap a kb_action and its argument
11801
11802         * BufferView.[Ch]:
11803         * BufferView_pimpl[Ch]:
11804         * LaTeX.C:
11805         * LyXAction.[Ch]:
11806         * lyxfunc.[Ch]:
11807         * lyxrc.C: subsequent changes
11808
11809
11810 2002-08-07  John Levon  <levon@movementarian.org>
11811
11812         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11813           document options change.
11814
11815 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11816
11817         * counters.[Ch]
11818         * text2.C
11819         * paragraph.[Ch]
11820         * makefile.am: move counters functionality over from
11821         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11822
11823 2002-08-06  John Levon  <levon@movementarian.org>
11824
11825         * WordLangTuple.h: new file for word + language code tuple
11826
11827         * SpellBase.h:
11828         * pspell.h:
11829         * pspell.C:
11830         * ispell.h:
11831         * ispell.C:
11832         * lyxtext.h:
11833         * text.C:
11834         * text2.C:
11835         * BufferView.h:
11836         * BufferView2.C: use WordLangTuple
11837
11838         * layout.h:
11839         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11840
11841 2002-08-06  John Levon  <levon@movementarian.org>
11842
11843         * lyx_main.C: fix cmdline batch handling
11844
11845 2002-08-06  André Pönitz <poenitz@gmx.net>
11846
11847         * lyxrc.C: set default for show_banner to true
11848
11849 2002-08-06  John Levon  <levon@movementarian.org>
11850
11851         * pspell.C: fix a crash, and allow new aspell to work
11852
11853 2002-08-06  John Levon  <levon@movementarian.org>
11854
11855         * lyxfunc.C:
11856         * kbmap.C: small cleanup
11857
11858         * vspace.h:
11859         * vspace.C: add const
11860
11861 2002-08-05  John Levon  <levon@movementarian.org>
11862
11863         * LyXAction.C: back to tabular-insert
11864
11865 2002-08-04  John Levon  <levon@movementarian.org>
11866
11867         * BufferView.h:
11868         * BufferView.C: cosmetic change
11869
11870         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11871
11872         * bufferlist.C:
11873         * buffer.h:
11874         * buffer.C:
11875         * lyxcb.h:
11876         * lyxcb.C:
11877         * lyxserver.C:
11878         * lyxvc.C:
11879         * vc-backend.C:
11880         * BufferView2.C: purge all "Lyx" not "LyX" strings
11881
11882         * lyxcursor.h:
11883         * lyxcursor.C: attempt to add some documentation
11884
11885         * lyxfunc.C:
11886         * commandtags.h:
11887         * LyXAction.C:
11888         * ToolbarDefaults.C:
11889         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11890           merge with LFUN_TABULAR_INSERT
11891
11892         * Makefile.am:
11893         * SpellBase.h:
11894         * ispell.h:
11895         * ispell.C:
11896         * pspell.h:
11897         * pspell.C: split up i/pspell implementations into separate
11898           files, many cleanups
11899
11900         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11901
11902         * text2.C: some cleanup
11903
11904         * lyxfunc.C: don't check for isp_command == "none" any more, it
11905           didn't make any sense
11906
11907 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11908
11909         * counters.[Ch]
11910         * text2.C
11911         * paragraph.[Ch]
11912         * makefile.am: move counters functionality over
11913         from text2.C/paragraph.[Ch] to counters.[Ch], and
11914         make proper C++.
11915 2002-08-02  John Levon  <levon@movementarian.org>
11916
11917         * buffer.C: s/lyxconvert/lyx2lyx/
11918
11919 2002-08-02  Angus Leeming  <leeming@lyx.org>
11920
11921         * lyxlex.C: revert John's change as it breaks reading of the user
11922         preamble.
11923
11924 2002-08-02  Angus Leeming  <leeming@lyx.org>
11925
11926         * importer.C (Import):
11927         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11928         changes due to LyXView::view() now returning a boost::shared_ptr.
11929
11930 2002-08-02  John Levon  <levon@movementarian.org>
11931
11932         * lyxlex.C: small cleanup
11933
11934 2002-08-02  John Levon  <levon@movementarian.org>
11935
11936         * text2.C (status): small cleanup, no logic change
11937
11938 2002-08-01  John Levon  <levon@movementarian.org>
11939
11940         * buffer.h:
11941         * buffer.C (writeFile): don't output alerts, caller
11942           handles this
11943
11944         * bufferlist.C:
11945         * lyx_cb.C: from above
11946
11947         * lyxfunc.C: allow to open non-existent files
11948
11949 2002-07-31  John Levon  <levon@movementarian.org>
11950
11951         * lyxserver.C: don't let incidental errors get
11952           in the way (errno)
11953
11954 2002-07-30  John Levon  <levon@movementarian.org>
11955
11956         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11957
11958 2002-07-30  John Levon  <levon@movementarian.org>
11959
11960         * lyxserver.h:
11961         * lyxserver.C: remove I/O callback too
11962
11963 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11964
11965         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11966         log.
11967
11968 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11969
11970         * many files: strip,frontStrip -> trim,ltrim,rtrim
11971
11972 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11973
11974         * PrinterParams.h: remove extern containsOnly, and include
11975         support/lstrings.h instead.
11976
11977         * LaTeX.C (scanAuxFile): modify because of strip changes
11978         (deplog): ditto
11979         * buffer.C (makeLaTeXFile): ditto
11980         * bufferparams.C (writeFile): ditt
11981         * lyxfont.C (stateText): ditto
11982         * lyxserver.C (read_ready): ditto
11983         * vc-backend.C (scanMaster): ditto
11984
11985         * BufferView_pimpl.h: ws changes
11986
11987         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11988
11989 2002-07-26  André Pönitz <poenitz@gmx.net>
11990
11991         * kb_sequence.C: remove unnedred usings
11992
11993 2002-07-26  Juergen Vigna  <jug@sad.it>
11994
11995         * lyxfind.C (LyXReplace): we have to check better if the returned
11996         text is not of theLockingInset()->getLockingInset().
11997
11998 2002-07-25  Juergen Vigna  <jug@sad.it>
11999
12000         * lyxfind.C (LyXReplace): don't replace if we don't get the
12001         right LyXText.
12002
12003         * undo_funcs.C (createUndo): remove debugging code.
12004
12005 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
12006
12007         * buffer.C (parseSingleLyXformat2Token): Use default placement
12008         when reading old floats.
12009
12010         * FloatList.C (FloatList): Change the default placement of figure
12011         and tables to "tbp".
12012
12013 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * MenuBackend.C: using std::max
12016
12017 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12018
12019         * MenuBackend.C (expandToc):
12020         (expandToc2): code moved from xforms menu frontend. It is now
12021         generic and TOCs are transparent to menu frontends.
12022
12023 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12024
12025         * toc.C (getTocList): protect against buf=0
12026
12027         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12028         Menu as first parameter. Now, this calls itself recursively to
12029         expand a whole tree (this will be useful for TOC handling)
12030         (expandFloatInsert): remove 'wide' version of floats
12031
12032         * MenuBackend.h (submenuname): returns the name of the submenu.
12033         (submenu): returns the submenu itself, provided it has been
12034         created by MenuBackend::expand
12035
12036 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12037
12038         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12039         insets which have noFontChange == true. (bug #172)
12040
12041 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12042
12043         * BufferView_pimpl.C: add connection objects and use them...
12044         (Pimpl): here.
12045
12046 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12047
12048         * MenuBackend.C (expandLastfiles):
12049         (expandDocuments):
12050         (expandFormats):
12051         (expandFloatListInsert):
12052         (expandFloatInsert):
12053         (expand): split expand in parts
12054
12055 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12056
12057         * lyx_gui.C: use lyx_gui::exit()
12058
12059 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12060
12061         * LyXAction.C: show the failing pseudo action
12062
12063 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12064
12065         * buffer.C (readFile): Run the lyxconvert script in order to read
12066         old files.
12067
12068 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12069
12070         * LyXAction.C:
12071         * commandtags.h:
12072         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12073
12074 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12075
12076         * LyXAction.C:
12077         * commandtags.h:
12078         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12079
12080 2002-07-22  Herbert Voss  <voss@lyx.org>
12081
12082         * lengthcommon.C:
12083         * lyxlength.[Ch]: add support for the vertical lengths
12084
12085 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12086
12087         * toc.[Ch]: std:: fixes
12088
12089 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12090
12091         * lyxrc.C: do not include lyx_main.h
12092
12093         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12094         for layouts
12095
12096         * lyxrc.C:
12097         * encoding.C:
12098         * bufferlist.C:
12099         * BufferView2.C: include "lyxlex.h"
12100
12101         * tabular.h:
12102         * bufferparams.h: do not #include "lyxlex.h"
12103
12104         * lyxtextclasslist.C (Add): remove method
12105         (classlist): renamed to classlist_
12106
12107         * paragraph_pimpl.C:
12108         * paragraph.C:
12109         * text2.C:
12110         * CutAndPaste.C:
12111         * bufferview_funcs.C:
12112         * bufferlist.C:
12113         * text.C:
12114         * LaTeXFeatures.C:
12115         * buffer.C:
12116         * toc.C (getTocList): use BufferParams::getLyXTextClass
12117
12118         * toc.C (getTocList): use InsetFloat::addToToc
12119
12120         * toc.[Ch]: new files, containing helper functions to handle table
12121         of contents
12122
12123         * lyxfunc.C (dispatch): no need to remove spaces around command
12124         given as a string
12125         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12126         first command of the sequence; it is not very clever, but I do not
12127         have a better idea, actually
12128
12129         * LyXAction.C (LookupFunc): make sure to remove space at the
12130         beginning and end of the command
12131
12132 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12133
12134         * MenuBackend.C (getMenubar): new method: return the menubar of
12135         this menu set
12136         (read): treat differently reading of menu and menubar (in
12137         particular, the menubar has no name now)
12138         (Menu::menubar): remove
12139
12140         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12141         saving is finished
12142
12143 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12144
12145         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12146         a bibitem inset in a RTL paragraph.
12147
12148 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12149
12150         * paragraph_pimpl.C: constify
12151
12152         * BufferView_pimpl.C:
12153         * LaTeX.C:
12154         * lyxfunc.C: fix dispatch in a nicer way
12155
12156 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12157
12158         * lyxfunc.C (dispatch):
12159         * BufferView_pimpl.C:
12160         * BufferView_pimpl.h:
12161         * BufferView.C:
12162         * BufferView.h: rename Dispatch() to dispatch()
12163
12164         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12165
12166         * lyxlayout.C (Read): honor DependsOn tag
12167
12168         * lyxlayout.[Ch] (depends_on): new method
12169
12170         * version.C.in: update lyx_docversion
12171
12172         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12173
12174         * paragraph.C (validate): remove from here...
12175         * paragraph_pimpl.C (validate): ... and move here
12176         (isTextAt): make it const
12177
12178         * buffer.C (getLists): ws cleanup
12179
12180 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12181
12182         * language.C (read): Use iso8859-1 encoding in latex_lang
12183         (this prevents LyX from crashing when using iso10646-1 encoding).
12184
12185 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12186
12187         * text2.C (toggleInset): if cursor is inside an inset, close the
12188         inset and leave cursor _after_ it
12189
12190 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12191
12192         * lyxfunc.C: move minibuffer completion handling out of here
12193
12194 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12195
12196         * BufferView_pimpl.C:
12197         * LaTeX.C: fix dispatch calls
12198
12199 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12200
12201         * text.C (drawChars): Fix Arabic text rendering.
12202
12203 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12204
12205         * LyXAction.C:
12206         * commandtags.h:
12207         * lyxfunc.C: remove message-push/pop
12208
12209         * lyxserver.C:
12210         * lyxfunc.h:
12211         * lyxfunc.C: rationalise some code by removing verboseDispatch
12212           in favour of a bool argument to dispatch()
12213
12214 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12215
12216         * lyx_main.C (init): make sure to read symlinks as absolute paths
12217
12218 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12219
12220         * lyxfunc.h:
12221         * lyxfunc.C: no need for commandshortcut to be a member
12222
12223 2002-07-15  André Pönitz <poenitz@gmx.net>
12224
12225         * converter.C: add support for $$s (scripts from lib/scripts dir)
12226         * lyx_main.C: white space
12227
12228 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12229
12230         * bufferlist.C:
12231         * lyxrc.h:
12232         * lyxrc.C: remove second exit confirmation
12233
12234 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12235
12236         * BufferView.h:
12237         * BufferView.C:
12238         * BufferView2.C:
12239         * BufferView_pimpl.h:
12240         * BufferView_pimpl.C:
12241         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12242
12243 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12244
12245         * MenuBackend.C (expand): add numeric shortcuts to document menu
12246
12247         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12248
12249 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12250
12251         * lyxfont.C (setLyXFamily):
12252         (setLyXSeries):
12253         (setLyXShape):
12254         (setLyXSize):
12255         (setLyXMisc):
12256         (lyxRead):
12257         * debug.C (value):
12258         * buffer.C (asciiParagraph): use ascii_lowercase
12259
12260 2002-07-15  Mike Fabian  <mfabian@suse.de>
12261
12262         * lyxlex_pimpl.C (search_kw):
12263         * lyxlex.C (getLongString):
12264         * converter.h (operator<):
12265         * converter.C (operator<):
12266         * buffer.C (parseSingleLyXformat2Token):
12267         (asciiParagraph):
12268         * ToolbarDefaults.C (read):
12269         * MenuBackend.C (checkShortcuts):
12270         (read):
12271         * LColor.C (getFromGUIName):
12272         (getFromLyXName): use the compare_ascii_no_case instead of
12273         compare_no_case, because in turkish, 'i' is not the lowercase
12274         version of 'I', and thus turkish locale breaks parsing of tags.
12275
12276 2002-07-16  Angus Leeming  <leeming@lyx.org>
12277
12278         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12279         now takes a Buffer const & argument.
12280
12281 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * BufferView.C (resize): check there's a buffer to resize
12284
12285 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12286
12287         * lyxfunc.C: remove dead code
12288
12289         * lyxserver.h:
12290         * lyxserver.C: use lyx_guii::set_read_callback
12291
12292 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12293
12294         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12295         an inset in a RTL paragraph.
12296
12297 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12298
12299         * lyxfunc.C: repaint after a font size update
12300
12301 2002-07-15  André Pönitz <poenitz@gmx.net>
12302
12303         * lyxlength.C: inBP should be able to return negative values
12304
12305 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12306
12307         * lyxfunc.C: use lyx_gui::update_fonts()
12308
12309 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * lyxfunc.C: use lyx_gui::update_color()
12312
12313 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12314
12315         * bufferlist.C:
12316         * lyxfunc.h:
12317         * lyxfunc.C:
12318         * lyxrc.h:
12319         * lyxrc.C: remove file->new asks for name option, and let
12320           buffer-new take an argument
12321
12322 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12323
12324         * BufferView_pimpl.C: remove unneeded extra repaint()
12325
12326 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * LyXAction.C: allow command-sequence with NoBuffer
12329
12330         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12331
12332 2002-07-10  Angus Leeming  <leeming@lyx.org>
12333
12334         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12335
12336 2002-07-09  Angus Leeming  <leeming@lyx.org>
12337
12338         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12339
12340 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12341
12342         * lengthcommon.h: whitespace
12343
12344         * lyxfunc.C: update scrollbar after goto paragraph
12345
12346         * lyxtext.h: factor out page break drawing, and fix it so
12347           page break/added space paints as selected nicely
12348
12349 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12350
12351         * BufferView_pimpl.C: add FIXMEs, clean up a little
12352
12353 2002-07-09  André Pönitz <poenitz@gmx.net>
12354
12355         * lyxfont.[Ch]: support for wasy symbols
12356
12357 2002-07-08  André Pönitz <poenitz@gmx.net>
12358
12359         * BufferView_pimpl.C: apply John's patch for #93.
12360
12361 2002-07-05  Angus Leeming  <leeming@lyx.org>
12362
12363         * BufferView_pimpl.C (buffer): generate previews if desired.
12364
12365         * LColor.h: add "preview" to the color enum.
12366
12367         * LColor.C (LColor): add a corresponding entry to the items array.
12368
12369         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12370         with this buffer.
12371
12372 2002-07-05  Angus Leeming  <leeming@lyx.org>
12373
12374         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12375         The body of the code is now in the method that is passed an ostream &
12376         rather than a file name.
12377         Pass an additional only_preamble parameter, useful for the forthcoming
12378         preview stuff.
12379
12380 2002-07-03  André Pönitz <poenitz@gmx.net>
12381
12382         * lyxfunc.C: simplify getStatus() a bit for math stuff
12383
12384 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12385
12386         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12387
12388 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12389
12390         * text.C (changeRegionCase): do not change case of all the
12391         document when region ends at paragraph end (bug #461)
12392
12393 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12394
12395         * paragraph.C (startTeXParParams):
12396         (endTeXParParams): add \protect when necessary
12397
12398 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12399
12400         * BufferView_pimpl.C (workAreaExpose): remove warning
12401
12402 2002-06-27  Angus Leeming  <leeming@lyx.org>
12403
12404         * Makefile.am: add lyxlayout_ptr_fwd.h.
12405
12406 2002-06-26  André Pönitz <poenitz@gmx.net>
12407
12408         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12409
12410 2002-06-25  Angus Leeming  <leeming@lyx.org>
12411
12412         * lyxfunc.C (dispatch): Comment out the call to
12413         grfx::GCache::changeDisplay. The method no longer exists now that the
12414         pixmap generation part of the graphics loader has been moved into
12415         InsetGraphics.
12416
12417 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12418
12419         * text2.C: layout as layout
12420
12421         * text.C: layout as layout
12422
12423         * tabular.C (OldFormatRead): layout as layout
12424
12425         * paragraph_pimpl.C (TeXDeeper): layout as layout
12426         (realizeFont): layout as layout
12427
12428         * paragraph.C (writeFile): layout as layout
12429         (validate): layout as layout
12430         (getFont): layout as layout
12431         (getLabelFont): layout as layout
12432         (getLayoutFont): layout as layout
12433         (breakParagraph): layout as layout
12434         (stripLeadingSpaces): layout as layout
12435         (getEndLabel): layout as layout
12436         (getMaxDepthAfter): layout as layout
12437         (applyLayout): layout as layout
12438         (TeXOnePar): layout as layout
12439         (simpleTeXOnePar): layout as layout
12440         (TeXEnvironment): layout as layout
12441         (layout): layout as layout
12442         (layout): layout as layout
12443
12444         * lyxtextclass.C (compare_name): new functor to work with
12445         shared_ptr, layout as layout
12446         (Read): layout as layout
12447         (hasLayout): layout as layout
12448         (operator): layout as layout
12449         (delete_layout): layout as layout
12450         (defaultLayout): layout as layout
12451
12452         * lyxlayout_ptr_fwd.h: new file
12453
12454         * lyxlayout.C (Read): layout as layout
12455
12456         * lyx_cb.C (MenuInsertLabel): layout as layout
12457
12458         * bufferlist.C (newFile): layout as layout
12459
12460         * buffer.C (readLyXformat2): layout as layout
12461         (parseSingleLyXformat2Token): layout as layout
12462         (insertStringAsLines): layout as layout
12463         (asciiParagraph): layout as layout
12464         (latexParagraphs): layout as layout
12465         (makeLinuxDocFile): layout as layout
12466         (simpleLinuxDocOnePar): layout as layout
12467         (makeDocBookFile): layout as layout
12468         (simpleDocBookOnePar): layout as layout
12469         (getLists): layout as layout
12470
12471         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12472
12473         * CutAndPaste.C (cutSelection): layout as layout
12474         (pasteSelection): layout as layout
12475         (SwitchLayoutsBetweenClasses): layout as layout
12476
12477         * BufferView_pimpl.C (Dispatch): layout as layout
12478         (smartQuote): layout as layout
12479
12480         * BufferView2.C (unlockInset): layout as layout
12481
12482 2002-06-24  André Pönitz <poenitz@gmx.net>
12483
12484         * lyxfunc.C: fix #487
12485
12486 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12487
12488         * lyxrc.h:
12489         * lyxrc.C:
12490         * lyxfunc.C: remove display_shortcuts, show_banner
12491
12492 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12493
12494         * Buffer_pimpl.C: oops, update on resize
12495
12496 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12497
12498         * buffer.C:
12499         * converter.C:
12500         * exporter.C:
12501         * lyxfunc.C:
12502         * BufferView.h:
12503         * BufferView.C: use repaint()
12504
12505         * BufferView_pimpl.h:
12506         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12507           as it's a clearer description. Remove superfluous
12508           redraws.
12509
12510 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12511
12512         * text.C: fix bug 488. Not ideal, but getting
12513           getWord() to work properly for the insets that
12514           matter is more difficult ...
12515
12516 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * BufferView_pimpl.C:
12519         * LyXAction.C:
12520         * commandtags.h:
12521         * lyxfunc.C: remove the six million index lyxfuncs to just
12522           one, and DTRT (bug 458)
12523
12524 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12525
12526         * BufferView.h:
12527         * BufferView.C:
12528         * BufferView_pimpl.h:
12529         * BufferView_pimpl.C: clean up resize() stuff,
12530           and unnecessary updateScreen()s
12531
12532 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12533
12534         * BufferView.h:
12535         * BufferView.C:
12536         * BufferView_pimpl.h:
12537         * BufferView_pimpl.C:
12538         * lyxfind.h:
12539         * lyxfind.C:
12540         * minibuffer.C: remove focus management of workarea,
12541           not needed. Use screen's greyOut()
12542
12543 2002-06-17  Herbert Voss  <voss@lyx.org>
12544
12545         * converter.C: (convert) do not post a message, when converting
12546         fails, let the calling function decide what to do in this case
12547
12548 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12549
12550         * lyxfunc.C: tidy up a little
12551
12552 2002-06-16    <alstrup@diku.dk>
12553
12554         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12555         Got rid of FORMS_H_LOCATION include. Now we are
12556         GUII.
12557
12558 2002-06-15  LyX Development team  <lyx@rilke>
12559
12560         * buffer.[Ch] (sgmlOpenTag):
12561         (sgmlCloseTag): Added support for avoiding pernicious mixed
12562         content. Return number of lines written.
12563
12564         (makeLinuxDocFile):
12565         (makeDocBookFile): Fixed calls to sgml*Tag.
12566         Simple white space clean.
12567
12568         (simpleDocBookOnePar): Simple white space clean.
12569
12570         * tabular.[Ch] (docBook): Renamed to docbook and got another
12571         argument to related with the pernicious mixed content.
12572
12573         (docbookRow): Fixed calls for docbook inset method.
12574
12575 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12576
12577         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12578         so it's X11 independent.
12579
12580         * kb*.[Ch]: ditto.
12581
12582         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12583
12584 2002-06-15  Lyx Development team  <lyx@electronia>
12585
12586         * intl.h: Renamed getTrans to getTransManager.
12587
12588 2002-06-14  Angus Leeming  <leeming@lyx.org>
12589
12590         * Makefile.am: nuke forgotten stl_string_fwd.h.
12591
12592 2002-06-12  Angus Leeming  <leeming@lyx.org>
12593
12594         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12595
12596 2002-06-13  Angus Leeming  <leeming@lyx.org>
12597
12598         * LaTeX.C:
12599         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12600
12601 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12602
12603         * kbmap.C (getiso): add support for cyrillic and greek
12604
12605 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12606
12607         * BufferView.h:
12608         * BufferView.C:
12609         * BufferView_pimpl.h:
12610         * BufferView_pimpl.C: move bogus scrolling logic
12611           to xforms
12612
12613 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12614
12615         * lyxfunc.C:
12616         * BufferView_pimpl.C: view->resize() change
12617
12618 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12619
12620         * BufferView_pimpl.C: topCursorVisible
12621           prototype change
12622
12623 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12624
12625         * Makefile.am:
12626         * lyx_gui.h:
12627         * lyx_gui.C: move to frontends/
12628
12629         * main.C:
12630         * lyx_main.h:
12631         * lyx_main.C: changes from above
12632
12633 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12634
12635         * intl.C:
12636         * intl.h:
12637         * kbmap.C:
12638         * kbsequence.C:
12639         * lyx_cb.C:
12640         * lyx_main.C: minor tidy
12641
12642 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * BufferView_pimpl.h:
12645         * BufferView_pimpl.C:
12646         * BufferView.h:
12647         * BufferView.C: make painter() const,
12648           remove dead code
12649
12650         * BufferView2.C: use screen() accessor
12651
12652         * lyx_main.h:
12653         * lyx_main.C: some minor cleanup
12654
12655 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12656
12657         * BufferView_pimpl.h:
12658         * BufferView_pimpl.C: remove enter/leaveView,
12659           use workHeight()
12660
12661 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12662
12663         * BufferView.h:
12664         * BufferView.C:
12665         * BufferView2.C:
12666         * BufferView_pimpl.h:
12667         * BufferView_pimpl.C: only construct screen once,
12668           rename
12669
12670         * lyxrc.C: remove pointless comment
12671
12672 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * BufferView.h:
12675         * BufferView.C: remove active() and belowMouse()
12676
12677         * BufferView_pimpl.h:
12678         * BufferView_pimpl.C: use workarea() not workarea_,
12679           and make it use a scoped_ptr instead
12680
12681 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12682
12683         * lyx_gui.C: add debug message on BadWindow
12684
12685 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12686
12687         * sp_spell.C: fdopen is not part of the C++ standard.
12688
12689         * paragraph.C (InsetIterator): use >= instead of ==
12690
12691 2002-06-07  Angus Leeming  <leeming@lyx.org>
12692
12693         Fixes needed to compile with Compaq cxx 6.5.
12694         * BufferView_pimpl.C:
12695         * DepTable.C:
12696         * buffer.C:
12697         * converter.C:
12698         * encoding.C:
12699         * lyx_gui.C:
12700         * lyx_main.C:
12701         * lyxtextclasslist.C:
12702         * minibuffer.C:
12703         * sp_spell.C:
12704         * tabular_funcs.C:
12705         * vc-backend.C:
12706         all c-library variables have been moved into namespace std. Wrap
12707         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12708
12709         * lyxlength.C:
12710         * tabular-old.C:
12711         * tabular.C:
12712         Add a using std::abs declaration.
12713
12714         * kbmap.h (modifier_pair):
12715         * paragraph.h (InsetTable, InsetList):
12716         * lyxfont.h (FontBits):
12717         type definition made public.
12718
12719         * bufferlist.C (emergencyWriteAll): the compiler complains that
12720         there is more than one possible lyx::class_fun template to choose from.
12721         I re-named the void specialisation as lyx::void_class_fun.
12722
12723         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12724
12725         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12726         the compiler is is unable to find tostr in write_attribute.
12727
12728 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12729
12730         * buffer.C (sgmlError): hide #warning
12731
12732 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12733
12734         * xtl/*: get rid of xtl, which is not in use anyway
12735
12736         * LyXAction.C (init):
12737         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12738         were unimplemented xtl experimentation
12739
12740 2002-06-04  André Pönitz <poenitz@gmx.net>
12741
12742         * lyxfunc.C: disable array operation on simple formulae
12743
12744 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * converter.C: constify a bit
12747
12748 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12749
12750         * lyx_gui.C: check xforms version correctly
12751
12752 2002-04-30  Herbert Voss  <voss@lyx.org>
12753
12754         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12755         "keep" option
12756
12757 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12758
12759         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12760           attempt to register it with a VCS)
12761
12762 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12763
12764         * lyx_main.C (init): honor variables LYX_DIR_13x and
12765         LYX_USERDIR_13x
12766
12767 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12768
12769         * buffer.h:
12770         * buffer.C:
12771         * lyx_main.C: fix a crash on bad command line,
12772           and give a useful exit status on error
12773
12774         * lyxfunc.C (doImport): allow -i lyx to work
12775
12776 2002-03-30  André Pönitz <poenitz@gmx.net>
12777
12778         * lyxfunc.C: mathed font changes
12779
12780 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * LaTeX.C:
12783         * importer.h:
12784         * importer.C:
12785         * lyx_sty.h:
12786         * lyx_sty.C:
12787         * lyxlex.C:
12788         * lyxrow.h:
12789         * lyxtext.h:
12790         * paragraph.h:
12791         * paragraph.C:
12792         * texrow.h:
12793         * texrow.C:
12794         * text.C:
12795         * trans_mgr.h: srcdocs, and some minor cleanups
12796
12797 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12798
12799         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12800         call getFont all the time)
12801
12802 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12803
12804         * switch from SigC signals to boost::signals
12805
12806 2002-05-29  André Pönitz <poenitz@gmx.net>
12807
12808         * paragraph_pimpl.C (getChar): don't call size() too often...
12809
12810 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12811
12812         * paragraph_pimpl.C (insertChar): do not try to update tables when
12813         appending (pos == size())
12814
12815         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12816         in order to reduce drastically the number of comparisons needed to
12817         parse a large document
12818
12819 2002-05-29  André Pönitz <poenitz@gmx.net>
12820
12821         * text.C:
12822         * text2.C:
12823         * lyxtextclass.C:
12824         * sp_pspell.h:
12825         * textclasslist.[Ch]:
12826         * sp_ispell.h: whitespace change
12827
12828 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12829
12830         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12831         lyxaction directly now.
12832
12833 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12834
12835         * trans.C:
12836         * lyxfont.C:
12837         * lyxvc.C: remove unused headers
12838
12839 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12840
12841         * Makefile.am:
12842         * buffer.h:
12843         * undostack.h:
12844         * undostack.C:
12845         * undo_funcs.h:
12846         * undo_funcs.C: some cleanups. Use shared_ptr
12847           and a template for the undo stacks.
12848
12849 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12850
12851         * BufferView_pimpl.h:
12852         * BufferView_pimpl.C:
12853         * kbmap.h:
12854         * kbmap.C:
12855         * kbsequence.h:
12856         * kbsequence.C:
12857         * lyxfunc.h:
12858         * lyxfunc.C:
12859         * text2.C: use key_state/mouse_state
12860
12861 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12862
12863         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12864         and LSubstring
12865
12866         * chset.C: change include order
12867         (loadFile): use boost regex and get rid of LRegex and LSubstring
12868
12869         * Makefile.am (BOOST_LIBS): new variable
12870         (lyx_LDADD): use it
12871
12872         * LaTeX.C: change include order.
12873         (scanAuxFile): use boost regex and get rid of LRegex and
12874         LSubstring
12875         (deplog): ditto
12876
12877 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12878
12879         * ColorHandler.h:
12880         * ColorHandler.C:
12881         * FontInfo.h:
12882         * FontInfo.C: moved to frontends/xforms/
12883
12884         * FontLoader.h:
12885         * FontLoader.C: moved into frontends for GUIIzation
12886
12887         * Makefile.am:
12888         * lyx_gui.C:
12889         * lyxfont.C:
12890         * lyxfunc.C: changes from above
12891
12892 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12893
12894         * LColor.C: remove spurious X include
12895
12896         * BufferView_pimpl.C:
12897         * Makefile.am:
12898         * font.h:
12899         * font.C:
12900         * text.C:
12901         * text2.C: move font metrics to frontends/
12902
12903 2002-05-24  Juergen Vigna  <jug@sad.it>
12904
12905         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12906         setting the undo_cursor.
12907
12908         * ParagraphParameters.h: include local includes first.
12909
12910 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12911
12912         * BufferView_pimpl.C:
12913         * BufferView_pimpl.h:
12914         * Makefile.am:
12915         * WorkArea.h:
12916         * WorkArea.C:
12917         * screen.C: move WorkArea into frontends/
12918
12919         * lyxscreen.h:
12920         * screen.C:
12921         * text.C:
12922         * BufferView.C:
12923         * BufferView2.C: move LyXScreen into frontends/
12924
12925         * lyxlookup.h:
12926         * lyxlookup.C:
12927         * lyx_gui.C: move lyxlookup into frontends/xforms/
12928
12929 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12930
12931         * BufferView2.C:
12932         * BufferView_pimpl.C:
12933         * FontLoader.C:
12934         * LyXView.h:
12935         * LyXView.C:
12936         * Makefile.am:
12937         * WorkArea.C:
12938         * XFormsView.h:
12939         * XFormsView.C:
12940         * buffer.C:
12941         * bufferlist.C:
12942         * bufferview_funcs.C:
12943         * converter.C:
12944         * importer.C:
12945         * lyx_cb.C:
12946         * lyx_gui.C:
12947         * lyx_main.C:
12948         * lyx_find.C:
12949         * lyxfunc.C:
12950         * lyxvc.C:
12951         * minibuffer.C:
12952         * text.C:
12953         * text2.C:
12954         * trans.C:
12955         * vc-backend.C: move LyX/XFormsView into frontends/
12956
12957 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12958
12959         * Makefile.am:
12960         * PainterBase.C:
12961         * PainterBase.h:
12962         * Painter.C:
12963         * Painter.h:
12964         * WorkArea.C:
12965         * WorkArea.h:
12966         * screen.C:
12967         * tabular.C:
12968         * text.C:
12969         * text2.C: move Painter to frontends/
12970
12971 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12972
12973         * buffer.C: comment out some some code that depend upon lyx_format
12974         < 220
12975
12976         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12977         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12978
12979         * buffer.h (NO_COMPABILITY): turn off compability
12980
12981         * ColorHandler.C: include scoped_array.hpp
12982
12983         * font.C: Use more specific smart_ptr header.
12984         * Painter.C: ditto
12985         * gettext.C: ditto
12986         * ShareContainer.h: ditto
12987         * lyx_main.h: ditto
12988         * kbmap.h: ditto
12989         * FontInfo.h: ditto
12990         * BufferView_pimpl.h: ditto
12991         * ColorHandler.h: ditto
12992
12993         * kbmap.C (defkey): change call to shared_ptr::reset
12994
12995 2002-05-21  Juergen Vigna  <jug@sad.it>
12996
12997         * buffer.C (insertErtContents): fix to insert ert asis if it is
12998         non empty. Skip it completely if it contains only whitespaces.
12999
13000 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
13001
13002         * BufferView_pimpl.C:
13003         * BufferView2.C: clear selection on paste (bug 393)
13004
13005 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13006
13007         * DepTable.C: include ctime
13008
13009 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
13010
13011         * buffer.C (latexParagraphs): Add new argument (moving_arg).
13012
13013 2002-05-14  Juergen Vigna  <jug@sad.it>
13014
13015         * text.C (breakParagraph): fixed function to honor the keepempty
13016         layout in the right maner and also to permit the right breaking
13017         algorithm on empty or non empyt keepempty paragraphs.
13018
13019         * paragraph.C (breakParagraph): we have to check also if the par
13020         is really empty (!size()) for isempty otherwise we do the wrong
13021         paragraph break.
13022
13023 2002-05-10  Juergen Vigna  <jug@sad.it>
13024
13025         * buffer.[Ch] : The following are only changes to the ert
13026         compatibility read reading old LaTeX layout and font stuff and
13027         convert it to ERTInsets.
13028
13029         * buffer.h: added isErtInset().
13030
13031         * buffer.C (struct ErtComp): add a fromlayout bool to check
13032         if we're inside a LaTeX layout.
13033         (isErtInset): new helper function.
13034         (insertErtContents): look for other ert insets before this one
13035         and insert the contents there, so that we don't have subsequent
13036         ERT insets with nothing between them. This way we create only one
13037         inset with multiple paragraphs. Also check if we don't insert only
13038         spaces ' ' as they are ignored anyway afterwards in the .tex file
13039         so if we have only spaces we will ignore this latex part in the
13040         new file.
13041         (parseSingleLyXformat2Token \\layout): better compatibility when
13042         reading layout-latex stuff.
13043         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13044         language tag.
13045         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13046         stuff after reading the inset only get the information back from
13047         the stack.
13048
13049 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13050
13051         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13052
13053         * LaTeXFeatures.C (getBabelOptions): New method.
13054
13055 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13056
13057         * BufferView_pimpl.C (Dispatch): work around missing argument for
13058         'layout'
13059
13060 2002-05-08  Juergen Vigna  <jug@sad.it>
13061
13062         * text.C (leftMargin): handle paragraph leftindent.
13063
13064         * paragraph.C (writeFile): write the new \\leftindent tag.
13065         (validate): handle leftindent code.
13066         (TeXEnvironment): handle paragraphleftindent code again.
13067
13068         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13069
13070         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13071         for paragrap_extra indent code and new token \\leftindent.
13072         (latexParagraphs): handle the leftindent as environment.
13073
13074         * ParameterStruct.h: added leftindent support.
13075
13076         * ParagraphParameters.C (leftIndent): added support functions for
13077         the paragraph left indent.
13078
13079         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13080         more appropriate.
13081
13082 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13083
13084         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13085         inside insetERT.
13086
13087         * text.C (computeBidiTables): No bidi in insetERT.
13088
13089         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13090         in RTL documents.
13091
13092 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13093
13094         * version.C.in: pre 5
13095
13096 2002-05-02  José Matos  <jamatos@fep.up.pt>
13097         * buffer.C (makeDocBookFile): white space changes, add newline to
13098         command styles.
13099         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13100
13101         * tabular.C (docBook): fix typo.
13102
13103 2002-05-03  Juergen Vigna  <jug@sad.it>
13104
13105         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13106         change in LyXText as we can not be sure it was not freed.
13107         (drawOneRow): remove unused code.
13108
13109         * text.C (drawInset): redo the calculation of the need_break_row as
13110         it could have a row which was already freed.
13111         (draw): look at the return value of drawInset and return false if
13112         it also returned false.
13113         (paintRowText): look at the return value of draw and return false if
13114         it also returned false.
13115
13116         * lyxtext.h: added bool return type to drawInset() and draw() so that
13117         if we have a change in the row so that the rowbreak has to be redone
13118         we abort drawing as it will be called again.
13119
13120 2002-05-02  Juergen Vigna  <jug@sad.it>
13121
13122         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13123         a change in the maintext also if we're inside an inset.
13124         (Dispatch): set the cursor again after a break line and after the
13125         screen has been updated as it could be we're in a different row.
13126
13127         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13128         to set the cursor behind the pargraph with > size().
13129         (setCursor): check also for the same paragraph when checking where
13130         to put the cursor if we have a NFR inset.
13131
13132         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13133         parts of layout read further up as it still was in the wrong
13134         position.
13135
13136 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13137
13138         * screen.C (drawFromTo): change sine fullRebreak always return
13139         true.
13140
13141         * buffer.C (parseSingleLyXformat2Token): reindent some
13142
13143         * BufferView_pimpl.C (update): change since fullRebreak always
13144         return true.
13145         (Dispatch): git rid of the last hardcoded "Standard"s.
13146
13147 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13148
13149         * text2.[Ch] (fullRebreak): make it return void now that we always
13150         returned true.
13151
13152 2002-04-30  Juergen Vigna  <jug@sad.it>
13153
13154         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13155         ert compatibility check for "latex" layout.
13156
13157 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13158
13159         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13160         minipages: use col% instead of p%, and also use the current font.
13161         (makeLaTeXFile): Fix use babel condition.
13162         (parseSingleLyXformat2Token): Correct font when reading old floats.
13163
13164 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13165
13166         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13167         inserting list of floats.
13168
13169 2002-04-25  Herbert Voss  <voss@lyx.org>
13170
13171         * MenuBackend.C (expand): don't add the graphics extensions to the
13172         export menu
13173
13174 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13175
13176         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13177         non-existing layout, do not complain if it was the default layout
13178         of the original class (bug #342)
13179
13180 2002-04-24  Juergen Vigna  <jug@sad.it>
13181
13182         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13183         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13184
13185 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13186
13187         * buffer.C (getBibkeyList): If using \bibliography, return the
13188         option field with the reference itself. Enables us to provide natbib
13189         support when using \bibliography.
13190
13191 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13192
13193         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13194
13195         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13196         natbib is provided by the LaTeX class.
13197
13198 2002-04-23  Juergen Vigna  <jug@sad.it>
13199
13200         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13201         Wakeup functions.
13202
13203         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13204
13205 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13206
13207         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13208
13209         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13210         ensuremath around textordmasculine, textordfeminine and
13211         textdegree.
13212
13213 2002-04-19  Juergen Vigna  <jug@sad.it>
13214
13215         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13216         reinitializing the buffer otherwise row-dimensions may be wrong.
13217         (update): reset also the selection cursors if they do exits otherwise
13218         their x/y positions may be wrong.
13219
13220         * text2.C (cursorDown): don't enter the inset if we came from a row
13221         above and are one row over the inset.
13222
13223         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13224         really leaving an inset.
13225
13226 2002-04-18  Juergen Vigna  <jug@sad.it>
13227
13228         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13229         of the selected paragraph does not have the selected layout also if
13230         the last one had!
13231
13232         * text2.C (setLayout): fixed bug which did not change last selected
13233         paragraph.
13234
13235         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13236         changed the read and substituted \\end_float with \\end_inset!
13237
13238         * BufferView_pimpl.C (cursorPrevious):
13239         (cursorNext): fixed to make it work with rows heigher than the work
13240         area without moving the cursor only the draw of the row.
13241         (workAreaMotionNotify): fix jumping over high rows.
13242
13243 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13244
13245         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13246         Ressler.
13247
13248 2002-04-16  Juergen Vigna  <jug@sad.it>
13249
13250         * text2.C (setCursor): set also the irow().
13251         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13252         (cursorUp):
13253         (cursorDown): support for locking an inset if the x_fix value goes
13254         inside it. That way I can transverse insets too with cursor up/down.
13255
13256         * lyxrow.h: added irow helper function same as other (i) functions.
13257
13258         * BufferView_pimpl.C (cursorPrevious):
13259         (cursorNext): fixed for insets!
13260
13261 2002-04-15  Juergen Vigna  <jug@sad.it>
13262
13263         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13264         position otherwise it is wrong in some cases.
13265
13266         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13267         inside the inset before the call.
13268
13269 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13270
13271         * buffer.[Ch] (getBibkeyList): make it const.
13272
13273 2002-04-12  Juergen Vigna  <jug@sad.it>
13274
13275         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13276
13277         * text2.C (getCursorX): new helper function
13278         (setCursor): compute also ix_
13279         (setCursorFromCoordinates): set also ix.
13280
13281         * lyxcursor.h: added ix_ and helper functions.
13282
13283         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13284
13285         * buffer.C (insertStringAsLines): dont break paragraph if the this
13286         paragraph is inside an inset which does not permit it!
13287
13288         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13289         also with no chars on this paragraph.
13290         (paintRowText): only paint stuff if it's inside the workarea!
13291
13292         * paragraph.C (breakParagraph): honor keepempty flag and break the
13293         paragraph always below not above.
13294
13295         * BufferView2.C (unlockInset): update the paragraph layout on inset
13296         unlock as we changed paragraph in such a case.
13297
13298         * lyxfind.C (LyXFind): clear the former selection if not found!
13299
13300         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13301         again called in insertChar().
13302
13303         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13304         an inset which uses the whole row!
13305         (rightMargin): ditto.
13306         (insertChar): force a rebreak if we inserted an inset!
13307
13308 2002-03-28  Herbert Voss  <voss@lyx.org>
13309
13310         * lyxlength.[Ch]: add inBP() to get the right PS-point
13311         units (BigPoint). With inPixels we have rounding errors
13312
13313 2002-04-11  Juergen Vigna  <jug@sad.it>
13314
13315         * text2.C (setCursorFromCoordinates): set iy to the right value.
13316         (setCursor): add check if row->previous exists!
13317
13318         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13319         an old float_type as this was the case in the old code!
13320
13321         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13322
13323         * BufferView2.C (showLockedInsetCursor): use iy
13324         (fitLockedInsetCursor): ditto
13325
13326         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13327         locked insets as there we have the right value now.
13328
13329         * lyxcursor.C: added iy_ variable and iy functions to set to the
13330         baseline of cursor-y of the locked inset.
13331
13332         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13333         (setCursor): fixed for insets which need a full row.
13334
13335         * text.C (rowLastPrintable): don't ignore the last space when before
13336         an inset which needs a full row.
13337         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13338         as last character of a row when before a inset which needs a full row.
13339
13340 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13341
13342         * version.C.in: update date
13343
13344         * text2.C (fullRebreak): try to always return true and see what
13345         happens...
13346
13347 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13348
13349         * MenuBackend.C (expand): use Floating::listName
13350
13351         * FloatList.C (FloatList): add listName argument to the built-in
13352         floats
13353
13354         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13355         text associated with the float.
13356
13357 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13358
13359         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13360
13361 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13362
13363         * ShareContainer.h: add a couple of missing typenames.
13364
13365 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13366
13367         * lyxrc.C (getDescription): use _() correctly rather than N_().
13368
13369 2002-03-28  Herbert Voss  <voss@lyx.org>
13370
13371         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13372         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13373
13374 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13375
13376         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13377         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13378
13379 2002-03-29  Juergen Vigna  <jug@sad.it>
13380
13381         * lyxfunc.C (dispatch): add a missing fitCursor call.
13382
13383         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13384         it was scrolled by a cursor move, so return the bool status.
13385
13386         * BufferView.C (fitCursor): return the bool flag also to the outside
13387         world as this is needed.
13388
13389         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13390
13391         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13392         call the edit() as it is not needed (and wrong) IMO.
13393         (workAreaButtonPress): set the screen_first variable before evt.
13394         unlock the inset as this may change screen_first and then we have
13395         a wrong y position for the click!
13396
13397 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13398
13399         * MenuBackend.C (expand): another translation that I missed
13400
13401 2002-03-28  Juergen Vigna  <jug@sad.it>
13402
13403         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13404
13405         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13406
13407 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13408
13409         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13410
13411         * MenuBackend.C (expand): fix export/view/update when there is no
13412         document open.
13413
13414 2002-03-27  Herbert Voss  <voss@lyx.org>
13415
13416         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13417         and text%
13418
13419 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13420
13421         * bufferview_funcs.C (currentState): only show paragraph number
13422         for is DEVEL_VERSION is set.
13423
13424         * lyxfunc.C (dispatch): put warning in INFO channel
13425
13426         * MenuBackend.C (expand): translate the name of floats
13427
13428         * FloatList.C (FloatList): mark the float names for translation
13429
13430         * converter.C (convert): use LibScriptSearch
13431
13432 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13433
13434         * MenuBackend.C (defaults): fix default menu (we might as well get
13435         rid of it...)
13436
13437 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13438
13439         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13440         directory.
13441
13442 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13443
13444         * lyxvc.C: reorder includes.
13445
13446 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13447
13448         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13449           properly
13450
13451 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13452
13453         * CutAndPaste.C: change layouts earlier on paste
13454           to avoid crashing when calling getFont()
13455
13456 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13457
13458         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13459         irritating #error.
13460
13461 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13462
13463         * WorkArea.C: remove 'Pending' debug message.
13464
13465         * most files: ws cleanup
13466
13467         * buffer.[Ch]: ws changes
13468
13469         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13470
13471 2002-03-21  Juergen Vigna  <jug@sad.it>
13472
13473         * tabular.C (SetMultiColumn): collapse also the contents of the
13474         cells and set the last border right. Added a Buffer const * param.
13475
13476 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13477
13478         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13479         linking or not.
13480
13481 2002-03-19  Juergen Vigna  <jug@sad.it>
13482
13483         * text2.C (clearSelection): reset also xsel_cache.
13484
13485         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13486         where it needs to be called (John tells us to do so too :)
13487         (selectionLost): reset sel_cache.
13488
13489         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13490
13491 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13492
13493         * text2.C (setCursorIntern): put debuging code in INSETS channel
13494
13495 2002-03-19  André Pönitz <poenitz@gmx.net>
13496
13497         * lyxfunc.C: tiny whitespace change
13498
13499 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13500
13501         * ToolbarDefaults.C (init):
13502         * LyXAction.C (init):
13503         * commandtags.h:
13504         * BufferView_pimpl.C (Dispatch):
13505         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13506
13507 2002-03-19  Allan Rae  <rae@lyx.org>
13508
13509         * exporter.C (Export): removeAutoInsets before doing anything else.
13510         While I've just introduced a dependency on BufferView this really is
13511         the best place to clean the buffer otherwise you need to cleanup in
13512         a dozen places before calling export or cleanup in a dozen functions
13513         that export calls.
13514
13515         * converter.C (runLaTeX):
13516         (scanLog): Better handling of removeAutoInsets and screen updates.
13517
13518         * lyxfunc.C (dispatch): small whitespace changes
13519
13520 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13521
13522         * WorkArea.C (C_WorkAreaEvent): return a value.
13523         (event_cb): return 1 if we handled the event, 0 otherwise.
13524
13525         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13526
13527 2002-03-18  Juergen Vigna  <jug@sad.it>
13528
13529         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13530         (GetAdditionalWidth): ditto.
13531         (RightLine): ditto.
13532         (LeftLine): ditto.
13533
13534         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13535         inset if we're there actually (probably not used right now but this
13536         is the direction to go for unifying code).
13537         (paste): disable code to clear the selection.
13538
13539         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13540         inside an InsetText and move the check further up as it is in the
13541         wrong place.
13542
13543         * text2.C (pasteSelection): set a selection over the pasted text.
13544
13545 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13546
13547         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13548         and libgraphics to build on Cygwin.
13549
13550 2002-03-15  Juergen Vigna  <jug@sad.it>
13551
13552         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13553         inserting an Inset into the paragraph. I know this is not the best
13554         fix but we already use current_view in CutAndPaste so we will remove
13555         all of it's using at the same time.
13556
13557         * buffer.C (sgmlError): deactivated function till it is rewritten in
13558         the right mode, now it can create problems.
13559
13560         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13561         before accessing it.
13562
13563 2002-03-14  Juergen Vigna  <jug@sad.it>
13564
13565         * undo_funcs.C (textHandleUndo): do the right thing when updating
13566         the inset after the undo/redo.
13567
13568         * text2.C (setCursor): just some testcode for #44 not ready yet.
13569
13570         * undo_funcs.C (textHandleUndo): set the next() and previous()
13571         pointers of the paragraph to 0 before deleting otherwise we have
13572         problems with the Paragraph::[destructor].
13573
13574         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13575         on a paragraph insertion.
13576
13577 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13578
13579         * buffer.C (asciiParagraph): use += operator for char append to
13580         string.
13581
13582         * paragraph.C (getFontSettings): compare >= not just >
13583         (highestFontInRange): ditto
13584         (setFont): ditto
13585
13586 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13587
13588         * paragraph.C: change several algorithm to be more appripriate for
13589         the problem domain. This is lookip in FontList and in the InsetList.
13590
13591 2002-03-13  André Pönitz <poenitz@gmx.net>
13592
13593         * commandtags.h:
13594         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13595
13596 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13597
13598         * commandtags.h:
13599         * LyXAction.C:
13600         * lyxfunc.C:
13601         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13602
13603 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13604
13605         * Painter.C (display): anon helper function, adjust code for this
13606         change.
13607         (pixmap): remove function.
13608
13609         * Painter.h: remove private display variable.
13610
13611         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13612
13613 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13614
13615         * WorkArea.[Ch]: remove figinset_canvas cruft.
13616
13617 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13618
13619         * lyxtextclass.C (operator): add one item cache optimization.
13620
13621         * bufferlist.h: doxy changes
13622
13623         * bufferlist.C: ws changes
13624
13625         * DepTable.[Ch] (ext_exist): place const in the right spot.
13626
13627         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13628         call resizeInsets.
13629         (workAreaExpose): call resizeInsets when the with BufferView changes.
13630         (Dispatch): adjust for protectedBlank removal
13631         (specialChar): call updateInset if the insert went ok.
13632
13633         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13634         specialChar instead.
13635
13636         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13637
13638         * BufferView.h: doxy change
13639
13640         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13641
13642         * lyxtextclass.C (operator[]): remove non-const version
13643         (defaultLayout): remove non-const version
13644
13645 2002-03-12  Juergen Vigna  <jug@sad.it>
13646
13647         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13648         did resize the LyXText too.
13649
13650         * buffer.C (readLyXformat2): set layout information on newly allocated
13651         paragraphs.
13652
13653         * tabular.C (OldFormatRead): set layout information on the paragraph.
13654
13655 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13656
13657         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13658
13659 2002-03-11  Juergen Vigna  <jug@sad.it>
13660
13661         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13662         plainly wrong.
13663         (resizeCurrentBuffer): force also the insets to resize themselfes.
13664         (moveCursorUpdate): fixed up for InsetText.
13665
13666 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13667
13668         * commandtags.h:
13669         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13670         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13671         value of Dialogs::tooltipsEnabled().
13672         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13673
13674 2002-03-08  Juergen Vigna  <jug@sad.it>
13675
13676         * BufferView_pimpl.C (updateInset): update inset inside inset also
13677         if it isn't inside theLockingInset().
13678
13679 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13680
13681         * buffer.C (asciiParagraph): redo some of the word and line length
13682         handling.
13683         (getLists): look for Caption instead of caption.
13684
13685 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13686
13687         * buffer.C (Buffer): initialize niceFile to true
13688         (makeLaTeXFile):
13689         (makeLinuxDocFile):
13690         (makeDocBookFile): make sure niceFile is true on exit
13691
13692 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13693
13694         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13695
13696 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13697
13698         * LyXSendto.C: remove.
13699         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13700         * lyx_gui.C: remove now-redundant comment.
13701         * ColorHandler.h: remove forward declaration of class WorkArea.
13702         * lyxfunc.C: remove #include "WorkArea.h".
13703
13704 2002-03-07  Juergen Vigna  <jug@sad.it>
13705
13706         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13707         got moved away with the DEPM and also set the inset_owner always
13708         right which before could have been omitted.
13709
13710 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13711
13712         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13713         wanted layout is not found.
13714
13715 2002-03-07  Juergen Vigna  <jug@sad.it>
13716
13717         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13718
13719 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13720
13721         * paragraph.C (breakParagraph): use default layout not layout of
13722         prev paragraph.
13723         (Paragraph): clear ParagraphParameters.
13724
13725 2002-03-06  Juergen Vigna  <jug@sad.it>
13726
13727         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13728         otherwise it would not be a valid lenght. Fixed a special case in
13729         the minipage compatibility read where we end the document with a
13730         minipage.
13731
13732         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13733         was set as it could be 0 for InsetTexts first entry.
13734
13735 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13736
13737         * paragraph.C (writeFile): if layout is empty write out
13738         defaultLayoutName().
13739
13740         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13741         file without named layout we set layout to defaultLayoutName().
13742
13743 2002-03-06  Juergen Vigna  <jug@sad.it>
13744
13745         * CutAndPaste.C (copySelection): set layout for new paragraph.
13746
13747         * text.C (prepareToPrint): leave ERT inset left aligned
13748         (leftMargin): don't indent paragraphs inside ERT insets
13749
13750 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13751
13752         * paragraph.C (breakParagraph): dont call clear do the work manually
13753
13754         * paragraph.[Ch] (clear): remove function
13755
13756 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13757
13758         * paragraph.C (Paragraph): dont call clear, the work has already
13759         been done.
13760
13761         * lyxtextclass.C (operator): assert if n is empty
13762
13763         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13764         work manually instead.
13765
13766 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13767
13768         * BufferView_pimpl.C: protect selectionLost against text == 0
13769
13770 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13771
13772         * text.C (breakParagraph): fix a setting layout to '0' problem.
13773
13774 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13775
13776         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13777         final location of file, for the included files, and graphics.
13778
13779 2002-03-05  Juergen Vigna  <jug@sad.it>
13780
13781         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13782
13783 2002-03-04  Juergen Vigna  <jug@sad.it>
13784
13785         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13786
13787         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13788         last column of multicolumn cells.
13789         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13790
13791 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13792
13793         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13794         file if it doesn't go to a temporary file.
13795
13796         * buffer.C (sgmlOpenTag):
13797         (sgmlCloseTag):  remove extra newline insertion.
13798
13799 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13800
13801         * text.C (getRowNearY): comment out debug msg
13802
13803 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13804
13805         * text2.C: first -> first_y
13806
13807         * text.C (getRowNearY): add some attemts at a possible
13808         optimization, not working.
13809
13810         * tabular.[Ch]: add BufferParams to several function so that newly
13811         created paragraph can be initialized to he default layotu for the
13812         buffers textclass.
13813
13814         * tabular-old.C (ReadOld): add buf->params to call of Init
13815
13816         * screen.C: rename text->first to text->first_y
13817
13818         * paragraph.C (breakParagraph): always set layout in the broken
13819         paragraph
13820
13821         * lyxtextclass.C (Read): remove lowercase
13822         (hasLayout): ditto
13823         (operator): ditto
13824         (delete_layout): ditto
13825
13826         * lyxtext.h: rename first -> first_y
13827
13828         * lyxlayout.C (Read): remove lowercase
13829         (name): ditto
13830         (setName): ditto
13831         (obsoleted_by): ditto
13832
13833         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13834
13835         * buffer.C (insertErtContents): add params are to InsetERT
13836         (parseSingleLyXformat2Token): add code to check if a paragraphs
13837         layout really exist.
13838         (parseSingleLyXformat2Token): add params to several inset
13839         constructors
13840         (asciiParagraph): remove lowercase, do the layout comparisons with
13841         no_case
13842
13843         * BufferView_pimpl.C (cursorNext): first -> first_y
13844         (resizeCurrentBuffer): first -> first_y
13845         (updateScrollbar): first -> first_y
13846         (scrollCB): first -> first_y
13847         (workAreaMotionNotify): first -> first_y
13848         (workAreaButtonPress): first -> first_y
13849         (checkInsetHit): first -> first_y
13850         (cursorPrevious): first -> first_y
13851         (cursorNext): first -> first_y
13852         (Dispatch): add buffer_->params to severl inset contructors
13853
13854 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13855
13856         * lyxlayout.C (Read): remove some debug info that I forgot.
13857
13858         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13859         clean up the code slightly.
13860         (makeLinuxDocFile): ditto
13861         (makeDocBookFile): ditto
13862
13863         * text2.C: layout as string
13864
13865         * text.C: layout as string
13866
13867         * paragraph_pimpl.C: layout as string
13868
13869         * paragraph.[Ch]: layout as string
13870
13871         * lyxtextclasslist.[Ch]: layout as string
13872
13873         * lyxtextclass.[Ch]: layout as string
13874
13875         * lyxtext.h: layout as string
13876
13877         * lyxlayout.[Ch]: layout as string
13878
13879         * lyx_cb.C: layout as string
13880
13881         * bufferview_funcs.C: layout as string
13882
13883         * bufferparams.C: layout as string
13884
13885         * buffer.C: layout as string
13886
13887         * LyXView.[Ch]: layout as string
13888
13889         * LaTeXFeatures.[Ch]: layout as string
13890
13891         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13892
13893         * BufferView_pimpl.C: change current_layout to string, remove
13894         lyx::layout_type.
13895         (Dispatch):
13896         (smartQuote):
13897         (insertInset):
13898         (workAreaButtonRelease): layout as string
13899
13900         * BufferView2.C (unlockInset): adjust
13901
13902         * vspace.C (asLatexCommand): use an explict temp variable.
13903
13904 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13905
13906         * Makefile.am: use FRONTEND_*
13907
13908 2002-03-01  Juergen Vigna  <jug@sad.it>
13909
13910         * tabular.C (SetWidthOfMulticolCell): changed to something better
13911         I hope but still work in progress.
13912         (recalculateMulticolumnsOfColumn): renamed function from
13913         recalculateMulticolCells as it is more appropriate now.
13914         (SetWidthOfCell): calculate multicols better.
13915
13916 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13917
13918         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13919
13920         * lyxfunc.C (processKeySym): print sequence also if it is
13921         `deleted' (complete)
13922
13923         * kbsequence.C (print): print sequence even if it is deleted
13924         (complete would be a better word, actually).
13925
13926         * lyxfunc.C (dispatch): print complete options after a prefix key
13927
13928         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13929
13930 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13931
13932         * text2.C (setCharFont): eliminate setCharFont code duplication.
13933
13934 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13935
13936         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13937         LFUN_TABULAR_FEATURE (bug #177)
13938
13939 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13940
13941         * Makefile.am: remove figure.h
13942
13943 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13944
13945         * Bufferview_pimpl.C:
13946         * CutAndPasteC:
13947         * LaTeX.C:
13948         * LyXSendto.C:
13949         * buffer.C:
13950         * bufferlist.C:
13951         * converter.C:
13952         * language.C:
13953         * lyxfunc.C:
13954         * lyxvc.C:
13955         * paragraph.C:
13956         * text.C:
13957         * text2.C: remove #include "lyx_gui_misc.h".
13958
13959         * LaTeX.C: added #include <cstdio>
13960
13961 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13962
13963         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13964         that the paragraph following this one can have.
13965
13966         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13967
13968         * vspace.C (asLatexCommand): fix bogus gcc warning
13969
13970         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13971
13972 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13973
13974         * text2.C (setLayout): get rid of redundant code
13975
13976 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13977
13978         * text2.C (incDepth): make sure depth cannot be increased beyond
13979         reasonable values.
13980
13981 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13982
13983         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13984         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13985
13986         * PainterBase.h (image):
13987         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13988         a LyXImage const *.
13989
13990 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13991
13992         * BufferView.C:
13993         * BufferView.h:
13994         * BufferView_pimpl.C:
13995         * BufferView_pimpl.h:
13996         * LaTeXFeatures.C:
13997         * LyXAction.C:
13998         * LyXView.C:
13999         * Makefile.am:
14000         * UpdateList.h:
14001         * UpdateList.C:
14002         * buffer.C:
14003         * figure.h:
14004         * figureForm.C:
14005         * figureForm.h:
14006         * figure_form.C:
14007         * figure_form.h:
14008         * lyx_cb.C:
14009         * lyx_gui.C:
14010         * lyx_gui_misc.C:
14011         * lyxfunc.C:
14012         * sp_base.h:
14013         * sp_ispell.h:
14014         * sp_pspell.h:
14015         * sp_spell.C: remove fig inset, and the crap house of
14016           cards that follows it
14017
14018 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
14019
14020         * Makefile.am:
14021         * lyxserver.C:
14022         * os2_defines.h:
14023         * os2_errortable.h:
14024         * nt_defines.h: move .h into support/
14025
14026         * vms_defines.h: remove
14027
14028         * WorkArea.C: add space in debug output
14029
14030         * text2.C:
14031         * paragraph.C:
14032         * buffer.C: add WITH_WARNINGS
14033
14034         * vc-backend.h:
14035         * vc-backend.C:
14036         * bufferlist.C: s/retrive/retrieve/, add docs
14037
14038         * vspace.h:
14039         * vspace.C:
14040         * kbmap.h:
14041         * lyxlength.h:
14042         * lyxgluelength.h:
14043         * length_common.h:
14044         * chset.h:
14045         * chset.C: add docs
14046
14047         * lyxgui.C: add ID to X error handler
14048
14049         * lyxtestclass.c: fix typo
14050
14051 2002-02-26  Juergen Vigna  <jug@sad.it>
14052
14053         * tabular_funcs.C (write_attribute): changed so that some default
14054         attributes are not written at all.
14055         (getTokenValue): set default values before trying to read the
14056         value so we have the return value always set as default if we don't
14057         find the token we search for.
14058
14059         * tabular.C (Write): write bools as bools not as strings!
14060
14061 2002-02-22  Juergen Vigna  <jug@sad.it>
14062
14063         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14064         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14065
14066         * text.C (leftMargin): don't add an indent for paragraphs inside
14067         tabular cells (fix #208).
14068
14069 2002-02-21  José Matos  <jamatos@fep.up.pt>
14070
14071         * tabular.C (docBook): fixed support for long tables.
14072
14073 2002-02-20  Juergen Vigna  <jug@sad.it>
14074
14075         * text2.C (getFont): get the drawing font of the Inset if this
14076         paragraph is inside an inset (only important for InsetERT for now).
14077
14078         * buffer.C (insertErtContents): use new lanugage params in ERT
14079         constructor.
14080
14081         * CutAndPaste.C: commenting out seemingly uneeded code.
14082
14083 2002-02-19  Allan Rae  <rae@lyx.org>
14084
14085         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14086         Iterators might be simple to use but they also get invalidated.
14087         (removeAutoInsets): renamed saved cursor tracking variables and added
14088         some comments to clarify what everything does.
14089
14090 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14091
14092         * Chktex.C:
14093         * LaTeX.C:
14094         * LyXSendto.C:
14095         * converter.C:
14096         * lyx_cb.C:
14097         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14098         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14099
14100         * lyxfunc.C:
14101         * vc-backend.h: remove #include "support/syscall.h"
14102
14103         * LaTeX.C:
14104         * LyXSendto.C:
14105         * converter.C: rearrange #includes in Lars' approved fashion.
14106
14107         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14108         forward declare class Timeout in the header file.
14109
14110         * XFormsView.C: changes due to the above.
14111
14112         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14113         similar to LyXView.
14114
14115         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14116         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14117
14118 2002-02-18  José Matos  <jamatos@fep.up.pt>
14119
14120         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14121         insets contents.
14122
14123 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14124
14125         * a lot of small ws changes
14126         * add a lot of using std::XXX
14127         * use std construcs some places where approp.
14128         * use some exisint stuff from lyxfunctional where approp.
14129         * Make file changes to use partial linking (lets test this now...)
14130
14131 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14132
14133         * Chktex.C:
14134         * buffer.C:
14135         remove #include "support/syscontr.h" as it's redundant. Always has been.
14136
14137         * Chktex.C:
14138         * LaTeX.C:
14139         * LyXSendto.C:
14140         * converter.C:
14141         * lyx_cb.C:
14142         * vc-backend.C:
14143         change Systemcalls::System to Systemcalls::Wait and
14144         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14145         No change of functionality, just reflects the stripped down Systemcalls
14146         class.
14147
14148 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14149
14150         * debug.[Ch]: add a GRAPHICS type to the enum.
14151
14152 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14153
14154         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14155
14156         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14157         there is an inset.
14158
14159 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14160
14161         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14162         match the changes below.
14163
14164         * text2.C (toggleInset): if there is not editable inset at cursor
14165         position, try to see if cursor is _inside_ a collapsable inset
14166         and close it.
14167
14168 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14169
14170         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14171         document menu has a nice checkbox
14172
14173 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14174
14175         * lyxlength.C (asLatexString): change PW to output as percent of
14176         \textwidth.
14177
14178         * lengthcommon.C: change '%' to 't%'
14179
14180         * lyxfunc.C (dispatch): a few comments from Martin
14181
14182 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14183
14184         * WorkArea.h:
14185         * WorkArea.C:
14186         * BufferView_pimpl.h:
14187         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14188           the X selection.
14189
14190 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14191
14192         * vspace.C (inPixels): fix compiler warning
14193
14194 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14195
14196         * lyxfunc.C (getStatus): fix status message for disabled commands.
14197
14198 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14199
14200         * BufferView_pimpl.C: fix crash on close buffer
14201         during selection (#227)
14202
14203 2002-01-27  Herbert Voss  <voss@lyx.org>
14204
14205         * buffer.C: link old Figure to new graphic inset
14206
14207 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14208
14209         * FontLoader.C (getFontinfo): Change the latex font names in order
14210         to match the names of type1inst.
14211
14212 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14213
14214         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14215
14216         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14217         (extchanged): ditto
14218         (ext_exist): ditto
14219         (remove_files_with_extension): ditto
14220         (remove_file): ditto
14221         (write): ditto
14222
14223         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14224         document is smaller than the work area height. Do not initialize
14225         static variables to 0.
14226
14227 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14228
14229         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14230
14231         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14232         LFUN_LAYOUT_PARAGRAPHS.
14233
14234         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14235         tabular. It is possible to provide a possible cell, which will
14236         typically be the actcell from the corresponding insettabular
14237
14238         * lyxfunc.C (getStatus): small cleanup; disable
14239         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14240         true
14241
14242 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14243
14244         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14245
14246         * paragraph.C (startTeXParParams):
14247         (endTeXParParams): new methods. The LaTeX code to
14248         start/end paragraph formatting
14249         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14250         empty (fixes bug #200)
14251
14252         * vspace.C (inPixels): adapt to the change below
14253         (inPixels): [later] more cleanups (remove unused variables)
14254
14255         * lyxlength.C (inPixels): change to use a width and a height as
14256         parameter.
14257
14258 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14259
14260         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14261         Replaced with \paperwidth
14262
14263         * DepTable.C (insert): add std:: qualifier
14264
14265 2002-01-18  Allan Rae  <rae@lyx.org>
14266
14267         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14268         updated also?
14269
14270         * text.C (drawInset): Turned out I didn't know enough about how
14271         rebreaking worked.  This fixes most of the redraw problems.  I see
14272         an occasional cursor trail when a line is broken now and the cursor
14273         placement can seem out by a few pixels also after a rebreak.
14274
14275 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14276
14277         * buffer.C (parseSingleLyXformat2Token): update because minipage
14278         width is now a LyXLength
14279
14280         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14281
14282         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14283         math insets
14284
14285 2002-01-17  Juergen Vigna  <jug@sad.it>
14286
14287         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14288
14289         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14290         is set correctly and the inset is updated correctly.
14291
14292 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14293
14294         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14295         the beginning of the loop.
14296
14297 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14298
14299         * lyxrc.C: improve help for use_scalable_fonts
14300
14301 2002-01-17  Allan Rae  <rae@lyx.org>
14302
14303         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14304
14305 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14306
14307         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14308         make sure to set their inset_owner to the right value (bug #171)
14309
14310 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14311
14312         * DepTable.h
14313         * DepTable.C: Implement mtime checking to reduce time spent doing
14314         CRCs.
14315
14316 2002-01-16  Juergen Vigna  <jug@sad.it>
14317
14318         * tabular.C (GetAdditionalHeight): one of error fixed.
14319
14320         * lyxrc.C (output): small fix in writing use_pspell.
14321
14322 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14323
14324         * sp_base.h: #include LString.h
14325
14326 2002-01-16  Allan Rae  <rae@lyx.org>
14327
14328         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14329         Can someone check this please?
14330
14331         * text.C (drawInset): It was possible that p.row would be removed by
14332         breakAgainOneRow upsetting a few other settings.  There may be another
14333         small tweak possible by setting need_break_row = 0 when p.row has been
14334         removed but I don't know enough about the logic here.
14335
14336 2002-01-15  Allan Rae  <rae@lyx.org>
14337
14338         * text.C (insertChar): removed conditional truism.
14339
14340         * BufferView2.C (removeAutoInsets): More tweaks.
14341         cur_par_prev could be a stray pointer.  Check for trailing empty line
14342         in case last line was cur_par and only had an error inset on it.
14343
14344 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14345
14346         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14347         absolute
14348
14349         * vc-backend.C (most methods):
14350         * exporter.C (Export):
14351         * converter.C (convert):
14352         (runLaTeX):
14353         * LyXSendto.C (SendtoApplyCB):
14354         * lyxfunc.C (dispatch):
14355         (menuNew):
14356         (open):
14357         (doImport):
14358         * lyx_cb.C (AutoSave):
14359         (InsertAsciiFile):
14360         * BufferView_pimpl.C (MenuInsertLyXFile):
14361         * buffer.C (runChktex): use Buffer::filePath().
14362
14363         * buffer.h: rename filename to filename_; rename filepath to
14364         filepath_ and make it private
14365         (filePath): new method
14366
14367         * buffer.C (writeFile): use fileName()
14368         (getLatexName):
14369
14370         * lyx_main.C (init): fix starting  of LyX when the binary is a
14371         link from so,ewhere else.
14372
14373         * minibuffer.C: include <cctype> for isprint
14374
14375 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14376
14377         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14378         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14379         name clash with InsetCollapsable's width function.
14380
14381 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14382
14383         * lastfiles.C: include <iterator>
14384
14385 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14386
14387         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14388         std::count.
14389
14390         * buffer.C (makeLaTeXFile): ditto.
14391         Also make loop operation more transparent.
14392
14393 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14394
14395         * ToolbarDefaults.C: remove trailing comma closing namespace.
14396
14397         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14398
14399         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14400         as in WorkArea.
14401
14402         * trans.C (Load): comment out unused variable, allowed.
14403
14404 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14405
14406         * minibuffer.[Ch] (append_char): new method to recieve input from the
14407         drop-down completion browser. If a key was pressed, then recieve this
14408         char and append it to the existing string.
14409         (peek_event): modify the positioning data passed to the completion
14410         browser so that it can be placed above the minibuffer rather than below.
14411 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14412
14413         * LyXAction.C (init): alloe error-next for readonly documents.
14414
14415         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14416         count.
14417
14418 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14419
14420         * bufferlist.C (readFile): create the buffer _after_ checking that
14421         the file exists.
14422
14423         * lyxfunc.C (verboseDispatch): fix handling of arguments
14424
14425         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14426
14427         * lyxrc.C: use string::erase() instead of initializing to "".
14428
14429
14430 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14431
14432         * BufferView_pimpl.h:
14433         * BufferView_pimpl.C:
14434         * WorkArea.h:
14435         * WorkArea.C:
14436         * text2.C: tell X when we have made a selection for copying
14437
14438 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14439
14440         * BufferView_pimpl.C (MenuInsertLyXFile):
14441         * lyxfunc.C (menuNew):
14442         (open):
14443         (doImport): add shortcuts to directory buttons
14444
14445         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14446         open a float)
14447
14448         * lyxfunc.C (setStatusMessage):
14449         (getStatusMessage): new methods
14450         (getStatus):use setStatusMessage instead of setErrorMessage
14451         (dispatch): when function is disabled, set error message here
14452         [instead of in getStatus previously]
14453
14454         * BufferView_pimpl.C (workAreaButtonRelease): update
14455         toolbar/menubar here too.
14456
14457 2002-01-13  Allan Rae  <rae@lyx.org>
14458
14459         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14460         Now seems indestructible.  Remaining task is to audit all other
14461         code affected by deleteEmptyParagraphMechanism.  One small quirk
14462         left is that an empty document with an error in the preamble can
14463         be made to report an error but no error box appears.  I don't know
14464         where it goes.
14465         (removeAutoInsets): Improved comments.
14466
14467 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14468
14469         * Thesaurus.h:
14470         * Thesaurus.C: update for Aiksaurus 0.14
14471
14472 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14473
14474         * text2.C (firstParagraph): removed member function, all uses
14475         replaces with ownerParagraph
14476         (redoParagraphs): here
14477         (updateInset): here
14478         (toggleAppendix): here
14479         * BufferView2.C (insertErrors): here
14480         (setCursorFromRow): here
14481
14482 2002-01-13  Allan Rae  <rae@lyx.org>
14483
14484         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14485         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14486         There is still a way to segfault this although you may have to do this
14487         multiple times: Have an InsetERT with an unknown command in it.
14488         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14489         <down-arrow>, <Enter> again, View->DVI, BANG!
14490
14491         * text2.C (setCursor):
14492         (deleteEmptyParagraphMechanism):
14493         * lyxtext.h (setCursor):
14494         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14495         Making use of the return value may help fix other bugs.
14496
14497 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14498
14499         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14500
14501         * LyXView.C (updateMenubar): call MenuBar::update here
14502         (updateToolbar): but not here
14503         (showState): do not update toolbar/menubar
14504
14505         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14506         should need to care about that.
14507
14508         * lyxfunc.C (verboseDispatch): simplify a bit
14509         (getStatus): have a version which takes a pseudoaction, and
14510         another which requires a (kb_action,string).
14511
14512         * LyXAction.C (retrieveActionArg): make it work also when action
14513         is not a pseudo-action.
14514         (getActionName): simplify a bit
14515         (helpText):
14516
14517 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14518
14519         * lyxfunc.C (verboseDispatch): new families of methods with
14520         several ways to specify a command and a bool to indicate whether
14521         the command name and shortcut should be displayed in minibuffer
14522         (eventually, we could extend that to a finer bitmask like
14523         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14524         (dispatch): the pristine dispatch command which just, well,
14525         dispatchs! Note it still sets its result to minibuffer; I'm not
14526         sure we want that.
14527
14528         * lyxfunc.h: remove setHintMessage
14529
14530         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14531
14532 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14533
14534         * BufferView_pimpl.C (specialChar): delete new inset if we have
14535         not been able to insert it.
14536
14537         * kbmap.C: revert to using int instead of kb_action, since all we
14538         are dealing with is pseudo-actions.
14539
14540         * LyXAction.C (searchActionArg): change to return int instead of
14541         kb_action, since the result is a pseudoaction.
14542
14543 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14544
14545         * buffer.C (insertErtContents): Fix (partially) the font bug.
14546
14547 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14548
14549         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14550         as the other one is broken on my machine!
14551
14552 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14553
14554         * commandtags.h:
14555         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14556
14557 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14558
14559         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14560         reflect their actual use. Provide compatibility code for older lyxrc
14561         files.
14562
14563         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14564         FL_NORMAL_STYLE.
14565         change names of popup font variables in line with the changes to lyxrc.C
14566
14567 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14568
14569         * buffer.C (asciiParagraph): avoid outputing a word twice after
14570         an inset.
14571
14572         * lyxrc.C (getDescription): document that document_path and
14573         template_path can be empty.
14574
14575 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14576
14577         * LaTeXFeatures.C (getMacros):
14578         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14579
14580         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14581
14582         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14583         getPackages.
14584         (getPackages): rename feature "floats" to "float". Use an array to
14585         iterate over 'simple' features (i.e. just a \usepackage). Add
14586         handling of "amsmath" (renamed from "amsstyle").
14587
14588 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14589
14590         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14591         features list.
14592
14593 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14594
14595         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14596         FuncStaus::FuncStatus & FuncStaus::some_method().
14597
14598 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14599
14600         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14601         of the func_satus stuff. Edited and massaged in various ways by
14602         JMarc.
14603
14604         * lyxfunc.C (getStatus): use FuncStatus
14605
14606 2002-01-08  Juergen Vigna  <jug@sad.it>
14607
14608         * text.C (nextBreakPoint): use function Inset::isChar().
14609
14610         * paragraph.C (TeXOnePar): use function
14611         Inset::forceDefaultParagraphs.
14612
14613         * buffer.C (latexParagraphs): use function
14614         Inset::forceDefaultParagraphs.
14615
14616 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14617
14618         * lyx_gui.C (init): set the style of the menu popups to
14619         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14620
14621 2002-01-07  Juergen Vigna  <jug@sad.it>
14622
14623         * text.C (setHeightOfRow): small fix
14624         (prepareToPrint): don't look at alignment if we don't have the place
14625         for doing it.
14626
14627 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14628
14629         * box.C: New file. Move the Box methods and functions out of box.h,
14630         following Lars' suggestion.
14631
14632 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14633
14634         * box.h: #include "support/LOstream.h", needed for inlined function.
14635
14636         * lyxtextclass.C:
14637         * lyxtextclasslist.C: added some using std declarations.
14638
14639 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14640
14641         * box.h: make signed dimensions to allow insets wider than
14642           the screen (bug #162)
14643
14644         * BufferView_pimpl.C: add some insetHit debug
14645
14646 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14647
14648         * vc-backend.C: add FIXME
14649
14650 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14651
14652         * lyxfunc.C (getStatus): enable code for showing math font status
14653         in toolbar/menu.
14654
14655 2002-01-07  Juergen Vigna  <jug@sad.it>
14656
14657         * text.C (nextBreakPoint): removed debug output not needed anymore.
14658
14659 2002-01-06  Juergen Vigna  <jug@sad.it>
14660
14661         * text.C (nextBreakPoint): fixed up this function we had this bug
14662         since ever but now hopefully we break row better.
14663         (insertChar): we have to check if an inset is the next char as it
14664         could now happen that a large inset is causing a break.
14665
14666 2002-01-05  Juergen Vigna  <jug@sad.it>
14667
14668         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14669         if it doesn't like to be drawed.
14670
14671 2002-01-04  Juergen Vigna  <jug@sad.it>
14672
14673         * BufferView2.C (lockInset): forgot to set a cursor.
14674
14675         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14676
14677 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14678
14679         * FormMathsPanel.C:
14680         * FormMathsPanel.h
14681         * MathsSymbols.C:
14682         * form_maths_panel.C:
14683         * form_maths_panel.h:
14684         * form_maths_panel.fd: implemented sub- and super- buttons in math
14685         panel.
14686
14687         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14688         (or ^ space) to be used as in TeX (req'd by Andr�.
14689
14690         * lyxfunc.C: Allow ^ and _ again to be used both as
14691         super/subscript (mathed) and as themselves (in text).
14692
14693 2002-01-03  Allan Rae  <rae@lyx.org>
14694
14695         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14696         "LyX" or the filename of the current buffer if it has one.  This is a
14697         modified form of John Levon's patch.
14698
14699         * XFormsView.C (setWindowTitle): also set icon title.
14700
14701         * LyXView.h (setWindowTitle): signature changed.
14702         * XFormsView.h (setWindowTitle): ditto.
14703
14704 2002-01-02  Juergen Vigna  <jug@sad.it>
14705
14706         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14707
14708 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14709
14710         * screen.C (topCursorVisible): introduce a temp var for
14711         text->cursor.row(), handle the case where this row is null. (kindo
14712         hachish)
14713
14714         * text2.C (setCursor): add a couple of asserts.
14715
14716         * paragraph.h (inset_iterator): add -> operator
14717
14718         * paragraph.[Ch] (autoDeleteInsets): remove member function
14719
14720         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14721         cursor pos correctly and handle inset deletion by itself.
14722         (insertErrors): move iterator declaration out of for expression
14723
14724         * lyxtextclass.C: add <algorithm>
14725
14726         * Makefile.am: added the new files to sources, removed layout.C
14727
14728         * layout.C: removed file
14729
14730         * layout.h: remove LYX_DUMMY_LAYOUT
14731
14732         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14733         layout.
14734
14735         * lyxlayout.[Ch]:
14736         * lyxtextclass.[Ch]:
14737         * lyxtextclasslist.[Ch]: new files
14738
14739         * include order changes to a lot of files, also changes because of
14740         the six new files.
14741
14742 2001-12-27  Juergen Vigna  <jug@sad.it>
14743
14744         * buffer.C (asciiParagraph): more fixes.
14745
14746         * tabular.C (ascii): make ascii export support export of only the
14747         data separated by a column-delimiter.
14748         (ascii): better support for ascii export.
14749
14750         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14751
14752 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14753
14754         * tabular_funcs.C: use a "using std::getline" instead of the
14755         previous fix from Angus (necessary for cxx + lyxstring)
14756
14757 2001-12-24  Juergen Vigna  <jug@sad.it>
14758
14759         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14760
14761         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14762         problems. First check a minipage also if we have some ert-contents
14763         (not only on par->size(), second set the right depth of the paragraph
14764         on the relink to the root-paragraph-list!
14765
14766         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14767         which then did not anymore update the main paragraphs on undo/redo!
14768
14769 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14770
14771         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14772         code. Support all font-changing funcs (even those which are not in
14773         menu currently). Support for reporting font settings in
14774         mathed (disabled until Andre provides a function on mathed's side).
14775
14776         * func_status.h (toggle): small helper function to set toggle
14777         state on a flag.
14778
14779 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14780
14781         * tabular_funcs.C: getline -> std::getline
14782
14783 2001-12-21  Juergen Vigna  <jug@sad.it>
14784
14785         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14786         accessed and could be 0 (I couldn't generate this but it seems
14787         Michael could!).
14788
14789 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14790
14791         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14792         * tabular_funcs.h: here and include iosfwd
14793
14794 2001-12-20  Juergen Vigna  <jug@sad.it>
14795
14796         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14797         inside inset but undo_par was.
14798
14799 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14800
14801         * Thesaurus.C: always include <config.h> in sources.
14802
14803         * Painter.h:
14804         * lyxlookup.h:
14805         * box.h: do not include <config.h> in header files
14806
14807         * text.C (paintLastRow): remove unused variable
14808
14809         * text.C (transformChar):
14810         (insertChar):
14811         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14812
14813         * Painter.C (text):
14814         * font.C (width): rewrite to use uppercase() instead of
14815         islower/toupper.
14816
14817         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14818
14819 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14820
14821         * lyxfind.C: clean up of find failure position change
14822
14823 2001-12-20  Juergen Vigna  <jug@sad.it>
14824
14825         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14826
14827         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14828         (TeXRow): added to LaTeX a single tabular row.
14829         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14830         (Latex): simplified and finally good LT-h/f support.
14831         (various_functions): just small adaptions for LT-h/f support.
14832
14833         * tabular_funcs.[hC]: added and moved here all not classfunctions
14834         of LyXTabular.
14835
14836 2001-12-19  Juergen Vigna  <jug@sad.it>
14837
14838         * tabular.[Ch]: better support for longtabular options (not finished
14839         yet!)
14840
14841 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14842
14843         * text.C (paintLastRow): use the label font instead of the font of
14844         the last character to compute the size of *_BOX. This makes more
14845         sense and avoids a crash with empty paragraphs.
14846         Use Painter::rectangle to draw EMPTY_BOX.
14847
14848 2001-12-19  Juergen Vigna  <jug@sad.it>
14849
14850         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14851         the paragraphs if the replaced paragraph is not the first one!
14852         Tried to delete not used paragraphs but does not work yet so for
14853         now it's inside #ifdef's and by default off!
14854
14855 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14856
14857         * MenuBackend.C: include "lyx_main.h" instead of declaring
14858         lastfiles (actually was declared as LastFiles* instead of a
14859         scoped_ptr).
14860
14861 2001-12-17  Juergen Vigna  <jug@sad.it>
14862
14863         * tabular.C (AppendColumn): applied John's fix
14864
14865 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14866
14867         * BufferView.h:
14868         * BufferView.C:
14869         * BufferView_pimpl.h:
14870         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14871
14872         * Makefile.am:
14873         * box.h: new start of class for above
14874
14875         * lyxfunc.C: ignore space-only minibuffer dispatches.
14876           Show the command name when it doesn't exist
14877
14878         * minibuffer.C: don't add empty lines to the history
14879
14880         * minibuffer.C: add a space on dropdown completion
14881
14882 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14883
14884         * text.C: fix line above/below drawing in insets
14885
14886 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14887
14888         * lyxlength.C (LyXLength): Initialize private variables.
14889
14890 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14891
14892         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14893         when inserting error insets.
14894
14895 2001-12-13  Juergen Vigna  <jug@sad.it>
14896
14897         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14898         actually sometimes the before-paragraph.
14899         (setUndo): don't clear the redostack if we're not actually undoing!
14900
14901 2001-12-06  Juergen Vigna  <jug@sad.it>
14902
14903         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14904         and fixed redoing of main paragraph, so we can use it now ;)
14905
14906         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14907
14908 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14909
14910         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14911         Juergen's request
14912
14913 2001-12-13  André Pönitz <poenitz@gmx.net>
14914
14915         * undostack.[Ch]:
14916         * undo_func.C: minor cleanup
14917
14918 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14919
14920         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14921         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14922         font in urw-fonts package which is marked as -urw-fontspecific and
14923         does not work (incidentally, changing the encoding in the
14924         fonts.dir of this package to -adobe-fontspecific fixes the
14925         problem).
14926
14927         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14928         is a crash when undoing first paragraph (Juergen, please take a
14929         look). THis does not mean the undo fix is wrong, just that it
14930         uncovers problems.
14931
14932         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14933         the (Paragraph*) version when needed instead of duplicating the
14934         code.
14935
14936         * text.C (workWidth): use Inset::parOwner to find out where the
14937         inset has been inserted. This is a huge performance gain for large
14938         documents with lots of insets. If Inset::parOwner is not set, fall
14939         back on the brute force method
14940
14941         * paragraph_pimpl.C (insertInset):
14942         * paragraph.C (Paragraph):
14943         (cutIntoMinibuffer): set parOwner of insets when
14944         inserting/removing them
14945
14946         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14947
14948 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14949
14950         * commandtags.h:
14951         * LyXAction.C:
14952         * lyx_main.C:
14953         * lyxfunc.C:
14954         * mathed/formulabase.C:
14955         * mathed/math_cursor.[Ch]:
14956         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14957
14958
14959 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14960
14961         * lyxlength.[Ch] (operator!=): new function
14962
14963 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14964
14965         * text.C (workWidth): use Inset::parOwner to find out where the
14966         inset has been inserted. This is a huge performance gain for large
14967         documents with lots of insets. If Inset::parOwner is not set, fall
14968         back on the brute force method
14969
14970         * paragraph_pimpl.C (insertInset):
14971         * paragraph.C (Paragraph):
14972         (cutIntoMinibuffer): set parOwner of insets when
14973         inserting/removing them
14974
14975         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14976
14977 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14978
14979         * tabular-old.C (getTokenValue):
14980         * tabular.C (getTokenValue):
14981         (write_attribute): new versions for LyXLength
14982         (everywhere): adjust the use of widths
14983
14984         * tabular.h: change the type of widths from string to LyXLength
14985
14986 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14987
14988         * paragraph.C: fixed missing line number count when exporting
14989         Environments to LaTeX file
14990
14991         * buffer.C: added informational message for checking line numbers.
14992
14993 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14994
14995         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14996         paragraph, do the 'double space' part, but not the 'empty
14997         paragraph' one.
14998
14999         * text.C (workWidth): small optimization
15000         (getLengthMarkerHeight): use minimal size for negative lengths.
15001
15002 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
15003
15004         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
15005
15006         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
15007
15008 2001-12-11  André Pönitz <poenitz@gmx.net>
15009
15010         * FontLoader.C:
15011         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
15012
15013 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15014
15015         * text2.C: keep selection on a setFont()
15016
15017 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15018
15019         * lyx_cb.C: another bv->text misuse, from insert label
15020
15021 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15022
15023         * kbsequence.h:
15024         * kbsequence.C: re-instate nmodifier mask
15025
15026 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15027
15028         * lyx_main.h: make lyxGUI private.
15029
15030 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15031
15032         * lyxfind.C: place the cursor correctly on failed search
15033
15034 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15035
15036         * text.C (getLengthMarkerHeight): for small heights, the arrows
15037         are not always on top/bottom of the text
15038         (drawLengthMarker): smaller arrows; take the left margin in
15039         account; draw also vfills.
15040         (paintFirstRow):
15041         (paintLastRow): remove special code for vfill and standard spaces,
15042         since everything is handled in drawLengthMarker now.
15043
15044 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * buffer.C (insertErtContents): try to handle font and language
15047         interaction a bit better.g
15048
15049         * ColorHandler.C (updateColor): change the hash to cover the whole
15050         LColor enum, ws cleanup
15051         (getGCLinepars): ditto
15052         (getGCLinepars): only lookup in the linecache once.
15053
15054 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15055
15056         * iterators.C (operator++): Make the iterator more robust
15057
15058         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15059         (John's patch)
15060         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15061
15062 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15063
15064         * lyxtext.h:
15065         * text.C: better added space drawing
15066
15067 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15068
15069         * LyXView.C:
15070         * BufferView2.C: fix layout combo update on inset unlock
15071
15072 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15073
15074         * Makefile.am: don't compile unused files
15075
15076 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15077
15078         * lyxfunc.C:
15079         * commandtags.h:
15080         * LyXAction.C: remove old LFUN_LAYOUTNO
15081
15082 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15083
15084         * paragraph_pimpl.h:
15085         * paragraph_pimpl.C: isTextAt() doesn't need font param
15086
15087 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15088
15089         * lyxlex.h:
15090         * lyxlex.C: little cleanup
15091
15092 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15093
15094         * BufferView_pimpl.C: fix insertAscii for insets
15095
15096 2001-12-05  Juergen Vigna  <jug@sad.it>
15097
15098         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15099         set the right font on the "multi" paragraph paste!
15100
15101 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15102
15103         * trans_decl.h:
15104         * trans_mgr.[Ch]:
15105         * trans.[Ch]:
15106         * lyxgluelength.C:
15107         * lyxlength.C: remove out-commented code.
15108
15109         * BufferView_pimpl:
15110         * CutAndPaste.C:
15111         * DepTable.C:
15112         * buffer.C:
15113         * chset.C:
15114         * lastfiles.C:
15115         * lyxlex.C:
15116         * lyxlex_pimpl.C:
15117         * lyxserver.C:
15118         * screen.C:
15119         * tabular-old.C:
15120         * tabular.C:
15121         * text.C:
15122         * trans_mgr.C:
15123         * vc-backend.C: change "while(" to "while ("
15124
15125         * lyxlength.[Ch]: add zero function to check if length is zero or
15126         not
15127         * lyxgluelength.C: use it
15128
15129 2001-12-05  Allan Rae  <rae@lyx.org>
15130
15131         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15132         Works for 2.95.3, from what I understand of Garst's reports this should
15133         work for other g++ versions.  We're screwed if the abs(int) definition
15134         changed between bugfix releases of gcc.
15135
15136 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15137
15138         * text.C: fix chapter label offset !
15139
15140 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15141
15142         * lyxtext.h:
15143         * text.C: fix hfill at end of line, clean up
15144
15145 2001-12-04  Juergen Vigna  <jug@sad.it>
15146
15147         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15148         that we force an update of the inset and it's owners if neccessary.
15149
15150 2001-12-03  Juergen Vigna  <jug@sad.it>
15151
15152         * text.C (rowLast): simplified code
15153
15154 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15155
15156         * lyxfunc.C: fix show options on timeout
15157
15158 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15159
15160         * screen.C (topCursorVisible): scroll half a page when the cursor
15161         reached top of bottom of screen
15162
15163 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15164
15165         * minibuffer.C: deactivate on loss of focus
15166
15167 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15168
15169         * vspace.[Ch] (operator!=): add operator.
15170
15171 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15172
15173         * BufferView_pimpl.C: refuse to open an inset when
15174         there's a selection.
15175
15176 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15177
15178         * BufferView_pimpl.C: allow to click on RHS of full row insets
15179
15180 2001-11-30  Juergen Vigna  <jug@sad.it>
15181
15182         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15183         insets for undo reasons.
15184
15185 2001-11-28  André Pönitz <poenitz@gmx.net>
15186
15187         * vspace.[Ch]: cosmetical changes
15188
15189 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15190
15191         * LyXAction.h:
15192         * LyXAction.C:
15193         * lyxfunc.h:
15194         * lyxfunc.C:
15195         * kbmap.h:
15196         * kbmap.C:
15197         * lyxrc.C:
15198         * kbsequence.h:
15199         * kbsequence.C: part re-write of old kb code
15200
15201         * Painter.C:
15202         * WorkArea.C: remove Lgb_bug_find_hack
15203
15204 2001-11-30  José Matos <jamatos@fep.up.pt>
15205
15206         * buffer.C (makeDocBookFile): add a comment to point a hack.
15207         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15208         Fixed a double write of labels.
15209
15210 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15211
15212         * LaTeX.C:
15213         * LaTeX.h Fixed bug in LaTeX class where it would not
15214         re-run latex if no depfiles were changed, but the .dvi was removed.
15215
15216 2001-11-28  André Pönitz <poenitz@gmx.net>
15217
15218         * all the files from the change on 2001/11/26:
15219         use lyx::layout_type instead of LyXTextClass::size_type
15220         use lyx::textclass_type instead of LyXTextClassList::size_type
15221
15222 2001-11-29  Juergen Vigna  <jug@sad.it>
15223
15224         * text.C: added support for paragraph::isFreeSpacing()
15225
15226         * buffer.C: same as above
15227
15228         * paragraph.h: inserted isFreeSpacing() function to enable
15229         FreeSpacing inside InsetERT.
15230
15231         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15232         of the paragraph's in the cut/copy buffer to 0!
15233
15234         * text2.C (removeRow): remove the assert as it can!
15235
15236         * lyxtext.h: added helper function firstRow returning firstrow and
15237         made firstrow private again.
15238
15239         * BufferView2.C (lockInset): don't relock if we're already locked!
15240
15241         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15242         the only paragraph.
15243         (removeRow): added Assert::(firstrow)
15244
15245         * debug.C: forgot to add INSETTEXT here.
15246
15247 2001-11-28  Juergen Vigna  <jug@sad.it>
15248
15249         * sp_spell.C (initialize): changed error text to more general
15250         spellchecker command use (not only ispell!)
15251
15252         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15253
15254         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15255
15256 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15257
15258         * vspace.C: initialise lyxgluelength on failure
15259
15260 2001-11-28  Allan Rae  <rae@lyx.org>
15261
15262         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15263         declaration & definition that looks like a function declaration.
15264
15265 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15266
15267         * BufferView2.C (copy):
15268         (copyEnvironment): do not clear the selection when doing a copy.
15269
15270         * text.C (paintFirstRow): compilation fix
15271
15272 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15273
15274         * tabular.C (Latex): correct line count when writing latex.
15275
15276 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15277
15278         * paragraph_pimpl.h:
15279         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15280           bug a bit
15281
15282 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15283
15284         * text.C:
15285         * LColor.h:
15286         * LColor.C: change vfillline->added_space
15287
15288         * text.C: add markers and text for added space
15289
15290         * vspace.C: fix comment
15291
15292 2001-11-28  André Pönitz <poenitz@gmx.net>
15293
15294         * paragraph.C: whitespace changes
15295         * all the other files from the change on 2001/11/26:
15296         change *::pos_type into lyx::pos_type
15297
15298 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15299
15300         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15301         language of the document when inserting error insets.
15302
15303 2001-11-26  André Pönitz <poenitz@gmx.net>
15304
15305         * BufferView_pimpl.[Ch]:
15306         *       CutAndPaste.C:
15307         * buffer.[Ch]:
15308         * lyxcursor.[Ch]:
15309         * lyxfind.C:
15310         * lyxfunc.C:
15311         * lyxrow.[Ch]:
15312         * paragraph.[Ch]:
15313         * paragraph_pimpl.[Ch]:
15314         * sp_spell.C:
15315         * text.C:
15316         * text2.C: reduce header dependencies, introduce type for positions
15317
15318 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15319
15320         * <various>: change to use Alert.h
15321
15322 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15323
15324         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15325         when encountering an unknown token.
15326         (readLyXformat2): Show an error message if there were unknown tokens.
15327
15328 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15329
15330         * BufferView2.C:
15331         * BufferView_pimpl.C:
15332         * buffer.C:
15333         * paragraph.h:
15334         * text.C:
15335         * text2.C: use par->isInset()
15336
15337 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15338
15339         * paragraph_pimpl.h:
15340         * paragraph_pimpl.C: cleanup
15341
15342 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15343
15344         * text2.C (removeRow):
15345         * text.C (setHeightOfRow): remove useless (and costly) call to
15346         getRow.
15347
15348 2001-11-20  Allan Rae  <rae@lyx.org>
15349
15350         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15351         Now need Inset*::checkInsertChar() to return true for appropriate
15352         cases so that the characters in the minibuffer will actually be
15353         inserted.
15354
15355 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15356
15357         * text.C: change the order of the includes.
15358         (workWidth): initialize it at once.
15359         (workWidth): make maxw unsigned
15360         (setHeightOfRow): remove unused variable (inset)
15361         (selectSelectedWord): remove unused variable (inset)
15362         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15363
15364 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15365
15366         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15367         server is not running.
15368         (openConnection):
15369         (closeConnection): add debug info when server is disabled.
15370
15371         * ColorHandler.C (getGCForeground): send debug message to GUI
15372         channel.
15373
15374         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15375
15376         * kbmap.C (bind): modify because return conventions of
15377         kb_sequence::parse have changed.
15378
15379         * kbsequence.C (parse): only ignore spaces and not any stupid
15380         control character. This avoids tests like s[i] <= ' ', which are
15381         guaranteed to fail with 8bit characters and signed chars.
15382         Change return code to string::npos when there have been no error
15383         (0 was a bad idea when error is at first character)
15384
15385 2001-11-14  José Matos  <jamatos@fep.up.pt>
15386
15387         * buffer.h:
15388         * buffer.C (simpleDocBookOnePar): removed unused argument.
15389
15390 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15391
15392         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15393         insets which are part of a word. Paragraph::isLetter takes care of
15394         that now. Use Paragraph::isInset to identify insets.
15395         (selectSelectedWord): do not test for hyphenation break.
15396
15397         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15398         that protected spaces are considered as spaces.
15399
15400         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15401         Inset::isLetter.
15402
15403 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15404
15405         * lyxserver.h:
15406         * lyxserver.C: fix it. and small cleanup.
15407
15408 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15409
15410         * BufferView_pimpl.C: use inline helpers
15411
15412         * LaTeXFeatures.h:
15413         * LaTeXFeatures.C: fix typos
15414
15415         * Spacing.h:
15416         * Spacing.C: move spacing_string into class
15417
15418         * ToolbarDefaults.C: move stuff into namespace anon
15419
15420         * layout.h: update enum
15421
15422         * lyxfunc.C: use better debug
15423
15424         * minibuffer.h: fix typo
15425
15426         * debug.h:
15427         * debug.C:
15428         * WorkArea.C: add and use Debug::WORKAREA
15429
15430         * lyxtext.h:
15431         * text.C:
15432         * text2.C: code re-organisation, inline helpers
15433
15434 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15435
15436         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15437         std::vector.empty().
15438
15439 2001-11-09  Allan Rae  <rae@lyx.org>
15440
15441         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15442         '\n's after tables.  Tabular and ERT inset work now makes this no
15443         longer necessary.
15444
15445 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15446
15447         * minibuffer.h:
15448         * minibuffer.C: fix crash, improve drop-down completion
15449
15450 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15451
15452         * lyxserver.h:
15453         * lyxserver.C: invalidate fd's when doing endPipe()
15454
15455 2001-11-08  José Matos  <jamatos@fep.up.pt>
15456
15457         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15458         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15459
15460         * paragraph.h:
15461         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15462
15463 2001-11-07  José Matos  <jamatos@fep.up.pt>
15464
15465         * buffer.h:
15466         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15467         const qualifier.
15468
15469         * buffer.C (sgmlOpenTag):
15470         * buffer.C (sgmlCloseTag): removed debug info.
15471
15472         * buffer.h (sgmlOpenTag):
15473         * buffer.h (sgmlCloseTag): made public.
15474
15475 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15476
15477         * buffer.C (saveParamsAsDefaults):
15478         * lyx_cb.C (MenuLayoutSave): remove
15479
15480         * LyXAction.C (init):
15481         * commandtags.h:
15482         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15483
15484 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15485
15486         * buffer.C (setPaperStuff): removed from here...
15487
15488         * bufferparams.C (setPaperStuff): ... and moved there.
15489
15490 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15491
15492         * minibuffer.h:
15493         * minibuffer.C:
15494         * XFormsView.C: add support for drop-down completion
15495
15496 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15497
15498         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15499         commands.
15500
15501 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15502
15503         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15504         disabled.
15505
15506 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15507
15508         * lyx_main.C: change ref to known bugs
15509
15510 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15511
15512         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15513         to work around older babel problems.
15514
15515 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15516
15517         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15518
15519 2001-10-24  Juergen Vigna  <jug@sad.it>
15520
15521         * tabular-old.C (ReadOld): below variable changes reflected.
15522
15523         * tabular.[Ch]: added ltType struct for longtable header/footer
15524         defines and changed all instances where they are used. Added
15525         future support for double top/bottom rows.
15526
15527 2001-10-24  José Matos  <jamatos@fep.up.pt>
15528
15529         * buffer.h (docbookHandleCaption):
15530         * buffer.C (docbookHandleCaption): removed unused function.
15531         (makeDocBookFile): moved docbook supported version to v4.1.
15532
15533 2001-10-24  José Matos  <jamatos@fep.up.pt>
15534
15535         * tabular.h:
15536         * tabular.C (docbookRow): new function to export docbook code of a row.
15537         (DocBook): now honors the longtable flags.
15538
15539 2001-10-23  José Matos  <jamatos@fep.up.pt>
15540
15541         * LaTeXFeatures.h:
15542         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15543         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15544
15545         * buffer.C (makeLinuxDocFile):
15546         (makeDocBookFile): reworked the preamble, more clean, and with
15547         support for lyx defined entities. Changed the document declaration
15548         to be more XML friendly.
15549
15550         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15551         if we need to output XML that should be done with a filter.
15552
15553 2001-10-22  Juergen Vigna  <jug@sad.it>
15554
15555         * sp_pspell.h (class PSpell): add alive function needed in the
15556         controller to see if the spellchecker could be started.
15557
15558 2001-10-22  Juergen Vigna  <jug@sad.it>
15559
15560         * buffer.C (insertStringAsLines): modify the font for inserting
15561         chars in certain conditions by calling checkInsertChar(font).
15562
15563 2001-10-19  Juergen Vigna  <jug@sad.it>
15564
15565         * text.C (workWidth): use getRow instead of wrong algorithm.
15566         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15567
15568 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15569
15570         * lyxserver.h:
15571         * lyxserver.C:
15572         * lyx_main.h:
15573         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15574
15575 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15576
15577         * text.C (workWidth): do not search for the exact row when
15578         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15579         optimization for big documents.
15580
15581 2001-10-18  Juergen Vigna  <jug@sad.it>
15582
15583         * text.C (workWidth): new function with added Inset * parameter.
15584
15585 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15586
15587         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15588
15589         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15590         change return type of getColumnNearX.
15591
15592
15593         * text.C (changeRegionCase): use uppercase/lowercase instead of
15594         toupper/tolower.
15595         (leftMargin):
15596         (rightMargin): simplify code by factoring out the uses of
15597         textclasslist.
15598         (labelFill):
15599         (numberOfHfills):
15600         (setHeightOfRow):
15601         (appendParagraph): use Paragraph::size_type
15602
15603 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15604
15605         * vspace.C (asLatexString): add a missing break
15606
15607 2001-10-15  Herbert Voss  <voss@perce.de>
15608
15609         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15610
15611 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15612
15613         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15614         is not available.
15615
15616 2001-10-10  André Pönitz <poenitz@gmx.net>
15617
15618         * lyxfunc.C: removed greek_kb_flag.
15619
15620 2001-10-10  Herbert Voss  <voss@perce.de>
15621
15622         * lyx_main.C: delete global string help_lyxdir.
15623
15624 2001-10-09  Herbert Voss  <voss@perce.de>
15625
15626         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15627
15628         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15629
15630         * lyx_main.C: added global string help_lyxdir.
15631
15632         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15633
15634 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15635
15636         * lyxrc.C (set_font_norm_type): support iso8859-4
15637
15638 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15639
15640         * LaTeX.C (deplog): add another regex for MikTeX
15641
15642 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15643
15644         * lyxrc.C (set_font_norm_type): support iso8859-3
15645
15646 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15647
15648         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15649
15650         * LaTeXFeatures.C: remove special case of french and index
15651
15652         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15653         before \begin{document}). This solves several incompatibilities.
15654
15655 2001-10-03  Garst Reese  <reese@isn.net>
15656
15657         * lyx_cb.C: change CheckTex error msg.
15658
15659 2001-10-03  José Matos  <jamatos@fep.up.pt>
15660
15661         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15662
15663 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15664
15665         * .cvsignore: update
15666
15667         * lyx_main.C (commandLineVersionInfo): use new style version info.
15668
15669         * buffer.C (writeFile):
15670         (makeLaTeXFile):
15671         (makeLinuxDocFile):
15672         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15673
15674         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15675
15676         * version.h: update to use stuff in version.C
15677
15678         * version.C.in: new file. Contains version information determined
15679         at compile time. This is a merging of version.h and
15680         version_info.h.in.
15681
15682 2001-10-03  Juergen Vigna  <jug@sad.it>
15683
15684         * BufferView_pimpl.C (update): don't change "dirty" status in
15685         updateInset call.
15686
15687 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15688
15689         * WorkArea.C (c-tor): re-position version string slightly.
15690
15691 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15692
15693         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15694         revert to previous code.
15695
15696         WorkArea.[Ch]: (show, destroySplash): methods removed.
15697
15698         WorkArea.C: rework code so that it's an amalgam of the codes before and
15699         after the splash screen was moved to WorkArea.
15700
15701 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15702
15703         * lyxrc.C (read):
15704         * vspace.C (inPixels):
15705         (lyx_advance):
15706         * kbmap.C (bind):
15707         * buffer.C (insertStringAsLines):
15708         (asciiParagraph): fix types to be large enough
15709
15710         * lyxlex_pimpl.h: change member status from short to int
15711
15712         * layout.h: fix type of endlabeltype
15713
15714         * kbmap.C (bind):
15715         * kbsequence.C (parse): change return type to string::size_type
15716
15717         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15718         variable
15719
15720         * Bullet.C (bulletSize):
15721         (bulletEntry): do not use short ints as parameters
15722
15723         * BufferView2.C (insertLyXFile): change a char to an int.
15724
15725         * WorkArea.C (WorkArea): remove unneeded floats in computation
15726
15727 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15728
15729         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15730
15731         * paragraph.C (asString): Do not ignore newline/hfill chars when
15732         copying to the clipboard.
15733
15734 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15735
15736         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15737         after a multi-line inset.
15738
15739 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15740
15741         * paragraph.C (validate): Set NeedLyXFootnoteCode
15742
15743 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15744
15745         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15746         and decrease-error to decrease.
15747
15748 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15749
15750         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15751         it more readable (should be equivalent)
15752
15753 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15754
15755         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15756
15757 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15758
15759         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15760         of a cursor (row, etc.) after a character has been deleted
15761         (deleteEmptyParagraphMechanism): call the method above on _all_
15762         cursors held by the LyXText when a double space has been
15763         detected/deleted.
15764
15765 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15766
15767         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15768         pixmap.
15769         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15770
15771         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15772         background. Use greyOut() and the new show() methods to toggle between
15773         the foreground and background. Add code to remove the splash after
15774         its initial showing.
15775
15776         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15777         (create_forms): no longer call Dialogs::showSplash.
15778
15779 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15780
15781         * .cvsignore: add version_info.h
15782
15783 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15784
15785         * version_info.h.in: new file
15786
15787         * Makefile.am: add version_info.h.in
15788
15789         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15790         version_info.h instead of VERSION_INFO
15791
15792 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15793
15794         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15795         The ERT inset now returns string().
15796
15797 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15798
15799         * lyxtext.h, text.C (selectNextWord): renamed as
15800         selectNextWordToSpellcheck.
15801
15802         * text.C (selectNextWordToSpellcheck): Modified to not select
15803         words inside an ERT inset.
15804
15805 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15806
15807         * lyx_cb.C (MenuLayoutSave): change a bit the question
15808
15809         * sp_base.h: include <sys/types.h>
15810
15811 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15812
15813         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15814
15815 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15816
15817         * several files: fix typos in user-visible strings
15818
15819 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15820
15821         * text2.C (pasteSelection): do not set the selection, since it
15822         will be cleared later. Actually, the intent was to fix the way the
15823         selection was set, but I figured rmoving the code was just as good.
15824
15825 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15826
15827         * FontLoader.C (available): Check if font is available without
15828         loading the font.
15829
15830 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15831
15832         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15833
15834 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15835
15836         * lyxrc.[Ch]: added display_graphics variable and associated code.
15837
15838 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15839
15840         * bufferparams.C (hasClassDefaults): new method. Returns true if
15841         the buffer parameters correspond to known class defaults
15842
15843 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15844
15845         * XFormsView.C (show): set minimum size to the main window.
15846
15847 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15848
15849         * text2.C (copySelection):
15850         (cutSelection):
15851         * lyxfind.C (LyXReplace):
15852         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15853         LyXText::selectionAsString.
15854
15855         * paragraph.C (asString): add "label" argument to the second form
15856
15857         * text2.C (selectionAsString): add "label" argument and pass it to
15858         Paragraph::asString.
15859
15860 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15861
15862         * lyx_main.C (commandLineHelp): remove version information
15863
15864 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15865
15866         * lyx_main.C: add -version commandline option
15867
15868 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15869
15870         * paragraph.h: make the optional constructor arg required instead.
15871         some modifications to other files because of this.
15872
15873         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15874
15875         * lyxserver.C (C_LyXComm_callback): make it static
15876
15877         * lyx_main.C (error_handler): make it static
15878
15879         * lyx_gui.C (LyX_XErrHandler): make it static
15880
15881         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15882
15883         * WorkArea.C: make the extern "C" methods static.
15884
15885         * Makefile.am (lyx_LDADD): simplify
15886
15887 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15888
15889         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15890         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15891
15892         * LyXAction.C (init):
15893         * lyxfunc.C (dispatch): associated code removal.
15894
15895 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15896
15897         * lyxfont.h (isSymbolFont): shut off warning
15898
15899         * text.C (setHeightOfRow):
15900         (getVisibleRow): fix crash with empty paragraphs which have a
15901         bottom line
15902
15903 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15904
15905         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15906         code.
15907
15908 2001-09-04  José Matos  <jamatos@fep.up.pt>
15909         * buffer.C
15910         * buffer.h
15911         * tabular.C (docbook): rename docBook method to docbook.
15912
15913 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15914
15915         * Makefile.am: add dependencies to main.o.
15916
15917 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15918
15919         * FontLoader.C (available): Return false if !lyxrc.use_gui
15920
15921 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15922
15923         * FontInfo.C (query):
15924         * converter.C (view):
15925         * importer.C (Import):
15926         * exporter.C (Export): Can not -> cannot.
15927
15928 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15929
15930         * BufferView_pimpl.C: allow to create index inset even if
15931           string is empty
15932
15933 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15934
15935         * buffer.C (getLists): replace boost::tie code with an explicit pair
15936         as boost::tie can break some compilers.
15937
15938         * iterators.h: Added a std:: declaration to the return type of
15939         ParIterator::size.
15940
15941 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15942
15943         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15944           case.
15945
15946 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15947
15948         * iterators.[Ch]: New files. Provide paragraph iterators.
15949
15950         * buffer.C (changeLanguage): Use paragraph iterators.
15951         (isMultiLingual): ditto
15952
15953         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15954
15955 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15956
15957         * FontLoader.C: Support for cmr font.
15958
15959 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15960
15961         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15962         (available): New method.
15963
15964         * FontInfo.C (getFontname): Use scalable fonts even when
15965         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15966         found.
15967
15968 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15969
15970         * converter.C (Formats::view): reverted! Incorrect fix.
15971
15972 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15973
15974         * converter.C (Formats::view): only output the -paper option
15975         if the dvi viewer is xdvi, thereby fixing bug #233429.
15976
15977 2001-08-23  Herbert Voss  <voss@perce>
15978
15979         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15980
15981 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15982
15983         * Spacing.h (Spacing): Set space to Default on in the default
15984         constructor.
15985
15986 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15987
15988         * vc-backend.h (RCS::versionString): add RCS to version
15989         (CVS::versionString): add CVS to version
15990
15991         * vc-backend.C (scanMaster): do not add CVS to version.
15992         (scanMaster): do not add RCS to version
15993
15994         * lyxvc.C (versionString): new method
15995
15996         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15997
15998 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15999
16000         * Spacing.C (set): initialize fval
16001
16002 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
16003
16004         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
16005         " or \.
16006
16007 2001-08-16  Juergen Vigna  <jug@sad.it>
16008
16009         * lyxfunc.C (dispatch): implemented the new FINISHED states.
16010
16011 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16012
16013         * BufferView_pimpl.C:
16014         * figureForm.C:
16015         * lyxtext.h:
16016         * text2.C: setParagraph takes linespacing now
16017
16018 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
16019
16020         * LyxAction.C: add internal LFUN_CITATION_INSERT
16021
16022         * LyXView.C: actually apply fix
16023
16024         * bufferlist.C: fix open non-existent file
16025
16026         * lyxfind.C: fix indentation
16027
16028         * lyxfunc.C: remove unneeded assert, fix typo
16029
16030 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16031
16032         * MenuBackend.C: use "Floatname List"
16033
16034 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16035
16036         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16037         when converting LaTeX layout to insetERT.
16038         Generate a non-collapsed float when reading old float
16039
16040 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16041
16042         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16043         ERT insets.
16044
16045 2001-08-13  Juergen Vigna  <jug@sad.it>
16046
16047         * text.C (fill): return 0 instead of 20 as this seems to be the more
16048         correct value.
16049
16050 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16051
16052         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16053         lyxrc.font_norm.
16054
16055 2001-08-13  Juergen Vigna  <jug@sad.it>
16056
16057         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16058         casesensitive off.
16059         (SearchBackward): comment out the unlocking of the inset_owner this
16060         should not be needed!
16061
16062 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16063
16064         * Many files: Remove inherit_language, and add latex_language
16065
16066         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16067         collapsible insets.
16068
16069 2001-08-10  Juergen Vigna  <jug@sad.it>
16070
16071         * text.C (prepareToPrint): fixed hfill-width in draw!
16072
16073         * BufferView2.C (selectLastWord): save the selection cursor as this
16074         now is cleared in the function LyXText::clearSelection!
16075
16076 2001-08-08  Juergen Vigna  <jug@sad.it>
16077
16078         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16079         BACKSPACE type functions.
16080
16081         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16082         is only cutted from the document but not put in the cut-buffer, where
16083         still the old stuff should be.
16084
16085         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16086
16087         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16088
16089         * tabular.C (SetWidthOfCell): fixed special case where the width
16090         was not updated!
16091         (LeftLine): handle '|' in align_special.
16092         (RightLine): ditto
16093         (LeftAlreadyDrawed): ditto
16094         (SetWidthOfCell): ditto
16095
16096 2001-08-07  Juergen Vigna  <jug@sad.it>
16097
16098         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16099
16100 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16101
16102         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16103         * lyxlex.[hC]: ditto
16104
16105 2001-08-06  Juergen Vigna  <jug@sad.it>
16106
16107         * text.C (getVisibleRow): fix up row clearing a bit.
16108
16109 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16110
16111         * minibuffer.C: make sure the X server sees the changes in the input.
16112
16113 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16114
16115         * paragraph.C (getFont): split into...
16116         (getLabelFont): this
16117         (getLayoutFont): and this
16118         * paragraph_pimpl.C (realizeFont): calling this
16119
16120         * text2.C (getFont): split into...
16121         (getLayoutFont): this
16122         (getLabelFont): and this
16123         (realizeFont): all three calling this
16124
16125         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16126         files where used.
16127
16128 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16129
16130         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16131
16132 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16133
16134         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16135         layouts from the Quote inset insertion.
16136
16137 2001-08-03  Juergen Vigna  <jug@sad.it>
16138
16139         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16140
16141         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16142         only if status not is already CHANGED_IN_DRAW (second level).
16143
16144         * text.C (draw): don't set the need_break_row when inside an
16145         InsetText LyXText.
16146
16147 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16148
16149         * buffer.C (parseSingleLyXformat2Token): handle more latex
16150         conversion cases.
16151
16152         * bufferview_funcs.[hC]: change function names to
16153         begin with small char, adjust other files.
16154
16155 2001-08-02  André Pönitz <poenitz@gmx.net>
16156
16157         * lyxfunc.C:
16158         BufferView_pimpl.C: remove broken special code for math-greek
16159
16160 2001-08-02  Juergen Vigna  <jug@sad.it>
16161
16162         * BufferView_pimpl.C (update): redone this function so that we
16163         update the text again if there was a CHANGE_IN_DRAW.
16164
16165         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16166         (drawFromTo): added a new internal bool which is used by draw() and
16167         redraw() function.
16168         (general): some cursor drawing problems fixed.
16169
16170 2001-08-01  Juergen Vigna  <jug@sad.it>
16171
16172         * lyxfind.C (LyXFind): fixed
16173         (SearchForward): ditto
16174         (SearchBackward): ditto
16175
16176         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16177         spurius drawing of the cursor in the main area.
16178
16179         * text2.C (status): small fix which could lead to a segfault!
16180         (clearSelection): remove unneeded BufferView param.
16181
16182 2001-08-01  André Pönitz <poenitz@gmx.net>
16183
16184         * lyxfunc.C: small change due to changed mathed interface
16185
16186 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16187
16188         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16189
16190 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16191
16192         * lyxfunc.c: fail gracefully if file doesn't exist
16193
16194         * LyXSendto.C:
16195         * buffer.C:
16196         * lyxfunc.C:
16197         * BufferView_pimpl.C: IsDirWriteable() proto changed
16198
16199         * LyXView.C: fix updateWindowTitle() to store the last title
16200
16201 2001-07-31  Juergen Vigna  <jug@sad.it>
16202
16203         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16204         the font (wrong since using of Paragraph::highestFontInRange).
16205
16206         * paragraph.C (highestFontInRange): added a default_size parameter.
16207
16208         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16209         (setHeightOfRow): reformat
16210
16211 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16212
16213         * converter.[hC] + affected files: move to (inital-char)lowercase
16214         function names.
16215
16216         * ParagraphParameters.C (ParagraphParameters): remove commented code
16217
16218         * PainterBase.[Ch]: remove commented code
16219
16220         * LaTeXFeatures.h: add "bool floats" for float.sty
16221
16222         * LaTeXFeatures.C (LaTeXFeatures): init floats
16223         (require): handle float
16224         (getPackages): do it with floats
16225
16226 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16227
16228         * BufferView_pimpl.C (Dispatch): improve handling of
16229         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16230
16231         * commandtags.h: #include lyxfont.h here temporarily to avoid
16232         keybinding bug.
16233
16234         * bufferlist.h: include LString.h here.
16235
16236 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16237
16238         * text2.C (getStringToIndex): new method.
16239
16240 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16241
16242         * *: Reduced header file dependencies all over.
16243
16244 2001-07-30  Baruch Even  <baruch@lyx.org>
16245
16246         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16247
16248 2001-07-29  Baruch Even  <baruch@lyx.org>
16249
16250         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16251
16252 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16253
16254         * ParameterStruct.h (endif): add a default constructor to make
16255         sure that all variables is initialized.
16256
16257         * ParagraphParameters.C (ParagraphParameters): adjust
16258
16259 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16260
16261         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16262         index; also, check that there is something to index, and that it
16263         does not span over several paragraphs.
16264         (doubleClick): use WHOLE_WORD_STRICT for double click.
16265
16266         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16267
16268         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16269         scheme.
16270
16271 2001-07-26  Baruch Even  <baruch@lyx.org>
16272
16273         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16274         an InsetFig figure, backwards compatible reading of old figure code.
16275
16276 2001-07-27  Juergen Vigna  <jug@sad.it>
16277
16278         * text2.C: font.realize function adaption.
16279
16280         * text.C (draw): add a warnings lyxerr text if needed.
16281
16282         * layout.C: font.realize function adaption.
16283
16284         * language.C: add inherit_language and implement it's handlings
16285
16286         * bufferview_funcs.C (StyleReset): remove language parameter from
16287         font creation (should be language_inherit now).
16288
16289         * bufferparams.C (writeFile): handle ignore_language.
16290
16291         * paragraph.C (getFontSettings): the language has to be resolved
16292         otherwise we have problems in LyXFont!
16293
16294         * lyxfont.C (lyxWriteChanges): added document_language parameter
16295         (update): removed unneeded language parameter
16296
16297         * paragraph.C (validate): fixed wrong output of color-package when
16298         using interface colors for certain fonts in certain environments,
16299         which should not seen as that on the final output.
16300
16301 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16302
16303         * BufferView_pimpl.C:
16304         * Thesaurus.h:
16305         * Thesaurus.C:
16306         * Makefile.am:
16307         * commandtags.h:
16308         * LyXAction.C: add thesaurus support
16309
16310         * lyxfind.h:
16311         * lyxfind.C: add "once" parameter, for thesaurus, to not
16312           move to the next match
16313
16314 2001-07-26  Juergen Vigna  <jug@sad.it>
16315
16316         * lyxfont.C (realize): honor ignore_language too!
16317         (resolved): ditto.
16318
16319         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16320
16321         * text.C (draw): one place more for ignore_language to not draw
16322         itself!
16323
16324 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16325
16326         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16327
16328 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16329
16330         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16331         the minipage conversion problem.
16332
16333 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16334
16335         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16336         insert an inset.
16337
16338 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16339
16340         * BufferView.h: don't forward declare WorkArea
16341
16342         * BufferView.C: don't include WorkArea.h
16343
16344 2001-07-25  André Pönitz <poenitz@gmx.net>
16345
16346         * commandtags.h:
16347         * LyXAction.C:
16348         * lyxfunc.C:  new LFUN 'math-space'
16349
16350         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16351
16352 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16353
16354         * text2.C (toggleInset): call open/close
16355
16356 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16357
16358         * lyxfunc.C (dispatch): add debug for the disabled case
16359
16360         * font.C (buttonText): make similar to rectText
16361
16362         * buffer.C (readInset): comment out parsing of insetlist and
16363         insttheorem
16364
16365         * PainterBase.C (rectText): small correction
16366
16367         * BufferView_pimpl.C: comment out insettheorem and insetlist
16368         * LyXAction.C: ditto
16369         * commandtags.h: ditto
16370
16371 2001-07-24  Juergen Vigna  <jug@sad.it>
16372
16373         * text.C (draw): honor the ignore_language.
16374
16375         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16376
16377 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16378
16379         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16380         char inset.
16381
16382 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16383
16384         * lyxtext.h: remove unused (and unimplemented) methods
16385
16386 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16387
16388         * text.C (getVisibleRow): honor background color
16389
16390         * PainterBase.h:
16391         * Painter.h: remove default color argument for fillRectangle
16392
16393         * text.C (backgroundColor): new method
16394
16395 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16396
16397         * text.C (getVisibleRow): adjust
16398
16399         * font.[Ch] (rectText): new method, metrics
16400         (buttonText): new method, metrics
16401
16402         * PainterBase.[hC]: make rectText and buttonText always draw and take
16403         fewer paramteres.
16404
16405 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16406
16407         * ToolbarDefaults.C (read):
16408         * MenuBackend.C (read): allow escaping in all strings
16409
16410         * BufferView_pimpl.C (insertAndEditInset): new method.
16411         (Dispatch): use insertAndEditInset whenever appropriate.
16412
16413         * BufferView_pimpl.C (insertNote): removed
16414
16415         * BufferView_pimpl.C (smartQuote): new method, moved from
16416         BufferView; if an insetquote cannot be inserted, insert a '"'
16417         character instead.
16418
16419         * BufferView2.C: remove insertCorrectQuote();
16420
16421         * lyxfunc.C (getStatus): Add support for all remaingin
16422         inset-insert lfuns.
16423
16424         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16425
16426         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16427         command (necessary to pass " as parameter of self-insert.
16428
16429         * text.C (selectWordWhenUnderCursor):
16430         (selectWord): add word_location parameter
16431         (selectWordWhenUnderCursor): same + remove special code for word
16432         boundary.
16433         (selectNextWord): use kind() to guess type of insetspecialchar,
16434         not latex().
16435
16436         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16437         (insertErtContents): create ert insets as collapsed.
16438         (readInset): better compatibility code for Info inset.
16439
16440 2001-07-20  Juergen Vigna  <jug@sad.it>
16441
16442         * lyxfunc.C (dispatch): use always LyXFind now!
16443
16444         * text2.C (init): add a reinit flag so that the LyXText can be
16445         reinited instead of deleted and reallocated (used in InsetText).
16446
16447         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16448
16449         * text.C: ditto
16450
16451         * text2.C: ditto
16452
16453 2001-07-18  Juergen Vigna  <jug@sad.it>
16454
16455         * text.C (selectNextWord): handle insets inside inset by calling
16456         always the bv->text functions so that we can go up the_locking_inset!
16457
16458         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16459         in strange locations when inside an inset!
16460
16461         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16462         handling to include insets.
16463
16464         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16465
16466 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16467
16468         * LyXAction.C (init):
16469         * commandtags.h:
16470         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16471         LIGATURE_BREAK, since the name is so stupid.
16472
16473 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16474
16475         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16476         InsetInfos.
16477
16478         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16479
16480         * sp_form.[Ch]: remove.
16481
16482         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16483
16484         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16485         InsetInfo.
16486
16487         * src/buffer.C (readInset): ditto.
16488
16489 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16490
16491         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16492         menuSeparator(), endOfSentenceDot(), ldots() and
16493         hyphenationPoint(), which are therefore removed.
16494         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16495
16496         * LyXAction.C (init):
16497         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16498
16499         * paragraph.C (getWord): removed.
16500
16501         * BufferView_pimpl.C (Dispatch): use last word or selection for
16502         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16503
16504         * lyx_main.C (queryUserLyXDir): do not ask before creating
16505         user_dir, except if it has been named explicitely.
16506
16507 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16508
16509         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16510         a document of zero size.
16511
16512 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16513
16514         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16515         approriately in the c-tor and in require().
16516         (getPackages): output the appropriate LaTeX for natbib support.
16517
16518         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16519         variables "use_natbib" and "use_numerical_citations" when reading the
16520         LyX file.
16521         (readInset): read the various natbib cite commands.
16522         (validate): white-space change.
16523
16524         * bufferparams.[Ch]: new variables "bool use_natbib" and
16525         "bool use_numerical_citations".
16526         (writeFile): output them in the LyX file.
16527
16528 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16529
16530         * lyxfunc.C (getStatus): add support for all the inset insertion
16531         commands.
16532
16533         * text2.C (insertInset):
16534         * paragraph.C (insetAllowed):
16535         * BufferView_pimpl.C (insertInset): update to take in account the
16536         renaming of insertInsetAllowed
16537
16538         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16539
16540         * text2.C (getInset): new method. returns inset at cursor position.
16541
16542         * BufferView_pimpl.C (Dispatch): changes because of this.
16543
16544         * LyXAction.C (init): rename open-stuff to inset-toggle.
16545
16546         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16547
16548         * text2.C (toggleInset): renamed from openStuff; use
16549         Inset::open().
16550
16551 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16552
16553         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16554
16555         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16556
16557 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16558
16559         * buffer.C (readLyXformat2): Add filename to the error dialog
16560
16561 2001-07-18  Juergen Vigna  <jug@sad.it>
16562
16563         * tabular.C (GetCellNumber): put an assert here instead of the check!
16564
16565 2001-07-17  Juergen Vigna  <jug@sad.it>
16566
16567         * BufferView_pimpl.C (toggleSelection): adapted too.
16568
16569         * text.C (selectNextWord): adapted for use with insets.
16570         (selectSelectedWord): ditto
16571
16572 2001-07-17  Juergen Vigna  <jug@sad.it>
16573
16574         * sp_spell.C (PSpell): fix initialitation order.
16575
16576 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16577
16578         * paragraph.C: spacing
16579
16580 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16581
16582         * sp_spell.C: repair language selection for pspell
16583
16584 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16585
16586         * lyxfunc.h: change more methods to begin with lower char.
16587
16588 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16589
16590         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16591         for unknown layouts.
16592
16593 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16594
16595         * buffer.C (readLyXformat2): Generate an error dialog if there are
16596         unknown layouts.
16597
16598 2001-07-16  Juergen Vigna  <jug@sad.it>
16599
16600         * sp_spell.C: always compile ISpell part.
16601
16602         * lyxrc.C: added use_pspell entry and it's handling.
16603
16604 2001-07-13  Juergen Vigna  <jug@sad.it>
16605
16606         * sp_spell.C: removed double includes.
16607
16608 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16609
16610         Consistent use of Lsstream.h:
16611         * Lsstream.h: added using std::stringstream for consistencies sake.
16612
16613         * buffer.C: removed using std::stringstream
16614
16615         * lyxfont.C (stateText):
16616         * paragraph.C (asString):
16617         * text.C (selectNextWord, selectSelectedWord):
16618         * text2.C (setCounter):
16619         * vspace.C (asString, asLatexString):
16620         std::ostringstream -> ostringstream.
16621
16622 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16623
16624         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16625         * commandtags.h: add LFUN_HELP_ABOUTLYX
16626         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16627
16628 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16629
16630         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16631         cursorToggle()
16632         * lyx_gui_misc.C: remove spellchecker
16633         * lyxfunc.C: showSpellchecker
16634         * sp_base.h: added
16635         * sp_ispell.h: added
16636         * sp_pspell.h: added
16637         * sp_spell.C: added
16638         * sp_form.[Ch]: removed
16639         * spellchecker.[Ch]: removed
16640
16641 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16642
16643         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16644         is set.
16645         (simpleTeXSpecialChars): Simply print the input character without
16646         any special translation if pass_thru is set.
16647
16648         * layout.h: Added bool pass_thru to layout class for being able to
16649         implement pass through of a paragraph for Literate Programming.
16650
16651         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16652         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16653         * layout.C (Read): add "passthru" to list of layout tags and add
16654         code to set the pass_thru boolean when it is read.
16655
16656 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16657
16658         * trans_decl.h: remove allowed from KmodInfo
16659
16660         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16661         remove allowed code
16662         (Load): adjust
16663
16664         * paragraph_pimpl.C (erase): use boost::prior
16665
16666         * Painter.C (text): use data() instead of c_str() when length is
16667         also provided.
16668         * WorkArea.C (putClipboard): ditto
16669         * font.h (width): ditto
16670
16671         * BufferView2.C: use it-> instead of (*it). for iterators
16672         * texrow.C: ditto
16673         * paragraph_pimpl.C: ditto
16674         * paragraph.C: ditto
16675         * minibuffer.C: ditto
16676         * language.C: ditto
16677         * kbmap.C: ditto
16678         * encoding.C: ditto
16679         * counters.C: ditto
16680         * converter.C: ditto
16681         * chset.C: ditto
16682         * Variables.C: ditto
16683         * TextCache.C: ditto
16684         * MenuBackend.C: ditto
16685         * LyXAction.C: ditto
16686         * LColor.C: ditto
16687         * FloatList.C: ditto
16688         * DepTable.C: ditto
16689         * ColorHandler.C (LyXColorHandler): ditto
16690
16691 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16692
16693         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16694
16695         * text2.C (openStuff): reintroduce this method (which had been
16696         nuked in NEW_INSETS frenzy).
16697
16698         * lyxfunc.C (Dispatch): when an action has not been handled, use
16699         its name in the error message, not its number.
16700
16701         * paragraph.C (inInset): change method name to begin with lowercase.
16702
16703         * undo_funcs.C:
16704         * text2.C: updates because of this.
16705
16706 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16707
16708         * ToolbarDefaults.C (add): add spaces in error message
16709
16710 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16711
16712         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16713         (readLyXformat2): rename return_par to first_par, use lyxlex's
16714         pushToken and remove the manual push handling.
16715         (parseSingleLyXformat2Token): add another ert comp. variable:
16716         in_tabular, rename return_par to first_par. handle newlines better
16717
16718 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16719
16720         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16721
16722 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16723
16724         * text2.C (getParFromID): removed
16725
16726         * buffer.C (getParFromID): new method moved form lyxtext.
16727         * BufferView2.C (insertErrors): adjust
16728         (setCursorFromRow): adjust
16729         * BufferView_pimpl.C (restorePosition): adjust
16730         * lyxfunc.C (Dispatch): adjust
16731         * undo_funcs.C (textUndo): adjust
16732         (textRedo): adjust
16733         (textHandleUndo): adjust
16734         (textHandleUndo): adjust
16735
16736 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16737
16738         * buffer.C: up' the LYX_FORMAT
16739
16740         * lyxfont.h: turn NO_LATEX on as default
16741
16742         * buffer.C (insertErtContents): new methods of tex style compability.
16743         (parseSingleLyXformat2Token): use it several places.
16744         * tabular.C (OldFormatRead): and here
16745
16746 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16747
16748         * text2.C: remove some commented code.
16749         reindent file.
16750
16751         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16752         * trans.C: changes because of the above.
16753
16754 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16755
16756         * text2.C (setCounter): Fix counters bug with bibliography layout.
16757
16758 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16759
16760         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16761         own member functions
16762         (simpleTeXSpecialChars): ditto
16763
16764 2001-07-06  Juergen Vigna  <jug@sad.it>
16765
16766         * a lot of files: changed the access to LyXText::status and the
16767         call of undo-functions.
16768
16769         * undo.[Ch]: added a inset_id to the undo informations.
16770
16771         * undo_funcs.[Ch]: added and moved here all undo functions.
16772
16773         * lyxtext.h: give the status enum a weight, made status_ a private
16774         variable and made accessor functions for it, removed the whole bunch
16775         of undo-functions as they are now in their own file, make some
16776         functions publically available. Added function ownerParagraph with
16777         int parameter.
16778
16779         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16780         made InInset() a const function, added getParFromID() function.
16781
16782         * buffer.[Ch]: added const version for inset_iterator functions,
16783         added getInsetFromID() function.
16784
16785         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16786         changed undo functions for new version.
16787
16788 2001-07-05  Juergen Vigna  <jug@sad.it>
16789
16790         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16791         unknow mechanism does not call the proper constructor but only this
16792         one also if I request the other!?
16793
16794 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16795
16796         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16797
16798         * text2.C (LyXText): use initialization lists.
16799
16800         * lyxtext.h (Selection): initialize set_ and mark_
16801         (init): remove method
16802
16803 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16804
16805         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16806
16807 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16808
16809         * screen.[Ch]: change method names to begin with lowercase
16810
16811         * BufferView_pimpl.C (updateScrollbar): simplify further and
16812         hopefully make it a bit faster.
16813
16814 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16815
16816         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16817         calling directly xforms functions.
16818
16819         * Painter.C (Painter):
16820         * lyx_cb.C (MenuWrite):
16821         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16822         fl_display.
16823
16824         * lyx_gui.C: remove bogus guiruntime extern declaration.
16825
16826 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16827
16828         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16829         in NEW_INSETS
16830         (redoDrawingOfParagraph): ditto
16831         (redoParagraphs): ditto
16832         (cutSelection): don't create a object for CutAndPaste use the
16833         static method directly
16834         (pasteSelection): ditto
16835
16836         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16837         LyXview (+ rename)
16838
16839 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16840
16841         * modifications to some other files because of this.
16842
16843         * Makefile.am (lyx_SOURCES): add XFormsView
16844
16845         * XFormsView.[Ch]: new files
16846
16847         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16848         the main window. Move the gui dependent stuff to XFormsView
16849
16850 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16851
16852         * tabular.C (GetCellInset): update cur_cell also in the row/col
16853         version of this function.
16854
16855         * lyxfunc.C: no need to include figure_form.h here.
16856
16857         * FontLoader.h:
16858         * lyxfunc.h:
16859         * lyxscreen.h:
16860         * text2.C:
16861         * lyxvc.C: no need to include forms.h here.
16862
16863 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16864
16865         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16866
16867         * lyxfunc.C (Dispatch):
16868         * Spacing.C (set):
16869         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16870         constructor argument.
16871
16872 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16873
16874         * paragraph.C (Paragraph): dont't clear, and just set layout.
16875         (makeSameLayout): use params's copy contructor.
16876
16877         * ParagraphParameters.[Ch] (makeSame): delete method
16878
16879 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16880
16881         * Variables.[Ch]: fix indentation, rename set to isSet
16882
16883 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16884
16885         * lyxfunc.C (Dispatch): fix typo
16886
16887 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16888
16889         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16890         upper_bound.
16891
16892         * bufferlist.C: include assert.h for emergencyWrite().
16893
16894 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16895
16896         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16897           give up at last (bug #425202) !
16898
16899 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16900
16901         * lyx_gui_misc.C:
16902         * sp_form.h:
16903         * sp_form.C:
16904         * spellchecker.h:
16905         * spellchecker.C: strip spellchecker options and bring up
16906           preferences tab instead
16907
16908 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16909
16910         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16911         the istringstream constructor
16912
16913 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16914
16915         * paragraph.C (getLayout): fix return value
16916
16917         * paragraph.h: do not declare getLayout as inline.
16918
16919         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16920
16921 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16922
16923         * lyxcursor.h (operator<): new func
16924         (operator>): new func
16925         (operator>=): new func
16926         (operator<=): new func
16927
16928         * text.C (changeCase): use selection.start and selection.end
16929         (changeRegionCase): require from to be <= to. Require par to be a
16930         valid paragraph.
16931
16932         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16933
16934 2001-06-27  Juergen Vigna  <jug@sad.it>
16935
16936         * text.C (cursorLeftOneWord): changed to return the cursor and added
16937         overlay with BufferView * parameter which calls this one.
16938         (getWord): added
16939         (selectWord): use new getWord function.
16940         (changeCase): renamed from changeWordCase as and extended to work
16941         also on selections.
16942
16943         * lyxtext.h: added enum word_location
16944
16945         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16946         changeCase as this operates now also on selections.
16947
16948 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16949
16950         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16951
16952         * many files: send debug output to Debug::INFO instead of
16953         Debug::ANY.
16954
16955         * converter.C (View):
16956         (Convert):
16957         (Move): send debug output to Debug::FILES instead of console.
16958
16959 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16960
16961         * lyxfunc.C (getStatus): use func_status
16962
16963         * func_status.h: new header, describing the results of
16964         LyXFunc::getStatus;
16965
16966         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16967         LFUN_MATH_HALIGN.
16968
16969 2001-06-25  The LyX Project  <jug@sad.it>
16970
16971         * buffer.C (sgmlOpenTag):
16972         (sgmlCloseTag):
16973         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16974
16975 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16976
16977         * text2.C: remove some dead code
16978
16979         * tabular.C (GetCellInset): store the last cell checked (gotten)
16980
16981         * tabular.h: add the helper for the speedup
16982
16983         * lyxtext.h: remove some dead code
16984
16985 2001-06-26  The LyX Project  <Asger>
16986
16987         * paragraph.C: Change export to LaTeX of alignment to
16988         \begin{center} and family for better roundtrip work with reLyX.
16989
16990         * Tune the math drawing a bit.
16991
16992 2001-06-25  The LyX Project  <Asger>
16993
16994         * LColor.C (LColor): New color for math background. New color
16995         for buttons.
16996
16997 2001-06-25  The LyX Project  <jug@sad.it>
16998
16999         * lyxfunc.C (MenuNew): remove extra check for .lyx file
17000
17001         * lyxfunc.C (Open):
17002         * bufferlist.C (newFile): do not restrict to files ending with
17003         .lyx
17004
17005         * BufferView_pimpl.C (MenuInsertLyXFile):
17006
17007 2001-06-24  The LyX Project  <jug@sad.it>
17008
17009         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
17010         of compare_no_case
17011
17012 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17013
17014         * lyxtext.h: rename most methods to begin with a small char.
17015         Lots of changes because of this.
17016
17017         * paragraph.C (Paragraph): do not call fitToSize
17018         (erase): call Pimpl::erase
17019         (insertChar): call Pimpl::insertChar
17020         (insertInset): call Pipl::insertInset
17021         (breakParagraph): do not call fitToSize
17022         (breakParagraphConservative): do not call fitToSize
17023         (fitToSize): remove method
17024
17025         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17026
17027 2001-06-24  The LyX Project  <Asger>
17028
17029         * Fix Qt compilation^2
17030
17031 2001-06-24  The LyX Project  <jug@sad.it>
17032
17033         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17034         depthHook(getDepth()-1).
17035
17036         * paragraph.h:
17037         * ParagraphParameters.h:
17038         * ParameterStruct.h: change type of depth to unsigned int ==
17039         depth_type. Many adaptations to other files before of that.
17040
17041 2001-06-24  The LyX Project  <Asger>
17042
17043         * Fix Qt compilation.
17044
17045 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17046
17047         * paragraph.h: renamed several methods to begin with small letter.
17048         several changes to many parts of the code because of this.
17049
17050 2001-06-23  The LyX Project  <jug@sad.it>
17051
17052         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17053         rewritten to discard all double spaces when KeepEmpty is off
17054         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17055         to only handle newlines but not fiddle with spaces and friends.
17056
17057         * lyxfunc.C (MenuNew): when doing 'new from template', use
17058         template_path as default directory
17059
17060 2001-06-23  The LyX Project  <Asger>
17061
17062         * Clean-up of header file includes all over
17063         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17064
17065 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17066
17067         * paragraph.h: renamed from lyxparagraph.h
17068
17069 2001-06-23  Asger  <lyx@violet.home.sad.it>
17070
17071         * Buffer.h: Removed Buffer::resize
17072         * BufferList.h: Removed BufferList::resize
17073         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17074         the document lazily when we change the width, or the font settings.
17075
17076 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17077
17078         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17079
17080 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17081
17082         * buffer.h: remove out of date comment
17083
17084 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17085
17086         * lyxscreen.h:
17087         * screen.C: fix "theoretical" GC leak
17088
17089 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17090
17091         * LaTeX.C (scanAuxFile):
17092         (deplog): remove trailing \r when reading stream (useful under
17093         win32)
17094
17095 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17096
17097         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17098         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17099         and BufferView::theLockingInset(Inset*), so should use them and not
17100         access bv_->text->the_locking_inset directly.
17101
17102         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17103
17104 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17105
17106         * Makefile.am:
17107         * tex-defs.h: remove old unused file
17108
17109 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17110
17111         * BufferView_pimpl.C: fix typo, remove minibuffer message
17112           when buffer has loaded
17113
17114 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17115
17116         * lyxfunc.C (Dispatch): use stringstream
17117         (MenuNew): use stringstream
17118         (Open): use stringstream
17119
17120         * importer.C (Import): use stringstream
17121
17122         * bufferview_funcs.C (CurrentState): use stringstream
17123
17124         * LaTeX.C (run): use stringstream
17125
17126         * BufferView_pimpl.C (savePosition): use stringstream
17127         (restorePosition): use stringstream
17128         (MenuInsertLyXFile): use stringstream
17129
17130 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17131
17132         * BufferView.C:
17133         * Bullet.C:
17134         * ColorHandler.C:
17135         * FontInfo.C:
17136         * FontLoader.C:
17137         * LColor.C:
17138         * LaTeXFeatures.C:
17139         * Painter.C:
17140         * gettext.C:
17141         * lyx_gui_misc.C:
17142         * lyxserver.C:
17143         * vspace.C: removed // -*- C++ -*- as first line.
17144
17145         * lyxfind.h:
17146         * version.h: added // -*- C++ -*- as first line.
17147
17148 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17149
17150         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17151
17152         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17153         of string
17154
17155 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17156
17157         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17158         of floats.
17159
17160 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17161
17162         * gettext.C: include LString.h even when --disable-nls is on.
17163
17164 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17165
17166         * converter.h (Get): changed argument type from int to
17167         FormatList::size_type to avoid unnecessary conversion.
17168
17169         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17170         before using it.
17171
17172 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17173
17174         * gettext.h: include LString.h even when --disable-nls is on.
17175
17176 2001-06-07  Juergen Vigna  <jug@sad.it>
17177
17178         * text.C (BreakAgain): subst spaces with tabs.
17179
17180         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17181         (resizeInsetsLyXText): set force on resizeLyXText.
17182
17183 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17184
17185         * gettext.h (gettext_init):
17186         (locale_init): use a real definition instead of a macro
17187
17188 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17189
17190         * Bufferview_pimpl.C:
17191         * LColor.h:
17192         * LColor.C: further lcolor tidies
17193
17194 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17195
17196         * BufferView_pimpl.C (updateScrollbar): simplify.
17197
17198         * BufferView2.C: don't include insets/insetinfo.h, change
17199         prototype for insertInset and call the Pimpl version. let
17200         updateInset call Pimpl version.
17201
17202         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17203         gotoInset to BufferView::Pimpl
17204
17205 2001-06-01  Juergen Vigna  <jug@sad.it>
17206
17207         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17208         inside a LockingInset (is the update needed at all?).
17209
17210 2001-05-31  Juergen Vigna  <jug@sad.it>
17211
17212         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17213         here not the old one otherwise how should we compare it afterwards
17214         if it's the same!
17215
17216 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17217
17218         * lyxfont.C:
17219         * tabular.C:
17220         * tabular-old.C:
17221         * FontInfo.C: bring C functions into global namespace when
17222         necessary
17223
17224 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17225
17226         * LString.h: make sure config.h has been loaded before LString.h.
17227
17228         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17229         (one for each char read by EatLine!).
17230
17231         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17232         variables.
17233
17234 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17235
17236         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17237         to the same as the par we break from
17238
17239 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17240
17241         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17242
17243         * MenuBackend.C (expand): also create menu entries for wide
17244         versions of the floats.
17245
17246         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17247
17248         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17249
17250         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17251         frontends/Makefile.am
17252
17253         * text2.C: adjust
17254         * text.C: adjust
17255
17256
17257         * tabular.C (getTokenValue): add std::
17258
17259         * tabular-old.C (getTokenValue): add std::
17260         (getTokenValue): ditto
17261         (getTokenValue): ditto
17262
17263         * screen.C (ToggleSelection): adjust
17264
17265         * lyxtext.h: put selection cursors inside a Selection struct.
17266
17267         * lyxfunc.C (moveCursorUpdate): adjust
17268
17269         * lyxfont.C (latexWriteStartChanges): add std::
17270
17271         * lyxfind.C: adjust
17272
17273         * font.h: delete with(char const *, LyXFont const &)
17274
17275         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17276
17277         * FontInfo.C (getFontname): add std::
17278
17279         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17280         (workAreaButtonPress): adjust
17281         (tripleClick): adjust
17282         (update): adjust
17283         (moveCursorUpdate): adjust
17284         (Dispatch): adjust
17285
17286         * BufferView2.C (gotoInset): adjust
17287
17288 2001-05-30  Juergen Vigna  <jug@sad.it>
17289
17290         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17291         to check pspell I add this as default as I now have new pspell
17292         libraries and they seem to use this.
17293
17294 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17295
17296         * text2.C (CutSelection): make the cursor valid before the call to
17297         ClearSelection.
17298
17299 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17300
17301         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17302         relied on 0 terminated strings and other horrors. Bug found due to
17303         the new assert in lyxstring!
17304
17305         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17306         KP_ keys.
17307
17308 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17309
17310         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17311         to latinkeys.bind.
17312
17313         * lyxfunc.C (processKeySym): change method of getting to the
17314         self-insert char.
17315
17316         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17317         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17318         * BufferView_pimpl.[Ch]: here as private methods.
17319
17320 2001-05-28  Juergen Vigna  <jug@sad.it>
17321
17322         * text.C (SetHeightOfRow): added the update() call again as it is
17323         needed to initialize inset dimensions!
17324
17325 2001-05-16  Juergen Vigna  <jug@sad.it>
17326
17327         * text2.C (SetCharFont): Add new function with BufferView * and
17328         bool toggleall parameters for setting insets internal fonts.
17329         (SetFont): Freeze the undo as we may change fonts in Insets and
17330         all this change should be inside only one Undo!
17331
17332         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17333         setting font's in insets as for them we have the SetFont function!
17334
17335 2001-05-15  Juergen Vigna  <jug@sad.it>
17336
17337         * text2.C (ClearSelection): to be sure we REALLY don't have any
17338         selection anymore!
17339
17340         * tabular.C (TeXCellPreamble): fixed the left border problem for
17341         multicolumn cells.
17342
17343 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17344
17345         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17346         dependancy file
17347
17348 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17349
17350         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17351         LFUN_BREAKPARAGRAPH.
17352
17353         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17354         help test to "internal only", similar for LFUN_INSERT_URL
17355
17356         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17357         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17358         auto_region_delete and deadkeys.
17359
17360 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17361
17362         * LColor.h:
17363         * LColor.C: remove some dead entries, tidy a little
17364
17365 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17366
17367         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17368         commented code.
17369         (Dispatch): implement LFUN_ESCAPE
17370
17371         * commandtags.h: add LFUN_ESCAPE
17372
17373         * LyXAction.C (init): add entry for LFUN_ESCAPE
17374
17375         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17376         Remove commented code.
17377         (insertNote): moved here
17378         (open_new_inset): moved here
17379
17380         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17381         BufferView_pimpl
17382
17383 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17384
17385         * kbmap.C (findbinding): clean it up and make it work correctly.
17386
17387         * lyx_main.C (init): do not pass argc and argv as parameters
17388
17389 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17390
17391         * buffer.C: fix path for OS/2 & Win32
17392
17393         * lyx_gui.C:
17394         * lyx_main:
17395         * lyx_main.C: Added os:: class.
17396
17397         * os2_defines.h: update
17398
17399 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17400
17401         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17402         better by trying again with reduced state.
17403
17404 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17405
17406         * lyxrc.C (read): print error about invalid key sequence only when
17407         debugging (because not all latinX keysyms are known to some X
17408         servers)
17409
17410         * kbsequence.C (getiso): add a few std:: qualifiers
17411         (getiso): comment out extra return statement.
17412
17413 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17414
17415         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17416         handling.
17417         (Dispatch): enhance the accent inset a bit. (not perfect)
17418
17419 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17420
17421         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17422
17423 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17424
17425         * bufferlist.C (emergencyWrite): fix assert() call
17426
17427 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17428
17429         * text.C (InsertChar): Added trivial patch to only send the "you
17430         can not do multiple spaces this way" message once during a
17431         session.
17432
17433 2001-05-08  Baruch Even  <baruch@lyx.org>
17434
17435         * Makefile.am: Changed order of libraries to get LyX to link properly
17436         with the gnome frontend.
17437
17438 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17439
17440         * LaTeXFeatures.h: add a std:: qualifier
17441
17442 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17443
17444         * paragraph.C (String): use stringstream
17445
17446 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17447
17448         * paragraph.C (writeFile): remove footflag arg
17449
17450         * buffer.C (makeLaTeXFile): use stringstream
17451         (latexParagraphs): remove footnot gurba
17452
17453         * LaTeXFeatures.C (getPackages): use stringstream
17454         (getMacros): likewise
17455         (getTClassPreamble): likewise
17456         (getFloatDefinitions): new method
17457
17458         * paragraph.C (writeFile): reindent
17459         (Erase): reindent
17460
17461         * WorkArea.h: revert the xpos + etc changes.
17462
17463         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17464
17465         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17466
17467         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17468         (pasteSelection): likewise
17469         * text2.C (CreateUndo): likewise
17470
17471 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17472
17473         * minibuffer.C (peek_event): temporarily reduce the functionality
17474         of the minibuffer (to allow args on lfuns)
17475
17476         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17477         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17478
17479         * buffer.C (readInset): add compability reading of old float
17480         lists, add reading of new style float list.
17481         (readInset): avoid reevaluation of inscmd.getCmdName()
17482         (getLists): reindent
17483
17484         * MenuBackend.C (MenuItem): implement parsing of
17485         md_floatlistinsert and md_floatinsert.
17486         (expand::LastFiles): move initalizaton of iterators out of loop,
17487         avoid reevaluation.
17488         (expand::Documents): introduce typdedef vector<string> Strings,
17489         and use it.
17490         (expand::ExportFormats): introduce typedef vector<Format const *>
17491         Formats, and use it.
17492         (expand): implement FloatListInsert and FloatInsert.
17493
17494         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17495         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17496         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17497
17498         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17499         handling.
17500         (Dispatch::LFUN_FLOAT_LIST): implement
17501
17502 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17503
17504         * LaTeX.C (run): Fix problem with --export code.
17505
17506 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17507
17508         * BufferView.[Ch] (workarea): removed.
17509         (getClipboard) new method; wrapper for workarea()->getClipboard()
17510
17511         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17512         bug.
17513
17514         * WorkArea.h (width, height, xpos, ypos): These methods all
17515         returned the dimensions of the work_area sub-area of WorkArea,
17516         resulting in a position error if the WorkArea were resized. Now
17517         return the dimensions of the entire WorkArea.
17518
17519         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17520
17521 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17522
17523         * LaTeX.C (deplog): correct the syntax of regex reg1
17524
17525 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17526
17527         * undo.C: remove !NEW_INSETS cruft
17528
17529 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17530
17531         * text2.C: remove !NEW_INSETS cruft
17532
17533         * text.C: remove !NEW_INSETS cruft
17534
17535         * tabular.C: remove !NEW_INSETS cruft
17536
17537         * spellchecker.C: remove !NEW_INSETS cruft
17538
17539         * lyxtext.h: remove !NEW_INSETS cruft
17540
17541         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17542
17543         * lyxfunc.C: remove !NEW_INSETS cruft
17544
17545         * lyxfind.C: remove !NEW_INSETS cruft
17546
17547         * lyx_cb.C: remove !NEW_INSETS cruft
17548
17549         * figureForm.C: remove  !NEW_INSETS cruft
17550
17551         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17552
17553         * buffer.[Ch]: remove !NEW_INSETS cruft
17554
17555         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17556
17557         * CutAndPaste.C: remove !NEW_INSETS cruft
17558
17559         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17560
17561         * BufferView2.C: remove !NEW_INSETS cruft
17562
17563         * BufferView.h: remove !NEW_INSETS cruft
17564
17565 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17566
17567         * Lsstream.h: include LString.h before the sstream headers to
17568         fix problem with gcc 2.95.3 and lyxstring
17569
17570 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17571
17572         * lyx_main.C: add using directives when needed for C functions
17573         declared in std:: namespace.
17574
17575 2001-04-27  Juergen Vigna  <jug@sad.it>
17576
17577         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17578         (SetHeightOfRow): comment out the update call should not be needed!
17579
17580 2001-04-13  Juergen Vigna  <jug@sad.it>
17581
17582         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17583         (LyXTabular): tried to minimize operator= operations (and realized
17584         hopfully Lars wish).
17585
17586 2001-04-27  Juergen Vigna  <jug@sad.it>
17587
17588         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17589
17590 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17591
17592         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17593
17594         * buffer.C (readInset): hack to make listof algorithm work
17595
17596         * BufferView_pimpl.C: hack to make listof algorithm work
17597
17598 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17599
17600         * LyXAction.C: removed all !NEW_INSETS cruft
17601         (init): moved lfun_item in method
17602
17603         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17604
17605 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17606
17607         * BufferView2.C (theLockingInset): white space.
17608
17609 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17610
17611         * minibuffer.C: include <iostream>
17612
17613         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17614
17615         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17616
17617         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17618
17619         * text.[Ch] (TransposeChars): new method
17620
17621 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17622
17623         * call message directly through LyXView instead of through LyXFunc
17624         * BufferView2.C: adjust
17625         * BufferView_pimpl.C: adjust
17626         * FontLoader.C: adjust
17627         * buffer.C: adjust
17628         * bufferview_funcs.C: adjust
17629         * converter.C: adjust
17630         * figureForm.C: adjust
17631         * importer.C: adjust
17632         * lyx_cb.C: adjust
17633         * lyx_gui_misc.C: adjust
17634         * lyxfunc.C: adjust
17635         * lyxvc.C: adjust
17636         * text2.C: adjust
17637         + more files in subdirs
17638
17639         * lyxparagraph.h (size): move up int file
17640         (GetLayout): ditto
17641
17642         * adjust all uses of Assert to lyx::Assert.
17643
17644         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17645         lyxfunctional in namespace lyx
17646         * layout.C (hasLayout): ditto
17647         (GetLayout): ditto
17648         (GetLayout): ditto
17649         (delete_layout): ditto
17650         (NumberOfClass): ditto
17651         * converter.C (GetFormat): ditto
17652         (GetNumber): ditto
17653         (Add): ditto
17654         (Delete): ditto
17655         (SetViewer): ditto
17656         * bufferlist.C (getFileNames): ditto
17657         (emergencyWriteAll): ditto
17658         (exists): ditto
17659         (getBuffer): ditto
17660         * MenuBackend.C (hasSubmenu): ditto
17661         (hasMenu): ditto
17662         (getMenu): ditto
17663         * BufferView_pimpl.C (getInsetByCode): ditto
17664
17665 2001-04-18  Juergen Vigna  <jug@sad.it>
17666
17667         * vspace.C (asLatexString): fixed the 100% problem.
17668
17669 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17670
17671         * lyxfunc.C (Dispatch):
17672         * minibuffer.C:
17673         * minibuffer.h: add a few std:: qualifiers
17674
17675 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17676
17677         * minibuffer.[Ch]: reimplement so that commands is initiated and
17678         run from lyxfunc, simplified som handling, and made the completion
17679         and history code for complete. wip.
17680
17681         * lyxfunc.C (processKeySym): call message
17682         (miniDispatch): new temporary method
17683         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17684         (LFUN_MESSAGE): implement
17685         (LFUN_MESSAGE_PUSH): implement
17686         (LFUN_MESSAGE_POP): implement
17687         (initMiniBuffer): the initial/defualt minibuffer message.
17688
17689         * lyxfont.[Ch]: inline some more getters
17690
17691         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17692
17693         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17694
17695         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17696         (AutoSave): use LFUN_MESSAGE
17697         (Reconfigure): ditto
17698
17699         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17700
17701         * figureForm.C: use LFUN_MESSAGE
17702
17703         * converter.C (runLaTeX): use LFUN_MESSAGE
17704
17705         * bufferview_funcs.C: use LFUN_MESSAGE
17706         (Melt): ditto
17707         (changeDepth): ditto
17708
17709         * bufferparams.h: use boost::
17710
17711         * bufferlist.h: inherit privately from noncopyable
17712
17713         * bufferlist.C (loadLyXFile): remove some commented code.
17714
17715         * buffer.C (runChktex): use LFUN_MESSAGE
17716
17717         * ShareContainer.h: inherit privately from noncopyable
17718
17719         * ParagraphParameters.[hC] (depth): inline it.
17720
17721         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17722         methods.
17723         (message): new method
17724         (messagePush): ditto
17725         (messagePop): ditto
17726         (show): init minibuffer
17727         (showState): direct call
17728
17729         * LaTeX.[Ch]: inherit privately from noncopyable
17730         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17731         instead of WriteStatus.
17732
17733         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17734
17735         * BufferView_pimpl.C (buffer): don't init minibuffer
17736         (workAreaButtonPress): use LFUN_MESSAGE
17737         (workAreaButtonRelease): ditto
17738         (savePosition): ditto
17739         (restorePosition): ditto
17740         (MenuInsertLyXFile): ditto
17741         (workAreaExpose): don't init minibuffer
17742         (update): remove commented code, simplify
17743
17744         * BufferView2.C (openStuff): use LFUN_MESSAGE
17745         (toggleFloat): ditto
17746         (menuUndo): ditto
17747         (menuRedo): ditto
17748         (copyEnvironment): ditto
17749         (pasteEnvironment): ditto
17750         (copy): ditto
17751         (cut): ditto
17752         (paste): ditto
17753         (gotoInset): ditto
17754         (updateInset): remove some commented code
17755
17756         * lastfiles.h: inherit privately from noncopyable
17757         * layout.h: ditto
17758         * lyx_gui.h: ditto
17759         * lyx_main.h: ditto
17760         * lyxlex.h: ditto
17761         * lyxlex_pimpl.h: ditto
17762
17763         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17764         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17765         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17766
17767         * LyXAction.h: inherit privately from noncopyable, add methods
17768         func_begin, func_end, returning iterators to the func map.
17769
17770         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17771         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17772         (func_begin): new method
17773         (func_end): new method
17774
17775         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17776         and not)
17777         (copySelection): ditto
17778         (pasteSelection): ditto
17779
17780         * BufferView.C: whitespace change
17781         * BufferView.h: inherit privately from noncopyable
17782
17783 2001-04-16  Allan Rae  <rae@lyx.org>
17784
17785         * tabular-old.C (l_getline):
17786         * spellchecker.C (sc_check_word):
17787         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17788         an unrecognised preprocessor directive.  So ensure they're wrapped.
17789
17790 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17791
17792         * src/exporter.C (Export): Give an error message when path to file
17793         contains spaces.
17794
17795 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17796
17797         * LaTeX.C (deplog): Always check that foundfile exists.
17798
17799 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17800
17801         * lyx_main.h:
17802         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17803
17804 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17805
17806         * tabular.[Ch] (getLabelList): implement new method
17807
17808         * minibuffer.h: comment ouf setTiimer
17809
17810         * minibuffer.C (ExecutingCB): constify res
17811         (peek_event): constify s
17812         (Set): constify ntext
17813         (Init): constify nicename
17814
17815         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17816
17817         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17818         (savePosition): use two params to Minibuffer::Set
17819         (restorePosition): ditto
17820
17821 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17822
17823         * lyx_main.C: include language.h
17824
17825         * Makefile.am (lyx_main.o): add language.h
17826
17827 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17828
17829         * exporter.C:
17830         * paragraph.C:
17831         * screen.C:
17832         * tabular.C:
17833         * CutAndPaste.C: include gettext.h
17834
17835         * lyxfont.h: remove old hack with ON and OFF.
17836
17837         * lyxparagraph.h:
17838         * lyxfont.h: do not include language.h...
17839
17840         * BufferView2.C:
17841         * LaTeXFeatures.C:
17842         * Painter.C:
17843         * bufferview_funcs.C:
17844         * font.C:
17845         * lyxfont.C:
17846         * text.C:
17847         * text2.C:
17848         * trans_mgr.C:
17849         * paragraph.C: ... but do it here instead
17850
17851 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17852
17853         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17854
17855         * tabular.C: small reformat
17856
17857         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17858         NEW_INSETS version
17859         (GetChar): ditto
17860         (BreakParagraph): ditto
17861         (SetOnlyLayout): ditto
17862         (SetLayout): ditto
17863
17864         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17865         with one arg less.
17866
17867         * lastfiles.C: removed most using decl, add std:: where needed
17868
17869         * buffer.C: ws changes
17870
17871         * MenuBackend.C (class compare_format): put into anon namespace
17872         (expand): constify label, names, action, action2
17873         (expand):
17874
17875         * text.C (SingleWidth): constify font
17876         (IsBoundary): constify rtl2
17877         (GetVisibleRow): constify ww
17878
17879         * LaTeX.C (deplog): constify logfile
17880
17881         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17882         start_x, end_x
17883         (workAreaExpose): constify widthChange, heightChange
17884
17885         * lyxrow.C (par): moved
17886         (height): moved
17887         (next): moved
17888         * lyxrow.h: as inlines here
17889
17890         * lyxfont.h (shape): moved from lyxfont.C
17891         (emph): moved from lyxfont.C
17892
17893         * lyxfont.C (LyXFont): use initialization list for all
17894         constructors
17895         (shape): move to lyxfont.h as inline
17896         (emph): move to lyxfont.h as inline
17897
17898
17899 2001-04-04  Juergen Vigna  <jug@sad.it>
17900
17901         * vspace.C: had to include stdio.h for use of sscanf
17902
17903 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17904
17905         * BufferView.h:
17906         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17907         independent of xforms.
17908
17909 2001-04-02  Juergen Vigna  <jug@sad.it>
17910
17911         * spellchecker.C: fixed namespace placing!
17912
17913 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17914
17915         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17916         the LyXParagraph * is 0.
17917
17918 2001-03-29  Juergen Vigna  <jug@sad.it>
17919
17920         * vspace.C: added support for %, c%, p%, l%.
17921         (stringFromUnit): added helper function.
17922         (asLatexString): changed to give right results for the %-values.
17923
17924         * buffer.C: convert the widthp in a width%.
17925
17926 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17927
17928         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17929         figureForm.[Ch].
17930
17931         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17932         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17933
17934         * lyx_cb.[Ch]: see above.
17935
17936         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17937         form1.[Ch].
17938
17939         * form1.[Ch]:
17940         * lyx.[Ch]: replaced by figure_form.[Ch].
17941
17942         * lyx_gui.C:
17943         * lyx_gui_misc.C:
17944         * lyxfunc.C: changed headers associated with above changes.
17945
17946 2001-03-27  Juergen Vigna  <jug@sad.it>
17947
17948         * BufferView_pimpl.C: set the temporary cursor right!
17949
17950 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17951
17952         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17953
17954 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17955
17956         * LString.h: removed "using std::getline"!
17957
17958         * BufferView_pimpl.C (Dispatch): changes due to changes in
17959         InsetInclude::Params.
17960
17961         * buffer.C (tag_name): removed redundant break statements as they were
17962         producing lots of warnings with my compiler.
17963
17964 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17965
17966         * LString.h: add "using std::getline" when using the real <string>.
17967
17968 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17969
17970         * buffer.C: removed bitset usage.
17971         PAR_TAG moved to an anonymous name space.
17972         (tag_name): new funtion, also in the anonymous namespace.
17973         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17974         (makeDocBookFile): clean code. Completed transition from string arrays
17975         to string vectors.
17976         (SimpleDocBookOnePar): code clean.
17977
17978 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17979
17980         * tabular.C: add some comments.
17981
17982 2001-03-22  Juergen Vigna  <jug@sad.it>
17983
17984         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17985         compatibility read a bit and fixed bug with minipage in different
17986         depth.
17987
17988 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17989
17990         * buffer.C (pop_tag): removed.
17991         (push_tag): removed.
17992         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17993         array replaced with vector. Added support for CDATA sections.
17994         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17995         at any nest level.
17996         (makeDocBookFile): XML conformant declaration of CDATA section,
17997         fixed bug related to <emphasis> in the first paragraph char.
17998         (sgmlOpenTag): exclude empty tags.
17999         (sgmlCloseTag): ditto.
18000
18001         * buffer.h (pop_tag): removed.
18002         (push_tag): removed.
18003
18004 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
18005
18006         * language.h (Languages): added size_type and size().
18007
18008 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18009
18010         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
18011         response on compability reading of minipages. One probliem is that
18012         the old usage of minipages was flertydig
18013
18014         * several files here and in subdirs: don't use static at file
18015         scope use anon namespaces instead.
18016
18017 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
18018
18019         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
18020         LaTeX output. This is necessary for Literate document
18021         processing.
18022
18023 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18024
18025         * buffer.C: insert hfill when needed.
18026
18027         * tabular.C (l_getline): use string::erase, small whitespace change.
18028
18029         * BufferView_pimpl.C: try the anon namespace.
18030         * WorkArea.C: ditto
18031
18032 2001-03-16  Juergen Vigna  <jug@sad.it>
18033
18034         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18035         otherwise it won't open options-dialogs.
18036
18037         * buffer.C: honor pextraWidth(p) on converting minipages.
18038
18039         * tabular.C (l_getline): changed the functions to strip trailing \r.
18040
18041 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18042
18043         * BufferView_pimpl.C:
18044         * minibuffer..C: added "using SigC::slot" declaration.
18045
18046 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18047
18048         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18049
18050         * text2.C: ditto
18051
18052         * text.C: ditto
18053
18054         * paragraph.C: ditto
18055
18056         * lyxtext.h: NO_PEXTRA
18057
18058         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18059
18060         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18061         * ParameterStruct.h: ditto
18062         * ParagraphParameters.h: ditto
18063         * lyxparagraph.h: ditto
18064
18065 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18066
18067         * buffer.C: add compability for minipage alignment.
18068         (latexParagraphs): remove unwanted pextra check.
18069
18070         * several files: remove CXX_WORKING_NAMESPACES
18071
18072         * buffer.C (pop_tag): tie is in namespace boost
18073
18074         * BufferView.h: noncopyable is in namespace boost
18075         * lyxlex.h: ditto
18076         * lyx_main.h: ditto
18077         * lyx_gui.h: ditto
18078         * layout.h: ditto
18079         * lastfiles.h: ditto
18080         * bufferlist.h: ditto
18081         * ShareContainer.h: ditto
18082         * LyXView.h: ditto
18083         * LyXAction.h: ditto
18084         * LaTeX.h: ditto
18085
18086 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18087
18088         * Merging changes from BRANCH_MVC back into HEAD.
18089
18090         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18091
18092 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18093
18094         * BufferView_pimpl.C: change from intl.C
18095
18096         * combox.h:
18097         * combox.C:
18098         * Makefile.am: move combox.*
18099
18100         * form1.h:
18101         * form1.C:
18102         * lyx_gui.C:
18103         * intl.h:
18104         * intl.C: remove dialog (covered by prefs)
18105
18106 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18107
18108         * lyxfunc.C (Dispatch): removed redundant break statement.
18109
18110 2001-03-14  Juergen Vigna  <jug@sad.it>
18111
18112         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18113
18114 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18115
18116         * buffer.C: add hack to fix compability reading of minipages.
18117
18118 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18119
18120         * buffer.C (getLists): Cleanup.
18121
18122 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18123
18124         * lyxfont.C (update): don't honor toggleall on font size.
18125
18126 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18127
18128         * bmtable.c:
18129         * bmtable.h:
18130         * Makefile.am: moved to frontends/xforms/
18131
18132         * lyx_gui_misc.C:
18133         * lyxfunc.C:
18134         * BufferView_pimpl.C: changes for moved mathpanel
18135
18136 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18137
18138         * gettext.h: fix gettext_init() in --disable-nls
18139
18140 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18141
18142         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18143
18144 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18145
18146         * lyx.C:
18147         * lyx.h: strip external form
18148
18149 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18150
18151         * BufferView_pimpl.C: add comment, destroySplash()
18152
18153 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18154
18155         * BufferView_pimpl.C:
18156         * LyXAction.C:
18157         * buffer.C:
18158         * commandtags.h:
18159         * lyxfunc.C: use re-worked insetinclude
18160
18161 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18162
18163         * buffer.C: add using std::stringstream.
18164
18165         * lyx_cb.C: readd using std::ios.
18166
18167         * buffer.C: add using std::map.
18168
18169         * BufferView_pimpl.C: add using std::vector.
18170
18171         * ShareContainer.h: add std:: to swap.
18172
18173         * buffer.h: add some typedefs
18174         * buffer.C (getLists): use them
18175         (getLists): renamed from getTocList.
18176         add a counter for the different float types and use it in the
18177         generated string.
18178         (getLists): use the same counter for the NEW_INSETS and the "non"
18179         NEW_INSETS
18180
18181         * lyx_cb.h: remove unused items, includes, using etc.
18182
18183         * ShareContainer.h: remove some commented code, add more comments
18184         and "documentation".
18185
18186 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18187
18188         * buffer.C (getTocList): make the list also when NEW_INSETS is
18189         defined.
18190
18191         * buffer.h: remove TocType
18192
18193         * buffer.C (getTocList): change to return a map<string,
18194         vector<TocItem> >, implement for dynamic number of list.
18195
18196         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18197         * text2.C (PasteSelection): adjust
18198         * CutAndPaste.C (pasteSelection): adjust
18199
18200         * FloatList.C (FloatList): update from the new_insets branch.
18201         * Floating.[Ch]: ditto
18202         * LaTeXFeatures.C: ditto
18203         * buffer.C: ditto
18204         * lyxlex_pimpl.C: ditto
18205
18206         * paragraph.C (Last): remove when NEW_INSETS is defined.
18207
18208         * other file: changes because of the above.
18209
18210 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18211
18212         * lyxparagraph.h: rename next to next_, previous to previous_,
18213         make them private for NEW_INSETS. Rename Next() to next(),
18214         Previous() to previous().
18215
18216         * other files: changes because of the above.
18217
18218 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18219
18220         * BufferView.h:
18221         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18222         problem.
18223
18224 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18225
18226         * main.C (main): pass lyx_localedir to gettext_init().
18227
18228         * gettext.h: remove locale_init and gettext_init macros
18229
18230         * gettext.C (locale_init): new function
18231         (gettext_init): new function
18232
18233         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18234         setlocale().
18235
18236 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18237
18238         * Moved credits to frontends:
18239         * credits.[Ch]: removed
18240         * credits_form.[Ch]: removed
18241         * lyx_gui_misc.C: remove credits stuff
18242         * Makefile.am:
18243
18244 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18245
18246         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18247
18248         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18249         unneeded destructor.
18250
18251         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18252         a standalone pointer again.
18253
18254         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18255
18256 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18257
18258         * Makefile.am:
18259         * filedlg.h:
18260         * filedlg.C:
18261         * LyXAction.C:
18262         * ToolbarDefaults.C:
18263         * bufferlist.C:
18264         * commandtags.h:
18265         * form1.C:
18266         * form1.h:
18267         * lyx_cb.C:
18268         * lyx_cb.h:
18269         * lyxfunc.h:
18270         * lyxfunc.C:
18271         * BufferView_pimpl.C: use new file dialog in GUII
18272
18273         * lyx_cb.h:
18274         * lyx_cb.C: remove LayoutsCB to Toolbar
18275
18276 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18277
18278         * ShareContainer.h (get): add std:: qualifier
18279
18280 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18281
18282         * ShareContainer.h: define a proper ShareContainer::value_type
18283         type (and use typename to please compaq cxx)
18284
18285 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18286
18287         * lyxparagraph.h: move serveral local vars to
18288         ParameterStruct/ParagraphParameters., use ShareContainer in
18289         FontTable., make vars in FontTable private and add getter and
18290         setter.
18291
18292         * paragraph.C: changes because of the above.
18293
18294         * lyxfont.h: remove copy constructor and copy assignment. (the
18295         default ones is ok), move number inside FontBits. move inlines to
18296         lyxfont.C
18297
18298         * lyxfont.C: add number to initializaton of statics, move several
18299         inlines here. constify several local vars. some whitespace
18300         cleanup. Dont hide outerscope variables.
18301
18302         * Spacing.h: add two new constructors to match the set methods.
18303
18304         * ShareContainer.h: new file, will perhaps be moved to support
18305
18306         * ParameterStruct.h: new file
18307
18308         * ParagraphParameters.h: new file
18309
18310         * ParagraphParameters.C: new file
18311
18312         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18313         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18314
18315         * BufferView_pimpl.C: ParagraphParameter changes.
18316         * buffer.C: Likewise.
18317         * bufferview_funcs.C: Likewise.
18318         * text.C: Likewise.
18319         * text2.C: Likewise.
18320
18321 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18322
18323         * lyxfind.C (LyXReplace): do not redefine default argument in
18324         implementation.
18325         (IsStringInText): ditto
18326         (SearchForward): ditto
18327         (SearchBackward): ditto
18328
18329 2001-03-06  Juergen Vigna  <jug@sad.it>
18330
18331         * lyxfind.C (IsStringInText): put parentes around expressions.
18332
18333 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18334
18335         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18336
18337 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18338
18339         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18340
18341         * stl_string_fwd.h: add comment
18342
18343         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18344
18345         * tabular.h:
18346         * tabular.C: remove unused DocBook methods
18347
18348         * intl.C:
18349         * language.C:
18350         * paragraph.C:
18351         * buffer.C:
18352         killed DO_USE_DEFAULT_LANGUAGE
18353
18354 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18355
18356         * lyx_gui.C: do not include language.h.
18357
18358         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18359         arguments in function implementation.
18360
18361 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18362
18363         * BufferView_pimpl.C: add <ctime>
18364
18365 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18366
18367         * BufferView_pimpl.C: add using std::find_if
18368
18369 2001-02-27  José Matos  <jamatos@fep.up.pt>
18370
18371         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18372         by OnlyPath.
18373
18374 2001-02-11  José Matos  <jamatos@fep.up.pt>
18375
18376         * buffer.C (makeDocBookFile): command styles now have a parameter as
18377         "title" by default.
18378
18379 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18380
18381         * layout_forms.[Ch]: removed
18382         * lyx_cb.[Ch]: out character
18383         * lyx_gui.C: out character
18384         * lyx_gui_misc.C: out character
18385         * bufferview_funcs.C: : out character,
18386         added toggleall as parameter in ToggleAndShow
18387
18388 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18389
18390         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18391
18392         * text2.C (SetCurrentFont): Disable number property at boundary.
18393
18394 2001-02-26  Juergen Vigna  <jug@sad.it>
18395
18396         * lyxfunc.C (getStatus): added a string argument override function so
18397         that this is correctly called from LyXFunc::Dispatch if it contains a
18398         do_not_use_argument which is used!
18399         (Dispatch): added check for "custom" export and call appropriate func.
18400
18401 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18402
18403         * lyxrc.C: Add language_command_local, language_use_babel and
18404         language_global_options.
18405
18406         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18407
18408         * buffer.C (makeLaTeXFile): Use language_use_babel and
18409         language_global_options.
18410
18411 2001-02-23  Juergen Vigna  <jug@sad.it>
18412
18413         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18414         which works with LyXText and putted it inside BufferView. Here now we
18415         only call for that part the BufferView::Dispatch() function.
18416
18417         * BufferView.C (Dispatch): added.
18418
18419         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18420         functions which needs to use a LyXText over from LyXFunc.
18421         (MenuInsertLyXFile): added
18422         (getInsetByCode): added
18423         (moveCursorUpdate): added
18424         (static TEXT): added
18425
18426 2001-02-22  Juergen Vigna  <jug@sad.it>
18427
18428         * BufferView_pimpl.C (update): call a status update to see if LyXText
18429         needs it.
18430
18431 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18432
18433         * vc-backend.C (revert): implement for CVS
18434         (getLog): implement for CVS
18435
18436 2001-02-20  Juergen Vigna  <jug@sad.it>
18437
18438         * text2.C (ClearSelection): added BufferView param for inset_owner call
18439
18440         * lyxfunc.C (TEXT): added this function and use it instead of
18441         directly owner->view()-text of getLyXText().
18442
18443 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18444
18445         * src/layout_forms.C: out preamble
18446         * src/layout_forms.h: out preamble
18447         * src/lyx_cb.C: out preamble
18448         * src/lyx_cb.h: out preamble
18449         * src/lyx_gui.C: out preamble
18450         * src/lyx_gui_misc.C: out preamble
18451         * src/lyxfunc.C: connect with guii preamble
18452
18453 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18454
18455         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18456
18457 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18458
18459         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18460         whether to run bibtex.
18461
18462 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18463
18464         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18465
18466 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18467
18468         * Makefile.am (lyx_SOURCES): removed bibforms.h
18469
18470         * vspace.h: doxygen
18471
18472         * text.C (GetVisibleRow): make several local vars const
18473
18474         * tabular.C: small cleanup.
18475
18476         * lyxserver.C (callback): use compare instead of strncmp
18477
18478         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18479         inlines to after class or to paragraph.C
18480
18481         * lyxfont.h: remove friend operator!=
18482
18483         * converter.h: move friend bool operator< to non friend and after
18484         class def.
18485
18486         * combox.h: small cleanup
18487
18488         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18489         to inlines after class def.
18490
18491         * buffer.C (pop_tag): use string operations instead of strcmp
18492
18493         * bmtable.c: doxygen, small cleanup
18494
18495         * LaTeX.h: remove friend operator==
18496
18497 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18498
18499         * screen.C:
18500         * lyxrc.[Ch]:
18501         * lyxfunc.C:
18502         * lyxfont.[Ch]:
18503         * lyx_cb.C:
18504         * intl.[Ch]:
18505         * commandtags.h:
18506         * buffer.C:
18507         * WorkArea.[Ch]:
18508         * LyXAction.C:
18509         * BufferView_pimpl.C:
18510         * BufferView.[Ch]: remove cruft
18511
18512 2001-02-14  Juergen Vigna  <jug@sad.it>
18513
18514         * lyxfunc.C: removed #if 0 unused code
18515
18516         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18517
18518         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18519
18520         * text2.C (SetSelection): added a BufferView * parameter
18521
18522 2001-02-13  Juergen Vigna  <jug@sad.it>
18523
18524         * lyxfunc.C (Dispatch): fixed protected blank problem.
18525         * BufferView2.C (protectedBlank): added LyxText * parameter.
18526
18527         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18528         (AppendColumn): same as above for column_info.
18529
18530         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18531         (moveCursorUpdate): use a LyXText param for support of InsetText.
18532
18533         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18534         (tripleClick): ditto
18535
18536         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18537
18538         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18539
18540         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18541
18542         * text2.C (SetSelection): set correct update status if inset_owner
18543         (ToggleFree): ditto
18544
18545 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18546
18547         * tabular.C: remove some commented code.
18548
18549 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18550
18551         * BufferView_pimpl.C: call hideSplash()
18552
18553         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18554
18555         * include_form.h:
18556         * bibforms.h: remove
18557
18558         * lyxfunc.C:
18559         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18560           add LFUN_CHILD_CREATE
18561
18562         * counters.h: fix tiny typo
18563
18564         * lyx_cb.C:
18565         * lyx.h:
18566         * lyx_gui.C:
18567         * lyx.C: move splash to frontends/xforms/
18568
18569         * lyx_gui_misc.C: move Include and Bibform to frontends
18570
18571         * lyxvc.h: clarify comment
18572
18573         * vspace.C: tiny housekeeping
18574
18575 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18576
18577         * text.C (PrepareToPrint): RTL Fix.
18578
18579         * paragraph.C (GetUChar): New method.
18580         (String):  Use GetUChar.
18581
18582         * buffer.C (asciiParagraph): Use GetUChar.
18583
18584 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18585
18586         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18587
18588 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18589
18590         * buffer.h:
18591         * buffer.C: rename to getLogName(), handle
18592           build log / latex log nicely
18593
18594 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18595
18596         * MenuBackend.C:
18597         * MenuBackend.h: remove support for reference menuitem type.
18598
18599 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18600
18601         * BufferView_pimpl.C: housekeeping
18602         * BufferView_pimpl.h:
18603         * LyXView.h:
18604         * Makefile.am:
18605         * Timeout.C:
18606         * Timeout.h:
18607         * minibuffer.h: move Timeout GUI-I
18608
18609 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18610
18611         * lyxrc.C (read): Update converters data-structures.
18612
18613 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18614
18615         * LaTeX.h (operator!=): add operator != for Aux_Info
18616
18617 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18618
18619         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18620
18621         * LaTeXLog.C: deleted, useful code moved to Buffer
18622
18623         * buffer.h:
18624         * buffer.C: new function getLatexLogName()
18625
18626         * lyx_gui_misc.C:
18627         * lyx_gui.C:
18628         * lyxvc.C:
18629         * lyxvc.h:
18630         * lyxfunc.C: use frontends for LaTeX and VC logs
18631
18632 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18633
18634         * LaTeX.h: yet another std:: that Allan forgot.
18635
18636         * Variables.C (set): renamed from isset(), because this clashes
18637         with some HP-UX macros (grr).
18638
18639 2001-02-06  Allan Rae  <rae@lyx.org>
18640
18641         * LaTeX.h: Another bug fix.  Missing std:: this time.
18642
18643 2001-02-04  Allan Rae  <rae@lyx.org>
18644
18645         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18646         floats problem. I've left it commented out because it's not quite
18647         correct.  It should also test that the current object is a table or
18648         figure inset.  But I haven't gotten around to figuring out how to do
18649         that.  I *think* it'll be something like: "table" == inset.type()
18650
18651         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18652         bool.
18653
18654 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18655
18656         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18657         all the citation/databases/styles in the auxilary file.
18658         (run): Rerun latex if there was a babel language error.
18659
18660 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18661
18662         * text.C (Backspace): Preserve the font when changing newline char
18663         with a space.
18664         (BreakParagraph): If the cursor is before a space, delete the space.
18665
18666         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18667
18668 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18669
18670         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18671         new argument (code).
18672         (ChangeCitationsIfUnique): New method.
18673
18674         * paragraph.C (GetPositionOfInset): Handle bibkey.
18675
18676 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18677
18678         * BufferView_pimpl.h: change type of Position::par_pos to
18679         LyXParagraph::size_type.
18680
18681 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18682
18683         * BufferView_pimpl.C (savePosition, restorePosition): Write
18684         messages to minibuffer.
18685
18686 2001-01-28  José Matos  <jamatos@fep.up.pt>
18687
18688         * buffer.C (makeDocBookFile): adds support for document language.
18689         A silly restriction on the name of LatexCommand types where removed.
18690         Added support for CDATA sections, allows to chars unescaped, used
18691         among others in code, to avoid escape < and >.
18692
18693 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18694
18695         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18696         saved positions instrad of a stack. Furthermore, a position is
18697         stored using paragraph id/paragraph position.
18698
18699         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18700         Remove LFUN_REF_BACK.
18701
18702 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18703
18704         * converter.C (dvipdfm_options): New method.
18705
18706 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18707
18708         * vspace.C (isValidLength): Fix for empty input string.
18709
18710 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18711
18712         * LyXAction.C (init): change description of LFUN_FIGURE to
18713         "Insert Graphics"
18714
18715 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18716
18717         * LaTeX.C: add using directive
18718
18719 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18720
18721         * MenuBackend.C (expand): Fix the sorting of the formats.
18722
18723 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18724
18725         * lyx_main.C: tiny error message fix
18726
18727 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18728
18729         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18730         calling fl_initialize(). This fixes the problem with ',' as
18731         decimal separator in text files.
18732
18733 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18734
18735         * trans.C (process): Fix the keymap bug.
18736
18737 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18738
18739         * LaTeX.C (scanAuxFiles): New method. Provides support for
18740         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18741         (scanLogFile) Scan for "run BibTeX" messages.
18742
18743         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18744         OT1 font encoding. Also, load the aecompl package if the ae
18745         package is loaded.
18746
18747         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18748
18749 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18750
18751         * texrow.C (increasePos): turn two error messages into debug
18752         messages.
18753
18754 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18755
18756         * LaTeX.C (scanAux): Handle the \@input macro.
18757         (runBibTeX): Use scanAux().
18758
18759         * language.C (latex_options_): New field.
18760
18761         * LaTeXFeatures.C (getMacros): Add language macros.
18762
18763         * buffer.C (makeLaTeXFile): Small fix.
18764
18765 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18766
18767         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18768
18769         * text2.C: add a using directive.
18770
18771 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18772
18773         * BufferView2.C:
18774         * lyx_gui_misc.h:
18775         * lyxfr1.C:
18776         * lyxfunc.C: kill LyXBell.
18777
18778 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18779
18780         * text.C (IsBoundary): Remove the error message
18781
18782         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18783
18784         * lyxrc.C (setDefaults): Correct initialization value for
18785         font_norm_type.
18786
18787 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18788
18789         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18790         gotoError().
18791
18792         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18793         and GotoNextNote().
18794
18795         * src/LyXAction.C: Added reference-next.
18796
18797         * text.C (InsertChar): Use contains instead of strchr.
18798
18799         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18800
18801 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18802
18803         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18804         alignment commands (when needed).
18805
18806         * text.C (InsertChar): Add ':' to number separator chars.