]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
83dd478997f0634aafce216dd7ad120a581e52c7
[lyx.git] / src / ChangeLog
1 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * bufferview_funcs.C (coordOffset): remove the check for
4         collapsed collapsables (fix for bug 2094). This is now done
5         on a more general level (cursor.C).
6
7         * dociterator.[Ch] (forwardPos): add an optional argument
8         bool "ignorecollapsed" (default false), which lets forwardPos
9         skip collapsed insets.
10
11         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
12         (fixes bug 2241 and 2094).
13
14 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15
16         * buffer.C: change tracking (dvipost) doesn't require
17         color.sty anymore.
18
19         * LaTeXFeatures.C (getPackages): no need for the color
20         option "usenames" (bug 2169).
21
22 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
23         * buffer_funcs.C: Trivial fix - added {} around
24         the statements to be affected by a if-test. Now
25         label in a minipage in a float looks ok on screen again.
26
27 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
28
29         * text2.C: fix bug 2015: on screen fonts in nested environments 
30         can be wrong
31
32 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
33
34         * converter.C (convert): handle unknown formats
35
36 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
37
38         * cursor.C (goUpDown): comment out some debug messages.
39
40         * counters.C (newCounter): make error messages more explicit
41         (these appear with some textclasses like beamer)
42
43 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         * kbmap.C (defkey): 
46         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
47         have origin set to KEYBOARD. (bug 2221)
48
49 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
50
51         * rowpainter.C (isCursorOnRow): do not exclude endpos().
52
53 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
54
55         * cursor.C (macroModeClose): returns true if an inset actually got
56         inserted; revert faulty fix to bug 2034.
57
58 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
59
60         * tabular.C (getLabelList): remove (not used anymore).
61
62 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
63
64         * outputparams.[Ch]: add new flag inComment
65
66 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * text2.C (deleteEmptyParagraphMechanism): since we delete a
69         paragraph, recordUndo should span two paragraphs (bug 2155).
70
71 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
72
73         * rowpainter.C (paintPar): always repaint the row with the
74         cursor in it
75
76 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
77
78         * MenuBackend.h: 
79         * bufferlist.h: 
80         * lyxtext.h: 
81         * paragraph.h:
82         * vspace.h: fix syntax error
83
84 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
85
86         * text3.C (dispatch): Force refresh if typing into inset changes its
87                               metrics
88
89 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
90
91         * RowList_fwd.h:
92         * paragraph.C:
93         * paragraph.h:
94         * rowpainter.C: Speed up rendering by only re-painting rows that
95         have changed. When selection or whole-screen update active, all rows
96         are repainted, as are all rows within insets.
97
98 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
99
100         * version.C.in: Use PACKAGE_VERSION instead of VERSION
101
102 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
103
104         * tabular.C (toggleFixedWidth): Use default layout of text class
105         instead of hardcoded "Standard"
106
107 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * lyxfunc.C (dispatch): do not call getStatus again to determine
110         whether a lfun is disabled (bug 2172).
111
112 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
113
114         * cursor.C (macroModeClose): set the cursor inside the new math
115         atom if relevant (think \frac{}{}) (bug 2034)
116
117 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
118
119         * lyxtext.h:
120         * text.C:
121         * text3.C (Delete, backspace): force update when merging paragraphs
122
123 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
124
125         * BufferView.C (mouseSetCursor): clear the selection properly (bug
126         2163). 
127
128 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
129
130         * text.C (redoParagraph): honor inset->noFontChange()
131         * rowpainter.C (paintInset): ditto
132
133 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
134
135         * lyx_main.C (priv_exec): don't initialize Math on startup 
136         (initMath() has been moved to math_hullinset).
137
138 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
139
140         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
141         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
142         * paper.h: dispose dead PAPER_PACKAGES enum.
143
144 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
147         without X support.
148
149 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
150
151         * exporter.C (Export): Don't try to copy a file if it does not exist
152         (bug 1888)
153
154 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * text2.C (makeFontEntriesLayoutSpecific): remove.
157         (setLayout): adapt.
158
159         * text.C (insertChar): remove bogus caching of fonts (did not do
160         anything). 
161
162         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
163         ALL_SANE). (bug 2146)
164
165 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
166
167         * rowpainter.C (paintFirst): fix centering of
168         LABEL_CENTERED_TOP_ENVIRONMENT. 
169
170 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
171
172         * BufferView.C (mouseSetCursor): new method. Calls
173         deleteEmptyParagraphMechanism if necessary.
174
175         * lyxtext.h: make deleteEmptyParagraphMechanism public.
176
177         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
178         BufferView::mouseSetCursor (bug 2109).
179         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
180
181 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
182
183         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
184         do not remove it (this inset behaves differently from the others).
185
186 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         Fix bug 2096.
189         
190         * BufferView_pimpl.C (getStatus): it is only possible to insert a
191         file in a text inset.
192
193         * buffer.C (readDocument): remove pit argument and code releated
194         to it; set the inset owner correctly (unrelated, but useful).
195         (readFile): get rid of pit argument.
196
197         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
198         textclass instead of a selection index.
199         (pasteParagraphList): new function.
200         (pasteSelection): make it a wrapper around pasteParagraphList.
201
202         * BufferView_pimpl.C (MenuInsertLyXFile): use
203         cap::pasteParagraphList to insert a file.
204
205 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
206
207         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
208
209 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
210
211         * exporter.C: fix typo in text message
212
213 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
214
215         * text2.C (setLayout): move recUndo call to other setLayout method
216         * tabular.C (toggleFixedWidth): new, handle cell width changes
217         * tabular.C (setColumnPWidth): move some code from insettabular.C here
218         and use toggleFixedWidth
219         * tabular.C (setMColumnPWidth): ditto
220
221 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
222
223         * paragraph.C (asString): use new inset->textString method (fix
224         bug 2089) 
225
226 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227
228         * CutAndPaste.C (numberOfSelections): new helper function.
229
230         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
231
232         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
233         LyXFunc::getStatus; implement LFUN_PASTE.
234
235 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
236
237         * dociterator.[Ch]: new member realInset() that returns the cell
238         for tabulars and the inset for the rest (bug 1952).
239         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
240         (bug 1952).
241
242 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
243
244         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
245
246 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
247
248         * lyxfunc.C:
249         * paragraph.C:
250         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
251         argument.
252
253 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
254
255         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
256         line after typing ctrl-enter
257
258 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
259
260         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
261         math insets do not return a proper editable() state yet (bug 2124).
262
263 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
264
265         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
266         docs containing very large paragraphs.
267
268 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
269
270         * cursor.C (selectionBegin, selectionEnd):
271         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
272         cursor at different depths.
273
274 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
275
276         * bufferview_funcs.C (coordOffset): do not call cursorPos
277         for collapsed collapsables (fix bug 2094).
278
279 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
280
281         * paragraph.C (fontSpan): make sure that the FontSpan does not
282         span across beginOfBody (bug 1947).
283
284 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
285
286         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
287
288 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
289
290         * messages.C: fix crash and localization on MinGW/Windows platform
291
292 2005-11-02  Angus Leeming  <leeming@lyx.org>
293
294         * Bidi.C:
295         * lyxtextclass.C: trivial fixes to some MSVS warnings.
296
297 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * text3.C (getStatus): re-enable disabled code. (bug 2081)
300
301         * BranchList.h (empty): constify.
302
303 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
304
305         * text3.C (getStatus): 
306         * MenuBackend.C (expandBranches): take the branch list from the
307         master document (bug 2092).
308         
309         * MenuBackend.C (expandBranches): 
310         * bufferparams.C (writeFile): use BranchList type.
311
312 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * text3.C (dispatch, getStatus): 
315         * LyXAction.C (init): 
316         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
317
318 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
319
320         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
321
322 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
323
324         * text.C (insertChar): do not reset boundary (bug 2061)
325
326 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * dociterator.C (updateInsets): new method. Updates the inset_
329         cache of all the slices of the iterator.
330
331         * text2.C (deleteEmptyParagraphMechanism): compare also containing
332         insets when comparing pit/pos; pass the right cursor to
333         recordUndo; when a paragraph has been deleted, compare `old.top()' to
334         the right cursor slice of `cur'; use updateInsets on cur to make
335         sure that the inset caches are correct; general cleanup.
336
337 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
338
339         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
340         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
341         containg inset. If this does not work, the same command will be
342         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
343
344         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
345         a dispatch.
346
347 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
348
349         * lyxtextclass.C (Read): convert layout file if the format is wrong
350         * lyxtextclass.C (layout2layout): new, needed for the above
351
352 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
353
354         * messages.C: do not forget to include <cerrno>.
355
356 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
357
358         * dociterator.h (StableDocIterator): add access to pos().
359         * undo.C (samePar): new method to check if two
360         iterators are in the same paragraph
361         * undo.C (recordUndo): check for samePar instead of cell identity
362         (which includes pos() and is too strict) (fixes bug 2097)
363
364 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
365
366         * text.C (setCursorFromCoordinates): return a bool telling whether
367         dEPM triggered.
368
369         * text3.C (cursorPrevious): update if needed after
370         setCursorFromCoordinates (when dEPM triggered).
371
372         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
373         (otherwise the anchor may be completely wrong and make dEPM assert).
374
375 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
376
377         * buffer.C: version upgrade to 245.
378         * bufferparams.C: remove \quotes_times (bug 2090).
379         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
380         quotation marks as default.
381
382 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
383
384         * CutAndPaste.C (nrOfParagraphs): remove (unused)
385         * CutAndPaste.C (cutSelection): Remove debug message
386         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
387         undo information and only copy if this is a real cut
388         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
389         call
390         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
391         (bug 2059)
392         * CutAndPaste.C (eraseSelection): prevent cursor corruption
393         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
394         superflous cur.selection() setting
395         * CutAndPaste.[Ch] (grabSelection): take a const cursor
396         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
397
398 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
399
400         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
401         change anything.
402
403 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
404
405         * BufferView_pimpl.C: comment layout change
406
407 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
408
409         * LyXAction.C:
410         * lfuns.h:
411         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
412         by bibliography managers (bug 2071).
413
414 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
415
416         * BufferView_pimpl.C (update): choose arguments to update call so
417         that single-par update works most times
418         * text3.C (dispatch): carefully tune updating separately for
419         whole-screen and current-paragraph
420         * rowpainter.C (paintText): 1) replace painting by caching for
421         the two extra paragraphs, because we can;
422         2) suppress greying out of areas below/above drawn area in case of
423         single-par refresh
424         * lyxfunc.C (dispatch): remove superfluous update
425         * LyXAction.[Ch]: introduce SingleParUpdate
426
427 2005-10-05  Angus Leeming  <leeming@lyx.org>
428
429         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
430         always initialised before use.
431
432         * text.C (setHeightOfRow): squash warning about comparison
433         of signed and unsigned types.
434
435 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
436
437         * text.C (cursorX): two fixes involving RtL text drawing
438
439 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
440
441         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
442         items, not only large ones (part of bug 2057)
443
444 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
445
446         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
447         argument, use "newcommand".
448
449 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
450
451         * cursor.C (setSelection): do not open collapsable insets;
452         the insets do by themselves now (autoopen).
453
454 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
455
456         * buffer.C: format is up to 244.
457
458 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
459
460         * text.C (redoParagraph): fix calcultation of inset width wrt 
461         leftMargin (bug 1957).
462
463         * text3.C (dispatch): leave inset to the right when hitting ESC 
464         (bug 2034).
465
466 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * text2.C: 
469         * text.C: 
470         * factory.C:
471         * messages.C: include <boost/current_function.hpp> 
472
473 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
474
475         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
476         when command is internal. (bug 1941)
477
478 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * text2.C (cursorRight): do not honor boundary when at the end of
481         a paragraph. (bug 2010 again)
482
483 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
484
485         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
486
487 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
488
489         * rowpainter.C (paintText): fix RtL space width display bug (2029)
490
491 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
492
493         * text2.C (setCursor): remove the unused 'boundary' parameter for
494         the CursorSlice version; adapt the LCursor version.
495
496         * lyxrc.C (write): 
497         * paragraph_pimpl.C (markErased): 
498         * cursor.C (bruteFind2, bruteFond3): fix warnings.
499
500 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
503         as is already done for "chapter".
504
505 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
508         textclass; do not record undo if nothing is changed.
509
510 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
511
512         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
513
514 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
515
516         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
517
518 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
521         combox, it is necessary to search for the topmost paragraph in the
522         cursor stack (bug 1926)
523
524 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
525
526         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
527         end of paragraph. (bug 2010)
528
529 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
530
531         * text.C (leftMargin): check for inInset == 0
532
533 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
534
535         * text.C (leftMargin): test for insetbase's new neverIndent()
536         bool instead of listing each and every inset that does not
537         wish par indendation.
538
539 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
540
541         * buffer_funcs.C (setCounter): put the code to compute enum label
542         here (where it belongs).
543
544         * counters.C (enumLabel): move code to buffer_funcs.C.
545
546 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
547
548         * outputparams.[Ch]: store local_font instead of local_language
549         * paragraph.C (simpleTeXOnePar): adapt to the change above
550
551 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
552
553         * buffer_funcs.C:
554         * counters.[Ch]: clean up special code for Hebrew.
555
556 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
557
558         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
559         than 2.
560
561 2005-09-08  Angus Leeming  <leeming@lyx.org>
562
563         * ispell.C:
564         * lyxrc.C: correct grammar describing invocation of the
565         spellchecker.
566
567 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
568
569         * text.C (read): remove unused variable.
570         (readParToken): remove static Change variable (never good in
571         recursive settings...); add it as a parameter instead.
572
573         * paragraph_pimpl.C (acceptChange): make debug info conditional.
574
575         * metricsinfo.C (PainterInfo): add new member erased_.
576
577         * rowpainter.C (RowPainter): add erased_ member, initialized from
578         PainterInfo. 
579         (paintInset): pass erased_ to Inset::draw.
580
581         * lyxfunc.C (lookupChange): new function. Tells whether change 
582         tracking is disabled at a given postion.
583         (getStatus): disable some actions when in deleted text with change
584         tracking. 
585
586 2005-08-03  John Levon  <levon@movementarian.org>
587         
588         * tabular.C (appendColumn, setMultiColumn): adapt to change to
589         InsetText::clear().
590
591         * paragraph_pimpl.C (markErased): add bool argument and handle it.
592         Also make sure to mark insets recursively.
593         (rejectChange, erase): be recursive
594
595         * paragraph.C (markErased): add bool argument.
596 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
597
598         * lyxfind.C (findNextChange): tiny cleanup.
599
600         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
601         change tracking with the cursor in an inset; make sure the first
602         change is not skipped.
603
604 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
605
606         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
607         tabularStackDirty to work around bug 1919 (tabular needs
608         to know whether its own cell paste buffer or the one of 
609         texted is newer.
610         * CutAndPaste.C: mark tabular_stack_ clean after copy.
611
612 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
613
614         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
615
616 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
617
618         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
619         use old deleteion algorithm when changetracking is on.
620
621 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
622
623         * messages.C (get): add debug output.
624
625 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
626
627         * text.C (cursorX): fix bug 1965: cursor movement at
628         line end broken in RtL.
629         (drawSelection): fix bug 1970: drawing of single-line 
630         selection broken for RtL.
631
632 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
633
634         bug 465.
635
636         * dociterator.h (clear, push_back, pop_back): change from
637         protected to public.
638
639         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
640         and changed to just return the value of the item depth; take a
641         ParIterator as argument; take the itemdepth at outer nesting level
642         in account if necessary; cleanup and comment the code.
643         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
644         and changed to just return true if reset is needed; take a
645         ParIterator as argument; cleanup and comment the code.
646         (setCounter): adapt to above changes.
647
648 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
649
650         * text3.C (dispatch): make debug message optional
651
652 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
653
654         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
655         inset. (bug 1963)
656
657 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
658
659         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
660
661 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
662
663         * text.C (insertChar):
664         * text2.C (deleteEmptyParagraphMechanism): take care whether 
665         a blank has been deleted (in change tracking mode) (bug 1254).
666
667 2005-07-20  John Levon  <levon@movementarian.org>
668
669         * text2.C (insertStringAsLines): remove old dubious code,
670         fixing bug 1939.
671
672 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
673
674         * MenuBackend.C (expandToc): use Floating::listName() as title of
675         the floats submenus.
676
677 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
678
679         * toc.[Ch]: Do not use translatable strings (bug 1870).
680
681 2005-07-20  John Levon  <levon@movementarian.org>
682
683         * tabular.C: fix 1748 - setting multicolumn adds
684           left line to the first cell
685
686 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
687
688         bug 1920
689         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
690         pars in one go.
691
692 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
693
694         * messages.C: supress some lyxerr messages
695
696 2005-07-18  Juergen Vigna  <jug@lyx.org>
697
698         * text.C (drawSelection): honor boundary when asking for cursorX.
699
700 2005-07-17  José Matos  <jamatos@fc.up.pt>
701
702         * tabular.C (recalculateMulticolumns): fix handling of one column
703         tables.
704
705 2005-07-17  Juergen Vigna  <jug@lyx.org>
706
707         * text.C (Delete, backspace): fixed so that paragraph with the
708         same layout can be merged by Delete/Backspace.
709
710 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
711
712         * text.C (readParToken): fix spelling.
713
714 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
715
716         * text2.C: fix counter update for DEPM problem reported by
717         Georg Baum
718
719 2005-07-17  Juergen Vigna  <jug@lyx.org>
720
721         * BufferView_pimpl.C (setBuffer): save/restore the
722         cursor/selection when switching buffers
723
724         * buffer.h: 
725         * buffer.C (saveCursor): add saveDocumentIterators to save the
726         cursor when switching buffer.
727
728 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
729
730         * debug.C: fix typo
731         * buffer.C: clarify message
732         
733 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
734
735         * dociterator.C (DocIterator): fix initialization order
736
737 2005-07-17  Juergen Vigna  <jug@lyx.org>
738
739         * text2.C (cursorHome): 
740         * text.C (drawSelection, cursorX): 
741         * dociterator.C (textRow): add boundary to getRow() call
742
743         * paragraph.C (getRow): implementation of below
744
745         * paragraph.h: add parameter boundary for getRow() function
746
747 2005-07-17  José Matos  <jamatos@fc.up.pt>
748
749         * buffer.C:
750         * bufferparams.[Ch]:
751         * tex-strings.[Ch]: new file format, remove support for a4.sty,
752         a4wide.sty and a4widemargins.
753
754 2005-07-17  Juergen Vigna  <jug@lyx.org>
755
756         * text2.C (cursorLeft): fix one of error
757
758 2005-07-17  Juergen Vigna  <jug@lyx.org>
759
760         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
761                    cursorEnd):
762         more fixes for boundary handling
763
764         * text3.C (dispatch): don't reset cursor if boundary has changed
765         on cursor movement.
766
767 2005-07-16  Juergen Vigna  <jug@lyx.org>
768
769         * text2.C (getColumnNearX): hopefully got it right now,
770         check if we are on column 0 for special case.
771
772 2005-07-16  Juergen Vigna  <jug@lyx.org>
773
774         * text2.C (getColumnNearX): handle special case Newline Inset
775
776         * text.C (singleWidth): Just remove bogus check
777
778 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
779
780         * funcrequest.C (split): avoid reading uninitialized char c
781
782 2005-07-16  José Matos  <jamatos@fc.up.pt>
783
784         * buffer.C:
785         * converter.C:
786         * lyxrc.C:
787         * paper.h:
788         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
789         single papersize variable.
790
791 2005-07-16  Juergen Vigna  <jug@lyx.org>
792
793         * text3.C (dispatch): honor boundary when checking if a cursor
794         movement has been done
795
796         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
797         (setCursor, setCursorIntern): fix cursor movement with boundary
798
799 2005-07-16  Juergen Vigna  <jug@lyx.org>
800
801         * text.C (currentState): output the actual Boundary
802
803 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
804
805         * factory.C (createInset): fix bad logic for tabular creation
806
807 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
808
809         * lyx_main.C (init): change some reLyX reference to tex2lyx
810
811 2005-07-16  Juergen Vigna  <jug@lyx.org>
812
813         * dociterator.C (DocIterator): initialize boundary
814
815 2005-07-16  Juergen Vigna  <jug@lyx.org>
816
817         * text2.C (getColumnNearX): Consider rows without trailing blank.  
818
819 2005-07-16  André Pönitz  <poenitz@gmx.net>
820
821         * lyxfont.h: Change order of declarations to give the compiler
822         a better chance to inline things
823
824         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
825         questions on unsaved docs for better scritability
826
827 2005-07-16  André Pönitz  <poenitz@gmx.net>
828
829         * paragraph.h (getChar): remove asserts as the same kind of security
830         can be achieved by using a suitable standard library implementation
831         and the function was in the critical path (25.9% in profiler)
832
833 2005-07-16  Juergen Vigna  <jug@lyx.org>
834
835         * cursor.C (bruteFind2):
836         * bufferview_funcs.C (coordOffset): 
837         * text.C (cursorX,cursorY): Handle cursor position after last char
838         in row before a inset which uses a whole row.
839
840 2005-07-15  José Matos <jamatos@lyx.org>
841
842         * output_plaintext.[Ch] (writeFileAscii): control reference title
843         printing.
844         (asciiParagraph): noparbreak was already deal and was incorrectly
845         used.
846
847 2005-07-15  Juergen Vigna <jug@lyx.org>
848
849         * lyxfunc.C (dispatch): save and restore the cursor after a
850         textclass switch.
851
852 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
853
854         * text.C (backspace): bug 806 for empty keepempty paragraphs we
855         change the layout to default before letting DEPM do its thing.
856
857         * paragraph_funcs.C (breakParagraph): dont reset the layout on
858         keepEmpty paragraphs
859
860         * text.C (setCursorFromCoordinates): add a debug statement
861
862         * text2.C (getColumnNearX): bug 1825 make sure that we don't
863         return a pos that is not on the row
864
865         * output_latex.C (TeXDeeper): get rid of potential dereferencing
866         of past the end iterator
867
868 2005-07-14  André Pönitz  <poenitz@gmx.net>
869
870         * undo.C (recordUndoFullBuffer): implement undo for
871         textclass switches
872
873 2005-07-14  André Pönitz  <poenitz@gmx.net>
874
875         * cursor.C (setSelection): open insets when selection is set there
876         to avoid crashs with cold coord cache
877
878 2005-07-14  André Pönitz  <poenitz@gmx.net>
879
880         * trans_mgr.C (insert): move cursor to the right after inserting
881         a char.
882
883 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
884
885         * BufferView_pimpl.C (update): dampen some of the debug blabbering
886         * factory.C (readInset): ditto
887         * text.C, text2.C: ditto
888
889 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
890
891         * buffer.C: format incremented to 242. There is no file format per
892         se, but the "frenchb" language has been removed from lib/language
893         and has to be translated to "french" by lyx2lyx.
894
895 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
896
897         * cursor_slice.h, dociterator.h: add some documentation
898         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
899
900 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
901
902         * text.C (leftMargin): do not add identation to display() style
903         insets, because they are always centered (bug 1293).
904
905 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
906
907         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
908         formatted_time methods in support/lyxtime.
909
910 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
911
912         * toc.[Ch]: new method getGuiName, which is used by the frontends 
913         to set the toc combo (fixes bug 1870). Make TOC string translatable.
914
915 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
916
917         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
918         StableDocIterator const &)
919         * undo.C (recordUndo): use the above instead of cell.size() comparison
920         (fixes bug 1808; instructed by Andr�.
921
922 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
923
924         * cursor_slice.h: 
925         * dociterator.h: Fix the assert when copying rows/cols in math
926
927 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
928
929         * BufferView_pimpl.C:
930         * LyXAction.C:
931         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
932
933         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
934         (findInset): new functions, refactored from goto Inset that return 
935         the position of a certain inset without setting the buffer's cursor
936         (by Jean-Marc); 
937         (gotoInset): rewrite to call findInset and then set the cursor
938         (by Jean-Marc).
939
940 2005-06-16  Angus Leeming  <leeming@lyx.org>
941
942         * lyxrc.C (output, read): wrap all input and output of paths with
943         calls to os::internal_path and os::external_path, respectively.
944         (output): wrap bind_file inside quotes.
945
946         * format.C (view): enable the viewer to use the '$$s' placeholder.
947
948 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
949
950         * LColor.[Ch] (getFromLaTeXName): new
951
952 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
953
954         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
955
956 2005-06-14  Angus Leeming  <leeming@lyx.org>
957
958         * lyx_main.C (init): ensure that the LyX binary dir is the first
959         element in the PATH on non-POSIX builds.
960
961 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
962
963         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
964
965 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
966
967         * rowpainter.C (paintInset, paintHebrewComposeChar)
968         (paintArabicComposeChar, paintChars): add a LyXFont argument.
969         (paintChars): use getFontSpan to reduce calls to getFont to a
970         minimum; use Paragraph::lookupChange instead of isXXXText.
971         (paintForeignMark): rename LyXFont argument.
972         (paintFromPos): pass a LyXFont object to the various paintXXX
973         methods.
974
975         * FontIterator.C (FontIterator, operator++): use
976         Paragraph::getFontSpan
977
978         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
979         version that returns the font span as a pair.
980
981 2005-06-09  Angus Leeming  <leeming@lyx.org>
982
983         * converter.C (convert): Don't forget "outfile = real_outfile" as
984         the final step in a conversion where the input and output file names
985         are the same. Otherwise, future conversion steps won't work...
986
987 2005-06-09  Angus Leeming  <leeming@lyx.org>
988
989         * lyxsocket.C: remove stub code as it isn't needed by
990         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
991
992 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
993
994         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
995         effectively disabled -x
996
997 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
998
999         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1000         when it actually makes sense.
1001
1002 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1003
1004         * BufferView_pimpl.C: revert to showCursor in connection with
1005         Lars's front-end stack
1006
1007 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1008
1009         * text.C (redoParagraph): move cursor right after a bibitem
1010         has been inserted.
1011
1012         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1013
1014 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1015
1016         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1017         error range.
1018
1019 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1020
1021         * BufferView.[Ch] (update):
1022         * BufferView_pimpl.[Ch] (update, metrics):
1023         * dimension.h (operator==):
1024         * lyxfunc.C (dispatch):
1025         * metricsinfo.h (ViewMetricsInfo):
1026         * rowpainter.C (paintText):
1027         * lyxtext.h:
1028         * text.C (redoParagraph):
1029         * text3.C (dispatch): Make LyX only repaint current paragraph in
1030         case of character insert --> speedup. Also fix cursor draw
1031         artifacts
1032
1033 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1034
1035         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1036         avoid a crash (bug 1891)
1037
1038 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1039
1040         Fix bug 1892:
1041
1042         * text2.C (getStringToIndex): constify cur argument.
1043
1044         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1045         argument has been given
1046         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1047         try to invoke LFUN_INSET_APPLY).
1048
1049         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1050         if no inset was created by doInsertInset
1051         (doInsertInset): return true if an inset has been inserted.
1052
1053 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1054
1055         * vspace.C (asGUIName): new method. A version of the space
1056         suitable for showing on screen.
1057
1058 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1059
1060         * MenuBackend.C:
1061         * lyxrc.C: rename "ASCII" to "Plain Text"
1062
1063 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1064
1065         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1066         translate the labelstring.
1067         (setCounter): translate labelstring as needed.
1068
1069         * output_docbook.C (makeCommand): fix expandLabel invokation
1070
1071 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1072
1073         * BufferView.C: fix dialog title
1074
1075 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1076
1077         * lyx_main.C (priv_exec): fix logic error with help from Angus
1078         * lyx_main.C (parse_execute): set is_gui = false and remove now
1079         obsolete comment about a segfault
1080
1081 2005-05-18  Angus Leeming  <leeming@lyx.org>
1082
1083         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1084
1085 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1086
1087         * tabular.[hC]: added setCellInset to fix tabular paste.
1088
1089 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1090
1091         * buffer.C (save): check if destination is writable before trying
1092         to copy a file
1093
1094 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1095
1096         * BufferView_pimpl.C (update): fix processEvents -caused update
1097         recursion bug
1098
1099 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1100
1101         * buffer_funcs.C (setCounter): fix test for numbering of
1102         environments.
1103
1104         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1105         depth correctly; use optional argument when it exists
1106
1107         * lyxtextclass.C: remove unused MaxCounterTags enum
1108         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1109         (max_toclevel, min_toclevel): new methods.
1110
1111         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1112         the smallest depth in toc.
1113
1114         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1115         layouts that should not appear in a table of contents.
1116
1117 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1118
1119         * cursor.h (undispatched, noUpdate): add comments from Andr�
1120 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1121
1122         * lfuns.h:
1123         * LyXAction.C:
1124         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1125
1126 2005-05-07  André Pönitz  <poenitz@gmx.net>
1127
1128         * cursor.[Ch] (leaveInset): new function
1129
1130 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1131
1132         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1133
1134 2005-05-04  Angus Leeming  <leeming@lyx.org>
1135
1136         * lyxfunc.C (getStatus): disable the spell checker dialog if
1137         none of USE_[AIP]SPELL are defined.
1138
1139 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1140
1141         * tabular.C (setWidthOfCell): remove obsolete comment
1142
1143 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1144
1145         * paragraph.C (bibitem):
1146         * buffer_funcs.C (setCounter):
1147         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1148
1149 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1150
1151         * text3.C (getStatus): immediately return after setOnOff
1152
1153         * rowpainter.C: fix drawing of appendix start
1154
1155 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1156
1157         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1158         SwitchBetweenClasses and remove the unused return value.
1159         Handle character styles, too
1160
1161 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1162
1163         * factory.C (createInset): handle undefined character styles
1164
1165 2005-05-02  Angus Leeming  <leeming@lyx.org>
1166
1167         * buffer.C: protect the #include of utime.h with a preprocessor
1168         guard.
1169
1170 2005-05-02  Angus Leeming  <leeming@lyx.org>
1171
1172         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1173         function so that auto-saving works, albeit in a blocking manner.
1174
1175         * Makefile.am: make compilation of the client sub directory, of
1176         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1177         on conditionals set at configure time.
1178
1179         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1180         it can be compiled in its own right but has no-op functionality.
1181
1182         * aspell.C, pspell.C: remove preprocessor guards. The files should
1183         be compiled only if the necessary functionality exists.
1184
1185         * lyxserver.C, lyxsocket.C: disable on Windows.
1186
1187 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1188
1189         * text.C (leftMargin): Fix the parindent use bug (1764)
1190         by dirty trick
1191
1192 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1193
1194         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1195         argument.
1196
1197 2005-04-25  Angus Leeming  <leeming@lyx.org>
1198
1199         * Bidi.[Ch]:
1200         * coordcache.[Ch]:
1201         * ispell.C:
1202         * lyxserver.C:
1203         * mover.C:
1204         * pch.h:
1205         include <config.h> in .C files, not .h ones.
1206         add licence blurb.
1207         protect headers inside preprocessor guards.
1208
1209 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1210
1211         * FuncStatus.h (StatusCodes): document
1212
1213 2005-04-21  André Pönitz  <poenitz@gmx.net>
1214
1215         * FuncStatus.h (enabled, onoff): document
1216
1217 2005-04-19  Angus Leeming  <leeming@lyx.org>
1218
1219         * BufferView_pimpl.C (cursorToggle): no longer test whether
1220         any child processes have been reaped before calling
1221         handleCompletedProcesses().
1222
1223 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1224
1225         * text3.C (dispatch): fix, finally fix, the language problem in
1226         new lyxtexts, without disabling on-the-fly font changes (Helge's
1227         bug report)
1228
1229 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1230
1231         * text3.C (dispatch): set cursor on double/triple click events
1232         (bug 1811)
1233
1234 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1235
1236         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1237         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1238
1239         * rowpainter.C (paintFirst): simplify the code a little bit. In
1240         particular, remove the test for secnumdepth.
1241         * text.C (setHeightOfRow): only allocate space for chapter number
1242         when updateCounters provided an actual label, instead of looking
1243         at secnumdepth directly.
1244
1245         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1246
1247         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1248         paragraphs when secnumdepth is large enough or, for environments,
1249         when they are not the first in a sequence.
1250
1251 2005-04-17  Angus Leeming  <leeming@lyx.org>
1252
1253         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1254         containing space and '~' characters with a call to latex_path().
1255
1256 2005-04-17  Angus Leeming  <leeming@lyx.org>
1257
1258         * converter.C (convert): protect all args of convertDefault.sh
1259         script with quotes.
1260
1261 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1262
1263         * text3.C (dispatch): change the layout to "Caption" after inserting
1264         a float.
1265
1266 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1267
1268         * text3.C (dispatch): fix language problem in newly created
1269         textinsets (and main text) in non-english docs
1270
1271 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1272
1273         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1274         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1275         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1276
1277 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1278
1279         * lyxtext.h:
1280         * text.C (metrics):
1281         * text2.C (getFont):
1282         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1283         fonts fix
1284
1285 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1286
1287         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1288         output of \item arguments without trailing text.
1289
1290 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1291
1292         * FontIterator.C (operator*): avoid a copy of the font.
1293
1294 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1295
1296         * rowpainter.C (getFont): fix language bug from previous fix
1297
1298 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1299
1300         * rowpainter.C (RowPainter, getFont): fix font inside inset
1301         (bugs 1766, 1809)
1302
1303 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1304
1305         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1306         preventing inserted font, deco, delim insets jumping to start of
1307         surrounding inset.
1308
1309 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1310
1311         * lyxfunc.C (dispatch): translate message before sending it to the
1312         minibuffer.
1313
1314 2005-03-29  Angus Leeming  <leeming@lyx.org>
1315
1316         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1317         to LyX on the command line.
1318
1319 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1320
1321         * vc-backend.C: use QuoteName to protect file names wherever
1322         necessary.
1323
1324 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1325
1326         * buffer.[Ch]:
1327         * BranchList.h: fix bugs 1844,1845: document settings don't
1328         stick
1329
1330 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1331
1332         * lyxrc.C (setDefaults, read, output, getDescription): add support
1333         for tex_allows_spaces.
1334
1335         * exporter.C (Export): allows files in directory containing spaces
1336         if tex_allows_spaces is true.
1337
1338         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1339         output it in double quotes.
1340
1341 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1342
1343         * rowpainter.C: use default text height for drawing change tracker
1344         strikeout lines.
1345
1346 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1347
1348         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1349
1350 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1351
1352         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1353         directory is missing.
1354
1355 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1356
1357         * text2.C: fixed the fix, extended to other case.
1358
1359 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1360
1361         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1362
1363 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1364
1365         * text2.C (cursorUp): get rid of a crash
1366         * text.C (x2pos): add an assert
1367
1368 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1369
1370         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1371
1372         * text3.C:
1373         * lyxfunc.C:
1374         * dociterator.C: include <boost/current_function.hpp>, which is
1375         needed when assertions are disabled.
1376
1377 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1378
1379         * text2.C: fix for stuck cursor when traversing two
1380         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1381
1382 2005-02-25  Andreas Vox  <avox@arcor.de>
1383
1384         * output_docbook.C (makeParagraph): suppress trailing newline
1385         after a run of paragraphs
1386
1387 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1388
1389         * paragraph.C: fix for confused change tracker when pasting
1390         text that begins with a lineseparator. [bug 1827]
1391         (setChange(0, Change::INSERTED);)
1392
1393         * paragraph_funcs.C: fix for lost changes on triple-paste
1394         in change tracking mode [bug 1827] (par.setChange()).
1395
1396 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1397
1398         * text2.C (updateCounters, setCounter, expandLabel): move to
1399         buffer_funcs.
1400
1401         * buffer_funcs.C (updateCounters): turn into a free standing
1402         function and add a buffer parameter. Remove dead code for tracking
1403         labelstring change.
1404         (setCounter): change into a free-standing function which gets a
1405         dociterator as argument. Use this iterator to fix captions in a
1406         simple way. When no float is found above the caption, use the
1407         labelstring of the caption layout as default.
1408
1409         * text.C (breakParagraph, backspace):
1410         * text2.C (init, setLayout, changeDepth):
1411         * text3.C (dispatch):
1412         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1413         updateCounters.
1414
1415         * dociterator.C (forwardPar): make it much faster by calling
1416         forwardPos() only when really necessary.
1417
1418         * output_docbook.C (makeCommand): adapt to expandLabel move.
1419
1420         * cursor.C: remove unused variable
1421
1422 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1423
1424         * paragraph_funcs.C: fix crash when pasting insets in change
1425         tracking mode [bug 1277] (honour change type in moveItem).
1426
1427 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1428
1429         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1430
1431 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1432
1433         * BufferView.C (setCursor): change to use a DocIterator.
1434         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1435         (putSelectionAt): adapt to BufferView::setCursor change.
1436
1437         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1438         moved here from LyXText and rewritten to use proper cursor
1439         methods. Fixes bug 1787, 616 and 835.
1440
1441         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1442         when inside an inset (part of bug 781).
1443         (dispatch): adapt to change of BufferView::setCursor.
1444         (getStatus, dispatch): handle LFUN_GOTOERROR,
1445         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1446
1447         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1448         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1449         * text3.C (gotoNextInset, gotoInset): removed.
1450
1451 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1452
1453         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1454
1455 2005-02-15  Angus Leeming  <leeming@lyx.org>
1456
1457         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1458         can be used meaningfully in a comparison.
1459
1460 2005-02-13  André Pönitz  <poenitz@gmx.net>
1461
1462         * bufferview_funcs.C (coordOffset): improve cursor drawing
1463
1464 2005-02-13  André Pönitz  <poenitz@gmx.net>
1465
1466         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1467         * Cursor.C (dispatch): use fixIfBroken
1468         * lyxfunc.C (getStatus): use fixIfBroken
1469
1470 2005-02-15  Angus Leeming  <leeming@lyx.org>
1471
1472         * lyx_main.C (error_handler):
1473         * lyxfunc.C:
1474         * lyxrc.C (setDefaults):
1475         s/GetEnv/getEnv/.
1476         #include "environment.h".
1477
1478         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1479
1480 2005-02-15  Angus Leeming  <leeming@lyx.org>
1481
1482         * lyxserver.C (startPipe): squash MSVC warning "local variable
1483         'fd' used without having been initialized".
1484
1485 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1486
1487         * BufferView_pimpl.C: revert accidental commit.
1488
1489 2005-02-14  André Pönitz  <poenitz@gmx.net>
1490
1491         * dociterator.[Ch]: new member forwardPosNoDescent(),
1492         which doesn't enter nested insets.
1493         * text2.C (setFont): use forwardPosNoDescent() instead
1494         of ForwardPos() (fixes crash on font change).
1495
1496 2005-02-13  Angus Leeming  <leeming@lyx.org>
1497
1498         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1499         only if lyxrc.path_prefix is not empty.
1500
1501 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1502
1503         * bufferparams.C (readGraphicsDriver): prevent crash
1504
1505 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1506
1507         * text2.C (setCounter): check for inInset() == 0
1508
1509 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1510
1511         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1512         but use update() to get correct screen display; use convert
1513         instead of istringstream.
1514         (getStatus): handle LFUN_GOTO_PARAGRAPH
1515
1516         * lyxfunc.C (dispatch, getStatus): do not handle
1517         LFUN_GOTO_PARAGRAPH here.
1518
1519 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1520
1521         * text3.C (dispatch): size() -> depth()
1522
1523         * text2.C: remove some debug output
1524
1525         * paragraph.C: ws changes only
1526
1527         * lyxfunc.C (getStatus): size() -> depth()
1528
1529         * dociterator.h (clear, push_back, pop_back, internalData,
1530         operator[], resize, empty): new functions
1531         Make StableDocIterator and operator== be friends. Don't inherit
1532         from std::vector use a privat class variable slices_ instead.
1533         Modify to fit.
1534
1535         * dociterator.C: update because of not inheriting from std::vector
1536         anymore. Call explictly to slices_ instead. Use depth() instead of
1537         size() and top() instead of back()
1538
1539         * cursor.C: chagne size() -> depth and back() -> top(). Also
1540         remove some direct operator[](i) calls in favour of foo[i]
1541         (getFont): remove some dead code
1542
1543         * bufferview_funcs.C (coordOffset): size() -> depth()
1544
1545         * buffer.C: ws changes only
1546
1547         * CutAndPaste.C (eraseSelection): back() -> top()
1548
1549         * BufferView_pimpl.C (selectionRequested): back() -> top()
1550
1551         * BufferView.C (setCursor): size() -> depth()
1552
1553 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1554
1555         * text3.C (cursorPrevious): return true if depm changed something
1556         (cursorNext): ditto
1557         (dispatch): rename sl to oldTopSlice, remove moving use the new
1558         NoUpdate func attrib instead. Make sure that needsUpdate is set
1559         for function that have NoUpdate, but where depm might have changed
1560         the buffer anyway.
1561
1562         * text2.C (cursorLeft): make us return true if depm changed
1563         something
1564         (cursorRight): ditto
1565         (cursorUpParagraph): ditto
1566         (curosrDownParagraph): ditto
1567         (cursorUp, cursorDown): ditto, make sure to read comments in code
1568         (deleteEmptyParagraphMechanism): remove an assert, also return
1569         true if just a single char was deleted.
1570
1571         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1572         cursor that we modify, to avoid modifying an active cursor before
1573         we call setCursor. This allows depm to run. Also return true if
1574         depm deleted something.
1575
1576         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1577         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1578         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1579         something was changed in the buffer because of them (ie. depm run)
1580
1581         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1582         debug messages. Make update by default be false. Make sure that
1583         the result of update is retained throught several calls down to
1584         dispatch.
1585
1586         * LyXAction.h: add a new func_attrib: NoUpdate
1587
1588         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1589         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1590         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1591         and LFUN_WORDLEFT
1592         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1593
1594 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1595
1596         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1597         bv_->owner(), bv_->buffer() by direct references to the private
1598         members.
1599         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1600         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1601         (fitCursor): center() is in BufferView::Pimpl.
1602         (getStatus, trackChanges, dispatch): no need for a temporary buf
1603         variable
1604         (fitCursor, workAreaDispatch): use workarea().workheight()
1605
1606 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1607
1608         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1609
1610 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1611
1612         * buffer.C: format up to 241.
1613         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1614         break if pasting into ERT
1615         * lyxfunc.C (getStatus): suppress mathpanel and
1616         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1617
1618 2005-02-01  Angus Leeming  <leeming@lyx.org>
1619
1620         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1621
1622 2005-02-01  Angus Leeming  <leeming@lyx.org>
1623
1624         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1625         calling fs::is_directory().
1626
1627 2005-01-31  Angus Leeming  <leeming@lyx.org>
1628
1629         * lyx_main.C (priv_exec): specify explicitly the relative location
1630         of the top level build directory when run in-place.
1631
1632 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1633
1634         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1635         LyXText containing the cursor, not the top-level one.
1636
1637         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1638         true.
1639         (insertStringAsLines): rename par to pit; use temporary variable
1640         par to hold a Paragraph; do not store par.layout() in a variable,
1641         since the pointer may die when breaking paragraphs; pass pars to
1642         breakParagraph() instead of Buffer::paragraphs().
1643
1644 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1645
1646         * lyxlex_pimpl.h: #include <fstream>.
1647
1648         * BufferView.[Ch] (getLyXText): add a const version.
1649
1650         * BufferView_pimpl.C: add debug aids.
1651
1652         * RowList_fwd.h:
1653         * buffer.h:
1654         * lyxrow.h:
1655         * paragraph_funcs.h: add commentary explaining what the class does.
1656
1657
1658         * coordcache.[Ch]: add lots of commentary.
1659         (startUpdating, doneUpdating): debug aids.
1660         (arrays, insets, parPos, getParPos): accessors to private data.
1661
1662         * cursor_slice.[Ch] (text): add a const version.
1663         * dociterator.[Ch] (text, innerText): add const versions.
1664
1665         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1666         bool.
1667
1668         * paragraph.C (getRow, pos2ros): add asserts.
1669
1670         * paragraph.h: add commentary. Lots of.
1671
1672         * paragraph.[Ch] (metrucs, draw): removed.
1673
1674         * cursor.C:
1675         * rowpainter.[Ch]: const-correct changes.
1676
1677         * text.C: various obvious clean-ups. Removal of ancient cruft.
1678         Bug fixes, even.
1679
1680 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1681
1682         * vc-backend.C (find_file): rewrite to use boost.filesystem
1683         (scanMaster): ditto
1684
1685         * main.C (main): set default name check for boost.filesystem to
1686         no check
1687
1688         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1689         (open): ditto
1690         (doImport): ditto
1691         (actOnUpdatedPrefs): ditto
1692
1693         * lyx_main.C (init): rewrite to use boost.filesystem
1694         (queryUserLyXDir): ditto
1695
1696         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1697         (getContentsOfAsciiFile): ditto
1698
1699         * lastfiles.C (readFile): rewrite to use boost.filesystem
1700
1701         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1702
1703         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1704         (loadLyXFile): ditto
1705
1706         * buffer.C (Buffer): adjust for destroydir
1707         (getLogName): rewrite to use boost.filesystem
1708         (setFileName): ditto
1709         (save): use fs::copy_file (from fs_extras)
1710
1711         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1712
1713         * LaTeX.C (run): rewrite to use boost.filesystem
1714         (scanAuxFiles): ditto
1715         (handleFoundFile): ditto
1716
1717 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1718
1719         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1720
1721         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1722
1723 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1724
1725         * lyxlayout.[Ch]: change some vars from float to double
1726
1727         * buffer.C (readFile): make a local var const
1728
1729         * Several files: use convert<> instead of atoi,strToXXX and friends
1730
1731 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1732
1733         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1734         holds the contents of packages.lst. New functions getAvailable
1735         and isAvailable to parse and check that list, resp.
1736
1737         * LyXAction.C:
1738         * lfuns.h:
1739         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1740
1741         * bufferparams.[Ch]: new param output_changes.
1742
1743         * Buffer.C: increase file format to 240.
1744         Use output_changes and isVailable.
1745
1746         * changes.[Ch]:
1747         * paragraph.C:
1748         * paragraph_pimpl.C: Use output_changes and isVailable.
1749
1750 2005-01-23  Angus Leeming  <leeming@lyx.org>
1751
1752         * output_latex.C: #include "insetbibitem.h", rather than
1753         forward declare function bibitemWidest.
1754
1755 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1756
1757         * lyx_main.C (init): make it compile on the Mac.
1758
1759 2005-01-20  Angus Leeming  <leeming@lyx.org>
1760
1761         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1762         (setLyXMisc): (char string literal) != (char string literal) is
1763         performing a comparison on the addresses. Convert one operand
1764         explicitly to string to guarantee expected behaviour.
1765         From MSVC warning.
1766
1767 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1768
1769         * buffer.C:
1770         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1771
1772         * output_plaintext.C: remove unneeded #include gzstream.h.
1773
1774 2005-01-20  Angus Leeming  <leeming@lyx.org>
1775
1776         * SpellBase.h: rename some of the elements of the Result enum.
1777
1778         * aspell_local.h:
1779         * ispell.h:
1780         * pspell.h:
1781         * aspell.C (check):
1782         * ispell.C (check):
1783         * pspell.C (check): ditto
1784
1785 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1786
1787         * buffer.C: add #include <fstream>.
1788
1789         * lyx_main.C (init): Compile fix.
1790
1791         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1792
1793 2005-01-20  Angus Leeming  <leeming@lyx.org>
1794
1795         * mover.h: change commentary to reflect the changed meaning of
1796         the $$s placeholder.
1797
1798 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1799
1800         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1801
1802         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1803
1804 2005-01-20  Angus Leeming  <leeming@lyx.org>
1805
1806         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1807         printing diagnostic data by not dereferecing an iterator past the
1808         end.
1809
1810 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1811
1812         * buffer.C (readHeader): use "&&" rather than "and".
1813
1814         * lyxserver.h (inPipeName, outPipeName): make these const.
1815
1816 2005-01-19  Angus Leeming  <leeming@lyx.org>
1817
1818         * lyx_main.C (error_handler, init): protect SIGHUP with
1819         #ifdef SIGHUP guards.
1820
1821 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1822
1823         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1824
1825 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1826
1827         * text.C (setHeightOfRow): add a margin at the top and bottom of
1828         the document (bug 1761)
1829
1830 2005-01-17  Angus Leeming  <leeming@lyx.org>
1831
1832         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1833         with "python ". Workaround for a brain-dead Windows.
1834
1835 2005-01-16  Angus Leeming  <leeming@lyx.org>
1836
1837         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1838         for MacOSX and Windows to use prependEnvPath.
1839         Strip out the hard-coded block to add elements to the PATH for
1840         MacOSX and replace it with a call to prependEnvPath using the
1841         contents of LyXRC::path_prefix.
1842         (queryUserLyXDir): strip out the code to run reconfigure, instead
1843         returning a boolean indicating the necessity to do so.
1844         (reconfigureUserLyXDir): contains the code to reconfigure the
1845         user support directory. Is now called after the various LyXRC data
1846         files have been read.
1847
1848         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1849
1850 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1851
1852         * converter.[Ch] (convert): take a new parameter try_default. Use
1853         a default converter (imagemagick) if try_default is true.
1854
1855 2005-01-13  Angus Leeming  <leeming@lyx.org>
1856
1857         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1858         os::cygwin_path_fix.
1859         (write): output LyXRC::cygwin_path_fix as necessary.
1860
1861 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1862
1863         * lyxrc.h:
1864         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1865
1866 2005-01-12  Angus Leeming  <leeming@lyx.org>
1867
1868         * lyx_main.C (init): set the PATH variable to include the
1869         directory containing the LyX binary when running on Mac or Windows.
1870
1871 2005-01-12  Angus Leeming  <leeming@lyx.org>
1872
1873         * lyx_main.C (init): remove cruft that purports to set the locale
1874         dir. It doesn't and is not needed anyway.
1875
1876 2005-01-10  Angus Leeming  <leeming@lyx.org>
1877
1878         * Makefile.am: remove the lyx_main.C special casing.
1879
1880         * BufferView_pimpl.C:
1881         * bufferlist.C:
1882         * exporter.C:
1883         * lyx_cb.C:
1884         * lyx_main.C:
1885         * lyxfunc.C:
1886         * messages.C: use support/package.h to provide the paths to the
1887         various directories used by LyX.
1888
1889 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1890
1891         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1892         layout if pasting into an empty paragraph)
1893
1894 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1895
1896         * tex-accent.C: add <string>
1897
1898 2005-01-06  José Matos  <jamatos@lyx.org>
1899
1900         * ParagraphParameters.C (write): put every parameter in its own line.
1901         * paragraph.C (write): reduce number of consecutive empty lines exported.
1902         * buffer.C (LYX_FORMAT): increase file format to 239.
1903
1904 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1905
1906         * everywhere: change support/tostr.h -> support/convert.h
1907
1908         * tabular.C: make all write_attributes templates, tostr -> convert
1909
1910         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1911         (emptyTag): and -> &&, and fix type for ret from getChar
1912         (getFirstWord): fix type for ret from getChar
1913         (onlyText): and -> &&
1914         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1915         getChar
1916
1917         * toc.C (goTo, action):
1918         * text3.C (dispatch):
1919         * text.C (currentState):
1920         * tex-accent.C (DoAccent):
1921         * sgml.C:
1922         * lyxrc.C:
1923         * lyxfunc.C (menuNew):
1924         * lyxfinc.C (replace):
1925         * counters.C (laberItem):
1926         * bufferview_funcs.C (font2string):
1927         * bufferparams.C (writeFile):
1928         * buffer.C (readFile):
1929         * Spacing.C (set):
1930         * MenuBackend.C: tostr -> convert
1931
1932         * LaTeX.C (runMessage): fix format
1933         (scanAuxFiles): tostr -> convert
1934
1935         * BufferView_pimpl.C (savePosition): fix format
1936         (restorePosition): ditto
1937         (dispatch): ditto
1938
1939 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1940
1941         * Spacing.[Ch]: New method getValueAsString().
1942
1943         * Spacing.[Ch]:
1944         * bufferparams.C:
1945         * ParagraphParameters.C:
1946         * lyxlayout.C:
1947         * text.C:
1948         * text3.C: store/read spacing value as string.
1949
1950         * rowpainter.C: change float value (spacing_val) to double.
1951
1952         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1953         broken custom document spacing).
1954
1955 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1956
1957         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1958         namespace, also more use of temp references and const
1959
1960         * cursor.[Ch] (getStatus): move to lyxfunc.C
1961
1962         * bufferparams.C: reformat slightly
1963
1964         * bufferview_funcs.C (font2string): constify arg
1965
1966         * changes.C:
1967         * converter.C:
1968         * counters.C:
1969         * bufferlist.C:
1970         * buffer_funcs.C: (many funcs): constify arg on function
1971         definitions, also make more local vars const, also add ASSERTS on
1972         pointer args.
1973
1974         * buffer.C (LYX_FORMAT): put const in correct place
1975         (many funcs): constify arg on function definitions, also make
1976         more local vars const
1977
1978         * aspell_local.h: remove "struct" from typdef setup
1979
1980         * aspell.C (check): make word_ok const
1981         (nextMiss): simplify slightly
1982         (error): ditto
1983
1984 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1985
1986         * lyxrc.[Ch]: store all float values as strings.
1987         use int (not float) for lyxrc.dpi.
1988
1989 2005-01-04  Angus Leeming  <leeming@lyx.org>
1990
1991         * lyx_cb.C (Reconfigure):
1992         * lyx_main.C (queryUserLyXDir):
1993         to run the <system_lyxdir>/configure correctly on Windows, prefix
1994         the path to the script with "sh " when generating the string that
1995         is passed to system().
1996
1997 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1998
1999         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2000
2001 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2002
2003         * lyxlength.C (asLatexString): get rid of setprecision
2004
2005 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2006
2007         * text2.C (setLayout): remove unused variable endpit.
2008         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2009
2010         * paragraph.C (onlyText): remove unused variable style.
2011
2012         * cursor.C (bruteFind): remove unused variables beg and end.
2013
2014         * Makefile.am (dist_noinset_DATA): not needed anymore
2015
2016         * cheaders/*: remove.
2017
2018 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2019
2020         * text3.C: fix LFUN_MATH_MODE.
2021
2022 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2023
2024         * buffer_funcs.C (countWords): new function. Counts words between
2025         two iterators.
2026
2027         * BufferView_pimpl.C (getStatus, dispatch): handle
2028         LFUN_WORDS_COUNT.
2029
2030         * LyXAction.C (init):
2031         * lfuns.h: add LFUN_WORDS_COUNT.
2032
2033 2004-12-19  Angus Leeming  <leeming@lyx.org>
2034
2035         * buffer.C (save): s/slashify_path/internal_path/.
2036
2037 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2038
2039         * lyxfind.C (findChange): do not search for end of pars, because
2040         the change tracker cannot handle this (fixes bug 1719).
2041
2042 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2043
2044         * paragraph.[Ch] (autoBreakRows): remove
2045
2046         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2047
2048         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2049         avoid using the paragraph one
2050
2051         * text2.C (LyXText, insertStringAsLines): adjust
2052
2053 2004-12-16  Angus Leeming  <leeming@lyx.org>
2054
2055         * bufferlist.C:
2056         * lyx_main.C:
2057         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2058
2059 2004-12-14  Angus Leeming  <leeming@lyx.org>
2060
2061         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2062
2063         * bufferlist.C (emergencyWrite):
2064         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2065         GetEnvPath("HOME").
2066
2067 2004-12-14  Angus Leeming  <leeming@lyx.org>
2068
2069         * main.C: (main): no longer pass pointers to os::init.
2070
2071 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2072
2073         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2074         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2075
2076 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2077
2078         * lyxfunc.C:
2079         * text3.C: remove selection_possible global flag
2080
2081 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2082
2083         * text2.C (getSelectionSpan): remove
2084         (changeDepth, changeDepthAllowed): adjust
2085
2086 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2087
2088         * Makefile.am (BOOST_LIBS): use boost variables
2089
2090 2004-12-03  José Matos  <jamatos@lyx.org>
2091
2092         * buffer.C: format up to 238.
2093
2094 2004-12-03  José Matos  <jamatos@lyx.org>
2095
2096         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2097
2098 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2099
2100         * cursor.C (goUpDown): remove call to idxUpDown2
2101
2102 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2103
2104         * tabular.[Ch]: use size_t-like types for cell, row and column
2105         indices
2106
2107 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2108
2109         * lyxfunc.C (getStatus): do not lose previous information when
2110         calling BufferView::getStatus; do not set a default "Command
2111         disabled" message at the beginning, but just before returning.
2112
2113 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2114
2115         * cursor.h (getStatus): add better comment from src/cursor.C
2116
2117 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2118
2119         * text3.C (getStatus): return false when the lfun is not handled
2120
2121 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2122
2123         * broken_headers.h: remove
2124
2125         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2126
2127 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2128
2129         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2130         offset_ref accessors
2131
2132         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2133         top_y_, merge fitcursor with update
2134         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2135         coord scheme
2136         (metrics): introduce
2137         (workAreaDispatch): adapt to new coord scheme
2138         (redoCurrentBuffer): remove
2139
2140         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2141
2142         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2143         CurStatus enum.
2144
2145         * coordcache.[Ch]: add paragraph cache and helpers
2146
2147         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2148         adjust everywhere
2149
2150         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2151         (targetX, setTargetX): introduce
2152
2153         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2154         baseline -> ascent, as the rest of lyx
2155
2156         * lyxtext.h: remove redoParagraphs, updateParPositions,
2157         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2158         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2159         have ascent/descent (ascent is ascent of first par)
2160
2161         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2162         step of BufferView
2163
2164         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2165
2166         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2167
2168         * pariterator.C: fix infinite loop introduced in par->pit renaming
2169
2170         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2171         in insets and LyXText, draw two off-screen paragraphs using
2172         NullPainter, and adapt to new coord scheme
2173
2174         * text.C:
2175         * text2.C:
2176         * text3.C: adapt lfun handlers to the new coord scheme, which
2177         means: there's only guaranteed coord information for onscreen pars
2178         plus one above and one below. This implies that one can do search
2179         from y coordinates in the range [-1,workHeight]
2180
2181 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2182
2183         * rename a lot of InsetOld to InsetBase
2184
2185 2004-11-25  Angus Leeming  <leeming@lyx.org>
2186
2187         * BufferView_pimpl.C:
2188         * lyx_cb.C:
2189         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2190
2191 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2192
2193         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2194         call BufferView::getStatus if LCursor::getStatus did nothing
2195         (setStatusMessage, getStatusMessage): removed.
2196
2197         * FuncStatus.C (message): new methods. Used to provide an error
2198         message indicating why a command is disabled.
2199         (clear, |=, FuncStatus): update for message.
2200
2201 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2202
2203         * lyxfunc.C (dispatch): always call sendDispatchMessage
2204
2205 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2206
2207         * BufferView.C:
2208         * BufferView_pimpl.C:
2209         * CutAndPaste.C:
2210         * FontIterator.C:
2211         * buffer.C:
2212         * cursor.C:
2213         * cursor_slice.[Ch]:
2214         * dociterator.[Ch]:
2215         * lyxfind.C:
2216         * paragraph_funcs.C:
2217         * pariterator.C:
2218         * rowpainter.C:
2219         * text.C:
2220         * text2.C:
2221         * text3.C:
2222         * undo.C: par->pit renaming
2223
2224 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2225
2226         * tabular.C (cellstruct): use initialization, store a shared_ptr
2227         to insettext instead of the insettext directly, adjust to fit.
2228         (operator=):  new function
2229         (swap): new function
2230         (rowstruct): use initialization
2231         (columnstruct): use initialization
2232         (ltType): use initialization
2233
2234
2235         * lyxlength.h (swap): new function
2236
2237         * LColor.[Ch] (operator=): use the common semantics
2238
2239 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2240
2241         * lyxfind.C (findNextChange): update the bufferview after setting
2242         the selection.
2243
2244 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2245
2246         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2247         number of InsetOptArgs has already been inserted.
2248
2249         * output_latex.C (latexOptArgInsets): new method. This outputs all
2250         the optarg insets, up to the limit defined in the layout file.
2251         (optArgInset): removed
2252         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2253
2254 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2255
2256         * paragraph.C (isLetter): remove special spellchecker-related
2257         code; return true also for digits
2258         (isWord, isKomma): remove
2259
2260         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2261         * lyxfind.C (MatchString()): use isLetter instead of isWord
2262
2263 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2264
2265         * pariterator.h (operatir=): comment out un-implemented member
2266         function.
2267
2268         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2269         static cast.
2270
2271 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2272
2273         * lyxfont.h: include LColor.h to satisfy concept checks.
2274
2275 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2276
2277         * pariterator.h: add typdefs for value_type, difference_type,
2278         pointer and reference to satisfy concept checks. Also add default
2279         constructor for same reason.
2280
2281         * pariterator.C (operator++): add post-increment operator to
2282         satisfy concept checks.
2283
2284         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2285         checks.
2286
2287         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2288
2289         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2290         checks. Also rename base_type to BaseType to follow naming
2291         standard better.
2292
2293         * FloatList.h: include Floating.h to satisfy concept checks.
2294
2295 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2296
2297         * lyxfunc.C (getStatus): when the origin of the request is menu or
2298         toolbar, and the LyXView does not have focus, do as if there was
2299         no buffer (bug 1720)
2300
2301         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2302         FuncRequest to individual entries of LFUN_SEQUENCE
2303
2304 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2305
2306         * output_latex.C (TeXOnePar): override runparams.moving_arg
2307         according to the needprotect value of the current paragraph (bug
2308         1739)
2309
2310         * paragraph.C (simpleTeXOnePar): no need to override
2311         runparams.moving_args here
2312
2313 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2314
2315         * vspace.C: fix off-by-one-error, related to fix #1682
2316
2317 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2318
2319         * lengthcommon.C: a more general fix for bug 1682
2320
2321 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2322
2323         * text.C (backspace): fix crash
2324
2325 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2326
2327         * format.[Ch] (getFormatFromFile): new method
2328         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2329
2330 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2331
2332         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2333
2334 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2335
2336         * lyxfunc.C (dispatch): remove the verbose argument
2337         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2338         instead
2339
2340         * kbmap.C (defkey): set the origin of func to KEYBOARD
2341
2342         * MenuBackend.C (MenuItem):
2343         * ToolbarBackend.C (add): set the origin of func to UI
2344
2345         * funcrequest.[Ch]: add origin member, which indicates which part
2346         of LyX requests an action
2347
2348 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2349
2350         * converter.C (move): don't lie in the error message
2351         * converter.h (isReachable, move): document
2352
2353 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2354
2355         * buffer.C: remove unused using lyx::support::atoi
2356         * paragraph_funcs.C: ditto
2357
2358 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2359
2360         * bufferlist.C (exists): use bind and equal_to instead of
2361         compare_memfun
2362         (getBuffer): ditto
2363         * lyxtextclasslist.C (NumberOfClass): ditto
2364
2365         * cursor.C (insert): use for_each instead of explicit for loop
2366
2367         * bufferlist.C (getFileNames): use std::transform and
2368         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2369
2370         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2371         for loop
2372
2373         * buffer.C (changeLanguage): use for_each instead of explicit for
2374         loop
2375         (hasParWithID): implement using getParFromID
2376
2377         * LaTeXFeatures.C: ws change only
2378
2379         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2380         to cleanup a bit.
2381
2382         * BufferView_pimpl.C (trackChanges): use for_each instead of
2383         expilicit for loop
2384
2385 2004-11-04  André Pönitz  <poenitz@gmx.net>
2386
2387         * undo.h:
2388         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2389
2390         * dociterator.C (asDocIterator): use hard assert again.
2391
2392 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2393
2394         * lyxlength.C (asLatexString): rewrite so that it does not use
2395         snprintf anymore
2396
2397 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2398
2399         * text3.C (specialChar, dispatch): make sure cursor moves to the
2400         right after inserting an inset
2401
2402 2004-11-02  José Matos  <jamatos@lyx.org>
2403
2404         * output_docbook.C (docbook):
2405         * paragraph.C (getID):
2406         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2407         garantee that the output is always legal.
2408
2409         * tabular.C (docbook):
2410         * outputprams.[Ch]: remove mixed contents.
2411
2412 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2413
2414         * text2.C (setCounter): prevent endless loop
2415
2416 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2417
2418         * exporter.C (copyFile): use the mover instead of support::copy()
2419         * exporter.C (Export): pass format and latex name to copyFile()
2420         * exporter.h (addExternalFile): document
2421         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2422
2423 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2424
2425         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2426
2427 2004-10-30  José Matos  <jamatos@lyx.org>
2428
2429         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2430         text and no inset or font change. This allows to use CDATA
2431         sections just for the whole paragraph.
2432
2433 2004-10-30  José Matos  <jamatos@lyx.org>
2434
2435         * paragraph.C (getFirstWord): remove unused variable.
2436
2437 2004-10-30  José Matos  <jamatos@lyx.org>
2438
2439         * paragraph.C (getFirstWord): the content should always be escaped
2440         there.
2441         (simpleDocBookOnePar):
2442         * output_docbook.C (makeEnvironment): replace reference to CDATA
2443         to style pass_thru.
2444
2445 2004-10-30  José Matos  <jamatos@lyx.org>
2446
2447         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2448
2449 2004-10-30  José Matos  <jamatos@lyx.org>
2450
2451         * output_docbook.C (makeParagraphs):
2452         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2453         standard paragraph has only a given type of content drop the wrapper.
2454
2455 2004-10-29  José Matos  <jamatos@lyx.org>
2456
2457         * output_docbook.C (makeEnvironment):
2458         * sgml.C (openTag):
2459         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2460
2461 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2462
2463         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2464         (cleanID): sanitize any id.
2465
2466 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2467
2468         * buffer.C, lyxlex_pimpl.C:
2469         * lyxlex_pimpl.C (setFile):
2470         s/getExtFromContents/getFormatFromContents/
2471
2472 2004-10-28  José Matos  <jamatos@lyx.org>
2473
2474         * output_docbook.C (makeEnvironment): move id to broadest possible
2475         scope.
2476
2477         * sgml.C (openTag): apply substitution of <> for all attributes.
2478
2479 2004-10-28  José Matos  <jamatos@lyx.org>
2480
2481         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2482         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2483         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2484
2485         * sgml.[Ch]: new version for open and closeTag for paragraph and
2486         for strings. Now they handle the ids of paragraphs.
2487
2488 2004-10-26  Angus Leeming  <leeming@lyx.org>
2489
2490         * Makefile.am: add mover.[Ch].
2491
2492         * converter.C (convert, move): use the new Movers to move external
2493         files to the temp directory.
2494
2495         * lyx_main.C (init): ensure that the global system_movers data
2496         is initialised.
2497
2498         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2499         preferences file.
2500
2501         * mover.[Ch]: new files, defining a Mover as a utility to move an
2502         external file between directories and, if necessary, manipulate this
2503         file using a helper script.
2504
2505 2004-10-25  José Matos  <jamatos@lyx.org>
2506
2507         * output_docbook.C (makeCommand): merge two if's that tested the
2508         same condition.
2509
2510 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2511
2512         * sgml.C (escapeString): fix warning in a better way
2513
2514 2004-10-25  José Matos  <jamatos@lyx.org>
2515
2516         * sgml.C (escapeString): import the require boosts header file for
2517         tie, and avoid a signed unsigned comparison.
2518
2519 2004-10-25  José Matos  <jamatos@lyx.org>
2520
2521         * sgml.h: add #include <string>
2522
2523 2004-10-25  José Matos  <jamatos@lyx.org>
2524
2525         * sgml.[Ch] (escapeString): new function to escape all the string.
2526
2527 2004-10-24  José Matos  <jamatos@lyx.org>
2528
2529         * paragraph.[Ch] (getFirstWord): new function to get the first
2530         word. Useful for description.
2531         (simpleDocBookOnePar): remove depth argument, add another that
2532         says where to start the paragraph.
2533
2534         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2535         use the new functions to fix cleanly the support for descriptions.
2536
2537 2004-10-24  José Matos  <jamatos@lyx.org>
2538
2539         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2540         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2541         * output_linuxdoc.C (linuxdocParagraphs):
2542         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2543         add buffer as argument.
2544
2545 2004-10-24  José Matos  <jamatos@lyx.org>
2546
2547         * output_docbook.C (makeEnvironment, searchEnvironment): place
2548         CDATA inside paragraphs and fix scope for listitems.
2549
2550 2004-10-24  José Matos  <jamatos@lyx.org>
2551
2552         * output_docbook.C: remove using statement for stack.
2553
2554 2004-10-23  José Matos  <jamatos@lyx.org>
2555
2556         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2557         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2558         docbook. The new scheme is recursive and makes use of iterators, the
2559         same as latex export works.
2560         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2561         directly with the paragraph contents. This code was moved up to
2562         output_docbook.C (docbookParagraphs).
2563         * sgml.C (openTag, closeTag): removed unneeded newlines.
2564         (closeEnvTags) removed.
2565
2566 2004-10-23  André Pönitz  <poenitz@gmx.net>
2567
2568         * undo.C (textUndoOrRedo):
2569         * dociterator.C (asDocIterator): work around crash
2570
2571         * cursor.C (getStatus): replace ASSERT by more verbose error message
2572           and manual correction of the problem. Should increase stability
2573           while providing more sensible information.
2574
2575 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2576
2577         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2578
2579         * bufferlist.C (previous, next): new methods
2580
2581         * lfuns.h:
2582         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2583
2584 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2585
2586         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2587         entities to preamble.
2588
2589 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2590
2591         * messages.C (Pimpl): strip off translation context information
2592
2593 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2594
2595         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2596         the cursor is correct (bug 1694)
2597
2598 2004-10-13  José Matos  <jamatos@lyx.org>
2599
2600         * output_docbook.C (docbookParagraphs): fix closing tags in the
2601         end of the document.
2602
2603 2004-10-09  José Matos  <jamatos@lyx.org>
2604
2605         * buffer.C: format up to 237.
2606         * bufferparams.C (write): use tostr to convert booleans to strings.
2607
2608 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2609
2610         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2611
2612 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2613
2614         * LaTeX.C: implement use of babel language in xindy.
2615
2616 2004-10-05  José Matos  <jamatos@lyx.org>
2617
2618         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2619         Add new translators to help reading and writing the lyx file.
2620
2621 2004-10-05  José Matos  <jamatos@lyx.org>
2622
2623         * ParagraphParameters.C (read):
2624         * text.C (readParToken): replace nexToken by more appropriate lex
2625         methods.
2626
2627 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2628
2629         * LaTeX.C (runMakeIndex):
2630         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2631         (usually 'makeindex') configurable.
2632
2633         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2634         with a variable rather than with a number.
2635
2636 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2637
2638         * output_latex.C (TeXOnePar): make sure font setting is the first
2639         thing that gets output (and the last at the end). Should fix bug
2640         1404.
2641
2642 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2643
2644         * pch.h: use proper signal include
2645
2646         * LaTeX.h: Use preferred calling of Boost.Signal
2647         * buffer.h: ditto
2648
2649 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2650
2651         * pch.h: dont include <boost/function/function0.hpp>
2652
2653         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2654
2655         * paragraph_pimpl.h: remove usage of ShareContainer
2656
2657         * paragraph_pimpl.C: remove initialization of ShareContainer.
2658
2659 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2660
2661         Fix bug #1666
2662
2663         * BufferView.C (putSelectionAt): change the semantics when
2664         backwards == true: now, this just swaps cursor and anchor wrt the
2665         forward case
2666
2667         * BufferView.h (putSelectionAt): add some documentation
2668
2669         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2670         make sure backwardChar is done at least once (to avoid getting
2671         stuck)
2672         (findNextChange): use putSelectionAt in the forward direction
2673         (operator()): use Paragraph::isWord
2674
2675 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2676
2677         * Spacing.C (set): c_str fix
2678
2679 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2680
2681         * lyx_cb.C (Reconfigure): quote the name of configure script in
2682         case it contains spaces
2683
2684 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2685
2686         * client: new dir
2687
2688         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2689         (BOOST_LIBS): use top_buildir when looking for the file
2690
2691 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2692
2693         * pch.h: do not use include boost/format.hpp, multiple symbols
2694                 will result (gcc bug)
2695
2696
2697 2004-08-23  José Matos  <jamatos@lyx.org>
2698
2699         * bufferparams.C (readToken): fix reading of the author field.
2700
2701 2004-08-20  José Matos  <jamatos@lyx.org>
2702
2703         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2704
2705 2004-08-20  José Matos  <jamatos@lyx.org>
2706
2707         * lyxlex.[Ch] (findToken): remove function.
2708
2709         * ParagraphParameters.C (findToken):
2710         * bufferparams.C (findToken): replace call for previous function
2711         with local copy. This local function has one more argument, the
2712         read string argument.
2713
2714 2004-08-16  José Matos  <jamatos@lyx.org>
2715
2716         * ParagraphParameters.C (write):
2717         * Spacing.C (writeFile):
2718         * bufferparams.C (writeLaTeX):
2719         * lyx_cb.C (Reconfigure):
2720         * paragraph.C (write):
2721         * tabular.C (write): remove unnecessary space at end of line.
2722
2723
2724 2004-08-16  José Matos  <jamatos@lyx.org>
2725
2726         * text.C (readParagraph): remove debug message.
2727
2728 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2729
2730         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2731         crash
2732
2733         * output_plaintext.C (asciiParagraph): set depth correctly
2734
2735         * outputparams.h: add member depth
2736
2737         * paragraph_funcs.C (ownerPar): remove.
2738
2739         * text2.C (setCounter): remove first_pit; comment out some
2740         non-working code that uses ownerPar
2741
2742         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2743         uses ownerPar
2744
2745 2004-08-16  José Matos  <jamatos@lyx.org>
2746
2747         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2748         For the same level of importance use the same chanel to report problems.
2749         (read): add code to deal with \begin_body and \end_body.
2750
2751
2752 2004-08-15  José Matos  <jamatos@lyx.org>
2753
2754         * lyxlex.C (getString): fix comment, buffer::readBody is now
2755         buffer:readDocument.
2756
2757         * tex-strings.C (string_papersize): Default -> default,
2758         Custom -> custom, for consistency with other options.
2759
2760 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2761
2762         * pch.h: new file
2763
2764         * Makefile.am: support pch
2765
2766 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2767
2768         * text.C (readParToken): remove the static LyXFont variable and
2769         pass it as a parameter instead. This fixes a nasty bug where an
2770         inset will be inserted with a bad font in some situations
2771         (readParagraph): adapt
2772
2773         * text2.C (setCounter): reduce number of calls to pars_[pit]
2774
2775         * text.C (singleWidth): add an assert, fix a test
2776
2777         * rowpainter.C (paintText): reduce number of calls to singleWidth
2778
2779         * paragraph.C (isHfill):
2780         (isNewline): ws only
2781
2782 2004-08-14  André Pönitz  <poenitz@gmx.net>
2783
2784         * text.C:
2785         * text2.C:
2786         * rowpainter.C:
2787         * lyxtext.h (several functions): use a Paragraph & argument
2788         instead of par_type
2789
2790 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2791
2792         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2793
2794         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2795
2796         * text.C (singleWidth): remove useless test
2797
2798 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2799
2800         * tabular.h: remove bogus comments
2801
2802         * tabular.C (getDescentOfRow):
2803         (isPartOfMultiColumn): add assertions
2804
2805         * lyxlength.C (inPixels): remove #warning
2806
2807 2004-08-14  André Pönitz  <poenitz@gmx.net>
2808
2809         * paragraph.h: inline getChar()
2810
2811         * BufferView.h: remove unused declarations
2812
2813 2004-08-14  José Matos  <jamatos@lyx.org>
2814
2815         * Buffer.[Ch] (readDocument): new name for old readBody.
2816         * Buffer.C: new file format, new keywords: \begin_document,
2817         \begin_header, \begin_body, \end_body.
2818
2819         * bufferparams.C (readToken): replace all calls to lex.nextToken
2820         by lex.next(). Do the same to eatLine except where really needed.
2821
2822         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2823         line when writing to the lyx file.
2824
2825         * output_plaintext.C (asciiParagraph): fix Bibliography style
2826         handling.
2827
2828         * text.C (read): fix end of file handling.
2829
2830 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2831
2832         * MenuBackend.C (Menu::operator[]): new method to access
2833         individual menu items
2834         (Menu::hasFunc): new method. search for an item that corresponds
2835         to a given func
2836         (MenuBackend::specialMenu): new method
2837         (MenuBackend::expand): if a special menu has been set, skip
2838         entries whose func() appears in this menu
2839
2840 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2841
2842         * text3.C: use Debug::DEBUG a bit more
2843
2844         * text.C (leftMargin): try to simplify a tiny bit change var x to
2845         l_margin. Dont output the wide margins always.
2846         (rightMargin): no margin in inner texts
2847
2848         * rowpainter.h (nestMargin): new func
2849         (changebarMargin): new func
2850         (rightMargin): new func
2851
2852         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2853         now functions.
2854         (paintLast): ditto
2855
2856         * factory.C (createInset): modify setDrawFrame
2857
2858         * cursor.C: use Debug::DEBUG a bit more
2859
2860 2004-08-14  André Pönitz  <poenitz@gmx.net>
2861
2862         * coordcache.[Ch]:
2863         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2864         cache for all insets in (at least partially) visible (top-level)
2865         paragraphs.
2866
2867         * BufferView_pimpl.C: reset external coord cache before every update.
2868         This means the coord cache only contains valid entries.
2869
2870 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2871
2872         bug 1096
2873         * BufferView_pimpl.C (getInsetByCode): move function out of class
2874         and change in to a template in anon namespace. Also fix to do what
2875         suits us better.
2876
2877 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2878
2879         bug 1305
2880         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2881         of char
2882         (breakParagraph): rename par to par_offset and use a local
2883         reference. Add code to keep the language over a rebreak.
2884         (breakParagraphConservative): rename par to par_offset, use a
2885         local reference
2886         (mergeParagraph): ditto
2887         (outerHook): ditto
2888         (isFirstInSequence): ditto
2889         (outerFont): rename pit to par_offset
2890
2891         * paragraph.C: ws change
2892         * paragraph.h: ditto
2893         * text3.C: ditto
2894         * text.C: ditto
2895
2896 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2897
2898         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2899         treatment for ']'
2900
2901         * paragraph.C (simpleTeXOnePar): when we have a \item with
2902         optional argument, enclose the argument with curly brackets (in
2903         case it contains a closing square bracket)
2904
2905         * text2.C (editXY):
2906         * text2.C (editXY):
2907         * text3.C (checkInsetHit): constify
2908
2909 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2910
2911         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2912         documents (bug 1629)
2913
2914 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2915
2916         Fix toggling of collapsable insets with the mouse (bug 1558)
2917
2918         * lyxfunc.C (dispatch): adapt to LCursor changes
2919
2920         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2921         make sure that dispatch is not invoked twice
2922
2923         * cursor.C (needsUpdate): new method
2924         (dispatch): return void
2925         (result): new method, to access the DispatchResult of the cursor.
2926
2927 2004-08-13  José Matos  <jamatos@lyx.org>
2928
2929         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2930
2931 2004-08-13  André Pönitz  <poenitz@gmx.net>
2932
2933         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2934
2935         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2936           multiple cells
2937
2938 2004-08-12  André Pönitz  <poenitz@gmx.net>
2939
2940         * text3.C: take out the 'cursor right' form insertInset and only
2941         do it in those places when it is really needed. Fixes crash on
2942         C-m...
2943
2944 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2945
2946         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2947
2948         * BufferView_pimpl.C (setBuffer): initialize the current font of
2949         the underlying LyXText
2950
2951 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2952
2953         * kbsequence.C (print): use UI native formatting for menu
2954         shortcuts
2955
2956         * text.C (insertChar): call Paragraph::insertChar with a font
2957         argument (cosmetic)
2958
2959         * paragraph.C (insertInset, insertChar): the version that takes a
2960         LyXFont argument is now a wrapper around the other one (the
2961         opposite used to be true).
2962
2963         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2964         argument. Font setting is done in Paragraph now.
2965
2966 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2967
2968         * outputparams.h: add new members intitle and lang.
2969
2970         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2971         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2972
2973 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2974
2975         * text3.C (dispatch): remove special handling of button 4 and 5,
2976         it is now taken care of in the frontend code.
2977
2978 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2979
2980         * Spacing.h: add <string> (STLPort compile fix)
2981
2982 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2983
2984         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2985
2986 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2987
2988         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2989         to bool.
2990
2991         * converter.C (showMessage): inherit from unary_function, make
2992         operator() const.
2993
2994         * buffer.C (writeFile): initialize retval
2995
2996         * InsetList.h: rename private variable list to list_
2997         * InsetList.[Ch]: adjust accordingly.
2998
2999 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3000
3001         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3002         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3003         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3004         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3005         * ParagraphParameters.C, LaTeXFeatures.C: replace
3006         "support/std_sstream.h" with <sstream>
3007
3008 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3009
3010         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3011         * lyxsocket.C (LyXServerSocket): ditto
3012         (serverCallback): ditto
3013
3014 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3015
3016         * LaTeXFeatures.C: check release date when loading jurabib.
3017
3018 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3019
3020         * lyxserver.C (startPipe): call register_socket_callback
3021         (endPipe): call unregister_socket_callback
3022
3023 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3026         (LyXServerSocket): register the callback
3027         (LyXServerSocket): unregister the callback
3028         (fd): delete function
3029         (serverCallback): improve error checking and setup the callbacks.
3030         (dataCallback): change arg to fd.
3031         (writeln): new func (copied fro the client socket) used for server
3032         write to client.
3033         (LyXDataSocket): simplify
3034         (~LyXDataSocket): close ann unregiser callback
3035         (server): delete function
3036         (fd): delete function
3037         (readln): small changes, improve some std::string usage
3038         (writeln): constify a bit
3039
3040 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3041
3042         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3043         Qt frontend
3044
3045 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3046
3047         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3048         after it has been populated
3049
3050 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3051
3052         * text2.C (insertInset): move cursor when inserting inset.
3053
3054 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3055
3056         * kbmap.C (findbindings): a couple of new methods. returns a
3057         container of kb_sequence objects. The real work is done by the
3058         private recursive version
3059         (printbindings): uses findbindings to print out a bracketed list
3060         of bindings (renamed from findbinding).
3061
3062         * MenuBackend.C (binding): use kb_keymap::findbindings
3063
3064         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3065
3066 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3067
3068         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3069
3070 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3071
3072         * paragraph.C (isWord): return true on insets that report
3073         isLetter().
3074
3075         * text.C (getWord): use Paragraph::isWord to decide what is in a
3076         word and what is not; fix bug 1609.
3077
3078 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3079
3080         * tex-strings.C: add "none" to string_paperpackages[], fixes
3081         off-by-one-error in the paperpackage selection.
3082
3083         * lyxlex.[Ch]:
3084         * tex-strings.[Ch]: char const * string[n]
3085         -> char const * const string[]
3086
3087 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3088
3089         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3090         command, return early.
3091
3092 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3093
3094         * debug.h: add DEBUG to enum and fix size of ANY.
3095
3096         * debug.C: add support for Debug::DEBUG
3097         (showTags): cast errorTags.level to unsigned int
3098
3099         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3100         (redoCurrentBuffer): ditto
3101         (updateScrollbar): ditto
3102         * cursor.C (dispatch): ditto
3103         * text2.C (setLayout): ditto
3104         (setFont): ditto
3105         (updateCounters): ditto
3106         (editXY): ditto
3107         (deleteEmptyParagraphMechanism): ditto
3108
3109 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3110
3111         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3112         annotations to cleanup the Makefile slightly.
3113
3114 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3115
3116         * lyxrc.C: do not set user_email to a default value but use empty
3117         instead. The entry used to be translated, which does not work
3118         since at the point where lyxrc is constructed there is no
3119         translation service available
3120
3121         * messages.C (getLocaleDir): remove and use directly
3122         lyx_localedir() instead
3123
3124 2004-06-02  Angus Leeming  <leeming@lyx.org>
3125
3126         Fix crash caused by dereferencing null pointer 'exportdata' in
3127         OutputParams by creating a new ExportData variable on the heap,
3128         storing it in a boost::shared_ptr.
3129         The crash was triggered when generating an Instant Preview
3130         of an external inset.
3131
3132         * Makefile.am: add outputparams.C
3133
3134         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3135         (c-tor): allocate memory to it.
3136
3137         * exporter.C (c-tor): associated changes.
3138
3139 2004-06-01  Angus Leeming  <leeming@lyx.org>
3140
3141         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3142         contains data before calling isInset(0). (Bug 1513.)
3143
3144 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3145
3146         * exporter.C (checkOverwrite): new method
3147         * exporter.C (copyFile): new method
3148         * exporter.C (Export): copy referenced files to the document dir
3149         * exporter.[Ch]: new class ExportedFile
3150         * exporter.[Ch]: new class ExportData. Contains currently the
3151         names of referenced external files
3152         * outputparams.h: add exportdata member.
3153
3154 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3155
3156         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3157         version.C-tmp
3158
3159 2004-05-19  Angus Leeming  <leeming@lyx.org>
3160
3161         * LaTeXFeatures.C:
3162         * ToolbarBackend.C:
3163         * bufferparams.C:
3164         * lyxfunc.C: small changes due to the introduction of namespace
3165         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3166
3167 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3168
3169         * text3.C (dispatch): supress update when only moving the cursor
3170         * cursor.C (selHandle): remove commented code
3171
3172 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3173
3174         * paragraph.C (startTeXParParams): correct column count
3175         * CutAndPaste.C (pasteSelection): remove const_cast
3176         * output_docbook.C (docbookParagraphs): remove const_cast
3177         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3178         const_cast and return ParagraphList::const_iterator
3179         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3180         * output_plaintext.C (writeFileAscii): remove const_cast
3181         * paragraph.[Ch] (simpleTeXOnePar): make const
3182         * paragraph_funcs.C (outerPar): use const iterators
3183         * paragraph_pimpl.C (validate): use const iterators
3184         * text.C (setHeightOfRow): use const iterators
3185
3186 2004-05-17  Angus Leeming  <leeming@lyx.org>
3187
3188         * lfuns.h:
3189         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3190
3191         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3192         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3193         if the citation engine has changed.
3194
3195 2004-05-14  José Matos  <jamatos@lyx.org>
3196
3197         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3198         if the textclass does not provide it. Have it different for sgml and
3199         xml.
3200         support the language of document.
3201         * output_docbook.C (docbookParagraphs):
3202         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3203         first anchor as the id of the paragraph, remove special case code.
3204         * sgml.C (escapeChar): escape only < & >.
3205
3206 2004-05-14  Angus Leeming  <leeming@lyx.org>
3207
3208         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3209         dependencies on src/frontends/controllers/biblio.h. Define a
3210         CiteEngine_enum wrapper class to enable the enum to be forward
3211         declared.
3212
3213 2004-05-12  Angus Leeming  <leeming@lyx.org>
3214
3215         * buffer.C: up LYX_FORMAT to 234.
3216         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3217         use_numerical_citations with a single biblio::CiteEngine cite_engine
3218         variable.
3219         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3220
3221 2004-05-13  José Matos  <jamatos@lyx.org>
3222
3223         * converter.h:
3224         * converter.C (Converter, readFlags): add xml member.
3225         * outputparams.h: add XML flavor.
3226         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3227
3228 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3229
3230         * lyxfunc.C (dispatch):
3231         (getStatus): fix handling of LFUN_SEQUENCE
3232
3233 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3234
3235         * debug.C (showLevel): do not forget the end-of-line marker
3236
3237 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3238
3239         * kbmap.C (read): do not stop parsing a bind file when an error
3240         occurs (bug 1575)
3241
3242 2004-04-29  Angus Leeming  <leeming@lyx.org>
3243
3244         * cursor.C:
3245         * factory.C:
3246         * pariterator.C:
3247         * text2.C: wrap a bunch of #warning statements
3248         inside #ifdef WITH_WARNINGS blocks.
3249
3250 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3251
3252         * buffer.C: increment format to 233.
3253
3254 2004-04-28  Angus Leeming  <leeming@lyx.org>
3255
3256         * BufferView_pimpl.C:
3257         * lyxfunc.C:
3258         * text3.C:
3259         s/updateToolbar()/updateToolbars()/
3260         s/Toolbar.h/Toolbars.h/
3261
3262 2004-04-28  Angus Leeming  <leeming@lyx.org>
3263
3264         * BufferView.[Ch] (c-tor):
3265         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3266         No longer passes these data to the WorkArea generator.
3267
3268 2004-04-28  Angus Leeming  <leeming@lyx.org>
3269
3270         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3271
3272 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3273
3274         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3275
3276 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3277
3278         * output_latex.C (TeXEnvironment): make sure that there is a line
3279         break before \end{foo} for the last paragraph of a document
3280         (TeXOnePar): if the paragraph is at the end of the document (or
3281         inset) and the language has to be reset, then make sure that the
3282         line break is _before_ the language command, not after (fixes bug
3283         1225); also make sure that the language reset command is the first
3284         thing after the paragraph (to ensure proper nesting of
3285         environments and thus fix bug 1404)
3286
3287 2004-04-21  John Levon  <levon@movementarian.org>
3288
3289         * ToolbarBackend.h:
3290         * ToolbarBackend.C: make "name" be a programmatic name
3291         and a gui_name field.
3292
3293         * lyxfunc.C: display the minibuffer on M-x
3294
3295 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3296
3297         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3298         (bug 1526)
3299
3300 2004-04-19  Angus Leeming  <leeming@lyx.org>
3301
3302         * BufferView_pimpl.C (setBuffer): changed preview interface.
3303
3304         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3305         possible values.
3306
3307 2004-04-19  John Levon  <levon@movementarian.org>
3308
3309         * BufferView_pimpl.C:
3310         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3311
3312 2004-04-05  Angus Leeming  <leeming@lyx.org>
3313
3314         * text.C (redoParagraphs): add call to updateCounters(), thereby
3315         fixing the missing "Figure #:" label from the caption of a
3316         figure float.
3317
3318 2004-04-13  Angus Leeming  <leeming@lyx.org>
3319
3320         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3321         cursor is clicked out of an inset.
3322
3323 2004-04-13  Angus Leeming  <leeming@lyx.org>
3324
3325         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3326         than an InsetOld one.
3327
3328 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3329
3330         * format.[Ch]: add editor to Format
3331         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3332         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3333
3334 2004-04-08  André Pönitz  <poenitz@gmx.net>
3335
3336         * metricsinfo.h: remove PainterInfo::width member
3337
3338 2004-04-08  Angus Leeming  <leeming@lyx.org>
3339
3340         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3341         "\providecommand" rather than "\newcommand", thereby preventing
3342         clashes with packages that define "\boldsymbol" themselves.
3343         Eg, beamer.
3344
3345 2004-04-08  Angus Leeming  <leeming@lyx.org>
3346
3347         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3348         thereby squashing an unnecessary warning.
3349
3350 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3351
3352         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3353         setBuffer()
3354
3355 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3356
3357         * BufferView.C (setCursor): call redoParagraph (some insets could
3358         have been opened)
3359         (putSelectionAt): remove the 'double update' trick
3360
3361         * BufferView_pimpl.C (fitCursor): call refreshPar
3362         (workAreaDispatch): remove an uneeded update call
3363         (dispatch): remove some manual update calls
3364
3365         * cursor.[Ch]: remove cached_y_, updatePos
3366         (selHandle): set noUpdate when appropriate
3367
3368         * lyxfunc.C (dispatch): track if we need an update
3369
3370         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3371
3372         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3373         (paintSelection): cheap optimization, do not call cursorX when not
3374         needed
3375         (paintPars): change signature
3376         (refreshPar): add
3377         (paintText): adjust
3378         (paintTextInset): adjust
3379
3380         * text.C: adjust
3381
3382 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3383
3384         * lengthcommon.C: compilation fix: remove explicit array size from
3385         unit_name[] and friends
3386
3387 2004-04-05  Angus Leeming  <leeming@lyx.org>
3388
3389         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3390
3391         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3392         present only for the preferences dialog.
3393         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3394
3395 2004-04-05  Angus Leeming  <leeming@lyx.org>
3396
3397         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3398         to enable the frontends to export changes to lyxrc correctly.
3399
3400         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3401
3402 2004-04-07  André Pönitz  <poenitz@gmx.net>
3403
3404         * cursor.[Ch] (selClear, adjust): remove math
3405
3406         * cursor_slice.C: more agressive assert
3407
3408         * lyxfunc.C:
3409         * BufferView_pimpl.C: rework mouse event dispatch
3410
3411         * dociterator.C:
3412         * paragraph.C:
3413         * text2.C:
3414         * text3.C: adjust
3415
3416 2004-04-05  André Pönitz  <poenitz@gmx.net>
3417
3418         * cursor.[Ch] (valign, halign...): remove unneeded functions
3419
3420 2004-04-05  Angus Leeming  <leeming@lyx.org>
3421
3422         * lyxlength.[Ch] (unit_name et al.): const-correct.
3423
3424 2004-04-05  Angus Leeming  <leeming@lyx.org>
3425
3426         * BufferView_pimpl.C:
3427         * buffer.C:
3428         * counters.C:
3429         * cursor.C:
3430         * lyxfunc.C
3431         * paragraph.C:
3432         * pariterator.C:
3433         * text.C:
3434         * text2.C:
3435         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3436
3437 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3438
3439         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3440
3441 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3442
3443         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3444         * BufferView_pimpl.[Ch] (getStatus)
3445         * BufferView.[Ch] (getStatus): add
3446         * lyxfunc.C (getStatus): move lfuns handled in
3447         BufferView::dispatch to te function above
3448         * Cursor.C (setSelection): set selection() = true
3449
3450 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3451
3452         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3453
3454 2004-03-31  Angus Leeming  <leeming@lyx.org>
3455
3456         * lyxfunc.C (dispatch): Fall through to the generic
3457         Dialogs::show("preamble").
3458
3459 2004-03-31  Angus Leeming  <leeming@lyx.org>
3460
3461         * lyxfunc.C (dispatch): Fall through to the generic
3462         Dialogs::show("spellchecker").
3463
3464 2004-03-31  Angus Leeming  <leeming@lyx.org>
3465
3466         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3467         preferences dialog.
3468
3469 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3470
3471         * BufferView.C
3472         * cursor.[Ch]
3473         * dociterator.[Ch]:
3474         * insetiterator.[Ch]:
3475         * lyxfind.C:
3476         * lyxfunc.C:
3477         * pariterator.[Ch]:
3478         * text2.C:
3479         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3480
3481 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3482
3483         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3484         insets where we are putting the cursor.
3485
3486 2004-03-31  Angus Leeming  <leeming@lyx.org>
3487
3488         * lfuns.h:
3489         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3490
3491         * lyxrc.[Ch] (read, write): overloaded member functions taking
3492         a std::[io]stream arguments.
3493
3494         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3495
3496 2004-03-31  Angus Leeming  <leeming@lyx.org>
3497
3498         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3499         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3500
3501         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3502         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3503
3504 2004-03-31  Angus Leeming  <leeming@lyx.org>
3505
3506         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3507         the LFUN_ALL_INSETS_TOGGLE code.
3508
3509 2004-03-30  Angus Leeming  <leeming@lyx.org>
3510
3511         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3512         has died. Fall through to the generic Dialogs::show("document").
3513
3514 2004-03-30  Angus Leeming  <leeming@lyx.org>
3515
3516         * lfuns.h:
3517         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3518         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3519
3520         * lyxfunc.C (getStatus, dispatch): define the actions for these
3521         lfuns. Little more than a cut and pste job from ControlDocument.C
3522
3523         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3524
3525 2004-03-30  Angus Leeming  <leeming@lyx.org>
3526
3527         * lfuns.h:
3528         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3529         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3530
3531         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3532         open/closed state of ollapsable insets. Usage:
3533
3534         all-inset-toggle <state> <name>, where
3535         <state> == "open" || "closed" || "toggle" and
3536         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3537
3538         * lyxtext.h, text2.C (toggleInset): removed.
3539
3540         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3541         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3542         now passes LFUN_INSET_TOGGLE to the found inset.
3543
3544         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3545         is now invoked as "all-insets-toggle toggle branch".
3546
3547 2004-03-30  Angus Leeming  <leeming@lyx.org>
3548
3549         * dociterator.C:
3550         * insetiterator.C:
3551         * pariterator.[Ch]: added/corrected header blurb.
3552
3553 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3554
3555         * dociterator.[Ch]: add an inset_ member
3556         (backwardPos): implemented
3557         (backwardPos, forwardPos): use inset_ when the stack is empty.
3558         (doc_iterator_begin, doc_iterator_end): implemented
3559         * pariterator.[Ch]: adjust, add begin, end
3560         * insetiterator.[Ch]: adjust, add begin, end
3561         * cursor.C:
3562         * document.C:
3563         * BufferView.C:
3564         * BufferView_pimpl.C:
3565         * CutAndPaste.C: adjust
3566
3567 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3568
3569         * buffer.C: increment file format to 232.
3570         * LaTeXFeatures.C: add bibtopic package.
3571         * bufferparams.[Ch]: param \use_bibtopic.
3572
3573         * lyxrc.[Ch]: add lyxrc bibtex_command
3574         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3575
3576         * buffer.C: increment file format to 231.
3577
3578 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3579
3580         * dociterator.C: implement forwardPar
3581         * iterators.[Ch]: remove, replaced by
3582         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3583         * BufferView.C:
3584         * BufferView_pimpl.C:
3585         * CutAndPaste.C:
3586         * buffer.C:
3587         * bufferview_funcs.C:
3588         * cursor.C:
3589         * lyxfind.C
3590         * lyxfunc.C
3591         * paragraph_funcs.C
3592         * toc.C:
3593         * Makefile.am: adjust
3594
3595 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3596
3597         * CutAndPaste.C (pasteSelection): fix 2 crashes
3598         (eraseSelection): fix a crash
3599         * paragraph_funcs.C: remove a warning
3600
3601 2004-03-28  Angus Leeming  <leeming@lyx.org>
3602
3603         * lfuns.h:
3604         * LyXAction.C (init): new LFUN_PRINT.
3605
3606         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3607
3608 2004-03-27  Angus Leeming  <leeming@lyx.org>
3609
3610         * lfuns.h:
3611         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3612
3613         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3614
3615 2004-03-27  Angus Leeming  <leeming@lyx.org>
3616
3617         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3618         insetlist always contains non-null pointers to insets.
3619
3620 2004-03-26  Angus Leeming  <leeming@lyx.org>
3621
3622         * src/BufferView_pimpl.C:
3623         * src/CutAndPaste.C:
3624         * src/buffer.C:
3625         * src/iterators.C:
3626         * src/output_plaintext.C:
3627         * src/outputparams.h:
3628         * src/paragraph_funcs.C:
3629         * src/rowpainter.C:
3630         * src/text.C:
3631         * src/text2.C:
3632         * src/frontends/controllers/ControlErrorList.C:
3633         * src/frontends/gtk/FileDialogPrivate.C:
3634         * src/frontends/gtk/GPainter.C:
3635         * src/frontends/gtk/GToolbar.C:
3636         * src/frontends/qt2/QRef.C:
3637         * src/mathed/math_scriptinset.C: squash compiler warnings.
3638
3639 2004-03-26  Angus Leeming  <leeming@lyx.org>
3640
3641         * ispell.C (LaunchIspell::start):
3642         * lyx_cb.C (AutoSaveBuffer::start):
3643         invoke run(DontWait) rather than runNonBlocking().
3644
3645 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3646
3647         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3648
3649 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3650
3651         * kbsequence.C (print): adjust
3652
3653         * kbmap.C (printKeySym): rename and change signature
3654         (printKey): use LyXKeySym::print()
3655
3656 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3657
3658         * undo.C: add using std::advance to compile for stlport
3659
3660 2004-03-24  Angus Leeming  <leeming@lyx.org>
3661
3662         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3663         it leads to a crash when no buffer is present.
3664
3665 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3666             Martin Vermeer  <martin.vermeer@hut.fi>
3667
3668         * lyxfunc.C (dispatch):
3669         * bufferparams.C (readToken): use the new LColor::setColor
3670
3671         * LColor.[Ch] (setColor): new version that takes two strings as
3672         argument and creates a new color entry if necessary
3673
3674 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3675
3676         * buffer.C (makeLaTeXFile): if the main latex file that is
3677         processed is usually a subdocument of some master, then pretend
3678         for a while that it is actually the master
3679
3680 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3681
3682         * buffer.C (getLabelList):
3683         (getBibkeyList): use getMasterBuffer()
3684         (getMasterBuffer): new method. Returns the main document in the
3685         case where one is using included documents.
3686
3687 2004-03-25  André Pönitz  <poenitz@gmx.net>
3688
3689         * Makefile.am:
3690         * iterators.[Ch]:
3691         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3692
3693         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3694
3695         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3696         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3697
3698         * ParameterStruct.h: merge with ParagraphParameters
3699
3700         * lyxtext.h: remove LyXText::parOffset() and getPar()
3701
3702         * text3.C: Remove all 'manual' update calls. We do now one per user
3703         interaction which is completely sufficient.
3704
3705         * Bidi.C:
3706         * BufferView.[Ch]:
3707         * BufferView_pimpl.C:
3708         * FontIterator.[Ch]:
3709         * MenuBackend.C:
3710         * ParagraphParameters.[Ch]:
3711         * buffer.C:
3712         * buffer.h:
3713         * bufferlist.C:
3714         * cursor.[Ch]:
3715         * cursor_slice.[Ch]:
3716         * dociterator.[Ch]:
3717         * errorlist.[Ch]:
3718         * factory.C:
3719         * lfuns.h:
3720         * lyxfind.C:
3721         * lyxfunc.C:
3722         * output_docbook.[Ch]:
3723         * output_latex.[Ch]:
3724         * output_linuxdoc.[Ch]:
3725         * output_plaintext.[Ch]:
3726         * paragraph.[Ch]:
3727         * paragraph_funcs.[Ch]:
3728         * paragraph_pimpl.[Ch]:
3729         * rowpainter.C:
3730         * tabular.[Ch]:
3731         * text.C:
3732         * text2.C:
3733         * toc.C:
3734         * undo.[Ch]: adjust
3735
3736         * frontends/controllers/ControlDocument.C:
3737         * frontends/controllers/ControlErrorList.C:
3738         * frontends/controllers/ControlSpellchecker.C:
3739         * insets/inset.C:
3740         * insets/inset.h:
3741         * insets/insetbase.h:
3742         * insets/insetbibitem.C:
3743         * insets/insetbox.C:
3744         * insets/insetbranch.C:
3745         * insets/insetcaption.C:
3746         * insets/insetcharstyle.C:
3747         * insets/insetcharstyle.h:
3748         * insets/insetcollapsable.C:
3749         * insets/insetcollapsable.h:
3750         * insets/insetert.C:
3751         * insets/insetfloat.C:
3752         * insets/insetfoot.C:
3753         * insets/insetmarginal.C:
3754         * insets/insetnote.C:
3755         * insets/insetoptarg.C:
3756         * insets/insettabular.C:
3757         * insets/insettext.C:
3758         * insets/insettext.h:
3759         * insets/insetwrap.C:
3760         * mathed/math_mboxinset.C:
3761         * mathed/math_nestinset.C:
3762         * mathed/math_scriptinset.C:
3763         * mathed/math_scriptinset.h:
3764         * support/types.h:
3765
3766 2004-03-24  Angus Leeming  <leeming@lyx.org>
3767
3768         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3769         deal with any child processes that have finished but are waiting to
3770         communicate this fact to the rest of LyX.
3771
3772 2004-03-24  Angus Leeming  <leeming@lyx.org>
3773
3774         64-bit compile fixes.
3775
3776         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3777         (c-tor): pass lyx::pos_types rather than ints.
3778
3779         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3780         lyx::pos_type.
3781
3782         * text.C (Delete): compile fix.
3783         (getPar): ensure that function declaration is the same as that in
3784         the header file.
3785
3786 2004-03-23  Angus Leeming  <leeming@lyx.org>
3787
3788         * ispell.C (LaunchIspell):
3789         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3790         a boost::shred_ptr rather than a std::auto_ptr.
3791
3792 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3793
3794         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3795         handle LFUN_FILE_INSERT_*
3796
3797         * lyxrc.C (setDefaults, getDescription, output, read):
3798         * lyxrc.h: remove ps_command
3799
3800 2004-03-22  Angus Leeming  <leeming@lyx.org>
3801
3802         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3803         Ensure that error_handler is processed once only and that all data
3804         is saved before attempting to output any warning messages.
3805
3806         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3807
3808 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3809
3810         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3811
3812 2004-03-19  André Pönitz  <poenitz@gmx.net>
3813
3814         * cursor.[Ch] (reset): take main text inset as argument
3815
3816         * BufferView: adjust
3817         * BufferView_pimpl.C: adjust
3818
3819         * paragraph.[Ch]: fix completely broken operator=()
3820
3821 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3822
3823         * LColor.C (getFromLyXName): make sure that the color name is used
3824         as lowercase.
3825
3826 2004-03-17  Angus Leeming  <leeming@lyx.org>
3827
3828         * lfuns.h:
3829         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3830
3831         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3832         dialog and to kill a forked process.
3833
3834 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3835
3836         * text2.C (setCursorFromCoordinates): fix font problem
3837
3838 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3839
3840         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3841         bogus "rebuild cursor" code
3842
3843 2004-03-11  André Pönitz  <poenitz@gmx.net>
3844
3845         * buffer.[Ch]: use InsetText instead of LyXText as container for
3846         the main lyx text.
3847
3848         * dociterator.[Ch]: drop the BufferView * member which is not needed
3849         anymore after the change to buffer.C
3850
3851         * paragraph_funcs.C:
3852         * text.C:
3853         * text2.C:
3854         * BufferView.[Ch]:
3855         * BufferView_pimpl.[Ch]:
3856         * cursor.[Ch]:
3857         * cursor_slice.[Ch]: adjust
3858
3859         * text3.C: fix bug in mathDispatch
3860
3861 2004-03-08  André Pönitz  <poenitz@gmx.net>
3862
3863         * undo.[Ch]: use 'StableDocumentIterator' as base for
3864         the Undo struct.
3865
3866 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3867
3868         * LaTeXFeatures.C:
3869         * bufferparams.[Ch]: add jurabib support and param.
3870
3871         * LaTeX.C: add FIXME/comment.
3872
3873 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3874
3875         * buffer.C: increment file format to 230.
3876
3877 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3878
3879         * cursor.C (dispatch): avoid infinite loops
3880
3881 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3882
3883         * rowpainter.C (paintSelection): fix x coordinates
3884
3885 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3886
3887         * text.C (rowBreakPoint): fix breaking before displayed insets
3888
3889 2004-03-01  André Pönitz  <poenitz@gmx.net>
3890
3891         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3892
3893         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3894
3895         * Makefile.am:
3896         * BufferView.C:
3897         * BufferView_pimpl.C:
3898         * buffer.C:
3899         * lyxfind.C:
3900         * lyxfunc.C:
3901         * text.C:
3902         * text2.C:
3903         * text3.C: adjust
3904
3905 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3906
3907         * lyxtext.h:
3908         * text.C:
3909         * text2.C:
3910         * rowpainter.C:
3911         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3912         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3913
3914 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3915
3916         * Bidi.[Ch] (computeTables): const correctness
3917         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3918         fill_hfill, fill_label_hfill and x from Row
3919         * lyxtext.h: prepareToPrint returns a RowMetrics
3920         * rowPainter.C: adjust
3921         * text.C (prepareToPrint): use width, not textWidth. adjust
3922         (redoParagraphInternal, cursorX): adjust
3923         * text2.C (getColumnNearX): adjust
3924         (init): put a default value to the top LyXText::width
3925
3926 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3927
3928         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3929
3930 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3931
3932         * lyxtext.h: add FontIterator class
3933
3934         * text.C (FontIterator, operator*, operator->, operator++): add
3935         (rowBreakPoint, setRowWidth): adjust (fixing a
3936         rebreaking bug)
3937
3938 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3939
3940         * BufferView_pimpl.C (workAreaDispatch): allow also
3941         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3942
3943 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3944
3945         * text.C (rowBreakPoint): fix a bug showing with very large insets
3946
3947 2004-02-25  André Pönitz  <poenitz@gmx.net>
3948
3949         * text3.C:
3950         * cursor.[Ch]: move some mathed specific code to mathed
3951
3952 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3953
3954         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3955         use_tempdir in preferences
3956         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3957         tempfile creation
3958         * lyx_main.C: ensure that tempdir is valid
3959         * lyxlex.h: correct typo
3960         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3961         * paragraph.[Ch] (isMultiLingual): make const
3962         * cursor.[Ch] (openable): make const
3963
3964 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3965
3966         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3967
3968 2004-02-20  André Pönitz  <poenitz@gmx.net>
3969
3970         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3971
3972         * cursor.[Ch]: prepare for localized getStatus()
3973
3974         * lyxtext.h:
3975         * tabular.C:
3976         * text.C:
3977         * text2.C:
3978         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3979
3980 2004-02-20  André Pönitz  <poenitz@gmx.net>
3981
3982         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3983
3984 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3985
3986         * text2.C (setCursorFromCoordinates): switch to absolute coords
3987         (cursorUp): adjust
3988         (cursorDown): adjust
3989         * text3.C (dispatch): adjust
3990
3991 2004-02-16  André Pönitz  <poenitz@gmx.net>
3992
3993         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3994           insets/ChangeLog)
3995
3996         * cursor_slice.[Ch]: remove unneeded acessor function
3997
3998         * lyxtext.h: rename rtl() to isRTL()
3999
4000         * rowpainter.C:
4001         * tabular.C:
4002         * text.C:
4003         * text2.C:
4004         * text3.C: adjust
4005
4006 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4007
4008         * rowpainter.C (paintSelection): coord fix
4009
4010 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4011
4012         * Spacing.C: compile fix
4013
4014 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4015
4016         * cursor.C (dispatch): restore current_ before returning
4017
4018 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4019
4020         * text2.C (cursorUp, cursorDown): fix coords
4021         (moveUp): fix crash
4022
4023 2004-02-12  André Pönitz  <poenitz@gmx.net>
4024
4025         * lyxtext.h:
4026         * text.C:
4027         * text2.C:
4028         * text3.C: add LCursor & parameter to most cursor movement functions
4029           remove usage of LyXText::cursorRow() and cursorPar()
4030
4031         * cursor.[Ch]: add textRow() needed members
4032
4033         * BufferView.C:
4034         * BufferView_pimpl.C:
4035         * paragraph.[Ch]:
4036         * BufferView.C:
4037         * BufferView_pimpl.C: adjust
4038
4039 2004-02-11  André Pönitz  <poenitz@gmx.net>
4040
4041         * lyxfunc.C:
4042         * BufferView.[Ch]:
4043         * BufferView_pimpl.C: shift undo/redo handling
4044
4045         * cursor.[Ch]: fix mathed crash
4046
4047         * lyxfind.C:
4048         * lyxtext.h: move selectionAsText to LCursor
4049
4050         * output_latex.C:
4051         * paragraph.C:
4052         * text.C:
4053         * text2.C:
4054         * text3.C: adjust
4055
4056         * rowpainter.C: fix excessive drawing
4057
4058 2004-02-06  André Pönitz  <poenitz@gmx.net>
4059
4060         * BufferView.[Ch]:
4061         * BufferView_pimpl.[Ch]:
4062         * text3.C: move some text specific LFUN handling
4063
4064 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4065
4066         * text3.C (checkInsetHit): adjust coords
4067         * text2.C (getColumnNearX): adjust coords
4068         (edit): adjust coords
4069         * text.C (getRowNearY): add two asserts
4070
4071 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4072
4073         * converter.C:
4074         * format.C: add using std::distance to compile on gcc 2.95/stlport
4075
4076 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4077
4078         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4079
4080 2004-02-04  André Pönitz  <poenitz@gmx.net>
4081
4082         * BufferView.[Ch] (insertInset):
4083         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4084
4085         * text2.C:
4086         * text3.C: adjust
4087
4088 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4089
4090         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4091         on the default clause of the switch
4092         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4093         wasn't catched by LCursor::dispatch
4094
4095 2004-02-03  André Pönitz  <poenitz@gmx.net>
4096
4097         * BufferView.C:
4098         * cursor.[Ch]: some additional asserts
4099
4100         * undo.[Ch]: remove LyXText dependency in interface
4101
4102         * lyxfunc.C: adjust
4103
4104         * lyxtext.h (firstPar, lastPar): remove dead functions
4105
4106         * text.C:
4107         * text2.C:
4108         * text3.C:
4109         * paragraph.[Ch]: adjust
4110
4111 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4112
4113         * lyxfind.C (find): fix argument order in call to ::find
4114
4115 2004-02-02  André Pönitz  <poenitz@gmx.net>
4116
4117         * cursor.[Ch]: remove direct access to anchor
4118
4119         * text.C: remove findText() hack
4120
4121 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4122
4123         * iterators.[Ch] (lockPath): remove in favour of...
4124         * BufferView.[Ch] (setCursor): this addition
4125         * BufferView.C (putSelectionAt): adjust
4126         * undo.C (performUndoOrRedo): adjust
4127         * lyxfunc.C (dispatch): adjust
4128
4129 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4130
4131         * iterators.C (lockPath): add a missing slice
4132         * undo.C (performUndoOrRedo): remove redundant positioning code
4133
4134 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4135
4136         * vc-backend.C (scanMaster): ";" -> ';'
4137
4138 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4139
4140         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4141         std::binary_function
4142
4143         * lyxtextclass.C (compare_name): rename to...
4144         (LayoutNamesEqual): ...this
4145
4146         * lyxlex_pimpl.C (compare_tags): inherit from
4147         std::binary_function, put back into anon namespace
4148
4149         * lyxfind.C (MatchString): inherig from std::binary_function
4150         (findChange): use empty() istead of !size()
4151
4152         * format.C (FormatNamesEqual): new functor
4153         (getFormat): use it
4154         (getNumber): use it
4155         (add): use it
4156         (erase): use it
4157         (setViewer): use it
4158
4159         * converter.C (compare_Converter): rename to...
4160         (ConverterEqual): ...this, and fixup a bit.
4161         (getConverter): use it, and make function const
4162         (getNumber): use it, and make function const
4163         (add): use it
4164         (erase): use it:
4165
4166         * bufferlist.C: add using boost::bind
4167
4168         * MenuBackend.C (MenuNamesEqual): new functor
4169         (hasMenu): use it, and make function const
4170         (hasSubmenu): use nested bind to get rid of compare_memfun.
4171
4172 2004-01-30  André Pönitz  <poenitz@gmx.net>
4173
4174         * BufferView_pimpl.C:
4175         * cursor.C:
4176         * cursor.h:
4177         * cursor_slice.[Ch]:
4178         * lyxfunc.C:
4179         * lyxtext.h:
4180         * paragraph_funcs.C:
4181         * paragraph_funcs.h:
4182         * rowpainter.C:
4183         * text.C:
4184         * text2.C:
4185         * text3.C: move some of the edit(x,y) handling to the insets
4186         some coordinate changes.
4187
4188 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4189
4190         * text.C: add using statements for std::advance and std::distance
4191
4192         * paragraph.C: add using statement for std::distance
4193
4194         * lyxfind.C: add using statement for std::advance
4195
4196         * cursor.C (region): remove std:: from swap
4197         (openable): use nucleus in stead of operator->
4198
4199         * BufferView.C: add using statements for std::distance and std::swap
4200
4201 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4202
4203         * iterators.C: Remove the pimple, move the needed structures to
4204         the header file. Create accessor for the positions stack.
4205         (asPosIterator): remove function
4206
4207         * PosIterator.C (PosIterator): move constructors to top of file
4208         (PosIterator): reimplement the constructor taking a ParIterator in
4209         terms of setFrom.
4210         (setFrom): new function
4211         (operator!=): inline it
4212
4213 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4214
4215         * lyxfind.C (replaceAll): use std::advance
4216
4217         * iterators.h: inherit from std::iterator.
4218
4219         * PosIterator.C (advance, distance): remove
4220         * PosIterator.h: interit from std::iterator.
4221
4222 2004-01-26  André Pönitz  <poenitz@gmx.net>
4223
4224         * BufferView.[Ch]:
4225         * BufferView_pimpl.[Ch]:
4226         * InsetList.[Ch]:
4227         * PosIterator.[Ch]:
4228         * buffer.h:
4229         * bufferview_funcs.C:
4230         * cursor.[Ch]:
4231         * cursor_slice.h:
4232         * factory.[Ch]:
4233         * iterators.[Ch]:
4234         * lyxfind.C:
4235         * lyxfunc.C:
4236         * lyxtext.h:
4237         * output_docbook.C:
4238         * output_latex.C:
4239         * output_linuxdoc.C:
4240         * output_plaintext.C:
4241         * paragraph.[Ch]:
4242         * paragraph_funcs.[Ch]:
4243         * paragraph_pimpl.[Ch]:
4244         * rowpainter.C:
4245         * tabular.C:
4246         * tabular.h:
4247         * text.C:
4248         * text2.C:
4249         * text3.C: more IU:  dumps most of the rest of the mathcursor
4250     implementation into cursor.[Ch]; "globalize" a bit of it.
4251
4252 2004-01-25  Angus Leeming  <leeming@lyx.org>
4253
4254         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4255
4256 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4257
4258         * LaTeXFeatures.h: add nice_ and nice() const
4259         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4260
4261 2004-01-20  André Pönitz  <poenitz@gmx.net>
4262
4263         * BufferView.[Ch]:
4264         * BufferView_pimpl.C:
4265         * PosIterator.C:
4266         * bufferview_funcs.C:
4267         * cursor.[Ch]:
4268         * cursor_slice.[Ch]:
4269         * factory.C:
4270         * iterators.C:
4271         * lyx_cb.C:
4272         * lyxfind.C:
4273         * lyxfunc.C:
4274         * lyxtext.h:
4275         * rowpainter.C:
4276         * text.C:
4277         * text2.C:
4278         * text3.C:
4279         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4280           LCursor and mathcursor parts to LCursor and InsetBase.
4281
4282 2004-01-15  André Pönitz  <poenitz@gmx.net>
4283
4284         * cursor_slice.[Ch]: add a few covienience functions
4285
4286         * funcrequest.[Ch]: remove BufferView * member
4287
4288         * BufferView_pimpl.C:
4289         * cursor.C:
4290         * factory.[Ch]:
4291         * lyxfind.[Ch]:
4292         * lyxfunc.C:
4293         * lyxtext.h:
4294         * text3.C:
4295         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4296
4297 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4298
4299         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4300         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4301
4302 2004-01-13  André Pönitz  <poenitz@gmx.net>
4303
4304         * textcursor.[Ch]:
4305         * lyxtext.h: hide cursor and selection anchor behind accessor function
4306
4307         * BufferView.C:
4308         * BufferView_pimpl.[Ch]:
4309         * PosIterator.C:
4310         * bufferview_funcs.C:
4311         * cursor.h:
4312         * lyxfind.C:
4313         * lyxfunc.C:
4314         * text.C:
4315         * text2.C:
4316         * text3.C:
4317         * undo.C: adjust
4318
4319         * cursor.h:
4320         * cursor_slice.[Ch]: some integer type changes for inset unification
4321
4322         * lyxcursor.[hC]: remove, it's CursorSlice now.
4323
4324         * Makefile.am:
4325         * BufferView_pimpl.[Ch]:
4326         * bufferview_funcs.C:
4327         * cursor_slice.C:
4328         * lyxtext.h:
4329         * text.C:
4330         * text2.C:
4331         * text3.C:
4332         * textcursor.[Ch]: adjust
4333
4334 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4335
4336         * text2.C (undoSpan): add and use
4337         * text.C (breakParagraph): use undoSpan (fix bug 578)
4338         * lyxtext.h: adjust
4339
4340 2004-01-08  Angus Leeming  <leeming@lyx.org>
4341
4342         * BufferView_pimpl.C (MenuInsertLyXFile):
4343         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4344         * lyxfunc.C (menuNew, open, doImport):
4345         FileFilterList change to the FileDialog open and save functions.
4346
4347 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4348
4349         * ShareContainer.h: make isEqual and isUnique adaptable
4350
4351         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4352
4353 2004-01-07  Angus Leeming  <leeming@lyx.org>
4354
4355         * LyXAction.C:
4356         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4357
4358         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4359
4360         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4361         functions replacing find, replace and replaceAll.
4362
4363         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4364         LFUN_WORDFIND(FORWARD|BACKWARD).
4365
4366 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4367
4368         * text.C (breakParagraph): remove an outdated #warning
4369
4370 2004-01-07  André Pönitz  <poenitz@gmx.net>
4371
4372         * lyxfind.C: somewhat clearer logic
4373
4374         * text.C: prevent crash in cursorX on unitialized row cache
4375
4376 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4377
4378         * lyxcursor.[Ch] (operator>): add
4379         * textcursor.C (selStart, selEnd): use std::min and std::max
4380
4381 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4382
4383         * Chktex.C: include boost/format.hpp
4384
4385 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4386
4387         * InsetList.C: replace functor MathcIt with adaptable functor
4388         InsetTablePosLess
4389         (insetIterator): modify accordingly
4390
4391         * BranchList.h: move the BranchNamesEqual functor here from...
4392         * BranchList.C: ... to here
4393
4394         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4395         SameName and match.
4396         (add): replace a finding loop with std::find_if.
4397
4398 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4399
4400         * output_docbook.C: moving LatexParam functionality into
4401         .layout files
4402
4403 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4404
4405         * buffer.C: increment format to 229.
4406
4407 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4408
4409         * LaTeXFeatures.C:
4410         * lyx_sty.[Ch]: remove minipageindent_def
4411
4412         * LyXAction.C:
4413         * factory.C:
4414         * lfuns.h:
4415         * lyxfunc.C:
4416         * text3.C: remove LFUN_INSET_MINIPAGE
4417
4418 2003-12-28  Angus Leeming  <leeming@lyx.org>
4419
4420         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4421
4422 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4423
4424         * text2.C (setParagraph): fix off-by-one crash
4425
4426 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4427
4428         * output_docbook.C: header stuff for AGU
4429
4430 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4431
4432         * text2.C (redoCursor): remove
4433         * text.C:
4434         * text3.C:
4435         * BufferView_pimpl.C: remove calls to redoCursor and
4436         setCursor(cursor.par(), cursor.pos()) all around
4437
4438 2003-12-15  Angus Leeming  <leeming@lyx.org>
4439
4440         * buffer.C: up the format to 228.
4441
4442 2003-12-15  André Pönitz  <poenitz@gmx.net>
4443
4444         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4445         slices
4446
4447         * Makefile.am:
4448
4449         * BufferView_pimpl.C:
4450         * cursor.[Ch]:
4451         * lyxcursor.[Ch]:
4452         * rowpainter.[Ch]:
4453         * lyxtext.h:
4454         * text.C:
4455         * text2.C:
4456         * text3.C: adjust
4457
4458 2003-12-15  Angus Leeming  <leeming@lyx.org>
4459
4460         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4461         than getFromGUIName to manipulate the color.
4462
4463 2003-12-14  Angus Leeming  <leeming@lyx.org>
4464
4465         * BranchList.[Ch]: minimize the API.
4466         (Branch::getBranch, getColor): now return a 'const &'.
4467         (Branch::setSelected) now returns a bool set to true if the
4468         selection status changes.
4469         (BranchList::clear, size, getColor, setColor, setSelected,
4470         allBranches, allSelected, separator): removed.
4471         (BranchList::find): new functions, returning the Branch with
4472         the given name.
4473         (BranchList::add, remove): return a bool indicating that
4474         the operation was successful.
4475
4476         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4477         new InsetBranch::isBranchSlected member function.
4478
4479         * LColor.[Ch]: mimimize the API.
4480         (fill): renamed as addColor and made private.
4481         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4482         versions of these functions taking a string arg have been removed.
4483
4484         * bufferparams.C (readToken):
4485         * lyxfunc.C (dispatch):
4486         * lyxrc.C (read): changes due to the altered BranchList and
4487         LColor APIs.
4488
4489         * factory.C (createInset, readInset): changes due to altered
4490         InsetBranch c-tor.
4491
4492 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4493
4494         * factory.C:
4495         * lyxfunc.C: remove insetminipage. "minipage-insert"
4496         now produces a frameless minipage box inset.
4497
4498 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4499
4500         * textcursor.[Ch] (selStart,selEnd): add new methods
4501         remove selection::start, end, use LyXCursor::operator<
4502         * lyxcursor.[Ch] (operator<): add
4503         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4504         * BufferView.[Ch] (unsetXSel): add
4505         * text2.C (clearSelection): use unsetXSel,adjust
4506         * text.C: adjust
4507         * text3.C: adjust
4508         * rowpainter.C: adjust
4509         * bufferview_funcs.C (put_selection_at): adjust
4510
4511 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4512
4513         * BufferView_pimpl.C: small coord. correction
4514
4515 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4516
4517         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4518         dragging over the splash screen.
4519
4520 2003-12-11  Angus Leeming  <leeming@lyx.org>
4521
4522         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4523         as it is now handled in LyXText::dispatch.
4524
4525         * text3.C (doInsertInset): remove a level of nesting.
4526
4527 2003-12-11  Angus Leeming  <leeming@lyx.org>
4528
4529         * factory.C (createInset): changes due to the changed interface to
4530         InsetCommandMailer::string2params.
4531
4532 2003-12-10  Angus Leeming  <leeming@lyx.org>
4533
4534         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4535         'dialog-show-new-inset <inset name>'
4536
4537 2003-12-10  Angus Leeming  <leeming@lyx.org>
4538
4539         * buffer.C: up the format to 227.
4540
4541         * factory.C: the box inset is now identified simply by 'Box'.
4542
4543 2003-12-10  Angus Leeming  <leeming@lyx.org>
4544
4545         * buffer.C: up the format to 226.
4546
4547         * factory.C: the note inset is now identified simply by 'Note'.
4548
4549 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4550
4551         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4552         when a pit is enough. Standarize a couple of loops.
4553
4554 2003-12-05  Angus Leeming  <leeming@lyx.org>
4555
4556         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4557         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4558         data to the re-worked "log" dialog.
4559
4560 2003-12-03  André Pönitz  <poenitz@gmx.net>
4561
4562         * PosIterator.C:
4563         * iterators.C:
4564         * lyxtext.h:
4565         * output_latex.C:
4566         * paragraph_funcs.C:
4567         * text.C:
4568         * text2.C: use Inset::getText instead of Inset::getParagraph
4569
4570 2003-12-03  André Pönitz  <poenitz@gmx.net>
4571
4572         * buffer.[Ch]:
4573         * lyxtext.h:
4574         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4575         InsetText::read() as LyXText::read()
4576
4577 2003-12-02  Angus Leeming  <leeming@lyx.org>
4578
4579         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4580         type. Add a comment in the implementation that the function uses
4581         the stream's bad() function rather than fail() as the std::streams
4582         would do.
4583
4584 2003-12-02  André Pönitz  <poenitz@gmx.net>
4585
4586         * lyxlex.[Ch]: make interface more similar to std::stream
4587
4588         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4589
4590 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4591
4592         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4593
4594 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4595
4596         * vspace.[Ch]: remove VSpace::NONE
4597
4598 2003-12-01  André Pönitz  <poenitz@gmx.net>
4599
4600         * buffer.[Ch]:
4601         * lyxtext.h: move ParagraphList member to LyXText
4602         rename LyXText::ownerParagraphs to LyXText::paragraph
4603
4604         * CutAndPaste.C:
4605         * bufferview_funcs.C:
4606         * iterators.[Ch]:
4607         * lyx_cb.C:
4608         * paragraph.C:
4609         * rowpainter.C:
4610         * tabular.C:
4611         * text.C:
4612         * text2.C:
4613         * text3.C: adjust
4614
4615         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4616
4617         * undo.C: fix cursor positioning
4618
4619 2003-12-01  John Levon  <levon@movementarian.org>
4620
4621         * BufferView_pimpl.C: fix a crash on exit with
4622         a buffer open
4623
4624 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4625
4626         * BranchList.C: fix setSelected() method.
4627
4628 2003-11-28  André Pönitz  <poenitz@gmx.net>
4629
4630         * ParagraphParameters.[Ch]:
4631         * ParameterStruct.h: remove space above/below from Paragraph to
4632          InsetVSpace
4633
4634         * BufferView_pimpl.C:
4635         * factory.C:
4636         * lyxfunc.C:
4637         * lyxtext.h:
4638         * output_latex.C:
4639         * paragraph.C:
4640         * paragraph_funcs.C:
4641         * rowpainter.[Ch]:
4642         * text.C:
4643         * text2.C:
4644         * text3.C: adjust
4645
4646 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4647
4648         * factory.C: Syntax change for CharStyles
4649
4650 2003-11-28  André Pönitz  <poenitz@gmx.net>
4651
4652         * BufferView.[Ch]:
4653         * BufferView.[Ch]:
4654         * buffer.[Ch]:
4655         * buffer.[Ch]: move LyXText member
4656
4657 2003-11-28  André Pönitz  <poenitz@gmx.net>
4658
4659         * BufferView.[Ch]: make LyXText * text a private member
4660
4661         * BufferView_pimpl.C:
4662         * cursor.C:
4663         * iterators.C:
4664         * lyx_cb.C:
4665         * lyxfind.C:
4666         * lyxtext.h:
4667         * rowpainter.[Ch]:
4668         * text.C:
4669         * text2.C:
4670         * undo.C: adjust
4671
4672         * output_plaintext.C: cleanup
4673
4674 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4675
4676         * buffer.C:
4677         * lyxtextclass.[Ch]: parametrize SGML document header
4678
4679 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4680
4681         * converter.[Ch]:
4682         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4683         getFlavor().
4684
4685 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4686
4687         * text2.C (setFont): rework using PosIterator (no more recursive)
4688         (setCharFont): no more needed
4689         (setLayout): no more selection cursors fiddling (done by redoCursor)
4690         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4691         destroy remaining ones)
4692
4693 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4694
4695         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4696         * lyxtext.h: ditto
4697         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4698         selection cursors
4699         * lyxfunc.C: adjust
4700         * text3.C: adjust + re-allow multi par depth changes
4701         * textcursor.C: simplify a bit
4702
4703 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4704
4705         * src/buffer.C:
4706         * src/lyxlayout.C:
4707         * src/lyxlayout.h:
4708         * src/lyxtext.h:
4709         * src/output_docbook.C:
4710         * src/output_latex.C:
4711         * src/paragraph.C:
4712         * src/paragraph.h:
4713         * src/sgml.C:
4714         * src/sgml.h:
4715         * src/text2.C: Introducing a number of tags parametrizing various
4716         XML formats that we may want to support
4717
4718 2003-11-25  André Pönitz  <poenitz@gmx.net>
4719
4720         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4721
4722         * lyxtext.h (leftMargin/rightMargin): simplify interface
4723
4724         * rowpainter.C:
4725         * text.C:
4726         * text2.C:
4727         * text3.C: adjust
4728
4729 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4730
4731         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4732         master file to any child files. Fixes bug 546.
4733
4734 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4735
4736         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4737
4738 2003-11-24  André Pönitz  <poenitz@gmx.net>
4739
4740         * rowpainter.C: simplification
4741
4742         * text2.C (updateCounters): remove call to redoParagraph on
4743         changed labels as this is far too expensive.
4744
4745 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4746
4747         * converter.C (convert): fix a crash: this function gets
4748         called with buffer == 0 from importer code.
4749
4750 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4751
4752         * text3.C (cursorPrevious): make sure that we do not compare
4753         iterators form different containers.
4754         (cursorNext): ditto
4755
4756         * rowpainter.C (paintSelection): make sure that we do not compare
4757         iterators from different containers.
4758
4759         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4760         iterators from different ParagraphList containers.
4761         [NEXT] ditto
4762
4763         * text2.C (LyXText): change order of initialization slightly
4764         (operator=): new function. copy all variables except cache_par_
4765         (moveUp): make sure that we do not compare iterators from
4766         different ParagraphList constainers.
4767         (moveDown): ditto
4768
4769         * text.C (firstPar): new function
4770         (lastPar): new function
4771         (endPar): new function
4772
4773         * lyxtext.h: move things around and group public functions, public
4774         variables, private functions, private variables
4775
4776 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4777
4778         * factory.C: change call to InsetERT constructor to avoid
4779         additional invocation of method status
4780         * text2.C (toggleInset): remove redundant update() call
4781         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4782         instead of a Bufferview pointer
4783
4784 2003-11-21  André Pönitz  <poenitz@gmx.net>
4785
4786         * rowpainter.C: simplification
4787
4788 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4789
4790         * text3.C (dispatch): make possible to extend a word/row selection
4791         with the mouse
4792
4793 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4794
4795         * lyxtext.h: x0_,y0_ -> xo_,yo_
4796         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4797         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4798         * rowpainter.C (paintRows): paint full paragraphs
4799
4800 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4801
4802         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4803         screen coordinates)
4804
4805 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4806
4807         * lyxtext.h: add x0_, y0_
4808         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4809         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4810
4811 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4812
4813         * text2.C (setCursorIntern): move the x_target update here *
4814         * text3.C: change some bv() to true/false in calls to
4815         cursorUp/Down/Right/Left
4816         * cursor.C: use helper function.
4817
4818 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4819
4820         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4821         * paragraph_funcs.[Ch]: correct comment
4822         * rowpainter.C: do not paint selections away from bv->cursor()
4823         Fix a long standing selection painting bug.
4824         * text3.C: generalize mouse-selection code to LyXTexts other that
4825         top one
4826         * textcursor.C: do not use y coords if we can use par offsets
4827
4828 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4829
4830         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4831         cursor position after e.g. inset insert)
4832
4833 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4834
4835         * lyxfind.C (replace): adjust to locking removal + some
4836         code simplification
4837
4838 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4839
4840         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4841         of the path
4842
4843 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4844
4845         * lyxlayout.[Ch]:
4846         * output_docbook.C: XML sanitation: new layout
4847         parameters InnerTag and CommandDepth
4848
4849 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4850
4851         * BufferView_pimpl.C:
4852         * factory.C:
4853         * text3.C: Fix the insertion and modification of button-style
4854         insets
4855
4856 2003-11-13  André Pönitz  <poenitz@gmx.net>
4857
4858         * InsetList.[Ch]: remove deleteLyXText
4859
4860         * paragraph.[Ch]: cache beginOfBody position
4861
4862         * Bidi.C:
4863         * text.C:
4864         * text2.C:
4865         * text3.C: remove superfluous update() calls
4866
4867         * vspace.C: cleanup
4868
4869 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4870
4871         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4872         * BufferView.C (fitLockedInsetCursor): remove
4873         * cursor.[Ch] (getDim): add
4874         * text.C (getRowNearY): add faster version
4875         * text3.C: remove some update calls
4876
4877 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4878
4879         * LaTeXFeatures.C:
4880         * LyXAction.C:
4881         * MenuBackend.C:
4882         * MenuBackend.h:
4883         * dispatchresult.h:
4884         * factory.C:
4885         * lfuns.h:
4886         * lyxfunc.C:
4887         * lyxtextclass.C:
4888         * lyxtextclass.h:
4889         * text3.C: The Character Style /XML short element patch.
4890
4891 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4892
4893         * text3.C:
4894         * factory.C: Small step to solving 'unable to insert some insets'
4895         problem
4896
4897 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4898
4899         * cursor.[Ch] (updatePos): new function for updating the y
4900         position of the tip inset
4901         * bufferview_funcs.C (put_selection_at):
4902         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4903
4904 2003-11-11  André Pönitz  <poenitz@gmx.net>
4905
4906         * text.C: remove big comment on invalid Paragraph pointers as it is
4907         not valid anymore
4908
4909 2003-11-11  André Pönitz  <poenitz@gmx.net>
4910
4911         * text_funcs.[Ch]: merge with ...
4912
4913         * text.C: ... this
4914
4915         * lyxtext.h:
4916         * text2.C:
4917         * text3.C: adjust
4918
4919         * Makefile.am: remove text_funcs.[Ch]
4920
4921 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4922
4923         * cursor.C (getPos): return absolute cached y coord
4924
4925         * BufferView_pimpl.C (fitCursor): new simplistic code
4926         (workAreaDispatch): add a fitCursor call
4927
4928 2003-11-10  André Pönitz  <poenitz@gmx.net>
4929
4930         * BufferView.[Ch]:
4931         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4932
4933 2003-11-10  André Pönitz  <poenitz@gmx.net>
4934
4935         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4936         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4937         indicate that the cursor needs to leave an inset
4938
4939         * lyxtext.h: remove inset locking
4940
4941         * cursor.[Ch]: re-implement functionality provided by inset locking
4942
4943         * BufferView.[Ch]:
4944         * BufferView_pimpl.[Ch]:
4945         * LyXAction.C:
4946         * bufferview_funcs.[Ch]:
4947         * factory.C:
4948         * funcrequest.[Ch]:
4949         * iterators.C:
4950         * lyx_cb.C:
4951         * lyxfind.C:
4952         * lyxfunc.C:
4953         * text.C:
4954         * text2.C:
4955         * text3.C:
4956         * undo.C: adjust
4957
4958 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4959
4960         * PosIterator.[Ch]: replace the stack with a vector, add inset
4961         accesor
4962         * iterators.[C]: adjust
4963
4964 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4965
4966         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4967         replaced
4968         * paragraph_funcs.C (readParToken): put the correct id in the
4969         error item, not the id of the top paragraph
4970
4971 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4972
4973         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4974         * bufferview_funcs.C (put_selection_at): use the above
4975
4976 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4977
4978         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4979
4980 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4981
4982         * output_linuxdoc.h:
4983         * output_plaintext.h:
4984         * output.h:
4985         * output_docbook.h: add #include statements
4986
4987 2003-11-05  José Matos  <jamatos@lyx.org>
4988
4989         * output_docbook.[Ch]:
4990         * output_latex.[Ch]:
4991         * output_linuxdoc.[Ch]:
4992         * output_plaintext.[Ch]: New files for output formats.
4993         * output.[Ch]: New file for helper functions.
4994
4995         * buffer.[Ch]:
4996         * paragraph_funcs.[Ch]: output functions moved to new files.
4997
4998         * outputparams.h: rename of latexrunparams.h
4999
5000         * LaTeX.[Ch]:
5001         * buffer.[Ch]:
5002         * bufferlist.[Ch]:
5003         * converter.[Ch]:
5004         * exporter.C:
5005         * paragraph.[Ch]:
5006         * paragraph_funcs.[Ch]:
5007         * paragraph_pimpl.[Ch]:
5008         * tabular.[Ch]: rename ascii to plaintext
5009         and LatexRunParams to OutputParams.
5010
5011 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5012
5013         * iterators.[Ch] (text): require bv argument
5014         * undo.C (recordUndo):
5015         * lyxfunc.C (dispatch):
5016         * bufferview_funcs.C (put_selection_at): adjust
5017
5018 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5019
5020         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5021
5022 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5023
5024         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5025         nestings
5026
5027 2003-11-04  André Pönitz  <poenitz@gmx.net>
5028
5029         * cursor.[Ch]: restructure
5030
5031         * BufferView.[Ch]:
5032         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5033
5034         * iterators.[Ch] (asCursor): remove
5035
5036         * lfuns.h: remove LFUN_INSET_EDIT
5037
5038         * lyxfunc.C:
5039         * tabular.C:
5040         * text.C:
5041         * text2.C:
5042         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5043
5044 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5045
5046         * lyxfind.[Ch]: complete overhaul
5047         * BufferView_pimpl.C:
5048         * lyxfunc.C: adjust
5049         * paragraph.[Ch] (insert): add
5050
5051 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5052
5053         * BufferView.[Ch]:
5054         * lyxtext.h:
5055         * text.C: remove dead spellcheck code
5056
5057 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5058
5059         * dispatchresult.h: add a val setter
5060
5061         * cursor.C (dispatch): use a tempvar for data_[i]
5062
5063 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * PosIterator.[Ch]: compile fix
5066
5067 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * text.C (cursorPar): deactivate the cursor cache
5070
5071 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5072
5073         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5074
5075 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5076
5077         * text3.C (dispatch): adjust for new DisptchResult semantics.
5078
5079         * lyxfunc.C (dispatch): handle update when return from
5080         Cursor::dispatch, adjust for new DispatchResult semantics.
5081
5082         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5083         DispatchResult(true) mean to not update. Add class functions for
5084         setting dispatched and update, as well as reading.
5085
5086         * cursor.C (dispatch): don't handle update here
5087
5088 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5089
5090         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5091         * trans_mgr.C: adjust
5092
5093         * paragraph_funcs.C (readParToken): exception safety
5094
5095         * lyxvc.h: store the vcs pointer in a scoped_ptr
5096         * lyxvc.C: adjust
5097
5098         * lyxsocket.C (serverCallback): exception safety
5099
5100         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5101
5102         * ispell.C (clone): make it return a auto_ptr
5103
5104         * factory.C (createInset): exception safety
5105         (readInset): exception safety
5106
5107         * bufferlist.C (newBuffer): exception safety
5108
5109         * Thesaurus.C (Thesaurus): use initialization for aik_
5110
5111         * MenuBackend.C (expandToc): exception safety.
5112
5113 2003-11-03  André Pönitz  <poenitz@gmx.net>
5114
5115         * buffer.C:
5116         * buffer.h:
5117         * bufferview_funcs.C: remove getInsetFromId()
5118
5119         * lyxcursor.[Ch]:
5120         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5121
5122         * lyxfunc.C:
5123         * text2.C:
5124         * text3.C: adjust
5125
5126 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5127
5128         * PosIterator.C (distance, advance): new
5129         * bufferview_funcs.[Ch] (put_selection_at): new
5130         * iterators.[Ch] (lockPath): new
5131
5132 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5133
5134         * iterators.[Ch] (asPosIterator): added
5135         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5136         * PosIterator.[Ch]: added
5137
5138 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5139
5140         * text3.C:
5141         * lyxfunc.C:
5142         * cursor.C (dispatch):
5143         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5144
5145         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5146         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5147         contructor, add a class function dispatched. Remove operator>=
5148
5149 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5150
5151         * debug.C: only use the default constructor for debugstream
5152         (lyxerr) here.
5153
5154         * main.C (main): include debug.h and setup the lyxerr streambuf
5155         here.
5156
5157 2003-10-31  José Matos  <jamatos@lyx.org>
5158
5159         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5160
5161         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5162         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5163         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5164         * paragraph_pimpl.C (simpleTeXSpecialC):
5165         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5166         add LatexRunParams argument.
5167
5168         * exporter.C (Export): change call accordingly.
5169
5170         * latexrunparams.h: add new member to take care of the other backends.
5171 2003-10-30  José Matos  <jamatos@lyx.org>
5172
5173         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5174         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5175         factorise code for paragraph output.
5176         * buffer.[Ch]:
5177         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5178         move functions.
5179
5180 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5181
5182         * text3.C (dispatch):
5183         * lyxfunc.C (dispatch):
5184         * cursor.C (dispatch):
5185         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5186
5187         * dispatchresult.h: make the dispatch_result_t ctor explicit
5188
5189 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5190
5191         * sgml.[Ch]:
5192         * buffer.C: small refactoring of docbook stuff
5193
5194 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5195
5196         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5197         meaning.
5198
5199 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5202         operator dispatch_result_t, and operators for == != and >=
5203
5204         * cursor.C (dispatch): adjust for operator dispatch_result_t
5205         removal. comment out call to update
5206
5207         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5208
5209 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5210
5211         * text3.C:
5212         * text2.C:
5213         * text.C:
5214         * lyxtext.h:
5215         * lyxfunc.C:
5216         * cursor.C:
5217         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5218         (dispatch):
5219
5220         * dispatchresult.h: new file, DispatchResult broken out of
5221         insets/insetbase.h
5222
5223         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5224
5225 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5226
5227         * text.C (rowBreakPoint): put a hack inside #if 0
5228
5229 2003-10-28  André Pönitz  <poenitz@gmx.net>
5230
5231         * lyxtext.h:
5232         * metricsinfo.C:
5233         * paragraph_funcs.C:
5234         * rowpainter.C:
5235         * text.C:
5236         * text2.C: general cleanup (lots of small stuff)
5237
5238 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5239
5240         * text2.C (cursorEnd): simple fix to the "end key goes to one
5241         before the end on last row" bug
5242
5243 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5244
5245         * text.C (backspace): fix the "zombie characters"
5246
5247 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5248
5249         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5250
5251 2003-10-27  André Pönitz  <poenitz@gmx.net>
5252
5253         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5254
5255         * factory.C: handle new InsetPagebreak, InsetLine
5256
5257         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5258         and move handling into new InsetPagebreak, InsetLine
5259
5260         * BufferView_pimpl.C:
5261         * LyXAction.C:
5262         * ParagraphParameters.C:
5263         * ParameterStruct.h:
5264         * lyxfunc.C:
5265         * lyxtext.h:
5266         * paragraph.C:
5267         * paragraph.h:
5268         * paragraph_funcs.C:
5269         * paragraph_pimpl.C:
5270         * rowpainter.C:
5271         * text.C:
5272         * text2.C:
5273         * text3.C: adjust
5274
5275 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5276
5277         * text.C:
5278         * lyxrow_funcs.[Ch]:
5279         * Bidi.C:
5280         * paragraph.C:
5281         * lyxtext.h:
5282         * rowpainter.C:
5283         * text2.C:
5284         * text3.C: remove lastPos uses in favour of Row::endpos
5285
5286 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5287
5288         * undo.C (performUndoOrRedo): fix two crashes by setting a
5289         cursor by hand and reordering some calls. Use bv->lockInset instead
5290         of inset->edit because the latter loses cursor information
5291
5292 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5293
5294         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5295         by Martin
5296         (rowBreakPoint): fix width. change point to point + 1.
5297         Add a missing check.
5298
5299 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5300
5301         * MenuBackend.C:
5302         * lyxfunc.C: fix (at least partly) the problems
5303         with the Nav menu and headers inside branch insets
5304         reported by Kayvan
5305
5306 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5307
5308         * paragraph.C (getChar): add strong asserts
5309
5310         * lyxrow_funcs.C (lastPos): remove hideous hack
5311
5312         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5313         (fill): adjust to that (avoid an infinite loop)
5314
5315 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5316
5317         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5318
5319 2003-10-23  André Pönitz  <poenitz@gmx.net>
5320
5321         * RowList_fwd.h: change list<> to vector<> to gain speed
5322         after suggestion from Alfredo
5323
5324 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5325
5326         * lyxtext.h: move the bidi stuff from here...
5327         * text.C: and here
5328         * text2.C: and here
5329         * Bidi.[Ch]: ... to here
5330
5331 2003-10-23  André Pönitz  <poenitz@gmx.net>
5332
5333         * lyxtext.h:
5334         * text.C (isLastRow, isFirstRow): new functions
5335
5336         * paragraph.h: new width cache member
5337
5338         * rowpainter.C: replace RowList::iterator with Row & where possible
5339
5340         * lyxfunc.C: replace several view()->text with a single call
5341
5342         * toc.C: fix 'unused' warning
5343
5344 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5345
5346         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5347         when woring with stream::pos_type
5348         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5349
5350 2003-10-22  André Pönitz  <poenitz@gmx.net>
5351
5352         * lyxtext.h:
5353         * text.C: use Row & instead of RowList::iterator
5354
5355         * lyxrow.h: rename end() to endpos()
5356
5357         * rowpainter.C:
5358         * text.C:
5359         * text2.C: adjust
5360
5361 2003-10-22  Angus Leeming  <leeming@lyx.org>
5362
5363         * buffer.[Ch] (fully_loaded): new member function, returning true
5364         only when the file has been loaded fully.
5365         Used to prevent the premature generation of previews and by the
5366         citation inset to prevent computation of the natbib-style label.
5367
5368         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5369         templates are all set up.
5370
5371         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5372
5373 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5374
5375         * text.C: fixed an "oops" in the "is a bit silly"
5376         bug fix
5377
5378 2003-10-21  André Pönitz  <poenitz@gmx.net>
5379
5380         * FuncStatus.[Ch]: small stuff, whitespace
5381
5382         * lyxfont.[Ch]: operator<<() for debug reasons
5383
5384         * lyxfunc.C:
5385         * lyxrow_funcs.C:
5386         * lyxtext.h: whitespace, spelling
5387
5388         * paragraph.C: naming of variables
5389
5390         * text.C:
5391         * text2.C: small stuff
5392
5393
5394 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5395
5396         * text.C: (1) finish off the inset display() work;
5397         (2) fix the "is a bit silly" bug (accessing char
5398         past end of par).
5399
5400 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5401
5402         * text.C: re-introduce display() for insets, fixing the
5403         various bugs (stretch of line above, math inset
5404         positioning, ...)
5405
5406 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5407
5408         * text.C (rightMargin): remove spurious semicolon
5409
5410         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5411         1415)
5412
5413 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5414
5415         * text3.C: fix one crash due to wrong cursor def
5416
5417 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5418
5419         * vc-backend.C (scanMaster): make the regex static
5420
5421         * LaTeX.C (scanAuxFile): make the regexs static
5422
5423         * text3.C (doInsertInset, dispatch, dispatch):
5424         * text2.C (cursorUp, cursorDown):
5425         * text.C (selectNextWordToSpellcheck):
5426         * BufferView_pimpl.C (dispatch):
5427         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5428
5429 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5430
5431         * lyxsocket.C: include <cerrno>
5432
5433 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5434
5435         * lyxfunc.C (dispatch): remove textcache stuff
5436
5437         * bufferlist.C (release): remove textcache stuff
5438         (closeAll): ditto
5439
5440         * TextCache.C: delete file
5441         * TextCache.h: delete file
5442
5443         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5444
5445         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5446         delete of the bv_->text.
5447         (resizeCurrentBuffer): remove texcache stuff
5448         (workAreaResize): ditto
5449
5450 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5451
5452         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5453         action.
5454
5455 2003-10-16  André Pönitz  <poenitz@gmx.net>
5456
5457         * lyxrow.[Ch]:
5458         * paragraph.h:
5459         * rowpainter.C:
5460         * text.C:
5461         * text2.C:
5462         * text3.C: speed up by storing y positions per paragraph plus per-row
5463         offset instead of having a 'full' y position in the row.
5464
5465 2003-10-15  André Pönitz  <poenitz@gmx.net>
5466
5467         * iterators.[Ch]:
5468         * iterators.[Ch]:
5469         * undo.[Ch]: make undo aware of inner insets
5470
5471 2003-10-14  Angus Leeming  <leeming@lyx.org>
5472
5473         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5474         static member functions LyX::ref() and LyX::cref.
5475         (lastfiles): new accessor functions for the new lastfiles_ member var.
5476         (addLyXView, views_): add a new LyXView to the list of views_.
5477         (updateInset): loop over all LyXViews to call their own updateInset
5478         member function, returning a pointer to the Buffer owning the inset.
5479
5480         * BufferView_pimpl.C (loadLyXFile):
5481         * MenuBackend.C (expandLastfiles):
5482         * bufferlist.C (MenuWrite, QuitLyX):
5483         lastfiles is no longer a global variable.
5484         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5485
5486         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5487         static function. Access through LyX::cref().emergencyCleanup().
5488
5489 2003-10-14  André Pönitz  <poenitz@gmx.net>
5490
5491         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5492
5493         * undo.[Ch]: restoring part of 'undo in insets'
5494
5495         * Makefile.am:
5496         * undo_funcs.[Ch]: merge with undo.[Ch]
5497
5498         * tabular.C: small cleansing stuff
5499
5500 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5501
5502         * paragraph_funcs.C (readParToken): report unknown insets as error
5503         boxes. Use the outer paragraph as location (also for unknown
5504         tokens).
5505
5506         * factory.C (readInset): do not abort on reading an unknown inset.
5507         Eat it and return 0.
5508
5509 2003-10-13  Angus Leeming  <leeming@lyx.org>
5510
5511         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5512
5513         * lyxrc.C: displayTranslator is now a function,
5514         declared in GraphicsTypes.h.
5515
5516 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5517
5518         * format.C: new placeholder $$a to pass the socket address.
5519
5520         * bufferlist.[Ch]: new function getBufferFromTmp.
5521
5522         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5523           files in the temporary dir.
5524
5525 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5526
5527         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5528
5529         * Makefile.am: add lyxsocket.[Ch].
5530
5531         * lyx_main.C (error_handler): handle SIGPIPE.
5532
5533 2003-10-13  André Pönitz  <poenitz@gmx.net>
5534
5535         * BufferView_pimpl.C:
5536         * lyxtext.h:
5537         * text.C:
5538         * text2.C:
5539         * text3.C:
5540         * undo_funcs.[Ch]: use paroffset_type instead of
5541           ParagraphList::iterators to prevent multiple conversion
5542           (and get a more robust interface)
5543
5544 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5545
5546         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5547         * lyxtext.h: ditto
5548         * text3.C (dispatch): ditto
5549
5550 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5551
5552         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5553         move the onlyfile, use onlyfile instead of foundfile in a couple
5554         of places.
5555
5556         * DepTable.C (update): flush the error stream a bit more
5557
5558 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5559
5560         * lyxserver.C (callback): adjust
5561
5562         * lyxfunc.C (getStatus): add a missing brace in commented code
5563         (ensureBufferClean): reindent
5564         (dispatch): delete version taking a string
5565
5566 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5567
5568         * LaTeX.C (deplog): move found file handlig from here...
5569         (handleFoundFile): .. to new function here.
5570         (deplog): make sure to discover several files mentioned on the
5571         same log line.
5572
5573 2003-10-10  André Pönitz  <poenitz@gmx.net>
5574
5575         * lyxfunc.C:
5576         * lyxtext.h:
5577         * tabular.C:
5578         * text.C:
5579         * text2.C:
5580         * text3.C: fix some of the tabular crashes
5581
5582 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5583
5584         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5585
5586         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5587
5588 2003-10-09  André Pönitz  <poenitz@gmx.net>
5589
5590         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5591
5592         * BufferView.C:
5593         * BufferView_pimpl.C:
5594         * bufferview_funcs.C:
5595         * lyx_cb.C:
5596         * lyxcursor.C:
5597         * lyxfind.C:
5598         * lyxfunc.C:
5599         * lyxtext.h:
5600         * text.C:
5601         * text2.C:
5602         * text3.C:
5603         * text_funcs.[Ch]:
5604         * textcursor.[Ch]:
5605         * undo_funcs.C: adjust
5606
5607 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5608
5609         * text2.C (incrementItemDepth): new function, use a backtracking
5610         algorithm to discover the correct item depth.
5611         (resetEnumCounterIfNeeded): new function, use a backtracking
5612         algorithm to discover if counter reset is needed.
5613         (setCounter): use them. Simplify a bit. Add different labels for
5614         different item depths for itemize.
5615
5616         * paragraph.C (Paragraph): remove initialization of enumdepth
5617         (operator=): ditto
5618
5619         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5620         enumerate and itemize. Change the type of itemdepth to signed char.
5621
5622 2003-10-08  André Pönitz  <poenitz@gmx.net>
5623
5624         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5625           thing assignable.
5626         * text.C:
5627         * text2.C: adjust
5628
5629         * tabular.[Ch]: fix crash after 'row-insert'
5630
5631 2003-10-08  Angus Leeming  <leeming@lyx.org>
5632
5633         Fix doxygen warnings.
5634
5635         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5636         Remove CutAndPaste:: prefix from header file declaration.
5637
5638         * LColor.h (fill): remove LColor:: prefix from declaration.
5639
5640         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5641         use lyx::depth_type rather than Paragraph::depth_type so that
5642         header file and .C file match.
5643
5644         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5645
5646         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5647         * aspell.C: \file aspell_local.C -> \file aspell.C
5648         * gettext.C: \file gettext.C -> \file src/gettext.C
5649         * gettext.h: \file gettext.h -> \file src/gettext.h
5650         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5651         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5652         * text.C: \file text.C -> \file src/text.C
5653
5654         * toc.C: move comment so that doxygen is not confused.
5655
5656 2003-10-07  Angus Leeming  <leeming@lyx.org>
5657
5658         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5659
5660 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5661
5662         * aspell.C:
5663         * aspell_local.h: add forgotten std::string's.
5664
5665 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5666
5667         * LaTeXFeatures.C:
5668         * LyXAction.C:
5669         * factory.C:
5670         * lfuns.h:
5671         * lyxfunc.C:
5672         * text3.C: The Box patch. Fancybox support, minipage, parbox
5673
5674 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5675
5676         * CutAndPaste.h:
5677         * DepTable.h:
5678         * FloatList.h:
5679         * LaTeXFeatures.h:
5680         * ParagraphParameters.h:
5681         * TextCache.h:
5682         * Thesaurus.h:
5683         * bufferlist.h:
5684         * exporter.h:
5685         * importer.h:
5686         * lastfiles.h:
5687         * lyxfind.h:
5688         * lyxfont.h:
5689         * lyxlex.h:
5690         * lyxtextclasslist.h:
5691         * messages.h:
5692         * paragraph.h:
5693         * paragraph_pimpl.C:
5694         * textcursor.h: add <string> and other small fixes to make Lars'
5695         std::string patch compile with STLport.
5696
5697 2003-10-06  Angus Leeming  <leeming@lyx.org>
5698
5699         * LColor.h: Add missing #include <string>.
5700
5701 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5702
5703         * All most all file in all subdirs: Make <string> be the prefered
5704         way of getting to std::string, add using declarations.
5705
5706 2003-10-06  André Pönitz  <poenitz@gmx.net>
5707
5708         * metricsinfo.C: initialize LyXFont before changing attribute.
5709         (fixes the 'math in \emph is upright' bug)
5710
5711 2003-10-06  André Pönitz  <poenitz@gmx.net>
5712
5713         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5714
5715 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5716
5717         * graph.C:
5718         * paragraph_pimpl.C: Small fixes to build using STLport
5719
5720 2003-10-02  André Pönitz  <poenitz@gmx.net>
5721
5722         * lyxfunc.C:
5723         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5724
5725 2003-10-01  André Pönitz  <poenitz@gmx.net>
5726
5727         * factory.C: assert early
5728
5729 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5730
5731         * lyx_main.C: remove the global debug object
5732
5733         * debug.h: adjust for new debugstream
5734
5735         * debug.C: adjust for new debugstream and keep the global debug
5736         object here.
5737
5738 2003-09-22  Angus Leeming  <leeming@lyx.org>
5739
5740         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5741         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5742         an incomplete class LyXFont.
5743
5744 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5745
5746         * factory.C: bug fix in branches
5747
5748 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5749
5750         * lyxfunc.C (processKeySym): adjust
5751         (dispatch): adjust
5752         (dispatch): change arg name from ev to func, adjust
5753         (sendDispatchMessage): ditto
5754
5755         * lyx_main.C (defaultKeyBindings): adjust keybindings
5756         (deadKeyBindings): ditto
5757
5758         * kbsequence.C (addkey): return a FuncRequest
5759
5760         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5761
5762         * kbmap.C (bind): take a FuncRequest as arg, adjust
5763         (read): adjust
5764         (lookup): adjust
5765         (defkey): change to take a FuncRequest as arg, adjust
5766         (findbinding): take a FuncRequest as arg, adjust.
5767
5768         * funcrequest.h (operator=): added
5769
5770         * funcrequest.C (FuncRequest): default kb_action changed from
5771         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5772
5773         * buffer.C (dispatch): simplify
5774         (dispatch): adjust to take a FuncRequest as arg, adjust
5775
5776         * boost.C (assertion_failed): change assertion message slightly
5777
5778         * ToolbarBackend.C (read): simplify
5779
5780         * MenuBackend.C (binding): adjust call to findbinding, add a
5781         message if no binding is found.
5782         (read): simplify
5783         (expandToc): correct by adding a empty FuncRequest
5784
5785         * LyXAction.C: include <boost/assert.hpp>
5786         (isPseudoAction): delete function
5787         (LookupFunc): change name to...
5788         (lookupFunc): this. change return type to FuncRequest.
5789         (getActionName): take kb_action as arg, simplify
5790         (funcHasFlag): add an assert, simplify.
5791
5792 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5793
5794         * toc.C (action): return a FuncRequest, simplify
5795
5796         * lyxfunc.C (processKeySym): adjust
5797         (getStatus): delete version that takes an int.
5798         (getStatus): adjust
5799         (dispatch): delete version that takes action as int
5800         (dispatch): adjust
5801         (sendDispatchMessage): simplify and adjust
5802
5803         * funcrequest.C (getArg): take unsigned int as arg
5804
5805         * ToolbarBackend.C (read): adjust
5806         (add): delete version that takes func as a string.
5807         (getIton): take a FuncRequest as arg
5808
5809         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5810         action.
5811
5812         * MenuBackend.C (MenuItem): add a new construct that only takes a
5813         Kind, simplify the constructor use for submenus.
5814         (add): adjust
5815         (expandLastfiles): adjust
5816         (expandDocuments): adjust
5817         (expandFormats): adjust
5818         (expandFloatListInsert): adjust
5819         (expandFloatInsert): adjust
5820         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5821
5822         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5823         Remove class variables lyx_pseudo_map and lyx_arg_map
5824
5825         * LyXAction.C (searchActionArg): delete function
5826         (getPseudoAction): delete function
5827         (retrieveActionArg): delete function
5828         (LookupFunc): make it return kb_action, simplify.
5829         (getActionName): simplify
5830
5831         * factory.C (createInset): fix new bug
5832
5833 2003-09-19  Angus Leeming  <leeming@lyx.org>
5834
5835         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5836         masterFilename_ parameter in the include inset.
5837
5838         * factory.C (createInset): changes due to the changes to InsetInclude.
5839
5840 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5841
5842         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5843
5844 2003-09-18  Angus Leeming  <leeming@lyx.org>
5845
5846         * buffer.C:
5847         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5848         Inset::fillWithBibKeys.
5849         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5850
5851 2003-09-18  Angus Leeming  <leeming@lyx.org>
5852
5853         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5854         variables.
5855         (ctor): pass and store a 'Buffer const &'
5856         (buffer): new member function.
5857
5858         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5859         '*this' to the LaTeXFeatures ctor.
5860
5861 2003-09-18  Angus Leeming  <leeming@lyx.org>
5862
5863         * LColor.h:
5864         * lyxfont.C:
5865         * lyxfont.h:
5866         * lyxtext.h:
5867         * text.C: rename EnumLColor as LColor_color.
5868
5869 2003-09-18  Angus Leeming  <leeming@lyx.org>
5870
5871         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5872         remove #include "insets/insetbase.h" from cursor.h.
5873
5874 2003-09-18  Angus Leeming  <leeming@lyx.org>
5875
5876         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5877         InsetOld_code to remove #include "inset.h".
5878
5879         * iterators.C: add #include "insets/inset.h"
5880
5881 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5882
5883         * BufferView.C: remove more locking stuff that apparently doesn't
5884         do anything sensible.
5885
5886 2003-09-16  André Pönitz  <poenitz@gmx.net>
5887
5888         * paragraph.[Ch]:
5889         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5890           performance boost.
5891
5892 2003-09-16  Angus Leeming  <leeming@lyx.org>
5893
5894         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5895
5896         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5897         arg/return type.
5898
5899         * paragraph.h: remove #include "lyxfont.h". Forward declare
5900         LyXFont_size.
5901
5902 2003-09-16  Angus Leeming  <leeming@lyx.org>
5903
5904         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5905         of support/textutils.h.
5906         (isWord): move the contents of support/textutils.h's IsWordChar here.
5907
5908         * buffer.C:
5909         * lyxfind.C:
5910         * rowpainter.C:
5911         * text.C:
5912         * text2.C: add #include "paragraph.h".
5913
5914         * rowpainter.C:
5915         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5916
5917 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5918
5919         * main.C:
5920         * lyx_main.C:
5921         * lyx_cb.C:
5922         * buffer.C:
5923         * LaTeX.C: use namespace alias for lyx::support::os
5924
5925 2003-09-16  Angus Leeming  <leeming@lyx.org>
5926
5927         * bufferparams.C:
5928         * bufferview_funcs.C:
5929         * factory.C:
5930         * lyxfunc.C:
5931         * paragraph_pimpl.C:
5932         * rowpainter.C:
5933         * text.C: add #include "LColor.h".
5934
5935 2003-09-16  Angus Leeming  <leeming@lyx.org>
5936
5937         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5938         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5939         return LyXFont &.
5940         Store the FontBits::color variable as an int rather than as an
5941         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5942         file.
5943
5944         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5945         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5946         string calls together.
5947
5948         * lyxrc.C: add #include "LColor.h".
5949
5950 2003-09-15  Angus Leeming  <leeming@lyx.org>
5951
5952         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5953         a cow_ptr.
5954
5955 2003-09-15  Angus Leeming  <leeming@lyx.org>
5956
5957         * LColor.h: add an EnumLColor wrapper for LColor::color.
5958
5959         * lyxfont.[Ch] (color, setColor, realColor):
5960         * lyxtext.h, text.C (backgroundColor):
5961         pass EnumLColor args to/from the functions, rather than LColor::color
5962         ones.
5963
5964         * lyxfont.h:
5965         * lyxtext.h: forward declare EnumLColor.
5966
5967         * lyx_main.C: add #include "LColor.h".
5968
5969 2003-09-15  Angus Leeming  <leeming@lyx.org>
5970
5971         * .cvsignore: add lyx-gtk.
5972
5973 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5974
5975         * Chktex.C
5976         * LaTeX.C
5977         * LaTeXFeatures.C
5978         * ParagraphParameters.C
5979         * Spacing.C
5980         * buffer.C
5981         * bufferparams.C
5982         * bufferview_funcs.C
5983         * chset.C
5984         * counters.C
5985         * funcrequest.C
5986         * lyxfont.C
5987         * lyxgluelength.C
5988         * lyxlength.C
5989         * paragraph.C
5990         * paragraph_funcs.C
5991         * text3.C
5992         * vc-backend.C: remove usage of STRCONV
5993
5994 2003-09-15  Angus Leeming  <leeming@lyx.org>
5995
5996         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5997         explicitly define the color passed to the painter.
5998
5999 2003-09-15  Angus Leeming  <leeming@lyx.org>
6000
6001         * bufferparams.C (BufferParams): reorder member initializers to avoid
6002         compiler warning.
6003
6004 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6005
6006         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6007         * text.C (updateRowPositions): remove an unusual nop
6008
6009 2003-09-12  André Pönitz  <poenitz@gmx.net>
6010
6011         * BufferView_pimpl.C:
6012         * Bullet.C:
6013         * layout.h:
6014         * lyxfunc.C:
6015         * lyxlayout.[Ch]:
6016         * lyxtextclass.C:
6017         * rowpainter.C:
6018         * text.C:
6019         * text2.C:
6020         * Counters.[Ch]: finish the 'automatic counters' job
6021
6022 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6023
6024         * aspell.C: include <boost/assert.cpp> (compile fix)
6025
6026 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6027
6028         * boost.C (assertion_failed): use lyx::support::abort instead of
6029         assert.
6030
6031 2003-09-10  Angus Leeming  <leeming@lyx.org>
6032
6033         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6034         with their _fwd progeny.
6035
6036 2003-09-09  Angus Leeming  <leeming@lyx.org>
6037
6038         134 files throughtout the source tree: replace 'using namespace abc;'
6039         directives with the appropriate 'using abc::xyz;' declarations.
6040
6041 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6042
6043         * boost.C (emergencyCleanup): moved here from LAssert.c
6044         (assertion_failed): new function, called by BOOST_ASSERT
6045
6046         * several files: change Assert to BOOST_ASSERT
6047
6048 2003-09-09  Angus Leeming  <leeming@lyx.org>
6049
6050         * buffer.[Ch]: Add an Impl class and move Buffer's member
6051         variables into it. As a result move several header files out of
6052         buffer.h.
6053
6054         Add header files to lots of .C files all over the tree as a result.
6055
6056 2003-09-09  Angus Leeming  <leeming@lyx.org>
6057
6058         * buffer.[Ch]: make Buffer's member variables private. Add
6059         accessor functions.
6060
6061         Lots of changes all over the tree as a result.
6062
6063 2003-09-08  Angus Leeming  <leeming@lyx.org>
6064
6065         * graph.C: #include <config.h>.
6066
6067 2003-09-08  Angus Leeming  <leeming@lyx.org>
6068
6069         * BranchList.C:
6070         * BufferView.C:
6071         * BufferView_pimpl.C:
6072         * CutAndPaste.C:
6073         * DepTable.C:
6074         * LaTeX.C:
6075         * LaTeXFeatures.C:
6076         * LyXAction.C:
6077         * MenuBackend.C:
6078         * TextCache.C:
6079         * aspell.C:
6080         * buffer.C:
6081         * bufferlist.C:
6082         * changes.C:
6083         * chset.C:
6084         * converter.C:
6085         * counters.C:
6086         * debug.C:
6087         * graph.C:
6088         * ispell.C:
6089         * lyx_cb.C:
6090         * lyxfind.C:
6091         * lyxfunc.C:
6092         * lyxlex_pimpl.C:
6093         * lyxrc.C:
6094         * lyxrow.C:
6095         * paragraph.C:
6096         * rowpainter.C:
6097         * texrow.C:
6098         * text.C:
6099         * text2.C:
6100         * toc.C: remove redundant using directives.
6101
6102 2003-09-07  Angus Leeming  <leeming@lyx.org>
6103
6104         * LaTeXFeatures.h: remove #include "support/types.h".
6105         * ToolbarBackend.h: remove #include <algorithm>.
6106         * changes.h: remove #include <ctime>.
6107         * debug.h: remove #include <iosfwd>.
6108         * graph.h: remove #include "support/std_string.h".
6109         * lyx_main.h: remove #include <csignal>.
6110         * lyxlex_pimpl.h: remove #include <fstream>.
6111         * sgml.h: remove #include <algorithm>, <utility>.
6112         * toc.h: remove #include "support/std_ostream.h".
6113         Add #include <iosfwd>.
6114
6115 2003-09-07  Angus Leeming  <leeming@lyx.org>
6116
6117         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6118
6119         * converter.h: forward declare LatexRunParams.
6120         * encoding.h: remove #include "lyxrc.h".
6121         * lyxtext.h: remove #include "LColor.h".
6122         * lyxtextclass.h: remove #include "support/types.h".
6123         * trans.h: remove #include "tex-accent.h".
6124         * trans_mgr.h: remove #include "tex-accent.h".
6125         * insets/inset.h: remove #include "support/types.h", <vector>.
6126         * insets/insetcollapsable.h: remove #include "LColor.h".
6127         * insets/insetinclude.h: remove #include "dimension.h".
6128         * insets/insetlatexaccent.h: remove #include "dimension.h".
6129         * insets/insetoptarg.h:: remove #include "insettext.h".
6130         * insets/insettext.h: remove #include "dimension.h",
6131         <boost/shared_ptr.hpp>
6132
6133         * insets/renderers.h: add #include "dimension.h".
6134         * insets/updatableinset.h: add #include "support/types.h".
6135
6136         * many .C files: Associated changes.
6137
6138 2003-09-06  Angus Leeming  <leeming@lyx.org>
6139
6140         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6141         one, inside testInvariant.
6142
6143         * PrinterParams.C: new file.
6144         * PrinterParams.[Ch]: move the function bodies out of line.
6145
6146 2003-09-06  Angus Leeming  <leeming@lyx.org>
6147
6148         * ParagraphParameters.h: forward declare ParameterStruct rather than
6149         including its header file.
6150         (depth): moved out-of-line.
6151
6152 2003-09-06  Angus Leeming  <leeming@lyx.org>
6153
6154         * BufferView_pimpl.h:
6155         * kbmap.h:
6156         * kbsequence.h:
6157         * lyxfunc.h: forward declare LyXKeySym rather than
6158         #include "frontends/LyXKeySym.h".
6159
6160         * BufferView_pimpl.C:
6161         * kbmap.C:
6162         * kbsequence.C:
6163         * lyxfunc.C: associated changes.
6164
6165 2003-09-06  Angus Leeming  <leeming@lyx.org>
6166
6167         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6168         As a result, can remove the #include "insets/inset.h" from BufferView.h
6169
6170 2003-09-06  Angus Leeming  <leeming@lyx.org>
6171
6172         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6173         As a result, can remove the #include "insets/inset.h" from BufferView.h
6174
6175 2003-09-06  Angus Leeming  <leeming@lyx.org>
6176
6177         * buffer_funcs.C:
6178         * buffer.h:
6179         * bufferlist.C:
6180         * BufferView.C:
6181         * bufferview_funcs.C:
6182         * BufferView_pimpl.C:
6183         * CutAndPaste.C:
6184         * lyx_cb.C:
6185         * lyxfunc.C:
6186         * paragraph.h:
6187         * ParagraphParameters.C:
6188         * tabular.C:
6189         * text3.C:
6190         * toc.C:
6191         * undo_funcs.C:
6192         * frontends/controllers/ControlDocument.C:
6193         * insets/insetcaption.C: rearrange the #includes into some sort of
6194         coherent order.
6195
6196         * buffer.h: remove #includes ErrorList.h, undo.h
6197
6198 2003-09-06  Angus Leeming  <leeming@lyx.org>
6199
6200         * support/types.h: add a 'depth_type' typedef, used to store the
6201         nesting depth of a paragraph.
6202
6203         * paragraph.h:
6204         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6205         defining explicitly.
6206
6207         * buffer.h:
6208         * paragraph_funcs.h:
6209         * ParagraphParameters.h:
6210         * sgml.h: use lyx::depth_type rather than Paragraph or
6211         ParameterStruct's depth_type.
6212
6213         * buffer.h
6214         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6215
6216         * BufferView.C:
6217         * BufferView_pimpl.C:
6218         * CutAndPaste.C:
6219         * ParagraphParameters.C:
6220         * buffer_funcs.C:
6221         * bufferlist.C:
6222         * bufferview_funcs.C:
6223         * lyx_cb.C:
6224         * lyxfunc.C:
6225         * tabular.C:
6226         * text3.C:
6227         * toc.C:
6228         * undo_funcs.C:
6229         * frontends/LyXView.C:
6230         * frontends/controllers/ControlDocument.C:
6231         * frontends/controllers/ControlErrorList.C:
6232         * insets/insetbibitem.C:
6233         * insets/insetbranch.C:
6234         * insets/insetcaption.C:
6235         * insets/insetcollapsable.C:
6236         * insets/insetenv.C:
6237         * insets/insetert.C:
6238         * insets/insetfloat.C:
6239         * insets/insetfoot.C:
6240         * insets/insetfootlike.C:
6241         * insets/insetnewline.C:
6242         * insets/insetquotes.C:
6243         * insets/insettabular.C:
6244         * insets/insettext.C:
6245         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6246
6247         * frontends/controllers/ControlChanges.C: #include "changes.h".
6248
6249 2003-09-06  Angus Leeming  <leeming@lyx.org>
6250
6251         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6252         than #including paragraph.h.
6253
6254         * ParagraphList.h:
6255         * RowList.h: deleted. Superfluous.
6256
6257         * CutAndPaste.h:
6258         * iterators.h:
6259         * lyxcursor.h:
6260         * lyxtext.h:
6261         * text_funcs.h:
6262         * undo.h:
6263         * undo_funcs.h:
6264         * insets/inset.h:
6265         * insets/insettext.h: use ParagraphList_fwd.h rather than
6266         ParagraphList.h.
6267
6268         * paragraph.h: don't forward declare ParagraphList.
6269
6270         * buffer.h:
6271         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6272         rather than ParagraphList.h. paragraph.h is still needed for the
6273         Paragraph::depth_type parameters.
6274
6275         * textcursor.h: enable it to compile stand-alone in light of the
6276         above changes.
6277
6278         * bufferview_funcs.C:
6279         * iterators.C:
6280         * lyxfunc.C:
6281         * lyxrow_funcs.C:
6282         * paragraph.C:
6283         * rowpainter.C:
6284         * text.C:
6285         * text2.C:
6286         * text3.C:
6287         * text_funcs.C:
6288         * textcursor.C:
6289         * undo.C:
6290         * frontends/controllers/ControlParagraph.C:
6291         * frontends/controllers/ControlTabular.C:
6292         * insets/insetmarginal.C:
6293         * insets/insetminipage.C:
6294         * insets/insetnote.C:
6295         * insets/insetoptarg.C: add header files needed to compile again.
6296
6297 2003-09-06  Angus Leeming  <leeming@lyx.org>
6298
6299         * RowList_fwd.h: new file, forward-declaring Row rather than
6300         #including lyxrow.h.
6301
6302         * lyxrow_funcs.h:
6303         * lyxtext.h:
6304         * paragraph.h:
6305         * insets/insettext.h: use it instead of RowList.h
6306
6307         * bufferview_funcs.C:
6308         * lyxfunc.C:
6309         * lyxrow_funcs.C:
6310         * paragraph.C:
6311         * rowpainter.C:
6312         * text.C:
6313         * text2.C:
6314         * text3.C: #include "RowList.h".
6315
6316 2003-09-05  Angus Leeming  <leeming@lyx.org>
6317
6318         * factory.C (createInset):
6319         * vspace.C (c-tor): replace sscanf call with an istringstream.
6320         * ispell.C: re-add missing HP/UX headers.
6321         * lyxserver.C: re-add missing  os2 headers.
6322
6323 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6324
6325         * BranchList.C:
6326         * graph.C:
6327         * ispell.C:
6328         * lastfiles.C:
6329         * lyx_cb.C:
6330         * lyxserver.C:
6331         * texrow.C:
6332         * text3.C: re-add missing system headers, needed for 2.95.2.
6333
6334 2003-09-05  Angus Leeming  <leeming@lyx.org>
6335
6336         Changes most place everywhere due to the removal of using directives
6337         from support/std_sstream.h.
6338
6339 2003-09-05  Angus Leeming  <leeming@lyx.org>
6340
6341         Replace LString.h with support/std_string.h,
6342         Lsstream.h with support/std_sstream.h,
6343         support/LIstream.h with support/std_istream.h,
6344         support/LOstream.h with support/std_ostream.h.
6345
6346         Changes resulting throughout the tree.
6347
6348 2003-09-05  Angus Leeming  <leeming@lyx.org>
6349
6350         * sgml.h: ensure that the header file can be compiled stand-alone.
6351         * *.C: strip out redundant #includes. (320 in total.)
6352
6353 2003-09-04  Angus Leeming  <leeming@lyx.org>
6354
6355         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6356         here (from getPackages).
6357
6358         * debug.[Ch]: add a new EXTERNAL tag.
6359
6360 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6361
6362         * text2.C (cursorEnd): simplify
6363         (setCursor): adjust
6364         (getColumnNearX): adjust
6365
6366         * text.C (computeBidiTables): adjust
6367         (fill): adjust
6368
6369         * rowpainter.C (paintChars): adjust
6370         (paintSelection): adjust
6371         (paintChangeBar): adjust
6372         (paintText): adjust
6373
6374         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6375         lastPos instead.
6376         (numberOfSeparators): adjust
6377
6378 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6379
6380         * LyXAction.C:
6381         * box.[Ch]:
6382         * lfuns.h:
6383         * lyxfunc.C:
6384         * text3.C: Restricts the mouse click functionality
6385         of insets like bibtex, include, toc and floatlist to the visible
6386         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6387         up the dialogs. Cursor has to be in front of the inset (i.e.
6388         start of row) for this to function.
6389
6390 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6391
6392         * bufferview_funcs.C (currentState): output row information
6393
6394 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6395
6396         * bufferview_funcs.C (currentState): output paragraph position
6397
6398 2003-09-04  Angus Leeming  <leeming@lyx.org>
6399
6400         * FloatList.h: move out #include "Floating.h".
6401         * LaTeX.h: move out #include "DepTable.h".
6402         * LyXAction.h: move out #include "funcrequest.h".
6403         * buffer.h: move out #include "author.h", "iterators.h".
6404         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6405         * lyx_main.h: move out #include "errorlist.h".
6406         * lyxfunc.h: move out #include "FuncStatus.h".
6407         * lyxtext: move out #include "lyxcursor.h".
6408         * paragraph_pimpl.h: move out #include "counters.h".
6409
6410 2003-09-03  Angus Leeming  <leeming@lyx.org>
6411
6412         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6413         preamble_snippets list, enabling us to add snippets to the preamble
6414         only if the snippet was not there already.
6415
6416 2003-09-04  Angus Leeming  <leeming@lyx.org>
6417
6418         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6419
6420 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6421
6422         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6423         update
6424
6425 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6426
6427         * BranchList.C: point fix, earlier forgotten
6428
6429 2003-09-02  Angus Leeming  <leeming@lyx.org>
6430
6431         * box.C (contains): renamed from 'contained' after a fantastic
6432         amount of hot air.
6433
6434 2003-09-02  John Levon  <levon@movementarian.org>
6435
6436         * BufferView.C:
6437         * lyxcursor.h:
6438         * lyxcursor.C:
6439         * lyxfunc.C:
6440         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6441
6442 2003-09-02  John Levon  <levon@movementarian.org>
6443
6444         * text2.C: simplification of cursorEnd(), including partial
6445         fix for bug 1376
6446
6447 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6448
6449         * buffer.C (readFile): add a space
6450
6451 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6452
6453         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6454
6455 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6456
6457         * buffer.C (readFile): new function, take a filename and a
6458         ParagraphList::iterator
6459         (readFile): adjust
6460         (readFile): adjust, make it private. don't use setStream, make
6461         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6462         always contain the filename.
6463
6464         * BufferView.C (insertLyXFile): simplify and make it work for
6465         gzipped files.
6466
6467 2003-08-30  John Levon  <levon@movementarian.org>
6468
6469         * Makefile.am: fix dist (from Kayvan)
6470
6471 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6472
6473         * most files: change to use const Buffer refs
6474
6475 2003-08-27  André Pönitz  <poenitz@gmx.net>
6476
6477         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6478         on top of ownerPar().
6479
6480 2003-08-27  John Levon  <levon@movementarian.org>
6481
6482         * funcrequest.C: properly initialise POD members
6483
6484 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6485
6486         * lyxtext.h (top_y): move top_y from here
6487         * text.C:
6488         * text2.C:
6489         * text3.C:
6490         * BufferView.[Ch]:
6491         * BufferView_pimpl.[Ch]: to here
6492         * frontends/screen.C:
6493         * insets/insettabular.C:
6494         * insets/insettext.C: adjust
6495         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6496
6497 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6498
6499         * BufferView.[Ch]:
6500         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6501
6502 2003-08-26  André Pönitz  <poenitz@gmx.net>
6503
6504         * paragraph_func.[Ch] (outerPar): new function
6505
6506         * paragraph.C:
6507         * paragraph_funcs.C:
6508         * paragraph_funcs.h:
6509         * paragraph_pimpl.C:
6510         * text2.C: remove Inset::par_owner
6511
6512 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6513
6514         * lyxrow_funcs.C:
6515         * lyxtext.h:
6516         * text.C:
6517         * text2.C: eliminates the needFullRow/display() stuff
6518         altogether, putting the logic in metrics/draw in the insets.
6519
6520 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6521
6522         * text2.C (redoParagraphInternal, redoParagraphs):
6523         * text.C (redoParagraph): add a call to updateRowPositions at the
6524         end of each 'metrics-like' call. Remove all others.
6525         (getRow): remove the 'y-computing' version.
6526         (getRowNearY): do not compute nor return the real y. Solve the
6527         'y < 0' problem and simplify.
6528
6529 2003-08-22  Angus Leeming  <leeming@lyx.org>
6530
6531         * *.[Ch]: clean-up of licence and author blurbs.
6532         Also move config.h out of a few .h files and into a few .C files.
6533
6534 2003-08-22  André Pönitz  <poenitz@gmx.net>
6535
6536         * lyxrow.[Ch]: add x_ and *fill_ members
6537
6538         * lyxtext.h:
6539         * text.C:
6540         * rowpainter.C:
6541         * text2.C: adjust/remove prepareToPrint() calls
6542
6543 2003-08-22  André Pönitz  <poenitz@gmx.net>
6544
6545         * lyxrow.[Ch]: add  end_ member
6546
6547         * lyxrow_funcs.C: use LyXRow::end_
6548
6549         * lyxtext.h (singleWidth): add LyXFont parameter
6550
6551         * rowpainter.C:
6552         * text2.C: adjust LyXText::singleWidth() calls
6553
6554         * text.C (redoParagraph): simplify row breaking logic
6555
6556
6557 2003-08-19  André Pönitz  <poenitz@gmx.net>
6558
6559         * funcrequest.C: initialize button_ member
6560
6561         * text3.C:
6562         * rowpainter.[Ch]: interface consolidation
6563
6564 2003-08-18  André Pönitz  <poenitz@gmx.net>
6565
6566         * BufferView.C:
6567         * BufferView_pimpl.C:
6568         * lyxfind.C:
6569         * paragraph_funcs.C:
6570         * rowpainter.C:
6571         * text3.C: remove LyXScreen::draw() and fitCursor calls
6572
6573         * BranchList.h: remove spurious semicolons
6574
6575         * MenuBackend.C: fix branchlist related crash
6576
6577 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6578
6579         * BranchList.[Ch]:
6580         * InsetList.[Ch]:
6581         * LColor.[Ch]:
6582         * LyXAction.C:
6583         * Makefile.am:
6584         * MenuBackend.[Ch]:
6585         * bufferparams.[Ch]:
6586         * factory.C:
6587         * lfuns.h:
6588         * lyxfunc.C:
6589         * text3.C: implements the 'branch inset'
6590         idea. This allows the output of various versions of a document
6591         from a single source version, selectively outputing or suppressing
6592         output of parts of the text.
6593         This implementation contains a 'branch list editor' in a separate
6594         tab of the document settings dialog. Branches are user definable
6595         and have a "display colour" to distinguish them on-screen.
6596
6597         ColorHandler was somewhat cleaned up.
6598         (1) make possible a dynamically growing LColor list by allowing
6599         the graphic context cache to grow along (vector);
6600         (2) eliminate an IMHO unnecessary step in colour allocation.
6601
6602 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6603
6604         * BufferView_pimpl.C: compile fix
6605
6606 2003-08-15  André Pönitz  <poenitz@gmx.net>
6607
6608         * rowpainter.C: remove extra metrics calls
6609
6610         * lyxtext.h: merge the two constructors into a single one,
6611           pass reference to owner's par list
6612
6613         * BufferView_pimpl.C:
6614         * text.C:
6615         * text2.C: adjust
6616
6617 2003-08-15  André Pönitz  <poenitz@gmx.net>
6618
6619         * lyxrow_funcs.[Ch]:
6620         * lyxtext.h:
6621         * paragraph.h:
6622         * paragraph_funcs.C:
6623         * rowpainter.C:
6624         * text.C:
6625         * text2.C:
6626         * text3.C:
6627         * text_funcs.C: split LyXText::rowlist_ into individual
6628         Paragraph::rows_ chunks
6629
6630         * BufferView.[Ch]:
6631         * BufferView_pimpl.[Ch]:
6632         * lyxfind.C:
6633         * lyxtext.h:
6634         * text3.C: remove toggleSelection()
6635
6636 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6637
6638         * bufferlist.C: beautify two alerts (shorter text of buttons)
6639         * buffer.C: Remove redundant ' ' from message
6640         * tabular.h:
6641         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6642         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6643         rename VALIGN_CENTER to VALIGN_MIDDLE
6644
6645 2003-08-11  André Pönitz  <poenitz@gmx.net>
6646
6647         * lyxtext.h (getPar):
6648         * text.C: new function
6649
6650 2003-08-11  André Pönitz  <poenitz@gmx.net>
6651
6652         * Makefile.am:
6653         * tracer.[Ch]: remove unneeded files
6654
6655         * InsetList.[Ch]: remove resizeInsetsLyXText()
6656
6657         * lyxtext.h:
6658         * text.C:
6659         * text2.C:
6660         * text3.C: merge insertParagraphs() and appendParagraph()
6661         remove breakAgain(), update()
6662
6663         * BufferView_pimpl.[Ch]:
6664         * bufferview_funcs.[Ch]:
6665         * lyxfunc.C:
6666         * paragraph.[Ch]:
6667         * rowpainter.C:
6668         * tabular.C: adjust after text & InsetList changes.
6669
6670 2003-08-08  André Pönitz  <poenitz@gmx.net>
6671
6672         * text.C (insertChar, backspace): replace rowlist fiddling
6673         with rebreak of full par
6674
6675         * lyxtext.h:
6676         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6677         checkParagraph, updateInset): removed
6678
6679 2003-08-07  André Pönitz  <poenitz@gmx.net>
6680
6681         * paragraph.C:
6682         * text3.C: merge some LFUN handlers, remove dead code
6683
6684 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6685
6686         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6687
6688 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6689
6690         * text2.C (DEPM): fix part of bug 1255 and 1256
6691
6692 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6693
6694         * BufferView_pimpl.C (workAreaDispatch): change to use
6695         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6696         that are no mouse related.
6697
6698 2003-08-05  André Pönitz  <poenitz@gmx.net>
6699
6700         * BufferView.[Ch]:
6701         * BufferView_pimpl.[Ch]:
6702         * bufferview_funcs.C:
6703         * text2.C:
6704         * text3.C: rip out "deep update"
6705
6706         * textcursor.[Ch] (last_sel_cursor): remove unused member
6707
6708 2003-08-04  André Pönitz  <poenitz@gmx.net>
6709
6710         * BufferView.[Ch]:
6711         * BufferView_pimpl.[Ch]:
6712         * ParagraphParameters.C:
6713         * bufferview_funcs.C:
6714         * lyx_cb.C:
6715         * lyxfind.C:
6716         * lyxfunc.C:
6717         * text.C:
6718         * text2.C:
6719         * text3.C: replace "complicated" BufferView::update(...) calls with
6720         simpler ones.
6721
6722         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6723
6724 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6725
6726         * Makefile.am (lyx_SOURCES): add paper.h
6727
6728 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6729
6730         * Makefile.am: move things around so that both lyx-qt and
6731         lyx-xforms can be built (according to --with-frontend). Then lyx
6732         is a symbolic link to lyx-[firstfrontend]
6733
6734 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6735
6736         * Always use std::endl with lyxerr
6737
6738 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6739
6740         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6741
6742 2003-08-01  André Pönitz  <poenitz@gmx.net>
6743
6744         * BufferView.[Ch]:
6745         * BufferView_pimpl.[Ch]:
6746         * lyxfunc.C:
6747         * text3.C: merge BufferView::repaint() and BufferView::update()
6748
6749 2003-08-01  José Matos  <jamatos@lyx.org>
6750
6751         * buffer.[Ch]: file_format is no longer a buffer data element.
6752
6753 2003-08-01  André Pönitz  <poenitz@gmx.net>
6754
6755         * BufferView.C:
6756         * lyxtext.h:
6757         * text.C:
6758         * text2.C: make redoParagraph more independent of current cursor
6759
6760         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6761         * text.C:
6762         * text2.C: remove unneeded members
6763
6764 2003-07-30  André Pönitz  <poenitz@gmx.net>
6765
6766         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6767
6768         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6769           create a single function...
6770
6771         * paragraph_funcs.C (moveItem): ... here.
6772
6773         * text.C:
6774           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6775
6776 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6777
6778         * LColor.[Ch]: Add comment and greyedout logical colors.
6779
6780 2003-07-30  André Pönitz  <poenitz@gmx.net>
6781
6782         * tabular.C: don't use Assert too heavily. This crashes where it
6783           shouldn't
6784
6785 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6786
6787         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6788         is disabled (bug 1232)
6789
6790 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6791
6792         * factory.C: limited 'arg' scope
6793
6794 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6795
6796         * factory.C: fixed Note submenu issues
6797
6798 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6799
6800         * factory.C: submenu for Note/Comment/Greyedout
6801
6802 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6803
6804         * lyx_main.C (LyX):
6805         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6806
6807 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6808
6809         * LaTeXFeatures.C:
6810         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6811         greyedout. Patch provided by Jürgen Spitzmüller.
6812
6813 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6814
6815         * kbmap.C (read): fix error message when reading bind files
6816
6817 2003-07-29  Angus Leeming  <leeming@lyx.org>
6818
6819         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6820         certainly does not do what it purports to do. I am doing it, and
6821         us, a favour by killing it.
6822
6823 2003-07-28  José Matos  <jamatos@lyx.org>
6824
6825         * buffer.C (readBody, do_writeFile):
6826         * paragraph.C(readParagraph): \end_document replaces \the_end.
6827
6828 2003-07-29  André Pönitz  <poenitz@gmx.net>
6829
6830         * BufferView.[Ch]:
6831         * BufferView_pimpl.[Ch]:
6832         * lyxfunc.C:
6833         * text2.C:
6834         * text3.C:
6835         * textcursor.[Ch]: remove toggleToggle & Co
6836
6837 2003-07-28  José Matos  <jamatos@fep.up.pt>
6838
6839         * buffer.C (readParagraph):
6840         * params_func (readParToken, readParagraph):
6841         * paragraph.C (write): \layout -> \begin_layout.
6842
6843 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * lyxlex_pimpl.C (setFile): clean up slightly.
6846
6847         * bufferparams.h: add compressed var
6848
6849         * buffer_funcs.C (readFile): adjust for LyXLex change
6850         (newFile): ditto + simplify
6851
6852         * buffer.C (writeFile): handle writing of compressed files
6853
6854         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6855         Check if the file is compressed and set a bufferparm if so.
6856
6857         * Makefile.am (lyx_LDADD): remove explicit -lz
6858
6859 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6860
6861         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6862         makeDocBookFile): put the real LyX version in the first line of
6863         the file
6864
6865         * version.h:
6866         * version.C.in: remove lyx_docversion
6867
6868         * tabular.C (write_attribute): add a template-based version to
6869         write enums properly
6870
6871 2003-07-28  André Pönitz  <poenitz@gmx.net>
6872
6873         * lyxtext.h:
6874         * text.C:
6875         * text2.C:
6876         * text3.C: use doubles again for x-coordinates. They are needed.
6877
6878 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6879
6880         * messages.C (getLocaleDir): use lyx_localedir()
6881
6882         * lyxlex_pimpl.C (setFile): compress stuff
6883
6884         * buffer.C (writeFile): add some compression stuff
6885         (do_writeFile): new func, dont call expliti close... will this
6886         breake anything?
6887
6888         * Makefile.am (lyx_LDADD): add -lz
6889
6890 2003-07-28  José Matos  <jamatos@fep.up.pt>
6891
6892         * buffer.C: increment file format.
6893         * paragraph_funcs (readParagraph, readParToken):
6894         * paragraph.C (readParagraph): add \end_layout.
6895
6896 2003-07-27  Angus Leeming  <leeming@lyx.org>
6897
6898         * Makefile.am: remove special casing for configure-time setting of
6899         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6900
6901         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6902         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6903
6904 2003-07-26  André Pönitz  <poenitz@gmx.net>
6905
6906         * paragraph_func.[Ch]:
6907         * paragraph.C (realizeFont): inline it whereever it is used
6908
6909         * rowpainter.C:
6910         * text.C:
6911         * text2.C:
6912         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6913
6914
6915 2003-07-26  André Pönitz  <poenitz@gmx.net>
6916
6917         *       lyxtext.h:
6918         * text.C:
6919         * text2.C: get rid of LyXText::need_break_row
6920
6921 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6922
6923         * toc.[Ch]: put namespace toc inside namespace lyx
6924
6925         * MenuBackend.C (expandToc2): adjust for lyx::toc
6926         (expandToc): ditto
6927
6928         * lyxfunc.C (dispatch): adjust for lyx::find
6929
6930         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6931         lyx::find instead. Reorganize a bit.
6932         (LyXReplace): rename to replace
6933         (LyXFind): rename to find
6934
6935         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6936         (dispatch): ditto
6937
6938 2003-07-26  André Pönitz  <poenitz@gmx.net>
6939
6940         * text.C (setHeightOfRow): restrict scope of temporary variable
6941
6942         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6943           code (never has been used?)
6944
6945 2003-07-27  Asger Alstrup  <alstrup@local>
6946
6947         * text.C (fill): Optimise algorithm to exploit that we can reuse
6948         the LyXFont for many characters.
6949         (setHeightOfRow): Same thing.
6950         (rowBreakPoint): Same thing.
6951
6952 2003-07-26  Asger Alstrup  <alstrup@local>
6953
6954         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6955
6956         * text.C (singleWidth): Spurious font copying in hot-spot
6957         singleWidth avoided. Reorder tests for arabic for efficiency.
6958
6959         * text.C (fill): handle empty paragraphs better.
6960
6961 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6962
6963         * ispell.C:
6964         * encoding.h: add includes
6965
6966         * lyxrc.C: remove reading of bind files
6967
6968         * lyx_main.C (init): setup bindings and menus only if we have a
6969         gui.
6970
6971         * kbmap.C (read): new method. Do the actual reading of bind
6972         files.
6973
6974         * converter.C (dvipdfm_options):
6975         * bufferparams.C:
6976         * lyxrc.C (read):
6977         (output): adapt PAPER_* enums.
6978
6979         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6980
6981         * bufferparams.h: remove paper-related enums from there
6982
6983         * paper.h: New file. A trivial header file to hold paper-related
6984         enums. It should later expand to contain many paper-related
6985         horrors access.
6986
6987         * lyxrc.C: declare extern displayTranslator
6988
6989 2003-07-27  José Matos  <jamatos@fep.up.pt>
6990
6991         * tabular.[Ch] (linuxdoc): add support for tables and figures
6992         (linuxdoc).
6993
6994 2003-07-27  José Matos  <jamatos@fep.up.pt>
6995
6996         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6997         consistency in both functions.
6998         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6999
7000 2003-07-26  Asger Alstrup  <alstrup@local>
7001
7002         * rowpainter.C (paintRows): Change algorithm to work directly on
7003         the insets rather than asking every character in the document
7004         whether its an inset.
7005
7006 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7007
7008         * buffer.C (openFileWrite): factorize some code
7009
7010 2003-07-26  Angus Leeming  <leeming@lyx.org>
7011
7012         * lyx_cb.C:
7013         * lyx_main.[Ch]: replace occurances of system_tempdir with
7014         os::getTmpDir().
7015
7016 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7017
7018         * rename Inset to InsetOld
7019
7020 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7021
7022         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7023         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7024         which I think is a bit clearer. EDIT is gone, since it was
7025         premature optimisation, and broken for mathed anyway.
7026         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7027         with cursor positioning in insets as well (math insets still do not
7028         work, but that's a different story anyway.) It mysteriously
7029         crashes sometimes with undo in the first paragraph, but I'm fairly
7030         confident that this is a compiler bug.
7031
7032 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7033
7034         * paragraph.C (Paragraph): adjust for new clone return type
7035         (operator==): ditto
7036         (copyIntoMinibuffer): ditto
7037
7038 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7039
7040         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7041         by not having a special case, and always doing a full rebreak of
7042         the document after undo.
7043
7044 2003-07-23  Angus Leeming  <leeming@lyx.org>
7045
7046         * factory.C (createInset): InsetExternal::setParams now takes a
7047         Buffer const * arg.
7048
7049 2003-07-23  Angus Leeming  <leeming@lyx.org>
7050
7051         * factory.C (createInset): changed interface to the external and
7052         graphics mailers' string2params functions.
7053
7054 2003-07-23  Angus Leeming  <leeming@lyx.org>
7055
7056         * factory.C (createInset): pass a
7057         Buffer const * parameter to InsetExternalMailer's string2params.
7058
7059 2003-07-22  John Levon  <levon@movementarian.org>
7060
7061         * Thesaurus.h: include the right aiksaurus header
7062
7063 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7064
7065         * MenuBackend.C (expand): check menu shortcuts unconditionally
7066
7067 2003-07-21  Angus Leeming  <leeming@lyx.org>
7068
7069         * factory.C (createInset): pass a
7070         buffer_path parameter to InsetGraphicsMailer's string2params.
7071
7072 2003-07-21  Angus Leeming  <leeming@lyx.org>
7073
7074         * BufferView_pimpl.C (buffer):
7075         * buffer.C (d-tor):
7076         * lyx_main.C (LyX):
7077         * lyxfunc.C (dispatch):
7078         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7079         rather than the grfx shortcut.
7080
7081 2003-07-21  André Pönitz  <poenitz@gmx.net>
7082
7083         * rowpainter.C: remove unused variables
7084
7085         * tabular_funcs.C:
7086         * tabular_funcs.h: move to tabular.C
7087         * Makefile.am: adjust
7088
7089         * tabular.[Ch]: basic optical cleaning
7090
7091         * author.h: pass references, not values
7092
7093 2003-07-18  André Pönitz  <poenitz@gmx.net>
7094
7095         * lyxtext.h:
7096         * metricsinfo.C:
7097         * metricsinfo.h:
7098         * rowpainter.C:
7099         * text.C:
7100         * text2.C:
7101         * text3.C: two-phase drawing for InsetText and InsetTabular
7102         some float -> int changes.
7103
7104 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7105
7106         * lyx_main.C: fix the fix
7107
7108 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7109
7110         * lyx_main.C: fix a crash in batch mode if no files specified
7111         * converter.C: ws
7112
7113 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7114
7115         * format.[Ch] (papersize): moved to BufferParams
7116         * converter.[Ch] (dvips_options): moved to BufferParams
7117         (dvipdfm_options): moved to anon namespace
7118         * bufferparams.[Ch]: added above functions.
7119
7120 2003-07-17  André Pönitz  <poenitz@gmx.net>
7121
7122         * lyxtext.h:
7123         * rowpainter.C:
7124         * text2.C: don't call inset->update() anymore
7125
7126         * metricsinfo.[Ch]: add convenience constructor
7127
7128 2003-07-16  André Pönitz  <poenitz@gmx.net>
7129
7130         * lyxcursor.[Ch]:
7131         * lyxfunc.[Ch]:
7132         * text.C:
7133         * text2.C: replace the LyXCursor::irow_ member with
7134          on-demand computation of the value
7135
7136 2003-07-16  John Levon  <levon@movementarian.org>
7137
7138         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7139
7140 2003-07-15  André Pönitz  <poenitz@gmx.net>
7141
7142         * text.C:
7143         * text2.C: remove no more needed refresh_row
7144
7145 2003-07-15  André Pönitz  <poenitz@gmx.net>
7146
7147         * lyxtext.h:
7148         * rowpainter.C:
7149         * text2.C:
7150         * text3.C: refresh_status tristate -> need_update bool
7151
7152 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7153
7154         * lyxtext.h (init): remove reinit argument (act as if always true)
7155         * text2.C: adjust to that
7156
7157 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7158
7159         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7160         * text3.C: use it to delete selections in some cases
7161         (bugs 441, 673, 702, 954).
7162
7163 2003-07-14  André Pönitz  <poenitz@gmx.net>
7164
7165         * rowpainter.[Ch]: reduce interface
7166
7167 2003-07-14  André Pönitz  <poenitz@gmx.net>
7168
7169         * BufferView_pimpl.C:
7170         * text2.C: adjust after removing unused BufferView * argument
7171
7172 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7173
7174         * text2.C (init): fix a crash fired on resize
7175
7176 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7177
7178         * buffer.[Ch]: added new closing signal
7179         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7180         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7181         BufferView::Pimpl via the closing the signal
7182
7183 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7184
7185         * buffer.[Ch]: take out all bv-related from buffer
7186         * BufferView.C:
7187         * BufferView_pimpl.[Ch]: connect to new signals
7188         * CutAndPaste.C: removed useless asserts
7189         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7190         * lyxvc.[Ch]:
7191         * vc-backend.[Ch]:
7192         * lyxfunc.C: moved view-related funciontality from vc here
7193         * paragraph.C: removed outdated comments
7194         * text.C: ws
7195
7196 2003-07-10  André Pönitz  <poenitz@gmx.net>
7197
7198         * BufferView_pimpl.C:
7199         * tabular.h:
7200         * tabular_funcs.C:
7201         * text.C:
7202         * text2.C: remove InsetText::InnerCache, clean up consequences
7203
7204 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7205
7206         * ispell.C: fix two typos in error messages
7207
7208 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7209
7210         * Extend Note inset to other forms of annotation like Comment
7211         and Greyedout. Right button click gives dialog.
7212
7213         Files modified or added (+):
7214
7215         * insetnote.[Ch]
7216         * FormNote.[Ch]      +
7217         * ControlNote.[Ch]   +
7218         * form_note.fd       +
7219         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7220         frontends/controllers
7221         * xforms/Dialogs.C
7222         * factory.C
7223
7224 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7225
7226         * aspell.C: add missing namespace lyx::support
7227
7228 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7229
7230         * BufferView.[Ch] (newFile): Add
7231         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7232         * LaTeX.[Ch] (message): added this signal and use it
7233         * buffer.[Ch] (busy, message): added these signals and use them
7234         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7235         * converter.C:
7236         * exporter.C:
7237         * format.C:
7238         * importer.C: use buffer signals instead of direct bv calling
7239         * lyx_cb.[Ch] (ShowMessage): removed
7240         * lyx_main.C:
7241         * lyxfunc.C:
7242         * paragraph_funcs.C:
7243         * text2.C: use buffer signals
7244
7245 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7246
7247         * introduce namespace lyx::graphics
7248
7249 2003-07-02  André Pönitz  <poenitz@gmx.net>
7250
7251         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7252
7253 2003-07-01  André Pönitz  <poenitz@gmx.net>
7254
7255         * text.C:
7256         * text2.C:
7257         * text3.C:
7258         * text_funcs.[Ch]:
7259         * textcursor.h:
7260         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7261           text*.C to text_func.C
7262
7263 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7264
7265         * introduce namespace lyx::support
7266
7267 2003-06-30  André Pönitz  <poenitz@gmx.net>
7268
7269         * Chktex.C:
7270         * funcrequest.C:
7271         * lyxtext.h:
7272         * text.C: re-enable --with-included-string
7273
7274 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7275
7276         * textcursor.C: add <config.h>
7277
7278         * text.C (getWord): remove const from word_location arg
7279
7280         * lyxvc.C (getLogFile): fix const type order
7281
7282         * lyxtext.h: remove const from word_location arg, add arg name
7283
7284         * lyxlayout.h: currect type on labeltype.
7285
7286         * importer.C: correct \file
7287
7288         * converter.C (intToFormat): use std:: on ret val, ws changes
7289
7290         * bufferlist.h: correct \file
7291
7292         * buffer.C (makeLinuxDocFile): fix const type order
7293         (makeDocBookFile): ditto
7294         (fillWithBibKeys): use std:: on stdlib args.
7295
7296         * CutAndPaste.C: fix authors.
7297         (availableSelections): use std:: on return vector
7298
7299 2003-06-27  André Pönitz  <poenitz@gmx.net>
7300
7301         * BufferView_pimpl.C:
7302         * bufferview_funcs.C:
7303         * lyxcursor.C:
7304         * lyxcursor.h:
7305         * lyxfunc.C:
7306         * lyxtext.h:
7307         * rowpainter.C:
7308         * text.C:
7309         * text2.C:
7310         * text3.C: remove LyXCursor::row_ member
7311
7312         * lyxtext.h:
7313         * text.C: rename fullRebreak() to partialRebreak() and implement
7314           a fullRebreak() that really bereks fully
7315
7316         * textcursor.h: new struct for cursor-related data
7317
7318 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7319
7320         * lyx_main.C (LyX): get full path of document loaded on the
7321         command line
7322
7323 2003-06-26  André Pönitz  <poenitz@gmx.net>
7324
7325         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7326           remove unused/broken operator>,<,>=.
7327
7328         *       text.C: remove only use of broken operator<= in an Assert().
7329
7330 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7331
7332         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7333         moved errorlist_.clear to showErrorList
7334
7335 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7336
7337         * converter.C (scanLog, runLaTeX):
7338         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7339         move the bv->showErrorList call to the callers
7340         * lyxfunc.C: i.e. here...
7341         * text2.C: and here
7342         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7343         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7344         namespace, the second to...
7345         * buffer_funcs (BufferFormat, parseErrors): added
7346         * errorlist.C (ErrorList(TeXErrors const &)): removed
7347
7348 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7349
7350         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7351
7352 2003-06-24  "Garst R. Reese" <reese@isn.net>
7353
7354         * debug.C: fix typo
7355
7356 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7357
7358         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7359
7360         * version.C.in: change docversion to 1.4
7361
7362 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7363
7364         * buffer.C: fix a bug just introduced
7365
7366 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7367
7368         * buffer.[Ch]: added the parseError signal and use it, removed
7369         sgmlError
7370         * BufferView.[Ch] (addError): moved to ...
7371         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7372         to the Buffer::parseError signal to catch (guess what) parse errors
7373         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7374
7375 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7376
7377         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7378         ability to create a buffer and to return an existing one from
7379         the list. Moved these functions to...
7380         * buffer_funcs.[Ch]: added
7381         * BufferView.[Ch] (loadLyXFile): added
7382         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7383         job removed from bufferlist::loadLyXFile.
7384         * buffer.C (setReadOnly): make it work without view
7385         (i.e added an if (users))
7386
7387 2003-06-19  Angus Leeming  <leeming@lyx.org>
7388
7389         * lfuns.h:
7390         * LyXAction.C (init):
7391         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7392         with LFUN_DIALOG_SHOW <name> <data>.
7393
7394 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7395
7396         * CutAndPaste.C (availableSelections): small compilation fix for
7397         ancient (gcc 2.9x) compilers
7398
7399 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7400
7401         * text3.C (cursorNext): add tmp var
7402
7403         * text2.C (updateCounters): for function calling out of for clause
7404         (replaceSelectionWithString): ditto
7405         (insertStringAsParagraphs): ditto
7406         (getColumnNearX): add tmp var
7407         (setCursorFromCoordinates): add tmp var
7408         (cursorDownParagraph): add tmp var
7409         (deleteEmptyParagraphMechanism): add tmp var
7410
7411         * text.C (insertChar): add tmp var
7412
7413         * rowpainter.C (paintDepthBar): add tmp var
7414
7415         * CutAndPaste.C (availableSelections): potentially check all
7416         paragraphs in a cut to fill the shown strings.
7417
7418 2003-06-18  André Pönitz  <poenitz@gmx.net>
7419
7420         * kbmap.[Ch]: use vector<> instead of list<>
7421
7422 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7423
7424         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7425         pasteSelection with index
7426
7427         * text2.C (pasteSelection): modify, call pasteSelection with index
7428
7429         * paragraph.C (asString): reimplement version with no interval to
7430         call the one with interval.
7431
7432         * lyxtext.h: add index arg to pasteSelection
7433
7434         * MenuBackend.C (MenuItem): handle PasteRecent
7435         (Menu::read::Menutags): add md_pasterecent
7436         (read): handle it
7437         (expandPasteRecent): new function
7438         (expand): use it
7439
7440         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7441
7442         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7443         the limited stack
7444         (availableSelections): new function
7445
7446 2003-06-17  Angus Leeming  <leeming@lyx.org>
7447
7448         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7449
7450 2003-06-17  Angus Leeming  <leeming@lyx.org>
7451
7452         * lfuns.h:
7453         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7454
7455         * lyxfunc.C (dispatch): invoke it.
7456
7457 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7458
7459         * iterators.C (operator++, ParPosition): reintroduce some
7460         const_cast for the benefit of older compilers.
7461
7462 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7463
7464         * text3.C (dispatch): do not modify clipboard when doing
7465         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7466         LFUN_DELETE_SKIP on a selection selection
7467
7468 2003-06-16  André Pönitz  <poenitz@gmx.net>
7469
7470         * BufferView.C:
7471         * buffer.C:
7472         * buffer.h:
7473         * paragraph.C:
7474         * tabular.[Ch]: IU of clone() and getLabelList();
7475
7476 2003-06-13  André Pönitz  <poenitz@gmx.net>
7477
7478         * tabular.h: compactification
7479
7480 2003-06-12  André Pönitz  <poenitz@gmx.net>
7481
7482         * tabular.C:
7483         * tabular.h:
7484         * tabular_funcs.h: some renaming plus whitespace
7485
7486 2003-06-12  André Pönitz  <poenitz@gmx.net>
7487
7488         * BufferView.C:
7489         * BufferView_pimpl.C:
7490         * CutAndPaste.C:
7491         * buffer.C:
7492         * iterators.[Ch]:
7493         * lyxfunc.C:
7494         * text.C:
7495         * toc.C: Return a Paragraph & for ParIterator::operator*()
7496
7497 2003-06-11  John Levon  <levon@movementarian.org>
7498
7499         * lyx_main.C:
7500         * ToolbarBackend.h:
7501         * ToolbarBackend.C: add "Toolbars" section and
7502         put the flags there
7503
7504 2003-06-10  Angus Leeming  <leeming@lyx.org>
7505
7506         * lfuns.h:
7507         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7508
7509         * lyxfunc.C (dispatch): invoke it.
7510
7511 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7512
7513         * main.C: protect <ios> with HAVE_IOS
7514         (main): protect sync_with_stdio with HAVE_IOS
7515
7516 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7517
7518         * text2.C (cutSelection): adjust
7519         (pasteSelection): adjust
7520
7521         * messages.C: handle get of empty string
7522
7523         * main.C (main): use sync_with_stdio(false)
7524
7525         * lyxfunc.C (dispatch): adjust
7526
7527         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7528         (WriteAs): remove unneeded BufferView arg.
7529
7530         * bufferparams.h: use correct types on papersize, papersize2 and
7531         paperpackage.
7532
7533         * bufferparams.C (readToken): adjust for type
7534         (writeLaTeX): add missing cases to switch.
7535
7536         * bufferlist.C (quitWriteBuffer): adjust
7537         (close): adjust
7538
7539         * buffer.C (asciiParagraph): remove some commented code.
7540
7541         * CutAndPaste.C: remove current_view extern variable.
7542         (cutSelection): add BufferParams arg.
7543         (eraseSelection): add BufferParams arg.
7544         (pasteSelection): add Buffer const & arg
7545
7546 2003-06-07  John Levon  <levon@movementarian.org>
7547
7548         * buffer.C:
7549         * paragraph_funcs.C:
7550         * paragraph_pimpl.C:
7551         * text.C:
7552         * text2.C:
7553         * paragraph.h:
7554         * paragraph.C: allow InsetERT to freely space lines,
7555         and some consolidation of code
7556
7557 2003-06-06  José Matos  <jamatos@fep.up.pt>
7558
7559         * buffer.C (makeDocBookFile): fix bug #821
7560
7561 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7562
7563         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7564
7565 2003-06-04  Angus Leeming  <leeming@lyx.org>
7566
7567         * buffer.C: bump format to 224.
7568
7569 2003-06-05  André Pönitz  <poenitz@gmx.net>
7570
7571         * text2.C (redoParagraphs): remove two const_cast<>
7572
7573 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7574
7575         * ParagraphList.h: remove last remnants of NO_STD_LIST
7576
7577 2003-06-03  Angus Leeming  <leeming@lyx.org>
7578
7579         * factory.C (createInset): small change to the way InsetExternal's params
7580         are set.
7581
7582 2003-06-04  André Pönitz  <poenitz@gmx.net>
7583
7584         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7585
7586         * paragraph_pimpl.h:
7587         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7588
7589         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7590
7591         * undo_funcs.C: make some simple cases of undo work again
7592
7593 2003-06-03  John Levon  <levon@movementarian.org>
7594
7595         * ispell.C: HPUX doesn't have sys/select.h
7596         (from Albert Chin)
7597
7598 2003-06-03  John Levon  <levon@movementarian.org>
7599
7600         * CutAndPaste.C: update tabular and include inset
7601         buffer references
7602
7603         * buffer.h:
7604         * paragraph.h:
7605         * paragraph.C: remove owningBuffer(), don't pass Buffer
7606         to clone()
7607
7608         * factory.C: insetGraphicsParams changed
7609
7610 2003-06-02  John Levon  <levon@movementarian.org>
7611
7612         * LyXAction.C:
7613         * factory.C:
7614         * lfuns.h:
7615         * lyxfunc.C:
7616         * text3.C: remove insetparent
7617
7618 2003-06-02  John Levon  <levon@movementarian.org>
7619
7620         * buffer.h:
7621         * buffer.C: fix inset_iterator.end(), move out of line
7622         (bug 1149)
7623
7624 2003-06-01  John Levon  <levon@movementarian.org>
7625
7626         * text3.C: use a proper cut/paste when doing inset
7627         insert (from Jürgen Spitzmüller)
7628
7629 2003-06-01  John Levon  <levon@movementarian.org>
7630
7631         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7632
7633 2003-05-30  André Pönitz  <poenitz@gmx.net>
7634
7635         * rowpainter.C: unify second drawing phase
7636
7637 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7638
7639         * trans_mgr.C: remove one case of current_view
7640
7641         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7642
7643         * paragraph_funcs.h: remove paragraph.h include
7644
7645         * paragraph.h: delete NO_STD_LIST stuff
7646
7647         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7648
7649         * buffer.h: remove paragraph.h include
7650
7651         * ParagraphList.C: delete file
7652
7653         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7654
7655         * toc.C (getTocList): adjust
7656
7657         * paragraph_pimpl.C (validate): adjust
7658
7659         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7660
7661         * paragraph.C (Paragraph): adjust
7662         (getPositionOfInset): use const_iterator, adjust
7663         (bibitem): use const_iterator, adjust
7664         (setInsetOwner): adjust
7665
7666         * iterators.C (operator++): adjust
7667
7668         * InsetList.[Ch]: Replace selfmade iterator with standard
7669         vector::iterator also introduce const_iterator. Remove getPos,
7670         getInset and setInset from InsetTable. Adjust accordingly.
7671
7672         * BufferView.C (lockInset): adjust
7673         (ChangeInsets): adjust
7674
7675         * tabular.[Ch]: delete commented same_id functions
7676
7677 2003-05-28  John Levon  <levon@movementarian.org>
7678
7679         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7680
7681 2003-05-28  André Pönitz  <poenitz@gmx.net>
7682
7683         * metricsinfo.[Ch]: remove 'fullredraw' member
7684
7685 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7686
7687         * lyxtextclass.C (operator): remove caching.
7688
7689 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7690
7691         * text3.C: adjust
7692
7693         * text2.C (cursorBottom): adjust
7694         (setCounter): use ParagraphList::find, adjust
7695
7696         * text.C (workWidth): use ParagraphList::find, adjust
7697
7698         * lyxcursor.C (LyXCursor): adjust
7699
7700         * buffer.C (inset_iterator): adjust
7701
7702         * ParagraphList.h: make iterator(value_type) private, make
7703         ParagraphList a friend of iterator.
7704
7705         * ParagraphList.C (find): new function
7706
7707         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7708
7709 2003-05-27  André Pönitz  <poenitz@gmx.net>
7710
7711         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7712
7713 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7714
7715         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7716
7717 2003-05-26  John Levon  <levon@movementarian.org>
7718
7719         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7720
7721 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7722
7723         * remove same_id from function signatures, adjust.
7724
7725 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7726
7727         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7728
7729         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7730
7731         * paragraph.C (Paragraph): get rid of same_ids parameter
7732
7733         * ParagraphList.C (insert): adjust
7734         (push_back): adjust
7735
7736 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7737
7738         * paragraph_funcs.C (breakParagraph): adjust
7739         (breakParagraphConservative): adjust
7740
7741         * buffer.C (readParagraph): adjust
7742
7743         * ParagraphList.C (insert): take a reference instead of a pointer
7744         (insert): adjust
7745
7746         * paragraph.[Ch] (id): new function
7747
7748         * bufferlist.C (newFile): adjust
7749
7750         * ParagraphList.C (ParagraphList): adjust
7751         (assign): adjust
7752         (push_back): take a reference instead of a pointer.
7753
7754         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7755
7756         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7757         instead.
7758
7759         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7760         set else use old code.
7761
7762         * ParagraphList.C: remove all NO_NEXT code and only compile this
7763         code of NO_STD_LIST is set.
7764
7765 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7766
7767         * BufferView_pimpl.C:
7768         * TextCache.C:
7769         * TextCache.h:
7770         * bufferlist.C:
7771         * errorlist.h:
7772         * format.C:
7773         * format.h:
7774         * graph.C:
7775         * lyxfunc.C:
7776         * lyxrc.C:
7777         * graphics/GraphicsConverter.C:
7778         * graphics/PreviewLoader.C: header adjustment
7779
7780 2003-05-23  Angus Leeming  <leeming@lyx.org>
7781
7782         * LaTeXFeatures.[Ch] (useBabel): new method.
7783         * bufferparams.C (writeLaTeX): use it.
7784
7785 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7786
7787         * ParagraphList.h (set): remove unused function.
7788
7789 2003-05-23  André Pönitz  <poenitz@gmx.net>
7790
7791         * BufferView.C:
7792         * BufferView_pimpl.C:
7793         * buffer.C:
7794         * buffer.h:
7795         * lyxfunc.C:
7796         * undo_funcs.C: setUndo reworked
7797
7798         * iterators.[Ch]: add access to topmost ParagraphList
7799
7800         * lyxtext.[Ch] (workWidth): add a const
7801
7802 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7803
7804         * texrow.[Ch] (increasePos): remove function
7805         * exporter.C (export): removed unused var and outdated comment
7806
7807 2003-05-23  Angus Leeming  <leeming@lyx.org>
7808
7809         * latexrunparams.h: rename fragile as moving_arg.
7810         * paragraph.C (simpleTeXOnePar): ditto.
7811         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7812
7813 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7814
7815         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7816         (createUndo): ditto
7817         (textUndoOrRedo): comment out a currently unused var.
7818
7819         * paragraph.h (NO_NEXT): enable NO_NEXT
7820
7821         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7822
7823         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7824
7825         * exporter.C (Export): adjust for removeAutoInsets removal.
7826
7827         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7828
7829         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7830
7831         * BufferView.[Ch] (removeAutoInsets): delete function
7832
7833 2003-05-22  Angus Leeming  <leeming@lyx.org>
7834
7835         * latexrunparams.h: add a free_spacing variable.
7836
7837         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7838         to pass moving_arg, as the data is stored in runparams.fragile.
7839
7840         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7841         to Inset::latexOptional or to simpleTeXOnePar.
7842
7843         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7844         free_spacing arg to Inset::latexOptional.
7845
7846         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7847         free_spacing arg.
7848
7849 2003-05-22  Angus Leeming  <leeming@lyx.org>
7850
7851         * latexrunparams.h: add fragile and use_babel variables.
7852
7853         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7854         * buffer.C (makeLaTeXFile): store this returned value in
7855         runparams.use_babel, thus passing it to the inset::latex methods.
7856
7857         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7858         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7859
7860         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7861         longer has a fragile arg, as it is stored in runparams.fragile.
7862
7863         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7864         moving_arg parameter as the data is stored in runparams.fragile.
7865
7866         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7867         a fragile parameter as the data is stored in runparams.fragile.
7868
7869 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7870
7871         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7872
7873 2003-05-22  Angus Leeming  <leeming@lyx.org>
7874
7875         * latexrunparams.h: add a 'bool nice' which defaults to false.
7876
7877         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7878         now encapsulated within runparams.
7879
7880         * bufferlist.C (updateIncludedTeXfiles):
7881         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7882
7883 2003-05-22  Angus Leeming  <leeming@lyx.org>
7884
7885         * latexrunparams.h: new file containing struct LatexRunParams.
7886         * Makefile.am: add new file.
7887
7888         * LaTeX.[Ch] (c-tor, run):
7889         * buffer.[Ch] (makeLaTeXFile):
7890         * bufferlist.[Ch] (updateIncludedTeXfiles):
7891         * converter.C (convert, scanLog):
7892         * converter.[Ch] (runLaTeX):
7893         * exporter.C (Export):
7894         * paragraph.[Ch] (simpleTeXOnePar):
7895         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7896         * paragraph_funcs.[Ch] (latexParagraphs):
7897         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7898         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7899         pass around a LatexRunParams parameter.
7900
7901 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7902
7903         * paragraph.[Ch]: remove unused constructor
7904
7905         * ParagraphList.C (erase): new function, taking two iterators
7906
7907 2003-05-22  André Pönitz  <poenitz@gmx.net>
7908
7909         * undo_funcs.C: remove duplicated code
7910
7911         * iterator.[Ch]: operator=
7912
7913 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7914
7915         * tabular.C (SetMultiColumn): ws changes
7916
7917         * rowpainter.C (paintFirst): get rid of a ->previous
7918
7919         * lyx_cb.C (getPossibleLabel): parlist simplification
7920
7921         * BufferView.C (ChangeInsets): simplify slightly.
7922
7923 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7924
7925         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7926         * lfuns.h: new LFUN_SPACE
7927         * lyxfunc.C: protected space has a new lfun
7928         * paragraph_funcs.C: read new space insets
7929         * text3.C:
7930         * factory.C: handle new space insets
7931
7932 2003-05-22  André Pönitz  <poenitz@gmx.net>
7933
7934         * BufferView.C:
7935         * BufferView_pimpl.C:
7936         * buffer.[Ch]:
7937         * lyxfunc.C:
7938         * undo_funcs.C: return a ParIterator from getParFromID.
7939
7940         * iterators.[Ch]: add two const's
7941
7942 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7943
7944         * toc.C (getTocList): adjust
7945
7946         * iterators.[Ch]: rework for parlist
7947
7948         * buffer.C (par_iterator_begin): adjust
7949         (par_iterator_end): adjust
7950
7951         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7952
7953         * BufferView.C (removeAutoInsets): adjust
7954         (ChangeInsets): adjust
7955
7956 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7957
7958         * text.C (top_y): fix bug 1110
7959
7960 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7961
7962         * errorlist.[Ch]: added
7963         * buffer.C:
7964         * BufferView.[Ch]:
7965         * BufferView_pimpl.C:
7966         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7967         instead
7968
7969 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7970
7971         * Makefile.am: ensure that lyx is relinked upon changes to the
7972         various "convenience" libs.
7973
7974 2003-05-20  Angus Leeming  <leeming@lyx.org>
7975
7976         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7977         files are compiled in alphabetical order again.
7978
7979         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7980
7981 2003-05-19  Angus Leeming  <leeming@lyx.org>
7982
7983         * gettext.[Ch]: remove "char const * _(char const *)".
7984
7985 2003-05-19  André Pönitz  <poenitz@gmx.net>
7986
7987         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7988
7989         * Makefile.am:
7990         * BufferView.C:
7991         * DepTable.h:
7992         * LaTeXFeatures.C:
7993         * buffer.C:
7994         * lyxfont.C:
7995         * lyxlex.h:
7996         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7997
7998 2003-05-19  André Pönitz  <poenitz@gmx.net>
7999
8000         * buffer.C:
8001         * lyxlayout.[Ch]:
8002         * lyxtextclass.[Ch]:
8003         * paragraph.C:
8004         * paragraph_funcs.[Ch]:
8005         * text2.C:
8006         * text3.C: more insetenv work
8007
8008 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8009
8010         * ParagraphParameters.C (params2string): small bug fixed
8011
8012 2003-05-16  André Pönitz  <poenitz@gmx.net>
8013
8014         * debug.C:
8015         * bufferview_funcs.C: patch from Kornel Benko to prevent
8016           crash when _(...) is called twice in a statement
8017
8018 2003-05-16  André Pönitz  <poenitz@gmx.net>
8019
8020         * BufferView.C:
8021         * lyxfunc.C:
8022         * text.C:
8023         * text2.C:
8024         * text3.C:
8025         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8026
8027 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8028
8029         * lyx_main.C (init): remove spurious static_cast
8030
8031 2003-05-14  André Pönitz  <poenitz@gmx.net>
8032
8033         * BufferView.C: fix format string
8034
8035 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8036
8037         * BufferView.[Ch] (insertErrors): removed
8038         * BufferView.[Ch] (showErrorList): added
8039         * buffer.C (runChkTeX):
8040         * converter.C (scanLog): call showErrorList instead of inserterrors
8041
8042 2003-05-13  André Pönitz  <poenitz@gmx.net>
8043
8044         * BufferView_pimpl.C:
8045         * buffer.C:
8046         * bufferview_func.C:
8047         * MenuBackend.C:
8048         * lyxfunc.C:
8049         * lyxrc.C:
8050         * tex-accent.C:
8051         * text3.C:
8052         * toc.C:
8053         * tabular_funcs.h: tostr() from its own header
8054
8055         * ParagraphParameters.C:
8056         * ToolbarBackend.C:
8057         * bufferparams.C:
8058         * format.C:
8059         * lyxlex_pimpl.C:
8060         * text3.C: STRCONV()
8061
8062 2003-05-12  André Pönitz  <poenitz@gmx.net>
8063
8064         * BufferView.C:
8065         * BufferView_pimpl.C:
8066         * CutAndPaste.C:
8067         * LaTeX.C:
8068         * LaTeXFeatures.C:
8069         * ParagraphParameters.C:
8070         * buffer.C:
8071         * bufferlist.C:
8072         * bufferparams.C:
8073         * bufferview_funcs.C:
8074         * converter.C:
8075         * counters.C:
8076         * debug.C:
8077         * exporter.C:
8078         * format.C:
8079         * importer.C:
8080         * lyx_cb.C:
8081         * lyx_main.C:
8082         * lyxfont.C:
8083         * lyxfunc.C:
8084         * lyxvc.C:
8085         * paragraph.C:
8086         * paragraph_funcs.C:
8087         * tabular.C:
8088         * tabular_funcs.C:
8089         * text2.C:
8090         * text3.C:  boost::format -> bformat  all over the place
8091
8092
8093 2003-05-09  André Pönitz  <poenitz@gmx.net>
8094
8095         * LColor.[Ch]: Pimpl the #include <map> away
8096
8097 2003-05-09  John Levon  <levon@movementarian.org>
8098
8099         * bufferlist.C: never remove emergency saves
8100
8101 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8102
8103         * Makefile.am: better lib building
8104
8105 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8106
8107         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8108         instead.
8109         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8110         (simpleTeXSpecialChars): adjust
8111         (simpleTeXSpecialChars): adjust
8112         * paragraph.C (simpleTeXOnePar): adjust
8113         * buffer.C (makeLaTeXFile): adjust
8114
8115         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8116
8117         * text2.C (changeDepth): parlist cleanup
8118         (getColumnNearX): ditto
8119
8120         * rowpainter.C (getLabelFont): parlist cleanup
8121
8122         * bufferlist.C (newFile): parlist cleanup
8123
8124         * CutAndPaste.C (eraseSelection): parlist cleanup
8125
8126         * BufferView_pimpl.C (trackChanges): parlist cleanup
8127         (dispatch): ditto
8128
8129         * BufferView.C (lockInset): parlist cleanup.
8130         (ChangeInsets): ditto
8131
8132 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8133
8134         * CutAndPaste.h: Update file header.
8135
8136         * CutAndPaste.C: Update file header.
8137         Store the parts cut out of the Document in a limited_stack.
8138         (copySelection): adjust
8139         (pasteSelection): new function, takes the index in the limited stack.
8140         (nrOfParagraphs): adjust
8141         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8142         simplify error inset insertion.
8143         (checkPastePossible): adjust
8144
8145 2003-05-06  John Levon  <levon@movementarian.org>
8146
8147         * text2.C: don't cast wrap inset to float
8148
8149 2003-05-05  André Pönitz  <poenitz@gmx.net>
8150
8151         * iterator.C:
8152         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8153
8154         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8155           few naked Paragraph *.
8156
8157 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8158
8159         * bufferparams.C: Output warning if a document with missing
8160         TeX document class is loaded
8161         * exporter.C: Disable TeX exports if the document class is missing
8162         * lyxtextclass.C:
8163         * lyxtextclass.h:
8164         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8165         isTeXClassAvailable()
8166
8167 2003-05-03  John Levon  <levon@movementarian.org>
8168
8169         * BufferView.h:
8170         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8171         explicit cursor show/hide
8172
8173         * BufferView_pimpl.h:
8174         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8175         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8176
8177         * lyxfunc.C: hide cursor before dispatching.
8178
8179         * lyx_cb.C:
8180         * lyxfind.C:
8181         * text.C:
8182         * text3.C: remove explicit cursor hides
8183
8184 2003-05-02  André Pönitz  <poenitz@gmx.net>
8185
8186         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8187
8188         * undo_funcs.C:
8189         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8190           linked lists
8191
8192         * text2.C: tiny whitespace
8193
8194 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8195
8196         * undo_funcs.C: almost only ws changes.
8197
8198         * ParagraphList.C (splice): just return if pl is empty.
8199
8200 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8201
8202         * ParagraphList.C (splice): new function.
8203
8204         * CutAndPaste.C (pasteSelection): use it
8205
8206 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8207
8208         * CutAndPaste.C (pasteSelection): remove the last next and
8209         previous from this file.
8210
8211 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8212
8213         * CutAndPaste.C (pasteSelection): more clean up, user proper
8214         ParagraphList functions for pasteing.
8215
8216         * ParagraphList.C (insert): new function, three arg insert
8217
8218 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8219
8220         * ParagraphList.C (insert): new function, three arg insert
8221
8222         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8223         not on paragraphs.
8224
8225 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8226
8227         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8228
8229 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8230
8231         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8232
8233 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8234
8235         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8236         (copySelection): clean up a bit.
8237         (pasteSelection): use make_pair
8238
8239         * ParagraphList.C (ParagraphList): implement copy constructor
8240         (operator=): implement, base on copy constructor.
8241         (assign): new func
8242
8243         * paragraph.C (erase): return a bool
8244
8245         * paragraph_pimpl.C (erasePos): remove function, move contents...
8246         (erase): ... here. Return a bool.
8247         (erase): call erase instead of erasePos.
8248
8249 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8250
8251         * ParagraphList.h: define PitPosPair
8252         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8253         ParagraphList, fix a bug on pasting multiple pars
8254         * text2.C: change interface to C&P
8255
8256 2003-04-30  André Pönitz  <poenitz@gmx.net>
8257
8258         * undo_func.C: revert part of yesterday's patch 2
8259
8260 2003-04-30  John Levon  <levon@movementarian.org>
8261
8262         * LColor.C: s/tabular/table/
8263
8264 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8265
8266         * text3.C (dispatch): do not convert iterator -> pointer
8267         * undo_funcs.C (setCursorParUndo): ditto
8268         * text_funcs.C (transposeChars): ditto
8269
8270         * text2.C (setLayout): ws changes only
8271
8272         * text.C (breakParagraph): do not convert iterator -> pointer
8273         (insertChar): ditto
8274         (acceptChange): ditto
8275         (rejectChange): ditto
8276         (changeCase): ditto
8277         (Delete): ditto
8278         (backspace): ditto
8279
8280         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8281         pointer
8282
8283 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8284
8285         * text3.C (gotoInset): YABG (yet another bad getChar)
8286
8287 2003-04-29  André Pönitz  <poenitz@gmx.net>
8288
8289         * paragraph.h: make operator= private unimplemented as long as
8290           it is unusable
8291
8292         * ParagraphList.C: whitespace
8293
8294         * paragraph.[Ch]:
8295         * paragraph_pimpl.[Ch]:
8296         * paragraph_funcs.C:
8297         * CutAndPaste.C:
8298         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8299
8300         * text2.C:
8301           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8302
8303 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8304
8305         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8306         * paragraph.[Ch] (erase):
8307         * paragraph_pimpl.[Ch] (erase): change return type and value
8308         * text2.C (cutSelection): some rework
8309
8310 2003-04-28  John Levon  <levon@movementarian.org>
8311
8312         * bufferlist.C: changes for unsaved changes dialog
8313
8314 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8315
8316         * bufferlist.C (newFile): set language (messages_) for new
8317         documents also.
8318
8319         * buffer.C (readFile): ws changes only.
8320
8321 2003-04-28  André Pönitz  <poenitz@gmx.net>
8322
8323         * undo_funcs.C:
8324         * lyxfunc.C:
8325         * buffer.[Ch]:
8326         * BufferView_pimpl.C:
8327         * BufferView.C: getParFromID related ParagraphList::iterator changes
8328
8329 2003-04-28  André Pönitz  <poenitz@gmx.net>
8330
8331         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8332           Changes
8333
8334 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8335
8336         * messages.C: remove one more localedir class variable.
8337
8338 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8339
8340         * messages.C (getLocaleDir): singleton generation function
8341         (Pimpl): use it.
8342         (Messages): add a default constructor.
8343
8344         * main.C (main): do not setup localedir here, do not call
8345         gettext_init.
8346
8347         * gettext.C (_): use it.
8348         (gettext_init): delete funciton
8349
8350 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8351
8352         * gettext.C (getLyXMessages): new singleton generating function.
8353
8354         * buffer.C (updateDocLang): adjust
8355
8356         * Makefile.am (messages.o): add target
8357         (main.o): remove target
8358
8359 2003-04-27  John Levon  <levon@movementarian.org>
8360
8361         * bufferlist.C:
8362         * lyx_cb.C:
8363         * lyxfunc.C:
8364         * lyxvc.C: specify cancel button in Alert::prompt
8365
8366 2003-04-26  John Levon  <levon@movementarian.org>
8367
8368         * text3.C:
8369         * lyxfunc.C:
8370         * lfuns.h:
8371         * LyXAction.C: add LFUN_INSET_SETTINGS
8372
8373         * lyxfunc.C: don't enable tabular-feature when there's
8374         just any locking inset
8375
8376 2003-04-26  John Levon  <levon@movementarian.org>
8377
8378         * bufferlist.C: re-add Cancel to buffer close question
8379
8380         * lyxfunc.C: fix import UI a bit
8381
8382 2003-04-25  John Levon  <levon@movementarian.org>
8383
8384         * gettext.C: remove the broken asserts for now
8385
8386 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8387
8388         * messages.C: make case where setlocale cannot comply work better.
8389
8390         * buffer.C (updateDocLang): new function
8391         (changeLanguage): use it
8392         (readFile): use it
8393
8394         * text2.C (setCounter): use B_ a bit.
8395
8396         * lyxlayout.C (Read): be sure to trim the label strings.
8397
8398         * messages.C (Messages): fix typo in comment
8399
8400         * buffer.C (readFile): set message_ after file is loaded.
8401         (makeDocBookFile): remove double return
8402         (changeLanguage): reset message_ upon language change.
8403         (B_): new func, use this to get translated buffer strings.
8404
8405         * main.C: add myself and Jean Marc as authors.
8406
8407 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8408
8409         * messages.[hC]: pimplify Messages, and three different pimpls to be
8410         used in different circumstances.
8411
8412         * gettext.[Ch]: change for use with new message code.
8413
8414 2003-04-24 André Pönitz <poenitz@gmx.net>
8415
8416         * factory.C: support for eqref
8417
8418 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8419
8420         * messages.[Ch]: add missing char
8421
8422         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8423
8424         * messages.[Ch]: New files
8425
8426 2003-04-18  John Levon  <levon@movementarian.org>
8427
8428         * BufferView.h:
8429         * BufferView.C:
8430         * BufferView_pimpl.C:
8431         * lfuns.h:
8432         * LyXAction.C:
8433         * lyxtext.h:
8434         * text2.C: remove layout-copy/paste (bug 778)
8435
8436 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8437
8438         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8439
8440 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8441
8442         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8443         if they succeed. Act accordingly.
8444
8445 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8446
8447         * text2.C (setCharFont): adjust
8448         (setCounter): adjust
8449         (insertStringAsLines): adjust
8450
8451         * text.C (leftMargin): adjust
8452         (setHeightOfRow): adjust
8453
8454         * rowpainter.C (paintFirst): adjust
8455         (paintLast): adjust
8456
8457         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8458         (outerHook): ditto
8459         (isFirstInSequence): ditto
8460         (getEndLabel): ditto
8461         (outerFont): adjust
8462
8463         * paragraph.C (getParLanguage): comment out some hard stuff.
8464
8465         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8466         (sgmlError): ditto
8467         (simpleDocBookOnePar): ditto
8468         (makeDocBookFile): use ParagraphList::iterator
8469
8470         * CutAndPaste.C (pasteSelection): adjust
8471
8472 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8473
8474         * text2.C (getFont): adjust
8475         (getLayoutFont): adjust
8476         (getLabelFont): adjust
8477
8478         * paragraph_funcs.C (TeXOnePar): adjust
8479
8480         * buffer.C (simpleLinuxDocOnePar): adjust
8481         (simpleDocBookOnePar): adjust
8482
8483         * CutAndPaste.C (pasteSelection): adjust
8484
8485         * BufferView.C (getEncoding): adjust
8486
8487         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8488
8489 2003-04-16  John Levon  <levon@movementarian.org>
8490
8491         * lyxfind.C: use parlist stuff for search/changes
8492
8493 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8494
8495         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8496
8497         * text2.C (deleteEmptyParagraphMechanism): adjust
8498
8499         * text2.[Ch] (ownerParagraph): delete func (both of them
8500
8501 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8502
8503         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8504
8505 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8506
8507         * ParagraphList.C: prepare for NO_NEXT
8508
8509 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8510
8511         * text2.C (getFont): adjust
8512         (getLayoutFont): adjust
8513         (getLabelFont): adjust
8514
8515         * paragraph.C (getFont): adjust
8516         (getLabelFont): adjust
8517         (getLayoutFont): adjust
8518
8519         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8520
8521 2003-04-15  John Levon  <levon@movementarian.org>
8522
8523         From Angus Leeming
8524
8525         * lyx_main.C: handle Include in .ui files
8526
8527 2003-04-15  John Levon  <levon@movementarian.org>
8528
8529         * MenuBackend.C: make the doc files length shorter
8530
8531         * ToolbarBackend.h:
8532         * ToolbarBackend.C: handle toolbar placement flags,
8533         Minibuffer
8534
8535 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8536
8537         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8538         adjust
8539
8540         * paragraph_funcs.C (TeXOnePar): adjust
8541
8542         * paragraph.C (getLabelFont): add outerfont arg, adjust
8543         (getLayoutFont): ditto
8544         (simpleTeXOnePar): adjust
8545
8546         * paragraph_pimpl.C (realizeFont): delete func
8547
8548 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8549
8550         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8551         row argument, constify cur argument.
8552
8553 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8554
8555         * text2.C (getFont): adjust
8556         (getLayoutFont): adjust
8557         (getLabelFont): adjust
8558
8559         * paragraph_funcs.C (TeXOnePar): adjust
8560         (outerFont): new func...
8561         (realizeFont): ...moved out from here, changed this to facilitate
8562         transition
8563
8564         * paragraph.C (getFont): take outerfont as arg, adjust
8565         (simpleTeXOnePar): add outerfont arg, adjust
8566
8567         * buffer.C (simpleLinuxDocOnePar): adjust
8568         (simpleDocBookOnePar): adjust
8569
8570         * CutAndPaste.C (pasteSelection): adjust
8571
8572         * BufferView.C (getEncoding): adjust
8573
8574 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8575
8576         * text2.C (setCharFont): adjust
8577         (setCounter): adjust
8578
8579         * text.C (leftMargin): adjust
8580         (setHeightOfRow): adjust
8581
8582         * rowpainter.C (paintFirst): adjust
8583         (paintLast): adjust
8584
8585         * paragraph_pimpl.C (realizeFont): adjust
8586
8587         * paragraph.C (isFirstInSequence): move from here...
8588         * paragraph_funcs.C (isFirstInSequence): ...to here
8589
8590         * paragraph.C (outerHook): move from here...
8591         * paragraph_funcs.C (outerHook): ...to here
8592
8593         * paragraph.C (depthHook): move from here...
8594         * paragraph_funcs.C (depthHook): ...to here
8595
8596         * paragraph.C (getEndLabel): move from here...
8597         * paragraph_funcs.C (getEndLabel): ...to here
8598
8599         * text2.C (realizeFont): move from here...
8600         * paragraph_funcs.C (realizeFont): ...to here
8601
8602 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8603
8604         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8605
8606 2003-04-14  Angus Leeming  <leeming@lyx.org>
8607
8608         * LColor.[Ch]: scrap LColor mathcursor.
8609
8610 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8611
8612         * lyxlex.[Ch] (text): delete function
8613         * trans.C (Load): adjust
8614         * paragraph_funcs.C (readParToken): adjust
8615
8616 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8617
8618         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8619         vector<char> instead of a char[].
8620
8621         * lyxlex_pimpl.C (getString): adjust
8622         (next): adjust
8623         (lex): use getString
8624         (eatLine): adjust
8625         (nextToken): adjust
8626
8627         * lyxlex.C (text): use pimpl_->getString()
8628         (getBool): ditto
8629         (findToken): ditto
8630
8631 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8632
8633         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8634         (makeFontEntriesLayoutSpecific): temp var for par.size()
8635         (setLayout): temp var for ownerParagraphs().end()
8636         (fullRebreak): temp var for rows().end()
8637         (selectionAsString): temp var for boost::next(startpit), realize
8638         that the while really is a regular for loop.
8639         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8640         setCursor in one place.
8641         (setParagraph): temp vr for ownerParagraphs().end()
8642         (updateCounters): make the while loop a for loop
8643         (cutSelection): temp var for ownerParagraphs().end()
8644         (updateInset): make the do {} while() a regular for loop
8645         (getCursorX): use temp vars
8646         (setCurrentFont): use temp vars
8647         (getColumnNearX): use temp vars
8648
8649 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8650
8651         * text.C (transformChar): use temp var for getChar
8652         (computeBidiTables): use temp var for row->par()
8653         (fill): move temp vars for row->par() and pit->layout() earlier in
8654         the function.
8655         (labelFill): use temp var for row->par()
8656         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8657         asc and desc, realize that pit never changes and that firstpit is
8658         just a duplicate and not needed. Exchange rit->par() with pit in a
8659         lot of places.
8660         (breakAgain): use a temp var for boost::next(rit)
8661         (breakAgainOneRow): ditto
8662         (breakParagraph): use a temp var for rows().begin()
8663         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8664         (cursorRightOneWord): use temp var for cursor.par() and
8665         cursor.pos(), remove usage of tmpcursor.
8666         (cursorLeftOneWord): use temp var for cursor.par() and
8667         cursor.pos() only set cur at end of function.
8668
8669 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8670
8671         * text.C, text2.C: exchange all usage of Paragraph::next with
8672         boost::next(ParagraphList::iterator)
8673
8674         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8675
8676         * text2.C (cursorTop): simplify implementation
8677         (cursorBottom): ditto
8678         (setParagraph): use ParagraphList::iterator
8679         (setCurrentFont): adjust
8680         (getColumnNearX): adjust
8681         (cursorRight): adjust
8682         (cursorLeft): remove usage of Paragraph::previous
8683         (cursorUpParagraph): ditto
8684         (deleteEmptyParagraphMechanism): slight cleanup
8685
8686         * text.C (isBoundary): take a Paragraph const & instead of a
8687         pointer as arg.
8688         (addressBreakPoint): ditto
8689         (leftMargin): remove usage of Paragraph::previous.
8690         (setHeightOfRow): ditto
8691         (cursorLeftOneWord): ditto
8692         (selectNextWordToSpellcheck): ditto
8693         (Delete): ditto
8694         (backspace): ditto
8695         (breakParagraph): remove one usage of Paragraph::next
8696         (redoParagraph): ditto
8697         (acceptChange): ditto
8698         (insertChar): adjust
8699         (rowBreakPoint): adjust
8700
8701         * bufferview_funcs.C (toggleAndShow): adjust
8702
8703 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8704
8705         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8706         methods to access it.
8707         * lyxtext.h:
8708         * text.C: Added updateRowPositions to compute all row positions.
8709         Make top_y and getRowNearY() to use the cached y position
8710
8711 2003-04-11  John Levon  <levon@movementarian.org>
8712
8713         * text.C (rowBreakPoint): reintroduce the labelEnd
8714         checks, code copied from the row fill stuff. Deep voodoo.
8715
8716         * text.C (fill): add a comment and debugging for the
8717         next poor soul.
8718
8719 2003-04-11  John Levon  <levon@movementarian.org>
8720
8721         * text.C: make sure fullrow insets get wrapped to the next line,
8722         even when they're in a manual label
8723
8724 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8725
8726         * text2.C (insertParagraph): make it take ParagraphList::iterator
8727         as arg.
8728         (setLayout): make it return ParagraphList::iterator
8729         (redoParagraphs): ditto
8730         (setCounter): ditto
8731         (checkParagraph): ditto
8732
8733         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8734
8735         * text2.C: adjust several funcs.
8736         (realizeFont): take a ParagraphList::iterator as arg.
8737         (getLayoutFont): ditto
8738         (getLabelFont): ditto
8739         (setCharFont): ditto
8740
8741         * text.C: adjust several funcs.
8742
8743 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8744
8745         * text.C (selectNextWordToSpellcheck): don't accidentally
8746         skip insets
8747
8748 2003-04-10  John Levon  <levon@movementarian.org>
8749
8750         * ToolbarBackend.C (getIcon): special handling for
8751         LFUN_MATH_DELIM
8752
8753 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8754
8755         * text2.C (cursorRight): a getChar assert fixed
8756
8757 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8758
8759         * text2.C (getFont): change to take a ParagraphList::iterator
8760         instead of Paragraph*
8761         Adjust several functions.
8762
8763         * text.C (transformChar): change to take a ParagraphList::iterator
8764         instead of Paragraph*
8765         (singleWidth): ditto
8766         Adjust several functions.
8767
8768         * rowpainter.C: adjust several functions
8769         * rowpainter.h:store a ParagraphList::iterator and not a
8770         Paragraph&.
8771
8772
8773 2003-04-09  John Levon  <levon@movementarian.org>
8774
8775         * lyxfunc.C:
8776         * lfuns.h:
8777         * LyXAction.h:
8778         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8779         and the "help" bits as well
8780
8781 2003-04-09  John Levon  <levon@movementarian.org>
8782
8783         * ToolbarBackend.h:
8784         * ToolbarBackend.C: allow multiple toolbars
8785
8786 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8787
8788         * undo_funcs.C (setCursorParUndo): adjust
8789
8790         * text_funcs.C (transposeChars): adjust
8791
8792         * text3.C (gotoNextInset): adjust
8793         (dispatch): adjust
8794
8795         * text2.C (setLayout): adjust
8796         (changeDepth): adjust
8797         (setFont): adjust
8798         (redoParagraphs): adjust
8799         (selectionAsString): adjust
8800         (setParagraph): adjust
8801         (insertInset): adjust
8802         (cutSelection): adjust
8803         (copySelection): adjust
8804         (pasteSelection): adjust
8805         (insertStringAsLines): adjust
8806         (updateInset): adjust
8807         (setCursor): change to take a ParagraphList::iterator parameter
8808         (setCursorIntern): change to take a ParagraphList::iterator parameter
8809         (setCurrentFont): adjust
8810         (cursorLeft): adjust
8811         (cursorRight): adjust
8812         (deleteEmptyParagraphMechanism): adjust
8813
8814         * text.C (breakParagraph): adjust
8815         (insertChar): adjust
8816         (acceptChange): adjust
8817         (rejectChange): adjust
8818         (selectNextWordToSpellcheck): adjust
8819         (changeCase): adjust
8820         (Delete): adjust
8821         (backspace): adjust
8822
8823         * lyxfind.C (SearchForward): adjust
8824         (SearchBackward): adjust
8825         (nextChange): adjust
8826
8827         * lyxcursor.C (par): adjust
8828
8829         * lyxcursor.h: store a ParagraphList::iterator instead of a
8830         Paragraph*
8831
8832         * lyx_cb.C (getPossibleLabel): adjust
8833
8834         * bufferview_funcs.C (toggleAndShow): adjust
8835
8836         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8837         (dispatch): adjust
8838
8839         * BufferView.C (removeAutoInsets): adjust
8840         (lockedInsetStoreUndo): adjust
8841
8842 2003-04-09  John Levon  <levon@movementarian.org>
8843
8844         * ToolbarBackend.C: try icon without argument
8845         if with argument fails
8846
8847 2003-04-08  John Levon  <levon@movementarian.org>
8848
8849         * ToolbarBackend.h:
8850         * ToolbarBackend.C: add getIcon(), handle tooltip,
8851         and change from "Icon" to "Item".
8852
8853 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8854
8855         * BufferView.C (lockInset): another bad getchar crunched
8856
8857 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8858
8859         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8860         again)
8861
8862 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8863
8864         * lyxfind.C (searchForward, searchBackwards): bug 782
8865
8866 2003-04-07  John Levon  <levon@movementarian.org>
8867
8868         * paragraph.C: remove dead comment
8869
8870         * text.C: remove troublesome depth-fiddling code
8871         in leftMargin() and rightMargin() (bug 1017)
8872
8873         * text.C: fix breaking of rows in nested lists
8874         (bug 1004)
8875
8876         * text2.C (updateCounters): fix up depth values
8877         (bug 1013)
8878
8879 2003-04-07  John Levon  <levon@movementarian.org>
8880
8881         * BufferView_pimpl.C: clear message when doc finishes resizing,
8882         and after a mouse event
8883
8884         * lyxfunc.C: clear message after exiting inset
8885
8886 2003-04-07  John Levon  <levon@movementarian.org>
8887
8888         * bufferview_funcs.C: show math status not outside
8889         status in the statusbar
8890
8891 2003-04-07  John Levon  <levon@movementarian.org>
8892
8893         * lyxfunc.C: note status changed after a depth change
8894
8895 2003-04-04  Angus Leeming  <leeming@lyx.org>
8896
8897         * LaTeX.h: move AuxInfo operator==, != out of line.
8898         Remove LaTeX virtual destructor; nothing derives from it.
8899         Move operator()() out of public area and rename it startscript().
8900         Change protected for private.
8901
8902 2003-04-04  Angus Leeming  <leeming@lyx.org>
8903
8904         * lyxfunc.C:
8905         * text2.C: remove unneeded #includes.
8906
8907 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8908
8909         * text2.C (dEPM): fix the heigth of the next row
8910
8911 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8912
8913         * text.C: squashed an invalid getChar requester + some ws changes
8914
8915 2003-04-03  John Levon  <levon@movementarian.org>
8916
8917         * bufferview_funcs.h:
8918         * bufferview_funcs.C:
8919         * lyxfunc.C:
8920         * lyxtext.h:
8921         * text2.C: make getStatus work for the env depth lfuns
8922
8923 2003-04-03  John Levon  <levon@movementarian.org>
8924
8925         * bufferview_funcs.h:
8926         * bufferview_funcs.C:
8927         * lyxfunc.C:
8928         * lyxtext.h:
8929         * text2.C: parlistize decDepth(), by merging it with incDepth()
8930
8931 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8932
8933         * lyxrow.h: store a ParagraphList::iterator instead of a
8934         Paragraph* and adjust other class functions to suit.
8935
8936         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8937         above.
8938
8939 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8940
8941         * text2.C (setCursor): do not anchor to cursor row for the time being
8942
8943 2003-04-02  John Levon  <levon@movementarian.org>
8944
8945         * LyXAction.C:
8946         * lfuns.h:
8947         * lyx_main.C:
8948         * lyxtext.h:
8949         * text.C:
8950         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8951
8952 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8953
8954         * paragraph.h: make ParagraphList and ParagraphList::iterator
8955         friends of Paragraph.
8956
8957         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8958
8959         * ParagraphList.C: Use the private next_ and previous_ from
8960         Paragraph.
8961
8962 2003-04-01  John Levon  <levon@movementarian.org>
8963
8964         * ToolbarBackend.h:
8965         * ToolbarBackend.C:
8966         * Makefile.am: rename, remove defaults gunk
8967
8968         * MenuBackend.h:
8969         * MenuBackend.C: remove defaults gunk
8970
8971         * Languages.h:
8972         * Languages.C: remove defaults gunk
8973
8974         * lyx_main.h:
8975         * lyx_main.C: error out if files couldn't be found.
8976
8977 2003-04-02  John Levon  <levon@movementarian.org>
8978
8979         * text2.C: make incDepth() use parlist
8980
8981 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8982
8983         * undo_funcs.C (firstUndoParagraph): adjust
8984
8985         * text3.C (gotoInset): adjust
8986         (dispatch): adjust, and rewrite loop.
8987
8988         * text2.C (init): adjust, and rewrite loop.
8989         (redoParagraphs): adjust
8990         (updateInset): adjust, and rewrite loop.
8991         (deleteEmptyParagraphMechanism): adjust
8992
8993         * tabular.C (LyXTabular): adjust
8994         (SetMultiColumn): adjust
8995         (TeXRow): adjust
8996
8997         * lyxtext.[Ch] (ownerParagraph): delete function
8998         (ownerParagraphs): new function returns a ParagraphList.
8999
9000         * BufferView.C (removeAutoInsets): adjust
9001         (insertErrors): adjust
9002         (setCursorFromRow): adjust
9003
9004 2003-04-01  Angus Leeming  <leeming@lyx.org>
9005
9006         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9007         in the frontends.
9008
9009 2003-04-02  John Levon  <levon@movementarian.org>
9010
9011         * lyxtext.h:
9012         * text.C:
9013         * Makefile.am:
9014         * text_funcs.h:
9015         * text_funcs.C: make transposeChars a free function
9016
9017         * lyxrow_funcs.C: remove wrong comment
9018
9019 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9020
9021         * lyxtext.h: adjust
9022         * rowpainter.C: adjust
9023         * text.C: adjust
9024         * text2.C: adjust
9025         * text3.C: adjust
9026
9027         * lyxrow_funcs. [Ch]: new files
9028
9029         * lyxrow.[Ch]: remove next and previous pointers
9030         (next,previous): remove accessor functions
9031         (isParEnd): move to lyxrow_funcs
9032         (lastPos): move to lyxrow_funcs
9033         (nextRowIsAllInset): move to lyxrow_funcs
9034         (lastPrintablePos): move to lyxrow_funcs
9035         (numberOfSeparators): move to lyxrow_funcs
9036         (numberOfHfills): move to lyxrow_funcs
9037         (numberOfLabelHfills): move to lyxrow_funcs
9038         (hfillExpansion): move to lyxrow_funcs
9039
9040         * lyxfunc.C: adjust
9041
9042         * bufferview_funcs.C (toggleAndShow): adjust
9043
9044         * RowList.h: Remove class RowList from file leave just a
9045         std::list<Row>.
9046
9047         * RowList.C: delete file
9048
9049         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9050         and lyxrow_funcs.h
9051
9052 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9053
9054         * text3.C (cursorPrevious): adjust
9055         (cursorNext): adjust
9056         (dispatch): adjust
9057
9058         * text2.C (redoHeightOfParagraph): adjust
9059         (redoDrawingOfParagraph): adjust
9060         (setCursor): adjust
9061
9062         * text.C (breakParagraph): adjust
9063         (insertChar): adjust
9064         (backspace): adjust
9065
9066         * rowpainter.C (RowPainter): adjust
9067         (leftMargin): simplify and adjust
9068         (most rowpainter functions): adjust.
9069
9070         * rowpainter.h: store the row as RowList::iterator not as Row*
9071
9072         * lyxcursor.C (row): taka RowList::iterator as arg
9073         (irow): ditto
9074
9075         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9076         of Row*.
9077
9078 2003-04-01  Angus Leeming  <leeming@lyx.org>
9079
9080         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9081         stuff like bool Bool.
9082
9083 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9084
9085         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9086         rewrite a loop
9087
9088 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9089
9090         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9091         RowList::iterator.
9092
9093         * lyxtext.h (rows): drop one version and leve a const variant that
9094         returns a RowList::iterator.
9095
9096 2003-03-31  Angus Leeming  <leeming@lyx.org>
9097
9098         * text.C (fill): ensure that the signature is the same as that in the
9099         header file.
9100
9101 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9102
9103         * text2.C (redoParagraphs): adjust
9104         (updateCounters): adjust
9105         (checkParagraph): adjust
9106         (getColumnNearX): adjust and reformat a bit.
9107
9108         * text.C (top_y): adjust
9109         (workWidth): adjust
9110         (leftMargin): adjust
9111         (prepareToPrint): adjust
9112         (getRow): adjust
9113         (getRowNearY): adjust
9114
9115         * lyxtext.h: make rowlist_ mutable.
9116
9117         * RowList.h: add const_iterator
9118         * RowList.C: adjust for RowList::const_iterator.
9119
9120         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9121         adjust.
9122
9123 2003-03-31  John Levon  <levon@movementarian.org>
9124
9125         * lyxrc.h:
9126         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9127
9128         * lyx_main.C: set default fonts from using lyx_gui funcs
9129
9130         * exporter.C: pdf_mode moved from lyxrc
9131
9132         * lyx_cb.C:
9133         * lyxfunc.C: changes from above
9134
9135 2003-03-31  John Levon  <levon@movementarian.org>
9136
9137         * lyx_main.C: fix to the last fix
9138
9139 2003-03-31  John Levon  <levon@movementarian.org>
9140
9141         * bufferlist.C: "Load original" -> "Load Original"
9142
9143         * converter.C:
9144         * exporter.C:
9145         * importer.C:
9146         * lyx_main.C:
9147         * format.C: more Alert cleanups
9148
9149 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9150
9151         * text2.C (removeParagraph): make it take a RowList::iterator as
9152         arg, adjust.
9153         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9154         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9155
9156         * text.C (anchor_row): make it take a RowList::iterator as arg,
9157         adjust.
9158         (computeBidiTables): make it take a const reference to Row instead
9159         of Row pointer, adjust.
9160         (leftMargin): make it take a RowList::iterator as arg, adjust.
9161         (rowBreakPoint): adjust
9162         (breakAgainOneRow): make it take a RowList::iterator as arg,
9163         adjust.
9164         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9165
9166         * bufferview_funcs.C (toggleAndShow): adjust
9167
9168 2003-03-30  John Levon  <levon@movementarian.org>
9169
9170         * Makefile.am:
9171         * BoostFormat.h:
9172         * boost-inst.C: moved to support
9173
9174         * several files: changes as a result
9175
9176 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9177
9178         * text2.C (LyXText): adjust.
9179         (init): adjust
9180         (removeRow): make it take a RowList::iterator as arg, adjust.
9181         (fullRebreak): adjust
9182         (deleteEmptyParagraphMechanism): adjust
9183         (clearPaint): adjust
9184         (postPaint): adjust
9185
9186         * text.C (top_y): adjust
9187         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9188         (breakAgain): make it take a RowList::iterator as arg, adjust.
9189         (breakParagraph): adjust
9190         (insertChar): adjust
9191         (backspace): adjust
9192
9193         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9194         need_break_row, and refresh_row.
9195
9196         * text3.C (dispatch): adjust
9197
9198         * text2.C (checkParagraph): adjust
9199         (setCursor): adjust
9200         (setCursorFromCoordinates): adjust
9201
9202         * text.C (top_y): adjust
9203         (workWidth): adjust
9204         (getRow): make it return a RowList::iterator, adjust
9205         (getRowNearY): make it return a RowList::iterator, adjust
9206
9207         * text2.C (init): adjust
9208         (insertRow): remove function
9209         (insertParagraph): adjust
9210         (redoParagraphs): adjust
9211         (fullRebreak): adjust
9212         (updateCounters): adjust
9213
9214         * text.C (top_y): rewrite to use RowList iterators.
9215         (top_y): adjust
9216         (setHeightOfRow): rewrite to sue RowList iterators.
9217         (appendParagraph): adjust
9218         (breakAgain): adjust
9219         (breakAgainOneRow): adjust
9220         (breakParagraph): adjust
9221         (getRow): adjust
9222         (getRowNearY): adjust, and remove commented code.
9223
9224         * lyxtext.h (firstRow): delete function
9225         (lastRow): delete function
9226         (rows): new function (const and non-const versions.)
9227         (insertRow): delete function
9228
9229         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9230
9231 2003-03-29  John Levon  <levon@movementarian.org>
9232
9233         * BufferView_pimpl.C: always update scrollbar top
9234         because pasting text when we're anchored could mean we
9235         miss an update altogether
9236
9237 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9238
9239         * text2.C (init): use rowlist_.end() and not 0.
9240         (insertRow): change to take a RowList::iterator as arg, adjust
9241         for this.
9242         (insertParagraph): change to take a RowList::iterator as arg,
9243         adjust for this.
9244         (redoParagraphs): remove some debug msgs.
9245
9246         * text.C (appendParagraph): change to take a RowList::iterator
9247         arg, adjust for this.
9248         (breakAgain): add an assert
9249         (breakAgainOneRow): ditto
9250
9251 2003-03-29  John Levon  <levon@movementarian.org>
9252
9253         * text2.C: do not clear selection after inc/decDepth
9254         (bug 550)
9255
9256 2003-03-29  John Levon  <levon@movementarian.org>
9257
9258         * BufferView.C:
9259         * buffer.C: fix broken strerrors according to Lars
9260
9261 2003-03-29  John Levon  <levon@movementarian.org>
9262
9263         * converters.C: more Alert cleanups
9264
9265 2003-03-29  John Levon  <levon@movementarian.org>
9266
9267         * bufferview_funcs.C: remove pointless Alert
9268
9269         * buffer.C: fix confusing error message when
9270         a template is chmoded 000
9271
9272 2003-03-29  John Levon  <levon@movementarian.org>
9273
9274         * BufferView.C:
9275         * BufferView.h:
9276         * BufferView_pimpl.C: Alert fixes
9277
9278         * Makefile.am:
9279         * tabular.C:
9280         * tabular-old.C: remove unused table compat reading
9281
9282 2003-03-29  John Levon  <levon@movementarian.org>
9283
9284         * BufferView.C:
9285         * buffer.C:
9286         * lyx_cb.h:
9287         * lyx_cb.C: more Alert cleanups
9288
9289         * lyxfunc.C: don't allow chktex if not latex document
9290
9291 2003-03-29  John Levon  <levon@movementarian.org>
9292
9293         * lyx_cb.C:
9294         * BufferView.C:
9295         * buffer.C: warnings pushed down from support/,
9296         kill err_alert
9297
9298 2003-03-29  John Levon  <levon@movementarian.org>
9299
9300         * lyxfunc.C: safety check for C-r (revert)
9301
9302 2003-03-29  John Levon  <levon@movementarian.org>
9303
9304         * bufferlist.h:
9305         * bufferlist.C: several UI fixes using Alert::prompt.
9306         Fix the pointless looping quit code. Fix stupid revert
9307         behaviour (bug 938)
9308
9309         * lyxvc.h:
9310         * lyxvc.C:
9311         * lyx_cb.C: use Alert::prompt
9312
9313         * lyx_main.C: remove a silly question
9314
9315         * lyxfunc.C: remove a couple of silly questions,
9316         use Alert::prompt
9317
9318 2003-03-28  John Levon  <levon@movementarian.org>
9319
9320         * text2.C: fix bug 974 (End on empty par)
9321
9322 2003-03-28  John Levon  <levon@movementarian.org>
9323
9324         * BufferView_pimpl.C:
9325         * LyXAction.C:
9326         * lfuns.h: remove do-nothing math greek lfuns
9327
9328 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9329
9330         * lyxgluelength.h (isValidGlueLength): add default arg on
9331         parameter 2. Remove default arg from friend in class.
9332
9333         * lyxlength.h (isValidLength): add default arg on parameter 2.
9334         Remove default arg from friend in class.
9335
9336         * text2.C (LyXText): adjust, initialize refresh_row.
9337         (init): adjust
9338         (removeRow): adjust
9339         (insertRow): adjust
9340         (insertParagraph): adjst
9341         (redoParagraphs): adjust
9342         (fullRebreak): adjust
9343         (updateCounters): adjust
9344         (deleteEmptyParagraphMechanism): first attempt at fixing a
9345         crashing bug.
9346
9347         * text.C (top_y): adjust
9348         (setHeightOfRow): adjust
9349         (getRow): adjust
9350         (getRowNearY): adjust
9351
9352         * lyxtext.h: include RowList.h
9353         (~LyXText): not needed anymore, deleted.
9354         (firstRow): modify for RowList
9355         (lastRow): new function
9356         Delete firstrow and lastrow class variables, add a Rowlist
9357         rowlist_ class variable.
9358
9359         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9360         paragraph is empty.
9361
9362         * RowList.C (insert): fix case where it == begin().
9363
9364 2003-03-26  Angus Leeming  <leeming@lyx.org>
9365
9366         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9367         the thesaurus dialog.
9368
9369 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9370
9371         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9372
9373         * RowList.[Ch]: new files
9374
9375         * ParagraphList.C (erase): handle the case where it == begin
9376         correctly.
9377
9378 2003-03-25  John Levon  <levon@movementarian.org>
9379
9380         * Makefile.am:
9381         * aspell_local.h:
9382         * aspell.C: add new aspell support
9383
9384         * lyxrc.h:
9385         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9386         have it accessible.
9387
9388 2003-03-25  Angus Leeming  <leeming@lyx.org>
9389
9390         * lfuns.h:
9391         * LyXAction.C (init): new LFUN_INSET_INSERT.
9392
9393         * BufferView_pimpl.C (dispatch): split out part of the
9394         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9395
9396         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9397         LFUN_INSET_APPLY.
9398
9399 2003-03-25  Angus Leeming  <leeming@lyx.org>
9400
9401         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9402
9403 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9404
9405         * text2.C:
9406         * text3.C: remove useless row->height(0)
9407
9408 2003-03-25  John Levon  <levon@movementarian.org>
9409
9410         * lyxtext.h:
9411         * text2.C:
9412         * text3.C: rename the refreshing stuff to better names
9413
9414 2003-03-24  John Levon  <levon@movementarian.org>
9415
9416         * BufferView_pimpl.h:
9417         * BufferView_pimpl.C: update layout choice on a mouse
9418         press/release
9419
9420 2003-03-23  John Levon  <levon@movementarian.org>
9421
9422         * Makefile.am: fix commandtags.h reference
9423
9424 2003-03-22  John Levon  <levon@movementarian.org>
9425
9426         * BufferView_pimpl.C:
9427         * lyxtext.h:
9428         * rowpainter.C:
9429         * rowpainter.h:
9430         * text.C:
9431         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9432
9433 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9434
9435         * lyxtext.h:
9436         * text.C: take the rtl methods out of line
9437
9438 2003-03-21 André Pönitz <poenitz@gmx.net>
9439
9440         * metricsinfo.[Ch]: new files containing structures to be passed around
9441         during the two-phase-drawing...
9442
9443 2003-03-21 André Pönitz <poenitz@gmx.net>
9444
9445         * lyxtextclass.C: read 'environment' tag.
9446
9447 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9448
9449         * text2.C (removeRow): fix bug 964
9450
9451 2003-03-20  John Levon  <levon@movementarian.org>
9452
9453         * rowpainter.C:
9454         * text.C:
9455         * text2.C: paint cleanups. Inset::update() dropped font
9456         parameter
9457
9458 2003-03-19  John Levon  <levon@movementarian.org>
9459
9460         * lyxfunc.C: only fitcursor/markDirty if available()
9461
9462 2003-03-19  John Levon  <levon@movementarian.org>
9463
9464         * commandtags.h: rename to ...
9465
9466         * lfuns.h: ... this, and renumber / cleanup
9467
9468 2003-03-19  John Levon  <levon@movementarian.org>
9469
9470         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9471         fit the cursor after an lfun
9472
9473         * BufferView.h:
9474         * BufferView.C:
9475         * BufferView_pimpl.h:
9476         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9477
9478         * LyXAction.C: layout-character should have ReadOnly
9479
9480         * ParagraphParameters.C:
9481         * buffer.C:
9482         * bufferview_funcs.C:
9483         * lyx_cb.C:
9484         * lyxfind.C:
9485         * lyxtext.h:
9486         * text.C:
9487         * text2.C:
9488         * text3.C:
9489         * undo_funcs.C: changes from above
9490
9491 2003-03-18  John Levon  <levon@movementarian.org>
9492
9493         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9494         remove it from update()
9495
9496         * lyxfunc.C: update layout choice after an lfun
9497
9498         * text3.C: remove extra updateLayoutChoice()s
9499
9500 2003-03-18  John Levon  <levon@movementarian.org>
9501
9502         * text.C: top_y change means full repaint, fix
9503         a drawing bug with cursor movement
9504
9505 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9506
9507         * lyxtext.h:
9508         * text.C:
9509         * text2.C: anchor row on setCursor
9510
9511 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9512
9513         * lyxtext.h: remove almost all mutable keywords
9514         * text.C:
9515         * text2.C:
9516         * text3.C: remove const keywords accordingly
9517
9518 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9519
9520         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9521         anon namespace
9522         (TeXEnvironment): ditto
9523         (TeXOnePar): ditto
9524
9525 2003-03-17  John Levon  <levon@movementarian.org>
9526
9527         * text.C (rowBreakPoint): remove attempt to fix displayed
9528         math insets inside a manual label
9529
9530 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9531
9532         * lyxtext.h: remove BufferView* as first arg from almost all class
9533         functions.
9534         * other files: adjust.
9535
9536 2003-03-17  John Levon  <levon@movementarian.org>
9537
9538         * lyxtext.h:
9539         * undo_funcs.C:
9540         * text2.C: more paint cleanups
9541
9542         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9543
9544         * rowpainter.h:
9545         * rowpainter.C: remove "smart" background painting code
9546
9547 2003-03-16  John Levon  <levon@movementarian.org>
9548
9549         * lyxtext.h:
9550         * text.C:
9551         * text2.C:
9552         * text3.C: add helper functions for setting refresh_row/y
9553
9554 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9555
9556         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9557         newline inset which *can* get inserted in the pass_thru layouts.
9558         This is primarily for literate documents.
9559
9560 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9561
9562         * buffer.C: increment LYX_FORMAT to 223
9563
9564 2003-03-14 André Pönitz <poenitz@gmx.net>
9565
9566         * textclass.h: prepare for environment handling, ws changes
9567         * lyxlayout.C: read latexheader and latexfooter tags
9568
9569 2003-03-14  John Levon  <levon@movementarian.org>
9570
9571         * text2.C: rewrite ::status() a bit
9572
9573 2003-03-13  John Levon  <levon@movementarian.org>
9574
9575         * lyxtext.h: add some docs
9576
9577 2003-03-13  John Levon  <levon@movementarian.org>
9578
9579         * lyxtext.h:
9580         * text.C:
9581         * text2.C:
9582         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9583
9584 2003-03-13  John Levon  <levon@movementarian.org>
9585
9586         * text3.C: fix appendix redrawing
9587
9588 2003-03-13  John Levon  <levon@movementarian.org>
9589
9590         * text.C (setHeightOfRow):
9591         * rowpainter.h:
9592         * rowpainter.C: make appendix mark have the text
9593           "Appendix" so the user knows what it is
9594
9595         * LColor.h:
9596         * LColor.C: s/appendixline/appendix/ from above
9597
9598 2003-03-13  John Levon  <levon@movementarian.org>
9599
9600         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9601
9602         * text.C: fix a getChar(pos) bug properly
9603
9604 2003-03-13  Angus Leeming  <leeming@lyx.org>
9605
9606         * commandtags.h:
9607         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9608         Probably only temporary. Let's see how things pan out.
9609
9610         * BufferView.C (unlockInset):
9611         * BufferView_pimpl.C (fitCursor):
9612         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9613
9614         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9615         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9616
9617         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9618         new functions that convert ParagraphParameters to and from a string.
9619
9620         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9621         BufferView::Pimpl's dispatch.
9622         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9623
9624 2003-03-13 André Pönitz <poenitz@gmx.net>
9625
9626         * lyxfunc.C:
9627         * text3.C:
9628         * factory.C: make it aware of InsetEnv
9629
9630 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9631
9632         * text2.C (setCursor): never ask for one past last
9633         (setCursor): add some debugging messages.
9634
9635         * text.C (singleWidth): never ask for one past last
9636         (singleWidth): ditto
9637         (leftMargin): ditto
9638         (rightMargin): ditto
9639         (rowBreakPoint): ditto
9640         (setHeightOfRow): ditto
9641         (prepareToPrint): ditto
9642
9643         * rowpainter.C (paintBackground): never ask for one past last
9644         (paintText): never ask for one past last
9645
9646         * paragraph_pimpl.C (getChar): make the assert stricter, never
9647         allow the one past last pos to be taken
9648
9649         * paragraph.C (getChar): ws changes only
9650
9651         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9652         (numberOfSeparators): ditto
9653         (numberOfHfills): ditto
9654
9655 2003-03-12  John Levon  <levon@movementarian.org>
9656
9657         * author.h:
9658         * author.C:
9659         * bufferparams.h:
9660         * bufferparams.C:
9661         * paragraph_funcs.C: fix per-buffer authorlists
9662
9663 2003-03-12  John Levon  <levon@movementarian.org>
9664
9665         * text.C: fix newline in right address
9666
9667 2003-03-12  Angus Leeming  <leeming@lyx.org>
9668
9669         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9670         duplicate those in LyXFunc::dispatch.
9671
9672         * commandtags.h:
9673         * LyXAction.C:
9674         * ToolbarDefaults.C:
9675         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9676         Add LFUN_FONTFREE_UPDATE.
9677
9678         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9679         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9680
9681         * bufferview_func.[Ch]: several new functions to facilliate
9682         transfer of data to and from the character dialog.
9683
9684 2003-03-12  John Levon  <levon@movementarian.org>
9685
9686         * buffer.C:
9687         * paragraph.h:
9688         * paragraph.C:
9689         * paragraph_funcs.C:
9690         * paragraph_pimpl.C:
9691         * sgml.C:
9692         * tabular.C:
9693         * text.C:
9694         * text3.C: remove META_NEWLINE in favour of an inset
9695
9696         * rowpainter.h:
9697         * rowpainter.C: remove paintNewline (done by inset)
9698
9699 2003-03-12  John Levon  <levon@movementarian.org>
9700
9701         * paragraph_pimpl.C: complain about bad getChar()s
9702         for a while at least
9703
9704 2003-03-12  John Levon  <levon@movementarian.org>
9705
9706         * buffer.h:
9707         * buffer.C: move paragraph read into a separate function,
9708         a little renaming to reflect that.
9709
9710         * bufferparams.h:
9711         * bufferparams.C: remove the author_ids map, not necessary now
9712
9713         * factory.h:
9714         * factory.C: moved Buffer::readInset to here
9715
9716         * paragraph_funcs.h:
9717         * paragraph_funcs.C: readParagraph free function moved from
9718         buffer.C
9719
9720         * tabular.C: name change
9721
9722 2003-03-12  John Levon  <levon@movementarian.org>
9723
9724         * buffer.C:
9725         * ParagraphParameters.C: move par params input to
9726         a read() method
9727
9728         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9729         behave like a normal read from the stream wrt reading
9730         a line vs. a \\token
9731
9732 2003-03-12  John Levon  <levon@movementarian.org>
9733
9734         * paragraph.C:
9735         * ParagraphParameters.h:
9736         * ParagraphParameters.C: move output code to a
9737         ::write() method
9738
9739 2003-03-12  John Levon  <levon@movementarian.org>
9740
9741         * BufferView.C (insertLyXFile):
9742         * buffer.h:
9743         * buffer.C:
9744         * tabular.C: use a parlist iterator for creating the
9745           document.
9746
9747 2003-03-12  John Levon  <levon@movementarian.org>
9748
9749         * buffer.C: make current_change static local not
9750           static file-scope
9751
9752 2003-03-12  John Levon  <levon@movementarian.org>
9753
9754         * buffer.C: fix insertStringAsLines for change tracking
9755
9756 2003-03-12  John Levon  <levon@movementarian.org>
9757
9758         * BufferView.C:
9759         * tabular.C:
9760         * buffer.h:
9761         * buffer.C:
9762         * bufferparams.h:
9763         * bufferparams.C: move author list into params. Rename some
9764           functions. Move the header reading into a separate token
9765           loop. Move the header token reading into BufferParams.
9766
9767 2003-03-12  John Levon  <levon@movementarian.org>
9768
9769         * changes.C: put debug inside lyxerr.debugging() checks
9770
9771 2003-03-11 André Pönitz <poenitz@gmx.net>
9772
9773         * factory.C: make it aware of InsetHFill
9774
9775 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9776
9777         * buffer.C (latexParagraphs): move function from here...
9778         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9779         args.
9780
9781 2003-03-10  Angus Leeming  <leeming@lyx.org>
9782
9783         * LyXAction.C (init): fix bug in poplating array with multiple entries
9784         with the same LFUN (spotted by JMarc).
9785
9786 2003-03-10  John Levon  <levon@movementarian.org>
9787
9788         * text.C:
9789         * text2.C: move getColumnNearX() near its
9790         only call site
9791
9792 2003-03-10  John Levon  <levon@movementarian.org>
9793
9794         * text.C: fix break before a minipage
9795
9796 2003-03-10  John Levon  <levon@movementarian.org>
9797
9798         * text.C: fix the last commit
9799
9800 2003-03-09  John Levon  <levon@movementarian.org>
9801
9802         * lyxtext.h:
9803         * text.C:
9804         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9805         bug 365 (don't break before insets unless needed). Don't
9806         return a value > last under any circumstances.
9807
9808 2003-03-09  Angus Leeming  <leeming@lyx.org>
9809
9810         * BufferView_pimpl.C (trackChanges, dispatch): call
9811         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9812
9813 2003-03-09  Angus Leeming  <leeming@lyx.org>
9814
9815         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9816         than Dialogs::showAboutlyx().
9817
9818 2003-03-09  Angus Leeming  <leeming@lyx.org>
9819
9820         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9821         than Dialogs::showTabularCreate().
9822
9823 2003-03-09  John Levon  <levon@movementarian.org>
9824
9825         * lyxtext.h:
9826         * text.C:
9827         * text2.C: 3rd arg to nextBreakPoint was always the same.
9828           Use references.
9829
9830 2003-03-08  John Levon  <levon@movementarian.org>
9831
9832         * lyxrow.C:
9833         * paragraph.C:
9834         * paragraph.h:
9835         * rowpainter.C:
9836         * text.C:
9837         * text2.C: Remove the "main" bit from the "main body"
9838           notion.
9839
9840 2003-03-08  John Levon  <levon@movementarian.org>
9841
9842         * text.C (leftMargin): The left margin of an empty
9843         manual label paragraph should not include the label width
9844         string length.
9845
9846         * text.C (prepareToPrint): don't attempt to measure hfills
9847         for empty manual label paragraphs - the answer should be 0
9848
9849 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9850
9851         * CutAndPaste.C: remove commented code and reindent.
9852
9853 2003-03-08  John Levon  <levon@movementarian.org>
9854
9855         * lyxfunc.h:
9856         * lyxfunc.C: move reloadBuffer()
9857
9858         * BufferView.h:
9859         * BufferView.C: to here
9860
9861         * lyxvc.C: add comment
9862
9863         * vc-backend.h:
9864         * vc-backend.C: call bv->reload() to avoid
9865           getStatus() check on MENURELOAD
9866
9867 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9868
9869         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9870         to an old format .dep file.
9871
9872 2003-03-07  Angus Leeming  <leeming@lyx.org>
9873
9874         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9875         when the LFUN_MOUSE_RELEASE should have been handled by
9876         inset->localDispatch.
9877
9878 2003-03-07  Angus Leeming  <leeming@lyx.org>
9879
9880         * BufferView_pimpl.C (dispatch):
9881         * LyXAction.C (init):
9882         * ToolbarDefaults.C (init):
9883         * commandtags.h:
9884         * lyxfunc.C (getStatus):
9885         remove LFUN_INSET_GRAPHICS.
9886
9887         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9888
9889 2003-03-07  Angus Leeming  <leeming@lyx.org>
9890
9891         * commandtags.h:
9892         * LyXAction.C (init):
9893         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9894
9895         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9896
9897         * commandtags.h:
9898         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9899
9900         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9901         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9902
9903 2003-03-07  Angus Leeming  <leeming@lyx.org>
9904
9905         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9906         remove "ert".
9907
9908 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9909
9910         * ParagraphList.C (front): new function
9911         (back): implement
9912
9913 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9914
9915         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9916         and top_row_offset_. removed var first_y.
9917         * text.C (top_y):
9918         * text2.C (LyXText, removeRow):
9919         * text3.C:
9920         * BufferView_pimpl.C:
9921         use these methods instead of using first_y
9922
9923 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9924
9925         * text2.C (pasteSelection): adjust for checkPastePossible
9926
9927         * CutAndPaste.C: remove Paragraph * buf and replace with
9928         ParagraphList paragraphs.
9929         (DeleteBuffer): delete
9930         (cutSelection): change the tc type to textclass_type
9931         (copySelection): change the tc type to textclass_type
9932         (copySelection): adjust for ParagraphList
9933         (pasteSelection): change the tc type to textclass_type
9934         (pasteSelection): adjust for Paragraphlist
9935         (nrOfParagraphs): simplify for ParagraphList
9936         (checkPastePossible): simplify for ParagraphList
9937         (checkPastePossible): remove unused arg
9938
9939         * ParagraphList.C (insert): handle the case where there are no
9940         paragraphs yet.
9941
9942         * CutAndPaste.h: make CutAndPaste a namespace.
9943
9944         * text3.C (dispatch): adjust
9945
9946         * text.C (breakParagraph): add a ParagraphList as arg
9947
9948         * paragraph_funcs.C (breakParagraph): change to take a
9949         BufferParams and a ParagraphList as args.
9950         (breakParagraphConservative): ditto
9951         (mergeParagraph): ditto
9952         (TeXDeeper): add a ParagraphList arg
9953         (TeXEnvironment): ditto
9954         (TeXOnePar): ditto
9955
9956         * buffer.C (readLyXformat2): adjust
9957         (insertStringAsLines): adjust
9958         (latexParagraphs): adjust
9959
9960         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9961         (cutSelection): adjust
9962         (pasteSelection): adjust
9963
9964         * BufferView_pimpl.C (insertInset): adjust
9965
9966 2003-03-05  Angus Leeming  <leeming@lyx.org>
9967
9968         * commandtags.h:
9969         * LyXAction.C (init):
9970         * BufferView_pimpl.C (dispatch):
9971         * lyxfunc.C (getStatus):
9972         remove LFUN_CHILD_INSERT.
9973
9974         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9975
9976 2003-03-05  Angus Leeming  <leeming@lyx.org>
9977
9978         * commandtags.h:
9979         * LyXAction.C (init):
9980         * src/factory.C (createInset):
9981         * lyxfunc.C (getStatus):
9982         * text3.C (dispatch):
9983         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9984
9985         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9986
9987 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9988
9989         * ParagraphList.C (insert): handle insert right before end()
9990         (erase): fix cases where it can be first or last paragraph.
9991
9992 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9993
9994         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9995         Paragraph::next and Paragraph::previous
9996         (TeXOnePar): ditto
9997
9998         * text.C (breakParagraph): adjust
9999
10000         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10001         BufferParams& as arg.
10002         (breakParagraph): use ParagraphList::insert
10003         (breakParagraphConservative): take a Buffer* instead of a
10004         BufferParams& as arg.
10005         (breakParagraphConservative): use ParagraphList::insert.
10006
10007         * buffer.C (insertStringAsLines): un-const it
10008         (insertStringAsLines): adjust
10009
10010         * ParagraphList.C (insert): new function
10011
10012         * CutAndPaste.C (pasteSelection): adjust
10013
10014         * text.C (backspace): adjust
10015
10016         * tabular.C (SetMultiColumn): adjust
10017
10018         * CutAndPaste.C (cutSelection): adjust
10019         (pasteSelection): adjust
10020
10021         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10022         Buffer const * as arg
10023
10024         * ParagraphList.C (erase): new function
10025         * paragraph_funcs.C (mergeParagraph): use it
10026         (mergeParagraph): make it take a Buffer* instead of a
10027         BufferParams* as arg
10028
10029         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10030         as arg
10031         (breakParagraphConservative): ditto
10032
10033         * paragraph.h: remove the breakParagraph friend
10034
10035         * paragraph.C (eraseIntern): new function
10036         (setChange): new function
10037
10038         * paragraph_funcs.C (mergeParagraph): make it take a
10039         ParagraphList::iterator instead of a Paragraph *, adjust
10040         accordingly.
10041
10042         * paragraph.h: move an #endif so that the change tracking stuff
10043         also works in the NO_NEXT case.
10044
10045 2003-03-04  Angus Leeming  <leeming@lyx.org>
10046
10047         * commandtags.h:
10048         * LyXAction.C: new LFUN_INSET_MODIFY.
10049
10050         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10051         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10052
10053 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10054
10055         * several files: ws changes only
10056
10057         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10058         (TeXEnvironment): ditto
10059         (TeXDeeper): ditto
10060
10061         * buffer.C (makeLaTeXFile): adjust
10062         (latexParagraphs): make it take ParagraphList::iterator as args
10063
10064 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10065
10066         * buffer.C (latexParagraphs): adjust
10067
10068         * paragraph.C (TeXOnePar): move function...
10069         (optArgInset): move function...
10070         (TeXEnvironment): move function...
10071         * paragraph_pimpl.C (TeXDeeper): move function...
10072         * paragraph_funcs.C: ...here
10073
10074         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10075
10076 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10077
10078         * buffer.C (readInset): remove compability code for old Figure and
10079         InsetInfo insets
10080
10081 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10082
10083         * buffer.C: ws changes
10084         (readInset):
10085
10086         * BufferView_pimpl.C: ditto
10087         * author.C: ditto
10088         * buffer.h: ditto
10089         * bufferlist.h: ditto
10090         * changes.h: ditto
10091         * lyxfunc.C: ditto
10092
10093 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10094
10095         * converter.[Ch]: split into itself +
10096         * graph.[Ch]
10097         * format.[Ch]
10098         * Makefile.am: += graph.[Ch] + format.[Ch]
10099         * MenuBackend.C
10100         * buffer.C
10101         * exporter.C
10102         * importer.C
10103         * lyx_main.C
10104         * lyxfunc.C
10105         * lyxrc.C: added #include "format.h"
10106
10107 2003-02-27  Angus Leeming  <leeming@lyx.org>
10108
10109         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10110           a label.
10111
10112         * factory.C (createInset): add "label" to the factory.
10113
10114         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10115           string and do no more.
10116
10117 2003-02-27  Angus Leeming  <leeming@lyx.org>
10118
10119         * commandtags.h:
10120         * LyXAction.C (init):
10121         * factory.C (createInset):
10122         * BufferView_pimpl.C (dispatch):
10123           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10124
10125         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10126
10127         * lyxfunc.C (dispatch):
10128         * text3.C (dispatch): pass name to params2string.
10129
10130 2003-02-26  Angus Leeming  <leeming@lyx.org>
10131
10132         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10133           blocks together.
10134           Rearrange the ~includes. Strip out the unnecessary ones.
10135
10136         * factory.C (createInset): reformat.
10137           create new insets for the various LFUN_XYZ_APPLY lfuns.
10138
10139 2003-02-26  John Levon  <levon@movementarian.org>
10140
10141         * lyxrow.h:
10142         * lyxrow.C: add isParStart,isParEnd helpers
10143
10144         * paragraph.h: make isInserted/DeletedText take refs
10145
10146         * paragraph_funcs.h:
10147         * paragraph_funcs.C: remove #if 0'd code
10148
10149         * lyxtext.h:
10150         * text3.C:
10151         * text2.C:
10152         * text.C: use lyxrow helpers above.
10153           Move draw and paint routines to RowPainter.
10154           Make several methods use refs not pointers.
10155           Make backgroundColor() const.
10156           Add markChangeInDraw(), isInInset().
10157           Merge changeRegionCase into changeCase.
10158           Make workWidth() shouldn't-happen code into an Assert.
10159
10160         * rowpainter.h:
10161         * rowpainter.C: new class for painting a row.
10162
10163         * vspace.h:
10164         * vspace.C: make inPixels take a ref
10165
10166 2003-02-26  Angus Leeming  <leeming@lyx.org>
10167
10168         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10169         LFUN_REF_APPLY.
10170
10171 2003-02-25  John Levon  <levon@movementarian.org>
10172
10173         * ispell.C: give the forked command a more accurate name
10174
10175 2003-02-22  John Levon  <levon@movementarian.org>
10176
10177         * toc.h:
10178         * toc.C: make TocItem store an id not a Paragraph *
10179           (bug #913)
10180
10181 2003-02-21  Angus Leeming  <leeming@lyx.org>
10182
10183         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10184           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10185           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10186           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10187           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10188           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10189
10190         * BufferView_pimpl.C (dispatch):
10191         * LyXAction.C (init):
10192         * factory.C (createInset):
10193         * lyxfunc.C (getStatus, dispatch):
10194         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10195
10196 2003-02-21  Angus Leeming  <leeming@lyx.org>
10197
10198         * BufferView_pimpl.C (MenuInsertLyXFile):
10199         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10200         * lyxfunc.C (menuNew, open, doImport):
10201           no longer pass a LyXView & to fileDlg.
10202
10203 2003-02-21  Angus Leeming  <leeming@lyx.org>
10204
10205         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10206         * LyXAction.C: change, BIBKEY to BIBITEM.
10207         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10208         Change InsetBibKey to InsetBibitem.
10209         Change BIBKEY_CODE to BIBITEM_CODE.
10210         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10211         * factory.C: replace insetbib.h with insetbibitem.h.
10212         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10213         * paragraph.C: replace insetbib.h with insetbibitem.h.
10214         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10215         Change bibkey() to bibitem().
10216         * text.C: remove insetbib.h.
10217         * text2.C: replace insetbib.h with insetbibitem.h.
10218         change bibkey() to bibitem().
10219         * text3.C: remove insetbib.h.
10220         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10221
10222 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10223
10224         * lyxrc.C (output): enclose user email in quotes (in case there are
10225         several words)
10226
10227 2003-02-18  John Levon  <levon@movementarian.org>
10228
10229         * buffer.h: add std::
10230
10231 2003-02-17  John Levon  <levon@movementarian.org>
10232
10233         * SpellBase.h:
10234         * ispell.h:
10235         * ispell.C:
10236         * pspell.h:
10237         * pspell.C: reworking. Especially in ispell, a large
10238           number of clean ups and bug fixes.
10239
10240         * lyxfunc.C: fix revert to behave sensibly
10241
10242 2003-02-17 André Pönitz <poenitz@gmx.net>
10243
10244         * LyXAction.C:
10245         * commandtags.h: new LFUN_INSERT_BIBKEY
10246
10247         * layout.h:
10248         * lyxlayout.C:
10249         * buffer.C:
10250         * factory.C:
10251         * text.C:
10252         * text2.C:
10253         * text3.C:
10254         * paragraph.[Ch]:
10255         * paragraph_func.C: remove special bibkey handling
10256
10257 2003-02-17  John Levon  <levon@movementarian.org>
10258
10259         * text.C (Delete): fix case where delete at the end of
10260           the very first paragraph would not merge the pars
10261
10262 2003-02-17  John Levon  <levon@movementarian.org>
10263
10264         * lyxrow.C: fix lastPrintablePos()
10265
10266 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10267
10268         * bufferparams.C (writeLaTeX): add a std:here
10269
10270         * buffer.C: and remove a using directive there
10271
10272 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10273
10274         * buffer.C (makeLaTeXFile): move the code that generates the
10275           preamble...
10276
10277         * bufferparams.C (writeLaTeX): ... in this new method
10278
10279         * LaTeXFeatures.C (getEncodingSet): make const
10280           (getLanguages): make const
10281
10282         * MenuBackend.C (binding): returns the binding associated to this
10283           action
10284           (add): sets the status of each item by calling getStatus. Adds
10285           some intelligence.
10286           (read): add support for OptSubMenu
10287           (expand): remove extra separator at the end of expanded menu
10288
10289 2003-02-15  John Levon  <levon@movementarian.org>
10290
10291         * BufferView.C:
10292         * BufferView_pimpl.C:
10293         * bufferlist.h:
10294         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10295           inset code that had no actual effect. Remove unneeded status
10296           code.
10297
10298 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10299
10300         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10301           in preamble
10302
10303 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10304
10305         * text.C (drawLengthMarker): also draw an arrow marker for
10306           symbolic lengths (medskip...)
10307
10308 2003-02-14  John Levon  <levon@movementarian.org>
10309
10310         * tabular.h:
10311         * tabular.C: better method names
10312
10313 2003-02-14  John Levon  <levon@movementarian.org>
10314
10315         * BufferView_pimpl.C:
10316         * bufferlist.C:
10317         * buffer.C:
10318         * converter.C:
10319         * lyx_cb.C:
10320         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10321           it's a more accurate name. Remove some pointless uses.
10322
10323 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10324
10325         * text2.C (LyXText): change order of initilizers to shut off
10326           warnings
10327
10328 2003-02-14  John Levon  <levon@movementarian.org>
10329
10330         * buffer.C: use ParIterator for getParFromID()
10331
10332         * paragraph.h:
10333         * paragraph.C:
10334         * paragraph_pimpl.h:
10335         * paragraph_pimpl.C: remove unused getParFromID()
10336
10337 2003-02-14  John Levon  <levon@movementarian.org>
10338
10339         * buffer.C: remove some very old #if 0'd parse code
10340
10341 2003-02-13  John Levon  <levon@movementarian.org>
10342
10343         * text.h:
10344         * text.C:
10345         * text2.C: move hfillExpansion(), numberOfSeparators(),
10346           rowLast(), rowLastPrintable(), numberofHfills(),
10347           numberOfLabelHfills() ...
10348
10349         * lyxrow.h:
10350         * lyxrow.C: ... to member functions here.
10351
10352         * paragraph.h:
10353         * paragraph.C:
10354         * lyxtext.h:
10355         * text.C: remove LyXText::beginningOfMainBody(), and call
10356           p->beginningOfMainBody() directly. Move the check for
10357           LABEL_MANUAL into the latter.
10358
10359         * text.h:
10360         * text.C:
10361         * text2.C:
10362         * vspace.C:
10363         * BufferView.h:
10364         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10365
10366         * text.h:
10367         * text.C:
10368         * text2.C:
10369         * text3.C:
10370         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10371           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10372
10373 2003-02-13  John Levon  <levon@movementarian.org>
10374
10375         * CutAndPaste.C: remove debug
10376
10377 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10378
10379         * paragraph.C (asString): remove two unused variables
10380
10381         * lyxtextclass.C (readTitleType):
10382           (Read):
10383           (LyXTextClass): handle new members titletype_ and titlename_
10384
10385         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10386
10387 2003-02-09  John Levon  <levon@movementarian.org>
10388
10389         * buffer.h:
10390         * buffer.C: replace hand-coded list with a map for the dep clean
10391
10392 2003-02-08  John Levon  <levon@movementarian.org>
10393
10394         * LaTeX.C: consolidate code into showRunMessage() helper
10395
10396 2003-02-08  John Levon  <levon@movementarian.org>
10397
10398         * lyxfind.C:
10399         * lyxtext.h:
10400         * text2.C:
10401         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10402           and pass the size in explicitly
10403
10404         * BufferView_pimpl.h:
10405         * BufferView_pimpl.C:
10406         * BufferView.h:
10407         * BufferView.C: add getCurrentChange()
10408
10409         * BufferView_pimpl.h:
10410         * BufferView_pimpl.C: handle change lfuns
10411
10412         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10413           for changes. Mark pasted paragraphs as new.
10414
10415         * support/lyxtime.h:
10416         * support/lyxtime.C:
10417         * DepTable.C: abstract time_t as lyx::time_type
10418
10419         * LColor.h:
10420         * LColor.C: add colours for new text, deleted text, changebars
10421
10422         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10423           package use "usenames" option.
10424
10425         * commandtags.h:
10426         * lyxfunc.C:
10427         * LyXAction.C: add change lfuns
10428
10429         * Makefile.am:
10430         * author.h:
10431         * author.C: author handling
10432
10433         * buffer.h:
10434         * buffer.C: add a per-buffer author list, with first entry as
10435           current author. Handle new .lyx tokens for change tracking. Output
10436           author list to .lyx file. Output dvipost stuff to .tex preamble.
10437           Bump lyx format to 222.
10438
10439         * bufferlist.h:
10440         * bufferlist.C: add setCurrentAuthor() to reset current author details
10441           in all buffers.
10442
10443         * bufferparams.h:
10444         * bufferparams.C: add param for tracking
10445
10446         * bufferview_funcs.C: output change info in minibuffer
10447
10448         * Makefile.am:
10449         * changes.h:
10450         * changes.C: add change-tracking structure
10451
10452         * debug.h:
10453         * debug.C: add CHANGES debug flag
10454
10455         * lyxfind.h:
10456         * lyxfind.C: add code for finding the next change piece
10457
10458         * lyxrc.h:
10459         * lyxrc.C: add user_name and user_email
10460
10461         * lyxrow.h:
10462         * lyxrow.C: add a metric for the top of the text line
10463
10464         * lyxtext.h:
10465         * text.C: implement accept/rejectChange()
10466
10467         * lyxtext.h:
10468         * text.C: paint changebars. Paint new/deleted text in the chosen
10469         colours. Strike through deleted text.
10470
10471         * paragraph.h:
10472         * paragraph.C:
10473         * paragraph_pimpl.h:
10474         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10475           in the current change to the insert functions. Rework erase to
10476           mark text as deleted, adding an eraseIntern() and a range-based
10477           erase(). Implement per-paragraph change lookup and
10478           accept/reject.
10479
10480         * paragraph_funcs.C: Fixup paste for change tracking.
10481
10482         * tabular.C: mark added row/columns as new.
10483
10484         * text.C: fix rowLast() to never return -1. Don't allow
10485           spellchecking of deleted text. Track transpose changes. Don't
10486           allow paragraph break or merge where appropriate.
10487
10488         * text2.C: leave cursor at end of selection after a cut.
10489
10490 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10491
10492         * text.C (getLengthMarkerHeight):
10493         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10494         visible on screen too.
10495
10496 2003-02-07  John Levon  <levon@movementarian.org>
10497
10498         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10499
10500 2003-02-05  Angus Leeming  <leeming@lyx.org>
10501
10502         * lyxserver.C (read_ready): revert my patch of 11 September last year
10503         as it sends PC cpu through the roof. Presumably this means that
10504         the lyxserver will no longer run on an Alpha...
10505
10506 2003-01-30  Angus Leeming  <leeming@lyx.org>
10507
10508         * factory.C (createInset): create an InsetCommandParam of type "index"
10509         and use it to 'do the right thing'.
10510
10511         * text2.C (getStringToIndex): ensure that cursor position is always
10512         reset to the reset_cursor position.
10513
10514 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10515
10516         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10517         disabled.
10518
10519 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10520
10521         * bufferview.C:
10522         * lyxcb.C:
10523         * lyxfunc.C: Output messages with identical spelling, punctuation,
10524         and spaces
10525
10526 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10527
10528         * MenuBackend.C (expandFormats): List only viewable export formats
10529         in "View" menu
10530
10531         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10532         message
10533
10534         * lyxfunc.C (getStatus): Make sure that formats other than
10535         "fax" can also be disabled
10536
10537 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10538
10539         * text3.C (dispatch): put the lfuns that insert insets in 3
10540         groups, and call doInsertInset with appropriate arguments.
10541         (doInsertInset): new function, that creates an inset and inserts
10542         it according to some boolean parameters.
10543
10544 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10545
10546         * buffer.C (readFile): remember to pass on 'par' when calling
10547         readFile recursively.
10548
10549 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10550
10551         * MenuBackend.C (expandFormats): add "..." to import formats.
10552
10553 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10554
10555         * paragraph.C (asString): Remove XForms RTL hacks.
10556
10557 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10558         * buffer.C: fix typo
10559
10560 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10561
10562         * Makefile.am (LIBS): delete var
10563         (lyx_LDADD): add @LIBS@ here instead.
10564
10565 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10566
10567         * Clarify the meaning of "wheel mouse jump"
10568
10569 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10570
10571         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10572         tabular in a float
10573
10574 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10575
10576         * importer.C (Loaders): do not preallocate 3 elements in the
10577         vector, since one ends up with 6 elements otherwise
10578
10579 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10580
10581         * DepTable.C (write): write the file name as last element of the
10582         .dep file (because it may contain spaces)
10583         (read): read info in the right order
10584
10585 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10586
10587         * paragraph_pimpl.C (simpleTeXBlanks):
10588         (simpleTeXSpecialChars):
10589         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10590
10591         * tabular.C (latex): add some missing case statements. Reindent.
10592
10593         * MenuBackend.C (expandToc): remove unused variable.
10594
10595 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10596
10597         * LColor.C:
10598         * LaTeX.C:
10599         * LyXAction.C:
10600         * MenuBackend.C:
10601         * buffer.C:
10602         * exporter.C:
10603         * lyxfunc.C:
10604         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10605         and the like.
10606
10607 2003-01-05  John Levon  <levon@movementarian.org>
10608
10609         * BufferView.h:
10610         * BufferView.C: add getEncoding()
10611
10612         * kbsequence.h:
10613         * kbsequence.C: do not store last keypress
10614
10615         * lyxfunc.h:
10616         * lyxfunc.C: store last keypress here instead. Pass encoding
10617           to getISOEncoded()
10618
10619 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10620
10621         * lyx_main.C (init): remove annoying error message when following
10622         symbolic links (bug #780)
10623
10624 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10625
10626         * text.C (insertChar):
10627         * lyxrc.C (getDescription): remove extra spaces
10628
10629 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10630
10631         * lyxrc.C (getDescription): remove extra spaces
10632
10633 2002-12-20  John Levon  <levon@movementarian.org>
10634
10635         * text3.C: hack fix for page up/down across tall rows
10636
10637 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10638
10639         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10640         not been invoked
10641
10642 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10643
10644         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10645         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10646         thesaurus is not compiled in
10647
10648 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10649
10650         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10651
10652 2002-12-16  Angus Leeming  <leeming@lyx.org>
10653
10654         * lyxrc.[Ch]:
10655         * lyx_main.C (init): remove override_x_deadkeys stuff.
10656
10657 2002-12-12  John Levon  <levon@movementarian.org>
10658
10659         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10660           insert. Only remove shift modifier under strict
10661           circumstances.
10662
10663 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10664
10665         * MenuBackend.C (expandToc): fix crash.
10666
10667 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10668
10669         * MenuBackend.C (expandToc): gettext on float names.
10670
10671 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10672
10673         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10674         implement bool empty() [bug 490]
10675
10676 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10677
10678         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10679
10680 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10681
10682         * several files: ws changes
10683
10684 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10685
10686         * text2.C (setCounter): clean up a bit, use boost.format.
10687         (updateCounters): initialize par upon declaration.
10688
10689         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10690         if the layout exists. We do not just store the layout any more.
10691         (SwitchLayoutsBetweenClasses): use boost.format
10692
10693 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10694
10695         * converter.C (convert): if from and to files are the same, use a
10696         temporary files as intermediary
10697
10698 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10699
10700         * commandtags.h:
10701         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10702
10703 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10704
10705         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10706
10707 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10708
10709         * tabular.C (asciiPrintCell): use string(size, char) instead of
10710         explicit loop.
10711
10712         * sgml.C (openTag): fix order of arguments to string constructor
10713         (closeTag): ditto
10714
10715         * lyxfunc.C (dispatch): use boost.format
10716
10717         * lots of files: change "c" -> 'c'
10718
10719 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10720
10721         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10722
10723 2002-11-25  Angus Leeming  <leeming@lyx.org>
10724
10725         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10726
10727         * lyx_main.C (init): compile fix.
10728
10729 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10730
10731         * lyx_cb.C (start): boost.formatify
10732         do not include <iostream>
10733
10734         * lengthcommon.C: ws only
10735
10736         * boost-inst.C,BoostFormat.h: add more explict instantations
10737
10738 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10739
10740         * lots of files: handle USE_BOOST_FORMAT
10741
10742 2002-11-21  John Levon  <levon@movementarian.org>
10743
10744         * pspell.C: fix compile
10745
10746 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10747
10748         * lyxfunc.C (dispatch): use boost::format
10749         (open): ditto
10750         (doImport): ditto
10751
10752         * lyxfont.C (stateText): use boost::format
10753
10754         * lyx_main.C (LyX): use boost::format
10755         (init): ditto
10756         (queryUserLyXDir): ditto
10757         (readRcFile): ditto
10758         (parse_dbg): ditto
10759         (typedef boost::function): use the recommened syntax.
10760
10761         * importer.C (Import): use boost::format
10762
10763         * debug.C (showLevel): use boost::format
10764
10765         * converter.C (view): use boost::format
10766         (convert): ditto
10767         (move): ditto
10768         (scanLog): ditto
10769
10770         * bufferview_funcs.C (currentState): use boost::format
10771
10772         * bufferlist.C (emergencyWrite): use boost::format
10773
10774         * buffer.C (readLyXformat2): use boost::format
10775         (parseSingleLyXformat2Token): ditto
10776
10777         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10778
10779         * LaTeX.C (run): use boost::format
10780
10781         * Chktex.C (scanLogFile): use boost::format
10782
10783         * BufferView_pimpl.C (savePosition): use boost::format
10784         (restorePosition): ditto
10785         (MenuInsertLyXFile): ditto
10786
10787         * BoostFormat.h: help file for explicit instation.
10788
10789 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10790
10791         * tabular.C (latex): Support for block alignment in fixed width
10792         columns.
10793
10794 2002-11-17  John Levon  <levon@movementarian.org>
10795
10796         * BufferView_pimpl.C:
10797         * lyx_cb.C:
10798         * lyxfunc.C: split filedialog into open/save
10799
10800 2002-11-08  Juergen Vigna  <jug@sad.it>
10801
10802         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10803         by my last patch (hopefully).
10804
10805 2002-11-08  John Levon  <levon@movementarian.org>
10806
10807         * iterators.h:
10808         * iterators.C:
10809         * buffer.h:
10810         * buffer.C:
10811         * paragraph.h:
10812         * paragraph.C:
10813         * toc.h:
10814         * toc.C: ParConstIterator, and use it (from Lars)
10815
10816 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10817
10818         * lyxtextclass.[Ch]: revise and add doxygen comments
10819
10820 2002-11-07  John Levon  <levon@movementarian.org>
10821
10822         * text.C: fix progress value for spellchecker
10823
10824         * toc.C: fix navigate menu for insetwrap inside minipage
10825
10826         * paragraph_funcs.C: added FIXME for suspect code
10827
10828 2002-11-07  John Levon  <levon@movementarian.org>
10829
10830         * BufferView_pimpl.C: fix redrawing of insets
10831           on buffer switch
10832
10833 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10834
10835         * text2.C (updateCounters): fix bug 668
10836
10837 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10838
10839         * text3.C (dispatch): Do not make the buffer dirty when moving the
10840         cursor.
10841
10842 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10843
10844         * vc-backend.C: STRCONV
10845         (scanMaster): ditto
10846
10847         * text2.C (setCounter): STRCONV
10848
10849         * paragraph.C (asString): STRCONV
10850
10851         * lyxlength.C (asString): STRCONV
10852         (asLatexString): ditto
10853
10854         * lyxgluelength.C (asString): STRCONV
10855         (asLatexString): ditto
10856
10857         * lyxfunc.C (dispatch): STRCONV
10858         (open): ditto
10859
10860         * lyxfont.C (stateText): STRCONV
10861
10862         * importer.C (Import): STRCONV
10863
10864         * counters.C (labelItem): STRCONV
10865         (numberLabel): ditto
10866         (numberLabel): remove unused ostringstream o
10867
10868         * chset.C: STRCONV
10869         (loadFile): ditto
10870
10871         * bufferview_funcs.C (currentState): STRCONV
10872
10873         * buffer.C (readFile): STRCONV
10874         (asciiParagraph): ditto
10875         (makeLaTeXFile): ditto
10876
10877         * Spacing.C (writeEnvirBegin): STRCONV
10878
10879         * LaTeXFeatures.C (getLanguages): STRCONV
10880         (getPackages): ditto
10881         (getMacros): ditto
10882         (getBabelOptions): ditto
10883         (getTClassPreamble): ditto
10884         (getLyXSGMLEntities): ditto
10885         (getIncludedFiles): ditto
10886
10887         * LaTeX.C: STRCONV
10888         (run): ditto
10889         (scanAuxFile): ditto
10890         (deplog): ditto
10891
10892         * LString.h: add the STRCONV macros
10893
10894         * BufferView_pimpl.C (savePosition): STRCONV
10895         (restorePosition): ditto
10896         (MenuInsertLyXFile): ditto
10897
10898         * vc-backend.C (scanMaster): change from submatch[...] to
10899         submatch.str(...)
10900
10901         * funcrequest.C: include config.h
10902
10903         * factory.C: include config.h
10904
10905         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10906
10907         * box.C: include config.h
10908
10909         * LaTeX.C (scanAuxFile): change from submatch[...] to
10910         submatch.str(...)
10911         (deplog): ditto
10912
10913 2002-10-25  Angus Leeming  <leeming@lyx.org>
10914
10915         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10916
10917         * ispell.[Ch] (setError): new method.
10918         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10919         Use setError() insetead of goto END.
10920
10921         * lyx_cb.C (AutoSave): move out child process into new class
10922         AutoSaveBuffer.
10923
10924 2002-10-30  John Levon  <levon@movementarian.org>
10925
10926         * text3.C: make start appendix undoable
10927
10928 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10929
10930         * lyxlength.C (inPixels): Fix returned value.
10931
10932         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10933         environment.
10934
10935 2002-10-24  Angus Leeming  <leeming@lyx.org>
10936
10937         * lyxgluelength.h: no need to forward declare BufferParams
10938         or BufferView, so don't.
10939
10940 2002-10-21  John Levon  <levon@movementarian.org>
10941
10942         * BufferView.C: menuUndo ->undo, redo
10943
10944         * BufferView.h: document, remove dead, make some methods private
10945
10946         * paragraph_funcs.h:
10947         * paragraph_funcs.C:
10948         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10949
10950         * buffer.h:
10951         * buffer.C:
10952         * sgml.h:
10953         * sgml.C: move sgml open/close tag into sgml.C
10954
10955         * bufferview_funcs.h: unused prototype
10956
10957         * lyxfunc.h:
10958         * lyxfunc.C: remove unused
10959
10960         * lyxtext.h:
10961         * text.C: remove unused
10962
10963 2002-10-21  John Levon  <levon@movementarian.org>
10964
10965         * BufferView.h:
10966         * BufferView.C:
10967         * BufferView_pimpl.h:
10968         * BufferView_pimpl.C: fix mouse wheel handling based on
10969           patch from Darren Freeman
10970
10971 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10972
10973         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10974
10975 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10976
10977         * lyxlength.C (inPixels): Fix hanfling of negative length.
10978         Fix LyXLength::MU case.
10979
10980 2002-10-16  John Levon  <levon@movementarian.org>
10981
10982         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10983
10984 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10985
10986         * converter.C (view): add support for $$i (file name) and $$p
10987         (file path) for the viewer command. If $$i is not specified, then
10988         it is appended to the command (for compatibility with old syntax)
10989
10990 2002-10-14  Juergen Vigna  <jug@sad.it>
10991
10992         * undo_funcs.C (textHandleUndo): alter the order in which the
10993         new undopar is added to the LyXText, as we have to set first
10994         the right prev/next and then add it as otherwise the rebuild of
10995         LyXText is not correct. Also reset the cursor to the right paragraph,
10996         with this IMO we could remove the hack in "redoParagraphs()".
10997
10998 2002-10-09  Angus Leeming  <leeming@lyx.org>
10999
11000         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11001         to turn off an optimisation if a new inset is to be inserted.
11002
11003 2002-10-11 André Pönitz <poenitz@gmx.net>
11004
11005         * lyxtext.h: make some functions public to allow access
11006         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11007
11008 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11009
11010         * text3.C (dispatch): when changing layout, avoid an infinite loop
11011         [bug #652]
11012
11013 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11014
11015         * lyxrc.C (read): treat a viewer or converter command of "none" as
11016         if it were empty.
11017
11018         * MenuBackend.C (expandFormats): for an update, also allow the
11019         formats that are not viewable
11020
11021         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11022         script if it is newer than the lyxrc.defaults in user directory
11023
11024 2002-10-07 André Pönitz <poenitz@gmx.net>
11025
11026         * text.C: Vitaly Lipatov's small i18n fix
11027
11028 2002-09-25  Angus Leeming  <leeming@lyx.org>
11029
11030         * ispell.h: doxygen fix.
11031
11032 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11033
11034         * buffer.h (readFile): Add a new argument to the method, to allow
11035         reading of old-format templates.
11036
11037 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11038
11039         * toc.C (getTocList): Get TOC from InsetWrap.
11040
11041 2002-09-16  John Levon  <levon@movementarian.org>
11042
11043         * lyxfunc.C: check tabular for cut/copy too
11044
11045 2002-09-12  John Levon  <levon@movementarian.org>
11046
11047         * LyXAction.C: tidy
11048
11049         * factory.h:
11050         * factory.C: add header
11051
11052         * paragraph_funcs.h:
11053         * paragraph_funcs.C: cleanup
11054
11055 2002-09-11  John Levon  <levon@movementarian.org>
11056
11057         * PrinterParams.h: odd/even default to true
11058
11059 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11060
11061         * PrinterParams.h: update printer parameters for new xforms dialog
11062
11063 2002-09-11  Angus Leeming  <leeming@lyx.org>
11064
11065         * lyxserver.C (read_ready): re-write to make it more transparent
11066         and to make it work in coherent fashion under Tru64 Unix.
11067
11068 2002-09-11  André Pönitz <poenitz@gmx.net>
11069
11070         * commandtags.h:
11071         * LyXAction.C:
11072         * text3.C: implement LFUN_WORDSEL
11073
11074 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11075
11076         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11077         make floatlist_ a boost::shared_ptr<FloatList>
11078
11079         * lyxtextclass.C: include FloatList.h
11080         (LyXTextClass): initialize floatlist_
11081         (TextClassTags): add TC_NOFLOAT
11082         (Read): match "nofloat" to TC_NOFLOAT and use it.
11083         (readFloat): modify call to floatlist_
11084         (floats): ditto
11085         (floats): ditto
11086
11087         * FloatList.[Ch] (FloatList): remove commented out float
11088         initialization.
11089         (erase): new function
11090
11091 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11092
11093         * MenuBackend.C (expandToc): fix crash when there is no document
11094         open
11095
11096 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11097
11098         * many files: Add insetwrap.
11099
11100 2002-09-09  John Levon  <levon@movementarian.org>
11101
11102         * text2.C: remove confusing and awkward depth wraparound
11103
11104 2002-09-09  John Levon  <levon@movementarian.org>
11105
11106         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11107
11108         * buffer.h:
11109         * buffer.C: remove getIncludeonlyList()
11110
11111         * paragraph.C:
11112         * lyxfunc.C: remove headers
11113
11114 2002-09-09  Juergen Vigna  <jug@sad.it>
11115
11116         * text.C (getColumnNearX): fix form Michael this is most
11117         probably a cut&paste bug.
11118
11119 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11120
11121         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11122
11123         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11124         references, ws changes.
11125
11126         * text2.C (init): update counters after init
11127         (insertParagraph): no need to set counter on idividual paragraphs.
11128         (setCounter): access the counters object in the textclass object
11129         on in the buffer object.
11130         (updateCounters): ditto
11131
11132         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11133         shared_ptr<Counters> to avoid loading counters.h in all
11134         compilation units.
11135         (LyXTextClass): initialize ctrs_
11136         (TextClassTags): add TC_COUNTER, and ...
11137         (Read): use it here.
11138         (CounterTags): new tags
11139         (readCounter): new function
11140         (counters): new funtion
11141         (defaultLayoutName): return a const reference
11142
11143         * counters.C (Counters): remove contructor
11144         (newCounter): remove a couple of unneeded statements.
11145         (newCounter): simplify a bit.
11146         (numberLabel): some small formatting changes.
11147
11148         * buffer.[Ch]: remove all traces of counters, move the Counters
11149         object to the LyXTextClass.
11150
11151 2002-09-06  Alain Castera  <castera@in2p3.fr>
11152
11153         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11154         package to set the horizontal alignment on fixed width columns.
11155
11156         * lyx_sty.C:
11157         * lyx_sty.h: added tabularnewline macro def.
11158
11159         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11160
11161 2002-09-06  John Levon  <levon@movementarian.org>
11162
11163         * LyXAction.C: tooltips for sub/superscript
11164
11165         * MenuBackend.C: a bit more verbose
11166
11167         * lyxfunc.C: tiny clean
11168
11169         * undo_funcs.C: document undo_frozen
11170
11171 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11172
11173         * counters.C (Counters): add missing algorithm counter.
11174
11175         * text2.C (setCounter): lookup the counter with layouts latexname
11176         instead of by section number.
11177         (setCounter): use a hackish way to lookup the correct enum
11178         counter.
11179         a float name->type change
11180         reset enum couners with counter name directly instead of depth value.
11181
11182         * counters.C (Counters): remove the push_backs, change to use the
11183         float type not the float name.
11184         (labelItem): remove unused string, float name->type change
11185
11186         * counters.h: don't include vector, loose the enums and sects vectors
11187
11188 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11189
11190         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11191         (Read): add float->TC_FLOAT to textclassTags
11192         (Read): and handle it in the switch
11193         (readFloat): new function
11194
11195         * FloatList.C (FloatList): comment out the hardcoded float
11196         definitions.
11197
11198         * lyxlayout.h: ws change.
11199
11200 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11201
11202         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11203
11204 2002-09-03  Angus Leeming  <leeming@lyx.org>
11205
11206         * BufferView_pimpl.h: qualified name is not allowed in member
11207         declaration: WorkArea & Pimpl::workarea() const;
11208
11209         * factory.C: added using std::endl directive.
11210
11211         * text3.C: added using std::find and std::vector directives.
11212
11213 2002-08-29  André Pönitz <poenitz@gmx.net>
11214
11215         * lyxtext.h:
11216         * text2.C: remove unused member number_of_rows
11217
11218         * Makefile.am:
11219         * BufferView2.C: remove file, move contents to...
11220         * BufferView.C: ... here
11221
11222         * BufferView_pimpl.C:
11223         * factory.C: move more inset creation to factory
11224
11225         * vspace.C: avoid direct usage of LyXText, ws changes
11226
11227         * BufferView.[Ch]:
11228                 don't provide direct access to WorkArea, use two simple
11229                 acessors haveSelction() and workHeight() instead
11230
11231
11232 2002-08-29  John Levon  <levon@movementarian.org>
11233
11234         * BufferView_pimpl.C (dispatch): do not continue when
11235           no buffer
11236
11237 2002-08-28  André Pönitz <poenitz@gmx.net>
11238
11239         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11240
11241         * BufferView.h:
11242         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11243
11244 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11245
11246         * buffer.C: increment LYX_FORMAT to 221
11247
11248         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11249         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11250
11251         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11252
11253         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11254
11255 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11256
11257         * factory.C (createInset): use LyXTextClass::floats
11258
11259         * MenuBackend.C (expandFloatListInsert):
11260         (expandFloatInsert):
11261         (expandToc):
11262
11263         * text2.C (setCounter):
11264
11265         * LaTeXFeatures.C (useFloat):
11266         (getFloatDefinitions):
11267
11268         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11269
11270         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11271         floatlist_, with accessor floats().
11272
11273         * FloatList.h: remove global FloatList
11274
11275 2002-08-26  André Pönitz <poenitz@gmx.net>
11276
11277         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11278
11279         * BufferView.h:
11280         * BufferView2.C:
11281         * BufferView_pimpl.C:
11282         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11283
11284 2002-08-25  John Levon  <levon@movementarian.org>
11285
11286         * LyXAction.C: fix margin note description
11287
11288 2002-08-24  John Levon  <levon@movementarian.org>
11289
11290         * buffer.C:
11291         * bufferlist.C:
11292         * bufferview_funcs.C:
11293         * lyxfont.C:
11294         * undo_funcs.C: cleanups
11295
11296         * lyxfunc.C: disable CUT/COPY when no selection
11297
11298 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11299
11300         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11301         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11302
11303         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11304         Add backward compatibility to "mono", "gray" and "no".
11305
11306 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11307
11308         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11309         (and file_format >= 200).
11310
11311 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11312
11313         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11314
11315 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11316
11317         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11318
11319 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11320
11321         * BufferView_pimpl.C:
11322         * LyXAction.C:
11323         * buffer.C:
11324         * commandtags.h:
11325         * lyxfunc.C:
11326         * paragraph.[Ch]:
11327         * text2.C:
11328         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11329         inset and code to make it  work with the paragraph code. The inset
11330         can be anywhere in the paragraph, but will only do the expected
11331         thing in LaTeX if the layout file contains the parameter line
11332                         OptionalArgs    1
11333         (or more generally, a nonzero value) for that layout.
11334
11335 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11336
11337         * paragraph.h: remove the declaration of undefined counters class
11338         function.
11339
11340 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11341
11342         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11343         Dr. Richard Hawkins.
11344
11345 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11346
11347         * paragraph_funcs.h: remove some unneeded includes
11348
11349         * text.C (backspace): pasteParagraph now in global scipe
11350
11351         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11352         (pasteSelection): ditto
11353
11354         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11355         * paragraph_funcs.C (pasteParagraph): ... here
11356
11357 2002-08-20  André Pönitz <poenitz@gmx.net>
11358
11359         * commandtags.h: new LFUNs for swapping/copying table row/colums
11360
11361         * LyXAction.C:
11362         * lyxfunc.C: support for new lfuns
11363
11364 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11365
11366         * tabular.C:
11367         * buffer.[Ch]: remove NO_COMPABILITY stuff
11368
11369 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11370
11371         * boost.C (throw_exception): new file, with helper function for
11372         boost compiled without exceptions.
11373
11374         * paragraph.h:
11375         * lyxlength.C:
11376         * buffer.C:
11377         * ParameterStruct.h:
11378         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11379
11380         * bufferlist.C (emergencyWriteAll): use boost bind
11381
11382         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11383
11384         * text.C: include paragraph_funcs.h
11385         (breakParagraph): breakParagraph is now in global scope
11386
11387         * paragraph_funcs.[Ch]: new files
11388
11389         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11390         global scope
11391
11392         * buffer.C: include paragraph_funcs.h
11393         (insertStringAsLines): breakParagraph is now in global scope
11394
11395         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11396         paragraph_funcs.C
11397
11398         * CutAndPaste.C: include paragraph_funcs.h
11399         (cutSelection): breakParagraphConservative is now in global scope
11400         (pasteSelection): ditto
11401
11402         * buffer.h: declare oprator== and operator!= for
11403         Buffer::inset_iterator
11404
11405         * bufferlist.C (emergencyWrite): don't use fmt(...)
11406
11407         * text3.C: add using std::endl
11408
11409         * BufferView.C (moveCursorUpdate): remove default arg
11410
11411 2002-08-20  André Pönitz <poenitz@gmx.net>
11412
11413         * buffer.[Ch]: move inline functions to .C
11414
11415         * BufferView2.C:
11416         * BufferView_pimpl.C:
11417         * text.C:
11418         * buffer.[Ch]: use improved inset_iterator
11419
11420         * buffer.C:
11421         * paragraph.[Ch]: write one paragraph at a time
11422
11423 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11424
11425         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11426         style if style is not specified.
11427
11428 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11429
11430         * text2.C (setCounter): when searching for right label for a
11431         caption, make sure to recurse to parent insets (so that a caption
11432         in a minipage in a figure float works) (bug #568)
11433
11434 2002-08-20  André Pönitz <poenitz@gmx.net>
11435
11436         * text3.C: new file for LyXText::dispatch() and helpers
11437
11438         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11439
11440         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11441
11442 2002-08-19  André Pönitz <poenitz@gmx.net>
11443
11444         * lyxtext.h:
11445         * text.C: new LyXText::dispatch()
11446
11447         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11448
11449 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11450
11451         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11452
11453         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11454         Hebrew text.
11455
11456 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11457
11458         * Makefile.am: use $(variables) instead of @substitutions@
11459
11460 2002-08-15  André Pönitz <poenitz@gmx.net>
11461
11462         * lyxfunc.C:
11463         * BufferView_pimpl.C: streamlining mathed <-> outer world
11464         interaction
11465
11466         * commandtags.h:
11467         * LyXAction.C: remove unused LFUN_MATH
11468
11469 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11470
11471         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11472
11473 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11474
11475         * paragraph.C (Paragraph): reformat a bit
11476         (cutIntoMinibuffer): use builtin InsetList function instad of
11477         doing it manually.
11478         (getInset): ditto
11479
11480         * buffer.C: include boost/bind.hpp, add using std::for_each
11481         (writeFileAscii): use ParagraphList iterators
11482         (validate): use for_each for validate traversal of paragraphs
11483         (getBibkeyList): use ParagraphList iterators
11484         (resizeInsets): use for_each to resizeInsetsLyXText for all
11485         paragraphs.
11486         (getParFromID): use ParagraphList iterators
11487
11488         * BufferView2.C (lockInset): use paragraph list and iterators
11489
11490 2002-08-14  John Levon  <levon@movementarian.org>
11491
11492         * lyxserver.C: remove spurious xforms include
11493
11494 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11495
11496         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11497
11498 2002-08-13  André Pönitz <poenitz@gmx.net>
11499
11500         * LyXAction.[Ch]:
11501         * lyxfunc.C: further cleaning
11502
11503 2002-08-13  André Pönitz <poenitz@gmx.net>
11504
11505         * funcrequest.h: new constructor
11506
11507         * funcrequest.C: move stuff here from .h
11508
11509         * Makefile.am:
11510         * BufferView_pimpl.C:
11511         * LyXAction.C:
11512         * toc.C:
11513         * lyxfunc.C: subsequent changes
11514
11515         * lyxfunc.h: new view() member function
11516
11517         * lyxfunc.C: subsequent changes
11518
11519 2002-08-13  Angus Leeming  <leeming@lyx.org>
11520
11521         * BufferView2.C:
11522         * BufferView_pimpl.C:
11523         * buffer.C:
11524         * converter.C:
11525         * importer.C:
11526         * lyxfunc.C:
11527         * lyxvc.C:
11528         * toc.C:
11529         * vc-backend.C:
11530         changes due to the changed LyXView interface that now returns references
11531         to member variables not pointers.
11532
11533 2002-08-13  Angus Leeming  <leeming@lyx.org>
11534
11535         * WordLangTuple (word, lang_code): return references to strings,
11536         not strings.
11537
11538         * BufferView.h:
11539         * SpellBase.h:
11540         * lyxtext.h: forward-declare WordLangTuple.
11541
11542         * BufferView2.C:
11543         * ispell.C:
11544         * pspell.C:
11545         * text.C: #include "WordLangTuple.h".
11546
11547         * lyxtext.h:
11548         * text.C: (selectNextWordToSpellcheck): constify return type.
11549
11550 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11551
11552         * buffer.C:
11553         * buffer.h:
11554         * lyxtext.h:
11555         * paragraph.C:
11556         * paragraph_pimpl.h:
11557         * text.C:
11558         * text2.C:
11559         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11560         suggested by Angus.
11561         Made updateCounter always count from start of buffer, and removed
11562         second argument (par).
11563         Reverted floats number display to '#'. Perhaps I'll try again when the
11564         code base is sanitized a bit.
11565
11566 2002-08-12  Angus Leeming  <leeming@lyx.org>
11567
11568         * buffer.[Ch] (getLabelList): constify.
11569
11570 2002-08-07  André Pönitz <poenitz@gmx.net>
11571
11572         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11573
11574         * funcrequest.h: extension to keep mouse (x,y) position
11575
11576 2002-08-12  Juergen Vigna  <jug@sad.it>
11577
11578         * BufferView2.C (insertErrors): forbid undo when inserting error
11579         insets.
11580
11581         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11582
11583 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11584
11585         * ParagraphList.[Ch]: new files
11586
11587         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11588
11589         * BufferView2.C (lockInset): ParagraphList changes
11590         * toc.C: ditto
11591         * text2.C: ditto
11592         * bufferlist.C: ditto
11593         * buffer.h: ditto
11594         * buffer.C: ditto
11595
11596 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11597
11598         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11599         unused class variable counter_,
11600
11601         * paragraph.[Ch] (getFirstCounter): delete unused function
11602
11603         * counters.C: include LAssert.h
11604         (reset): add a new function with no arg, change other version to
11605         not have def. arg and to not allow empty arg.
11606
11607         * text2.C (setCounter): remove empty arg from call to Counters::reset
11608
11609 2002-08-11  John Levon  <levon@movementarian.org>
11610
11611         * Makefile.am: add WordLangTuple.h
11612
11613 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11614
11615         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11616         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11617
11618         * insets/insettext.C: InsetList changes
11619
11620         * graphics/GraphicsSupport.C (operator()): InsetList changes
11621
11622         * toc.C (getTocList): InsetList changes
11623
11624         * paragraph_pimpl.[Ch]: InsetList changes
11625
11626         * paragraph.[Ch]: InsetList changes
11627
11628         * buffer.C (inset_iterator): InsetList changes
11629         (setParagraph): ditto
11630         * buffer.h (inset_iterator): ditto
11631         * iterators.C (operator++): ditto
11632         * iterators.h: ditto
11633
11634         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11635
11636         * InsetList.[Ch]: new files, most InsetList handling moved out of
11637         paragraph.C.
11638
11639         * BufferView2.C (removeAutoInsets): InsetList changes
11640         (lockInset): ditto
11641         (ChangeInsets): ditto
11642
11643 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11644
11645         * paragraph_pimpl.h (empty): new function
11646
11647         * paragraph.[Ch] (empty): new function
11648
11649         * other files: use the new Paragraph::empty function
11650
11651 2002-08-09  John Levon  <levon@movementarian.org>
11652
11653         * lyxtext.h: remove unused refresh_height
11654
11655 2002-08-09  John Levon  <levon@movementarian.org>
11656
11657         * Makefile.am:
11658         * sgml.h:
11659         * sgml.C:
11660         * buffer.C:
11661         * paragraph.h:
11662         * paragraph.C: move sgml char escaping out of paragraph
11663
11664         * paragraph.h:
11665         * paragraph.C: remove id setter
11666
11667         * buffer.C:
11668         * paragraph.C:
11669         * paragraph_pimpl.C: remove dead tex_code_break_column
11670
11671         * bufferview_funcs.C: small cleanup
11672
11673         * lyxfunc.C: remove dead proto
11674
11675         * lyxtext.h: make some stuff private. Remove some dead stuff.
11676
11677         * lyxgluelength.C: make as[LyX]String() readable
11678
11679 2002-08-08  John Levon  <levon@movementarian.org>
11680
11681         * LyXAction.h:
11682         * LyXAction.C:
11683         * MenuBackend.C:
11684         * ToolbarDefaults.C:
11685         * lyxfunc.C:
11686         * lyxrc.C:
11687         * toc.C: lyxaction cleanup
11688
11689 2002-08-08  John Levon  <levon@movementarian.org>
11690
11691         * BufferView2.C: small cleanup
11692
11693         * lyxfind.h:
11694         * lyxfind.C: move unnecessary header into the .C
11695
11696 2002-08-08  John Levon  <levon@movementarian.org>
11697
11698         * funcrequest.h: just tedious nonsense
11699
11700         * lyx_main.h:
11701         * lyx_main.C: cleanups
11702
11703         * buffer.C:
11704         * vspace.C: remove dead header lyx_main.h
11705
11706 2002-08-07  Angus Leeming  <leeming@lyx.org>
11707
11708         * Paragraph.[Ch]:
11709         * paragraph_pimpl.h:
11710         Forward declare class Counters in paragraph.h by moving the ctrs member
11711         variable into Paragraph::Pimpl.
11712         (counters): new method, returning a reference to pimpl_->ctrs.
11713
11714         * text2.C: ensuing changes.
11715
11716 2002-08-07  John Levon  <levon@movementarian.org>
11717
11718         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11719
11720         * BufferView_pimpl.C: announce X selection on double/triple
11721           click
11722
11723         * lyx_main.C: use correct bool in batch dispatch
11724
11725         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11726
11727 2002-08-07  André Pönitz <poenitz@gmx.net>
11728
11729         * funcrequest.h: new class to wrap a kb_action and its argument
11730
11731         * BufferView.[Ch]:
11732         * BufferView_pimpl[Ch]:
11733         * LaTeX.C:
11734         * LyXAction.[Ch]:
11735         * lyxfunc.[Ch]:
11736         * lyxrc.C: subsequent changes
11737
11738
11739 2002-08-07  John Levon  <levon@movementarian.org>
11740
11741         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11742           document options change.
11743
11744 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11745
11746         * counters.[Ch]
11747         * text2.C
11748         * paragraph.[Ch]
11749         * makefile.am: move counters functionality over from
11750         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11751
11752 2002-08-06  John Levon  <levon@movementarian.org>
11753
11754         * WordLangTuple.h: new file for word + language code tuple
11755
11756         * SpellBase.h:
11757         * pspell.h:
11758         * pspell.C:
11759         * ispell.h:
11760         * ispell.C:
11761         * lyxtext.h:
11762         * text.C:
11763         * text2.C:
11764         * BufferView.h:
11765         * BufferView2.C: use WordLangTuple
11766
11767         * layout.h:
11768         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11769
11770 2002-08-06  John Levon  <levon@movementarian.org>
11771
11772         * lyx_main.C: fix cmdline batch handling
11773
11774 2002-08-06  André Pönitz <poenitz@gmx.net>
11775
11776         * lyxrc.C: set default for show_banner to true
11777
11778 2002-08-06  John Levon  <levon@movementarian.org>
11779
11780         * pspell.C: fix a crash, and allow new aspell to work
11781
11782 2002-08-06  John Levon  <levon@movementarian.org>
11783
11784         * lyxfunc.C:
11785         * kbmap.C: small cleanup
11786
11787         * vspace.h:
11788         * vspace.C: add const
11789
11790 2002-08-05  John Levon  <levon@movementarian.org>
11791
11792         * LyXAction.C: back to tabular-insert
11793
11794 2002-08-04  John Levon  <levon@movementarian.org>
11795
11796         * BufferView.h:
11797         * BufferView.C: cosmetic change
11798
11799         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11800
11801         * bufferlist.C:
11802         * buffer.h:
11803         * buffer.C:
11804         * lyxcb.h:
11805         * lyxcb.C:
11806         * lyxserver.C:
11807         * lyxvc.C:
11808         * vc-backend.C:
11809         * BufferView2.C: purge all "Lyx" not "LyX" strings
11810
11811         * lyxcursor.h:
11812         * lyxcursor.C: attempt to add some documentation
11813
11814         * lyxfunc.C:
11815         * commandtags.h:
11816         * LyXAction.C:
11817         * ToolbarDefaults.C:
11818         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11819           merge with LFUN_TABULAR_INSERT
11820
11821         * Makefile.am:
11822         * SpellBase.h:
11823         * ispell.h:
11824         * ispell.C:
11825         * pspell.h:
11826         * pspell.C: split up i/pspell implementations into separate
11827           files, many cleanups
11828
11829         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11830
11831         * text2.C: some cleanup
11832
11833         * lyxfunc.C: don't check for isp_command == "none" any more, it
11834           didn't make any sense
11835
11836 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11837
11838         * counters.[Ch]
11839         * text2.C
11840         * paragraph.[Ch]
11841         * makefile.am: move counters functionality over
11842         from text2.C/paragraph.[Ch] to counters.[Ch], and
11843         make proper C++.
11844 2002-08-02  John Levon  <levon@movementarian.org>
11845
11846         * buffer.C: s/lyxconvert/lyx2lyx/
11847
11848 2002-08-02  Angus Leeming  <leeming@lyx.org>
11849
11850         * lyxlex.C: revert John's change as it breaks reading of the user
11851         preamble.
11852
11853 2002-08-02  Angus Leeming  <leeming@lyx.org>
11854
11855         * importer.C (Import):
11856         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11857         changes due to LyXView::view() now returning a boost::shared_ptr.
11858
11859 2002-08-02  John Levon  <levon@movementarian.org>
11860
11861         * lyxlex.C: small cleanup
11862
11863 2002-08-02  John Levon  <levon@movementarian.org>
11864
11865         * text2.C (status): small cleanup, no logic change
11866
11867 2002-08-01  John Levon  <levon@movementarian.org>
11868
11869         * buffer.h:
11870         * buffer.C (writeFile): don't output alerts, caller
11871           handles this
11872
11873         * bufferlist.C:
11874         * lyx_cb.C: from above
11875
11876         * lyxfunc.C: allow to open non-existent files
11877
11878 2002-07-31  John Levon  <levon@movementarian.org>
11879
11880         * lyxserver.C: don't let incidental errors get
11881           in the way (errno)
11882
11883 2002-07-30  John Levon  <levon@movementarian.org>
11884
11885         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11886
11887 2002-07-30  John Levon  <levon@movementarian.org>
11888
11889         * lyxserver.h:
11890         * lyxserver.C: remove I/O callback too
11891
11892 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11893
11894         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11895         log.
11896
11897 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11898
11899         * many files: strip,frontStrip -> trim,ltrim,rtrim
11900
11901 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11902
11903         * PrinterParams.h: remove extern containsOnly, and include
11904         support/lstrings.h instead.
11905
11906         * LaTeX.C (scanAuxFile): modify because of strip changes
11907         (deplog): ditto
11908         * buffer.C (makeLaTeXFile): ditto
11909         * bufferparams.C (writeFile): ditt
11910         * lyxfont.C (stateText): ditto
11911         * lyxserver.C (read_ready): ditto
11912         * vc-backend.C (scanMaster): ditto
11913
11914         * BufferView_pimpl.h: ws changes
11915
11916         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11917
11918 2002-07-26  André Pönitz <poenitz@gmx.net>
11919
11920         * kb_sequence.C: remove unnedred usings
11921
11922 2002-07-26  Juergen Vigna  <jug@sad.it>
11923
11924         * lyxfind.C (LyXReplace): we have to check better if the returned
11925         text is not of theLockingInset()->getLockingInset().
11926
11927 2002-07-25  Juergen Vigna  <jug@sad.it>
11928
11929         * lyxfind.C (LyXReplace): don't replace if we don't get the
11930         right LyXText.
11931
11932         * undo_funcs.C (createUndo): remove debugging code.
11933
11934 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11935
11936         * buffer.C (parseSingleLyXformat2Token): Use default placement
11937         when reading old floats.
11938
11939         * FloatList.C (FloatList): Change the default placement of figure
11940         and tables to "tbp".
11941
11942 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11943
11944         * MenuBackend.C: using std::max
11945
11946 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11947
11948         * MenuBackend.C (expandToc):
11949         (expandToc2): code moved from xforms menu frontend. It is now
11950         generic and TOCs are transparent to menu frontends.
11951
11952 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11953
11954         * toc.C (getTocList): protect against buf=0
11955
11956         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11957         Menu as first parameter. Now, this calls itself recursively to
11958         expand a whole tree (this will be useful for TOC handling)
11959         (expandFloatInsert): remove 'wide' version of floats
11960
11961         * MenuBackend.h (submenuname): returns the name of the submenu.
11962         (submenu): returns the submenu itself, provided it has been
11963         created by MenuBackend::expand
11964
11965 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11966
11967         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11968         insets which have noFontChange == true. (bug #172)
11969
11970 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11971
11972         * BufferView_pimpl.C: add connection objects and use them...
11973         (Pimpl): here.
11974
11975 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11976
11977         * MenuBackend.C (expandLastfiles):
11978         (expandDocuments):
11979         (expandFormats):
11980         (expandFloatListInsert):
11981         (expandFloatInsert):
11982         (expand): split expand in parts
11983
11984 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11985
11986         * lyx_gui.C: use lyx_gui::exit()
11987
11988 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11989
11990         * LyXAction.C: show the failing pseudo action
11991
11992 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11993
11994         * buffer.C (readFile): Run the lyxconvert script in order to read
11995         old files.
11996
11997 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * LyXAction.C:
12000         * commandtags.h:
12001         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12002
12003 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12004
12005         * LyXAction.C:
12006         * commandtags.h:
12007         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12008
12009 2002-07-22  Herbert Voss  <voss@lyx.org>
12010
12011         * lengthcommon.C:
12012         * lyxlength.[Ch]: add support for the vertical lengths
12013
12014 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * toc.[Ch]: std:: fixes
12017
12018 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12019
12020         * lyxrc.C: do not include lyx_main.h
12021
12022         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12023         for layouts
12024
12025         * lyxrc.C:
12026         * encoding.C:
12027         * bufferlist.C:
12028         * BufferView2.C: include "lyxlex.h"
12029
12030         * tabular.h:
12031         * bufferparams.h: do not #include "lyxlex.h"
12032
12033         * lyxtextclasslist.C (Add): remove method
12034         (classlist): renamed to classlist_
12035
12036         * paragraph_pimpl.C:
12037         * paragraph.C:
12038         * text2.C:
12039         * CutAndPaste.C:
12040         * bufferview_funcs.C:
12041         * bufferlist.C:
12042         * text.C:
12043         * LaTeXFeatures.C:
12044         * buffer.C:
12045         * toc.C (getTocList): use BufferParams::getLyXTextClass
12046
12047         * toc.C (getTocList): use InsetFloat::addToToc
12048
12049         * toc.[Ch]: new files, containing helper functions to handle table
12050         of contents
12051
12052         * lyxfunc.C (dispatch): no need to remove spaces around command
12053         given as a string
12054         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12055         first command of the sequence; it is not very clever, but I do not
12056         have a better idea, actually
12057
12058         * LyXAction.C (LookupFunc): make sure to remove space at the
12059         beginning and end of the command
12060
12061 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12062
12063         * MenuBackend.C (getMenubar): new method: return the menubar of
12064         this menu set
12065         (read): treat differently reading of menu and menubar (in
12066         particular, the menubar has no name now)
12067         (Menu::menubar): remove
12068
12069         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12070         saving is finished
12071
12072 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12073
12074         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12075         a bibitem inset in a RTL paragraph.
12076
12077 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12078
12079         * paragraph_pimpl.C: constify
12080
12081         * BufferView_pimpl.C:
12082         * LaTeX.C:
12083         * lyxfunc.C: fix dispatch in a nicer way
12084
12085 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12086
12087         * lyxfunc.C (dispatch):
12088         * BufferView_pimpl.C:
12089         * BufferView_pimpl.h:
12090         * BufferView.C:
12091         * BufferView.h: rename Dispatch() to dispatch()
12092
12093         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12094
12095         * lyxlayout.C (Read): honor DependsOn tag
12096
12097         * lyxlayout.[Ch] (depends_on): new method
12098
12099         * version.C.in: update lyx_docversion
12100
12101         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12102
12103         * paragraph.C (validate): remove from here...
12104         * paragraph_pimpl.C (validate): ... and move here
12105         (isTextAt): make it const
12106
12107         * buffer.C (getLists): ws cleanup
12108
12109 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12110
12111         * language.C (read): Use iso8859-1 encoding in latex_lang
12112         (this prevents LyX from crashing when using iso10646-1 encoding).
12113
12114 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12115
12116         * text2.C (toggleInset): if cursor is inside an inset, close the
12117         inset and leave cursor _after_ it
12118
12119 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12120
12121         * lyxfunc.C: move minibuffer completion handling out of here
12122
12123 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12124
12125         * BufferView_pimpl.C:
12126         * LaTeX.C: fix dispatch calls
12127
12128 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12129
12130         * text.C (drawChars): Fix Arabic text rendering.
12131
12132 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * LyXAction.C:
12135         * commandtags.h:
12136         * lyxfunc.C: remove message-push/pop
12137
12138         * lyxserver.C:
12139         * lyxfunc.h:
12140         * lyxfunc.C: rationalise some code by removing verboseDispatch
12141           in favour of a bool argument to dispatch()
12142
12143 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12144
12145         * lyx_main.C (init): make sure to read symlinks as absolute paths
12146
12147 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12148
12149         * lyxfunc.h:
12150         * lyxfunc.C: no need for commandshortcut to be a member
12151
12152 2002-07-15  André Pönitz <poenitz@gmx.net>
12153
12154         * converter.C: add support for $$s (scripts from lib/scripts dir)
12155         * lyx_main.C: white space
12156
12157 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12158
12159         * bufferlist.C:
12160         * lyxrc.h:
12161         * lyxrc.C: remove second exit confirmation
12162
12163 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * BufferView.h:
12166         * BufferView.C:
12167         * BufferView2.C:
12168         * BufferView_pimpl.h:
12169         * BufferView_pimpl.C:
12170         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12171
12172 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12173
12174         * MenuBackend.C (expand): add numeric shortcuts to document menu
12175
12176         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12177
12178 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12179
12180         * lyxfont.C (setLyXFamily):
12181         (setLyXSeries):
12182         (setLyXShape):
12183         (setLyXSize):
12184         (setLyXMisc):
12185         (lyxRead):
12186         * debug.C (value):
12187         * buffer.C (asciiParagraph): use ascii_lowercase
12188
12189 2002-07-15  Mike Fabian  <mfabian@suse.de>
12190
12191         * lyxlex_pimpl.C (search_kw):
12192         * lyxlex.C (getLongString):
12193         * converter.h (operator<):
12194         * converter.C (operator<):
12195         * buffer.C (parseSingleLyXformat2Token):
12196         (asciiParagraph):
12197         * ToolbarDefaults.C (read):
12198         * MenuBackend.C (checkShortcuts):
12199         (read):
12200         * LColor.C (getFromGUIName):
12201         (getFromLyXName): use the compare_ascii_no_case instead of
12202         compare_no_case, because in turkish, 'i' is not the lowercase
12203         version of 'I', and thus turkish locale breaks parsing of tags.
12204
12205 2002-07-16  Angus Leeming  <leeming@lyx.org>
12206
12207         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12208         now takes a Buffer const & argument.
12209
12210 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12211
12212         * BufferView.C (resize): check there's a buffer to resize
12213
12214 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12215
12216         * lyxfunc.C: remove dead code
12217
12218         * lyxserver.h:
12219         * lyxserver.C: use lyx_guii::set_read_callback
12220
12221 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12222
12223         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12224         an inset in a RTL paragraph.
12225
12226 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * lyxfunc.C: repaint after a font size update
12229
12230 2002-07-15  André Pönitz <poenitz@gmx.net>
12231
12232         * lyxlength.C: inBP should be able to return negative values
12233
12234 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12235
12236         * lyxfunc.C: use lyx_gui::update_fonts()
12237
12238 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12239
12240         * lyxfunc.C: use lyx_gui::update_color()
12241
12242 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12243
12244         * bufferlist.C:
12245         * lyxfunc.h:
12246         * lyxfunc.C:
12247         * lyxrc.h:
12248         * lyxrc.C: remove file->new asks for name option, and let
12249           buffer-new take an argument
12250
12251 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * BufferView_pimpl.C: remove unneeded extra repaint()
12254
12255 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * LyXAction.C: allow command-sequence with NoBuffer
12258
12259         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12260
12261 2002-07-10  Angus Leeming  <leeming@lyx.org>
12262
12263         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12264
12265 2002-07-09  Angus Leeming  <leeming@lyx.org>
12266
12267         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12268
12269 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12270
12271         * lengthcommon.h: whitespace
12272
12273         * lyxfunc.C: update scrollbar after goto paragraph
12274
12275         * lyxtext.h: factor out page break drawing, and fix it so
12276           page break/added space paints as selected nicely
12277
12278 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12279
12280         * BufferView_pimpl.C: add FIXMEs, clean up a little
12281
12282 2002-07-09  André Pönitz <poenitz@gmx.net>
12283
12284         * lyxfont.[Ch]: support for wasy symbols
12285
12286 2002-07-08  André Pönitz <poenitz@gmx.net>
12287
12288         * BufferView_pimpl.C: apply John's patch for #93.
12289
12290 2002-07-05  Angus Leeming  <leeming@lyx.org>
12291
12292         * BufferView_pimpl.C (buffer): generate previews if desired.
12293
12294         * LColor.h: add "preview" to the color enum.
12295
12296         * LColor.C (LColor): add a corresponding entry to the items array.
12297
12298         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12299         with this buffer.
12300
12301 2002-07-05  Angus Leeming  <leeming@lyx.org>
12302
12303         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12304         The body of the code is now in the method that is passed an ostream &
12305         rather than a file name.
12306         Pass an additional only_preamble parameter, useful for the forthcoming
12307         preview stuff.
12308
12309 2002-07-03  André Pönitz <poenitz@gmx.net>
12310
12311         * lyxfunc.C: simplify getStatus() a bit for math stuff
12312
12313 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12314
12315         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12316
12317 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12318
12319         * text.C (changeRegionCase): do not change case of all the
12320         document when region ends at paragraph end (bug #461)
12321
12322 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12323
12324         * paragraph.C (startTeXParParams):
12325         (endTeXParParams): add \protect when necessary
12326
12327 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12328
12329         * BufferView_pimpl.C (workAreaExpose): remove warning
12330
12331 2002-06-27  Angus Leeming  <leeming@lyx.org>
12332
12333         * Makefile.am: add lyxlayout_ptr_fwd.h.
12334
12335 2002-06-26  André Pönitz <poenitz@gmx.net>
12336
12337         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12338
12339 2002-06-25  Angus Leeming  <leeming@lyx.org>
12340
12341         * lyxfunc.C (dispatch): Comment out the call to
12342         grfx::GCache::changeDisplay. The method no longer exists now that the
12343         pixmap generation part of the graphics loader has been moved into
12344         InsetGraphics.
12345
12346 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12347
12348         * text2.C: layout as layout
12349
12350         * text.C: layout as layout
12351
12352         * tabular.C (OldFormatRead): layout as layout
12353
12354         * paragraph_pimpl.C (TeXDeeper): layout as layout
12355         (realizeFont): layout as layout
12356
12357         * paragraph.C (writeFile): layout as layout
12358         (validate): layout as layout
12359         (getFont): layout as layout
12360         (getLabelFont): layout as layout
12361         (getLayoutFont): layout as layout
12362         (breakParagraph): layout as layout
12363         (stripLeadingSpaces): layout as layout
12364         (getEndLabel): layout as layout
12365         (getMaxDepthAfter): layout as layout
12366         (applyLayout): layout as layout
12367         (TeXOnePar): layout as layout
12368         (simpleTeXOnePar): layout as layout
12369         (TeXEnvironment): layout as layout
12370         (layout): layout as layout
12371         (layout): layout as layout
12372
12373         * lyxtextclass.C (compare_name): new functor to work with
12374         shared_ptr, layout as layout
12375         (Read): layout as layout
12376         (hasLayout): layout as layout
12377         (operator): layout as layout
12378         (delete_layout): layout as layout
12379         (defaultLayout): layout as layout
12380
12381         * lyxlayout_ptr_fwd.h: new file
12382
12383         * lyxlayout.C (Read): layout as layout
12384
12385         * lyx_cb.C (MenuInsertLabel): layout as layout
12386
12387         * bufferlist.C (newFile): layout as layout
12388
12389         * buffer.C (readLyXformat2): layout as layout
12390         (parseSingleLyXformat2Token): layout as layout
12391         (insertStringAsLines): layout as layout
12392         (asciiParagraph): layout as layout
12393         (latexParagraphs): layout as layout
12394         (makeLinuxDocFile): layout as layout
12395         (simpleLinuxDocOnePar): layout as layout
12396         (makeDocBookFile): layout as layout
12397         (simpleDocBookOnePar): layout as layout
12398         (getLists): layout as layout
12399
12400         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12401
12402         * CutAndPaste.C (cutSelection): layout as layout
12403         (pasteSelection): layout as layout
12404         (SwitchLayoutsBetweenClasses): layout as layout
12405
12406         * BufferView_pimpl.C (Dispatch): layout as layout
12407         (smartQuote): layout as layout
12408
12409         * BufferView2.C (unlockInset): layout as layout
12410
12411 2002-06-24  André Pönitz <poenitz@gmx.net>
12412
12413         * lyxfunc.C: fix #487
12414
12415 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * lyxrc.h:
12418         * lyxrc.C:
12419         * lyxfunc.C: remove display_shortcuts, show_banner
12420
12421 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12422
12423         * Buffer_pimpl.C: oops, update on resize
12424
12425 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * buffer.C:
12428         * converter.C:
12429         * exporter.C:
12430         * lyxfunc.C:
12431         * BufferView.h:
12432         * BufferView.C: use repaint()
12433
12434         * BufferView_pimpl.h:
12435         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12436           as it's a clearer description. Remove superfluous
12437           redraws.
12438
12439 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12440
12441         * text.C: fix bug 488. Not ideal, but getting
12442           getWord() to work properly for the insets that
12443           matter is more difficult ...
12444
12445 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12446
12447         * BufferView_pimpl.C:
12448         * LyXAction.C:
12449         * commandtags.h:
12450         * lyxfunc.C: remove the six million index lyxfuncs to just
12451           one, and DTRT (bug 458)
12452
12453 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12454
12455         * BufferView.h:
12456         * BufferView.C:
12457         * BufferView_pimpl.h:
12458         * BufferView_pimpl.C: clean up resize() stuff,
12459           and unnecessary updateScreen()s
12460
12461 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12462
12463         * BufferView.h:
12464         * BufferView.C:
12465         * BufferView_pimpl.h:
12466         * BufferView_pimpl.C:
12467         * lyxfind.h:
12468         * lyxfind.C:
12469         * minibuffer.C: remove focus management of workarea,
12470           not needed. Use screen's greyOut()
12471
12472 2002-06-17  Herbert Voss  <voss@lyx.org>
12473
12474         * converter.C: (convert) do not post a message, when converting
12475         fails, let the calling function decide what to do in this case
12476
12477 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * lyxfunc.C: tidy up a little
12480
12481 2002-06-16    <alstrup@diku.dk>
12482
12483         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12484         Got rid of FORMS_H_LOCATION include. Now we are
12485         GUII.
12486
12487 2002-06-15  LyX Development team  <lyx@rilke>
12488
12489         * buffer.[Ch] (sgmlOpenTag):
12490         (sgmlCloseTag): Added support for avoiding pernicious mixed
12491         content. Return number of lines written.
12492
12493         (makeLinuxDocFile):
12494         (makeDocBookFile): Fixed calls to sgml*Tag.
12495         Simple white space clean.
12496
12497         (simpleDocBookOnePar): Simple white space clean.
12498
12499         * tabular.[Ch] (docBook): Renamed to docbook and got another
12500         argument to related with the pernicious mixed content.
12501
12502         (docbookRow): Fixed calls for docbook inset method.
12503
12504 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12505
12506         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12507         so it's X11 independent.
12508
12509         * kb*.[Ch]: ditto.
12510
12511         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12512
12513 2002-06-15  Lyx Development team  <lyx@electronia>
12514
12515         * intl.h: Renamed getTrans to getTransManager.
12516
12517 2002-06-14  Angus Leeming  <leeming@lyx.org>
12518
12519         * Makefile.am: nuke forgotten stl_string_fwd.h.
12520
12521 2002-06-12  Angus Leeming  <leeming@lyx.org>
12522
12523         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12524
12525 2002-06-13  Angus Leeming  <leeming@lyx.org>
12526
12527         * LaTeX.C:
12528         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12529
12530 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12531
12532         * kbmap.C (getiso): add support for cyrillic and greek
12533
12534 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12535
12536         * BufferView.h:
12537         * BufferView.C:
12538         * BufferView_pimpl.h:
12539         * BufferView_pimpl.C: move bogus scrolling logic
12540           to xforms
12541
12542 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12543
12544         * lyxfunc.C:
12545         * BufferView_pimpl.C: view->resize() change
12546
12547 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * BufferView_pimpl.C: topCursorVisible
12550           prototype change
12551
12552 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12553
12554         * Makefile.am:
12555         * lyx_gui.h:
12556         * lyx_gui.C: move to frontends/
12557
12558         * main.C:
12559         * lyx_main.h:
12560         * lyx_main.C: changes from above
12561
12562 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12563
12564         * intl.C:
12565         * intl.h:
12566         * kbmap.C:
12567         * kbsequence.C:
12568         * lyx_cb.C:
12569         * lyx_main.C: minor tidy
12570
12571 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * BufferView_pimpl.h:
12574         * BufferView_pimpl.C:
12575         * BufferView.h:
12576         * BufferView.C: make painter() const,
12577           remove dead code
12578
12579         * BufferView2.C: use screen() accessor
12580
12581         * lyx_main.h:
12582         * lyx_main.C: some minor cleanup
12583
12584 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12585
12586         * BufferView_pimpl.h:
12587         * BufferView_pimpl.C: remove enter/leaveView,
12588           use workHeight()
12589
12590 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12591
12592         * BufferView.h:
12593         * BufferView.C:
12594         * BufferView2.C:
12595         * BufferView_pimpl.h:
12596         * BufferView_pimpl.C: only construct screen once,
12597           rename
12598
12599         * lyxrc.C: remove pointless comment
12600
12601 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12602
12603         * BufferView.h:
12604         * BufferView.C: remove active() and belowMouse()
12605
12606         * BufferView_pimpl.h:
12607         * BufferView_pimpl.C: use workarea() not workarea_,
12608           and make it use a scoped_ptr instead
12609
12610 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12611
12612         * lyx_gui.C: add debug message on BadWindow
12613
12614 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12615
12616         * sp_spell.C: fdopen is not part of the C++ standard.
12617
12618         * paragraph.C (InsetIterator): use >= instead of ==
12619
12620 2002-06-07  Angus Leeming  <leeming@lyx.org>
12621
12622         Fixes needed to compile with Compaq cxx 6.5.
12623         * BufferView_pimpl.C:
12624         * DepTable.C:
12625         * buffer.C:
12626         * converter.C:
12627         * encoding.C:
12628         * lyx_gui.C:
12629         * lyx_main.C:
12630         * lyxtextclasslist.C:
12631         * minibuffer.C:
12632         * sp_spell.C:
12633         * tabular_funcs.C:
12634         * vc-backend.C:
12635         all c-library variables have been moved into namespace std. Wrap
12636         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12637
12638         * lyxlength.C:
12639         * tabular-old.C:
12640         * tabular.C:
12641         Add a using std::abs declaration.
12642
12643         * kbmap.h (modifier_pair):
12644         * paragraph.h (InsetTable, InsetList):
12645         * lyxfont.h (FontBits):
12646         type definition made public.
12647
12648         * bufferlist.C (emergencyWriteAll): the compiler complains that
12649         there is more than one possible lyx::class_fun template to choose from.
12650         I re-named the void specialisation as lyx::void_class_fun.
12651
12652         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12653
12654         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12655         the compiler is is unable to find tostr in write_attribute.
12656
12657 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12658
12659         * buffer.C (sgmlError): hide #warning
12660
12661 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12662
12663         * xtl/*: get rid of xtl, which is not in use anyway
12664
12665         * LyXAction.C (init):
12666         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12667         were unimplemented xtl experimentation
12668
12669 2002-06-04  André Pönitz <poenitz@gmx.net>
12670
12671         * lyxfunc.C: disable array operation on simple formulae
12672
12673 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12674
12675         * converter.C: constify a bit
12676
12677 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12678
12679         * lyx_gui.C: check xforms version correctly
12680
12681 2002-04-30  Herbert Voss  <voss@lyx.org>
12682
12683         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12684         "keep" option
12685
12686 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12687
12688         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12689           attempt to register it with a VCS)
12690
12691 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12692
12693         * lyx_main.C (init): honor variables LYX_DIR_13x and
12694         LYX_USERDIR_13x
12695
12696 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * buffer.h:
12699         * buffer.C:
12700         * lyx_main.C: fix a crash on bad command line,
12701           and give a useful exit status on error
12702
12703         * lyxfunc.C (doImport): allow -i lyx to work
12704
12705 2002-03-30  André Pönitz <poenitz@gmx.net>
12706
12707         * lyxfunc.C: mathed font changes
12708
12709 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12710
12711         * LaTeX.C:
12712         * importer.h:
12713         * importer.C:
12714         * lyx_sty.h:
12715         * lyx_sty.C:
12716         * lyxlex.C:
12717         * lyxrow.h:
12718         * lyxtext.h:
12719         * paragraph.h:
12720         * paragraph.C:
12721         * texrow.h:
12722         * texrow.C:
12723         * text.C:
12724         * trans_mgr.h: srcdocs, and some minor cleanups
12725
12726 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12727
12728         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12729         call getFont all the time)
12730
12731 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12732
12733         * switch from SigC signals to boost::signals
12734
12735 2002-05-29  André Pönitz <poenitz@gmx.net>
12736
12737         * paragraph_pimpl.C (getChar): don't call size() too often...
12738
12739 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12740
12741         * paragraph_pimpl.C (insertChar): do not try to update tables when
12742         appending (pos == size())
12743
12744         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12745         in order to reduce drastically the number of comparisons needed to
12746         parse a large document
12747
12748 2002-05-29  André Pönitz <poenitz@gmx.net>
12749
12750         * text.C:
12751         * text2.C:
12752         * lyxtextclass.C:
12753         * sp_pspell.h:
12754         * textclasslist.[Ch]:
12755         * sp_ispell.h: whitespace change
12756
12757 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12758
12759         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12760         lyxaction directly now.
12761
12762 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12763
12764         * trans.C:
12765         * lyxfont.C:
12766         * lyxvc.C: remove unused headers
12767
12768 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12769
12770         * Makefile.am:
12771         * buffer.h:
12772         * undostack.h:
12773         * undostack.C:
12774         * undo_funcs.h:
12775         * undo_funcs.C: some cleanups. Use shared_ptr
12776           and a template for the undo stacks.
12777
12778 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12779
12780         * BufferView_pimpl.h:
12781         * BufferView_pimpl.C:
12782         * kbmap.h:
12783         * kbmap.C:
12784         * kbsequence.h:
12785         * kbsequence.C:
12786         * lyxfunc.h:
12787         * lyxfunc.C:
12788         * text2.C: use key_state/mouse_state
12789
12790 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12791
12792         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12793         and LSubstring
12794
12795         * chset.C: change include order
12796         (loadFile): use boost regex and get rid of LRegex and LSubstring
12797
12798         * Makefile.am (BOOST_LIBS): new variable
12799         (lyx_LDADD): use it
12800
12801         * LaTeX.C: change include order.
12802         (scanAuxFile): use boost regex and get rid of LRegex and
12803         LSubstring
12804         (deplog): ditto
12805
12806 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12807
12808         * ColorHandler.h:
12809         * ColorHandler.C:
12810         * FontInfo.h:
12811         * FontInfo.C: moved to frontends/xforms/
12812
12813         * FontLoader.h:
12814         * FontLoader.C: moved into frontends for GUIIzation
12815
12816         * Makefile.am:
12817         * lyx_gui.C:
12818         * lyxfont.C:
12819         * lyxfunc.C: changes from above
12820
12821 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12822
12823         * LColor.C: remove spurious X include
12824
12825         * BufferView_pimpl.C:
12826         * Makefile.am:
12827         * font.h:
12828         * font.C:
12829         * text.C:
12830         * text2.C: move font metrics to frontends/
12831
12832 2002-05-24  Juergen Vigna  <jug@sad.it>
12833
12834         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12835         setting the undo_cursor.
12836
12837         * ParagraphParameters.h: include local includes first.
12838
12839 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12840
12841         * BufferView_pimpl.C:
12842         * BufferView_pimpl.h:
12843         * Makefile.am:
12844         * WorkArea.h:
12845         * WorkArea.C:
12846         * screen.C: move WorkArea into frontends/
12847
12848         * lyxscreen.h:
12849         * screen.C:
12850         * text.C:
12851         * BufferView.C:
12852         * BufferView2.C: move LyXScreen into frontends/
12853
12854         * lyxlookup.h:
12855         * lyxlookup.C:
12856         * lyx_gui.C: move lyxlookup into frontends/xforms/
12857
12858 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12859
12860         * BufferView2.C:
12861         * BufferView_pimpl.C:
12862         * FontLoader.C:
12863         * LyXView.h:
12864         * LyXView.C:
12865         * Makefile.am:
12866         * WorkArea.C:
12867         * XFormsView.h:
12868         * XFormsView.C:
12869         * buffer.C:
12870         * bufferlist.C:
12871         * bufferview_funcs.C:
12872         * converter.C:
12873         * importer.C:
12874         * lyx_cb.C:
12875         * lyx_gui.C:
12876         * lyx_main.C:
12877         * lyx_find.C:
12878         * lyxfunc.C:
12879         * lyxvc.C:
12880         * minibuffer.C:
12881         * text.C:
12882         * text2.C:
12883         * trans.C:
12884         * vc-backend.C: move LyX/XFormsView into frontends/
12885
12886 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12887
12888         * Makefile.am:
12889         * PainterBase.C:
12890         * PainterBase.h:
12891         * Painter.C:
12892         * Painter.h:
12893         * WorkArea.C:
12894         * WorkArea.h:
12895         * screen.C:
12896         * tabular.C:
12897         * text.C:
12898         * text2.C: move Painter to frontends/
12899
12900 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12901
12902         * buffer.C: comment out some some code that depend upon lyx_format
12903         < 220
12904
12905         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12906         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12907
12908         * buffer.h (NO_COMPABILITY): turn off compability
12909
12910         * ColorHandler.C: include scoped_array.hpp
12911
12912         * font.C: Use more specific smart_ptr header.
12913         * Painter.C: ditto
12914         * gettext.C: ditto
12915         * ShareContainer.h: ditto
12916         * lyx_main.h: ditto
12917         * kbmap.h: ditto
12918         * FontInfo.h: ditto
12919         * BufferView_pimpl.h: ditto
12920         * ColorHandler.h: ditto
12921
12922         * kbmap.C (defkey): change call to shared_ptr::reset
12923
12924 2002-05-21  Juergen Vigna  <jug@sad.it>
12925
12926         * buffer.C (insertErtContents): fix to insert ert asis if it is
12927         non empty. Skip it completely if it contains only whitespaces.
12928
12929 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12930
12931         * BufferView_pimpl.C:
12932         * BufferView2.C: clear selection on paste (bug 393)
12933
12934 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12935
12936         * DepTable.C: include ctime
12937
12938 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12939
12940         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12941
12942 2002-05-14  Juergen Vigna  <jug@sad.it>
12943
12944         * text.C (breakParagraph): fixed function to honor the keepempty
12945         layout in the right maner and also to permit the right breaking
12946         algorithm on empty or non empyt keepempty paragraphs.
12947
12948         * paragraph.C (breakParagraph): we have to check also if the par
12949         is really empty (!size()) for isempty otherwise we do the wrong
12950         paragraph break.
12951
12952 2002-05-10  Juergen Vigna  <jug@sad.it>
12953
12954         * buffer.[Ch] : The following are only changes to the ert
12955         compatibility read reading old LaTeX layout and font stuff and
12956         convert it to ERTInsets.
12957
12958         * buffer.h: added isErtInset().
12959
12960         * buffer.C (struct ErtComp): add a fromlayout bool to check
12961         if we're inside a LaTeX layout.
12962         (isErtInset): new helper function.
12963         (insertErtContents): look for other ert insets before this one
12964         and insert the contents there, so that we don't have subsequent
12965         ERT insets with nothing between them. This way we create only one
12966         inset with multiple paragraphs. Also check if we don't insert only
12967         spaces ' ' as they are ignored anyway afterwards in the .tex file
12968         so if we have only spaces we will ignore this latex part in the
12969         new file.
12970         (parseSingleLyXformat2Token \\layout): better compatibility when
12971         reading layout-latex stuff.
12972         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12973         language tag.
12974         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12975         stuff after reading the inset only get the information back from
12976         the stack.
12977
12978 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12979
12980         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12981
12982         * LaTeXFeatures.C (getBabelOptions): New method.
12983
12984 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12985
12986         * BufferView_pimpl.C (Dispatch): work around missing argument for
12987         'layout'
12988
12989 2002-05-08  Juergen Vigna  <jug@sad.it>
12990
12991         * text.C (leftMargin): handle paragraph leftindent.
12992
12993         * paragraph.C (writeFile): write the new \\leftindent tag.
12994         (validate): handle leftindent code.
12995         (TeXEnvironment): handle paragraphleftindent code again.
12996
12997         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12998
12999         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13000         for paragrap_extra indent code and new token \\leftindent.
13001         (latexParagraphs): handle the leftindent as environment.
13002
13003         * ParameterStruct.h: added leftindent support.
13004
13005         * ParagraphParameters.C (leftIndent): added support functions for
13006         the paragraph left indent.
13007
13008         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13009         more appropriate.
13010
13011 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13012
13013         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13014         inside insetERT.
13015
13016         * text.C (computeBidiTables): No bidi in insetERT.
13017
13018         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13019         in RTL documents.
13020
13021 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13022
13023         * version.C.in: pre 5
13024
13025 2002-05-02  José Matos  <jamatos@fep.up.pt>
13026         * buffer.C (makeDocBookFile): white space changes, add newline to
13027         command styles.
13028         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13029
13030         * tabular.C (docBook): fix typo.
13031
13032 2002-05-03  Juergen Vigna  <jug@sad.it>
13033
13034         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13035         change in LyXText as we can not be sure it was not freed.
13036         (drawOneRow): remove unused code.
13037
13038         * text.C (drawInset): redo the calculation of the need_break_row as
13039         it could have a row which was already freed.
13040         (draw): look at the return value of drawInset and return false if
13041         it also returned false.
13042         (paintRowText): look at the return value of draw and return false if
13043         it also returned false.
13044
13045         * lyxtext.h: added bool return type to drawInset() and draw() so that
13046         if we have a change in the row so that the rowbreak has to be redone
13047         we abort drawing as it will be called again.
13048
13049 2002-05-02  Juergen Vigna  <jug@sad.it>
13050
13051         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13052         a change in the maintext also if we're inside an inset.
13053         (Dispatch): set the cursor again after a break line and after the
13054         screen has been updated as it could be we're in a different row.
13055
13056         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13057         to set the cursor behind the pargraph with > size().
13058         (setCursor): check also for the same paragraph when checking where
13059         to put the cursor if we have a NFR inset.
13060
13061         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13062         parts of layout read further up as it still was in the wrong
13063         position.
13064
13065 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13066
13067         * screen.C (drawFromTo): change sine fullRebreak always return
13068         true.
13069
13070         * buffer.C (parseSingleLyXformat2Token): reindent some
13071
13072         * BufferView_pimpl.C (update): change since fullRebreak always
13073         return true.
13074         (Dispatch): git rid of the last hardcoded "Standard"s.
13075
13076 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13077
13078         * text2.[Ch] (fullRebreak): make it return void now that we always
13079         returned true.
13080
13081 2002-04-30  Juergen Vigna  <jug@sad.it>
13082
13083         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13084         ert compatibility check for "latex" layout.
13085
13086 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13087
13088         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13089         minipages: use col% instead of p%, and also use the current font.
13090         (makeLaTeXFile): Fix use babel condition.
13091         (parseSingleLyXformat2Token): Correct font when reading old floats.
13092
13093 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13094
13095         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13096         inserting list of floats.
13097
13098 2002-04-25  Herbert Voss  <voss@lyx.org>
13099
13100         * MenuBackend.C (expand): don't add the graphics extensions to the
13101         export menu
13102
13103 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13104
13105         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13106         non-existing layout, do not complain if it was the default layout
13107         of the original class (bug #342)
13108
13109 2002-04-24  Juergen Vigna  <jug@sad.it>
13110
13111         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13112         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13113
13114 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13115
13116         * buffer.C (getBibkeyList): If using \bibliography, return the
13117         option field with the reference itself. Enables us to provide natbib
13118         support when using \bibliography.
13119
13120 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13121
13122         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13123
13124         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13125         natbib is provided by the LaTeX class.
13126
13127 2002-04-23  Juergen Vigna  <jug@sad.it>
13128
13129         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13130         Wakeup functions.
13131
13132         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13133
13134 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13135
13136         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13137
13138         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13139         ensuremath around textordmasculine, textordfeminine and
13140         textdegree.
13141
13142 2002-04-19  Juergen Vigna  <jug@sad.it>
13143
13144         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13145         reinitializing the buffer otherwise row-dimensions may be wrong.
13146         (update): reset also the selection cursors if they do exits otherwise
13147         their x/y positions may be wrong.
13148
13149         * text2.C (cursorDown): don't enter the inset if we came from a row
13150         above and are one row over the inset.
13151
13152         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13153         really leaving an inset.
13154
13155 2002-04-18  Juergen Vigna  <jug@sad.it>
13156
13157         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13158         of the selected paragraph does not have the selected layout also if
13159         the last one had!
13160
13161         * text2.C (setLayout): fixed bug which did not change last selected
13162         paragraph.
13163
13164         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13165         changed the read and substituted \\end_float with \\end_inset!
13166
13167         * BufferView_pimpl.C (cursorPrevious):
13168         (cursorNext): fixed to make it work with rows heigher than the work
13169         area without moving the cursor only the draw of the row.
13170         (workAreaMotionNotify): fix jumping over high rows.
13171
13172 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13173
13174         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13175         Ressler.
13176
13177 2002-04-16  Juergen Vigna  <jug@sad.it>
13178
13179         * text2.C (setCursor): set also the irow().
13180         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13181         (cursorUp):
13182         (cursorDown): support for locking an inset if the x_fix value goes
13183         inside it. That way I can transverse insets too with cursor up/down.
13184
13185         * lyxrow.h: added irow helper function same as other (i) functions.
13186
13187         * BufferView_pimpl.C (cursorPrevious):
13188         (cursorNext): fixed for insets!
13189
13190 2002-04-15  Juergen Vigna  <jug@sad.it>
13191
13192         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13193         position otherwise it is wrong in some cases.
13194
13195         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13196         inside the inset before the call.
13197
13198 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13199
13200         * buffer.[Ch] (getBibkeyList): make it const.
13201
13202 2002-04-12  Juergen Vigna  <jug@sad.it>
13203
13204         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13205
13206         * text2.C (getCursorX): new helper function
13207         (setCursor): compute also ix_
13208         (setCursorFromCoordinates): set also ix.
13209
13210         * lyxcursor.h: added ix_ and helper functions.
13211
13212         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13213
13214         * buffer.C (insertStringAsLines): dont break paragraph if the this
13215         paragraph is inside an inset which does not permit it!
13216
13217         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13218         also with no chars on this paragraph.
13219         (paintRowText): only paint stuff if it's inside the workarea!
13220
13221         * paragraph.C (breakParagraph): honor keepempty flag and break the
13222         paragraph always below not above.
13223
13224         * BufferView2.C (unlockInset): update the paragraph layout on inset
13225         unlock as we changed paragraph in such a case.
13226
13227         * lyxfind.C (LyXFind): clear the former selection if not found!
13228
13229         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13230         again called in insertChar().
13231
13232         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13233         an inset which uses the whole row!
13234         (rightMargin): ditto.
13235         (insertChar): force a rebreak if we inserted an inset!
13236
13237 2002-03-28  Herbert Voss  <voss@lyx.org>
13238
13239         * lyxlength.[Ch]: add inBP() to get the right PS-point
13240         units (BigPoint). With inPixels we have rounding errors
13241
13242 2002-04-11  Juergen Vigna  <jug@sad.it>
13243
13244         * text2.C (setCursorFromCoordinates): set iy to the right value.
13245         (setCursor): add check if row->previous exists!
13246
13247         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13248         an old float_type as this was the case in the old code!
13249
13250         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13251
13252         * BufferView2.C (showLockedInsetCursor): use iy
13253         (fitLockedInsetCursor): ditto
13254
13255         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13256         locked insets as there we have the right value now.
13257
13258         * lyxcursor.C: added iy_ variable and iy functions to set to the
13259         baseline of cursor-y of the locked inset.
13260
13261         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13262         (setCursor): fixed for insets which need a full row.
13263
13264         * text.C (rowLastPrintable): don't ignore the last space when before
13265         an inset which needs a full row.
13266         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13267         as last character of a row when before a inset which needs a full row.
13268
13269 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13270
13271         * version.C.in: update date
13272
13273         * text2.C (fullRebreak): try to always return true and see what
13274         happens...
13275
13276 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13277
13278         * MenuBackend.C (expand): use Floating::listName
13279
13280         * FloatList.C (FloatList): add listName argument to the built-in
13281         floats
13282
13283         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13284         text associated with the float.
13285
13286 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13287
13288         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13289
13290 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13291
13292         * ShareContainer.h: add a couple of missing typenames.
13293
13294 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13295
13296         * lyxrc.C (getDescription): use _() correctly rather than N_().
13297
13298 2002-03-28  Herbert Voss  <voss@lyx.org>
13299
13300         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13301         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13302
13303 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13304
13305         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13306         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13307
13308 2002-03-29  Juergen Vigna  <jug@sad.it>
13309
13310         * lyxfunc.C (dispatch): add a missing fitCursor call.
13311
13312         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13313         it was scrolled by a cursor move, so return the bool status.
13314
13315         * BufferView.C (fitCursor): return the bool flag also to the outside
13316         world as this is needed.
13317
13318         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13319
13320         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13321         call the edit() as it is not needed (and wrong) IMO.
13322         (workAreaButtonPress): set the screen_first variable before evt.
13323         unlock the inset as this may change screen_first and then we have
13324         a wrong y position for the click!
13325
13326 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13327
13328         * MenuBackend.C (expand): another translation that I missed
13329
13330 2002-03-28  Juergen Vigna  <jug@sad.it>
13331
13332         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13333
13334         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13335
13336 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13337
13338         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13339
13340         * MenuBackend.C (expand): fix export/view/update when there is no
13341         document open.
13342
13343 2002-03-27  Herbert Voss  <voss@lyx.org>
13344
13345         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13346         and text%
13347
13348 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13349
13350         * bufferview_funcs.C (currentState): only show paragraph number
13351         for is DEVEL_VERSION is set.
13352
13353         * lyxfunc.C (dispatch): put warning in INFO channel
13354
13355         * MenuBackend.C (expand): translate the name of floats
13356
13357         * FloatList.C (FloatList): mark the float names for translation
13358
13359         * converter.C (convert): use LibScriptSearch
13360
13361 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13362
13363         * MenuBackend.C (defaults): fix default menu (we might as well get
13364         rid of it...)
13365
13366 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13367
13368         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13369         directory.
13370
13371 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13372
13373         * lyxvc.C: reorder includes.
13374
13375 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13376
13377         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13378           properly
13379
13380 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13381
13382         * CutAndPaste.C: change layouts earlier on paste
13383           to avoid crashing when calling getFont()
13384
13385 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13386
13387         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13388         irritating #error.
13389
13390 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13391
13392         * WorkArea.C: remove 'Pending' debug message.
13393
13394         * most files: ws cleanup
13395
13396         * buffer.[Ch]: ws changes
13397
13398         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13399
13400 2002-03-21  Juergen Vigna  <jug@sad.it>
13401
13402         * tabular.C (SetMultiColumn): collapse also the contents of the
13403         cells and set the last border right. Added a Buffer const * param.
13404
13405 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13406
13407         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13408         linking or not.
13409
13410 2002-03-19  Juergen Vigna  <jug@sad.it>
13411
13412         * text2.C (clearSelection): reset also xsel_cache.
13413
13414         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13415         where it needs to be called (John tells us to do so too :)
13416         (selectionLost): reset sel_cache.
13417
13418         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13419
13420 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13421
13422         * text2.C (setCursorIntern): put debuging code in INSETS channel
13423
13424 2002-03-19  André Pönitz <poenitz@gmx.net>
13425
13426         * lyxfunc.C: tiny whitespace change
13427
13428 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13429
13430         * ToolbarDefaults.C (init):
13431         * LyXAction.C (init):
13432         * commandtags.h:
13433         * BufferView_pimpl.C (Dispatch):
13434         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13435
13436 2002-03-19  Allan Rae  <rae@lyx.org>
13437
13438         * exporter.C (Export): removeAutoInsets before doing anything else.
13439         While I've just introduced a dependency on BufferView this really is
13440         the best place to clean the buffer otherwise you need to cleanup in
13441         a dozen places before calling export or cleanup in a dozen functions
13442         that export calls.
13443
13444         * converter.C (runLaTeX):
13445         (scanLog): Better handling of removeAutoInsets and screen updates.
13446
13447         * lyxfunc.C (dispatch): small whitespace changes
13448
13449 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13450
13451         * WorkArea.C (C_WorkAreaEvent): return a value.
13452         (event_cb): return 1 if we handled the event, 0 otherwise.
13453
13454         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13455
13456 2002-03-18  Juergen Vigna  <jug@sad.it>
13457
13458         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13459         (GetAdditionalWidth): ditto.
13460         (RightLine): ditto.
13461         (LeftLine): ditto.
13462
13463         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13464         inset if we're there actually (probably not used right now but this
13465         is the direction to go for unifying code).
13466         (paste): disable code to clear the selection.
13467
13468         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13469         inside an InsetText and move the check further up as it is in the
13470         wrong place.
13471
13472         * text2.C (pasteSelection): set a selection over the pasted text.
13473
13474 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13475
13476         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13477         and libgraphics to build on Cygwin.
13478
13479 2002-03-15  Juergen Vigna  <jug@sad.it>
13480
13481         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13482         inserting an Inset into the paragraph. I know this is not the best
13483         fix but we already use current_view in CutAndPaste so we will remove
13484         all of it's using at the same time.
13485
13486         * buffer.C (sgmlError): deactivated function till it is rewritten in
13487         the right mode, now it can create problems.
13488
13489         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13490         before accessing it.
13491
13492 2002-03-14  Juergen Vigna  <jug@sad.it>
13493
13494         * undo_funcs.C (textHandleUndo): do the right thing when updating
13495         the inset after the undo/redo.
13496
13497         * text2.C (setCursor): just some testcode for #44 not ready yet.
13498
13499         * undo_funcs.C (textHandleUndo): set the next() and previous()
13500         pointers of the paragraph to 0 before deleting otherwise we have
13501         problems with the Paragraph::[destructor].
13502
13503         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13504         on a paragraph insertion.
13505
13506 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13507
13508         * buffer.C (asciiParagraph): use += operator for char append to
13509         string.
13510
13511         * paragraph.C (getFontSettings): compare >= not just >
13512         (highestFontInRange): ditto
13513         (setFont): ditto
13514
13515 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13516
13517         * paragraph.C: change several algorithm to be more appripriate for
13518         the problem domain. This is lookip in FontList and in the InsetList.
13519
13520 2002-03-13  André Pönitz <poenitz@gmx.net>
13521
13522         * commandtags.h:
13523         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13524
13525 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13526
13527         * commandtags.h:
13528         * LyXAction.C:
13529         * lyxfunc.C:
13530         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13531
13532 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13533
13534         * Painter.C (display): anon helper function, adjust code for this
13535         change.
13536         (pixmap): remove function.
13537
13538         * Painter.h: remove private display variable.
13539
13540         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13541
13542 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13543
13544         * WorkArea.[Ch]: remove figinset_canvas cruft.
13545
13546 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13547
13548         * lyxtextclass.C (operator): add one item cache optimization.
13549
13550         * bufferlist.h: doxy changes
13551
13552         * bufferlist.C: ws changes
13553
13554         * DepTable.[Ch] (ext_exist): place const in the right spot.
13555
13556         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13557         call resizeInsets.
13558         (workAreaExpose): call resizeInsets when the with BufferView changes.
13559         (Dispatch): adjust for protectedBlank removal
13560         (specialChar): call updateInset if the insert went ok.
13561
13562         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13563         specialChar instead.
13564
13565         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13566
13567         * BufferView.h: doxy change
13568
13569         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13570
13571         * lyxtextclass.C (operator[]): remove non-const version
13572         (defaultLayout): remove non-const version
13573
13574 2002-03-12  Juergen Vigna  <jug@sad.it>
13575
13576         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13577         did resize the LyXText too.
13578
13579         * buffer.C (readLyXformat2): set layout information on newly allocated
13580         paragraphs.
13581
13582         * tabular.C (OldFormatRead): set layout information on the paragraph.
13583
13584 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13585
13586         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13587
13588 2002-03-11  Juergen Vigna  <jug@sad.it>
13589
13590         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13591         plainly wrong.
13592         (resizeCurrentBuffer): force also the insets to resize themselfes.
13593         (moveCursorUpdate): fixed up for InsetText.
13594
13595 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13596
13597         * commandtags.h:
13598         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13599         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13600         value of Dialogs::tooltipsEnabled().
13601         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13602
13603 2002-03-08  Juergen Vigna  <jug@sad.it>
13604
13605         * BufferView_pimpl.C (updateInset): update inset inside inset also
13606         if it isn't inside theLockingInset().
13607
13608 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13609
13610         * buffer.C (asciiParagraph): redo some of the word and line length
13611         handling.
13612         (getLists): look for Caption instead of caption.
13613
13614 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13615
13616         * buffer.C (Buffer): initialize niceFile to true
13617         (makeLaTeXFile):
13618         (makeLinuxDocFile):
13619         (makeDocBookFile): make sure niceFile is true on exit
13620
13621 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13622
13623         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13624
13625 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13626
13627         * LyXSendto.C: remove.
13628         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13629         * lyx_gui.C: remove now-redundant comment.
13630         * ColorHandler.h: remove forward declaration of class WorkArea.
13631         * lyxfunc.C: remove #include "WorkArea.h".
13632
13633 2002-03-07  Juergen Vigna  <jug@sad.it>
13634
13635         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13636         got moved away with the DEPM and also set the inset_owner always
13637         right which before could have been omitted.
13638
13639 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13640
13641         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13642         wanted layout is not found.
13643
13644 2002-03-07  Juergen Vigna  <jug@sad.it>
13645
13646         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13647
13648 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13649
13650         * paragraph.C (breakParagraph): use default layout not layout of
13651         prev paragraph.
13652         (Paragraph): clear ParagraphParameters.
13653
13654 2002-03-06  Juergen Vigna  <jug@sad.it>
13655
13656         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13657         otherwise it would not be a valid lenght. Fixed a special case in
13658         the minipage compatibility read where we end the document with a
13659         minipage.
13660
13661         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13662         was set as it could be 0 for InsetTexts first entry.
13663
13664 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13665
13666         * paragraph.C (writeFile): if layout is empty write out
13667         defaultLayoutName().
13668
13669         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13670         file without named layout we set layout to defaultLayoutName().
13671
13672 2002-03-06  Juergen Vigna  <jug@sad.it>
13673
13674         * CutAndPaste.C (copySelection): set layout for new paragraph.
13675
13676         * text.C (prepareToPrint): leave ERT inset left aligned
13677         (leftMargin): don't indent paragraphs inside ERT insets
13678
13679 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13680
13681         * paragraph.C (breakParagraph): dont call clear do the work manually
13682
13683         * paragraph.[Ch] (clear): remove function
13684
13685 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13686
13687         * paragraph.C (Paragraph): dont call clear, the work has already
13688         been done.
13689
13690         * lyxtextclass.C (operator): assert if n is empty
13691
13692         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13693         work manually instead.
13694
13695 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13696
13697         * BufferView_pimpl.C: protect selectionLost against text == 0
13698
13699 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13700
13701         * text.C (breakParagraph): fix a setting layout to '0' problem.
13702
13703 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13704
13705         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13706         final location of file, for the included files, and graphics.
13707
13708 2002-03-05  Juergen Vigna  <jug@sad.it>
13709
13710         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13711
13712 2002-03-04  Juergen Vigna  <jug@sad.it>
13713
13714         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13715
13716         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13717         last column of multicolumn cells.
13718         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13719
13720 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13721
13722         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13723         file if it doesn't go to a temporary file.
13724
13725         * buffer.C (sgmlOpenTag):
13726         (sgmlCloseTag):  remove extra newline insertion.
13727
13728 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * text.C (getRowNearY): comment out debug msg
13731
13732 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13733
13734         * text2.C: first -> first_y
13735
13736         * text.C (getRowNearY): add some attemts at a possible
13737         optimization, not working.
13738
13739         * tabular.[Ch]: add BufferParams to several function so that newly
13740         created paragraph can be initialized to he default layotu for the
13741         buffers textclass.
13742
13743         * tabular-old.C (ReadOld): add buf->params to call of Init
13744
13745         * screen.C: rename text->first to text->first_y
13746
13747         * paragraph.C (breakParagraph): always set layout in the broken
13748         paragraph
13749
13750         * lyxtextclass.C (Read): remove lowercase
13751         (hasLayout): ditto
13752         (operator): ditto
13753         (delete_layout): ditto
13754
13755         * lyxtext.h: rename first -> first_y
13756
13757         * lyxlayout.C (Read): remove lowercase
13758         (name): ditto
13759         (setName): ditto
13760         (obsoleted_by): ditto
13761
13762         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13763
13764         * buffer.C (insertErtContents): add params are to InsetERT
13765         (parseSingleLyXformat2Token): add code to check if a paragraphs
13766         layout really exist.
13767         (parseSingleLyXformat2Token): add params to several inset
13768         constructors
13769         (asciiParagraph): remove lowercase, do the layout comparisons with
13770         no_case
13771
13772         * BufferView_pimpl.C (cursorNext): first -> first_y
13773         (resizeCurrentBuffer): first -> first_y
13774         (updateScrollbar): first -> first_y
13775         (scrollCB): first -> first_y
13776         (workAreaMotionNotify): first -> first_y
13777         (workAreaButtonPress): first -> first_y
13778         (checkInsetHit): first -> first_y
13779         (cursorPrevious): first -> first_y
13780         (cursorNext): first -> first_y
13781         (Dispatch): add buffer_->params to severl inset contructors
13782
13783 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13784
13785         * lyxlayout.C (Read): remove some debug info that I forgot.
13786
13787         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13788         clean up the code slightly.
13789         (makeLinuxDocFile): ditto
13790         (makeDocBookFile): ditto
13791
13792         * text2.C: layout as string
13793
13794         * text.C: layout as string
13795
13796         * paragraph_pimpl.C: layout as string
13797
13798         * paragraph.[Ch]: layout as string
13799
13800         * lyxtextclasslist.[Ch]: layout as string
13801
13802         * lyxtextclass.[Ch]: layout as string
13803
13804         * lyxtext.h: layout as string
13805
13806         * lyxlayout.[Ch]: layout as string
13807
13808         * lyx_cb.C: layout as string
13809
13810         * bufferview_funcs.C: layout as string
13811
13812         * bufferparams.C: layout as string
13813
13814         * buffer.C: layout as string
13815
13816         * LyXView.[Ch]: layout as string
13817
13818         * LaTeXFeatures.[Ch]: layout as string
13819
13820         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13821
13822         * BufferView_pimpl.C: change current_layout to string, remove
13823         lyx::layout_type.
13824         (Dispatch):
13825         (smartQuote):
13826         (insertInset):
13827         (workAreaButtonRelease): layout as string
13828
13829         * BufferView2.C (unlockInset): adjust
13830
13831         * vspace.C (asLatexCommand): use an explict temp variable.
13832
13833 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13834
13835         * Makefile.am: use FRONTEND_*
13836
13837 2002-03-01  Juergen Vigna  <jug@sad.it>
13838
13839         * tabular.C (SetWidthOfMulticolCell): changed to something better
13840         I hope but still work in progress.
13841         (recalculateMulticolumnsOfColumn): renamed function from
13842         recalculateMulticolCells as it is more appropriate now.
13843         (SetWidthOfCell): calculate multicols better.
13844
13845 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13846
13847         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13848
13849         * lyxfunc.C (processKeySym): print sequence also if it is
13850         `deleted' (complete)
13851
13852         * kbsequence.C (print): print sequence even if it is deleted
13853         (complete would be a better word, actually).
13854
13855         * lyxfunc.C (dispatch): print complete options after a prefix key
13856
13857         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13858
13859 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13860
13861         * text2.C (setCharFont): eliminate setCharFont code duplication.
13862
13863 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13864
13865         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13866         LFUN_TABULAR_FEATURE (bug #177)
13867
13868 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13869
13870         * Makefile.am: remove figure.h
13871
13872 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13873
13874         * Bufferview_pimpl.C:
13875         * CutAndPasteC:
13876         * LaTeX.C:
13877         * LyXSendto.C:
13878         * buffer.C:
13879         * bufferlist.C:
13880         * converter.C:
13881         * language.C:
13882         * lyxfunc.C:
13883         * lyxvc.C:
13884         * paragraph.C:
13885         * text.C:
13886         * text2.C: remove #include "lyx_gui_misc.h".
13887
13888         * LaTeX.C: added #include <cstdio>
13889
13890 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13891
13892         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13893         that the paragraph following this one can have.
13894
13895         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13896
13897         * vspace.C (asLatexCommand): fix bogus gcc warning
13898
13899         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13900
13901 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13902
13903         * text2.C (setLayout): get rid of redundant code
13904
13905 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13906
13907         * text2.C (incDepth): make sure depth cannot be increased beyond
13908         reasonable values.
13909
13910 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13911
13912         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13913         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13914
13915         * PainterBase.h (image):
13916         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13917         a LyXImage const *.
13918
13919 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13920
13921         * BufferView.C:
13922         * BufferView.h:
13923         * BufferView_pimpl.C:
13924         * BufferView_pimpl.h:
13925         * LaTeXFeatures.C:
13926         * LyXAction.C:
13927         * LyXView.C:
13928         * Makefile.am:
13929         * UpdateList.h:
13930         * UpdateList.C:
13931         * buffer.C:
13932         * figure.h:
13933         * figureForm.C:
13934         * figureForm.h:
13935         * figure_form.C:
13936         * figure_form.h:
13937         * lyx_cb.C:
13938         * lyx_gui.C:
13939         * lyx_gui_misc.C:
13940         * lyxfunc.C:
13941         * sp_base.h:
13942         * sp_ispell.h:
13943         * sp_pspell.h:
13944         * sp_spell.C: remove fig inset, and the crap house of
13945           cards that follows it
13946
13947 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13948
13949         * Makefile.am:
13950         * lyxserver.C:
13951         * os2_defines.h:
13952         * os2_errortable.h:
13953         * nt_defines.h: move .h into support/
13954
13955         * vms_defines.h: remove
13956
13957         * WorkArea.C: add space in debug output
13958
13959         * text2.C:
13960         * paragraph.C:
13961         * buffer.C: add WITH_WARNINGS
13962
13963         * vc-backend.h:
13964         * vc-backend.C:
13965         * bufferlist.C: s/retrive/retrieve/, add docs
13966
13967         * vspace.h:
13968         * vspace.C:
13969         * kbmap.h:
13970         * lyxlength.h:
13971         * lyxgluelength.h:
13972         * length_common.h:
13973         * chset.h:
13974         * chset.C: add docs
13975
13976         * lyxgui.C: add ID to X error handler
13977
13978         * lyxtestclass.c: fix typo
13979
13980 2002-02-26  Juergen Vigna  <jug@sad.it>
13981
13982         * tabular_funcs.C (write_attribute): changed so that some default
13983         attributes are not written at all.
13984         (getTokenValue): set default values before trying to read the
13985         value so we have the return value always set as default if we don't
13986         find the token we search for.
13987
13988         * tabular.C (Write): write bools as bools not as strings!
13989
13990 2002-02-22  Juergen Vigna  <jug@sad.it>
13991
13992         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13993         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13994
13995         * text.C (leftMargin): don't add an indent for paragraphs inside
13996         tabular cells (fix #208).
13997
13998 2002-02-21  José Matos  <jamatos@fep.up.pt>
13999
14000         * tabular.C (docBook): fixed support for long tables.
14001
14002 2002-02-20  Juergen Vigna  <jug@sad.it>
14003
14004         * text2.C (getFont): get the drawing font of the Inset if this
14005         paragraph is inside an inset (only important for InsetERT for now).
14006
14007         * buffer.C (insertErtContents): use new lanugage params in ERT
14008         constructor.
14009
14010         * CutAndPaste.C: commenting out seemingly uneeded code.
14011
14012 2002-02-19  Allan Rae  <rae@lyx.org>
14013
14014         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14015         Iterators might be simple to use but they also get invalidated.
14016         (removeAutoInsets): renamed saved cursor tracking variables and added
14017         some comments to clarify what everything does.
14018
14019 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14020
14021         * Chktex.C:
14022         * LaTeX.C:
14023         * LyXSendto.C:
14024         * converter.C:
14025         * lyx_cb.C:
14026         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14027         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14028
14029         * lyxfunc.C:
14030         * vc-backend.h: remove #include "support/syscall.h"
14031
14032         * LaTeX.C:
14033         * LyXSendto.C:
14034         * converter.C: rearrange #includes in Lars' approved fashion.
14035
14036         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14037         forward declare class Timeout in the header file.
14038
14039         * XFormsView.C: changes due to the above.
14040
14041         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14042         similar to LyXView.
14043
14044         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14045         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14046
14047 2002-02-18  José Matos  <jamatos@fep.up.pt>
14048
14049         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14050         insets contents.
14051
14052 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14053
14054         * a lot of small ws changes
14055         * add a lot of using std::XXX
14056         * use std construcs some places where approp.
14057         * use some exisint stuff from lyxfunctional where approp.
14058         * Make file changes to use partial linking (lets test this now...)
14059
14060 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14061
14062         * Chktex.C:
14063         * buffer.C:
14064         remove #include "support/syscontr.h" as it's redundant. Always has been.
14065
14066         * Chktex.C:
14067         * LaTeX.C:
14068         * LyXSendto.C:
14069         * converter.C:
14070         * lyx_cb.C:
14071         * vc-backend.C:
14072         change Systemcalls::System to Systemcalls::Wait and
14073         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14074         No change of functionality, just reflects the stripped down Systemcalls
14075         class.
14076
14077 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14078
14079         * debug.[Ch]: add a GRAPHICS type to the enum.
14080
14081 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14082
14083         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14084
14085         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14086         there is an inset.
14087
14088 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14089
14090         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14091         match the changes below.
14092
14093         * text2.C (toggleInset): if there is not editable inset at cursor
14094         position, try to see if cursor is _inside_ a collapsable inset
14095         and close it.
14096
14097 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14098
14099         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14100         document menu has a nice checkbox
14101
14102 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14103
14104         * lyxlength.C (asLatexString): change PW to output as percent of
14105         \textwidth.
14106
14107         * lengthcommon.C: change '%' to 't%'
14108
14109         * lyxfunc.C (dispatch): a few comments from Martin
14110
14111 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14112
14113         * WorkArea.h:
14114         * WorkArea.C:
14115         * BufferView_pimpl.h:
14116         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14117           the X selection.
14118
14119 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14120
14121         * vspace.C (inPixels): fix compiler warning
14122
14123 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14124
14125         * lyxfunc.C (getStatus): fix status message for disabled commands.
14126
14127 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14128
14129         * BufferView_pimpl.C: fix crash on close buffer
14130         during selection (#227)
14131
14132 2002-01-27  Herbert Voss  <voss@lyx.org>
14133
14134         * buffer.C: link old Figure to new graphic inset
14135
14136 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14137
14138         * FontLoader.C (getFontinfo): Change the latex font names in order
14139         to match the names of type1inst.
14140
14141 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14142
14143         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14144
14145         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14146         (extchanged): ditto
14147         (ext_exist): ditto
14148         (remove_files_with_extension): ditto
14149         (remove_file): ditto
14150         (write): ditto
14151
14152         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14153         document is smaller than the work area height. Do not initialize
14154         static variables to 0.
14155
14156 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14157
14158         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14159
14160         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14161         LFUN_LAYOUT_PARAGRAPHS.
14162
14163         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14164         tabular. It is possible to provide a possible cell, which will
14165         typically be the actcell from the corresponding insettabular
14166
14167         * lyxfunc.C (getStatus): small cleanup; disable
14168         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14169         true
14170
14171 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14172
14173         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14174
14175         * paragraph.C (startTeXParParams):
14176         (endTeXParParams): new methods. The LaTeX code to
14177         start/end paragraph formatting
14178         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14179         empty (fixes bug #200)
14180
14181         * vspace.C (inPixels): adapt to the change below
14182         (inPixels): [later] more cleanups (remove unused variables)
14183
14184         * lyxlength.C (inPixels): change to use a width and a height as
14185         parameter.
14186
14187 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14188
14189         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14190         Replaced with \paperwidth
14191
14192         * DepTable.C (insert): add std:: qualifier
14193
14194 2002-01-18  Allan Rae  <rae@lyx.org>
14195
14196         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14197         updated also?
14198
14199         * text.C (drawInset): Turned out I didn't know enough about how
14200         rebreaking worked.  This fixes most of the redraw problems.  I see
14201         an occasional cursor trail when a line is broken now and the cursor
14202         placement can seem out by a few pixels also after a rebreak.
14203
14204 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14205
14206         * buffer.C (parseSingleLyXformat2Token): update because minipage
14207         width is now a LyXLength
14208
14209         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14210
14211         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14212         math insets
14213
14214 2002-01-17  Juergen Vigna  <jug@sad.it>
14215
14216         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14217
14218         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14219         is set correctly and the inset is updated correctly.
14220
14221 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14222
14223         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14224         the beginning of the loop.
14225
14226 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14227
14228         * lyxrc.C: improve help for use_scalable_fonts
14229
14230 2002-01-17  Allan Rae  <rae@lyx.org>
14231
14232         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14233
14234 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14235
14236         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14237         make sure to set their inset_owner to the right value (bug #171)
14238
14239 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14240
14241         * DepTable.h
14242         * DepTable.C: Implement mtime checking to reduce time spent doing
14243         CRCs.
14244
14245 2002-01-16  Juergen Vigna  <jug@sad.it>
14246
14247         * tabular.C (GetAdditionalHeight): one of error fixed.
14248
14249         * lyxrc.C (output): small fix in writing use_pspell.
14250
14251 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14252
14253         * sp_base.h: #include LString.h
14254
14255 2002-01-16  Allan Rae  <rae@lyx.org>
14256
14257         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14258         Can someone check this please?
14259
14260         * text.C (drawInset): It was possible that p.row would be removed by
14261         breakAgainOneRow upsetting a few other settings.  There may be another
14262         small tweak possible by setting need_break_row = 0 when p.row has been
14263         removed but I don't know enough about the logic here.
14264
14265 2002-01-15  Allan Rae  <rae@lyx.org>
14266
14267         * text.C (insertChar): removed conditional truism.
14268
14269         * BufferView2.C (removeAutoInsets): More tweaks.
14270         cur_par_prev could be a stray pointer.  Check for trailing empty line
14271         in case last line was cur_par and only had an error inset on it.
14272
14273 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14274
14275         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14276         absolute
14277
14278         * vc-backend.C (most methods):
14279         * exporter.C (Export):
14280         * converter.C (convert):
14281         (runLaTeX):
14282         * LyXSendto.C (SendtoApplyCB):
14283         * lyxfunc.C (dispatch):
14284         (menuNew):
14285         (open):
14286         (doImport):
14287         * lyx_cb.C (AutoSave):
14288         (InsertAsciiFile):
14289         * BufferView_pimpl.C (MenuInsertLyXFile):
14290         * buffer.C (runChktex): use Buffer::filePath().
14291
14292         * buffer.h: rename filename to filename_; rename filepath to
14293         filepath_ and make it private
14294         (filePath): new method
14295
14296         * buffer.C (writeFile): use fileName()
14297         (getLatexName):
14298
14299         * lyx_main.C (init): fix starting  of LyX when the binary is a
14300         link from so,ewhere else.
14301
14302         * minibuffer.C: include <cctype> for isprint
14303
14304 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14305
14306         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14307         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14308         name clash with InsetCollapsable's width function.
14309
14310 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14311
14312         * lastfiles.C: include <iterator>
14313
14314 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14315
14316         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14317         std::count.
14318
14319         * buffer.C (makeLaTeXFile): ditto.
14320         Also make loop operation more transparent.
14321
14322 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14323
14324         * ToolbarDefaults.C: remove trailing comma closing namespace.
14325
14326         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14327
14328         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14329         as in WorkArea.
14330
14331         * trans.C (Load): comment out unused variable, allowed.
14332
14333 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14334
14335         * minibuffer.[Ch] (append_char): new method to recieve input from the
14336         drop-down completion browser. If a key was pressed, then recieve this
14337         char and append it to the existing string.
14338         (peek_event): modify the positioning data passed to the completion
14339         browser so that it can be placed above the minibuffer rather than below.
14340 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14341
14342         * LyXAction.C (init): alloe error-next for readonly documents.
14343
14344         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14345         count.
14346
14347 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14348
14349         * bufferlist.C (readFile): create the buffer _after_ checking that
14350         the file exists.
14351
14352         * lyxfunc.C (verboseDispatch): fix handling of arguments
14353
14354         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14355
14356         * lyxrc.C: use string::erase() instead of initializing to "".
14357
14358
14359 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14360
14361         * BufferView_pimpl.h:
14362         * BufferView_pimpl.C:
14363         * WorkArea.h:
14364         * WorkArea.C:
14365         * text2.C: tell X when we have made a selection for copying
14366
14367 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14368
14369         * BufferView_pimpl.C (MenuInsertLyXFile):
14370         * lyxfunc.C (menuNew):
14371         (open):
14372         (doImport): add shortcuts to directory buttons
14373
14374         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14375         open a float)
14376
14377         * lyxfunc.C (setStatusMessage):
14378         (getStatusMessage): new methods
14379         (getStatus):use setStatusMessage instead of setErrorMessage
14380         (dispatch): when function is disabled, set error message here
14381         [instead of in getStatus previously]
14382
14383         * BufferView_pimpl.C (workAreaButtonRelease): update
14384         toolbar/menubar here too.
14385
14386 2002-01-13  Allan Rae  <rae@lyx.org>
14387
14388         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14389         Now seems indestructible.  Remaining task is to audit all other
14390         code affected by deleteEmptyParagraphMechanism.  One small quirk
14391         left is that an empty document with an error in the preamble can
14392         be made to report an error but no error box appears.  I don't know
14393         where it goes.
14394         (removeAutoInsets): Improved comments.
14395
14396 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14397
14398         * Thesaurus.h:
14399         * Thesaurus.C: update for Aiksaurus 0.14
14400
14401 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14402
14403         * text2.C (firstParagraph): removed member function, all uses
14404         replaces with ownerParagraph
14405         (redoParagraphs): here
14406         (updateInset): here
14407         (toggleAppendix): here
14408         * BufferView2.C (insertErrors): here
14409         (setCursorFromRow): here
14410
14411 2002-01-13  Allan Rae  <rae@lyx.org>
14412
14413         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14414         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14415         There is still a way to segfault this although you may have to do this
14416         multiple times: Have an InsetERT with an unknown command in it.
14417         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14418         <down-arrow>, <Enter> again, View->DVI, BANG!
14419
14420         * text2.C (setCursor):
14421         (deleteEmptyParagraphMechanism):
14422         * lyxtext.h (setCursor):
14423         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14424         Making use of the return value may help fix other bugs.
14425
14426 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14427
14428         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14429
14430         * LyXView.C (updateMenubar): call MenuBar::update here
14431         (updateToolbar): but not here
14432         (showState): do not update toolbar/menubar
14433
14434         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14435         should need to care about that.
14436
14437         * lyxfunc.C (verboseDispatch): simplify a bit
14438         (getStatus): have a version which takes a pseudoaction, and
14439         another which requires a (kb_action,string).
14440
14441         * LyXAction.C (retrieveActionArg): make it work also when action
14442         is not a pseudo-action.
14443         (getActionName): simplify a bit
14444         (helpText):
14445
14446 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14447
14448         * lyxfunc.C (verboseDispatch): new families of methods with
14449         several ways to specify a command and a bool to indicate whether
14450         the command name and shortcut should be displayed in minibuffer
14451         (eventually, we could extend that to a finer bitmask like
14452         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14453         (dispatch): the pristine dispatch command which just, well,
14454         dispatchs! Note it still sets its result to minibuffer; I'm not
14455         sure we want that.
14456
14457         * lyxfunc.h: remove setHintMessage
14458
14459         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14460
14461 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14462
14463         * BufferView_pimpl.C (specialChar): delete new inset if we have
14464         not been able to insert it.
14465
14466         * kbmap.C: revert to using int instead of kb_action, since all we
14467         are dealing with is pseudo-actions.
14468
14469         * LyXAction.C (searchActionArg): change to return int instead of
14470         kb_action, since the result is a pseudoaction.
14471
14472 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14473
14474         * buffer.C (insertErtContents): Fix (partially) the font bug.
14475
14476 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14477
14478         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14479         as the other one is broken on my machine!
14480
14481 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14482
14483         * commandtags.h:
14484         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14485
14486 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14487
14488         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14489         reflect their actual use. Provide compatibility code for older lyxrc
14490         files.
14491
14492         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14493         FL_NORMAL_STYLE.
14494         change names of popup font variables in line with the changes to lyxrc.C
14495
14496 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14497
14498         * buffer.C (asciiParagraph): avoid outputing a word twice after
14499         an inset.
14500
14501         * lyxrc.C (getDescription): document that document_path and
14502         template_path can be empty.
14503
14504 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14505
14506         * LaTeXFeatures.C (getMacros):
14507         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14508
14509         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14510
14511         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14512         getPackages.
14513         (getPackages): rename feature "floats" to "float". Use an array to
14514         iterate over 'simple' features (i.e. just a \usepackage). Add
14515         handling of "amsmath" (renamed from "amsstyle").
14516
14517 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14518
14519         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14520         features list.
14521
14522 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14523
14524         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14525         FuncStaus::FuncStatus & FuncStaus::some_method().
14526
14527 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14528
14529         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14530         of the func_satus stuff. Edited and massaged in various ways by
14531         JMarc.
14532
14533         * lyxfunc.C (getStatus): use FuncStatus
14534
14535 2002-01-08  Juergen Vigna  <jug@sad.it>
14536
14537         * text.C (nextBreakPoint): use function Inset::isChar().
14538
14539         * paragraph.C (TeXOnePar): use function
14540         Inset::forceDefaultParagraphs.
14541
14542         * buffer.C (latexParagraphs): use function
14543         Inset::forceDefaultParagraphs.
14544
14545 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14546
14547         * lyx_gui.C (init): set the style of the menu popups to
14548         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14549
14550 2002-01-07  Juergen Vigna  <jug@sad.it>
14551
14552         * text.C (setHeightOfRow): small fix
14553         (prepareToPrint): don't look at alignment if we don't have the place
14554         for doing it.
14555
14556 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14557
14558         * box.C: New file. Move the Box methods and functions out of box.h,
14559         following Lars' suggestion.
14560
14561 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14562
14563         * box.h: #include "support/LOstream.h", needed for inlined function.
14564
14565         * lyxtextclass.C:
14566         * lyxtextclasslist.C: added some using std declarations.
14567
14568 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14569
14570         * box.h: make signed dimensions to allow insets wider than
14571           the screen (bug #162)
14572
14573         * BufferView_pimpl.C: add some insetHit debug
14574
14575 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14576
14577         * vc-backend.C: add FIXME
14578
14579 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14580
14581         * lyxfunc.C (getStatus): enable code for showing math font status
14582         in toolbar/menu.
14583
14584 2002-01-07  Juergen Vigna  <jug@sad.it>
14585
14586         * text.C (nextBreakPoint): removed debug output not needed anymore.
14587
14588 2002-01-06  Juergen Vigna  <jug@sad.it>
14589
14590         * text.C (nextBreakPoint): fixed up this function we had this bug
14591         since ever but now hopefully we break row better.
14592         (insertChar): we have to check if an inset is the next char as it
14593         could now happen that a large inset is causing a break.
14594
14595 2002-01-05  Juergen Vigna  <jug@sad.it>
14596
14597         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14598         if it doesn't like to be drawed.
14599
14600 2002-01-04  Juergen Vigna  <jug@sad.it>
14601
14602         * BufferView2.C (lockInset): forgot to set a cursor.
14603
14604         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14605
14606 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14607
14608         * FormMathsPanel.C:
14609         * FormMathsPanel.h
14610         * MathsSymbols.C:
14611         * form_maths_panel.C:
14612         * form_maths_panel.h:
14613         * form_maths_panel.fd: implemented sub- and super- buttons in math
14614         panel.
14615
14616         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14617         (or ^ space) to be used as in TeX (req'd by Andr�.
14618
14619         * lyxfunc.C: Allow ^ and _ again to be used both as
14620         super/subscript (mathed) and as themselves (in text).
14621
14622 2002-01-03  Allan Rae  <rae@lyx.org>
14623
14624         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14625         "LyX" or the filename of the current buffer if it has one.  This is a
14626         modified form of John Levon's patch.
14627
14628         * XFormsView.C (setWindowTitle): also set icon title.
14629
14630         * LyXView.h (setWindowTitle): signature changed.
14631         * XFormsView.h (setWindowTitle): ditto.
14632
14633 2002-01-02  Juergen Vigna  <jug@sad.it>
14634
14635         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14636
14637 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14638
14639         * screen.C (topCursorVisible): introduce a temp var for
14640         text->cursor.row(), handle the case where this row is null. (kindo
14641         hachish)
14642
14643         * text2.C (setCursor): add a couple of asserts.
14644
14645         * paragraph.h (inset_iterator): add -> operator
14646
14647         * paragraph.[Ch] (autoDeleteInsets): remove member function
14648
14649         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14650         cursor pos correctly and handle inset deletion by itself.
14651         (insertErrors): move iterator declaration out of for expression
14652
14653         * lyxtextclass.C: add <algorithm>
14654
14655         * Makefile.am: added the new files to sources, removed layout.C
14656
14657         * layout.C: removed file
14658
14659         * layout.h: remove LYX_DUMMY_LAYOUT
14660
14661         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14662         layout.
14663
14664         * lyxlayout.[Ch]:
14665         * lyxtextclass.[Ch]:
14666         * lyxtextclasslist.[Ch]: new files
14667
14668         * include order changes to a lot of files, also changes because of
14669         the six new files.
14670
14671 2001-12-27  Juergen Vigna  <jug@sad.it>
14672
14673         * buffer.C (asciiParagraph): more fixes.
14674
14675         * tabular.C (ascii): make ascii export support export of only the
14676         data separated by a column-delimiter.
14677         (ascii): better support for ascii export.
14678
14679         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14680
14681 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14682
14683         * tabular_funcs.C: use a "using std::getline" instead of the
14684         previous fix from Angus (necessary for cxx + lyxstring)
14685
14686 2001-12-24  Juergen Vigna  <jug@sad.it>
14687
14688         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14689
14690         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14691         problems. First check a minipage also if we have some ert-contents
14692         (not only on par->size(), second set the right depth of the paragraph
14693         on the relink to the root-paragraph-list!
14694
14695         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14696         which then did not anymore update the main paragraphs on undo/redo!
14697
14698 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14699
14700         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14701         code. Support all font-changing funcs (even those which are not in
14702         menu currently). Support for reporting font settings in
14703         mathed (disabled until Andre provides a function on mathed's side).
14704
14705         * func_status.h (toggle): small helper function to set toggle
14706         state on a flag.
14707
14708 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14709
14710         * tabular_funcs.C: getline -> std::getline
14711
14712 2001-12-21  Juergen Vigna  <jug@sad.it>
14713
14714         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14715         accessed and could be 0 (I couldn't generate this but it seems
14716         Michael could!).
14717
14718 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14719
14720         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14721         * tabular_funcs.h: here and include iosfwd
14722
14723 2001-12-20  Juergen Vigna  <jug@sad.it>
14724
14725         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14726         inside inset but undo_par was.
14727
14728 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14729
14730         * Thesaurus.C: always include <config.h> in sources.
14731
14732         * Painter.h:
14733         * lyxlookup.h:
14734         * box.h: do not include <config.h> in header files
14735
14736         * text.C (paintLastRow): remove unused variable
14737
14738         * text.C (transformChar):
14739         (insertChar):
14740         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14741
14742         * Painter.C (text):
14743         * font.C (width): rewrite to use uppercase() instead of
14744         islower/toupper.
14745
14746         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14747
14748 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14749
14750         * lyxfind.C: clean up of find failure position change
14751
14752 2001-12-20  Juergen Vigna  <jug@sad.it>
14753
14754         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14755
14756         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14757         (TeXRow): added to LaTeX a single tabular row.
14758         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14759         (Latex): simplified and finally good LT-h/f support.
14760         (various_functions): just small adaptions for LT-h/f support.
14761
14762         * tabular_funcs.[hC]: added and moved here all not classfunctions
14763         of LyXTabular.
14764
14765 2001-12-19  Juergen Vigna  <jug@sad.it>
14766
14767         * tabular.[Ch]: better support for longtabular options (not finished
14768         yet!)
14769
14770 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14771
14772         * text.C (paintLastRow): use the label font instead of the font of
14773         the last character to compute the size of *_BOX. This makes more
14774         sense and avoids a crash with empty paragraphs.
14775         Use Painter::rectangle to draw EMPTY_BOX.
14776
14777 2001-12-19  Juergen Vigna  <jug@sad.it>
14778
14779         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14780         the paragraphs if the replaced paragraph is not the first one!
14781         Tried to delete not used paragraphs but does not work yet so for
14782         now it's inside #ifdef's and by default off!
14783
14784 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14785
14786         * MenuBackend.C: include "lyx_main.h" instead of declaring
14787         lastfiles (actually was declared as LastFiles* instead of a
14788         scoped_ptr).
14789
14790 2001-12-17  Juergen Vigna  <jug@sad.it>
14791
14792         * tabular.C (AppendColumn): applied John's fix
14793
14794 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14795
14796         * BufferView.h:
14797         * BufferView.C:
14798         * BufferView_pimpl.h:
14799         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14800
14801         * Makefile.am:
14802         * box.h: new start of class for above
14803
14804         * lyxfunc.C: ignore space-only minibuffer dispatches.
14805           Show the command name when it doesn't exist
14806
14807         * minibuffer.C: don't add empty lines to the history
14808
14809         * minibuffer.C: add a space on dropdown completion
14810
14811 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14812
14813         * text.C: fix line above/below drawing in insets
14814
14815 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14816
14817         * lyxlength.C (LyXLength): Initialize private variables.
14818
14819 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14820
14821         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14822         when inserting error insets.
14823
14824 2001-12-13  Juergen Vigna  <jug@sad.it>
14825
14826         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14827         actually sometimes the before-paragraph.
14828         (setUndo): don't clear the redostack if we're not actually undoing!
14829
14830 2001-12-06  Juergen Vigna  <jug@sad.it>
14831
14832         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14833         and fixed redoing of main paragraph, so we can use it now ;)
14834
14835         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14836
14837 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14838
14839         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14840         Juergen's request
14841
14842 2001-12-13  André Pönitz <poenitz@gmx.net>
14843
14844         * undostack.[Ch]:
14845         * undo_func.C: minor cleanup
14846
14847 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14848
14849         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14850         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14851         font in urw-fonts package which is marked as -urw-fontspecific and
14852         does not work (incidentally, changing the encoding in the
14853         fonts.dir of this package to -adobe-fontspecific fixes the
14854         problem).
14855
14856         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14857         is a crash when undoing first paragraph (Juergen, please take a
14858         look). THis does not mean the undo fix is wrong, just that it
14859         uncovers problems.
14860
14861         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14862         the (Paragraph*) version when needed instead of duplicating the
14863         code.
14864
14865         * text.C (workWidth): use Inset::parOwner to find out where the
14866         inset has been inserted. This is a huge performance gain for large
14867         documents with lots of insets. If Inset::parOwner is not set, fall
14868         back on the brute force method
14869
14870         * paragraph_pimpl.C (insertInset):
14871         * paragraph.C (Paragraph):
14872         (cutIntoMinibuffer): set parOwner of insets when
14873         inserting/removing them
14874
14875         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14876
14877 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14878
14879         * commandtags.h:
14880         * LyXAction.C:
14881         * lyx_main.C:
14882         * lyxfunc.C:
14883         * mathed/formulabase.C:
14884         * mathed/math_cursor.[Ch]:
14885         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14886
14887
14888 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14889
14890         * lyxlength.[Ch] (operator!=): new function
14891
14892 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14893
14894         * text.C (workWidth): use Inset::parOwner to find out where the
14895         inset has been inserted. This is a huge performance gain for large
14896         documents with lots of insets. If Inset::parOwner is not set, fall
14897         back on the brute force method
14898
14899         * paragraph_pimpl.C (insertInset):
14900         * paragraph.C (Paragraph):
14901         (cutIntoMinibuffer): set parOwner of insets when
14902         inserting/removing them
14903
14904         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14905
14906 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14907
14908         * tabular-old.C (getTokenValue):
14909         * tabular.C (getTokenValue):
14910         (write_attribute): new versions for LyXLength
14911         (everywhere): adjust the use of widths
14912
14913         * tabular.h: change the type of widths from string to LyXLength
14914
14915 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14916
14917         * paragraph.C: fixed missing line number count when exporting
14918         Environments to LaTeX file
14919
14920         * buffer.C: added informational message for checking line numbers.
14921
14922 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14923
14924         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14925         paragraph, do the 'double space' part, but not the 'empty
14926         paragraph' one.
14927
14928         * text.C (workWidth): small optimization
14929         (getLengthMarkerHeight): use minimal size for negative lengths.
14930
14931 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14932
14933         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14934
14935         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14936
14937 2001-12-11  André Pönitz <poenitz@gmx.net>
14938
14939         * FontLoader.C:
14940         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14941
14942 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14943
14944         * text2.C: keep selection on a setFont()
14945
14946 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14947
14948         * lyx_cb.C: another bv->text misuse, from insert label
14949
14950 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14951
14952         * kbsequence.h:
14953         * kbsequence.C: re-instate nmodifier mask
14954
14955 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14956
14957         * lyx_main.h: make lyxGUI private.
14958
14959 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14960
14961         * lyxfind.C: place the cursor correctly on failed search
14962
14963 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14964
14965         * text.C (getLengthMarkerHeight): for small heights, the arrows
14966         are not always on top/bottom of the text
14967         (drawLengthMarker): smaller arrows; take the left margin in
14968         account; draw also vfills.
14969         (paintFirstRow):
14970         (paintLastRow): remove special code for vfill and standard spaces,
14971         since everything is handled in drawLengthMarker now.
14972
14973 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14974
14975         * buffer.C (insertErtContents): try to handle font and language
14976         interaction a bit better.g
14977
14978         * ColorHandler.C (updateColor): change the hash to cover the whole
14979         LColor enum, ws cleanup
14980         (getGCLinepars): ditto
14981         (getGCLinepars): only lookup in the linecache once.
14982
14983 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14984
14985         * iterators.C (operator++): Make the iterator more robust
14986
14987         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14988         (John's patch)
14989         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14990
14991 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14992
14993         * lyxtext.h:
14994         * text.C: better added space drawing
14995
14996 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14997
14998         * LyXView.C:
14999         * BufferView2.C: fix layout combo update on inset unlock
15000
15001 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15002
15003         * Makefile.am: don't compile unused files
15004
15005 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15006
15007         * lyxfunc.C:
15008         * commandtags.h:
15009         * LyXAction.C: remove old LFUN_LAYOUTNO
15010
15011 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15012
15013         * paragraph_pimpl.h:
15014         * paragraph_pimpl.C: isTextAt() doesn't need font param
15015
15016 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15017
15018         * lyxlex.h:
15019         * lyxlex.C: little cleanup
15020
15021 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15022
15023         * BufferView_pimpl.C: fix insertAscii for insets
15024
15025 2001-12-05  Juergen Vigna  <jug@sad.it>
15026
15027         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15028         set the right font on the "multi" paragraph paste!
15029
15030 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15031
15032         * trans_decl.h:
15033         * trans_mgr.[Ch]:
15034         * trans.[Ch]:
15035         * lyxgluelength.C:
15036         * lyxlength.C: remove out-commented code.
15037
15038         * BufferView_pimpl:
15039         * CutAndPaste.C:
15040         * DepTable.C:
15041         * buffer.C:
15042         * chset.C:
15043         * lastfiles.C:
15044         * lyxlex.C:
15045         * lyxlex_pimpl.C:
15046         * lyxserver.C:
15047         * screen.C:
15048         * tabular-old.C:
15049         * tabular.C:
15050         * text.C:
15051         * trans_mgr.C:
15052         * vc-backend.C: change "while(" to "while ("
15053
15054         * lyxlength.[Ch]: add zero function to check if length is zero or
15055         not
15056         * lyxgluelength.C: use it
15057
15058 2001-12-05  Allan Rae  <rae@lyx.org>
15059
15060         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15061         Works for 2.95.3, from what I understand of Garst's reports this should
15062         work for other g++ versions.  We're screwed if the abs(int) definition
15063         changed between bugfix releases of gcc.
15064
15065 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15066
15067         * text.C: fix chapter label offset !
15068
15069 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15070
15071         * lyxtext.h:
15072         * text.C: fix hfill at end of line, clean up
15073
15074 2001-12-04  Juergen Vigna  <jug@sad.it>
15075
15076         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15077         that we force an update of the inset and it's owners if neccessary.
15078
15079 2001-12-03  Juergen Vigna  <jug@sad.it>
15080
15081         * text.C (rowLast): simplified code
15082
15083 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15084
15085         * lyxfunc.C: fix show options on timeout
15086
15087 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15088
15089         * screen.C (topCursorVisible): scroll half a page when the cursor
15090         reached top of bottom of screen
15091
15092 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15093
15094         * minibuffer.C: deactivate on loss of focus
15095
15096 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15097
15098         * vspace.[Ch] (operator!=): add operator.
15099
15100 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15101
15102         * BufferView_pimpl.C: refuse to open an inset when
15103         there's a selection.
15104
15105 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15106
15107         * BufferView_pimpl.C: allow to click on RHS of full row insets
15108
15109 2001-11-30  Juergen Vigna  <jug@sad.it>
15110
15111         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15112         insets for undo reasons.
15113
15114 2001-11-28  André Pönitz <poenitz@gmx.net>
15115
15116         * vspace.[Ch]: cosmetical changes
15117
15118 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15119
15120         * LyXAction.h:
15121         * LyXAction.C:
15122         * lyxfunc.h:
15123         * lyxfunc.C:
15124         * kbmap.h:
15125         * kbmap.C:
15126         * lyxrc.C:
15127         * kbsequence.h:
15128         * kbsequence.C: part re-write of old kb code
15129
15130         * Painter.C:
15131         * WorkArea.C: remove Lgb_bug_find_hack
15132
15133 2001-11-30  José Matos <jamatos@fep.up.pt>
15134
15135         * buffer.C (makeDocBookFile): add a comment to point a hack.
15136         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15137         Fixed a double write of labels.
15138
15139 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15140
15141         * LaTeX.C:
15142         * LaTeX.h Fixed bug in LaTeX class where it would not
15143         re-run latex if no depfiles were changed, but the .dvi was removed.
15144
15145 2001-11-28  André Pönitz <poenitz@gmx.net>
15146
15147         * all the files from the change on 2001/11/26:
15148         use lyx::layout_type instead of LyXTextClass::size_type
15149         use lyx::textclass_type instead of LyXTextClassList::size_type
15150
15151 2001-11-29  Juergen Vigna  <jug@sad.it>
15152
15153         * text.C: added support for paragraph::isFreeSpacing()
15154
15155         * buffer.C: same as above
15156
15157         * paragraph.h: inserted isFreeSpacing() function to enable
15158         FreeSpacing inside InsetERT.
15159
15160         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15161         of the paragraph's in the cut/copy buffer to 0!
15162
15163         * text2.C (removeRow): remove the assert as it can!
15164
15165         * lyxtext.h: added helper function firstRow returning firstrow and
15166         made firstrow private again.
15167
15168         * BufferView2.C (lockInset): don't relock if we're already locked!
15169
15170         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15171         the only paragraph.
15172         (removeRow): added Assert::(firstrow)
15173
15174         * debug.C: forgot to add INSETTEXT here.
15175
15176 2001-11-28  Juergen Vigna  <jug@sad.it>
15177
15178         * sp_spell.C (initialize): changed error text to more general
15179         spellchecker command use (not only ispell!)
15180
15181         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15182
15183         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15184
15185 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15186
15187         * vspace.C: initialise lyxgluelength on failure
15188
15189 2001-11-28  Allan Rae  <rae@lyx.org>
15190
15191         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15192         declaration & definition that looks like a function declaration.
15193
15194 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15195
15196         * BufferView2.C (copy):
15197         (copyEnvironment): do not clear the selection when doing a copy.
15198
15199         * text.C (paintFirstRow): compilation fix
15200
15201 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15202
15203         * tabular.C (Latex): correct line count when writing latex.
15204
15205 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15206
15207         * paragraph_pimpl.h:
15208         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15209           bug a bit
15210
15211 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15212
15213         * text.C:
15214         * LColor.h:
15215         * LColor.C: change vfillline->added_space
15216
15217         * text.C: add markers and text for added space
15218
15219         * vspace.C: fix comment
15220
15221 2001-11-28  André Pönitz <poenitz@gmx.net>
15222
15223         * paragraph.C: whitespace changes
15224         * all the other files from the change on 2001/11/26:
15225         change *::pos_type into lyx::pos_type
15226
15227 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15228
15229         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15230         language of the document when inserting error insets.
15231
15232 2001-11-26  André Pönitz <poenitz@gmx.net>
15233
15234         * BufferView_pimpl.[Ch]:
15235         *       CutAndPaste.C:
15236         * buffer.[Ch]:
15237         * lyxcursor.[Ch]:
15238         * lyxfind.C:
15239         * lyxfunc.C:
15240         * lyxrow.[Ch]:
15241         * paragraph.[Ch]:
15242         * paragraph_pimpl.[Ch]:
15243         * sp_spell.C:
15244         * text.C:
15245         * text2.C: reduce header dependencies, introduce type for positions
15246
15247 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15248
15249         * <various>: change to use Alert.h
15250
15251 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15252
15253         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15254         when encountering an unknown token.
15255         (readLyXformat2): Show an error message if there were unknown tokens.
15256
15257 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15258
15259         * BufferView2.C:
15260         * BufferView_pimpl.C:
15261         * buffer.C:
15262         * paragraph.h:
15263         * text.C:
15264         * text2.C: use par->isInset()
15265
15266 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15267
15268         * paragraph_pimpl.h:
15269         * paragraph_pimpl.C: cleanup
15270
15271 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15272
15273         * text2.C (removeRow):
15274         * text.C (setHeightOfRow): remove useless (and costly) call to
15275         getRow.
15276
15277 2001-11-20  Allan Rae  <rae@lyx.org>
15278
15279         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15280         Now need Inset*::checkInsertChar() to return true for appropriate
15281         cases so that the characters in the minibuffer will actually be
15282         inserted.
15283
15284 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15285
15286         * text.C: change the order of the includes.
15287         (workWidth): initialize it at once.
15288         (workWidth): make maxw unsigned
15289         (setHeightOfRow): remove unused variable (inset)
15290         (selectSelectedWord): remove unused variable (inset)
15291         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15292
15293 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15294
15295         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15296         server is not running.
15297         (openConnection):
15298         (closeConnection): add debug info when server is disabled.
15299
15300         * ColorHandler.C (getGCForeground): send debug message to GUI
15301         channel.
15302
15303         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15304
15305         * kbmap.C (bind): modify because return conventions of
15306         kb_sequence::parse have changed.
15307
15308         * kbsequence.C (parse): only ignore spaces and not any stupid
15309         control character. This avoids tests like s[i] <= ' ', which are
15310         guaranteed to fail with 8bit characters and signed chars.
15311         Change return code to string::npos when there have been no error
15312         (0 was a bad idea when error is at first character)
15313
15314 2001-11-14  José Matos  <jamatos@fep.up.pt>
15315
15316         * buffer.h:
15317         * buffer.C (simpleDocBookOnePar): removed unused argument.
15318
15319 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15320
15321         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15322         insets which are part of a word. Paragraph::isLetter takes care of
15323         that now. Use Paragraph::isInset to identify insets.
15324         (selectSelectedWord): do not test for hyphenation break.
15325
15326         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15327         that protected spaces are considered as spaces.
15328
15329         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15330         Inset::isLetter.
15331
15332 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15333
15334         * lyxserver.h:
15335         * lyxserver.C: fix it. and small cleanup.
15336
15337 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15338
15339         * BufferView_pimpl.C: use inline helpers
15340
15341         * LaTeXFeatures.h:
15342         * LaTeXFeatures.C: fix typos
15343
15344         * Spacing.h:
15345         * Spacing.C: move spacing_string into class
15346
15347         * ToolbarDefaults.C: move stuff into namespace anon
15348
15349         * layout.h: update enum
15350
15351         * lyxfunc.C: use better debug
15352
15353         * minibuffer.h: fix typo
15354
15355         * debug.h:
15356         * debug.C:
15357         * WorkArea.C: add and use Debug::WORKAREA
15358
15359         * lyxtext.h:
15360         * text.C:
15361         * text2.C: code re-organisation, inline helpers
15362
15363 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15364
15365         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15366         std::vector.empty().
15367
15368 2001-11-09  Allan Rae  <rae@lyx.org>
15369
15370         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15371         '\n's after tables.  Tabular and ERT inset work now makes this no
15372         longer necessary.
15373
15374 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15375
15376         * minibuffer.h:
15377         * minibuffer.C: fix crash, improve drop-down completion
15378
15379 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15380
15381         * lyxserver.h:
15382         * lyxserver.C: invalidate fd's when doing endPipe()
15383
15384 2001-11-08  José Matos  <jamatos@fep.up.pt>
15385
15386         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15387         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15388
15389         * paragraph.h:
15390         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15391
15392 2001-11-07  José Matos  <jamatos@fep.up.pt>
15393
15394         * buffer.h:
15395         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15396         const qualifier.
15397
15398         * buffer.C (sgmlOpenTag):
15399         * buffer.C (sgmlCloseTag): removed debug info.
15400
15401         * buffer.h (sgmlOpenTag):
15402         * buffer.h (sgmlCloseTag): made public.
15403
15404 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15405
15406         * buffer.C (saveParamsAsDefaults):
15407         * lyx_cb.C (MenuLayoutSave): remove
15408
15409         * LyXAction.C (init):
15410         * commandtags.h:
15411         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15412
15413 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15414
15415         * buffer.C (setPaperStuff): removed from here...
15416
15417         * bufferparams.C (setPaperStuff): ... and moved there.
15418
15419 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15420
15421         * minibuffer.h:
15422         * minibuffer.C:
15423         * XFormsView.C: add support for drop-down completion
15424
15425 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15426
15427         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15428         commands.
15429
15430 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15431
15432         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15433         disabled.
15434
15435 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15436
15437         * lyx_main.C: change ref to known bugs
15438
15439 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15440
15441         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15442         to work around older babel problems.
15443
15444 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15445
15446         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15447
15448 2001-10-24  Juergen Vigna  <jug@sad.it>
15449
15450         * tabular-old.C (ReadOld): below variable changes reflected.
15451
15452         * tabular.[Ch]: added ltType struct for longtable header/footer
15453         defines and changed all instances where they are used. Added
15454         future support for double top/bottom rows.
15455
15456 2001-10-24  José Matos  <jamatos@fep.up.pt>
15457
15458         * buffer.h (docbookHandleCaption):
15459         * buffer.C (docbookHandleCaption): removed unused function.
15460         (makeDocBookFile): moved docbook supported version to v4.1.
15461
15462 2001-10-24  José Matos  <jamatos@fep.up.pt>
15463
15464         * tabular.h:
15465         * tabular.C (docbookRow): new function to export docbook code of a row.
15466         (DocBook): now honors the longtable flags.
15467
15468 2001-10-23  José Matos  <jamatos@fep.up.pt>
15469
15470         * LaTeXFeatures.h:
15471         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15472         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15473
15474         * buffer.C (makeLinuxDocFile):
15475         (makeDocBookFile): reworked the preamble, more clean, and with
15476         support for lyx defined entities. Changed the document declaration
15477         to be more XML friendly.
15478
15479         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15480         if we need to output XML that should be done with a filter.
15481
15482 2001-10-22  Juergen Vigna  <jug@sad.it>
15483
15484         * sp_pspell.h (class PSpell): add alive function needed in the
15485         controller to see if the spellchecker could be started.
15486
15487 2001-10-22  Juergen Vigna  <jug@sad.it>
15488
15489         * buffer.C (insertStringAsLines): modify the font for inserting
15490         chars in certain conditions by calling checkInsertChar(font).
15491
15492 2001-10-19  Juergen Vigna  <jug@sad.it>
15493
15494         * text.C (workWidth): use getRow instead of wrong algorithm.
15495         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15496
15497 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15498
15499         * lyxserver.h:
15500         * lyxserver.C:
15501         * lyx_main.h:
15502         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15503
15504 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15505
15506         * text.C (workWidth): do not search for the exact row when
15507         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15508         optimization for big documents.
15509
15510 2001-10-18  Juergen Vigna  <jug@sad.it>
15511
15512         * text.C (workWidth): new function with added Inset * parameter.
15513
15514 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15515
15516         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15517
15518         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15519         change return type of getColumnNearX.
15520
15521
15522         * text.C (changeRegionCase): use uppercase/lowercase instead of
15523         toupper/tolower.
15524         (leftMargin):
15525         (rightMargin): simplify code by factoring out the uses of
15526         textclasslist.
15527         (labelFill):
15528         (numberOfHfills):
15529         (setHeightOfRow):
15530         (appendParagraph): use Paragraph::size_type
15531
15532 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15533
15534         * vspace.C (asLatexString): add a missing break
15535
15536 2001-10-15  Herbert Voss  <voss@perce.de>
15537
15538         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15539
15540 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15541
15542         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15543         is not available.
15544
15545 2001-10-10  André Pönitz <poenitz@gmx.net>
15546
15547         * lyxfunc.C: removed greek_kb_flag.
15548
15549 2001-10-10  Herbert Voss  <voss@perce.de>
15550
15551         * lyx_main.C: delete global string help_lyxdir.
15552
15553 2001-10-09  Herbert Voss  <voss@perce.de>
15554
15555         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15556
15557         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15558
15559         * lyx_main.C: added global string help_lyxdir.
15560
15561         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15562
15563 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15564
15565         * lyxrc.C (set_font_norm_type): support iso8859-4
15566
15567 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15568
15569         * LaTeX.C (deplog): add another regex for MikTeX
15570
15571 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15572
15573         * lyxrc.C (set_font_norm_type): support iso8859-3
15574
15575 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15576
15577         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15578
15579         * LaTeXFeatures.C: remove special case of french and index
15580
15581         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15582         before \begin{document}). This solves several incompatibilities.
15583
15584 2001-10-03  Garst Reese  <reese@isn.net>
15585
15586         * lyx_cb.C: change CheckTex error msg.
15587
15588 2001-10-03  José Matos  <jamatos@fep.up.pt>
15589
15590         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15591
15592 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15593
15594         * .cvsignore: update
15595
15596         * lyx_main.C (commandLineVersionInfo): use new style version info.
15597
15598         * buffer.C (writeFile):
15599         (makeLaTeXFile):
15600         (makeLinuxDocFile):
15601         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15602
15603         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15604
15605         * version.h: update to use stuff in version.C
15606
15607         * version.C.in: new file. Contains version information determined
15608         at compile time. This is a merging of version.h and
15609         version_info.h.in.
15610
15611 2001-10-03  Juergen Vigna  <jug@sad.it>
15612
15613         * BufferView_pimpl.C (update): don't change "dirty" status in
15614         updateInset call.
15615
15616 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15617
15618         * WorkArea.C (c-tor): re-position version string slightly.
15619
15620 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15621
15622         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15623         revert to previous code.
15624
15625         WorkArea.[Ch]: (show, destroySplash): methods removed.
15626
15627         WorkArea.C: rework code so that it's an amalgam of the codes before and
15628         after the splash screen was moved to WorkArea.
15629
15630 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15631
15632         * lyxrc.C (read):
15633         * vspace.C (inPixels):
15634         (lyx_advance):
15635         * kbmap.C (bind):
15636         * buffer.C (insertStringAsLines):
15637         (asciiParagraph): fix types to be large enough
15638
15639         * lyxlex_pimpl.h: change member status from short to int
15640
15641         * layout.h: fix type of endlabeltype
15642
15643         * kbmap.C (bind):
15644         * kbsequence.C (parse): change return type to string::size_type
15645
15646         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15647         variable
15648
15649         * Bullet.C (bulletSize):
15650         (bulletEntry): do not use short ints as parameters
15651
15652         * BufferView2.C (insertLyXFile): change a char to an int.
15653
15654         * WorkArea.C (WorkArea): remove unneeded floats in computation
15655
15656 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15657
15658         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15659
15660         * paragraph.C (asString): Do not ignore newline/hfill chars when
15661         copying to the clipboard.
15662
15663 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15664
15665         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15666         after a multi-line inset.
15667
15668 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15669
15670         * paragraph.C (validate): Set NeedLyXFootnoteCode
15671
15672 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15673
15674         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15675         and decrease-error to decrease.
15676
15677 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15678
15679         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15680         it more readable (should be equivalent)
15681
15682 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15683
15684         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15685
15686 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15687
15688         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15689         of a cursor (row, etc.) after a character has been deleted
15690         (deleteEmptyParagraphMechanism): call the method above on _all_
15691         cursors held by the LyXText when a double space has been
15692         detected/deleted.
15693
15694 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15695
15696         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15697         pixmap.
15698         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15699
15700         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15701         background. Use greyOut() and the new show() methods to toggle between
15702         the foreground and background. Add code to remove the splash after
15703         its initial showing.
15704
15705         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15706         (create_forms): no longer call Dialogs::showSplash.
15707
15708 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15709
15710         * .cvsignore: add version_info.h
15711
15712 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15713
15714         * version_info.h.in: new file
15715
15716         * Makefile.am: add version_info.h.in
15717
15718         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15719         version_info.h instead of VERSION_INFO
15720
15721 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15722
15723         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15724         The ERT inset now returns string().
15725
15726 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15727
15728         * lyxtext.h, text.C (selectNextWord): renamed as
15729         selectNextWordToSpellcheck.
15730
15731         * text.C (selectNextWordToSpellcheck): Modified to not select
15732         words inside an ERT inset.
15733
15734 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15735
15736         * lyx_cb.C (MenuLayoutSave): change a bit the question
15737
15738         * sp_base.h: include <sys/types.h>
15739
15740 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15741
15742         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15743
15744 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15745
15746         * several files: fix typos in user-visible strings
15747
15748 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15749
15750         * text2.C (pasteSelection): do not set the selection, since it
15751         will be cleared later. Actually, the intent was to fix the way the
15752         selection was set, but I figured rmoving the code was just as good.
15753
15754 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15755
15756         * FontLoader.C (available): Check if font is available without
15757         loading the font.
15758
15759 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15760
15761         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15762
15763 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15764
15765         * lyxrc.[Ch]: added display_graphics variable and associated code.
15766
15767 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15768
15769         * bufferparams.C (hasClassDefaults): new method. Returns true if
15770         the buffer parameters correspond to known class defaults
15771
15772 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15773
15774         * XFormsView.C (show): set minimum size to the main window.
15775
15776 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15777
15778         * text2.C (copySelection):
15779         (cutSelection):
15780         * lyxfind.C (LyXReplace):
15781         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15782         LyXText::selectionAsString.
15783
15784         * paragraph.C (asString): add "label" argument to the second form
15785
15786         * text2.C (selectionAsString): add "label" argument and pass it to
15787         Paragraph::asString.
15788
15789 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15790
15791         * lyx_main.C (commandLineHelp): remove version information
15792
15793 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15794
15795         * lyx_main.C: add -version commandline option
15796
15797 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15798
15799         * paragraph.h: make the optional constructor arg required instead.
15800         some modifications to other files because of this.
15801
15802         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15803
15804         * lyxserver.C (C_LyXComm_callback): make it static
15805
15806         * lyx_main.C (error_handler): make it static
15807
15808         * lyx_gui.C (LyX_XErrHandler): make it static
15809
15810         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15811
15812         * WorkArea.C: make the extern "C" methods static.
15813
15814         * Makefile.am (lyx_LDADD): simplify
15815
15816 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15817
15818         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15819         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15820
15821         * LyXAction.C (init):
15822         * lyxfunc.C (dispatch): associated code removal.
15823
15824 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15825
15826         * lyxfont.h (isSymbolFont): shut off warning
15827
15828         * text.C (setHeightOfRow):
15829         (getVisibleRow): fix crash with empty paragraphs which have a
15830         bottom line
15831
15832 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15833
15834         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15835         code.
15836
15837 2001-09-04  José Matos  <jamatos@fep.up.pt>
15838         * buffer.C
15839         * buffer.h
15840         * tabular.C (docbook): rename docBook method to docbook.
15841
15842 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15843
15844         * Makefile.am: add dependencies to main.o.
15845
15846 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15847
15848         * FontLoader.C (available): Return false if !lyxrc.use_gui
15849
15850 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15851
15852         * FontInfo.C (query):
15853         * converter.C (view):
15854         * importer.C (Import):
15855         * exporter.C (Export): Can not -> cannot.
15856
15857 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15858
15859         * BufferView_pimpl.C: allow to create index inset even if
15860           string is empty
15861
15862 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15863
15864         * buffer.C (getLists): replace boost::tie code with an explicit pair
15865         as boost::tie can break some compilers.
15866
15867         * iterators.h: Added a std:: declaration to the return type of
15868         ParIterator::size.
15869
15870 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15871
15872         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15873           case.
15874
15875 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15876
15877         * iterators.[Ch]: New files. Provide paragraph iterators.
15878
15879         * buffer.C (changeLanguage): Use paragraph iterators.
15880         (isMultiLingual): ditto
15881
15882         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15883
15884 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15885
15886         * FontLoader.C: Support for cmr font.
15887
15888 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15889
15890         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15891         (available): New method.
15892
15893         * FontInfo.C (getFontname): Use scalable fonts even when
15894         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15895         found.
15896
15897 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15898
15899         * converter.C (Formats::view): reverted! Incorrect fix.
15900
15901 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15902
15903         * converter.C (Formats::view): only output the -paper option
15904         if the dvi viewer is xdvi, thereby fixing bug #233429.
15905
15906 2001-08-23  Herbert Voss  <voss@perce>
15907
15908         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15909
15910 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15911
15912         * Spacing.h (Spacing): Set space to Default on in the default
15913         constructor.
15914
15915 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15916
15917         * vc-backend.h (RCS::versionString): add RCS to version
15918         (CVS::versionString): add CVS to version
15919
15920         * vc-backend.C (scanMaster): do not add CVS to version.
15921         (scanMaster): do not add RCS to version
15922
15923         * lyxvc.C (versionString): new method
15924
15925         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15926
15927 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15928
15929         * Spacing.C (set): initialize fval
15930
15931 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15932
15933         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15934         " or \.
15935
15936 2001-08-16  Juergen Vigna  <jug@sad.it>
15937
15938         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15939
15940 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15941
15942         * BufferView_pimpl.C:
15943         * figureForm.C:
15944         * lyxtext.h:
15945         * text2.C: setParagraph takes linespacing now
15946
15947 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15948
15949         * LyxAction.C: add internal LFUN_CITATION_INSERT
15950
15951         * LyXView.C: actually apply fix
15952
15953         * bufferlist.C: fix open non-existent file
15954
15955         * lyxfind.C: fix indentation
15956
15957         * lyxfunc.C: remove unneeded assert, fix typo
15958
15959 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15960
15961         * MenuBackend.C: use "Floatname List"
15962
15963 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15964
15965         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15966         when converting LaTeX layout to insetERT.
15967         Generate a non-collapsed float when reading old float
15968
15969 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15970
15971         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15972         ERT insets.
15973
15974 2001-08-13  Juergen Vigna  <jug@sad.it>
15975
15976         * text.C (fill): return 0 instead of 20 as this seems to be the more
15977         correct value.
15978
15979 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15980
15981         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15982         lyxrc.font_norm.
15983
15984 2001-08-13  Juergen Vigna  <jug@sad.it>
15985
15986         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15987         casesensitive off.
15988         (SearchBackward): comment out the unlocking of the inset_owner this
15989         should not be needed!
15990
15991 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15992
15993         * Many files: Remove inherit_language, and add latex_language
15994
15995         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15996         collapsible insets.
15997
15998 2001-08-10  Juergen Vigna  <jug@sad.it>
15999
16000         * text.C (prepareToPrint): fixed hfill-width in draw!
16001
16002         * BufferView2.C (selectLastWord): save the selection cursor as this
16003         now is cleared in the function LyXText::clearSelection!
16004
16005 2001-08-08  Juergen Vigna  <jug@sad.it>
16006
16007         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16008         BACKSPACE type functions.
16009
16010         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16011         is only cutted from the document but not put in the cut-buffer, where
16012         still the old stuff should be.
16013
16014         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16015
16016         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16017
16018         * tabular.C (SetWidthOfCell): fixed special case where the width
16019         was not updated!
16020         (LeftLine): handle '|' in align_special.
16021         (RightLine): ditto
16022         (LeftAlreadyDrawed): ditto
16023         (SetWidthOfCell): ditto
16024
16025 2001-08-07  Juergen Vigna  <jug@sad.it>
16026
16027         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16028
16029 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16030
16031         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16032         * lyxlex.[hC]: ditto
16033
16034 2001-08-06  Juergen Vigna  <jug@sad.it>
16035
16036         * text.C (getVisibleRow): fix up row clearing a bit.
16037
16038 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16039
16040         * minibuffer.C: make sure the X server sees the changes in the input.
16041
16042 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16043
16044         * paragraph.C (getFont): split into...
16045         (getLabelFont): this
16046         (getLayoutFont): and this
16047         * paragraph_pimpl.C (realizeFont): calling this
16048
16049         * text2.C (getFont): split into...
16050         (getLayoutFont): this
16051         (getLabelFont): and this
16052         (realizeFont): all three calling this
16053
16054         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16055         files where used.
16056
16057 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16058
16059         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16060
16061 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16062
16063         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16064         layouts from the Quote inset insertion.
16065
16066 2001-08-03  Juergen Vigna  <jug@sad.it>
16067
16068         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16069
16070         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16071         only if status not is already CHANGED_IN_DRAW (second level).
16072
16073         * text.C (draw): don't set the need_break_row when inside an
16074         InsetText LyXText.
16075
16076 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16077
16078         * buffer.C (parseSingleLyXformat2Token): handle more latex
16079         conversion cases.
16080
16081         * bufferview_funcs.[hC]: change function names to
16082         begin with small char, adjust other files.
16083
16084 2001-08-02  André Pönitz <poenitz@gmx.net>
16085
16086         * lyxfunc.C:
16087         BufferView_pimpl.C: remove broken special code for math-greek
16088
16089 2001-08-02  Juergen Vigna  <jug@sad.it>
16090
16091         * BufferView_pimpl.C (update): redone this function so that we
16092         update the text again if there was a CHANGE_IN_DRAW.
16093
16094         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16095         (drawFromTo): added a new internal bool which is used by draw() and
16096         redraw() function.
16097         (general): some cursor drawing problems fixed.
16098
16099 2001-08-01  Juergen Vigna  <jug@sad.it>
16100
16101         * lyxfind.C (LyXFind): fixed
16102         (SearchForward): ditto
16103         (SearchBackward): ditto
16104
16105         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16106         spurius drawing of the cursor in the main area.
16107
16108         * text2.C (status): small fix which could lead to a segfault!
16109         (clearSelection): remove unneeded BufferView param.
16110
16111 2001-08-01  André Pönitz <poenitz@gmx.net>
16112
16113         * lyxfunc.C: small change due to changed mathed interface
16114
16115 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16116
16117         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16118
16119 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16120
16121         * lyxfunc.c: fail gracefully if file doesn't exist
16122
16123         * LyXSendto.C:
16124         * buffer.C:
16125         * lyxfunc.C:
16126         * BufferView_pimpl.C: IsDirWriteable() proto changed
16127
16128         * LyXView.C: fix updateWindowTitle() to store the last title
16129
16130 2001-07-31  Juergen Vigna  <jug@sad.it>
16131
16132         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16133         the font (wrong since using of Paragraph::highestFontInRange).
16134
16135         * paragraph.C (highestFontInRange): added a default_size parameter.
16136
16137         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16138         (setHeightOfRow): reformat
16139
16140 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16141
16142         * converter.[hC] + affected files: move to (inital-char)lowercase
16143         function names.
16144
16145         * ParagraphParameters.C (ParagraphParameters): remove commented code
16146
16147         * PainterBase.[Ch]: remove commented code
16148
16149         * LaTeXFeatures.h: add "bool floats" for float.sty
16150
16151         * LaTeXFeatures.C (LaTeXFeatures): init floats
16152         (require): handle float
16153         (getPackages): do it with floats
16154
16155 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16156
16157         * BufferView_pimpl.C (Dispatch): improve handling of
16158         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16159
16160         * commandtags.h: #include lyxfont.h here temporarily to avoid
16161         keybinding bug.
16162
16163         * bufferlist.h: include LString.h here.
16164
16165 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16166
16167         * text2.C (getStringToIndex): new method.
16168
16169 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16170
16171         * *: Reduced header file dependencies all over.
16172
16173 2001-07-30  Baruch Even  <baruch@lyx.org>
16174
16175         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16176
16177 2001-07-29  Baruch Even  <baruch@lyx.org>
16178
16179         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16180
16181 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16182
16183         * ParameterStruct.h (endif): add a default constructor to make
16184         sure that all variables is initialized.
16185
16186         * ParagraphParameters.C (ParagraphParameters): adjust
16187
16188 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16189
16190         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16191         index; also, check that there is something to index, and that it
16192         does not span over several paragraphs.
16193         (doubleClick): use WHOLE_WORD_STRICT for double click.
16194
16195         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16196
16197         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16198         scheme.
16199
16200 2001-07-26  Baruch Even  <baruch@lyx.org>
16201
16202         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16203         an InsetFig figure, backwards compatible reading of old figure code.
16204
16205 2001-07-27  Juergen Vigna  <jug@sad.it>
16206
16207         * text2.C: font.realize function adaption.
16208
16209         * text.C (draw): add a warnings lyxerr text if needed.
16210
16211         * layout.C: font.realize function adaption.
16212
16213         * language.C: add inherit_language and implement it's handlings
16214
16215         * bufferview_funcs.C (StyleReset): remove language parameter from
16216         font creation (should be language_inherit now).
16217
16218         * bufferparams.C (writeFile): handle ignore_language.
16219
16220         * paragraph.C (getFontSettings): the language has to be resolved
16221         otherwise we have problems in LyXFont!
16222
16223         * lyxfont.C (lyxWriteChanges): added document_language parameter
16224         (update): removed unneeded language parameter
16225
16226         * paragraph.C (validate): fixed wrong output of color-package when
16227         using interface colors for certain fonts in certain environments,
16228         which should not seen as that on the final output.
16229
16230 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16231
16232         * BufferView_pimpl.C:
16233         * Thesaurus.h:
16234         * Thesaurus.C:
16235         * Makefile.am:
16236         * commandtags.h:
16237         * LyXAction.C: add thesaurus support
16238
16239         * lyxfind.h:
16240         * lyxfind.C: add "once" parameter, for thesaurus, to not
16241           move to the next match
16242
16243 2001-07-26  Juergen Vigna  <jug@sad.it>
16244
16245         * lyxfont.C (realize): honor ignore_language too!
16246         (resolved): ditto.
16247
16248         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16249
16250         * text.C (draw): one place more for ignore_language to not draw
16251         itself!
16252
16253 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16254
16255         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16256
16257 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16258
16259         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16260         the minipage conversion problem.
16261
16262 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16263
16264         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16265         insert an inset.
16266
16267 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16268
16269         * BufferView.h: don't forward declare WorkArea
16270
16271         * BufferView.C: don't include WorkArea.h
16272
16273 2001-07-25  André Pönitz <poenitz@gmx.net>
16274
16275         * commandtags.h:
16276         * LyXAction.C:
16277         * lyxfunc.C:  new LFUN 'math-space'
16278
16279         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16280
16281 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16282
16283         * text2.C (toggleInset): call open/close
16284
16285 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16286
16287         * lyxfunc.C (dispatch): add debug for the disabled case
16288
16289         * font.C (buttonText): make similar to rectText
16290
16291         * buffer.C (readInset): comment out parsing of insetlist and
16292         insttheorem
16293
16294         * PainterBase.C (rectText): small correction
16295
16296         * BufferView_pimpl.C: comment out insettheorem and insetlist
16297         * LyXAction.C: ditto
16298         * commandtags.h: ditto
16299
16300 2001-07-24  Juergen Vigna  <jug@sad.it>
16301
16302         * text.C (draw): honor the ignore_language.
16303
16304         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16305
16306 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16307
16308         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16309         char inset.
16310
16311 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16312
16313         * lyxtext.h: remove unused (and unimplemented) methods
16314
16315 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16316
16317         * text.C (getVisibleRow): honor background color
16318
16319         * PainterBase.h:
16320         * Painter.h: remove default color argument for fillRectangle
16321
16322         * text.C (backgroundColor): new method
16323
16324 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16325
16326         * text.C (getVisibleRow): adjust
16327
16328         * font.[Ch] (rectText): new method, metrics
16329         (buttonText): new method, metrics
16330
16331         * PainterBase.[hC]: make rectText and buttonText always draw and take
16332         fewer paramteres.
16333
16334 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16335
16336         * ToolbarDefaults.C (read):
16337         * MenuBackend.C (read): allow escaping in all strings
16338
16339         * BufferView_pimpl.C (insertAndEditInset): new method.
16340         (Dispatch): use insertAndEditInset whenever appropriate.
16341
16342         * BufferView_pimpl.C (insertNote): removed
16343
16344         * BufferView_pimpl.C (smartQuote): new method, moved from
16345         BufferView; if an insetquote cannot be inserted, insert a '"'
16346         character instead.
16347
16348         * BufferView2.C: remove insertCorrectQuote();
16349
16350         * lyxfunc.C (getStatus): Add support for all remaingin
16351         inset-insert lfuns.
16352
16353         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16354
16355         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16356         command (necessary to pass " as parameter of self-insert.
16357
16358         * text.C (selectWordWhenUnderCursor):
16359         (selectWord): add word_location parameter
16360         (selectWordWhenUnderCursor): same + remove special code for word
16361         boundary.
16362         (selectNextWord): use kind() to guess type of insetspecialchar,
16363         not latex().
16364
16365         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16366         (insertErtContents): create ert insets as collapsed.
16367         (readInset): better compatibility code for Info inset.
16368
16369 2001-07-20  Juergen Vigna  <jug@sad.it>
16370
16371         * lyxfunc.C (dispatch): use always LyXFind now!
16372
16373         * text2.C (init): add a reinit flag so that the LyXText can be
16374         reinited instead of deleted and reallocated (used in InsetText).
16375
16376         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16377
16378         * text.C: ditto
16379
16380         * text2.C: ditto
16381
16382 2001-07-18  Juergen Vigna  <jug@sad.it>
16383
16384         * text.C (selectNextWord): handle insets inside inset by calling
16385         always the bv->text functions so that we can go up the_locking_inset!
16386
16387         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16388         in strange locations when inside an inset!
16389
16390         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16391         handling to include insets.
16392
16393         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16394
16395 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16396
16397         * LyXAction.C (init):
16398         * commandtags.h:
16399         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16400         LIGATURE_BREAK, since the name is so stupid.
16401
16402 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16403
16404         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16405         InsetInfos.
16406
16407         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16408
16409         * sp_form.[Ch]: remove.
16410
16411         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16412
16413         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16414         InsetInfo.
16415
16416         * src/buffer.C (readInset): ditto.
16417
16418 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16419
16420         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16421         menuSeparator(), endOfSentenceDot(), ldots() and
16422         hyphenationPoint(), which are therefore removed.
16423         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16424
16425         * LyXAction.C (init):
16426         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16427
16428         * paragraph.C (getWord): removed.
16429
16430         * BufferView_pimpl.C (Dispatch): use last word or selection for
16431         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16432
16433         * lyx_main.C (queryUserLyXDir): do not ask before creating
16434         user_dir, except if it has been named explicitely.
16435
16436 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16437
16438         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16439         a document of zero size.
16440
16441 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16442
16443         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16444         approriately in the c-tor and in require().
16445         (getPackages): output the appropriate LaTeX for natbib support.
16446
16447         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16448         variables "use_natbib" and "use_numerical_citations" when reading the
16449         LyX file.
16450         (readInset): read the various natbib cite commands.
16451         (validate): white-space change.
16452
16453         * bufferparams.[Ch]: new variables "bool use_natbib" and
16454         "bool use_numerical_citations".
16455         (writeFile): output them in the LyX file.
16456
16457 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16458
16459         * lyxfunc.C (getStatus): add support for all the inset insertion
16460         commands.
16461
16462         * text2.C (insertInset):
16463         * paragraph.C (insetAllowed):
16464         * BufferView_pimpl.C (insertInset): update to take in account the
16465         renaming of insertInsetAllowed
16466
16467         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16468
16469         * text2.C (getInset): new method. returns inset at cursor position.
16470
16471         * BufferView_pimpl.C (Dispatch): changes because of this.
16472
16473         * LyXAction.C (init): rename open-stuff to inset-toggle.
16474
16475         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16476
16477         * text2.C (toggleInset): renamed from openStuff; use
16478         Inset::open().
16479
16480 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16481
16482         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16483
16484         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16485
16486 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16487
16488         * buffer.C (readLyXformat2): Add filename to the error dialog
16489
16490 2001-07-18  Juergen Vigna  <jug@sad.it>
16491
16492         * tabular.C (GetCellNumber): put an assert here instead of the check!
16493
16494 2001-07-17  Juergen Vigna  <jug@sad.it>
16495
16496         * BufferView_pimpl.C (toggleSelection): adapted too.
16497
16498         * text.C (selectNextWord): adapted for use with insets.
16499         (selectSelectedWord): ditto
16500
16501 2001-07-17  Juergen Vigna  <jug@sad.it>
16502
16503         * sp_spell.C (PSpell): fix initialitation order.
16504
16505 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16506
16507         * paragraph.C: spacing
16508
16509 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16510
16511         * sp_spell.C: repair language selection for pspell
16512
16513 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16514
16515         * lyxfunc.h: change more methods to begin with lower char.
16516
16517 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16518
16519         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16520         for unknown layouts.
16521
16522 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16523
16524         * buffer.C (readLyXformat2): Generate an error dialog if there are
16525         unknown layouts.
16526
16527 2001-07-16  Juergen Vigna  <jug@sad.it>
16528
16529         * sp_spell.C: always compile ISpell part.
16530
16531         * lyxrc.C: added use_pspell entry and it's handling.
16532
16533 2001-07-13  Juergen Vigna  <jug@sad.it>
16534
16535         * sp_spell.C: removed double includes.
16536
16537 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16538
16539         Consistent use of Lsstream.h:
16540         * Lsstream.h: added using std::stringstream for consistencies sake.
16541
16542         * buffer.C: removed using std::stringstream
16543
16544         * lyxfont.C (stateText):
16545         * paragraph.C (asString):
16546         * text.C (selectNextWord, selectSelectedWord):
16547         * text2.C (setCounter):
16548         * vspace.C (asString, asLatexString):
16549         std::ostringstream -> ostringstream.
16550
16551 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16552
16553         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16554         * commandtags.h: add LFUN_HELP_ABOUTLYX
16555         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16556
16557 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16558
16559         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16560         cursorToggle()
16561         * lyx_gui_misc.C: remove spellchecker
16562         * lyxfunc.C: showSpellchecker
16563         * sp_base.h: added
16564         * sp_ispell.h: added
16565         * sp_pspell.h: added
16566         * sp_spell.C: added
16567         * sp_form.[Ch]: removed
16568         * spellchecker.[Ch]: removed
16569
16570 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16571
16572         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16573         is set.
16574         (simpleTeXSpecialChars): Simply print the input character without
16575         any special translation if pass_thru is set.
16576
16577         * layout.h: Added bool pass_thru to layout class for being able to
16578         implement pass through of a paragraph for Literate Programming.
16579
16580         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16581         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16582         * layout.C (Read): add "passthru" to list of layout tags and add
16583         code to set the pass_thru boolean when it is read.
16584
16585 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16586
16587         * trans_decl.h: remove allowed from KmodInfo
16588
16589         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16590         remove allowed code
16591         (Load): adjust
16592
16593         * paragraph_pimpl.C (erase): use boost::prior
16594
16595         * Painter.C (text): use data() instead of c_str() when length is
16596         also provided.
16597         * WorkArea.C (putClipboard): ditto
16598         * font.h (width): ditto
16599
16600         * BufferView2.C: use it-> instead of (*it). for iterators
16601         * texrow.C: ditto
16602         * paragraph_pimpl.C: ditto
16603         * paragraph.C: ditto
16604         * minibuffer.C: ditto
16605         * language.C: ditto
16606         * kbmap.C: ditto
16607         * encoding.C: ditto
16608         * counters.C: ditto
16609         * converter.C: ditto
16610         * chset.C: ditto
16611         * Variables.C: ditto
16612         * TextCache.C: ditto
16613         * MenuBackend.C: ditto
16614         * LyXAction.C: ditto
16615         * LColor.C: ditto
16616         * FloatList.C: ditto
16617         * DepTable.C: ditto
16618         * ColorHandler.C (LyXColorHandler): ditto
16619
16620 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16621
16622         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16623
16624         * text2.C (openStuff): reintroduce this method (which had been
16625         nuked in NEW_INSETS frenzy).
16626
16627         * lyxfunc.C (Dispatch): when an action has not been handled, use
16628         its name in the error message, not its number.
16629
16630         * paragraph.C (inInset): change method name to begin with lowercase.
16631
16632         * undo_funcs.C:
16633         * text2.C: updates because of this.
16634
16635 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16636
16637         * ToolbarDefaults.C (add): add spaces in error message
16638
16639 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16640
16641         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16642         (readLyXformat2): rename return_par to first_par, use lyxlex's
16643         pushToken and remove the manual push handling.
16644         (parseSingleLyXformat2Token): add another ert comp. variable:
16645         in_tabular, rename return_par to first_par. handle newlines better
16646
16647 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16648
16649         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16650
16651 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16652
16653         * text2.C (getParFromID): removed
16654
16655         * buffer.C (getParFromID): new method moved form lyxtext.
16656         * BufferView2.C (insertErrors): adjust
16657         (setCursorFromRow): adjust
16658         * BufferView_pimpl.C (restorePosition): adjust
16659         * lyxfunc.C (Dispatch): adjust
16660         * undo_funcs.C (textUndo): adjust
16661         (textRedo): adjust
16662         (textHandleUndo): adjust
16663         (textHandleUndo): adjust
16664
16665 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16666
16667         * buffer.C: up' the LYX_FORMAT
16668
16669         * lyxfont.h: turn NO_LATEX on as default
16670
16671         * buffer.C (insertErtContents): new methods of tex style compability.
16672         (parseSingleLyXformat2Token): use it several places.
16673         * tabular.C (OldFormatRead): and here
16674
16675 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16676
16677         * text2.C: remove some commented code.
16678         reindent file.
16679
16680         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16681         * trans.C: changes because of the above.
16682
16683 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16684
16685         * text2.C (setCounter): Fix counters bug with bibliography layout.
16686
16687 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16688
16689         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16690         own member functions
16691         (simpleTeXSpecialChars): ditto
16692
16693 2001-07-06  Juergen Vigna  <jug@sad.it>
16694
16695         * a lot of files: changed the access to LyXText::status and the
16696         call of undo-functions.
16697
16698         * undo.[Ch]: added a inset_id to the undo informations.
16699
16700         * undo_funcs.[Ch]: added and moved here all undo functions.
16701
16702         * lyxtext.h: give the status enum a weight, made status_ a private
16703         variable and made accessor functions for it, removed the whole bunch
16704         of undo-functions as they are now in their own file, make some
16705         functions publically available. Added function ownerParagraph with
16706         int parameter.
16707
16708         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16709         made InInset() a const function, added getParFromID() function.
16710
16711         * buffer.[Ch]: added const version for inset_iterator functions,
16712         added getInsetFromID() function.
16713
16714         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16715         changed undo functions for new version.
16716
16717 2001-07-05  Juergen Vigna  <jug@sad.it>
16718
16719         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16720         unknow mechanism does not call the proper constructor but only this
16721         one also if I request the other!?
16722
16723 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16724
16725         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16726
16727         * text2.C (LyXText): use initialization lists.
16728
16729         * lyxtext.h (Selection): initialize set_ and mark_
16730         (init): remove method
16731
16732 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16733
16734         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16735
16736 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16737
16738         * screen.[Ch]: change method names to begin with lowercase
16739
16740         * BufferView_pimpl.C (updateScrollbar): simplify further and
16741         hopefully make it a bit faster.
16742
16743 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16744
16745         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16746         calling directly xforms functions.
16747
16748         * Painter.C (Painter):
16749         * lyx_cb.C (MenuWrite):
16750         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16751         fl_display.
16752
16753         * lyx_gui.C: remove bogus guiruntime extern declaration.
16754
16755 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16756
16757         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16758         in NEW_INSETS
16759         (redoDrawingOfParagraph): ditto
16760         (redoParagraphs): ditto
16761         (cutSelection): don't create a object for CutAndPaste use the
16762         static method directly
16763         (pasteSelection): ditto
16764
16765         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16766         LyXview (+ rename)
16767
16768 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16769
16770         * modifications to some other files because of this.
16771
16772         * Makefile.am (lyx_SOURCES): add XFormsView
16773
16774         * XFormsView.[Ch]: new files
16775
16776         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16777         the main window. Move the gui dependent stuff to XFormsView
16778
16779 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16780
16781         * tabular.C (GetCellInset): update cur_cell also in the row/col
16782         version of this function.
16783
16784         * lyxfunc.C: no need to include figure_form.h here.
16785
16786         * FontLoader.h:
16787         * lyxfunc.h:
16788         * lyxscreen.h:
16789         * text2.C:
16790         * lyxvc.C: no need to include forms.h here.
16791
16792 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16793
16794         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16795
16796         * lyxfunc.C (Dispatch):
16797         * Spacing.C (set):
16798         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16799         constructor argument.
16800
16801 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16802
16803         * paragraph.C (Paragraph): dont't clear, and just set layout.
16804         (makeSameLayout): use params's copy contructor.
16805
16806         * ParagraphParameters.[Ch] (makeSame): delete method
16807
16808 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16809
16810         * Variables.[Ch]: fix indentation, rename set to isSet
16811
16812 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16813
16814         * lyxfunc.C (Dispatch): fix typo
16815
16816 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16817
16818         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16819         upper_bound.
16820
16821         * bufferlist.C: include assert.h for emergencyWrite().
16822
16823 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16824
16825         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16826           give up at last (bug #425202) !
16827
16828 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16829
16830         * lyx_gui_misc.C:
16831         * sp_form.h:
16832         * sp_form.C:
16833         * spellchecker.h:
16834         * spellchecker.C: strip spellchecker options and bring up
16835           preferences tab instead
16836
16837 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16838
16839         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16840         the istringstream constructor
16841
16842 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16843
16844         * paragraph.C (getLayout): fix return value
16845
16846         * paragraph.h: do not declare getLayout as inline.
16847
16848         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16849
16850 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16851
16852         * lyxcursor.h (operator<): new func
16853         (operator>): new func
16854         (operator>=): new func
16855         (operator<=): new func
16856
16857         * text.C (changeCase): use selection.start and selection.end
16858         (changeRegionCase): require from to be <= to. Require par to be a
16859         valid paragraph.
16860
16861         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16862
16863 2001-06-27  Juergen Vigna  <jug@sad.it>
16864
16865         * text.C (cursorLeftOneWord): changed to return the cursor and added
16866         overlay with BufferView * parameter which calls this one.
16867         (getWord): added
16868         (selectWord): use new getWord function.
16869         (changeCase): renamed from changeWordCase as and extended to work
16870         also on selections.
16871
16872         * lyxtext.h: added enum word_location
16873
16874         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16875         changeCase as this operates now also on selections.
16876
16877 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16878
16879         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16880
16881         * many files: send debug output to Debug::INFO instead of
16882         Debug::ANY.
16883
16884         * converter.C (View):
16885         (Convert):
16886         (Move): send debug output to Debug::FILES instead of console.
16887
16888 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16889
16890         * lyxfunc.C (getStatus): use func_status
16891
16892         * func_status.h: new header, describing the results of
16893         LyXFunc::getStatus;
16894
16895         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16896         LFUN_MATH_HALIGN.
16897
16898 2001-06-25  The LyX Project  <jug@sad.it>
16899
16900         * buffer.C (sgmlOpenTag):
16901         (sgmlCloseTag):
16902         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16903
16904 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16905
16906         * text2.C: remove some dead code
16907
16908         * tabular.C (GetCellInset): store the last cell checked (gotten)
16909
16910         * tabular.h: add the helper for the speedup
16911
16912         * lyxtext.h: remove some dead code
16913
16914 2001-06-26  The LyX Project  <Asger>
16915
16916         * paragraph.C: Change export to LaTeX of alignment to
16917         \begin{center} and family for better roundtrip work with reLyX.
16918
16919         * Tune the math drawing a bit.
16920
16921 2001-06-25  The LyX Project  <Asger>
16922
16923         * LColor.C (LColor): New color for math background. New color
16924         for buttons.
16925
16926 2001-06-25  The LyX Project  <jug@sad.it>
16927
16928         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16929
16930         * lyxfunc.C (Open):
16931         * bufferlist.C (newFile): do not restrict to files ending with
16932         .lyx
16933
16934         * BufferView_pimpl.C (MenuInsertLyXFile):
16935
16936 2001-06-24  The LyX Project  <jug@sad.it>
16937
16938         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16939         of compare_no_case
16940
16941 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16942
16943         * lyxtext.h: rename most methods to begin with a small char.
16944         Lots of changes because of this.
16945
16946         * paragraph.C (Paragraph): do not call fitToSize
16947         (erase): call Pimpl::erase
16948         (insertChar): call Pimpl::insertChar
16949         (insertInset): call Pipl::insertInset
16950         (breakParagraph): do not call fitToSize
16951         (breakParagraphConservative): do not call fitToSize
16952         (fitToSize): remove method
16953
16954         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16955
16956 2001-06-24  The LyX Project  <Asger>
16957
16958         * Fix Qt compilation^2
16959
16960 2001-06-24  The LyX Project  <jug@sad.it>
16961
16962         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16963         depthHook(getDepth()-1).
16964
16965         * paragraph.h:
16966         * ParagraphParameters.h:
16967         * ParameterStruct.h: change type of depth to unsigned int ==
16968         depth_type. Many adaptations to other files before of that.
16969
16970 2001-06-24  The LyX Project  <Asger>
16971
16972         * Fix Qt compilation.
16973
16974 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16975
16976         * paragraph.h: renamed several methods to begin with small letter.
16977         several changes to many parts of the code because of this.
16978
16979 2001-06-23  The LyX Project  <jug@sad.it>
16980
16981         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16982         rewritten to discard all double spaces when KeepEmpty is off
16983         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16984         to only handle newlines but not fiddle with spaces and friends.
16985
16986         * lyxfunc.C (MenuNew): when doing 'new from template', use
16987         template_path as default directory
16988
16989 2001-06-23  The LyX Project  <Asger>
16990
16991         * Clean-up of header file includes all over
16992         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16993
16994 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16995
16996         * paragraph.h: renamed from lyxparagraph.h
16997
16998 2001-06-23  Asger  <lyx@violet.home.sad.it>
16999
17000         * Buffer.h: Removed Buffer::resize
17001         * BufferList.h: Removed BufferList::resize
17002         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17003         the document lazily when we change the width, or the font settings.
17004
17005 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17006
17007         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17008
17009 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17010
17011         * buffer.h: remove out of date comment
17012
17013 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17014
17015         * lyxscreen.h:
17016         * screen.C: fix "theoretical" GC leak
17017
17018 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17019
17020         * LaTeX.C (scanAuxFile):
17021         (deplog): remove trailing \r when reading stream (useful under
17022         win32)
17023
17024 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17025
17026         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17027         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17028         and BufferView::theLockingInset(Inset*), so should use them and not
17029         access bv_->text->the_locking_inset directly.
17030
17031         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17032
17033 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17034
17035         * Makefile.am:
17036         * tex-defs.h: remove old unused file
17037
17038 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17039
17040         * BufferView_pimpl.C: fix typo, remove minibuffer message
17041           when buffer has loaded
17042
17043 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17044
17045         * lyxfunc.C (Dispatch): use stringstream
17046         (MenuNew): use stringstream
17047         (Open): use stringstream
17048
17049         * importer.C (Import): use stringstream
17050
17051         * bufferview_funcs.C (CurrentState): use stringstream
17052
17053         * LaTeX.C (run): use stringstream
17054
17055         * BufferView_pimpl.C (savePosition): use stringstream
17056         (restorePosition): use stringstream
17057         (MenuInsertLyXFile): use stringstream
17058
17059 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17060
17061         * BufferView.C:
17062         * Bullet.C:
17063         * ColorHandler.C:
17064         * FontInfo.C:
17065         * FontLoader.C:
17066         * LColor.C:
17067         * LaTeXFeatures.C:
17068         * Painter.C:
17069         * gettext.C:
17070         * lyx_gui_misc.C:
17071         * lyxserver.C:
17072         * vspace.C: removed // -*- C++ -*- as first line.
17073
17074         * lyxfind.h:
17075         * version.h: added // -*- C++ -*- as first line.
17076
17077 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17078
17079         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17080
17081         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17082         of string
17083
17084 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17085
17086         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17087         of floats.
17088
17089 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17090
17091         * gettext.C: include LString.h even when --disable-nls is on.
17092
17093 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17094
17095         * converter.h (Get): changed argument type from int to
17096         FormatList::size_type to avoid unnecessary conversion.
17097
17098         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17099         before using it.
17100
17101 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17102
17103         * gettext.h: include LString.h even when --disable-nls is on.
17104
17105 2001-06-07  Juergen Vigna  <jug@sad.it>
17106
17107         * text.C (BreakAgain): subst spaces with tabs.
17108
17109         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17110         (resizeInsetsLyXText): set force on resizeLyXText.
17111
17112 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17113
17114         * gettext.h (gettext_init):
17115         (locale_init): use a real definition instead of a macro
17116
17117 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17118
17119         * Bufferview_pimpl.C:
17120         * LColor.h:
17121         * LColor.C: further lcolor tidies
17122
17123 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17124
17125         * BufferView_pimpl.C (updateScrollbar): simplify.
17126
17127         * BufferView2.C: don't include insets/insetinfo.h, change
17128         prototype for insertInset and call the Pimpl version. let
17129         updateInset call Pimpl version.
17130
17131         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17132         gotoInset to BufferView::Pimpl
17133
17134 2001-06-01  Juergen Vigna  <jug@sad.it>
17135
17136         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17137         inside a LockingInset (is the update needed at all?).
17138
17139 2001-05-31  Juergen Vigna  <jug@sad.it>
17140
17141         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17142         here not the old one otherwise how should we compare it afterwards
17143         if it's the same!
17144
17145 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17146
17147         * lyxfont.C:
17148         * tabular.C:
17149         * tabular-old.C:
17150         * FontInfo.C: bring C functions into global namespace when
17151         necessary
17152
17153 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17154
17155         * LString.h: make sure config.h has been loaded before LString.h.
17156
17157         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17158         (one for each char read by EatLine!).
17159
17160         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17161         variables.
17162
17163 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17164
17165         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17166         to the same as the par we break from
17167
17168 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17169
17170         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17171
17172         * MenuBackend.C (expand): also create menu entries for wide
17173         versions of the floats.
17174
17175         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17176
17177         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17178
17179         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17180         frontends/Makefile.am
17181
17182         * text2.C: adjust
17183         * text.C: adjust
17184
17185
17186         * tabular.C (getTokenValue): add std::
17187
17188         * tabular-old.C (getTokenValue): add std::
17189         (getTokenValue): ditto
17190         (getTokenValue): ditto
17191
17192         * screen.C (ToggleSelection): adjust
17193
17194         * lyxtext.h: put selection cursors inside a Selection struct.
17195
17196         * lyxfunc.C (moveCursorUpdate): adjust
17197
17198         * lyxfont.C (latexWriteStartChanges): add std::
17199
17200         * lyxfind.C: adjust
17201
17202         * font.h: delete with(char const *, LyXFont const &)
17203
17204         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17205
17206         * FontInfo.C (getFontname): add std::
17207
17208         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17209         (workAreaButtonPress): adjust
17210         (tripleClick): adjust
17211         (update): adjust
17212         (moveCursorUpdate): adjust
17213         (Dispatch): adjust
17214
17215         * BufferView2.C (gotoInset): adjust
17216
17217 2001-05-30  Juergen Vigna  <jug@sad.it>
17218
17219         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17220         to check pspell I add this as default as I now have new pspell
17221         libraries and they seem to use this.
17222
17223 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17224
17225         * text2.C (CutSelection): make the cursor valid before the call to
17226         ClearSelection.
17227
17228 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17229
17230         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17231         relied on 0 terminated strings and other horrors. Bug found due to
17232         the new assert in lyxstring!
17233
17234         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17235         KP_ keys.
17236
17237 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17238
17239         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17240         to latinkeys.bind.
17241
17242         * lyxfunc.C (processKeySym): change method of getting to the
17243         self-insert char.
17244
17245         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17246         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17247         * BufferView_pimpl.[Ch]: here as private methods.
17248
17249 2001-05-28  Juergen Vigna  <jug@sad.it>
17250
17251         * text.C (SetHeightOfRow): added the update() call again as it is
17252         needed to initialize inset dimensions!
17253
17254 2001-05-16  Juergen Vigna  <jug@sad.it>
17255
17256         * text2.C (SetCharFont): Add new function with BufferView * and
17257         bool toggleall parameters for setting insets internal fonts.
17258         (SetFont): Freeze the undo as we may change fonts in Insets and
17259         all this change should be inside only one Undo!
17260
17261         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17262         setting font's in insets as for them we have the SetFont function!
17263
17264 2001-05-15  Juergen Vigna  <jug@sad.it>
17265
17266         * text2.C (ClearSelection): to be sure we REALLY don't have any
17267         selection anymore!
17268
17269         * tabular.C (TeXCellPreamble): fixed the left border problem for
17270         multicolumn cells.
17271
17272 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17273
17274         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17275         dependancy file
17276
17277 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17278
17279         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17280         LFUN_BREAKPARAGRAPH.
17281
17282         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17283         help test to "internal only", similar for LFUN_INSERT_URL
17284
17285         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17286         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17287         auto_region_delete and deadkeys.
17288
17289 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17290
17291         * LColor.h:
17292         * LColor.C: remove some dead entries, tidy a little
17293
17294 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17295
17296         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17297         commented code.
17298         (Dispatch): implement LFUN_ESCAPE
17299
17300         * commandtags.h: add LFUN_ESCAPE
17301
17302         * LyXAction.C (init): add entry for LFUN_ESCAPE
17303
17304         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17305         Remove commented code.
17306         (insertNote): moved here
17307         (open_new_inset): moved here
17308
17309         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17310         BufferView_pimpl
17311
17312 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17313
17314         * kbmap.C (findbinding): clean it up and make it work correctly.
17315
17316         * lyx_main.C (init): do not pass argc and argv as parameters
17317
17318 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17319
17320         * buffer.C: fix path for OS/2 & Win32
17321
17322         * lyx_gui.C:
17323         * lyx_main:
17324         * lyx_main.C: Added os:: class.
17325
17326         * os2_defines.h: update
17327
17328 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17329
17330         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17331         better by trying again with reduced state.
17332
17333 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17334
17335         * lyxrc.C (read): print error about invalid key sequence only when
17336         debugging (because not all latinX keysyms are known to some X
17337         servers)
17338
17339         * kbsequence.C (getiso): add a few std:: qualifiers
17340         (getiso): comment out extra return statement.
17341
17342 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17343
17344         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17345         handling.
17346         (Dispatch): enhance the accent inset a bit. (not perfect)
17347
17348 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17349
17350         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17351
17352 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17353
17354         * bufferlist.C (emergencyWrite): fix assert() call
17355
17356 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17357
17358         * text.C (InsertChar): Added trivial patch to only send the "you
17359         can not do multiple spaces this way" message once during a
17360         session.
17361
17362 2001-05-08  Baruch Even  <baruch@lyx.org>
17363
17364         * Makefile.am: Changed order of libraries to get LyX to link properly
17365         with the gnome frontend.
17366
17367 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17368
17369         * LaTeXFeatures.h: add a std:: qualifier
17370
17371 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17372
17373         * paragraph.C (String): use stringstream
17374
17375 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17376
17377         * paragraph.C (writeFile): remove footflag arg
17378
17379         * buffer.C (makeLaTeXFile): use stringstream
17380         (latexParagraphs): remove footnot gurba
17381
17382         * LaTeXFeatures.C (getPackages): use stringstream
17383         (getMacros): likewise
17384         (getTClassPreamble): likewise
17385         (getFloatDefinitions): new method
17386
17387         * paragraph.C (writeFile): reindent
17388         (Erase): reindent
17389
17390         * WorkArea.h: revert the xpos + etc changes.
17391
17392         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17393
17394         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17395
17396         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17397         (pasteSelection): likewise
17398         * text2.C (CreateUndo): likewise
17399
17400 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17401
17402         * minibuffer.C (peek_event): temporarily reduce the functionality
17403         of the minibuffer (to allow args on lfuns)
17404
17405         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17406         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17407
17408         * buffer.C (readInset): add compability reading of old float
17409         lists, add reading of new style float list.
17410         (readInset): avoid reevaluation of inscmd.getCmdName()
17411         (getLists): reindent
17412
17413         * MenuBackend.C (MenuItem): implement parsing of
17414         md_floatlistinsert and md_floatinsert.
17415         (expand::LastFiles): move initalizaton of iterators out of loop,
17416         avoid reevaluation.
17417         (expand::Documents): introduce typdedef vector<string> Strings,
17418         and use it.
17419         (expand::ExportFormats): introduce typedef vector<Format const *>
17420         Formats, and use it.
17421         (expand): implement FloatListInsert and FloatInsert.
17422
17423         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17424         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17425         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17426
17427         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17428         handling.
17429         (Dispatch::LFUN_FLOAT_LIST): implement
17430
17431 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17432
17433         * LaTeX.C (run): Fix problem with --export code.
17434
17435 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17436
17437         * BufferView.[Ch] (workarea): removed.
17438         (getClipboard) new method; wrapper for workarea()->getClipboard()
17439
17440         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17441         bug.
17442
17443         * WorkArea.h (width, height, xpos, ypos): These methods all
17444         returned the dimensions of the work_area sub-area of WorkArea,
17445         resulting in a position error if the WorkArea were resized. Now
17446         return the dimensions of the entire WorkArea.
17447
17448         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17449
17450 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17451
17452         * LaTeX.C (deplog): correct the syntax of regex reg1
17453
17454 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17455
17456         * undo.C: remove !NEW_INSETS cruft
17457
17458 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17459
17460         * text2.C: remove !NEW_INSETS cruft
17461
17462         * text.C: remove !NEW_INSETS cruft
17463
17464         * tabular.C: remove !NEW_INSETS cruft
17465
17466         * spellchecker.C: remove !NEW_INSETS cruft
17467
17468         * lyxtext.h: remove !NEW_INSETS cruft
17469
17470         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17471
17472         * lyxfunc.C: remove !NEW_INSETS cruft
17473
17474         * lyxfind.C: remove !NEW_INSETS cruft
17475
17476         * lyx_cb.C: remove !NEW_INSETS cruft
17477
17478         * figureForm.C: remove  !NEW_INSETS cruft
17479
17480         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17481
17482         * buffer.[Ch]: remove !NEW_INSETS cruft
17483
17484         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17485
17486         * CutAndPaste.C: remove !NEW_INSETS cruft
17487
17488         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17489
17490         * BufferView2.C: remove !NEW_INSETS cruft
17491
17492         * BufferView.h: remove !NEW_INSETS cruft
17493
17494 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17495
17496         * Lsstream.h: include LString.h before the sstream headers to
17497         fix problem with gcc 2.95.3 and lyxstring
17498
17499 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17500
17501         * lyx_main.C: add using directives when needed for C functions
17502         declared in std:: namespace.
17503
17504 2001-04-27  Juergen Vigna  <jug@sad.it>
17505
17506         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17507         (SetHeightOfRow): comment out the update call should not be needed!
17508
17509 2001-04-13  Juergen Vigna  <jug@sad.it>
17510
17511         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17512         (LyXTabular): tried to minimize operator= operations (and realized
17513         hopfully Lars wish).
17514
17515 2001-04-27  Juergen Vigna  <jug@sad.it>
17516
17517         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17518
17519 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17520
17521         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17522
17523         * buffer.C (readInset): hack to make listof algorithm work
17524
17525         * BufferView_pimpl.C: hack to make listof algorithm work
17526
17527 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17528
17529         * LyXAction.C: removed all !NEW_INSETS cruft
17530         (init): moved lfun_item in method
17531
17532         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17533
17534 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17535
17536         * BufferView2.C (theLockingInset): white space.
17537
17538 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17539
17540         * minibuffer.C: include <iostream>
17541
17542         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17543
17544         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17545
17546         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17547
17548         * text.[Ch] (TransposeChars): new method
17549
17550 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17551
17552         * call message directly through LyXView instead of through LyXFunc
17553         * BufferView2.C: adjust
17554         * BufferView_pimpl.C: adjust
17555         * FontLoader.C: adjust
17556         * buffer.C: adjust
17557         * bufferview_funcs.C: adjust
17558         * converter.C: adjust
17559         * figureForm.C: adjust
17560         * importer.C: adjust
17561         * lyx_cb.C: adjust
17562         * lyx_gui_misc.C: adjust
17563         * lyxfunc.C: adjust
17564         * lyxvc.C: adjust
17565         * text2.C: adjust
17566         + more files in subdirs
17567
17568         * lyxparagraph.h (size): move up int file
17569         (GetLayout): ditto
17570
17571         * adjust all uses of Assert to lyx::Assert.
17572
17573         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17574         lyxfunctional in namespace lyx
17575         * layout.C (hasLayout): ditto
17576         (GetLayout): ditto
17577         (GetLayout): ditto
17578         (delete_layout): ditto
17579         (NumberOfClass): ditto
17580         * converter.C (GetFormat): ditto
17581         (GetNumber): ditto
17582         (Add): ditto
17583         (Delete): ditto
17584         (SetViewer): ditto
17585         * bufferlist.C (getFileNames): ditto
17586         (emergencyWriteAll): ditto
17587         (exists): ditto
17588         (getBuffer): ditto
17589         * MenuBackend.C (hasSubmenu): ditto
17590         (hasMenu): ditto
17591         (getMenu): ditto
17592         * BufferView_pimpl.C (getInsetByCode): ditto
17593
17594 2001-04-18  Juergen Vigna  <jug@sad.it>
17595
17596         * vspace.C (asLatexString): fixed the 100% problem.
17597
17598 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17599
17600         * lyxfunc.C (Dispatch):
17601         * minibuffer.C:
17602         * minibuffer.h: add a few std:: qualifiers
17603
17604 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17605
17606         * minibuffer.[Ch]: reimplement so that commands is initiated and
17607         run from lyxfunc, simplified som handling, and made the completion
17608         and history code for complete. wip.
17609
17610         * lyxfunc.C (processKeySym): call message
17611         (miniDispatch): new temporary method
17612         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17613         (LFUN_MESSAGE): implement
17614         (LFUN_MESSAGE_PUSH): implement
17615         (LFUN_MESSAGE_POP): implement
17616         (initMiniBuffer): the initial/defualt minibuffer message.
17617
17618         * lyxfont.[Ch]: inline some more getters
17619
17620         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17621
17622         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17623
17624         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17625         (AutoSave): use LFUN_MESSAGE
17626         (Reconfigure): ditto
17627
17628         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17629
17630         * figureForm.C: use LFUN_MESSAGE
17631
17632         * converter.C (runLaTeX): use LFUN_MESSAGE
17633
17634         * bufferview_funcs.C: use LFUN_MESSAGE
17635         (Melt): ditto
17636         (changeDepth): ditto
17637
17638         * bufferparams.h: use boost::
17639
17640         * bufferlist.h: inherit privately from noncopyable
17641
17642         * bufferlist.C (loadLyXFile): remove some commented code.
17643
17644         * buffer.C (runChktex): use LFUN_MESSAGE
17645
17646         * ShareContainer.h: inherit privately from noncopyable
17647
17648         * ParagraphParameters.[hC] (depth): inline it.
17649
17650         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17651         methods.
17652         (message): new method
17653         (messagePush): ditto
17654         (messagePop): ditto
17655         (show): init minibuffer
17656         (showState): direct call
17657
17658         * LaTeX.[Ch]: inherit privately from noncopyable
17659         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17660         instead of WriteStatus.
17661
17662         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17663
17664         * BufferView_pimpl.C (buffer): don't init minibuffer
17665         (workAreaButtonPress): use LFUN_MESSAGE
17666         (workAreaButtonRelease): ditto
17667         (savePosition): ditto
17668         (restorePosition): ditto
17669         (MenuInsertLyXFile): ditto
17670         (workAreaExpose): don't init minibuffer
17671         (update): remove commented code, simplify
17672
17673         * BufferView2.C (openStuff): use LFUN_MESSAGE
17674         (toggleFloat): ditto
17675         (menuUndo): ditto
17676         (menuRedo): ditto
17677         (copyEnvironment): ditto
17678         (pasteEnvironment): ditto
17679         (copy): ditto
17680         (cut): ditto
17681         (paste): ditto
17682         (gotoInset): ditto
17683         (updateInset): remove some commented code
17684
17685         * lastfiles.h: inherit privately from noncopyable
17686         * layout.h: ditto
17687         * lyx_gui.h: ditto
17688         * lyx_main.h: ditto
17689         * lyxlex.h: ditto
17690         * lyxlex_pimpl.h: ditto
17691
17692         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17693         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17694         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17695
17696         * LyXAction.h: inherit privately from noncopyable, add methods
17697         func_begin, func_end, returning iterators to the func map.
17698
17699         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17700         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17701         (func_begin): new method
17702         (func_end): new method
17703
17704         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17705         and not)
17706         (copySelection): ditto
17707         (pasteSelection): ditto
17708
17709         * BufferView.C: whitespace change
17710         * BufferView.h: inherit privately from noncopyable
17711
17712 2001-04-16  Allan Rae  <rae@lyx.org>
17713
17714         * tabular-old.C (l_getline):
17715         * spellchecker.C (sc_check_word):
17716         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17717         an unrecognised preprocessor directive.  So ensure they're wrapped.
17718
17719 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17720
17721         * src/exporter.C (Export): Give an error message when path to file
17722         contains spaces.
17723
17724 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17725
17726         * LaTeX.C (deplog): Always check that foundfile exists.
17727
17728 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17729
17730         * lyx_main.h:
17731         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17732
17733 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17734
17735         * tabular.[Ch] (getLabelList): implement new method
17736
17737         * minibuffer.h: comment ouf setTiimer
17738
17739         * minibuffer.C (ExecutingCB): constify res
17740         (peek_event): constify s
17741         (Set): constify ntext
17742         (Init): constify nicename
17743
17744         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17745
17746         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17747         (savePosition): use two params to Minibuffer::Set
17748         (restorePosition): ditto
17749
17750 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17751
17752         * lyx_main.C: include language.h
17753
17754         * Makefile.am (lyx_main.o): add language.h
17755
17756 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17757
17758         * exporter.C:
17759         * paragraph.C:
17760         * screen.C:
17761         * tabular.C:
17762         * CutAndPaste.C: include gettext.h
17763
17764         * lyxfont.h: remove old hack with ON and OFF.
17765
17766         * lyxparagraph.h:
17767         * lyxfont.h: do not include language.h...
17768
17769         * BufferView2.C:
17770         * LaTeXFeatures.C:
17771         * Painter.C:
17772         * bufferview_funcs.C:
17773         * font.C:
17774         * lyxfont.C:
17775         * text.C:
17776         * text2.C:
17777         * trans_mgr.C:
17778         * paragraph.C: ... but do it here instead
17779
17780 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17781
17782         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17783
17784         * tabular.C: small reformat
17785
17786         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17787         NEW_INSETS version
17788         (GetChar): ditto
17789         (BreakParagraph): ditto
17790         (SetOnlyLayout): ditto
17791         (SetLayout): ditto
17792
17793         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17794         with one arg less.
17795
17796         * lastfiles.C: removed most using decl, add std:: where needed
17797
17798         * buffer.C: ws changes
17799
17800         * MenuBackend.C (class compare_format): put into anon namespace
17801         (expand): constify label, names, action, action2
17802         (expand):
17803
17804         * text.C (SingleWidth): constify font
17805         (IsBoundary): constify rtl2
17806         (GetVisibleRow): constify ww
17807
17808         * LaTeX.C (deplog): constify logfile
17809
17810         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17811         start_x, end_x
17812         (workAreaExpose): constify widthChange, heightChange
17813
17814         * lyxrow.C (par): moved
17815         (height): moved
17816         (next): moved
17817         * lyxrow.h: as inlines here
17818
17819         * lyxfont.h (shape): moved from lyxfont.C
17820         (emph): moved from lyxfont.C
17821
17822         * lyxfont.C (LyXFont): use initialization list for all
17823         constructors
17824         (shape): move to lyxfont.h as inline
17825         (emph): move to lyxfont.h as inline
17826
17827
17828 2001-04-04  Juergen Vigna  <jug@sad.it>
17829
17830         * vspace.C: had to include stdio.h for use of sscanf
17831
17832 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17833
17834         * BufferView.h:
17835         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17836         independent of xforms.
17837
17838 2001-04-02  Juergen Vigna  <jug@sad.it>
17839
17840         * spellchecker.C: fixed namespace placing!
17841
17842 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17843
17844         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17845         the LyXParagraph * is 0.
17846
17847 2001-03-29  Juergen Vigna  <jug@sad.it>
17848
17849         * vspace.C: added support for %, c%, p%, l%.
17850         (stringFromUnit): added helper function.
17851         (asLatexString): changed to give right results for the %-values.
17852
17853         * buffer.C: convert the widthp in a width%.
17854
17855 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17856
17857         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17858         figureForm.[Ch].
17859
17860         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17861         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17862
17863         * lyx_cb.[Ch]: see above.
17864
17865         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17866         form1.[Ch].
17867
17868         * form1.[Ch]:
17869         * lyx.[Ch]: replaced by figure_form.[Ch].
17870
17871         * lyx_gui.C:
17872         * lyx_gui_misc.C:
17873         * lyxfunc.C: changed headers associated with above changes.
17874
17875 2001-03-27  Juergen Vigna  <jug@sad.it>
17876
17877         * BufferView_pimpl.C: set the temporary cursor right!
17878
17879 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17880
17881         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17882
17883 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17884
17885         * LString.h: removed "using std::getline"!
17886
17887         * BufferView_pimpl.C (Dispatch): changes due to changes in
17888         InsetInclude::Params.
17889
17890         * buffer.C (tag_name): removed redundant break statements as they were
17891         producing lots of warnings with my compiler.
17892
17893 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17894
17895         * LString.h: add "using std::getline" when using the real <string>.
17896
17897 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17898
17899         * buffer.C: removed bitset usage.
17900         PAR_TAG moved to an anonymous name space.
17901         (tag_name): new funtion, also in the anonymous namespace.
17902         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17903         (makeDocBookFile): clean code. Completed transition from string arrays
17904         to string vectors.
17905         (SimpleDocBookOnePar): code clean.
17906
17907 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17908
17909         * tabular.C: add some comments.
17910
17911 2001-03-22  Juergen Vigna  <jug@sad.it>
17912
17913         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17914         compatibility read a bit and fixed bug with minipage in different
17915         depth.
17916
17917 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17918
17919         * buffer.C (pop_tag): removed.
17920         (push_tag): removed.
17921         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17922         array replaced with vector. Added support for CDATA sections.
17923         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17924         at any nest level.
17925         (makeDocBookFile): XML conformant declaration of CDATA section,
17926         fixed bug related to <emphasis> in the first paragraph char.
17927         (sgmlOpenTag): exclude empty tags.
17928         (sgmlCloseTag): ditto.
17929
17930         * buffer.h (pop_tag): removed.
17931         (push_tag): removed.
17932
17933 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17934
17935         * language.h (Languages): added size_type and size().
17936
17937 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17938
17939         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17940         response on compability reading of minipages. One probliem is that
17941         the old usage of minipages was flertydig
17942
17943         * several files here and in subdirs: don't use static at file
17944         scope use anon namespaces instead.
17945
17946 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17947
17948         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17949         LaTeX output. This is necessary for Literate document
17950         processing.
17951
17952 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17953
17954         * buffer.C: insert hfill when needed.
17955
17956         * tabular.C (l_getline): use string::erase, small whitespace change.
17957
17958         * BufferView_pimpl.C: try the anon namespace.
17959         * WorkArea.C: ditto
17960
17961 2001-03-16  Juergen Vigna  <jug@sad.it>
17962
17963         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17964         otherwise it won't open options-dialogs.
17965
17966         * buffer.C: honor pextraWidth(p) on converting minipages.
17967
17968         * tabular.C (l_getline): changed the functions to strip trailing \r.
17969
17970 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17971
17972         * BufferView_pimpl.C:
17973         * minibuffer..C: added "using SigC::slot" declaration.
17974
17975 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17976
17977         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17978
17979         * text2.C: ditto
17980
17981         * text.C: ditto
17982
17983         * paragraph.C: ditto
17984
17985         * lyxtext.h: NO_PEXTRA
17986
17987         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17988
17989         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17990         * ParameterStruct.h: ditto
17991         * ParagraphParameters.h: ditto
17992         * lyxparagraph.h: ditto
17993
17994 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17995
17996         * buffer.C: add compability for minipage alignment.
17997         (latexParagraphs): remove unwanted pextra check.
17998
17999         * several files: remove CXX_WORKING_NAMESPACES
18000
18001         * buffer.C (pop_tag): tie is in namespace boost
18002
18003         * BufferView.h: noncopyable is in namespace boost
18004         * lyxlex.h: ditto
18005         * lyx_main.h: ditto
18006         * lyx_gui.h: ditto
18007         * layout.h: ditto
18008         * lastfiles.h: ditto
18009         * bufferlist.h: ditto
18010         * ShareContainer.h: ditto
18011         * LyXView.h: ditto
18012         * LyXAction.h: ditto
18013         * LaTeX.h: ditto
18014
18015 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18016
18017         * Merging changes from BRANCH_MVC back into HEAD.
18018
18019         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18020
18021 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18022
18023         * BufferView_pimpl.C: change from intl.C
18024
18025         * combox.h:
18026         * combox.C:
18027         * Makefile.am: move combox.*
18028
18029         * form1.h:
18030         * form1.C:
18031         * lyx_gui.C:
18032         * intl.h:
18033         * intl.C: remove dialog (covered by prefs)
18034
18035 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18036
18037         * lyxfunc.C (Dispatch): removed redundant break statement.
18038
18039 2001-03-14  Juergen Vigna  <jug@sad.it>
18040
18041         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18042
18043 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18044
18045         * buffer.C: add hack to fix compability reading of minipages.
18046
18047 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18048
18049         * buffer.C (getLists): Cleanup.
18050
18051 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18052
18053         * lyxfont.C (update): don't honor toggleall on font size.
18054
18055 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18056
18057         * bmtable.c:
18058         * bmtable.h:
18059         * Makefile.am: moved to frontends/xforms/
18060
18061         * lyx_gui_misc.C:
18062         * lyxfunc.C:
18063         * BufferView_pimpl.C: changes for moved mathpanel
18064
18065 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18066
18067         * gettext.h: fix gettext_init() in --disable-nls
18068
18069 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18070
18071         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18072
18073 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18074
18075         * lyx.C:
18076         * lyx.h: strip external form
18077
18078 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18079
18080         * BufferView_pimpl.C: add comment, destroySplash()
18081
18082 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18083
18084         * BufferView_pimpl.C:
18085         * LyXAction.C:
18086         * buffer.C:
18087         * commandtags.h:
18088         * lyxfunc.C: use re-worked insetinclude
18089
18090 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18091
18092         * buffer.C: add using std::stringstream.
18093
18094         * lyx_cb.C: readd using std::ios.
18095
18096         * buffer.C: add using std::map.
18097
18098         * BufferView_pimpl.C: add using std::vector.
18099
18100         * ShareContainer.h: add std:: to swap.
18101
18102         * buffer.h: add some typedefs
18103         * buffer.C (getLists): use them
18104         (getLists): renamed from getTocList.
18105         add a counter for the different float types and use it in the
18106         generated string.
18107         (getLists): use the same counter for the NEW_INSETS and the "non"
18108         NEW_INSETS
18109
18110         * lyx_cb.h: remove unused items, includes, using etc.
18111
18112         * ShareContainer.h: remove some commented code, add more comments
18113         and "documentation".
18114
18115 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18116
18117         * buffer.C (getTocList): make the list also when NEW_INSETS is
18118         defined.
18119
18120         * buffer.h: remove TocType
18121
18122         * buffer.C (getTocList): change to return a map<string,
18123         vector<TocItem> >, implement for dynamic number of list.
18124
18125         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18126         * text2.C (PasteSelection): adjust
18127         * CutAndPaste.C (pasteSelection): adjust
18128
18129         * FloatList.C (FloatList): update from the new_insets branch.
18130         * Floating.[Ch]: ditto
18131         * LaTeXFeatures.C: ditto
18132         * buffer.C: ditto
18133         * lyxlex_pimpl.C: ditto
18134
18135         * paragraph.C (Last): remove when NEW_INSETS is defined.
18136
18137         * other file: changes because of the above.
18138
18139 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18140
18141         * lyxparagraph.h: rename next to next_, previous to previous_,
18142         make them private for NEW_INSETS. Rename Next() to next(),
18143         Previous() to previous().
18144
18145         * other files: changes because of the above.
18146
18147 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18148
18149         * BufferView.h:
18150         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18151         problem.
18152
18153 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18154
18155         * main.C (main): pass lyx_localedir to gettext_init().
18156
18157         * gettext.h: remove locale_init and gettext_init macros
18158
18159         * gettext.C (locale_init): new function
18160         (gettext_init): new function
18161
18162         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18163         setlocale().
18164
18165 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18166
18167         * Moved credits to frontends:
18168         * credits.[Ch]: removed
18169         * credits_form.[Ch]: removed
18170         * lyx_gui_misc.C: remove credits stuff
18171         * Makefile.am:
18172
18173 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18174
18175         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18176
18177         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18178         unneeded destructor.
18179
18180         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18181         a standalone pointer again.
18182
18183         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18184
18185 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18186
18187         * Makefile.am:
18188         * filedlg.h:
18189         * filedlg.C:
18190         * LyXAction.C:
18191         * ToolbarDefaults.C:
18192         * bufferlist.C:
18193         * commandtags.h:
18194         * form1.C:
18195         * form1.h:
18196         * lyx_cb.C:
18197         * lyx_cb.h:
18198         * lyxfunc.h:
18199         * lyxfunc.C:
18200         * BufferView_pimpl.C: use new file dialog in GUII
18201
18202         * lyx_cb.h:
18203         * lyx_cb.C: remove LayoutsCB to Toolbar
18204
18205 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18206
18207         * ShareContainer.h (get): add std:: qualifier
18208
18209 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18210
18211         * ShareContainer.h: define a proper ShareContainer::value_type
18212         type (and use typename to please compaq cxx)
18213
18214 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18215
18216         * lyxparagraph.h: move serveral local vars to
18217         ParameterStruct/ParagraphParameters., use ShareContainer in
18218         FontTable., make vars in FontTable private and add getter and
18219         setter.
18220
18221         * paragraph.C: changes because of the above.
18222
18223         * lyxfont.h: remove copy constructor and copy assignment. (the
18224         default ones is ok), move number inside FontBits. move inlines to
18225         lyxfont.C
18226
18227         * lyxfont.C: add number to initializaton of statics, move several
18228         inlines here. constify several local vars. some whitespace
18229         cleanup. Dont hide outerscope variables.
18230
18231         * Spacing.h: add two new constructors to match the set methods.
18232
18233         * ShareContainer.h: new file, will perhaps be moved to support
18234
18235         * ParameterStruct.h: new file
18236
18237         * ParagraphParameters.h: new file
18238
18239         * ParagraphParameters.C: new file
18240
18241         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18242         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18243
18244         * BufferView_pimpl.C: ParagraphParameter changes.
18245         * buffer.C: Likewise.
18246         * bufferview_funcs.C: Likewise.
18247         * text.C: Likewise.
18248         * text2.C: Likewise.
18249
18250 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18251
18252         * lyxfind.C (LyXReplace): do not redefine default argument in
18253         implementation.
18254         (IsStringInText): ditto
18255         (SearchForward): ditto
18256         (SearchBackward): ditto
18257
18258 2001-03-06  Juergen Vigna  <jug@sad.it>
18259
18260         * lyxfind.C (IsStringInText): put parentes around expressions.
18261
18262 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18263
18264         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18265
18266 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18267
18268         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18269
18270         * stl_string_fwd.h: add comment
18271
18272         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18273
18274         * tabular.h:
18275         * tabular.C: remove unused DocBook methods
18276
18277         * intl.C:
18278         * language.C:
18279         * paragraph.C:
18280         * buffer.C:
18281         killed DO_USE_DEFAULT_LANGUAGE
18282
18283 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18284
18285         * lyx_gui.C: do not include language.h.
18286
18287         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18288         arguments in function implementation.
18289
18290 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18291
18292         * BufferView_pimpl.C: add <ctime>
18293
18294 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18295
18296         * BufferView_pimpl.C: add using std::find_if
18297
18298 2001-02-27  José Matos  <jamatos@fep.up.pt>
18299
18300         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18301         by OnlyPath.
18302
18303 2001-02-11  José Matos  <jamatos@fep.up.pt>
18304
18305         * buffer.C (makeDocBookFile): command styles now have a parameter as
18306         "title" by default.
18307
18308 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18309
18310         * layout_forms.[Ch]: removed
18311         * lyx_cb.[Ch]: out character
18312         * lyx_gui.C: out character
18313         * lyx_gui_misc.C: out character
18314         * bufferview_funcs.C: : out character,
18315         added toggleall as parameter in ToggleAndShow
18316
18317 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18318
18319         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18320
18321         * text2.C (SetCurrentFont): Disable number property at boundary.
18322
18323 2001-02-26  Juergen Vigna  <jug@sad.it>
18324
18325         * lyxfunc.C (getStatus): added a string argument override function so
18326         that this is correctly called from LyXFunc::Dispatch if it contains a
18327         do_not_use_argument which is used!
18328         (Dispatch): added check for "custom" export and call appropriate func.
18329
18330 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18331
18332         * lyxrc.C: Add language_command_local, language_use_babel and
18333         language_global_options.
18334
18335         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18336
18337         * buffer.C (makeLaTeXFile): Use language_use_babel and
18338         language_global_options.
18339
18340 2001-02-23  Juergen Vigna  <jug@sad.it>
18341
18342         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18343         which works with LyXText and putted it inside BufferView. Here now we
18344         only call for that part the BufferView::Dispatch() function.
18345
18346         * BufferView.C (Dispatch): added.
18347
18348         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18349         functions which needs to use a LyXText over from LyXFunc.
18350         (MenuInsertLyXFile): added
18351         (getInsetByCode): added
18352         (moveCursorUpdate): added
18353         (static TEXT): added
18354
18355 2001-02-22  Juergen Vigna  <jug@sad.it>
18356
18357         * BufferView_pimpl.C (update): call a status update to see if LyXText
18358         needs it.
18359
18360 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18361
18362         * vc-backend.C (revert): implement for CVS
18363         (getLog): implement for CVS
18364
18365 2001-02-20  Juergen Vigna  <jug@sad.it>
18366
18367         * text2.C (ClearSelection): added BufferView param for inset_owner call
18368
18369         * lyxfunc.C (TEXT): added this function and use it instead of
18370         directly owner->view()-text of getLyXText().
18371
18372 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18373
18374         * src/layout_forms.C: out preamble
18375         * src/layout_forms.h: out preamble
18376         * src/lyx_cb.C: out preamble
18377         * src/lyx_cb.h: out preamble
18378         * src/lyx_gui.C: out preamble
18379         * src/lyx_gui_misc.C: out preamble
18380         * src/lyxfunc.C: connect with guii preamble
18381
18382 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18383
18384         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18385
18386 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18387
18388         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18389         whether to run bibtex.
18390
18391 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18392
18393         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18394
18395 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18396
18397         * Makefile.am (lyx_SOURCES): removed bibforms.h
18398
18399         * vspace.h: doxygen
18400
18401         * text.C (GetVisibleRow): make several local vars const
18402
18403         * tabular.C: small cleanup.
18404
18405         * lyxserver.C (callback): use compare instead of strncmp
18406
18407         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18408         inlines to after class or to paragraph.C
18409
18410         * lyxfont.h: remove friend operator!=
18411
18412         * converter.h: move friend bool operator< to non friend and after
18413         class def.
18414
18415         * combox.h: small cleanup
18416
18417         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18418         to inlines after class def.
18419
18420         * buffer.C (pop_tag): use string operations instead of strcmp
18421
18422         * bmtable.c: doxygen, small cleanup
18423
18424         * LaTeX.h: remove friend operator==
18425
18426 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18427
18428         * screen.C:
18429         * lyxrc.[Ch]:
18430         * lyxfunc.C:
18431         * lyxfont.[Ch]:
18432         * lyx_cb.C:
18433         * intl.[Ch]:
18434         * commandtags.h:
18435         * buffer.C:
18436         * WorkArea.[Ch]:
18437         * LyXAction.C:
18438         * BufferView_pimpl.C:
18439         * BufferView.[Ch]: remove cruft
18440
18441 2001-02-14  Juergen Vigna  <jug@sad.it>
18442
18443         * lyxfunc.C: removed #if 0 unused code
18444
18445         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18446
18447         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18448
18449         * text2.C (SetSelection): added a BufferView * parameter
18450
18451 2001-02-13  Juergen Vigna  <jug@sad.it>
18452
18453         * lyxfunc.C (Dispatch): fixed protected blank problem.
18454         * BufferView2.C (protectedBlank): added LyxText * parameter.
18455
18456         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18457         (AppendColumn): same as above for column_info.
18458
18459         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18460         (moveCursorUpdate): use a LyXText param for support of InsetText.
18461
18462         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18463         (tripleClick): ditto
18464
18465         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18466
18467         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18468
18469         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18470
18471         * text2.C (SetSelection): set correct update status if inset_owner
18472         (ToggleFree): ditto
18473
18474 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18475
18476         * tabular.C: remove some commented code.
18477
18478 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18479
18480         * BufferView_pimpl.C: call hideSplash()
18481
18482         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18483
18484         * include_form.h:
18485         * bibforms.h: remove
18486
18487         * lyxfunc.C:
18488         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18489           add LFUN_CHILD_CREATE
18490
18491         * counters.h: fix tiny typo
18492
18493         * lyx_cb.C:
18494         * lyx.h:
18495         * lyx_gui.C:
18496         * lyx.C: move splash to frontends/xforms/
18497
18498         * lyx_gui_misc.C: move Include and Bibform to frontends
18499
18500         * lyxvc.h: clarify comment
18501
18502         * vspace.C: tiny housekeeping
18503
18504 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18505
18506         * text.C (PrepareToPrint): RTL Fix.
18507
18508         * paragraph.C (GetUChar): New method.
18509         (String):  Use GetUChar.
18510
18511         * buffer.C (asciiParagraph): Use GetUChar.
18512
18513 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18514
18515         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18516
18517 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18518
18519         * buffer.h:
18520         * buffer.C: rename to getLogName(), handle
18521           build log / latex log nicely
18522
18523 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18524
18525         * MenuBackend.C:
18526         * MenuBackend.h: remove support for reference menuitem type.
18527
18528 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18529
18530         * BufferView_pimpl.C: housekeeping
18531         * BufferView_pimpl.h:
18532         * LyXView.h:
18533         * Makefile.am:
18534         * Timeout.C:
18535         * Timeout.h:
18536         * minibuffer.h: move Timeout GUI-I
18537
18538 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18539
18540         * lyxrc.C (read): Update converters data-structures.
18541
18542 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18543
18544         * LaTeX.h (operator!=): add operator != for Aux_Info
18545
18546 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18547
18548         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18549
18550         * LaTeXLog.C: deleted, useful code moved to Buffer
18551
18552         * buffer.h:
18553         * buffer.C: new function getLatexLogName()
18554
18555         * lyx_gui_misc.C:
18556         * lyx_gui.C:
18557         * lyxvc.C:
18558         * lyxvc.h:
18559         * lyxfunc.C: use frontends for LaTeX and VC logs
18560
18561 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18562
18563         * LaTeX.h: yet another std:: that Allan forgot.
18564
18565         * Variables.C (set): renamed from isset(), because this clashes
18566         with some HP-UX macros (grr).
18567
18568 2001-02-06  Allan Rae  <rae@lyx.org>
18569
18570         * LaTeX.h: Another bug fix.  Missing std:: this time.
18571
18572 2001-02-04  Allan Rae  <rae@lyx.org>
18573
18574         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18575         floats problem. I've left it commented out because it's not quite
18576         correct.  It should also test that the current object is a table or
18577         figure inset.  But I haven't gotten around to figuring out how to do
18578         that.  I *think* it'll be something like: "table" == inset.type()
18579
18580         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18581         bool.
18582
18583 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18584
18585         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18586         all the citation/databases/styles in the auxilary file.
18587         (run): Rerun latex if there was a babel language error.
18588
18589 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18590
18591         * text.C (Backspace): Preserve the font when changing newline char
18592         with a space.
18593         (BreakParagraph): If the cursor is before a space, delete the space.
18594
18595         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18596
18597 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18598
18599         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18600         new argument (code).
18601         (ChangeCitationsIfUnique): New method.
18602
18603         * paragraph.C (GetPositionOfInset): Handle bibkey.
18604
18605 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18606
18607         * BufferView_pimpl.h: change type of Position::par_pos to
18608         LyXParagraph::size_type.
18609
18610 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18611
18612         * BufferView_pimpl.C (savePosition, restorePosition): Write
18613         messages to minibuffer.
18614
18615 2001-01-28  José Matos  <jamatos@fep.up.pt>
18616
18617         * buffer.C (makeDocBookFile): adds support for document language.
18618         A silly restriction on the name of LatexCommand types where removed.
18619         Added support for CDATA sections, allows to chars unescaped, used
18620         among others in code, to avoid escape < and >.
18621
18622 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18623
18624         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18625         saved positions instrad of a stack. Furthermore, a position is
18626         stored using paragraph id/paragraph position.
18627
18628         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18629         Remove LFUN_REF_BACK.
18630
18631 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18632
18633         * converter.C (dvipdfm_options): New method.
18634
18635 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18636
18637         * vspace.C (isValidLength): Fix for empty input string.
18638
18639 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18640
18641         * LyXAction.C (init): change description of LFUN_FIGURE to
18642         "Insert Graphics"
18643
18644 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18645
18646         * LaTeX.C: add using directive
18647
18648 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18649
18650         * MenuBackend.C (expand): Fix the sorting of the formats.
18651
18652 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18653
18654         * lyx_main.C: tiny error message fix
18655
18656 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18657
18658         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18659         calling fl_initialize(). This fixes the problem with ',' as
18660         decimal separator in text files.
18661
18662 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18663
18664         * trans.C (process): Fix the keymap bug.
18665
18666 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18667
18668         * LaTeX.C (scanAuxFiles): New method. Provides support for
18669         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18670         (scanLogFile) Scan for "run BibTeX" messages.
18671
18672         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18673         OT1 font encoding. Also, load the aecompl package if the ae
18674         package is loaded.
18675
18676         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18677
18678 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18679
18680         * texrow.C (increasePos): turn two error messages into debug
18681         messages.
18682
18683 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18684
18685         * LaTeX.C (scanAux): Handle the \@input macro.
18686         (runBibTeX): Use scanAux().
18687
18688         * language.C (latex_options_): New field.
18689
18690         * LaTeXFeatures.C (getMacros): Add language macros.
18691
18692         * buffer.C (makeLaTeXFile): Small fix.
18693
18694 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18695
18696         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18697
18698         * text2.C: add a using directive.
18699
18700 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18701
18702         * BufferView2.C:
18703         * lyx_gui_misc.h:
18704         * lyxfr1.C:
18705         * lyxfunc.C: kill LyXBell.
18706
18707 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18708
18709         * text.C (IsBoundary): Remove the error message
18710
18711         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18712
18713         * lyxrc.C (setDefaults): Correct initialization value for
18714         font_norm_type.
18715
18716 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18717
18718         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18719         gotoError().
18720
18721         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18722         and GotoNextNote().
18723
18724         * src/LyXAction.C: Added reference-next.
18725
18726         * text.C (InsertChar): Use contains instead of strchr.
18727
18728         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18729
18730 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18731
18732         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18733         alignment commands (when needed).
18734
18735         * text.C (InsertChar): Add ':' to number separator chars.