]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
da39916d4b8f6c699585ae3a3a8bd44eafac3c75
[lyx.git] / src / ChangeLog
1 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * buffer.C: change tracking (dvipost) doesn't require
4         color.sty anymore.
5
6         * LaTeXFeatures.C (getPackages): no need for the color
7         option "usenames" (bug 2169).
8
9 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
10         * buffer_funcs.C: Trivial fix - added {} around
11         the statements to be affected by a if-test. Now
12         label in a minipage in a float looks ok on screen again.
13
14 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
15
16         * text2.C: fix bug 2015: on screen fonts in nested environments 
17         can be wrong
18
19 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
20
21         * converter.C (convert): handle unknown formats
22
23 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
24
25         * cursor.C (goUpDown): comment out some debug messages.
26
27         * counters.C (newCounter): make error messages more explicit
28         (these appear with some textclasses like beamer)
29
30 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
31
32         * kbmap.C (defkey): 
33         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
34         have origin set to KEYBOARD. (bug 2221)
35
36 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
37
38         * rowpainter.C (isCursorOnRow): do not exclude endpos().
39
40 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
41
42         * cursor.C (macroModeClose): returns true if an inset actually got
43         inserted; revert faulty fix to bug 2034.
44
45 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
46
47         * tabular.C (getLabelList): remove (not used anymore).
48
49 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
50
51         * outputparams.[Ch]: add new flag inComment
52
53 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
54
55         * text2.C (deleteEmptyParagraphMechanism): since we delete a
56         paragraph, recordUndo should span two paragraphs (bug 2155).
57
58 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
59
60         * rowpainter.C (paintPar): always repaint the row with the
61         cursor in it
62
63 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
64
65         * MenuBackend.h: 
66         * bufferlist.h: 
67         * lyxtext.h: 
68         * paragraph.h:
69         * vspace.h: fix syntax error
70
71 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
72
73         * text3.C (dispatch): Force refresh if typing into inset changes its
74                               metrics
75
76 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
77
78         * RowList_fwd.h:
79         * paragraph.C:
80         * paragraph.h:
81         * rowpainter.C: Speed up rendering by only re-painting rows that
82         have changed. When selection or whole-screen update active, all rows
83         are repainted, as are all rows within insets.
84
85 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
86
87         * version.C.in: Use PACKAGE_VERSION instead of VERSION
88
89 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
90
91         * tabular.C (toggleFixedWidth): Use default layout of text class
92         instead of hardcoded "Standard"
93
94 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * lyxfunc.C (dispatch): do not call getStatus again to determine
97         whether a lfun is disabled (bug 2172).
98
99 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * cursor.C (macroModeClose): set the cursor inside the new math
102         atom if relevant (think \frac{}{}) (bug 2034)
103
104 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
105
106         * lyxtext.h:
107         * text.C:
108         * text3.C (Delete, backspace): force update when merging paragraphs
109
110 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
111
112         * BufferView.C (mouseSetCursor): clear the selection properly (bug
113         2163). 
114
115 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
116
117         * text.C (redoParagraph): honor inset->noFontChange()
118         * rowpainter.C (paintInset): ditto
119
120 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
121
122         * lyx_main.C (priv_exec): don't initialize Math on startup 
123         (initMath() has been moved to math_hullinset).
124
125 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
126
127         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
128         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
129         * paper.h: dispose dead PAPER_PACKAGES enum.
130
131 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
132
133         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
134         without X support.
135
136 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
137
138         * exporter.C (Export): Don't try to copy a file if it does not exist
139         (bug 1888)
140
141 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
142
143         * text2.C (makeFontEntriesLayoutSpecific): remove.
144         (setLayout): adapt.
145
146         * text.C (insertChar): remove bogus caching of fonts (did not do
147         anything). 
148
149         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
150         ALL_SANE). (bug 2146)
151
152 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * rowpainter.C (paintFirst): fix centering of
155         LABEL_CENTERED_TOP_ENVIRONMENT. 
156
157 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * BufferView.C (mouseSetCursor): new method. Calls
160         deleteEmptyParagraphMechanism if necessary.
161
162         * lyxtext.h: make deleteEmptyParagraphMechanism public.
163
164         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
165         BufferView::mouseSetCursor (bug 2109).
166         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
167
168 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
169
170         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
171         do not remove it (this inset behaves differently from the others).
172
173 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
174
175         Fix bug 2096.
176         
177         * BufferView_pimpl.C (getStatus): it is only possible to insert a
178         file in a text inset.
179
180         * buffer.C (readDocument): remove pit argument and code releated
181         to it; set the inset owner correctly (unrelated, but useful).
182         (readFile): get rid of pit argument.
183
184         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
185         textclass instead of a selection index.
186         (pasteParagraphList): new function.
187         (pasteSelection): make it a wrapper around pasteParagraphList.
188
189         * BufferView_pimpl.C (MenuInsertLyXFile): use
190         cap::pasteParagraphList to insert a file.
191
192 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
193
194         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
195
196 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
197
198         * exporter.C: fix typo in text message
199
200 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
201
202         * text2.C (setLayout): move recUndo call to other setLayout method
203         * tabular.C (toggleFixedWidth): new, handle cell width changes
204         * tabular.C (setColumnPWidth): move some code from insettabular.C here
205         and use toggleFixedWidth
206         * tabular.C (setMColumnPWidth): ditto
207
208 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
209
210         * paragraph.C (asString): use new inset->textString method (fix
211         bug 2089) 
212
213 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
214
215         * CutAndPaste.C (numberOfSelections): new helper function.
216
217         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
218
219         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
220         LyXFunc::getStatus; implement LFUN_PASTE.
221
222 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
223
224         * dociterator.[Ch]: new member realInset() that returns the cell
225         for tabulars and the inset for the rest (bug 1952).
226         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
227         (bug 1952).
228
229 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
230
231         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
232
233 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
234
235         * lyxfunc.C:
236         * paragraph.C:
237         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
238         argument.
239
240 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
241
242         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
243         line after typing ctrl-enter
244
245 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
246
247         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
248         math insets do not return a proper editable() state yet (bug 2124).
249
250 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
253         docs containing very large paragraphs.
254
255 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
256
257         * cursor.C (selectionBegin, selectionEnd):
258         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
259         cursor at different depths.
260
261 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
262
263         * bufferview_funcs.C (coordOffset): do not call cursorPos
264         for collapsed collapsables (fix bug 2094).
265
266 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
267
268         * paragraph.C (fontSpan): make sure that the FontSpan does not
269         span across beginOfBody (bug 1947).
270
271 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
272
273         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
274
275 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
276
277         * messages.C: fix crash and localization on MinGW/Windows platform
278
279 2005-11-02  Angus Leeming  <leeming@lyx.org>
280
281         * Bidi.C:
282         * lyxtextclass.C: trivial fixes to some MSVS warnings.
283
284 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
285
286         * text3.C (getStatus): re-enable disabled code. (bug 2081)
287
288         * BranchList.h (empty): constify.
289
290 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
291
292         * text3.C (getStatus): 
293         * MenuBackend.C (expandBranches): take the branch list from the
294         master document (bug 2092).
295         
296         * MenuBackend.C (expandBranches): 
297         * bufferparams.C (writeFile): use BranchList type.
298
299 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
300
301         * text3.C (dispatch, getStatus): 
302         * LyXAction.C (init): 
303         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
304
305 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
306
307         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
308
309 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
310
311         * text.C (insertChar): do not reset boundary (bug 2061)
312
313 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
314
315         * dociterator.C (updateInsets): new method. Updates the inset_
316         cache of all the slices of the iterator.
317
318         * text2.C (deleteEmptyParagraphMechanism): compare also containing
319         insets when comparing pit/pos; pass the right cursor to
320         recordUndo; when a paragraph has been deleted, compare `old.top()' to
321         the right cursor slice of `cur'; use updateInsets on cur to make
322         sure that the inset caches are correct; general cleanup.
323
324 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
325
326         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
327         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
328         containg inset. If this does not work, the same command will be
329         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
330
331         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
332         a dispatch.
333
334 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
335
336         * lyxtextclass.C (Read): convert layout file if the format is wrong
337         * lyxtextclass.C (layout2layout): new, needed for the above
338
339 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
340
341         * messages.C: do not forget to include <cerrno>.
342
343 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
344
345         * dociterator.h (StableDocIterator): add access to pos().
346         * undo.C (samePar): new method to check if two
347         iterators are in the same paragraph
348         * undo.C (recordUndo): check for samePar instead of cell identity
349         (which includes pos() and is too strict) (fixes bug 2097)
350
351 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * text.C (setCursorFromCoordinates): return a bool telling whether
354         dEPM triggered.
355
356         * text3.C (cursorPrevious): update if needed after
357         setCursorFromCoordinates (when dEPM triggered).
358
359         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
360         (otherwise the anchor may be completely wrong and make dEPM assert).
361
362 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
363
364         * buffer.C: version upgrade to 245.
365         * bufferparams.C: remove \quotes_times (bug 2090).
366         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
367         quotation marks as default.
368
369 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
370
371         * CutAndPaste.C (nrOfParagraphs): remove (unused)
372         * CutAndPaste.C (cutSelection): Remove debug message
373         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
374         undo information and only copy if this is a real cut
375         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
376         call
377         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
378         (bug 2059)
379         * CutAndPaste.C (eraseSelection): prevent cursor corruption
380         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
381         superflous cur.selection() setting
382         * CutAndPaste.[Ch] (grabSelection): take a const cursor
383         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
384
385 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
386
387         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
388         change anything.
389
390 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
391
392         * BufferView_pimpl.C: comment layout change
393
394 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
395
396         * LyXAction.C:
397         * lfuns.h:
398         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
399         by bibliography managers (bug 2071).
400
401 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
402
403         * BufferView_pimpl.C (update): choose arguments to update call so
404         that single-par update works most times
405         * text3.C (dispatch): carefully tune updating separately for
406         whole-screen and current-paragraph
407         * rowpainter.C (paintText): 1) replace painting by caching for
408         the two extra paragraphs, because we can;
409         2) suppress greying out of areas below/above drawn area in case of
410         single-par refresh
411         * lyxfunc.C (dispatch): remove superfluous update
412         * LyXAction.[Ch]: introduce SingleParUpdate
413
414 2005-10-05  Angus Leeming  <leeming@lyx.org>
415
416         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
417         always initialised before use.
418
419         * text.C (setHeightOfRow): squash warning about comparison
420         of signed and unsigned types.
421
422 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
423
424         * text.C (cursorX): two fixes involving RtL text drawing
425
426 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
427
428         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
429         items, not only large ones (part of bug 2057)
430
431 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
432
433         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
434         argument, use "newcommand".
435
436 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
437
438         * cursor.C (setSelection): do not open collapsable insets;
439         the insets do by themselves now (autoopen).
440
441 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
442
443         * buffer.C: format is up to 244.
444
445 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
446
447         * text.C (redoParagraph): fix calcultation of inset width wrt 
448         leftMargin (bug 1957).
449
450         * text3.C (dispatch): leave inset to the right when hitting ESC 
451         (bug 2034).
452
453 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
454
455         * text2.C: 
456         * text.C: 
457         * factory.C:
458         * messages.C: include <boost/current_function.hpp> 
459
460 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
461
462         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
463         when command is internal. (bug 1941)
464
465 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
466
467         * text2.C (cursorRight): do not honor boundary when at the end of
468         a paragraph. (bug 2010 again)
469
470 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
471
472         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
473
474 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
475
476         * rowpainter.C (paintText): fix RtL space width display bug (2029)
477
478 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * text2.C (setCursor): remove the unused 'boundary' parameter for
481         the CursorSlice version; adapt the LCursor version.
482
483         * lyxrc.C (write): 
484         * paragraph_pimpl.C (markErased): 
485         * cursor.C (bruteFind2, bruteFond3): fix warnings.
486
487 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
490         as is already done for "chapter".
491
492 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
495         textclass; do not record undo if nothing is changed.
496
497 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
498
499         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
500
501 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
502
503         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
504
505 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
508         combox, it is necessary to search for the topmost paragraph in the
509         cursor stack (bug 1926)
510
511 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
512
513         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
514         end of paragraph. (bug 2010)
515
516 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
517
518         * text.C (leftMargin): check for inInset == 0
519
520 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
521
522         * text.C (leftMargin): test for insetbase's new neverIndent()
523         bool instead of listing each and every inset that does not
524         wish par indendation.
525
526 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         * buffer_funcs.C (setCounter): put the code to compute enum label
529         here (where it belongs).
530
531         * counters.C (enumLabel): move code to buffer_funcs.C.
532
533 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
534
535         * outputparams.[Ch]: store local_font instead of local_language
536         * paragraph.C (simpleTeXOnePar): adapt to the change above
537
538 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
539
540         * buffer_funcs.C:
541         * counters.[Ch]: clean up special code for Hebrew.
542
543 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
546         than 2.
547
548 2005-09-08  Angus Leeming  <leeming@lyx.org>
549
550         * ispell.C:
551         * lyxrc.C: correct grammar describing invocation of the
552         spellchecker.
553
554 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
555
556         * text.C (read): remove unused variable.
557         (readParToken): remove static Change variable (never good in
558         recursive settings...); add it as a parameter instead.
559
560         * paragraph_pimpl.C (acceptChange): make debug info conditional.
561
562         * metricsinfo.C (PainterInfo): add new member erased_.
563
564         * rowpainter.C (RowPainter): add erased_ member, initialized from
565         PainterInfo. 
566         (paintInset): pass erased_ to Inset::draw.
567
568         * lyxfunc.C (lookupChange): new function. Tells whether change 
569         tracking is disabled at a given postion.
570         (getStatus): disable some actions when in deleted text with change
571         tracking. 
572
573 2005-08-03  John Levon  <levon@movementarian.org>
574         
575         * tabular.C (appendColumn, setMultiColumn): adapt to change to
576         InsetText::clear().
577
578         * paragraph_pimpl.C (markErased): add bool argument and handle it.
579         Also make sure to mark insets recursively.
580         (rejectChange, erase): be recursive
581
582         * paragraph.C (markErased): add bool argument.
583 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
584
585         * lyxfind.C (findNextChange): tiny cleanup.
586
587         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
588         change tracking with the cursor in an inset; make sure the first
589         change is not skipped.
590
591 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
592
593         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
594         tabularStackDirty to work around bug 1919 (tabular needs
595         to know whether its own cell paste buffer or the one of 
596         texted is newer.
597         * CutAndPaste.C: mark tabular_stack_ clean after copy.
598
599 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
600
601         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
602
603 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
604
605         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
606         use old deleteion algorithm when changetracking is on.
607
608 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
609
610         * messages.C (get): add debug output.
611
612 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
613
614         * text.C (cursorX): fix bug 1965: cursor movement at
615         line end broken in RtL.
616         (drawSelection): fix bug 1970: drawing of single-line 
617         selection broken for RtL.
618
619 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         bug 465.
622
623         * dociterator.h (clear, push_back, pop_back): change from
624         protected to public.
625
626         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
627         and changed to just return the value of the item depth; take a
628         ParIterator as argument; take the itemdepth at outer nesting level
629         in account if necessary; cleanup and comment the code.
630         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
631         and changed to just return true if reset is needed; take a
632         ParIterator as argument; cleanup and comment the code.
633         (setCounter): adapt to above changes.
634
635 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
636
637         * text3.C (dispatch): make debug message optional
638
639 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
642         inset. (bug 1963)
643
644 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
645
646         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
647
648 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
649
650         * text.C (insertChar):
651         * text2.C (deleteEmptyParagraphMechanism): take care whether 
652         a blank has been deleted (in change tracking mode) (bug 1254).
653
654 2005-07-20  John Levon  <levon@movementarian.org>
655
656         * text2.C (insertStringAsLines): remove old dubious code,
657         fixing bug 1939.
658
659 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
660
661         * MenuBackend.C (expandToc): use Floating::listName() as title of
662         the floats submenus.
663
664 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
665
666         * toc.[Ch]: Do not use translatable strings (bug 1870).
667
668 2005-07-20  John Levon  <levon@movementarian.org>
669
670         * tabular.C: fix 1748 - setting multicolumn adds
671           left line to the first cell
672
673 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
674
675         bug 1920
676         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
677         pars in one go.
678
679 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
680
681         * messages.C: supress some lyxerr messages
682
683 2005-07-18  Juergen Vigna  <jug@lyx.org>
684
685         * text.C (drawSelection): honor boundary when asking for cursorX.
686
687 2005-07-17  José Matos  <jamatos@fc.up.pt>
688
689         * tabular.C (recalculateMulticolumns): fix handling of one column
690         tables.
691
692 2005-07-17  Juergen Vigna  <jug@lyx.org>
693
694         * text.C (Delete, backspace): fixed so that paragraph with the
695         same layout can be merged by Delete/Backspace.
696
697 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
698
699         * text.C (readParToken): fix spelling.
700
701 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
702
703         * text2.C: fix counter update for DEPM problem reported by
704         Georg Baum
705
706 2005-07-17  Juergen Vigna  <jug@lyx.org>
707
708         * BufferView_pimpl.C (setBuffer): save/restore the
709         cursor/selection when switching buffers
710
711         * buffer.h: 
712         * buffer.C (saveCursor): add saveDocumentIterators to save the
713         cursor when switching buffer.
714
715 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
716
717         * debug.C: fix typo
718         * buffer.C: clarify message
719         
720 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
721
722         * dociterator.C (DocIterator): fix initialization order
723
724 2005-07-17  Juergen Vigna  <jug@lyx.org>
725
726         * text2.C (cursorHome): 
727         * text.C (drawSelection, cursorX): 
728         * dociterator.C (textRow): add boundary to getRow() call
729
730         * paragraph.C (getRow): implementation of below
731
732         * paragraph.h: add parameter boundary for getRow() function
733
734 2005-07-17  José Matos  <jamatos@fc.up.pt>
735
736         * buffer.C:
737         * bufferparams.[Ch]:
738         * tex-strings.[Ch]: new file format, remove support for a4.sty,
739         a4wide.sty and a4widemargins.
740
741 2005-07-17  Juergen Vigna  <jug@lyx.org>
742
743         * text2.C (cursorLeft): fix one of error
744
745 2005-07-17  Juergen Vigna  <jug@lyx.org>
746
747         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
748                    cursorEnd):
749         more fixes for boundary handling
750
751         * text3.C (dispatch): don't reset cursor if boundary has changed
752         on cursor movement.
753
754 2005-07-16  Juergen Vigna  <jug@lyx.org>
755
756         * text2.C (getColumnNearX): hopefully got it right now,
757         check if we are on column 0 for special case.
758
759 2005-07-16  Juergen Vigna  <jug@lyx.org>
760
761         * text2.C (getColumnNearX): handle special case Newline Inset
762
763         * text.C (singleWidth): Just remove bogus check
764
765 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
766
767         * funcrequest.C (split): avoid reading uninitialized char c
768
769 2005-07-16  José Matos  <jamatos@fc.up.pt>
770
771         * buffer.C:
772         * converter.C:
773         * lyxrc.C:
774         * paper.h:
775         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
776         single papersize variable.
777
778 2005-07-16  Juergen Vigna  <jug@lyx.org>
779
780         * text3.C (dispatch): honor boundary when checking if a cursor
781         movement has been done
782
783         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
784         (setCursor, setCursorIntern): fix cursor movement with boundary
785
786 2005-07-16  Juergen Vigna  <jug@lyx.org>
787
788         * text.C (currentState): output the actual Boundary
789
790 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
791
792         * factory.C (createInset): fix bad logic for tabular creation
793
794 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
795
796         * lyx_main.C (init): change some reLyX reference to tex2lyx
797
798 2005-07-16  Juergen Vigna  <jug@lyx.org>
799
800         * dociterator.C (DocIterator): initialize boundary
801
802 2005-07-16  Juergen Vigna  <jug@lyx.org>
803
804         * text2.C (getColumnNearX): Consider rows without trailing blank.  
805
806 2005-07-16  André Pönitz  <poenitz@gmx.net>
807
808         * lyxfont.h: Change order of declarations to give the compiler
809         a better chance to inline things
810
811         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
812         questions on unsaved docs for better scritability
813
814 2005-07-16  André Pönitz  <poenitz@gmx.net>
815
816         * paragraph.h (getChar): remove asserts as the same kind of security
817         can be achieved by using a suitable standard library implementation
818         and the function was in the critical path (25.9% in profiler)
819
820 2005-07-16  Juergen Vigna  <jug@lyx.org>
821
822         * cursor.C (bruteFind2):
823         * bufferview_funcs.C (coordOffset): 
824         * text.C (cursorX,cursorY): Handle cursor position after last char
825         in row before a inset which uses a whole row.
826
827 2005-07-15  José Matos <jamatos@lyx.org>
828
829         * output_plaintext.[Ch] (writeFileAscii): control reference title
830         printing.
831         (asciiParagraph): noparbreak was already deal and was incorrectly
832         used.
833
834 2005-07-15  Juergen Vigna <jug@lyx.org>
835
836         * lyxfunc.C (dispatch): save and restore the cursor after a
837         textclass switch.
838
839 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
840
841         * text.C (backspace): bug 806 for empty keepempty paragraphs we
842         change the layout to default before letting DEPM do its thing.
843
844         * paragraph_funcs.C (breakParagraph): dont reset the layout on
845         keepEmpty paragraphs
846
847         * text.C (setCursorFromCoordinates): add a debug statement
848
849         * text2.C (getColumnNearX): bug 1825 make sure that we don't
850         return a pos that is not on the row
851
852         * output_latex.C (TeXDeeper): get rid of potential dereferencing
853         of past the end iterator
854
855 2005-07-14  André Pönitz  <poenitz@gmx.net>
856
857         * undo.C (recordUndoFullBuffer): implement undo for
858         textclass switches
859
860 2005-07-14  André Pönitz  <poenitz@gmx.net>
861
862         * cursor.C (setSelection): open insets when selection is set there
863         to avoid crashs with cold coord cache
864
865 2005-07-14  André Pönitz  <poenitz@gmx.net>
866
867         * trans_mgr.C (insert): move cursor to the right after inserting
868         a char.
869
870 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
871
872         * BufferView_pimpl.C (update): dampen some of the debug blabbering
873         * factory.C (readInset): ditto
874         * text.C, text2.C: ditto
875
876 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
877
878         * buffer.C: format incremented to 242. There is no file format per
879         se, but the "frenchb" language has been removed from lib/language
880         and has to be translated to "french" by lyx2lyx.
881
882 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
883
884         * cursor_slice.h, dociterator.h: add some documentation
885         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
886
887 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
888
889         * text.C (leftMargin): do not add identation to display() style
890         insets, because they are always centered (bug 1293).
891
892 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
893
894         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
895         formatted_time methods in support/lyxtime.
896
897 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
898
899         * toc.[Ch]: new method getGuiName, which is used by the frontends 
900         to set the toc combo (fixes bug 1870). Make TOC string translatable.
901
902 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
903
904         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
905         StableDocIterator const &)
906         * undo.C (recordUndo): use the above instead of cell.size() comparison
907         (fixes bug 1808; instructed by Andr�.
908
909 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
910
911         * cursor_slice.h: 
912         * dociterator.h: Fix the assert when copying rows/cols in math
913
914 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
915
916         * BufferView_pimpl.C:
917         * LyXAction.C:
918         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
919
920         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
921         (findInset): new functions, refactored from goto Inset that return 
922         the position of a certain inset without setting the buffer's cursor
923         (by Jean-Marc); 
924         (gotoInset): rewrite to call findInset and then set the cursor
925         (by Jean-Marc).
926
927 2005-06-16  Angus Leeming  <leeming@lyx.org>
928
929         * lyxrc.C (output, read): wrap all input and output of paths with
930         calls to os::internal_path and os::external_path, respectively.
931         (output): wrap bind_file inside quotes.
932
933         * format.C (view): enable the viewer to use the '$$s' placeholder.
934
935 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
936
937         * LColor.[Ch] (getFromLaTeXName): new
938
939 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
940
941         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
942
943 2005-06-14  Angus Leeming  <leeming@lyx.org>
944
945         * lyx_main.C (init): ensure that the LyX binary dir is the first
946         element in the PATH on non-POSIX builds.
947
948 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
949
950         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
951
952 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
953
954         * rowpainter.C (paintInset, paintHebrewComposeChar)
955         (paintArabicComposeChar, paintChars): add a LyXFont argument.
956         (paintChars): use getFontSpan to reduce calls to getFont to a
957         minimum; use Paragraph::lookupChange instead of isXXXText.
958         (paintForeignMark): rename LyXFont argument.
959         (paintFromPos): pass a LyXFont object to the various paintXXX
960         methods.
961
962         * FontIterator.C (FontIterator, operator++): use
963         Paragraph::getFontSpan
964
965         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
966         version that returns the font span as a pair.
967
968 2005-06-09  Angus Leeming  <leeming@lyx.org>
969
970         * converter.C (convert): Don't forget "outfile = real_outfile" as
971         the final step in a conversion where the input and output file names
972         are the same. Otherwise, future conversion steps won't work...
973
974 2005-06-09  Angus Leeming  <leeming@lyx.org>
975
976         * lyxsocket.C: remove stub code as it isn't needed by
977         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
978
979 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
980
981         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
982         effectively disabled -x
983
984 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
985
986         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
987         when it actually makes sense.
988
989 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
990
991         * BufferView_pimpl.C: revert to showCursor in connection with
992         Lars's front-end stack
993
994 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
995
996         * text.C (redoParagraph): move cursor right after a bibitem
997         has been inserted.
998
999         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1000
1001 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1002
1003         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1004         error range.
1005
1006 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1007
1008         * BufferView.[Ch] (update):
1009         * BufferView_pimpl.[Ch] (update, metrics):
1010         * dimension.h (operator==):
1011         * lyxfunc.C (dispatch):
1012         * metricsinfo.h (ViewMetricsInfo):
1013         * rowpainter.C (paintText):
1014         * lyxtext.h:
1015         * text.C (redoParagraph):
1016         * text3.C (dispatch): Make LyX only repaint current paragraph in
1017         case of character insert --> speedup. Also fix cursor draw
1018         artifacts
1019
1020 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1021
1022         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1023         avoid a crash (bug 1891)
1024
1025 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1026
1027         Fix bug 1892:
1028
1029         * text2.C (getStringToIndex): constify cur argument.
1030
1031         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1032         argument has been given
1033         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1034         try to invoke LFUN_INSET_APPLY).
1035
1036         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1037         if no inset was created by doInsertInset
1038         (doInsertInset): return true if an inset has been inserted.
1039
1040 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1041
1042         * vspace.C (asGUIName): new method. A version of the space
1043         suitable for showing on screen.
1044
1045 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1046
1047         * MenuBackend.C:
1048         * lyxrc.C: rename "ASCII" to "Plain Text"
1049
1050 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1051
1052         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1053         translate the labelstring.
1054         (setCounter): translate labelstring as needed.
1055
1056         * output_docbook.C (makeCommand): fix expandLabel invokation
1057
1058 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1059
1060         * BufferView.C: fix dialog title
1061
1062 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1063
1064         * lyx_main.C (priv_exec): fix logic error with help from Angus
1065         * lyx_main.C (parse_execute): set is_gui = false and remove now
1066         obsolete comment about a segfault
1067
1068 2005-05-18  Angus Leeming  <leeming@lyx.org>
1069
1070         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1071
1072 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1073
1074         * tabular.[hC]: added setCellInset to fix tabular paste.
1075
1076 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1077
1078         * buffer.C (save): check if destination is writable before trying
1079         to copy a file
1080
1081 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1082
1083         * BufferView_pimpl.C (update): fix processEvents -caused update
1084         recursion bug
1085
1086 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1087
1088         * buffer_funcs.C (setCounter): fix test for numbering of
1089         environments.
1090
1091         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1092         depth correctly; use optional argument when it exists
1093
1094         * lyxtextclass.C: remove unused MaxCounterTags enum
1095         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1096         (max_toclevel, min_toclevel): new methods.
1097
1098         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1099         the smallest depth in toc.
1100
1101         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1102         layouts that should not appear in a table of contents.
1103
1104 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1105
1106         * cursor.h (undispatched, noUpdate): add comments from Andr�
1107 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1108
1109         * lfuns.h:
1110         * LyXAction.C:
1111         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1112
1113 2005-05-07  André Pönitz  <poenitz@gmx.net>
1114
1115         * cursor.[Ch] (leaveInset): new function
1116
1117 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1118
1119         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1120
1121 2005-05-04  Angus Leeming  <leeming@lyx.org>
1122
1123         * lyxfunc.C (getStatus): disable the spell checker dialog if
1124         none of USE_[AIP]SPELL are defined.
1125
1126 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1127
1128         * tabular.C (setWidthOfCell): remove obsolete comment
1129
1130 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1131
1132         * paragraph.C (bibitem):
1133         * buffer_funcs.C (setCounter):
1134         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1135
1136 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1137
1138         * text3.C (getStatus): immediately return after setOnOff
1139
1140         * rowpainter.C: fix drawing of appendix start
1141
1142 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1143
1144         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1145         SwitchBetweenClasses and remove the unused return value.
1146         Handle character styles, too
1147
1148 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1149
1150         * factory.C (createInset): handle undefined character styles
1151
1152 2005-05-02  Angus Leeming  <leeming@lyx.org>
1153
1154         * buffer.C: protect the #include of utime.h with a preprocessor
1155         guard.
1156
1157 2005-05-02  Angus Leeming  <leeming@lyx.org>
1158
1159         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1160         function so that auto-saving works, albeit in a blocking manner.
1161
1162         * Makefile.am: make compilation of the client sub directory, of
1163         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1164         on conditionals set at configure time.
1165
1166         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1167         it can be compiled in its own right but has no-op functionality.
1168
1169         * aspell.C, pspell.C: remove preprocessor guards. The files should
1170         be compiled only if the necessary functionality exists.
1171
1172         * lyxserver.C, lyxsocket.C: disable on Windows.
1173
1174 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1175
1176         * text.C (leftMargin): Fix the parindent use bug (1764)
1177         by dirty trick
1178
1179 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1180
1181         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1182         argument.
1183
1184 2005-04-25  Angus Leeming  <leeming@lyx.org>
1185
1186         * Bidi.[Ch]:
1187         * coordcache.[Ch]:
1188         * ispell.C:
1189         * lyxserver.C:
1190         * mover.C:
1191         * pch.h:
1192         include <config.h> in .C files, not .h ones.
1193         add licence blurb.
1194         protect headers inside preprocessor guards.
1195
1196 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1197
1198         * FuncStatus.h (StatusCodes): document
1199
1200 2005-04-21  André Pönitz  <poenitz@gmx.net>
1201
1202         * FuncStatus.h (enabled, onoff): document
1203
1204 2005-04-19  Angus Leeming  <leeming@lyx.org>
1205
1206         * BufferView_pimpl.C (cursorToggle): no longer test whether
1207         any child processes have been reaped before calling
1208         handleCompletedProcesses().
1209
1210 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1211
1212         * text3.C (dispatch): fix, finally fix, the language problem in
1213         new lyxtexts, without disabling on-the-fly font changes (Helge's
1214         bug report)
1215
1216 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1217
1218         * text3.C (dispatch): set cursor on double/triple click events
1219         (bug 1811)
1220
1221 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1224         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1225
1226         * rowpainter.C (paintFirst): simplify the code a little bit. In
1227         particular, remove the test for secnumdepth.
1228         * text.C (setHeightOfRow): only allocate space for chapter number
1229         when updateCounters provided an actual label, instead of looking
1230         at secnumdepth directly.
1231
1232         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1233
1234         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1235         paragraphs when secnumdepth is large enough or, for environments,
1236         when they are not the first in a sequence.
1237
1238 2005-04-17  Angus Leeming  <leeming@lyx.org>
1239
1240         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1241         containing space and '~' characters with a call to latex_path().
1242
1243 2005-04-17  Angus Leeming  <leeming@lyx.org>
1244
1245         * converter.C (convert): protect all args of convertDefault.sh
1246         script with quotes.
1247
1248 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1249
1250         * text3.C (dispatch): change the layout to "Caption" after inserting
1251         a float.
1252
1253 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1254
1255         * text3.C (dispatch): fix language problem in newly created
1256         textinsets (and main text) in non-english docs
1257
1258 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1259
1260         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1261         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1262         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1263
1264 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1265
1266         * lyxtext.h:
1267         * text.C (metrics):
1268         * text2.C (getFont):
1269         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1270         fonts fix
1271
1272 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1273
1274         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1275         output of \item arguments without trailing text.
1276
1277 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1278
1279         * FontIterator.C (operator*): avoid a copy of the font.
1280
1281 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1282
1283         * rowpainter.C (getFont): fix language bug from previous fix
1284
1285 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1286
1287         * rowpainter.C (RowPainter, getFont): fix font inside inset
1288         (bugs 1766, 1809)
1289
1290 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1291
1292         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1293         preventing inserted font, deco, delim insets jumping to start of
1294         surrounding inset.
1295
1296 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1297
1298         * lyxfunc.C (dispatch): translate message before sending it to the
1299         minibuffer.
1300
1301 2005-03-29  Angus Leeming  <leeming@lyx.org>
1302
1303         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1304         to LyX on the command line.
1305
1306 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1307
1308         * vc-backend.C: use QuoteName to protect file names wherever
1309         necessary.
1310
1311 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1312
1313         * buffer.[Ch]:
1314         * BranchList.h: fix bugs 1844,1845: document settings don't
1315         stick
1316
1317 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1318
1319         * lyxrc.C (setDefaults, read, output, getDescription): add support
1320         for tex_allows_spaces.
1321
1322         * exporter.C (Export): allows files in directory containing spaces
1323         if tex_allows_spaces is true.
1324
1325         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1326         output it in double quotes.
1327
1328 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1329
1330         * rowpainter.C: use default text height for drawing change tracker
1331         strikeout lines.
1332
1333 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1334
1335         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1336
1337 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1338
1339         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1340         directory is missing.
1341
1342 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1343
1344         * text2.C: fixed the fix, extended to other case.
1345
1346 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1347
1348         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1349
1350 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1351
1352         * text2.C (cursorUp): get rid of a crash
1353         * text.C (x2pos): add an assert
1354
1355 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1356
1357         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1358
1359         * text3.C:
1360         * lyxfunc.C:
1361         * dociterator.C: include <boost/current_function.hpp>, which is
1362         needed when assertions are disabled.
1363
1364 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1365
1366         * text2.C: fix for stuck cursor when traversing two
1367         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1368
1369 2005-02-25  Andreas Vox  <avox@arcor.de>
1370
1371         * output_docbook.C (makeParagraph): suppress trailing newline
1372         after a run of paragraphs
1373
1374 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1375
1376         * paragraph.C: fix for confused change tracker when pasting
1377         text that begins with a lineseparator. [bug 1827]
1378         (setChange(0, Change::INSERTED);)
1379
1380         * paragraph_funcs.C: fix for lost changes on triple-paste
1381         in change tracking mode [bug 1827] (par.setChange()).
1382
1383 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1384
1385         * text2.C (updateCounters, setCounter, expandLabel): move to
1386         buffer_funcs.
1387
1388         * buffer_funcs.C (updateCounters): turn into a free standing
1389         function and add a buffer parameter. Remove dead code for tracking
1390         labelstring change.
1391         (setCounter): change into a free-standing function which gets a
1392         dociterator as argument. Use this iterator to fix captions in a
1393         simple way. When no float is found above the caption, use the
1394         labelstring of the caption layout as default.
1395
1396         * text.C (breakParagraph, backspace):
1397         * text2.C (init, setLayout, changeDepth):
1398         * text3.C (dispatch):
1399         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1400         updateCounters.
1401
1402         * dociterator.C (forwardPar): make it much faster by calling
1403         forwardPos() only when really necessary.
1404
1405         * output_docbook.C (makeCommand): adapt to expandLabel move.
1406
1407         * cursor.C: remove unused variable
1408
1409 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1410
1411         * paragraph_funcs.C: fix crash when pasting insets in change
1412         tracking mode [bug 1277] (honour change type in moveItem).
1413
1414 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1415
1416         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1417
1418 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1419
1420         * BufferView.C (setCursor): change to use a DocIterator.
1421         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1422         (putSelectionAt): adapt to BufferView::setCursor change.
1423
1424         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1425         moved here from LyXText and rewritten to use proper cursor
1426         methods. Fixes bug 1787, 616 and 835.
1427
1428         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1429         when inside an inset (part of bug 781).
1430         (dispatch): adapt to change of BufferView::setCursor.
1431         (getStatus, dispatch): handle LFUN_GOTOERROR,
1432         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1433
1434         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1435         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1436         * text3.C (gotoNextInset, gotoInset): removed.
1437
1438 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1439
1440         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1441
1442 2005-02-15  Angus Leeming  <leeming@lyx.org>
1443
1444         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1445         can be used meaningfully in a comparison.
1446
1447 2005-02-13  André Pönitz  <poenitz@gmx.net>
1448
1449         * bufferview_funcs.C (coordOffset): improve cursor drawing
1450
1451 2005-02-13  André Pönitz  <poenitz@gmx.net>
1452
1453         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1454         * Cursor.C (dispatch): use fixIfBroken
1455         * lyxfunc.C (getStatus): use fixIfBroken
1456
1457 2005-02-15  Angus Leeming  <leeming@lyx.org>
1458
1459         * lyx_main.C (error_handler):
1460         * lyxfunc.C:
1461         * lyxrc.C (setDefaults):
1462         s/GetEnv/getEnv/.
1463         #include "environment.h".
1464
1465         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1466
1467 2005-02-15  Angus Leeming  <leeming@lyx.org>
1468
1469         * lyxserver.C (startPipe): squash MSVC warning "local variable
1470         'fd' used without having been initialized".
1471
1472 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1473
1474         * BufferView_pimpl.C: revert accidental commit.
1475
1476 2005-02-14  André Pönitz  <poenitz@gmx.net>
1477
1478         * dociterator.[Ch]: new member forwardPosNoDescent(),
1479         which doesn't enter nested insets.
1480         * text2.C (setFont): use forwardPosNoDescent() instead
1481         of ForwardPos() (fixes crash on font change).
1482
1483 2005-02-13  Angus Leeming  <leeming@lyx.org>
1484
1485         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1486         only if lyxrc.path_prefix is not empty.
1487
1488 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1489
1490         * bufferparams.C (readGraphicsDriver): prevent crash
1491
1492 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1493
1494         * text2.C (setCounter): check for inInset() == 0
1495
1496 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1497
1498         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1499         but use update() to get correct screen display; use convert
1500         instead of istringstream.
1501         (getStatus): handle LFUN_GOTO_PARAGRAPH
1502
1503         * lyxfunc.C (dispatch, getStatus): do not handle
1504         LFUN_GOTO_PARAGRAPH here.
1505
1506 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1507
1508         * text3.C (dispatch): size() -> depth()
1509
1510         * text2.C: remove some debug output
1511
1512         * paragraph.C: ws changes only
1513
1514         * lyxfunc.C (getStatus): size() -> depth()
1515
1516         * dociterator.h (clear, push_back, pop_back, internalData,
1517         operator[], resize, empty): new functions
1518         Make StableDocIterator and operator== be friends. Don't inherit
1519         from std::vector use a privat class variable slices_ instead.
1520         Modify to fit.
1521
1522         * dociterator.C: update because of not inheriting from std::vector
1523         anymore. Call explictly to slices_ instead. Use depth() instead of
1524         size() and top() instead of back()
1525
1526         * cursor.C: chagne size() -> depth and back() -> top(). Also
1527         remove some direct operator[](i) calls in favour of foo[i]
1528         (getFont): remove some dead code
1529
1530         * bufferview_funcs.C (coordOffset): size() -> depth()
1531
1532         * buffer.C: ws changes only
1533
1534         * CutAndPaste.C (eraseSelection): back() -> top()
1535
1536         * BufferView_pimpl.C (selectionRequested): back() -> top()
1537
1538         * BufferView.C (setCursor): size() -> depth()
1539
1540 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1541
1542         * text3.C (cursorPrevious): return true if depm changed something
1543         (cursorNext): ditto
1544         (dispatch): rename sl to oldTopSlice, remove moving use the new
1545         NoUpdate func attrib instead. Make sure that needsUpdate is set
1546         for function that have NoUpdate, but where depm might have changed
1547         the buffer anyway.
1548
1549         * text2.C (cursorLeft): make us return true if depm changed
1550         something
1551         (cursorRight): ditto
1552         (cursorUpParagraph): ditto
1553         (curosrDownParagraph): ditto
1554         (cursorUp, cursorDown): ditto, make sure to read comments in code
1555         (deleteEmptyParagraphMechanism): remove an assert, also return
1556         true if just a single char was deleted.
1557
1558         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1559         cursor that we modify, to avoid modifying an active cursor before
1560         we call setCursor. This allows depm to run. Also return true if
1561         depm deleted something.
1562
1563         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1564         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1565         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1566         something was changed in the buffer because of them (ie. depm run)
1567
1568         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1569         debug messages. Make update by default be false. Make sure that
1570         the result of update is retained throught several calls down to
1571         dispatch.
1572
1573         * LyXAction.h: add a new func_attrib: NoUpdate
1574
1575         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1576         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1577         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1578         and LFUN_WORDLEFT
1579         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1580
1581 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1582
1583         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1584         bv_->owner(), bv_->buffer() by direct references to the private
1585         members.
1586         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1587         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1588         (fitCursor): center() is in BufferView::Pimpl.
1589         (getStatus, trackChanges, dispatch): no need for a temporary buf
1590         variable
1591         (fitCursor, workAreaDispatch): use workarea().workheight()
1592
1593 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1594
1595         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1596
1597 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1598
1599         * buffer.C: format up to 241.
1600         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1601         break if pasting into ERT
1602         * lyxfunc.C (getStatus): suppress mathpanel and
1603         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1604
1605 2005-02-01  Angus Leeming  <leeming@lyx.org>
1606
1607         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1608
1609 2005-02-01  Angus Leeming  <leeming@lyx.org>
1610
1611         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1612         calling fs::is_directory().
1613
1614 2005-01-31  Angus Leeming  <leeming@lyx.org>
1615
1616         * lyx_main.C (priv_exec): specify explicitly the relative location
1617         of the top level build directory when run in-place.
1618
1619 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1620
1621         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1622         LyXText containing the cursor, not the top-level one.
1623
1624         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1625         true.
1626         (insertStringAsLines): rename par to pit; use temporary variable
1627         par to hold a Paragraph; do not store par.layout() in a variable,
1628         since the pointer may die when breaking paragraphs; pass pars to
1629         breakParagraph() instead of Buffer::paragraphs().
1630
1631 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1632
1633         * lyxlex_pimpl.h: #include <fstream>.
1634
1635         * BufferView.[Ch] (getLyXText): add a const version.
1636
1637         * BufferView_pimpl.C: add debug aids.
1638
1639         * RowList_fwd.h:
1640         * buffer.h:
1641         * lyxrow.h:
1642         * paragraph_funcs.h: add commentary explaining what the class does.
1643
1644
1645         * coordcache.[Ch]: add lots of commentary.
1646         (startUpdating, doneUpdating): debug aids.
1647         (arrays, insets, parPos, getParPos): accessors to private data.
1648
1649         * cursor_slice.[Ch] (text): add a const version.
1650         * dociterator.[Ch] (text, innerText): add const versions.
1651
1652         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1653         bool.
1654
1655         * paragraph.C (getRow, pos2ros): add asserts.
1656
1657         * paragraph.h: add commentary. Lots of.
1658
1659         * paragraph.[Ch] (metrucs, draw): removed.
1660
1661         * cursor.C:
1662         * rowpainter.[Ch]: const-correct changes.
1663
1664         * text.C: various obvious clean-ups. Removal of ancient cruft.
1665         Bug fixes, even.
1666
1667 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1668
1669         * vc-backend.C (find_file): rewrite to use boost.filesystem
1670         (scanMaster): ditto
1671
1672         * main.C (main): set default name check for boost.filesystem to
1673         no check
1674
1675         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1676         (open): ditto
1677         (doImport): ditto
1678         (actOnUpdatedPrefs): ditto
1679
1680         * lyx_main.C (init): rewrite to use boost.filesystem
1681         (queryUserLyXDir): ditto
1682
1683         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1684         (getContentsOfAsciiFile): ditto
1685
1686         * lastfiles.C (readFile): rewrite to use boost.filesystem
1687
1688         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1689
1690         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1691         (loadLyXFile): ditto
1692
1693         * buffer.C (Buffer): adjust for destroydir
1694         (getLogName): rewrite to use boost.filesystem
1695         (setFileName): ditto
1696         (save): use fs::copy_file (from fs_extras)
1697
1698         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1699
1700         * LaTeX.C (run): rewrite to use boost.filesystem
1701         (scanAuxFiles): ditto
1702         (handleFoundFile): ditto
1703
1704 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1705
1706         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1707
1708         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1709
1710 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1711
1712         * lyxlayout.[Ch]: change some vars from float to double
1713
1714         * buffer.C (readFile): make a local var const
1715
1716         * Several files: use convert<> instead of atoi,strToXXX and friends
1717
1718 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1719
1720         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1721         holds the contents of packages.lst. New functions getAvailable
1722         and isAvailable to parse and check that list, resp.
1723
1724         * LyXAction.C:
1725         * lfuns.h:
1726         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1727
1728         * bufferparams.[Ch]: new param output_changes.
1729
1730         * Buffer.C: increase file format to 240.
1731         Use output_changes and isVailable.
1732
1733         * changes.[Ch]:
1734         * paragraph.C:
1735         * paragraph_pimpl.C: Use output_changes and isVailable.
1736
1737 2005-01-23  Angus Leeming  <leeming@lyx.org>
1738
1739         * output_latex.C: #include "insetbibitem.h", rather than
1740         forward declare function bibitemWidest.
1741
1742 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1743
1744         * lyx_main.C (init): make it compile on the Mac.
1745
1746 2005-01-20  Angus Leeming  <leeming@lyx.org>
1747
1748         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1749         (setLyXMisc): (char string literal) != (char string literal) is
1750         performing a comparison on the addresses. Convert one operand
1751         explicitly to string to guarantee expected behaviour.
1752         From MSVC warning.
1753
1754 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1755
1756         * buffer.C:
1757         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1758
1759         * output_plaintext.C: remove unneeded #include gzstream.h.
1760
1761 2005-01-20  Angus Leeming  <leeming@lyx.org>
1762
1763         * SpellBase.h: rename some of the elements of the Result enum.
1764
1765         * aspell_local.h:
1766         * ispell.h:
1767         * pspell.h:
1768         * aspell.C (check):
1769         * ispell.C (check):
1770         * pspell.C (check): ditto
1771
1772 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1773
1774         * buffer.C: add #include <fstream>.
1775
1776         * lyx_main.C (init): Compile fix.
1777
1778         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1779
1780 2005-01-20  Angus Leeming  <leeming@lyx.org>
1781
1782         * mover.h: change commentary to reflect the changed meaning of
1783         the $$s placeholder.
1784
1785 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1786
1787         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1788
1789         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1790
1791 2005-01-20  Angus Leeming  <leeming@lyx.org>
1792
1793         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1794         printing diagnostic data by not dereferecing an iterator past the
1795         end.
1796
1797 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1798
1799         * buffer.C (readHeader): use "&&" rather than "and".
1800
1801         * lyxserver.h (inPipeName, outPipeName): make these const.
1802
1803 2005-01-19  Angus Leeming  <leeming@lyx.org>
1804
1805         * lyx_main.C (error_handler, init): protect SIGHUP with
1806         #ifdef SIGHUP guards.
1807
1808 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1809
1810         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1811
1812 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1813
1814         * text.C (setHeightOfRow): add a margin at the top and bottom of
1815         the document (bug 1761)
1816
1817 2005-01-17  Angus Leeming  <leeming@lyx.org>
1818
1819         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1820         with "python ". Workaround for a brain-dead Windows.
1821
1822 2005-01-16  Angus Leeming  <leeming@lyx.org>
1823
1824         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1825         for MacOSX and Windows to use prependEnvPath.
1826         Strip out the hard-coded block to add elements to the PATH for
1827         MacOSX and replace it with a call to prependEnvPath using the
1828         contents of LyXRC::path_prefix.
1829         (queryUserLyXDir): strip out the code to run reconfigure, instead
1830         returning a boolean indicating the necessity to do so.
1831         (reconfigureUserLyXDir): contains the code to reconfigure the
1832         user support directory. Is now called after the various LyXRC data
1833         files have been read.
1834
1835         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1836
1837 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1838
1839         * converter.[Ch] (convert): take a new parameter try_default. Use
1840         a default converter (imagemagick) if try_default is true.
1841
1842 2005-01-13  Angus Leeming  <leeming@lyx.org>
1843
1844         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1845         os::cygwin_path_fix.
1846         (write): output LyXRC::cygwin_path_fix as necessary.
1847
1848 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1849
1850         * lyxrc.h:
1851         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1852
1853 2005-01-12  Angus Leeming  <leeming@lyx.org>
1854
1855         * lyx_main.C (init): set the PATH variable to include the
1856         directory containing the LyX binary when running on Mac or Windows.
1857
1858 2005-01-12  Angus Leeming  <leeming@lyx.org>
1859
1860         * lyx_main.C (init): remove cruft that purports to set the locale
1861         dir. It doesn't and is not needed anyway.
1862
1863 2005-01-10  Angus Leeming  <leeming@lyx.org>
1864
1865         * Makefile.am: remove the lyx_main.C special casing.
1866
1867         * BufferView_pimpl.C:
1868         * bufferlist.C:
1869         * exporter.C:
1870         * lyx_cb.C:
1871         * lyx_main.C:
1872         * lyxfunc.C:
1873         * messages.C: use support/package.h to provide the paths to the
1874         various directories used by LyX.
1875
1876 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1877
1878         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1879         layout if pasting into an empty paragraph)
1880
1881 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1882
1883         * tex-accent.C: add <string>
1884
1885 2005-01-06  José Matos  <jamatos@lyx.org>
1886
1887         * ParagraphParameters.C (write): put every parameter in its own line.
1888         * paragraph.C (write): reduce number of consecutive empty lines exported.
1889         * buffer.C (LYX_FORMAT): increase file format to 239.
1890
1891 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1892
1893         * everywhere: change support/tostr.h -> support/convert.h
1894
1895         * tabular.C: make all write_attributes templates, tostr -> convert
1896
1897         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1898         (emptyTag): and -> &&, and fix type for ret from getChar
1899         (getFirstWord): fix type for ret from getChar
1900         (onlyText): and -> &&
1901         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1902         getChar
1903
1904         * toc.C (goTo, action):
1905         * text3.C (dispatch):
1906         * text.C (currentState):
1907         * tex-accent.C (DoAccent):
1908         * sgml.C:
1909         * lyxrc.C:
1910         * lyxfunc.C (menuNew):
1911         * lyxfinc.C (replace):
1912         * counters.C (laberItem):
1913         * bufferview_funcs.C (font2string):
1914         * bufferparams.C (writeFile):
1915         * buffer.C (readFile):
1916         * Spacing.C (set):
1917         * MenuBackend.C: tostr -> convert
1918
1919         * LaTeX.C (runMessage): fix format
1920         (scanAuxFiles): tostr -> convert
1921
1922         * BufferView_pimpl.C (savePosition): fix format
1923         (restorePosition): ditto
1924         (dispatch): ditto
1925
1926 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1927
1928         * Spacing.[Ch]: New method getValueAsString().
1929
1930         * Spacing.[Ch]:
1931         * bufferparams.C:
1932         * ParagraphParameters.C:
1933         * lyxlayout.C:
1934         * text.C:
1935         * text3.C: store/read spacing value as string.
1936
1937         * rowpainter.C: change float value (spacing_val) to double.
1938
1939         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1940         broken custom document spacing).
1941
1942 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1943
1944         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1945         namespace, also more use of temp references and const
1946
1947         * cursor.[Ch] (getStatus): move to lyxfunc.C
1948
1949         * bufferparams.C: reformat slightly
1950
1951         * bufferview_funcs.C (font2string): constify arg
1952
1953         * changes.C:
1954         * converter.C:
1955         * counters.C:
1956         * bufferlist.C:
1957         * buffer_funcs.C: (many funcs): constify arg on function
1958         definitions, also make more local vars const, also add ASSERTS on
1959         pointer args.
1960
1961         * buffer.C (LYX_FORMAT): put const in correct place
1962         (many funcs): constify arg on function definitions, also make
1963         more local vars const
1964
1965         * aspell_local.h: remove "struct" from typdef setup
1966
1967         * aspell.C (check): make word_ok const
1968         (nextMiss): simplify slightly
1969         (error): ditto
1970
1971 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1972
1973         * lyxrc.[Ch]: store all float values as strings.
1974         use int (not float) for lyxrc.dpi.
1975
1976 2005-01-04  Angus Leeming  <leeming@lyx.org>
1977
1978         * lyx_cb.C (Reconfigure):
1979         * lyx_main.C (queryUserLyXDir):
1980         to run the <system_lyxdir>/configure correctly on Windows, prefix
1981         the path to the script with "sh " when generating the string that
1982         is passed to system().
1983
1984 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1985
1986         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1987
1988 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1989
1990         * lyxlength.C (asLatexString): get rid of setprecision
1991
1992 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1993
1994         * text2.C (setLayout): remove unused variable endpit.
1995         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1996
1997         * paragraph.C (onlyText): remove unused variable style.
1998
1999         * cursor.C (bruteFind): remove unused variables beg and end.
2000
2001         * Makefile.am (dist_noinset_DATA): not needed anymore
2002
2003         * cheaders/*: remove.
2004
2005 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2006
2007         * text3.C: fix LFUN_MATH_MODE.
2008
2009 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2010
2011         * buffer_funcs.C (countWords): new function. Counts words between
2012         two iterators.
2013
2014         * BufferView_pimpl.C (getStatus, dispatch): handle
2015         LFUN_WORDS_COUNT.
2016
2017         * LyXAction.C (init):
2018         * lfuns.h: add LFUN_WORDS_COUNT.
2019
2020 2004-12-19  Angus Leeming  <leeming@lyx.org>
2021
2022         * buffer.C (save): s/slashify_path/internal_path/.
2023
2024 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2025
2026         * lyxfind.C (findChange): do not search for end of pars, because
2027         the change tracker cannot handle this (fixes bug 1719).
2028
2029 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2030
2031         * paragraph.[Ch] (autoBreakRows): remove
2032
2033         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2034
2035         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2036         avoid using the paragraph one
2037
2038         * text2.C (LyXText, insertStringAsLines): adjust
2039
2040 2004-12-16  Angus Leeming  <leeming@lyx.org>
2041
2042         * bufferlist.C:
2043         * lyx_main.C:
2044         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2045
2046 2004-12-14  Angus Leeming  <leeming@lyx.org>
2047
2048         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2049
2050         * bufferlist.C (emergencyWrite):
2051         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2052         GetEnvPath("HOME").
2053
2054 2004-12-14  Angus Leeming  <leeming@lyx.org>
2055
2056         * main.C: (main): no longer pass pointers to os::init.
2057
2058 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2059
2060         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2061         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2062
2063 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2064
2065         * lyxfunc.C:
2066         * text3.C: remove selection_possible global flag
2067
2068 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2069
2070         * text2.C (getSelectionSpan): remove
2071         (changeDepth, changeDepthAllowed): adjust
2072
2073 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2074
2075         * Makefile.am (BOOST_LIBS): use boost variables
2076
2077 2004-12-03  José Matos  <jamatos@lyx.org>
2078
2079         * buffer.C: format up to 238.
2080
2081 2004-12-03  José Matos  <jamatos@lyx.org>
2082
2083         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2084
2085 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2086
2087         * cursor.C (goUpDown): remove call to idxUpDown2
2088
2089 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2090
2091         * tabular.[Ch]: use size_t-like types for cell, row and column
2092         indices
2093
2094 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2095
2096         * lyxfunc.C (getStatus): do not lose previous information when
2097         calling BufferView::getStatus; do not set a default "Command
2098         disabled" message at the beginning, but just before returning.
2099
2100 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2101
2102         * cursor.h (getStatus): add better comment from src/cursor.C
2103
2104 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2105
2106         * text3.C (getStatus): return false when the lfun is not handled
2107
2108 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2109
2110         * broken_headers.h: remove
2111
2112         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2113
2114 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2115
2116         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2117         offset_ref accessors
2118
2119         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2120         top_y_, merge fitcursor with update
2121         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2122         coord scheme
2123         (metrics): introduce
2124         (workAreaDispatch): adapt to new coord scheme
2125         (redoCurrentBuffer): remove
2126
2127         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2128
2129         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2130         CurStatus enum.
2131
2132         * coordcache.[Ch]: add paragraph cache and helpers
2133
2134         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2135         adjust everywhere
2136
2137         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2138         (targetX, setTargetX): introduce
2139
2140         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2141         baseline -> ascent, as the rest of lyx
2142
2143         * lyxtext.h: remove redoParagraphs, updateParPositions,
2144         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2145         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2146         have ascent/descent (ascent is ascent of first par)
2147
2148         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2149         step of BufferView
2150
2151         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2152
2153         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2154
2155         * pariterator.C: fix infinite loop introduced in par->pit renaming
2156
2157         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2158         in insets and LyXText, draw two off-screen paragraphs using
2159         NullPainter, and adapt to new coord scheme
2160
2161         * text.C:
2162         * text2.C:
2163         * text3.C: adapt lfun handlers to the new coord scheme, which
2164         means: there's only guaranteed coord information for onscreen pars
2165         plus one above and one below. This implies that one can do search
2166         from y coordinates in the range [-1,workHeight]
2167
2168 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2169
2170         * rename a lot of InsetOld to InsetBase
2171
2172 2004-11-25  Angus Leeming  <leeming@lyx.org>
2173
2174         * BufferView_pimpl.C:
2175         * lyx_cb.C:
2176         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2177
2178 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2179
2180         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2181         call BufferView::getStatus if LCursor::getStatus did nothing
2182         (setStatusMessage, getStatusMessage): removed.
2183
2184         * FuncStatus.C (message): new methods. Used to provide an error
2185         message indicating why a command is disabled.
2186         (clear, |=, FuncStatus): update for message.
2187
2188 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2189
2190         * lyxfunc.C (dispatch): always call sendDispatchMessage
2191
2192 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2193
2194         * BufferView.C:
2195         * BufferView_pimpl.C:
2196         * CutAndPaste.C:
2197         * FontIterator.C:
2198         * buffer.C:
2199         * cursor.C:
2200         * cursor_slice.[Ch]:
2201         * dociterator.[Ch]:
2202         * lyxfind.C:
2203         * paragraph_funcs.C:
2204         * pariterator.C:
2205         * rowpainter.C:
2206         * text.C:
2207         * text2.C:
2208         * text3.C:
2209         * undo.C: par->pit renaming
2210
2211 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2212
2213         * tabular.C (cellstruct): use initialization, store a shared_ptr
2214         to insettext instead of the insettext directly, adjust to fit.
2215         (operator=):  new function
2216         (swap): new function
2217         (rowstruct): use initialization
2218         (columnstruct): use initialization
2219         (ltType): use initialization
2220
2221
2222         * lyxlength.h (swap): new function
2223
2224         * LColor.[Ch] (operator=): use the common semantics
2225
2226 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2227
2228         * lyxfind.C (findNextChange): update the bufferview after setting
2229         the selection.
2230
2231 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2232
2233         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2234         number of InsetOptArgs has already been inserted.
2235
2236         * output_latex.C (latexOptArgInsets): new method. This outputs all
2237         the optarg insets, up to the limit defined in the layout file.
2238         (optArgInset): removed
2239         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2240
2241 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2242
2243         * paragraph.C (isLetter): remove special spellchecker-related
2244         code; return true also for digits
2245         (isWord, isKomma): remove
2246
2247         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2248         * lyxfind.C (MatchString()): use isLetter instead of isWord
2249
2250 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2251
2252         * pariterator.h (operatir=): comment out un-implemented member
2253         function.
2254
2255         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2256         static cast.
2257
2258 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2259
2260         * lyxfont.h: include LColor.h to satisfy concept checks.
2261
2262 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2263
2264         * pariterator.h: add typdefs for value_type, difference_type,
2265         pointer and reference to satisfy concept checks. Also add default
2266         constructor for same reason.
2267
2268         * pariterator.C (operator++): add post-increment operator to
2269         satisfy concept checks.
2270
2271         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2272         checks.
2273
2274         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2275
2276         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2277         checks. Also rename base_type to BaseType to follow naming
2278         standard better.
2279
2280         * FloatList.h: include Floating.h to satisfy concept checks.
2281
2282 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2283
2284         * lyxfunc.C (getStatus): when the origin of the request is menu or
2285         toolbar, and the LyXView does not have focus, do as if there was
2286         no buffer (bug 1720)
2287
2288         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2289         FuncRequest to individual entries of LFUN_SEQUENCE
2290
2291 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2292
2293         * output_latex.C (TeXOnePar): override runparams.moving_arg
2294         according to the needprotect value of the current paragraph (bug
2295         1739)
2296
2297         * paragraph.C (simpleTeXOnePar): no need to override
2298         runparams.moving_args here
2299
2300 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2301
2302         * vspace.C: fix off-by-one-error, related to fix #1682
2303
2304 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2305
2306         * lengthcommon.C: a more general fix for bug 1682
2307
2308 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2309
2310         * text.C (backspace): fix crash
2311
2312 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2313
2314         * format.[Ch] (getFormatFromFile): new method
2315         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2316
2317 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2318
2319         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2320
2321 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2322
2323         * lyxfunc.C (dispatch): remove the verbose argument
2324         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2325         instead
2326
2327         * kbmap.C (defkey): set the origin of func to KEYBOARD
2328
2329         * MenuBackend.C (MenuItem):
2330         * ToolbarBackend.C (add): set the origin of func to UI
2331
2332         * funcrequest.[Ch]: add origin member, which indicates which part
2333         of LyX requests an action
2334
2335 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2336
2337         * converter.C (move): don't lie in the error message
2338         * converter.h (isReachable, move): document
2339
2340 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2341
2342         * buffer.C: remove unused using lyx::support::atoi
2343         * paragraph_funcs.C: ditto
2344
2345 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2346
2347         * bufferlist.C (exists): use bind and equal_to instead of
2348         compare_memfun
2349         (getBuffer): ditto
2350         * lyxtextclasslist.C (NumberOfClass): ditto
2351
2352         * cursor.C (insert): use for_each instead of explicit for loop
2353
2354         * bufferlist.C (getFileNames): use std::transform and
2355         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2356
2357         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2358         for loop
2359
2360         * buffer.C (changeLanguage): use for_each instead of explicit for
2361         loop
2362         (hasParWithID): implement using getParFromID
2363
2364         * LaTeXFeatures.C: ws change only
2365
2366         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2367         to cleanup a bit.
2368
2369         * BufferView_pimpl.C (trackChanges): use for_each instead of
2370         expilicit for loop
2371
2372 2004-11-04  André Pönitz  <poenitz@gmx.net>
2373
2374         * undo.h:
2375         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2376
2377         * dociterator.C (asDocIterator): use hard assert again.
2378
2379 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2380
2381         * lyxlength.C (asLatexString): rewrite so that it does not use
2382         snprintf anymore
2383
2384 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2385
2386         * text3.C (specialChar, dispatch): make sure cursor moves to the
2387         right after inserting an inset
2388
2389 2004-11-02  José Matos  <jamatos@lyx.org>
2390
2391         * output_docbook.C (docbook):
2392         * paragraph.C (getID):
2393         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2394         garantee that the output is always legal.
2395
2396         * tabular.C (docbook):
2397         * outputprams.[Ch]: remove mixed contents.
2398
2399 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2400
2401         * text2.C (setCounter): prevent endless loop
2402
2403 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2404
2405         * exporter.C (copyFile): use the mover instead of support::copy()
2406         * exporter.C (Export): pass format and latex name to copyFile()
2407         * exporter.h (addExternalFile): document
2408         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2409
2410 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2411
2412         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2413
2414 2004-10-30  José Matos  <jamatos@lyx.org>
2415
2416         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2417         text and no inset or font change. This allows to use CDATA
2418         sections just for the whole paragraph.
2419
2420 2004-10-30  José Matos  <jamatos@lyx.org>
2421
2422         * paragraph.C (getFirstWord): remove unused variable.
2423
2424 2004-10-30  José Matos  <jamatos@lyx.org>
2425
2426         * paragraph.C (getFirstWord): the content should always be escaped
2427         there.
2428         (simpleDocBookOnePar):
2429         * output_docbook.C (makeEnvironment): replace reference to CDATA
2430         to style pass_thru.
2431
2432 2004-10-30  José Matos  <jamatos@lyx.org>
2433
2434         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2435
2436 2004-10-30  José Matos  <jamatos@lyx.org>
2437
2438         * output_docbook.C (makeParagraphs):
2439         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2440         standard paragraph has only a given type of content drop the wrapper.
2441
2442 2004-10-29  José Matos  <jamatos@lyx.org>
2443
2444         * output_docbook.C (makeEnvironment):
2445         * sgml.C (openTag):
2446         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2447
2448 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2449
2450         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2451         (cleanID): sanitize any id.
2452
2453 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2454
2455         * buffer.C, lyxlex_pimpl.C:
2456         * lyxlex_pimpl.C (setFile):
2457         s/getExtFromContents/getFormatFromContents/
2458
2459 2004-10-28  José Matos  <jamatos@lyx.org>
2460
2461         * output_docbook.C (makeEnvironment): move id to broadest possible
2462         scope.
2463
2464         * sgml.C (openTag): apply substitution of <> for all attributes.
2465
2466 2004-10-28  José Matos  <jamatos@lyx.org>
2467
2468         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2469         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2470         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2471
2472         * sgml.[Ch]: new version for open and closeTag for paragraph and
2473         for strings. Now they handle the ids of paragraphs.
2474
2475 2004-10-26  Angus Leeming  <leeming@lyx.org>
2476
2477         * Makefile.am: add mover.[Ch].
2478
2479         * converter.C (convert, move): use the new Movers to move external
2480         files to the temp directory.
2481
2482         * lyx_main.C (init): ensure that the global system_movers data
2483         is initialised.
2484
2485         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2486         preferences file.
2487
2488         * mover.[Ch]: new files, defining a Mover as a utility to move an
2489         external file between directories and, if necessary, manipulate this
2490         file using a helper script.
2491
2492 2004-10-25  José Matos  <jamatos@lyx.org>
2493
2494         * output_docbook.C (makeCommand): merge two if's that tested the
2495         same condition.
2496
2497 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2498
2499         * sgml.C (escapeString): fix warning in a better way
2500
2501 2004-10-25  José Matos  <jamatos@lyx.org>
2502
2503         * sgml.C (escapeString): import the require boosts header file for
2504         tie, and avoid a signed unsigned comparison.
2505
2506 2004-10-25  José Matos  <jamatos@lyx.org>
2507
2508         * sgml.h: add #include <string>
2509
2510 2004-10-25  José Matos  <jamatos@lyx.org>
2511
2512         * sgml.[Ch] (escapeString): new function to escape all the string.
2513
2514 2004-10-24  José Matos  <jamatos@lyx.org>
2515
2516         * paragraph.[Ch] (getFirstWord): new function to get the first
2517         word. Useful for description.
2518         (simpleDocBookOnePar): remove depth argument, add another that
2519         says where to start the paragraph.
2520
2521         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2522         use the new functions to fix cleanly the support for descriptions.
2523
2524 2004-10-24  José Matos  <jamatos@lyx.org>
2525
2526         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2527         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2528         * output_linuxdoc.C (linuxdocParagraphs):
2529         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2530         add buffer as argument.
2531
2532 2004-10-24  José Matos  <jamatos@lyx.org>
2533
2534         * output_docbook.C (makeEnvironment, searchEnvironment): place
2535         CDATA inside paragraphs and fix scope for listitems.
2536
2537 2004-10-24  José Matos  <jamatos@lyx.org>
2538
2539         * output_docbook.C: remove using statement for stack.
2540
2541 2004-10-23  José Matos  <jamatos@lyx.org>
2542
2543         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2544         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2545         docbook. The new scheme is recursive and makes use of iterators, the
2546         same as latex export works.
2547         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2548         directly with the paragraph contents. This code was moved up to
2549         output_docbook.C (docbookParagraphs).
2550         * sgml.C (openTag, closeTag): removed unneeded newlines.
2551         (closeEnvTags) removed.
2552
2553 2004-10-23  André Pönitz  <poenitz@gmx.net>
2554
2555         * undo.C (textUndoOrRedo):
2556         * dociterator.C (asDocIterator): work around crash
2557
2558         * cursor.C (getStatus): replace ASSERT by more verbose error message
2559           and manual correction of the problem. Should increase stability
2560           while providing more sensible information.
2561
2562 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2563
2564         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2565
2566         * bufferlist.C (previous, next): new methods
2567
2568         * lfuns.h:
2569         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2570
2571 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2572
2573         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2574         entities to preamble.
2575
2576 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2577
2578         * messages.C (Pimpl): strip off translation context information
2579
2580 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2581
2582         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2583         the cursor is correct (bug 1694)
2584
2585 2004-10-13  José Matos  <jamatos@lyx.org>
2586
2587         * output_docbook.C (docbookParagraphs): fix closing tags in the
2588         end of the document.
2589
2590 2004-10-09  José Matos  <jamatos@lyx.org>
2591
2592         * buffer.C: format up to 237.
2593         * bufferparams.C (write): use tostr to convert booleans to strings.
2594
2595 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2596
2597         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2598
2599 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2600
2601         * LaTeX.C: implement use of babel language in xindy.
2602
2603 2004-10-05  José Matos  <jamatos@lyx.org>
2604
2605         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2606         Add new translators to help reading and writing the lyx file.
2607
2608 2004-10-05  José Matos  <jamatos@lyx.org>
2609
2610         * ParagraphParameters.C (read):
2611         * text.C (readParToken): replace nexToken by more appropriate lex
2612         methods.
2613
2614 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2615
2616         * LaTeX.C (runMakeIndex):
2617         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2618         (usually 'makeindex') configurable.
2619
2620         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2621         with a variable rather than with a number.
2622
2623 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2624
2625         * output_latex.C (TeXOnePar): make sure font setting is the first
2626         thing that gets output (and the last at the end). Should fix bug
2627         1404.
2628
2629 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2630
2631         * pch.h: use proper signal include
2632
2633         * LaTeX.h: Use preferred calling of Boost.Signal
2634         * buffer.h: ditto
2635
2636 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2637
2638         * pch.h: dont include <boost/function/function0.hpp>
2639
2640         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2641
2642         * paragraph_pimpl.h: remove usage of ShareContainer
2643
2644         * paragraph_pimpl.C: remove initialization of ShareContainer.
2645
2646 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2647
2648         Fix bug #1666
2649
2650         * BufferView.C (putSelectionAt): change the semantics when
2651         backwards == true: now, this just swaps cursor and anchor wrt the
2652         forward case
2653
2654         * BufferView.h (putSelectionAt): add some documentation
2655
2656         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2657         make sure backwardChar is done at least once (to avoid getting
2658         stuck)
2659         (findNextChange): use putSelectionAt in the forward direction
2660         (operator()): use Paragraph::isWord
2661
2662 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2663
2664         * Spacing.C (set): c_str fix
2665
2666 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2667
2668         * lyx_cb.C (Reconfigure): quote the name of configure script in
2669         case it contains spaces
2670
2671 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2672
2673         * client: new dir
2674
2675         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2676         (BOOST_LIBS): use top_buildir when looking for the file
2677
2678 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2679
2680         * pch.h: do not use include boost/format.hpp, multiple symbols
2681                 will result (gcc bug)
2682
2683
2684 2004-08-23  José Matos  <jamatos@lyx.org>
2685
2686         * bufferparams.C (readToken): fix reading of the author field.
2687
2688 2004-08-20  José Matos  <jamatos@lyx.org>
2689
2690         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2691
2692 2004-08-20  José Matos  <jamatos@lyx.org>
2693
2694         * lyxlex.[Ch] (findToken): remove function.
2695
2696         * ParagraphParameters.C (findToken):
2697         * bufferparams.C (findToken): replace call for previous function
2698         with local copy. This local function has one more argument, the
2699         read string argument.
2700
2701 2004-08-16  José Matos  <jamatos@lyx.org>
2702
2703         * ParagraphParameters.C (write):
2704         * Spacing.C (writeFile):
2705         * bufferparams.C (writeLaTeX):
2706         * lyx_cb.C (Reconfigure):
2707         * paragraph.C (write):
2708         * tabular.C (write): remove unnecessary space at end of line.
2709
2710
2711 2004-08-16  José Matos  <jamatos@lyx.org>
2712
2713         * text.C (readParagraph): remove debug message.
2714
2715 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2716
2717         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2718         crash
2719
2720         * output_plaintext.C (asciiParagraph): set depth correctly
2721
2722         * outputparams.h: add member depth
2723
2724         * paragraph_funcs.C (ownerPar): remove.
2725
2726         * text2.C (setCounter): remove first_pit; comment out some
2727         non-working code that uses ownerPar
2728
2729         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2730         uses ownerPar
2731
2732 2004-08-16  José Matos  <jamatos@lyx.org>
2733
2734         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2735         For the same level of importance use the same chanel to report problems.
2736         (read): add code to deal with \begin_body and \end_body.
2737
2738
2739 2004-08-15  José Matos  <jamatos@lyx.org>
2740
2741         * lyxlex.C (getString): fix comment, buffer::readBody is now
2742         buffer:readDocument.
2743
2744         * tex-strings.C (string_papersize): Default -> default,
2745         Custom -> custom, for consistency with other options.
2746
2747 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2748
2749         * pch.h: new file
2750
2751         * Makefile.am: support pch
2752
2753 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2754
2755         * text.C (readParToken): remove the static LyXFont variable and
2756         pass it as a parameter instead. This fixes a nasty bug where an
2757         inset will be inserted with a bad font in some situations
2758         (readParagraph): adapt
2759
2760         * text2.C (setCounter): reduce number of calls to pars_[pit]
2761
2762         * text.C (singleWidth): add an assert, fix a test
2763
2764         * rowpainter.C (paintText): reduce number of calls to singleWidth
2765
2766         * paragraph.C (isHfill):
2767         (isNewline): ws only
2768
2769 2004-08-14  André Pönitz  <poenitz@gmx.net>
2770
2771         * text.C:
2772         * text2.C:
2773         * rowpainter.C:
2774         * lyxtext.h (several functions): use a Paragraph & argument
2775         instead of par_type
2776
2777 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2778
2779         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2780
2781         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2782
2783         * text.C (singleWidth): remove useless test
2784
2785 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2786
2787         * tabular.h: remove bogus comments
2788
2789         * tabular.C (getDescentOfRow):
2790         (isPartOfMultiColumn): add assertions
2791
2792         * lyxlength.C (inPixels): remove #warning
2793
2794 2004-08-14  André Pönitz  <poenitz@gmx.net>
2795
2796         * paragraph.h: inline getChar()
2797
2798         * BufferView.h: remove unused declarations
2799
2800 2004-08-14  José Matos  <jamatos@lyx.org>
2801
2802         * Buffer.[Ch] (readDocument): new name for old readBody.
2803         * Buffer.C: new file format, new keywords: \begin_document,
2804         \begin_header, \begin_body, \end_body.
2805
2806         * bufferparams.C (readToken): replace all calls to lex.nextToken
2807         by lex.next(). Do the same to eatLine except where really needed.
2808
2809         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2810         line when writing to the lyx file.
2811
2812         * output_plaintext.C (asciiParagraph): fix Bibliography style
2813         handling.
2814
2815         * text.C (read): fix end of file handling.
2816
2817 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2818
2819         * MenuBackend.C (Menu::operator[]): new method to access
2820         individual menu items
2821         (Menu::hasFunc): new method. search for an item that corresponds
2822         to a given func
2823         (MenuBackend::specialMenu): new method
2824         (MenuBackend::expand): if a special menu has been set, skip
2825         entries whose func() appears in this menu
2826
2827 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2828
2829         * text3.C: use Debug::DEBUG a bit more
2830
2831         * text.C (leftMargin): try to simplify a tiny bit change var x to
2832         l_margin. Dont output the wide margins always.
2833         (rightMargin): no margin in inner texts
2834
2835         * rowpainter.h (nestMargin): new func
2836         (changebarMargin): new func
2837         (rightMargin): new func
2838
2839         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2840         now functions.
2841         (paintLast): ditto
2842
2843         * factory.C (createInset): modify setDrawFrame
2844
2845         * cursor.C: use Debug::DEBUG a bit more
2846
2847 2004-08-14  André Pönitz  <poenitz@gmx.net>
2848
2849         * coordcache.[Ch]:
2850         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2851         cache for all insets in (at least partially) visible (top-level)
2852         paragraphs.
2853
2854         * BufferView_pimpl.C: reset external coord cache before every update.
2855         This means the coord cache only contains valid entries.
2856
2857 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2858
2859         bug 1096
2860         * BufferView_pimpl.C (getInsetByCode): move function out of class
2861         and change in to a template in anon namespace. Also fix to do what
2862         suits us better.
2863
2864 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2865
2866         bug 1305
2867         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2868         of char
2869         (breakParagraph): rename par to par_offset and use a local
2870         reference. Add code to keep the language over a rebreak.
2871         (breakParagraphConservative): rename par to par_offset, use a
2872         local reference
2873         (mergeParagraph): ditto
2874         (outerHook): ditto
2875         (isFirstInSequence): ditto
2876         (outerFont): rename pit to par_offset
2877
2878         * paragraph.C: ws change
2879         * paragraph.h: ditto
2880         * text3.C: ditto
2881         * text.C: ditto
2882
2883 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2884
2885         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2886         treatment for ']'
2887
2888         * paragraph.C (simpleTeXOnePar): when we have a \item with
2889         optional argument, enclose the argument with curly brackets (in
2890         case it contains a closing square bracket)
2891
2892         * text2.C (editXY):
2893         * text2.C (editXY):
2894         * text3.C (checkInsetHit): constify
2895
2896 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2897
2898         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2899         documents (bug 1629)
2900
2901 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2902
2903         Fix toggling of collapsable insets with the mouse (bug 1558)
2904
2905         * lyxfunc.C (dispatch): adapt to LCursor changes
2906
2907         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2908         make sure that dispatch is not invoked twice
2909
2910         * cursor.C (needsUpdate): new method
2911         (dispatch): return void
2912         (result): new method, to access the DispatchResult of the cursor.
2913
2914 2004-08-13  José Matos  <jamatos@lyx.org>
2915
2916         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2917
2918 2004-08-13  André Pönitz  <poenitz@gmx.net>
2919
2920         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2921
2922         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2923           multiple cells
2924
2925 2004-08-12  André Pönitz  <poenitz@gmx.net>
2926
2927         * text3.C: take out the 'cursor right' form insertInset and only
2928         do it in those places when it is really needed. Fixes crash on
2929         C-m...
2930
2931 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2932
2933         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2934
2935         * BufferView_pimpl.C (setBuffer): initialize the current font of
2936         the underlying LyXText
2937
2938 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2939
2940         * kbsequence.C (print): use UI native formatting for menu
2941         shortcuts
2942
2943         * text.C (insertChar): call Paragraph::insertChar with a font
2944         argument (cosmetic)
2945
2946         * paragraph.C (insertInset, insertChar): the version that takes a
2947         LyXFont argument is now a wrapper around the other one (the
2948         opposite used to be true).
2949
2950         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2951         argument. Font setting is done in Paragraph now.
2952
2953 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2954
2955         * outputparams.h: add new members intitle and lang.
2956
2957         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2958         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2959
2960 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2961
2962         * text3.C (dispatch): remove special handling of button 4 and 5,
2963         it is now taken care of in the frontend code.
2964
2965 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2966
2967         * Spacing.h: add <string> (STLPort compile fix)
2968
2969 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2970
2971         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2972
2973 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2974
2975         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2976         to bool.
2977
2978         * converter.C (showMessage): inherit from unary_function, make
2979         operator() const.
2980
2981         * buffer.C (writeFile): initialize retval
2982
2983         * InsetList.h: rename private variable list to list_
2984         * InsetList.[Ch]: adjust accordingly.
2985
2986 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2987
2988         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2989         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2990         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2991         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2992         * ParagraphParameters.C, LaTeXFeatures.C: replace
2993         "support/std_sstream.h" with <sstream>
2994
2995 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2996
2997         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2998         * lyxsocket.C (LyXServerSocket): ditto
2999         (serverCallback): ditto
3000
3001 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3002
3003         * LaTeXFeatures.C: check release date when loading jurabib.
3004
3005 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3006
3007         * lyxserver.C (startPipe): call register_socket_callback
3008         (endPipe): call unregister_socket_callback
3009
3010 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3011
3012         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3013         (LyXServerSocket): register the callback
3014         (LyXServerSocket): unregister the callback
3015         (fd): delete function
3016         (serverCallback): improve error checking and setup the callbacks.
3017         (dataCallback): change arg to fd.
3018         (writeln): new func (copied fro the client socket) used for server
3019         write to client.
3020         (LyXDataSocket): simplify
3021         (~LyXDataSocket): close ann unregiser callback
3022         (server): delete function
3023         (fd): delete function
3024         (readln): small changes, improve some std::string usage
3025         (writeln): constify a bit
3026
3027 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3028
3029         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3030         Qt frontend
3031
3032 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3033
3034         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3035         after it has been populated
3036
3037 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3038
3039         * text2.C (insertInset): move cursor when inserting inset.
3040
3041 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3042
3043         * kbmap.C (findbindings): a couple of new methods. returns a
3044         container of kb_sequence objects. The real work is done by the
3045         private recursive version
3046         (printbindings): uses findbindings to print out a bracketed list
3047         of bindings (renamed from findbinding).
3048
3049         * MenuBackend.C (binding): use kb_keymap::findbindings
3050
3051         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3052
3053 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3054
3055         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3056
3057 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3058
3059         * paragraph.C (isWord): return true on insets that report
3060         isLetter().
3061
3062         * text.C (getWord): use Paragraph::isWord to decide what is in a
3063         word and what is not; fix bug 1609.
3064
3065 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3066
3067         * tex-strings.C: add "none" to string_paperpackages[], fixes
3068         off-by-one-error in the paperpackage selection.
3069
3070         * lyxlex.[Ch]:
3071         * tex-strings.[Ch]: char const * string[n]
3072         -> char const * const string[]
3073
3074 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3075
3076         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3077         command, return early.
3078
3079 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3080
3081         * debug.h: add DEBUG to enum and fix size of ANY.
3082
3083         * debug.C: add support for Debug::DEBUG
3084         (showTags): cast errorTags.level to unsigned int
3085
3086         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3087         (redoCurrentBuffer): ditto
3088         (updateScrollbar): ditto
3089         * cursor.C (dispatch): ditto
3090         * text2.C (setLayout): ditto
3091         (setFont): ditto
3092         (updateCounters): ditto
3093         (editXY): ditto
3094         (deleteEmptyParagraphMechanism): ditto
3095
3096 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3097
3098         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3099         annotations to cleanup the Makefile slightly.
3100
3101 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3102
3103         * lyxrc.C: do not set user_email to a default value but use empty
3104         instead. The entry used to be translated, which does not work
3105         since at the point where lyxrc is constructed there is no
3106         translation service available
3107
3108         * messages.C (getLocaleDir): remove and use directly
3109         lyx_localedir() instead
3110
3111 2004-06-02  Angus Leeming  <leeming@lyx.org>
3112
3113         Fix crash caused by dereferencing null pointer 'exportdata' in
3114         OutputParams by creating a new ExportData variable on the heap,
3115         storing it in a boost::shared_ptr.
3116         The crash was triggered when generating an Instant Preview
3117         of an external inset.
3118
3119         * Makefile.am: add outputparams.C
3120
3121         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3122         (c-tor): allocate memory to it.
3123
3124         * exporter.C (c-tor): associated changes.
3125
3126 2004-06-01  Angus Leeming  <leeming@lyx.org>
3127
3128         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3129         contains data before calling isInset(0). (Bug 1513.)
3130
3131 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3132
3133         * exporter.C (checkOverwrite): new method
3134         * exporter.C (copyFile): new method
3135         * exporter.C (Export): copy referenced files to the document dir
3136         * exporter.[Ch]: new class ExportedFile
3137         * exporter.[Ch]: new class ExportData. Contains currently the
3138         names of referenced external files
3139         * outputparams.h: add exportdata member.
3140
3141 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3142
3143         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3144         version.C-tmp
3145
3146 2004-05-19  Angus Leeming  <leeming@lyx.org>
3147
3148         * LaTeXFeatures.C:
3149         * ToolbarBackend.C:
3150         * bufferparams.C:
3151         * lyxfunc.C: small changes due to the introduction of namespace
3152         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3153
3154 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3155
3156         * text3.C (dispatch): supress update when only moving the cursor
3157         * cursor.C (selHandle): remove commented code
3158
3159 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3160
3161         * paragraph.C (startTeXParParams): correct column count
3162         * CutAndPaste.C (pasteSelection): remove const_cast
3163         * output_docbook.C (docbookParagraphs): remove const_cast
3164         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3165         const_cast and return ParagraphList::const_iterator
3166         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3167         * output_plaintext.C (writeFileAscii): remove const_cast
3168         * paragraph.[Ch] (simpleTeXOnePar): make const
3169         * paragraph_funcs.C (outerPar): use const iterators
3170         * paragraph_pimpl.C (validate): use const iterators
3171         * text.C (setHeightOfRow): use const iterators
3172
3173 2004-05-17  Angus Leeming  <leeming@lyx.org>
3174
3175         * lfuns.h:
3176         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3177
3178         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3179         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3180         if the citation engine has changed.
3181
3182 2004-05-14  José Matos  <jamatos@lyx.org>
3183
3184         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3185         if the textclass does not provide it. Have it different for sgml and
3186         xml.
3187         support the language of document.
3188         * output_docbook.C (docbookParagraphs):
3189         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3190         first anchor as the id of the paragraph, remove special case code.
3191         * sgml.C (escapeChar): escape only < & >.
3192
3193 2004-05-14  Angus Leeming  <leeming@lyx.org>
3194
3195         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3196         dependencies on src/frontends/controllers/biblio.h. Define a
3197         CiteEngine_enum wrapper class to enable the enum to be forward
3198         declared.
3199
3200 2004-05-12  Angus Leeming  <leeming@lyx.org>
3201
3202         * buffer.C: up LYX_FORMAT to 234.
3203         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3204         use_numerical_citations with a single biblio::CiteEngine cite_engine
3205         variable.
3206         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3207
3208 2004-05-13  José Matos  <jamatos@lyx.org>
3209
3210         * converter.h:
3211         * converter.C (Converter, readFlags): add xml member.
3212         * outputparams.h: add XML flavor.
3213         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3214
3215 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3216
3217         * lyxfunc.C (dispatch):
3218         (getStatus): fix handling of LFUN_SEQUENCE
3219
3220 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3221
3222         * debug.C (showLevel): do not forget the end-of-line marker
3223
3224 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3225
3226         * kbmap.C (read): do not stop parsing a bind file when an error
3227         occurs (bug 1575)
3228
3229 2004-04-29  Angus Leeming  <leeming@lyx.org>
3230
3231         * cursor.C:
3232         * factory.C:
3233         * pariterator.C:
3234         * text2.C: wrap a bunch of #warning statements
3235         inside #ifdef WITH_WARNINGS blocks.
3236
3237 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3238
3239         * buffer.C: increment format to 233.
3240
3241 2004-04-28  Angus Leeming  <leeming@lyx.org>
3242
3243         * BufferView_pimpl.C:
3244         * lyxfunc.C:
3245         * text3.C:
3246         s/updateToolbar()/updateToolbars()/
3247         s/Toolbar.h/Toolbars.h/
3248
3249 2004-04-28  Angus Leeming  <leeming@lyx.org>
3250
3251         * BufferView.[Ch] (c-tor):
3252         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3253         No longer passes these data to the WorkArea generator.
3254
3255 2004-04-28  Angus Leeming  <leeming@lyx.org>
3256
3257         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3258
3259 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3260
3261         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3262
3263 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3264
3265         * output_latex.C (TeXEnvironment): make sure that there is a line
3266         break before \end{foo} for the last paragraph of a document
3267         (TeXOnePar): if the paragraph is at the end of the document (or
3268         inset) and the language has to be reset, then make sure that the
3269         line break is _before_ the language command, not after (fixes bug
3270         1225); also make sure that the language reset command is the first
3271         thing after the paragraph (to ensure proper nesting of
3272         environments and thus fix bug 1404)
3273
3274 2004-04-21  John Levon  <levon@movementarian.org>
3275
3276         * ToolbarBackend.h:
3277         * ToolbarBackend.C: make "name" be a programmatic name
3278         and a gui_name field.
3279
3280         * lyxfunc.C: display the minibuffer on M-x
3281
3282 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3283
3284         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3285         (bug 1526)
3286
3287 2004-04-19  Angus Leeming  <leeming@lyx.org>
3288
3289         * BufferView_pimpl.C (setBuffer): changed preview interface.
3290
3291         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3292         possible values.
3293
3294 2004-04-19  John Levon  <levon@movementarian.org>
3295
3296         * BufferView_pimpl.C:
3297         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3298
3299 2004-04-05  Angus Leeming  <leeming@lyx.org>
3300
3301         * text.C (redoParagraphs): add call to updateCounters(), thereby
3302         fixing the missing "Figure #:" label from the caption of a
3303         figure float.
3304
3305 2004-04-13  Angus Leeming  <leeming@lyx.org>
3306
3307         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3308         cursor is clicked out of an inset.
3309
3310 2004-04-13  Angus Leeming  <leeming@lyx.org>
3311
3312         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3313         than an InsetOld one.
3314
3315 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3316
3317         * format.[Ch]: add editor to Format
3318         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3319         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3320
3321 2004-04-08  André Pönitz  <poenitz@gmx.net>
3322
3323         * metricsinfo.h: remove PainterInfo::width member
3324
3325 2004-04-08  Angus Leeming  <leeming@lyx.org>
3326
3327         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3328         "\providecommand" rather than "\newcommand", thereby preventing
3329         clashes with packages that define "\boldsymbol" themselves.
3330         Eg, beamer.
3331
3332 2004-04-08  Angus Leeming  <leeming@lyx.org>
3333
3334         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3335         thereby squashing an unnecessary warning.
3336
3337 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3338
3339         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3340         setBuffer()
3341
3342 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3343
3344         * BufferView.C (setCursor): call redoParagraph (some insets could
3345         have been opened)
3346         (putSelectionAt): remove the 'double update' trick
3347
3348         * BufferView_pimpl.C (fitCursor): call refreshPar
3349         (workAreaDispatch): remove an uneeded update call
3350         (dispatch): remove some manual update calls
3351
3352         * cursor.[Ch]: remove cached_y_, updatePos
3353         (selHandle): set noUpdate when appropriate
3354
3355         * lyxfunc.C (dispatch): track if we need an update
3356
3357         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3358
3359         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3360         (paintSelection): cheap optimization, do not call cursorX when not
3361         needed
3362         (paintPars): change signature
3363         (refreshPar): add
3364         (paintText): adjust
3365         (paintTextInset): adjust
3366
3367         * text.C: adjust
3368
3369 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3370
3371         * lengthcommon.C: compilation fix: remove explicit array size from
3372         unit_name[] and friends
3373
3374 2004-04-05  Angus Leeming  <leeming@lyx.org>
3375
3376         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3377
3378         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3379         present only for the preferences dialog.
3380         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3381
3382 2004-04-05  Angus Leeming  <leeming@lyx.org>
3383
3384         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3385         to enable the frontends to export changes to lyxrc correctly.
3386
3387         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3388
3389 2004-04-07  André Pönitz  <poenitz@gmx.net>
3390
3391         * cursor.[Ch] (selClear, adjust): remove math
3392
3393         * cursor_slice.C: more agressive assert
3394
3395         * lyxfunc.C:
3396         * BufferView_pimpl.C: rework mouse event dispatch
3397
3398         * dociterator.C:
3399         * paragraph.C:
3400         * text2.C:
3401         * text3.C: adjust
3402
3403 2004-04-05  André Pönitz  <poenitz@gmx.net>
3404
3405         * cursor.[Ch] (valign, halign...): remove unneeded functions
3406
3407 2004-04-05  Angus Leeming  <leeming@lyx.org>
3408
3409         * lyxlength.[Ch] (unit_name et al.): const-correct.
3410
3411 2004-04-05  Angus Leeming  <leeming@lyx.org>
3412
3413         * BufferView_pimpl.C:
3414         * buffer.C:
3415         * counters.C:
3416         * cursor.C:
3417         * lyxfunc.C
3418         * paragraph.C:
3419         * pariterator.C:
3420         * text.C:
3421         * text2.C:
3422         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3423
3424 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3425
3426         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3427
3428 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3429
3430         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3431         * BufferView_pimpl.[Ch] (getStatus)
3432         * BufferView.[Ch] (getStatus): add
3433         * lyxfunc.C (getStatus): move lfuns handled in
3434         BufferView::dispatch to te function above
3435         * Cursor.C (setSelection): set selection() = true
3436
3437 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3438
3439         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3440
3441 2004-03-31  Angus Leeming  <leeming@lyx.org>
3442
3443         * lyxfunc.C (dispatch): Fall through to the generic
3444         Dialogs::show("preamble").
3445
3446 2004-03-31  Angus Leeming  <leeming@lyx.org>
3447
3448         * lyxfunc.C (dispatch): Fall through to the generic
3449         Dialogs::show("spellchecker").
3450
3451 2004-03-31  Angus Leeming  <leeming@lyx.org>
3452
3453         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3454         preferences dialog.
3455
3456 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3457
3458         * BufferView.C
3459         * cursor.[Ch]
3460         * dociterator.[Ch]:
3461         * insetiterator.[Ch]:
3462         * lyxfind.C:
3463         * lyxfunc.C:
3464         * pariterator.[Ch]:
3465         * text2.C:
3466         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3467
3468 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3469
3470         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3471         insets where we are putting the cursor.
3472
3473 2004-03-31  Angus Leeming  <leeming@lyx.org>
3474
3475         * lfuns.h:
3476         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3477
3478         * lyxrc.[Ch] (read, write): overloaded member functions taking
3479         a std::[io]stream arguments.
3480
3481         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3482
3483 2004-03-31  Angus Leeming  <leeming@lyx.org>
3484
3485         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3486         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3487
3488         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3489         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3490
3491 2004-03-31  Angus Leeming  <leeming@lyx.org>
3492
3493         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3494         the LFUN_ALL_INSETS_TOGGLE code.
3495
3496 2004-03-30  Angus Leeming  <leeming@lyx.org>
3497
3498         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3499         has died. Fall through to the generic Dialogs::show("document").
3500
3501 2004-03-30  Angus Leeming  <leeming@lyx.org>
3502
3503         * lfuns.h:
3504         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3505         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3506
3507         * lyxfunc.C (getStatus, dispatch): define the actions for these
3508         lfuns. Little more than a cut and pste job from ControlDocument.C
3509
3510         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3511
3512 2004-03-30  Angus Leeming  <leeming@lyx.org>
3513
3514         * lfuns.h:
3515         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3516         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3517
3518         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3519         open/closed state of ollapsable insets. Usage:
3520
3521         all-inset-toggle <state> <name>, where
3522         <state> == "open" || "closed" || "toggle" and
3523         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3524
3525         * lyxtext.h, text2.C (toggleInset): removed.
3526
3527         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3528         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3529         now passes LFUN_INSET_TOGGLE to the found inset.
3530
3531         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3532         is now invoked as "all-insets-toggle toggle branch".
3533
3534 2004-03-30  Angus Leeming  <leeming@lyx.org>
3535
3536         * dociterator.C:
3537         * insetiterator.C:
3538         * pariterator.[Ch]: added/corrected header blurb.
3539
3540 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3541
3542         * dociterator.[Ch]: add an inset_ member
3543         (backwardPos): implemented
3544         (backwardPos, forwardPos): use inset_ when the stack is empty.
3545         (doc_iterator_begin, doc_iterator_end): implemented
3546         * pariterator.[Ch]: adjust, add begin, end
3547         * insetiterator.[Ch]: adjust, add begin, end
3548         * cursor.C:
3549         * document.C:
3550         * BufferView.C:
3551         * BufferView_pimpl.C:
3552         * CutAndPaste.C: adjust
3553
3554 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3555
3556         * buffer.C: increment file format to 232.
3557         * LaTeXFeatures.C: add bibtopic package.
3558         * bufferparams.[Ch]: param \use_bibtopic.
3559
3560         * lyxrc.[Ch]: add lyxrc bibtex_command
3561         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3562
3563         * buffer.C: increment file format to 231.
3564
3565 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3566
3567         * dociterator.C: implement forwardPar
3568         * iterators.[Ch]: remove, replaced by
3569         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3570         * BufferView.C:
3571         * BufferView_pimpl.C:
3572         * CutAndPaste.C:
3573         * buffer.C:
3574         * bufferview_funcs.C:
3575         * cursor.C:
3576         * lyxfind.C
3577         * lyxfunc.C
3578         * paragraph_funcs.C
3579         * toc.C:
3580         * Makefile.am: adjust
3581
3582 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3583
3584         * CutAndPaste.C (pasteSelection): fix 2 crashes
3585         (eraseSelection): fix a crash
3586         * paragraph_funcs.C: remove a warning
3587
3588 2004-03-28  Angus Leeming  <leeming@lyx.org>
3589
3590         * lfuns.h:
3591         * LyXAction.C (init): new LFUN_PRINT.
3592
3593         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3594
3595 2004-03-27  Angus Leeming  <leeming@lyx.org>
3596
3597         * lfuns.h:
3598         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3599
3600         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3601
3602 2004-03-27  Angus Leeming  <leeming@lyx.org>
3603
3604         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3605         insetlist always contains non-null pointers to insets.
3606
3607 2004-03-26  Angus Leeming  <leeming@lyx.org>
3608
3609         * src/BufferView_pimpl.C:
3610         * src/CutAndPaste.C:
3611         * src/buffer.C:
3612         * src/iterators.C:
3613         * src/output_plaintext.C:
3614         * src/outputparams.h:
3615         * src/paragraph_funcs.C:
3616         * src/rowpainter.C:
3617         * src/text.C:
3618         * src/text2.C:
3619         * src/frontends/controllers/ControlErrorList.C:
3620         * src/frontends/gtk/FileDialogPrivate.C:
3621         * src/frontends/gtk/GPainter.C:
3622         * src/frontends/gtk/GToolbar.C:
3623         * src/frontends/qt2/QRef.C:
3624         * src/mathed/math_scriptinset.C: squash compiler warnings.
3625
3626 2004-03-26  Angus Leeming  <leeming@lyx.org>
3627
3628         * ispell.C (LaunchIspell::start):
3629         * lyx_cb.C (AutoSaveBuffer::start):
3630         invoke run(DontWait) rather than runNonBlocking().
3631
3632 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3633
3634         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3635
3636 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3637
3638         * kbsequence.C (print): adjust
3639
3640         * kbmap.C (printKeySym): rename and change signature
3641         (printKey): use LyXKeySym::print()
3642
3643 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3644
3645         * undo.C: add using std::advance to compile for stlport
3646
3647 2004-03-24  Angus Leeming  <leeming@lyx.org>
3648
3649         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3650         it leads to a crash when no buffer is present.
3651
3652 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3653             Martin Vermeer  <martin.vermeer@hut.fi>
3654
3655         * lyxfunc.C (dispatch):
3656         * bufferparams.C (readToken): use the new LColor::setColor
3657
3658         * LColor.[Ch] (setColor): new version that takes two strings as
3659         argument and creates a new color entry if necessary
3660
3661 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3662
3663         * buffer.C (makeLaTeXFile): if the main latex file that is
3664         processed is usually a subdocument of some master, then pretend
3665         for a while that it is actually the master
3666
3667 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3668
3669         * buffer.C (getLabelList):
3670         (getBibkeyList): use getMasterBuffer()
3671         (getMasterBuffer): new method. Returns the main document in the
3672         case where one is using included documents.
3673
3674 2004-03-25  André Pönitz  <poenitz@gmx.net>
3675
3676         * Makefile.am:
3677         * iterators.[Ch]:
3678         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3679
3680         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3681
3682         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3683         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3684
3685         * ParameterStruct.h: merge with ParagraphParameters
3686
3687         * lyxtext.h: remove LyXText::parOffset() and getPar()
3688
3689         * text3.C: Remove all 'manual' update calls. We do now one per user
3690         interaction which is completely sufficient.
3691
3692         * Bidi.C:
3693         * BufferView.[Ch]:
3694         * BufferView_pimpl.C:
3695         * FontIterator.[Ch]:
3696         * MenuBackend.C:
3697         * ParagraphParameters.[Ch]:
3698         * buffer.C:
3699         * buffer.h:
3700         * bufferlist.C:
3701         * cursor.[Ch]:
3702         * cursor_slice.[Ch]:
3703         * dociterator.[Ch]:
3704         * errorlist.[Ch]:
3705         * factory.C:
3706         * lfuns.h:
3707         * lyxfind.C:
3708         * lyxfunc.C:
3709         * output_docbook.[Ch]:
3710         * output_latex.[Ch]:
3711         * output_linuxdoc.[Ch]:
3712         * output_plaintext.[Ch]:
3713         * paragraph.[Ch]:
3714         * paragraph_funcs.[Ch]:
3715         * paragraph_pimpl.[Ch]:
3716         * rowpainter.C:
3717         * tabular.[Ch]:
3718         * text.C:
3719         * text2.C:
3720         * toc.C:
3721         * undo.[Ch]: adjust
3722
3723         * frontends/controllers/ControlDocument.C:
3724         * frontends/controllers/ControlErrorList.C:
3725         * frontends/controllers/ControlSpellchecker.C:
3726         * insets/inset.C:
3727         * insets/inset.h:
3728         * insets/insetbase.h:
3729         * insets/insetbibitem.C:
3730         * insets/insetbox.C:
3731         * insets/insetbranch.C:
3732         * insets/insetcaption.C:
3733         * insets/insetcharstyle.C:
3734         * insets/insetcharstyle.h:
3735         * insets/insetcollapsable.C:
3736         * insets/insetcollapsable.h:
3737         * insets/insetert.C:
3738         * insets/insetfloat.C:
3739         * insets/insetfoot.C:
3740         * insets/insetmarginal.C:
3741         * insets/insetnote.C:
3742         * insets/insetoptarg.C:
3743         * insets/insettabular.C:
3744         * insets/insettext.C:
3745         * insets/insettext.h:
3746         * insets/insetwrap.C:
3747         * mathed/math_mboxinset.C:
3748         * mathed/math_nestinset.C:
3749         * mathed/math_scriptinset.C:
3750         * mathed/math_scriptinset.h:
3751         * support/types.h:
3752
3753 2004-03-24  Angus Leeming  <leeming@lyx.org>
3754
3755         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3756         deal with any child processes that have finished but are waiting to
3757         communicate this fact to the rest of LyX.
3758
3759 2004-03-24  Angus Leeming  <leeming@lyx.org>
3760
3761         64-bit compile fixes.
3762
3763         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3764         (c-tor): pass lyx::pos_types rather than ints.
3765
3766         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3767         lyx::pos_type.
3768
3769         * text.C (Delete): compile fix.
3770         (getPar): ensure that function declaration is the same as that in
3771         the header file.
3772
3773 2004-03-23  Angus Leeming  <leeming@lyx.org>
3774
3775         * ispell.C (LaunchIspell):
3776         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3777         a boost::shred_ptr rather than a std::auto_ptr.
3778
3779 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3780
3781         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3782         handle LFUN_FILE_INSERT_*
3783
3784         * lyxrc.C (setDefaults, getDescription, output, read):
3785         * lyxrc.h: remove ps_command
3786
3787 2004-03-22  Angus Leeming  <leeming@lyx.org>
3788
3789         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3790         Ensure that error_handler is processed once only and that all data
3791         is saved before attempting to output any warning messages.
3792
3793         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3794
3795 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3796
3797         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3798
3799 2004-03-19  André Pönitz  <poenitz@gmx.net>
3800
3801         * cursor.[Ch] (reset): take main text inset as argument
3802
3803         * BufferView: adjust
3804         * BufferView_pimpl.C: adjust
3805
3806         * paragraph.[Ch]: fix completely broken operator=()
3807
3808 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3809
3810         * LColor.C (getFromLyXName): make sure that the color name is used
3811         as lowercase.
3812
3813 2004-03-17  Angus Leeming  <leeming@lyx.org>
3814
3815         * lfuns.h:
3816         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3817
3818         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3819         dialog and to kill a forked process.
3820
3821 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3822
3823         * text2.C (setCursorFromCoordinates): fix font problem
3824
3825 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3826
3827         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3828         bogus "rebuild cursor" code
3829
3830 2004-03-11  André Pönitz  <poenitz@gmx.net>
3831
3832         * buffer.[Ch]: use InsetText instead of LyXText as container for
3833         the main lyx text.
3834
3835         * dociterator.[Ch]: drop the BufferView * member which is not needed
3836         anymore after the change to buffer.C
3837
3838         * paragraph_funcs.C:
3839         * text.C:
3840         * text2.C:
3841         * BufferView.[Ch]:
3842         * BufferView_pimpl.[Ch]:
3843         * cursor.[Ch]:
3844         * cursor_slice.[Ch]: adjust
3845
3846         * text3.C: fix bug in mathDispatch
3847
3848 2004-03-08  André Pönitz  <poenitz@gmx.net>
3849
3850         * undo.[Ch]: use 'StableDocumentIterator' as base for
3851         the Undo struct.
3852
3853 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3854
3855         * LaTeXFeatures.C:
3856         * bufferparams.[Ch]: add jurabib support and param.
3857
3858         * LaTeX.C: add FIXME/comment.
3859
3860 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3861
3862         * buffer.C: increment file format to 230.
3863
3864 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3865
3866         * cursor.C (dispatch): avoid infinite loops
3867
3868 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3869
3870         * rowpainter.C (paintSelection): fix x coordinates
3871
3872 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3873
3874         * text.C (rowBreakPoint): fix breaking before displayed insets
3875
3876 2004-03-01  André Pönitz  <poenitz@gmx.net>
3877
3878         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3879
3880         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3881
3882         * Makefile.am:
3883         * BufferView.C:
3884         * BufferView_pimpl.C:
3885         * buffer.C:
3886         * lyxfind.C:
3887         * lyxfunc.C:
3888         * text.C:
3889         * text2.C:
3890         * text3.C: adjust
3891
3892 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3893
3894         * lyxtext.h:
3895         * text.C:
3896         * text2.C:
3897         * rowpainter.C:
3898         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3899         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3900
3901 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3902
3903         * Bidi.[Ch] (computeTables): const correctness
3904         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3905         fill_hfill, fill_label_hfill and x from Row
3906         * lyxtext.h: prepareToPrint returns a RowMetrics
3907         * rowPainter.C: adjust
3908         * text.C (prepareToPrint): use width, not textWidth. adjust
3909         (redoParagraphInternal, cursorX): adjust
3910         * text2.C (getColumnNearX): adjust
3911         (init): put a default value to the top LyXText::width
3912
3913 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3914
3915         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3916
3917 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3918
3919         * lyxtext.h: add FontIterator class
3920
3921         * text.C (FontIterator, operator*, operator->, operator++): add
3922         (rowBreakPoint, setRowWidth): adjust (fixing a
3923         rebreaking bug)
3924
3925 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3926
3927         * BufferView_pimpl.C (workAreaDispatch): allow also
3928         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3929
3930 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3931
3932         * text.C (rowBreakPoint): fix a bug showing with very large insets
3933
3934 2004-02-25  André Pönitz  <poenitz@gmx.net>
3935
3936         * text3.C:
3937         * cursor.[Ch]: move some mathed specific code to mathed
3938
3939 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3940
3941         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3942         use_tempdir in preferences
3943         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3944         tempfile creation
3945         * lyx_main.C: ensure that tempdir is valid
3946         * lyxlex.h: correct typo
3947         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3948         * paragraph.[Ch] (isMultiLingual): make const
3949         * cursor.[Ch] (openable): make const
3950
3951 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3952
3953         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3954
3955 2004-02-20  André Pönitz  <poenitz@gmx.net>
3956
3957         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3958
3959         * cursor.[Ch]: prepare for localized getStatus()
3960
3961         * lyxtext.h:
3962         * tabular.C:
3963         * text.C:
3964         * text2.C:
3965         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3966
3967 2004-02-20  André Pönitz  <poenitz@gmx.net>
3968
3969         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3970
3971 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3972
3973         * text2.C (setCursorFromCoordinates): switch to absolute coords
3974         (cursorUp): adjust
3975         (cursorDown): adjust
3976         * text3.C (dispatch): adjust
3977
3978 2004-02-16  André Pönitz  <poenitz@gmx.net>
3979
3980         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3981           insets/ChangeLog)
3982
3983         * cursor_slice.[Ch]: remove unneeded acessor function
3984
3985         * lyxtext.h: rename rtl() to isRTL()
3986
3987         * rowpainter.C:
3988         * tabular.C:
3989         * text.C:
3990         * text2.C:
3991         * text3.C: adjust
3992
3993 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3994
3995         * rowpainter.C (paintSelection): coord fix
3996
3997 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3998
3999         * Spacing.C: compile fix
4000
4001 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4002
4003         * cursor.C (dispatch): restore current_ before returning
4004
4005 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4006
4007         * text2.C (cursorUp, cursorDown): fix coords
4008         (moveUp): fix crash
4009
4010 2004-02-12  André Pönitz  <poenitz@gmx.net>
4011
4012         * lyxtext.h:
4013         * text.C:
4014         * text2.C:
4015         * text3.C: add LCursor & parameter to most cursor movement functions
4016           remove usage of LyXText::cursorRow() and cursorPar()
4017
4018         * cursor.[Ch]: add textRow() needed members
4019
4020         * BufferView.C:
4021         * BufferView_pimpl.C:
4022         * paragraph.[Ch]:
4023         * BufferView.C:
4024         * BufferView_pimpl.C: adjust
4025
4026 2004-02-11  André Pönitz  <poenitz@gmx.net>
4027
4028         * lyxfunc.C:
4029         * BufferView.[Ch]:
4030         * BufferView_pimpl.C: shift undo/redo handling
4031
4032         * cursor.[Ch]: fix mathed crash
4033
4034         * lyxfind.C:
4035         * lyxtext.h: move selectionAsText to LCursor
4036
4037         * output_latex.C:
4038         * paragraph.C:
4039         * text.C:
4040         * text2.C:
4041         * text3.C: adjust
4042
4043         * rowpainter.C: fix excessive drawing
4044
4045 2004-02-06  André Pönitz  <poenitz@gmx.net>
4046
4047         * BufferView.[Ch]:
4048         * BufferView_pimpl.[Ch]:
4049         * text3.C: move some text specific LFUN handling
4050
4051 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4052
4053         * text3.C (checkInsetHit): adjust coords
4054         * text2.C (getColumnNearX): adjust coords
4055         (edit): adjust coords
4056         * text.C (getRowNearY): add two asserts
4057
4058 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4059
4060         * converter.C:
4061         * format.C: add using std::distance to compile on gcc 2.95/stlport
4062
4063 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4064
4065         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4066
4067 2004-02-04  André Pönitz  <poenitz@gmx.net>
4068
4069         * BufferView.[Ch] (insertInset):
4070         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4071
4072         * text2.C:
4073         * text3.C: adjust
4074
4075 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4076
4077         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4078         on the default clause of the switch
4079         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4080         wasn't catched by LCursor::dispatch
4081
4082 2004-02-03  André Pönitz  <poenitz@gmx.net>
4083
4084         * BufferView.C:
4085         * cursor.[Ch]: some additional asserts
4086
4087         * undo.[Ch]: remove LyXText dependency in interface
4088
4089         * lyxfunc.C: adjust
4090
4091         * lyxtext.h (firstPar, lastPar): remove dead functions
4092
4093         * text.C:
4094         * text2.C:
4095         * text3.C:
4096         * paragraph.[Ch]: adjust
4097
4098 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4099
4100         * lyxfind.C (find): fix argument order in call to ::find
4101
4102 2004-02-02  André Pönitz  <poenitz@gmx.net>
4103
4104         * cursor.[Ch]: remove direct access to anchor
4105
4106         * text.C: remove findText() hack
4107
4108 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4109
4110         * iterators.[Ch] (lockPath): remove in favour of...
4111         * BufferView.[Ch] (setCursor): this addition
4112         * BufferView.C (putSelectionAt): adjust
4113         * undo.C (performUndoOrRedo): adjust
4114         * lyxfunc.C (dispatch): adjust
4115
4116 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4117
4118         * iterators.C (lockPath): add a missing slice
4119         * undo.C (performUndoOrRedo): remove redundant positioning code
4120
4121 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4122
4123         * vc-backend.C (scanMaster): ";" -> ';'
4124
4125 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4126
4127         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4128         std::binary_function
4129
4130         * lyxtextclass.C (compare_name): rename to...
4131         (LayoutNamesEqual): ...this
4132
4133         * lyxlex_pimpl.C (compare_tags): inherit from
4134         std::binary_function, put back into anon namespace
4135
4136         * lyxfind.C (MatchString): inherig from std::binary_function
4137         (findChange): use empty() istead of !size()
4138
4139         * format.C (FormatNamesEqual): new functor
4140         (getFormat): use it
4141         (getNumber): use it
4142         (add): use it
4143         (erase): use it
4144         (setViewer): use it
4145
4146         * converter.C (compare_Converter): rename to...
4147         (ConverterEqual): ...this, and fixup a bit.
4148         (getConverter): use it, and make function const
4149         (getNumber): use it, and make function const
4150         (add): use it
4151         (erase): use it:
4152
4153         * bufferlist.C: add using boost::bind
4154
4155         * MenuBackend.C (MenuNamesEqual): new functor
4156         (hasMenu): use it, and make function const
4157         (hasSubmenu): use nested bind to get rid of compare_memfun.
4158
4159 2004-01-30  André Pönitz  <poenitz@gmx.net>
4160
4161         * BufferView_pimpl.C:
4162         * cursor.C:
4163         * cursor.h:
4164         * cursor_slice.[Ch]:
4165         * lyxfunc.C:
4166         * lyxtext.h:
4167         * paragraph_funcs.C:
4168         * paragraph_funcs.h:
4169         * rowpainter.C:
4170         * text.C:
4171         * text2.C:
4172         * text3.C: move some of the edit(x,y) handling to the insets
4173         some coordinate changes.
4174
4175 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * text.C: add using statements for std::advance and std::distance
4178
4179         * paragraph.C: add using statement for std::distance
4180
4181         * lyxfind.C: add using statement for std::advance
4182
4183         * cursor.C (region): remove std:: from swap
4184         (openable): use nucleus in stead of operator->
4185
4186         * BufferView.C: add using statements for std::distance and std::swap
4187
4188 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4189
4190         * iterators.C: Remove the pimple, move the needed structures to
4191         the header file. Create accessor for the positions stack.
4192         (asPosIterator): remove function
4193
4194         * PosIterator.C (PosIterator): move constructors to top of file
4195         (PosIterator): reimplement the constructor taking a ParIterator in
4196         terms of setFrom.
4197         (setFrom): new function
4198         (operator!=): inline it
4199
4200 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4201
4202         * lyxfind.C (replaceAll): use std::advance
4203
4204         * iterators.h: inherit from std::iterator.
4205
4206         * PosIterator.C (advance, distance): remove
4207         * PosIterator.h: interit from std::iterator.
4208
4209 2004-01-26  André Pönitz  <poenitz@gmx.net>
4210
4211         * BufferView.[Ch]:
4212         * BufferView_pimpl.[Ch]:
4213         * InsetList.[Ch]:
4214         * PosIterator.[Ch]:
4215         * buffer.h:
4216         * bufferview_funcs.C:
4217         * cursor.[Ch]:
4218         * cursor_slice.h:
4219         * factory.[Ch]:
4220         * iterators.[Ch]:
4221         * lyxfind.C:
4222         * lyxfunc.C:
4223         * lyxtext.h:
4224         * output_docbook.C:
4225         * output_latex.C:
4226         * output_linuxdoc.C:
4227         * output_plaintext.C:
4228         * paragraph.[Ch]:
4229         * paragraph_funcs.[Ch]:
4230         * paragraph_pimpl.[Ch]:
4231         * rowpainter.C:
4232         * tabular.C:
4233         * tabular.h:
4234         * text.C:
4235         * text2.C:
4236         * text3.C: more IU:  dumps most of the rest of the mathcursor
4237     implementation into cursor.[Ch]; "globalize" a bit of it.
4238
4239 2004-01-25  Angus Leeming  <leeming@lyx.org>
4240
4241         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4242
4243 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4244
4245         * LaTeXFeatures.h: add nice_ and nice() const
4246         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4247
4248 2004-01-20  André Pönitz  <poenitz@gmx.net>
4249
4250         * BufferView.[Ch]:
4251         * BufferView_pimpl.C:
4252         * PosIterator.C:
4253         * bufferview_funcs.C:
4254         * cursor.[Ch]:
4255         * cursor_slice.[Ch]:
4256         * factory.C:
4257         * iterators.C:
4258         * lyx_cb.C:
4259         * lyxfind.C:
4260         * lyxfunc.C:
4261         * lyxtext.h:
4262         * rowpainter.C:
4263         * text.C:
4264         * text2.C:
4265         * text3.C:
4266         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4267           LCursor and mathcursor parts to LCursor and InsetBase.
4268
4269 2004-01-15  André Pönitz  <poenitz@gmx.net>
4270
4271         * cursor_slice.[Ch]: add a few covienience functions
4272
4273         * funcrequest.[Ch]: remove BufferView * member
4274
4275         * BufferView_pimpl.C:
4276         * cursor.C:
4277         * factory.[Ch]:
4278         * lyxfind.[Ch]:
4279         * lyxfunc.C:
4280         * lyxtext.h:
4281         * text3.C:
4282         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4283
4284 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4285
4286         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4287         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4288
4289 2004-01-13  André Pönitz  <poenitz@gmx.net>
4290
4291         * textcursor.[Ch]:
4292         * lyxtext.h: hide cursor and selection anchor behind accessor function
4293
4294         * BufferView.C:
4295         * BufferView_pimpl.[Ch]:
4296         * PosIterator.C:
4297         * bufferview_funcs.C:
4298         * cursor.h:
4299         * lyxfind.C:
4300         * lyxfunc.C:
4301         * text.C:
4302         * text2.C:
4303         * text3.C:
4304         * undo.C: adjust
4305
4306         * cursor.h:
4307         * cursor_slice.[Ch]: some integer type changes for inset unification
4308
4309         * lyxcursor.[hC]: remove, it's CursorSlice now.
4310
4311         * Makefile.am:
4312         * BufferView_pimpl.[Ch]:
4313         * bufferview_funcs.C:
4314         * cursor_slice.C:
4315         * lyxtext.h:
4316         * text.C:
4317         * text2.C:
4318         * text3.C:
4319         * textcursor.[Ch]: adjust
4320
4321 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4322
4323         * text2.C (undoSpan): add and use
4324         * text.C (breakParagraph): use undoSpan (fix bug 578)
4325         * lyxtext.h: adjust
4326
4327 2004-01-08  Angus Leeming  <leeming@lyx.org>
4328
4329         * BufferView_pimpl.C (MenuInsertLyXFile):
4330         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4331         * lyxfunc.C (menuNew, open, doImport):
4332         FileFilterList change to the FileDialog open and save functions.
4333
4334 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * ShareContainer.h: make isEqual and isUnique adaptable
4337
4338         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4339
4340 2004-01-07  Angus Leeming  <leeming@lyx.org>
4341
4342         * LyXAction.C:
4343         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4344
4345         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4346
4347         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4348         functions replacing find, replace and replaceAll.
4349
4350         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4351         LFUN_WORDFIND(FORWARD|BACKWARD).
4352
4353 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4354
4355         * text.C (breakParagraph): remove an outdated #warning
4356
4357 2004-01-07  André Pönitz  <poenitz@gmx.net>
4358
4359         * lyxfind.C: somewhat clearer logic
4360
4361         * text.C: prevent crash in cursorX on unitialized row cache
4362
4363 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4364
4365         * lyxcursor.[Ch] (operator>): add
4366         * textcursor.C (selStart, selEnd): use std::min and std::max
4367
4368 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * Chktex.C: include boost/format.hpp
4371
4372 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4373
4374         * InsetList.C: replace functor MathcIt with adaptable functor
4375         InsetTablePosLess
4376         (insetIterator): modify accordingly
4377
4378         * BranchList.h: move the BranchNamesEqual functor here from...
4379         * BranchList.C: ... to here
4380
4381         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4382         SameName and match.
4383         (add): replace a finding loop with std::find_if.
4384
4385 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4386
4387         * output_docbook.C: moving LatexParam functionality into
4388         .layout files
4389
4390 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4391
4392         * buffer.C: increment format to 229.
4393
4394 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4395
4396         * LaTeXFeatures.C:
4397         * lyx_sty.[Ch]: remove minipageindent_def
4398
4399         * LyXAction.C:
4400         * factory.C:
4401         * lfuns.h:
4402         * lyxfunc.C:
4403         * text3.C: remove LFUN_INSET_MINIPAGE
4404
4405 2003-12-28  Angus Leeming  <leeming@lyx.org>
4406
4407         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4408
4409 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4410
4411         * text2.C (setParagraph): fix off-by-one crash
4412
4413 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4414
4415         * output_docbook.C: header stuff for AGU
4416
4417 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4418
4419         * text2.C (redoCursor): remove
4420         * text.C:
4421         * text3.C:
4422         * BufferView_pimpl.C: remove calls to redoCursor and
4423         setCursor(cursor.par(), cursor.pos()) all around
4424
4425 2003-12-15  Angus Leeming  <leeming@lyx.org>
4426
4427         * buffer.C: up the format to 228.
4428
4429 2003-12-15  André Pönitz  <poenitz@gmx.net>
4430
4431         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4432         slices
4433
4434         * Makefile.am:
4435
4436         * BufferView_pimpl.C:
4437         * cursor.[Ch]:
4438         * lyxcursor.[Ch]:
4439         * rowpainter.[Ch]:
4440         * lyxtext.h:
4441         * text.C:
4442         * text2.C:
4443         * text3.C: adjust
4444
4445 2003-12-15  Angus Leeming  <leeming@lyx.org>
4446
4447         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4448         than getFromGUIName to manipulate the color.
4449
4450 2003-12-14  Angus Leeming  <leeming@lyx.org>
4451
4452         * BranchList.[Ch]: minimize the API.
4453         (Branch::getBranch, getColor): now return a 'const &'.
4454         (Branch::setSelected) now returns a bool set to true if the
4455         selection status changes.
4456         (BranchList::clear, size, getColor, setColor, setSelected,
4457         allBranches, allSelected, separator): removed.
4458         (BranchList::find): new functions, returning the Branch with
4459         the given name.
4460         (BranchList::add, remove): return a bool indicating that
4461         the operation was successful.
4462
4463         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4464         new InsetBranch::isBranchSlected member function.
4465
4466         * LColor.[Ch]: mimimize the API.
4467         (fill): renamed as addColor and made private.
4468         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4469         versions of these functions taking a string arg have been removed.
4470
4471         * bufferparams.C (readToken):
4472         * lyxfunc.C (dispatch):
4473         * lyxrc.C (read): changes due to the altered BranchList and
4474         LColor APIs.
4475
4476         * factory.C (createInset, readInset): changes due to altered
4477         InsetBranch c-tor.
4478
4479 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4480
4481         * factory.C:
4482         * lyxfunc.C: remove insetminipage. "minipage-insert"
4483         now produces a frameless minipage box inset.
4484
4485 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4486
4487         * textcursor.[Ch] (selStart,selEnd): add new methods
4488         remove selection::start, end, use LyXCursor::operator<
4489         * lyxcursor.[Ch] (operator<): add
4490         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4491         * BufferView.[Ch] (unsetXSel): add
4492         * text2.C (clearSelection): use unsetXSel,adjust
4493         * text.C: adjust
4494         * text3.C: adjust
4495         * rowpainter.C: adjust
4496         * bufferview_funcs.C (put_selection_at): adjust
4497
4498 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4499
4500         * BufferView_pimpl.C: small coord. correction
4501
4502 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4503
4504         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4505         dragging over the splash screen.
4506
4507 2003-12-11  Angus Leeming  <leeming@lyx.org>
4508
4509         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4510         as it is now handled in LyXText::dispatch.
4511
4512         * text3.C (doInsertInset): remove a level of nesting.
4513
4514 2003-12-11  Angus Leeming  <leeming@lyx.org>
4515
4516         * factory.C (createInset): changes due to the changed interface to
4517         InsetCommandMailer::string2params.
4518
4519 2003-12-10  Angus Leeming  <leeming@lyx.org>
4520
4521         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4522         'dialog-show-new-inset <inset name>'
4523
4524 2003-12-10  Angus Leeming  <leeming@lyx.org>
4525
4526         * buffer.C: up the format to 227.
4527
4528         * factory.C: the box inset is now identified simply by 'Box'.
4529
4530 2003-12-10  Angus Leeming  <leeming@lyx.org>
4531
4532         * buffer.C: up the format to 226.
4533
4534         * factory.C: the note inset is now identified simply by 'Note'.
4535
4536 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4537
4538         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4539         when a pit is enough. Standarize a couple of loops.
4540
4541 2003-12-05  Angus Leeming  <leeming@lyx.org>
4542
4543         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4544         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4545         data to the re-worked "log" dialog.
4546
4547 2003-12-03  André Pönitz  <poenitz@gmx.net>
4548
4549         * PosIterator.C:
4550         * iterators.C:
4551         * lyxtext.h:
4552         * output_latex.C:
4553         * paragraph_funcs.C:
4554         * text.C:
4555         * text2.C: use Inset::getText instead of Inset::getParagraph
4556
4557 2003-12-03  André Pönitz  <poenitz@gmx.net>
4558
4559         * buffer.[Ch]:
4560         * lyxtext.h:
4561         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4562         InsetText::read() as LyXText::read()
4563
4564 2003-12-02  Angus Leeming  <leeming@lyx.org>
4565
4566         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4567         type. Add a comment in the implementation that the function uses
4568         the stream's bad() function rather than fail() as the std::streams
4569         would do.
4570
4571 2003-12-02  André Pönitz  <poenitz@gmx.net>
4572
4573         * lyxlex.[Ch]: make interface more similar to std::stream
4574
4575         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4576
4577 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4578
4579         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4580
4581 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4582
4583         * vspace.[Ch]: remove VSpace::NONE
4584
4585 2003-12-01  André Pönitz  <poenitz@gmx.net>
4586
4587         * buffer.[Ch]:
4588         * lyxtext.h: move ParagraphList member to LyXText
4589         rename LyXText::ownerParagraphs to LyXText::paragraph
4590
4591         * CutAndPaste.C:
4592         * bufferview_funcs.C:
4593         * iterators.[Ch]:
4594         * lyx_cb.C:
4595         * paragraph.C:
4596         * rowpainter.C:
4597         * tabular.C:
4598         * text.C:
4599         * text2.C:
4600         * text3.C: adjust
4601
4602         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4603
4604         * undo.C: fix cursor positioning
4605
4606 2003-12-01  John Levon  <levon@movementarian.org>
4607
4608         * BufferView_pimpl.C: fix a crash on exit with
4609         a buffer open
4610
4611 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4612
4613         * BranchList.C: fix setSelected() method.
4614
4615 2003-11-28  André Pönitz  <poenitz@gmx.net>
4616
4617         * ParagraphParameters.[Ch]:
4618         * ParameterStruct.h: remove space above/below from Paragraph to
4619          InsetVSpace
4620
4621         * BufferView_pimpl.C:
4622         * factory.C:
4623         * lyxfunc.C:
4624         * lyxtext.h:
4625         * output_latex.C:
4626         * paragraph.C:
4627         * paragraph_funcs.C:
4628         * rowpainter.[Ch]:
4629         * text.C:
4630         * text2.C:
4631         * text3.C: adjust
4632
4633 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4634
4635         * factory.C: Syntax change for CharStyles
4636
4637 2003-11-28  André Pönitz  <poenitz@gmx.net>
4638
4639         * BufferView.[Ch]:
4640         * BufferView.[Ch]:
4641         * buffer.[Ch]:
4642         * buffer.[Ch]: move LyXText member
4643
4644 2003-11-28  André Pönitz  <poenitz@gmx.net>
4645
4646         * BufferView.[Ch]: make LyXText * text a private member
4647
4648         * BufferView_pimpl.C:
4649         * cursor.C:
4650         * iterators.C:
4651         * lyx_cb.C:
4652         * lyxfind.C:
4653         * lyxtext.h:
4654         * rowpainter.[Ch]:
4655         * text.C:
4656         * text2.C:
4657         * undo.C: adjust
4658
4659         * output_plaintext.C: cleanup
4660
4661 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4662
4663         * buffer.C:
4664         * lyxtextclass.[Ch]: parametrize SGML document header
4665
4666 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4667
4668         * converter.[Ch]:
4669         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4670         getFlavor().
4671
4672 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4673
4674         * text2.C (setFont): rework using PosIterator (no more recursive)
4675         (setCharFont): no more needed
4676         (setLayout): no more selection cursors fiddling (done by redoCursor)
4677         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4678         destroy remaining ones)
4679
4680 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4681
4682         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4683         * lyxtext.h: ditto
4684         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4685         selection cursors
4686         * lyxfunc.C: adjust
4687         * text3.C: adjust + re-allow multi par depth changes
4688         * textcursor.C: simplify a bit
4689
4690 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4691
4692         * src/buffer.C:
4693         * src/lyxlayout.C:
4694         * src/lyxlayout.h:
4695         * src/lyxtext.h:
4696         * src/output_docbook.C:
4697         * src/output_latex.C:
4698         * src/paragraph.C:
4699         * src/paragraph.h:
4700         * src/sgml.C:
4701         * src/sgml.h:
4702         * src/text2.C: Introducing a number of tags parametrizing various
4703         XML formats that we may want to support
4704
4705 2003-11-25  André Pönitz  <poenitz@gmx.net>
4706
4707         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4708
4709         * lyxtext.h (leftMargin/rightMargin): simplify interface
4710
4711         * rowpainter.C:
4712         * text.C:
4713         * text2.C:
4714         * text3.C: adjust
4715
4716 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4717
4718         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4719         master file to any child files. Fixes bug 546.
4720
4721 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4722
4723         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4724
4725 2003-11-24  André Pönitz  <poenitz@gmx.net>
4726
4727         * rowpainter.C: simplification
4728
4729         * text2.C (updateCounters): remove call to redoParagraph on
4730         changed labels as this is far too expensive.
4731
4732 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4733
4734         * converter.C (convert): fix a crash: this function gets
4735         called with buffer == 0 from importer code.
4736
4737 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * text3.C (cursorPrevious): make sure that we do not compare
4740         iterators form different containers.
4741         (cursorNext): ditto
4742
4743         * rowpainter.C (paintSelection): make sure that we do not compare
4744         iterators from different containers.
4745
4746         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4747         iterators from different ParagraphList containers.
4748         [NEXT] ditto
4749
4750         * text2.C (LyXText): change order of initialization slightly
4751         (operator=): new function. copy all variables except cache_par_
4752         (moveUp): make sure that we do not compare iterators from
4753         different ParagraphList constainers.
4754         (moveDown): ditto
4755
4756         * text.C (firstPar): new function
4757         (lastPar): new function
4758         (endPar): new function
4759
4760         * lyxtext.h: move things around and group public functions, public
4761         variables, private functions, private variables
4762
4763 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4764
4765         * factory.C: change call to InsetERT constructor to avoid
4766         additional invocation of method status
4767         * text2.C (toggleInset): remove redundant update() call
4768         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4769         instead of a Bufferview pointer
4770
4771 2003-11-21  André Pönitz  <poenitz@gmx.net>
4772
4773         * rowpainter.C: simplification
4774
4775 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4776
4777         * text3.C (dispatch): make possible to extend a word/row selection
4778         with the mouse
4779
4780 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4781
4782         * lyxtext.h: x0_,y0_ -> xo_,yo_
4783         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4784         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4785         * rowpainter.C (paintRows): paint full paragraphs
4786
4787 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4788
4789         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4790         screen coordinates)
4791
4792 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4793
4794         * lyxtext.h: add x0_, y0_
4795         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4796         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4797
4798 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4799
4800         * text2.C (setCursorIntern): move the x_target update here *
4801         * text3.C: change some bv() to true/false in calls to
4802         cursorUp/Down/Right/Left
4803         * cursor.C: use helper function.
4804
4805 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4806
4807         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4808         * paragraph_funcs.[Ch]: correct comment
4809         * rowpainter.C: do not paint selections away from bv->cursor()
4810         Fix a long standing selection painting bug.
4811         * text3.C: generalize mouse-selection code to LyXTexts other that
4812         top one
4813         * textcursor.C: do not use y coords if we can use par offsets
4814
4815 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4816
4817         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4818         cursor position after e.g. inset insert)
4819
4820 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4821
4822         * lyxfind.C (replace): adjust to locking removal + some
4823         code simplification
4824
4825 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4826
4827         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4828         of the path
4829
4830 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4831
4832         * lyxlayout.[Ch]:
4833         * output_docbook.C: XML sanitation: new layout
4834         parameters InnerTag and CommandDepth
4835
4836 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4837
4838         * BufferView_pimpl.C:
4839         * factory.C:
4840         * text3.C: Fix the insertion and modification of button-style
4841         insets
4842
4843 2003-11-13  André Pönitz  <poenitz@gmx.net>
4844
4845         * InsetList.[Ch]: remove deleteLyXText
4846
4847         * paragraph.[Ch]: cache beginOfBody position
4848
4849         * Bidi.C:
4850         * text.C:
4851         * text2.C:
4852         * text3.C: remove superfluous update() calls
4853
4854         * vspace.C: cleanup
4855
4856 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4857
4858         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4859         * BufferView.C (fitLockedInsetCursor): remove
4860         * cursor.[Ch] (getDim): add
4861         * text.C (getRowNearY): add faster version
4862         * text3.C: remove some update calls
4863
4864 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4865
4866         * LaTeXFeatures.C:
4867         * LyXAction.C:
4868         * MenuBackend.C:
4869         * MenuBackend.h:
4870         * dispatchresult.h:
4871         * factory.C:
4872         * lfuns.h:
4873         * lyxfunc.C:
4874         * lyxtextclass.C:
4875         * lyxtextclass.h:
4876         * text3.C: The Character Style /XML short element patch.
4877
4878 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4879
4880         * text3.C:
4881         * factory.C: Small step to solving 'unable to insert some insets'
4882         problem
4883
4884 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4885
4886         * cursor.[Ch] (updatePos): new function for updating the y
4887         position of the tip inset
4888         * bufferview_funcs.C (put_selection_at):
4889         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4890
4891 2003-11-11  André Pönitz  <poenitz@gmx.net>
4892
4893         * text.C: remove big comment on invalid Paragraph pointers as it is
4894         not valid anymore
4895
4896 2003-11-11  André Pönitz  <poenitz@gmx.net>
4897
4898         * text_funcs.[Ch]: merge with ...
4899
4900         * text.C: ... this
4901
4902         * lyxtext.h:
4903         * text2.C:
4904         * text3.C: adjust
4905
4906         * Makefile.am: remove text_funcs.[Ch]
4907
4908 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4909
4910         * cursor.C (getPos): return absolute cached y coord
4911
4912         * BufferView_pimpl.C (fitCursor): new simplistic code
4913         (workAreaDispatch): add a fitCursor call
4914
4915 2003-11-10  André Pönitz  <poenitz@gmx.net>
4916
4917         * BufferView.[Ch]:
4918         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4919
4920 2003-11-10  André Pönitz  <poenitz@gmx.net>
4921
4922         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4923         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4924         indicate that the cursor needs to leave an inset
4925
4926         * lyxtext.h: remove inset locking
4927
4928         * cursor.[Ch]: re-implement functionality provided by inset locking
4929
4930         * BufferView.[Ch]:
4931         * BufferView_pimpl.[Ch]:
4932         * LyXAction.C:
4933         * bufferview_funcs.[Ch]:
4934         * factory.C:
4935         * funcrequest.[Ch]:
4936         * iterators.C:
4937         * lyx_cb.C:
4938         * lyxfind.C:
4939         * lyxfunc.C:
4940         * text.C:
4941         * text2.C:
4942         * text3.C:
4943         * undo.C: adjust
4944
4945 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4946
4947         * PosIterator.[Ch]: replace the stack with a vector, add inset
4948         accesor
4949         * iterators.[C]: adjust
4950
4951 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4952
4953         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4954         replaced
4955         * paragraph_funcs.C (readParToken): put the correct id in the
4956         error item, not the id of the top paragraph
4957
4958 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4959
4960         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4961         * bufferview_funcs.C (put_selection_at): use the above
4962
4963 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4964
4965         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4966
4967 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4968
4969         * output_linuxdoc.h:
4970         * output_plaintext.h:
4971         * output.h:
4972         * output_docbook.h: add #include statements
4973
4974 2003-11-05  José Matos  <jamatos@lyx.org>
4975
4976         * output_docbook.[Ch]:
4977         * output_latex.[Ch]:
4978         * output_linuxdoc.[Ch]:
4979         * output_plaintext.[Ch]: New files for output formats.
4980         * output.[Ch]: New file for helper functions.
4981
4982         * buffer.[Ch]:
4983         * paragraph_funcs.[Ch]: output functions moved to new files.
4984
4985         * outputparams.h: rename of latexrunparams.h
4986
4987         * LaTeX.[Ch]:
4988         * buffer.[Ch]:
4989         * bufferlist.[Ch]:
4990         * converter.[Ch]:
4991         * exporter.C:
4992         * paragraph.[Ch]:
4993         * paragraph_funcs.[Ch]:
4994         * paragraph_pimpl.[Ch]:
4995         * tabular.[Ch]: rename ascii to plaintext
4996         and LatexRunParams to OutputParams.
4997
4998 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4999
5000         * iterators.[Ch] (text): require bv argument
5001         * undo.C (recordUndo):
5002         * lyxfunc.C (dispatch):
5003         * bufferview_funcs.C (put_selection_at): adjust
5004
5005 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5006
5007         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5008
5009 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5010
5011         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5012         nestings
5013
5014 2003-11-04  André Pönitz  <poenitz@gmx.net>
5015
5016         * cursor.[Ch]: restructure
5017
5018         * BufferView.[Ch]:
5019         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5020
5021         * iterators.[Ch] (asCursor): remove
5022
5023         * lfuns.h: remove LFUN_INSET_EDIT
5024
5025         * lyxfunc.C:
5026         * tabular.C:
5027         * text.C:
5028         * text2.C:
5029         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5030
5031 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5032
5033         * lyxfind.[Ch]: complete overhaul
5034         * BufferView_pimpl.C:
5035         * lyxfunc.C: adjust
5036         * paragraph.[Ch] (insert): add
5037
5038 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5039
5040         * BufferView.[Ch]:
5041         * lyxtext.h:
5042         * text.C: remove dead spellcheck code
5043
5044 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5045
5046         * dispatchresult.h: add a val setter
5047
5048         * cursor.C (dispatch): use a tempvar for data_[i]
5049
5050 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5051
5052         * PosIterator.[Ch]: compile fix
5053
5054 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5055
5056         * text.C (cursorPar): deactivate the cursor cache
5057
5058 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5059
5060         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5061
5062 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * text3.C (dispatch): adjust for new DisptchResult semantics.
5065
5066         * lyxfunc.C (dispatch): handle update when return from
5067         Cursor::dispatch, adjust for new DispatchResult semantics.
5068
5069         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5070         DispatchResult(true) mean to not update. Add class functions for
5071         setting dispatched and update, as well as reading.
5072
5073         * cursor.C (dispatch): don't handle update here
5074
5075 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5076
5077         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5078         * trans_mgr.C: adjust
5079
5080         * paragraph_funcs.C (readParToken): exception safety
5081
5082         * lyxvc.h: store the vcs pointer in a scoped_ptr
5083         * lyxvc.C: adjust
5084
5085         * lyxsocket.C (serverCallback): exception safety
5086
5087         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5088
5089         * ispell.C (clone): make it return a auto_ptr
5090
5091         * factory.C (createInset): exception safety
5092         (readInset): exception safety
5093
5094         * bufferlist.C (newBuffer): exception safety
5095
5096         * Thesaurus.C (Thesaurus): use initialization for aik_
5097
5098         * MenuBackend.C (expandToc): exception safety.
5099
5100 2003-11-03  André Pönitz  <poenitz@gmx.net>
5101
5102         * buffer.C:
5103         * buffer.h:
5104         * bufferview_funcs.C: remove getInsetFromId()
5105
5106         * lyxcursor.[Ch]:
5107         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5108
5109         * lyxfunc.C:
5110         * text2.C:
5111         * text3.C: adjust
5112
5113 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5114
5115         * PosIterator.C (distance, advance): new
5116         * bufferview_funcs.[Ch] (put_selection_at): new
5117         * iterators.[Ch] (lockPath): new
5118
5119 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5120
5121         * iterators.[Ch] (asPosIterator): added
5122         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5123         * PosIterator.[Ch]: added
5124
5125 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5126
5127         * text3.C:
5128         * lyxfunc.C:
5129         * cursor.C (dispatch):
5130         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5131
5132         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5133         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5134         contructor, add a class function dispatched. Remove operator>=
5135
5136 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5137
5138         * debug.C: only use the default constructor for debugstream
5139         (lyxerr) here.
5140
5141         * main.C (main): include debug.h and setup the lyxerr streambuf
5142         here.
5143
5144 2003-10-31  José Matos  <jamatos@lyx.org>
5145
5146         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5147
5148         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5149         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5150         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5151         * paragraph_pimpl.C (simpleTeXSpecialC):
5152         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5153         add LatexRunParams argument.
5154
5155         * exporter.C (Export): change call accordingly.
5156
5157         * latexrunparams.h: add new member to take care of the other backends.
5158 2003-10-30  José Matos  <jamatos@lyx.org>
5159
5160         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5161         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5162         factorise code for paragraph output.
5163         * buffer.[Ch]:
5164         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5165         move functions.
5166
5167 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5168
5169         * text3.C (dispatch):
5170         * lyxfunc.C (dispatch):
5171         * cursor.C (dispatch):
5172         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5173
5174         * dispatchresult.h: make the dispatch_result_t ctor explicit
5175
5176 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5177
5178         * sgml.[Ch]:
5179         * buffer.C: small refactoring of docbook stuff
5180
5181 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5184         meaning.
5185
5186 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5187
5188         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5189         operator dispatch_result_t, and operators for == != and >=
5190
5191         * cursor.C (dispatch): adjust for operator dispatch_result_t
5192         removal. comment out call to update
5193
5194         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5195
5196 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5197
5198         * text3.C:
5199         * text2.C:
5200         * text.C:
5201         * lyxtext.h:
5202         * lyxfunc.C:
5203         * cursor.C:
5204         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5205         (dispatch):
5206
5207         * dispatchresult.h: new file, DispatchResult broken out of
5208         insets/insetbase.h
5209
5210         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5211
5212 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5213
5214         * text.C (rowBreakPoint): put a hack inside #if 0
5215
5216 2003-10-28  André Pönitz  <poenitz@gmx.net>
5217
5218         * lyxtext.h:
5219         * metricsinfo.C:
5220         * paragraph_funcs.C:
5221         * rowpainter.C:
5222         * text.C:
5223         * text2.C: general cleanup (lots of small stuff)
5224
5225 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5226
5227         * text2.C (cursorEnd): simple fix to the "end key goes to one
5228         before the end on last row" bug
5229
5230 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5231
5232         * text.C (backspace): fix the "zombie characters"
5233
5234 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5235
5236         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5237
5238 2003-10-27  André Pönitz  <poenitz@gmx.net>
5239
5240         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5241
5242         * factory.C: handle new InsetPagebreak, InsetLine
5243
5244         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5245         and move handling into new InsetPagebreak, InsetLine
5246
5247         * BufferView_pimpl.C:
5248         * LyXAction.C:
5249         * ParagraphParameters.C:
5250         * ParameterStruct.h:
5251         * lyxfunc.C:
5252         * lyxtext.h:
5253         * paragraph.C:
5254         * paragraph.h:
5255         * paragraph_funcs.C:
5256         * paragraph_pimpl.C:
5257         * rowpainter.C:
5258         * text.C:
5259         * text2.C:
5260         * text3.C: adjust
5261
5262 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5263
5264         * text.C:
5265         * lyxrow_funcs.[Ch]:
5266         * Bidi.C:
5267         * paragraph.C:
5268         * lyxtext.h:
5269         * rowpainter.C:
5270         * text2.C:
5271         * text3.C: remove lastPos uses in favour of Row::endpos
5272
5273 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5274
5275         * undo.C (performUndoOrRedo): fix two crashes by setting a
5276         cursor by hand and reordering some calls. Use bv->lockInset instead
5277         of inset->edit because the latter loses cursor information
5278
5279 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5280
5281         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5282         by Martin
5283         (rowBreakPoint): fix width. change point to point + 1.
5284         Add a missing check.
5285
5286 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5287
5288         * MenuBackend.C:
5289         * lyxfunc.C: fix (at least partly) the problems
5290         with the Nav menu and headers inside branch insets
5291         reported by Kayvan
5292
5293 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5294
5295         * paragraph.C (getChar): add strong asserts
5296
5297         * lyxrow_funcs.C (lastPos): remove hideous hack
5298
5299         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5300         (fill): adjust to that (avoid an infinite loop)
5301
5302 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5303
5304         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5305
5306 2003-10-23  André Pönitz  <poenitz@gmx.net>
5307
5308         * RowList_fwd.h: change list<> to vector<> to gain speed
5309         after suggestion from Alfredo
5310
5311 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5312
5313         * lyxtext.h: move the bidi stuff from here...
5314         * text.C: and here
5315         * text2.C: and here
5316         * Bidi.[Ch]: ... to here
5317
5318 2003-10-23  André Pönitz  <poenitz@gmx.net>
5319
5320         * lyxtext.h:
5321         * text.C (isLastRow, isFirstRow): new functions
5322
5323         * paragraph.h: new width cache member
5324
5325         * rowpainter.C: replace RowList::iterator with Row & where possible
5326
5327         * lyxfunc.C: replace several view()->text with a single call
5328
5329         * toc.C: fix 'unused' warning
5330
5331 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5332
5333         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5334         when woring with stream::pos_type
5335         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5336
5337 2003-10-22  André Pönitz  <poenitz@gmx.net>
5338
5339         * lyxtext.h:
5340         * text.C: use Row & instead of RowList::iterator
5341
5342         * lyxrow.h: rename end() to endpos()
5343
5344         * rowpainter.C:
5345         * text.C:
5346         * text2.C: adjust
5347
5348 2003-10-22  Angus Leeming  <leeming@lyx.org>
5349
5350         * buffer.[Ch] (fully_loaded): new member function, returning true
5351         only when the file has been loaded fully.
5352         Used to prevent the premature generation of previews and by the
5353         citation inset to prevent computation of the natbib-style label.
5354
5355         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5356         templates are all set up.
5357
5358         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5359
5360 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5361
5362         * text.C: fixed an "oops" in the "is a bit silly"
5363         bug fix
5364
5365 2003-10-21  André Pönitz  <poenitz@gmx.net>
5366
5367         * FuncStatus.[Ch]: small stuff, whitespace
5368
5369         * lyxfont.[Ch]: operator<<() for debug reasons
5370
5371         * lyxfunc.C:
5372         * lyxrow_funcs.C:
5373         * lyxtext.h: whitespace, spelling
5374
5375         * paragraph.C: naming of variables
5376
5377         * text.C:
5378         * text2.C: small stuff
5379
5380
5381 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5382
5383         * text.C: (1) finish off the inset display() work;
5384         (2) fix the "is a bit silly" bug (accessing char
5385         past end of par).
5386
5387 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5388
5389         * text.C: re-introduce display() for insets, fixing the
5390         various bugs (stretch of line above, math inset
5391         positioning, ...)
5392
5393 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5394
5395         * text.C (rightMargin): remove spurious semicolon
5396
5397         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5398         1415)
5399
5400 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5401
5402         * text3.C: fix one crash due to wrong cursor def
5403
5404 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5405
5406         * vc-backend.C (scanMaster): make the regex static
5407
5408         * LaTeX.C (scanAuxFile): make the regexs static
5409
5410         * text3.C (doInsertInset, dispatch, dispatch):
5411         * text2.C (cursorUp, cursorDown):
5412         * text.C (selectNextWordToSpellcheck):
5413         * BufferView_pimpl.C (dispatch):
5414         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5415
5416 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5417
5418         * lyxsocket.C: include <cerrno>
5419
5420 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * lyxfunc.C (dispatch): remove textcache stuff
5423
5424         * bufferlist.C (release): remove textcache stuff
5425         (closeAll): ditto
5426
5427         * TextCache.C: delete file
5428         * TextCache.h: delete file
5429
5430         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5431
5432         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5433         delete of the bv_->text.
5434         (resizeCurrentBuffer): remove texcache stuff
5435         (workAreaResize): ditto
5436
5437 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5438
5439         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5440         action.
5441
5442 2003-10-16  André Pönitz  <poenitz@gmx.net>
5443
5444         * lyxrow.[Ch]:
5445         * paragraph.h:
5446         * rowpainter.C:
5447         * text.C:
5448         * text2.C:
5449         * text3.C: speed up by storing y positions per paragraph plus per-row
5450         offset instead of having a 'full' y position in the row.
5451
5452 2003-10-15  André Pönitz  <poenitz@gmx.net>
5453
5454         * iterators.[Ch]:
5455         * iterators.[Ch]:
5456         * undo.[Ch]: make undo aware of inner insets
5457
5458 2003-10-14  Angus Leeming  <leeming@lyx.org>
5459
5460         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5461         static member functions LyX::ref() and LyX::cref.
5462         (lastfiles): new accessor functions for the new lastfiles_ member var.
5463         (addLyXView, views_): add a new LyXView to the list of views_.
5464         (updateInset): loop over all LyXViews to call their own updateInset
5465         member function, returning a pointer to the Buffer owning the inset.
5466
5467         * BufferView_pimpl.C (loadLyXFile):
5468         * MenuBackend.C (expandLastfiles):
5469         * bufferlist.C (MenuWrite, QuitLyX):
5470         lastfiles is no longer a global variable.
5471         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5472
5473         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5474         static function. Access through LyX::cref().emergencyCleanup().
5475
5476 2003-10-14  André Pönitz  <poenitz@gmx.net>
5477
5478         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5479
5480         * undo.[Ch]: restoring part of 'undo in insets'
5481
5482         * Makefile.am:
5483         * undo_funcs.[Ch]: merge with undo.[Ch]
5484
5485         * tabular.C: small cleansing stuff
5486
5487 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5488
5489         * paragraph_funcs.C (readParToken): report unknown insets as error
5490         boxes. Use the outer paragraph as location (also for unknown
5491         tokens).
5492
5493         * factory.C (readInset): do not abort on reading an unknown inset.
5494         Eat it and return 0.
5495
5496 2003-10-13  Angus Leeming  <leeming@lyx.org>
5497
5498         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5499
5500         * lyxrc.C: displayTranslator is now a function,
5501         declared in GraphicsTypes.h.
5502
5503 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5504
5505         * format.C: new placeholder $$a to pass the socket address.
5506
5507         * bufferlist.[Ch]: new function getBufferFromTmp.
5508
5509         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5510           files in the temporary dir.
5511
5512 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5513
5514         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5515
5516         * Makefile.am: add lyxsocket.[Ch].
5517
5518         * lyx_main.C (error_handler): handle SIGPIPE.
5519
5520 2003-10-13  André Pönitz  <poenitz@gmx.net>
5521
5522         * BufferView_pimpl.C:
5523         * lyxtext.h:
5524         * text.C:
5525         * text2.C:
5526         * text3.C:
5527         * undo_funcs.[Ch]: use paroffset_type instead of
5528           ParagraphList::iterators to prevent multiple conversion
5529           (and get a more robust interface)
5530
5531 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5532
5533         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5534         * lyxtext.h: ditto
5535         * text3.C (dispatch): ditto
5536
5537 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5540         move the onlyfile, use onlyfile instead of foundfile in a couple
5541         of places.
5542
5543         * DepTable.C (update): flush the error stream a bit more
5544
5545 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5546
5547         * lyxserver.C (callback): adjust
5548
5549         * lyxfunc.C (getStatus): add a missing brace in commented code
5550         (ensureBufferClean): reindent
5551         (dispatch): delete version taking a string
5552
5553 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5554
5555         * LaTeX.C (deplog): move found file handlig from here...
5556         (handleFoundFile): .. to new function here.
5557         (deplog): make sure to discover several files mentioned on the
5558         same log line.
5559
5560 2003-10-10  André Pönitz  <poenitz@gmx.net>
5561
5562         * lyxfunc.C:
5563         * lyxtext.h:
5564         * tabular.C:
5565         * text.C:
5566         * text2.C:
5567         * text3.C: fix some of the tabular crashes
5568
5569 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5570
5571         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5572
5573         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5574
5575 2003-10-09  André Pönitz  <poenitz@gmx.net>
5576
5577         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5578
5579         * BufferView.C:
5580         * BufferView_pimpl.C:
5581         * bufferview_funcs.C:
5582         * lyx_cb.C:
5583         * lyxcursor.C:
5584         * lyxfind.C:
5585         * lyxfunc.C:
5586         * lyxtext.h:
5587         * text.C:
5588         * text2.C:
5589         * text3.C:
5590         * text_funcs.[Ch]:
5591         * textcursor.[Ch]:
5592         * undo_funcs.C: adjust
5593
5594 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5595
5596         * text2.C (incrementItemDepth): new function, use a backtracking
5597         algorithm to discover the correct item depth.
5598         (resetEnumCounterIfNeeded): new function, use a backtracking
5599         algorithm to discover if counter reset is needed.
5600         (setCounter): use them. Simplify a bit. Add different labels for
5601         different item depths for itemize.
5602
5603         * paragraph.C (Paragraph): remove initialization of enumdepth
5604         (operator=): ditto
5605
5606         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5607         enumerate and itemize. Change the type of itemdepth to signed char.
5608
5609 2003-10-08  André Pönitz  <poenitz@gmx.net>
5610
5611         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5612           thing assignable.
5613         * text.C:
5614         * text2.C: adjust
5615
5616         * tabular.[Ch]: fix crash after 'row-insert'
5617
5618 2003-10-08  Angus Leeming  <leeming@lyx.org>
5619
5620         Fix doxygen warnings.
5621
5622         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5623         Remove CutAndPaste:: prefix from header file declaration.
5624
5625         * LColor.h (fill): remove LColor:: prefix from declaration.
5626
5627         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5628         use lyx::depth_type rather than Paragraph::depth_type so that
5629         header file and .C file match.
5630
5631         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5632
5633         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5634         * aspell.C: \file aspell_local.C -> \file aspell.C
5635         * gettext.C: \file gettext.C -> \file src/gettext.C
5636         * gettext.h: \file gettext.h -> \file src/gettext.h
5637         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5638         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5639         * text.C: \file text.C -> \file src/text.C
5640
5641         * toc.C: move comment so that doxygen is not confused.
5642
5643 2003-10-07  Angus Leeming  <leeming@lyx.org>
5644
5645         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5646
5647 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5648
5649         * aspell.C:
5650         * aspell_local.h: add forgotten std::string's.
5651
5652 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5653
5654         * LaTeXFeatures.C:
5655         * LyXAction.C:
5656         * factory.C:
5657         * lfuns.h:
5658         * lyxfunc.C:
5659         * text3.C: The Box patch. Fancybox support, minipage, parbox
5660
5661 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5662
5663         * CutAndPaste.h:
5664         * DepTable.h:
5665         * FloatList.h:
5666         * LaTeXFeatures.h:
5667         * ParagraphParameters.h:
5668         * TextCache.h:
5669         * Thesaurus.h:
5670         * bufferlist.h:
5671         * exporter.h:
5672         * importer.h:
5673         * lastfiles.h:
5674         * lyxfind.h:
5675         * lyxfont.h:
5676         * lyxlex.h:
5677         * lyxtextclasslist.h:
5678         * messages.h:
5679         * paragraph.h:
5680         * paragraph_pimpl.C:
5681         * textcursor.h: add <string> and other small fixes to make Lars'
5682         std::string patch compile with STLport.
5683
5684 2003-10-06  Angus Leeming  <leeming@lyx.org>
5685
5686         * LColor.h: Add missing #include <string>.
5687
5688 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5689
5690         * All most all file in all subdirs: Make <string> be the prefered
5691         way of getting to std::string, add using declarations.
5692
5693 2003-10-06  André Pönitz  <poenitz@gmx.net>
5694
5695         * metricsinfo.C: initialize LyXFont before changing attribute.
5696         (fixes the 'math in \emph is upright' bug)
5697
5698 2003-10-06  André Pönitz  <poenitz@gmx.net>
5699
5700         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5701
5702 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5703
5704         * graph.C:
5705         * paragraph_pimpl.C: Small fixes to build using STLport
5706
5707 2003-10-02  André Pönitz  <poenitz@gmx.net>
5708
5709         * lyxfunc.C:
5710         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5711
5712 2003-10-01  André Pönitz  <poenitz@gmx.net>
5713
5714         * factory.C: assert early
5715
5716 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5717
5718         * lyx_main.C: remove the global debug object
5719
5720         * debug.h: adjust for new debugstream
5721
5722         * debug.C: adjust for new debugstream and keep the global debug
5723         object here.
5724
5725 2003-09-22  Angus Leeming  <leeming@lyx.org>
5726
5727         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5728         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5729         an incomplete class LyXFont.
5730
5731 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5732
5733         * factory.C: bug fix in branches
5734
5735 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5736
5737         * lyxfunc.C (processKeySym): adjust
5738         (dispatch): adjust
5739         (dispatch): change arg name from ev to func, adjust
5740         (sendDispatchMessage): ditto
5741
5742         * lyx_main.C (defaultKeyBindings): adjust keybindings
5743         (deadKeyBindings): ditto
5744
5745         * kbsequence.C (addkey): return a FuncRequest
5746
5747         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5748
5749         * kbmap.C (bind): take a FuncRequest as arg, adjust
5750         (read): adjust
5751         (lookup): adjust
5752         (defkey): change to take a FuncRequest as arg, adjust
5753         (findbinding): take a FuncRequest as arg, adjust.
5754
5755         * funcrequest.h (operator=): added
5756
5757         * funcrequest.C (FuncRequest): default kb_action changed from
5758         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5759
5760         * buffer.C (dispatch): simplify
5761         (dispatch): adjust to take a FuncRequest as arg, adjust
5762
5763         * boost.C (assertion_failed): change assertion message slightly
5764
5765         * ToolbarBackend.C (read): simplify
5766
5767         * MenuBackend.C (binding): adjust call to findbinding, add a
5768         message if no binding is found.
5769         (read): simplify
5770         (expandToc): correct by adding a empty FuncRequest
5771
5772         * LyXAction.C: include <boost/assert.hpp>
5773         (isPseudoAction): delete function
5774         (LookupFunc): change name to...
5775         (lookupFunc): this. change return type to FuncRequest.
5776         (getActionName): take kb_action as arg, simplify
5777         (funcHasFlag): add an assert, simplify.
5778
5779 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5780
5781         * toc.C (action): return a FuncRequest, simplify
5782
5783         * lyxfunc.C (processKeySym): adjust
5784         (getStatus): delete version that takes an int.
5785         (getStatus): adjust
5786         (dispatch): delete version that takes action as int
5787         (dispatch): adjust
5788         (sendDispatchMessage): simplify and adjust
5789
5790         * funcrequest.C (getArg): take unsigned int as arg
5791
5792         * ToolbarBackend.C (read): adjust
5793         (add): delete version that takes func as a string.
5794         (getIton): take a FuncRequest as arg
5795
5796         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5797         action.
5798
5799         * MenuBackend.C (MenuItem): add a new construct that only takes a
5800         Kind, simplify the constructor use for submenus.
5801         (add): adjust
5802         (expandLastfiles): adjust
5803         (expandDocuments): adjust
5804         (expandFormats): adjust
5805         (expandFloatListInsert): adjust
5806         (expandFloatInsert): adjust
5807         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5808
5809         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5810         Remove class variables lyx_pseudo_map and lyx_arg_map
5811
5812         * LyXAction.C (searchActionArg): delete function
5813         (getPseudoAction): delete function
5814         (retrieveActionArg): delete function
5815         (LookupFunc): make it return kb_action, simplify.
5816         (getActionName): simplify
5817
5818         * factory.C (createInset): fix new bug
5819
5820 2003-09-19  Angus Leeming  <leeming@lyx.org>
5821
5822         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5823         masterFilename_ parameter in the include inset.
5824
5825         * factory.C (createInset): changes due to the changes to InsetInclude.
5826
5827 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5828
5829         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5830
5831 2003-09-18  Angus Leeming  <leeming@lyx.org>
5832
5833         * buffer.C:
5834         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5835         Inset::fillWithBibKeys.
5836         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5837
5838 2003-09-18  Angus Leeming  <leeming@lyx.org>
5839
5840         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5841         variables.
5842         (ctor): pass and store a 'Buffer const &'
5843         (buffer): new member function.
5844
5845         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5846         '*this' to the LaTeXFeatures ctor.
5847
5848 2003-09-18  Angus Leeming  <leeming@lyx.org>
5849
5850         * LColor.h:
5851         * lyxfont.C:
5852         * lyxfont.h:
5853         * lyxtext.h:
5854         * text.C: rename EnumLColor as LColor_color.
5855
5856 2003-09-18  Angus Leeming  <leeming@lyx.org>
5857
5858         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5859         remove #include "insets/insetbase.h" from cursor.h.
5860
5861 2003-09-18  Angus Leeming  <leeming@lyx.org>
5862
5863         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5864         InsetOld_code to remove #include "inset.h".
5865
5866         * iterators.C: add #include "insets/inset.h"
5867
5868 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5869
5870         * BufferView.C: remove more locking stuff that apparently doesn't
5871         do anything sensible.
5872
5873 2003-09-16  André Pönitz  <poenitz@gmx.net>
5874
5875         * paragraph.[Ch]:
5876         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5877           performance boost.
5878
5879 2003-09-16  Angus Leeming  <leeming@lyx.org>
5880
5881         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5882
5883         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5884         arg/return type.
5885
5886         * paragraph.h: remove #include "lyxfont.h". Forward declare
5887         LyXFont_size.
5888
5889 2003-09-16  Angus Leeming  <leeming@lyx.org>
5890
5891         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5892         of support/textutils.h.
5893         (isWord): move the contents of support/textutils.h's IsWordChar here.
5894
5895         * buffer.C:
5896         * lyxfind.C:
5897         * rowpainter.C:
5898         * text.C:
5899         * text2.C: add #include "paragraph.h".
5900
5901         * rowpainter.C:
5902         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5903
5904 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5905
5906         * main.C:
5907         * lyx_main.C:
5908         * lyx_cb.C:
5909         * buffer.C:
5910         * LaTeX.C: use namespace alias for lyx::support::os
5911
5912 2003-09-16  Angus Leeming  <leeming@lyx.org>
5913
5914         * bufferparams.C:
5915         * bufferview_funcs.C:
5916         * factory.C:
5917         * lyxfunc.C:
5918         * paragraph_pimpl.C:
5919         * rowpainter.C:
5920         * text.C: add #include "LColor.h".
5921
5922 2003-09-16  Angus Leeming  <leeming@lyx.org>
5923
5924         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5925         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5926         return LyXFont &.
5927         Store the FontBits::color variable as an int rather than as an
5928         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5929         file.
5930
5931         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5932         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5933         string calls together.
5934
5935         * lyxrc.C: add #include "LColor.h".
5936
5937 2003-09-15  Angus Leeming  <leeming@lyx.org>
5938
5939         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5940         a cow_ptr.
5941
5942 2003-09-15  Angus Leeming  <leeming@lyx.org>
5943
5944         * LColor.h: add an EnumLColor wrapper for LColor::color.
5945
5946         * lyxfont.[Ch] (color, setColor, realColor):
5947         * lyxtext.h, text.C (backgroundColor):
5948         pass EnumLColor args to/from the functions, rather than LColor::color
5949         ones.
5950
5951         * lyxfont.h:
5952         * lyxtext.h: forward declare EnumLColor.
5953
5954         * lyx_main.C: add #include "LColor.h".
5955
5956 2003-09-15  Angus Leeming  <leeming@lyx.org>
5957
5958         * .cvsignore: add lyx-gtk.
5959
5960 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5961
5962         * Chktex.C
5963         * LaTeX.C
5964         * LaTeXFeatures.C
5965         * ParagraphParameters.C
5966         * Spacing.C
5967         * buffer.C
5968         * bufferparams.C
5969         * bufferview_funcs.C
5970         * chset.C
5971         * counters.C
5972         * funcrequest.C
5973         * lyxfont.C
5974         * lyxgluelength.C
5975         * lyxlength.C
5976         * paragraph.C
5977         * paragraph_funcs.C
5978         * text3.C
5979         * vc-backend.C: remove usage of STRCONV
5980
5981 2003-09-15  Angus Leeming  <leeming@lyx.org>
5982
5983         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5984         explicitly define the color passed to the painter.
5985
5986 2003-09-15  Angus Leeming  <leeming@lyx.org>
5987
5988         * bufferparams.C (BufferParams): reorder member initializers to avoid
5989         compiler warning.
5990
5991 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5992
5993         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5994         * text.C (updateRowPositions): remove an unusual nop
5995
5996 2003-09-12  André Pönitz  <poenitz@gmx.net>
5997
5998         * BufferView_pimpl.C:
5999         * Bullet.C:
6000         * layout.h:
6001         * lyxfunc.C:
6002         * lyxlayout.[Ch]:
6003         * lyxtextclass.C:
6004         * rowpainter.C:
6005         * text.C:
6006         * text2.C:
6007         * Counters.[Ch]: finish the 'automatic counters' job
6008
6009 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6010
6011         * aspell.C: include <boost/assert.cpp> (compile fix)
6012
6013 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6014
6015         * boost.C (assertion_failed): use lyx::support::abort instead of
6016         assert.
6017
6018 2003-09-10  Angus Leeming  <leeming@lyx.org>
6019
6020         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6021         with their _fwd progeny.
6022
6023 2003-09-09  Angus Leeming  <leeming@lyx.org>
6024
6025         134 files throughtout the source tree: replace 'using namespace abc;'
6026         directives with the appropriate 'using abc::xyz;' declarations.
6027
6028 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6029
6030         * boost.C (emergencyCleanup): moved here from LAssert.c
6031         (assertion_failed): new function, called by BOOST_ASSERT
6032
6033         * several files: change Assert to BOOST_ASSERT
6034
6035 2003-09-09  Angus Leeming  <leeming@lyx.org>
6036
6037         * buffer.[Ch]: Add an Impl class and move Buffer's member
6038         variables into it. As a result move several header files out of
6039         buffer.h.
6040
6041         Add header files to lots of .C files all over the tree as a result.
6042
6043 2003-09-09  Angus Leeming  <leeming@lyx.org>
6044
6045         * buffer.[Ch]: make Buffer's member variables private. Add
6046         accessor functions.
6047
6048         Lots of changes all over the tree as a result.
6049
6050 2003-09-08  Angus Leeming  <leeming@lyx.org>
6051
6052         * graph.C: #include <config.h>.
6053
6054 2003-09-08  Angus Leeming  <leeming@lyx.org>
6055
6056         * BranchList.C:
6057         * BufferView.C:
6058         * BufferView_pimpl.C:
6059         * CutAndPaste.C:
6060         * DepTable.C:
6061         * LaTeX.C:
6062         * LaTeXFeatures.C:
6063         * LyXAction.C:
6064         * MenuBackend.C:
6065         * TextCache.C:
6066         * aspell.C:
6067         * buffer.C:
6068         * bufferlist.C:
6069         * changes.C:
6070         * chset.C:
6071         * converter.C:
6072         * counters.C:
6073         * debug.C:
6074         * graph.C:
6075         * ispell.C:
6076         * lyx_cb.C:
6077         * lyxfind.C:
6078         * lyxfunc.C:
6079         * lyxlex_pimpl.C:
6080         * lyxrc.C:
6081         * lyxrow.C:
6082         * paragraph.C:
6083         * rowpainter.C:
6084         * texrow.C:
6085         * text.C:
6086         * text2.C:
6087         * toc.C: remove redundant using directives.
6088
6089 2003-09-07  Angus Leeming  <leeming@lyx.org>
6090
6091         * LaTeXFeatures.h: remove #include "support/types.h".
6092         * ToolbarBackend.h: remove #include <algorithm>.
6093         * changes.h: remove #include <ctime>.
6094         * debug.h: remove #include <iosfwd>.
6095         * graph.h: remove #include "support/std_string.h".
6096         * lyx_main.h: remove #include <csignal>.
6097         * lyxlex_pimpl.h: remove #include <fstream>.
6098         * sgml.h: remove #include <algorithm>, <utility>.
6099         * toc.h: remove #include "support/std_ostream.h".
6100         Add #include <iosfwd>.
6101
6102 2003-09-07  Angus Leeming  <leeming@lyx.org>
6103
6104         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6105
6106         * converter.h: forward declare LatexRunParams.
6107         * encoding.h: remove #include "lyxrc.h".
6108         * lyxtext.h: remove #include "LColor.h".
6109         * lyxtextclass.h: remove #include "support/types.h".
6110         * trans.h: remove #include "tex-accent.h".
6111         * trans_mgr.h: remove #include "tex-accent.h".
6112         * insets/inset.h: remove #include "support/types.h", <vector>.
6113         * insets/insetcollapsable.h: remove #include "LColor.h".
6114         * insets/insetinclude.h: remove #include "dimension.h".
6115         * insets/insetlatexaccent.h: remove #include "dimension.h".
6116         * insets/insetoptarg.h:: remove #include "insettext.h".
6117         * insets/insettext.h: remove #include "dimension.h",
6118         <boost/shared_ptr.hpp>
6119
6120         * insets/renderers.h: add #include "dimension.h".
6121         * insets/updatableinset.h: add #include "support/types.h".
6122
6123         * many .C files: Associated changes.
6124
6125 2003-09-06  Angus Leeming  <leeming@lyx.org>
6126
6127         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6128         one, inside testInvariant.
6129
6130         * PrinterParams.C: new file.
6131         * PrinterParams.[Ch]: move the function bodies out of line.
6132
6133 2003-09-06  Angus Leeming  <leeming@lyx.org>
6134
6135         * ParagraphParameters.h: forward declare ParameterStruct rather than
6136         including its header file.
6137         (depth): moved out-of-line.
6138
6139 2003-09-06  Angus Leeming  <leeming@lyx.org>
6140
6141         * BufferView_pimpl.h:
6142         * kbmap.h:
6143         * kbsequence.h:
6144         * lyxfunc.h: forward declare LyXKeySym rather than
6145         #include "frontends/LyXKeySym.h".
6146
6147         * BufferView_pimpl.C:
6148         * kbmap.C:
6149         * kbsequence.C:
6150         * lyxfunc.C: associated changes.
6151
6152 2003-09-06  Angus Leeming  <leeming@lyx.org>
6153
6154         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6155         As a result, can remove the #include "insets/inset.h" from BufferView.h
6156
6157 2003-09-06  Angus Leeming  <leeming@lyx.org>
6158
6159         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6160         As a result, can remove the #include "insets/inset.h" from BufferView.h
6161
6162 2003-09-06  Angus Leeming  <leeming@lyx.org>
6163
6164         * buffer_funcs.C:
6165         * buffer.h:
6166         * bufferlist.C:
6167         * BufferView.C:
6168         * bufferview_funcs.C:
6169         * BufferView_pimpl.C:
6170         * CutAndPaste.C:
6171         * lyx_cb.C:
6172         * lyxfunc.C:
6173         * paragraph.h:
6174         * ParagraphParameters.C:
6175         * tabular.C:
6176         * text3.C:
6177         * toc.C:
6178         * undo_funcs.C:
6179         * frontends/controllers/ControlDocument.C:
6180         * insets/insetcaption.C: rearrange the #includes into some sort of
6181         coherent order.
6182
6183         * buffer.h: remove #includes ErrorList.h, undo.h
6184
6185 2003-09-06  Angus Leeming  <leeming@lyx.org>
6186
6187         * support/types.h: add a 'depth_type' typedef, used to store the
6188         nesting depth of a paragraph.
6189
6190         * paragraph.h:
6191         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6192         defining explicitly.
6193
6194         * buffer.h:
6195         * paragraph_funcs.h:
6196         * ParagraphParameters.h:
6197         * sgml.h: use lyx::depth_type rather than Paragraph or
6198         ParameterStruct's depth_type.
6199
6200         * buffer.h
6201         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6202
6203         * BufferView.C:
6204         * BufferView_pimpl.C:
6205         * CutAndPaste.C:
6206         * ParagraphParameters.C:
6207         * buffer_funcs.C:
6208         * bufferlist.C:
6209         * bufferview_funcs.C:
6210         * lyx_cb.C:
6211         * lyxfunc.C:
6212         * tabular.C:
6213         * text3.C:
6214         * toc.C:
6215         * undo_funcs.C:
6216         * frontends/LyXView.C:
6217         * frontends/controllers/ControlDocument.C:
6218         * frontends/controllers/ControlErrorList.C:
6219         * insets/insetbibitem.C:
6220         * insets/insetbranch.C:
6221         * insets/insetcaption.C:
6222         * insets/insetcollapsable.C:
6223         * insets/insetenv.C:
6224         * insets/insetert.C:
6225         * insets/insetfloat.C:
6226         * insets/insetfoot.C:
6227         * insets/insetfootlike.C:
6228         * insets/insetnewline.C:
6229         * insets/insetquotes.C:
6230         * insets/insettabular.C:
6231         * insets/insettext.C:
6232         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6233
6234         * frontends/controllers/ControlChanges.C: #include "changes.h".
6235
6236 2003-09-06  Angus Leeming  <leeming@lyx.org>
6237
6238         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6239         than #including paragraph.h.
6240
6241         * ParagraphList.h:
6242         * RowList.h: deleted. Superfluous.
6243
6244         * CutAndPaste.h:
6245         * iterators.h:
6246         * lyxcursor.h:
6247         * lyxtext.h:
6248         * text_funcs.h:
6249         * undo.h:
6250         * undo_funcs.h:
6251         * insets/inset.h:
6252         * insets/insettext.h: use ParagraphList_fwd.h rather than
6253         ParagraphList.h.
6254
6255         * paragraph.h: don't forward declare ParagraphList.
6256
6257         * buffer.h:
6258         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6259         rather than ParagraphList.h. paragraph.h is still needed for the
6260         Paragraph::depth_type parameters.
6261
6262         * textcursor.h: enable it to compile stand-alone in light of the
6263         above changes.
6264
6265         * bufferview_funcs.C:
6266         * iterators.C:
6267         * lyxfunc.C:
6268         * lyxrow_funcs.C:
6269         * paragraph.C:
6270         * rowpainter.C:
6271         * text.C:
6272         * text2.C:
6273         * text3.C:
6274         * text_funcs.C:
6275         * textcursor.C:
6276         * undo.C:
6277         * frontends/controllers/ControlParagraph.C:
6278         * frontends/controllers/ControlTabular.C:
6279         * insets/insetmarginal.C:
6280         * insets/insetminipage.C:
6281         * insets/insetnote.C:
6282         * insets/insetoptarg.C: add header files needed to compile again.
6283
6284 2003-09-06  Angus Leeming  <leeming@lyx.org>
6285
6286         * RowList_fwd.h: new file, forward-declaring Row rather than
6287         #including lyxrow.h.
6288
6289         * lyxrow_funcs.h:
6290         * lyxtext.h:
6291         * paragraph.h:
6292         * insets/insettext.h: use it instead of RowList.h
6293
6294         * bufferview_funcs.C:
6295         * lyxfunc.C:
6296         * lyxrow_funcs.C:
6297         * paragraph.C:
6298         * rowpainter.C:
6299         * text.C:
6300         * text2.C:
6301         * text3.C: #include "RowList.h".
6302
6303 2003-09-05  Angus Leeming  <leeming@lyx.org>
6304
6305         * factory.C (createInset):
6306         * vspace.C (c-tor): replace sscanf call with an istringstream.
6307         * ispell.C: re-add missing HP/UX headers.
6308         * lyxserver.C: re-add missing  os2 headers.
6309
6310 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6311
6312         * BranchList.C:
6313         * graph.C:
6314         * ispell.C:
6315         * lastfiles.C:
6316         * lyx_cb.C:
6317         * lyxserver.C:
6318         * texrow.C:
6319         * text3.C: re-add missing system headers, needed for 2.95.2.
6320
6321 2003-09-05  Angus Leeming  <leeming@lyx.org>
6322
6323         Changes most place everywhere due to the removal of using directives
6324         from support/std_sstream.h.
6325
6326 2003-09-05  Angus Leeming  <leeming@lyx.org>
6327
6328         Replace LString.h with support/std_string.h,
6329         Lsstream.h with support/std_sstream.h,
6330         support/LIstream.h with support/std_istream.h,
6331         support/LOstream.h with support/std_ostream.h.
6332
6333         Changes resulting throughout the tree.
6334
6335 2003-09-05  Angus Leeming  <leeming@lyx.org>
6336
6337         * sgml.h: ensure that the header file can be compiled stand-alone.
6338         * *.C: strip out redundant #includes. (320 in total.)
6339
6340 2003-09-04  Angus Leeming  <leeming@lyx.org>
6341
6342         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6343         here (from getPackages).
6344
6345         * debug.[Ch]: add a new EXTERNAL tag.
6346
6347 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6348
6349         * text2.C (cursorEnd): simplify
6350         (setCursor): adjust
6351         (getColumnNearX): adjust
6352
6353         * text.C (computeBidiTables): adjust
6354         (fill): adjust
6355
6356         * rowpainter.C (paintChars): adjust
6357         (paintSelection): adjust
6358         (paintChangeBar): adjust
6359         (paintText): adjust
6360
6361         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6362         lastPos instead.
6363         (numberOfSeparators): adjust
6364
6365 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6366
6367         * LyXAction.C:
6368         * box.[Ch]:
6369         * lfuns.h:
6370         * lyxfunc.C:
6371         * text3.C: Restricts the mouse click functionality
6372         of insets like bibtex, include, toc and floatlist to the visible
6373         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6374         up the dialogs. Cursor has to be in front of the inset (i.e.
6375         start of row) for this to function.
6376
6377 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6378
6379         * bufferview_funcs.C (currentState): output row information
6380
6381 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6382
6383         * bufferview_funcs.C (currentState): output paragraph position
6384
6385 2003-09-04  Angus Leeming  <leeming@lyx.org>
6386
6387         * FloatList.h: move out #include "Floating.h".
6388         * LaTeX.h: move out #include "DepTable.h".
6389         * LyXAction.h: move out #include "funcrequest.h".
6390         * buffer.h: move out #include "author.h", "iterators.h".
6391         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6392         * lyx_main.h: move out #include "errorlist.h".
6393         * lyxfunc.h: move out #include "FuncStatus.h".
6394         * lyxtext: move out #include "lyxcursor.h".
6395         * paragraph_pimpl.h: move out #include "counters.h".
6396
6397 2003-09-03  Angus Leeming  <leeming@lyx.org>
6398
6399         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6400         preamble_snippets list, enabling us to add snippets to the preamble
6401         only if the snippet was not there already.
6402
6403 2003-09-04  Angus Leeming  <leeming@lyx.org>
6404
6405         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6406
6407 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6408
6409         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6410         update
6411
6412 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6413
6414         * BranchList.C: point fix, earlier forgotten
6415
6416 2003-09-02  Angus Leeming  <leeming@lyx.org>
6417
6418         * box.C (contains): renamed from 'contained' after a fantastic
6419         amount of hot air.
6420
6421 2003-09-02  John Levon  <levon@movementarian.org>
6422
6423         * BufferView.C:
6424         * lyxcursor.h:
6425         * lyxcursor.C:
6426         * lyxfunc.C:
6427         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6428
6429 2003-09-02  John Levon  <levon@movementarian.org>
6430
6431         * text2.C: simplification of cursorEnd(), including partial
6432         fix for bug 1376
6433
6434 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6435
6436         * buffer.C (readFile): add a space
6437
6438 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6439
6440         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6441
6442 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6443
6444         * buffer.C (readFile): new function, take a filename and a
6445         ParagraphList::iterator
6446         (readFile): adjust
6447         (readFile): adjust, make it private. don't use setStream, make
6448         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6449         always contain the filename.
6450
6451         * BufferView.C (insertLyXFile): simplify and make it work for
6452         gzipped files.
6453
6454 2003-08-30  John Levon  <levon@movementarian.org>
6455
6456         * Makefile.am: fix dist (from Kayvan)
6457
6458 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6459
6460         * most files: change to use const Buffer refs
6461
6462 2003-08-27  André Pönitz  <poenitz@gmx.net>
6463
6464         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6465         on top of ownerPar().
6466
6467 2003-08-27  John Levon  <levon@movementarian.org>
6468
6469         * funcrequest.C: properly initialise POD members
6470
6471 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6472
6473         * lyxtext.h (top_y): move top_y from here
6474         * text.C:
6475         * text2.C:
6476         * text3.C:
6477         * BufferView.[Ch]:
6478         * BufferView_pimpl.[Ch]: to here
6479         * frontends/screen.C:
6480         * insets/insettabular.C:
6481         * insets/insettext.C: adjust
6482         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6483
6484 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6485
6486         * BufferView.[Ch]:
6487         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6488
6489 2003-08-26  André Pönitz  <poenitz@gmx.net>
6490
6491         * paragraph_func.[Ch] (outerPar): new function
6492
6493         * paragraph.C:
6494         * paragraph_funcs.C:
6495         * paragraph_funcs.h:
6496         * paragraph_pimpl.C:
6497         * text2.C: remove Inset::par_owner
6498
6499 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6500
6501         * lyxrow_funcs.C:
6502         * lyxtext.h:
6503         * text.C:
6504         * text2.C: eliminates the needFullRow/display() stuff
6505         altogether, putting the logic in metrics/draw in the insets.
6506
6507 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6508
6509         * text2.C (redoParagraphInternal, redoParagraphs):
6510         * text.C (redoParagraph): add a call to updateRowPositions at the
6511         end of each 'metrics-like' call. Remove all others.
6512         (getRow): remove the 'y-computing' version.
6513         (getRowNearY): do not compute nor return the real y. Solve the
6514         'y < 0' problem and simplify.
6515
6516 2003-08-22  Angus Leeming  <leeming@lyx.org>
6517
6518         * *.[Ch]: clean-up of licence and author blurbs.
6519         Also move config.h out of a few .h files and into a few .C files.
6520
6521 2003-08-22  André Pönitz  <poenitz@gmx.net>
6522
6523         * lyxrow.[Ch]: add x_ and *fill_ members
6524
6525         * lyxtext.h:
6526         * text.C:
6527         * rowpainter.C:
6528         * text2.C: adjust/remove prepareToPrint() calls
6529
6530 2003-08-22  André Pönitz  <poenitz@gmx.net>
6531
6532         * lyxrow.[Ch]: add  end_ member
6533
6534         * lyxrow_funcs.C: use LyXRow::end_
6535
6536         * lyxtext.h (singleWidth): add LyXFont parameter
6537
6538         * rowpainter.C:
6539         * text2.C: adjust LyXText::singleWidth() calls
6540
6541         * text.C (redoParagraph): simplify row breaking logic
6542
6543
6544 2003-08-19  André Pönitz  <poenitz@gmx.net>
6545
6546         * funcrequest.C: initialize button_ member
6547
6548         * text3.C:
6549         * rowpainter.[Ch]: interface consolidation
6550
6551 2003-08-18  André Pönitz  <poenitz@gmx.net>
6552
6553         * BufferView.C:
6554         * BufferView_pimpl.C:
6555         * lyxfind.C:
6556         * paragraph_funcs.C:
6557         * rowpainter.C:
6558         * text3.C: remove LyXScreen::draw() and fitCursor calls
6559
6560         * BranchList.h: remove spurious semicolons
6561
6562         * MenuBackend.C: fix branchlist related crash
6563
6564 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6565
6566         * BranchList.[Ch]:
6567         * InsetList.[Ch]:
6568         * LColor.[Ch]:
6569         * LyXAction.C:
6570         * Makefile.am:
6571         * MenuBackend.[Ch]:
6572         * bufferparams.[Ch]:
6573         * factory.C:
6574         * lfuns.h:
6575         * lyxfunc.C:
6576         * text3.C: implements the 'branch inset'
6577         idea. This allows the output of various versions of a document
6578         from a single source version, selectively outputing or suppressing
6579         output of parts of the text.
6580         This implementation contains a 'branch list editor' in a separate
6581         tab of the document settings dialog. Branches are user definable
6582         and have a "display colour" to distinguish them on-screen.
6583
6584         ColorHandler was somewhat cleaned up.
6585         (1) make possible a dynamically growing LColor list by allowing
6586         the graphic context cache to grow along (vector);
6587         (2) eliminate an IMHO unnecessary step in colour allocation.
6588
6589 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6590
6591         * BufferView_pimpl.C: compile fix
6592
6593 2003-08-15  André Pönitz  <poenitz@gmx.net>
6594
6595         * rowpainter.C: remove extra metrics calls
6596
6597         * lyxtext.h: merge the two constructors into a single one,
6598           pass reference to owner's par list
6599
6600         * BufferView_pimpl.C:
6601         * text.C:
6602         * text2.C: adjust
6603
6604 2003-08-15  André Pönitz  <poenitz@gmx.net>
6605
6606         * lyxrow_funcs.[Ch]:
6607         * lyxtext.h:
6608         * paragraph.h:
6609         * paragraph_funcs.C:
6610         * rowpainter.C:
6611         * text.C:
6612         * text2.C:
6613         * text3.C:
6614         * text_funcs.C: split LyXText::rowlist_ into individual
6615         Paragraph::rows_ chunks
6616
6617         * BufferView.[Ch]:
6618         * BufferView_pimpl.[Ch]:
6619         * lyxfind.C:
6620         * lyxtext.h:
6621         * text3.C: remove toggleSelection()
6622
6623 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6624
6625         * bufferlist.C: beautify two alerts (shorter text of buttons)
6626         * buffer.C: Remove redundant ' ' from message
6627         * tabular.h:
6628         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6629         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6630         rename VALIGN_CENTER to VALIGN_MIDDLE
6631
6632 2003-08-11  André Pönitz  <poenitz@gmx.net>
6633
6634         * lyxtext.h (getPar):
6635         * text.C: new function
6636
6637 2003-08-11  André Pönitz  <poenitz@gmx.net>
6638
6639         * Makefile.am:
6640         * tracer.[Ch]: remove unneeded files
6641
6642         * InsetList.[Ch]: remove resizeInsetsLyXText()
6643
6644         * lyxtext.h:
6645         * text.C:
6646         * text2.C:
6647         * text3.C: merge insertParagraphs() and appendParagraph()
6648         remove breakAgain(), update()
6649
6650         * BufferView_pimpl.[Ch]:
6651         * bufferview_funcs.[Ch]:
6652         * lyxfunc.C:
6653         * paragraph.[Ch]:
6654         * rowpainter.C:
6655         * tabular.C: adjust after text & InsetList changes.
6656
6657 2003-08-08  André Pönitz  <poenitz@gmx.net>
6658
6659         * text.C (insertChar, backspace): replace rowlist fiddling
6660         with rebreak of full par
6661
6662         * lyxtext.h:
6663         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6664         checkParagraph, updateInset): removed
6665
6666 2003-08-07  André Pönitz  <poenitz@gmx.net>
6667
6668         * paragraph.C:
6669         * text3.C: merge some LFUN handlers, remove dead code
6670
6671 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6672
6673         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6674
6675 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6676
6677         * text2.C (DEPM): fix part of bug 1255 and 1256
6678
6679 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6680
6681         * BufferView_pimpl.C (workAreaDispatch): change to use
6682         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6683         that are no mouse related.
6684
6685 2003-08-05  André Pönitz  <poenitz@gmx.net>
6686
6687         * BufferView.[Ch]:
6688         * BufferView_pimpl.[Ch]:
6689         * bufferview_funcs.C:
6690         * text2.C:
6691         * text3.C: rip out "deep update"
6692
6693         * textcursor.[Ch] (last_sel_cursor): remove unused member
6694
6695 2003-08-04  André Pönitz  <poenitz@gmx.net>
6696
6697         * BufferView.[Ch]:
6698         * BufferView_pimpl.[Ch]:
6699         * ParagraphParameters.C:
6700         * bufferview_funcs.C:
6701         * lyx_cb.C:
6702         * lyxfind.C:
6703         * lyxfunc.C:
6704         * text.C:
6705         * text2.C:
6706         * text3.C: replace "complicated" BufferView::update(...) calls with
6707         simpler ones.
6708
6709         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6710
6711 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6712
6713         * Makefile.am (lyx_SOURCES): add paper.h
6714
6715 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6716
6717         * Makefile.am: move things around so that both lyx-qt and
6718         lyx-xforms can be built (according to --with-frontend). Then lyx
6719         is a symbolic link to lyx-[firstfrontend]
6720
6721 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6722
6723         * Always use std::endl with lyxerr
6724
6725 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6726
6727         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6728
6729 2003-08-01  André Pönitz  <poenitz@gmx.net>
6730
6731         * BufferView.[Ch]:
6732         * BufferView_pimpl.[Ch]:
6733         * lyxfunc.C:
6734         * text3.C: merge BufferView::repaint() and BufferView::update()
6735
6736 2003-08-01  José Matos  <jamatos@lyx.org>
6737
6738         * buffer.[Ch]: file_format is no longer a buffer data element.
6739
6740 2003-08-01  André Pönitz  <poenitz@gmx.net>
6741
6742         * BufferView.C:
6743         * lyxtext.h:
6744         * text.C:
6745         * text2.C: make redoParagraph more independent of current cursor
6746
6747         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6748         * text.C:
6749         * text2.C: remove unneeded members
6750
6751 2003-07-30  André Pönitz  <poenitz@gmx.net>
6752
6753         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6754
6755         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6756           create a single function...
6757
6758         * paragraph_funcs.C (moveItem): ... here.
6759
6760         * text.C:
6761           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6762
6763 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6764
6765         * LColor.[Ch]: Add comment and greyedout logical colors.
6766
6767 2003-07-30  André Pönitz  <poenitz@gmx.net>
6768
6769         * tabular.C: don't use Assert too heavily. This crashes where it
6770           shouldn't
6771
6772 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6773
6774         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6775         is disabled (bug 1232)
6776
6777 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6778
6779         * factory.C: limited 'arg' scope
6780
6781 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6782
6783         * factory.C: fixed Note submenu issues
6784
6785 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6786
6787         * factory.C: submenu for Note/Comment/Greyedout
6788
6789 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6790
6791         * lyx_main.C (LyX):
6792         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6793
6794 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6795
6796         * LaTeXFeatures.C:
6797         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6798         greyedout. Patch provided by Jürgen Spitzmüller.
6799
6800 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6801
6802         * kbmap.C (read): fix error message when reading bind files
6803
6804 2003-07-29  Angus Leeming  <leeming@lyx.org>
6805
6806         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6807         certainly does not do what it purports to do. I am doing it, and
6808         us, a favour by killing it.
6809
6810 2003-07-28  José Matos  <jamatos@lyx.org>
6811
6812         * buffer.C (readBody, do_writeFile):
6813         * paragraph.C(readParagraph): \end_document replaces \the_end.
6814
6815 2003-07-29  André Pönitz  <poenitz@gmx.net>
6816
6817         * BufferView.[Ch]:
6818         * BufferView_pimpl.[Ch]:
6819         * lyxfunc.C:
6820         * text2.C:
6821         * text3.C:
6822         * textcursor.[Ch]: remove toggleToggle & Co
6823
6824 2003-07-28  José Matos  <jamatos@fep.up.pt>
6825
6826         * buffer.C (readParagraph):
6827         * params_func (readParToken, readParagraph):
6828         * paragraph.C (write): \layout -> \begin_layout.
6829
6830 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * lyxlex_pimpl.C (setFile): clean up slightly.
6833
6834         * bufferparams.h: add compressed var
6835
6836         * buffer_funcs.C (readFile): adjust for LyXLex change
6837         (newFile): ditto + simplify
6838
6839         * buffer.C (writeFile): handle writing of compressed files
6840
6841         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6842         Check if the file is compressed and set a bufferparm if so.
6843
6844         * Makefile.am (lyx_LDADD): remove explicit -lz
6845
6846 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6847
6848         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6849         makeDocBookFile): put the real LyX version in the first line of
6850         the file
6851
6852         * version.h:
6853         * version.C.in: remove lyx_docversion
6854
6855         * tabular.C (write_attribute): add a template-based version to
6856         write enums properly
6857
6858 2003-07-28  André Pönitz  <poenitz@gmx.net>
6859
6860         * lyxtext.h:
6861         * text.C:
6862         * text2.C:
6863         * text3.C: use doubles again for x-coordinates. They are needed.
6864
6865 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6866
6867         * messages.C (getLocaleDir): use lyx_localedir()
6868
6869         * lyxlex_pimpl.C (setFile): compress stuff
6870
6871         * buffer.C (writeFile): add some compression stuff
6872         (do_writeFile): new func, dont call expliti close... will this
6873         breake anything?
6874
6875         * Makefile.am (lyx_LDADD): add -lz
6876
6877 2003-07-28  José Matos  <jamatos@fep.up.pt>
6878
6879         * buffer.C: increment file format.
6880         * paragraph_funcs (readParagraph, readParToken):
6881         * paragraph.C (readParagraph): add \end_layout.
6882
6883 2003-07-27  Angus Leeming  <leeming@lyx.org>
6884
6885         * Makefile.am: remove special casing for configure-time setting of
6886         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6887
6888         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6889         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6890
6891 2003-07-26  André Pönitz  <poenitz@gmx.net>
6892
6893         * paragraph_func.[Ch]:
6894         * paragraph.C (realizeFont): inline it whereever it is used
6895
6896         * rowpainter.C:
6897         * text.C:
6898         * text2.C:
6899         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6900
6901
6902 2003-07-26  André Pönitz  <poenitz@gmx.net>
6903
6904         *       lyxtext.h:
6905         * text.C:
6906         * text2.C: get rid of LyXText::need_break_row
6907
6908 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6909
6910         * toc.[Ch]: put namespace toc inside namespace lyx
6911
6912         * MenuBackend.C (expandToc2): adjust for lyx::toc
6913         (expandToc): ditto
6914
6915         * lyxfunc.C (dispatch): adjust for lyx::find
6916
6917         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6918         lyx::find instead. Reorganize a bit.
6919         (LyXReplace): rename to replace
6920         (LyXFind): rename to find
6921
6922         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6923         (dispatch): ditto
6924
6925 2003-07-26  André Pönitz  <poenitz@gmx.net>
6926
6927         * text.C (setHeightOfRow): restrict scope of temporary variable
6928
6929         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6930           code (never has been used?)
6931
6932 2003-07-27  Asger Alstrup  <alstrup@local>
6933
6934         * text.C (fill): Optimise algorithm to exploit that we can reuse
6935         the LyXFont for many characters.
6936         (setHeightOfRow): Same thing.
6937         (rowBreakPoint): Same thing.
6938
6939 2003-07-26  Asger Alstrup  <alstrup@local>
6940
6941         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6942
6943         * text.C (singleWidth): Spurious font copying in hot-spot
6944         singleWidth avoided. Reorder tests for arabic for efficiency.
6945
6946         * text.C (fill): handle empty paragraphs better.
6947
6948 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6949
6950         * ispell.C:
6951         * encoding.h: add includes
6952
6953         * lyxrc.C: remove reading of bind files
6954
6955         * lyx_main.C (init): setup bindings and menus only if we have a
6956         gui.
6957
6958         * kbmap.C (read): new method. Do the actual reading of bind
6959         files.
6960
6961         * converter.C (dvipdfm_options):
6962         * bufferparams.C:
6963         * lyxrc.C (read):
6964         (output): adapt PAPER_* enums.
6965
6966         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6967
6968         * bufferparams.h: remove paper-related enums from there
6969
6970         * paper.h: New file. A trivial header file to hold paper-related
6971         enums. It should later expand to contain many paper-related
6972         horrors access.
6973
6974         * lyxrc.C: declare extern displayTranslator
6975
6976 2003-07-27  José Matos  <jamatos@fep.up.pt>
6977
6978         * tabular.[Ch] (linuxdoc): add support for tables and figures
6979         (linuxdoc).
6980
6981 2003-07-27  José Matos  <jamatos@fep.up.pt>
6982
6983         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6984         consistency in both functions.
6985         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6986
6987 2003-07-26  Asger Alstrup  <alstrup@local>
6988
6989         * rowpainter.C (paintRows): Change algorithm to work directly on
6990         the insets rather than asking every character in the document
6991         whether its an inset.
6992
6993 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6994
6995         * buffer.C (openFileWrite): factorize some code
6996
6997 2003-07-26  Angus Leeming  <leeming@lyx.org>
6998
6999         * lyx_cb.C:
7000         * lyx_main.[Ch]: replace occurances of system_tempdir with
7001         os::getTmpDir().
7002
7003 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7004
7005         * rename Inset to InsetOld
7006
7007 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7008
7009         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7010         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7011         which I think is a bit clearer. EDIT is gone, since it was
7012         premature optimisation, and broken for mathed anyway.
7013         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7014         with cursor positioning in insets as well (math insets still do not
7015         work, but that's a different story anyway.) It mysteriously
7016         crashes sometimes with undo in the first paragraph, but I'm fairly
7017         confident that this is a compiler bug.
7018
7019 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7020
7021         * paragraph.C (Paragraph): adjust for new clone return type
7022         (operator==): ditto
7023         (copyIntoMinibuffer): ditto
7024
7025 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7026
7027         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7028         by not having a special case, and always doing a full rebreak of
7029         the document after undo.
7030
7031 2003-07-23  Angus Leeming  <leeming@lyx.org>
7032
7033         * factory.C (createInset): InsetExternal::setParams now takes a
7034         Buffer const * arg.
7035
7036 2003-07-23  Angus Leeming  <leeming@lyx.org>
7037
7038         * factory.C (createInset): changed interface to the external and
7039         graphics mailers' string2params functions.
7040
7041 2003-07-23  Angus Leeming  <leeming@lyx.org>
7042
7043         * factory.C (createInset): pass a
7044         Buffer const * parameter to InsetExternalMailer's string2params.
7045
7046 2003-07-22  John Levon  <levon@movementarian.org>
7047
7048         * Thesaurus.h: include the right aiksaurus header
7049
7050 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7051
7052         * MenuBackend.C (expand): check menu shortcuts unconditionally
7053
7054 2003-07-21  Angus Leeming  <leeming@lyx.org>
7055
7056         * factory.C (createInset): pass a
7057         buffer_path parameter to InsetGraphicsMailer's string2params.
7058
7059 2003-07-21  Angus Leeming  <leeming@lyx.org>
7060
7061         * BufferView_pimpl.C (buffer):
7062         * buffer.C (d-tor):
7063         * lyx_main.C (LyX):
7064         * lyxfunc.C (dispatch):
7065         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7066         rather than the grfx shortcut.
7067
7068 2003-07-21  André Pönitz  <poenitz@gmx.net>
7069
7070         * rowpainter.C: remove unused variables
7071
7072         * tabular_funcs.C:
7073         * tabular_funcs.h: move to tabular.C
7074         * Makefile.am: adjust
7075
7076         * tabular.[Ch]: basic optical cleaning
7077
7078         * author.h: pass references, not values
7079
7080 2003-07-18  André Pönitz  <poenitz@gmx.net>
7081
7082         * lyxtext.h:
7083         * metricsinfo.C:
7084         * metricsinfo.h:
7085         * rowpainter.C:
7086         * text.C:
7087         * text2.C:
7088         * text3.C: two-phase drawing for InsetText and InsetTabular
7089         some float -> int changes.
7090
7091 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7092
7093         * lyx_main.C: fix the fix
7094
7095 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7096
7097         * lyx_main.C: fix a crash in batch mode if no files specified
7098         * converter.C: ws
7099
7100 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7101
7102         * format.[Ch] (papersize): moved to BufferParams
7103         * converter.[Ch] (dvips_options): moved to BufferParams
7104         (dvipdfm_options): moved to anon namespace
7105         * bufferparams.[Ch]: added above functions.
7106
7107 2003-07-17  André Pönitz  <poenitz@gmx.net>
7108
7109         * lyxtext.h:
7110         * rowpainter.C:
7111         * text2.C: don't call inset->update() anymore
7112
7113         * metricsinfo.[Ch]: add convenience constructor
7114
7115 2003-07-16  André Pönitz  <poenitz@gmx.net>
7116
7117         * lyxcursor.[Ch]:
7118         * lyxfunc.[Ch]:
7119         * text.C:
7120         * text2.C: replace the LyXCursor::irow_ member with
7121          on-demand computation of the value
7122
7123 2003-07-16  John Levon  <levon@movementarian.org>
7124
7125         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7126
7127 2003-07-15  André Pönitz  <poenitz@gmx.net>
7128
7129         * text.C:
7130         * text2.C: remove no more needed refresh_row
7131
7132 2003-07-15  André Pönitz  <poenitz@gmx.net>
7133
7134         * lyxtext.h:
7135         * rowpainter.C:
7136         * text2.C:
7137         * text3.C: refresh_status tristate -> need_update bool
7138
7139 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7140
7141         * lyxtext.h (init): remove reinit argument (act as if always true)
7142         * text2.C: adjust to that
7143
7144 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7145
7146         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7147         * text3.C: use it to delete selections in some cases
7148         (bugs 441, 673, 702, 954).
7149
7150 2003-07-14  André Pönitz  <poenitz@gmx.net>
7151
7152         * rowpainter.[Ch]: reduce interface
7153
7154 2003-07-14  André Pönitz  <poenitz@gmx.net>
7155
7156         * BufferView_pimpl.C:
7157         * text2.C: adjust after removing unused BufferView * argument
7158
7159 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7160
7161         * text2.C (init): fix a crash fired on resize
7162
7163 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7164
7165         * buffer.[Ch]: added new closing signal
7166         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7167         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7168         BufferView::Pimpl via the closing the signal
7169
7170 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7171
7172         * buffer.[Ch]: take out all bv-related from buffer
7173         * BufferView.C:
7174         * BufferView_pimpl.[Ch]: connect to new signals
7175         * CutAndPaste.C: removed useless asserts
7176         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7177         * lyxvc.[Ch]:
7178         * vc-backend.[Ch]:
7179         * lyxfunc.C: moved view-related funciontality from vc here
7180         * paragraph.C: removed outdated comments
7181         * text.C: ws
7182
7183 2003-07-10  André Pönitz  <poenitz@gmx.net>
7184
7185         * BufferView_pimpl.C:
7186         * tabular.h:
7187         * tabular_funcs.C:
7188         * text.C:
7189         * text2.C: remove InsetText::InnerCache, clean up consequences
7190
7191 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7192
7193         * ispell.C: fix two typos in error messages
7194
7195 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7196
7197         * Extend Note inset to other forms of annotation like Comment
7198         and Greyedout. Right button click gives dialog.
7199
7200         Files modified or added (+):
7201
7202         * insetnote.[Ch]
7203         * FormNote.[Ch]      +
7204         * ControlNote.[Ch]   +
7205         * form_note.fd       +
7206         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7207         frontends/controllers
7208         * xforms/Dialogs.C
7209         * factory.C
7210
7211 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7212
7213         * aspell.C: add missing namespace lyx::support
7214
7215 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7216
7217         * BufferView.[Ch] (newFile): Add
7218         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7219         * LaTeX.[Ch] (message): added this signal and use it
7220         * buffer.[Ch] (busy, message): added these signals and use them
7221         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7222         * converter.C:
7223         * exporter.C:
7224         * format.C:
7225         * importer.C: use buffer signals instead of direct bv calling
7226         * lyx_cb.[Ch] (ShowMessage): removed
7227         * lyx_main.C:
7228         * lyxfunc.C:
7229         * paragraph_funcs.C:
7230         * text2.C: use buffer signals
7231
7232 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7233
7234         * introduce namespace lyx::graphics
7235
7236 2003-07-02  André Pönitz  <poenitz@gmx.net>
7237
7238         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7239
7240 2003-07-01  André Pönitz  <poenitz@gmx.net>
7241
7242         * text.C:
7243         * text2.C:
7244         * text3.C:
7245         * text_funcs.[Ch]:
7246         * textcursor.h:
7247         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7248           text*.C to text_func.C
7249
7250 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * introduce namespace lyx::support
7253
7254 2003-06-30  André Pönitz  <poenitz@gmx.net>
7255
7256         * Chktex.C:
7257         * funcrequest.C:
7258         * lyxtext.h:
7259         * text.C: re-enable --with-included-string
7260
7261 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7262
7263         * textcursor.C: add <config.h>
7264
7265         * text.C (getWord): remove const from word_location arg
7266
7267         * lyxvc.C (getLogFile): fix const type order
7268
7269         * lyxtext.h: remove const from word_location arg, add arg name
7270
7271         * lyxlayout.h: currect type on labeltype.
7272
7273         * importer.C: correct \file
7274
7275         * converter.C (intToFormat): use std:: on ret val, ws changes
7276
7277         * bufferlist.h: correct \file
7278
7279         * buffer.C (makeLinuxDocFile): fix const type order
7280         (makeDocBookFile): ditto
7281         (fillWithBibKeys): use std:: on stdlib args.
7282
7283         * CutAndPaste.C: fix authors.
7284         (availableSelections): use std:: on return vector
7285
7286 2003-06-27  André Pönitz  <poenitz@gmx.net>
7287
7288         * BufferView_pimpl.C:
7289         * bufferview_funcs.C:
7290         * lyxcursor.C:
7291         * lyxcursor.h:
7292         * lyxfunc.C:
7293         * lyxtext.h:
7294         * rowpainter.C:
7295         * text.C:
7296         * text2.C:
7297         * text3.C: remove LyXCursor::row_ member
7298
7299         * lyxtext.h:
7300         * text.C: rename fullRebreak() to partialRebreak() and implement
7301           a fullRebreak() that really bereks fully
7302
7303         * textcursor.h: new struct for cursor-related data
7304
7305 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7306
7307         * lyx_main.C (LyX): get full path of document loaded on the
7308         command line
7309
7310 2003-06-26  André Pönitz  <poenitz@gmx.net>
7311
7312         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7313           remove unused/broken operator>,<,>=.
7314
7315         *       text.C: remove only use of broken operator<= in an Assert().
7316
7317 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7318
7319         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7320         moved errorlist_.clear to showErrorList
7321
7322 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7323
7324         * converter.C (scanLog, runLaTeX):
7325         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7326         move the bv->showErrorList call to the callers
7327         * lyxfunc.C: i.e. here...
7328         * text2.C: and here
7329         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7330         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7331         namespace, the second to...
7332         * buffer_funcs (BufferFormat, parseErrors): added
7333         * errorlist.C (ErrorList(TeXErrors const &)): removed
7334
7335 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7336
7337         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7338
7339 2003-06-24  "Garst R. Reese" <reese@isn.net>
7340
7341         * debug.C: fix typo
7342
7343 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7344
7345         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7346
7347         * version.C.in: change docversion to 1.4
7348
7349 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7350
7351         * buffer.C: fix a bug just introduced
7352
7353 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7354
7355         * buffer.[Ch]: added the parseError signal and use it, removed
7356         sgmlError
7357         * BufferView.[Ch] (addError): moved to ...
7358         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7359         to the Buffer::parseError signal to catch (guess what) parse errors
7360         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7361
7362 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7363
7364         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7365         ability to create a buffer and to return an existing one from
7366         the list. Moved these functions to...
7367         * buffer_funcs.[Ch]: added
7368         * BufferView.[Ch] (loadLyXFile): added
7369         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7370         job removed from bufferlist::loadLyXFile.
7371         * buffer.C (setReadOnly): make it work without view
7372         (i.e added an if (users))
7373
7374 2003-06-19  Angus Leeming  <leeming@lyx.org>
7375
7376         * lfuns.h:
7377         * LyXAction.C (init):
7378         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7379         with LFUN_DIALOG_SHOW <name> <data>.
7380
7381 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7382
7383         * CutAndPaste.C (availableSelections): small compilation fix for
7384         ancient (gcc 2.9x) compilers
7385
7386 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7387
7388         * text3.C (cursorNext): add tmp var
7389
7390         * text2.C (updateCounters): for function calling out of for clause
7391         (replaceSelectionWithString): ditto
7392         (insertStringAsParagraphs): ditto
7393         (getColumnNearX): add tmp var
7394         (setCursorFromCoordinates): add tmp var
7395         (cursorDownParagraph): add tmp var
7396         (deleteEmptyParagraphMechanism): add tmp var
7397
7398         * text.C (insertChar): add tmp var
7399
7400         * rowpainter.C (paintDepthBar): add tmp var
7401
7402         * CutAndPaste.C (availableSelections): potentially check all
7403         paragraphs in a cut to fill the shown strings.
7404
7405 2003-06-18  André Pönitz  <poenitz@gmx.net>
7406
7407         * kbmap.[Ch]: use vector<> instead of list<>
7408
7409 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7410
7411         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7412         pasteSelection with index
7413
7414         * text2.C (pasteSelection): modify, call pasteSelection with index
7415
7416         * paragraph.C (asString): reimplement version with no interval to
7417         call the one with interval.
7418
7419         * lyxtext.h: add index arg to pasteSelection
7420
7421         * MenuBackend.C (MenuItem): handle PasteRecent
7422         (Menu::read::Menutags): add md_pasterecent
7423         (read): handle it
7424         (expandPasteRecent): new function
7425         (expand): use it
7426
7427         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7428
7429         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7430         the limited stack
7431         (availableSelections): new function
7432
7433 2003-06-17  Angus Leeming  <leeming@lyx.org>
7434
7435         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7436
7437 2003-06-17  Angus Leeming  <leeming@lyx.org>
7438
7439         * lfuns.h:
7440         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7441
7442         * lyxfunc.C (dispatch): invoke it.
7443
7444 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7445
7446         * iterators.C (operator++, ParPosition): reintroduce some
7447         const_cast for the benefit of older compilers.
7448
7449 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7450
7451         * text3.C (dispatch): do not modify clipboard when doing
7452         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7453         LFUN_DELETE_SKIP on a selection selection
7454
7455 2003-06-16  André Pönitz  <poenitz@gmx.net>
7456
7457         * BufferView.C:
7458         * buffer.C:
7459         * buffer.h:
7460         * paragraph.C:
7461         * tabular.[Ch]: IU of clone() and getLabelList();
7462
7463 2003-06-13  André Pönitz  <poenitz@gmx.net>
7464
7465         * tabular.h: compactification
7466
7467 2003-06-12  André Pönitz  <poenitz@gmx.net>
7468
7469         * tabular.C:
7470         * tabular.h:
7471         * tabular_funcs.h: some renaming plus whitespace
7472
7473 2003-06-12  André Pönitz  <poenitz@gmx.net>
7474
7475         * BufferView.C:
7476         * BufferView_pimpl.C:
7477         * CutAndPaste.C:
7478         * buffer.C:
7479         * iterators.[Ch]:
7480         * lyxfunc.C:
7481         * text.C:
7482         * toc.C: Return a Paragraph & for ParIterator::operator*()
7483
7484 2003-06-11  John Levon  <levon@movementarian.org>
7485
7486         * lyx_main.C:
7487         * ToolbarBackend.h:
7488         * ToolbarBackend.C: add "Toolbars" section and
7489         put the flags there
7490
7491 2003-06-10  Angus Leeming  <leeming@lyx.org>
7492
7493         * lfuns.h:
7494         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7495
7496         * lyxfunc.C (dispatch): invoke it.
7497
7498 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7499
7500         * main.C: protect <ios> with HAVE_IOS
7501         (main): protect sync_with_stdio with HAVE_IOS
7502
7503 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7504
7505         * text2.C (cutSelection): adjust
7506         (pasteSelection): adjust
7507
7508         * messages.C: handle get of empty string
7509
7510         * main.C (main): use sync_with_stdio(false)
7511
7512         * lyxfunc.C (dispatch): adjust
7513
7514         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7515         (WriteAs): remove unneeded BufferView arg.
7516
7517         * bufferparams.h: use correct types on papersize, papersize2 and
7518         paperpackage.
7519
7520         * bufferparams.C (readToken): adjust for type
7521         (writeLaTeX): add missing cases to switch.
7522
7523         * bufferlist.C (quitWriteBuffer): adjust
7524         (close): adjust
7525
7526         * buffer.C (asciiParagraph): remove some commented code.
7527
7528         * CutAndPaste.C: remove current_view extern variable.
7529         (cutSelection): add BufferParams arg.
7530         (eraseSelection): add BufferParams arg.
7531         (pasteSelection): add Buffer const & arg
7532
7533 2003-06-07  John Levon  <levon@movementarian.org>
7534
7535         * buffer.C:
7536         * paragraph_funcs.C:
7537         * paragraph_pimpl.C:
7538         * text.C:
7539         * text2.C:
7540         * paragraph.h:
7541         * paragraph.C: allow InsetERT to freely space lines,
7542         and some consolidation of code
7543
7544 2003-06-06  José Matos  <jamatos@fep.up.pt>
7545
7546         * buffer.C (makeDocBookFile): fix bug #821
7547
7548 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7549
7550         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7551
7552 2003-06-04  Angus Leeming  <leeming@lyx.org>
7553
7554         * buffer.C: bump format to 224.
7555
7556 2003-06-05  André Pönitz  <poenitz@gmx.net>
7557
7558         * text2.C (redoParagraphs): remove two const_cast<>
7559
7560 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7561
7562         * ParagraphList.h: remove last remnants of NO_STD_LIST
7563
7564 2003-06-03  Angus Leeming  <leeming@lyx.org>
7565
7566         * factory.C (createInset): small change to the way InsetExternal's params
7567         are set.
7568
7569 2003-06-04  André Pönitz  <poenitz@gmx.net>
7570
7571         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7572
7573         * paragraph_pimpl.h:
7574         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7575
7576         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7577
7578         * undo_funcs.C: make some simple cases of undo work again
7579
7580 2003-06-03  John Levon  <levon@movementarian.org>
7581
7582         * ispell.C: HPUX doesn't have sys/select.h
7583         (from Albert Chin)
7584
7585 2003-06-03  John Levon  <levon@movementarian.org>
7586
7587         * CutAndPaste.C: update tabular and include inset
7588         buffer references
7589
7590         * buffer.h:
7591         * paragraph.h:
7592         * paragraph.C: remove owningBuffer(), don't pass Buffer
7593         to clone()
7594
7595         * factory.C: insetGraphicsParams changed
7596
7597 2003-06-02  John Levon  <levon@movementarian.org>
7598
7599         * LyXAction.C:
7600         * factory.C:
7601         * lfuns.h:
7602         * lyxfunc.C:
7603         * text3.C: remove insetparent
7604
7605 2003-06-02  John Levon  <levon@movementarian.org>
7606
7607         * buffer.h:
7608         * buffer.C: fix inset_iterator.end(), move out of line
7609         (bug 1149)
7610
7611 2003-06-01  John Levon  <levon@movementarian.org>
7612
7613         * text3.C: use a proper cut/paste when doing inset
7614         insert (from Jürgen Spitzmüller)
7615
7616 2003-06-01  John Levon  <levon@movementarian.org>
7617
7618         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7619
7620 2003-05-30  André Pönitz  <poenitz@gmx.net>
7621
7622         * rowpainter.C: unify second drawing phase
7623
7624 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7625
7626         * trans_mgr.C: remove one case of current_view
7627
7628         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7629
7630         * paragraph_funcs.h: remove paragraph.h include
7631
7632         * paragraph.h: delete NO_STD_LIST stuff
7633
7634         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7635
7636         * buffer.h: remove paragraph.h include
7637
7638         * ParagraphList.C: delete file
7639
7640         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7641
7642         * toc.C (getTocList): adjust
7643
7644         * paragraph_pimpl.C (validate): adjust
7645
7646         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7647
7648         * paragraph.C (Paragraph): adjust
7649         (getPositionOfInset): use const_iterator, adjust
7650         (bibitem): use const_iterator, adjust
7651         (setInsetOwner): adjust
7652
7653         * iterators.C (operator++): adjust
7654
7655         * InsetList.[Ch]: Replace selfmade iterator with standard
7656         vector::iterator also introduce const_iterator. Remove getPos,
7657         getInset and setInset from InsetTable. Adjust accordingly.
7658
7659         * BufferView.C (lockInset): adjust
7660         (ChangeInsets): adjust
7661
7662         * tabular.[Ch]: delete commented same_id functions
7663
7664 2003-05-28  John Levon  <levon@movementarian.org>
7665
7666         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7667
7668 2003-05-28  André Pönitz  <poenitz@gmx.net>
7669
7670         * metricsinfo.[Ch]: remove 'fullredraw' member
7671
7672 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7673
7674         * lyxtextclass.C (operator): remove caching.
7675
7676 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * text3.C: adjust
7679
7680         * text2.C (cursorBottom): adjust
7681         (setCounter): use ParagraphList::find, adjust
7682
7683         * text.C (workWidth): use ParagraphList::find, adjust
7684
7685         * lyxcursor.C (LyXCursor): adjust
7686
7687         * buffer.C (inset_iterator): adjust
7688
7689         * ParagraphList.h: make iterator(value_type) private, make
7690         ParagraphList a friend of iterator.
7691
7692         * ParagraphList.C (find): new function
7693
7694         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7695
7696 2003-05-27  André Pönitz  <poenitz@gmx.net>
7697
7698         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7699
7700 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7701
7702         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7703
7704 2003-05-26  John Levon  <levon@movementarian.org>
7705
7706         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7707
7708 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7709
7710         * remove same_id from function signatures, adjust.
7711
7712 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7715
7716         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7717
7718         * paragraph.C (Paragraph): get rid of same_ids parameter
7719
7720         * ParagraphList.C (insert): adjust
7721         (push_back): adjust
7722
7723 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7724
7725         * paragraph_funcs.C (breakParagraph): adjust
7726         (breakParagraphConservative): adjust
7727
7728         * buffer.C (readParagraph): adjust
7729
7730         * ParagraphList.C (insert): take a reference instead of a pointer
7731         (insert): adjust
7732
7733         * paragraph.[Ch] (id): new function
7734
7735         * bufferlist.C (newFile): adjust
7736
7737         * ParagraphList.C (ParagraphList): adjust
7738         (assign): adjust
7739         (push_back): take a reference instead of a pointer.
7740
7741         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7742
7743         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7744         instead.
7745
7746         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7747         set else use old code.
7748
7749         * ParagraphList.C: remove all NO_NEXT code and only compile this
7750         code of NO_STD_LIST is set.
7751
7752 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7753
7754         * BufferView_pimpl.C:
7755         * TextCache.C:
7756         * TextCache.h:
7757         * bufferlist.C:
7758         * errorlist.h:
7759         * format.C:
7760         * format.h:
7761         * graph.C:
7762         * lyxfunc.C:
7763         * lyxrc.C:
7764         * graphics/GraphicsConverter.C:
7765         * graphics/PreviewLoader.C: header adjustment
7766
7767 2003-05-23  Angus Leeming  <leeming@lyx.org>
7768
7769         * LaTeXFeatures.[Ch] (useBabel): new method.
7770         * bufferparams.C (writeLaTeX): use it.
7771
7772 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7773
7774         * ParagraphList.h (set): remove unused function.
7775
7776 2003-05-23  André Pönitz  <poenitz@gmx.net>
7777
7778         * BufferView.C:
7779         * BufferView_pimpl.C:
7780         * buffer.C:
7781         * buffer.h:
7782         * lyxfunc.C:
7783         * undo_funcs.C: setUndo reworked
7784
7785         * iterators.[Ch]: add access to topmost ParagraphList
7786
7787         * lyxtext.[Ch] (workWidth): add a const
7788
7789 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7790
7791         * texrow.[Ch] (increasePos): remove function
7792         * exporter.C (export): removed unused var and outdated comment
7793
7794 2003-05-23  Angus Leeming  <leeming@lyx.org>
7795
7796         * latexrunparams.h: rename fragile as moving_arg.
7797         * paragraph.C (simpleTeXOnePar): ditto.
7798         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7799
7800 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7801
7802         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7803         (createUndo): ditto
7804         (textUndoOrRedo): comment out a currently unused var.
7805
7806         * paragraph.h (NO_NEXT): enable NO_NEXT
7807
7808         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7809
7810         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7811
7812         * exporter.C (Export): adjust for removeAutoInsets removal.
7813
7814         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7815
7816         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7817
7818         * BufferView.[Ch] (removeAutoInsets): delete function
7819
7820 2003-05-22  Angus Leeming  <leeming@lyx.org>
7821
7822         * latexrunparams.h: add a free_spacing variable.
7823
7824         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7825         to pass moving_arg, as the data is stored in runparams.fragile.
7826
7827         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7828         to Inset::latexOptional or to simpleTeXOnePar.
7829
7830         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7831         free_spacing arg to Inset::latexOptional.
7832
7833         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7834         free_spacing arg.
7835
7836 2003-05-22  Angus Leeming  <leeming@lyx.org>
7837
7838         * latexrunparams.h: add fragile and use_babel variables.
7839
7840         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7841         * buffer.C (makeLaTeXFile): store this returned value in
7842         runparams.use_babel, thus passing it to the inset::latex methods.
7843
7844         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7845         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7846
7847         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7848         longer has a fragile arg, as it is stored in runparams.fragile.
7849
7850         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7851         moving_arg parameter as the data is stored in runparams.fragile.
7852
7853         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7854         a fragile parameter as the data is stored in runparams.fragile.
7855
7856 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7857
7858         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7859
7860 2003-05-22  Angus Leeming  <leeming@lyx.org>
7861
7862         * latexrunparams.h: add a 'bool nice' which defaults to false.
7863
7864         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7865         now encapsulated within runparams.
7866
7867         * bufferlist.C (updateIncludedTeXfiles):
7868         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7869
7870 2003-05-22  Angus Leeming  <leeming@lyx.org>
7871
7872         * latexrunparams.h: new file containing struct LatexRunParams.
7873         * Makefile.am: add new file.
7874
7875         * LaTeX.[Ch] (c-tor, run):
7876         * buffer.[Ch] (makeLaTeXFile):
7877         * bufferlist.[Ch] (updateIncludedTeXfiles):
7878         * converter.C (convert, scanLog):
7879         * converter.[Ch] (runLaTeX):
7880         * exporter.C (Export):
7881         * paragraph.[Ch] (simpleTeXOnePar):
7882         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7883         * paragraph_funcs.[Ch] (latexParagraphs):
7884         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7885         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7886         pass around a LatexRunParams parameter.
7887
7888 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7889
7890         * paragraph.[Ch]: remove unused constructor
7891
7892         * ParagraphList.C (erase): new function, taking two iterators
7893
7894 2003-05-22  André Pönitz  <poenitz@gmx.net>
7895
7896         * undo_funcs.C: remove duplicated code
7897
7898         * iterator.[Ch]: operator=
7899
7900 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7901
7902         * tabular.C (SetMultiColumn): ws changes
7903
7904         * rowpainter.C (paintFirst): get rid of a ->previous
7905
7906         * lyx_cb.C (getPossibleLabel): parlist simplification
7907
7908         * BufferView.C (ChangeInsets): simplify slightly.
7909
7910 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7911
7912         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7913         * lfuns.h: new LFUN_SPACE
7914         * lyxfunc.C: protected space has a new lfun
7915         * paragraph_funcs.C: read new space insets
7916         * text3.C:
7917         * factory.C: handle new space insets
7918
7919 2003-05-22  André Pönitz  <poenitz@gmx.net>
7920
7921         * BufferView.C:
7922         * BufferView_pimpl.C:
7923         * buffer.[Ch]:
7924         * lyxfunc.C:
7925         * undo_funcs.C: return a ParIterator from getParFromID.
7926
7927         * iterators.[Ch]: add two const's
7928
7929 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7930
7931         * toc.C (getTocList): adjust
7932
7933         * iterators.[Ch]: rework for parlist
7934
7935         * buffer.C (par_iterator_begin): adjust
7936         (par_iterator_end): adjust
7937
7938         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7939
7940         * BufferView.C (removeAutoInsets): adjust
7941         (ChangeInsets): adjust
7942
7943 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7944
7945         * text.C (top_y): fix bug 1110
7946
7947 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7948
7949         * errorlist.[Ch]: added
7950         * buffer.C:
7951         * BufferView.[Ch]:
7952         * BufferView_pimpl.C:
7953         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7954         instead
7955
7956 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7957
7958         * Makefile.am: ensure that lyx is relinked upon changes to the
7959         various "convenience" libs.
7960
7961 2003-05-20  Angus Leeming  <leeming@lyx.org>
7962
7963         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7964         files are compiled in alphabetical order again.
7965
7966         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7967
7968 2003-05-19  Angus Leeming  <leeming@lyx.org>
7969
7970         * gettext.[Ch]: remove "char const * _(char const *)".
7971
7972 2003-05-19  André Pönitz  <poenitz@gmx.net>
7973
7974         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7975
7976         * Makefile.am:
7977         * BufferView.C:
7978         * DepTable.h:
7979         * LaTeXFeatures.C:
7980         * buffer.C:
7981         * lyxfont.C:
7982         * lyxlex.h:
7983         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7984
7985 2003-05-19  André Pönitz  <poenitz@gmx.net>
7986
7987         * buffer.C:
7988         * lyxlayout.[Ch]:
7989         * lyxtextclass.[Ch]:
7990         * paragraph.C:
7991         * paragraph_funcs.[Ch]:
7992         * text2.C:
7993         * text3.C: more insetenv work
7994
7995 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7996
7997         * ParagraphParameters.C (params2string): small bug fixed
7998
7999 2003-05-16  André Pönitz  <poenitz@gmx.net>
8000
8001         * debug.C:
8002         * bufferview_funcs.C: patch from Kornel Benko to prevent
8003           crash when _(...) is called twice in a statement
8004
8005 2003-05-16  André Pönitz  <poenitz@gmx.net>
8006
8007         * BufferView.C:
8008         * lyxfunc.C:
8009         * text.C:
8010         * text2.C:
8011         * text3.C:
8012         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8013
8014 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8015
8016         * lyx_main.C (init): remove spurious static_cast
8017
8018 2003-05-14  André Pönitz  <poenitz@gmx.net>
8019
8020         * BufferView.C: fix format string
8021
8022 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8023
8024         * BufferView.[Ch] (insertErrors): removed
8025         * BufferView.[Ch] (showErrorList): added
8026         * buffer.C (runChkTeX):
8027         * converter.C (scanLog): call showErrorList instead of inserterrors
8028
8029 2003-05-13  André Pönitz  <poenitz@gmx.net>
8030
8031         * BufferView_pimpl.C:
8032         * buffer.C:
8033         * bufferview_func.C:
8034         * MenuBackend.C:
8035         * lyxfunc.C:
8036         * lyxrc.C:
8037         * tex-accent.C:
8038         * text3.C:
8039         * toc.C:
8040         * tabular_funcs.h: tostr() from its own header
8041
8042         * ParagraphParameters.C:
8043         * ToolbarBackend.C:
8044         * bufferparams.C:
8045         * format.C:
8046         * lyxlex_pimpl.C:
8047         * text3.C: STRCONV()
8048
8049 2003-05-12  André Pönitz  <poenitz@gmx.net>
8050
8051         * BufferView.C:
8052         * BufferView_pimpl.C:
8053         * CutAndPaste.C:
8054         * LaTeX.C:
8055         * LaTeXFeatures.C:
8056         * ParagraphParameters.C:
8057         * buffer.C:
8058         * bufferlist.C:
8059         * bufferparams.C:
8060         * bufferview_funcs.C:
8061         * converter.C:
8062         * counters.C:
8063         * debug.C:
8064         * exporter.C:
8065         * format.C:
8066         * importer.C:
8067         * lyx_cb.C:
8068         * lyx_main.C:
8069         * lyxfont.C:
8070         * lyxfunc.C:
8071         * lyxvc.C:
8072         * paragraph.C:
8073         * paragraph_funcs.C:
8074         * tabular.C:
8075         * tabular_funcs.C:
8076         * text2.C:
8077         * text3.C:  boost::format -> bformat  all over the place
8078
8079
8080 2003-05-09  André Pönitz  <poenitz@gmx.net>
8081
8082         * LColor.[Ch]: Pimpl the #include <map> away
8083
8084 2003-05-09  John Levon  <levon@movementarian.org>
8085
8086         * bufferlist.C: never remove emergency saves
8087
8088 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8089
8090         * Makefile.am: better lib building
8091
8092 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8093
8094         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8095         instead.
8096         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8097         (simpleTeXSpecialChars): adjust
8098         (simpleTeXSpecialChars): adjust
8099         * paragraph.C (simpleTeXOnePar): adjust
8100         * buffer.C (makeLaTeXFile): adjust
8101
8102         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8103
8104         * text2.C (changeDepth): parlist cleanup
8105         (getColumnNearX): ditto
8106
8107         * rowpainter.C (getLabelFont): parlist cleanup
8108
8109         * bufferlist.C (newFile): parlist cleanup
8110
8111         * CutAndPaste.C (eraseSelection): parlist cleanup
8112
8113         * BufferView_pimpl.C (trackChanges): parlist cleanup
8114         (dispatch): ditto
8115
8116         * BufferView.C (lockInset): parlist cleanup.
8117         (ChangeInsets): ditto
8118
8119 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8120
8121         * CutAndPaste.h: Update file header.
8122
8123         * CutAndPaste.C: Update file header.
8124         Store the parts cut out of the Document in a limited_stack.
8125         (copySelection): adjust
8126         (pasteSelection): new function, takes the index in the limited stack.
8127         (nrOfParagraphs): adjust
8128         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8129         simplify error inset insertion.
8130         (checkPastePossible): adjust
8131
8132 2003-05-06  John Levon  <levon@movementarian.org>
8133
8134         * text2.C: don't cast wrap inset to float
8135
8136 2003-05-05  André Pönitz  <poenitz@gmx.net>
8137
8138         * iterator.C:
8139         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8140
8141         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8142           few naked Paragraph *.
8143
8144 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8145
8146         * bufferparams.C: Output warning if a document with missing
8147         TeX document class is loaded
8148         * exporter.C: Disable TeX exports if the document class is missing
8149         * lyxtextclass.C:
8150         * lyxtextclass.h:
8151         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8152         isTeXClassAvailable()
8153
8154 2003-05-03  John Levon  <levon@movementarian.org>
8155
8156         * BufferView.h:
8157         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8158         explicit cursor show/hide
8159
8160         * BufferView_pimpl.h:
8161         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8162         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8163
8164         * lyxfunc.C: hide cursor before dispatching.
8165
8166         * lyx_cb.C:
8167         * lyxfind.C:
8168         * text.C:
8169         * text3.C: remove explicit cursor hides
8170
8171 2003-05-02  André Pönitz  <poenitz@gmx.net>
8172
8173         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8174
8175         * undo_funcs.C:
8176         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8177           linked lists
8178
8179         * text2.C: tiny whitespace
8180
8181 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8182
8183         * undo_funcs.C: almost only ws changes.
8184
8185         * ParagraphList.C (splice): just return if pl is empty.
8186
8187 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8188
8189         * ParagraphList.C (splice): new function.
8190
8191         * CutAndPaste.C (pasteSelection): use it
8192
8193 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8194
8195         * CutAndPaste.C (pasteSelection): remove the last next and
8196         previous from this file.
8197
8198 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8199
8200         * CutAndPaste.C (pasteSelection): more clean up, user proper
8201         ParagraphList functions for pasteing.
8202
8203         * ParagraphList.C (insert): new function, three arg insert
8204
8205 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8206
8207         * ParagraphList.C (insert): new function, three arg insert
8208
8209         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8210         not on paragraphs.
8211
8212 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8213
8214         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8215
8216 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8217
8218         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8219
8220 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8221
8222         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8223         (copySelection): clean up a bit.
8224         (pasteSelection): use make_pair
8225
8226         * ParagraphList.C (ParagraphList): implement copy constructor
8227         (operator=): implement, base on copy constructor.
8228         (assign): new func
8229
8230         * paragraph.C (erase): return a bool
8231
8232         * paragraph_pimpl.C (erasePos): remove function, move contents...
8233         (erase): ... here. Return a bool.
8234         (erase): call erase instead of erasePos.
8235
8236 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8237
8238         * ParagraphList.h: define PitPosPair
8239         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8240         ParagraphList, fix a bug on pasting multiple pars
8241         * text2.C: change interface to C&P
8242
8243 2003-04-30  André Pönitz  <poenitz@gmx.net>
8244
8245         * undo_func.C: revert part of yesterday's patch 2
8246
8247 2003-04-30  John Levon  <levon@movementarian.org>
8248
8249         * LColor.C: s/tabular/table/
8250
8251 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8252
8253         * text3.C (dispatch): do not convert iterator -> pointer
8254         * undo_funcs.C (setCursorParUndo): ditto
8255         * text_funcs.C (transposeChars): ditto
8256
8257         * text2.C (setLayout): ws changes only
8258
8259         * text.C (breakParagraph): do not convert iterator -> pointer
8260         (insertChar): ditto
8261         (acceptChange): ditto
8262         (rejectChange): ditto
8263         (changeCase): ditto
8264         (Delete): ditto
8265         (backspace): ditto
8266
8267         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8268         pointer
8269
8270 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8271
8272         * text3.C (gotoInset): YABG (yet another bad getChar)
8273
8274 2003-04-29  André Pönitz  <poenitz@gmx.net>
8275
8276         * paragraph.h: make operator= private unimplemented as long as
8277           it is unusable
8278
8279         * ParagraphList.C: whitespace
8280
8281         * paragraph.[Ch]:
8282         * paragraph_pimpl.[Ch]:
8283         * paragraph_funcs.C:
8284         * CutAndPaste.C:
8285         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8286
8287         * text2.C:
8288           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8289
8290 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8291
8292         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8293         * paragraph.[Ch] (erase):
8294         * paragraph_pimpl.[Ch] (erase): change return type and value
8295         * text2.C (cutSelection): some rework
8296
8297 2003-04-28  John Levon  <levon@movementarian.org>
8298
8299         * bufferlist.C: changes for unsaved changes dialog
8300
8301 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8302
8303         * bufferlist.C (newFile): set language (messages_) for new
8304         documents also.
8305
8306         * buffer.C (readFile): ws changes only.
8307
8308 2003-04-28  André Pönitz  <poenitz@gmx.net>
8309
8310         * undo_funcs.C:
8311         * lyxfunc.C:
8312         * buffer.[Ch]:
8313         * BufferView_pimpl.C:
8314         * BufferView.C: getParFromID related ParagraphList::iterator changes
8315
8316 2003-04-28  André Pönitz  <poenitz@gmx.net>
8317
8318         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8319           Changes
8320
8321 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8322
8323         * messages.C: remove one more localedir class variable.
8324
8325 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8326
8327         * messages.C (getLocaleDir): singleton generation function
8328         (Pimpl): use it.
8329         (Messages): add a default constructor.
8330
8331         * main.C (main): do not setup localedir here, do not call
8332         gettext_init.
8333
8334         * gettext.C (_): use it.
8335         (gettext_init): delete funciton
8336
8337 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8338
8339         * gettext.C (getLyXMessages): new singleton generating function.
8340
8341         * buffer.C (updateDocLang): adjust
8342
8343         * Makefile.am (messages.o): add target
8344         (main.o): remove target
8345
8346 2003-04-27  John Levon  <levon@movementarian.org>
8347
8348         * bufferlist.C:
8349         * lyx_cb.C:
8350         * lyxfunc.C:
8351         * lyxvc.C: specify cancel button in Alert::prompt
8352
8353 2003-04-26  John Levon  <levon@movementarian.org>
8354
8355         * text3.C:
8356         * lyxfunc.C:
8357         * lfuns.h:
8358         * LyXAction.C: add LFUN_INSET_SETTINGS
8359
8360         * lyxfunc.C: don't enable tabular-feature when there's
8361         just any locking inset
8362
8363 2003-04-26  John Levon  <levon@movementarian.org>
8364
8365         * bufferlist.C: re-add Cancel to buffer close question
8366
8367         * lyxfunc.C: fix import UI a bit
8368
8369 2003-04-25  John Levon  <levon@movementarian.org>
8370
8371         * gettext.C: remove the broken asserts for now
8372
8373 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8374
8375         * messages.C: make case where setlocale cannot comply work better.
8376
8377         * buffer.C (updateDocLang): new function
8378         (changeLanguage): use it
8379         (readFile): use it
8380
8381         * text2.C (setCounter): use B_ a bit.
8382
8383         * lyxlayout.C (Read): be sure to trim the label strings.
8384
8385         * messages.C (Messages): fix typo in comment
8386
8387         * buffer.C (readFile): set message_ after file is loaded.
8388         (makeDocBookFile): remove double return
8389         (changeLanguage): reset message_ upon language change.
8390         (B_): new func, use this to get translated buffer strings.
8391
8392         * main.C: add myself and Jean Marc as authors.
8393
8394 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8395
8396         * messages.[hC]: pimplify Messages, and three different pimpls to be
8397         used in different circumstances.
8398
8399         * gettext.[Ch]: change for use with new message code.
8400
8401 2003-04-24 André Pönitz <poenitz@gmx.net>
8402
8403         * factory.C: support for eqref
8404
8405 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8406
8407         * messages.[Ch]: add missing char
8408
8409         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8410
8411         * messages.[Ch]: New files
8412
8413 2003-04-18  John Levon  <levon@movementarian.org>
8414
8415         * BufferView.h:
8416         * BufferView.C:
8417         * BufferView_pimpl.C:
8418         * lfuns.h:
8419         * LyXAction.C:
8420         * lyxtext.h:
8421         * text2.C: remove layout-copy/paste (bug 778)
8422
8423 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8424
8425         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8426
8427 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8428
8429         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8430         if they succeed. Act accordingly.
8431
8432 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8433
8434         * text2.C (setCharFont): adjust
8435         (setCounter): adjust
8436         (insertStringAsLines): adjust
8437
8438         * text.C (leftMargin): adjust
8439         (setHeightOfRow): adjust
8440
8441         * rowpainter.C (paintFirst): adjust
8442         (paintLast): adjust
8443
8444         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8445         (outerHook): ditto
8446         (isFirstInSequence): ditto
8447         (getEndLabel): ditto
8448         (outerFont): adjust
8449
8450         * paragraph.C (getParLanguage): comment out some hard stuff.
8451
8452         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8453         (sgmlError): ditto
8454         (simpleDocBookOnePar): ditto
8455         (makeDocBookFile): use ParagraphList::iterator
8456
8457         * CutAndPaste.C (pasteSelection): adjust
8458
8459 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8460
8461         * text2.C (getFont): adjust
8462         (getLayoutFont): adjust
8463         (getLabelFont): adjust
8464
8465         * paragraph_funcs.C (TeXOnePar): adjust
8466
8467         * buffer.C (simpleLinuxDocOnePar): adjust
8468         (simpleDocBookOnePar): adjust
8469
8470         * CutAndPaste.C (pasteSelection): adjust
8471
8472         * BufferView.C (getEncoding): adjust
8473
8474         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8475
8476 2003-04-16  John Levon  <levon@movementarian.org>
8477
8478         * lyxfind.C: use parlist stuff for search/changes
8479
8480 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8481
8482         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8483
8484         * text2.C (deleteEmptyParagraphMechanism): adjust
8485
8486         * text2.[Ch] (ownerParagraph): delete func (both of them
8487
8488 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8491
8492 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8493
8494         * ParagraphList.C: prepare for NO_NEXT
8495
8496 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8497
8498         * text2.C (getFont): adjust
8499         (getLayoutFont): adjust
8500         (getLabelFont): adjust
8501
8502         * paragraph.C (getFont): adjust
8503         (getLabelFont): adjust
8504         (getLayoutFont): adjust
8505
8506         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8507
8508 2003-04-15  John Levon  <levon@movementarian.org>
8509
8510         From Angus Leeming
8511
8512         * lyx_main.C: handle Include in .ui files
8513
8514 2003-04-15  John Levon  <levon@movementarian.org>
8515
8516         * MenuBackend.C: make the doc files length shorter
8517
8518         * ToolbarBackend.h:
8519         * ToolbarBackend.C: handle toolbar placement flags,
8520         Minibuffer
8521
8522 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8523
8524         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8525         adjust
8526
8527         * paragraph_funcs.C (TeXOnePar): adjust
8528
8529         * paragraph.C (getLabelFont): add outerfont arg, adjust
8530         (getLayoutFont): ditto
8531         (simpleTeXOnePar): adjust
8532
8533         * paragraph_pimpl.C (realizeFont): delete func
8534
8535 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8536
8537         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8538         row argument, constify cur argument.
8539
8540 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8541
8542         * text2.C (getFont): adjust
8543         (getLayoutFont): adjust
8544         (getLabelFont): adjust
8545
8546         * paragraph_funcs.C (TeXOnePar): adjust
8547         (outerFont): new func...
8548         (realizeFont): ...moved out from here, changed this to facilitate
8549         transition
8550
8551         * paragraph.C (getFont): take outerfont as arg, adjust
8552         (simpleTeXOnePar): add outerfont arg, adjust
8553
8554         * buffer.C (simpleLinuxDocOnePar): adjust
8555         (simpleDocBookOnePar): adjust
8556
8557         * CutAndPaste.C (pasteSelection): adjust
8558
8559         * BufferView.C (getEncoding): adjust
8560
8561 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8562
8563         * text2.C (setCharFont): adjust
8564         (setCounter): adjust
8565
8566         * text.C (leftMargin): adjust
8567         (setHeightOfRow): adjust
8568
8569         * rowpainter.C (paintFirst): adjust
8570         (paintLast): adjust
8571
8572         * paragraph_pimpl.C (realizeFont): adjust
8573
8574         * paragraph.C (isFirstInSequence): move from here...
8575         * paragraph_funcs.C (isFirstInSequence): ...to here
8576
8577         * paragraph.C (outerHook): move from here...
8578         * paragraph_funcs.C (outerHook): ...to here
8579
8580         * paragraph.C (depthHook): move from here...
8581         * paragraph_funcs.C (depthHook): ...to here
8582
8583         * paragraph.C (getEndLabel): move from here...
8584         * paragraph_funcs.C (getEndLabel): ...to here
8585
8586         * text2.C (realizeFont): move from here...
8587         * paragraph_funcs.C (realizeFont): ...to here
8588
8589 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8590
8591         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8592
8593 2003-04-14  Angus Leeming  <leeming@lyx.org>
8594
8595         * LColor.[Ch]: scrap LColor mathcursor.
8596
8597 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * lyxlex.[Ch] (text): delete function
8600         * trans.C (Load): adjust
8601         * paragraph_funcs.C (readParToken): adjust
8602
8603 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8604
8605         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8606         vector<char> instead of a char[].
8607
8608         * lyxlex_pimpl.C (getString): adjust
8609         (next): adjust
8610         (lex): use getString
8611         (eatLine): adjust
8612         (nextToken): adjust
8613
8614         * lyxlex.C (text): use pimpl_->getString()
8615         (getBool): ditto
8616         (findToken): ditto
8617
8618 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8621         (makeFontEntriesLayoutSpecific): temp var for par.size()
8622         (setLayout): temp var for ownerParagraphs().end()
8623         (fullRebreak): temp var for rows().end()
8624         (selectionAsString): temp var for boost::next(startpit), realize
8625         that the while really is a regular for loop.
8626         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8627         setCursor in one place.
8628         (setParagraph): temp vr for ownerParagraphs().end()
8629         (updateCounters): make the while loop a for loop
8630         (cutSelection): temp var for ownerParagraphs().end()
8631         (updateInset): make the do {} while() a regular for loop
8632         (getCursorX): use temp vars
8633         (setCurrentFont): use temp vars
8634         (getColumnNearX): use temp vars
8635
8636 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8637
8638         * text.C (transformChar): use temp var for getChar
8639         (computeBidiTables): use temp var for row->par()
8640         (fill): move temp vars for row->par() and pit->layout() earlier in
8641         the function.
8642         (labelFill): use temp var for row->par()
8643         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8644         asc and desc, realize that pit never changes and that firstpit is
8645         just a duplicate and not needed. Exchange rit->par() with pit in a
8646         lot of places.
8647         (breakAgain): use a temp var for boost::next(rit)
8648         (breakAgainOneRow): ditto
8649         (breakParagraph): use a temp var for rows().begin()
8650         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8651         (cursorRightOneWord): use temp var for cursor.par() and
8652         cursor.pos(), remove usage of tmpcursor.
8653         (cursorLeftOneWord): use temp var for cursor.par() and
8654         cursor.pos() only set cur at end of function.
8655
8656 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8657
8658         * text.C, text2.C: exchange all usage of Paragraph::next with
8659         boost::next(ParagraphList::iterator)
8660
8661         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8662
8663         * text2.C (cursorTop): simplify implementation
8664         (cursorBottom): ditto
8665         (setParagraph): use ParagraphList::iterator
8666         (setCurrentFont): adjust
8667         (getColumnNearX): adjust
8668         (cursorRight): adjust
8669         (cursorLeft): remove usage of Paragraph::previous
8670         (cursorUpParagraph): ditto
8671         (deleteEmptyParagraphMechanism): slight cleanup
8672
8673         * text.C (isBoundary): take a Paragraph const & instead of a
8674         pointer as arg.
8675         (addressBreakPoint): ditto
8676         (leftMargin): remove usage of Paragraph::previous.
8677         (setHeightOfRow): ditto
8678         (cursorLeftOneWord): ditto
8679         (selectNextWordToSpellcheck): ditto
8680         (Delete): ditto
8681         (backspace): ditto
8682         (breakParagraph): remove one usage of Paragraph::next
8683         (redoParagraph): ditto
8684         (acceptChange): ditto
8685         (insertChar): adjust
8686         (rowBreakPoint): adjust
8687
8688         * bufferview_funcs.C (toggleAndShow): adjust
8689
8690 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8691
8692         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8693         methods to access it.
8694         * lyxtext.h:
8695         * text.C: Added updateRowPositions to compute all row positions.
8696         Make top_y and getRowNearY() to use the cached y position
8697
8698 2003-04-11  John Levon  <levon@movementarian.org>
8699
8700         * text.C (rowBreakPoint): reintroduce the labelEnd
8701         checks, code copied from the row fill stuff. Deep voodoo.
8702
8703         * text.C (fill): add a comment and debugging for the
8704         next poor soul.
8705
8706 2003-04-11  John Levon  <levon@movementarian.org>
8707
8708         * text.C: make sure fullrow insets get wrapped to the next line,
8709         even when they're in a manual label
8710
8711 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8712
8713         * text2.C (insertParagraph): make it take ParagraphList::iterator
8714         as arg.
8715         (setLayout): make it return ParagraphList::iterator
8716         (redoParagraphs): ditto
8717         (setCounter): ditto
8718         (checkParagraph): ditto
8719
8720         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8721
8722         * text2.C: adjust several funcs.
8723         (realizeFont): take a ParagraphList::iterator as arg.
8724         (getLayoutFont): ditto
8725         (getLabelFont): ditto
8726         (setCharFont): ditto
8727
8728         * text.C: adjust several funcs.
8729
8730 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8731
8732         * text.C (selectNextWordToSpellcheck): don't accidentally
8733         skip insets
8734
8735 2003-04-10  John Levon  <levon@movementarian.org>
8736
8737         * ToolbarBackend.C (getIcon): special handling for
8738         LFUN_MATH_DELIM
8739
8740 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8741
8742         * text2.C (cursorRight): a getChar assert fixed
8743
8744 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8745
8746         * text2.C (getFont): change to take a ParagraphList::iterator
8747         instead of Paragraph*
8748         Adjust several functions.
8749
8750         * text.C (transformChar): change to take a ParagraphList::iterator
8751         instead of Paragraph*
8752         (singleWidth): ditto
8753         Adjust several functions.
8754
8755         * rowpainter.C: adjust several functions
8756         * rowpainter.h:store a ParagraphList::iterator and not a
8757         Paragraph&.
8758
8759
8760 2003-04-09  John Levon  <levon@movementarian.org>
8761
8762         * lyxfunc.C:
8763         * lfuns.h:
8764         * LyXAction.h:
8765         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8766         and the "help" bits as well
8767
8768 2003-04-09  John Levon  <levon@movementarian.org>
8769
8770         * ToolbarBackend.h:
8771         * ToolbarBackend.C: allow multiple toolbars
8772
8773 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8774
8775         * undo_funcs.C (setCursorParUndo): adjust
8776
8777         * text_funcs.C (transposeChars): adjust
8778
8779         * text3.C (gotoNextInset): adjust
8780         (dispatch): adjust
8781
8782         * text2.C (setLayout): adjust
8783         (changeDepth): adjust
8784         (setFont): adjust
8785         (redoParagraphs): adjust
8786         (selectionAsString): adjust
8787         (setParagraph): adjust
8788         (insertInset): adjust
8789         (cutSelection): adjust
8790         (copySelection): adjust
8791         (pasteSelection): adjust
8792         (insertStringAsLines): adjust
8793         (updateInset): adjust
8794         (setCursor): change to take a ParagraphList::iterator parameter
8795         (setCursorIntern): change to take a ParagraphList::iterator parameter
8796         (setCurrentFont): adjust
8797         (cursorLeft): adjust
8798         (cursorRight): adjust
8799         (deleteEmptyParagraphMechanism): adjust
8800
8801         * text.C (breakParagraph): adjust
8802         (insertChar): adjust
8803         (acceptChange): adjust
8804         (rejectChange): adjust
8805         (selectNextWordToSpellcheck): adjust
8806         (changeCase): adjust
8807         (Delete): adjust
8808         (backspace): adjust
8809
8810         * lyxfind.C (SearchForward): adjust
8811         (SearchBackward): adjust
8812         (nextChange): adjust
8813
8814         * lyxcursor.C (par): adjust
8815
8816         * lyxcursor.h: store a ParagraphList::iterator instead of a
8817         Paragraph*
8818
8819         * lyx_cb.C (getPossibleLabel): adjust
8820
8821         * bufferview_funcs.C (toggleAndShow): adjust
8822
8823         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8824         (dispatch): adjust
8825
8826         * BufferView.C (removeAutoInsets): adjust
8827         (lockedInsetStoreUndo): adjust
8828
8829 2003-04-09  John Levon  <levon@movementarian.org>
8830
8831         * ToolbarBackend.C: try icon without argument
8832         if with argument fails
8833
8834 2003-04-08  John Levon  <levon@movementarian.org>
8835
8836         * ToolbarBackend.h:
8837         * ToolbarBackend.C: add getIcon(), handle tooltip,
8838         and change from "Icon" to "Item".
8839
8840 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8841
8842         * BufferView.C (lockInset): another bad getchar crunched
8843
8844 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8845
8846         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8847         again)
8848
8849 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8850
8851         * lyxfind.C (searchForward, searchBackwards): bug 782
8852
8853 2003-04-07  John Levon  <levon@movementarian.org>
8854
8855         * paragraph.C: remove dead comment
8856
8857         * text.C: remove troublesome depth-fiddling code
8858         in leftMargin() and rightMargin() (bug 1017)
8859
8860         * text.C: fix breaking of rows in nested lists
8861         (bug 1004)
8862
8863         * text2.C (updateCounters): fix up depth values
8864         (bug 1013)
8865
8866 2003-04-07  John Levon  <levon@movementarian.org>
8867
8868         * BufferView_pimpl.C: clear message when doc finishes resizing,
8869         and after a mouse event
8870
8871         * lyxfunc.C: clear message after exiting inset
8872
8873 2003-04-07  John Levon  <levon@movementarian.org>
8874
8875         * bufferview_funcs.C: show math status not outside
8876         status in the statusbar
8877
8878 2003-04-07  John Levon  <levon@movementarian.org>
8879
8880         * lyxfunc.C: note status changed after a depth change
8881
8882 2003-04-04  Angus Leeming  <leeming@lyx.org>
8883
8884         * LaTeX.h: move AuxInfo operator==, != out of line.
8885         Remove LaTeX virtual destructor; nothing derives from it.
8886         Move operator()() out of public area and rename it startscript().
8887         Change protected for private.
8888
8889 2003-04-04  Angus Leeming  <leeming@lyx.org>
8890
8891         * lyxfunc.C:
8892         * text2.C: remove unneeded #includes.
8893
8894 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8895
8896         * text2.C (dEPM): fix the heigth of the next row
8897
8898 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8899
8900         * text.C: squashed an invalid getChar requester + some ws changes
8901
8902 2003-04-03  John Levon  <levon@movementarian.org>
8903
8904         * bufferview_funcs.h:
8905         * bufferview_funcs.C:
8906         * lyxfunc.C:
8907         * lyxtext.h:
8908         * text2.C: make getStatus work for the env depth lfuns
8909
8910 2003-04-03  John Levon  <levon@movementarian.org>
8911
8912         * bufferview_funcs.h:
8913         * bufferview_funcs.C:
8914         * lyxfunc.C:
8915         * lyxtext.h:
8916         * text2.C: parlistize decDepth(), by merging it with incDepth()
8917
8918 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8919
8920         * lyxrow.h: store a ParagraphList::iterator instead of a
8921         Paragraph* and adjust other class functions to suit.
8922
8923         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8924         above.
8925
8926 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8927
8928         * text2.C (setCursor): do not anchor to cursor row for the time being
8929
8930 2003-04-02  John Levon  <levon@movementarian.org>
8931
8932         * LyXAction.C:
8933         * lfuns.h:
8934         * lyx_main.C:
8935         * lyxtext.h:
8936         * text.C:
8937         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8938
8939 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8940
8941         * paragraph.h: make ParagraphList and ParagraphList::iterator
8942         friends of Paragraph.
8943
8944         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8945
8946         * ParagraphList.C: Use the private next_ and previous_ from
8947         Paragraph.
8948
8949 2003-04-01  John Levon  <levon@movementarian.org>
8950
8951         * ToolbarBackend.h:
8952         * ToolbarBackend.C:
8953         * Makefile.am: rename, remove defaults gunk
8954
8955         * MenuBackend.h:
8956         * MenuBackend.C: remove defaults gunk
8957
8958         * Languages.h:
8959         * Languages.C: remove defaults gunk
8960
8961         * lyx_main.h:
8962         * lyx_main.C: error out if files couldn't be found.
8963
8964 2003-04-02  John Levon  <levon@movementarian.org>
8965
8966         * text2.C: make incDepth() use parlist
8967
8968 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8969
8970         * undo_funcs.C (firstUndoParagraph): adjust
8971
8972         * text3.C (gotoInset): adjust
8973         (dispatch): adjust, and rewrite loop.
8974
8975         * text2.C (init): adjust, and rewrite loop.
8976         (redoParagraphs): adjust
8977         (updateInset): adjust, and rewrite loop.
8978         (deleteEmptyParagraphMechanism): adjust
8979
8980         * tabular.C (LyXTabular): adjust
8981         (SetMultiColumn): adjust
8982         (TeXRow): adjust
8983
8984         * lyxtext.[Ch] (ownerParagraph): delete function
8985         (ownerParagraphs): new function returns a ParagraphList.
8986
8987         * BufferView.C (removeAutoInsets): adjust
8988         (insertErrors): adjust
8989         (setCursorFromRow): adjust
8990
8991 2003-04-01  Angus Leeming  <leeming@lyx.org>
8992
8993         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8994         in the frontends.
8995
8996 2003-04-02  John Levon  <levon@movementarian.org>
8997
8998         * lyxtext.h:
8999         * text.C:
9000         * Makefile.am:
9001         * text_funcs.h:
9002         * text_funcs.C: make transposeChars a free function
9003
9004         * lyxrow_funcs.C: remove wrong comment
9005
9006 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9007
9008         * lyxtext.h: adjust
9009         * rowpainter.C: adjust
9010         * text.C: adjust
9011         * text2.C: adjust
9012         * text3.C: adjust
9013
9014         * lyxrow_funcs. [Ch]: new files
9015
9016         * lyxrow.[Ch]: remove next and previous pointers
9017         (next,previous): remove accessor functions
9018         (isParEnd): move to lyxrow_funcs
9019         (lastPos): move to lyxrow_funcs
9020         (nextRowIsAllInset): move to lyxrow_funcs
9021         (lastPrintablePos): move to lyxrow_funcs
9022         (numberOfSeparators): move to lyxrow_funcs
9023         (numberOfHfills): move to lyxrow_funcs
9024         (numberOfLabelHfills): move to lyxrow_funcs
9025         (hfillExpansion): move to lyxrow_funcs
9026
9027         * lyxfunc.C: adjust
9028
9029         * bufferview_funcs.C (toggleAndShow): adjust
9030
9031         * RowList.h: Remove class RowList from file leave just a
9032         std::list<Row>.
9033
9034         * RowList.C: delete file
9035
9036         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9037         and lyxrow_funcs.h
9038
9039 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9040
9041         * text3.C (cursorPrevious): adjust
9042         (cursorNext): adjust
9043         (dispatch): adjust
9044
9045         * text2.C (redoHeightOfParagraph): adjust
9046         (redoDrawingOfParagraph): adjust
9047         (setCursor): adjust
9048
9049         * text.C (breakParagraph): adjust
9050         (insertChar): adjust
9051         (backspace): adjust
9052
9053         * rowpainter.C (RowPainter): adjust
9054         (leftMargin): simplify and adjust
9055         (most rowpainter functions): adjust.
9056
9057         * rowpainter.h: store the row as RowList::iterator not as Row*
9058
9059         * lyxcursor.C (row): taka RowList::iterator as arg
9060         (irow): ditto
9061
9062         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9063         of Row*.
9064
9065 2003-04-01  Angus Leeming  <leeming@lyx.org>
9066
9067         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9068         stuff like bool Bool.
9069
9070 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9071
9072         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9073         rewrite a loop
9074
9075 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9076
9077         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9078         RowList::iterator.
9079
9080         * lyxtext.h (rows): drop one version and leve a const variant that
9081         returns a RowList::iterator.
9082
9083 2003-03-31  Angus Leeming  <leeming@lyx.org>
9084
9085         * text.C (fill): ensure that the signature is the same as that in the
9086         header file.
9087
9088 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9089
9090         * text2.C (redoParagraphs): adjust
9091         (updateCounters): adjust
9092         (checkParagraph): adjust
9093         (getColumnNearX): adjust and reformat a bit.
9094
9095         * text.C (top_y): adjust
9096         (workWidth): adjust
9097         (leftMargin): adjust
9098         (prepareToPrint): adjust
9099         (getRow): adjust
9100         (getRowNearY): adjust
9101
9102         * lyxtext.h: make rowlist_ mutable.
9103
9104         * RowList.h: add const_iterator
9105         * RowList.C: adjust for RowList::const_iterator.
9106
9107         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9108         adjust.
9109
9110 2003-03-31  John Levon  <levon@movementarian.org>
9111
9112         * lyxrc.h:
9113         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9114
9115         * lyx_main.C: set default fonts from using lyx_gui funcs
9116
9117         * exporter.C: pdf_mode moved from lyxrc
9118
9119         * lyx_cb.C:
9120         * lyxfunc.C: changes from above
9121
9122 2003-03-31  John Levon  <levon@movementarian.org>
9123
9124         * lyx_main.C: fix to the last fix
9125
9126 2003-03-31  John Levon  <levon@movementarian.org>
9127
9128         * bufferlist.C: "Load original" -> "Load Original"
9129
9130         * converter.C:
9131         * exporter.C:
9132         * importer.C:
9133         * lyx_main.C:
9134         * format.C: more Alert cleanups
9135
9136 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9137
9138         * text2.C (removeParagraph): make it take a RowList::iterator as
9139         arg, adjust.
9140         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9141         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9142
9143         * text.C (anchor_row): make it take a RowList::iterator as arg,
9144         adjust.
9145         (computeBidiTables): make it take a const reference to Row instead
9146         of Row pointer, adjust.
9147         (leftMargin): make it take a RowList::iterator as arg, adjust.
9148         (rowBreakPoint): adjust
9149         (breakAgainOneRow): make it take a RowList::iterator as arg,
9150         adjust.
9151         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9152
9153         * bufferview_funcs.C (toggleAndShow): adjust
9154
9155 2003-03-30  John Levon  <levon@movementarian.org>
9156
9157         * Makefile.am:
9158         * BoostFormat.h:
9159         * boost-inst.C: moved to support
9160
9161         * several files: changes as a result
9162
9163 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9164
9165         * text2.C (LyXText): adjust.
9166         (init): adjust
9167         (removeRow): make it take a RowList::iterator as arg, adjust.
9168         (fullRebreak): adjust
9169         (deleteEmptyParagraphMechanism): adjust
9170         (clearPaint): adjust
9171         (postPaint): adjust
9172
9173         * text.C (top_y): adjust
9174         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9175         (breakAgain): make it take a RowList::iterator as arg, adjust.
9176         (breakParagraph): adjust
9177         (insertChar): adjust
9178         (backspace): adjust
9179
9180         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9181         need_break_row, and refresh_row.
9182
9183         * text3.C (dispatch): adjust
9184
9185         * text2.C (checkParagraph): adjust
9186         (setCursor): adjust
9187         (setCursorFromCoordinates): adjust
9188
9189         * text.C (top_y): adjust
9190         (workWidth): adjust
9191         (getRow): make it return a RowList::iterator, adjust
9192         (getRowNearY): make it return a RowList::iterator, adjust
9193
9194         * text2.C (init): adjust
9195         (insertRow): remove function
9196         (insertParagraph): adjust
9197         (redoParagraphs): adjust
9198         (fullRebreak): adjust
9199         (updateCounters): adjust
9200
9201         * text.C (top_y): rewrite to use RowList iterators.
9202         (top_y): adjust
9203         (setHeightOfRow): rewrite to sue RowList iterators.
9204         (appendParagraph): adjust
9205         (breakAgain): adjust
9206         (breakAgainOneRow): adjust
9207         (breakParagraph): adjust
9208         (getRow): adjust
9209         (getRowNearY): adjust, and remove commented code.
9210
9211         * lyxtext.h (firstRow): delete function
9212         (lastRow): delete function
9213         (rows): new function (const and non-const versions.)
9214         (insertRow): delete function
9215
9216         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9217
9218 2003-03-29  John Levon  <levon@movementarian.org>
9219
9220         * BufferView_pimpl.C: always update scrollbar top
9221         because pasting text when we're anchored could mean we
9222         miss an update altogether
9223
9224 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9225
9226         * text2.C (init): use rowlist_.end() and not 0.
9227         (insertRow): change to take a RowList::iterator as arg, adjust
9228         for this.
9229         (insertParagraph): change to take a RowList::iterator as arg,
9230         adjust for this.
9231         (redoParagraphs): remove some debug msgs.
9232
9233         * text.C (appendParagraph): change to take a RowList::iterator
9234         arg, adjust for this.
9235         (breakAgain): add an assert
9236         (breakAgainOneRow): ditto
9237
9238 2003-03-29  John Levon  <levon@movementarian.org>
9239
9240         * text2.C: do not clear selection after inc/decDepth
9241         (bug 550)
9242
9243 2003-03-29  John Levon  <levon@movementarian.org>
9244
9245         * BufferView.C:
9246         * buffer.C: fix broken strerrors according to Lars
9247
9248 2003-03-29  John Levon  <levon@movementarian.org>
9249
9250         * converters.C: more Alert cleanups
9251
9252 2003-03-29  John Levon  <levon@movementarian.org>
9253
9254         * bufferview_funcs.C: remove pointless Alert
9255
9256         * buffer.C: fix confusing error message when
9257         a template is chmoded 000
9258
9259 2003-03-29  John Levon  <levon@movementarian.org>
9260
9261         * BufferView.C:
9262         * BufferView.h:
9263         * BufferView_pimpl.C: Alert fixes
9264
9265         * Makefile.am:
9266         * tabular.C:
9267         * tabular-old.C: remove unused table compat reading
9268
9269 2003-03-29  John Levon  <levon@movementarian.org>
9270
9271         * BufferView.C:
9272         * buffer.C:
9273         * lyx_cb.h:
9274         * lyx_cb.C: more Alert cleanups
9275
9276         * lyxfunc.C: don't allow chktex if not latex document
9277
9278 2003-03-29  John Levon  <levon@movementarian.org>
9279
9280         * lyx_cb.C:
9281         * BufferView.C:
9282         * buffer.C: warnings pushed down from support/,
9283         kill err_alert
9284
9285 2003-03-29  John Levon  <levon@movementarian.org>
9286
9287         * lyxfunc.C: safety check for C-r (revert)
9288
9289 2003-03-29  John Levon  <levon@movementarian.org>
9290
9291         * bufferlist.h:
9292         * bufferlist.C: several UI fixes using Alert::prompt.
9293         Fix the pointless looping quit code. Fix stupid revert
9294         behaviour (bug 938)
9295
9296         * lyxvc.h:
9297         * lyxvc.C:
9298         * lyx_cb.C: use Alert::prompt
9299
9300         * lyx_main.C: remove a silly question
9301
9302         * lyxfunc.C: remove a couple of silly questions,
9303         use Alert::prompt
9304
9305 2003-03-28  John Levon  <levon@movementarian.org>
9306
9307         * text2.C: fix bug 974 (End on empty par)
9308
9309 2003-03-28  John Levon  <levon@movementarian.org>
9310
9311         * BufferView_pimpl.C:
9312         * LyXAction.C:
9313         * lfuns.h: remove do-nothing math greek lfuns
9314
9315 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9316
9317         * lyxgluelength.h (isValidGlueLength): add default arg on
9318         parameter 2. Remove default arg from friend in class.
9319
9320         * lyxlength.h (isValidLength): add default arg on parameter 2.
9321         Remove default arg from friend in class.
9322
9323         * text2.C (LyXText): adjust, initialize refresh_row.
9324         (init): adjust
9325         (removeRow): adjust
9326         (insertRow): adjust
9327         (insertParagraph): adjst
9328         (redoParagraphs): adjust
9329         (fullRebreak): adjust
9330         (updateCounters): adjust
9331         (deleteEmptyParagraphMechanism): first attempt at fixing a
9332         crashing bug.
9333
9334         * text.C (top_y): adjust
9335         (setHeightOfRow): adjust
9336         (getRow): adjust
9337         (getRowNearY): adjust
9338
9339         * lyxtext.h: include RowList.h
9340         (~LyXText): not needed anymore, deleted.
9341         (firstRow): modify for RowList
9342         (lastRow): new function
9343         Delete firstrow and lastrow class variables, add a Rowlist
9344         rowlist_ class variable.
9345
9346         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9347         paragraph is empty.
9348
9349         * RowList.C (insert): fix case where it == begin().
9350
9351 2003-03-26  Angus Leeming  <leeming@lyx.org>
9352
9353         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9354         the thesaurus dialog.
9355
9356 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9357
9358         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9359
9360         * RowList.[Ch]: new files
9361
9362         * ParagraphList.C (erase): handle the case where it == begin
9363         correctly.
9364
9365 2003-03-25  John Levon  <levon@movementarian.org>
9366
9367         * Makefile.am:
9368         * aspell_local.h:
9369         * aspell.C: add new aspell support
9370
9371         * lyxrc.h:
9372         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9373         have it accessible.
9374
9375 2003-03-25  Angus Leeming  <leeming@lyx.org>
9376
9377         * lfuns.h:
9378         * LyXAction.C (init): new LFUN_INSET_INSERT.
9379
9380         * BufferView_pimpl.C (dispatch): split out part of the
9381         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9382
9383         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9384         LFUN_INSET_APPLY.
9385
9386 2003-03-25  Angus Leeming  <leeming@lyx.org>
9387
9388         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9389
9390 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9391
9392         * text2.C:
9393         * text3.C: remove useless row->height(0)
9394
9395 2003-03-25  John Levon  <levon@movementarian.org>
9396
9397         * lyxtext.h:
9398         * text2.C:
9399         * text3.C: rename the refreshing stuff to better names
9400
9401 2003-03-24  John Levon  <levon@movementarian.org>
9402
9403         * BufferView_pimpl.h:
9404         * BufferView_pimpl.C: update layout choice on a mouse
9405         press/release
9406
9407 2003-03-23  John Levon  <levon@movementarian.org>
9408
9409         * Makefile.am: fix commandtags.h reference
9410
9411 2003-03-22  John Levon  <levon@movementarian.org>
9412
9413         * BufferView_pimpl.C:
9414         * lyxtext.h:
9415         * rowpainter.C:
9416         * rowpainter.h:
9417         * text.C:
9418         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9419
9420 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9421
9422         * lyxtext.h:
9423         * text.C: take the rtl methods out of line
9424
9425 2003-03-21 André Pönitz <poenitz@gmx.net>
9426
9427         * metricsinfo.[Ch]: new files containing structures to be passed around
9428         during the two-phase-drawing...
9429
9430 2003-03-21 André Pönitz <poenitz@gmx.net>
9431
9432         * lyxtextclass.C: read 'environment' tag.
9433
9434 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9435
9436         * text2.C (removeRow): fix bug 964
9437
9438 2003-03-20  John Levon  <levon@movementarian.org>
9439
9440         * rowpainter.C:
9441         * text.C:
9442         * text2.C: paint cleanups. Inset::update() dropped font
9443         parameter
9444
9445 2003-03-19  John Levon  <levon@movementarian.org>
9446
9447         * lyxfunc.C: only fitcursor/markDirty if available()
9448
9449 2003-03-19  John Levon  <levon@movementarian.org>
9450
9451         * commandtags.h: rename to ...
9452
9453         * lfuns.h: ... this, and renumber / cleanup
9454
9455 2003-03-19  John Levon  <levon@movementarian.org>
9456
9457         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9458         fit the cursor after an lfun
9459
9460         * BufferView.h:
9461         * BufferView.C:
9462         * BufferView_pimpl.h:
9463         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9464
9465         * LyXAction.C: layout-character should have ReadOnly
9466
9467         * ParagraphParameters.C:
9468         * buffer.C:
9469         * bufferview_funcs.C:
9470         * lyx_cb.C:
9471         * lyxfind.C:
9472         * lyxtext.h:
9473         * text.C:
9474         * text2.C:
9475         * text3.C:
9476         * undo_funcs.C: changes from above
9477
9478 2003-03-18  John Levon  <levon@movementarian.org>
9479
9480         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9481         remove it from update()
9482
9483         * lyxfunc.C: update layout choice after an lfun
9484
9485         * text3.C: remove extra updateLayoutChoice()s
9486
9487 2003-03-18  John Levon  <levon@movementarian.org>
9488
9489         * text.C: top_y change means full repaint, fix
9490         a drawing bug with cursor movement
9491
9492 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9493
9494         * lyxtext.h:
9495         * text.C:
9496         * text2.C: anchor row on setCursor
9497
9498 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9499
9500         * lyxtext.h: remove almost all mutable keywords
9501         * text.C:
9502         * text2.C:
9503         * text3.C: remove const keywords accordingly
9504
9505 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9506
9507         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9508         anon namespace
9509         (TeXEnvironment): ditto
9510         (TeXOnePar): ditto
9511
9512 2003-03-17  John Levon  <levon@movementarian.org>
9513
9514         * text.C (rowBreakPoint): remove attempt to fix displayed
9515         math insets inside a manual label
9516
9517 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9518
9519         * lyxtext.h: remove BufferView* as first arg from almost all class
9520         functions.
9521         * other files: adjust.
9522
9523 2003-03-17  John Levon  <levon@movementarian.org>
9524
9525         * lyxtext.h:
9526         * undo_funcs.C:
9527         * text2.C: more paint cleanups
9528
9529         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9530
9531         * rowpainter.h:
9532         * rowpainter.C: remove "smart" background painting code
9533
9534 2003-03-16  John Levon  <levon@movementarian.org>
9535
9536         * lyxtext.h:
9537         * text.C:
9538         * text2.C:
9539         * text3.C: add helper functions for setting refresh_row/y
9540
9541 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9542
9543         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9544         newline inset which *can* get inserted in the pass_thru layouts.
9545         This is primarily for literate documents.
9546
9547 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9548
9549         * buffer.C: increment LYX_FORMAT to 223
9550
9551 2003-03-14 André Pönitz <poenitz@gmx.net>
9552
9553         * textclass.h: prepare for environment handling, ws changes
9554         * lyxlayout.C: read latexheader and latexfooter tags
9555
9556 2003-03-14  John Levon  <levon@movementarian.org>
9557
9558         * text2.C: rewrite ::status() a bit
9559
9560 2003-03-13  John Levon  <levon@movementarian.org>
9561
9562         * lyxtext.h: add some docs
9563
9564 2003-03-13  John Levon  <levon@movementarian.org>
9565
9566         * lyxtext.h:
9567         * text.C:
9568         * text2.C:
9569         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9570
9571 2003-03-13  John Levon  <levon@movementarian.org>
9572
9573         * text3.C: fix appendix redrawing
9574
9575 2003-03-13  John Levon  <levon@movementarian.org>
9576
9577         * text.C (setHeightOfRow):
9578         * rowpainter.h:
9579         * rowpainter.C: make appendix mark have the text
9580           "Appendix" so the user knows what it is
9581
9582         * LColor.h:
9583         * LColor.C: s/appendixline/appendix/ from above
9584
9585 2003-03-13  John Levon  <levon@movementarian.org>
9586
9587         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9588
9589         * text.C: fix a getChar(pos) bug properly
9590
9591 2003-03-13  Angus Leeming  <leeming@lyx.org>
9592
9593         * commandtags.h:
9594         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9595         Probably only temporary. Let's see how things pan out.
9596
9597         * BufferView.C (unlockInset):
9598         * BufferView_pimpl.C (fitCursor):
9599         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9600
9601         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9602         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9603
9604         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9605         new functions that convert ParagraphParameters to and from a string.
9606
9607         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9608         BufferView::Pimpl's dispatch.
9609         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9610
9611 2003-03-13 André Pönitz <poenitz@gmx.net>
9612
9613         * lyxfunc.C:
9614         * text3.C:
9615         * factory.C: make it aware of InsetEnv
9616
9617 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9618
9619         * text2.C (setCursor): never ask for one past last
9620         (setCursor): add some debugging messages.
9621
9622         * text.C (singleWidth): never ask for one past last
9623         (singleWidth): ditto
9624         (leftMargin): ditto
9625         (rightMargin): ditto
9626         (rowBreakPoint): ditto
9627         (setHeightOfRow): ditto
9628         (prepareToPrint): ditto
9629
9630         * rowpainter.C (paintBackground): never ask for one past last
9631         (paintText): never ask for one past last
9632
9633         * paragraph_pimpl.C (getChar): make the assert stricter, never
9634         allow the one past last pos to be taken
9635
9636         * paragraph.C (getChar): ws changes only
9637
9638         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9639         (numberOfSeparators): ditto
9640         (numberOfHfills): ditto
9641
9642 2003-03-12  John Levon  <levon@movementarian.org>
9643
9644         * author.h:
9645         * author.C:
9646         * bufferparams.h:
9647         * bufferparams.C:
9648         * paragraph_funcs.C: fix per-buffer authorlists
9649
9650 2003-03-12  John Levon  <levon@movementarian.org>
9651
9652         * text.C: fix newline in right address
9653
9654 2003-03-12  Angus Leeming  <leeming@lyx.org>
9655
9656         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9657         duplicate those in LyXFunc::dispatch.
9658
9659         * commandtags.h:
9660         * LyXAction.C:
9661         * ToolbarDefaults.C:
9662         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9663         Add LFUN_FONTFREE_UPDATE.
9664
9665         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9666         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9667
9668         * bufferview_func.[Ch]: several new functions to facilliate
9669         transfer of data to and from the character dialog.
9670
9671 2003-03-12  John Levon  <levon@movementarian.org>
9672
9673         * buffer.C:
9674         * paragraph.h:
9675         * paragraph.C:
9676         * paragraph_funcs.C:
9677         * paragraph_pimpl.C:
9678         * sgml.C:
9679         * tabular.C:
9680         * text.C:
9681         * text3.C: remove META_NEWLINE in favour of an inset
9682
9683         * rowpainter.h:
9684         * rowpainter.C: remove paintNewline (done by inset)
9685
9686 2003-03-12  John Levon  <levon@movementarian.org>
9687
9688         * paragraph_pimpl.C: complain about bad getChar()s
9689         for a while at least
9690
9691 2003-03-12  John Levon  <levon@movementarian.org>
9692
9693         * buffer.h:
9694         * buffer.C: move paragraph read into a separate function,
9695         a little renaming to reflect that.
9696
9697         * bufferparams.h:
9698         * bufferparams.C: remove the author_ids map, not necessary now
9699
9700         * factory.h:
9701         * factory.C: moved Buffer::readInset to here
9702
9703         * paragraph_funcs.h:
9704         * paragraph_funcs.C: readParagraph free function moved from
9705         buffer.C
9706
9707         * tabular.C: name change
9708
9709 2003-03-12  John Levon  <levon@movementarian.org>
9710
9711         * buffer.C:
9712         * ParagraphParameters.C: move par params input to
9713         a read() method
9714
9715         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9716         behave like a normal read from the stream wrt reading
9717         a line vs. a \\token
9718
9719 2003-03-12  John Levon  <levon@movementarian.org>
9720
9721         * paragraph.C:
9722         * ParagraphParameters.h:
9723         * ParagraphParameters.C: move output code to a
9724         ::write() method
9725
9726 2003-03-12  John Levon  <levon@movementarian.org>
9727
9728         * BufferView.C (insertLyXFile):
9729         * buffer.h:
9730         * buffer.C:
9731         * tabular.C: use a parlist iterator for creating the
9732           document.
9733
9734 2003-03-12  John Levon  <levon@movementarian.org>
9735
9736         * buffer.C: make current_change static local not
9737           static file-scope
9738
9739 2003-03-12  John Levon  <levon@movementarian.org>
9740
9741         * buffer.C: fix insertStringAsLines for change tracking
9742
9743 2003-03-12  John Levon  <levon@movementarian.org>
9744
9745         * BufferView.C:
9746         * tabular.C:
9747         * buffer.h:
9748         * buffer.C:
9749         * bufferparams.h:
9750         * bufferparams.C: move author list into params. Rename some
9751           functions. Move the header reading into a separate token
9752           loop. Move the header token reading into BufferParams.
9753
9754 2003-03-12  John Levon  <levon@movementarian.org>
9755
9756         * changes.C: put debug inside lyxerr.debugging() checks
9757
9758 2003-03-11 André Pönitz <poenitz@gmx.net>
9759
9760         * factory.C: make it aware of InsetHFill
9761
9762 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9763
9764         * buffer.C (latexParagraphs): move function from here...
9765         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9766         args.
9767
9768 2003-03-10  Angus Leeming  <leeming@lyx.org>
9769
9770         * LyXAction.C (init): fix bug in poplating array with multiple entries
9771         with the same LFUN (spotted by JMarc).
9772
9773 2003-03-10  John Levon  <levon@movementarian.org>
9774
9775         * text.C:
9776         * text2.C: move getColumnNearX() near its
9777         only call site
9778
9779 2003-03-10  John Levon  <levon@movementarian.org>
9780
9781         * text.C: fix break before a minipage
9782
9783 2003-03-10  John Levon  <levon@movementarian.org>
9784
9785         * text.C: fix the last commit
9786
9787 2003-03-09  John Levon  <levon@movementarian.org>
9788
9789         * lyxtext.h:
9790         * text.C:
9791         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9792         bug 365 (don't break before insets unless needed). Don't
9793         return a value > last under any circumstances.
9794
9795 2003-03-09  Angus Leeming  <leeming@lyx.org>
9796
9797         * BufferView_pimpl.C (trackChanges, dispatch): call
9798         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9799
9800 2003-03-09  Angus Leeming  <leeming@lyx.org>
9801
9802         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9803         than Dialogs::showAboutlyx().
9804
9805 2003-03-09  Angus Leeming  <leeming@lyx.org>
9806
9807         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9808         than Dialogs::showTabularCreate().
9809
9810 2003-03-09  John Levon  <levon@movementarian.org>
9811
9812         * lyxtext.h:
9813         * text.C:
9814         * text2.C: 3rd arg to nextBreakPoint was always the same.
9815           Use references.
9816
9817 2003-03-08  John Levon  <levon@movementarian.org>
9818
9819         * lyxrow.C:
9820         * paragraph.C:
9821         * paragraph.h:
9822         * rowpainter.C:
9823         * text.C:
9824         * text2.C: Remove the "main" bit from the "main body"
9825           notion.
9826
9827 2003-03-08  John Levon  <levon@movementarian.org>
9828
9829         * text.C (leftMargin): The left margin of an empty
9830         manual label paragraph should not include the label width
9831         string length.
9832
9833         * text.C (prepareToPrint): don't attempt to measure hfills
9834         for empty manual label paragraphs - the answer should be 0
9835
9836 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9837
9838         * CutAndPaste.C: remove commented code and reindent.
9839
9840 2003-03-08  John Levon  <levon@movementarian.org>
9841
9842         * lyxfunc.h:
9843         * lyxfunc.C: move reloadBuffer()
9844
9845         * BufferView.h:
9846         * BufferView.C: to here
9847
9848         * lyxvc.C: add comment
9849
9850         * vc-backend.h:
9851         * vc-backend.C: call bv->reload() to avoid
9852           getStatus() check on MENURELOAD
9853
9854 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9855
9856         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9857         to an old format .dep file.
9858
9859 2003-03-07  Angus Leeming  <leeming@lyx.org>
9860
9861         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9862         when the LFUN_MOUSE_RELEASE should have been handled by
9863         inset->localDispatch.
9864
9865 2003-03-07  Angus Leeming  <leeming@lyx.org>
9866
9867         * BufferView_pimpl.C (dispatch):
9868         * LyXAction.C (init):
9869         * ToolbarDefaults.C (init):
9870         * commandtags.h:
9871         * lyxfunc.C (getStatus):
9872         remove LFUN_INSET_GRAPHICS.
9873
9874         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9875
9876 2003-03-07  Angus Leeming  <leeming@lyx.org>
9877
9878         * commandtags.h:
9879         * LyXAction.C (init):
9880         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9881
9882         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9883
9884         * commandtags.h:
9885         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9886
9887         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9888         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9889
9890 2003-03-07  Angus Leeming  <leeming@lyx.org>
9891
9892         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9893         remove "ert".
9894
9895 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9896
9897         * ParagraphList.C (front): new function
9898         (back): implement
9899
9900 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9901
9902         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9903         and top_row_offset_. removed var first_y.
9904         * text.C (top_y):
9905         * text2.C (LyXText, removeRow):
9906         * text3.C:
9907         * BufferView_pimpl.C:
9908         use these methods instead of using first_y
9909
9910 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9911
9912         * text2.C (pasteSelection): adjust for checkPastePossible
9913
9914         * CutAndPaste.C: remove Paragraph * buf and replace with
9915         ParagraphList paragraphs.
9916         (DeleteBuffer): delete
9917         (cutSelection): change the tc type to textclass_type
9918         (copySelection): change the tc type to textclass_type
9919         (copySelection): adjust for ParagraphList
9920         (pasteSelection): change the tc type to textclass_type
9921         (pasteSelection): adjust for Paragraphlist
9922         (nrOfParagraphs): simplify for ParagraphList
9923         (checkPastePossible): simplify for ParagraphList
9924         (checkPastePossible): remove unused arg
9925
9926         * ParagraphList.C (insert): handle the case where there are no
9927         paragraphs yet.
9928
9929         * CutAndPaste.h: make CutAndPaste a namespace.
9930
9931         * text3.C (dispatch): adjust
9932
9933         * text.C (breakParagraph): add a ParagraphList as arg
9934
9935         * paragraph_funcs.C (breakParagraph): change to take a
9936         BufferParams and a ParagraphList as args.
9937         (breakParagraphConservative): ditto
9938         (mergeParagraph): ditto
9939         (TeXDeeper): add a ParagraphList arg
9940         (TeXEnvironment): ditto
9941         (TeXOnePar): ditto
9942
9943         * buffer.C (readLyXformat2): adjust
9944         (insertStringAsLines): adjust
9945         (latexParagraphs): adjust
9946
9947         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9948         (cutSelection): adjust
9949         (pasteSelection): adjust
9950
9951         * BufferView_pimpl.C (insertInset): adjust
9952
9953 2003-03-05  Angus Leeming  <leeming@lyx.org>
9954
9955         * commandtags.h:
9956         * LyXAction.C (init):
9957         * BufferView_pimpl.C (dispatch):
9958         * lyxfunc.C (getStatus):
9959         remove LFUN_CHILD_INSERT.
9960
9961         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9962
9963 2003-03-05  Angus Leeming  <leeming@lyx.org>
9964
9965         * commandtags.h:
9966         * LyXAction.C (init):
9967         * src/factory.C (createInset):
9968         * lyxfunc.C (getStatus):
9969         * text3.C (dispatch):
9970         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9971
9972         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9973
9974 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9975
9976         * ParagraphList.C (insert): handle insert right before end()
9977         (erase): fix cases where it can be first or last paragraph.
9978
9979 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9980
9981         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9982         Paragraph::next and Paragraph::previous
9983         (TeXOnePar): ditto
9984
9985         * text.C (breakParagraph): adjust
9986
9987         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9988         BufferParams& as arg.
9989         (breakParagraph): use ParagraphList::insert
9990         (breakParagraphConservative): take a Buffer* instead of a
9991         BufferParams& as arg.
9992         (breakParagraphConservative): use ParagraphList::insert.
9993
9994         * buffer.C (insertStringAsLines): un-const it
9995         (insertStringAsLines): adjust
9996
9997         * ParagraphList.C (insert): new function
9998
9999         * CutAndPaste.C (pasteSelection): adjust
10000
10001         * text.C (backspace): adjust
10002
10003         * tabular.C (SetMultiColumn): adjust
10004
10005         * CutAndPaste.C (cutSelection): adjust
10006         (pasteSelection): adjust
10007
10008         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10009         Buffer const * as arg
10010
10011         * ParagraphList.C (erase): new function
10012         * paragraph_funcs.C (mergeParagraph): use it
10013         (mergeParagraph): make it take a Buffer* instead of a
10014         BufferParams* as arg
10015
10016         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10017         as arg
10018         (breakParagraphConservative): ditto
10019
10020         * paragraph.h: remove the breakParagraph friend
10021
10022         * paragraph.C (eraseIntern): new function
10023         (setChange): new function
10024
10025         * paragraph_funcs.C (mergeParagraph): make it take a
10026         ParagraphList::iterator instead of a Paragraph *, adjust
10027         accordingly.
10028
10029         * paragraph.h: move an #endif so that the change tracking stuff
10030         also works in the NO_NEXT case.
10031
10032 2003-03-04  Angus Leeming  <leeming@lyx.org>
10033
10034         * commandtags.h:
10035         * LyXAction.C: new LFUN_INSET_MODIFY.
10036
10037         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10038         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10039
10040 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10041
10042         * several files: ws changes only
10043
10044         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10045         (TeXEnvironment): ditto
10046         (TeXDeeper): ditto
10047
10048         * buffer.C (makeLaTeXFile): adjust
10049         (latexParagraphs): make it take ParagraphList::iterator as args
10050
10051 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10052
10053         * buffer.C (latexParagraphs): adjust
10054
10055         * paragraph.C (TeXOnePar): move function...
10056         (optArgInset): move function...
10057         (TeXEnvironment): move function...
10058         * paragraph_pimpl.C (TeXDeeper): move function...
10059         * paragraph_funcs.C: ...here
10060
10061         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10062
10063 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10064
10065         * buffer.C (readInset): remove compability code for old Figure and
10066         InsetInfo insets
10067
10068 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10069
10070         * buffer.C: ws changes
10071         (readInset):
10072
10073         * BufferView_pimpl.C: ditto
10074         * author.C: ditto
10075         * buffer.h: ditto
10076         * bufferlist.h: ditto
10077         * changes.h: ditto
10078         * lyxfunc.C: ditto
10079
10080 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10081
10082         * converter.[Ch]: split into itself +
10083         * graph.[Ch]
10084         * format.[Ch]
10085         * Makefile.am: += graph.[Ch] + format.[Ch]
10086         * MenuBackend.C
10087         * buffer.C
10088         * exporter.C
10089         * importer.C
10090         * lyx_main.C
10091         * lyxfunc.C
10092         * lyxrc.C: added #include "format.h"
10093
10094 2003-02-27  Angus Leeming  <leeming@lyx.org>
10095
10096         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10097           a label.
10098
10099         * factory.C (createInset): add "label" to the factory.
10100
10101         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10102           string and do no more.
10103
10104 2003-02-27  Angus Leeming  <leeming@lyx.org>
10105
10106         * commandtags.h:
10107         * LyXAction.C (init):
10108         * factory.C (createInset):
10109         * BufferView_pimpl.C (dispatch):
10110           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10111
10112         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10113
10114         * lyxfunc.C (dispatch):
10115         * text3.C (dispatch): pass name to params2string.
10116
10117 2003-02-26  Angus Leeming  <leeming@lyx.org>
10118
10119         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10120           blocks together.
10121           Rearrange the ~includes. Strip out the unnecessary ones.
10122
10123         * factory.C (createInset): reformat.
10124           create new insets for the various LFUN_XYZ_APPLY lfuns.
10125
10126 2003-02-26  John Levon  <levon@movementarian.org>
10127
10128         * lyxrow.h:
10129         * lyxrow.C: add isParStart,isParEnd helpers
10130
10131         * paragraph.h: make isInserted/DeletedText take refs
10132
10133         * paragraph_funcs.h:
10134         * paragraph_funcs.C: remove #if 0'd code
10135
10136         * lyxtext.h:
10137         * text3.C:
10138         * text2.C:
10139         * text.C: use lyxrow helpers above.
10140           Move draw and paint routines to RowPainter.
10141           Make several methods use refs not pointers.
10142           Make backgroundColor() const.
10143           Add markChangeInDraw(), isInInset().
10144           Merge changeRegionCase into changeCase.
10145           Make workWidth() shouldn't-happen code into an Assert.
10146
10147         * rowpainter.h:
10148         * rowpainter.C: new class for painting a row.
10149
10150         * vspace.h:
10151         * vspace.C: make inPixels take a ref
10152
10153 2003-02-26  Angus Leeming  <leeming@lyx.org>
10154
10155         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10156         LFUN_REF_APPLY.
10157
10158 2003-02-25  John Levon  <levon@movementarian.org>
10159
10160         * ispell.C: give the forked command a more accurate name
10161
10162 2003-02-22  John Levon  <levon@movementarian.org>
10163
10164         * toc.h:
10165         * toc.C: make TocItem store an id not a Paragraph *
10166           (bug #913)
10167
10168 2003-02-21  Angus Leeming  <leeming@lyx.org>
10169
10170         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10171           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10172           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10173           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10174           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10175           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10176
10177         * BufferView_pimpl.C (dispatch):
10178         * LyXAction.C (init):
10179         * factory.C (createInset):
10180         * lyxfunc.C (getStatus, dispatch):
10181         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10182
10183 2003-02-21  Angus Leeming  <leeming@lyx.org>
10184
10185         * BufferView_pimpl.C (MenuInsertLyXFile):
10186         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10187         * lyxfunc.C (menuNew, open, doImport):
10188           no longer pass a LyXView & to fileDlg.
10189
10190 2003-02-21  Angus Leeming  <leeming@lyx.org>
10191
10192         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10193         * LyXAction.C: change, BIBKEY to BIBITEM.
10194         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10195         Change InsetBibKey to InsetBibitem.
10196         Change BIBKEY_CODE to BIBITEM_CODE.
10197         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10198         * factory.C: replace insetbib.h with insetbibitem.h.
10199         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10200         * paragraph.C: replace insetbib.h with insetbibitem.h.
10201         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10202         Change bibkey() to bibitem().
10203         * text.C: remove insetbib.h.
10204         * text2.C: replace insetbib.h with insetbibitem.h.
10205         change bibkey() to bibitem().
10206         * text3.C: remove insetbib.h.
10207         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10208
10209 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10210
10211         * lyxrc.C (output): enclose user email in quotes (in case there are
10212         several words)
10213
10214 2003-02-18  John Levon  <levon@movementarian.org>
10215
10216         * buffer.h: add std::
10217
10218 2003-02-17  John Levon  <levon@movementarian.org>
10219
10220         * SpellBase.h:
10221         * ispell.h:
10222         * ispell.C:
10223         * pspell.h:
10224         * pspell.C: reworking. Especially in ispell, a large
10225           number of clean ups and bug fixes.
10226
10227         * lyxfunc.C: fix revert to behave sensibly
10228
10229 2003-02-17 André Pönitz <poenitz@gmx.net>
10230
10231         * LyXAction.C:
10232         * commandtags.h: new LFUN_INSERT_BIBKEY
10233
10234         * layout.h:
10235         * lyxlayout.C:
10236         * buffer.C:
10237         * factory.C:
10238         * text.C:
10239         * text2.C:
10240         * text3.C:
10241         * paragraph.[Ch]:
10242         * paragraph_func.C: remove special bibkey handling
10243
10244 2003-02-17  John Levon  <levon@movementarian.org>
10245
10246         * text.C (Delete): fix case where delete at the end of
10247           the very first paragraph would not merge the pars
10248
10249 2003-02-17  John Levon  <levon@movementarian.org>
10250
10251         * lyxrow.C: fix lastPrintablePos()
10252
10253 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10254
10255         * bufferparams.C (writeLaTeX): add a std:here
10256
10257         * buffer.C: and remove a using directive there
10258
10259 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10260
10261         * buffer.C (makeLaTeXFile): move the code that generates the
10262           preamble...
10263
10264         * bufferparams.C (writeLaTeX): ... in this new method
10265
10266         * LaTeXFeatures.C (getEncodingSet): make const
10267           (getLanguages): make const
10268
10269         * MenuBackend.C (binding): returns the binding associated to this
10270           action
10271           (add): sets the status of each item by calling getStatus. Adds
10272           some intelligence.
10273           (read): add support for OptSubMenu
10274           (expand): remove extra separator at the end of expanded menu
10275
10276 2003-02-15  John Levon  <levon@movementarian.org>
10277
10278         * BufferView.C:
10279         * BufferView_pimpl.C:
10280         * bufferlist.h:
10281         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10282           inset code that had no actual effect. Remove unneeded status
10283           code.
10284
10285 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10286
10287         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10288           in preamble
10289
10290 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10291
10292         * text.C (drawLengthMarker): also draw an arrow marker for
10293           symbolic lengths (medskip...)
10294
10295 2003-02-14  John Levon  <levon@movementarian.org>
10296
10297         * tabular.h:
10298         * tabular.C: better method names
10299
10300 2003-02-14  John Levon  <levon@movementarian.org>
10301
10302         * BufferView_pimpl.C:
10303         * bufferlist.C:
10304         * buffer.C:
10305         * converter.C:
10306         * lyx_cb.C:
10307         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10308           it's a more accurate name. Remove some pointless uses.
10309
10310 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10311
10312         * text2.C (LyXText): change order of initilizers to shut off
10313           warnings
10314
10315 2003-02-14  John Levon  <levon@movementarian.org>
10316
10317         * buffer.C: use ParIterator for getParFromID()
10318
10319         * paragraph.h:
10320         * paragraph.C:
10321         * paragraph_pimpl.h:
10322         * paragraph_pimpl.C: remove unused getParFromID()
10323
10324 2003-02-14  John Levon  <levon@movementarian.org>
10325
10326         * buffer.C: remove some very old #if 0'd parse code
10327
10328 2003-02-13  John Levon  <levon@movementarian.org>
10329
10330         * text.h:
10331         * text.C:
10332         * text2.C: move hfillExpansion(), numberOfSeparators(),
10333           rowLast(), rowLastPrintable(), numberofHfills(),
10334           numberOfLabelHfills() ...
10335
10336         * lyxrow.h:
10337         * lyxrow.C: ... to member functions here.
10338
10339         * paragraph.h:
10340         * paragraph.C:
10341         * lyxtext.h:
10342         * text.C: remove LyXText::beginningOfMainBody(), and call
10343           p->beginningOfMainBody() directly. Move the check for
10344           LABEL_MANUAL into the latter.
10345
10346         * text.h:
10347         * text.C:
10348         * text2.C:
10349         * vspace.C:
10350         * BufferView.h:
10351         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10352
10353         * text.h:
10354         * text.C:
10355         * text2.C:
10356         * text3.C:
10357         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10358           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10359
10360 2003-02-13  John Levon  <levon@movementarian.org>
10361
10362         * CutAndPaste.C: remove debug
10363
10364 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10365
10366         * paragraph.C (asString): remove two unused variables
10367
10368         * lyxtextclass.C (readTitleType):
10369           (Read):
10370           (LyXTextClass): handle new members titletype_ and titlename_
10371
10372         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10373
10374 2003-02-09  John Levon  <levon@movementarian.org>
10375
10376         * buffer.h:
10377         * buffer.C: replace hand-coded list with a map for the dep clean
10378
10379 2003-02-08  John Levon  <levon@movementarian.org>
10380
10381         * LaTeX.C: consolidate code into showRunMessage() helper
10382
10383 2003-02-08  John Levon  <levon@movementarian.org>
10384
10385         * lyxfind.C:
10386         * lyxtext.h:
10387         * text2.C:
10388         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10389           and pass the size in explicitly
10390
10391         * BufferView_pimpl.h:
10392         * BufferView_pimpl.C:
10393         * BufferView.h:
10394         * BufferView.C: add getCurrentChange()
10395
10396         * BufferView_pimpl.h:
10397         * BufferView_pimpl.C: handle change lfuns
10398
10399         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10400           for changes. Mark pasted paragraphs as new.
10401
10402         * support/lyxtime.h:
10403         * support/lyxtime.C:
10404         * DepTable.C: abstract time_t as lyx::time_type
10405
10406         * LColor.h:
10407         * LColor.C: add colours for new text, deleted text, changebars
10408
10409         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10410           package use "usenames" option.
10411
10412         * commandtags.h:
10413         * lyxfunc.C:
10414         * LyXAction.C: add change lfuns
10415
10416         * Makefile.am:
10417         * author.h:
10418         * author.C: author handling
10419
10420         * buffer.h:
10421         * buffer.C: add a per-buffer author list, with first entry as
10422           current author. Handle new .lyx tokens for change tracking. Output
10423           author list to .lyx file. Output dvipost stuff to .tex preamble.
10424           Bump lyx format to 222.
10425
10426         * bufferlist.h:
10427         * bufferlist.C: add setCurrentAuthor() to reset current author details
10428           in all buffers.
10429
10430         * bufferparams.h:
10431         * bufferparams.C: add param for tracking
10432
10433         * bufferview_funcs.C: output change info in minibuffer
10434
10435         * Makefile.am:
10436         * changes.h:
10437         * changes.C: add change-tracking structure
10438
10439         * debug.h:
10440         * debug.C: add CHANGES debug flag
10441
10442         * lyxfind.h:
10443         * lyxfind.C: add code for finding the next change piece
10444
10445         * lyxrc.h:
10446         * lyxrc.C: add user_name and user_email
10447
10448         * lyxrow.h:
10449         * lyxrow.C: add a metric for the top of the text line
10450
10451         * lyxtext.h:
10452         * text.C: implement accept/rejectChange()
10453
10454         * lyxtext.h:
10455         * text.C: paint changebars. Paint new/deleted text in the chosen
10456         colours. Strike through deleted text.
10457
10458         * paragraph.h:
10459         * paragraph.C:
10460         * paragraph_pimpl.h:
10461         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10462           in the current change to the insert functions. Rework erase to
10463           mark text as deleted, adding an eraseIntern() and a range-based
10464           erase(). Implement per-paragraph change lookup and
10465           accept/reject.
10466
10467         * paragraph_funcs.C: Fixup paste for change tracking.
10468
10469         * tabular.C: mark added row/columns as new.
10470
10471         * text.C: fix rowLast() to never return -1. Don't allow
10472           spellchecking of deleted text. Track transpose changes. Don't
10473           allow paragraph break or merge where appropriate.
10474
10475         * text2.C: leave cursor at end of selection after a cut.
10476
10477 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10478
10479         * text.C (getLengthMarkerHeight):
10480         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10481         visible on screen too.
10482
10483 2003-02-07  John Levon  <levon@movementarian.org>
10484
10485         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10486
10487 2003-02-05  Angus Leeming  <leeming@lyx.org>
10488
10489         * lyxserver.C (read_ready): revert my patch of 11 September last year
10490         as it sends PC cpu through the roof. Presumably this means that
10491         the lyxserver will no longer run on an Alpha...
10492
10493 2003-01-30  Angus Leeming  <leeming@lyx.org>
10494
10495         * factory.C (createInset): create an InsetCommandParam of type "index"
10496         and use it to 'do the right thing'.
10497
10498         * text2.C (getStringToIndex): ensure that cursor position is always
10499         reset to the reset_cursor position.
10500
10501 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10502
10503         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10504         disabled.
10505
10506 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10507
10508         * bufferview.C:
10509         * lyxcb.C:
10510         * lyxfunc.C: Output messages with identical spelling, punctuation,
10511         and spaces
10512
10513 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10514
10515         * MenuBackend.C (expandFormats): List only viewable export formats
10516         in "View" menu
10517
10518         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10519         message
10520
10521         * lyxfunc.C (getStatus): Make sure that formats other than
10522         "fax" can also be disabled
10523
10524 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10525
10526         * text3.C (dispatch): put the lfuns that insert insets in 3
10527         groups, and call doInsertInset with appropriate arguments.
10528         (doInsertInset): new function, that creates an inset and inserts
10529         it according to some boolean parameters.
10530
10531 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10532
10533         * buffer.C (readFile): remember to pass on 'par' when calling
10534         readFile recursively.
10535
10536 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10537
10538         * MenuBackend.C (expandFormats): add "..." to import formats.
10539
10540 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10541
10542         * paragraph.C (asString): Remove XForms RTL hacks.
10543
10544 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10545         * buffer.C: fix typo
10546
10547 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10548
10549         * Makefile.am (LIBS): delete var
10550         (lyx_LDADD): add @LIBS@ here instead.
10551
10552 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10553
10554         * Clarify the meaning of "wheel mouse jump"
10555
10556 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10557
10558         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10559         tabular in a float
10560
10561 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10562
10563         * importer.C (Loaders): do not preallocate 3 elements in the
10564         vector, since one ends up with 6 elements otherwise
10565
10566 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10567
10568         * DepTable.C (write): write the file name as last element of the
10569         .dep file (because it may contain spaces)
10570         (read): read info in the right order
10571
10572 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10573
10574         * paragraph_pimpl.C (simpleTeXBlanks):
10575         (simpleTeXSpecialChars):
10576         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10577
10578         * tabular.C (latex): add some missing case statements. Reindent.
10579
10580         * MenuBackend.C (expandToc): remove unused variable.
10581
10582 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10583
10584         * LColor.C:
10585         * LaTeX.C:
10586         * LyXAction.C:
10587         * MenuBackend.C:
10588         * buffer.C:
10589         * exporter.C:
10590         * lyxfunc.C:
10591         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10592         and the like.
10593
10594 2003-01-05  John Levon  <levon@movementarian.org>
10595
10596         * BufferView.h:
10597         * BufferView.C: add getEncoding()
10598
10599         * kbsequence.h:
10600         * kbsequence.C: do not store last keypress
10601
10602         * lyxfunc.h:
10603         * lyxfunc.C: store last keypress here instead. Pass encoding
10604           to getISOEncoded()
10605
10606 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10607
10608         * lyx_main.C (init): remove annoying error message when following
10609         symbolic links (bug #780)
10610
10611 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10612
10613         * text.C (insertChar):
10614         * lyxrc.C (getDescription): remove extra spaces
10615
10616 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10617
10618         * lyxrc.C (getDescription): remove extra spaces
10619
10620 2002-12-20  John Levon  <levon@movementarian.org>
10621
10622         * text3.C: hack fix for page up/down across tall rows
10623
10624 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10625
10626         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10627         not been invoked
10628
10629 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10630
10631         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10632         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10633         thesaurus is not compiled in
10634
10635 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10636
10637         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10638
10639 2002-12-16  Angus Leeming  <leeming@lyx.org>
10640
10641         * lyxrc.[Ch]:
10642         * lyx_main.C (init): remove override_x_deadkeys stuff.
10643
10644 2002-12-12  John Levon  <levon@movementarian.org>
10645
10646         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10647           insert. Only remove shift modifier under strict
10648           circumstances.
10649
10650 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10651
10652         * MenuBackend.C (expandToc): fix crash.
10653
10654 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10655
10656         * MenuBackend.C (expandToc): gettext on float names.
10657
10658 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10659
10660         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10661         implement bool empty() [bug 490]
10662
10663 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10664
10665         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10666
10667 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10668
10669         * several files: ws changes
10670
10671 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10672
10673         * text2.C (setCounter): clean up a bit, use boost.format.
10674         (updateCounters): initialize par upon declaration.
10675
10676         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10677         if the layout exists. We do not just store the layout any more.
10678         (SwitchLayoutsBetweenClasses): use boost.format
10679
10680 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10681
10682         * converter.C (convert): if from and to files are the same, use a
10683         temporary files as intermediary
10684
10685 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10686
10687         * commandtags.h:
10688         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10689
10690 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10691
10692         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10693
10694 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10695
10696         * tabular.C (asciiPrintCell): use string(size, char) instead of
10697         explicit loop.
10698
10699         * sgml.C (openTag): fix order of arguments to string constructor
10700         (closeTag): ditto
10701
10702         * lyxfunc.C (dispatch): use boost.format
10703
10704         * lots of files: change "c" -> 'c'
10705
10706 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10707
10708         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10709
10710 2002-11-25  Angus Leeming  <leeming@lyx.org>
10711
10712         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10713
10714         * lyx_main.C (init): compile fix.
10715
10716 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10717
10718         * lyx_cb.C (start): boost.formatify
10719         do not include <iostream>
10720
10721         * lengthcommon.C: ws only
10722
10723         * boost-inst.C,BoostFormat.h: add more explict instantations
10724
10725 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10726
10727         * lots of files: handle USE_BOOST_FORMAT
10728
10729 2002-11-21  John Levon  <levon@movementarian.org>
10730
10731         * pspell.C: fix compile
10732
10733 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10734
10735         * lyxfunc.C (dispatch): use boost::format
10736         (open): ditto
10737         (doImport): ditto
10738
10739         * lyxfont.C (stateText): use boost::format
10740
10741         * lyx_main.C (LyX): use boost::format
10742         (init): ditto
10743         (queryUserLyXDir): ditto
10744         (readRcFile): ditto
10745         (parse_dbg): ditto
10746         (typedef boost::function): use the recommened syntax.
10747
10748         * importer.C (Import): use boost::format
10749
10750         * debug.C (showLevel): use boost::format
10751
10752         * converter.C (view): use boost::format
10753         (convert): ditto
10754         (move): ditto
10755         (scanLog): ditto
10756
10757         * bufferview_funcs.C (currentState): use boost::format
10758
10759         * bufferlist.C (emergencyWrite): use boost::format
10760
10761         * buffer.C (readLyXformat2): use boost::format
10762         (parseSingleLyXformat2Token): ditto
10763
10764         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10765
10766         * LaTeX.C (run): use boost::format
10767
10768         * Chktex.C (scanLogFile): use boost::format
10769
10770         * BufferView_pimpl.C (savePosition): use boost::format
10771         (restorePosition): ditto
10772         (MenuInsertLyXFile): ditto
10773
10774         * BoostFormat.h: help file for explicit instation.
10775
10776 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10777
10778         * tabular.C (latex): Support for block alignment in fixed width
10779         columns.
10780
10781 2002-11-17  John Levon  <levon@movementarian.org>
10782
10783         * BufferView_pimpl.C:
10784         * lyx_cb.C:
10785         * lyxfunc.C: split filedialog into open/save
10786
10787 2002-11-08  Juergen Vigna  <jug@sad.it>
10788
10789         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10790         by my last patch (hopefully).
10791
10792 2002-11-08  John Levon  <levon@movementarian.org>
10793
10794         * iterators.h:
10795         * iterators.C:
10796         * buffer.h:
10797         * buffer.C:
10798         * paragraph.h:
10799         * paragraph.C:
10800         * toc.h:
10801         * toc.C: ParConstIterator, and use it (from Lars)
10802
10803 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10804
10805         * lyxtextclass.[Ch]: revise and add doxygen comments
10806
10807 2002-11-07  John Levon  <levon@movementarian.org>
10808
10809         * text.C: fix progress value for spellchecker
10810
10811         * toc.C: fix navigate menu for insetwrap inside minipage
10812
10813         * paragraph_funcs.C: added FIXME for suspect code
10814
10815 2002-11-07  John Levon  <levon@movementarian.org>
10816
10817         * BufferView_pimpl.C: fix redrawing of insets
10818           on buffer switch
10819
10820 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10821
10822         * text2.C (updateCounters): fix bug 668
10823
10824 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10825
10826         * text3.C (dispatch): Do not make the buffer dirty when moving the
10827         cursor.
10828
10829 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10830
10831         * vc-backend.C: STRCONV
10832         (scanMaster): ditto
10833
10834         * text2.C (setCounter): STRCONV
10835
10836         * paragraph.C (asString): STRCONV
10837
10838         * lyxlength.C (asString): STRCONV
10839         (asLatexString): ditto
10840
10841         * lyxgluelength.C (asString): STRCONV
10842         (asLatexString): ditto
10843
10844         * lyxfunc.C (dispatch): STRCONV
10845         (open): ditto
10846
10847         * lyxfont.C (stateText): STRCONV
10848
10849         * importer.C (Import): STRCONV
10850
10851         * counters.C (labelItem): STRCONV
10852         (numberLabel): ditto
10853         (numberLabel): remove unused ostringstream o
10854
10855         * chset.C: STRCONV
10856         (loadFile): ditto
10857
10858         * bufferview_funcs.C (currentState): STRCONV
10859
10860         * buffer.C (readFile): STRCONV
10861         (asciiParagraph): ditto
10862         (makeLaTeXFile): ditto
10863
10864         * Spacing.C (writeEnvirBegin): STRCONV
10865
10866         * LaTeXFeatures.C (getLanguages): STRCONV
10867         (getPackages): ditto
10868         (getMacros): ditto
10869         (getBabelOptions): ditto
10870         (getTClassPreamble): ditto
10871         (getLyXSGMLEntities): ditto
10872         (getIncludedFiles): ditto
10873
10874         * LaTeX.C: STRCONV
10875         (run): ditto
10876         (scanAuxFile): ditto
10877         (deplog): ditto
10878
10879         * LString.h: add the STRCONV macros
10880
10881         * BufferView_pimpl.C (savePosition): STRCONV
10882         (restorePosition): ditto
10883         (MenuInsertLyXFile): ditto
10884
10885         * vc-backend.C (scanMaster): change from submatch[...] to
10886         submatch.str(...)
10887
10888         * funcrequest.C: include config.h
10889
10890         * factory.C: include config.h
10891
10892         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10893
10894         * box.C: include config.h
10895
10896         * LaTeX.C (scanAuxFile): change from submatch[...] to
10897         submatch.str(...)
10898         (deplog): ditto
10899
10900 2002-10-25  Angus Leeming  <leeming@lyx.org>
10901
10902         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10903
10904         * ispell.[Ch] (setError): new method.
10905         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10906         Use setError() insetead of goto END.
10907
10908         * lyx_cb.C (AutoSave): move out child process into new class
10909         AutoSaveBuffer.
10910
10911 2002-10-30  John Levon  <levon@movementarian.org>
10912
10913         * text3.C: make start appendix undoable
10914
10915 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10916
10917         * lyxlength.C (inPixels): Fix returned value.
10918
10919         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10920         environment.
10921
10922 2002-10-24  Angus Leeming  <leeming@lyx.org>
10923
10924         * lyxgluelength.h: no need to forward declare BufferParams
10925         or BufferView, so don't.
10926
10927 2002-10-21  John Levon  <levon@movementarian.org>
10928
10929         * BufferView.C: menuUndo ->undo, redo
10930
10931         * BufferView.h: document, remove dead, make some methods private
10932
10933         * paragraph_funcs.h:
10934         * paragraph_funcs.C:
10935         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10936
10937         * buffer.h:
10938         * buffer.C:
10939         * sgml.h:
10940         * sgml.C: move sgml open/close tag into sgml.C
10941
10942         * bufferview_funcs.h: unused prototype
10943
10944         * lyxfunc.h:
10945         * lyxfunc.C: remove unused
10946
10947         * lyxtext.h:
10948         * text.C: remove unused
10949
10950 2002-10-21  John Levon  <levon@movementarian.org>
10951
10952         * BufferView.h:
10953         * BufferView.C:
10954         * BufferView_pimpl.h:
10955         * BufferView_pimpl.C: fix mouse wheel handling based on
10956           patch from Darren Freeman
10957
10958 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10959
10960         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10961
10962 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10963
10964         * lyxlength.C (inPixels): Fix hanfling of negative length.
10965         Fix LyXLength::MU case.
10966
10967 2002-10-16  John Levon  <levon@movementarian.org>
10968
10969         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10970
10971 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10972
10973         * converter.C (view): add support for $$i (file name) and $$p
10974         (file path) for the viewer command. If $$i is not specified, then
10975         it is appended to the command (for compatibility with old syntax)
10976
10977 2002-10-14  Juergen Vigna  <jug@sad.it>
10978
10979         * undo_funcs.C (textHandleUndo): alter the order in which the
10980         new undopar is added to the LyXText, as we have to set first
10981         the right prev/next and then add it as otherwise the rebuild of
10982         LyXText is not correct. Also reset the cursor to the right paragraph,
10983         with this IMO we could remove the hack in "redoParagraphs()".
10984
10985 2002-10-09  Angus Leeming  <leeming@lyx.org>
10986
10987         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10988         to turn off an optimisation if a new inset is to be inserted.
10989
10990 2002-10-11 André Pönitz <poenitz@gmx.net>
10991
10992         * lyxtext.h: make some functions public to allow access
10993         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10994
10995 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10996
10997         * text3.C (dispatch): when changing layout, avoid an infinite loop
10998         [bug #652]
10999
11000 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11001
11002         * lyxrc.C (read): treat a viewer or converter command of "none" as
11003         if it were empty.
11004
11005         * MenuBackend.C (expandFormats): for an update, also allow the
11006         formats that are not viewable
11007
11008         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11009         script if it is newer than the lyxrc.defaults in user directory
11010
11011 2002-10-07 André Pönitz <poenitz@gmx.net>
11012
11013         * text.C: Vitaly Lipatov's small i18n fix
11014
11015 2002-09-25  Angus Leeming  <leeming@lyx.org>
11016
11017         * ispell.h: doxygen fix.
11018
11019 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11020
11021         * buffer.h (readFile): Add a new argument to the method, to allow
11022         reading of old-format templates.
11023
11024 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11025
11026         * toc.C (getTocList): Get TOC from InsetWrap.
11027
11028 2002-09-16  John Levon  <levon@movementarian.org>
11029
11030         * lyxfunc.C: check tabular for cut/copy too
11031
11032 2002-09-12  John Levon  <levon@movementarian.org>
11033
11034         * LyXAction.C: tidy
11035
11036         * factory.h:
11037         * factory.C: add header
11038
11039         * paragraph_funcs.h:
11040         * paragraph_funcs.C: cleanup
11041
11042 2002-09-11  John Levon  <levon@movementarian.org>
11043
11044         * PrinterParams.h: odd/even default to true
11045
11046 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11047
11048         * PrinterParams.h: update printer parameters for new xforms dialog
11049
11050 2002-09-11  Angus Leeming  <leeming@lyx.org>
11051
11052         * lyxserver.C (read_ready): re-write to make it more transparent
11053         and to make it work in coherent fashion under Tru64 Unix.
11054
11055 2002-09-11  André Pönitz <poenitz@gmx.net>
11056
11057         * commandtags.h:
11058         * LyXAction.C:
11059         * text3.C: implement LFUN_WORDSEL
11060
11061 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11062
11063         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11064         make floatlist_ a boost::shared_ptr<FloatList>
11065
11066         * lyxtextclass.C: include FloatList.h
11067         (LyXTextClass): initialize floatlist_
11068         (TextClassTags): add TC_NOFLOAT
11069         (Read): match "nofloat" to TC_NOFLOAT and use it.
11070         (readFloat): modify call to floatlist_
11071         (floats): ditto
11072         (floats): ditto
11073
11074         * FloatList.[Ch] (FloatList): remove commented out float
11075         initialization.
11076         (erase): new function
11077
11078 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11079
11080         * MenuBackend.C (expandToc): fix crash when there is no document
11081         open
11082
11083 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11084
11085         * many files: Add insetwrap.
11086
11087 2002-09-09  John Levon  <levon@movementarian.org>
11088
11089         * text2.C: remove confusing and awkward depth wraparound
11090
11091 2002-09-09  John Levon  <levon@movementarian.org>
11092
11093         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11094
11095         * buffer.h:
11096         * buffer.C: remove getIncludeonlyList()
11097
11098         * paragraph.C:
11099         * lyxfunc.C: remove headers
11100
11101 2002-09-09  Juergen Vigna  <jug@sad.it>
11102
11103         * text.C (getColumnNearX): fix form Michael this is most
11104         probably a cut&paste bug.
11105
11106 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11107
11108         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11109
11110         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11111         references, ws changes.
11112
11113         * text2.C (init): update counters after init
11114         (insertParagraph): no need to set counter on idividual paragraphs.
11115         (setCounter): access the counters object in the textclass object
11116         on in the buffer object.
11117         (updateCounters): ditto
11118
11119         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11120         shared_ptr<Counters> to avoid loading counters.h in all
11121         compilation units.
11122         (LyXTextClass): initialize ctrs_
11123         (TextClassTags): add TC_COUNTER, and ...
11124         (Read): use it here.
11125         (CounterTags): new tags
11126         (readCounter): new function
11127         (counters): new funtion
11128         (defaultLayoutName): return a const reference
11129
11130         * counters.C (Counters): remove contructor
11131         (newCounter): remove a couple of unneeded statements.
11132         (newCounter): simplify a bit.
11133         (numberLabel): some small formatting changes.
11134
11135         * buffer.[Ch]: remove all traces of counters, move the Counters
11136         object to the LyXTextClass.
11137
11138 2002-09-06  Alain Castera  <castera@in2p3.fr>
11139
11140         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11141         package to set the horizontal alignment on fixed width columns.
11142
11143         * lyx_sty.C:
11144         * lyx_sty.h: added tabularnewline macro def.
11145
11146         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11147
11148 2002-09-06  John Levon  <levon@movementarian.org>
11149
11150         * LyXAction.C: tooltips for sub/superscript
11151
11152         * MenuBackend.C: a bit more verbose
11153
11154         * lyxfunc.C: tiny clean
11155
11156         * undo_funcs.C: document undo_frozen
11157
11158 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11159
11160         * counters.C (Counters): add missing algorithm counter.
11161
11162         * text2.C (setCounter): lookup the counter with layouts latexname
11163         instead of by section number.
11164         (setCounter): use a hackish way to lookup the correct enum
11165         counter.
11166         a float name->type change
11167         reset enum couners with counter name directly instead of depth value.
11168
11169         * counters.C (Counters): remove the push_backs, change to use the
11170         float type not the float name.
11171         (labelItem): remove unused string, float name->type change
11172
11173         * counters.h: don't include vector, loose the enums and sects vectors
11174
11175 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11176
11177         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11178         (Read): add float->TC_FLOAT to textclassTags
11179         (Read): and handle it in the switch
11180         (readFloat): new function
11181
11182         * FloatList.C (FloatList): comment out the hardcoded float
11183         definitions.
11184
11185         * lyxlayout.h: ws change.
11186
11187 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11188
11189         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11190
11191 2002-09-03  Angus Leeming  <leeming@lyx.org>
11192
11193         * BufferView_pimpl.h: qualified name is not allowed in member
11194         declaration: WorkArea & Pimpl::workarea() const;
11195
11196         * factory.C: added using std::endl directive.
11197
11198         * text3.C: added using std::find and std::vector directives.
11199
11200 2002-08-29  André Pönitz <poenitz@gmx.net>
11201
11202         * lyxtext.h:
11203         * text2.C: remove unused member number_of_rows
11204
11205         * Makefile.am:
11206         * BufferView2.C: remove file, move contents to...
11207         * BufferView.C: ... here
11208
11209         * BufferView_pimpl.C:
11210         * factory.C: move more inset creation to factory
11211
11212         * vspace.C: avoid direct usage of LyXText, ws changes
11213
11214         * BufferView.[Ch]:
11215                 don't provide direct access to WorkArea, use two simple
11216                 acessors haveSelction() and workHeight() instead
11217
11218
11219 2002-08-29  John Levon  <levon@movementarian.org>
11220
11221         * BufferView_pimpl.C (dispatch): do not continue when
11222           no buffer
11223
11224 2002-08-28  André Pönitz <poenitz@gmx.net>
11225
11226         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11227
11228         * BufferView.h:
11229         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11230
11231 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11232
11233         * buffer.C: increment LYX_FORMAT to 221
11234
11235         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11236         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11237
11238         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11239
11240         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11241
11242 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11243
11244         * factory.C (createInset): use LyXTextClass::floats
11245
11246         * MenuBackend.C (expandFloatListInsert):
11247         (expandFloatInsert):
11248         (expandToc):
11249
11250         * text2.C (setCounter):
11251
11252         * LaTeXFeatures.C (useFloat):
11253         (getFloatDefinitions):
11254
11255         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11256
11257         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11258         floatlist_, with accessor floats().
11259
11260         * FloatList.h: remove global FloatList
11261
11262 2002-08-26  André Pönitz <poenitz@gmx.net>
11263
11264         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11265
11266         * BufferView.h:
11267         * BufferView2.C:
11268         * BufferView_pimpl.C:
11269         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11270
11271 2002-08-25  John Levon  <levon@movementarian.org>
11272
11273         * LyXAction.C: fix margin note description
11274
11275 2002-08-24  John Levon  <levon@movementarian.org>
11276
11277         * buffer.C:
11278         * bufferlist.C:
11279         * bufferview_funcs.C:
11280         * lyxfont.C:
11281         * undo_funcs.C: cleanups
11282
11283         * lyxfunc.C: disable CUT/COPY when no selection
11284
11285 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11286
11287         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11288         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11289
11290         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11291         Add backward compatibility to "mono", "gray" and "no".
11292
11293 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11294
11295         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11296         (and file_format >= 200).
11297
11298 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11299
11300         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11301
11302 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11303
11304         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11305
11306 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11307
11308         * BufferView_pimpl.C:
11309         * LyXAction.C:
11310         * buffer.C:
11311         * commandtags.h:
11312         * lyxfunc.C:
11313         * paragraph.[Ch]:
11314         * text2.C:
11315         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11316         inset and code to make it  work with the paragraph code. The inset
11317         can be anywhere in the paragraph, but will only do the expected
11318         thing in LaTeX if the layout file contains the parameter line
11319                         OptionalArgs    1
11320         (or more generally, a nonzero value) for that layout.
11321
11322 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11323
11324         * paragraph.h: remove the declaration of undefined counters class
11325         function.
11326
11327 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11328
11329         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11330         Dr. Richard Hawkins.
11331
11332 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11333
11334         * paragraph_funcs.h: remove some unneeded includes
11335
11336         * text.C (backspace): pasteParagraph now in global scipe
11337
11338         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11339         (pasteSelection): ditto
11340
11341         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11342         * paragraph_funcs.C (pasteParagraph): ... here
11343
11344 2002-08-20  André Pönitz <poenitz@gmx.net>
11345
11346         * commandtags.h: new LFUNs for swapping/copying table row/colums
11347
11348         * LyXAction.C:
11349         * lyxfunc.C: support for new lfuns
11350
11351 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11352
11353         * tabular.C:
11354         * buffer.[Ch]: remove NO_COMPABILITY stuff
11355
11356 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11357
11358         * boost.C (throw_exception): new file, with helper function for
11359         boost compiled without exceptions.
11360
11361         * paragraph.h:
11362         * lyxlength.C:
11363         * buffer.C:
11364         * ParameterStruct.h:
11365         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11366
11367         * bufferlist.C (emergencyWriteAll): use boost bind
11368
11369         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11370
11371         * text.C: include paragraph_funcs.h
11372         (breakParagraph): breakParagraph is now in global scope
11373
11374         * paragraph_funcs.[Ch]: new files
11375
11376         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11377         global scope
11378
11379         * buffer.C: include paragraph_funcs.h
11380         (insertStringAsLines): breakParagraph is now in global scope
11381
11382         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11383         paragraph_funcs.C
11384
11385         * CutAndPaste.C: include paragraph_funcs.h
11386         (cutSelection): breakParagraphConservative is now in global scope
11387         (pasteSelection): ditto
11388
11389         * buffer.h: declare oprator== and operator!= for
11390         Buffer::inset_iterator
11391
11392         * bufferlist.C (emergencyWrite): don't use fmt(...)
11393
11394         * text3.C: add using std::endl
11395
11396         * BufferView.C (moveCursorUpdate): remove default arg
11397
11398 2002-08-20  André Pönitz <poenitz@gmx.net>
11399
11400         * buffer.[Ch]: move inline functions to .C
11401
11402         * BufferView2.C:
11403         * BufferView_pimpl.C:
11404         * text.C:
11405         * buffer.[Ch]: use improved inset_iterator
11406
11407         * buffer.C:
11408         * paragraph.[Ch]: write one paragraph at a time
11409
11410 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11411
11412         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11413         style if style is not specified.
11414
11415 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11416
11417         * text2.C (setCounter): when searching for right label for a
11418         caption, make sure to recurse to parent insets (so that a caption
11419         in a minipage in a figure float works) (bug #568)
11420
11421 2002-08-20  André Pönitz <poenitz@gmx.net>
11422
11423         * text3.C: new file for LyXText::dispatch() and helpers
11424
11425         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11426
11427         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11428
11429 2002-08-19  André Pönitz <poenitz@gmx.net>
11430
11431         * lyxtext.h:
11432         * text.C: new LyXText::dispatch()
11433
11434         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11435
11436 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11437
11438         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11439
11440         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11441         Hebrew text.
11442
11443 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11444
11445         * Makefile.am: use $(variables) instead of @substitutions@
11446
11447 2002-08-15  André Pönitz <poenitz@gmx.net>
11448
11449         * lyxfunc.C:
11450         * BufferView_pimpl.C: streamlining mathed <-> outer world
11451         interaction
11452
11453         * commandtags.h:
11454         * LyXAction.C: remove unused LFUN_MATH
11455
11456 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11457
11458         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11459
11460 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11461
11462         * paragraph.C (Paragraph): reformat a bit
11463         (cutIntoMinibuffer): use builtin InsetList function instad of
11464         doing it manually.
11465         (getInset): ditto
11466
11467         * buffer.C: include boost/bind.hpp, add using std::for_each
11468         (writeFileAscii): use ParagraphList iterators
11469         (validate): use for_each for validate traversal of paragraphs
11470         (getBibkeyList): use ParagraphList iterators
11471         (resizeInsets): use for_each to resizeInsetsLyXText for all
11472         paragraphs.
11473         (getParFromID): use ParagraphList iterators
11474
11475         * BufferView2.C (lockInset): use paragraph list and iterators
11476
11477 2002-08-14  John Levon  <levon@movementarian.org>
11478
11479         * lyxserver.C: remove spurious xforms include
11480
11481 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11482
11483         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11484
11485 2002-08-13  André Pönitz <poenitz@gmx.net>
11486
11487         * LyXAction.[Ch]:
11488         * lyxfunc.C: further cleaning
11489
11490 2002-08-13  André Pönitz <poenitz@gmx.net>
11491
11492         * funcrequest.h: new constructor
11493
11494         * funcrequest.C: move stuff here from .h
11495
11496         * Makefile.am:
11497         * BufferView_pimpl.C:
11498         * LyXAction.C:
11499         * toc.C:
11500         * lyxfunc.C: subsequent changes
11501
11502         * lyxfunc.h: new view() member function
11503
11504         * lyxfunc.C: subsequent changes
11505
11506 2002-08-13  Angus Leeming  <leeming@lyx.org>
11507
11508         * BufferView2.C:
11509         * BufferView_pimpl.C:
11510         * buffer.C:
11511         * converter.C:
11512         * importer.C:
11513         * lyxfunc.C:
11514         * lyxvc.C:
11515         * toc.C:
11516         * vc-backend.C:
11517         changes due to the changed LyXView interface that now returns references
11518         to member variables not pointers.
11519
11520 2002-08-13  Angus Leeming  <leeming@lyx.org>
11521
11522         * WordLangTuple (word, lang_code): return references to strings,
11523         not strings.
11524
11525         * BufferView.h:
11526         * SpellBase.h:
11527         * lyxtext.h: forward-declare WordLangTuple.
11528
11529         * BufferView2.C:
11530         * ispell.C:
11531         * pspell.C:
11532         * text.C: #include "WordLangTuple.h".
11533
11534         * lyxtext.h:
11535         * text.C: (selectNextWordToSpellcheck): constify return type.
11536
11537 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11538
11539         * buffer.C:
11540         * buffer.h:
11541         * lyxtext.h:
11542         * paragraph.C:
11543         * paragraph_pimpl.h:
11544         * text.C:
11545         * text2.C:
11546         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11547         suggested by Angus.
11548         Made updateCounter always count from start of buffer, and removed
11549         second argument (par).
11550         Reverted floats number display to '#'. Perhaps I'll try again when the
11551         code base is sanitized a bit.
11552
11553 2002-08-12  Angus Leeming  <leeming@lyx.org>
11554
11555         * buffer.[Ch] (getLabelList): constify.
11556
11557 2002-08-07  André Pönitz <poenitz@gmx.net>
11558
11559         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11560
11561         * funcrequest.h: extension to keep mouse (x,y) position
11562
11563 2002-08-12  Juergen Vigna  <jug@sad.it>
11564
11565         * BufferView2.C (insertErrors): forbid undo when inserting error
11566         insets.
11567
11568         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11569
11570 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11571
11572         * ParagraphList.[Ch]: new files
11573
11574         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11575
11576         * BufferView2.C (lockInset): ParagraphList changes
11577         * toc.C: ditto
11578         * text2.C: ditto
11579         * bufferlist.C: ditto
11580         * buffer.h: ditto
11581         * buffer.C: ditto
11582
11583 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11584
11585         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11586         unused class variable counter_,
11587
11588         * paragraph.[Ch] (getFirstCounter): delete unused function
11589
11590         * counters.C: include LAssert.h
11591         (reset): add a new function with no arg, change other version to
11592         not have def. arg and to not allow empty arg.
11593
11594         * text2.C (setCounter): remove empty arg from call to Counters::reset
11595
11596 2002-08-11  John Levon  <levon@movementarian.org>
11597
11598         * Makefile.am: add WordLangTuple.h
11599
11600 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11601
11602         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11603         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11604
11605         * insets/insettext.C: InsetList changes
11606
11607         * graphics/GraphicsSupport.C (operator()): InsetList changes
11608
11609         * toc.C (getTocList): InsetList changes
11610
11611         * paragraph_pimpl.[Ch]: InsetList changes
11612
11613         * paragraph.[Ch]: InsetList changes
11614
11615         * buffer.C (inset_iterator): InsetList changes
11616         (setParagraph): ditto
11617         * buffer.h (inset_iterator): ditto
11618         * iterators.C (operator++): ditto
11619         * iterators.h: ditto
11620
11621         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11622
11623         * InsetList.[Ch]: new files, most InsetList handling moved out of
11624         paragraph.C.
11625
11626         * BufferView2.C (removeAutoInsets): InsetList changes
11627         (lockInset): ditto
11628         (ChangeInsets): ditto
11629
11630 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11631
11632         * paragraph_pimpl.h (empty): new function
11633
11634         * paragraph.[Ch] (empty): new function
11635
11636         * other files: use the new Paragraph::empty function
11637
11638 2002-08-09  John Levon  <levon@movementarian.org>
11639
11640         * lyxtext.h: remove unused refresh_height
11641
11642 2002-08-09  John Levon  <levon@movementarian.org>
11643
11644         * Makefile.am:
11645         * sgml.h:
11646         * sgml.C:
11647         * buffer.C:
11648         * paragraph.h:
11649         * paragraph.C: move sgml char escaping out of paragraph
11650
11651         * paragraph.h:
11652         * paragraph.C: remove id setter
11653
11654         * buffer.C:
11655         * paragraph.C:
11656         * paragraph_pimpl.C: remove dead tex_code_break_column
11657
11658         * bufferview_funcs.C: small cleanup
11659
11660         * lyxfunc.C: remove dead proto
11661
11662         * lyxtext.h: make some stuff private. Remove some dead stuff.
11663
11664         * lyxgluelength.C: make as[LyX]String() readable
11665
11666 2002-08-08  John Levon  <levon@movementarian.org>
11667
11668         * LyXAction.h:
11669         * LyXAction.C:
11670         * MenuBackend.C:
11671         * ToolbarDefaults.C:
11672         * lyxfunc.C:
11673         * lyxrc.C:
11674         * toc.C: lyxaction cleanup
11675
11676 2002-08-08  John Levon  <levon@movementarian.org>
11677
11678         * BufferView2.C: small cleanup
11679
11680         * lyxfind.h:
11681         * lyxfind.C: move unnecessary header into the .C
11682
11683 2002-08-08  John Levon  <levon@movementarian.org>
11684
11685         * funcrequest.h: just tedious nonsense
11686
11687         * lyx_main.h:
11688         * lyx_main.C: cleanups
11689
11690         * buffer.C:
11691         * vspace.C: remove dead header lyx_main.h
11692
11693 2002-08-07  Angus Leeming  <leeming@lyx.org>
11694
11695         * Paragraph.[Ch]:
11696         * paragraph_pimpl.h:
11697         Forward declare class Counters in paragraph.h by moving the ctrs member
11698         variable into Paragraph::Pimpl.
11699         (counters): new method, returning a reference to pimpl_->ctrs.
11700
11701         * text2.C: ensuing changes.
11702
11703 2002-08-07  John Levon  <levon@movementarian.org>
11704
11705         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11706
11707         * BufferView_pimpl.C: announce X selection on double/triple
11708           click
11709
11710         * lyx_main.C: use correct bool in batch dispatch
11711
11712         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11713
11714 2002-08-07  André Pönitz <poenitz@gmx.net>
11715
11716         * funcrequest.h: new class to wrap a kb_action and its argument
11717
11718         * BufferView.[Ch]:
11719         * BufferView_pimpl[Ch]:
11720         * LaTeX.C:
11721         * LyXAction.[Ch]:
11722         * lyxfunc.[Ch]:
11723         * lyxrc.C: subsequent changes
11724
11725
11726 2002-08-07  John Levon  <levon@movementarian.org>
11727
11728         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11729           document options change.
11730
11731 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11732
11733         * counters.[Ch]
11734         * text2.C
11735         * paragraph.[Ch]
11736         * makefile.am: move counters functionality over from
11737         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11738
11739 2002-08-06  John Levon  <levon@movementarian.org>
11740
11741         * WordLangTuple.h: new file for word + language code tuple
11742
11743         * SpellBase.h:
11744         * pspell.h:
11745         * pspell.C:
11746         * ispell.h:
11747         * ispell.C:
11748         * lyxtext.h:
11749         * text.C:
11750         * text2.C:
11751         * BufferView.h:
11752         * BufferView2.C: use WordLangTuple
11753
11754         * layout.h:
11755         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11756
11757 2002-08-06  John Levon  <levon@movementarian.org>
11758
11759         * lyx_main.C: fix cmdline batch handling
11760
11761 2002-08-06  André Pönitz <poenitz@gmx.net>
11762
11763         * lyxrc.C: set default for show_banner to true
11764
11765 2002-08-06  John Levon  <levon@movementarian.org>
11766
11767         * pspell.C: fix a crash, and allow new aspell to work
11768
11769 2002-08-06  John Levon  <levon@movementarian.org>
11770
11771         * lyxfunc.C:
11772         * kbmap.C: small cleanup
11773
11774         * vspace.h:
11775         * vspace.C: add const
11776
11777 2002-08-05  John Levon  <levon@movementarian.org>
11778
11779         * LyXAction.C: back to tabular-insert
11780
11781 2002-08-04  John Levon  <levon@movementarian.org>
11782
11783         * BufferView.h:
11784         * BufferView.C: cosmetic change
11785
11786         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11787
11788         * bufferlist.C:
11789         * buffer.h:
11790         * buffer.C:
11791         * lyxcb.h:
11792         * lyxcb.C:
11793         * lyxserver.C:
11794         * lyxvc.C:
11795         * vc-backend.C:
11796         * BufferView2.C: purge all "Lyx" not "LyX" strings
11797
11798         * lyxcursor.h:
11799         * lyxcursor.C: attempt to add some documentation
11800
11801         * lyxfunc.C:
11802         * commandtags.h:
11803         * LyXAction.C:
11804         * ToolbarDefaults.C:
11805         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11806           merge with LFUN_TABULAR_INSERT
11807
11808         * Makefile.am:
11809         * SpellBase.h:
11810         * ispell.h:
11811         * ispell.C:
11812         * pspell.h:
11813         * pspell.C: split up i/pspell implementations into separate
11814           files, many cleanups
11815
11816         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11817
11818         * text2.C: some cleanup
11819
11820         * lyxfunc.C: don't check for isp_command == "none" any more, it
11821           didn't make any sense
11822
11823 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11824
11825         * counters.[Ch]
11826         * text2.C
11827         * paragraph.[Ch]
11828         * makefile.am: move counters functionality over
11829         from text2.C/paragraph.[Ch] to counters.[Ch], and
11830         make proper C++.
11831 2002-08-02  John Levon  <levon@movementarian.org>
11832
11833         * buffer.C: s/lyxconvert/lyx2lyx/
11834
11835 2002-08-02  Angus Leeming  <leeming@lyx.org>
11836
11837         * lyxlex.C: revert John's change as it breaks reading of the user
11838         preamble.
11839
11840 2002-08-02  Angus Leeming  <leeming@lyx.org>
11841
11842         * importer.C (Import):
11843         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11844         changes due to LyXView::view() now returning a boost::shared_ptr.
11845
11846 2002-08-02  John Levon  <levon@movementarian.org>
11847
11848         * lyxlex.C: small cleanup
11849
11850 2002-08-02  John Levon  <levon@movementarian.org>
11851
11852         * text2.C (status): small cleanup, no logic change
11853
11854 2002-08-01  John Levon  <levon@movementarian.org>
11855
11856         * buffer.h:
11857         * buffer.C (writeFile): don't output alerts, caller
11858           handles this
11859
11860         * bufferlist.C:
11861         * lyx_cb.C: from above
11862
11863         * lyxfunc.C: allow to open non-existent files
11864
11865 2002-07-31  John Levon  <levon@movementarian.org>
11866
11867         * lyxserver.C: don't let incidental errors get
11868           in the way (errno)
11869
11870 2002-07-30  John Levon  <levon@movementarian.org>
11871
11872         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11873
11874 2002-07-30  John Levon  <levon@movementarian.org>
11875
11876         * lyxserver.h:
11877         * lyxserver.C: remove I/O callback too
11878
11879 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11880
11881         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11882         log.
11883
11884 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11885
11886         * many files: strip,frontStrip -> trim,ltrim,rtrim
11887
11888 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11889
11890         * PrinterParams.h: remove extern containsOnly, and include
11891         support/lstrings.h instead.
11892
11893         * LaTeX.C (scanAuxFile): modify because of strip changes
11894         (deplog): ditto
11895         * buffer.C (makeLaTeXFile): ditto
11896         * bufferparams.C (writeFile): ditt
11897         * lyxfont.C (stateText): ditto
11898         * lyxserver.C (read_ready): ditto
11899         * vc-backend.C (scanMaster): ditto
11900
11901         * BufferView_pimpl.h: ws changes
11902
11903         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11904
11905 2002-07-26  André Pönitz <poenitz@gmx.net>
11906
11907         * kb_sequence.C: remove unnedred usings
11908
11909 2002-07-26  Juergen Vigna  <jug@sad.it>
11910
11911         * lyxfind.C (LyXReplace): we have to check better if the returned
11912         text is not of theLockingInset()->getLockingInset().
11913
11914 2002-07-25  Juergen Vigna  <jug@sad.it>
11915
11916         * lyxfind.C (LyXReplace): don't replace if we don't get the
11917         right LyXText.
11918
11919         * undo_funcs.C (createUndo): remove debugging code.
11920
11921 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11922
11923         * buffer.C (parseSingleLyXformat2Token): Use default placement
11924         when reading old floats.
11925
11926         * FloatList.C (FloatList): Change the default placement of figure
11927         and tables to "tbp".
11928
11929 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11930
11931         * MenuBackend.C: using std::max
11932
11933 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11934
11935         * MenuBackend.C (expandToc):
11936         (expandToc2): code moved from xforms menu frontend. It is now
11937         generic and TOCs are transparent to menu frontends.
11938
11939 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11940
11941         * toc.C (getTocList): protect against buf=0
11942
11943         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11944         Menu as first parameter. Now, this calls itself recursively to
11945         expand a whole tree (this will be useful for TOC handling)
11946         (expandFloatInsert): remove 'wide' version of floats
11947
11948         * MenuBackend.h (submenuname): returns the name of the submenu.
11949         (submenu): returns the submenu itself, provided it has been
11950         created by MenuBackend::expand
11951
11952 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11953
11954         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11955         insets which have noFontChange == true. (bug #172)
11956
11957 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11958
11959         * BufferView_pimpl.C: add connection objects and use them...
11960         (Pimpl): here.
11961
11962 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11963
11964         * MenuBackend.C (expandLastfiles):
11965         (expandDocuments):
11966         (expandFormats):
11967         (expandFloatListInsert):
11968         (expandFloatInsert):
11969         (expand): split expand in parts
11970
11971 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11972
11973         * lyx_gui.C: use lyx_gui::exit()
11974
11975 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11976
11977         * LyXAction.C: show the failing pseudo action
11978
11979 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11980
11981         * buffer.C (readFile): Run the lyxconvert script in order to read
11982         old files.
11983
11984 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11985
11986         * LyXAction.C:
11987         * commandtags.h:
11988         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11989
11990 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11991
11992         * LyXAction.C:
11993         * commandtags.h:
11994         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11995
11996 2002-07-22  Herbert Voss  <voss@lyx.org>
11997
11998         * lengthcommon.C:
11999         * lyxlength.[Ch]: add support for the vertical lengths
12000
12001 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12002
12003         * toc.[Ch]: std:: fixes
12004
12005 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12006
12007         * lyxrc.C: do not include lyx_main.h
12008
12009         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12010         for layouts
12011
12012         * lyxrc.C:
12013         * encoding.C:
12014         * bufferlist.C:
12015         * BufferView2.C: include "lyxlex.h"
12016
12017         * tabular.h:
12018         * bufferparams.h: do not #include "lyxlex.h"
12019
12020         * lyxtextclasslist.C (Add): remove method
12021         (classlist): renamed to classlist_
12022
12023         * paragraph_pimpl.C:
12024         * paragraph.C:
12025         * text2.C:
12026         * CutAndPaste.C:
12027         * bufferview_funcs.C:
12028         * bufferlist.C:
12029         * text.C:
12030         * LaTeXFeatures.C:
12031         * buffer.C:
12032         * toc.C (getTocList): use BufferParams::getLyXTextClass
12033
12034         * toc.C (getTocList): use InsetFloat::addToToc
12035
12036         * toc.[Ch]: new files, containing helper functions to handle table
12037         of contents
12038
12039         * lyxfunc.C (dispatch): no need to remove spaces around command
12040         given as a string
12041         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12042         first command of the sequence; it is not very clever, but I do not
12043         have a better idea, actually
12044
12045         * LyXAction.C (LookupFunc): make sure to remove space at the
12046         beginning and end of the command
12047
12048 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12049
12050         * MenuBackend.C (getMenubar): new method: return the menubar of
12051         this menu set
12052         (read): treat differently reading of menu and menubar (in
12053         particular, the menubar has no name now)
12054         (Menu::menubar): remove
12055
12056         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12057         saving is finished
12058
12059 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12060
12061         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12062         a bibitem inset in a RTL paragraph.
12063
12064 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12065
12066         * paragraph_pimpl.C: constify
12067
12068         * BufferView_pimpl.C:
12069         * LaTeX.C:
12070         * lyxfunc.C: fix dispatch in a nicer way
12071
12072 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12073
12074         * lyxfunc.C (dispatch):
12075         * BufferView_pimpl.C:
12076         * BufferView_pimpl.h:
12077         * BufferView.C:
12078         * BufferView.h: rename Dispatch() to dispatch()
12079
12080         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12081
12082         * lyxlayout.C (Read): honor DependsOn tag
12083
12084         * lyxlayout.[Ch] (depends_on): new method
12085
12086         * version.C.in: update lyx_docversion
12087
12088         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12089
12090         * paragraph.C (validate): remove from here...
12091         * paragraph_pimpl.C (validate): ... and move here
12092         (isTextAt): make it const
12093
12094         * buffer.C (getLists): ws cleanup
12095
12096 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12097
12098         * language.C (read): Use iso8859-1 encoding in latex_lang
12099         (this prevents LyX from crashing when using iso10646-1 encoding).
12100
12101 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12102
12103         * text2.C (toggleInset): if cursor is inside an inset, close the
12104         inset and leave cursor _after_ it
12105
12106 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12107
12108         * lyxfunc.C: move minibuffer completion handling out of here
12109
12110 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12111
12112         * BufferView_pimpl.C:
12113         * LaTeX.C: fix dispatch calls
12114
12115 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12116
12117         * text.C (drawChars): Fix Arabic text rendering.
12118
12119 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12120
12121         * LyXAction.C:
12122         * commandtags.h:
12123         * lyxfunc.C: remove message-push/pop
12124
12125         * lyxserver.C:
12126         * lyxfunc.h:
12127         * lyxfunc.C: rationalise some code by removing verboseDispatch
12128           in favour of a bool argument to dispatch()
12129
12130 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12131
12132         * lyx_main.C (init): make sure to read symlinks as absolute paths
12133
12134 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12135
12136         * lyxfunc.h:
12137         * lyxfunc.C: no need for commandshortcut to be a member
12138
12139 2002-07-15  André Pönitz <poenitz@gmx.net>
12140
12141         * converter.C: add support for $$s (scripts from lib/scripts dir)
12142         * lyx_main.C: white space
12143
12144 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12145
12146         * bufferlist.C:
12147         * lyxrc.h:
12148         * lyxrc.C: remove second exit confirmation
12149
12150 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * BufferView.h:
12153         * BufferView.C:
12154         * BufferView2.C:
12155         * BufferView_pimpl.h:
12156         * BufferView_pimpl.C:
12157         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12158
12159 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12160
12161         * MenuBackend.C (expand): add numeric shortcuts to document menu
12162
12163         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12164
12165 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12166
12167         * lyxfont.C (setLyXFamily):
12168         (setLyXSeries):
12169         (setLyXShape):
12170         (setLyXSize):
12171         (setLyXMisc):
12172         (lyxRead):
12173         * debug.C (value):
12174         * buffer.C (asciiParagraph): use ascii_lowercase
12175
12176 2002-07-15  Mike Fabian  <mfabian@suse.de>
12177
12178         * lyxlex_pimpl.C (search_kw):
12179         * lyxlex.C (getLongString):
12180         * converter.h (operator<):
12181         * converter.C (operator<):
12182         * buffer.C (parseSingleLyXformat2Token):
12183         (asciiParagraph):
12184         * ToolbarDefaults.C (read):
12185         * MenuBackend.C (checkShortcuts):
12186         (read):
12187         * LColor.C (getFromGUIName):
12188         (getFromLyXName): use the compare_ascii_no_case instead of
12189         compare_no_case, because in turkish, 'i' is not the lowercase
12190         version of 'I', and thus turkish locale breaks parsing of tags.
12191
12192 2002-07-16  Angus Leeming  <leeming@lyx.org>
12193
12194         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12195         now takes a Buffer const & argument.
12196
12197 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12198
12199         * BufferView.C (resize): check there's a buffer to resize
12200
12201 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12202
12203         * lyxfunc.C: remove dead code
12204
12205         * lyxserver.h:
12206         * lyxserver.C: use lyx_guii::set_read_callback
12207
12208 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12209
12210         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12211         an inset in a RTL paragraph.
12212
12213 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12214
12215         * lyxfunc.C: repaint after a font size update
12216
12217 2002-07-15  André Pönitz <poenitz@gmx.net>
12218
12219         * lyxlength.C: inBP should be able to return negative values
12220
12221 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12222
12223         * lyxfunc.C: use lyx_gui::update_fonts()
12224
12225 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12226
12227         * lyxfunc.C: use lyx_gui::update_color()
12228
12229 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12230
12231         * bufferlist.C:
12232         * lyxfunc.h:
12233         * lyxfunc.C:
12234         * lyxrc.h:
12235         * lyxrc.C: remove file->new asks for name option, and let
12236           buffer-new take an argument
12237
12238 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12239
12240         * BufferView_pimpl.C: remove unneeded extra repaint()
12241
12242 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12243
12244         * LyXAction.C: allow command-sequence with NoBuffer
12245
12246         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12247
12248 2002-07-10  Angus Leeming  <leeming@lyx.org>
12249
12250         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12251
12252 2002-07-09  Angus Leeming  <leeming@lyx.org>
12253
12254         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12255
12256 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * lengthcommon.h: whitespace
12259
12260         * lyxfunc.C: update scrollbar after goto paragraph
12261
12262         * lyxtext.h: factor out page break drawing, and fix it so
12263           page break/added space paints as selected nicely
12264
12265 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * BufferView_pimpl.C: add FIXMEs, clean up a little
12268
12269 2002-07-09  André Pönitz <poenitz@gmx.net>
12270
12271         * lyxfont.[Ch]: support for wasy symbols
12272
12273 2002-07-08  André Pönitz <poenitz@gmx.net>
12274
12275         * BufferView_pimpl.C: apply John's patch for #93.
12276
12277 2002-07-05  Angus Leeming  <leeming@lyx.org>
12278
12279         * BufferView_pimpl.C (buffer): generate previews if desired.
12280
12281         * LColor.h: add "preview" to the color enum.
12282
12283         * LColor.C (LColor): add a corresponding entry to the items array.
12284
12285         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12286         with this buffer.
12287
12288 2002-07-05  Angus Leeming  <leeming@lyx.org>
12289
12290         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12291         The body of the code is now in the method that is passed an ostream &
12292         rather than a file name.
12293         Pass an additional only_preamble parameter, useful for the forthcoming
12294         preview stuff.
12295
12296 2002-07-03  André Pönitz <poenitz@gmx.net>
12297
12298         * lyxfunc.C: simplify getStatus() a bit for math stuff
12299
12300 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12301
12302         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12303
12304 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12305
12306         * text.C (changeRegionCase): do not change case of all the
12307         document when region ends at paragraph end (bug #461)
12308
12309 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12310
12311         * paragraph.C (startTeXParParams):
12312         (endTeXParParams): add \protect when necessary
12313
12314 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12315
12316         * BufferView_pimpl.C (workAreaExpose): remove warning
12317
12318 2002-06-27  Angus Leeming  <leeming@lyx.org>
12319
12320         * Makefile.am: add lyxlayout_ptr_fwd.h.
12321
12322 2002-06-26  André Pönitz <poenitz@gmx.net>
12323
12324         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12325
12326 2002-06-25  Angus Leeming  <leeming@lyx.org>
12327
12328         * lyxfunc.C (dispatch): Comment out the call to
12329         grfx::GCache::changeDisplay. The method no longer exists now that the
12330         pixmap generation part of the graphics loader has been moved into
12331         InsetGraphics.
12332
12333 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12334
12335         * text2.C: layout as layout
12336
12337         * text.C: layout as layout
12338
12339         * tabular.C (OldFormatRead): layout as layout
12340
12341         * paragraph_pimpl.C (TeXDeeper): layout as layout
12342         (realizeFont): layout as layout
12343
12344         * paragraph.C (writeFile): layout as layout
12345         (validate): layout as layout
12346         (getFont): layout as layout
12347         (getLabelFont): layout as layout
12348         (getLayoutFont): layout as layout
12349         (breakParagraph): layout as layout
12350         (stripLeadingSpaces): layout as layout
12351         (getEndLabel): layout as layout
12352         (getMaxDepthAfter): layout as layout
12353         (applyLayout): layout as layout
12354         (TeXOnePar): layout as layout
12355         (simpleTeXOnePar): layout as layout
12356         (TeXEnvironment): layout as layout
12357         (layout): layout as layout
12358         (layout): layout as layout
12359
12360         * lyxtextclass.C (compare_name): new functor to work with
12361         shared_ptr, layout as layout
12362         (Read): layout as layout
12363         (hasLayout): layout as layout
12364         (operator): layout as layout
12365         (delete_layout): layout as layout
12366         (defaultLayout): layout as layout
12367
12368         * lyxlayout_ptr_fwd.h: new file
12369
12370         * lyxlayout.C (Read): layout as layout
12371
12372         * lyx_cb.C (MenuInsertLabel): layout as layout
12373
12374         * bufferlist.C (newFile): layout as layout
12375
12376         * buffer.C (readLyXformat2): layout as layout
12377         (parseSingleLyXformat2Token): layout as layout
12378         (insertStringAsLines): layout as layout
12379         (asciiParagraph): layout as layout
12380         (latexParagraphs): layout as layout
12381         (makeLinuxDocFile): layout as layout
12382         (simpleLinuxDocOnePar): layout as layout
12383         (makeDocBookFile): layout as layout
12384         (simpleDocBookOnePar): layout as layout
12385         (getLists): layout as layout
12386
12387         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12388
12389         * CutAndPaste.C (cutSelection): layout as layout
12390         (pasteSelection): layout as layout
12391         (SwitchLayoutsBetweenClasses): layout as layout
12392
12393         * BufferView_pimpl.C (Dispatch): layout as layout
12394         (smartQuote): layout as layout
12395
12396         * BufferView2.C (unlockInset): layout as layout
12397
12398 2002-06-24  André Pönitz <poenitz@gmx.net>
12399
12400         * lyxfunc.C: fix #487
12401
12402 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12403
12404         * lyxrc.h:
12405         * lyxrc.C:
12406         * lyxfunc.C: remove display_shortcuts, show_banner
12407
12408 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12409
12410         * Buffer_pimpl.C: oops, update on resize
12411
12412 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12413
12414         * buffer.C:
12415         * converter.C:
12416         * exporter.C:
12417         * lyxfunc.C:
12418         * BufferView.h:
12419         * BufferView.C: use repaint()
12420
12421         * BufferView_pimpl.h:
12422         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12423           as it's a clearer description. Remove superfluous
12424           redraws.
12425
12426 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12427
12428         * text.C: fix bug 488. Not ideal, but getting
12429           getWord() to work properly for the insets that
12430           matter is more difficult ...
12431
12432 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * BufferView_pimpl.C:
12435         * LyXAction.C:
12436         * commandtags.h:
12437         * lyxfunc.C: remove the six million index lyxfuncs to just
12438           one, and DTRT (bug 458)
12439
12440 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12441
12442         * BufferView.h:
12443         * BufferView.C:
12444         * BufferView_pimpl.h:
12445         * BufferView_pimpl.C: clean up resize() stuff,
12446           and unnecessary updateScreen()s
12447
12448 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * BufferView.h:
12451         * BufferView.C:
12452         * BufferView_pimpl.h:
12453         * BufferView_pimpl.C:
12454         * lyxfind.h:
12455         * lyxfind.C:
12456         * minibuffer.C: remove focus management of workarea,
12457           not needed. Use screen's greyOut()
12458
12459 2002-06-17  Herbert Voss  <voss@lyx.org>
12460
12461         * converter.C: (convert) do not post a message, when converting
12462         fails, let the calling function decide what to do in this case
12463
12464 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12465
12466         * lyxfunc.C: tidy up a little
12467
12468 2002-06-16    <alstrup@diku.dk>
12469
12470         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12471         Got rid of FORMS_H_LOCATION include. Now we are
12472         GUII.
12473
12474 2002-06-15  LyX Development team  <lyx@rilke>
12475
12476         * buffer.[Ch] (sgmlOpenTag):
12477         (sgmlCloseTag): Added support for avoiding pernicious mixed
12478         content. Return number of lines written.
12479
12480         (makeLinuxDocFile):
12481         (makeDocBookFile): Fixed calls to sgml*Tag.
12482         Simple white space clean.
12483
12484         (simpleDocBookOnePar): Simple white space clean.
12485
12486         * tabular.[Ch] (docBook): Renamed to docbook and got another
12487         argument to related with the pernicious mixed content.
12488
12489         (docbookRow): Fixed calls for docbook inset method.
12490
12491 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12492
12493         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12494         so it's X11 independent.
12495
12496         * kb*.[Ch]: ditto.
12497
12498         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12499
12500 2002-06-15  Lyx Development team  <lyx@electronia>
12501
12502         * intl.h: Renamed getTrans to getTransManager.
12503
12504 2002-06-14  Angus Leeming  <leeming@lyx.org>
12505
12506         * Makefile.am: nuke forgotten stl_string_fwd.h.
12507
12508 2002-06-12  Angus Leeming  <leeming@lyx.org>
12509
12510         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12511
12512 2002-06-13  Angus Leeming  <leeming@lyx.org>
12513
12514         * LaTeX.C:
12515         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12516
12517 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12518
12519         * kbmap.C (getiso): add support for cyrillic and greek
12520
12521 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12522
12523         * BufferView.h:
12524         * BufferView.C:
12525         * BufferView_pimpl.h:
12526         * BufferView_pimpl.C: move bogus scrolling logic
12527           to xforms
12528
12529 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12530
12531         * lyxfunc.C:
12532         * BufferView_pimpl.C: view->resize() change
12533
12534 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12535
12536         * BufferView_pimpl.C: topCursorVisible
12537           prototype change
12538
12539 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12540
12541         * Makefile.am:
12542         * lyx_gui.h:
12543         * lyx_gui.C: move to frontends/
12544
12545         * main.C:
12546         * lyx_main.h:
12547         * lyx_main.C: changes from above
12548
12549 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * intl.C:
12552         * intl.h:
12553         * kbmap.C:
12554         * kbsequence.C:
12555         * lyx_cb.C:
12556         * lyx_main.C: minor tidy
12557
12558 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12559
12560         * BufferView_pimpl.h:
12561         * BufferView_pimpl.C:
12562         * BufferView.h:
12563         * BufferView.C: make painter() const,
12564           remove dead code
12565
12566         * BufferView2.C: use screen() accessor
12567
12568         * lyx_main.h:
12569         * lyx_main.C: some minor cleanup
12570
12571 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * BufferView_pimpl.h:
12574         * BufferView_pimpl.C: remove enter/leaveView,
12575           use workHeight()
12576
12577 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12578
12579         * BufferView.h:
12580         * BufferView.C:
12581         * BufferView2.C:
12582         * BufferView_pimpl.h:
12583         * BufferView_pimpl.C: only construct screen once,
12584           rename
12585
12586         * lyxrc.C: remove pointless comment
12587
12588 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12589
12590         * BufferView.h:
12591         * BufferView.C: remove active() and belowMouse()
12592
12593         * BufferView_pimpl.h:
12594         * BufferView_pimpl.C: use workarea() not workarea_,
12595           and make it use a scoped_ptr instead
12596
12597 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12598
12599         * lyx_gui.C: add debug message on BadWindow
12600
12601 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12602
12603         * sp_spell.C: fdopen is not part of the C++ standard.
12604
12605         * paragraph.C (InsetIterator): use >= instead of ==
12606
12607 2002-06-07  Angus Leeming  <leeming@lyx.org>
12608
12609         Fixes needed to compile with Compaq cxx 6.5.
12610         * BufferView_pimpl.C:
12611         * DepTable.C:
12612         * buffer.C:
12613         * converter.C:
12614         * encoding.C:
12615         * lyx_gui.C:
12616         * lyx_main.C:
12617         * lyxtextclasslist.C:
12618         * minibuffer.C:
12619         * sp_spell.C:
12620         * tabular_funcs.C:
12621         * vc-backend.C:
12622         all c-library variables have been moved into namespace std. Wrap
12623         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12624
12625         * lyxlength.C:
12626         * tabular-old.C:
12627         * tabular.C:
12628         Add a using std::abs declaration.
12629
12630         * kbmap.h (modifier_pair):
12631         * paragraph.h (InsetTable, InsetList):
12632         * lyxfont.h (FontBits):
12633         type definition made public.
12634
12635         * bufferlist.C (emergencyWriteAll): the compiler complains that
12636         there is more than one possible lyx::class_fun template to choose from.
12637         I re-named the void specialisation as lyx::void_class_fun.
12638
12639         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12640
12641         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12642         the compiler is is unable to find tostr in write_attribute.
12643
12644 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12645
12646         * buffer.C (sgmlError): hide #warning
12647
12648 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12649
12650         * xtl/*: get rid of xtl, which is not in use anyway
12651
12652         * LyXAction.C (init):
12653         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12654         were unimplemented xtl experimentation
12655
12656 2002-06-04  André Pönitz <poenitz@gmx.net>
12657
12658         * lyxfunc.C: disable array operation on simple formulae
12659
12660 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12661
12662         * converter.C: constify a bit
12663
12664 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12665
12666         * lyx_gui.C: check xforms version correctly
12667
12668 2002-04-30  Herbert Voss  <voss@lyx.org>
12669
12670         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12671         "keep" option
12672
12673 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12674
12675         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12676           attempt to register it with a VCS)
12677
12678 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12679
12680         * lyx_main.C (init): honor variables LYX_DIR_13x and
12681         LYX_USERDIR_13x
12682
12683 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12684
12685         * buffer.h:
12686         * buffer.C:
12687         * lyx_main.C: fix a crash on bad command line,
12688           and give a useful exit status on error
12689
12690         * lyxfunc.C (doImport): allow -i lyx to work
12691
12692 2002-03-30  André Pönitz <poenitz@gmx.net>
12693
12694         * lyxfunc.C: mathed font changes
12695
12696 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * LaTeX.C:
12699         * importer.h:
12700         * importer.C:
12701         * lyx_sty.h:
12702         * lyx_sty.C:
12703         * lyxlex.C:
12704         * lyxrow.h:
12705         * lyxtext.h:
12706         * paragraph.h:
12707         * paragraph.C:
12708         * texrow.h:
12709         * texrow.C:
12710         * text.C:
12711         * trans_mgr.h: srcdocs, and some minor cleanups
12712
12713 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12714
12715         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12716         call getFont all the time)
12717
12718 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12719
12720         * switch from SigC signals to boost::signals
12721
12722 2002-05-29  André Pönitz <poenitz@gmx.net>
12723
12724         * paragraph_pimpl.C (getChar): don't call size() too often...
12725
12726 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12727
12728         * paragraph_pimpl.C (insertChar): do not try to update tables when
12729         appending (pos == size())
12730
12731         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12732         in order to reduce drastically the number of comparisons needed to
12733         parse a large document
12734
12735 2002-05-29  André Pönitz <poenitz@gmx.net>
12736
12737         * text.C:
12738         * text2.C:
12739         * lyxtextclass.C:
12740         * sp_pspell.h:
12741         * textclasslist.[Ch]:
12742         * sp_ispell.h: whitespace change
12743
12744 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12745
12746         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12747         lyxaction directly now.
12748
12749 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12750
12751         * trans.C:
12752         * lyxfont.C:
12753         * lyxvc.C: remove unused headers
12754
12755 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12756
12757         * Makefile.am:
12758         * buffer.h:
12759         * undostack.h:
12760         * undostack.C:
12761         * undo_funcs.h:
12762         * undo_funcs.C: some cleanups. Use shared_ptr
12763           and a template for the undo stacks.
12764
12765 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12766
12767         * BufferView_pimpl.h:
12768         * BufferView_pimpl.C:
12769         * kbmap.h:
12770         * kbmap.C:
12771         * kbsequence.h:
12772         * kbsequence.C:
12773         * lyxfunc.h:
12774         * lyxfunc.C:
12775         * text2.C: use key_state/mouse_state
12776
12777 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12780         and LSubstring
12781
12782         * chset.C: change include order
12783         (loadFile): use boost regex and get rid of LRegex and LSubstring
12784
12785         * Makefile.am (BOOST_LIBS): new variable
12786         (lyx_LDADD): use it
12787
12788         * LaTeX.C: change include order.
12789         (scanAuxFile): use boost regex and get rid of LRegex and
12790         LSubstring
12791         (deplog): ditto
12792
12793 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12794
12795         * ColorHandler.h:
12796         * ColorHandler.C:
12797         * FontInfo.h:
12798         * FontInfo.C: moved to frontends/xforms/
12799
12800         * FontLoader.h:
12801         * FontLoader.C: moved into frontends for GUIIzation
12802
12803         * Makefile.am:
12804         * lyx_gui.C:
12805         * lyxfont.C:
12806         * lyxfunc.C: changes from above
12807
12808 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12809
12810         * LColor.C: remove spurious X include
12811
12812         * BufferView_pimpl.C:
12813         * Makefile.am:
12814         * font.h:
12815         * font.C:
12816         * text.C:
12817         * text2.C: move font metrics to frontends/
12818
12819 2002-05-24  Juergen Vigna  <jug@sad.it>
12820
12821         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12822         setting the undo_cursor.
12823
12824         * ParagraphParameters.h: include local includes first.
12825
12826 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12827
12828         * BufferView_pimpl.C:
12829         * BufferView_pimpl.h:
12830         * Makefile.am:
12831         * WorkArea.h:
12832         * WorkArea.C:
12833         * screen.C: move WorkArea into frontends/
12834
12835         * lyxscreen.h:
12836         * screen.C:
12837         * text.C:
12838         * BufferView.C:
12839         * BufferView2.C: move LyXScreen into frontends/
12840
12841         * lyxlookup.h:
12842         * lyxlookup.C:
12843         * lyx_gui.C: move lyxlookup into frontends/xforms/
12844
12845 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12846
12847         * BufferView2.C:
12848         * BufferView_pimpl.C:
12849         * FontLoader.C:
12850         * LyXView.h:
12851         * LyXView.C:
12852         * Makefile.am:
12853         * WorkArea.C:
12854         * XFormsView.h:
12855         * XFormsView.C:
12856         * buffer.C:
12857         * bufferlist.C:
12858         * bufferview_funcs.C:
12859         * converter.C:
12860         * importer.C:
12861         * lyx_cb.C:
12862         * lyx_gui.C:
12863         * lyx_main.C:
12864         * lyx_find.C:
12865         * lyxfunc.C:
12866         * lyxvc.C:
12867         * minibuffer.C:
12868         * text.C:
12869         * text2.C:
12870         * trans.C:
12871         * vc-backend.C: move LyX/XFormsView into frontends/
12872
12873 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12874
12875         * Makefile.am:
12876         * PainterBase.C:
12877         * PainterBase.h:
12878         * Painter.C:
12879         * Painter.h:
12880         * WorkArea.C:
12881         * WorkArea.h:
12882         * screen.C:
12883         * tabular.C:
12884         * text.C:
12885         * text2.C: move Painter to frontends/
12886
12887 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12888
12889         * buffer.C: comment out some some code that depend upon lyx_format
12890         < 220
12891
12892         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12893         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12894
12895         * buffer.h (NO_COMPABILITY): turn off compability
12896
12897         * ColorHandler.C: include scoped_array.hpp
12898
12899         * font.C: Use more specific smart_ptr header.
12900         * Painter.C: ditto
12901         * gettext.C: ditto
12902         * ShareContainer.h: ditto
12903         * lyx_main.h: ditto
12904         * kbmap.h: ditto
12905         * FontInfo.h: ditto
12906         * BufferView_pimpl.h: ditto
12907         * ColorHandler.h: ditto
12908
12909         * kbmap.C (defkey): change call to shared_ptr::reset
12910
12911 2002-05-21  Juergen Vigna  <jug@sad.it>
12912
12913         * buffer.C (insertErtContents): fix to insert ert asis if it is
12914         non empty. Skip it completely if it contains only whitespaces.
12915
12916 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12917
12918         * BufferView_pimpl.C:
12919         * BufferView2.C: clear selection on paste (bug 393)
12920
12921 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12922
12923         * DepTable.C: include ctime
12924
12925 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12926
12927         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12928
12929 2002-05-14  Juergen Vigna  <jug@sad.it>
12930
12931         * text.C (breakParagraph): fixed function to honor the keepempty
12932         layout in the right maner and also to permit the right breaking
12933         algorithm on empty or non empyt keepempty paragraphs.
12934
12935         * paragraph.C (breakParagraph): we have to check also if the par
12936         is really empty (!size()) for isempty otherwise we do the wrong
12937         paragraph break.
12938
12939 2002-05-10  Juergen Vigna  <jug@sad.it>
12940
12941         * buffer.[Ch] : The following are only changes to the ert
12942         compatibility read reading old LaTeX layout and font stuff and
12943         convert it to ERTInsets.
12944
12945         * buffer.h: added isErtInset().
12946
12947         * buffer.C (struct ErtComp): add a fromlayout bool to check
12948         if we're inside a LaTeX layout.
12949         (isErtInset): new helper function.
12950         (insertErtContents): look for other ert insets before this one
12951         and insert the contents there, so that we don't have subsequent
12952         ERT insets with nothing between them. This way we create only one
12953         inset with multiple paragraphs. Also check if we don't insert only
12954         spaces ' ' as they are ignored anyway afterwards in the .tex file
12955         so if we have only spaces we will ignore this latex part in the
12956         new file.
12957         (parseSingleLyXformat2Token \\layout): better compatibility when
12958         reading layout-latex stuff.
12959         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12960         language tag.
12961         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12962         stuff after reading the inset only get the information back from
12963         the stack.
12964
12965 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12966
12967         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12968
12969         * LaTeXFeatures.C (getBabelOptions): New method.
12970
12971 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12972
12973         * BufferView_pimpl.C (Dispatch): work around missing argument for
12974         'layout'
12975
12976 2002-05-08  Juergen Vigna  <jug@sad.it>
12977
12978         * text.C (leftMargin): handle paragraph leftindent.
12979
12980         * paragraph.C (writeFile): write the new \\leftindent tag.
12981         (validate): handle leftindent code.
12982         (TeXEnvironment): handle paragraphleftindent code again.
12983
12984         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12985
12986         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12987         for paragrap_extra indent code and new token \\leftindent.
12988         (latexParagraphs): handle the leftindent as environment.
12989
12990         * ParameterStruct.h: added leftindent support.
12991
12992         * ParagraphParameters.C (leftIndent): added support functions for
12993         the paragraph left indent.
12994
12995         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12996         more appropriate.
12997
12998 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12999
13000         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13001         inside insetERT.
13002
13003         * text.C (computeBidiTables): No bidi in insetERT.
13004
13005         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13006         in RTL documents.
13007
13008 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13009
13010         * version.C.in: pre 5
13011
13012 2002-05-02  José Matos  <jamatos@fep.up.pt>
13013         * buffer.C (makeDocBookFile): white space changes, add newline to
13014         command styles.
13015         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13016
13017         * tabular.C (docBook): fix typo.
13018
13019 2002-05-03  Juergen Vigna  <jug@sad.it>
13020
13021         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13022         change in LyXText as we can not be sure it was not freed.
13023         (drawOneRow): remove unused code.
13024
13025         * text.C (drawInset): redo the calculation of the need_break_row as
13026         it could have a row which was already freed.
13027         (draw): look at the return value of drawInset and return false if
13028         it also returned false.
13029         (paintRowText): look at the return value of draw and return false if
13030         it also returned false.
13031
13032         * lyxtext.h: added bool return type to drawInset() and draw() so that
13033         if we have a change in the row so that the rowbreak has to be redone
13034         we abort drawing as it will be called again.
13035
13036 2002-05-02  Juergen Vigna  <jug@sad.it>
13037
13038         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13039         a change in the maintext also if we're inside an inset.
13040         (Dispatch): set the cursor again after a break line and after the
13041         screen has been updated as it could be we're in a different row.
13042
13043         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13044         to set the cursor behind the pargraph with > size().
13045         (setCursor): check also for the same paragraph when checking where
13046         to put the cursor if we have a NFR inset.
13047
13048         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13049         parts of layout read further up as it still was in the wrong
13050         position.
13051
13052 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13053
13054         * screen.C (drawFromTo): change sine fullRebreak always return
13055         true.
13056
13057         * buffer.C (parseSingleLyXformat2Token): reindent some
13058
13059         * BufferView_pimpl.C (update): change since fullRebreak always
13060         return true.
13061         (Dispatch): git rid of the last hardcoded "Standard"s.
13062
13063 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13064
13065         * text2.[Ch] (fullRebreak): make it return void now that we always
13066         returned true.
13067
13068 2002-04-30  Juergen Vigna  <jug@sad.it>
13069
13070         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13071         ert compatibility check for "latex" layout.
13072
13073 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13074
13075         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13076         minipages: use col% instead of p%, and also use the current font.
13077         (makeLaTeXFile): Fix use babel condition.
13078         (parseSingleLyXformat2Token): Correct font when reading old floats.
13079
13080 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13081
13082         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13083         inserting list of floats.
13084
13085 2002-04-25  Herbert Voss  <voss@lyx.org>
13086
13087         * MenuBackend.C (expand): don't add the graphics extensions to the
13088         export menu
13089
13090 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13091
13092         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13093         non-existing layout, do not complain if it was the default layout
13094         of the original class (bug #342)
13095
13096 2002-04-24  Juergen Vigna  <jug@sad.it>
13097
13098         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13099         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13100
13101 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13102
13103         * buffer.C (getBibkeyList): If using \bibliography, return the
13104         option field with the reference itself. Enables us to provide natbib
13105         support when using \bibliography.
13106
13107 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13108
13109         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13110
13111         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13112         natbib is provided by the LaTeX class.
13113
13114 2002-04-23  Juergen Vigna  <jug@sad.it>
13115
13116         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13117         Wakeup functions.
13118
13119         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13120
13121 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13122
13123         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13124
13125         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13126         ensuremath around textordmasculine, textordfeminine and
13127         textdegree.
13128
13129 2002-04-19  Juergen Vigna  <jug@sad.it>
13130
13131         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13132         reinitializing the buffer otherwise row-dimensions may be wrong.
13133         (update): reset also the selection cursors if they do exits otherwise
13134         their x/y positions may be wrong.
13135
13136         * text2.C (cursorDown): don't enter the inset if we came from a row
13137         above and are one row over the inset.
13138
13139         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13140         really leaving an inset.
13141
13142 2002-04-18  Juergen Vigna  <jug@sad.it>
13143
13144         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13145         of the selected paragraph does not have the selected layout also if
13146         the last one had!
13147
13148         * text2.C (setLayout): fixed bug which did not change last selected
13149         paragraph.
13150
13151         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13152         changed the read and substituted \\end_float with \\end_inset!
13153
13154         * BufferView_pimpl.C (cursorPrevious):
13155         (cursorNext): fixed to make it work with rows heigher than the work
13156         area without moving the cursor only the draw of the row.
13157         (workAreaMotionNotify): fix jumping over high rows.
13158
13159 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13160
13161         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13162         Ressler.
13163
13164 2002-04-16  Juergen Vigna  <jug@sad.it>
13165
13166         * text2.C (setCursor): set also the irow().
13167         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13168         (cursorUp):
13169         (cursorDown): support for locking an inset if the x_fix value goes
13170         inside it. That way I can transverse insets too with cursor up/down.
13171
13172         * lyxrow.h: added irow helper function same as other (i) functions.
13173
13174         * BufferView_pimpl.C (cursorPrevious):
13175         (cursorNext): fixed for insets!
13176
13177 2002-04-15  Juergen Vigna  <jug@sad.it>
13178
13179         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13180         position otherwise it is wrong in some cases.
13181
13182         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13183         inside the inset before the call.
13184
13185 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13186
13187         * buffer.[Ch] (getBibkeyList): make it const.
13188
13189 2002-04-12  Juergen Vigna  <jug@sad.it>
13190
13191         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13192
13193         * text2.C (getCursorX): new helper function
13194         (setCursor): compute also ix_
13195         (setCursorFromCoordinates): set also ix.
13196
13197         * lyxcursor.h: added ix_ and helper functions.
13198
13199         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13200
13201         * buffer.C (insertStringAsLines): dont break paragraph if the this
13202         paragraph is inside an inset which does not permit it!
13203
13204         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13205         also with no chars on this paragraph.
13206         (paintRowText): only paint stuff if it's inside the workarea!
13207
13208         * paragraph.C (breakParagraph): honor keepempty flag and break the
13209         paragraph always below not above.
13210
13211         * BufferView2.C (unlockInset): update the paragraph layout on inset
13212         unlock as we changed paragraph in such a case.
13213
13214         * lyxfind.C (LyXFind): clear the former selection if not found!
13215
13216         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13217         again called in insertChar().
13218
13219         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13220         an inset which uses the whole row!
13221         (rightMargin): ditto.
13222         (insertChar): force a rebreak if we inserted an inset!
13223
13224 2002-03-28  Herbert Voss  <voss@lyx.org>
13225
13226         * lyxlength.[Ch]: add inBP() to get the right PS-point
13227         units (BigPoint). With inPixels we have rounding errors
13228
13229 2002-04-11  Juergen Vigna  <jug@sad.it>
13230
13231         * text2.C (setCursorFromCoordinates): set iy to the right value.
13232         (setCursor): add check if row->previous exists!
13233
13234         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13235         an old float_type as this was the case in the old code!
13236
13237         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13238
13239         * BufferView2.C (showLockedInsetCursor): use iy
13240         (fitLockedInsetCursor): ditto
13241
13242         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13243         locked insets as there we have the right value now.
13244
13245         * lyxcursor.C: added iy_ variable and iy functions to set to the
13246         baseline of cursor-y of the locked inset.
13247
13248         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13249         (setCursor): fixed for insets which need a full row.
13250
13251         * text.C (rowLastPrintable): don't ignore the last space when before
13252         an inset which needs a full row.
13253         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13254         as last character of a row when before a inset which needs a full row.
13255
13256 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13257
13258         * version.C.in: update date
13259
13260         * text2.C (fullRebreak): try to always return true and see what
13261         happens...
13262
13263 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13264
13265         * MenuBackend.C (expand): use Floating::listName
13266
13267         * FloatList.C (FloatList): add listName argument to the built-in
13268         floats
13269
13270         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13271         text associated with the float.
13272
13273 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13274
13275         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13276
13277 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13278
13279         * ShareContainer.h: add a couple of missing typenames.
13280
13281 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13282
13283         * lyxrc.C (getDescription): use _() correctly rather than N_().
13284
13285 2002-03-28  Herbert Voss  <voss@lyx.org>
13286
13287         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13288         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13289
13290 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13291
13292         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13293         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13294
13295 2002-03-29  Juergen Vigna  <jug@sad.it>
13296
13297         * lyxfunc.C (dispatch): add a missing fitCursor call.
13298
13299         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13300         it was scrolled by a cursor move, so return the bool status.
13301
13302         * BufferView.C (fitCursor): return the bool flag also to the outside
13303         world as this is needed.
13304
13305         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13306
13307         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13308         call the edit() as it is not needed (and wrong) IMO.
13309         (workAreaButtonPress): set the screen_first variable before evt.
13310         unlock the inset as this may change screen_first and then we have
13311         a wrong y position for the click!
13312
13313 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13314
13315         * MenuBackend.C (expand): another translation that I missed
13316
13317 2002-03-28  Juergen Vigna  <jug@sad.it>
13318
13319         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13320
13321         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13322
13323 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13324
13325         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13326
13327         * MenuBackend.C (expand): fix export/view/update when there is no
13328         document open.
13329
13330 2002-03-27  Herbert Voss  <voss@lyx.org>
13331
13332         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13333         and text%
13334
13335 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13336
13337         * bufferview_funcs.C (currentState): only show paragraph number
13338         for is DEVEL_VERSION is set.
13339
13340         * lyxfunc.C (dispatch): put warning in INFO channel
13341
13342         * MenuBackend.C (expand): translate the name of floats
13343
13344         * FloatList.C (FloatList): mark the float names for translation
13345
13346         * converter.C (convert): use LibScriptSearch
13347
13348 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13349
13350         * MenuBackend.C (defaults): fix default menu (we might as well get
13351         rid of it...)
13352
13353 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13356         directory.
13357
13358 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13359
13360         * lyxvc.C: reorder includes.
13361
13362 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13363
13364         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13365           properly
13366
13367 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13368
13369         * CutAndPaste.C: change layouts earlier on paste
13370           to avoid crashing when calling getFont()
13371
13372 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13373
13374         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13375         irritating #error.
13376
13377 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13378
13379         * WorkArea.C: remove 'Pending' debug message.
13380
13381         * most files: ws cleanup
13382
13383         * buffer.[Ch]: ws changes
13384
13385         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13386
13387 2002-03-21  Juergen Vigna  <jug@sad.it>
13388
13389         * tabular.C (SetMultiColumn): collapse also the contents of the
13390         cells and set the last border right. Added a Buffer const * param.
13391
13392 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13393
13394         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13395         linking or not.
13396
13397 2002-03-19  Juergen Vigna  <jug@sad.it>
13398
13399         * text2.C (clearSelection): reset also xsel_cache.
13400
13401         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13402         where it needs to be called (John tells us to do so too :)
13403         (selectionLost): reset sel_cache.
13404
13405         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13406
13407 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13408
13409         * text2.C (setCursorIntern): put debuging code in INSETS channel
13410
13411 2002-03-19  André Pönitz <poenitz@gmx.net>
13412
13413         * lyxfunc.C: tiny whitespace change
13414
13415 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13416
13417         * ToolbarDefaults.C (init):
13418         * LyXAction.C (init):
13419         * commandtags.h:
13420         * BufferView_pimpl.C (Dispatch):
13421         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13422
13423 2002-03-19  Allan Rae  <rae@lyx.org>
13424
13425         * exporter.C (Export): removeAutoInsets before doing anything else.
13426         While I've just introduced a dependency on BufferView this really is
13427         the best place to clean the buffer otherwise you need to cleanup in
13428         a dozen places before calling export or cleanup in a dozen functions
13429         that export calls.
13430
13431         * converter.C (runLaTeX):
13432         (scanLog): Better handling of removeAutoInsets and screen updates.
13433
13434         * lyxfunc.C (dispatch): small whitespace changes
13435
13436 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13437
13438         * WorkArea.C (C_WorkAreaEvent): return a value.
13439         (event_cb): return 1 if we handled the event, 0 otherwise.
13440
13441         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13442
13443 2002-03-18  Juergen Vigna  <jug@sad.it>
13444
13445         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13446         (GetAdditionalWidth): ditto.
13447         (RightLine): ditto.
13448         (LeftLine): ditto.
13449
13450         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13451         inset if we're there actually (probably not used right now but this
13452         is the direction to go for unifying code).
13453         (paste): disable code to clear the selection.
13454
13455         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13456         inside an InsetText and move the check further up as it is in the
13457         wrong place.
13458
13459         * text2.C (pasteSelection): set a selection over the pasted text.
13460
13461 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13462
13463         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13464         and libgraphics to build on Cygwin.
13465
13466 2002-03-15  Juergen Vigna  <jug@sad.it>
13467
13468         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13469         inserting an Inset into the paragraph. I know this is not the best
13470         fix but we already use current_view in CutAndPaste so we will remove
13471         all of it's using at the same time.
13472
13473         * buffer.C (sgmlError): deactivated function till it is rewritten in
13474         the right mode, now it can create problems.
13475
13476         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13477         before accessing it.
13478
13479 2002-03-14  Juergen Vigna  <jug@sad.it>
13480
13481         * undo_funcs.C (textHandleUndo): do the right thing when updating
13482         the inset after the undo/redo.
13483
13484         * text2.C (setCursor): just some testcode for #44 not ready yet.
13485
13486         * undo_funcs.C (textHandleUndo): set the next() and previous()
13487         pointers of the paragraph to 0 before deleting otherwise we have
13488         problems with the Paragraph::[destructor].
13489
13490         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13491         on a paragraph insertion.
13492
13493 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13494
13495         * buffer.C (asciiParagraph): use += operator for char append to
13496         string.
13497
13498         * paragraph.C (getFontSettings): compare >= not just >
13499         (highestFontInRange): ditto
13500         (setFont): ditto
13501
13502 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13503
13504         * paragraph.C: change several algorithm to be more appripriate for
13505         the problem domain. This is lookip in FontList and in the InsetList.
13506
13507 2002-03-13  André Pönitz <poenitz@gmx.net>
13508
13509         * commandtags.h:
13510         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13511
13512 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13513
13514         * commandtags.h:
13515         * LyXAction.C:
13516         * lyxfunc.C:
13517         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13518
13519 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13520
13521         * Painter.C (display): anon helper function, adjust code for this
13522         change.
13523         (pixmap): remove function.
13524
13525         * Painter.h: remove private display variable.
13526
13527         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13528
13529 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13530
13531         * WorkArea.[Ch]: remove figinset_canvas cruft.
13532
13533 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13534
13535         * lyxtextclass.C (operator): add one item cache optimization.
13536
13537         * bufferlist.h: doxy changes
13538
13539         * bufferlist.C: ws changes
13540
13541         * DepTable.[Ch] (ext_exist): place const in the right spot.
13542
13543         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13544         call resizeInsets.
13545         (workAreaExpose): call resizeInsets when the with BufferView changes.
13546         (Dispatch): adjust for protectedBlank removal
13547         (specialChar): call updateInset if the insert went ok.
13548
13549         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13550         specialChar instead.
13551
13552         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13553
13554         * BufferView.h: doxy change
13555
13556         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13557
13558         * lyxtextclass.C (operator[]): remove non-const version
13559         (defaultLayout): remove non-const version
13560
13561 2002-03-12  Juergen Vigna  <jug@sad.it>
13562
13563         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13564         did resize the LyXText too.
13565
13566         * buffer.C (readLyXformat2): set layout information on newly allocated
13567         paragraphs.
13568
13569         * tabular.C (OldFormatRead): set layout information on the paragraph.
13570
13571 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13572
13573         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13574
13575 2002-03-11  Juergen Vigna  <jug@sad.it>
13576
13577         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13578         plainly wrong.
13579         (resizeCurrentBuffer): force also the insets to resize themselfes.
13580         (moveCursorUpdate): fixed up for InsetText.
13581
13582 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13583
13584         * commandtags.h:
13585         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13586         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13587         value of Dialogs::tooltipsEnabled().
13588         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13589
13590 2002-03-08  Juergen Vigna  <jug@sad.it>
13591
13592         * BufferView_pimpl.C (updateInset): update inset inside inset also
13593         if it isn't inside theLockingInset().
13594
13595 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13596
13597         * buffer.C (asciiParagraph): redo some of the word and line length
13598         handling.
13599         (getLists): look for Caption instead of caption.
13600
13601 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13602
13603         * buffer.C (Buffer): initialize niceFile to true
13604         (makeLaTeXFile):
13605         (makeLinuxDocFile):
13606         (makeDocBookFile): make sure niceFile is true on exit
13607
13608 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13609
13610         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13611
13612 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13613
13614         * LyXSendto.C: remove.
13615         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13616         * lyx_gui.C: remove now-redundant comment.
13617         * ColorHandler.h: remove forward declaration of class WorkArea.
13618         * lyxfunc.C: remove #include "WorkArea.h".
13619
13620 2002-03-07  Juergen Vigna  <jug@sad.it>
13621
13622         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13623         got moved away with the DEPM and also set the inset_owner always
13624         right which before could have been omitted.
13625
13626 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13627
13628         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13629         wanted layout is not found.
13630
13631 2002-03-07  Juergen Vigna  <jug@sad.it>
13632
13633         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13634
13635 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13636
13637         * paragraph.C (breakParagraph): use default layout not layout of
13638         prev paragraph.
13639         (Paragraph): clear ParagraphParameters.
13640
13641 2002-03-06  Juergen Vigna  <jug@sad.it>
13642
13643         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13644         otherwise it would not be a valid lenght. Fixed a special case in
13645         the minipage compatibility read where we end the document with a
13646         minipage.
13647
13648         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13649         was set as it could be 0 for InsetTexts first entry.
13650
13651 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13652
13653         * paragraph.C (writeFile): if layout is empty write out
13654         defaultLayoutName().
13655
13656         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13657         file without named layout we set layout to defaultLayoutName().
13658
13659 2002-03-06  Juergen Vigna  <jug@sad.it>
13660
13661         * CutAndPaste.C (copySelection): set layout for new paragraph.
13662
13663         * text.C (prepareToPrint): leave ERT inset left aligned
13664         (leftMargin): don't indent paragraphs inside ERT insets
13665
13666 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13667
13668         * paragraph.C (breakParagraph): dont call clear do the work manually
13669
13670         * paragraph.[Ch] (clear): remove function
13671
13672 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13673
13674         * paragraph.C (Paragraph): dont call clear, the work has already
13675         been done.
13676
13677         * lyxtextclass.C (operator): assert if n is empty
13678
13679         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13680         work manually instead.
13681
13682 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13683
13684         * BufferView_pimpl.C: protect selectionLost against text == 0
13685
13686 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13687
13688         * text.C (breakParagraph): fix a setting layout to '0' problem.
13689
13690 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13691
13692         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13693         final location of file, for the included files, and graphics.
13694
13695 2002-03-05  Juergen Vigna  <jug@sad.it>
13696
13697         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13698
13699 2002-03-04  Juergen Vigna  <jug@sad.it>
13700
13701         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13702
13703         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13704         last column of multicolumn cells.
13705         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13706
13707 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13708
13709         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13710         file if it doesn't go to a temporary file.
13711
13712         * buffer.C (sgmlOpenTag):
13713         (sgmlCloseTag):  remove extra newline insertion.
13714
13715 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13716
13717         * text.C (getRowNearY): comment out debug msg
13718
13719 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13720
13721         * text2.C: first -> first_y
13722
13723         * text.C (getRowNearY): add some attemts at a possible
13724         optimization, not working.
13725
13726         * tabular.[Ch]: add BufferParams to several function so that newly
13727         created paragraph can be initialized to he default layotu for the
13728         buffers textclass.
13729
13730         * tabular-old.C (ReadOld): add buf->params to call of Init
13731
13732         * screen.C: rename text->first to text->first_y
13733
13734         * paragraph.C (breakParagraph): always set layout in the broken
13735         paragraph
13736
13737         * lyxtextclass.C (Read): remove lowercase
13738         (hasLayout): ditto
13739         (operator): ditto
13740         (delete_layout): ditto
13741
13742         * lyxtext.h: rename first -> first_y
13743
13744         * lyxlayout.C (Read): remove lowercase
13745         (name): ditto
13746         (setName): ditto
13747         (obsoleted_by): ditto
13748
13749         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13750
13751         * buffer.C (insertErtContents): add params are to InsetERT
13752         (parseSingleLyXformat2Token): add code to check if a paragraphs
13753         layout really exist.
13754         (parseSingleLyXformat2Token): add params to several inset
13755         constructors
13756         (asciiParagraph): remove lowercase, do the layout comparisons with
13757         no_case
13758
13759         * BufferView_pimpl.C (cursorNext): first -> first_y
13760         (resizeCurrentBuffer): first -> first_y
13761         (updateScrollbar): first -> first_y
13762         (scrollCB): first -> first_y
13763         (workAreaMotionNotify): first -> first_y
13764         (workAreaButtonPress): first -> first_y
13765         (checkInsetHit): first -> first_y
13766         (cursorPrevious): first -> first_y
13767         (cursorNext): first -> first_y
13768         (Dispatch): add buffer_->params to severl inset contructors
13769
13770 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13771
13772         * lyxlayout.C (Read): remove some debug info that I forgot.
13773
13774         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13775         clean up the code slightly.
13776         (makeLinuxDocFile): ditto
13777         (makeDocBookFile): ditto
13778
13779         * text2.C: layout as string
13780
13781         * text.C: layout as string
13782
13783         * paragraph_pimpl.C: layout as string
13784
13785         * paragraph.[Ch]: layout as string
13786
13787         * lyxtextclasslist.[Ch]: layout as string
13788
13789         * lyxtextclass.[Ch]: layout as string
13790
13791         * lyxtext.h: layout as string
13792
13793         * lyxlayout.[Ch]: layout as string
13794
13795         * lyx_cb.C: layout as string
13796
13797         * bufferview_funcs.C: layout as string
13798
13799         * bufferparams.C: layout as string
13800
13801         * buffer.C: layout as string
13802
13803         * LyXView.[Ch]: layout as string
13804
13805         * LaTeXFeatures.[Ch]: layout as string
13806
13807         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13808
13809         * BufferView_pimpl.C: change current_layout to string, remove
13810         lyx::layout_type.
13811         (Dispatch):
13812         (smartQuote):
13813         (insertInset):
13814         (workAreaButtonRelease): layout as string
13815
13816         * BufferView2.C (unlockInset): adjust
13817
13818         * vspace.C (asLatexCommand): use an explict temp variable.
13819
13820 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13821
13822         * Makefile.am: use FRONTEND_*
13823
13824 2002-03-01  Juergen Vigna  <jug@sad.it>
13825
13826         * tabular.C (SetWidthOfMulticolCell): changed to something better
13827         I hope but still work in progress.
13828         (recalculateMulticolumnsOfColumn): renamed function from
13829         recalculateMulticolCells as it is more appropriate now.
13830         (SetWidthOfCell): calculate multicols better.
13831
13832 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13833
13834         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13835
13836         * lyxfunc.C (processKeySym): print sequence also if it is
13837         `deleted' (complete)
13838
13839         * kbsequence.C (print): print sequence even if it is deleted
13840         (complete would be a better word, actually).
13841
13842         * lyxfunc.C (dispatch): print complete options after a prefix key
13843
13844         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13845
13846 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13847
13848         * text2.C (setCharFont): eliminate setCharFont code duplication.
13849
13850 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13851
13852         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13853         LFUN_TABULAR_FEATURE (bug #177)
13854
13855 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13856
13857         * Makefile.am: remove figure.h
13858
13859 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13860
13861         * Bufferview_pimpl.C:
13862         * CutAndPasteC:
13863         * LaTeX.C:
13864         * LyXSendto.C:
13865         * buffer.C:
13866         * bufferlist.C:
13867         * converter.C:
13868         * language.C:
13869         * lyxfunc.C:
13870         * lyxvc.C:
13871         * paragraph.C:
13872         * text.C:
13873         * text2.C: remove #include "lyx_gui_misc.h".
13874
13875         * LaTeX.C: added #include <cstdio>
13876
13877 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13878
13879         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13880         that the paragraph following this one can have.
13881
13882         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13883
13884         * vspace.C (asLatexCommand): fix bogus gcc warning
13885
13886         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13887
13888 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13889
13890         * text2.C (setLayout): get rid of redundant code
13891
13892 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13893
13894         * text2.C (incDepth): make sure depth cannot be increased beyond
13895         reasonable values.
13896
13897 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13898
13899         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13900         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13901
13902         * PainterBase.h (image):
13903         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13904         a LyXImage const *.
13905
13906 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13907
13908         * BufferView.C:
13909         * BufferView.h:
13910         * BufferView_pimpl.C:
13911         * BufferView_pimpl.h:
13912         * LaTeXFeatures.C:
13913         * LyXAction.C:
13914         * LyXView.C:
13915         * Makefile.am:
13916         * UpdateList.h:
13917         * UpdateList.C:
13918         * buffer.C:
13919         * figure.h:
13920         * figureForm.C:
13921         * figureForm.h:
13922         * figure_form.C:
13923         * figure_form.h:
13924         * lyx_cb.C:
13925         * lyx_gui.C:
13926         * lyx_gui_misc.C:
13927         * lyxfunc.C:
13928         * sp_base.h:
13929         * sp_ispell.h:
13930         * sp_pspell.h:
13931         * sp_spell.C: remove fig inset, and the crap house of
13932           cards that follows it
13933
13934 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13935
13936         * Makefile.am:
13937         * lyxserver.C:
13938         * os2_defines.h:
13939         * os2_errortable.h:
13940         * nt_defines.h: move .h into support/
13941
13942         * vms_defines.h: remove
13943
13944         * WorkArea.C: add space in debug output
13945
13946         * text2.C:
13947         * paragraph.C:
13948         * buffer.C: add WITH_WARNINGS
13949
13950         * vc-backend.h:
13951         * vc-backend.C:
13952         * bufferlist.C: s/retrive/retrieve/, add docs
13953
13954         * vspace.h:
13955         * vspace.C:
13956         * kbmap.h:
13957         * lyxlength.h:
13958         * lyxgluelength.h:
13959         * length_common.h:
13960         * chset.h:
13961         * chset.C: add docs
13962
13963         * lyxgui.C: add ID to X error handler
13964
13965         * lyxtestclass.c: fix typo
13966
13967 2002-02-26  Juergen Vigna  <jug@sad.it>
13968
13969         * tabular_funcs.C (write_attribute): changed so that some default
13970         attributes are not written at all.
13971         (getTokenValue): set default values before trying to read the
13972         value so we have the return value always set as default if we don't
13973         find the token we search for.
13974
13975         * tabular.C (Write): write bools as bools not as strings!
13976
13977 2002-02-22  Juergen Vigna  <jug@sad.it>
13978
13979         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13980         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13981
13982         * text.C (leftMargin): don't add an indent for paragraphs inside
13983         tabular cells (fix #208).
13984
13985 2002-02-21  José Matos  <jamatos@fep.up.pt>
13986
13987         * tabular.C (docBook): fixed support for long tables.
13988
13989 2002-02-20  Juergen Vigna  <jug@sad.it>
13990
13991         * text2.C (getFont): get the drawing font of the Inset if this
13992         paragraph is inside an inset (only important for InsetERT for now).
13993
13994         * buffer.C (insertErtContents): use new lanugage params in ERT
13995         constructor.
13996
13997         * CutAndPaste.C: commenting out seemingly uneeded code.
13998
13999 2002-02-19  Allan Rae  <rae@lyx.org>
14000
14001         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14002         Iterators might be simple to use but they also get invalidated.
14003         (removeAutoInsets): renamed saved cursor tracking variables and added
14004         some comments to clarify what everything does.
14005
14006 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14007
14008         * Chktex.C:
14009         * LaTeX.C:
14010         * LyXSendto.C:
14011         * converter.C:
14012         * lyx_cb.C:
14013         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14014         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14015
14016         * lyxfunc.C:
14017         * vc-backend.h: remove #include "support/syscall.h"
14018
14019         * LaTeX.C:
14020         * LyXSendto.C:
14021         * converter.C: rearrange #includes in Lars' approved fashion.
14022
14023         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14024         forward declare class Timeout in the header file.
14025
14026         * XFormsView.C: changes due to the above.
14027
14028         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14029         similar to LyXView.
14030
14031         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14032         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14033
14034 2002-02-18  José Matos  <jamatos@fep.up.pt>
14035
14036         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14037         insets contents.
14038
14039 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14040
14041         * a lot of small ws changes
14042         * add a lot of using std::XXX
14043         * use std construcs some places where approp.
14044         * use some exisint stuff from lyxfunctional where approp.
14045         * Make file changes to use partial linking (lets test this now...)
14046
14047 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14048
14049         * Chktex.C:
14050         * buffer.C:
14051         remove #include "support/syscontr.h" as it's redundant. Always has been.
14052
14053         * Chktex.C:
14054         * LaTeX.C:
14055         * LyXSendto.C:
14056         * converter.C:
14057         * lyx_cb.C:
14058         * vc-backend.C:
14059         change Systemcalls::System to Systemcalls::Wait and
14060         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14061         No change of functionality, just reflects the stripped down Systemcalls
14062         class.
14063
14064 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14065
14066         * debug.[Ch]: add a GRAPHICS type to the enum.
14067
14068 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14069
14070         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14071
14072         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14073         there is an inset.
14074
14075 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14076
14077         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14078         match the changes below.
14079
14080         * text2.C (toggleInset): if there is not editable inset at cursor
14081         position, try to see if cursor is _inside_ a collapsable inset
14082         and close it.
14083
14084 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14085
14086         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14087         document menu has a nice checkbox
14088
14089 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14090
14091         * lyxlength.C (asLatexString): change PW to output as percent of
14092         \textwidth.
14093
14094         * lengthcommon.C: change '%' to 't%'
14095
14096         * lyxfunc.C (dispatch): a few comments from Martin
14097
14098 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14099
14100         * WorkArea.h:
14101         * WorkArea.C:
14102         * BufferView_pimpl.h:
14103         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14104           the X selection.
14105
14106 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14107
14108         * vspace.C (inPixels): fix compiler warning
14109
14110 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14111
14112         * lyxfunc.C (getStatus): fix status message for disabled commands.
14113
14114 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14115
14116         * BufferView_pimpl.C: fix crash on close buffer
14117         during selection (#227)
14118
14119 2002-01-27  Herbert Voss  <voss@lyx.org>
14120
14121         * buffer.C: link old Figure to new graphic inset
14122
14123 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14124
14125         * FontLoader.C (getFontinfo): Change the latex font names in order
14126         to match the names of type1inst.
14127
14128 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14129
14130         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14131
14132         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14133         (extchanged): ditto
14134         (ext_exist): ditto
14135         (remove_files_with_extension): ditto
14136         (remove_file): ditto
14137         (write): ditto
14138
14139         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14140         document is smaller than the work area height. Do not initialize
14141         static variables to 0.
14142
14143 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14144
14145         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14146
14147         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14148         LFUN_LAYOUT_PARAGRAPHS.
14149
14150         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14151         tabular. It is possible to provide a possible cell, which will
14152         typically be the actcell from the corresponding insettabular
14153
14154         * lyxfunc.C (getStatus): small cleanup; disable
14155         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14156         true
14157
14158 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14159
14160         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14161
14162         * paragraph.C (startTeXParParams):
14163         (endTeXParParams): new methods. The LaTeX code to
14164         start/end paragraph formatting
14165         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14166         empty (fixes bug #200)
14167
14168         * vspace.C (inPixels): adapt to the change below
14169         (inPixels): [later] more cleanups (remove unused variables)
14170
14171         * lyxlength.C (inPixels): change to use a width and a height as
14172         parameter.
14173
14174 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14175
14176         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14177         Replaced with \paperwidth
14178
14179         * DepTable.C (insert): add std:: qualifier
14180
14181 2002-01-18  Allan Rae  <rae@lyx.org>
14182
14183         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14184         updated also?
14185
14186         * text.C (drawInset): Turned out I didn't know enough about how
14187         rebreaking worked.  This fixes most of the redraw problems.  I see
14188         an occasional cursor trail when a line is broken now and the cursor
14189         placement can seem out by a few pixels also after a rebreak.
14190
14191 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14192
14193         * buffer.C (parseSingleLyXformat2Token): update because minipage
14194         width is now a LyXLength
14195
14196         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14197
14198         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14199         math insets
14200
14201 2002-01-17  Juergen Vigna  <jug@sad.it>
14202
14203         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14204
14205         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14206         is set correctly and the inset is updated correctly.
14207
14208 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14209
14210         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14211         the beginning of the loop.
14212
14213 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14214
14215         * lyxrc.C: improve help for use_scalable_fonts
14216
14217 2002-01-17  Allan Rae  <rae@lyx.org>
14218
14219         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14220
14221 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14222
14223         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14224         make sure to set their inset_owner to the right value (bug #171)
14225
14226 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14227
14228         * DepTable.h
14229         * DepTable.C: Implement mtime checking to reduce time spent doing
14230         CRCs.
14231
14232 2002-01-16  Juergen Vigna  <jug@sad.it>
14233
14234         * tabular.C (GetAdditionalHeight): one of error fixed.
14235
14236         * lyxrc.C (output): small fix in writing use_pspell.
14237
14238 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14239
14240         * sp_base.h: #include LString.h
14241
14242 2002-01-16  Allan Rae  <rae@lyx.org>
14243
14244         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14245         Can someone check this please?
14246
14247         * text.C (drawInset): It was possible that p.row would be removed by
14248         breakAgainOneRow upsetting a few other settings.  There may be another
14249         small tweak possible by setting need_break_row = 0 when p.row has been
14250         removed but I don't know enough about the logic here.
14251
14252 2002-01-15  Allan Rae  <rae@lyx.org>
14253
14254         * text.C (insertChar): removed conditional truism.
14255
14256         * BufferView2.C (removeAutoInsets): More tweaks.
14257         cur_par_prev could be a stray pointer.  Check for trailing empty line
14258         in case last line was cur_par and only had an error inset on it.
14259
14260 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14261
14262         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14263         absolute
14264
14265         * vc-backend.C (most methods):
14266         * exporter.C (Export):
14267         * converter.C (convert):
14268         (runLaTeX):
14269         * LyXSendto.C (SendtoApplyCB):
14270         * lyxfunc.C (dispatch):
14271         (menuNew):
14272         (open):
14273         (doImport):
14274         * lyx_cb.C (AutoSave):
14275         (InsertAsciiFile):
14276         * BufferView_pimpl.C (MenuInsertLyXFile):
14277         * buffer.C (runChktex): use Buffer::filePath().
14278
14279         * buffer.h: rename filename to filename_; rename filepath to
14280         filepath_ and make it private
14281         (filePath): new method
14282
14283         * buffer.C (writeFile): use fileName()
14284         (getLatexName):
14285
14286         * lyx_main.C (init): fix starting  of LyX when the binary is a
14287         link from so,ewhere else.
14288
14289         * minibuffer.C: include <cctype> for isprint
14290
14291 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14292
14293         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14294         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14295         name clash with InsetCollapsable's width function.
14296
14297 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14298
14299         * lastfiles.C: include <iterator>
14300
14301 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14302
14303         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14304         std::count.
14305
14306         * buffer.C (makeLaTeXFile): ditto.
14307         Also make loop operation more transparent.
14308
14309 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14310
14311         * ToolbarDefaults.C: remove trailing comma closing namespace.
14312
14313         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14314
14315         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14316         as in WorkArea.
14317
14318         * trans.C (Load): comment out unused variable, allowed.
14319
14320 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14321
14322         * minibuffer.[Ch] (append_char): new method to recieve input from the
14323         drop-down completion browser. If a key was pressed, then recieve this
14324         char and append it to the existing string.
14325         (peek_event): modify the positioning data passed to the completion
14326         browser so that it can be placed above the minibuffer rather than below.
14327 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14328
14329         * LyXAction.C (init): alloe error-next for readonly documents.
14330
14331         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14332         count.
14333
14334 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14335
14336         * bufferlist.C (readFile): create the buffer _after_ checking that
14337         the file exists.
14338
14339         * lyxfunc.C (verboseDispatch): fix handling of arguments
14340
14341         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14342
14343         * lyxrc.C: use string::erase() instead of initializing to "".
14344
14345
14346 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14347
14348         * BufferView_pimpl.h:
14349         * BufferView_pimpl.C:
14350         * WorkArea.h:
14351         * WorkArea.C:
14352         * text2.C: tell X when we have made a selection for copying
14353
14354 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14355
14356         * BufferView_pimpl.C (MenuInsertLyXFile):
14357         * lyxfunc.C (menuNew):
14358         (open):
14359         (doImport): add shortcuts to directory buttons
14360
14361         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14362         open a float)
14363
14364         * lyxfunc.C (setStatusMessage):
14365         (getStatusMessage): new methods
14366         (getStatus):use setStatusMessage instead of setErrorMessage
14367         (dispatch): when function is disabled, set error message here
14368         [instead of in getStatus previously]
14369
14370         * BufferView_pimpl.C (workAreaButtonRelease): update
14371         toolbar/menubar here too.
14372
14373 2002-01-13  Allan Rae  <rae@lyx.org>
14374
14375         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14376         Now seems indestructible.  Remaining task is to audit all other
14377         code affected by deleteEmptyParagraphMechanism.  One small quirk
14378         left is that an empty document with an error in the preamble can
14379         be made to report an error but no error box appears.  I don't know
14380         where it goes.
14381         (removeAutoInsets): Improved comments.
14382
14383 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14384
14385         * Thesaurus.h:
14386         * Thesaurus.C: update for Aiksaurus 0.14
14387
14388 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14389
14390         * text2.C (firstParagraph): removed member function, all uses
14391         replaces with ownerParagraph
14392         (redoParagraphs): here
14393         (updateInset): here
14394         (toggleAppendix): here
14395         * BufferView2.C (insertErrors): here
14396         (setCursorFromRow): here
14397
14398 2002-01-13  Allan Rae  <rae@lyx.org>
14399
14400         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14401         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14402         There is still a way to segfault this although you may have to do this
14403         multiple times: Have an InsetERT with an unknown command in it.
14404         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14405         <down-arrow>, <Enter> again, View->DVI, BANG!
14406
14407         * text2.C (setCursor):
14408         (deleteEmptyParagraphMechanism):
14409         * lyxtext.h (setCursor):
14410         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14411         Making use of the return value may help fix other bugs.
14412
14413 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14414
14415         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14416
14417         * LyXView.C (updateMenubar): call MenuBar::update here
14418         (updateToolbar): but not here
14419         (showState): do not update toolbar/menubar
14420
14421         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14422         should need to care about that.
14423
14424         * lyxfunc.C (verboseDispatch): simplify a bit
14425         (getStatus): have a version which takes a pseudoaction, and
14426         another which requires a (kb_action,string).
14427
14428         * LyXAction.C (retrieveActionArg): make it work also when action
14429         is not a pseudo-action.
14430         (getActionName): simplify a bit
14431         (helpText):
14432
14433 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14434
14435         * lyxfunc.C (verboseDispatch): new families of methods with
14436         several ways to specify a command and a bool to indicate whether
14437         the command name and shortcut should be displayed in minibuffer
14438         (eventually, we could extend that to a finer bitmask like
14439         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14440         (dispatch): the pristine dispatch command which just, well,
14441         dispatchs! Note it still sets its result to minibuffer; I'm not
14442         sure we want that.
14443
14444         * lyxfunc.h: remove setHintMessage
14445
14446         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14447
14448 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14449
14450         * BufferView_pimpl.C (specialChar): delete new inset if we have
14451         not been able to insert it.
14452
14453         * kbmap.C: revert to using int instead of kb_action, since all we
14454         are dealing with is pseudo-actions.
14455
14456         * LyXAction.C (searchActionArg): change to return int instead of
14457         kb_action, since the result is a pseudoaction.
14458
14459 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14460
14461         * buffer.C (insertErtContents): Fix (partially) the font bug.
14462
14463 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14464
14465         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14466         as the other one is broken on my machine!
14467
14468 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14469
14470         * commandtags.h:
14471         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14472
14473 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14474
14475         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14476         reflect their actual use. Provide compatibility code for older lyxrc
14477         files.
14478
14479         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14480         FL_NORMAL_STYLE.
14481         change names of popup font variables in line with the changes to lyxrc.C
14482
14483 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14484
14485         * buffer.C (asciiParagraph): avoid outputing a word twice after
14486         an inset.
14487
14488         * lyxrc.C (getDescription): document that document_path and
14489         template_path can be empty.
14490
14491 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14492
14493         * LaTeXFeatures.C (getMacros):
14494         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14495
14496         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14497
14498         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14499         getPackages.
14500         (getPackages): rename feature "floats" to "float". Use an array to
14501         iterate over 'simple' features (i.e. just a \usepackage). Add
14502         handling of "amsmath" (renamed from "amsstyle").
14503
14504 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14505
14506         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14507         features list.
14508
14509 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14510
14511         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14512         FuncStaus::FuncStatus & FuncStaus::some_method().
14513
14514 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14515
14516         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14517         of the func_satus stuff. Edited and massaged in various ways by
14518         JMarc.
14519
14520         * lyxfunc.C (getStatus): use FuncStatus
14521
14522 2002-01-08  Juergen Vigna  <jug@sad.it>
14523
14524         * text.C (nextBreakPoint): use function Inset::isChar().
14525
14526         * paragraph.C (TeXOnePar): use function
14527         Inset::forceDefaultParagraphs.
14528
14529         * buffer.C (latexParagraphs): use function
14530         Inset::forceDefaultParagraphs.
14531
14532 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14533
14534         * lyx_gui.C (init): set the style of the menu popups to
14535         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14536
14537 2002-01-07  Juergen Vigna  <jug@sad.it>
14538
14539         * text.C (setHeightOfRow): small fix
14540         (prepareToPrint): don't look at alignment if we don't have the place
14541         for doing it.
14542
14543 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14544
14545         * box.C: New file. Move the Box methods and functions out of box.h,
14546         following Lars' suggestion.
14547
14548 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14549
14550         * box.h: #include "support/LOstream.h", needed for inlined function.
14551
14552         * lyxtextclass.C:
14553         * lyxtextclasslist.C: added some using std declarations.
14554
14555 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14556
14557         * box.h: make signed dimensions to allow insets wider than
14558           the screen (bug #162)
14559
14560         * BufferView_pimpl.C: add some insetHit debug
14561
14562 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14563
14564         * vc-backend.C: add FIXME
14565
14566 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14567
14568         * lyxfunc.C (getStatus): enable code for showing math font status
14569         in toolbar/menu.
14570
14571 2002-01-07  Juergen Vigna  <jug@sad.it>
14572
14573         * text.C (nextBreakPoint): removed debug output not needed anymore.
14574
14575 2002-01-06  Juergen Vigna  <jug@sad.it>
14576
14577         * text.C (nextBreakPoint): fixed up this function we had this bug
14578         since ever but now hopefully we break row better.
14579         (insertChar): we have to check if an inset is the next char as it
14580         could now happen that a large inset is causing a break.
14581
14582 2002-01-05  Juergen Vigna  <jug@sad.it>
14583
14584         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14585         if it doesn't like to be drawed.
14586
14587 2002-01-04  Juergen Vigna  <jug@sad.it>
14588
14589         * BufferView2.C (lockInset): forgot to set a cursor.
14590
14591         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14592
14593 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14594
14595         * FormMathsPanel.C:
14596         * FormMathsPanel.h
14597         * MathsSymbols.C:
14598         * form_maths_panel.C:
14599         * form_maths_panel.h:
14600         * form_maths_panel.fd: implemented sub- and super- buttons in math
14601         panel.
14602
14603         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14604         (or ^ space) to be used as in TeX (req'd by Andr�.
14605
14606         * lyxfunc.C: Allow ^ and _ again to be used both as
14607         super/subscript (mathed) and as themselves (in text).
14608
14609 2002-01-03  Allan Rae  <rae@lyx.org>
14610
14611         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14612         "LyX" or the filename of the current buffer if it has one.  This is a
14613         modified form of John Levon's patch.
14614
14615         * XFormsView.C (setWindowTitle): also set icon title.
14616
14617         * LyXView.h (setWindowTitle): signature changed.
14618         * XFormsView.h (setWindowTitle): ditto.
14619
14620 2002-01-02  Juergen Vigna  <jug@sad.it>
14621
14622         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14623
14624 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14625
14626         * screen.C (topCursorVisible): introduce a temp var for
14627         text->cursor.row(), handle the case where this row is null. (kindo
14628         hachish)
14629
14630         * text2.C (setCursor): add a couple of asserts.
14631
14632         * paragraph.h (inset_iterator): add -> operator
14633
14634         * paragraph.[Ch] (autoDeleteInsets): remove member function
14635
14636         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14637         cursor pos correctly and handle inset deletion by itself.
14638         (insertErrors): move iterator declaration out of for expression
14639
14640         * lyxtextclass.C: add <algorithm>
14641
14642         * Makefile.am: added the new files to sources, removed layout.C
14643
14644         * layout.C: removed file
14645
14646         * layout.h: remove LYX_DUMMY_LAYOUT
14647
14648         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14649         layout.
14650
14651         * lyxlayout.[Ch]:
14652         * lyxtextclass.[Ch]:
14653         * lyxtextclasslist.[Ch]: new files
14654
14655         * include order changes to a lot of files, also changes because of
14656         the six new files.
14657
14658 2001-12-27  Juergen Vigna  <jug@sad.it>
14659
14660         * buffer.C (asciiParagraph): more fixes.
14661
14662         * tabular.C (ascii): make ascii export support export of only the
14663         data separated by a column-delimiter.
14664         (ascii): better support for ascii export.
14665
14666         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14667
14668 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14669
14670         * tabular_funcs.C: use a "using std::getline" instead of the
14671         previous fix from Angus (necessary for cxx + lyxstring)
14672
14673 2001-12-24  Juergen Vigna  <jug@sad.it>
14674
14675         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14676
14677         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14678         problems. First check a minipage also if we have some ert-contents
14679         (not only on par->size(), second set the right depth of the paragraph
14680         on the relink to the root-paragraph-list!
14681
14682         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14683         which then did not anymore update the main paragraphs on undo/redo!
14684
14685 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14686
14687         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14688         code. Support all font-changing funcs (even those which are not in
14689         menu currently). Support for reporting font settings in
14690         mathed (disabled until Andre provides a function on mathed's side).
14691
14692         * func_status.h (toggle): small helper function to set toggle
14693         state on a flag.
14694
14695 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14696
14697         * tabular_funcs.C: getline -> std::getline
14698
14699 2001-12-21  Juergen Vigna  <jug@sad.it>
14700
14701         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14702         accessed and could be 0 (I couldn't generate this but it seems
14703         Michael could!).
14704
14705 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14706
14707         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14708         * tabular_funcs.h: here and include iosfwd
14709
14710 2001-12-20  Juergen Vigna  <jug@sad.it>
14711
14712         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14713         inside inset but undo_par was.
14714
14715 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14716
14717         * Thesaurus.C: always include <config.h> in sources.
14718
14719         * Painter.h:
14720         * lyxlookup.h:
14721         * box.h: do not include <config.h> in header files
14722
14723         * text.C (paintLastRow): remove unused variable
14724
14725         * text.C (transformChar):
14726         (insertChar):
14727         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14728
14729         * Painter.C (text):
14730         * font.C (width): rewrite to use uppercase() instead of
14731         islower/toupper.
14732
14733         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14734
14735 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14736
14737         * lyxfind.C: clean up of find failure position change
14738
14739 2001-12-20  Juergen Vigna  <jug@sad.it>
14740
14741         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14742
14743         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14744         (TeXRow): added to LaTeX a single tabular row.
14745         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14746         (Latex): simplified and finally good LT-h/f support.
14747         (various_functions): just small adaptions for LT-h/f support.
14748
14749         * tabular_funcs.[hC]: added and moved here all not classfunctions
14750         of LyXTabular.
14751
14752 2001-12-19  Juergen Vigna  <jug@sad.it>
14753
14754         * tabular.[Ch]: better support for longtabular options (not finished
14755         yet!)
14756
14757 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14758
14759         * text.C (paintLastRow): use the label font instead of the font of
14760         the last character to compute the size of *_BOX. This makes more
14761         sense and avoids a crash with empty paragraphs.
14762         Use Painter::rectangle to draw EMPTY_BOX.
14763
14764 2001-12-19  Juergen Vigna  <jug@sad.it>
14765
14766         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14767         the paragraphs if the replaced paragraph is not the first one!
14768         Tried to delete not used paragraphs but does not work yet so for
14769         now it's inside #ifdef's and by default off!
14770
14771 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14772
14773         * MenuBackend.C: include "lyx_main.h" instead of declaring
14774         lastfiles (actually was declared as LastFiles* instead of a
14775         scoped_ptr).
14776
14777 2001-12-17  Juergen Vigna  <jug@sad.it>
14778
14779         * tabular.C (AppendColumn): applied John's fix
14780
14781 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14782
14783         * BufferView.h:
14784         * BufferView.C:
14785         * BufferView_pimpl.h:
14786         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14787
14788         * Makefile.am:
14789         * box.h: new start of class for above
14790
14791         * lyxfunc.C: ignore space-only minibuffer dispatches.
14792           Show the command name when it doesn't exist
14793
14794         * minibuffer.C: don't add empty lines to the history
14795
14796         * minibuffer.C: add a space on dropdown completion
14797
14798 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14799
14800         * text.C: fix line above/below drawing in insets
14801
14802 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14803
14804         * lyxlength.C (LyXLength): Initialize private variables.
14805
14806 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14807
14808         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14809         when inserting error insets.
14810
14811 2001-12-13  Juergen Vigna  <jug@sad.it>
14812
14813         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14814         actually sometimes the before-paragraph.
14815         (setUndo): don't clear the redostack if we're not actually undoing!
14816
14817 2001-12-06  Juergen Vigna  <jug@sad.it>
14818
14819         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14820         and fixed redoing of main paragraph, so we can use it now ;)
14821
14822         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14823
14824 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14825
14826         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14827         Juergen's request
14828
14829 2001-12-13  André Pönitz <poenitz@gmx.net>
14830
14831         * undostack.[Ch]:
14832         * undo_func.C: minor cleanup
14833
14834 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14835
14836         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14837         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14838         font in urw-fonts package which is marked as -urw-fontspecific and
14839         does not work (incidentally, changing the encoding in the
14840         fonts.dir of this package to -adobe-fontspecific fixes the
14841         problem).
14842
14843         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14844         is a crash when undoing first paragraph (Juergen, please take a
14845         look). THis does not mean the undo fix is wrong, just that it
14846         uncovers problems.
14847
14848         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14849         the (Paragraph*) version when needed instead of duplicating the
14850         code.
14851
14852         * text.C (workWidth): use Inset::parOwner to find out where the
14853         inset has been inserted. This is a huge performance gain for large
14854         documents with lots of insets. If Inset::parOwner is not set, fall
14855         back on the brute force method
14856
14857         * paragraph_pimpl.C (insertInset):
14858         * paragraph.C (Paragraph):
14859         (cutIntoMinibuffer): set parOwner of insets when
14860         inserting/removing them
14861
14862         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14863
14864 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14865
14866         * commandtags.h:
14867         * LyXAction.C:
14868         * lyx_main.C:
14869         * lyxfunc.C:
14870         * mathed/formulabase.C:
14871         * mathed/math_cursor.[Ch]:
14872         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14873
14874
14875 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14876
14877         * lyxlength.[Ch] (operator!=): new function
14878
14879 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14880
14881         * text.C (workWidth): use Inset::parOwner to find out where the
14882         inset has been inserted. This is a huge performance gain for large
14883         documents with lots of insets. If Inset::parOwner is not set, fall
14884         back on the brute force method
14885
14886         * paragraph_pimpl.C (insertInset):
14887         * paragraph.C (Paragraph):
14888         (cutIntoMinibuffer): set parOwner of insets when
14889         inserting/removing them
14890
14891         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14892
14893 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14894
14895         * tabular-old.C (getTokenValue):
14896         * tabular.C (getTokenValue):
14897         (write_attribute): new versions for LyXLength
14898         (everywhere): adjust the use of widths
14899
14900         * tabular.h: change the type of widths from string to LyXLength
14901
14902 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14903
14904         * paragraph.C: fixed missing line number count when exporting
14905         Environments to LaTeX file
14906
14907         * buffer.C: added informational message for checking line numbers.
14908
14909 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14910
14911         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14912         paragraph, do the 'double space' part, but not the 'empty
14913         paragraph' one.
14914
14915         * text.C (workWidth): small optimization
14916         (getLengthMarkerHeight): use minimal size for negative lengths.
14917
14918 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14919
14920         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14921
14922         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14923
14924 2001-12-11  André Pönitz <poenitz@gmx.net>
14925
14926         * FontLoader.C:
14927         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14928
14929 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14930
14931         * text2.C: keep selection on a setFont()
14932
14933 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14934
14935         * lyx_cb.C: another bv->text misuse, from insert label
14936
14937 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14938
14939         * kbsequence.h:
14940         * kbsequence.C: re-instate nmodifier mask
14941
14942 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14943
14944         * lyx_main.h: make lyxGUI private.
14945
14946 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14947
14948         * lyxfind.C: place the cursor correctly on failed search
14949
14950 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14951
14952         * text.C (getLengthMarkerHeight): for small heights, the arrows
14953         are not always on top/bottom of the text
14954         (drawLengthMarker): smaller arrows; take the left margin in
14955         account; draw also vfills.
14956         (paintFirstRow):
14957         (paintLastRow): remove special code for vfill and standard spaces,
14958         since everything is handled in drawLengthMarker now.
14959
14960 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14961
14962         * buffer.C (insertErtContents): try to handle font and language
14963         interaction a bit better.g
14964
14965         * ColorHandler.C (updateColor): change the hash to cover the whole
14966         LColor enum, ws cleanup
14967         (getGCLinepars): ditto
14968         (getGCLinepars): only lookup in the linecache once.
14969
14970 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14971
14972         * iterators.C (operator++): Make the iterator more robust
14973
14974         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14975         (John's patch)
14976         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14977
14978 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14979
14980         * lyxtext.h:
14981         * text.C: better added space drawing
14982
14983 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14984
14985         * LyXView.C:
14986         * BufferView2.C: fix layout combo update on inset unlock
14987
14988 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14989
14990         * Makefile.am: don't compile unused files
14991
14992 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14993
14994         * lyxfunc.C:
14995         * commandtags.h:
14996         * LyXAction.C: remove old LFUN_LAYOUTNO
14997
14998 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14999
15000         * paragraph_pimpl.h:
15001         * paragraph_pimpl.C: isTextAt() doesn't need font param
15002
15003 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15004
15005         * lyxlex.h:
15006         * lyxlex.C: little cleanup
15007
15008 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15009
15010         * BufferView_pimpl.C: fix insertAscii for insets
15011
15012 2001-12-05  Juergen Vigna  <jug@sad.it>
15013
15014         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15015         set the right font on the "multi" paragraph paste!
15016
15017 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15018
15019         * trans_decl.h:
15020         * trans_mgr.[Ch]:
15021         * trans.[Ch]:
15022         * lyxgluelength.C:
15023         * lyxlength.C: remove out-commented code.
15024
15025         * BufferView_pimpl:
15026         * CutAndPaste.C:
15027         * DepTable.C:
15028         * buffer.C:
15029         * chset.C:
15030         * lastfiles.C:
15031         * lyxlex.C:
15032         * lyxlex_pimpl.C:
15033         * lyxserver.C:
15034         * screen.C:
15035         * tabular-old.C:
15036         * tabular.C:
15037         * text.C:
15038         * trans_mgr.C:
15039         * vc-backend.C: change "while(" to "while ("
15040
15041         * lyxlength.[Ch]: add zero function to check if length is zero or
15042         not
15043         * lyxgluelength.C: use it
15044
15045 2001-12-05  Allan Rae  <rae@lyx.org>
15046
15047         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15048         Works for 2.95.3, from what I understand of Garst's reports this should
15049         work for other g++ versions.  We're screwed if the abs(int) definition
15050         changed between bugfix releases of gcc.
15051
15052 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15053
15054         * text.C: fix chapter label offset !
15055
15056 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15057
15058         * lyxtext.h:
15059         * text.C: fix hfill at end of line, clean up
15060
15061 2001-12-04  Juergen Vigna  <jug@sad.it>
15062
15063         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15064         that we force an update of the inset and it's owners if neccessary.
15065
15066 2001-12-03  Juergen Vigna  <jug@sad.it>
15067
15068         * text.C (rowLast): simplified code
15069
15070 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15071
15072         * lyxfunc.C: fix show options on timeout
15073
15074 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15075
15076         * screen.C (topCursorVisible): scroll half a page when the cursor
15077         reached top of bottom of screen
15078
15079 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15080
15081         * minibuffer.C: deactivate on loss of focus
15082
15083 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15084
15085         * vspace.[Ch] (operator!=): add operator.
15086
15087 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15088
15089         * BufferView_pimpl.C: refuse to open an inset when
15090         there's a selection.
15091
15092 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15093
15094         * BufferView_pimpl.C: allow to click on RHS of full row insets
15095
15096 2001-11-30  Juergen Vigna  <jug@sad.it>
15097
15098         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15099         insets for undo reasons.
15100
15101 2001-11-28  André Pönitz <poenitz@gmx.net>
15102
15103         * vspace.[Ch]: cosmetical changes
15104
15105 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15106
15107         * LyXAction.h:
15108         * LyXAction.C:
15109         * lyxfunc.h:
15110         * lyxfunc.C:
15111         * kbmap.h:
15112         * kbmap.C:
15113         * lyxrc.C:
15114         * kbsequence.h:
15115         * kbsequence.C: part re-write of old kb code
15116
15117         * Painter.C:
15118         * WorkArea.C: remove Lgb_bug_find_hack
15119
15120 2001-11-30  José Matos <jamatos@fep.up.pt>
15121
15122         * buffer.C (makeDocBookFile): add a comment to point a hack.
15123         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15124         Fixed a double write of labels.
15125
15126 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15127
15128         * LaTeX.C:
15129         * LaTeX.h Fixed bug in LaTeX class where it would not
15130         re-run latex if no depfiles were changed, but the .dvi was removed.
15131
15132 2001-11-28  André Pönitz <poenitz@gmx.net>
15133
15134         * all the files from the change on 2001/11/26:
15135         use lyx::layout_type instead of LyXTextClass::size_type
15136         use lyx::textclass_type instead of LyXTextClassList::size_type
15137
15138 2001-11-29  Juergen Vigna  <jug@sad.it>
15139
15140         * text.C: added support for paragraph::isFreeSpacing()
15141
15142         * buffer.C: same as above
15143
15144         * paragraph.h: inserted isFreeSpacing() function to enable
15145         FreeSpacing inside InsetERT.
15146
15147         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15148         of the paragraph's in the cut/copy buffer to 0!
15149
15150         * text2.C (removeRow): remove the assert as it can!
15151
15152         * lyxtext.h: added helper function firstRow returning firstrow and
15153         made firstrow private again.
15154
15155         * BufferView2.C (lockInset): don't relock if we're already locked!
15156
15157         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15158         the only paragraph.
15159         (removeRow): added Assert::(firstrow)
15160
15161         * debug.C: forgot to add INSETTEXT here.
15162
15163 2001-11-28  Juergen Vigna  <jug@sad.it>
15164
15165         * sp_spell.C (initialize): changed error text to more general
15166         spellchecker command use (not only ispell!)
15167
15168         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15169
15170         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15171
15172 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15173
15174         * vspace.C: initialise lyxgluelength on failure
15175
15176 2001-11-28  Allan Rae  <rae@lyx.org>
15177
15178         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15179         declaration & definition that looks like a function declaration.
15180
15181 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15182
15183         * BufferView2.C (copy):
15184         (copyEnvironment): do not clear the selection when doing a copy.
15185
15186         * text.C (paintFirstRow): compilation fix
15187
15188 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15189
15190         * tabular.C (Latex): correct line count when writing latex.
15191
15192 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15193
15194         * paragraph_pimpl.h:
15195         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15196           bug a bit
15197
15198 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15199
15200         * text.C:
15201         * LColor.h:
15202         * LColor.C: change vfillline->added_space
15203
15204         * text.C: add markers and text for added space
15205
15206         * vspace.C: fix comment
15207
15208 2001-11-28  André Pönitz <poenitz@gmx.net>
15209
15210         * paragraph.C: whitespace changes
15211         * all the other files from the change on 2001/11/26:
15212         change *::pos_type into lyx::pos_type
15213
15214 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15215
15216         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15217         language of the document when inserting error insets.
15218
15219 2001-11-26  André Pönitz <poenitz@gmx.net>
15220
15221         * BufferView_pimpl.[Ch]:
15222         *       CutAndPaste.C:
15223         * buffer.[Ch]:
15224         * lyxcursor.[Ch]:
15225         * lyxfind.C:
15226         * lyxfunc.C:
15227         * lyxrow.[Ch]:
15228         * paragraph.[Ch]:
15229         * paragraph_pimpl.[Ch]:
15230         * sp_spell.C:
15231         * text.C:
15232         * text2.C: reduce header dependencies, introduce type for positions
15233
15234 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15235
15236         * <various>: change to use Alert.h
15237
15238 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15239
15240         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15241         when encountering an unknown token.
15242         (readLyXformat2): Show an error message if there were unknown tokens.
15243
15244 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15245
15246         * BufferView2.C:
15247         * BufferView_pimpl.C:
15248         * buffer.C:
15249         * paragraph.h:
15250         * text.C:
15251         * text2.C: use par->isInset()
15252
15253 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15254
15255         * paragraph_pimpl.h:
15256         * paragraph_pimpl.C: cleanup
15257
15258 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15259
15260         * text2.C (removeRow):
15261         * text.C (setHeightOfRow): remove useless (and costly) call to
15262         getRow.
15263
15264 2001-11-20  Allan Rae  <rae@lyx.org>
15265
15266         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15267         Now need Inset*::checkInsertChar() to return true for appropriate
15268         cases so that the characters in the minibuffer will actually be
15269         inserted.
15270
15271 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15272
15273         * text.C: change the order of the includes.
15274         (workWidth): initialize it at once.
15275         (workWidth): make maxw unsigned
15276         (setHeightOfRow): remove unused variable (inset)
15277         (selectSelectedWord): remove unused variable (inset)
15278         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15279
15280 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15281
15282         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15283         server is not running.
15284         (openConnection):
15285         (closeConnection): add debug info when server is disabled.
15286
15287         * ColorHandler.C (getGCForeground): send debug message to GUI
15288         channel.
15289
15290         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15291
15292         * kbmap.C (bind): modify because return conventions of
15293         kb_sequence::parse have changed.
15294
15295         * kbsequence.C (parse): only ignore spaces and not any stupid
15296         control character. This avoids tests like s[i] <= ' ', which are
15297         guaranteed to fail with 8bit characters and signed chars.
15298         Change return code to string::npos when there have been no error
15299         (0 was a bad idea when error is at first character)
15300
15301 2001-11-14  José Matos  <jamatos@fep.up.pt>
15302
15303         * buffer.h:
15304         * buffer.C (simpleDocBookOnePar): removed unused argument.
15305
15306 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15307
15308         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15309         insets which are part of a word. Paragraph::isLetter takes care of
15310         that now. Use Paragraph::isInset to identify insets.
15311         (selectSelectedWord): do not test for hyphenation break.
15312
15313         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15314         that protected spaces are considered as spaces.
15315
15316         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15317         Inset::isLetter.
15318
15319 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15320
15321         * lyxserver.h:
15322         * lyxserver.C: fix it. and small cleanup.
15323
15324 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15325
15326         * BufferView_pimpl.C: use inline helpers
15327
15328         * LaTeXFeatures.h:
15329         * LaTeXFeatures.C: fix typos
15330
15331         * Spacing.h:
15332         * Spacing.C: move spacing_string into class
15333
15334         * ToolbarDefaults.C: move stuff into namespace anon
15335
15336         * layout.h: update enum
15337
15338         * lyxfunc.C: use better debug
15339
15340         * minibuffer.h: fix typo
15341
15342         * debug.h:
15343         * debug.C:
15344         * WorkArea.C: add and use Debug::WORKAREA
15345
15346         * lyxtext.h:
15347         * text.C:
15348         * text2.C: code re-organisation, inline helpers
15349
15350 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15351
15352         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15353         std::vector.empty().
15354
15355 2001-11-09  Allan Rae  <rae@lyx.org>
15356
15357         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15358         '\n's after tables.  Tabular and ERT inset work now makes this no
15359         longer necessary.
15360
15361 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15362
15363         * minibuffer.h:
15364         * minibuffer.C: fix crash, improve drop-down completion
15365
15366 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15367
15368         * lyxserver.h:
15369         * lyxserver.C: invalidate fd's when doing endPipe()
15370
15371 2001-11-08  José Matos  <jamatos@fep.up.pt>
15372
15373         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15374         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15375
15376         * paragraph.h:
15377         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15378
15379 2001-11-07  José Matos  <jamatos@fep.up.pt>
15380
15381         * buffer.h:
15382         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15383         const qualifier.
15384
15385         * buffer.C (sgmlOpenTag):
15386         * buffer.C (sgmlCloseTag): removed debug info.
15387
15388         * buffer.h (sgmlOpenTag):
15389         * buffer.h (sgmlCloseTag): made public.
15390
15391 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15392
15393         * buffer.C (saveParamsAsDefaults):
15394         * lyx_cb.C (MenuLayoutSave): remove
15395
15396         * LyXAction.C (init):
15397         * commandtags.h:
15398         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15399
15400 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15401
15402         * buffer.C (setPaperStuff): removed from here...
15403
15404         * bufferparams.C (setPaperStuff): ... and moved there.
15405
15406 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15407
15408         * minibuffer.h:
15409         * minibuffer.C:
15410         * XFormsView.C: add support for drop-down completion
15411
15412 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15413
15414         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15415         commands.
15416
15417 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15418
15419         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15420         disabled.
15421
15422 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15423
15424         * lyx_main.C: change ref to known bugs
15425
15426 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15427
15428         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15429         to work around older babel problems.
15430
15431 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15432
15433         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15434
15435 2001-10-24  Juergen Vigna  <jug@sad.it>
15436
15437         * tabular-old.C (ReadOld): below variable changes reflected.
15438
15439         * tabular.[Ch]: added ltType struct for longtable header/footer
15440         defines and changed all instances where they are used. Added
15441         future support for double top/bottom rows.
15442
15443 2001-10-24  José Matos  <jamatos@fep.up.pt>
15444
15445         * buffer.h (docbookHandleCaption):
15446         * buffer.C (docbookHandleCaption): removed unused function.
15447         (makeDocBookFile): moved docbook supported version to v4.1.
15448
15449 2001-10-24  José Matos  <jamatos@fep.up.pt>
15450
15451         * tabular.h:
15452         * tabular.C (docbookRow): new function to export docbook code of a row.
15453         (DocBook): now honors the longtable flags.
15454
15455 2001-10-23  José Matos  <jamatos@fep.up.pt>
15456
15457         * LaTeXFeatures.h:
15458         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15459         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15460
15461         * buffer.C (makeLinuxDocFile):
15462         (makeDocBookFile): reworked the preamble, more clean, and with
15463         support for lyx defined entities. Changed the document declaration
15464         to be more XML friendly.
15465
15466         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15467         if we need to output XML that should be done with a filter.
15468
15469 2001-10-22  Juergen Vigna  <jug@sad.it>
15470
15471         * sp_pspell.h (class PSpell): add alive function needed in the
15472         controller to see if the spellchecker could be started.
15473
15474 2001-10-22  Juergen Vigna  <jug@sad.it>
15475
15476         * buffer.C (insertStringAsLines): modify the font for inserting
15477         chars in certain conditions by calling checkInsertChar(font).
15478
15479 2001-10-19  Juergen Vigna  <jug@sad.it>
15480
15481         * text.C (workWidth): use getRow instead of wrong algorithm.
15482         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15483
15484 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15485
15486         * lyxserver.h:
15487         * lyxserver.C:
15488         * lyx_main.h:
15489         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15490
15491 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15492
15493         * text.C (workWidth): do not search for the exact row when
15494         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15495         optimization for big documents.
15496
15497 2001-10-18  Juergen Vigna  <jug@sad.it>
15498
15499         * text.C (workWidth): new function with added Inset * parameter.
15500
15501 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15502
15503         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15504
15505         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15506         change return type of getColumnNearX.
15507
15508
15509         * text.C (changeRegionCase): use uppercase/lowercase instead of
15510         toupper/tolower.
15511         (leftMargin):
15512         (rightMargin): simplify code by factoring out the uses of
15513         textclasslist.
15514         (labelFill):
15515         (numberOfHfills):
15516         (setHeightOfRow):
15517         (appendParagraph): use Paragraph::size_type
15518
15519 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15520
15521         * vspace.C (asLatexString): add a missing break
15522
15523 2001-10-15  Herbert Voss  <voss@perce.de>
15524
15525         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15526
15527 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15528
15529         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15530         is not available.
15531
15532 2001-10-10  André Pönitz <poenitz@gmx.net>
15533
15534         * lyxfunc.C: removed greek_kb_flag.
15535
15536 2001-10-10  Herbert Voss  <voss@perce.de>
15537
15538         * lyx_main.C: delete global string help_lyxdir.
15539
15540 2001-10-09  Herbert Voss  <voss@perce.de>
15541
15542         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15543
15544         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15545
15546         * lyx_main.C: added global string help_lyxdir.
15547
15548         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15549
15550 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15551
15552         * lyxrc.C (set_font_norm_type): support iso8859-4
15553
15554 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15555
15556         * LaTeX.C (deplog): add another regex for MikTeX
15557
15558 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15559
15560         * lyxrc.C (set_font_norm_type): support iso8859-3
15561
15562 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15563
15564         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15565
15566         * LaTeXFeatures.C: remove special case of french and index
15567
15568         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15569         before \begin{document}). This solves several incompatibilities.
15570
15571 2001-10-03  Garst Reese  <reese@isn.net>
15572
15573         * lyx_cb.C: change CheckTex error msg.
15574
15575 2001-10-03  José Matos  <jamatos@fep.up.pt>
15576
15577         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15578
15579 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15580
15581         * .cvsignore: update
15582
15583         * lyx_main.C (commandLineVersionInfo): use new style version info.
15584
15585         * buffer.C (writeFile):
15586         (makeLaTeXFile):
15587         (makeLinuxDocFile):
15588         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15589
15590         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15591
15592         * version.h: update to use stuff in version.C
15593
15594         * version.C.in: new file. Contains version information determined
15595         at compile time. This is a merging of version.h and
15596         version_info.h.in.
15597
15598 2001-10-03  Juergen Vigna  <jug@sad.it>
15599
15600         * BufferView_pimpl.C (update): don't change "dirty" status in
15601         updateInset call.
15602
15603 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15604
15605         * WorkArea.C (c-tor): re-position version string slightly.
15606
15607 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15608
15609         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15610         revert to previous code.
15611
15612         WorkArea.[Ch]: (show, destroySplash): methods removed.
15613
15614         WorkArea.C: rework code so that it's an amalgam of the codes before and
15615         after the splash screen was moved to WorkArea.
15616
15617 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15618
15619         * lyxrc.C (read):
15620         * vspace.C (inPixels):
15621         (lyx_advance):
15622         * kbmap.C (bind):
15623         * buffer.C (insertStringAsLines):
15624         (asciiParagraph): fix types to be large enough
15625
15626         * lyxlex_pimpl.h: change member status from short to int
15627
15628         * layout.h: fix type of endlabeltype
15629
15630         * kbmap.C (bind):
15631         * kbsequence.C (parse): change return type to string::size_type
15632
15633         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15634         variable
15635
15636         * Bullet.C (bulletSize):
15637         (bulletEntry): do not use short ints as parameters
15638
15639         * BufferView2.C (insertLyXFile): change a char to an int.
15640
15641         * WorkArea.C (WorkArea): remove unneeded floats in computation
15642
15643 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15644
15645         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15646
15647         * paragraph.C (asString): Do not ignore newline/hfill chars when
15648         copying to the clipboard.
15649
15650 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15651
15652         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15653         after a multi-line inset.
15654
15655 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15656
15657         * paragraph.C (validate): Set NeedLyXFootnoteCode
15658
15659 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15660
15661         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15662         and decrease-error to decrease.
15663
15664 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15665
15666         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15667         it more readable (should be equivalent)
15668
15669 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15670
15671         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15672
15673 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15674
15675         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15676         of a cursor (row, etc.) after a character has been deleted
15677         (deleteEmptyParagraphMechanism): call the method above on _all_
15678         cursors held by the LyXText when a double space has been
15679         detected/deleted.
15680
15681 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15682
15683         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15684         pixmap.
15685         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15686
15687         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15688         background. Use greyOut() and the new show() methods to toggle between
15689         the foreground and background. Add code to remove the splash after
15690         its initial showing.
15691
15692         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15693         (create_forms): no longer call Dialogs::showSplash.
15694
15695 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15696
15697         * .cvsignore: add version_info.h
15698
15699 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15700
15701         * version_info.h.in: new file
15702
15703         * Makefile.am: add version_info.h.in
15704
15705         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15706         version_info.h instead of VERSION_INFO
15707
15708 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15709
15710         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15711         The ERT inset now returns string().
15712
15713 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15714
15715         * lyxtext.h, text.C (selectNextWord): renamed as
15716         selectNextWordToSpellcheck.
15717
15718         * text.C (selectNextWordToSpellcheck): Modified to not select
15719         words inside an ERT inset.
15720
15721 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15722
15723         * lyx_cb.C (MenuLayoutSave): change a bit the question
15724
15725         * sp_base.h: include <sys/types.h>
15726
15727 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15728
15729         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15730
15731 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15732
15733         * several files: fix typos in user-visible strings
15734
15735 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15736
15737         * text2.C (pasteSelection): do not set the selection, since it
15738         will be cleared later. Actually, the intent was to fix the way the
15739         selection was set, but I figured rmoving the code was just as good.
15740
15741 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15742
15743         * FontLoader.C (available): Check if font is available without
15744         loading the font.
15745
15746 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15747
15748         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15749
15750 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15751
15752         * lyxrc.[Ch]: added display_graphics variable and associated code.
15753
15754 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15755
15756         * bufferparams.C (hasClassDefaults): new method. Returns true if
15757         the buffer parameters correspond to known class defaults
15758
15759 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15760
15761         * XFormsView.C (show): set minimum size to the main window.
15762
15763 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15764
15765         * text2.C (copySelection):
15766         (cutSelection):
15767         * lyxfind.C (LyXReplace):
15768         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15769         LyXText::selectionAsString.
15770
15771         * paragraph.C (asString): add "label" argument to the second form
15772
15773         * text2.C (selectionAsString): add "label" argument and pass it to
15774         Paragraph::asString.
15775
15776 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15777
15778         * lyx_main.C (commandLineHelp): remove version information
15779
15780 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15781
15782         * lyx_main.C: add -version commandline option
15783
15784 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15785
15786         * paragraph.h: make the optional constructor arg required instead.
15787         some modifications to other files because of this.
15788
15789         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15790
15791         * lyxserver.C (C_LyXComm_callback): make it static
15792
15793         * lyx_main.C (error_handler): make it static
15794
15795         * lyx_gui.C (LyX_XErrHandler): make it static
15796
15797         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15798
15799         * WorkArea.C: make the extern "C" methods static.
15800
15801         * Makefile.am (lyx_LDADD): simplify
15802
15803 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15804
15805         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15806         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15807
15808         * LyXAction.C (init):
15809         * lyxfunc.C (dispatch): associated code removal.
15810
15811 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15812
15813         * lyxfont.h (isSymbolFont): shut off warning
15814
15815         * text.C (setHeightOfRow):
15816         (getVisibleRow): fix crash with empty paragraphs which have a
15817         bottom line
15818
15819 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15820
15821         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15822         code.
15823
15824 2001-09-04  José Matos  <jamatos@fep.up.pt>
15825         * buffer.C
15826         * buffer.h
15827         * tabular.C (docbook): rename docBook method to docbook.
15828
15829 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15830
15831         * Makefile.am: add dependencies to main.o.
15832
15833 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15834
15835         * FontLoader.C (available): Return false if !lyxrc.use_gui
15836
15837 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15838
15839         * FontInfo.C (query):
15840         * converter.C (view):
15841         * importer.C (Import):
15842         * exporter.C (Export): Can not -> cannot.
15843
15844 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15845
15846         * BufferView_pimpl.C: allow to create index inset even if
15847           string is empty
15848
15849 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15850
15851         * buffer.C (getLists): replace boost::tie code with an explicit pair
15852         as boost::tie can break some compilers.
15853
15854         * iterators.h: Added a std:: declaration to the return type of
15855         ParIterator::size.
15856
15857 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15858
15859         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15860           case.
15861
15862 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15863
15864         * iterators.[Ch]: New files. Provide paragraph iterators.
15865
15866         * buffer.C (changeLanguage): Use paragraph iterators.
15867         (isMultiLingual): ditto
15868
15869         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15870
15871 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15872
15873         * FontLoader.C: Support for cmr font.
15874
15875 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15876
15877         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15878         (available): New method.
15879
15880         * FontInfo.C (getFontname): Use scalable fonts even when
15881         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15882         found.
15883
15884 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15885
15886         * converter.C (Formats::view): reverted! Incorrect fix.
15887
15888 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15889
15890         * converter.C (Formats::view): only output the -paper option
15891         if the dvi viewer is xdvi, thereby fixing bug #233429.
15892
15893 2001-08-23  Herbert Voss  <voss@perce>
15894
15895         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15896
15897 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15898
15899         * Spacing.h (Spacing): Set space to Default on in the default
15900         constructor.
15901
15902 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15903
15904         * vc-backend.h (RCS::versionString): add RCS to version
15905         (CVS::versionString): add CVS to version
15906
15907         * vc-backend.C (scanMaster): do not add CVS to version.
15908         (scanMaster): do not add RCS to version
15909
15910         * lyxvc.C (versionString): new method
15911
15912         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15913
15914 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15915
15916         * Spacing.C (set): initialize fval
15917
15918 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15919
15920         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15921         " or \.
15922
15923 2001-08-16  Juergen Vigna  <jug@sad.it>
15924
15925         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15926
15927 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15928
15929         * BufferView_pimpl.C:
15930         * figureForm.C:
15931         * lyxtext.h:
15932         * text2.C: setParagraph takes linespacing now
15933
15934 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15935
15936         * LyxAction.C: add internal LFUN_CITATION_INSERT
15937
15938         * LyXView.C: actually apply fix
15939
15940         * bufferlist.C: fix open non-existent file
15941
15942         * lyxfind.C: fix indentation
15943
15944         * lyxfunc.C: remove unneeded assert, fix typo
15945
15946 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15947
15948         * MenuBackend.C: use "Floatname List"
15949
15950 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15951
15952         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15953         when converting LaTeX layout to insetERT.
15954         Generate a non-collapsed float when reading old float
15955
15956 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15957
15958         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15959         ERT insets.
15960
15961 2001-08-13  Juergen Vigna  <jug@sad.it>
15962
15963         * text.C (fill): return 0 instead of 20 as this seems to be the more
15964         correct value.
15965
15966 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15967
15968         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15969         lyxrc.font_norm.
15970
15971 2001-08-13  Juergen Vigna  <jug@sad.it>
15972
15973         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15974         casesensitive off.
15975         (SearchBackward): comment out the unlocking of the inset_owner this
15976         should not be needed!
15977
15978 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15979
15980         * Many files: Remove inherit_language, and add latex_language
15981
15982         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15983         collapsible insets.
15984
15985 2001-08-10  Juergen Vigna  <jug@sad.it>
15986
15987         * text.C (prepareToPrint): fixed hfill-width in draw!
15988
15989         * BufferView2.C (selectLastWord): save the selection cursor as this
15990         now is cleared in the function LyXText::clearSelection!
15991
15992 2001-08-08  Juergen Vigna  <jug@sad.it>
15993
15994         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15995         BACKSPACE type functions.
15996
15997         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15998         is only cutted from the document but not put in the cut-buffer, where
15999         still the old stuff should be.
16000
16001         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16002
16003         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16004
16005         * tabular.C (SetWidthOfCell): fixed special case where the width
16006         was not updated!
16007         (LeftLine): handle '|' in align_special.
16008         (RightLine): ditto
16009         (LeftAlreadyDrawed): ditto
16010         (SetWidthOfCell): ditto
16011
16012 2001-08-07  Juergen Vigna  <jug@sad.it>
16013
16014         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16015
16016 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16017
16018         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16019         * lyxlex.[hC]: ditto
16020
16021 2001-08-06  Juergen Vigna  <jug@sad.it>
16022
16023         * text.C (getVisibleRow): fix up row clearing a bit.
16024
16025 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16026
16027         * minibuffer.C: make sure the X server sees the changes in the input.
16028
16029 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16030
16031         * paragraph.C (getFont): split into...
16032         (getLabelFont): this
16033         (getLayoutFont): and this
16034         * paragraph_pimpl.C (realizeFont): calling this
16035
16036         * text2.C (getFont): split into...
16037         (getLayoutFont): this
16038         (getLabelFont): and this
16039         (realizeFont): all three calling this
16040
16041         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16042         files where used.
16043
16044 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16045
16046         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16047
16048 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16049
16050         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16051         layouts from the Quote inset insertion.
16052
16053 2001-08-03  Juergen Vigna  <jug@sad.it>
16054
16055         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16056
16057         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16058         only if status not is already CHANGED_IN_DRAW (second level).
16059
16060         * text.C (draw): don't set the need_break_row when inside an
16061         InsetText LyXText.
16062
16063 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16064
16065         * buffer.C (parseSingleLyXformat2Token): handle more latex
16066         conversion cases.
16067
16068         * bufferview_funcs.[hC]: change function names to
16069         begin with small char, adjust other files.
16070
16071 2001-08-02  André Pönitz <poenitz@gmx.net>
16072
16073         * lyxfunc.C:
16074         BufferView_pimpl.C: remove broken special code for math-greek
16075
16076 2001-08-02  Juergen Vigna  <jug@sad.it>
16077
16078         * BufferView_pimpl.C (update): redone this function so that we
16079         update the text again if there was a CHANGE_IN_DRAW.
16080
16081         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16082         (drawFromTo): added a new internal bool which is used by draw() and
16083         redraw() function.
16084         (general): some cursor drawing problems fixed.
16085
16086 2001-08-01  Juergen Vigna  <jug@sad.it>
16087
16088         * lyxfind.C (LyXFind): fixed
16089         (SearchForward): ditto
16090         (SearchBackward): ditto
16091
16092         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16093         spurius drawing of the cursor in the main area.
16094
16095         * text2.C (status): small fix which could lead to a segfault!
16096         (clearSelection): remove unneeded BufferView param.
16097
16098 2001-08-01  André Pönitz <poenitz@gmx.net>
16099
16100         * lyxfunc.C: small change due to changed mathed interface
16101
16102 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16103
16104         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16105
16106 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16107
16108         * lyxfunc.c: fail gracefully if file doesn't exist
16109
16110         * LyXSendto.C:
16111         * buffer.C:
16112         * lyxfunc.C:
16113         * BufferView_pimpl.C: IsDirWriteable() proto changed
16114
16115         * LyXView.C: fix updateWindowTitle() to store the last title
16116
16117 2001-07-31  Juergen Vigna  <jug@sad.it>
16118
16119         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16120         the font (wrong since using of Paragraph::highestFontInRange).
16121
16122         * paragraph.C (highestFontInRange): added a default_size parameter.
16123
16124         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16125         (setHeightOfRow): reformat
16126
16127 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16128
16129         * converter.[hC] + affected files: move to (inital-char)lowercase
16130         function names.
16131
16132         * ParagraphParameters.C (ParagraphParameters): remove commented code
16133
16134         * PainterBase.[Ch]: remove commented code
16135
16136         * LaTeXFeatures.h: add "bool floats" for float.sty
16137
16138         * LaTeXFeatures.C (LaTeXFeatures): init floats
16139         (require): handle float
16140         (getPackages): do it with floats
16141
16142 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16143
16144         * BufferView_pimpl.C (Dispatch): improve handling of
16145         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16146
16147         * commandtags.h: #include lyxfont.h here temporarily to avoid
16148         keybinding bug.
16149
16150         * bufferlist.h: include LString.h here.
16151
16152 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16153
16154         * text2.C (getStringToIndex): new method.
16155
16156 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16157
16158         * *: Reduced header file dependencies all over.
16159
16160 2001-07-30  Baruch Even  <baruch@lyx.org>
16161
16162         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16163
16164 2001-07-29  Baruch Even  <baruch@lyx.org>
16165
16166         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16167
16168 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16169
16170         * ParameterStruct.h (endif): add a default constructor to make
16171         sure that all variables is initialized.
16172
16173         * ParagraphParameters.C (ParagraphParameters): adjust
16174
16175 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16176
16177         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16178         index; also, check that there is something to index, and that it
16179         does not span over several paragraphs.
16180         (doubleClick): use WHOLE_WORD_STRICT for double click.
16181
16182         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16183
16184         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16185         scheme.
16186
16187 2001-07-26  Baruch Even  <baruch@lyx.org>
16188
16189         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16190         an InsetFig figure, backwards compatible reading of old figure code.
16191
16192 2001-07-27  Juergen Vigna  <jug@sad.it>
16193
16194         * text2.C: font.realize function adaption.
16195
16196         * text.C (draw): add a warnings lyxerr text if needed.
16197
16198         * layout.C: font.realize function adaption.
16199
16200         * language.C: add inherit_language and implement it's handlings
16201
16202         * bufferview_funcs.C (StyleReset): remove language parameter from
16203         font creation (should be language_inherit now).
16204
16205         * bufferparams.C (writeFile): handle ignore_language.
16206
16207         * paragraph.C (getFontSettings): the language has to be resolved
16208         otherwise we have problems in LyXFont!
16209
16210         * lyxfont.C (lyxWriteChanges): added document_language parameter
16211         (update): removed unneeded language parameter
16212
16213         * paragraph.C (validate): fixed wrong output of color-package when
16214         using interface colors for certain fonts in certain environments,
16215         which should not seen as that on the final output.
16216
16217 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16218
16219         * BufferView_pimpl.C:
16220         * Thesaurus.h:
16221         * Thesaurus.C:
16222         * Makefile.am:
16223         * commandtags.h:
16224         * LyXAction.C: add thesaurus support
16225
16226         * lyxfind.h:
16227         * lyxfind.C: add "once" parameter, for thesaurus, to not
16228           move to the next match
16229
16230 2001-07-26  Juergen Vigna  <jug@sad.it>
16231
16232         * lyxfont.C (realize): honor ignore_language too!
16233         (resolved): ditto.
16234
16235         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16236
16237         * text.C (draw): one place more for ignore_language to not draw
16238         itself!
16239
16240 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16241
16242         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16243
16244 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16245
16246         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16247         the minipage conversion problem.
16248
16249 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16250
16251         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16252         insert an inset.
16253
16254 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16255
16256         * BufferView.h: don't forward declare WorkArea
16257
16258         * BufferView.C: don't include WorkArea.h
16259
16260 2001-07-25  André Pönitz <poenitz@gmx.net>
16261
16262         * commandtags.h:
16263         * LyXAction.C:
16264         * lyxfunc.C:  new LFUN 'math-space'
16265
16266         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16267
16268 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16269
16270         * text2.C (toggleInset): call open/close
16271
16272 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16273
16274         * lyxfunc.C (dispatch): add debug for the disabled case
16275
16276         * font.C (buttonText): make similar to rectText
16277
16278         * buffer.C (readInset): comment out parsing of insetlist and
16279         insttheorem
16280
16281         * PainterBase.C (rectText): small correction
16282
16283         * BufferView_pimpl.C: comment out insettheorem and insetlist
16284         * LyXAction.C: ditto
16285         * commandtags.h: ditto
16286
16287 2001-07-24  Juergen Vigna  <jug@sad.it>
16288
16289         * text.C (draw): honor the ignore_language.
16290
16291         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16292
16293 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16294
16295         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16296         char inset.
16297
16298 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16299
16300         * lyxtext.h: remove unused (and unimplemented) methods
16301
16302 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16303
16304         * text.C (getVisibleRow): honor background color
16305
16306         * PainterBase.h:
16307         * Painter.h: remove default color argument for fillRectangle
16308
16309         * text.C (backgroundColor): new method
16310
16311 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16312
16313         * text.C (getVisibleRow): adjust
16314
16315         * font.[Ch] (rectText): new method, metrics
16316         (buttonText): new method, metrics
16317
16318         * PainterBase.[hC]: make rectText and buttonText always draw and take
16319         fewer paramteres.
16320
16321 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16322
16323         * ToolbarDefaults.C (read):
16324         * MenuBackend.C (read): allow escaping in all strings
16325
16326         * BufferView_pimpl.C (insertAndEditInset): new method.
16327         (Dispatch): use insertAndEditInset whenever appropriate.
16328
16329         * BufferView_pimpl.C (insertNote): removed
16330
16331         * BufferView_pimpl.C (smartQuote): new method, moved from
16332         BufferView; if an insetquote cannot be inserted, insert a '"'
16333         character instead.
16334
16335         * BufferView2.C: remove insertCorrectQuote();
16336
16337         * lyxfunc.C (getStatus): Add support for all remaingin
16338         inset-insert lfuns.
16339
16340         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16341
16342         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16343         command (necessary to pass " as parameter of self-insert.
16344
16345         * text.C (selectWordWhenUnderCursor):
16346         (selectWord): add word_location parameter
16347         (selectWordWhenUnderCursor): same + remove special code for word
16348         boundary.
16349         (selectNextWord): use kind() to guess type of insetspecialchar,
16350         not latex().
16351
16352         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16353         (insertErtContents): create ert insets as collapsed.
16354         (readInset): better compatibility code for Info inset.
16355
16356 2001-07-20  Juergen Vigna  <jug@sad.it>
16357
16358         * lyxfunc.C (dispatch): use always LyXFind now!
16359
16360         * text2.C (init): add a reinit flag so that the LyXText can be
16361         reinited instead of deleted and reallocated (used in InsetText).
16362
16363         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16364
16365         * text.C: ditto
16366
16367         * text2.C: ditto
16368
16369 2001-07-18  Juergen Vigna  <jug@sad.it>
16370
16371         * text.C (selectNextWord): handle insets inside inset by calling
16372         always the bv->text functions so that we can go up the_locking_inset!
16373
16374         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16375         in strange locations when inside an inset!
16376
16377         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16378         handling to include insets.
16379
16380         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16381
16382 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16383
16384         * LyXAction.C (init):
16385         * commandtags.h:
16386         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16387         LIGATURE_BREAK, since the name is so stupid.
16388
16389 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16390
16391         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16392         InsetInfos.
16393
16394         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16395
16396         * sp_form.[Ch]: remove.
16397
16398         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16399
16400         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16401         InsetInfo.
16402
16403         * src/buffer.C (readInset): ditto.
16404
16405 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16406
16407         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16408         menuSeparator(), endOfSentenceDot(), ldots() and
16409         hyphenationPoint(), which are therefore removed.
16410         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16411
16412         * LyXAction.C (init):
16413         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16414
16415         * paragraph.C (getWord): removed.
16416
16417         * BufferView_pimpl.C (Dispatch): use last word or selection for
16418         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16419
16420         * lyx_main.C (queryUserLyXDir): do not ask before creating
16421         user_dir, except if it has been named explicitely.
16422
16423 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16424
16425         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16426         a document of zero size.
16427
16428 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16429
16430         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16431         approriately in the c-tor and in require().
16432         (getPackages): output the appropriate LaTeX for natbib support.
16433
16434         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16435         variables "use_natbib" and "use_numerical_citations" when reading the
16436         LyX file.
16437         (readInset): read the various natbib cite commands.
16438         (validate): white-space change.
16439
16440         * bufferparams.[Ch]: new variables "bool use_natbib" and
16441         "bool use_numerical_citations".
16442         (writeFile): output them in the LyX file.
16443
16444 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16445
16446         * lyxfunc.C (getStatus): add support for all the inset insertion
16447         commands.
16448
16449         * text2.C (insertInset):
16450         * paragraph.C (insetAllowed):
16451         * BufferView_pimpl.C (insertInset): update to take in account the
16452         renaming of insertInsetAllowed
16453
16454         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16455
16456         * text2.C (getInset): new method. returns inset at cursor position.
16457
16458         * BufferView_pimpl.C (Dispatch): changes because of this.
16459
16460         * LyXAction.C (init): rename open-stuff to inset-toggle.
16461
16462         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16463
16464         * text2.C (toggleInset): renamed from openStuff; use
16465         Inset::open().
16466
16467 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16468
16469         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16470
16471         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16472
16473 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16474
16475         * buffer.C (readLyXformat2): Add filename to the error dialog
16476
16477 2001-07-18  Juergen Vigna  <jug@sad.it>
16478
16479         * tabular.C (GetCellNumber): put an assert here instead of the check!
16480
16481 2001-07-17  Juergen Vigna  <jug@sad.it>
16482
16483         * BufferView_pimpl.C (toggleSelection): adapted too.
16484
16485         * text.C (selectNextWord): adapted for use with insets.
16486         (selectSelectedWord): ditto
16487
16488 2001-07-17  Juergen Vigna  <jug@sad.it>
16489
16490         * sp_spell.C (PSpell): fix initialitation order.
16491
16492 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16493
16494         * paragraph.C: spacing
16495
16496 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16497
16498         * sp_spell.C: repair language selection for pspell
16499
16500 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16501
16502         * lyxfunc.h: change more methods to begin with lower char.
16503
16504 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16505
16506         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16507         for unknown layouts.
16508
16509 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16510
16511         * buffer.C (readLyXformat2): Generate an error dialog if there are
16512         unknown layouts.
16513
16514 2001-07-16  Juergen Vigna  <jug@sad.it>
16515
16516         * sp_spell.C: always compile ISpell part.
16517
16518         * lyxrc.C: added use_pspell entry and it's handling.
16519
16520 2001-07-13  Juergen Vigna  <jug@sad.it>
16521
16522         * sp_spell.C: removed double includes.
16523
16524 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16525
16526         Consistent use of Lsstream.h:
16527         * Lsstream.h: added using std::stringstream for consistencies sake.
16528
16529         * buffer.C: removed using std::stringstream
16530
16531         * lyxfont.C (stateText):
16532         * paragraph.C (asString):
16533         * text.C (selectNextWord, selectSelectedWord):
16534         * text2.C (setCounter):
16535         * vspace.C (asString, asLatexString):
16536         std::ostringstream -> ostringstream.
16537
16538 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16539
16540         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16541         * commandtags.h: add LFUN_HELP_ABOUTLYX
16542         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16543
16544 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16545
16546         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16547         cursorToggle()
16548         * lyx_gui_misc.C: remove spellchecker
16549         * lyxfunc.C: showSpellchecker
16550         * sp_base.h: added
16551         * sp_ispell.h: added
16552         * sp_pspell.h: added
16553         * sp_spell.C: added
16554         * sp_form.[Ch]: removed
16555         * spellchecker.[Ch]: removed
16556
16557 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16558
16559         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16560         is set.
16561         (simpleTeXSpecialChars): Simply print the input character without
16562         any special translation if pass_thru is set.
16563
16564         * layout.h: Added bool pass_thru to layout class for being able to
16565         implement pass through of a paragraph for Literate Programming.
16566
16567         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16568         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16569         * layout.C (Read): add "passthru" to list of layout tags and add
16570         code to set the pass_thru boolean when it is read.
16571
16572 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16573
16574         * trans_decl.h: remove allowed from KmodInfo
16575
16576         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16577         remove allowed code
16578         (Load): adjust
16579
16580         * paragraph_pimpl.C (erase): use boost::prior
16581
16582         * Painter.C (text): use data() instead of c_str() when length is
16583         also provided.
16584         * WorkArea.C (putClipboard): ditto
16585         * font.h (width): ditto
16586
16587         * BufferView2.C: use it-> instead of (*it). for iterators
16588         * texrow.C: ditto
16589         * paragraph_pimpl.C: ditto
16590         * paragraph.C: ditto
16591         * minibuffer.C: ditto
16592         * language.C: ditto
16593         * kbmap.C: ditto
16594         * encoding.C: ditto
16595         * counters.C: ditto
16596         * converter.C: ditto
16597         * chset.C: ditto
16598         * Variables.C: ditto
16599         * TextCache.C: ditto
16600         * MenuBackend.C: ditto
16601         * LyXAction.C: ditto
16602         * LColor.C: ditto
16603         * FloatList.C: ditto
16604         * DepTable.C: ditto
16605         * ColorHandler.C (LyXColorHandler): ditto
16606
16607 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16608
16609         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16610
16611         * text2.C (openStuff): reintroduce this method (which had been
16612         nuked in NEW_INSETS frenzy).
16613
16614         * lyxfunc.C (Dispatch): when an action has not been handled, use
16615         its name in the error message, not its number.
16616
16617         * paragraph.C (inInset): change method name to begin with lowercase.
16618
16619         * undo_funcs.C:
16620         * text2.C: updates because of this.
16621
16622 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16623
16624         * ToolbarDefaults.C (add): add spaces in error message
16625
16626 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16627
16628         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16629         (readLyXformat2): rename return_par to first_par, use lyxlex's
16630         pushToken and remove the manual push handling.
16631         (parseSingleLyXformat2Token): add another ert comp. variable:
16632         in_tabular, rename return_par to first_par. handle newlines better
16633
16634 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16635
16636         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16637
16638 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16639
16640         * text2.C (getParFromID): removed
16641
16642         * buffer.C (getParFromID): new method moved form lyxtext.
16643         * BufferView2.C (insertErrors): adjust
16644         (setCursorFromRow): adjust
16645         * BufferView_pimpl.C (restorePosition): adjust
16646         * lyxfunc.C (Dispatch): adjust
16647         * undo_funcs.C (textUndo): adjust
16648         (textRedo): adjust
16649         (textHandleUndo): adjust
16650         (textHandleUndo): adjust
16651
16652 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16653
16654         * buffer.C: up' the LYX_FORMAT
16655
16656         * lyxfont.h: turn NO_LATEX on as default
16657
16658         * buffer.C (insertErtContents): new methods of tex style compability.
16659         (parseSingleLyXformat2Token): use it several places.
16660         * tabular.C (OldFormatRead): and here
16661
16662 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16663
16664         * text2.C: remove some commented code.
16665         reindent file.
16666
16667         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16668         * trans.C: changes because of the above.
16669
16670 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16671
16672         * text2.C (setCounter): Fix counters bug with bibliography layout.
16673
16674 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16675
16676         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16677         own member functions
16678         (simpleTeXSpecialChars): ditto
16679
16680 2001-07-06  Juergen Vigna  <jug@sad.it>
16681
16682         * a lot of files: changed the access to LyXText::status and the
16683         call of undo-functions.
16684
16685         * undo.[Ch]: added a inset_id to the undo informations.
16686
16687         * undo_funcs.[Ch]: added and moved here all undo functions.
16688
16689         * lyxtext.h: give the status enum a weight, made status_ a private
16690         variable and made accessor functions for it, removed the whole bunch
16691         of undo-functions as they are now in their own file, make some
16692         functions publically available. Added function ownerParagraph with
16693         int parameter.
16694
16695         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16696         made InInset() a const function, added getParFromID() function.
16697
16698         * buffer.[Ch]: added const version for inset_iterator functions,
16699         added getInsetFromID() function.
16700
16701         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16702         changed undo functions for new version.
16703
16704 2001-07-05  Juergen Vigna  <jug@sad.it>
16705
16706         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16707         unknow mechanism does not call the proper constructor but only this
16708         one also if I request the other!?
16709
16710 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16711
16712         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16713
16714         * text2.C (LyXText): use initialization lists.
16715
16716         * lyxtext.h (Selection): initialize set_ and mark_
16717         (init): remove method
16718
16719 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16720
16721         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16722
16723 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16724
16725         * screen.[Ch]: change method names to begin with lowercase
16726
16727         * BufferView_pimpl.C (updateScrollbar): simplify further and
16728         hopefully make it a bit faster.
16729
16730 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16731
16732         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16733         calling directly xforms functions.
16734
16735         * Painter.C (Painter):
16736         * lyx_cb.C (MenuWrite):
16737         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16738         fl_display.
16739
16740         * lyx_gui.C: remove bogus guiruntime extern declaration.
16741
16742 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16743
16744         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16745         in NEW_INSETS
16746         (redoDrawingOfParagraph): ditto
16747         (redoParagraphs): ditto
16748         (cutSelection): don't create a object for CutAndPaste use the
16749         static method directly
16750         (pasteSelection): ditto
16751
16752         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16753         LyXview (+ rename)
16754
16755 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16756
16757         * modifications to some other files because of this.
16758
16759         * Makefile.am (lyx_SOURCES): add XFormsView
16760
16761         * XFormsView.[Ch]: new files
16762
16763         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16764         the main window. Move the gui dependent stuff to XFormsView
16765
16766 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16767
16768         * tabular.C (GetCellInset): update cur_cell also in the row/col
16769         version of this function.
16770
16771         * lyxfunc.C: no need to include figure_form.h here.
16772
16773         * FontLoader.h:
16774         * lyxfunc.h:
16775         * lyxscreen.h:
16776         * text2.C:
16777         * lyxvc.C: no need to include forms.h here.
16778
16779 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16780
16781         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16782
16783         * lyxfunc.C (Dispatch):
16784         * Spacing.C (set):
16785         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16786         constructor argument.
16787
16788 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16789
16790         * paragraph.C (Paragraph): dont't clear, and just set layout.
16791         (makeSameLayout): use params's copy contructor.
16792
16793         * ParagraphParameters.[Ch] (makeSame): delete method
16794
16795 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16796
16797         * Variables.[Ch]: fix indentation, rename set to isSet
16798
16799 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16800
16801         * lyxfunc.C (Dispatch): fix typo
16802
16803 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16804
16805         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16806         upper_bound.
16807
16808         * bufferlist.C: include assert.h for emergencyWrite().
16809
16810 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16811
16812         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16813           give up at last (bug #425202) !
16814
16815 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16816
16817         * lyx_gui_misc.C:
16818         * sp_form.h:
16819         * sp_form.C:
16820         * spellchecker.h:
16821         * spellchecker.C: strip spellchecker options and bring up
16822           preferences tab instead
16823
16824 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16825
16826         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16827         the istringstream constructor
16828
16829 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16830
16831         * paragraph.C (getLayout): fix return value
16832
16833         * paragraph.h: do not declare getLayout as inline.
16834
16835         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16836
16837 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16838
16839         * lyxcursor.h (operator<): new func
16840         (operator>): new func
16841         (operator>=): new func
16842         (operator<=): new func
16843
16844         * text.C (changeCase): use selection.start and selection.end
16845         (changeRegionCase): require from to be <= to. Require par to be a
16846         valid paragraph.
16847
16848         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16849
16850 2001-06-27  Juergen Vigna  <jug@sad.it>
16851
16852         * text.C (cursorLeftOneWord): changed to return the cursor and added
16853         overlay with BufferView * parameter which calls this one.
16854         (getWord): added
16855         (selectWord): use new getWord function.
16856         (changeCase): renamed from changeWordCase as and extended to work
16857         also on selections.
16858
16859         * lyxtext.h: added enum word_location
16860
16861         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16862         changeCase as this operates now also on selections.
16863
16864 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16865
16866         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16867
16868         * many files: send debug output to Debug::INFO instead of
16869         Debug::ANY.
16870
16871         * converter.C (View):
16872         (Convert):
16873         (Move): send debug output to Debug::FILES instead of console.
16874
16875 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16876
16877         * lyxfunc.C (getStatus): use func_status
16878
16879         * func_status.h: new header, describing the results of
16880         LyXFunc::getStatus;
16881
16882         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16883         LFUN_MATH_HALIGN.
16884
16885 2001-06-25  The LyX Project  <jug@sad.it>
16886
16887         * buffer.C (sgmlOpenTag):
16888         (sgmlCloseTag):
16889         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16890
16891 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16892
16893         * text2.C: remove some dead code
16894
16895         * tabular.C (GetCellInset): store the last cell checked (gotten)
16896
16897         * tabular.h: add the helper for the speedup
16898
16899         * lyxtext.h: remove some dead code
16900
16901 2001-06-26  The LyX Project  <Asger>
16902
16903         * paragraph.C: Change export to LaTeX of alignment to
16904         \begin{center} and family for better roundtrip work with reLyX.
16905
16906         * Tune the math drawing a bit.
16907
16908 2001-06-25  The LyX Project  <Asger>
16909
16910         * LColor.C (LColor): New color for math background. New color
16911         for buttons.
16912
16913 2001-06-25  The LyX Project  <jug@sad.it>
16914
16915         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16916
16917         * lyxfunc.C (Open):
16918         * bufferlist.C (newFile): do not restrict to files ending with
16919         .lyx
16920
16921         * BufferView_pimpl.C (MenuInsertLyXFile):
16922
16923 2001-06-24  The LyX Project  <jug@sad.it>
16924
16925         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16926         of compare_no_case
16927
16928 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16929
16930         * lyxtext.h: rename most methods to begin with a small char.
16931         Lots of changes because of this.
16932
16933         * paragraph.C (Paragraph): do not call fitToSize
16934         (erase): call Pimpl::erase
16935         (insertChar): call Pimpl::insertChar
16936         (insertInset): call Pipl::insertInset
16937         (breakParagraph): do not call fitToSize
16938         (breakParagraphConservative): do not call fitToSize
16939         (fitToSize): remove method
16940
16941         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16942
16943 2001-06-24  The LyX Project  <Asger>
16944
16945         * Fix Qt compilation^2
16946
16947 2001-06-24  The LyX Project  <jug@sad.it>
16948
16949         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16950         depthHook(getDepth()-1).
16951
16952         * paragraph.h:
16953         * ParagraphParameters.h:
16954         * ParameterStruct.h: change type of depth to unsigned int ==
16955         depth_type. Many adaptations to other files before of that.
16956
16957 2001-06-24  The LyX Project  <Asger>
16958
16959         * Fix Qt compilation.
16960
16961 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16962
16963         * paragraph.h: renamed several methods to begin with small letter.
16964         several changes to many parts of the code because of this.
16965
16966 2001-06-23  The LyX Project  <jug@sad.it>
16967
16968         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16969         rewritten to discard all double spaces when KeepEmpty is off
16970         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16971         to only handle newlines but not fiddle with spaces and friends.
16972
16973         * lyxfunc.C (MenuNew): when doing 'new from template', use
16974         template_path as default directory
16975
16976 2001-06-23  The LyX Project  <Asger>
16977
16978         * Clean-up of header file includes all over
16979         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16980
16981 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16982
16983         * paragraph.h: renamed from lyxparagraph.h
16984
16985 2001-06-23  Asger  <lyx@violet.home.sad.it>
16986
16987         * Buffer.h: Removed Buffer::resize
16988         * BufferList.h: Removed BufferList::resize
16989         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16990         the document lazily when we change the width, or the font settings.
16991
16992 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16993
16994         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16995
16996 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16997
16998         * buffer.h: remove out of date comment
16999
17000 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17001
17002         * lyxscreen.h:
17003         * screen.C: fix "theoretical" GC leak
17004
17005 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17006
17007         * LaTeX.C (scanAuxFile):
17008         (deplog): remove trailing \r when reading stream (useful under
17009         win32)
17010
17011 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17012
17013         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17014         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17015         and BufferView::theLockingInset(Inset*), so should use them and not
17016         access bv_->text->the_locking_inset directly.
17017
17018         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17019
17020 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17021
17022         * Makefile.am:
17023         * tex-defs.h: remove old unused file
17024
17025 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17026
17027         * BufferView_pimpl.C: fix typo, remove minibuffer message
17028           when buffer has loaded
17029
17030 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17031
17032         * lyxfunc.C (Dispatch): use stringstream
17033         (MenuNew): use stringstream
17034         (Open): use stringstream
17035
17036         * importer.C (Import): use stringstream
17037
17038         * bufferview_funcs.C (CurrentState): use stringstream
17039
17040         * LaTeX.C (run): use stringstream
17041
17042         * BufferView_pimpl.C (savePosition): use stringstream
17043         (restorePosition): use stringstream
17044         (MenuInsertLyXFile): use stringstream
17045
17046 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17047
17048         * BufferView.C:
17049         * Bullet.C:
17050         * ColorHandler.C:
17051         * FontInfo.C:
17052         * FontLoader.C:
17053         * LColor.C:
17054         * LaTeXFeatures.C:
17055         * Painter.C:
17056         * gettext.C:
17057         * lyx_gui_misc.C:
17058         * lyxserver.C:
17059         * vspace.C: removed // -*- C++ -*- as first line.
17060
17061         * lyxfind.h:
17062         * version.h: added // -*- C++ -*- as first line.
17063
17064 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17065
17066         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17067
17068         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17069         of string
17070
17071 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17072
17073         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17074         of floats.
17075
17076 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17077
17078         * gettext.C: include LString.h even when --disable-nls is on.
17079
17080 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17081
17082         * converter.h (Get): changed argument type from int to
17083         FormatList::size_type to avoid unnecessary conversion.
17084
17085         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17086         before using it.
17087
17088 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17089
17090         * gettext.h: include LString.h even when --disable-nls is on.
17091
17092 2001-06-07  Juergen Vigna  <jug@sad.it>
17093
17094         * text.C (BreakAgain): subst spaces with tabs.
17095
17096         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17097         (resizeInsetsLyXText): set force on resizeLyXText.
17098
17099 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17100
17101         * gettext.h (gettext_init):
17102         (locale_init): use a real definition instead of a macro
17103
17104 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17105
17106         * Bufferview_pimpl.C:
17107         * LColor.h:
17108         * LColor.C: further lcolor tidies
17109
17110 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17111
17112         * BufferView_pimpl.C (updateScrollbar): simplify.
17113
17114         * BufferView2.C: don't include insets/insetinfo.h, change
17115         prototype for insertInset and call the Pimpl version. let
17116         updateInset call Pimpl version.
17117
17118         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17119         gotoInset to BufferView::Pimpl
17120
17121 2001-06-01  Juergen Vigna  <jug@sad.it>
17122
17123         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17124         inside a LockingInset (is the update needed at all?).
17125
17126 2001-05-31  Juergen Vigna  <jug@sad.it>
17127
17128         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17129         here not the old one otherwise how should we compare it afterwards
17130         if it's the same!
17131
17132 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17133
17134         * lyxfont.C:
17135         * tabular.C:
17136         * tabular-old.C:
17137         * FontInfo.C: bring C functions into global namespace when
17138         necessary
17139
17140 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17141
17142         * LString.h: make sure config.h has been loaded before LString.h.
17143
17144         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17145         (one for each char read by EatLine!).
17146
17147         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17148         variables.
17149
17150 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17151
17152         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17153         to the same as the par we break from
17154
17155 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17156
17157         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17158
17159         * MenuBackend.C (expand): also create menu entries for wide
17160         versions of the floats.
17161
17162         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17163
17164         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17165
17166         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17167         frontends/Makefile.am
17168
17169         * text2.C: adjust
17170         * text.C: adjust
17171
17172
17173         * tabular.C (getTokenValue): add std::
17174
17175         * tabular-old.C (getTokenValue): add std::
17176         (getTokenValue): ditto
17177         (getTokenValue): ditto
17178
17179         * screen.C (ToggleSelection): adjust
17180
17181         * lyxtext.h: put selection cursors inside a Selection struct.
17182
17183         * lyxfunc.C (moveCursorUpdate): adjust
17184
17185         * lyxfont.C (latexWriteStartChanges): add std::
17186
17187         * lyxfind.C: adjust
17188
17189         * font.h: delete with(char const *, LyXFont const &)
17190
17191         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17192
17193         * FontInfo.C (getFontname): add std::
17194
17195         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17196         (workAreaButtonPress): adjust
17197         (tripleClick): adjust
17198         (update): adjust
17199         (moveCursorUpdate): adjust
17200         (Dispatch): adjust
17201
17202         * BufferView2.C (gotoInset): adjust
17203
17204 2001-05-30  Juergen Vigna  <jug@sad.it>
17205
17206         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17207         to check pspell I add this as default as I now have new pspell
17208         libraries and they seem to use this.
17209
17210 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17211
17212         * text2.C (CutSelection): make the cursor valid before the call to
17213         ClearSelection.
17214
17215 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17216
17217         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17218         relied on 0 terminated strings and other horrors. Bug found due to
17219         the new assert in lyxstring!
17220
17221         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17222         KP_ keys.
17223
17224 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17225
17226         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17227         to latinkeys.bind.
17228
17229         * lyxfunc.C (processKeySym): change method of getting to the
17230         self-insert char.
17231
17232         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17233         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17234         * BufferView_pimpl.[Ch]: here as private methods.
17235
17236 2001-05-28  Juergen Vigna  <jug@sad.it>
17237
17238         * text.C (SetHeightOfRow): added the update() call again as it is
17239         needed to initialize inset dimensions!
17240
17241 2001-05-16  Juergen Vigna  <jug@sad.it>
17242
17243         * text2.C (SetCharFont): Add new function with BufferView * and
17244         bool toggleall parameters for setting insets internal fonts.
17245         (SetFont): Freeze the undo as we may change fonts in Insets and
17246         all this change should be inside only one Undo!
17247
17248         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17249         setting font's in insets as for them we have the SetFont function!
17250
17251 2001-05-15  Juergen Vigna  <jug@sad.it>
17252
17253         * text2.C (ClearSelection): to be sure we REALLY don't have any
17254         selection anymore!
17255
17256         * tabular.C (TeXCellPreamble): fixed the left border problem for
17257         multicolumn cells.
17258
17259 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17260
17261         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17262         dependancy file
17263
17264 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17265
17266         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17267         LFUN_BREAKPARAGRAPH.
17268
17269         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17270         help test to "internal only", similar for LFUN_INSERT_URL
17271
17272         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17273         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17274         auto_region_delete and deadkeys.
17275
17276 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17277
17278         * LColor.h:
17279         * LColor.C: remove some dead entries, tidy a little
17280
17281 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17282
17283         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17284         commented code.
17285         (Dispatch): implement LFUN_ESCAPE
17286
17287         * commandtags.h: add LFUN_ESCAPE
17288
17289         * LyXAction.C (init): add entry for LFUN_ESCAPE
17290
17291         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17292         Remove commented code.
17293         (insertNote): moved here
17294         (open_new_inset): moved here
17295
17296         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17297         BufferView_pimpl
17298
17299 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17300
17301         * kbmap.C (findbinding): clean it up and make it work correctly.
17302
17303         * lyx_main.C (init): do not pass argc and argv as parameters
17304
17305 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17306
17307         * buffer.C: fix path for OS/2 & Win32
17308
17309         * lyx_gui.C:
17310         * lyx_main:
17311         * lyx_main.C: Added os:: class.
17312
17313         * os2_defines.h: update
17314
17315 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17316
17317         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17318         better by trying again with reduced state.
17319
17320 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17321
17322         * lyxrc.C (read): print error about invalid key sequence only when
17323         debugging (because not all latinX keysyms are known to some X
17324         servers)
17325
17326         * kbsequence.C (getiso): add a few std:: qualifiers
17327         (getiso): comment out extra return statement.
17328
17329 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17330
17331         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17332         handling.
17333         (Dispatch): enhance the accent inset a bit. (not perfect)
17334
17335 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17336
17337         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17338
17339 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17340
17341         * bufferlist.C (emergencyWrite): fix assert() call
17342
17343 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17344
17345         * text.C (InsertChar): Added trivial patch to only send the "you
17346         can not do multiple spaces this way" message once during a
17347         session.
17348
17349 2001-05-08  Baruch Even  <baruch@lyx.org>
17350
17351         * Makefile.am: Changed order of libraries to get LyX to link properly
17352         with the gnome frontend.
17353
17354 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17355
17356         * LaTeXFeatures.h: add a std:: qualifier
17357
17358 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17359
17360         * paragraph.C (String): use stringstream
17361
17362 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17363
17364         * paragraph.C (writeFile): remove footflag arg
17365
17366         * buffer.C (makeLaTeXFile): use stringstream
17367         (latexParagraphs): remove footnot gurba
17368
17369         * LaTeXFeatures.C (getPackages): use stringstream
17370         (getMacros): likewise
17371         (getTClassPreamble): likewise
17372         (getFloatDefinitions): new method
17373
17374         * paragraph.C (writeFile): reindent
17375         (Erase): reindent
17376
17377         * WorkArea.h: revert the xpos + etc changes.
17378
17379         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17380
17381         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17382
17383         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17384         (pasteSelection): likewise
17385         * text2.C (CreateUndo): likewise
17386
17387 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17388
17389         * minibuffer.C (peek_event): temporarily reduce the functionality
17390         of the minibuffer (to allow args on lfuns)
17391
17392         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17393         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17394
17395         * buffer.C (readInset): add compability reading of old float
17396         lists, add reading of new style float list.
17397         (readInset): avoid reevaluation of inscmd.getCmdName()
17398         (getLists): reindent
17399
17400         * MenuBackend.C (MenuItem): implement parsing of
17401         md_floatlistinsert and md_floatinsert.
17402         (expand::LastFiles): move initalizaton of iterators out of loop,
17403         avoid reevaluation.
17404         (expand::Documents): introduce typdedef vector<string> Strings,
17405         and use it.
17406         (expand::ExportFormats): introduce typedef vector<Format const *>
17407         Formats, and use it.
17408         (expand): implement FloatListInsert and FloatInsert.
17409
17410         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17411         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17412         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17413
17414         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17415         handling.
17416         (Dispatch::LFUN_FLOAT_LIST): implement
17417
17418 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17419
17420         * LaTeX.C (run): Fix problem with --export code.
17421
17422 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17423
17424         * BufferView.[Ch] (workarea): removed.
17425         (getClipboard) new method; wrapper for workarea()->getClipboard()
17426
17427         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17428         bug.
17429
17430         * WorkArea.h (width, height, xpos, ypos): These methods all
17431         returned the dimensions of the work_area sub-area of WorkArea,
17432         resulting in a position error if the WorkArea were resized. Now
17433         return the dimensions of the entire WorkArea.
17434
17435         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17436
17437 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17438
17439         * LaTeX.C (deplog): correct the syntax of regex reg1
17440
17441 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17442
17443         * undo.C: remove !NEW_INSETS cruft
17444
17445 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17446
17447         * text2.C: remove !NEW_INSETS cruft
17448
17449         * text.C: remove !NEW_INSETS cruft
17450
17451         * tabular.C: remove !NEW_INSETS cruft
17452
17453         * spellchecker.C: remove !NEW_INSETS cruft
17454
17455         * lyxtext.h: remove !NEW_INSETS cruft
17456
17457         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17458
17459         * lyxfunc.C: remove !NEW_INSETS cruft
17460
17461         * lyxfind.C: remove !NEW_INSETS cruft
17462
17463         * lyx_cb.C: remove !NEW_INSETS cruft
17464
17465         * figureForm.C: remove  !NEW_INSETS cruft
17466
17467         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17468
17469         * buffer.[Ch]: remove !NEW_INSETS cruft
17470
17471         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17472
17473         * CutAndPaste.C: remove !NEW_INSETS cruft
17474
17475         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17476
17477         * BufferView2.C: remove !NEW_INSETS cruft
17478
17479         * BufferView.h: remove !NEW_INSETS cruft
17480
17481 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17482
17483         * Lsstream.h: include LString.h before the sstream headers to
17484         fix problem with gcc 2.95.3 and lyxstring
17485
17486 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17487
17488         * lyx_main.C: add using directives when needed for C functions
17489         declared in std:: namespace.
17490
17491 2001-04-27  Juergen Vigna  <jug@sad.it>
17492
17493         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17494         (SetHeightOfRow): comment out the update call should not be needed!
17495
17496 2001-04-13  Juergen Vigna  <jug@sad.it>
17497
17498         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17499         (LyXTabular): tried to minimize operator= operations (and realized
17500         hopfully Lars wish).
17501
17502 2001-04-27  Juergen Vigna  <jug@sad.it>
17503
17504         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17505
17506 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17507
17508         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17509
17510         * buffer.C (readInset): hack to make listof algorithm work
17511
17512         * BufferView_pimpl.C: hack to make listof algorithm work
17513
17514 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17515
17516         * LyXAction.C: removed all !NEW_INSETS cruft
17517         (init): moved lfun_item in method
17518
17519         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17520
17521 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17522
17523         * BufferView2.C (theLockingInset): white space.
17524
17525 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17526
17527         * minibuffer.C: include <iostream>
17528
17529         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17530
17531         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17532
17533         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17534
17535         * text.[Ch] (TransposeChars): new method
17536
17537 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17538
17539         * call message directly through LyXView instead of through LyXFunc
17540         * BufferView2.C: adjust
17541         * BufferView_pimpl.C: adjust
17542         * FontLoader.C: adjust
17543         * buffer.C: adjust
17544         * bufferview_funcs.C: adjust
17545         * converter.C: adjust
17546         * figureForm.C: adjust
17547         * importer.C: adjust
17548         * lyx_cb.C: adjust
17549         * lyx_gui_misc.C: adjust
17550         * lyxfunc.C: adjust
17551         * lyxvc.C: adjust
17552         * text2.C: adjust
17553         + more files in subdirs
17554
17555         * lyxparagraph.h (size): move up int file
17556         (GetLayout): ditto
17557
17558         * adjust all uses of Assert to lyx::Assert.
17559
17560         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17561         lyxfunctional in namespace lyx
17562         * layout.C (hasLayout): ditto
17563         (GetLayout): ditto
17564         (GetLayout): ditto
17565         (delete_layout): ditto
17566         (NumberOfClass): ditto
17567         * converter.C (GetFormat): ditto
17568         (GetNumber): ditto
17569         (Add): ditto
17570         (Delete): ditto
17571         (SetViewer): ditto
17572         * bufferlist.C (getFileNames): ditto
17573         (emergencyWriteAll): ditto
17574         (exists): ditto
17575         (getBuffer): ditto
17576         * MenuBackend.C (hasSubmenu): ditto
17577         (hasMenu): ditto
17578         (getMenu): ditto
17579         * BufferView_pimpl.C (getInsetByCode): ditto
17580
17581 2001-04-18  Juergen Vigna  <jug@sad.it>
17582
17583         * vspace.C (asLatexString): fixed the 100% problem.
17584
17585 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17586
17587         * lyxfunc.C (Dispatch):
17588         * minibuffer.C:
17589         * minibuffer.h: add a few std:: qualifiers
17590
17591 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17592
17593         * minibuffer.[Ch]: reimplement so that commands is initiated and
17594         run from lyxfunc, simplified som handling, and made the completion
17595         and history code for complete. wip.
17596
17597         * lyxfunc.C (processKeySym): call message
17598         (miniDispatch): new temporary method
17599         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17600         (LFUN_MESSAGE): implement
17601         (LFUN_MESSAGE_PUSH): implement
17602         (LFUN_MESSAGE_POP): implement
17603         (initMiniBuffer): the initial/defualt minibuffer message.
17604
17605         * lyxfont.[Ch]: inline some more getters
17606
17607         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17608
17609         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17610
17611         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17612         (AutoSave): use LFUN_MESSAGE
17613         (Reconfigure): ditto
17614
17615         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17616
17617         * figureForm.C: use LFUN_MESSAGE
17618
17619         * converter.C (runLaTeX): use LFUN_MESSAGE
17620
17621         * bufferview_funcs.C: use LFUN_MESSAGE
17622         (Melt): ditto
17623         (changeDepth): ditto
17624
17625         * bufferparams.h: use boost::
17626
17627         * bufferlist.h: inherit privately from noncopyable
17628
17629         * bufferlist.C (loadLyXFile): remove some commented code.
17630
17631         * buffer.C (runChktex): use LFUN_MESSAGE
17632
17633         * ShareContainer.h: inherit privately from noncopyable
17634
17635         * ParagraphParameters.[hC] (depth): inline it.
17636
17637         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17638         methods.
17639         (message): new method
17640         (messagePush): ditto
17641         (messagePop): ditto
17642         (show): init minibuffer
17643         (showState): direct call
17644
17645         * LaTeX.[Ch]: inherit privately from noncopyable
17646         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17647         instead of WriteStatus.
17648
17649         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17650
17651         * BufferView_pimpl.C (buffer): don't init minibuffer
17652         (workAreaButtonPress): use LFUN_MESSAGE
17653         (workAreaButtonRelease): ditto
17654         (savePosition): ditto
17655         (restorePosition): ditto
17656         (MenuInsertLyXFile): ditto
17657         (workAreaExpose): don't init minibuffer
17658         (update): remove commented code, simplify
17659
17660         * BufferView2.C (openStuff): use LFUN_MESSAGE
17661         (toggleFloat): ditto
17662         (menuUndo): ditto
17663         (menuRedo): ditto
17664         (copyEnvironment): ditto
17665         (pasteEnvironment): ditto
17666         (copy): ditto
17667         (cut): ditto
17668         (paste): ditto
17669         (gotoInset): ditto
17670         (updateInset): remove some commented code
17671
17672         * lastfiles.h: inherit privately from noncopyable
17673         * layout.h: ditto
17674         * lyx_gui.h: ditto
17675         * lyx_main.h: ditto
17676         * lyxlex.h: ditto
17677         * lyxlex_pimpl.h: ditto
17678
17679         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17680         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17681         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17682
17683         * LyXAction.h: inherit privately from noncopyable, add methods
17684         func_begin, func_end, returning iterators to the func map.
17685
17686         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17687         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17688         (func_begin): new method
17689         (func_end): new method
17690
17691         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17692         and not)
17693         (copySelection): ditto
17694         (pasteSelection): ditto
17695
17696         * BufferView.C: whitespace change
17697         * BufferView.h: inherit privately from noncopyable
17698
17699 2001-04-16  Allan Rae  <rae@lyx.org>
17700
17701         * tabular-old.C (l_getline):
17702         * spellchecker.C (sc_check_word):
17703         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17704         an unrecognised preprocessor directive.  So ensure they're wrapped.
17705
17706 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17707
17708         * src/exporter.C (Export): Give an error message when path to file
17709         contains spaces.
17710
17711 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17712
17713         * LaTeX.C (deplog): Always check that foundfile exists.
17714
17715 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17716
17717         * lyx_main.h:
17718         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17719
17720 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17721
17722         * tabular.[Ch] (getLabelList): implement new method
17723
17724         * minibuffer.h: comment ouf setTiimer
17725
17726         * minibuffer.C (ExecutingCB): constify res
17727         (peek_event): constify s
17728         (Set): constify ntext
17729         (Init): constify nicename
17730
17731         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17732
17733         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17734         (savePosition): use two params to Minibuffer::Set
17735         (restorePosition): ditto
17736
17737 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17738
17739         * lyx_main.C: include language.h
17740
17741         * Makefile.am (lyx_main.o): add language.h
17742
17743 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17744
17745         * exporter.C:
17746         * paragraph.C:
17747         * screen.C:
17748         * tabular.C:
17749         * CutAndPaste.C: include gettext.h
17750
17751         * lyxfont.h: remove old hack with ON and OFF.
17752
17753         * lyxparagraph.h:
17754         * lyxfont.h: do not include language.h...
17755
17756         * BufferView2.C:
17757         * LaTeXFeatures.C:
17758         * Painter.C:
17759         * bufferview_funcs.C:
17760         * font.C:
17761         * lyxfont.C:
17762         * text.C:
17763         * text2.C:
17764         * trans_mgr.C:
17765         * paragraph.C: ... but do it here instead
17766
17767 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17768
17769         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17770
17771         * tabular.C: small reformat
17772
17773         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17774         NEW_INSETS version
17775         (GetChar): ditto
17776         (BreakParagraph): ditto
17777         (SetOnlyLayout): ditto
17778         (SetLayout): ditto
17779
17780         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17781         with one arg less.
17782
17783         * lastfiles.C: removed most using decl, add std:: where needed
17784
17785         * buffer.C: ws changes
17786
17787         * MenuBackend.C (class compare_format): put into anon namespace
17788         (expand): constify label, names, action, action2
17789         (expand):
17790
17791         * text.C (SingleWidth): constify font
17792         (IsBoundary): constify rtl2
17793         (GetVisibleRow): constify ww
17794
17795         * LaTeX.C (deplog): constify logfile
17796
17797         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17798         start_x, end_x
17799         (workAreaExpose): constify widthChange, heightChange
17800
17801         * lyxrow.C (par): moved
17802         (height): moved
17803         (next): moved
17804         * lyxrow.h: as inlines here
17805
17806         * lyxfont.h (shape): moved from lyxfont.C
17807         (emph): moved from lyxfont.C
17808
17809         * lyxfont.C (LyXFont): use initialization list for all
17810         constructors
17811         (shape): move to lyxfont.h as inline
17812         (emph): move to lyxfont.h as inline
17813
17814
17815 2001-04-04  Juergen Vigna  <jug@sad.it>
17816
17817         * vspace.C: had to include stdio.h for use of sscanf
17818
17819 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17820
17821         * BufferView.h:
17822         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17823         independent of xforms.
17824
17825 2001-04-02  Juergen Vigna  <jug@sad.it>
17826
17827         * spellchecker.C: fixed namespace placing!
17828
17829 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17830
17831         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17832         the LyXParagraph * is 0.
17833
17834 2001-03-29  Juergen Vigna  <jug@sad.it>
17835
17836         * vspace.C: added support for %, c%, p%, l%.
17837         (stringFromUnit): added helper function.
17838         (asLatexString): changed to give right results for the %-values.
17839
17840         * buffer.C: convert the widthp in a width%.
17841
17842 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17843
17844         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17845         figureForm.[Ch].
17846
17847         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17848         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17849
17850         * lyx_cb.[Ch]: see above.
17851
17852         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17853         form1.[Ch].
17854
17855         * form1.[Ch]:
17856         * lyx.[Ch]: replaced by figure_form.[Ch].
17857
17858         * lyx_gui.C:
17859         * lyx_gui_misc.C:
17860         * lyxfunc.C: changed headers associated with above changes.
17861
17862 2001-03-27  Juergen Vigna  <jug@sad.it>
17863
17864         * BufferView_pimpl.C: set the temporary cursor right!
17865
17866 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17867
17868         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17869
17870 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17871
17872         * LString.h: removed "using std::getline"!
17873
17874         * BufferView_pimpl.C (Dispatch): changes due to changes in
17875         InsetInclude::Params.
17876
17877         * buffer.C (tag_name): removed redundant break statements as they were
17878         producing lots of warnings with my compiler.
17879
17880 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17881
17882         * LString.h: add "using std::getline" when using the real <string>.
17883
17884 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17885
17886         * buffer.C: removed bitset usage.
17887         PAR_TAG moved to an anonymous name space.
17888         (tag_name): new funtion, also in the anonymous namespace.
17889         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17890         (makeDocBookFile): clean code. Completed transition from string arrays
17891         to string vectors.
17892         (SimpleDocBookOnePar): code clean.
17893
17894 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17895
17896         * tabular.C: add some comments.
17897
17898 2001-03-22  Juergen Vigna  <jug@sad.it>
17899
17900         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17901         compatibility read a bit and fixed bug with minipage in different
17902         depth.
17903
17904 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17905
17906         * buffer.C (pop_tag): removed.
17907         (push_tag): removed.
17908         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17909         array replaced with vector. Added support for CDATA sections.
17910         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17911         at any nest level.
17912         (makeDocBookFile): XML conformant declaration of CDATA section,
17913         fixed bug related to <emphasis> in the first paragraph char.
17914         (sgmlOpenTag): exclude empty tags.
17915         (sgmlCloseTag): ditto.
17916
17917         * buffer.h (pop_tag): removed.
17918         (push_tag): removed.
17919
17920 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17921
17922         * language.h (Languages): added size_type and size().
17923
17924 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17925
17926         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17927         response on compability reading of minipages. One probliem is that
17928         the old usage of minipages was flertydig
17929
17930         * several files here and in subdirs: don't use static at file
17931         scope use anon namespaces instead.
17932
17933 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17934
17935         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17936         LaTeX output. This is necessary for Literate document
17937         processing.
17938
17939 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17940
17941         * buffer.C: insert hfill when needed.
17942
17943         * tabular.C (l_getline): use string::erase, small whitespace change.
17944
17945         * BufferView_pimpl.C: try the anon namespace.
17946         * WorkArea.C: ditto
17947
17948 2001-03-16  Juergen Vigna  <jug@sad.it>
17949
17950         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17951         otherwise it won't open options-dialogs.
17952
17953         * buffer.C: honor pextraWidth(p) on converting minipages.
17954
17955         * tabular.C (l_getline): changed the functions to strip trailing \r.
17956
17957 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17958
17959         * BufferView_pimpl.C:
17960         * minibuffer..C: added "using SigC::slot" declaration.
17961
17962 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17963
17964         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17965
17966         * text2.C: ditto
17967
17968         * text.C: ditto
17969
17970         * paragraph.C: ditto
17971
17972         * lyxtext.h: NO_PEXTRA
17973
17974         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17975
17976         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17977         * ParameterStruct.h: ditto
17978         * ParagraphParameters.h: ditto
17979         * lyxparagraph.h: ditto
17980
17981 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17982
17983         * buffer.C: add compability for minipage alignment.
17984         (latexParagraphs): remove unwanted pextra check.
17985
17986         * several files: remove CXX_WORKING_NAMESPACES
17987
17988         * buffer.C (pop_tag): tie is in namespace boost
17989
17990         * BufferView.h: noncopyable is in namespace boost
17991         * lyxlex.h: ditto
17992         * lyx_main.h: ditto
17993         * lyx_gui.h: ditto
17994         * layout.h: ditto
17995         * lastfiles.h: ditto
17996         * bufferlist.h: ditto
17997         * ShareContainer.h: ditto
17998         * LyXView.h: ditto
17999         * LyXAction.h: ditto
18000         * LaTeX.h: ditto
18001
18002 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18003
18004         * Merging changes from BRANCH_MVC back into HEAD.
18005
18006         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18007
18008 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18009
18010         * BufferView_pimpl.C: change from intl.C
18011
18012         * combox.h:
18013         * combox.C:
18014         * Makefile.am: move combox.*
18015
18016         * form1.h:
18017         * form1.C:
18018         * lyx_gui.C:
18019         * intl.h:
18020         * intl.C: remove dialog (covered by prefs)
18021
18022 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18023
18024         * lyxfunc.C (Dispatch): removed redundant break statement.
18025
18026 2001-03-14  Juergen Vigna  <jug@sad.it>
18027
18028         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18029
18030 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18031
18032         * buffer.C: add hack to fix compability reading of minipages.
18033
18034 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18035
18036         * buffer.C (getLists): Cleanup.
18037
18038 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18039
18040         * lyxfont.C (update): don't honor toggleall on font size.
18041
18042 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18043
18044         * bmtable.c:
18045         * bmtable.h:
18046         * Makefile.am: moved to frontends/xforms/
18047
18048         * lyx_gui_misc.C:
18049         * lyxfunc.C:
18050         * BufferView_pimpl.C: changes for moved mathpanel
18051
18052 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18053
18054         * gettext.h: fix gettext_init() in --disable-nls
18055
18056 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18057
18058         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18059
18060 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18061
18062         * lyx.C:
18063         * lyx.h: strip external form
18064
18065 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18066
18067         * BufferView_pimpl.C: add comment, destroySplash()
18068
18069 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18070
18071         * BufferView_pimpl.C:
18072         * LyXAction.C:
18073         * buffer.C:
18074         * commandtags.h:
18075         * lyxfunc.C: use re-worked insetinclude
18076
18077 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18078
18079         * buffer.C: add using std::stringstream.
18080
18081         * lyx_cb.C: readd using std::ios.
18082
18083         * buffer.C: add using std::map.
18084
18085         * BufferView_pimpl.C: add using std::vector.
18086
18087         * ShareContainer.h: add std:: to swap.
18088
18089         * buffer.h: add some typedefs
18090         * buffer.C (getLists): use them
18091         (getLists): renamed from getTocList.
18092         add a counter for the different float types and use it in the
18093         generated string.
18094         (getLists): use the same counter for the NEW_INSETS and the "non"
18095         NEW_INSETS
18096
18097         * lyx_cb.h: remove unused items, includes, using etc.
18098
18099         * ShareContainer.h: remove some commented code, add more comments
18100         and "documentation".
18101
18102 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18103
18104         * buffer.C (getTocList): make the list also when NEW_INSETS is
18105         defined.
18106
18107         * buffer.h: remove TocType
18108
18109         * buffer.C (getTocList): change to return a map<string,
18110         vector<TocItem> >, implement for dynamic number of list.
18111
18112         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18113         * text2.C (PasteSelection): adjust
18114         * CutAndPaste.C (pasteSelection): adjust
18115
18116         * FloatList.C (FloatList): update from the new_insets branch.
18117         * Floating.[Ch]: ditto
18118         * LaTeXFeatures.C: ditto
18119         * buffer.C: ditto
18120         * lyxlex_pimpl.C: ditto
18121
18122         * paragraph.C (Last): remove when NEW_INSETS is defined.
18123
18124         * other file: changes because of the above.
18125
18126 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18127
18128         * lyxparagraph.h: rename next to next_, previous to previous_,
18129         make them private for NEW_INSETS. Rename Next() to next(),
18130         Previous() to previous().
18131
18132         * other files: changes because of the above.
18133
18134 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18135
18136         * BufferView.h:
18137         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18138         problem.
18139
18140 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18141
18142         * main.C (main): pass lyx_localedir to gettext_init().
18143
18144         * gettext.h: remove locale_init and gettext_init macros
18145
18146         * gettext.C (locale_init): new function
18147         (gettext_init): new function
18148
18149         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18150         setlocale().
18151
18152 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18153
18154         * Moved credits to frontends:
18155         * credits.[Ch]: removed
18156         * credits_form.[Ch]: removed
18157         * lyx_gui_misc.C: remove credits stuff
18158         * Makefile.am:
18159
18160 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18161
18162         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18163
18164         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18165         unneeded destructor.
18166
18167         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18168         a standalone pointer again.
18169
18170         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18171
18172 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18173
18174         * Makefile.am:
18175         * filedlg.h:
18176         * filedlg.C:
18177         * LyXAction.C:
18178         * ToolbarDefaults.C:
18179         * bufferlist.C:
18180         * commandtags.h:
18181         * form1.C:
18182         * form1.h:
18183         * lyx_cb.C:
18184         * lyx_cb.h:
18185         * lyxfunc.h:
18186         * lyxfunc.C:
18187         * BufferView_pimpl.C: use new file dialog in GUII
18188
18189         * lyx_cb.h:
18190         * lyx_cb.C: remove LayoutsCB to Toolbar
18191
18192 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18193
18194         * ShareContainer.h (get): add std:: qualifier
18195
18196 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18197
18198         * ShareContainer.h: define a proper ShareContainer::value_type
18199         type (and use typename to please compaq cxx)
18200
18201 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18202
18203         * lyxparagraph.h: move serveral local vars to
18204         ParameterStruct/ParagraphParameters., use ShareContainer in
18205         FontTable., make vars in FontTable private and add getter and
18206         setter.
18207
18208         * paragraph.C: changes because of the above.
18209
18210         * lyxfont.h: remove copy constructor and copy assignment. (the
18211         default ones is ok), move number inside FontBits. move inlines to
18212         lyxfont.C
18213
18214         * lyxfont.C: add number to initializaton of statics, move several
18215         inlines here. constify several local vars. some whitespace
18216         cleanup. Dont hide outerscope variables.
18217
18218         * Spacing.h: add two new constructors to match the set methods.
18219
18220         * ShareContainer.h: new file, will perhaps be moved to support
18221
18222         * ParameterStruct.h: new file
18223
18224         * ParagraphParameters.h: new file
18225
18226         * ParagraphParameters.C: new file
18227
18228         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18229         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18230
18231         * BufferView_pimpl.C: ParagraphParameter changes.
18232         * buffer.C: Likewise.
18233         * bufferview_funcs.C: Likewise.
18234         * text.C: Likewise.
18235         * text2.C: Likewise.
18236
18237 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18238
18239         * lyxfind.C (LyXReplace): do not redefine default argument in
18240         implementation.
18241         (IsStringInText): ditto
18242         (SearchForward): ditto
18243         (SearchBackward): ditto
18244
18245 2001-03-06  Juergen Vigna  <jug@sad.it>
18246
18247         * lyxfind.C (IsStringInText): put parentes around expressions.
18248
18249 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18250
18251         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18252
18253 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18254
18255         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18256
18257         * stl_string_fwd.h: add comment
18258
18259         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18260
18261         * tabular.h:
18262         * tabular.C: remove unused DocBook methods
18263
18264         * intl.C:
18265         * language.C:
18266         * paragraph.C:
18267         * buffer.C:
18268         killed DO_USE_DEFAULT_LANGUAGE
18269
18270 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18271
18272         * lyx_gui.C: do not include language.h.
18273
18274         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18275         arguments in function implementation.
18276
18277 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18278
18279         * BufferView_pimpl.C: add <ctime>
18280
18281 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18282
18283         * BufferView_pimpl.C: add using std::find_if
18284
18285 2001-02-27  José Matos  <jamatos@fep.up.pt>
18286
18287         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18288         by OnlyPath.
18289
18290 2001-02-11  José Matos  <jamatos@fep.up.pt>
18291
18292         * buffer.C (makeDocBookFile): command styles now have a parameter as
18293         "title" by default.
18294
18295 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18296
18297         * layout_forms.[Ch]: removed
18298         * lyx_cb.[Ch]: out character
18299         * lyx_gui.C: out character
18300         * lyx_gui_misc.C: out character
18301         * bufferview_funcs.C: : out character,
18302         added toggleall as parameter in ToggleAndShow
18303
18304 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18305
18306         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18307
18308         * text2.C (SetCurrentFont): Disable number property at boundary.
18309
18310 2001-02-26  Juergen Vigna  <jug@sad.it>
18311
18312         * lyxfunc.C (getStatus): added a string argument override function so
18313         that this is correctly called from LyXFunc::Dispatch if it contains a
18314         do_not_use_argument which is used!
18315         (Dispatch): added check for "custom" export and call appropriate func.
18316
18317 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18318
18319         * lyxrc.C: Add language_command_local, language_use_babel and
18320         language_global_options.
18321
18322         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18323
18324         * buffer.C (makeLaTeXFile): Use language_use_babel and
18325         language_global_options.
18326
18327 2001-02-23  Juergen Vigna  <jug@sad.it>
18328
18329         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18330         which works with LyXText and putted it inside BufferView. Here now we
18331         only call for that part the BufferView::Dispatch() function.
18332
18333         * BufferView.C (Dispatch): added.
18334
18335         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18336         functions which needs to use a LyXText over from LyXFunc.
18337         (MenuInsertLyXFile): added
18338         (getInsetByCode): added
18339         (moveCursorUpdate): added
18340         (static TEXT): added
18341
18342 2001-02-22  Juergen Vigna  <jug@sad.it>
18343
18344         * BufferView_pimpl.C (update): call a status update to see if LyXText
18345         needs it.
18346
18347 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18348
18349         * vc-backend.C (revert): implement for CVS
18350         (getLog): implement for CVS
18351
18352 2001-02-20  Juergen Vigna  <jug@sad.it>
18353
18354         * text2.C (ClearSelection): added BufferView param for inset_owner call
18355
18356         * lyxfunc.C (TEXT): added this function and use it instead of
18357         directly owner->view()-text of getLyXText().
18358
18359 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18360
18361         * src/layout_forms.C: out preamble
18362         * src/layout_forms.h: out preamble
18363         * src/lyx_cb.C: out preamble
18364         * src/lyx_cb.h: out preamble
18365         * src/lyx_gui.C: out preamble
18366         * src/lyx_gui_misc.C: out preamble
18367         * src/lyxfunc.C: connect with guii preamble
18368
18369 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18370
18371         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18372
18373 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18374
18375         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18376         whether to run bibtex.
18377
18378 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18379
18380         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18381
18382 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18383
18384         * Makefile.am (lyx_SOURCES): removed bibforms.h
18385
18386         * vspace.h: doxygen
18387
18388         * text.C (GetVisibleRow): make several local vars const
18389
18390         * tabular.C: small cleanup.
18391
18392         * lyxserver.C (callback): use compare instead of strncmp
18393
18394         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18395         inlines to after class or to paragraph.C
18396
18397         * lyxfont.h: remove friend operator!=
18398
18399         * converter.h: move friend bool operator< to non friend and after
18400         class def.
18401
18402         * combox.h: small cleanup
18403
18404         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18405         to inlines after class def.
18406
18407         * buffer.C (pop_tag): use string operations instead of strcmp
18408
18409         * bmtable.c: doxygen, small cleanup
18410
18411         * LaTeX.h: remove friend operator==
18412
18413 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18414
18415         * screen.C:
18416         * lyxrc.[Ch]:
18417         * lyxfunc.C:
18418         * lyxfont.[Ch]:
18419         * lyx_cb.C:
18420         * intl.[Ch]:
18421         * commandtags.h:
18422         * buffer.C:
18423         * WorkArea.[Ch]:
18424         * LyXAction.C:
18425         * BufferView_pimpl.C:
18426         * BufferView.[Ch]: remove cruft
18427
18428 2001-02-14  Juergen Vigna  <jug@sad.it>
18429
18430         * lyxfunc.C: removed #if 0 unused code
18431
18432         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18433
18434         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18435
18436         * text2.C (SetSelection): added a BufferView * parameter
18437
18438 2001-02-13  Juergen Vigna  <jug@sad.it>
18439
18440         * lyxfunc.C (Dispatch): fixed protected blank problem.
18441         * BufferView2.C (protectedBlank): added LyxText * parameter.
18442
18443         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18444         (AppendColumn): same as above for column_info.
18445
18446         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18447         (moveCursorUpdate): use a LyXText param for support of InsetText.
18448
18449         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18450         (tripleClick): ditto
18451
18452         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18453
18454         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18455
18456         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18457
18458         * text2.C (SetSelection): set correct update status if inset_owner
18459         (ToggleFree): ditto
18460
18461 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18462
18463         * tabular.C: remove some commented code.
18464
18465 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18466
18467         * BufferView_pimpl.C: call hideSplash()
18468
18469         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18470
18471         * include_form.h:
18472         * bibforms.h: remove
18473
18474         * lyxfunc.C:
18475         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18476           add LFUN_CHILD_CREATE
18477
18478         * counters.h: fix tiny typo
18479
18480         * lyx_cb.C:
18481         * lyx.h:
18482         * lyx_gui.C:
18483         * lyx.C: move splash to frontends/xforms/
18484
18485         * lyx_gui_misc.C: move Include and Bibform to frontends
18486
18487         * lyxvc.h: clarify comment
18488
18489         * vspace.C: tiny housekeeping
18490
18491 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18492
18493         * text.C (PrepareToPrint): RTL Fix.
18494
18495         * paragraph.C (GetUChar): New method.
18496         (String):  Use GetUChar.
18497
18498         * buffer.C (asciiParagraph): Use GetUChar.
18499
18500 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18501
18502         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18503
18504 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18505
18506         * buffer.h:
18507         * buffer.C: rename to getLogName(), handle
18508           build log / latex log nicely
18509
18510 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18511
18512         * MenuBackend.C:
18513         * MenuBackend.h: remove support for reference menuitem type.
18514
18515 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18516
18517         * BufferView_pimpl.C: housekeeping
18518         * BufferView_pimpl.h:
18519         * LyXView.h:
18520         * Makefile.am:
18521         * Timeout.C:
18522         * Timeout.h:
18523         * minibuffer.h: move Timeout GUI-I
18524
18525 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18526
18527         * lyxrc.C (read): Update converters data-structures.
18528
18529 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18530
18531         * LaTeX.h (operator!=): add operator != for Aux_Info
18532
18533 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18534
18535         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18536
18537         * LaTeXLog.C: deleted, useful code moved to Buffer
18538
18539         * buffer.h:
18540         * buffer.C: new function getLatexLogName()
18541
18542         * lyx_gui_misc.C:
18543         * lyx_gui.C:
18544         * lyxvc.C:
18545         * lyxvc.h:
18546         * lyxfunc.C: use frontends for LaTeX and VC logs
18547
18548 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18549
18550         * LaTeX.h: yet another std:: that Allan forgot.
18551
18552         * Variables.C (set): renamed from isset(), because this clashes
18553         with some HP-UX macros (grr).
18554
18555 2001-02-06  Allan Rae  <rae@lyx.org>
18556
18557         * LaTeX.h: Another bug fix.  Missing std:: this time.
18558
18559 2001-02-04  Allan Rae  <rae@lyx.org>
18560
18561         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18562         floats problem. I've left it commented out because it's not quite
18563         correct.  It should also test that the current object is a table or
18564         figure inset.  But I haven't gotten around to figuring out how to do
18565         that.  I *think* it'll be something like: "table" == inset.type()
18566
18567         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18568         bool.
18569
18570 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18571
18572         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18573         all the citation/databases/styles in the auxilary file.
18574         (run): Rerun latex if there was a babel language error.
18575
18576 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18577
18578         * text.C (Backspace): Preserve the font when changing newline char
18579         with a space.
18580         (BreakParagraph): If the cursor is before a space, delete the space.
18581
18582         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18583
18584 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18585
18586         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18587         new argument (code).
18588         (ChangeCitationsIfUnique): New method.
18589
18590         * paragraph.C (GetPositionOfInset): Handle bibkey.
18591
18592 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18593
18594         * BufferView_pimpl.h: change type of Position::par_pos to
18595         LyXParagraph::size_type.
18596
18597 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18598
18599         * BufferView_pimpl.C (savePosition, restorePosition): Write
18600         messages to minibuffer.
18601
18602 2001-01-28  José Matos  <jamatos@fep.up.pt>
18603
18604         * buffer.C (makeDocBookFile): adds support for document language.
18605         A silly restriction on the name of LatexCommand types where removed.
18606         Added support for CDATA sections, allows to chars unescaped, used
18607         among others in code, to avoid escape < and >.
18608
18609 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18610
18611         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18612         saved positions instrad of a stack. Furthermore, a position is
18613         stored using paragraph id/paragraph position.
18614
18615         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18616         Remove LFUN_REF_BACK.
18617
18618 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18619
18620         * converter.C (dvipdfm_options): New method.
18621
18622 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18623
18624         * vspace.C (isValidLength): Fix for empty input string.
18625
18626 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18627
18628         * LyXAction.C (init): change description of LFUN_FIGURE to
18629         "Insert Graphics"
18630
18631 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18632
18633         * LaTeX.C: add using directive
18634
18635 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18636
18637         * MenuBackend.C (expand): Fix the sorting of the formats.
18638
18639 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18640
18641         * lyx_main.C: tiny error message fix
18642
18643 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18644
18645         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18646         calling fl_initialize(). This fixes the problem with ',' as
18647         decimal separator in text files.
18648
18649 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18650
18651         * trans.C (process): Fix the keymap bug.
18652
18653 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18654
18655         * LaTeX.C (scanAuxFiles): New method. Provides support for
18656         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18657         (scanLogFile) Scan for "run BibTeX" messages.
18658
18659         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18660         OT1 font encoding. Also, load the aecompl package if the ae
18661         package is loaded.
18662
18663         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18664
18665 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18666
18667         * texrow.C (increasePos): turn two error messages into debug
18668         messages.
18669
18670 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18671
18672         * LaTeX.C (scanAux): Handle the \@input macro.
18673         (runBibTeX): Use scanAux().
18674
18675         * language.C (latex_options_): New field.
18676
18677         * LaTeXFeatures.C (getMacros): Add language macros.
18678
18679         * buffer.C (makeLaTeXFile): Small fix.
18680
18681 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18682
18683         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18684
18685         * text2.C: add a using directive.
18686
18687 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18688
18689         * BufferView2.C:
18690         * lyx_gui_misc.h:
18691         * lyxfr1.C:
18692         * lyxfunc.C: kill LyXBell.
18693
18694 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18695
18696         * text.C (IsBoundary): Remove the error message
18697
18698         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18699
18700         * lyxrc.C (setDefaults): Correct initialization value for
18701         font_norm_type.
18702
18703 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18704
18705         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18706         gotoError().
18707
18708         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18709         and GotoNextNote().
18710
18711         * src/LyXAction.C: Added reference-next.
18712
18713         * text.C (InsertChar): Use contains instead of strchr.
18714
18715         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18716
18717 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18718
18719         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18720         alignment commands (when needed).
18721
18722         * text.C (InsertChar): Add ':' to number separator chars.