]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
d04d7171f26231cb0aa56cf4fa663ff18173d40b
[lyx.git] / src / ChangeLog
1 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * CutAndPaste.C (numberOfSelections): new helper function.
4
5         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
6
7         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
8         LyXFunc::getStatus; implement LFUN_PASTE.
9
10 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11
12         * dociterator.[Ch]: new member realInset() that returns the cell
13         for tabulars and the inset for the rest (bug 1952).
14         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
15         (bug 1952).
16
17 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
20
21 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
22
23         * lyxfunc.C:
24         * paragraph.C:
25         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
26         argument.
27
28 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
29
30         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
31         line after typing ctrl-enter
32
33 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
34
35         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
36         math insets do not return a proper editable() state yet (bug 2124).
37
38 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
39
40         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
41         docs containing very large paragraphs.
42
43 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
44
45         * cursor.C (selectionBegin, selectionEnd):
46         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
47         cursor at different depths.
48
49 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
50
51         * bufferview_funcs.C (coordOffset): do not call cursorPos
52         for collapsed collapsables (fix bug 2094).
53
54 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
55
56         * paragraph.C (fontSpan): make sure that the FontSpan does not
57         span across beginOfBody (bug 1947).
58
59 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
60
61         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
62
63 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
64
65         * messages.C: fix crash and localization on MinGW/Windows platform
66
67 2005-11-02  Angus Leeming  <leeming@lyx.org>
68
69         * Bidi.C:
70         * lyxtextclass.C: trivial fixes to some MSVS warnings.
71
72 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
73
74         * text3.C (getStatus): re-enable disabled code. (bug 2081)
75
76         * BranchList.h (empty): constify.
77
78 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
79
80         * text3.C (getStatus): 
81         * MenuBackend.C (expandBranches): take the branch list from the
82         master document (bug 2092).
83         
84         * MenuBackend.C (expandBranches): 
85         * bufferparams.C (writeFile): use BranchList type.
86
87 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
88
89         * text3.C (dispatch, getStatus): 
90         * LyXAction.C (init): 
91         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
92
93 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
94
95         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
96
97 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
98
99         * text.C (insertChar): do not reset boundary (bug 2061)
100
101 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
102
103         * dociterator.C (updateInsets): new method. Updates the inset_
104         cache of all the slices of the iterator.
105
106         * text2.C (deleteEmptyParagraphMechanism): compare also containing
107         insets when comparing pit/pos; pass the right cursor to
108         recordUndo; when a paragraph has been deleted, compare `old.top()' to
109         the right cursor slice of `cur'; use updateInsets on cur to make
110         sure that the inset caches are correct; general cleanup.
111
112 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
113
114         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
115         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
116         containg inset. If this does not work, the same command will be
117         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
118
119         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
120         a dispatch.
121
122 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
123
124         * lyxtextclass.C (Read): convert layout file if the format is wrong
125         * lyxtextclass.C (layout2layout): new, needed for the above
126
127 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
128
129         * messages.C: do not forget to include <cerrno>.
130
131 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
132
133         * dociterator.h (StableDocIterator): add access to pos().
134         * undo.C (samePar): new method to check if two
135         iterators are in the same paragraph
136         * undo.C (recordUndo): check for samePar instead of cell identity
137         (which includes pos() and is too strict) (fixes bug 2097)
138
139 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
140
141         * text.C (setCursorFromCoordinates): return a bool telling whether
142         dEPM triggered.
143
144         * text3.C (cursorPrevious): update if needed after
145         setCursorFromCoordinates (when dEPM triggered).
146
147         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
148         (otherwise the anchor may be completely wrong and make dEPM assert).
149
150 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
151
152         * buffer.C: version upgrade to 245.
153         * bufferparams.C: remove \quotes_times (bug 2090).
154         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
155         quotation marks as default.
156
157 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
158
159         * CutAndPaste.C (nrOfParagraphs): remove (unused)
160         * CutAndPaste.C (cutSelection): Remove debug message
161         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
162         undo information and only copy if this is a real cut
163         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
164         call
165         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
166         (bug 2059)
167         * CutAndPaste.C (eraseSelection): prevent cursor corruption
168         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
169         superflous cur.selection() setting
170         * CutAndPaste.[Ch] (grabSelection): take a const cursor
171         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
172
173 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
174
175         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
176         change anything.
177
178 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
179
180         * BufferView_pimpl.C: comment layout change
181
182 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
183
184         * LyXAction.C:
185         * lfuns.h:
186         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
187         by bibliography managers (bug 2071).
188
189 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
190
191         * BufferView_pimpl.C (update): choose arguments to update call so
192         that single-par update works most times
193         * text3.C (dispatch): carefully tune updating separately for
194         whole-screen and current-paragraph
195         * rowpainter.C (paintText): 1) replace painting by caching for
196         the two extra paragraphs, because we can;
197         2) suppress greying out of areas below/above drawn area in case of
198         single-par refresh
199         * lyxfunc.C (dispatch): remove superfluous update
200         * LyXAction.[Ch]: introduce SingleParUpdate
201
202 2005-10-05  Angus Leeming  <leeming@lyx.org>
203
204         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
205         always initialised before use.
206
207         * text.C (setHeightOfRow): squash warning about comparison
208         of signed and unsigned types.
209
210 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
211
212         * text.C (cursorX): two fixes involving RtL text drawing
213
214 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
217         items, not only large ones (part of bug 2057)
218
219 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
222         argument, use "newcommand".
223
224 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
225
226         * cursor.C (setSelection): do not open collapsable insets;
227         the insets do by themselves now (autoopen).
228
229 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
230
231         * buffer.C: format is up to 244.
232
233 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
234
235         * text.C (redoParagraph): fix calcultation of inset width wrt 
236         leftMargin (bug 1957).
237
238         * text3.C (dispatch): leave inset to the right when hitting ESC 
239         (bug 2034).
240
241 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * text2.C: 
244         * text.C: 
245         * factory.C:
246         * messages.C: include <boost/current_function.hpp> 
247
248 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
251         when command is internal. (bug 1941)
252
253 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * text2.C (cursorRight): do not honor boundary when at the end of
256         a paragraph. (bug 2010 again)
257
258 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
259
260         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
261
262 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
263
264         * rowpainter.C (paintText): fix RtL space width display bug (2029)
265
266 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
267
268         * text2.C (setCursor): remove the unused 'boundary' parameter for
269         the CursorSlice version; adapt the LCursor version.
270
271         * lyxrc.C (write): 
272         * paragraph_pimpl.C (markErased): 
273         * cursor.C (bruteFind2, bruteFond3): fix warnings.
274
275 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
276
277         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
278         as is already done for "chapter".
279
280 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
281
282         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
283         textclass; do not record undo if nothing is changed.
284
285 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
286
287         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
288
289 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
290
291         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
292
293 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
294
295         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
296         combox, it is necessary to search for the topmost paragraph in the
297         cursor stack (bug 1926)
298
299 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
300
301         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
302         end of paragraph. (bug 2010)
303
304 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
305
306         * text.C (leftMargin): check for inInset == 0
307
308 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
309
310         * text.C (leftMargin): test for insetbase's new neverIndent()
311         bool instead of listing each and every inset that does not
312         wish par indendation.
313
314 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
315
316         * buffer_funcs.C (setCounter): put the code to compute enum label
317         here (where it belongs).
318
319         * counters.C (enumLabel): move code to buffer_funcs.C.
320
321 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
322
323         * outputparams.[Ch]: store local_font instead of local_language
324         * paragraph.C (simpleTeXOnePar): adapt to the change above
325
326 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
327
328         * buffer_funcs.C:
329         * counters.[Ch]: clean up special code for Hebrew.
330
331 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
334         than 2.
335
336 2005-09-08  Angus Leeming  <leeming@lyx.org>
337
338         * ispell.C:
339         * lyxrc.C: correct grammar describing invocation of the
340         spellchecker.
341
342 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * text.C (read): remove unused variable.
345         (readParToken): remove static Change variable (never good in
346         recursive settings...); add it as a parameter instead.
347
348         * paragraph_pimpl.C (acceptChange): make debug info conditional.
349
350         * metricsinfo.C (PainterInfo): add new member erased_.
351
352         * rowpainter.C (RowPainter): add erased_ member, initialized from
353         PainterInfo. 
354         (paintInset): pass erased_ to Inset::draw.
355
356         * lyxfunc.C (lookupChange): new function. Tells whether change 
357         tracking is disabled at a given postion.
358         (getStatus): disable some actions when in deleted text with change
359         tracking. 
360
361 2005-08-03  John Levon  <levon@movementarian.org>
362         
363         * tabular.C (appendColumn, setMultiColumn): adapt to change to
364         InsetText::clear().
365
366         * paragraph_pimpl.C (markErased): add bool argument and handle it.
367         Also make sure to mark insets recursively.
368         (rejectChange, erase): be recursive
369
370         * paragraph.C (markErased): add bool argument.
371 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372
373         * lyxfind.C (findNextChange): tiny cleanup.
374
375         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
376         change tracking with the cursor in an inset; make sure the first
377         change is not skipped.
378
379 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
380
381         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
382         tabularStackDirty to work around bug 1919 (tabular needs
383         to know whether its own cell paste buffer or the one of 
384         texted is newer.
385         * CutAndPaste.C: mark tabular_stack_ clean after copy.
386
387 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
388
389         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
390
391 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
392
393         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
394         use old deleteion algorithm when changetracking is on.
395
396 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
397
398         * messages.C (get): add debug output.
399
400 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
401
402         * text.C (cursorX): fix bug 1965: cursor movement at
403         line end broken in RtL.
404         (drawSelection): fix bug 1970: drawing of single-line 
405         selection broken for RtL.
406
407 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
408
409         bug 465.
410
411         * dociterator.h (clear, push_back, pop_back): change from
412         protected to public.
413
414         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
415         and changed to just return the value of the item depth; take a
416         ParIterator as argument; take the itemdepth at outer nesting level
417         in account if necessary; cleanup and comment the code.
418         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
419         and changed to just return true if reset is needed; take a
420         ParIterator as argument; cleanup and comment the code.
421         (setCounter): adapt to above changes.
422
423 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
424
425         * text3.C (dispatch): make debug message optional
426
427 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
428
429         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
430         inset. (bug 1963)
431
432 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
433
434         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
435
436 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
437
438         * text.C (insertChar):
439         * text2.C (deleteEmptyParagraphMechanism): take care whether 
440         a blank has been deleted (in change tracking mode) (bug 1254).
441
442 2005-07-20  John Levon  <levon@movementarian.org>
443
444         * text2.C (insertStringAsLines): remove old dubious code,
445         fixing bug 1939.
446
447 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
448
449         * MenuBackend.C (expandToc): use Floating::listName() as title of
450         the floats submenus.
451
452 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
453
454         * toc.[Ch]: Do not use translatable strings (bug 1870).
455
456 2005-07-20  John Levon  <levon@movementarian.org>
457
458         * tabular.C: fix 1748 - setting multicolumn adds
459           left line to the first cell
460
461 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
462
463         bug 1920
464         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
465         pars in one go.
466
467 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
468
469         * messages.C: supress some lyxerr messages
470
471 2005-07-18  Juergen Vigna  <jug@lyx.org>
472
473         * text.C (drawSelection): honor boundary when asking for cursorX.
474
475 2005-07-17  José Matos  <jamatos@fc.up.pt>
476
477         * tabular.C (recalculateMulticolumns): fix handling of one column
478         tables.
479
480 2005-07-17  Juergen Vigna  <jug@lyx.org>
481
482         * text.C (Delete, backspace): fixed so that paragraph with the
483         same layout can be merged by Delete/Backspace.
484
485 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
486
487         * text.C (readParToken): fix spelling.
488
489 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
490
491         * text2.C: fix counter update for DEPM problem reported by
492         Georg Baum
493
494 2005-07-17  Juergen Vigna  <jug@lyx.org>
495
496         * BufferView_pimpl.C (setBuffer): save/restore the
497         cursor/selection when switching buffers
498
499         * buffer.h: 
500         * buffer.C (saveCursor): add saveDocumentIterators to save the
501         cursor when switching buffer.
502
503 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
504
505         * debug.C: fix typo
506         * buffer.C: clarify message
507         
508 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
509
510         * dociterator.C (DocIterator): fix initialization order
511
512 2005-07-17  Juergen Vigna  <jug@lyx.org>
513
514         * text2.C (cursorHome): 
515         * text.C (drawSelection, cursorX): 
516         * dociterator.C (textRow): add boundary to getRow() call
517
518         * paragraph.C (getRow): implementation of below
519
520         * paragraph.h: add parameter boundary for getRow() function
521
522 2005-07-17  José Matos  <jamatos@fc.up.pt>
523
524         * buffer.C:
525         * bufferparams.[Ch]:
526         * tex-strings.[Ch]: new file format, remove support for a4.sty,
527         a4wide.sty and a4widemargins.
528
529 2005-07-17  Juergen Vigna  <jug@lyx.org>
530
531         * text2.C (cursorLeft): fix one of error
532
533 2005-07-17  Juergen Vigna  <jug@lyx.org>
534
535         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
536                    cursorEnd):
537         more fixes for boundary handling
538
539         * text3.C (dispatch): don't reset cursor if boundary has changed
540         on cursor movement.
541
542 2005-07-16  Juergen Vigna  <jug@lyx.org>
543
544         * text2.C (getColumnNearX): hopefully got it right now,
545         check if we are on column 0 for special case.
546
547 2005-07-16  Juergen Vigna  <jug@lyx.org>
548
549         * text2.C (getColumnNearX): handle special case Newline Inset
550
551         * text.C (singleWidth): Just remove bogus check
552
553 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
554
555         * funcrequest.C (split): avoid reading uninitialized char c
556
557 2005-07-16  José Matos  <jamatos@fc.up.pt>
558
559         * buffer.C:
560         * converter.C:
561         * lyxrc.C:
562         * paper.h:
563         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
564         single papersize variable.
565
566 2005-07-16  Juergen Vigna  <jug@lyx.org>
567
568         * text3.C (dispatch): honor boundary when checking if a cursor
569         movement has been done
570
571         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
572         (setCursor, setCursorIntern): fix cursor movement with boundary
573
574 2005-07-16  Juergen Vigna  <jug@lyx.org>
575
576         * text.C (currentState): output the actual Boundary
577
578 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * factory.C (createInset): fix bad logic for tabular creation
581
582 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
583
584         * lyx_main.C (init): change some reLyX reference to tex2lyx
585
586 2005-07-16  Juergen Vigna  <jug@lyx.org>
587
588         * dociterator.C (DocIterator): initialize boundary
589
590 2005-07-16  Juergen Vigna  <jug@lyx.org>
591
592         * text2.C (getColumnNearX): Consider rows without trailing blank.  
593
594 2005-07-16  André Pönitz  <poenitz@gmx.net>
595
596         * lyxfont.h: Change order of declarations to give the compiler
597         a better chance to inline things
598
599         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
600         questions on unsaved docs for better scritability
601
602 2005-07-16  André Pönitz  <poenitz@gmx.net>
603
604         * paragraph.h (getChar): remove asserts as the same kind of security
605         can be achieved by using a suitable standard library implementation
606         and the function was in the critical path (25.9% in profiler)
607
608 2005-07-16  Juergen Vigna  <jug@lyx.org>
609
610         * cursor.C (bruteFind2):
611         * bufferview_funcs.C (coordOffset): 
612         * text.C (cursorX,cursorY): Handle cursor position after last char
613         in row before a inset which uses a whole row.
614
615 2005-07-15  José Matos <jamatos@lyx.org>
616
617         * output_plaintext.[Ch] (writeFileAscii): control reference title
618         printing.
619         (asciiParagraph): noparbreak was already deal and was incorrectly
620         used.
621
622 2005-07-15  Juergen Vigna <jug@lyx.org>
623
624         * lyxfunc.C (dispatch): save and restore the cursor after a
625         textclass switch.
626
627 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
628
629         * text.C (backspace): bug 806 for empty keepempty paragraphs we
630         change the layout to default before letting DEPM do its thing.
631
632         * paragraph_funcs.C (breakParagraph): dont reset the layout on
633         keepEmpty paragraphs
634
635         * text.C (setCursorFromCoordinates): add a debug statement
636
637         * text2.C (getColumnNearX): bug 1825 make sure that we don't
638         return a pos that is not on the row
639
640         * output_latex.C (TeXDeeper): get rid of potential dereferencing
641         of past the end iterator
642
643 2005-07-14  André Pönitz  <poenitz@gmx.net>
644
645         * undo.C (recordUndoFullBuffer): implement undo for
646         textclass switches
647
648 2005-07-14  André Pönitz  <poenitz@gmx.net>
649
650         * cursor.C (setSelection): open insets when selection is set there
651         to avoid crashs with cold coord cache
652
653 2005-07-14  André Pönitz  <poenitz@gmx.net>
654
655         * trans_mgr.C (insert): move cursor to the right after inserting
656         a char.
657
658 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
659
660         * BufferView_pimpl.C (update): dampen some of the debug blabbering
661         * factory.C (readInset): ditto
662         * text.C, text2.C: ditto
663
664 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
665
666         * buffer.C: format incremented to 242. There is no file format per
667         se, but the "frenchb" language has been removed from lib/language
668         and has to be translated to "french" by lyx2lyx.
669
670 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
671
672         * cursor_slice.h, dociterator.h: add some documentation
673         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
674
675 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
676
677         * text.C (leftMargin): do not add identation to display() style
678         insets, because they are always centered (bug 1293).
679
680 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
681
682         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
683         formatted_time methods in support/lyxtime.
684
685 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
686
687         * toc.[Ch]: new method getGuiName, which is used by the frontends 
688         to set the toc combo (fixes bug 1870). Make TOC string translatable.
689
690 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
691
692         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
693         StableDocIterator const &)
694         * undo.C (recordUndo): use the above instead of cell.size() comparison
695         (fixes bug 1808; instructed by Andr�.
696
697 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
698
699         * cursor_slice.h: 
700         * dociterator.h: Fix the assert when copying rows/cols in math
701
702 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
703
704         * BufferView_pimpl.C:
705         * LyXAction.C:
706         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
707
708         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
709         (findInset): new functions, refactored from goto Inset that return 
710         the position of a certain inset without setting the buffer's cursor
711         (by Jean-Marc); 
712         (gotoInset): rewrite to call findInset and then set the cursor
713         (by Jean-Marc).
714
715 2005-06-16  Angus Leeming  <leeming@lyx.org>
716
717         * lyxrc.C (output, read): wrap all input and output of paths with
718         calls to os::internal_path and os::external_path, respectively.
719         (output): wrap bind_file inside quotes.
720
721         * format.C (view): enable the viewer to use the '$$s' placeholder.
722
723 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
724
725         * LColor.[Ch] (getFromLaTeXName): new
726
727 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
728
729         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
730
731 2005-06-14  Angus Leeming  <leeming@lyx.org>
732
733         * lyx_main.C (init): ensure that the LyX binary dir is the first
734         element in the PATH on non-POSIX builds.
735
736 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
737
738         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
739
740 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
741
742         * rowpainter.C (paintInset, paintHebrewComposeChar)
743         (paintArabicComposeChar, paintChars): add a LyXFont argument.
744         (paintChars): use getFontSpan to reduce calls to getFont to a
745         minimum; use Paragraph::lookupChange instead of isXXXText.
746         (paintForeignMark): rename LyXFont argument.
747         (paintFromPos): pass a LyXFont object to the various paintXXX
748         methods.
749
750         * FontIterator.C (FontIterator, operator++): use
751         Paragraph::getFontSpan
752
753         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
754         version that returns the font span as a pair.
755
756 2005-06-09  Angus Leeming  <leeming@lyx.org>
757
758         * converter.C (convert): Don't forget "outfile = real_outfile" as
759         the final step in a conversion where the input and output file names
760         are the same. Otherwise, future conversion steps won't work...
761
762 2005-06-09  Angus Leeming  <leeming@lyx.org>
763
764         * lyxsocket.C: remove stub code as it isn't needed by
765         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
766
767 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
768
769         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
770         effectively disabled -x
771
772 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
773
774         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
775         when it actually makes sense.
776
777 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
778
779         * BufferView_pimpl.C: revert to showCursor in connection with
780         Lars's front-end stack
781
782 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
783
784         * text.C (redoParagraph): move cursor right after a bibitem
785         has been inserted.
786
787         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
788
789 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
790
791         * buffer_funcs.C (bufferErrors): fix computation of the end of an
792         error range.
793
794 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
795
796         * BufferView.[Ch] (update):
797         * BufferView_pimpl.[Ch] (update, metrics):
798         * dimension.h (operator==):
799         * lyxfunc.C (dispatch):
800         * metricsinfo.h (ViewMetricsInfo):
801         * rowpainter.C (paintText):
802         * lyxtext.h:
803         * text.C (redoParagraph):
804         * text3.C (dispatch): Make LyX only repaint current paragraph in
805         case of character insert --> speedup. Also fix cursor draw
806         artifacts
807
808 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
809
810         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
811         avoid a crash (bug 1891)
812
813 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
814
815         Fix bug 1892:
816
817         * text2.C (getStringToIndex): constify cur argument.
818
819         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
820         argument has been given
821         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
822         try to invoke LFUN_INSET_APPLY).
823
824         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
825         if no inset was created by doInsertInset
826         (doInsertInset): return true if an inset has been inserted.
827
828 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
829
830         * vspace.C (asGUIName): new method. A version of the space
831         suitable for showing on screen.
832
833 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
834
835         * MenuBackend.C:
836         * lyxrc.C: rename "ASCII" to "Plain Text"
837
838 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
839
840         * buffer_funcs.C (expandLabel): take a Buffer as argument;
841         translate the labelstring.
842         (setCounter): translate labelstring as needed.
843
844         * output_docbook.C (makeCommand): fix expandLabel invokation
845
846 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
847
848         * BufferView.C: fix dialog title
849
850 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
851
852         * lyx_main.C (priv_exec): fix logic error with help from Angus
853         * lyx_main.C (parse_execute): set is_gui = false and remove now
854         obsolete comment about a segfault
855
856 2005-05-18  Angus Leeming  <leeming@lyx.org>
857
858         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
859
860 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
861
862         * tabular.[hC]: added setCellInset to fix tabular paste.
863
864 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
865
866         * buffer.C (save): check if destination is writable before trying
867         to copy a file
868
869 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
870
871         * BufferView_pimpl.C (update): fix processEvents -caused update
872         recursion bug
873
874 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
875
876         * buffer_funcs.C (setCounter): fix test for numbering of
877         environments.
878
879         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
880         depth correctly; use optional argument when it exists
881
882         * lyxtextclass.C: remove unused MaxCounterTags enum
883         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
884         (max_toclevel, min_toclevel): new methods.
885
886         * MenuBackend.C (expandToc2): fix case where depth is smaller than
887         the smallest depth in toc.
888
889         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
890         layouts that should not appear in a table of contents.
891
892 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
893
894         * cursor.h (undispatched, noUpdate): add comments from Andr�
895 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
896
897         * lfuns.h:
898         * LyXAction.C:
899         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
900
901 2005-05-07  André Pönitz  <poenitz@gmx.net>
902
903         * cursor.[Ch] (leaveInset): new function
904
905 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
906
907         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
908
909 2005-05-04  Angus Leeming  <leeming@lyx.org>
910
911         * lyxfunc.C (getStatus): disable the spell checker dialog if
912         none of USE_[AIP]SPELL are defined.
913
914 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
915
916         * tabular.C (setWidthOfCell): remove obsolete comment
917
918 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
919
920         * paragraph.C (bibitem):
921         * buffer_funcs.C (setCounter):
922         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
923
924 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
925
926         * text3.C (getStatus): immediately return after setOnOff
927
928         * rowpainter.C: fix drawing of appendix start
929
930 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
931
932         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
933         SwitchBetweenClasses and remove the unused return value.
934         Handle character styles, too
935
936 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
937
938         * factory.C (createInset): handle undefined character styles
939
940 2005-05-02  Angus Leeming  <leeming@lyx.org>
941
942         * buffer.C: protect the #include of utime.h with a preprocessor
943         guard.
944
945 2005-05-02  Angus Leeming  <leeming@lyx.org>
946
947         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
948         function so that auto-saving works, albeit in a blocking manner.
949
950         * Makefile.am: make compilation of the client sub directory, of
951         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
952         on conditionals set at configure time.
953
954         * SpellBase.[Ch]: no longer an abstract base class. Instead,
955         it can be compiled in its own right but has no-op functionality.
956
957         * aspell.C, pspell.C: remove preprocessor guards. The files should
958         be compiled only if the necessary functionality exists.
959
960         * lyxserver.C, lyxsocket.C: disable on Windows.
961
962 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
963
964         * text.C (leftMargin): Fix the parindent use bug (1764)
965         by dirty trick
966
967 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
968
969         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
970         argument.
971
972 2005-04-25  Angus Leeming  <leeming@lyx.org>
973
974         * Bidi.[Ch]:
975         * coordcache.[Ch]:
976         * ispell.C:
977         * lyxserver.C:
978         * mover.C:
979         * pch.h:
980         include <config.h> in .C files, not .h ones.
981         add licence blurb.
982         protect headers inside preprocessor guards.
983
984 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
985
986         * FuncStatus.h (StatusCodes): document
987
988 2005-04-21  André Pönitz  <poenitz@gmx.net>
989
990         * FuncStatus.h (enabled, onoff): document
991
992 2005-04-19  Angus Leeming  <leeming@lyx.org>
993
994         * BufferView_pimpl.C (cursorToggle): no longer test whether
995         any child processes have been reaped before calling
996         handleCompletedProcesses().
997
998 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
999
1000         * text3.C (dispatch): fix, finally fix, the language problem in
1001         new lyxtexts, without disabling on-the-fly font changes (Helge's
1002         bug report)
1003
1004 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1005
1006         * text3.C (dispatch): set cursor on double/triple click events
1007         (bug 1811)
1008
1009 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1010
1011         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1012         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1013
1014         * rowpainter.C (paintFirst): simplify the code a little bit. In
1015         particular, remove the test for secnumdepth.
1016         * text.C (setHeightOfRow): only allocate space for chapter number
1017         when updateCounters provided an actual label, instead of looking
1018         at secnumdepth directly.
1019
1020         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1021
1022         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1023         paragraphs when secnumdepth is large enough or, for environments,
1024         when they are not the first in a sequence.
1025
1026 2005-04-17  Angus Leeming  <leeming@lyx.org>
1027
1028         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1029         containing space and '~' characters with a call to latex_path().
1030
1031 2005-04-17  Angus Leeming  <leeming@lyx.org>
1032
1033         * converter.C (convert): protect all args of convertDefault.sh
1034         script with quotes.
1035
1036 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1037
1038         * text3.C (dispatch): change the layout to "Caption" after inserting
1039         a float.
1040
1041 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1042
1043         * text3.C (dispatch): fix language problem in newly created
1044         textinsets (and main text) in non-english docs
1045
1046 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1047
1048         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1049         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1050         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1051
1052 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1053
1054         * lyxtext.h:
1055         * text.C (metrics):
1056         * text2.C (getFont):
1057         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1058         fonts fix
1059
1060 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1061
1062         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1063         output of \item arguments without trailing text.
1064
1065 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1066
1067         * FontIterator.C (operator*): avoid a copy of the font.
1068
1069 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1070
1071         * rowpainter.C (getFont): fix language bug from previous fix
1072
1073 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1074
1075         * rowpainter.C (RowPainter, getFont): fix font inside inset
1076         (bugs 1766, 1809)
1077
1078 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1079
1080         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1081         preventing inserted font, deco, delim insets jumping to start of
1082         surrounding inset.
1083
1084 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1085
1086         * lyxfunc.C (dispatch): translate message before sending it to the
1087         minibuffer.
1088
1089 2005-03-29  Angus Leeming  <leeming@lyx.org>
1090
1091         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1092         to LyX on the command line.
1093
1094 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1095
1096         * vc-backend.C: use QuoteName to protect file names wherever
1097         necessary.
1098
1099 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1100
1101         * buffer.[Ch]:
1102         * BranchList.h: fix bugs 1844,1845: document settings don't
1103         stick
1104
1105 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1106
1107         * lyxrc.C (setDefaults, read, output, getDescription): add support
1108         for tex_allows_spaces.
1109
1110         * exporter.C (Export): allows files in directory containing spaces
1111         if tex_allows_spaces is true.
1112
1113         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1114         output it in double quotes.
1115
1116 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1117
1118         * rowpainter.C: use default text height for drawing change tracker
1119         strikeout lines.
1120
1121 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1122
1123         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1124
1125 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1126
1127         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1128         directory is missing.
1129
1130 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1131
1132         * text2.C: fixed the fix, extended to other case.
1133
1134 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1135
1136         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1137
1138 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1139
1140         * text2.C (cursorUp): get rid of a crash
1141         * text.C (x2pos): add an assert
1142
1143 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1144
1145         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1146
1147         * text3.C:
1148         * lyxfunc.C:
1149         * dociterator.C: include <boost/current_function.hpp>, which is
1150         needed when assertions are disabled.
1151
1152 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1153
1154         * text2.C: fix for stuck cursor when traversing two
1155         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1156
1157 2005-02-25  Andreas Vox  <avox@arcor.de>
1158
1159         * output_docbook.C (makeParagraph): suppress trailing newline
1160         after a run of paragraphs
1161
1162 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1163
1164         * paragraph.C: fix for confused change tracker when pasting
1165         text that begins with a lineseparator. [bug 1827]
1166         (setChange(0, Change::INSERTED);)
1167
1168         * paragraph_funcs.C: fix for lost changes on triple-paste
1169         in change tracking mode [bug 1827] (par.setChange()).
1170
1171 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1172
1173         * text2.C (updateCounters, setCounter, expandLabel): move to
1174         buffer_funcs.
1175
1176         * buffer_funcs.C (updateCounters): turn into a free standing
1177         function and add a buffer parameter. Remove dead code for tracking
1178         labelstring change.
1179         (setCounter): change into a free-standing function which gets a
1180         dociterator as argument. Use this iterator to fix captions in a
1181         simple way. When no float is found above the caption, use the
1182         labelstring of the caption layout as default.
1183
1184         * text.C (breakParagraph, backspace):
1185         * text2.C (init, setLayout, changeDepth):
1186         * text3.C (dispatch):
1187         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1188         updateCounters.
1189
1190         * dociterator.C (forwardPar): make it much faster by calling
1191         forwardPos() only when really necessary.
1192
1193         * output_docbook.C (makeCommand): adapt to expandLabel move.
1194
1195         * cursor.C: remove unused variable
1196
1197 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1198
1199         * paragraph_funcs.C: fix crash when pasting insets in change
1200         tracking mode [bug 1277] (honour change type in moveItem).
1201
1202 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1203
1204         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1205
1206 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1207
1208         * BufferView.C (setCursor): change to use a DocIterator.
1209         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1210         (putSelectionAt): adapt to BufferView::setCursor change.
1211
1212         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1213         moved here from LyXText and rewritten to use proper cursor
1214         methods. Fixes bug 1787, 616 and 835.
1215
1216         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1217         when inside an inset (part of bug 781).
1218         (dispatch): adapt to change of BufferView::setCursor.
1219         (getStatus, dispatch): handle LFUN_GOTOERROR,
1220         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1221
1222         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1223         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1224         * text3.C (gotoNextInset, gotoInset): removed.
1225
1226 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1227
1228         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1229
1230 2005-02-15  Angus Leeming  <leeming@lyx.org>
1231
1232         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1233         can be used meaningfully in a comparison.
1234
1235 2005-02-13  André Pönitz  <poenitz@gmx.net>
1236
1237         * bufferview_funcs.C (coordOffset): improve cursor drawing
1238
1239 2005-02-13  André Pönitz  <poenitz@gmx.net>
1240
1241         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1242         * Cursor.C (dispatch): use fixIfBroken
1243         * lyxfunc.C (getStatus): use fixIfBroken
1244
1245 2005-02-15  Angus Leeming  <leeming@lyx.org>
1246
1247         * lyx_main.C (error_handler):
1248         * lyxfunc.C:
1249         * lyxrc.C (setDefaults):
1250         s/GetEnv/getEnv/.
1251         #include "environment.h".
1252
1253         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1254
1255 2005-02-15  Angus Leeming  <leeming@lyx.org>
1256
1257         * lyxserver.C (startPipe): squash MSVC warning "local variable
1258         'fd' used without having been initialized".
1259
1260 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1261
1262         * BufferView_pimpl.C: revert accidental commit.
1263
1264 2005-02-14  André Pönitz  <poenitz@gmx.net>
1265
1266         * dociterator.[Ch]: new member forwardPosNoDescent(),
1267         which doesn't enter nested insets.
1268         * text2.C (setFont): use forwardPosNoDescent() instead
1269         of ForwardPos() (fixes crash on font change).
1270
1271 2005-02-13  Angus Leeming  <leeming@lyx.org>
1272
1273         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1274         only if lyxrc.path_prefix is not empty.
1275
1276 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1277
1278         * bufferparams.C (readGraphicsDriver): prevent crash
1279
1280 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1281
1282         * text2.C (setCounter): check for inInset() == 0
1283
1284 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1285
1286         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1287         but use update() to get correct screen display; use convert
1288         instead of istringstream.
1289         (getStatus): handle LFUN_GOTO_PARAGRAPH
1290
1291         * lyxfunc.C (dispatch, getStatus): do not handle
1292         LFUN_GOTO_PARAGRAPH here.
1293
1294 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1295
1296         * text3.C (dispatch): size() -> depth()
1297
1298         * text2.C: remove some debug output
1299
1300         * paragraph.C: ws changes only
1301
1302         * lyxfunc.C (getStatus): size() -> depth()
1303
1304         * dociterator.h (clear, push_back, pop_back, internalData,
1305         operator[], resize, empty): new functions
1306         Make StableDocIterator and operator== be friends. Don't inherit
1307         from std::vector use a privat class variable slices_ instead.
1308         Modify to fit.
1309
1310         * dociterator.C: update because of not inheriting from std::vector
1311         anymore. Call explictly to slices_ instead. Use depth() instead of
1312         size() and top() instead of back()
1313
1314         * cursor.C: chagne size() -> depth and back() -> top(). Also
1315         remove some direct operator[](i) calls in favour of foo[i]
1316         (getFont): remove some dead code
1317
1318         * bufferview_funcs.C (coordOffset): size() -> depth()
1319
1320         * buffer.C: ws changes only
1321
1322         * CutAndPaste.C (eraseSelection): back() -> top()
1323
1324         * BufferView_pimpl.C (selectionRequested): back() -> top()
1325
1326         * BufferView.C (setCursor): size() -> depth()
1327
1328 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1329
1330         * text3.C (cursorPrevious): return true if depm changed something
1331         (cursorNext): ditto
1332         (dispatch): rename sl to oldTopSlice, remove moving use the new
1333         NoUpdate func attrib instead. Make sure that needsUpdate is set
1334         for function that have NoUpdate, but where depm might have changed
1335         the buffer anyway.
1336
1337         * text2.C (cursorLeft): make us return true if depm changed
1338         something
1339         (cursorRight): ditto
1340         (cursorUpParagraph): ditto
1341         (curosrDownParagraph): ditto
1342         (cursorUp, cursorDown): ditto, make sure to read comments in code
1343         (deleteEmptyParagraphMechanism): remove an assert, also return
1344         true if just a single char was deleted.
1345
1346         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1347         cursor that we modify, to avoid modifying an active cursor before
1348         we call setCursor. This allows depm to run. Also return true if
1349         depm deleted something.
1350
1351         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1352         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1353         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1354         something was changed in the buffer because of them (ie. depm run)
1355
1356         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1357         debug messages. Make update by default be false. Make sure that
1358         the result of update is retained throught several calls down to
1359         dispatch.
1360
1361         * LyXAction.h: add a new func_attrib: NoUpdate
1362
1363         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1364         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1365         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1366         and LFUN_WORDLEFT
1367         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1368
1369 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1370
1371         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1372         bv_->owner(), bv_->buffer() by direct references to the private
1373         members.
1374         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1375         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1376         (fitCursor): center() is in BufferView::Pimpl.
1377         (getStatus, trackChanges, dispatch): no need for a temporary buf
1378         variable
1379         (fitCursor, workAreaDispatch): use workarea().workheight()
1380
1381 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1382
1383         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1384
1385 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1386
1387         * buffer.C: format up to 241.
1388         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1389         break if pasting into ERT
1390         * lyxfunc.C (getStatus): suppress mathpanel and
1391         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1392
1393 2005-02-01  Angus Leeming  <leeming@lyx.org>
1394
1395         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1396
1397 2005-02-01  Angus Leeming  <leeming@lyx.org>
1398
1399         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1400         calling fs::is_directory().
1401
1402 2005-01-31  Angus Leeming  <leeming@lyx.org>
1403
1404         * lyx_main.C (priv_exec): specify explicitly the relative location
1405         of the top level build directory when run in-place.
1406
1407 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1408
1409         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1410         LyXText containing the cursor, not the top-level one.
1411
1412         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1413         true.
1414         (insertStringAsLines): rename par to pit; use temporary variable
1415         par to hold a Paragraph; do not store par.layout() in a variable,
1416         since the pointer may die when breaking paragraphs; pass pars to
1417         breakParagraph() instead of Buffer::paragraphs().
1418
1419 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1420
1421         * lyxlex_pimpl.h: #include <fstream>.
1422
1423         * BufferView.[Ch] (getLyXText): add a const version.
1424
1425         * BufferView_pimpl.C: add debug aids.
1426
1427         * RowList_fwd.h:
1428         * buffer.h:
1429         * lyxrow.h:
1430         * paragraph_funcs.h: add commentary explaining what the class does.
1431
1432
1433         * coordcache.[Ch]: add lots of commentary.
1434         (startUpdating, doneUpdating): debug aids.
1435         (arrays, insets, parPos, getParPos): accessors to private data.
1436
1437         * cursor_slice.[Ch] (text): add a const version.
1438         * dociterator.[Ch] (text, innerText): add const versions.
1439
1440         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1441         bool.
1442
1443         * paragraph.C (getRow, pos2ros): add asserts.
1444
1445         * paragraph.h: add commentary. Lots of.
1446
1447         * paragraph.[Ch] (metrucs, draw): removed.
1448
1449         * cursor.C:
1450         * rowpainter.[Ch]: const-correct changes.
1451
1452         * text.C: various obvious clean-ups. Removal of ancient cruft.
1453         Bug fixes, even.
1454
1455 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1456
1457         * vc-backend.C (find_file): rewrite to use boost.filesystem
1458         (scanMaster): ditto
1459
1460         * main.C (main): set default name check for boost.filesystem to
1461         no check
1462
1463         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1464         (open): ditto
1465         (doImport): ditto
1466         (actOnUpdatedPrefs): ditto
1467
1468         * lyx_main.C (init): rewrite to use boost.filesystem
1469         (queryUserLyXDir): ditto
1470
1471         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1472         (getContentsOfAsciiFile): ditto
1473
1474         * lastfiles.C (readFile): rewrite to use boost.filesystem
1475
1476         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1477
1478         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1479         (loadLyXFile): ditto
1480
1481         * buffer.C (Buffer): adjust for destroydir
1482         (getLogName): rewrite to use boost.filesystem
1483         (setFileName): ditto
1484         (save): use fs::copy_file (from fs_extras)
1485
1486         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1487
1488         * LaTeX.C (run): rewrite to use boost.filesystem
1489         (scanAuxFiles): ditto
1490         (handleFoundFile): ditto
1491
1492 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1493
1494         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1495
1496         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1497
1498 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1499
1500         * lyxlayout.[Ch]: change some vars from float to double
1501
1502         * buffer.C (readFile): make a local var const
1503
1504         * Several files: use convert<> instead of atoi,strToXXX and friends
1505
1506 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1507
1508         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1509         holds the contents of packages.lst. New functions getAvailable
1510         and isAvailable to parse and check that list, resp.
1511
1512         * LyXAction.C:
1513         * lfuns.h:
1514         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1515
1516         * bufferparams.[Ch]: new param output_changes.
1517
1518         * Buffer.C: increase file format to 240.
1519         Use output_changes and isVailable.
1520
1521         * changes.[Ch]:
1522         * paragraph.C:
1523         * paragraph_pimpl.C: Use output_changes and isVailable.
1524
1525 2005-01-23  Angus Leeming  <leeming@lyx.org>
1526
1527         * output_latex.C: #include "insetbibitem.h", rather than
1528         forward declare function bibitemWidest.
1529
1530 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1531
1532         * lyx_main.C (init): make it compile on the Mac.
1533
1534 2005-01-20  Angus Leeming  <leeming@lyx.org>
1535
1536         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1537         (setLyXMisc): (char string literal) != (char string literal) is
1538         performing a comparison on the addresses. Convert one operand
1539         explicitly to string to guarantee expected behaviour.
1540         From MSVC warning.
1541
1542 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1543
1544         * buffer.C:
1545         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1546
1547         * output_plaintext.C: remove unneeded #include gzstream.h.
1548
1549 2005-01-20  Angus Leeming  <leeming@lyx.org>
1550
1551         * SpellBase.h: rename some of the elements of the Result enum.
1552
1553         * aspell_local.h:
1554         * ispell.h:
1555         * pspell.h:
1556         * aspell.C (check):
1557         * ispell.C (check):
1558         * pspell.C (check): ditto
1559
1560 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1561
1562         * buffer.C: add #include <fstream>.
1563
1564         * lyx_main.C (init): Compile fix.
1565
1566         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1567
1568 2005-01-20  Angus Leeming  <leeming@lyx.org>
1569
1570         * mover.h: change commentary to reflect the changed meaning of
1571         the $$s placeholder.
1572
1573 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1574
1575         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1576
1577         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1578
1579 2005-01-20  Angus Leeming  <leeming@lyx.org>
1580
1581         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1582         printing diagnostic data by not dereferecing an iterator past the
1583         end.
1584
1585 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1586
1587         * buffer.C (readHeader): use "&&" rather than "and".
1588
1589         * lyxserver.h (inPipeName, outPipeName): make these const.
1590
1591 2005-01-19  Angus Leeming  <leeming@lyx.org>
1592
1593         * lyx_main.C (error_handler, init): protect SIGHUP with
1594         #ifdef SIGHUP guards.
1595
1596 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1597
1598         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1599
1600 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1601
1602         * text.C (setHeightOfRow): add a margin at the top and bottom of
1603         the document (bug 1761)
1604
1605 2005-01-17  Angus Leeming  <leeming@lyx.org>
1606
1607         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1608         with "python ". Workaround for a brain-dead Windows.
1609
1610 2005-01-16  Angus Leeming  <leeming@lyx.org>
1611
1612         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1613         for MacOSX and Windows to use prependEnvPath.
1614         Strip out the hard-coded block to add elements to the PATH for
1615         MacOSX and replace it with a call to prependEnvPath using the
1616         contents of LyXRC::path_prefix.
1617         (queryUserLyXDir): strip out the code to run reconfigure, instead
1618         returning a boolean indicating the necessity to do so.
1619         (reconfigureUserLyXDir): contains the code to reconfigure the
1620         user support directory. Is now called after the various LyXRC data
1621         files have been read.
1622
1623         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1624
1625 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1626
1627         * converter.[Ch] (convert): take a new parameter try_default. Use
1628         a default converter (imagemagick) if try_default is true.
1629
1630 2005-01-13  Angus Leeming  <leeming@lyx.org>
1631
1632         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1633         os::cygwin_path_fix.
1634         (write): output LyXRC::cygwin_path_fix as necessary.
1635
1636 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1637
1638         * lyxrc.h:
1639         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1640
1641 2005-01-12  Angus Leeming  <leeming@lyx.org>
1642
1643         * lyx_main.C (init): set the PATH variable to include the
1644         directory containing the LyX binary when running on Mac or Windows.
1645
1646 2005-01-12  Angus Leeming  <leeming@lyx.org>
1647
1648         * lyx_main.C (init): remove cruft that purports to set the locale
1649         dir. It doesn't and is not needed anyway.
1650
1651 2005-01-10  Angus Leeming  <leeming@lyx.org>
1652
1653         * Makefile.am: remove the lyx_main.C special casing.
1654
1655         * BufferView_pimpl.C:
1656         * bufferlist.C:
1657         * exporter.C:
1658         * lyx_cb.C:
1659         * lyx_main.C:
1660         * lyxfunc.C:
1661         * messages.C: use support/package.h to provide the paths to the
1662         various directories used by LyX.
1663
1664 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1665
1666         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1667         layout if pasting into an empty paragraph)
1668
1669 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1670
1671         * tex-accent.C: add <string>
1672
1673 2005-01-06  José Matos  <jamatos@lyx.org>
1674
1675         * ParagraphParameters.C (write): put every parameter in its own line.
1676         * paragraph.C (write): reduce number of consecutive empty lines exported.
1677         * buffer.C (LYX_FORMAT): increase file format to 239.
1678
1679 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1680
1681         * everywhere: change support/tostr.h -> support/convert.h
1682
1683         * tabular.C: make all write_attributes templates, tostr -> convert
1684
1685         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1686         (emptyTag): and -> &&, and fix type for ret from getChar
1687         (getFirstWord): fix type for ret from getChar
1688         (onlyText): and -> &&
1689         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1690         getChar
1691
1692         * toc.C (goTo, action):
1693         * text3.C (dispatch):
1694         * text.C (currentState):
1695         * tex-accent.C (DoAccent):
1696         * sgml.C:
1697         * lyxrc.C:
1698         * lyxfunc.C (menuNew):
1699         * lyxfinc.C (replace):
1700         * counters.C (laberItem):
1701         * bufferview_funcs.C (font2string):
1702         * bufferparams.C (writeFile):
1703         * buffer.C (readFile):
1704         * Spacing.C (set):
1705         * MenuBackend.C: tostr -> convert
1706
1707         * LaTeX.C (runMessage): fix format
1708         (scanAuxFiles): tostr -> convert
1709
1710         * BufferView_pimpl.C (savePosition): fix format
1711         (restorePosition): ditto
1712         (dispatch): ditto
1713
1714 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1715
1716         * Spacing.[Ch]: New method getValueAsString().
1717
1718         * Spacing.[Ch]:
1719         * bufferparams.C:
1720         * ParagraphParameters.C:
1721         * lyxlayout.C:
1722         * text.C:
1723         * text3.C: store/read spacing value as string.
1724
1725         * rowpainter.C: change float value (spacing_val) to double.
1726
1727         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1728         broken custom document spacing).
1729
1730 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1731
1732         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1733         namespace, also more use of temp references and const
1734
1735         * cursor.[Ch] (getStatus): move to lyxfunc.C
1736
1737         * bufferparams.C: reformat slightly
1738
1739         * bufferview_funcs.C (font2string): constify arg
1740
1741         * changes.C:
1742         * converter.C:
1743         * counters.C:
1744         * bufferlist.C:
1745         * buffer_funcs.C: (many funcs): constify arg on function
1746         definitions, also make more local vars const, also add ASSERTS on
1747         pointer args.
1748
1749         * buffer.C (LYX_FORMAT): put const in correct place
1750         (many funcs): constify arg on function definitions, also make
1751         more local vars const
1752
1753         * aspell_local.h: remove "struct" from typdef setup
1754
1755         * aspell.C (check): make word_ok const
1756         (nextMiss): simplify slightly
1757         (error): ditto
1758
1759 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1760
1761         * lyxrc.[Ch]: store all float values as strings.
1762         use int (not float) for lyxrc.dpi.
1763
1764 2005-01-04  Angus Leeming  <leeming@lyx.org>
1765
1766         * lyx_cb.C (Reconfigure):
1767         * lyx_main.C (queryUserLyXDir):
1768         to run the <system_lyxdir>/configure correctly on Windows, prefix
1769         the path to the script with "sh " when generating the string that
1770         is passed to system().
1771
1772 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1773
1774         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1775
1776 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1777
1778         * lyxlength.C (asLatexString): get rid of setprecision
1779
1780 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1781
1782         * text2.C (setLayout): remove unused variable endpit.
1783         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1784
1785         * paragraph.C (onlyText): remove unused variable style.
1786
1787         * cursor.C (bruteFind): remove unused variables beg and end.
1788
1789         * Makefile.am (dist_noinset_DATA): not needed anymore
1790
1791         * cheaders/*: remove.
1792
1793 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1794
1795         * text3.C: fix LFUN_MATH_MODE.
1796
1797 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1798
1799         * buffer_funcs.C (countWords): new function. Counts words between
1800         two iterators.
1801
1802         * BufferView_pimpl.C (getStatus, dispatch): handle
1803         LFUN_WORDS_COUNT.
1804
1805         * LyXAction.C (init):
1806         * lfuns.h: add LFUN_WORDS_COUNT.
1807
1808 2004-12-19  Angus Leeming  <leeming@lyx.org>
1809
1810         * buffer.C (save): s/slashify_path/internal_path/.
1811
1812 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1813
1814         * lyxfind.C (findChange): do not search for end of pars, because
1815         the change tracker cannot handle this (fixes bug 1719).
1816
1817 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1818
1819         * paragraph.[Ch] (autoBreakRows): remove
1820
1821         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1822
1823         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1824         avoid using the paragraph one
1825
1826         * text2.C (LyXText, insertStringAsLines): adjust
1827
1828 2004-12-16  Angus Leeming  <leeming@lyx.org>
1829
1830         * bufferlist.C:
1831         * lyx_main.C:
1832         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1833
1834 2004-12-14  Angus Leeming  <leeming@lyx.org>
1835
1836         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1837
1838         * bufferlist.C (emergencyWrite):
1839         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1840         GetEnvPath("HOME").
1841
1842 2004-12-14  Angus Leeming  <leeming@lyx.org>
1843
1844         * main.C: (main): no longer pass pointers to os::init.
1845
1846 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1847
1848         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1849         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1850
1851 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1852
1853         * lyxfunc.C:
1854         * text3.C: remove selection_possible global flag
1855
1856 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1857
1858         * text2.C (getSelectionSpan): remove
1859         (changeDepth, changeDepthAllowed): adjust
1860
1861 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1862
1863         * Makefile.am (BOOST_LIBS): use boost variables
1864
1865 2004-12-03  José Matos  <jamatos@lyx.org>
1866
1867         * buffer.C: format up to 238.
1868
1869 2004-12-03  José Matos  <jamatos@lyx.org>
1870
1871         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1872
1873 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1874
1875         * cursor.C (goUpDown): remove call to idxUpDown2
1876
1877 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1878
1879         * tabular.[Ch]: use size_t-like types for cell, row and column
1880         indices
1881
1882 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1883
1884         * lyxfunc.C (getStatus): do not lose previous information when
1885         calling BufferView::getStatus; do not set a default "Command
1886         disabled" message at the beginning, but just before returning.
1887
1888 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1889
1890         * cursor.h (getStatus): add better comment from src/cursor.C
1891
1892 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1893
1894         * text3.C (getStatus): return false when the lfun is not handled
1895
1896 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1897
1898         * broken_headers.h: remove
1899
1900         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1901
1902 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1903
1904         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1905         offset_ref accessors
1906
1907         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1908         top_y_, merge fitcursor with update
1909         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1910         coord scheme
1911         (metrics): introduce
1912         (workAreaDispatch): adapt to new coord scheme
1913         (redoCurrentBuffer): remove
1914
1915         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1916
1917         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1918         CurStatus enum.
1919
1920         * coordcache.[Ch]: add paragraph cache and helpers
1921
1922         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1923         adjust everywhere
1924
1925         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1926         (targetX, setTargetX): introduce
1927
1928         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1929         baseline -> ascent, as the rest of lyx
1930
1931         * lyxtext.h: remove redoParagraphs, updateParPositions,
1932         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1933         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1934         have ascent/descent (ascent is ascent of first par)
1935
1936         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1937         step of BufferView
1938
1939         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1940
1941         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1942
1943         * pariterator.C: fix infinite loop introduced in par->pit renaming
1944
1945         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1946         in insets and LyXText, draw two off-screen paragraphs using
1947         NullPainter, and adapt to new coord scheme
1948
1949         * text.C:
1950         * text2.C:
1951         * text3.C: adapt lfun handlers to the new coord scheme, which
1952         means: there's only guaranteed coord information for onscreen pars
1953         plus one above and one below. This implies that one can do search
1954         from y coordinates in the range [-1,workHeight]
1955
1956 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1957
1958         * rename a lot of InsetOld to InsetBase
1959
1960 2004-11-25  Angus Leeming  <leeming@lyx.org>
1961
1962         * BufferView_pimpl.C:
1963         * lyx_cb.C:
1964         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1965
1966 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1967
1968         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1969         call BufferView::getStatus if LCursor::getStatus did nothing
1970         (setStatusMessage, getStatusMessage): removed.
1971
1972         * FuncStatus.C (message): new methods. Used to provide an error
1973         message indicating why a command is disabled.
1974         (clear, |=, FuncStatus): update for message.
1975
1976 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1977
1978         * lyxfunc.C (dispatch): always call sendDispatchMessage
1979
1980 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1981
1982         * BufferView.C:
1983         * BufferView_pimpl.C:
1984         * CutAndPaste.C:
1985         * FontIterator.C:
1986         * buffer.C:
1987         * cursor.C:
1988         * cursor_slice.[Ch]:
1989         * dociterator.[Ch]:
1990         * lyxfind.C:
1991         * paragraph_funcs.C:
1992         * pariterator.C:
1993         * rowpainter.C:
1994         * text.C:
1995         * text2.C:
1996         * text3.C:
1997         * undo.C: par->pit renaming
1998
1999 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2000
2001         * tabular.C (cellstruct): use initialization, store a shared_ptr
2002         to insettext instead of the insettext directly, adjust to fit.
2003         (operator=):  new function
2004         (swap): new function
2005         (rowstruct): use initialization
2006         (columnstruct): use initialization
2007         (ltType): use initialization
2008
2009
2010         * lyxlength.h (swap): new function
2011
2012         * LColor.[Ch] (operator=): use the common semantics
2013
2014 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2015
2016         * lyxfind.C (findNextChange): update the bufferview after setting
2017         the selection.
2018
2019 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2020
2021         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2022         number of InsetOptArgs has already been inserted.
2023
2024         * output_latex.C (latexOptArgInsets): new method. This outputs all
2025         the optarg insets, up to the limit defined in the layout file.
2026         (optArgInset): removed
2027         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2028
2029 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2030
2031         * paragraph.C (isLetter): remove special spellchecker-related
2032         code; return true also for digits
2033         (isWord, isKomma): remove
2034
2035         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2036         * lyxfind.C (MatchString()): use isLetter instead of isWord
2037
2038 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2039
2040         * pariterator.h (operatir=): comment out un-implemented member
2041         function.
2042
2043         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2044         static cast.
2045
2046 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2047
2048         * lyxfont.h: include LColor.h to satisfy concept checks.
2049
2050 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * pariterator.h: add typdefs for value_type, difference_type,
2053         pointer and reference to satisfy concept checks. Also add default
2054         constructor for same reason.
2055
2056         * pariterator.C (operator++): add post-increment operator to
2057         satisfy concept checks.
2058
2059         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2060         checks.
2061
2062         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2063
2064         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2065         checks. Also rename base_type to BaseType to follow naming
2066         standard better.
2067
2068         * FloatList.h: include Floating.h to satisfy concept checks.
2069
2070 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2071
2072         * lyxfunc.C (getStatus): when the origin of the request is menu or
2073         toolbar, and the LyXView does not have focus, do as if there was
2074         no buffer (bug 1720)
2075
2076         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2077         FuncRequest to individual entries of LFUN_SEQUENCE
2078
2079 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2080
2081         * output_latex.C (TeXOnePar): override runparams.moving_arg
2082         according to the needprotect value of the current paragraph (bug
2083         1739)
2084
2085         * paragraph.C (simpleTeXOnePar): no need to override
2086         runparams.moving_args here
2087
2088 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2089
2090         * vspace.C: fix off-by-one-error, related to fix #1682
2091
2092 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2093
2094         * lengthcommon.C: a more general fix for bug 1682
2095
2096 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2097
2098         * text.C (backspace): fix crash
2099
2100 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2101
2102         * format.[Ch] (getFormatFromFile): new method
2103         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2104
2105 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2106
2107         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2108
2109 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2110
2111         * lyxfunc.C (dispatch): remove the verbose argument
2112         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2113         instead
2114
2115         * kbmap.C (defkey): set the origin of func to KEYBOARD
2116
2117         * MenuBackend.C (MenuItem):
2118         * ToolbarBackend.C (add): set the origin of func to UI
2119
2120         * funcrequest.[Ch]: add origin member, which indicates which part
2121         of LyX requests an action
2122
2123 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2124
2125         * converter.C (move): don't lie in the error message
2126         * converter.h (isReachable, move): document
2127
2128 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2129
2130         * buffer.C: remove unused using lyx::support::atoi
2131         * paragraph_funcs.C: ditto
2132
2133 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2134
2135         * bufferlist.C (exists): use bind and equal_to instead of
2136         compare_memfun
2137         (getBuffer): ditto
2138         * lyxtextclasslist.C (NumberOfClass): ditto
2139
2140         * cursor.C (insert): use for_each instead of explicit for loop
2141
2142         * bufferlist.C (getFileNames): use std::transform and
2143         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2144
2145         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2146         for loop
2147
2148         * buffer.C (changeLanguage): use for_each instead of explicit for
2149         loop
2150         (hasParWithID): implement using getParFromID
2151
2152         * LaTeXFeatures.C: ws change only
2153
2154         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2155         to cleanup a bit.
2156
2157         * BufferView_pimpl.C (trackChanges): use for_each instead of
2158         expilicit for loop
2159
2160 2004-11-04  André Pönitz  <poenitz@gmx.net>
2161
2162         * undo.h:
2163         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2164
2165         * dociterator.C (asDocIterator): use hard assert again.
2166
2167 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2168
2169         * lyxlength.C (asLatexString): rewrite so that it does not use
2170         snprintf anymore
2171
2172 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2173
2174         * text3.C (specialChar, dispatch): make sure cursor moves to the
2175         right after inserting an inset
2176
2177 2004-11-02  José Matos  <jamatos@lyx.org>
2178
2179         * output_docbook.C (docbook):
2180         * paragraph.C (getID):
2181         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2182         garantee that the output is always legal.
2183
2184         * tabular.C (docbook):
2185         * outputprams.[Ch]: remove mixed contents.
2186
2187 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2188
2189         * text2.C (setCounter): prevent endless loop
2190
2191 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2192
2193         * exporter.C (copyFile): use the mover instead of support::copy()
2194         * exporter.C (Export): pass format and latex name to copyFile()
2195         * exporter.h (addExternalFile): document
2196         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2197
2198 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2199
2200         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2201
2202 2004-10-30  José Matos  <jamatos@lyx.org>
2203
2204         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2205         text and no inset or font change. This allows to use CDATA
2206         sections just for the whole paragraph.
2207
2208 2004-10-30  José Matos  <jamatos@lyx.org>
2209
2210         * paragraph.C (getFirstWord): remove unused variable.
2211
2212 2004-10-30  José Matos  <jamatos@lyx.org>
2213
2214         * paragraph.C (getFirstWord): the content should always be escaped
2215         there.
2216         (simpleDocBookOnePar):
2217         * output_docbook.C (makeEnvironment): replace reference to CDATA
2218         to style pass_thru.
2219
2220 2004-10-30  José Matos  <jamatos@lyx.org>
2221
2222         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2223
2224 2004-10-30  José Matos  <jamatos@lyx.org>
2225
2226         * output_docbook.C (makeParagraphs):
2227         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2228         standard paragraph has only a given type of content drop the wrapper.
2229
2230 2004-10-29  José Matos  <jamatos@lyx.org>
2231
2232         * output_docbook.C (makeEnvironment):
2233         * sgml.C (openTag):
2234         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2235
2236 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2237
2238         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2239         (cleanID): sanitize any id.
2240
2241 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2242
2243         * buffer.C, lyxlex_pimpl.C:
2244         * lyxlex_pimpl.C (setFile):
2245         s/getExtFromContents/getFormatFromContents/
2246
2247 2004-10-28  José Matos  <jamatos@lyx.org>
2248
2249         * output_docbook.C (makeEnvironment): move id to broadest possible
2250         scope.
2251
2252         * sgml.C (openTag): apply substitution of <> for all attributes.
2253
2254 2004-10-28  José Matos  <jamatos@lyx.org>
2255
2256         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2257         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2258         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2259
2260         * sgml.[Ch]: new version for open and closeTag for paragraph and
2261         for strings. Now they handle the ids of paragraphs.
2262
2263 2004-10-26  Angus Leeming  <leeming@lyx.org>
2264
2265         * Makefile.am: add mover.[Ch].
2266
2267         * converter.C (convert, move): use the new Movers to move external
2268         files to the temp directory.
2269
2270         * lyx_main.C (init): ensure that the global system_movers data
2271         is initialised.
2272
2273         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2274         preferences file.
2275
2276         * mover.[Ch]: new files, defining a Mover as a utility to move an
2277         external file between directories and, if necessary, manipulate this
2278         file using a helper script.
2279
2280 2004-10-25  José Matos  <jamatos@lyx.org>
2281
2282         * output_docbook.C (makeCommand): merge two if's that tested the
2283         same condition.
2284
2285 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2286
2287         * sgml.C (escapeString): fix warning in a better way
2288
2289 2004-10-25  José Matos  <jamatos@lyx.org>
2290
2291         * sgml.C (escapeString): import the require boosts header file for
2292         tie, and avoid a signed unsigned comparison.
2293
2294 2004-10-25  José Matos  <jamatos@lyx.org>
2295
2296         * sgml.h: add #include <string>
2297
2298 2004-10-25  José Matos  <jamatos@lyx.org>
2299
2300         * sgml.[Ch] (escapeString): new function to escape all the string.
2301
2302 2004-10-24  José Matos  <jamatos@lyx.org>
2303
2304         * paragraph.[Ch] (getFirstWord): new function to get the first
2305         word. Useful for description.
2306         (simpleDocBookOnePar): remove depth argument, add another that
2307         says where to start the paragraph.
2308
2309         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2310         use the new functions to fix cleanly the support for descriptions.
2311
2312 2004-10-24  José Matos  <jamatos@lyx.org>
2313
2314         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2315         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2316         * output_linuxdoc.C (linuxdocParagraphs):
2317         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2318         add buffer as argument.
2319
2320 2004-10-24  José Matos  <jamatos@lyx.org>
2321
2322         * output_docbook.C (makeEnvironment, searchEnvironment): place
2323         CDATA inside paragraphs and fix scope for listitems.
2324
2325 2004-10-24  José Matos  <jamatos@lyx.org>
2326
2327         * output_docbook.C: remove using statement for stack.
2328
2329 2004-10-23  José Matos  <jamatos@lyx.org>
2330
2331         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2332         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2333         docbook. The new scheme is recursive and makes use of iterators, the
2334         same as latex export works.
2335         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2336         directly with the paragraph contents. This code was moved up to
2337         output_docbook.C (docbookParagraphs).
2338         * sgml.C (openTag, closeTag): removed unneeded newlines.
2339         (closeEnvTags) removed.
2340
2341 2004-10-23  André Pönitz  <poenitz@gmx.net>
2342
2343         * undo.C (textUndoOrRedo):
2344         * dociterator.C (asDocIterator): work around crash
2345
2346         * cursor.C (getStatus): replace ASSERT by more verbose error message
2347           and manual correction of the problem. Should increase stability
2348           while providing more sensible information.
2349
2350 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2351
2352         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2353
2354         * bufferlist.C (previous, next): new methods
2355
2356         * lfuns.h:
2357         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2358
2359 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2360
2361         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2362         entities to preamble.
2363
2364 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2365
2366         * messages.C (Pimpl): strip off translation context information
2367
2368 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2369
2370         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2371         the cursor is correct (bug 1694)
2372
2373 2004-10-13  José Matos  <jamatos@lyx.org>
2374
2375         * output_docbook.C (docbookParagraphs): fix closing tags in the
2376         end of the document.
2377
2378 2004-10-09  José Matos  <jamatos@lyx.org>
2379
2380         * buffer.C: format up to 237.
2381         * bufferparams.C (write): use tostr to convert booleans to strings.
2382
2383 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2384
2385         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2386
2387 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2388
2389         * LaTeX.C: implement use of babel language in xindy.
2390
2391 2004-10-05  José Matos  <jamatos@lyx.org>
2392
2393         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2394         Add new translators to help reading and writing the lyx file.
2395
2396 2004-10-05  José Matos  <jamatos@lyx.org>
2397
2398         * ParagraphParameters.C (read):
2399         * text.C (readParToken): replace nexToken by more appropriate lex
2400         methods.
2401
2402 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2403
2404         * LaTeX.C (runMakeIndex):
2405         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2406         (usually 'makeindex') configurable.
2407
2408         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2409         with a variable rather than with a number.
2410
2411 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2412
2413         * output_latex.C (TeXOnePar): make sure font setting is the first
2414         thing that gets output (and the last at the end). Should fix bug
2415         1404.
2416
2417 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2418
2419         * pch.h: use proper signal include
2420
2421         * LaTeX.h: Use preferred calling of Boost.Signal
2422         * buffer.h: ditto
2423
2424 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2425
2426         * pch.h: dont include <boost/function/function0.hpp>
2427
2428         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2429
2430         * paragraph_pimpl.h: remove usage of ShareContainer
2431
2432         * paragraph_pimpl.C: remove initialization of ShareContainer.
2433
2434 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2435
2436         Fix bug #1666
2437
2438         * BufferView.C (putSelectionAt): change the semantics when
2439         backwards == true: now, this just swaps cursor and anchor wrt the
2440         forward case
2441
2442         * BufferView.h (putSelectionAt): add some documentation
2443
2444         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2445         make sure backwardChar is done at least once (to avoid getting
2446         stuck)
2447         (findNextChange): use putSelectionAt in the forward direction
2448         (operator()): use Paragraph::isWord
2449
2450 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2451
2452         * Spacing.C (set): c_str fix
2453
2454 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2455
2456         * lyx_cb.C (Reconfigure): quote the name of configure script in
2457         case it contains spaces
2458
2459 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2460
2461         * client: new dir
2462
2463         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2464         (BOOST_LIBS): use top_buildir when looking for the file
2465
2466 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2467
2468         * pch.h: do not use include boost/format.hpp, multiple symbols
2469                 will result (gcc bug)
2470
2471
2472 2004-08-23  José Matos  <jamatos@lyx.org>
2473
2474         * bufferparams.C (readToken): fix reading of the author field.
2475
2476 2004-08-20  José Matos  <jamatos@lyx.org>
2477
2478         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2479
2480 2004-08-20  José Matos  <jamatos@lyx.org>
2481
2482         * lyxlex.[Ch] (findToken): remove function.
2483
2484         * ParagraphParameters.C (findToken):
2485         * bufferparams.C (findToken): replace call for previous function
2486         with local copy. This local function has one more argument, the
2487         read string argument.
2488
2489 2004-08-16  José Matos  <jamatos@lyx.org>
2490
2491         * ParagraphParameters.C (write):
2492         * Spacing.C (writeFile):
2493         * bufferparams.C (writeLaTeX):
2494         * lyx_cb.C (Reconfigure):
2495         * paragraph.C (write):
2496         * tabular.C (write): remove unnecessary space at end of line.
2497
2498
2499 2004-08-16  José Matos  <jamatos@lyx.org>
2500
2501         * text.C (readParagraph): remove debug message.
2502
2503 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2504
2505         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2506         crash
2507
2508         * output_plaintext.C (asciiParagraph): set depth correctly
2509
2510         * outputparams.h: add member depth
2511
2512         * paragraph_funcs.C (ownerPar): remove.
2513
2514         * text2.C (setCounter): remove first_pit; comment out some
2515         non-working code that uses ownerPar
2516
2517         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2518         uses ownerPar
2519
2520 2004-08-16  José Matos  <jamatos@lyx.org>
2521
2522         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2523         For the same level of importance use the same chanel to report problems.
2524         (read): add code to deal with \begin_body and \end_body.
2525
2526
2527 2004-08-15  José Matos  <jamatos@lyx.org>
2528
2529         * lyxlex.C (getString): fix comment, buffer::readBody is now
2530         buffer:readDocument.
2531
2532         * tex-strings.C (string_papersize): Default -> default,
2533         Custom -> custom, for consistency with other options.
2534
2535 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2536
2537         * pch.h: new file
2538
2539         * Makefile.am: support pch
2540
2541 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2542
2543         * text.C (readParToken): remove the static LyXFont variable and
2544         pass it as a parameter instead. This fixes a nasty bug where an
2545         inset will be inserted with a bad font in some situations
2546         (readParagraph): adapt
2547
2548         * text2.C (setCounter): reduce number of calls to pars_[pit]
2549
2550         * text.C (singleWidth): add an assert, fix a test
2551
2552         * rowpainter.C (paintText): reduce number of calls to singleWidth
2553
2554         * paragraph.C (isHfill):
2555         (isNewline): ws only
2556
2557 2004-08-14  André Pönitz  <poenitz@gmx.net>
2558
2559         * text.C:
2560         * text2.C:
2561         * rowpainter.C:
2562         * lyxtext.h (several functions): use a Paragraph & argument
2563         instead of par_type
2564
2565 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2566
2567         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2568
2569         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2570
2571         * text.C (singleWidth): remove useless test
2572
2573 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2574
2575         * tabular.h: remove bogus comments
2576
2577         * tabular.C (getDescentOfRow):
2578         (isPartOfMultiColumn): add assertions
2579
2580         * lyxlength.C (inPixels): remove #warning
2581
2582 2004-08-14  André Pönitz  <poenitz@gmx.net>
2583
2584         * paragraph.h: inline getChar()
2585
2586         * BufferView.h: remove unused declarations
2587
2588 2004-08-14  José Matos  <jamatos@lyx.org>
2589
2590         * Buffer.[Ch] (readDocument): new name for old readBody.
2591         * Buffer.C: new file format, new keywords: \begin_document,
2592         \begin_header, \begin_body, \end_body.
2593
2594         * bufferparams.C (readToken): replace all calls to lex.nextToken
2595         by lex.next(). Do the same to eatLine except where really needed.
2596
2597         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2598         line when writing to the lyx file.
2599
2600         * output_plaintext.C (asciiParagraph): fix Bibliography style
2601         handling.
2602
2603         * text.C (read): fix end of file handling.
2604
2605 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2606
2607         * MenuBackend.C (Menu::operator[]): new method to access
2608         individual menu items
2609         (Menu::hasFunc): new method. search for an item that corresponds
2610         to a given func
2611         (MenuBackend::specialMenu): new method
2612         (MenuBackend::expand): if a special menu has been set, skip
2613         entries whose func() appears in this menu
2614
2615 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2616
2617         * text3.C: use Debug::DEBUG a bit more
2618
2619         * text.C (leftMargin): try to simplify a tiny bit change var x to
2620         l_margin. Dont output the wide margins always.
2621         (rightMargin): no margin in inner texts
2622
2623         * rowpainter.h (nestMargin): new func
2624         (changebarMargin): new func
2625         (rightMargin): new func
2626
2627         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2628         now functions.
2629         (paintLast): ditto
2630
2631         * factory.C (createInset): modify setDrawFrame
2632
2633         * cursor.C: use Debug::DEBUG a bit more
2634
2635 2004-08-14  André Pönitz  <poenitz@gmx.net>
2636
2637         * coordcache.[Ch]:
2638         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2639         cache for all insets in (at least partially) visible (top-level)
2640         paragraphs.
2641
2642         * BufferView_pimpl.C: reset external coord cache before every update.
2643         This means the coord cache only contains valid entries.
2644
2645 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2646
2647         bug 1096
2648         * BufferView_pimpl.C (getInsetByCode): move function out of class
2649         and change in to a template in anon namespace. Also fix to do what
2650         suits us better.
2651
2652 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2653
2654         bug 1305
2655         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2656         of char
2657         (breakParagraph): rename par to par_offset and use a local
2658         reference. Add code to keep the language over a rebreak.
2659         (breakParagraphConservative): rename par to par_offset, use a
2660         local reference
2661         (mergeParagraph): ditto
2662         (outerHook): ditto
2663         (isFirstInSequence): ditto
2664         (outerFont): rename pit to par_offset
2665
2666         * paragraph.C: ws change
2667         * paragraph.h: ditto
2668         * text3.C: ditto
2669         * text.C: ditto
2670
2671 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2672
2673         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2674         treatment for ']'
2675
2676         * paragraph.C (simpleTeXOnePar): when we have a \item with
2677         optional argument, enclose the argument with curly brackets (in
2678         case it contains a closing square bracket)
2679
2680         * text2.C (editXY):
2681         * text2.C (editXY):
2682         * text3.C (checkInsetHit): constify
2683
2684 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2685
2686         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2687         documents (bug 1629)
2688
2689 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2690
2691         Fix toggling of collapsable insets with the mouse (bug 1558)
2692
2693         * lyxfunc.C (dispatch): adapt to LCursor changes
2694
2695         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2696         make sure that dispatch is not invoked twice
2697
2698         * cursor.C (needsUpdate): new method
2699         (dispatch): return void
2700         (result): new method, to access the DispatchResult of the cursor.
2701
2702 2004-08-13  José Matos  <jamatos@lyx.org>
2703
2704         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2705
2706 2004-08-13  André Pönitz  <poenitz@gmx.net>
2707
2708         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2709
2710         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2711           multiple cells
2712
2713 2004-08-12  André Pönitz  <poenitz@gmx.net>
2714
2715         * text3.C: take out the 'cursor right' form insertInset and only
2716         do it in those places when it is really needed. Fixes crash on
2717         C-m...
2718
2719 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2720
2721         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2722
2723         * BufferView_pimpl.C (setBuffer): initialize the current font of
2724         the underlying LyXText
2725
2726 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2727
2728         * kbsequence.C (print): use UI native formatting for menu
2729         shortcuts
2730
2731         * text.C (insertChar): call Paragraph::insertChar with a font
2732         argument (cosmetic)
2733
2734         * paragraph.C (insertInset, insertChar): the version that takes a
2735         LyXFont argument is now a wrapper around the other one (the
2736         opposite used to be true).
2737
2738         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2739         argument. Font setting is done in Paragraph now.
2740
2741 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2742
2743         * outputparams.h: add new members intitle and lang.
2744
2745         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2746         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2747
2748 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2749
2750         * text3.C (dispatch): remove special handling of button 4 and 5,
2751         it is now taken care of in the frontend code.
2752
2753 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2754
2755         * Spacing.h: add <string> (STLPort compile fix)
2756
2757 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2758
2759         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2760
2761 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2762
2763         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2764         to bool.
2765
2766         * converter.C (showMessage): inherit from unary_function, make
2767         operator() const.
2768
2769         * buffer.C (writeFile): initialize retval
2770
2771         * InsetList.h: rename private variable list to list_
2772         * InsetList.[Ch]: adjust accordingly.
2773
2774 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2775
2776         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2777         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2778         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2779         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2780         * ParagraphParameters.C, LaTeXFeatures.C: replace
2781         "support/std_sstream.h" with <sstream>
2782
2783 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2784
2785         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2786         * lyxsocket.C (LyXServerSocket): ditto
2787         (serverCallback): ditto
2788
2789 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2790
2791         * LaTeXFeatures.C: check release date when loading jurabib.
2792
2793 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2794
2795         * lyxserver.C (startPipe): call register_socket_callback
2796         (endPipe): call unregister_socket_callback
2797
2798 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2799
2800         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2801         (LyXServerSocket): register the callback
2802         (LyXServerSocket): unregister the callback
2803         (fd): delete function
2804         (serverCallback): improve error checking and setup the callbacks.
2805         (dataCallback): change arg to fd.
2806         (writeln): new func (copied fro the client socket) used for server
2807         write to client.
2808         (LyXDataSocket): simplify
2809         (~LyXDataSocket): close ann unregiser callback
2810         (server): delete function
2811         (fd): delete function
2812         (readln): small changes, improve some std::string usage
2813         (writeln): constify a bit
2814
2815 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2816
2817         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2818         Qt frontend
2819
2820 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2821
2822         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2823         after it has been populated
2824
2825 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2826
2827         * text2.C (insertInset): move cursor when inserting inset.
2828
2829 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2830
2831         * kbmap.C (findbindings): a couple of new methods. returns a
2832         container of kb_sequence objects. The real work is done by the
2833         private recursive version
2834         (printbindings): uses findbindings to print out a bracketed list
2835         of bindings (renamed from findbinding).
2836
2837         * MenuBackend.C (binding): use kb_keymap::findbindings
2838
2839         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2840
2841 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2842
2843         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2844
2845 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2846
2847         * paragraph.C (isWord): return true on insets that report
2848         isLetter().
2849
2850         * text.C (getWord): use Paragraph::isWord to decide what is in a
2851         word and what is not; fix bug 1609.
2852
2853 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2854
2855         * tex-strings.C: add "none" to string_paperpackages[], fixes
2856         off-by-one-error in the paperpackage selection.
2857
2858         * lyxlex.[Ch]:
2859         * tex-strings.[Ch]: char const * string[n]
2860         -> char const * const string[]
2861
2862 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2863
2864         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2865         command, return early.
2866
2867 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2868
2869         * debug.h: add DEBUG to enum and fix size of ANY.
2870
2871         * debug.C: add support for Debug::DEBUG
2872         (showTags): cast errorTags.level to unsigned int
2873
2874         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2875         (redoCurrentBuffer): ditto
2876         (updateScrollbar): ditto
2877         * cursor.C (dispatch): ditto
2878         * text2.C (setLayout): ditto
2879         (setFont): ditto
2880         (updateCounters): ditto
2881         (editXY): ditto
2882         (deleteEmptyParagraphMechanism): ditto
2883
2884 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2885
2886         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2887         annotations to cleanup the Makefile slightly.
2888
2889 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2890
2891         * lyxrc.C: do not set user_email to a default value but use empty
2892         instead. The entry used to be translated, which does not work
2893         since at the point where lyxrc is constructed there is no
2894         translation service available
2895
2896         * messages.C (getLocaleDir): remove and use directly
2897         lyx_localedir() instead
2898
2899 2004-06-02  Angus Leeming  <leeming@lyx.org>
2900
2901         Fix crash caused by dereferencing null pointer 'exportdata' in
2902         OutputParams by creating a new ExportData variable on the heap,
2903         storing it in a boost::shared_ptr.
2904         The crash was triggered when generating an Instant Preview
2905         of an external inset.
2906
2907         * Makefile.am: add outputparams.C
2908
2909         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2910         (c-tor): allocate memory to it.
2911
2912         * exporter.C (c-tor): associated changes.
2913
2914 2004-06-01  Angus Leeming  <leeming@lyx.org>
2915
2916         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2917         contains data before calling isInset(0). (Bug 1513.)
2918
2919 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2920
2921         * exporter.C (checkOverwrite): new method
2922         * exporter.C (copyFile): new method
2923         * exporter.C (Export): copy referenced files to the document dir
2924         * exporter.[Ch]: new class ExportedFile
2925         * exporter.[Ch]: new class ExportData. Contains currently the
2926         names of referenced external files
2927         * outputparams.h: add exportdata member.
2928
2929 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2930
2931         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2932         version.C-tmp
2933
2934 2004-05-19  Angus Leeming  <leeming@lyx.org>
2935
2936         * LaTeXFeatures.C:
2937         * ToolbarBackend.C:
2938         * bufferparams.C:
2939         * lyxfunc.C: small changes due to the introduction of namespace
2940         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2941
2942 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2943
2944         * text3.C (dispatch): supress update when only moving the cursor
2945         * cursor.C (selHandle): remove commented code
2946
2947 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2948
2949         * paragraph.C (startTeXParParams): correct column count
2950         * CutAndPaste.C (pasteSelection): remove const_cast
2951         * output_docbook.C (docbookParagraphs): remove const_cast
2952         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2953         const_cast and return ParagraphList::const_iterator
2954         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2955         * output_plaintext.C (writeFileAscii): remove const_cast
2956         * paragraph.[Ch] (simpleTeXOnePar): make const
2957         * paragraph_funcs.C (outerPar): use const iterators
2958         * paragraph_pimpl.C (validate): use const iterators
2959         * text.C (setHeightOfRow): use const iterators
2960
2961 2004-05-17  Angus Leeming  <leeming@lyx.org>
2962
2963         * lfuns.h:
2964         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2965
2966         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2967         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2968         if the citation engine has changed.
2969
2970 2004-05-14  José Matos  <jamatos@lyx.org>
2971
2972         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2973         if the textclass does not provide it. Have it different for sgml and
2974         xml.
2975         support the language of document.
2976         * output_docbook.C (docbookParagraphs):
2977         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2978         first anchor as the id of the paragraph, remove special case code.
2979         * sgml.C (escapeChar): escape only < & >.
2980
2981 2004-05-14  Angus Leeming  <leeming@lyx.org>
2982
2983         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2984         dependencies on src/frontends/controllers/biblio.h. Define a
2985         CiteEngine_enum wrapper class to enable the enum to be forward
2986         declared.
2987
2988 2004-05-12  Angus Leeming  <leeming@lyx.org>
2989
2990         * buffer.C: up LYX_FORMAT to 234.
2991         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2992         use_numerical_citations with a single biblio::CiteEngine cite_engine
2993         variable.
2994         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2995
2996 2004-05-13  José Matos  <jamatos@lyx.org>
2997
2998         * converter.h:
2999         * converter.C (Converter, readFlags): add xml member.
3000         * outputparams.h: add XML flavor.
3001         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3002
3003 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3004
3005         * lyxfunc.C (dispatch):
3006         (getStatus): fix handling of LFUN_SEQUENCE
3007
3008 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3009
3010         * debug.C (showLevel): do not forget the end-of-line marker
3011
3012 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3013
3014         * kbmap.C (read): do not stop parsing a bind file when an error
3015         occurs (bug 1575)
3016
3017 2004-04-29  Angus Leeming  <leeming@lyx.org>
3018
3019         * cursor.C:
3020         * factory.C:
3021         * pariterator.C:
3022         * text2.C: wrap a bunch of #warning statements
3023         inside #ifdef WITH_WARNINGS blocks.
3024
3025 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3026
3027         * buffer.C: increment format to 233.
3028
3029 2004-04-28  Angus Leeming  <leeming@lyx.org>
3030
3031         * BufferView_pimpl.C:
3032         * lyxfunc.C:
3033         * text3.C:
3034         s/updateToolbar()/updateToolbars()/
3035         s/Toolbar.h/Toolbars.h/
3036
3037 2004-04-28  Angus Leeming  <leeming@lyx.org>
3038
3039         * BufferView.[Ch] (c-tor):
3040         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3041         No longer passes these data to the WorkArea generator.
3042
3043 2004-04-28  Angus Leeming  <leeming@lyx.org>
3044
3045         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3046
3047 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3048
3049         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3050
3051 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3052
3053         * output_latex.C (TeXEnvironment): make sure that there is a line
3054         break before \end{foo} for the last paragraph of a document
3055         (TeXOnePar): if the paragraph is at the end of the document (or
3056         inset) and the language has to be reset, then make sure that the
3057         line break is _before_ the language command, not after (fixes bug
3058         1225); also make sure that the language reset command is the first
3059         thing after the paragraph (to ensure proper nesting of
3060         environments and thus fix bug 1404)
3061
3062 2004-04-21  John Levon  <levon@movementarian.org>
3063
3064         * ToolbarBackend.h:
3065         * ToolbarBackend.C: make "name" be a programmatic name
3066         and a gui_name field.
3067
3068         * lyxfunc.C: display the minibuffer on M-x
3069
3070 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3071
3072         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3073         (bug 1526)
3074
3075 2004-04-19  Angus Leeming  <leeming@lyx.org>
3076
3077         * BufferView_pimpl.C (setBuffer): changed preview interface.
3078
3079         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3080         possible values.
3081
3082 2004-04-19  John Levon  <levon@movementarian.org>
3083
3084         * BufferView_pimpl.C:
3085         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3086
3087 2004-04-05  Angus Leeming  <leeming@lyx.org>
3088
3089         * text.C (redoParagraphs): add call to updateCounters(), thereby
3090         fixing the missing "Figure #:" label from the caption of a
3091         figure float.
3092
3093 2004-04-13  Angus Leeming  <leeming@lyx.org>
3094
3095         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3096         cursor is clicked out of an inset.
3097
3098 2004-04-13  Angus Leeming  <leeming@lyx.org>
3099
3100         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3101         than an InsetOld one.
3102
3103 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3104
3105         * format.[Ch]: add editor to Format
3106         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3107         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3108
3109 2004-04-08  André Pönitz  <poenitz@gmx.net>
3110
3111         * metricsinfo.h: remove PainterInfo::width member
3112
3113 2004-04-08  Angus Leeming  <leeming@lyx.org>
3114
3115         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3116         "\providecommand" rather than "\newcommand", thereby preventing
3117         clashes with packages that define "\boldsymbol" themselves.
3118         Eg, beamer.
3119
3120 2004-04-08  Angus Leeming  <leeming@lyx.org>
3121
3122         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3123         thereby squashing an unnecessary warning.
3124
3125 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3126
3127         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3128         setBuffer()
3129
3130 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3131
3132         * BufferView.C (setCursor): call redoParagraph (some insets could
3133         have been opened)
3134         (putSelectionAt): remove the 'double update' trick
3135
3136         * BufferView_pimpl.C (fitCursor): call refreshPar
3137         (workAreaDispatch): remove an uneeded update call
3138         (dispatch): remove some manual update calls
3139
3140         * cursor.[Ch]: remove cached_y_, updatePos
3141         (selHandle): set noUpdate when appropriate
3142
3143         * lyxfunc.C (dispatch): track if we need an update
3144
3145         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3146
3147         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3148         (paintSelection): cheap optimization, do not call cursorX when not
3149         needed
3150         (paintPars): change signature
3151         (refreshPar): add
3152         (paintText): adjust
3153         (paintTextInset): adjust
3154
3155         * text.C: adjust
3156
3157 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3158
3159         * lengthcommon.C: compilation fix: remove explicit array size from
3160         unit_name[] and friends
3161
3162 2004-04-05  Angus Leeming  <leeming@lyx.org>
3163
3164         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3165
3166         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3167         present only for the preferences dialog.
3168         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3169
3170 2004-04-05  Angus Leeming  <leeming@lyx.org>
3171
3172         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3173         to enable the frontends to export changes to lyxrc correctly.
3174
3175         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3176
3177 2004-04-07  André Pönitz  <poenitz@gmx.net>
3178
3179         * cursor.[Ch] (selClear, adjust): remove math
3180
3181         * cursor_slice.C: more agressive assert
3182
3183         * lyxfunc.C:
3184         * BufferView_pimpl.C: rework mouse event dispatch
3185
3186         * dociterator.C:
3187         * paragraph.C:
3188         * text2.C:
3189         * text3.C: adjust
3190
3191 2004-04-05  André Pönitz  <poenitz@gmx.net>
3192
3193         * cursor.[Ch] (valign, halign...): remove unneeded functions
3194
3195 2004-04-05  Angus Leeming  <leeming@lyx.org>
3196
3197         * lyxlength.[Ch] (unit_name et al.): const-correct.
3198
3199 2004-04-05  Angus Leeming  <leeming@lyx.org>
3200
3201         * BufferView_pimpl.C:
3202         * buffer.C:
3203         * counters.C:
3204         * cursor.C:
3205         * lyxfunc.C
3206         * paragraph.C:
3207         * pariterator.C:
3208         * text.C:
3209         * text2.C:
3210         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3211
3212 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3213
3214         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3215
3216 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3217
3218         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3219         * BufferView_pimpl.[Ch] (getStatus)
3220         * BufferView.[Ch] (getStatus): add
3221         * lyxfunc.C (getStatus): move lfuns handled in
3222         BufferView::dispatch to te function above
3223         * Cursor.C (setSelection): set selection() = true
3224
3225 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3226
3227         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3228
3229 2004-03-31  Angus Leeming  <leeming@lyx.org>
3230
3231         * lyxfunc.C (dispatch): Fall through to the generic
3232         Dialogs::show("preamble").
3233
3234 2004-03-31  Angus Leeming  <leeming@lyx.org>
3235
3236         * lyxfunc.C (dispatch): Fall through to the generic
3237         Dialogs::show("spellchecker").
3238
3239 2004-03-31  Angus Leeming  <leeming@lyx.org>
3240
3241         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3242         preferences dialog.
3243
3244 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3245
3246         * BufferView.C
3247         * cursor.[Ch]
3248         * dociterator.[Ch]:
3249         * insetiterator.[Ch]:
3250         * lyxfind.C:
3251         * lyxfunc.C:
3252         * pariterator.[Ch]:
3253         * text2.C:
3254         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3255
3256 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3257
3258         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3259         insets where we are putting the cursor.
3260
3261 2004-03-31  Angus Leeming  <leeming@lyx.org>
3262
3263         * lfuns.h:
3264         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3265
3266         * lyxrc.[Ch] (read, write): overloaded member functions taking
3267         a std::[io]stream arguments.
3268
3269         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3270
3271 2004-03-31  Angus Leeming  <leeming@lyx.org>
3272
3273         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3274         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3275
3276         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3277         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3278
3279 2004-03-31  Angus Leeming  <leeming@lyx.org>
3280
3281         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3282         the LFUN_ALL_INSETS_TOGGLE code.
3283
3284 2004-03-30  Angus Leeming  <leeming@lyx.org>
3285
3286         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3287         has died. Fall through to the generic Dialogs::show("document").
3288
3289 2004-03-30  Angus Leeming  <leeming@lyx.org>
3290
3291         * lfuns.h:
3292         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3293         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3294
3295         * lyxfunc.C (getStatus, dispatch): define the actions for these
3296         lfuns. Little more than a cut and pste job from ControlDocument.C
3297
3298         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3299
3300 2004-03-30  Angus Leeming  <leeming@lyx.org>
3301
3302         * lfuns.h:
3303         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3304         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3305
3306         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3307         open/closed state of ollapsable insets. Usage:
3308
3309         all-inset-toggle <state> <name>, where
3310         <state> == "open" || "closed" || "toggle" and
3311         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3312
3313         * lyxtext.h, text2.C (toggleInset): removed.
3314
3315         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3316         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3317         now passes LFUN_INSET_TOGGLE to the found inset.
3318
3319         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3320         is now invoked as "all-insets-toggle toggle branch".
3321
3322 2004-03-30  Angus Leeming  <leeming@lyx.org>
3323
3324         * dociterator.C:
3325         * insetiterator.C:
3326         * pariterator.[Ch]: added/corrected header blurb.
3327
3328 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3329
3330         * dociterator.[Ch]: add an inset_ member
3331         (backwardPos): implemented
3332         (backwardPos, forwardPos): use inset_ when the stack is empty.
3333         (doc_iterator_begin, doc_iterator_end): implemented
3334         * pariterator.[Ch]: adjust, add begin, end
3335         * insetiterator.[Ch]: adjust, add begin, end
3336         * cursor.C:
3337         * document.C:
3338         * BufferView.C:
3339         * BufferView_pimpl.C:
3340         * CutAndPaste.C: adjust
3341
3342 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3343
3344         * buffer.C: increment file format to 232.
3345         * LaTeXFeatures.C: add bibtopic package.
3346         * bufferparams.[Ch]: param \use_bibtopic.
3347
3348         * lyxrc.[Ch]: add lyxrc bibtex_command
3349         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3350
3351         * buffer.C: increment file format to 231.
3352
3353 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3354
3355         * dociterator.C: implement forwardPar
3356         * iterators.[Ch]: remove, replaced by
3357         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3358         * BufferView.C:
3359         * BufferView_pimpl.C:
3360         * CutAndPaste.C:
3361         * buffer.C:
3362         * bufferview_funcs.C:
3363         * cursor.C:
3364         * lyxfind.C
3365         * lyxfunc.C
3366         * paragraph_funcs.C
3367         * toc.C:
3368         * Makefile.am: adjust
3369
3370 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3371
3372         * CutAndPaste.C (pasteSelection): fix 2 crashes
3373         (eraseSelection): fix a crash
3374         * paragraph_funcs.C: remove a warning
3375
3376 2004-03-28  Angus Leeming  <leeming@lyx.org>
3377
3378         * lfuns.h:
3379         * LyXAction.C (init): new LFUN_PRINT.
3380
3381         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3382
3383 2004-03-27  Angus Leeming  <leeming@lyx.org>
3384
3385         * lfuns.h:
3386         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3387
3388         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3389
3390 2004-03-27  Angus Leeming  <leeming@lyx.org>
3391
3392         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3393         insetlist always contains non-null pointers to insets.
3394
3395 2004-03-26  Angus Leeming  <leeming@lyx.org>
3396
3397         * src/BufferView_pimpl.C:
3398         * src/CutAndPaste.C:
3399         * src/buffer.C:
3400         * src/iterators.C:
3401         * src/output_plaintext.C:
3402         * src/outputparams.h:
3403         * src/paragraph_funcs.C:
3404         * src/rowpainter.C:
3405         * src/text.C:
3406         * src/text2.C:
3407         * src/frontends/controllers/ControlErrorList.C:
3408         * src/frontends/gtk/FileDialogPrivate.C:
3409         * src/frontends/gtk/GPainter.C:
3410         * src/frontends/gtk/GToolbar.C:
3411         * src/frontends/qt2/QRef.C:
3412         * src/mathed/math_scriptinset.C: squash compiler warnings.
3413
3414 2004-03-26  Angus Leeming  <leeming@lyx.org>
3415
3416         * ispell.C (LaunchIspell::start):
3417         * lyx_cb.C (AutoSaveBuffer::start):
3418         invoke run(DontWait) rather than runNonBlocking().
3419
3420 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3421
3422         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3423
3424 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3425
3426         * kbsequence.C (print): adjust
3427
3428         * kbmap.C (printKeySym): rename and change signature
3429         (printKey): use LyXKeySym::print()
3430
3431 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3432
3433         * undo.C: add using std::advance to compile for stlport
3434
3435 2004-03-24  Angus Leeming  <leeming@lyx.org>
3436
3437         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3438         it leads to a crash when no buffer is present.
3439
3440 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3441             Martin Vermeer  <martin.vermeer@hut.fi>
3442
3443         * lyxfunc.C (dispatch):
3444         * bufferparams.C (readToken): use the new LColor::setColor
3445
3446         * LColor.[Ch] (setColor): new version that takes two strings as
3447         argument and creates a new color entry if necessary
3448
3449 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3450
3451         * buffer.C (makeLaTeXFile): if the main latex file that is
3452         processed is usually a subdocument of some master, then pretend
3453         for a while that it is actually the master
3454
3455 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3456
3457         * buffer.C (getLabelList):
3458         (getBibkeyList): use getMasterBuffer()
3459         (getMasterBuffer): new method. Returns the main document in the
3460         case where one is using included documents.
3461
3462 2004-03-25  André Pönitz  <poenitz@gmx.net>
3463
3464         * Makefile.am:
3465         * iterators.[Ch]:
3466         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3467
3468         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3469
3470         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3471         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3472
3473         * ParameterStruct.h: merge with ParagraphParameters
3474
3475         * lyxtext.h: remove LyXText::parOffset() and getPar()
3476
3477         * text3.C: Remove all 'manual' update calls. We do now one per user
3478         interaction which is completely sufficient.
3479
3480         * Bidi.C:
3481         * BufferView.[Ch]:
3482         * BufferView_pimpl.C:
3483         * FontIterator.[Ch]:
3484         * MenuBackend.C:
3485         * ParagraphParameters.[Ch]:
3486         * buffer.C:
3487         * buffer.h:
3488         * bufferlist.C:
3489         * cursor.[Ch]:
3490         * cursor_slice.[Ch]:
3491         * dociterator.[Ch]:
3492         * errorlist.[Ch]:
3493         * factory.C:
3494         * lfuns.h:
3495         * lyxfind.C:
3496         * lyxfunc.C:
3497         * output_docbook.[Ch]:
3498         * output_latex.[Ch]:
3499         * output_linuxdoc.[Ch]:
3500         * output_plaintext.[Ch]:
3501         * paragraph.[Ch]:
3502         * paragraph_funcs.[Ch]:
3503         * paragraph_pimpl.[Ch]:
3504         * rowpainter.C:
3505         * tabular.[Ch]:
3506         * text.C:
3507         * text2.C:
3508         * toc.C:
3509         * undo.[Ch]: adjust
3510
3511         * frontends/controllers/ControlDocument.C:
3512         * frontends/controllers/ControlErrorList.C:
3513         * frontends/controllers/ControlSpellchecker.C:
3514         * insets/inset.C:
3515         * insets/inset.h:
3516         * insets/insetbase.h:
3517         * insets/insetbibitem.C:
3518         * insets/insetbox.C:
3519         * insets/insetbranch.C:
3520         * insets/insetcaption.C:
3521         * insets/insetcharstyle.C:
3522         * insets/insetcharstyle.h:
3523         * insets/insetcollapsable.C:
3524         * insets/insetcollapsable.h:
3525         * insets/insetert.C:
3526         * insets/insetfloat.C:
3527         * insets/insetfoot.C:
3528         * insets/insetmarginal.C:
3529         * insets/insetnote.C:
3530         * insets/insetoptarg.C:
3531         * insets/insettabular.C:
3532         * insets/insettext.C:
3533         * insets/insettext.h:
3534         * insets/insetwrap.C:
3535         * mathed/math_mboxinset.C:
3536         * mathed/math_nestinset.C:
3537         * mathed/math_scriptinset.C:
3538         * mathed/math_scriptinset.h:
3539         * support/types.h:
3540
3541 2004-03-24  Angus Leeming  <leeming@lyx.org>
3542
3543         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3544         deal with any child processes that have finished but are waiting to
3545         communicate this fact to the rest of LyX.
3546
3547 2004-03-24  Angus Leeming  <leeming@lyx.org>
3548
3549         64-bit compile fixes.
3550
3551         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3552         (c-tor): pass lyx::pos_types rather than ints.
3553
3554         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3555         lyx::pos_type.
3556
3557         * text.C (Delete): compile fix.
3558         (getPar): ensure that function declaration is the same as that in
3559         the header file.
3560
3561 2004-03-23  Angus Leeming  <leeming@lyx.org>
3562
3563         * ispell.C (LaunchIspell):
3564         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3565         a boost::shred_ptr rather than a std::auto_ptr.
3566
3567 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3568
3569         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3570         handle LFUN_FILE_INSERT_*
3571
3572         * lyxrc.C (setDefaults, getDescription, output, read):
3573         * lyxrc.h: remove ps_command
3574
3575 2004-03-22  Angus Leeming  <leeming@lyx.org>
3576
3577         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3578         Ensure that error_handler is processed once only and that all data
3579         is saved before attempting to output any warning messages.
3580
3581         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3582
3583 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3584
3585         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3586
3587 2004-03-19  André Pönitz  <poenitz@gmx.net>
3588
3589         * cursor.[Ch] (reset): take main text inset as argument
3590
3591         * BufferView: adjust
3592         * BufferView_pimpl.C: adjust
3593
3594         * paragraph.[Ch]: fix completely broken operator=()
3595
3596 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3597
3598         * LColor.C (getFromLyXName): make sure that the color name is used
3599         as lowercase.
3600
3601 2004-03-17  Angus Leeming  <leeming@lyx.org>
3602
3603         * lfuns.h:
3604         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3605
3606         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3607         dialog and to kill a forked process.
3608
3609 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3610
3611         * text2.C (setCursorFromCoordinates): fix font problem
3612
3613 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3614
3615         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3616         bogus "rebuild cursor" code
3617
3618 2004-03-11  André Pönitz  <poenitz@gmx.net>
3619
3620         * buffer.[Ch]: use InsetText instead of LyXText as container for
3621         the main lyx text.
3622
3623         * dociterator.[Ch]: drop the BufferView * member which is not needed
3624         anymore after the change to buffer.C
3625
3626         * paragraph_funcs.C:
3627         * text.C:
3628         * text2.C:
3629         * BufferView.[Ch]:
3630         * BufferView_pimpl.[Ch]:
3631         * cursor.[Ch]:
3632         * cursor_slice.[Ch]: adjust
3633
3634         * text3.C: fix bug in mathDispatch
3635
3636 2004-03-08  André Pönitz  <poenitz@gmx.net>
3637
3638         * undo.[Ch]: use 'StableDocumentIterator' as base for
3639         the Undo struct.
3640
3641 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3642
3643         * LaTeXFeatures.C:
3644         * bufferparams.[Ch]: add jurabib support and param.
3645
3646         * LaTeX.C: add FIXME/comment.
3647
3648 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3649
3650         * buffer.C: increment file format to 230.
3651
3652 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3653
3654         * cursor.C (dispatch): avoid infinite loops
3655
3656 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3657
3658         * rowpainter.C (paintSelection): fix x coordinates
3659
3660 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3661
3662         * text.C (rowBreakPoint): fix breaking before displayed insets
3663
3664 2004-03-01  André Pönitz  <poenitz@gmx.net>
3665
3666         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3667
3668         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3669
3670         * Makefile.am:
3671         * BufferView.C:
3672         * BufferView_pimpl.C:
3673         * buffer.C:
3674         * lyxfind.C:
3675         * lyxfunc.C:
3676         * text.C:
3677         * text2.C:
3678         * text3.C: adjust
3679
3680 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3681
3682         * lyxtext.h:
3683         * text.C:
3684         * text2.C:
3685         * rowpainter.C:
3686         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3687         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3688
3689 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3690
3691         * Bidi.[Ch] (computeTables): const correctness
3692         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3693         fill_hfill, fill_label_hfill and x from Row
3694         * lyxtext.h: prepareToPrint returns a RowMetrics
3695         * rowPainter.C: adjust
3696         * text.C (prepareToPrint): use width, not textWidth. adjust
3697         (redoParagraphInternal, cursorX): adjust
3698         * text2.C (getColumnNearX): adjust
3699         (init): put a default value to the top LyXText::width
3700
3701 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3702
3703         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3704
3705 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3706
3707         * lyxtext.h: add FontIterator class
3708
3709         * text.C (FontIterator, operator*, operator->, operator++): add
3710         (rowBreakPoint, setRowWidth): adjust (fixing a
3711         rebreaking bug)
3712
3713 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3714
3715         * BufferView_pimpl.C (workAreaDispatch): allow also
3716         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3717
3718 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3719
3720         * text.C (rowBreakPoint): fix a bug showing with very large insets
3721
3722 2004-02-25  André Pönitz  <poenitz@gmx.net>
3723
3724         * text3.C:
3725         * cursor.[Ch]: move some mathed specific code to mathed
3726
3727 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3728
3729         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3730         use_tempdir in preferences
3731         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3732         tempfile creation
3733         * lyx_main.C: ensure that tempdir is valid
3734         * lyxlex.h: correct typo
3735         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3736         * paragraph.[Ch] (isMultiLingual): make const
3737         * cursor.[Ch] (openable): make const
3738
3739 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3740
3741         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3742
3743 2004-02-20  André Pönitz  <poenitz@gmx.net>
3744
3745         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3746
3747         * cursor.[Ch]: prepare for localized getStatus()
3748
3749         * lyxtext.h:
3750         * tabular.C:
3751         * text.C:
3752         * text2.C:
3753         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3754
3755 2004-02-20  André Pönitz  <poenitz@gmx.net>
3756
3757         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3758
3759 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3760
3761         * text2.C (setCursorFromCoordinates): switch to absolute coords
3762         (cursorUp): adjust
3763         (cursorDown): adjust
3764         * text3.C (dispatch): adjust
3765
3766 2004-02-16  André Pönitz  <poenitz@gmx.net>
3767
3768         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3769           insets/ChangeLog)
3770
3771         * cursor_slice.[Ch]: remove unneeded acessor function
3772
3773         * lyxtext.h: rename rtl() to isRTL()
3774
3775         * rowpainter.C:
3776         * tabular.C:
3777         * text.C:
3778         * text2.C:
3779         * text3.C: adjust
3780
3781 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3782
3783         * rowpainter.C (paintSelection): coord fix
3784
3785 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3786
3787         * Spacing.C: compile fix
3788
3789 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3790
3791         * cursor.C (dispatch): restore current_ before returning
3792
3793 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3794
3795         * text2.C (cursorUp, cursorDown): fix coords
3796         (moveUp): fix crash
3797
3798 2004-02-12  André Pönitz  <poenitz@gmx.net>
3799
3800         * lyxtext.h:
3801         * text.C:
3802         * text2.C:
3803         * text3.C: add LCursor & parameter to most cursor movement functions
3804           remove usage of LyXText::cursorRow() and cursorPar()
3805
3806         * cursor.[Ch]: add textRow() needed members
3807
3808         * BufferView.C:
3809         * BufferView_pimpl.C:
3810         * paragraph.[Ch]:
3811         * BufferView.C:
3812         * BufferView_pimpl.C: adjust
3813
3814 2004-02-11  André Pönitz  <poenitz@gmx.net>
3815
3816         * lyxfunc.C:
3817         * BufferView.[Ch]:
3818         * BufferView_pimpl.C: shift undo/redo handling
3819
3820         * cursor.[Ch]: fix mathed crash
3821
3822         * lyxfind.C:
3823         * lyxtext.h: move selectionAsText to LCursor
3824
3825         * output_latex.C:
3826         * paragraph.C:
3827         * text.C:
3828         * text2.C:
3829         * text3.C: adjust
3830
3831         * rowpainter.C: fix excessive drawing
3832
3833 2004-02-06  André Pönitz  <poenitz@gmx.net>
3834
3835         * BufferView.[Ch]:
3836         * BufferView_pimpl.[Ch]:
3837         * text3.C: move some text specific LFUN handling
3838
3839 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3840
3841         * text3.C (checkInsetHit): adjust coords
3842         * text2.C (getColumnNearX): adjust coords
3843         (edit): adjust coords
3844         * text.C (getRowNearY): add two asserts
3845
3846 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3847
3848         * converter.C:
3849         * format.C: add using std::distance to compile on gcc 2.95/stlport
3850
3851 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3852
3853         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3854
3855 2004-02-04  André Pönitz  <poenitz@gmx.net>
3856
3857         * BufferView.[Ch] (insertInset):
3858         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3859
3860         * text2.C:
3861         * text3.C: adjust
3862
3863 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3864
3865         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3866         on the default clause of the switch
3867         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3868         wasn't catched by LCursor::dispatch
3869
3870 2004-02-03  André Pönitz  <poenitz@gmx.net>
3871
3872         * BufferView.C:
3873         * cursor.[Ch]: some additional asserts
3874
3875         * undo.[Ch]: remove LyXText dependency in interface
3876
3877         * lyxfunc.C: adjust
3878
3879         * lyxtext.h (firstPar, lastPar): remove dead functions
3880
3881         * text.C:
3882         * text2.C:
3883         * text3.C:
3884         * paragraph.[Ch]: adjust
3885
3886 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3887
3888         * lyxfind.C (find): fix argument order in call to ::find
3889
3890 2004-02-02  André Pönitz  <poenitz@gmx.net>
3891
3892         * cursor.[Ch]: remove direct access to anchor
3893
3894         * text.C: remove findText() hack
3895
3896 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3897
3898         * iterators.[Ch] (lockPath): remove in favour of...
3899         * BufferView.[Ch] (setCursor): this addition
3900         * BufferView.C (putSelectionAt): adjust
3901         * undo.C (performUndoOrRedo): adjust
3902         * lyxfunc.C (dispatch): adjust
3903
3904 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3905
3906         * iterators.C (lockPath): add a missing slice
3907         * undo.C (performUndoOrRedo): remove redundant positioning code
3908
3909 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * vc-backend.C (scanMaster): ";" -> ';'
3912
3913 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3916         std::binary_function
3917
3918         * lyxtextclass.C (compare_name): rename to...
3919         (LayoutNamesEqual): ...this
3920
3921         * lyxlex_pimpl.C (compare_tags): inherit from
3922         std::binary_function, put back into anon namespace
3923
3924         * lyxfind.C (MatchString): inherig from std::binary_function
3925         (findChange): use empty() istead of !size()
3926
3927         * format.C (FormatNamesEqual): new functor
3928         (getFormat): use it
3929         (getNumber): use it
3930         (add): use it
3931         (erase): use it
3932         (setViewer): use it
3933
3934         * converter.C (compare_Converter): rename to...
3935         (ConverterEqual): ...this, and fixup a bit.
3936         (getConverter): use it, and make function const
3937         (getNumber): use it, and make function const
3938         (add): use it
3939         (erase): use it:
3940
3941         * bufferlist.C: add using boost::bind
3942
3943         * MenuBackend.C (MenuNamesEqual): new functor
3944         (hasMenu): use it, and make function const
3945         (hasSubmenu): use nested bind to get rid of compare_memfun.
3946
3947 2004-01-30  André Pönitz  <poenitz@gmx.net>
3948
3949         * BufferView_pimpl.C:
3950         * cursor.C:
3951         * cursor.h:
3952         * cursor_slice.[Ch]:
3953         * lyxfunc.C:
3954         * lyxtext.h:
3955         * paragraph_funcs.C:
3956         * paragraph_funcs.h:
3957         * rowpainter.C:
3958         * text.C:
3959         * text2.C:
3960         * text3.C: move some of the edit(x,y) handling to the insets
3961         some coordinate changes.
3962
3963 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3964
3965         * text.C: add using statements for std::advance and std::distance
3966
3967         * paragraph.C: add using statement for std::distance
3968
3969         * lyxfind.C: add using statement for std::advance
3970
3971         * cursor.C (region): remove std:: from swap
3972         (openable): use nucleus in stead of operator->
3973
3974         * BufferView.C: add using statements for std::distance and std::swap
3975
3976 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3977
3978         * iterators.C: Remove the pimple, move the needed structures to
3979         the header file. Create accessor for the positions stack.
3980         (asPosIterator): remove function
3981
3982         * PosIterator.C (PosIterator): move constructors to top of file
3983         (PosIterator): reimplement the constructor taking a ParIterator in
3984         terms of setFrom.
3985         (setFrom): new function
3986         (operator!=): inline it
3987
3988 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3989
3990         * lyxfind.C (replaceAll): use std::advance
3991
3992         * iterators.h: inherit from std::iterator.
3993
3994         * PosIterator.C (advance, distance): remove
3995         * PosIterator.h: interit from std::iterator.
3996
3997 2004-01-26  André Pönitz  <poenitz@gmx.net>
3998
3999         * BufferView.[Ch]:
4000         * BufferView_pimpl.[Ch]:
4001         * InsetList.[Ch]:
4002         * PosIterator.[Ch]:
4003         * buffer.h:
4004         * bufferview_funcs.C:
4005         * cursor.[Ch]:
4006         * cursor_slice.h:
4007         * factory.[Ch]:
4008         * iterators.[Ch]:
4009         * lyxfind.C:
4010         * lyxfunc.C:
4011         * lyxtext.h:
4012         * output_docbook.C:
4013         * output_latex.C:
4014         * output_linuxdoc.C:
4015         * output_plaintext.C:
4016         * paragraph.[Ch]:
4017         * paragraph_funcs.[Ch]:
4018         * paragraph_pimpl.[Ch]:
4019         * rowpainter.C:
4020         * tabular.C:
4021         * tabular.h:
4022         * text.C:
4023         * text2.C:
4024         * text3.C: more IU:  dumps most of the rest of the mathcursor
4025     implementation into cursor.[Ch]; "globalize" a bit of it.
4026
4027 2004-01-25  Angus Leeming  <leeming@lyx.org>
4028
4029         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4030
4031 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4032
4033         * LaTeXFeatures.h: add nice_ and nice() const
4034         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4035
4036 2004-01-20  André Pönitz  <poenitz@gmx.net>
4037
4038         * BufferView.[Ch]:
4039         * BufferView_pimpl.C:
4040         * PosIterator.C:
4041         * bufferview_funcs.C:
4042         * cursor.[Ch]:
4043         * cursor_slice.[Ch]:
4044         * factory.C:
4045         * iterators.C:
4046         * lyx_cb.C:
4047         * lyxfind.C:
4048         * lyxfunc.C:
4049         * lyxtext.h:
4050         * rowpainter.C:
4051         * text.C:
4052         * text2.C:
4053         * text3.C:
4054         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4055           LCursor and mathcursor parts to LCursor and InsetBase.
4056
4057 2004-01-15  André Pönitz  <poenitz@gmx.net>
4058
4059         * cursor_slice.[Ch]: add a few covienience functions
4060
4061         * funcrequest.[Ch]: remove BufferView * member
4062
4063         * BufferView_pimpl.C:
4064         * cursor.C:
4065         * factory.[Ch]:
4066         * lyxfind.[Ch]:
4067         * lyxfunc.C:
4068         * lyxtext.h:
4069         * text3.C:
4070         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4071
4072 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4073
4074         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4075         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4076
4077 2004-01-13  André Pönitz  <poenitz@gmx.net>
4078
4079         * textcursor.[Ch]:
4080         * lyxtext.h: hide cursor and selection anchor behind accessor function
4081
4082         * BufferView.C:
4083         * BufferView_pimpl.[Ch]:
4084         * PosIterator.C:
4085         * bufferview_funcs.C:
4086         * cursor.h:
4087         * lyxfind.C:
4088         * lyxfunc.C:
4089         * text.C:
4090         * text2.C:
4091         * text3.C:
4092         * undo.C: adjust
4093
4094         * cursor.h:
4095         * cursor_slice.[Ch]: some integer type changes for inset unification
4096
4097         * lyxcursor.[hC]: remove, it's CursorSlice now.
4098
4099         * Makefile.am:
4100         * BufferView_pimpl.[Ch]:
4101         * bufferview_funcs.C:
4102         * cursor_slice.C:
4103         * lyxtext.h:
4104         * text.C:
4105         * text2.C:
4106         * text3.C:
4107         * textcursor.[Ch]: adjust
4108
4109 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4110
4111         * text2.C (undoSpan): add and use
4112         * text.C (breakParagraph): use undoSpan (fix bug 578)
4113         * lyxtext.h: adjust
4114
4115 2004-01-08  Angus Leeming  <leeming@lyx.org>
4116
4117         * BufferView_pimpl.C (MenuInsertLyXFile):
4118         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4119         * lyxfunc.C (menuNew, open, doImport):
4120         FileFilterList change to the FileDialog open and save functions.
4121
4122 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4123
4124         * ShareContainer.h: make isEqual and isUnique adaptable
4125
4126         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4127
4128 2004-01-07  Angus Leeming  <leeming@lyx.org>
4129
4130         * LyXAction.C:
4131         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4132
4133         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4134
4135         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4136         functions replacing find, replace and replaceAll.
4137
4138         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4139         LFUN_WORDFIND(FORWARD|BACKWARD).
4140
4141 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4142
4143         * text.C (breakParagraph): remove an outdated #warning
4144
4145 2004-01-07  André Pönitz  <poenitz@gmx.net>
4146
4147         * lyxfind.C: somewhat clearer logic
4148
4149         * text.C: prevent crash in cursorX on unitialized row cache
4150
4151 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4152
4153         * lyxcursor.[Ch] (operator>): add
4154         * textcursor.C (selStart, selEnd): use std::min and std::max
4155
4156 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4157
4158         * Chktex.C: include boost/format.hpp
4159
4160 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4161
4162         * InsetList.C: replace functor MathcIt with adaptable functor
4163         InsetTablePosLess
4164         (insetIterator): modify accordingly
4165
4166         * BranchList.h: move the BranchNamesEqual functor here from...
4167         * BranchList.C: ... to here
4168
4169         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4170         SameName and match.
4171         (add): replace a finding loop with std::find_if.
4172
4173 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4174
4175         * output_docbook.C: moving LatexParam functionality into
4176         .layout files
4177
4178 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4179
4180         * buffer.C: increment format to 229.
4181
4182 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4183
4184         * LaTeXFeatures.C:
4185         * lyx_sty.[Ch]: remove minipageindent_def
4186
4187         * LyXAction.C:
4188         * factory.C:
4189         * lfuns.h:
4190         * lyxfunc.C:
4191         * text3.C: remove LFUN_INSET_MINIPAGE
4192
4193 2003-12-28  Angus Leeming  <leeming@lyx.org>
4194
4195         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4196
4197 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4198
4199         * text2.C (setParagraph): fix off-by-one crash
4200
4201 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4202
4203         * output_docbook.C: header stuff for AGU
4204
4205 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4206
4207         * text2.C (redoCursor): remove
4208         * text.C:
4209         * text3.C:
4210         * BufferView_pimpl.C: remove calls to redoCursor and
4211         setCursor(cursor.par(), cursor.pos()) all around
4212
4213 2003-12-15  Angus Leeming  <leeming@lyx.org>
4214
4215         * buffer.C: up the format to 228.
4216
4217 2003-12-15  André Pönitz  <poenitz@gmx.net>
4218
4219         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4220         slices
4221
4222         * Makefile.am:
4223
4224         * BufferView_pimpl.C:
4225         * cursor.[Ch]:
4226         * lyxcursor.[Ch]:
4227         * rowpainter.[Ch]:
4228         * lyxtext.h:
4229         * text.C:
4230         * text2.C:
4231         * text3.C: adjust
4232
4233 2003-12-15  Angus Leeming  <leeming@lyx.org>
4234
4235         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4236         than getFromGUIName to manipulate the color.
4237
4238 2003-12-14  Angus Leeming  <leeming@lyx.org>
4239
4240         * BranchList.[Ch]: minimize the API.
4241         (Branch::getBranch, getColor): now return a 'const &'.
4242         (Branch::setSelected) now returns a bool set to true if the
4243         selection status changes.
4244         (BranchList::clear, size, getColor, setColor, setSelected,
4245         allBranches, allSelected, separator): removed.
4246         (BranchList::find): new functions, returning the Branch with
4247         the given name.
4248         (BranchList::add, remove): return a bool indicating that
4249         the operation was successful.
4250
4251         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4252         new InsetBranch::isBranchSlected member function.
4253
4254         * LColor.[Ch]: mimimize the API.
4255         (fill): renamed as addColor and made private.
4256         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4257         versions of these functions taking a string arg have been removed.
4258
4259         * bufferparams.C (readToken):
4260         * lyxfunc.C (dispatch):
4261         * lyxrc.C (read): changes due to the altered BranchList and
4262         LColor APIs.
4263
4264         * factory.C (createInset, readInset): changes due to altered
4265         InsetBranch c-tor.
4266
4267 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4268
4269         * factory.C:
4270         * lyxfunc.C: remove insetminipage. "minipage-insert"
4271         now produces a frameless minipage box inset.
4272
4273 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4274
4275         * textcursor.[Ch] (selStart,selEnd): add new methods
4276         remove selection::start, end, use LyXCursor::operator<
4277         * lyxcursor.[Ch] (operator<): add
4278         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4279         * BufferView.[Ch] (unsetXSel): add
4280         * text2.C (clearSelection): use unsetXSel,adjust
4281         * text.C: adjust
4282         * text3.C: adjust
4283         * rowpainter.C: adjust
4284         * bufferview_funcs.C (put_selection_at): adjust
4285
4286 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4287
4288         * BufferView_pimpl.C: small coord. correction
4289
4290 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4291
4292         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4293         dragging over the splash screen.
4294
4295 2003-12-11  Angus Leeming  <leeming@lyx.org>
4296
4297         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4298         as it is now handled in LyXText::dispatch.
4299
4300         * text3.C (doInsertInset): remove a level of nesting.
4301
4302 2003-12-11  Angus Leeming  <leeming@lyx.org>
4303
4304         * factory.C (createInset): changes due to the changed interface to
4305         InsetCommandMailer::string2params.
4306
4307 2003-12-10  Angus Leeming  <leeming@lyx.org>
4308
4309         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4310         'dialog-show-new-inset <inset name>'
4311
4312 2003-12-10  Angus Leeming  <leeming@lyx.org>
4313
4314         * buffer.C: up the format to 227.
4315
4316         * factory.C: the box inset is now identified simply by 'Box'.
4317
4318 2003-12-10  Angus Leeming  <leeming@lyx.org>
4319
4320         * buffer.C: up the format to 226.
4321
4322         * factory.C: the note inset is now identified simply by 'Note'.
4323
4324 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4325
4326         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4327         when a pit is enough. Standarize a couple of loops.
4328
4329 2003-12-05  Angus Leeming  <leeming@lyx.org>
4330
4331         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4332         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4333         data to the re-worked "log" dialog.
4334
4335 2003-12-03  André Pönitz  <poenitz@gmx.net>
4336
4337         * PosIterator.C:
4338         * iterators.C:
4339         * lyxtext.h:
4340         * output_latex.C:
4341         * paragraph_funcs.C:
4342         * text.C:
4343         * text2.C: use Inset::getText instead of Inset::getParagraph
4344
4345 2003-12-03  André Pönitz  <poenitz@gmx.net>
4346
4347         * buffer.[Ch]:
4348         * lyxtext.h:
4349         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4350         InsetText::read() as LyXText::read()
4351
4352 2003-12-02  Angus Leeming  <leeming@lyx.org>
4353
4354         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4355         type. Add a comment in the implementation that the function uses
4356         the stream's bad() function rather than fail() as the std::streams
4357         would do.
4358
4359 2003-12-02  André Pönitz  <poenitz@gmx.net>
4360
4361         * lyxlex.[Ch]: make interface more similar to std::stream
4362
4363         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4364
4365 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4366
4367         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4368
4369 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4370
4371         * vspace.[Ch]: remove VSpace::NONE
4372
4373 2003-12-01  André Pönitz  <poenitz@gmx.net>
4374
4375         * buffer.[Ch]:
4376         * lyxtext.h: move ParagraphList member to LyXText
4377         rename LyXText::ownerParagraphs to LyXText::paragraph
4378
4379         * CutAndPaste.C:
4380         * bufferview_funcs.C:
4381         * iterators.[Ch]:
4382         * lyx_cb.C:
4383         * paragraph.C:
4384         * rowpainter.C:
4385         * tabular.C:
4386         * text.C:
4387         * text2.C:
4388         * text3.C: adjust
4389
4390         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4391
4392         * undo.C: fix cursor positioning
4393
4394 2003-12-01  John Levon  <levon@movementarian.org>
4395
4396         * BufferView_pimpl.C: fix a crash on exit with
4397         a buffer open
4398
4399 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4400
4401         * BranchList.C: fix setSelected() method.
4402
4403 2003-11-28  André Pönitz  <poenitz@gmx.net>
4404
4405         * ParagraphParameters.[Ch]:
4406         * ParameterStruct.h: remove space above/below from Paragraph to
4407          InsetVSpace
4408
4409         * BufferView_pimpl.C:
4410         * factory.C:
4411         * lyxfunc.C:
4412         * lyxtext.h:
4413         * output_latex.C:
4414         * paragraph.C:
4415         * paragraph_funcs.C:
4416         * rowpainter.[Ch]:
4417         * text.C:
4418         * text2.C:
4419         * text3.C: adjust
4420
4421 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4422
4423         * factory.C: Syntax change for CharStyles
4424
4425 2003-11-28  André Pönitz  <poenitz@gmx.net>
4426
4427         * BufferView.[Ch]:
4428         * BufferView.[Ch]:
4429         * buffer.[Ch]:
4430         * buffer.[Ch]: move LyXText member
4431
4432 2003-11-28  André Pönitz  <poenitz@gmx.net>
4433
4434         * BufferView.[Ch]: make LyXText * text a private member
4435
4436         * BufferView_pimpl.C:
4437         * cursor.C:
4438         * iterators.C:
4439         * lyx_cb.C:
4440         * lyxfind.C:
4441         * lyxtext.h:
4442         * rowpainter.[Ch]:
4443         * text.C:
4444         * text2.C:
4445         * undo.C: adjust
4446
4447         * output_plaintext.C: cleanup
4448
4449 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4450
4451         * buffer.C:
4452         * lyxtextclass.[Ch]: parametrize SGML document header
4453
4454 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4455
4456         * converter.[Ch]:
4457         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4458         getFlavor().
4459
4460 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4461
4462         * text2.C (setFont): rework using PosIterator (no more recursive)
4463         (setCharFont): no more needed
4464         (setLayout): no more selection cursors fiddling (done by redoCursor)
4465         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4466         destroy remaining ones)
4467
4468 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4469
4470         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4471         * lyxtext.h: ditto
4472         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4473         selection cursors
4474         * lyxfunc.C: adjust
4475         * text3.C: adjust + re-allow multi par depth changes
4476         * textcursor.C: simplify a bit
4477
4478 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4479
4480         * src/buffer.C:
4481         * src/lyxlayout.C:
4482         * src/lyxlayout.h:
4483         * src/lyxtext.h:
4484         * src/output_docbook.C:
4485         * src/output_latex.C:
4486         * src/paragraph.C:
4487         * src/paragraph.h:
4488         * src/sgml.C:
4489         * src/sgml.h:
4490         * src/text2.C: Introducing a number of tags parametrizing various
4491         XML formats that we may want to support
4492
4493 2003-11-25  André Pönitz  <poenitz@gmx.net>
4494
4495         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4496
4497         * lyxtext.h (leftMargin/rightMargin): simplify interface
4498
4499         * rowpainter.C:
4500         * text.C:
4501         * text2.C:
4502         * text3.C: adjust
4503
4504 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4505
4506         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4507         master file to any child files. Fixes bug 546.
4508
4509 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4510
4511         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4512
4513 2003-11-24  André Pönitz  <poenitz@gmx.net>
4514
4515         * rowpainter.C: simplification
4516
4517         * text2.C (updateCounters): remove call to redoParagraph on
4518         changed labels as this is far too expensive.
4519
4520 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4521
4522         * converter.C (convert): fix a crash: this function gets
4523         called with buffer == 0 from importer code.
4524
4525 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4526
4527         * text3.C (cursorPrevious): make sure that we do not compare
4528         iterators form different containers.
4529         (cursorNext): ditto
4530
4531         * rowpainter.C (paintSelection): make sure that we do not compare
4532         iterators from different containers.
4533
4534         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4535         iterators from different ParagraphList containers.
4536         [NEXT] ditto
4537
4538         * text2.C (LyXText): change order of initialization slightly
4539         (operator=): new function. copy all variables except cache_par_
4540         (moveUp): make sure that we do not compare iterators from
4541         different ParagraphList constainers.
4542         (moveDown): ditto
4543
4544         * text.C (firstPar): new function
4545         (lastPar): new function
4546         (endPar): new function
4547
4548         * lyxtext.h: move things around and group public functions, public
4549         variables, private functions, private variables
4550
4551 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4552
4553         * factory.C: change call to InsetERT constructor to avoid
4554         additional invocation of method status
4555         * text2.C (toggleInset): remove redundant update() call
4556         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4557         instead of a Bufferview pointer
4558
4559 2003-11-21  André Pönitz  <poenitz@gmx.net>
4560
4561         * rowpainter.C: simplification
4562
4563 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4564
4565         * text3.C (dispatch): make possible to extend a word/row selection
4566         with the mouse
4567
4568 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4569
4570         * lyxtext.h: x0_,y0_ -> xo_,yo_
4571         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4572         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4573         * rowpainter.C (paintRows): paint full paragraphs
4574
4575 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4576
4577         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4578         screen coordinates)
4579
4580 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4581
4582         * lyxtext.h: add x0_, y0_
4583         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4584         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4585
4586 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4587
4588         * text2.C (setCursorIntern): move the x_target update here *
4589         * text3.C: change some bv() to true/false in calls to
4590         cursorUp/Down/Right/Left
4591         * cursor.C: use helper function.
4592
4593 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4594
4595         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4596         * paragraph_funcs.[Ch]: correct comment
4597         * rowpainter.C: do not paint selections away from bv->cursor()
4598         Fix a long standing selection painting bug.
4599         * text3.C: generalize mouse-selection code to LyXTexts other that
4600         top one
4601         * textcursor.C: do not use y coords if we can use par offsets
4602
4603 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4604
4605         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4606         cursor position after e.g. inset insert)
4607
4608 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4609
4610         * lyxfind.C (replace): adjust to locking removal + some
4611         code simplification
4612
4613 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4614
4615         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4616         of the path
4617
4618 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4619
4620         * lyxlayout.[Ch]:
4621         * output_docbook.C: XML sanitation: new layout
4622         parameters InnerTag and CommandDepth
4623
4624 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4625
4626         * BufferView_pimpl.C:
4627         * factory.C:
4628         * text3.C: Fix the insertion and modification of button-style
4629         insets
4630
4631 2003-11-13  André Pönitz  <poenitz@gmx.net>
4632
4633         * InsetList.[Ch]: remove deleteLyXText
4634
4635         * paragraph.[Ch]: cache beginOfBody position
4636
4637         * Bidi.C:
4638         * text.C:
4639         * text2.C:
4640         * text3.C: remove superfluous update() calls
4641
4642         * vspace.C: cleanup
4643
4644 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4645
4646         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4647         * BufferView.C (fitLockedInsetCursor): remove
4648         * cursor.[Ch] (getDim): add
4649         * text.C (getRowNearY): add faster version
4650         * text3.C: remove some update calls
4651
4652 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4653
4654         * LaTeXFeatures.C:
4655         * LyXAction.C:
4656         * MenuBackend.C:
4657         * MenuBackend.h:
4658         * dispatchresult.h:
4659         * factory.C:
4660         * lfuns.h:
4661         * lyxfunc.C:
4662         * lyxtextclass.C:
4663         * lyxtextclass.h:
4664         * text3.C: The Character Style /XML short element patch.
4665
4666 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4667
4668         * text3.C:
4669         * factory.C: Small step to solving 'unable to insert some insets'
4670         problem
4671
4672 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4673
4674         * cursor.[Ch] (updatePos): new function for updating the y
4675         position of the tip inset
4676         * bufferview_funcs.C (put_selection_at):
4677         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4678
4679 2003-11-11  André Pönitz  <poenitz@gmx.net>
4680
4681         * text.C: remove big comment on invalid Paragraph pointers as it is
4682         not valid anymore
4683
4684 2003-11-11  André Pönitz  <poenitz@gmx.net>
4685
4686         * text_funcs.[Ch]: merge with ...
4687
4688         * text.C: ... this
4689
4690         * lyxtext.h:
4691         * text2.C:
4692         * text3.C: adjust
4693
4694         * Makefile.am: remove text_funcs.[Ch]
4695
4696 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4697
4698         * cursor.C (getPos): return absolute cached y coord
4699
4700         * BufferView_pimpl.C (fitCursor): new simplistic code
4701         (workAreaDispatch): add a fitCursor call
4702
4703 2003-11-10  André Pönitz  <poenitz@gmx.net>
4704
4705         * BufferView.[Ch]:
4706         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4707
4708 2003-11-10  André Pönitz  <poenitz@gmx.net>
4709
4710         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4711         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4712         indicate that the cursor needs to leave an inset
4713
4714         * lyxtext.h: remove inset locking
4715
4716         * cursor.[Ch]: re-implement functionality provided by inset locking
4717
4718         * BufferView.[Ch]:
4719         * BufferView_pimpl.[Ch]:
4720         * LyXAction.C:
4721         * bufferview_funcs.[Ch]:
4722         * factory.C:
4723         * funcrequest.[Ch]:
4724         * iterators.C:
4725         * lyx_cb.C:
4726         * lyxfind.C:
4727         * lyxfunc.C:
4728         * text.C:
4729         * text2.C:
4730         * text3.C:
4731         * undo.C: adjust
4732
4733 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4734
4735         * PosIterator.[Ch]: replace the stack with a vector, add inset
4736         accesor
4737         * iterators.[C]: adjust
4738
4739 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4740
4741         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4742         replaced
4743         * paragraph_funcs.C (readParToken): put the correct id in the
4744         error item, not the id of the top paragraph
4745
4746 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4747
4748         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4749         * bufferview_funcs.C (put_selection_at): use the above
4750
4751 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4752
4753         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4754
4755 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4756
4757         * output_linuxdoc.h:
4758         * output_plaintext.h:
4759         * output.h:
4760         * output_docbook.h: add #include statements
4761
4762 2003-11-05  José Matos  <jamatos@lyx.org>
4763
4764         * output_docbook.[Ch]:
4765         * output_latex.[Ch]:
4766         * output_linuxdoc.[Ch]:
4767         * output_plaintext.[Ch]: New files for output formats.
4768         * output.[Ch]: New file for helper functions.
4769
4770         * buffer.[Ch]:
4771         * paragraph_funcs.[Ch]: output functions moved to new files.
4772
4773         * outputparams.h: rename of latexrunparams.h
4774
4775         * LaTeX.[Ch]:
4776         * buffer.[Ch]:
4777         * bufferlist.[Ch]:
4778         * converter.[Ch]:
4779         * exporter.C:
4780         * paragraph.[Ch]:
4781         * paragraph_funcs.[Ch]:
4782         * paragraph_pimpl.[Ch]:
4783         * tabular.[Ch]: rename ascii to plaintext
4784         and LatexRunParams to OutputParams.
4785
4786 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4787
4788         * iterators.[Ch] (text): require bv argument
4789         * undo.C (recordUndo):
4790         * lyxfunc.C (dispatch):
4791         * bufferview_funcs.C (put_selection_at): adjust
4792
4793 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4794
4795         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4796
4797 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4798
4799         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4800         nestings
4801
4802 2003-11-04  André Pönitz  <poenitz@gmx.net>
4803
4804         * cursor.[Ch]: restructure
4805
4806         * BufferView.[Ch]:
4807         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4808
4809         * iterators.[Ch] (asCursor): remove
4810
4811         * lfuns.h: remove LFUN_INSET_EDIT
4812
4813         * lyxfunc.C:
4814         * tabular.C:
4815         * text.C:
4816         * text2.C:
4817         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4818
4819 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4820
4821         * lyxfind.[Ch]: complete overhaul
4822         * BufferView_pimpl.C:
4823         * lyxfunc.C: adjust
4824         * paragraph.[Ch] (insert): add
4825
4826 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4827
4828         * BufferView.[Ch]:
4829         * lyxtext.h:
4830         * text.C: remove dead spellcheck code
4831
4832 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4833
4834         * dispatchresult.h: add a val setter
4835
4836         * cursor.C (dispatch): use a tempvar for data_[i]
4837
4838 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4839
4840         * PosIterator.[Ch]: compile fix
4841
4842 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4843
4844         * text.C (cursorPar): deactivate the cursor cache
4845
4846 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4847
4848         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4849
4850 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * text3.C (dispatch): adjust for new DisptchResult semantics.
4853
4854         * lyxfunc.C (dispatch): handle update when return from
4855         Cursor::dispatch, adjust for new DispatchResult semantics.
4856
4857         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4858         DispatchResult(true) mean to not update. Add class functions for
4859         setting dispatched and update, as well as reading.
4860
4861         * cursor.C (dispatch): don't handle update here
4862
4863 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4866         * trans_mgr.C: adjust
4867
4868         * paragraph_funcs.C (readParToken): exception safety
4869
4870         * lyxvc.h: store the vcs pointer in a scoped_ptr
4871         * lyxvc.C: adjust
4872
4873         * lyxsocket.C (serverCallback): exception safety
4874
4875         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4876
4877         * ispell.C (clone): make it return a auto_ptr
4878
4879         * factory.C (createInset): exception safety
4880         (readInset): exception safety
4881
4882         * bufferlist.C (newBuffer): exception safety
4883
4884         * Thesaurus.C (Thesaurus): use initialization for aik_
4885
4886         * MenuBackend.C (expandToc): exception safety.
4887
4888 2003-11-03  André Pönitz  <poenitz@gmx.net>
4889
4890         * buffer.C:
4891         * buffer.h:
4892         * bufferview_funcs.C: remove getInsetFromId()
4893
4894         * lyxcursor.[Ch]:
4895         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4896
4897         * lyxfunc.C:
4898         * text2.C:
4899         * text3.C: adjust
4900
4901 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4902
4903         * PosIterator.C (distance, advance): new
4904         * bufferview_funcs.[Ch] (put_selection_at): new
4905         * iterators.[Ch] (lockPath): new
4906
4907 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4908
4909         * iterators.[Ch] (asPosIterator): added
4910         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4911         * PosIterator.[Ch]: added
4912
4913 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4914
4915         * text3.C:
4916         * lyxfunc.C:
4917         * cursor.C (dispatch):
4918         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4919
4920         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4921         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4922         contructor, add a class function dispatched. Remove operator>=
4923
4924 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4925
4926         * debug.C: only use the default constructor for debugstream
4927         (lyxerr) here.
4928
4929         * main.C (main): include debug.h and setup the lyxerr streambuf
4930         here.
4931
4932 2003-10-31  José Matos  <jamatos@lyx.org>
4933
4934         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4935
4936         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4937         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4938         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4939         * paragraph_pimpl.C (simpleTeXSpecialC):
4940         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4941         add LatexRunParams argument.
4942
4943         * exporter.C (Export): change call accordingly.
4944
4945         * latexrunparams.h: add new member to take care of the other backends.
4946 2003-10-30  José Matos  <jamatos@lyx.org>
4947
4948         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4949         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4950         factorise code for paragraph output.
4951         * buffer.[Ch]:
4952         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4953         move functions.
4954
4955 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4956
4957         * text3.C (dispatch):
4958         * lyxfunc.C (dispatch):
4959         * cursor.C (dispatch):
4960         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4961
4962         * dispatchresult.h: make the dispatch_result_t ctor explicit
4963
4964 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4965
4966         * sgml.[Ch]:
4967         * buffer.C: small refactoring of docbook stuff
4968
4969 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4970
4971         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4972         meaning.
4973
4974 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4975
4976         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4977         operator dispatch_result_t, and operators for == != and >=
4978
4979         * cursor.C (dispatch): adjust for operator dispatch_result_t
4980         removal. comment out call to update
4981
4982         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4983
4984 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4985
4986         * text3.C:
4987         * text2.C:
4988         * text.C:
4989         * lyxtext.h:
4990         * lyxfunc.C:
4991         * cursor.C:
4992         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4993         (dispatch):
4994
4995         * dispatchresult.h: new file, DispatchResult broken out of
4996         insets/insetbase.h
4997
4998         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4999
5000 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5001
5002         * text.C (rowBreakPoint): put a hack inside #if 0
5003
5004 2003-10-28  André Pönitz  <poenitz@gmx.net>
5005
5006         * lyxtext.h:
5007         * metricsinfo.C:
5008         * paragraph_funcs.C:
5009         * rowpainter.C:
5010         * text.C:
5011         * text2.C: general cleanup (lots of small stuff)
5012
5013 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5014
5015         * text2.C (cursorEnd): simple fix to the "end key goes to one
5016         before the end on last row" bug
5017
5018 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5019
5020         * text.C (backspace): fix the "zombie characters"
5021
5022 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5023
5024         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5025
5026 2003-10-27  André Pönitz  <poenitz@gmx.net>
5027
5028         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5029
5030         * factory.C: handle new InsetPagebreak, InsetLine
5031
5032         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5033         and move handling into new InsetPagebreak, InsetLine
5034
5035         * BufferView_pimpl.C:
5036         * LyXAction.C:
5037         * ParagraphParameters.C:
5038         * ParameterStruct.h:
5039         * lyxfunc.C:
5040         * lyxtext.h:
5041         * paragraph.C:
5042         * paragraph.h:
5043         * paragraph_funcs.C:
5044         * paragraph_pimpl.C:
5045         * rowpainter.C:
5046         * text.C:
5047         * text2.C:
5048         * text3.C: adjust
5049
5050 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5051
5052         * text.C:
5053         * lyxrow_funcs.[Ch]:
5054         * Bidi.C:
5055         * paragraph.C:
5056         * lyxtext.h:
5057         * rowpainter.C:
5058         * text2.C:
5059         * text3.C: remove lastPos uses in favour of Row::endpos
5060
5061 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5062
5063         * undo.C (performUndoOrRedo): fix two crashes by setting a
5064         cursor by hand and reordering some calls. Use bv->lockInset instead
5065         of inset->edit because the latter loses cursor information
5066
5067 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5070         by Martin
5071         (rowBreakPoint): fix width. change point to point + 1.
5072         Add a missing check.
5073
5074 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5075
5076         * MenuBackend.C:
5077         * lyxfunc.C: fix (at least partly) the problems
5078         with the Nav menu and headers inside branch insets
5079         reported by Kayvan
5080
5081 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5082
5083         * paragraph.C (getChar): add strong asserts
5084
5085         * lyxrow_funcs.C (lastPos): remove hideous hack
5086
5087         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5088         (fill): adjust to that (avoid an infinite loop)
5089
5090 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5091
5092         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5093
5094 2003-10-23  André Pönitz  <poenitz@gmx.net>
5095
5096         * RowList_fwd.h: change list<> to vector<> to gain speed
5097         after suggestion from Alfredo
5098
5099 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5100
5101         * lyxtext.h: move the bidi stuff from here...
5102         * text.C: and here
5103         * text2.C: and here
5104         * Bidi.[Ch]: ... to here
5105
5106 2003-10-23  André Pönitz  <poenitz@gmx.net>
5107
5108         * lyxtext.h:
5109         * text.C (isLastRow, isFirstRow): new functions
5110
5111         * paragraph.h: new width cache member
5112
5113         * rowpainter.C: replace RowList::iterator with Row & where possible
5114
5115         * lyxfunc.C: replace several view()->text with a single call
5116
5117         * toc.C: fix 'unused' warning
5118
5119 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5120
5121         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5122         when woring with stream::pos_type
5123         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5124
5125 2003-10-22  André Pönitz  <poenitz@gmx.net>
5126
5127         * lyxtext.h:
5128         * text.C: use Row & instead of RowList::iterator
5129
5130         * lyxrow.h: rename end() to endpos()
5131
5132         * rowpainter.C:
5133         * text.C:
5134         * text2.C: adjust
5135
5136 2003-10-22  Angus Leeming  <leeming@lyx.org>
5137
5138         * buffer.[Ch] (fully_loaded): new member function, returning true
5139         only when the file has been loaded fully.
5140         Used to prevent the premature generation of previews and by the
5141         citation inset to prevent computation of the natbib-style label.
5142
5143         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5144         templates are all set up.
5145
5146         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5147
5148 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5149
5150         * text.C: fixed an "oops" in the "is a bit silly"
5151         bug fix
5152
5153 2003-10-21  André Pönitz  <poenitz@gmx.net>
5154
5155         * FuncStatus.[Ch]: small stuff, whitespace
5156
5157         * lyxfont.[Ch]: operator<<() for debug reasons
5158
5159         * lyxfunc.C:
5160         * lyxrow_funcs.C:
5161         * lyxtext.h: whitespace, spelling
5162
5163         * paragraph.C: naming of variables
5164
5165         * text.C:
5166         * text2.C: small stuff
5167
5168
5169 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5170
5171         * text.C: (1) finish off the inset display() work;
5172         (2) fix the "is a bit silly" bug (accessing char
5173         past end of par).
5174
5175 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5176
5177         * text.C: re-introduce display() for insets, fixing the
5178         various bugs (stretch of line above, math inset
5179         positioning, ...)
5180
5181 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5182
5183         * text.C (rightMargin): remove spurious semicolon
5184
5185         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5186         1415)
5187
5188 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5189
5190         * text3.C: fix one crash due to wrong cursor def
5191
5192 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5193
5194         * vc-backend.C (scanMaster): make the regex static
5195
5196         * LaTeX.C (scanAuxFile): make the regexs static
5197
5198         * text3.C (doInsertInset, dispatch, dispatch):
5199         * text2.C (cursorUp, cursorDown):
5200         * text.C (selectNextWordToSpellcheck):
5201         * BufferView_pimpl.C (dispatch):
5202         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5203
5204 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5205
5206         * lyxsocket.C: include <cerrno>
5207
5208 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * lyxfunc.C (dispatch): remove textcache stuff
5211
5212         * bufferlist.C (release): remove textcache stuff
5213         (closeAll): ditto
5214
5215         * TextCache.C: delete file
5216         * TextCache.h: delete file
5217
5218         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5219
5220         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5221         delete of the bv_->text.
5222         (resizeCurrentBuffer): remove texcache stuff
5223         (workAreaResize): ditto
5224
5225 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5226
5227         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5228         action.
5229
5230 2003-10-16  André Pönitz  <poenitz@gmx.net>
5231
5232         * lyxrow.[Ch]:
5233         * paragraph.h:
5234         * rowpainter.C:
5235         * text.C:
5236         * text2.C:
5237         * text3.C: speed up by storing y positions per paragraph plus per-row
5238         offset instead of having a 'full' y position in the row.
5239
5240 2003-10-15  André Pönitz  <poenitz@gmx.net>
5241
5242         * iterators.[Ch]:
5243         * iterators.[Ch]:
5244         * undo.[Ch]: make undo aware of inner insets
5245
5246 2003-10-14  Angus Leeming  <leeming@lyx.org>
5247
5248         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5249         static member functions LyX::ref() and LyX::cref.
5250         (lastfiles): new accessor functions for the new lastfiles_ member var.
5251         (addLyXView, views_): add a new LyXView to the list of views_.
5252         (updateInset): loop over all LyXViews to call their own updateInset
5253         member function, returning a pointer to the Buffer owning the inset.
5254
5255         * BufferView_pimpl.C (loadLyXFile):
5256         * MenuBackend.C (expandLastfiles):
5257         * bufferlist.C (MenuWrite, QuitLyX):
5258         lastfiles is no longer a global variable.
5259         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5260
5261         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5262         static function. Access through LyX::cref().emergencyCleanup().
5263
5264 2003-10-14  André Pönitz  <poenitz@gmx.net>
5265
5266         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5267
5268         * undo.[Ch]: restoring part of 'undo in insets'
5269
5270         * Makefile.am:
5271         * undo_funcs.[Ch]: merge with undo.[Ch]
5272
5273         * tabular.C: small cleansing stuff
5274
5275 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5276
5277         * paragraph_funcs.C (readParToken): report unknown insets as error
5278         boxes. Use the outer paragraph as location (also for unknown
5279         tokens).
5280
5281         * factory.C (readInset): do not abort on reading an unknown inset.
5282         Eat it and return 0.
5283
5284 2003-10-13  Angus Leeming  <leeming@lyx.org>
5285
5286         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5287
5288         * lyxrc.C: displayTranslator is now a function,
5289         declared in GraphicsTypes.h.
5290
5291 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5292
5293         * format.C: new placeholder $$a to pass the socket address.
5294
5295         * bufferlist.[Ch]: new function getBufferFromTmp.
5296
5297         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5298           files in the temporary dir.
5299
5300 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5301
5302         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5303
5304         * Makefile.am: add lyxsocket.[Ch].
5305
5306         * lyx_main.C (error_handler): handle SIGPIPE.
5307
5308 2003-10-13  André Pönitz  <poenitz@gmx.net>
5309
5310         * BufferView_pimpl.C:
5311         * lyxtext.h:
5312         * text.C:
5313         * text2.C:
5314         * text3.C:
5315         * undo_funcs.[Ch]: use paroffset_type instead of
5316           ParagraphList::iterators to prevent multiple conversion
5317           (and get a more robust interface)
5318
5319 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5320
5321         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5322         * lyxtext.h: ditto
5323         * text3.C (dispatch): ditto
5324
5325 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5326
5327         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5328         move the onlyfile, use onlyfile instead of foundfile in a couple
5329         of places.
5330
5331         * DepTable.C (update): flush the error stream a bit more
5332
5333 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * lyxserver.C (callback): adjust
5336
5337         * lyxfunc.C (getStatus): add a missing brace in commented code
5338         (ensureBufferClean): reindent
5339         (dispatch): delete version taking a string
5340
5341 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5342
5343         * LaTeX.C (deplog): move found file handlig from here...
5344         (handleFoundFile): .. to new function here.
5345         (deplog): make sure to discover several files mentioned on the
5346         same log line.
5347
5348 2003-10-10  André Pönitz  <poenitz@gmx.net>
5349
5350         * lyxfunc.C:
5351         * lyxtext.h:
5352         * tabular.C:
5353         * text.C:
5354         * text2.C:
5355         * text3.C: fix some of the tabular crashes
5356
5357 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5358
5359         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5360
5361         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5362
5363 2003-10-09  André Pönitz  <poenitz@gmx.net>
5364
5365         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5366
5367         * BufferView.C:
5368         * BufferView_pimpl.C:
5369         * bufferview_funcs.C:
5370         * lyx_cb.C:
5371         * lyxcursor.C:
5372         * lyxfind.C:
5373         * lyxfunc.C:
5374         * lyxtext.h:
5375         * text.C:
5376         * text2.C:
5377         * text3.C:
5378         * text_funcs.[Ch]:
5379         * textcursor.[Ch]:
5380         * undo_funcs.C: adjust
5381
5382 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5383
5384         * text2.C (incrementItemDepth): new function, use a backtracking
5385         algorithm to discover the correct item depth.
5386         (resetEnumCounterIfNeeded): new function, use a backtracking
5387         algorithm to discover if counter reset is needed.
5388         (setCounter): use them. Simplify a bit. Add different labels for
5389         different item depths for itemize.
5390
5391         * paragraph.C (Paragraph): remove initialization of enumdepth
5392         (operator=): ditto
5393
5394         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5395         enumerate and itemize. Change the type of itemdepth to signed char.
5396
5397 2003-10-08  André Pönitz  <poenitz@gmx.net>
5398
5399         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5400           thing assignable.
5401         * text.C:
5402         * text2.C: adjust
5403
5404         * tabular.[Ch]: fix crash after 'row-insert'
5405
5406 2003-10-08  Angus Leeming  <leeming@lyx.org>
5407
5408         Fix doxygen warnings.
5409
5410         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5411         Remove CutAndPaste:: prefix from header file declaration.
5412
5413         * LColor.h (fill): remove LColor:: prefix from declaration.
5414
5415         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5416         use lyx::depth_type rather than Paragraph::depth_type so that
5417         header file and .C file match.
5418
5419         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5420
5421         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5422         * aspell.C: \file aspell_local.C -> \file aspell.C
5423         * gettext.C: \file gettext.C -> \file src/gettext.C
5424         * gettext.h: \file gettext.h -> \file src/gettext.h
5425         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5426         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5427         * text.C: \file text.C -> \file src/text.C
5428
5429         * toc.C: move comment so that doxygen is not confused.
5430
5431 2003-10-07  Angus Leeming  <leeming@lyx.org>
5432
5433         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5434
5435 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5436
5437         * aspell.C:
5438         * aspell_local.h: add forgotten std::string's.
5439
5440 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5441
5442         * LaTeXFeatures.C:
5443         * LyXAction.C:
5444         * factory.C:
5445         * lfuns.h:
5446         * lyxfunc.C:
5447         * text3.C: The Box patch. Fancybox support, minipage, parbox
5448
5449 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5450
5451         * CutAndPaste.h:
5452         * DepTable.h:
5453         * FloatList.h:
5454         * LaTeXFeatures.h:
5455         * ParagraphParameters.h:
5456         * TextCache.h:
5457         * Thesaurus.h:
5458         * bufferlist.h:
5459         * exporter.h:
5460         * importer.h:
5461         * lastfiles.h:
5462         * lyxfind.h:
5463         * lyxfont.h:
5464         * lyxlex.h:
5465         * lyxtextclasslist.h:
5466         * messages.h:
5467         * paragraph.h:
5468         * paragraph_pimpl.C:
5469         * textcursor.h: add <string> and other small fixes to make Lars'
5470         std::string patch compile with STLport.
5471
5472 2003-10-06  Angus Leeming  <leeming@lyx.org>
5473
5474         * LColor.h: Add missing #include <string>.
5475
5476 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5477
5478         * All most all file in all subdirs: Make <string> be the prefered
5479         way of getting to std::string, add using declarations.
5480
5481 2003-10-06  André Pönitz  <poenitz@gmx.net>
5482
5483         * metricsinfo.C: initialize LyXFont before changing attribute.
5484         (fixes the 'math in \emph is upright' bug)
5485
5486 2003-10-06  André Pönitz  <poenitz@gmx.net>
5487
5488         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5489
5490 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5491
5492         * graph.C:
5493         * paragraph_pimpl.C: Small fixes to build using STLport
5494
5495 2003-10-02  André Pönitz  <poenitz@gmx.net>
5496
5497         * lyxfunc.C:
5498         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5499
5500 2003-10-01  André Pönitz  <poenitz@gmx.net>
5501
5502         * factory.C: assert early
5503
5504 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5505
5506         * lyx_main.C: remove the global debug object
5507
5508         * debug.h: adjust for new debugstream
5509
5510         * debug.C: adjust for new debugstream and keep the global debug
5511         object here.
5512
5513 2003-09-22  Angus Leeming  <leeming@lyx.org>
5514
5515         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5516         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5517         an incomplete class LyXFont.
5518
5519 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5520
5521         * factory.C: bug fix in branches
5522
5523 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * lyxfunc.C (processKeySym): adjust
5526         (dispatch): adjust
5527         (dispatch): change arg name from ev to func, adjust
5528         (sendDispatchMessage): ditto
5529
5530         * lyx_main.C (defaultKeyBindings): adjust keybindings
5531         (deadKeyBindings): ditto
5532
5533         * kbsequence.C (addkey): return a FuncRequest
5534
5535         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5536
5537         * kbmap.C (bind): take a FuncRequest as arg, adjust
5538         (read): adjust
5539         (lookup): adjust
5540         (defkey): change to take a FuncRequest as arg, adjust
5541         (findbinding): take a FuncRequest as arg, adjust.
5542
5543         * funcrequest.h (operator=): added
5544
5545         * funcrequest.C (FuncRequest): default kb_action changed from
5546         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5547
5548         * buffer.C (dispatch): simplify
5549         (dispatch): adjust to take a FuncRequest as arg, adjust
5550
5551         * boost.C (assertion_failed): change assertion message slightly
5552
5553         * ToolbarBackend.C (read): simplify
5554
5555         * MenuBackend.C (binding): adjust call to findbinding, add a
5556         message if no binding is found.
5557         (read): simplify
5558         (expandToc): correct by adding a empty FuncRequest
5559
5560         * LyXAction.C: include <boost/assert.hpp>
5561         (isPseudoAction): delete function
5562         (LookupFunc): change name to...
5563         (lookupFunc): this. change return type to FuncRequest.
5564         (getActionName): take kb_action as arg, simplify
5565         (funcHasFlag): add an assert, simplify.
5566
5567 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5568
5569         * toc.C (action): return a FuncRequest, simplify
5570
5571         * lyxfunc.C (processKeySym): adjust
5572         (getStatus): delete version that takes an int.
5573         (getStatus): adjust
5574         (dispatch): delete version that takes action as int
5575         (dispatch): adjust
5576         (sendDispatchMessage): simplify and adjust
5577
5578         * funcrequest.C (getArg): take unsigned int as arg
5579
5580         * ToolbarBackend.C (read): adjust
5581         (add): delete version that takes func as a string.
5582         (getIton): take a FuncRequest as arg
5583
5584         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5585         action.
5586
5587         * MenuBackend.C (MenuItem): add a new construct that only takes a
5588         Kind, simplify the constructor use for submenus.
5589         (add): adjust
5590         (expandLastfiles): adjust
5591         (expandDocuments): adjust
5592         (expandFormats): adjust
5593         (expandFloatListInsert): adjust
5594         (expandFloatInsert): adjust
5595         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5596
5597         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5598         Remove class variables lyx_pseudo_map and lyx_arg_map
5599
5600         * LyXAction.C (searchActionArg): delete function
5601         (getPseudoAction): delete function
5602         (retrieveActionArg): delete function
5603         (LookupFunc): make it return kb_action, simplify.
5604         (getActionName): simplify
5605
5606         * factory.C (createInset): fix new bug
5607
5608 2003-09-19  Angus Leeming  <leeming@lyx.org>
5609
5610         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5611         masterFilename_ parameter in the include inset.
5612
5613         * factory.C (createInset): changes due to the changes to InsetInclude.
5614
5615 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5616
5617         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5618
5619 2003-09-18  Angus Leeming  <leeming@lyx.org>
5620
5621         * buffer.C:
5622         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5623         Inset::fillWithBibKeys.
5624         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5625
5626 2003-09-18  Angus Leeming  <leeming@lyx.org>
5627
5628         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5629         variables.
5630         (ctor): pass and store a 'Buffer const &'
5631         (buffer): new member function.
5632
5633         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5634         '*this' to the LaTeXFeatures ctor.
5635
5636 2003-09-18  Angus Leeming  <leeming@lyx.org>
5637
5638         * LColor.h:
5639         * lyxfont.C:
5640         * lyxfont.h:
5641         * lyxtext.h:
5642         * text.C: rename EnumLColor as LColor_color.
5643
5644 2003-09-18  Angus Leeming  <leeming@lyx.org>
5645
5646         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5647         remove #include "insets/insetbase.h" from cursor.h.
5648
5649 2003-09-18  Angus Leeming  <leeming@lyx.org>
5650
5651         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5652         InsetOld_code to remove #include "inset.h".
5653
5654         * iterators.C: add #include "insets/inset.h"
5655
5656 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5657
5658         * BufferView.C: remove more locking stuff that apparently doesn't
5659         do anything sensible.
5660
5661 2003-09-16  André Pönitz  <poenitz@gmx.net>
5662
5663         * paragraph.[Ch]:
5664         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5665           performance boost.
5666
5667 2003-09-16  Angus Leeming  <leeming@lyx.org>
5668
5669         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5670
5671         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5672         arg/return type.
5673
5674         * paragraph.h: remove #include "lyxfont.h". Forward declare
5675         LyXFont_size.
5676
5677 2003-09-16  Angus Leeming  <leeming@lyx.org>
5678
5679         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5680         of support/textutils.h.
5681         (isWord): move the contents of support/textutils.h's IsWordChar here.
5682
5683         * buffer.C:
5684         * lyxfind.C:
5685         * rowpainter.C:
5686         * text.C:
5687         * text2.C: add #include "paragraph.h".
5688
5689         * rowpainter.C:
5690         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5691
5692 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5693
5694         * main.C:
5695         * lyx_main.C:
5696         * lyx_cb.C:
5697         * buffer.C:
5698         * LaTeX.C: use namespace alias for lyx::support::os
5699
5700 2003-09-16  Angus Leeming  <leeming@lyx.org>
5701
5702         * bufferparams.C:
5703         * bufferview_funcs.C:
5704         * factory.C:
5705         * lyxfunc.C:
5706         * paragraph_pimpl.C:
5707         * rowpainter.C:
5708         * text.C: add #include "LColor.h".
5709
5710 2003-09-16  Angus Leeming  <leeming@lyx.org>
5711
5712         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5713         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5714         return LyXFont &.
5715         Store the FontBits::color variable as an int rather than as an
5716         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5717         file.
5718
5719         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5720         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5721         string calls together.
5722
5723         * lyxrc.C: add #include "LColor.h".
5724
5725 2003-09-15  Angus Leeming  <leeming@lyx.org>
5726
5727         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5728         a cow_ptr.
5729
5730 2003-09-15  Angus Leeming  <leeming@lyx.org>
5731
5732         * LColor.h: add an EnumLColor wrapper for LColor::color.
5733
5734         * lyxfont.[Ch] (color, setColor, realColor):
5735         * lyxtext.h, text.C (backgroundColor):
5736         pass EnumLColor args to/from the functions, rather than LColor::color
5737         ones.
5738
5739         * lyxfont.h:
5740         * lyxtext.h: forward declare EnumLColor.
5741
5742         * lyx_main.C: add #include "LColor.h".
5743
5744 2003-09-15  Angus Leeming  <leeming@lyx.org>
5745
5746         * .cvsignore: add lyx-gtk.
5747
5748 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5749
5750         * Chktex.C
5751         * LaTeX.C
5752         * LaTeXFeatures.C
5753         * ParagraphParameters.C
5754         * Spacing.C
5755         * buffer.C
5756         * bufferparams.C
5757         * bufferview_funcs.C
5758         * chset.C
5759         * counters.C
5760         * funcrequest.C
5761         * lyxfont.C
5762         * lyxgluelength.C
5763         * lyxlength.C
5764         * paragraph.C
5765         * paragraph_funcs.C
5766         * text3.C
5767         * vc-backend.C: remove usage of STRCONV
5768
5769 2003-09-15  Angus Leeming  <leeming@lyx.org>
5770
5771         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5772         explicitly define the color passed to the painter.
5773
5774 2003-09-15  Angus Leeming  <leeming@lyx.org>
5775
5776         * bufferparams.C (BufferParams): reorder member initializers to avoid
5777         compiler warning.
5778
5779 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5780
5781         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5782         * text.C (updateRowPositions): remove an unusual nop
5783
5784 2003-09-12  André Pönitz  <poenitz@gmx.net>
5785
5786         * BufferView_pimpl.C:
5787         * Bullet.C:
5788         * layout.h:
5789         * lyxfunc.C:
5790         * lyxlayout.[Ch]:
5791         * lyxtextclass.C:
5792         * rowpainter.C:
5793         * text.C:
5794         * text2.C:
5795         * Counters.[Ch]: finish the 'automatic counters' job
5796
5797 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5798
5799         * aspell.C: include <boost/assert.cpp> (compile fix)
5800
5801 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5802
5803         * boost.C (assertion_failed): use lyx::support::abort instead of
5804         assert.
5805
5806 2003-09-10  Angus Leeming  <leeming@lyx.org>
5807
5808         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5809         with their _fwd progeny.
5810
5811 2003-09-09  Angus Leeming  <leeming@lyx.org>
5812
5813         134 files throughtout the source tree: replace 'using namespace abc;'
5814         directives with the appropriate 'using abc::xyz;' declarations.
5815
5816 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5817
5818         * boost.C (emergencyCleanup): moved here from LAssert.c
5819         (assertion_failed): new function, called by BOOST_ASSERT
5820
5821         * several files: change Assert to BOOST_ASSERT
5822
5823 2003-09-09  Angus Leeming  <leeming@lyx.org>
5824
5825         * buffer.[Ch]: Add an Impl class and move Buffer's member
5826         variables into it. As a result move several header files out of
5827         buffer.h.
5828
5829         Add header files to lots of .C files all over the tree as a result.
5830
5831 2003-09-09  Angus Leeming  <leeming@lyx.org>
5832
5833         * buffer.[Ch]: make Buffer's member variables private. Add
5834         accessor functions.
5835
5836         Lots of changes all over the tree as a result.
5837
5838 2003-09-08  Angus Leeming  <leeming@lyx.org>
5839
5840         * graph.C: #include <config.h>.
5841
5842 2003-09-08  Angus Leeming  <leeming@lyx.org>
5843
5844         * BranchList.C:
5845         * BufferView.C:
5846         * BufferView_pimpl.C:
5847         * CutAndPaste.C:
5848         * DepTable.C:
5849         * LaTeX.C:
5850         * LaTeXFeatures.C:
5851         * LyXAction.C:
5852         * MenuBackend.C:
5853         * TextCache.C:
5854         * aspell.C:
5855         * buffer.C:
5856         * bufferlist.C:
5857         * changes.C:
5858         * chset.C:
5859         * converter.C:
5860         * counters.C:
5861         * debug.C:
5862         * graph.C:
5863         * ispell.C:
5864         * lyx_cb.C:
5865         * lyxfind.C:
5866         * lyxfunc.C:
5867         * lyxlex_pimpl.C:
5868         * lyxrc.C:
5869         * lyxrow.C:
5870         * paragraph.C:
5871         * rowpainter.C:
5872         * texrow.C:
5873         * text.C:
5874         * text2.C:
5875         * toc.C: remove redundant using directives.
5876
5877 2003-09-07  Angus Leeming  <leeming@lyx.org>
5878
5879         * LaTeXFeatures.h: remove #include "support/types.h".
5880         * ToolbarBackend.h: remove #include <algorithm>.
5881         * changes.h: remove #include <ctime>.
5882         * debug.h: remove #include <iosfwd>.
5883         * graph.h: remove #include "support/std_string.h".
5884         * lyx_main.h: remove #include <csignal>.
5885         * lyxlex_pimpl.h: remove #include <fstream>.
5886         * sgml.h: remove #include <algorithm>, <utility>.
5887         * toc.h: remove #include "support/std_ostream.h".
5888         Add #include <iosfwd>.
5889
5890 2003-09-07  Angus Leeming  <leeming@lyx.org>
5891
5892         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5893
5894         * converter.h: forward declare LatexRunParams.
5895         * encoding.h: remove #include "lyxrc.h".
5896         * lyxtext.h: remove #include "LColor.h".
5897         * lyxtextclass.h: remove #include "support/types.h".
5898         * trans.h: remove #include "tex-accent.h".
5899         * trans_mgr.h: remove #include "tex-accent.h".
5900         * insets/inset.h: remove #include "support/types.h", <vector>.
5901         * insets/insetcollapsable.h: remove #include "LColor.h".
5902         * insets/insetinclude.h: remove #include "dimension.h".
5903         * insets/insetlatexaccent.h: remove #include "dimension.h".
5904         * insets/insetoptarg.h:: remove #include "insettext.h".
5905         * insets/insettext.h: remove #include "dimension.h",
5906         <boost/shared_ptr.hpp>
5907
5908         * insets/renderers.h: add #include "dimension.h".
5909         * insets/updatableinset.h: add #include "support/types.h".
5910
5911         * many .C files: Associated changes.
5912
5913 2003-09-06  Angus Leeming  <leeming@lyx.org>
5914
5915         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5916         one, inside testInvariant.
5917
5918         * PrinterParams.C: new file.
5919         * PrinterParams.[Ch]: move the function bodies out of line.
5920
5921 2003-09-06  Angus Leeming  <leeming@lyx.org>
5922
5923         * ParagraphParameters.h: forward declare ParameterStruct rather than
5924         including its header file.
5925         (depth): moved out-of-line.
5926
5927 2003-09-06  Angus Leeming  <leeming@lyx.org>
5928
5929         * BufferView_pimpl.h:
5930         * kbmap.h:
5931         * kbsequence.h:
5932         * lyxfunc.h: forward declare LyXKeySym rather than
5933         #include "frontends/LyXKeySym.h".
5934
5935         * BufferView_pimpl.C:
5936         * kbmap.C:
5937         * kbsequence.C:
5938         * lyxfunc.C: associated changes.
5939
5940 2003-09-06  Angus Leeming  <leeming@lyx.org>
5941
5942         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5943         As a result, can remove the #include "insets/inset.h" from BufferView.h
5944
5945 2003-09-06  Angus Leeming  <leeming@lyx.org>
5946
5947         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5948         As a result, can remove the #include "insets/inset.h" from BufferView.h
5949
5950 2003-09-06  Angus Leeming  <leeming@lyx.org>
5951
5952         * buffer_funcs.C:
5953         * buffer.h:
5954         * bufferlist.C:
5955         * BufferView.C:
5956         * bufferview_funcs.C:
5957         * BufferView_pimpl.C:
5958         * CutAndPaste.C:
5959         * lyx_cb.C:
5960         * lyxfunc.C:
5961         * paragraph.h:
5962         * ParagraphParameters.C:
5963         * tabular.C:
5964         * text3.C:
5965         * toc.C:
5966         * undo_funcs.C:
5967         * frontends/controllers/ControlDocument.C:
5968         * insets/insetcaption.C: rearrange the #includes into some sort of
5969         coherent order.
5970
5971         * buffer.h: remove #includes ErrorList.h, undo.h
5972
5973 2003-09-06  Angus Leeming  <leeming@lyx.org>
5974
5975         * support/types.h: add a 'depth_type' typedef, used to store the
5976         nesting depth of a paragraph.
5977
5978         * paragraph.h:
5979         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5980         defining explicitly.
5981
5982         * buffer.h:
5983         * paragraph_funcs.h:
5984         * ParagraphParameters.h:
5985         * sgml.h: use lyx::depth_type rather than Paragraph or
5986         ParameterStruct's depth_type.
5987
5988         * buffer.h
5989         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5990
5991         * BufferView.C:
5992         * BufferView_pimpl.C:
5993         * CutAndPaste.C:
5994         * ParagraphParameters.C:
5995         * buffer_funcs.C:
5996         * bufferlist.C:
5997         * bufferview_funcs.C:
5998         * lyx_cb.C:
5999         * lyxfunc.C:
6000         * tabular.C:
6001         * text3.C:
6002         * toc.C:
6003         * undo_funcs.C:
6004         * frontends/LyXView.C:
6005         * frontends/controllers/ControlDocument.C:
6006         * frontends/controllers/ControlErrorList.C:
6007         * insets/insetbibitem.C:
6008         * insets/insetbranch.C:
6009         * insets/insetcaption.C:
6010         * insets/insetcollapsable.C:
6011         * insets/insetenv.C:
6012         * insets/insetert.C:
6013         * insets/insetfloat.C:
6014         * insets/insetfoot.C:
6015         * insets/insetfootlike.C:
6016         * insets/insetnewline.C:
6017         * insets/insetquotes.C:
6018         * insets/insettabular.C:
6019         * insets/insettext.C:
6020         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6021
6022         * frontends/controllers/ControlChanges.C: #include "changes.h".
6023
6024 2003-09-06  Angus Leeming  <leeming@lyx.org>
6025
6026         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6027         than #including paragraph.h.
6028
6029         * ParagraphList.h:
6030         * RowList.h: deleted. Superfluous.
6031
6032         * CutAndPaste.h:
6033         * iterators.h:
6034         * lyxcursor.h:
6035         * lyxtext.h:
6036         * text_funcs.h:
6037         * undo.h:
6038         * undo_funcs.h:
6039         * insets/inset.h:
6040         * insets/insettext.h: use ParagraphList_fwd.h rather than
6041         ParagraphList.h.
6042
6043         * paragraph.h: don't forward declare ParagraphList.
6044
6045         * buffer.h:
6046         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6047         rather than ParagraphList.h. paragraph.h is still needed for the
6048         Paragraph::depth_type parameters.
6049
6050         * textcursor.h: enable it to compile stand-alone in light of the
6051         above changes.
6052
6053         * bufferview_funcs.C:
6054         * iterators.C:
6055         * lyxfunc.C:
6056         * lyxrow_funcs.C:
6057         * paragraph.C:
6058         * rowpainter.C:
6059         * text.C:
6060         * text2.C:
6061         * text3.C:
6062         * text_funcs.C:
6063         * textcursor.C:
6064         * undo.C:
6065         * frontends/controllers/ControlParagraph.C:
6066         * frontends/controllers/ControlTabular.C:
6067         * insets/insetmarginal.C:
6068         * insets/insetminipage.C:
6069         * insets/insetnote.C:
6070         * insets/insetoptarg.C: add header files needed to compile again.
6071
6072 2003-09-06  Angus Leeming  <leeming@lyx.org>
6073
6074         * RowList_fwd.h: new file, forward-declaring Row rather than
6075         #including lyxrow.h.
6076
6077         * lyxrow_funcs.h:
6078         * lyxtext.h:
6079         * paragraph.h:
6080         * insets/insettext.h: use it instead of RowList.h
6081
6082         * bufferview_funcs.C:
6083         * lyxfunc.C:
6084         * lyxrow_funcs.C:
6085         * paragraph.C:
6086         * rowpainter.C:
6087         * text.C:
6088         * text2.C:
6089         * text3.C: #include "RowList.h".
6090
6091 2003-09-05  Angus Leeming  <leeming@lyx.org>
6092
6093         * factory.C (createInset):
6094         * vspace.C (c-tor): replace sscanf call with an istringstream.
6095         * ispell.C: re-add missing HP/UX headers.
6096         * lyxserver.C: re-add missing  os2 headers.
6097
6098 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6099
6100         * BranchList.C:
6101         * graph.C:
6102         * ispell.C:
6103         * lastfiles.C:
6104         * lyx_cb.C:
6105         * lyxserver.C:
6106         * texrow.C:
6107         * text3.C: re-add missing system headers, needed for 2.95.2.
6108
6109 2003-09-05  Angus Leeming  <leeming@lyx.org>
6110
6111         Changes most place everywhere due to the removal of using directives
6112         from support/std_sstream.h.
6113
6114 2003-09-05  Angus Leeming  <leeming@lyx.org>
6115
6116         Replace LString.h with support/std_string.h,
6117         Lsstream.h with support/std_sstream.h,
6118         support/LIstream.h with support/std_istream.h,
6119         support/LOstream.h with support/std_ostream.h.
6120
6121         Changes resulting throughout the tree.
6122
6123 2003-09-05  Angus Leeming  <leeming@lyx.org>
6124
6125         * sgml.h: ensure that the header file can be compiled stand-alone.
6126         * *.C: strip out redundant #includes. (320 in total.)
6127
6128 2003-09-04  Angus Leeming  <leeming@lyx.org>
6129
6130         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6131         here (from getPackages).
6132
6133         * debug.[Ch]: add a new EXTERNAL tag.
6134
6135 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6136
6137         * text2.C (cursorEnd): simplify
6138         (setCursor): adjust
6139         (getColumnNearX): adjust
6140
6141         * text.C (computeBidiTables): adjust
6142         (fill): adjust
6143
6144         * rowpainter.C (paintChars): adjust
6145         (paintSelection): adjust
6146         (paintChangeBar): adjust
6147         (paintText): adjust
6148
6149         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6150         lastPos instead.
6151         (numberOfSeparators): adjust
6152
6153 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6154
6155         * LyXAction.C:
6156         * box.[Ch]:
6157         * lfuns.h:
6158         * lyxfunc.C:
6159         * text3.C: Restricts the mouse click functionality
6160         of insets like bibtex, include, toc and floatlist to the visible
6161         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6162         up the dialogs. Cursor has to be in front of the inset (i.e.
6163         start of row) for this to function.
6164
6165 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6166
6167         * bufferview_funcs.C (currentState): output row information
6168
6169 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6170
6171         * bufferview_funcs.C (currentState): output paragraph position
6172
6173 2003-09-04  Angus Leeming  <leeming@lyx.org>
6174
6175         * FloatList.h: move out #include "Floating.h".
6176         * LaTeX.h: move out #include "DepTable.h".
6177         * LyXAction.h: move out #include "funcrequest.h".
6178         * buffer.h: move out #include "author.h", "iterators.h".
6179         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6180         * lyx_main.h: move out #include "errorlist.h".
6181         * lyxfunc.h: move out #include "FuncStatus.h".
6182         * lyxtext: move out #include "lyxcursor.h".
6183         * paragraph_pimpl.h: move out #include "counters.h".
6184
6185 2003-09-03  Angus Leeming  <leeming@lyx.org>
6186
6187         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6188         preamble_snippets list, enabling us to add snippets to the preamble
6189         only if the snippet was not there already.
6190
6191 2003-09-04  Angus Leeming  <leeming@lyx.org>
6192
6193         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6194
6195 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6196
6197         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6198         update
6199
6200 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6201
6202         * BranchList.C: point fix, earlier forgotten
6203
6204 2003-09-02  Angus Leeming  <leeming@lyx.org>
6205
6206         * box.C (contains): renamed from 'contained' after a fantastic
6207         amount of hot air.
6208
6209 2003-09-02  John Levon  <levon@movementarian.org>
6210
6211         * BufferView.C:
6212         * lyxcursor.h:
6213         * lyxcursor.C:
6214         * lyxfunc.C:
6215         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6216
6217 2003-09-02  John Levon  <levon@movementarian.org>
6218
6219         * text2.C: simplification of cursorEnd(), including partial
6220         fix for bug 1376
6221
6222 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * buffer.C (readFile): add a space
6225
6226 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6227
6228         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6229
6230 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6231
6232         * buffer.C (readFile): new function, take a filename and a
6233         ParagraphList::iterator
6234         (readFile): adjust
6235         (readFile): adjust, make it private. don't use setStream, make
6236         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6237         always contain the filename.
6238
6239         * BufferView.C (insertLyXFile): simplify and make it work for
6240         gzipped files.
6241
6242 2003-08-30  John Levon  <levon@movementarian.org>
6243
6244         * Makefile.am: fix dist (from Kayvan)
6245
6246 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * most files: change to use const Buffer refs
6249
6250 2003-08-27  André Pönitz  <poenitz@gmx.net>
6251
6252         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6253         on top of ownerPar().
6254
6255 2003-08-27  John Levon  <levon@movementarian.org>
6256
6257         * funcrequest.C: properly initialise POD members
6258
6259 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6260
6261         * lyxtext.h (top_y): move top_y from here
6262         * text.C:
6263         * text2.C:
6264         * text3.C:
6265         * BufferView.[Ch]:
6266         * BufferView_pimpl.[Ch]: to here
6267         * frontends/screen.C:
6268         * insets/insettabular.C:
6269         * insets/insettext.C: adjust
6270         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6271
6272 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6273
6274         * BufferView.[Ch]:
6275         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6276
6277 2003-08-26  André Pönitz  <poenitz@gmx.net>
6278
6279         * paragraph_func.[Ch] (outerPar): new function
6280
6281         * paragraph.C:
6282         * paragraph_funcs.C:
6283         * paragraph_funcs.h:
6284         * paragraph_pimpl.C:
6285         * text2.C: remove Inset::par_owner
6286
6287 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6288
6289         * lyxrow_funcs.C:
6290         * lyxtext.h:
6291         * text.C:
6292         * text2.C: eliminates the needFullRow/display() stuff
6293         altogether, putting the logic in metrics/draw in the insets.
6294
6295 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6296
6297         * text2.C (redoParagraphInternal, redoParagraphs):
6298         * text.C (redoParagraph): add a call to updateRowPositions at the
6299         end of each 'metrics-like' call. Remove all others.
6300         (getRow): remove the 'y-computing' version.
6301         (getRowNearY): do not compute nor return the real y. Solve the
6302         'y < 0' problem and simplify.
6303
6304 2003-08-22  Angus Leeming  <leeming@lyx.org>
6305
6306         * *.[Ch]: clean-up of licence and author blurbs.
6307         Also move config.h out of a few .h files and into a few .C files.
6308
6309 2003-08-22  André Pönitz  <poenitz@gmx.net>
6310
6311         * lyxrow.[Ch]: add x_ and *fill_ members
6312
6313         * lyxtext.h:
6314         * text.C:
6315         * rowpainter.C:
6316         * text2.C: adjust/remove prepareToPrint() calls
6317
6318 2003-08-22  André Pönitz  <poenitz@gmx.net>
6319
6320         * lyxrow.[Ch]: add  end_ member
6321
6322         * lyxrow_funcs.C: use LyXRow::end_
6323
6324         * lyxtext.h (singleWidth): add LyXFont parameter
6325
6326         * rowpainter.C:
6327         * text2.C: adjust LyXText::singleWidth() calls
6328
6329         * text.C (redoParagraph): simplify row breaking logic
6330
6331
6332 2003-08-19  André Pönitz  <poenitz@gmx.net>
6333
6334         * funcrequest.C: initialize button_ member
6335
6336         * text3.C:
6337         * rowpainter.[Ch]: interface consolidation
6338
6339 2003-08-18  André Pönitz  <poenitz@gmx.net>
6340
6341         * BufferView.C:
6342         * BufferView_pimpl.C:
6343         * lyxfind.C:
6344         * paragraph_funcs.C:
6345         * rowpainter.C:
6346         * text3.C: remove LyXScreen::draw() and fitCursor calls
6347
6348         * BranchList.h: remove spurious semicolons
6349
6350         * MenuBackend.C: fix branchlist related crash
6351
6352 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6353
6354         * BranchList.[Ch]:
6355         * InsetList.[Ch]:
6356         * LColor.[Ch]:
6357         * LyXAction.C:
6358         * Makefile.am:
6359         * MenuBackend.[Ch]:
6360         * bufferparams.[Ch]:
6361         * factory.C:
6362         * lfuns.h:
6363         * lyxfunc.C:
6364         * text3.C: implements the 'branch inset'
6365         idea. This allows the output of various versions of a document
6366         from a single source version, selectively outputing or suppressing
6367         output of parts of the text.
6368         This implementation contains a 'branch list editor' in a separate
6369         tab of the document settings dialog. Branches are user definable
6370         and have a "display colour" to distinguish them on-screen.
6371
6372         ColorHandler was somewhat cleaned up.
6373         (1) make possible a dynamically growing LColor list by allowing
6374         the graphic context cache to grow along (vector);
6375         (2) eliminate an IMHO unnecessary step in colour allocation.
6376
6377 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6378
6379         * BufferView_pimpl.C: compile fix
6380
6381 2003-08-15  André Pönitz  <poenitz@gmx.net>
6382
6383         * rowpainter.C: remove extra metrics calls
6384
6385         * lyxtext.h: merge the two constructors into a single one,
6386           pass reference to owner's par list
6387
6388         * BufferView_pimpl.C:
6389         * text.C:
6390         * text2.C: adjust
6391
6392 2003-08-15  André Pönitz  <poenitz@gmx.net>
6393
6394         * lyxrow_funcs.[Ch]:
6395         * lyxtext.h:
6396         * paragraph.h:
6397         * paragraph_funcs.C:
6398         * rowpainter.C:
6399         * text.C:
6400         * text2.C:
6401         * text3.C:
6402         * text_funcs.C: split LyXText::rowlist_ into individual
6403         Paragraph::rows_ chunks
6404
6405         * BufferView.[Ch]:
6406         * BufferView_pimpl.[Ch]:
6407         * lyxfind.C:
6408         * lyxtext.h:
6409         * text3.C: remove toggleSelection()
6410
6411 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6412
6413         * bufferlist.C: beautify two alerts (shorter text of buttons)
6414         * buffer.C: Remove redundant ' ' from message
6415         * tabular.h:
6416         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6417         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6418         rename VALIGN_CENTER to VALIGN_MIDDLE
6419
6420 2003-08-11  André Pönitz  <poenitz@gmx.net>
6421
6422         * lyxtext.h (getPar):
6423         * text.C: new function
6424
6425 2003-08-11  André Pönitz  <poenitz@gmx.net>
6426
6427         * Makefile.am:
6428         * tracer.[Ch]: remove unneeded files
6429
6430         * InsetList.[Ch]: remove resizeInsetsLyXText()
6431
6432         * lyxtext.h:
6433         * text.C:
6434         * text2.C:
6435         * text3.C: merge insertParagraphs() and appendParagraph()
6436         remove breakAgain(), update()
6437
6438         * BufferView_pimpl.[Ch]:
6439         * bufferview_funcs.[Ch]:
6440         * lyxfunc.C:
6441         * paragraph.[Ch]:
6442         * rowpainter.C:
6443         * tabular.C: adjust after text & InsetList changes.
6444
6445 2003-08-08  André Pönitz  <poenitz@gmx.net>
6446
6447         * text.C (insertChar, backspace): replace rowlist fiddling
6448         with rebreak of full par
6449
6450         * lyxtext.h:
6451         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6452         checkParagraph, updateInset): removed
6453
6454 2003-08-07  André Pönitz  <poenitz@gmx.net>
6455
6456         * paragraph.C:
6457         * text3.C: merge some LFUN handlers, remove dead code
6458
6459 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6460
6461         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6462
6463 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6464
6465         * text2.C (DEPM): fix part of bug 1255 and 1256
6466
6467 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6468
6469         * BufferView_pimpl.C (workAreaDispatch): change to use
6470         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6471         that are no mouse related.
6472
6473 2003-08-05  André Pönitz  <poenitz@gmx.net>
6474
6475         * BufferView.[Ch]:
6476         * BufferView_pimpl.[Ch]:
6477         * bufferview_funcs.C:
6478         * text2.C:
6479         * text3.C: rip out "deep update"
6480
6481         * textcursor.[Ch] (last_sel_cursor): remove unused member
6482
6483 2003-08-04  André Pönitz  <poenitz@gmx.net>
6484
6485         * BufferView.[Ch]:
6486         * BufferView_pimpl.[Ch]:
6487         * ParagraphParameters.C:
6488         * bufferview_funcs.C:
6489         * lyx_cb.C:
6490         * lyxfind.C:
6491         * lyxfunc.C:
6492         * text.C:
6493         * text2.C:
6494         * text3.C: replace "complicated" BufferView::update(...) calls with
6495         simpler ones.
6496
6497         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6498
6499 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6500
6501         * Makefile.am (lyx_SOURCES): add paper.h
6502
6503 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6504
6505         * Makefile.am: move things around so that both lyx-qt and
6506         lyx-xforms can be built (according to --with-frontend). Then lyx
6507         is a symbolic link to lyx-[firstfrontend]
6508
6509 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6510
6511         * Always use std::endl with lyxerr
6512
6513 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6514
6515         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6516
6517 2003-08-01  André Pönitz  <poenitz@gmx.net>
6518
6519         * BufferView.[Ch]:
6520         * BufferView_pimpl.[Ch]:
6521         * lyxfunc.C:
6522         * text3.C: merge BufferView::repaint() and BufferView::update()
6523
6524 2003-08-01  José Matos  <jamatos@lyx.org>
6525
6526         * buffer.[Ch]: file_format is no longer a buffer data element.
6527
6528 2003-08-01  André Pönitz  <poenitz@gmx.net>
6529
6530         * BufferView.C:
6531         * lyxtext.h:
6532         * text.C:
6533         * text2.C: make redoParagraph more independent of current cursor
6534
6535         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6536         * text.C:
6537         * text2.C: remove unneeded members
6538
6539 2003-07-30  André Pönitz  <poenitz@gmx.net>
6540
6541         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6542
6543         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6544           create a single function...
6545
6546         * paragraph_funcs.C (moveItem): ... here.
6547
6548         * text.C:
6549           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6550
6551 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6552
6553         * LColor.[Ch]: Add comment and greyedout logical colors.
6554
6555 2003-07-30  André Pönitz  <poenitz@gmx.net>
6556
6557         * tabular.C: don't use Assert too heavily. This crashes where it
6558           shouldn't
6559
6560 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6561
6562         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6563         is disabled (bug 1232)
6564
6565 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6566
6567         * factory.C: limited 'arg' scope
6568
6569 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6570
6571         * factory.C: fixed Note submenu issues
6572
6573 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6574
6575         * factory.C: submenu for Note/Comment/Greyedout
6576
6577 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6578
6579         * lyx_main.C (LyX):
6580         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6581
6582 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6583
6584         * LaTeXFeatures.C:
6585         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6586         greyedout. Patch provided by Jürgen Spitzmüller.
6587
6588 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6589
6590         * kbmap.C (read): fix error message when reading bind files
6591
6592 2003-07-29  Angus Leeming  <leeming@lyx.org>
6593
6594         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6595         certainly does not do what it purports to do. I am doing it, and
6596         us, a favour by killing it.
6597
6598 2003-07-28  José Matos  <jamatos@lyx.org>
6599
6600         * buffer.C (readBody, do_writeFile):
6601         * paragraph.C(readParagraph): \end_document replaces \the_end.
6602
6603 2003-07-29  André Pönitz  <poenitz@gmx.net>
6604
6605         * BufferView.[Ch]:
6606         * BufferView_pimpl.[Ch]:
6607         * lyxfunc.C:
6608         * text2.C:
6609         * text3.C:
6610         * textcursor.[Ch]: remove toggleToggle & Co
6611
6612 2003-07-28  José Matos  <jamatos@fep.up.pt>
6613
6614         * buffer.C (readParagraph):
6615         * params_func (readParToken, readParagraph):
6616         * paragraph.C (write): \layout -> \begin_layout.
6617
6618 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6619
6620         * lyxlex_pimpl.C (setFile): clean up slightly.
6621
6622         * bufferparams.h: add compressed var
6623
6624         * buffer_funcs.C (readFile): adjust for LyXLex change
6625         (newFile): ditto + simplify
6626
6627         * buffer.C (writeFile): handle writing of compressed files
6628
6629         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6630         Check if the file is compressed and set a bufferparm if so.
6631
6632         * Makefile.am (lyx_LDADD): remove explicit -lz
6633
6634 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6635
6636         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6637         makeDocBookFile): put the real LyX version in the first line of
6638         the file
6639
6640         * version.h:
6641         * version.C.in: remove lyx_docversion
6642
6643         * tabular.C (write_attribute): add a template-based version to
6644         write enums properly
6645
6646 2003-07-28  André Pönitz  <poenitz@gmx.net>
6647
6648         * lyxtext.h:
6649         * text.C:
6650         * text2.C:
6651         * text3.C: use doubles again for x-coordinates. They are needed.
6652
6653 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6654
6655         * messages.C (getLocaleDir): use lyx_localedir()
6656
6657         * lyxlex_pimpl.C (setFile): compress stuff
6658
6659         * buffer.C (writeFile): add some compression stuff
6660         (do_writeFile): new func, dont call expliti close... will this
6661         breake anything?
6662
6663         * Makefile.am (lyx_LDADD): add -lz
6664
6665 2003-07-28  José Matos  <jamatos@fep.up.pt>
6666
6667         * buffer.C: increment file format.
6668         * paragraph_funcs (readParagraph, readParToken):
6669         * paragraph.C (readParagraph): add \end_layout.
6670
6671 2003-07-27  Angus Leeming  <leeming@lyx.org>
6672
6673         * Makefile.am: remove special casing for configure-time setting of
6674         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6675
6676         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6677         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6678
6679 2003-07-26  André Pönitz  <poenitz@gmx.net>
6680
6681         * paragraph_func.[Ch]:
6682         * paragraph.C (realizeFont): inline it whereever it is used
6683
6684         * rowpainter.C:
6685         * text.C:
6686         * text2.C:
6687         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6688
6689
6690 2003-07-26  André Pönitz  <poenitz@gmx.net>
6691
6692         *       lyxtext.h:
6693         * text.C:
6694         * text2.C: get rid of LyXText::need_break_row
6695
6696 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6697
6698         * toc.[Ch]: put namespace toc inside namespace lyx
6699
6700         * MenuBackend.C (expandToc2): adjust for lyx::toc
6701         (expandToc): ditto
6702
6703         * lyxfunc.C (dispatch): adjust for lyx::find
6704
6705         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6706         lyx::find instead. Reorganize a bit.
6707         (LyXReplace): rename to replace
6708         (LyXFind): rename to find
6709
6710         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6711         (dispatch): ditto
6712
6713 2003-07-26  André Pönitz  <poenitz@gmx.net>
6714
6715         * text.C (setHeightOfRow): restrict scope of temporary variable
6716
6717         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6718           code (never has been used?)
6719
6720 2003-07-27  Asger Alstrup  <alstrup@local>
6721
6722         * text.C (fill): Optimise algorithm to exploit that we can reuse
6723         the LyXFont for many characters.
6724         (setHeightOfRow): Same thing.
6725         (rowBreakPoint): Same thing.
6726
6727 2003-07-26  Asger Alstrup  <alstrup@local>
6728
6729         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6730
6731         * text.C (singleWidth): Spurious font copying in hot-spot
6732         singleWidth avoided. Reorder tests for arabic for efficiency.
6733
6734         * text.C (fill): handle empty paragraphs better.
6735
6736 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6737
6738         * ispell.C:
6739         * encoding.h: add includes
6740
6741         * lyxrc.C: remove reading of bind files
6742
6743         * lyx_main.C (init): setup bindings and menus only if we have a
6744         gui.
6745
6746         * kbmap.C (read): new method. Do the actual reading of bind
6747         files.
6748
6749         * converter.C (dvipdfm_options):
6750         * bufferparams.C:
6751         * lyxrc.C (read):
6752         (output): adapt PAPER_* enums.
6753
6754         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6755
6756         * bufferparams.h: remove paper-related enums from there
6757
6758         * paper.h: New file. A trivial header file to hold paper-related
6759         enums. It should later expand to contain many paper-related
6760         horrors access.
6761
6762         * lyxrc.C: declare extern displayTranslator
6763
6764 2003-07-27  José Matos  <jamatos@fep.up.pt>
6765
6766         * tabular.[Ch] (linuxdoc): add support for tables and figures
6767         (linuxdoc).
6768
6769 2003-07-27  José Matos  <jamatos@fep.up.pt>
6770
6771         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6772         consistency in both functions.
6773         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6774
6775 2003-07-26  Asger Alstrup  <alstrup@local>
6776
6777         * rowpainter.C (paintRows): Change algorithm to work directly on
6778         the insets rather than asking every character in the document
6779         whether its an inset.
6780
6781 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6782
6783         * buffer.C (openFileWrite): factorize some code
6784
6785 2003-07-26  Angus Leeming  <leeming@lyx.org>
6786
6787         * lyx_cb.C:
6788         * lyx_main.[Ch]: replace occurances of system_tempdir with
6789         os::getTmpDir().
6790
6791 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6792
6793         * rename Inset to InsetOld
6794
6795 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6796
6797         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6798         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6799         which I think is a bit clearer. EDIT is gone, since it was
6800         premature optimisation, and broken for mathed anyway.
6801         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6802         with cursor positioning in insets as well (math insets still do not
6803         work, but that's a different story anyway.) It mysteriously
6804         crashes sometimes with undo in the first paragraph, but I'm fairly
6805         confident that this is a compiler bug.
6806
6807 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6808
6809         * paragraph.C (Paragraph): adjust for new clone return type
6810         (operator==): ditto
6811         (copyIntoMinibuffer): ditto
6812
6813 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6814
6815         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6816         by not having a special case, and always doing a full rebreak of
6817         the document after undo.
6818
6819 2003-07-23  Angus Leeming  <leeming@lyx.org>
6820
6821         * factory.C (createInset): InsetExternal::setParams now takes a
6822         Buffer const * arg.
6823
6824 2003-07-23  Angus Leeming  <leeming@lyx.org>
6825
6826         * factory.C (createInset): changed interface to the external and
6827         graphics mailers' string2params functions.
6828
6829 2003-07-23  Angus Leeming  <leeming@lyx.org>
6830
6831         * factory.C (createInset): pass a
6832         Buffer const * parameter to InsetExternalMailer's string2params.
6833
6834 2003-07-22  John Levon  <levon@movementarian.org>
6835
6836         * Thesaurus.h: include the right aiksaurus header
6837
6838 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6839
6840         * MenuBackend.C (expand): check menu shortcuts unconditionally
6841
6842 2003-07-21  Angus Leeming  <leeming@lyx.org>
6843
6844         * factory.C (createInset): pass a
6845         buffer_path parameter to InsetGraphicsMailer's string2params.
6846
6847 2003-07-21  Angus Leeming  <leeming@lyx.org>
6848
6849         * BufferView_pimpl.C (buffer):
6850         * buffer.C (d-tor):
6851         * lyx_main.C (LyX):
6852         * lyxfunc.C (dispatch):
6853         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6854         rather than the grfx shortcut.
6855
6856 2003-07-21  André Pönitz  <poenitz@gmx.net>
6857
6858         * rowpainter.C: remove unused variables
6859
6860         * tabular_funcs.C:
6861         * tabular_funcs.h: move to tabular.C
6862         * Makefile.am: adjust
6863
6864         * tabular.[Ch]: basic optical cleaning
6865
6866         * author.h: pass references, not values
6867
6868 2003-07-18  André Pönitz  <poenitz@gmx.net>
6869
6870         * lyxtext.h:
6871         * metricsinfo.C:
6872         * metricsinfo.h:
6873         * rowpainter.C:
6874         * text.C:
6875         * text2.C:
6876         * text3.C: two-phase drawing for InsetText and InsetTabular
6877         some float -> int changes.
6878
6879 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6880
6881         * lyx_main.C: fix the fix
6882
6883 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6884
6885         * lyx_main.C: fix a crash in batch mode if no files specified
6886         * converter.C: ws
6887
6888 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6889
6890         * format.[Ch] (papersize): moved to BufferParams
6891         * converter.[Ch] (dvips_options): moved to BufferParams
6892         (dvipdfm_options): moved to anon namespace
6893         * bufferparams.[Ch]: added above functions.
6894
6895 2003-07-17  André Pönitz  <poenitz@gmx.net>
6896
6897         * lyxtext.h:
6898         * rowpainter.C:
6899         * text2.C: don't call inset->update() anymore
6900
6901         * metricsinfo.[Ch]: add convenience constructor
6902
6903 2003-07-16  André Pönitz  <poenitz@gmx.net>
6904
6905         * lyxcursor.[Ch]:
6906         * lyxfunc.[Ch]:
6907         * text.C:
6908         * text2.C: replace the LyXCursor::irow_ member with
6909          on-demand computation of the value
6910
6911 2003-07-16  John Levon  <levon@movementarian.org>
6912
6913         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6914
6915 2003-07-15  André Pönitz  <poenitz@gmx.net>
6916
6917         * text.C:
6918         * text2.C: remove no more needed refresh_row
6919
6920 2003-07-15  André Pönitz  <poenitz@gmx.net>
6921
6922         * lyxtext.h:
6923         * rowpainter.C:
6924         * text2.C:
6925         * text3.C: refresh_status tristate -> need_update bool
6926
6927 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6928
6929         * lyxtext.h (init): remove reinit argument (act as if always true)
6930         * text2.C: adjust to that
6931
6932 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6933
6934         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6935         * text3.C: use it to delete selections in some cases
6936         (bugs 441, 673, 702, 954).
6937
6938 2003-07-14  André Pönitz  <poenitz@gmx.net>
6939
6940         * rowpainter.[Ch]: reduce interface
6941
6942 2003-07-14  André Pönitz  <poenitz@gmx.net>
6943
6944         * BufferView_pimpl.C:
6945         * text2.C: adjust after removing unused BufferView * argument
6946
6947 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6948
6949         * text2.C (init): fix a crash fired on resize
6950
6951 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6952
6953         * buffer.[Ch]: added new closing signal
6954         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6955         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6956         BufferView::Pimpl via the closing the signal
6957
6958 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6959
6960         * buffer.[Ch]: take out all bv-related from buffer
6961         * BufferView.C:
6962         * BufferView_pimpl.[Ch]: connect to new signals
6963         * CutAndPaste.C: removed useless asserts
6964         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6965         * lyxvc.[Ch]:
6966         * vc-backend.[Ch]:
6967         * lyxfunc.C: moved view-related funciontality from vc here
6968         * paragraph.C: removed outdated comments
6969         * text.C: ws
6970
6971 2003-07-10  André Pönitz  <poenitz@gmx.net>
6972
6973         * BufferView_pimpl.C:
6974         * tabular.h:
6975         * tabular_funcs.C:
6976         * text.C:
6977         * text2.C: remove InsetText::InnerCache, clean up consequences
6978
6979 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6980
6981         * ispell.C: fix two typos in error messages
6982
6983 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6984
6985         * Extend Note inset to other forms of annotation like Comment
6986         and Greyedout. Right button click gives dialog.
6987
6988         Files modified or added (+):
6989
6990         * insetnote.[Ch]
6991         * FormNote.[Ch]      +
6992         * ControlNote.[Ch]   +
6993         * form_note.fd       +
6994         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6995         frontends/controllers
6996         * xforms/Dialogs.C
6997         * factory.C
6998
6999 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7000
7001         * aspell.C: add missing namespace lyx::support
7002
7003 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7004
7005         * BufferView.[Ch] (newFile): Add
7006         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7007         * LaTeX.[Ch] (message): added this signal and use it
7008         * buffer.[Ch] (busy, message): added these signals and use them
7009         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7010         * converter.C:
7011         * exporter.C:
7012         * format.C:
7013         * importer.C: use buffer signals instead of direct bv calling
7014         * lyx_cb.[Ch] (ShowMessage): removed
7015         * lyx_main.C:
7016         * lyxfunc.C:
7017         * paragraph_funcs.C:
7018         * text2.C: use buffer signals
7019
7020 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * introduce namespace lyx::graphics
7023
7024 2003-07-02  André Pönitz  <poenitz@gmx.net>
7025
7026         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7027
7028 2003-07-01  André Pönitz  <poenitz@gmx.net>
7029
7030         * text.C:
7031         * text2.C:
7032         * text3.C:
7033         * text_funcs.[Ch]:
7034         * textcursor.h:
7035         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7036           text*.C to text_func.C
7037
7038 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7039
7040         * introduce namespace lyx::support
7041
7042 2003-06-30  André Pönitz  <poenitz@gmx.net>
7043
7044         * Chktex.C:
7045         * funcrequest.C:
7046         * lyxtext.h:
7047         * text.C: re-enable --with-included-string
7048
7049 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7050
7051         * textcursor.C: add <config.h>
7052
7053         * text.C (getWord): remove const from word_location arg
7054
7055         * lyxvc.C (getLogFile): fix const type order
7056
7057         * lyxtext.h: remove const from word_location arg, add arg name
7058
7059         * lyxlayout.h: currect type on labeltype.
7060
7061         * importer.C: correct \file
7062
7063         * converter.C (intToFormat): use std:: on ret val, ws changes
7064
7065         * bufferlist.h: correct \file
7066
7067         * buffer.C (makeLinuxDocFile): fix const type order
7068         (makeDocBookFile): ditto
7069         (fillWithBibKeys): use std:: on stdlib args.
7070
7071         * CutAndPaste.C: fix authors.
7072         (availableSelections): use std:: on return vector
7073
7074 2003-06-27  André Pönitz  <poenitz@gmx.net>
7075
7076         * BufferView_pimpl.C:
7077         * bufferview_funcs.C:
7078         * lyxcursor.C:
7079         * lyxcursor.h:
7080         * lyxfunc.C:
7081         * lyxtext.h:
7082         * rowpainter.C:
7083         * text.C:
7084         * text2.C:
7085         * text3.C: remove LyXCursor::row_ member
7086
7087         * lyxtext.h:
7088         * text.C: rename fullRebreak() to partialRebreak() and implement
7089           a fullRebreak() that really bereks fully
7090
7091         * textcursor.h: new struct for cursor-related data
7092
7093 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7094
7095         * lyx_main.C (LyX): get full path of document loaded on the
7096         command line
7097
7098 2003-06-26  André Pönitz  <poenitz@gmx.net>
7099
7100         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7101           remove unused/broken operator>,<,>=.
7102
7103         *       text.C: remove only use of broken operator<= in an Assert().
7104
7105 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7106
7107         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7108         moved errorlist_.clear to showErrorList
7109
7110 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7111
7112         * converter.C (scanLog, runLaTeX):
7113         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7114         move the bv->showErrorList call to the callers
7115         * lyxfunc.C: i.e. here...
7116         * text2.C: and here
7117         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7118         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7119         namespace, the second to...
7120         * buffer_funcs (BufferFormat, parseErrors): added
7121         * errorlist.C (ErrorList(TeXErrors const &)): removed
7122
7123 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7124
7125         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7126
7127 2003-06-24  "Garst R. Reese" <reese@isn.net>
7128
7129         * debug.C: fix typo
7130
7131 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7132
7133         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7134
7135         * version.C.in: change docversion to 1.4
7136
7137 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7138
7139         * buffer.C: fix a bug just introduced
7140
7141 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7142
7143         * buffer.[Ch]: added the parseError signal and use it, removed
7144         sgmlError
7145         * BufferView.[Ch] (addError): moved to ...
7146         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7147         to the Buffer::parseError signal to catch (guess what) parse errors
7148         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7149
7150 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7151
7152         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7153         ability to create a buffer and to return an existing one from
7154         the list. Moved these functions to...
7155         * buffer_funcs.[Ch]: added
7156         * BufferView.[Ch] (loadLyXFile): added
7157         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7158         job removed from bufferlist::loadLyXFile.
7159         * buffer.C (setReadOnly): make it work without view
7160         (i.e added an if (users))
7161
7162 2003-06-19  Angus Leeming  <leeming@lyx.org>
7163
7164         * lfuns.h:
7165         * LyXAction.C (init):
7166         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7167         with LFUN_DIALOG_SHOW <name> <data>.
7168
7169 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7170
7171         * CutAndPaste.C (availableSelections): small compilation fix for
7172         ancient (gcc 2.9x) compilers
7173
7174 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7175
7176         * text3.C (cursorNext): add tmp var
7177
7178         * text2.C (updateCounters): for function calling out of for clause
7179         (replaceSelectionWithString): ditto
7180         (insertStringAsParagraphs): ditto
7181         (getColumnNearX): add tmp var
7182         (setCursorFromCoordinates): add tmp var
7183         (cursorDownParagraph): add tmp var
7184         (deleteEmptyParagraphMechanism): add tmp var
7185
7186         * text.C (insertChar): add tmp var
7187
7188         * rowpainter.C (paintDepthBar): add tmp var
7189
7190         * CutAndPaste.C (availableSelections): potentially check all
7191         paragraphs in a cut to fill the shown strings.
7192
7193 2003-06-18  André Pönitz  <poenitz@gmx.net>
7194
7195         * kbmap.[Ch]: use vector<> instead of list<>
7196
7197 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7198
7199         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7200         pasteSelection with index
7201
7202         * text2.C (pasteSelection): modify, call pasteSelection with index
7203
7204         * paragraph.C (asString): reimplement version with no interval to
7205         call the one with interval.
7206
7207         * lyxtext.h: add index arg to pasteSelection
7208
7209         * MenuBackend.C (MenuItem): handle PasteRecent
7210         (Menu::read::Menutags): add md_pasterecent
7211         (read): handle it
7212         (expandPasteRecent): new function
7213         (expand): use it
7214
7215         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7216
7217         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7218         the limited stack
7219         (availableSelections): new function
7220
7221 2003-06-17  Angus Leeming  <leeming@lyx.org>
7222
7223         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7224
7225 2003-06-17  Angus Leeming  <leeming@lyx.org>
7226
7227         * lfuns.h:
7228         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7229
7230         * lyxfunc.C (dispatch): invoke it.
7231
7232 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7233
7234         * iterators.C (operator++, ParPosition): reintroduce some
7235         const_cast for the benefit of older compilers.
7236
7237 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7238
7239         * text3.C (dispatch): do not modify clipboard when doing
7240         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7241         LFUN_DELETE_SKIP on a selection selection
7242
7243 2003-06-16  André Pönitz  <poenitz@gmx.net>
7244
7245         * BufferView.C:
7246         * buffer.C:
7247         * buffer.h:
7248         * paragraph.C:
7249         * tabular.[Ch]: IU of clone() and getLabelList();
7250
7251 2003-06-13  André Pönitz  <poenitz@gmx.net>
7252
7253         * tabular.h: compactification
7254
7255 2003-06-12  André Pönitz  <poenitz@gmx.net>
7256
7257         * tabular.C:
7258         * tabular.h:
7259         * tabular_funcs.h: some renaming plus whitespace
7260
7261 2003-06-12  André Pönitz  <poenitz@gmx.net>
7262
7263         * BufferView.C:
7264         * BufferView_pimpl.C:
7265         * CutAndPaste.C:
7266         * buffer.C:
7267         * iterators.[Ch]:
7268         * lyxfunc.C:
7269         * text.C:
7270         * toc.C: Return a Paragraph & for ParIterator::operator*()
7271
7272 2003-06-11  John Levon  <levon@movementarian.org>
7273
7274         * lyx_main.C:
7275         * ToolbarBackend.h:
7276         * ToolbarBackend.C: add "Toolbars" section and
7277         put the flags there
7278
7279 2003-06-10  Angus Leeming  <leeming@lyx.org>
7280
7281         * lfuns.h:
7282         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7283
7284         * lyxfunc.C (dispatch): invoke it.
7285
7286 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7287
7288         * main.C: protect <ios> with HAVE_IOS
7289         (main): protect sync_with_stdio with HAVE_IOS
7290
7291 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7292
7293         * text2.C (cutSelection): adjust
7294         (pasteSelection): adjust
7295
7296         * messages.C: handle get of empty string
7297
7298         * main.C (main): use sync_with_stdio(false)
7299
7300         * lyxfunc.C (dispatch): adjust
7301
7302         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7303         (WriteAs): remove unneeded BufferView arg.
7304
7305         * bufferparams.h: use correct types on papersize, papersize2 and
7306         paperpackage.
7307
7308         * bufferparams.C (readToken): adjust for type
7309         (writeLaTeX): add missing cases to switch.
7310
7311         * bufferlist.C (quitWriteBuffer): adjust
7312         (close): adjust
7313
7314         * buffer.C (asciiParagraph): remove some commented code.
7315
7316         * CutAndPaste.C: remove current_view extern variable.
7317         (cutSelection): add BufferParams arg.
7318         (eraseSelection): add BufferParams arg.
7319         (pasteSelection): add Buffer const & arg
7320
7321 2003-06-07  John Levon  <levon@movementarian.org>
7322
7323         * buffer.C:
7324         * paragraph_funcs.C:
7325         * paragraph_pimpl.C:
7326         * text.C:
7327         * text2.C:
7328         * paragraph.h:
7329         * paragraph.C: allow InsetERT to freely space lines,
7330         and some consolidation of code
7331
7332 2003-06-06  José Matos  <jamatos@fep.up.pt>
7333
7334         * buffer.C (makeDocBookFile): fix bug #821
7335
7336 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7337
7338         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7339
7340 2003-06-04  Angus Leeming  <leeming@lyx.org>
7341
7342         * buffer.C: bump format to 224.
7343
7344 2003-06-05  André Pönitz  <poenitz@gmx.net>
7345
7346         * text2.C (redoParagraphs): remove two const_cast<>
7347
7348 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7349
7350         * ParagraphList.h: remove last remnants of NO_STD_LIST
7351
7352 2003-06-03  Angus Leeming  <leeming@lyx.org>
7353
7354         * factory.C (createInset): small change to the way InsetExternal's params
7355         are set.
7356
7357 2003-06-04  André Pönitz  <poenitz@gmx.net>
7358
7359         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7360
7361         * paragraph_pimpl.h:
7362         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7363
7364         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7365
7366         * undo_funcs.C: make some simple cases of undo work again
7367
7368 2003-06-03  John Levon  <levon@movementarian.org>
7369
7370         * ispell.C: HPUX doesn't have sys/select.h
7371         (from Albert Chin)
7372
7373 2003-06-03  John Levon  <levon@movementarian.org>
7374
7375         * CutAndPaste.C: update tabular and include inset
7376         buffer references
7377
7378         * buffer.h:
7379         * paragraph.h:
7380         * paragraph.C: remove owningBuffer(), don't pass Buffer
7381         to clone()
7382
7383         * factory.C: insetGraphicsParams changed
7384
7385 2003-06-02  John Levon  <levon@movementarian.org>
7386
7387         * LyXAction.C:
7388         * factory.C:
7389         * lfuns.h:
7390         * lyxfunc.C:
7391         * text3.C: remove insetparent
7392
7393 2003-06-02  John Levon  <levon@movementarian.org>
7394
7395         * buffer.h:
7396         * buffer.C: fix inset_iterator.end(), move out of line
7397         (bug 1149)
7398
7399 2003-06-01  John Levon  <levon@movementarian.org>
7400
7401         * text3.C: use a proper cut/paste when doing inset
7402         insert (from Jürgen Spitzmüller)
7403
7404 2003-06-01  John Levon  <levon@movementarian.org>
7405
7406         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7407
7408 2003-05-30  André Pönitz  <poenitz@gmx.net>
7409
7410         * rowpainter.C: unify second drawing phase
7411
7412 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7413
7414         * trans_mgr.C: remove one case of current_view
7415
7416         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7417
7418         * paragraph_funcs.h: remove paragraph.h include
7419
7420         * paragraph.h: delete NO_STD_LIST stuff
7421
7422         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7423
7424         * buffer.h: remove paragraph.h include
7425
7426         * ParagraphList.C: delete file
7427
7428         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7429
7430         * toc.C (getTocList): adjust
7431
7432         * paragraph_pimpl.C (validate): adjust
7433
7434         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7435
7436         * paragraph.C (Paragraph): adjust
7437         (getPositionOfInset): use const_iterator, adjust
7438         (bibitem): use const_iterator, adjust
7439         (setInsetOwner): adjust
7440
7441         * iterators.C (operator++): adjust
7442
7443         * InsetList.[Ch]: Replace selfmade iterator with standard
7444         vector::iterator also introduce const_iterator. Remove getPos,
7445         getInset and setInset from InsetTable. Adjust accordingly.
7446
7447         * BufferView.C (lockInset): adjust
7448         (ChangeInsets): adjust
7449
7450         * tabular.[Ch]: delete commented same_id functions
7451
7452 2003-05-28  John Levon  <levon@movementarian.org>
7453
7454         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7455
7456 2003-05-28  André Pönitz  <poenitz@gmx.net>
7457
7458         * metricsinfo.[Ch]: remove 'fullredraw' member
7459
7460 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7461
7462         * lyxtextclass.C (operator): remove caching.
7463
7464 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7465
7466         * text3.C: adjust
7467
7468         * text2.C (cursorBottom): adjust
7469         (setCounter): use ParagraphList::find, adjust
7470
7471         * text.C (workWidth): use ParagraphList::find, adjust
7472
7473         * lyxcursor.C (LyXCursor): adjust
7474
7475         * buffer.C (inset_iterator): adjust
7476
7477         * ParagraphList.h: make iterator(value_type) private, make
7478         ParagraphList a friend of iterator.
7479
7480         * ParagraphList.C (find): new function
7481
7482         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7483
7484 2003-05-27  André Pönitz  <poenitz@gmx.net>
7485
7486         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7487
7488 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7489
7490         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7491
7492 2003-05-26  John Levon  <levon@movementarian.org>
7493
7494         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7495
7496 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7497
7498         * remove same_id from function signatures, adjust.
7499
7500 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7501
7502         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7503
7504         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7505
7506         * paragraph.C (Paragraph): get rid of same_ids parameter
7507
7508         * ParagraphList.C (insert): adjust
7509         (push_back): adjust
7510
7511 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7512
7513         * paragraph_funcs.C (breakParagraph): adjust
7514         (breakParagraphConservative): adjust
7515
7516         * buffer.C (readParagraph): adjust
7517
7518         * ParagraphList.C (insert): take a reference instead of a pointer
7519         (insert): adjust
7520
7521         * paragraph.[Ch] (id): new function
7522
7523         * bufferlist.C (newFile): adjust
7524
7525         * ParagraphList.C (ParagraphList): adjust
7526         (assign): adjust
7527         (push_back): take a reference instead of a pointer.
7528
7529         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7530
7531         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7532         instead.
7533
7534         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7535         set else use old code.
7536
7537         * ParagraphList.C: remove all NO_NEXT code and only compile this
7538         code of NO_STD_LIST is set.
7539
7540 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7541
7542         * BufferView_pimpl.C:
7543         * TextCache.C:
7544         * TextCache.h:
7545         * bufferlist.C:
7546         * errorlist.h:
7547         * format.C:
7548         * format.h:
7549         * graph.C:
7550         * lyxfunc.C:
7551         * lyxrc.C:
7552         * graphics/GraphicsConverter.C:
7553         * graphics/PreviewLoader.C: header adjustment
7554
7555 2003-05-23  Angus Leeming  <leeming@lyx.org>
7556
7557         * LaTeXFeatures.[Ch] (useBabel): new method.
7558         * bufferparams.C (writeLaTeX): use it.
7559
7560 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7561
7562         * ParagraphList.h (set): remove unused function.
7563
7564 2003-05-23  André Pönitz  <poenitz@gmx.net>
7565
7566         * BufferView.C:
7567         * BufferView_pimpl.C:
7568         * buffer.C:
7569         * buffer.h:
7570         * lyxfunc.C:
7571         * undo_funcs.C: setUndo reworked
7572
7573         * iterators.[Ch]: add access to topmost ParagraphList
7574
7575         * lyxtext.[Ch] (workWidth): add a const
7576
7577 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7578
7579         * texrow.[Ch] (increasePos): remove function
7580         * exporter.C (export): removed unused var and outdated comment
7581
7582 2003-05-23  Angus Leeming  <leeming@lyx.org>
7583
7584         * latexrunparams.h: rename fragile as moving_arg.
7585         * paragraph.C (simpleTeXOnePar): ditto.
7586         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7587
7588 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7589
7590         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7591         (createUndo): ditto
7592         (textUndoOrRedo): comment out a currently unused var.
7593
7594         * paragraph.h (NO_NEXT): enable NO_NEXT
7595
7596         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7597
7598         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7599
7600         * exporter.C (Export): adjust for removeAutoInsets removal.
7601
7602         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7603
7604         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7605
7606         * BufferView.[Ch] (removeAutoInsets): delete function
7607
7608 2003-05-22  Angus Leeming  <leeming@lyx.org>
7609
7610         * latexrunparams.h: add a free_spacing variable.
7611
7612         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7613         to pass moving_arg, as the data is stored in runparams.fragile.
7614
7615         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7616         to Inset::latexOptional or to simpleTeXOnePar.
7617
7618         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7619         free_spacing arg to Inset::latexOptional.
7620
7621         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7622         free_spacing arg.
7623
7624 2003-05-22  Angus Leeming  <leeming@lyx.org>
7625
7626         * latexrunparams.h: add fragile and use_babel variables.
7627
7628         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7629         * buffer.C (makeLaTeXFile): store this returned value in
7630         runparams.use_babel, thus passing it to the inset::latex methods.
7631
7632         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7633         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7634
7635         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7636         longer has a fragile arg, as it is stored in runparams.fragile.
7637
7638         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7639         moving_arg parameter as the data is stored in runparams.fragile.
7640
7641         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7642         a fragile parameter as the data is stored in runparams.fragile.
7643
7644 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7645
7646         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7647
7648 2003-05-22  Angus Leeming  <leeming@lyx.org>
7649
7650         * latexrunparams.h: add a 'bool nice' which defaults to false.
7651
7652         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7653         now encapsulated within runparams.
7654
7655         * bufferlist.C (updateIncludedTeXfiles):
7656         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7657
7658 2003-05-22  Angus Leeming  <leeming@lyx.org>
7659
7660         * latexrunparams.h: new file containing struct LatexRunParams.
7661         * Makefile.am: add new file.
7662
7663         * LaTeX.[Ch] (c-tor, run):
7664         * buffer.[Ch] (makeLaTeXFile):
7665         * bufferlist.[Ch] (updateIncludedTeXfiles):
7666         * converter.C (convert, scanLog):
7667         * converter.[Ch] (runLaTeX):
7668         * exporter.C (Export):
7669         * paragraph.[Ch] (simpleTeXOnePar):
7670         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7671         * paragraph_funcs.[Ch] (latexParagraphs):
7672         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7673         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7674         pass around a LatexRunParams parameter.
7675
7676 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * paragraph.[Ch]: remove unused constructor
7679
7680         * ParagraphList.C (erase): new function, taking two iterators
7681
7682 2003-05-22  André Pönitz  <poenitz@gmx.net>
7683
7684         * undo_funcs.C: remove duplicated code
7685
7686         * iterator.[Ch]: operator=
7687
7688 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7689
7690         * tabular.C (SetMultiColumn): ws changes
7691
7692         * rowpainter.C (paintFirst): get rid of a ->previous
7693
7694         * lyx_cb.C (getPossibleLabel): parlist simplification
7695
7696         * BufferView.C (ChangeInsets): simplify slightly.
7697
7698 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7699
7700         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7701         * lfuns.h: new LFUN_SPACE
7702         * lyxfunc.C: protected space has a new lfun
7703         * paragraph_funcs.C: read new space insets
7704         * text3.C:
7705         * factory.C: handle new space insets
7706
7707 2003-05-22  André Pönitz  <poenitz@gmx.net>
7708
7709         * BufferView.C:
7710         * BufferView_pimpl.C:
7711         * buffer.[Ch]:
7712         * lyxfunc.C:
7713         * undo_funcs.C: return a ParIterator from getParFromID.
7714
7715         * iterators.[Ch]: add two const's
7716
7717 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7718
7719         * toc.C (getTocList): adjust
7720
7721         * iterators.[Ch]: rework for parlist
7722
7723         * buffer.C (par_iterator_begin): adjust
7724         (par_iterator_end): adjust
7725
7726         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7727
7728         * BufferView.C (removeAutoInsets): adjust
7729         (ChangeInsets): adjust
7730
7731 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7732
7733         * text.C (top_y): fix bug 1110
7734
7735 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7736
7737         * errorlist.[Ch]: added
7738         * buffer.C:
7739         * BufferView.[Ch]:
7740         * BufferView_pimpl.C:
7741         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7742         instead
7743
7744 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7745
7746         * Makefile.am: ensure that lyx is relinked upon changes to the
7747         various "convenience" libs.
7748
7749 2003-05-20  Angus Leeming  <leeming@lyx.org>
7750
7751         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7752         files are compiled in alphabetical order again.
7753
7754         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7755
7756 2003-05-19  Angus Leeming  <leeming@lyx.org>
7757
7758         * gettext.[Ch]: remove "char const * _(char const *)".
7759
7760 2003-05-19  André Pönitz  <poenitz@gmx.net>
7761
7762         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7763
7764         * Makefile.am:
7765         * BufferView.C:
7766         * DepTable.h:
7767         * LaTeXFeatures.C:
7768         * buffer.C:
7769         * lyxfont.C:
7770         * lyxlex.h:
7771         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7772
7773 2003-05-19  André Pönitz  <poenitz@gmx.net>
7774
7775         * buffer.C:
7776         * lyxlayout.[Ch]:
7777         * lyxtextclass.[Ch]:
7778         * paragraph.C:
7779         * paragraph_funcs.[Ch]:
7780         * text2.C:
7781         * text3.C: more insetenv work
7782
7783 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7784
7785         * ParagraphParameters.C (params2string): small bug fixed
7786
7787 2003-05-16  André Pönitz  <poenitz@gmx.net>
7788
7789         * debug.C:
7790         * bufferview_funcs.C: patch from Kornel Benko to prevent
7791           crash when _(...) is called twice in a statement
7792
7793 2003-05-16  André Pönitz  <poenitz@gmx.net>
7794
7795         * BufferView.C:
7796         * lyxfunc.C:
7797         * text.C:
7798         * text2.C:
7799         * text3.C:
7800         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7801
7802 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7803
7804         * lyx_main.C (init): remove spurious static_cast
7805
7806 2003-05-14  André Pönitz  <poenitz@gmx.net>
7807
7808         * BufferView.C: fix format string
7809
7810 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7811
7812         * BufferView.[Ch] (insertErrors): removed
7813         * BufferView.[Ch] (showErrorList): added
7814         * buffer.C (runChkTeX):
7815         * converter.C (scanLog): call showErrorList instead of inserterrors
7816
7817 2003-05-13  André Pönitz  <poenitz@gmx.net>
7818
7819         * BufferView_pimpl.C:
7820         * buffer.C:
7821         * bufferview_func.C:
7822         * MenuBackend.C:
7823         * lyxfunc.C:
7824         * lyxrc.C:
7825         * tex-accent.C:
7826         * text3.C:
7827         * toc.C:
7828         * tabular_funcs.h: tostr() from its own header
7829
7830         * ParagraphParameters.C:
7831         * ToolbarBackend.C:
7832         * bufferparams.C:
7833         * format.C:
7834         * lyxlex_pimpl.C:
7835         * text3.C: STRCONV()
7836
7837 2003-05-12  André Pönitz  <poenitz@gmx.net>
7838
7839         * BufferView.C:
7840         * BufferView_pimpl.C:
7841         * CutAndPaste.C:
7842         * LaTeX.C:
7843         * LaTeXFeatures.C:
7844         * ParagraphParameters.C:
7845         * buffer.C:
7846         * bufferlist.C:
7847         * bufferparams.C:
7848         * bufferview_funcs.C:
7849         * converter.C:
7850         * counters.C:
7851         * debug.C:
7852         * exporter.C:
7853         * format.C:
7854         * importer.C:
7855         * lyx_cb.C:
7856         * lyx_main.C:
7857         * lyxfont.C:
7858         * lyxfunc.C:
7859         * lyxvc.C:
7860         * paragraph.C:
7861         * paragraph_funcs.C:
7862         * tabular.C:
7863         * tabular_funcs.C:
7864         * text2.C:
7865         * text3.C:  boost::format -> bformat  all over the place
7866
7867
7868 2003-05-09  André Pönitz  <poenitz@gmx.net>
7869
7870         * LColor.[Ch]: Pimpl the #include <map> away
7871
7872 2003-05-09  John Levon  <levon@movementarian.org>
7873
7874         * bufferlist.C: never remove emergency saves
7875
7876 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7877
7878         * Makefile.am: better lib building
7879
7880 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7881
7882         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7883         instead.
7884         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7885         (simpleTeXSpecialChars): adjust
7886         (simpleTeXSpecialChars): adjust
7887         * paragraph.C (simpleTeXOnePar): adjust
7888         * buffer.C (makeLaTeXFile): adjust
7889
7890         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7891
7892         * text2.C (changeDepth): parlist cleanup
7893         (getColumnNearX): ditto
7894
7895         * rowpainter.C (getLabelFont): parlist cleanup
7896
7897         * bufferlist.C (newFile): parlist cleanup
7898
7899         * CutAndPaste.C (eraseSelection): parlist cleanup
7900
7901         * BufferView_pimpl.C (trackChanges): parlist cleanup
7902         (dispatch): ditto
7903
7904         * BufferView.C (lockInset): parlist cleanup.
7905         (ChangeInsets): ditto
7906
7907 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7908
7909         * CutAndPaste.h: Update file header.
7910
7911         * CutAndPaste.C: Update file header.
7912         Store the parts cut out of the Document in a limited_stack.
7913         (copySelection): adjust
7914         (pasteSelection): new function, takes the index in the limited stack.
7915         (nrOfParagraphs): adjust
7916         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7917         simplify error inset insertion.
7918         (checkPastePossible): adjust
7919
7920 2003-05-06  John Levon  <levon@movementarian.org>
7921
7922         * text2.C: don't cast wrap inset to float
7923
7924 2003-05-05  André Pönitz  <poenitz@gmx.net>
7925
7926         * iterator.C:
7927         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7928
7929         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7930           few naked Paragraph *.
7931
7932 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7933
7934         * bufferparams.C: Output warning if a document with missing
7935         TeX document class is loaded
7936         * exporter.C: Disable TeX exports if the document class is missing
7937         * lyxtextclass.C:
7938         * lyxtextclass.h:
7939         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7940         isTeXClassAvailable()
7941
7942 2003-05-03  John Levon  <levon@movementarian.org>
7943
7944         * BufferView.h:
7945         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7946         explicit cursor show/hide
7947
7948         * BufferView_pimpl.h:
7949         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7950         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7951
7952         * lyxfunc.C: hide cursor before dispatching.
7953
7954         * lyx_cb.C:
7955         * lyxfind.C:
7956         * text.C:
7957         * text3.C: remove explicit cursor hides
7958
7959 2003-05-02  André Pönitz  <poenitz@gmx.net>
7960
7961         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7962
7963         * undo_funcs.C:
7964         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7965           linked lists
7966
7967         * text2.C: tiny whitespace
7968
7969 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7970
7971         * undo_funcs.C: almost only ws changes.
7972
7973         * ParagraphList.C (splice): just return if pl is empty.
7974
7975 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7976
7977         * ParagraphList.C (splice): new function.
7978
7979         * CutAndPaste.C (pasteSelection): use it
7980
7981 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7982
7983         * CutAndPaste.C (pasteSelection): remove the last next and
7984         previous from this file.
7985
7986 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7987
7988         * CutAndPaste.C (pasteSelection): more clean up, user proper
7989         ParagraphList functions for pasteing.
7990
7991         * ParagraphList.C (insert): new function, three arg insert
7992
7993 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7994
7995         * ParagraphList.C (insert): new function, three arg insert
7996
7997         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7998         not on paragraphs.
7999
8000 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8001
8002         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8003
8004 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8005
8006         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8007
8008 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8009
8010         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8011         (copySelection): clean up a bit.
8012         (pasteSelection): use make_pair
8013
8014         * ParagraphList.C (ParagraphList): implement copy constructor
8015         (operator=): implement, base on copy constructor.
8016         (assign): new func
8017
8018         * paragraph.C (erase): return a bool
8019
8020         * paragraph_pimpl.C (erasePos): remove function, move contents...
8021         (erase): ... here. Return a bool.
8022         (erase): call erase instead of erasePos.
8023
8024 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8025
8026         * ParagraphList.h: define PitPosPair
8027         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8028         ParagraphList, fix a bug on pasting multiple pars
8029         * text2.C: change interface to C&P
8030
8031 2003-04-30  André Pönitz  <poenitz@gmx.net>
8032
8033         * undo_func.C: revert part of yesterday's patch 2
8034
8035 2003-04-30  John Levon  <levon@movementarian.org>
8036
8037         * LColor.C: s/tabular/table/
8038
8039 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8040
8041         * text3.C (dispatch): do not convert iterator -> pointer
8042         * undo_funcs.C (setCursorParUndo): ditto
8043         * text_funcs.C (transposeChars): ditto
8044
8045         * text2.C (setLayout): ws changes only
8046
8047         * text.C (breakParagraph): do not convert iterator -> pointer
8048         (insertChar): ditto
8049         (acceptChange): ditto
8050         (rejectChange): ditto
8051         (changeCase): ditto
8052         (Delete): ditto
8053         (backspace): ditto
8054
8055         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8056         pointer
8057
8058 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8059
8060         * text3.C (gotoInset): YABG (yet another bad getChar)
8061
8062 2003-04-29  André Pönitz  <poenitz@gmx.net>
8063
8064         * paragraph.h: make operator= private unimplemented as long as
8065           it is unusable
8066
8067         * ParagraphList.C: whitespace
8068
8069         * paragraph.[Ch]:
8070         * paragraph_pimpl.[Ch]:
8071         * paragraph_funcs.C:
8072         * CutAndPaste.C:
8073         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8074
8075         * text2.C:
8076           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8077
8078 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8079
8080         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8081         * paragraph.[Ch] (erase):
8082         * paragraph_pimpl.[Ch] (erase): change return type and value
8083         * text2.C (cutSelection): some rework
8084
8085 2003-04-28  John Levon  <levon@movementarian.org>
8086
8087         * bufferlist.C: changes for unsaved changes dialog
8088
8089 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8090
8091         * bufferlist.C (newFile): set language (messages_) for new
8092         documents also.
8093
8094         * buffer.C (readFile): ws changes only.
8095
8096 2003-04-28  André Pönitz  <poenitz@gmx.net>
8097
8098         * undo_funcs.C:
8099         * lyxfunc.C:
8100         * buffer.[Ch]:
8101         * BufferView_pimpl.C:
8102         * BufferView.C: getParFromID related ParagraphList::iterator changes
8103
8104 2003-04-28  André Pönitz  <poenitz@gmx.net>
8105
8106         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8107           Changes
8108
8109 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8110
8111         * messages.C: remove one more localedir class variable.
8112
8113 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8114
8115         * messages.C (getLocaleDir): singleton generation function
8116         (Pimpl): use it.
8117         (Messages): add a default constructor.
8118
8119         * main.C (main): do not setup localedir here, do not call
8120         gettext_init.
8121
8122         * gettext.C (_): use it.
8123         (gettext_init): delete funciton
8124
8125 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8126
8127         * gettext.C (getLyXMessages): new singleton generating function.
8128
8129         * buffer.C (updateDocLang): adjust
8130
8131         * Makefile.am (messages.o): add target
8132         (main.o): remove target
8133
8134 2003-04-27  John Levon  <levon@movementarian.org>
8135
8136         * bufferlist.C:
8137         * lyx_cb.C:
8138         * lyxfunc.C:
8139         * lyxvc.C: specify cancel button in Alert::prompt
8140
8141 2003-04-26  John Levon  <levon@movementarian.org>
8142
8143         * text3.C:
8144         * lyxfunc.C:
8145         * lfuns.h:
8146         * LyXAction.C: add LFUN_INSET_SETTINGS
8147
8148         * lyxfunc.C: don't enable tabular-feature when there's
8149         just any locking inset
8150
8151 2003-04-26  John Levon  <levon@movementarian.org>
8152
8153         * bufferlist.C: re-add Cancel to buffer close question
8154
8155         * lyxfunc.C: fix import UI a bit
8156
8157 2003-04-25  John Levon  <levon@movementarian.org>
8158
8159         * gettext.C: remove the broken asserts for now
8160
8161 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8162
8163         * messages.C: make case where setlocale cannot comply work better.
8164
8165         * buffer.C (updateDocLang): new function
8166         (changeLanguage): use it
8167         (readFile): use it
8168
8169         * text2.C (setCounter): use B_ a bit.
8170
8171         * lyxlayout.C (Read): be sure to trim the label strings.
8172
8173         * messages.C (Messages): fix typo in comment
8174
8175         * buffer.C (readFile): set message_ after file is loaded.
8176         (makeDocBookFile): remove double return
8177         (changeLanguage): reset message_ upon language change.
8178         (B_): new func, use this to get translated buffer strings.
8179
8180         * main.C: add myself and Jean Marc as authors.
8181
8182 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8183
8184         * messages.[hC]: pimplify Messages, and three different pimpls to be
8185         used in different circumstances.
8186
8187         * gettext.[Ch]: change for use with new message code.
8188
8189 2003-04-24 André Pönitz <poenitz@gmx.net>
8190
8191         * factory.C: support for eqref
8192
8193 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8194
8195         * messages.[Ch]: add missing char
8196
8197         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8198
8199         * messages.[Ch]: New files
8200
8201 2003-04-18  John Levon  <levon@movementarian.org>
8202
8203         * BufferView.h:
8204         * BufferView.C:
8205         * BufferView_pimpl.C:
8206         * lfuns.h:
8207         * LyXAction.C:
8208         * lyxtext.h:
8209         * text2.C: remove layout-copy/paste (bug 778)
8210
8211 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8212
8213         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8214
8215 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8216
8217         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8218         if they succeed. Act accordingly.
8219
8220 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8221
8222         * text2.C (setCharFont): adjust
8223         (setCounter): adjust
8224         (insertStringAsLines): adjust
8225
8226         * text.C (leftMargin): adjust
8227         (setHeightOfRow): adjust
8228
8229         * rowpainter.C (paintFirst): adjust
8230         (paintLast): adjust
8231
8232         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8233         (outerHook): ditto
8234         (isFirstInSequence): ditto
8235         (getEndLabel): ditto
8236         (outerFont): adjust
8237
8238         * paragraph.C (getParLanguage): comment out some hard stuff.
8239
8240         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8241         (sgmlError): ditto
8242         (simpleDocBookOnePar): ditto
8243         (makeDocBookFile): use ParagraphList::iterator
8244
8245         * CutAndPaste.C (pasteSelection): adjust
8246
8247 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8248
8249         * text2.C (getFont): adjust
8250         (getLayoutFont): adjust
8251         (getLabelFont): adjust
8252
8253         * paragraph_funcs.C (TeXOnePar): adjust
8254
8255         * buffer.C (simpleLinuxDocOnePar): adjust
8256         (simpleDocBookOnePar): adjust
8257
8258         * CutAndPaste.C (pasteSelection): adjust
8259
8260         * BufferView.C (getEncoding): adjust
8261
8262         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8263
8264 2003-04-16  John Levon  <levon@movementarian.org>
8265
8266         * lyxfind.C: use parlist stuff for search/changes
8267
8268 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8269
8270         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8271
8272         * text2.C (deleteEmptyParagraphMechanism): adjust
8273
8274         * text2.[Ch] (ownerParagraph): delete func (both of them
8275
8276 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8277
8278         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8279
8280 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * ParagraphList.C: prepare for NO_NEXT
8283
8284 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8285
8286         * text2.C (getFont): adjust
8287         (getLayoutFont): adjust
8288         (getLabelFont): adjust
8289
8290         * paragraph.C (getFont): adjust
8291         (getLabelFont): adjust
8292         (getLayoutFont): adjust
8293
8294         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8295
8296 2003-04-15  John Levon  <levon@movementarian.org>
8297
8298         From Angus Leeming
8299
8300         * lyx_main.C: handle Include in .ui files
8301
8302 2003-04-15  John Levon  <levon@movementarian.org>
8303
8304         * MenuBackend.C: make the doc files length shorter
8305
8306         * ToolbarBackend.h:
8307         * ToolbarBackend.C: handle toolbar placement flags,
8308         Minibuffer
8309
8310 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8311
8312         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8313         adjust
8314
8315         * paragraph_funcs.C (TeXOnePar): adjust
8316
8317         * paragraph.C (getLabelFont): add outerfont arg, adjust
8318         (getLayoutFont): ditto
8319         (simpleTeXOnePar): adjust
8320
8321         * paragraph_pimpl.C (realizeFont): delete func
8322
8323 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8324
8325         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8326         row argument, constify cur argument.
8327
8328 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8329
8330         * text2.C (getFont): adjust
8331         (getLayoutFont): adjust
8332         (getLabelFont): adjust
8333
8334         * paragraph_funcs.C (TeXOnePar): adjust
8335         (outerFont): new func...
8336         (realizeFont): ...moved out from here, changed this to facilitate
8337         transition
8338
8339         * paragraph.C (getFont): take outerfont as arg, adjust
8340         (simpleTeXOnePar): add outerfont arg, adjust
8341
8342         * buffer.C (simpleLinuxDocOnePar): adjust
8343         (simpleDocBookOnePar): adjust
8344
8345         * CutAndPaste.C (pasteSelection): adjust
8346
8347         * BufferView.C (getEncoding): adjust
8348
8349 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8350
8351         * text2.C (setCharFont): adjust
8352         (setCounter): adjust
8353
8354         * text.C (leftMargin): adjust
8355         (setHeightOfRow): adjust
8356
8357         * rowpainter.C (paintFirst): adjust
8358         (paintLast): adjust
8359
8360         * paragraph_pimpl.C (realizeFont): adjust
8361
8362         * paragraph.C (isFirstInSequence): move from here...
8363         * paragraph_funcs.C (isFirstInSequence): ...to here
8364
8365         * paragraph.C (outerHook): move from here...
8366         * paragraph_funcs.C (outerHook): ...to here
8367
8368         * paragraph.C (depthHook): move from here...
8369         * paragraph_funcs.C (depthHook): ...to here
8370
8371         * paragraph.C (getEndLabel): move from here...
8372         * paragraph_funcs.C (getEndLabel): ...to here
8373
8374         * text2.C (realizeFont): move from here...
8375         * paragraph_funcs.C (realizeFont): ...to here
8376
8377 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8378
8379         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8380
8381 2003-04-14  Angus Leeming  <leeming@lyx.org>
8382
8383         * LColor.[Ch]: scrap LColor mathcursor.
8384
8385 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8386
8387         * lyxlex.[Ch] (text): delete function
8388         * trans.C (Load): adjust
8389         * paragraph_funcs.C (readParToken): adjust
8390
8391 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8392
8393         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8394         vector<char> instead of a char[].
8395
8396         * lyxlex_pimpl.C (getString): adjust
8397         (next): adjust
8398         (lex): use getString
8399         (eatLine): adjust
8400         (nextToken): adjust
8401
8402         * lyxlex.C (text): use pimpl_->getString()
8403         (getBool): ditto
8404         (findToken): ditto
8405
8406 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8407
8408         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8409         (makeFontEntriesLayoutSpecific): temp var for par.size()
8410         (setLayout): temp var for ownerParagraphs().end()
8411         (fullRebreak): temp var for rows().end()
8412         (selectionAsString): temp var for boost::next(startpit), realize
8413         that the while really is a regular for loop.
8414         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8415         setCursor in one place.
8416         (setParagraph): temp vr for ownerParagraphs().end()
8417         (updateCounters): make the while loop a for loop
8418         (cutSelection): temp var for ownerParagraphs().end()
8419         (updateInset): make the do {} while() a regular for loop
8420         (getCursorX): use temp vars
8421         (setCurrentFont): use temp vars
8422         (getColumnNearX): use temp vars
8423
8424 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * text.C (transformChar): use temp var for getChar
8427         (computeBidiTables): use temp var for row->par()
8428         (fill): move temp vars for row->par() and pit->layout() earlier in
8429         the function.
8430         (labelFill): use temp var for row->par()
8431         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8432         asc and desc, realize that pit never changes and that firstpit is
8433         just a duplicate and not needed. Exchange rit->par() with pit in a
8434         lot of places.
8435         (breakAgain): use a temp var for boost::next(rit)
8436         (breakAgainOneRow): ditto
8437         (breakParagraph): use a temp var for rows().begin()
8438         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8439         (cursorRightOneWord): use temp var for cursor.par() and
8440         cursor.pos(), remove usage of tmpcursor.
8441         (cursorLeftOneWord): use temp var for cursor.par() and
8442         cursor.pos() only set cur at end of function.
8443
8444 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8445
8446         * text.C, text2.C: exchange all usage of Paragraph::next with
8447         boost::next(ParagraphList::iterator)
8448
8449         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8450
8451         * text2.C (cursorTop): simplify implementation
8452         (cursorBottom): ditto
8453         (setParagraph): use ParagraphList::iterator
8454         (setCurrentFont): adjust
8455         (getColumnNearX): adjust
8456         (cursorRight): adjust
8457         (cursorLeft): remove usage of Paragraph::previous
8458         (cursorUpParagraph): ditto
8459         (deleteEmptyParagraphMechanism): slight cleanup
8460
8461         * text.C (isBoundary): take a Paragraph const & instead of a
8462         pointer as arg.
8463         (addressBreakPoint): ditto
8464         (leftMargin): remove usage of Paragraph::previous.
8465         (setHeightOfRow): ditto
8466         (cursorLeftOneWord): ditto
8467         (selectNextWordToSpellcheck): ditto
8468         (Delete): ditto
8469         (backspace): ditto
8470         (breakParagraph): remove one usage of Paragraph::next
8471         (redoParagraph): ditto
8472         (acceptChange): ditto
8473         (insertChar): adjust
8474         (rowBreakPoint): adjust
8475
8476         * bufferview_funcs.C (toggleAndShow): adjust
8477
8478 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8479
8480         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8481         methods to access it.
8482         * lyxtext.h:
8483         * text.C: Added updateRowPositions to compute all row positions.
8484         Make top_y and getRowNearY() to use the cached y position
8485
8486 2003-04-11  John Levon  <levon@movementarian.org>
8487
8488         * text.C (rowBreakPoint): reintroduce the labelEnd
8489         checks, code copied from the row fill stuff. Deep voodoo.
8490
8491         * text.C (fill): add a comment and debugging for the
8492         next poor soul.
8493
8494 2003-04-11  John Levon  <levon@movementarian.org>
8495
8496         * text.C: make sure fullrow insets get wrapped to the next line,
8497         even when they're in a manual label
8498
8499 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8500
8501         * text2.C (insertParagraph): make it take ParagraphList::iterator
8502         as arg.
8503         (setLayout): make it return ParagraphList::iterator
8504         (redoParagraphs): ditto
8505         (setCounter): ditto
8506         (checkParagraph): ditto
8507
8508         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8509
8510         * text2.C: adjust several funcs.
8511         (realizeFont): take a ParagraphList::iterator as arg.
8512         (getLayoutFont): ditto
8513         (getLabelFont): ditto
8514         (setCharFont): ditto
8515
8516         * text.C: adjust several funcs.
8517
8518 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8519
8520         * text.C (selectNextWordToSpellcheck): don't accidentally
8521         skip insets
8522
8523 2003-04-10  John Levon  <levon@movementarian.org>
8524
8525         * ToolbarBackend.C (getIcon): special handling for
8526         LFUN_MATH_DELIM
8527
8528 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8529
8530         * text2.C (cursorRight): a getChar assert fixed
8531
8532 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8533
8534         * text2.C (getFont): change to take a ParagraphList::iterator
8535         instead of Paragraph*
8536         Adjust several functions.
8537
8538         * text.C (transformChar): change to take a ParagraphList::iterator
8539         instead of Paragraph*
8540         (singleWidth): ditto
8541         Adjust several functions.
8542
8543         * rowpainter.C: adjust several functions
8544         * rowpainter.h:store a ParagraphList::iterator and not a
8545         Paragraph&.
8546
8547
8548 2003-04-09  John Levon  <levon@movementarian.org>
8549
8550         * lyxfunc.C:
8551         * lfuns.h:
8552         * LyXAction.h:
8553         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8554         and the "help" bits as well
8555
8556 2003-04-09  John Levon  <levon@movementarian.org>
8557
8558         * ToolbarBackend.h:
8559         * ToolbarBackend.C: allow multiple toolbars
8560
8561 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8562
8563         * undo_funcs.C (setCursorParUndo): adjust
8564
8565         * text_funcs.C (transposeChars): adjust
8566
8567         * text3.C (gotoNextInset): adjust
8568         (dispatch): adjust
8569
8570         * text2.C (setLayout): adjust
8571         (changeDepth): adjust
8572         (setFont): adjust
8573         (redoParagraphs): adjust
8574         (selectionAsString): adjust
8575         (setParagraph): adjust
8576         (insertInset): adjust
8577         (cutSelection): adjust
8578         (copySelection): adjust
8579         (pasteSelection): adjust
8580         (insertStringAsLines): adjust
8581         (updateInset): adjust
8582         (setCursor): change to take a ParagraphList::iterator parameter
8583         (setCursorIntern): change to take a ParagraphList::iterator parameter
8584         (setCurrentFont): adjust
8585         (cursorLeft): adjust
8586         (cursorRight): adjust
8587         (deleteEmptyParagraphMechanism): adjust
8588
8589         * text.C (breakParagraph): adjust
8590         (insertChar): adjust
8591         (acceptChange): adjust
8592         (rejectChange): adjust
8593         (selectNextWordToSpellcheck): adjust
8594         (changeCase): adjust
8595         (Delete): adjust
8596         (backspace): adjust
8597
8598         * lyxfind.C (SearchForward): adjust
8599         (SearchBackward): adjust
8600         (nextChange): adjust
8601
8602         * lyxcursor.C (par): adjust
8603
8604         * lyxcursor.h: store a ParagraphList::iterator instead of a
8605         Paragraph*
8606
8607         * lyx_cb.C (getPossibleLabel): adjust
8608
8609         * bufferview_funcs.C (toggleAndShow): adjust
8610
8611         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8612         (dispatch): adjust
8613
8614         * BufferView.C (removeAutoInsets): adjust
8615         (lockedInsetStoreUndo): adjust
8616
8617 2003-04-09  John Levon  <levon@movementarian.org>
8618
8619         * ToolbarBackend.C: try icon without argument
8620         if with argument fails
8621
8622 2003-04-08  John Levon  <levon@movementarian.org>
8623
8624         * ToolbarBackend.h:
8625         * ToolbarBackend.C: add getIcon(), handle tooltip,
8626         and change from "Icon" to "Item".
8627
8628 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8629
8630         * BufferView.C (lockInset): another bad getchar crunched
8631
8632 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8633
8634         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8635         again)
8636
8637 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8638
8639         * lyxfind.C (searchForward, searchBackwards): bug 782
8640
8641 2003-04-07  John Levon  <levon@movementarian.org>
8642
8643         * paragraph.C: remove dead comment
8644
8645         * text.C: remove troublesome depth-fiddling code
8646         in leftMargin() and rightMargin() (bug 1017)
8647
8648         * text.C: fix breaking of rows in nested lists
8649         (bug 1004)
8650
8651         * text2.C (updateCounters): fix up depth values
8652         (bug 1013)
8653
8654 2003-04-07  John Levon  <levon@movementarian.org>
8655
8656         * BufferView_pimpl.C: clear message when doc finishes resizing,
8657         and after a mouse event
8658
8659         * lyxfunc.C: clear message after exiting inset
8660
8661 2003-04-07  John Levon  <levon@movementarian.org>
8662
8663         * bufferview_funcs.C: show math status not outside
8664         status in the statusbar
8665
8666 2003-04-07  John Levon  <levon@movementarian.org>
8667
8668         * lyxfunc.C: note status changed after a depth change
8669
8670 2003-04-04  Angus Leeming  <leeming@lyx.org>
8671
8672         * LaTeX.h: move AuxInfo operator==, != out of line.
8673         Remove LaTeX virtual destructor; nothing derives from it.
8674         Move operator()() out of public area and rename it startscript().
8675         Change protected for private.
8676
8677 2003-04-04  Angus Leeming  <leeming@lyx.org>
8678
8679         * lyxfunc.C:
8680         * text2.C: remove unneeded #includes.
8681
8682 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8683
8684         * text2.C (dEPM): fix the heigth of the next row
8685
8686 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8687
8688         * text.C: squashed an invalid getChar requester + some ws changes
8689
8690 2003-04-03  John Levon  <levon@movementarian.org>
8691
8692         * bufferview_funcs.h:
8693         * bufferview_funcs.C:
8694         * lyxfunc.C:
8695         * lyxtext.h:
8696         * text2.C: make getStatus work for the env depth lfuns
8697
8698 2003-04-03  John Levon  <levon@movementarian.org>
8699
8700         * bufferview_funcs.h:
8701         * bufferview_funcs.C:
8702         * lyxfunc.C:
8703         * lyxtext.h:
8704         * text2.C: parlistize decDepth(), by merging it with incDepth()
8705
8706 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8707
8708         * lyxrow.h: store a ParagraphList::iterator instead of a
8709         Paragraph* and adjust other class functions to suit.
8710
8711         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8712         above.
8713
8714 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8715
8716         * text2.C (setCursor): do not anchor to cursor row for the time being
8717
8718 2003-04-02  John Levon  <levon@movementarian.org>
8719
8720         * LyXAction.C:
8721         * lfuns.h:
8722         * lyx_main.C:
8723         * lyxtext.h:
8724         * text.C:
8725         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8726
8727 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8728
8729         * paragraph.h: make ParagraphList and ParagraphList::iterator
8730         friends of Paragraph.
8731
8732         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8733
8734         * ParagraphList.C: Use the private next_ and previous_ from
8735         Paragraph.
8736
8737 2003-04-01  John Levon  <levon@movementarian.org>
8738
8739         * ToolbarBackend.h:
8740         * ToolbarBackend.C:
8741         * Makefile.am: rename, remove defaults gunk
8742
8743         * MenuBackend.h:
8744         * MenuBackend.C: remove defaults gunk
8745
8746         * Languages.h:
8747         * Languages.C: remove defaults gunk
8748
8749         * lyx_main.h:
8750         * lyx_main.C: error out if files couldn't be found.
8751
8752 2003-04-02  John Levon  <levon@movementarian.org>
8753
8754         * text2.C: make incDepth() use parlist
8755
8756 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8757
8758         * undo_funcs.C (firstUndoParagraph): adjust
8759
8760         * text3.C (gotoInset): adjust
8761         (dispatch): adjust, and rewrite loop.
8762
8763         * text2.C (init): adjust, and rewrite loop.
8764         (redoParagraphs): adjust
8765         (updateInset): adjust, and rewrite loop.
8766         (deleteEmptyParagraphMechanism): adjust
8767
8768         * tabular.C (LyXTabular): adjust
8769         (SetMultiColumn): adjust
8770         (TeXRow): adjust
8771
8772         * lyxtext.[Ch] (ownerParagraph): delete function
8773         (ownerParagraphs): new function returns a ParagraphList.
8774
8775         * BufferView.C (removeAutoInsets): adjust
8776         (insertErrors): adjust
8777         (setCursorFromRow): adjust
8778
8779 2003-04-01  Angus Leeming  <leeming@lyx.org>
8780
8781         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8782         in the frontends.
8783
8784 2003-04-02  John Levon  <levon@movementarian.org>
8785
8786         * lyxtext.h:
8787         * text.C:
8788         * Makefile.am:
8789         * text_funcs.h:
8790         * text_funcs.C: make transposeChars a free function
8791
8792         * lyxrow_funcs.C: remove wrong comment
8793
8794 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8795
8796         * lyxtext.h: adjust
8797         * rowpainter.C: adjust
8798         * text.C: adjust
8799         * text2.C: adjust
8800         * text3.C: adjust
8801
8802         * lyxrow_funcs. [Ch]: new files
8803
8804         * lyxrow.[Ch]: remove next and previous pointers
8805         (next,previous): remove accessor functions
8806         (isParEnd): move to lyxrow_funcs
8807         (lastPos): move to lyxrow_funcs
8808         (nextRowIsAllInset): move to lyxrow_funcs
8809         (lastPrintablePos): move to lyxrow_funcs
8810         (numberOfSeparators): move to lyxrow_funcs
8811         (numberOfHfills): move to lyxrow_funcs
8812         (numberOfLabelHfills): move to lyxrow_funcs
8813         (hfillExpansion): move to lyxrow_funcs
8814
8815         * lyxfunc.C: adjust
8816
8817         * bufferview_funcs.C (toggleAndShow): adjust
8818
8819         * RowList.h: Remove class RowList from file leave just a
8820         std::list<Row>.
8821
8822         * RowList.C: delete file
8823
8824         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8825         and lyxrow_funcs.h
8826
8827 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8828
8829         * text3.C (cursorPrevious): adjust
8830         (cursorNext): adjust
8831         (dispatch): adjust
8832
8833         * text2.C (redoHeightOfParagraph): adjust
8834         (redoDrawingOfParagraph): adjust
8835         (setCursor): adjust
8836
8837         * text.C (breakParagraph): adjust
8838         (insertChar): adjust
8839         (backspace): adjust
8840
8841         * rowpainter.C (RowPainter): adjust
8842         (leftMargin): simplify and adjust
8843         (most rowpainter functions): adjust.
8844
8845         * rowpainter.h: store the row as RowList::iterator not as Row*
8846
8847         * lyxcursor.C (row): taka RowList::iterator as arg
8848         (irow): ditto
8849
8850         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8851         of Row*.
8852
8853 2003-04-01  Angus Leeming  <leeming@lyx.org>
8854
8855         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8856         stuff like bool Bool.
8857
8858 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8859
8860         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8861         rewrite a loop
8862
8863 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8864
8865         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8866         RowList::iterator.
8867
8868         * lyxtext.h (rows): drop one version and leve a const variant that
8869         returns a RowList::iterator.
8870
8871 2003-03-31  Angus Leeming  <leeming@lyx.org>
8872
8873         * text.C (fill): ensure that the signature is the same as that in the
8874         header file.
8875
8876 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8877
8878         * text2.C (redoParagraphs): adjust
8879         (updateCounters): adjust
8880         (checkParagraph): adjust
8881         (getColumnNearX): adjust and reformat a bit.
8882
8883         * text.C (top_y): adjust
8884         (workWidth): adjust
8885         (leftMargin): adjust
8886         (prepareToPrint): adjust
8887         (getRow): adjust
8888         (getRowNearY): adjust
8889
8890         * lyxtext.h: make rowlist_ mutable.
8891
8892         * RowList.h: add const_iterator
8893         * RowList.C: adjust for RowList::const_iterator.
8894
8895         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8896         adjust.
8897
8898 2003-03-31  John Levon  <levon@movementarian.org>
8899
8900         * lyxrc.h:
8901         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8902
8903         * lyx_main.C: set default fonts from using lyx_gui funcs
8904
8905         * exporter.C: pdf_mode moved from lyxrc
8906
8907         * lyx_cb.C:
8908         * lyxfunc.C: changes from above
8909
8910 2003-03-31  John Levon  <levon@movementarian.org>
8911
8912         * lyx_main.C: fix to the last fix
8913
8914 2003-03-31  John Levon  <levon@movementarian.org>
8915
8916         * bufferlist.C: "Load original" -> "Load Original"
8917
8918         * converter.C:
8919         * exporter.C:
8920         * importer.C:
8921         * lyx_main.C:
8922         * format.C: more Alert cleanups
8923
8924 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8925
8926         * text2.C (removeParagraph): make it take a RowList::iterator as
8927         arg, adjust.
8928         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8929         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8930
8931         * text.C (anchor_row): make it take a RowList::iterator as arg,
8932         adjust.
8933         (computeBidiTables): make it take a const reference to Row instead
8934         of Row pointer, adjust.
8935         (leftMargin): make it take a RowList::iterator as arg, adjust.
8936         (rowBreakPoint): adjust
8937         (breakAgainOneRow): make it take a RowList::iterator as arg,
8938         adjust.
8939         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8940
8941         * bufferview_funcs.C (toggleAndShow): adjust
8942
8943 2003-03-30  John Levon  <levon@movementarian.org>
8944
8945         * Makefile.am:
8946         * BoostFormat.h:
8947         * boost-inst.C: moved to support
8948
8949         * several files: changes as a result
8950
8951 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8952
8953         * text2.C (LyXText): adjust.
8954         (init): adjust
8955         (removeRow): make it take a RowList::iterator as arg, adjust.
8956         (fullRebreak): adjust
8957         (deleteEmptyParagraphMechanism): adjust
8958         (clearPaint): adjust
8959         (postPaint): adjust
8960
8961         * text.C (top_y): adjust
8962         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8963         (breakAgain): make it take a RowList::iterator as arg, adjust.
8964         (breakParagraph): adjust
8965         (insertChar): adjust
8966         (backspace): adjust
8967
8968         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8969         need_break_row, and refresh_row.
8970
8971         * text3.C (dispatch): adjust
8972
8973         * text2.C (checkParagraph): adjust
8974         (setCursor): adjust
8975         (setCursorFromCoordinates): adjust
8976
8977         * text.C (top_y): adjust
8978         (workWidth): adjust
8979         (getRow): make it return a RowList::iterator, adjust
8980         (getRowNearY): make it return a RowList::iterator, adjust
8981
8982         * text2.C (init): adjust
8983         (insertRow): remove function
8984         (insertParagraph): adjust
8985         (redoParagraphs): adjust
8986         (fullRebreak): adjust
8987         (updateCounters): adjust
8988
8989         * text.C (top_y): rewrite to use RowList iterators.
8990         (top_y): adjust
8991         (setHeightOfRow): rewrite to sue RowList iterators.
8992         (appendParagraph): adjust
8993         (breakAgain): adjust
8994         (breakAgainOneRow): adjust
8995         (breakParagraph): adjust
8996         (getRow): adjust
8997         (getRowNearY): adjust, and remove commented code.
8998
8999         * lyxtext.h (firstRow): delete function
9000         (lastRow): delete function
9001         (rows): new function (const and non-const versions.)
9002         (insertRow): delete function
9003
9004         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9005
9006 2003-03-29  John Levon  <levon@movementarian.org>
9007
9008         * BufferView_pimpl.C: always update scrollbar top
9009         because pasting text when we're anchored could mean we
9010         miss an update altogether
9011
9012 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9013
9014         * text2.C (init): use rowlist_.end() and not 0.
9015         (insertRow): change to take a RowList::iterator as arg, adjust
9016         for this.
9017         (insertParagraph): change to take a RowList::iterator as arg,
9018         adjust for this.
9019         (redoParagraphs): remove some debug msgs.
9020
9021         * text.C (appendParagraph): change to take a RowList::iterator
9022         arg, adjust for this.
9023         (breakAgain): add an assert
9024         (breakAgainOneRow): ditto
9025
9026 2003-03-29  John Levon  <levon@movementarian.org>
9027
9028         * text2.C: do not clear selection after inc/decDepth
9029         (bug 550)
9030
9031 2003-03-29  John Levon  <levon@movementarian.org>
9032
9033         * BufferView.C:
9034         * buffer.C: fix broken strerrors according to Lars
9035
9036 2003-03-29  John Levon  <levon@movementarian.org>
9037
9038         * converters.C: more Alert cleanups
9039
9040 2003-03-29  John Levon  <levon@movementarian.org>
9041
9042         * bufferview_funcs.C: remove pointless Alert
9043
9044         * buffer.C: fix confusing error message when
9045         a template is chmoded 000
9046
9047 2003-03-29  John Levon  <levon@movementarian.org>
9048
9049         * BufferView.C:
9050         * BufferView.h:
9051         * BufferView_pimpl.C: Alert fixes
9052
9053         * Makefile.am:
9054         * tabular.C:
9055         * tabular-old.C: remove unused table compat reading
9056
9057 2003-03-29  John Levon  <levon@movementarian.org>
9058
9059         * BufferView.C:
9060         * buffer.C:
9061         * lyx_cb.h:
9062         * lyx_cb.C: more Alert cleanups
9063
9064         * lyxfunc.C: don't allow chktex if not latex document
9065
9066 2003-03-29  John Levon  <levon@movementarian.org>
9067
9068         * lyx_cb.C:
9069         * BufferView.C:
9070         * buffer.C: warnings pushed down from support/,
9071         kill err_alert
9072
9073 2003-03-29  John Levon  <levon@movementarian.org>
9074
9075         * lyxfunc.C: safety check for C-r (revert)
9076
9077 2003-03-29  John Levon  <levon@movementarian.org>
9078
9079         * bufferlist.h:
9080         * bufferlist.C: several UI fixes using Alert::prompt.
9081         Fix the pointless looping quit code. Fix stupid revert
9082         behaviour (bug 938)
9083
9084         * lyxvc.h:
9085         * lyxvc.C:
9086         * lyx_cb.C: use Alert::prompt
9087
9088         * lyx_main.C: remove a silly question
9089
9090         * lyxfunc.C: remove a couple of silly questions,
9091         use Alert::prompt
9092
9093 2003-03-28  John Levon  <levon@movementarian.org>
9094
9095         * text2.C: fix bug 974 (End on empty par)
9096
9097 2003-03-28  John Levon  <levon@movementarian.org>
9098
9099         * BufferView_pimpl.C:
9100         * LyXAction.C:
9101         * lfuns.h: remove do-nothing math greek lfuns
9102
9103 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9104
9105         * lyxgluelength.h (isValidGlueLength): add default arg on
9106         parameter 2. Remove default arg from friend in class.
9107
9108         * lyxlength.h (isValidLength): add default arg on parameter 2.
9109         Remove default arg from friend in class.
9110
9111         * text2.C (LyXText): adjust, initialize refresh_row.
9112         (init): adjust
9113         (removeRow): adjust
9114         (insertRow): adjust
9115         (insertParagraph): adjst
9116         (redoParagraphs): adjust
9117         (fullRebreak): adjust
9118         (updateCounters): adjust
9119         (deleteEmptyParagraphMechanism): first attempt at fixing a
9120         crashing bug.
9121
9122         * text.C (top_y): adjust
9123         (setHeightOfRow): adjust
9124         (getRow): adjust
9125         (getRowNearY): adjust
9126
9127         * lyxtext.h: include RowList.h
9128         (~LyXText): not needed anymore, deleted.
9129         (firstRow): modify for RowList
9130         (lastRow): new function
9131         Delete firstrow and lastrow class variables, add a Rowlist
9132         rowlist_ class variable.
9133
9134         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9135         paragraph is empty.
9136
9137         * RowList.C (insert): fix case where it == begin().
9138
9139 2003-03-26  Angus Leeming  <leeming@lyx.org>
9140
9141         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9142         the thesaurus dialog.
9143
9144 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9145
9146         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9147
9148         * RowList.[Ch]: new files
9149
9150         * ParagraphList.C (erase): handle the case where it == begin
9151         correctly.
9152
9153 2003-03-25  John Levon  <levon@movementarian.org>
9154
9155         * Makefile.am:
9156         * aspell_local.h:
9157         * aspell.C: add new aspell support
9158
9159         * lyxrc.h:
9160         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9161         have it accessible.
9162
9163 2003-03-25  Angus Leeming  <leeming@lyx.org>
9164
9165         * lfuns.h:
9166         * LyXAction.C (init): new LFUN_INSET_INSERT.
9167
9168         * BufferView_pimpl.C (dispatch): split out part of the
9169         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9170
9171         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9172         LFUN_INSET_APPLY.
9173
9174 2003-03-25  Angus Leeming  <leeming@lyx.org>
9175
9176         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9177
9178 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9179
9180         * text2.C:
9181         * text3.C: remove useless row->height(0)
9182
9183 2003-03-25  John Levon  <levon@movementarian.org>
9184
9185         * lyxtext.h:
9186         * text2.C:
9187         * text3.C: rename the refreshing stuff to better names
9188
9189 2003-03-24  John Levon  <levon@movementarian.org>
9190
9191         * BufferView_pimpl.h:
9192         * BufferView_pimpl.C: update layout choice on a mouse
9193         press/release
9194
9195 2003-03-23  John Levon  <levon@movementarian.org>
9196
9197         * Makefile.am: fix commandtags.h reference
9198
9199 2003-03-22  John Levon  <levon@movementarian.org>
9200
9201         * BufferView_pimpl.C:
9202         * lyxtext.h:
9203         * rowpainter.C:
9204         * rowpainter.h:
9205         * text.C:
9206         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9207
9208 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9209
9210         * lyxtext.h:
9211         * text.C: take the rtl methods out of line
9212
9213 2003-03-21 André Pönitz <poenitz@gmx.net>
9214
9215         * metricsinfo.[Ch]: new files containing structures to be passed around
9216         during the two-phase-drawing...
9217
9218 2003-03-21 André Pönitz <poenitz@gmx.net>
9219
9220         * lyxtextclass.C: read 'environment' tag.
9221
9222 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9223
9224         * text2.C (removeRow): fix bug 964
9225
9226 2003-03-20  John Levon  <levon@movementarian.org>
9227
9228         * rowpainter.C:
9229         * text.C:
9230         * text2.C: paint cleanups. Inset::update() dropped font
9231         parameter
9232
9233 2003-03-19  John Levon  <levon@movementarian.org>
9234
9235         * lyxfunc.C: only fitcursor/markDirty if available()
9236
9237 2003-03-19  John Levon  <levon@movementarian.org>
9238
9239         * commandtags.h: rename to ...
9240
9241         * lfuns.h: ... this, and renumber / cleanup
9242
9243 2003-03-19  John Levon  <levon@movementarian.org>
9244
9245         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9246         fit the cursor after an lfun
9247
9248         * BufferView.h:
9249         * BufferView.C:
9250         * BufferView_pimpl.h:
9251         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9252
9253         * LyXAction.C: layout-character should have ReadOnly
9254
9255         * ParagraphParameters.C:
9256         * buffer.C:
9257         * bufferview_funcs.C:
9258         * lyx_cb.C:
9259         * lyxfind.C:
9260         * lyxtext.h:
9261         * text.C:
9262         * text2.C:
9263         * text3.C:
9264         * undo_funcs.C: changes from above
9265
9266 2003-03-18  John Levon  <levon@movementarian.org>
9267
9268         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9269         remove it from update()
9270
9271         * lyxfunc.C: update layout choice after an lfun
9272
9273         * text3.C: remove extra updateLayoutChoice()s
9274
9275 2003-03-18  John Levon  <levon@movementarian.org>
9276
9277         * text.C: top_y change means full repaint, fix
9278         a drawing bug with cursor movement
9279
9280 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9281
9282         * lyxtext.h:
9283         * text.C:
9284         * text2.C: anchor row on setCursor
9285
9286 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9287
9288         * lyxtext.h: remove almost all mutable keywords
9289         * text.C:
9290         * text2.C:
9291         * text3.C: remove const keywords accordingly
9292
9293 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9294
9295         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9296         anon namespace
9297         (TeXEnvironment): ditto
9298         (TeXOnePar): ditto
9299
9300 2003-03-17  John Levon  <levon@movementarian.org>
9301
9302         * text.C (rowBreakPoint): remove attempt to fix displayed
9303         math insets inside a manual label
9304
9305 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9306
9307         * lyxtext.h: remove BufferView* as first arg from almost all class
9308         functions.
9309         * other files: adjust.
9310
9311 2003-03-17  John Levon  <levon@movementarian.org>
9312
9313         * lyxtext.h:
9314         * undo_funcs.C:
9315         * text2.C: more paint cleanups
9316
9317         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9318
9319         * rowpainter.h:
9320         * rowpainter.C: remove "smart" background painting code
9321
9322 2003-03-16  John Levon  <levon@movementarian.org>
9323
9324         * lyxtext.h:
9325         * text.C:
9326         * text2.C:
9327         * text3.C: add helper functions for setting refresh_row/y
9328
9329 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9330
9331         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9332         newline inset which *can* get inserted in the pass_thru layouts.
9333         This is primarily for literate documents.
9334
9335 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9336
9337         * buffer.C: increment LYX_FORMAT to 223
9338
9339 2003-03-14 André Pönitz <poenitz@gmx.net>
9340
9341         * textclass.h: prepare for environment handling, ws changes
9342         * lyxlayout.C: read latexheader and latexfooter tags
9343
9344 2003-03-14  John Levon  <levon@movementarian.org>
9345
9346         * text2.C: rewrite ::status() a bit
9347
9348 2003-03-13  John Levon  <levon@movementarian.org>
9349
9350         * lyxtext.h: add some docs
9351
9352 2003-03-13  John Levon  <levon@movementarian.org>
9353
9354         * lyxtext.h:
9355         * text.C:
9356         * text2.C:
9357         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9358
9359 2003-03-13  John Levon  <levon@movementarian.org>
9360
9361         * text3.C: fix appendix redrawing
9362
9363 2003-03-13  John Levon  <levon@movementarian.org>
9364
9365         * text.C (setHeightOfRow):
9366         * rowpainter.h:
9367         * rowpainter.C: make appendix mark have the text
9368           "Appendix" so the user knows what it is
9369
9370         * LColor.h:
9371         * LColor.C: s/appendixline/appendix/ from above
9372
9373 2003-03-13  John Levon  <levon@movementarian.org>
9374
9375         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9376
9377         * text.C: fix a getChar(pos) bug properly
9378
9379 2003-03-13  Angus Leeming  <leeming@lyx.org>
9380
9381         * commandtags.h:
9382         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9383         Probably only temporary. Let's see how things pan out.
9384
9385         * BufferView.C (unlockInset):
9386         * BufferView_pimpl.C (fitCursor):
9387         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9388
9389         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9390         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9391
9392         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9393         new functions that convert ParagraphParameters to and from a string.
9394
9395         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9396         BufferView::Pimpl's dispatch.
9397         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9398
9399 2003-03-13 André Pönitz <poenitz@gmx.net>
9400
9401         * lyxfunc.C:
9402         * text3.C:
9403         * factory.C: make it aware of InsetEnv
9404
9405 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9406
9407         * text2.C (setCursor): never ask for one past last
9408         (setCursor): add some debugging messages.
9409
9410         * text.C (singleWidth): never ask for one past last
9411         (singleWidth): ditto
9412         (leftMargin): ditto
9413         (rightMargin): ditto
9414         (rowBreakPoint): ditto
9415         (setHeightOfRow): ditto
9416         (prepareToPrint): ditto
9417
9418         * rowpainter.C (paintBackground): never ask for one past last
9419         (paintText): never ask for one past last
9420
9421         * paragraph_pimpl.C (getChar): make the assert stricter, never
9422         allow the one past last pos to be taken
9423
9424         * paragraph.C (getChar): ws changes only
9425
9426         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9427         (numberOfSeparators): ditto
9428         (numberOfHfills): ditto
9429
9430 2003-03-12  John Levon  <levon@movementarian.org>
9431
9432         * author.h:
9433         * author.C:
9434         * bufferparams.h:
9435         * bufferparams.C:
9436         * paragraph_funcs.C: fix per-buffer authorlists
9437
9438 2003-03-12  John Levon  <levon@movementarian.org>
9439
9440         * text.C: fix newline in right address
9441
9442 2003-03-12  Angus Leeming  <leeming@lyx.org>
9443
9444         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9445         duplicate those in LyXFunc::dispatch.
9446
9447         * commandtags.h:
9448         * LyXAction.C:
9449         * ToolbarDefaults.C:
9450         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9451         Add LFUN_FONTFREE_UPDATE.
9452
9453         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9454         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9455
9456         * bufferview_func.[Ch]: several new functions to facilliate
9457         transfer of data to and from the character dialog.
9458
9459 2003-03-12  John Levon  <levon@movementarian.org>
9460
9461         * buffer.C:
9462         * paragraph.h:
9463         * paragraph.C:
9464         * paragraph_funcs.C:
9465         * paragraph_pimpl.C:
9466         * sgml.C:
9467         * tabular.C:
9468         * text.C:
9469         * text3.C: remove META_NEWLINE in favour of an inset
9470
9471         * rowpainter.h:
9472         * rowpainter.C: remove paintNewline (done by inset)
9473
9474 2003-03-12  John Levon  <levon@movementarian.org>
9475
9476         * paragraph_pimpl.C: complain about bad getChar()s
9477         for a while at least
9478
9479 2003-03-12  John Levon  <levon@movementarian.org>
9480
9481         * buffer.h:
9482         * buffer.C: move paragraph read into a separate function,
9483         a little renaming to reflect that.
9484
9485         * bufferparams.h:
9486         * bufferparams.C: remove the author_ids map, not necessary now
9487
9488         * factory.h:
9489         * factory.C: moved Buffer::readInset to here
9490
9491         * paragraph_funcs.h:
9492         * paragraph_funcs.C: readParagraph free function moved from
9493         buffer.C
9494
9495         * tabular.C: name change
9496
9497 2003-03-12  John Levon  <levon@movementarian.org>
9498
9499         * buffer.C:
9500         * ParagraphParameters.C: move par params input to
9501         a read() method
9502
9503         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9504         behave like a normal read from the stream wrt reading
9505         a line vs. a \\token
9506
9507 2003-03-12  John Levon  <levon@movementarian.org>
9508
9509         * paragraph.C:
9510         * ParagraphParameters.h:
9511         * ParagraphParameters.C: move output code to a
9512         ::write() method
9513
9514 2003-03-12  John Levon  <levon@movementarian.org>
9515
9516         * BufferView.C (insertLyXFile):
9517         * buffer.h:
9518         * buffer.C:
9519         * tabular.C: use a parlist iterator for creating the
9520           document.
9521
9522 2003-03-12  John Levon  <levon@movementarian.org>
9523
9524         * buffer.C: make current_change static local not
9525           static file-scope
9526
9527 2003-03-12  John Levon  <levon@movementarian.org>
9528
9529         * buffer.C: fix insertStringAsLines for change tracking
9530
9531 2003-03-12  John Levon  <levon@movementarian.org>
9532
9533         * BufferView.C:
9534         * tabular.C:
9535         * buffer.h:
9536         * buffer.C:
9537         * bufferparams.h:
9538         * bufferparams.C: move author list into params. Rename some
9539           functions. Move the header reading into a separate token
9540           loop. Move the header token reading into BufferParams.
9541
9542 2003-03-12  John Levon  <levon@movementarian.org>
9543
9544         * changes.C: put debug inside lyxerr.debugging() checks
9545
9546 2003-03-11 André Pönitz <poenitz@gmx.net>
9547
9548         * factory.C: make it aware of InsetHFill
9549
9550 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9551
9552         * buffer.C (latexParagraphs): move function from here...
9553         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9554         args.
9555
9556 2003-03-10  Angus Leeming  <leeming@lyx.org>
9557
9558         * LyXAction.C (init): fix bug in poplating array with multiple entries
9559         with the same LFUN (spotted by JMarc).
9560
9561 2003-03-10  John Levon  <levon@movementarian.org>
9562
9563         * text.C:
9564         * text2.C: move getColumnNearX() near its
9565         only call site
9566
9567 2003-03-10  John Levon  <levon@movementarian.org>
9568
9569         * text.C: fix break before a minipage
9570
9571 2003-03-10  John Levon  <levon@movementarian.org>
9572
9573         * text.C: fix the last commit
9574
9575 2003-03-09  John Levon  <levon@movementarian.org>
9576
9577         * lyxtext.h:
9578         * text.C:
9579         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9580         bug 365 (don't break before insets unless needed). Don't
9581         return a value > last under any circumstances.
9582
9583 2003-03-09  Angus Leeming  <leeming@lyx.org>
9584
9585         * BufferView_pimpl.C (trackChanges, dispatch): call
9586         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9587
9588 2003-03-09  Angus Leeming  <leeming@lyx.org>
9589
9590         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9591         than Dialogs::showAboutlyx().
9592
9593 2003-03-09  Angus Leeming  <leeming@lyx.org>
9594
9595         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9596         than Dialogs::showTabularCreate().
9597
9598 2003-03-09  John Levon  <levon@movementarian.org>
9599
9600         * lyxtext.h:
9601         * text.C:
9602         * text2.C: 3rd arg to nextBreakPoint was always the same.
9603           Use references.
9604
9605 2003-03-08  John Levon  <levon@movementarian.org>
9606
9607         * lyxrow.C:
9608         * paragraph.C:
9609         * paragraph.h:
9610         * rowpainter.C:
9611         * text.C:
9612         * text2.C: Remove the "main" bit from the "main body"
9613           notion.
9614
9615 2003-03-08  John Levon  <levon@movementarian.org>
9616
9617         * text.C (leftMargin): The left margin of an empty
9618         manual label paragraph should not include the label width
9619         string length.
9620
9621         * text.C (prepareToPrint): don't attempt to measure hfills
9622         for empty manual label paragraphs - the answer should be 0
9623
9624 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9625
9626         * CutAndPaste.C: remove commented code and reindent.
9627
9628 2003-03-08  John Levon  <levon@movementarian.org>
9629
9630         * lyxfunc.h:
9631         * lyxfunc.C: move reloadBuffer()
9632
9633         * BufferView.h:
9634         * BufferView.C: to here
9635
9636         * lyxvc.C: add comment
9637
9638         * vc-backend.h:
9639         * vc-backend.C: call bv->reload() to avoid
9640           getStatus() check on MENURELOAD
9641
9642 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9643
9644         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9645         to an old format .dep file.
9646
9647 2003-03-07  Angus Leeming  <leeming@lyx.org>
9648
9649         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9650         when the LFUN_MOUSE_RELEASE should have been handled by
9651         inset->localDispatch.
9652
9653 2003-03-07  Angus Leeming  <leeming@lyx.org>
9654
9655         * BufferView_pimpl.C (dispatch):
9656         * LyXAction.C (init):
9657         * ToolbarDefaults.C (init):
9658         * commandtags.h:
9659         * lyxfunc.C (getStatus):
9660         remove LFUN_INSET_GRAPHICS.
9661
9662         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9663
9664 2003-03-07  Angus Leeming  <leeming@lyx.org>
9665
9666         * commandtags.h:
9667         * LyXAction.C (init):
9668         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9669
9670         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9671
9672         * commandtags.h:
9673         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9674
9675         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9676         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9677
9678 2003-03-07  Angus Leeming  <leeming@lyx.org>
9679
9680         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9681         remove "ert".
9682
9683 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9684
9685         * ParagraphList.C (front): new function
9686         (back): implement
9687
9688 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9689
9690         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9691         and top_row_offset_. removed var first_y.
9692         * text.C (top_y):
9693         * text2.C (LyXText, removeRow):
9694         * text3.C:
9695         * BufferView_pimpl.C:
9696         use these methods instead of using first_y
9697
9698 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9699
9700         * text2.C (pasteSelection): adjust for checkPastePossible
9701
9702         * CutAndPaste.C: remove Paragraph * buf and replace with
9703         ParagraphList paragraphs.
9704         (DeleteBuffer): delete
9705         (cutSelection): change the tc type to textclass_type
9706         (copySelection): change the tc type to textclass_type
9707         (copySelection): adjust for ParagraphList
9708         (pasteSelection): change the tc type to textclass_type
9709         (pasteSelection): adjust for Paragraphlist
9710         (nrOfParagraphs): simplify for ParagraphList
9711         (checkPastePossible): simplify for ParagraphList
9712         (checkPastePossible): remove unused arg
9713
9714         * ParagraphList.C (insert): handle the case where there are no
9715         paragraphs yet.
9716
9717         * CutAndPaste.h: make CutAndPaste a namespace.
9718
9719         * text3.C (dispatch): adjust
9720
9721         * text.C (breakParagraph): add a ParagraphList as arg
9722
9723         * paragraph_funcs.C (breakParagraph): change to take a
9724         BufferParams and a ParagraphList as args.
9725         (breakParagraphConservative): ditto
9726         (mergeParagraph): ditto
9727         (TeXDeeper): add a ParagraphList arg
9728         (TeXEnvironment): ditto
9729         (TeXOnePar): ditto
9730
9731         * buffer.C (readLyXformat2): adjust
9732         (insertStringAsLines): adjust
9733         (latexParagraphs): adjust
9734
9735         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9736         (cutSelection): adjust
9737         (pasteSelection): adjust
9738
9739         * BufferView_pimpl.C (insertInset): adjust
9740
9741 2003-03-05  Angus Leeming  <leeming@lyx.org>
9742
9743         * commandtags.h:
9744         * LyXAction.C (init):
9745         * BufferView_pimpl.C (dispatch):
9746         * lyxfunc.C (getStatus):
9747         remove LFUN_CHILD_INSERT.
9748
9749         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9750
9751 2003-03-05  Angus Leeming  <leeming@lyx.org>
9752
9753         * commandtags.h:
9754         * LyXAction.C (init):
9755         * src/factory.C (createInset):
9756         * lyxfunc.C (getStatus):
9757         * text3.C (dispatch):
9758         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9759
9760         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9761
9762 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9763
9764         * ParagraphList.C (insert): handle insert right before end()
9765         (erase): fix cases where it can be first or last paragraph.
9766
9767 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9768
9769         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9770         Paragraph::next and Paragraph::previous
9771         (TeXOnePar): ditto
9772
9773         * text.C (breakParagraph): adjust
9774
9775         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9776         BufferParams& as arg.
9777         (breakParagraph): use ParagraphList::insert
9778         (breakParagraphConservative): take a Buffer* instead of a
9779         BufferParams& as arg.
9780         (breakParagraphConservative): use ParagraphList::insert.
9781
9782         * buffer.C (insertStringAsLines): un-const it
9783         (insertStringAsLines): adjust
9784
9785         * ParagraphList.C (insert): new function
9786
9787         * CutAndPaste.C (pasteSelection): adjust
9788
9789         * text.C (backspace): adjust
9790
9791         * tabular.C (SetMultiColumn): adjust
9792
9793         * CutAndPaste.C (cutSelection): adjust
9794         (pasteSelection): adjust
9795
9796         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9797         Buffer const * as arg
9798
9799         * ParagraphList.C (erase): new function
9800         * paragraph_funcs.C (mergeParagraph): use it
9801         (mergeParagraph): make it take a Buffer* instead of a
9802         BufferParams* as arg
9803
9804         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9805         as arg
9806         (breakParagraphConservative): ditto
9807
9808         * paragraph.h: remove the breakParagraph friend
9809
9810         * paragraph.C (eraseIntern): new function
9811         (setChange): new function
9812
9813         * paragraph_funcs.C (mergeParagraph): make it take a
9814         ParagraphList::iterator instead of a Paragraph *, adjust
9815         accordingly.
9816
9817         * paragraph.h: move an #endif so that the change tracking stuff
9818         also works in the NO_NEXT case.
9819
9820 2003-03-04  Angus Leeming  <leeming@lyx.org>
9821
9822         * commandtags.h:
9823         * LyXAction.C: new LFUN_INSET_MODIFY.
9824
9825         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9826         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9827
9828 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9829
9830         * several files: ws changes only
9831
9832         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9833         (TeXEnvironment): ditto
9834         (TeXDeeper): ditto
9835
9836         * buffer.C (makeLaTeXFile): adjust
9837         (latexParagraphs): make it take ParagraphList::iterator as args
9838
9839 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9840
9841         * buffer.C (latexParagraphs): adjust
9842
9843         * paragraph.C (TeXOnePar): move function...
9844         (optArgInset): move function...
9845         (TeXEnvironment): move function...
9846         * paragraph_pimpl.C (TeXDeeper): move function...
9847         * paragraph_funcs.C: ...here
9848
9849         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9850
9851 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9852
9853         * buffer.C (readInset): remove compability code for old Figure and
9854         InsetInfo insets
9855
9856 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9857
9858         * buffer.C: ws changes
9859         (readInset):
9860
9861         * BufferView_pimpl.C: ditto
9862         * author.C: ditto
9863         * buffer.h: ditto
9864         * bufferlist.h: ditto
9865         * changes.h: ditto
9866         * lyxfunc.C: ditto
9867
9868 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9869
9870         * converter.[Ch]: split into itself +
9871         * graph.[Ch]
9872         * format.[Ch]
9873         * Makefile.am: += graph.[Ch] + format.[Ch]
9874         * MenuBackend.C
9875         * buffer.C
9876         * exporter.C
9877         * importer.C
9878         * lyx_main.C
9879         * lyxfunc.C
9880         * lyxrc.C: added #include "format.h"
9881
9882 2003-02-27  Angus Leeming  <leeming@lyx.org>
9883
9884         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9885           a label.
9886
9887         * factory.C (createInset): add "label" to the factory.
9888
9889         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9890           string and do no more.
9891
9892 2003-02-27  Angus Leeming  <leeming@lyx.org>
9893
9894         * commandtags.h:
9895         * LyXAction.C (init):
9896         * factory.C (createInset):
9897         * BufferView_pimpl.C (dispatch):
9898           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9899
9900         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9901
9902         * lyxfunc.C (dispatch):
9903         * text3.C (dispatch): pass name to params2string.
9904
9905 2003-02-26  Angus Leeming  <leeming@lyx.org>
9906
9907         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9908           blocks together.
9909           Rearrange the ~includes. Strip out the unnecessary ones.
9910
9911         * factory.C (createInset): reformat.
9912           create new insets for the various LFUN_XYZ_APPLY lfuns.
9913
9914 2003-02-26  John Levon  <levon@movementarian.org>
9915
9916         * lyxrow.h:
9917         * lyxrow.C: add isParStart,isParEnd helpers
9918
9919         * paragraph.h: make isInserted/DeletedText take refs
9920
9921         * paragraph_funcs.h:
9922         * paragraph_funcs.C: remove #if 0'd code
9923
9924         * lyxtext.h:
9925         * text3.C:
9926         * text2.C:
9927         * text.C: use lyxrow helpers above.
9928           Move draw and paint routines to RowPainter.
9929           Make several methods use refs not pointers.
9930           Make backgroundColor() const.
9931           Add markChangeInDraw(), isInInset().
9932           Merge changeRegionCase into changeCase.
9933           Make workWidth() shouldn't-happen code into an Assert.
9934
9935         * rowpainter.h:
9936         * rowpainter.C: new class for painting a row.
9937
9938         * vspace.h:
9939         * vspace.C: make inPixels take a ref
9940
9941 2003-02-26  Angus Leeming  <leeming@lyx.org>
9942
9943         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9944         LFUN_REF_APPLY.
9945
9946 2003-02-25  John Levon  <levon@movementarian.org>
9947
9948         * ispell.C: give the forked command a more accurate name
9949
9950 2003-02-22  John Levon  <levon@movementarian.org>
9951
9952         * toc.h:
9953         * toc.C: make TocItem store an id not a Paragraph *
9954           (bug #913)
9955
9956 2003-02-21  Angus Leeming  <leeming@lyx.org>
9957
9958         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9959           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9960           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9961           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9962           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9963           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9964
9965         * BufferView_pimpl.C (dispatch):
9966         * LyXAction.C (init):
9967         * factory.C (createInset):
9968         * lyxfunc.C (getStatus, dispatch):
9969         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9970
9971 2003-02-21  Angus Leeming  <leeming@lyx.org>
9972
9973         * BufferView_pimpl.C (MenuInsertLyXFile):
9974         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9975         * lyxfunc.C (menuNew, open, doImport):
9976           no longer pass a LyXView & to fileDlg.
9977
9978 2003-02-21  Angus Leeming  <leeming@lyx.org>
9979
9980         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9981         * LyXAction.C: change, BIBKEY to BIBITEM.
9982         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9983         Change InsetBibKey to InsetBibitem.
9984         Change BIBKEY_CODE to BIBITEM_CODE.
9985         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9986         * factory.C: replace insetbib.h with insetbibitem.h.
9987         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9988         * paragraph.C: replace insetbib.h with insetbibitem.h.
9989         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9990         Change bibkey() to bibitem().
9991         * text.C: remove insetbib.h.
9992         * text2.C: replace insetbib.h with insetbibitem.h.
9993         change bibkey() to bibitem().
9994         * text3.C: remove insetbib.h.
9995         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9996
9997 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9998
9999         * lyxrc.C (output): enclose user email in quotes (in case there are
10000         several words)
10001
10002 2003-02-18  John Levon  <levon@movementarian.org>
10003
10004         * buffer.h: add std::
10005
10006 2003-02-17  John Levon  <levon@movementarian.org>
10007
10008         * SpellBase.h:
10009         * ispell.h:
10010         * ispell.C:
10011         * pspell.h:
10012         * pspell.C: reworking. Especially in ispell, a large
10013           number of clean ups and bug fixes.
10014
10015         * lyxfunc.C: fix revert to behave sensibly
10016
10017 2003-02-17 André Pönitz <poenitz@gmx.net>
10018
10019         * LyXAction.C:
10020         * commandtags.h: new LFUN_INSERT_BIBKEY
10021
10022         * layout.h:
10023         * lyxlayout.C:
10024         * buffer.C:
10025         * factory.C:
10026         * text.C:
10027         * text2.C:
10028         * text3.C:
10029         * paragraph.[Ch]:
10030         * paragraph_func.C: remove special bibkey handling
10031
10032 2003-02-17  John Levon  <levon@movementarian.org>
10033
10034         * text.C (Delete): fix case where delete at the end of
10035           the very first paragraph would not merge the pars
10036
10037 2003-02-17  John Levon  <levon@movementarian.org>
10038
10039         * lyxrow.C: fix lastPrintablePos()
10040
10041 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10042
10043         * bufferparams.C (writeLaTeX): add a std:here
10044
10045         * buffer.C: and remove a using directive there
10046
10047 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10048
10049         * buffer.C (makeLaTeXFile): move the code that generates the
10050           preamble...
10051
10052         * bufferparams.C (writeLaTeX): ... in this new method
10053
10054         * LaTeXFeatures.C (getEncodingSet): make const
10055           (getLanguages): make const
10056
10057         * MenuBackend.C (binding): returns the binding associated to this
10058           action
10059           (add): sets the status of each item by calling getStatus. Adds
10060           some intelligence.
10061           (read): add support for OptSubMenu
10062           (expand): remove extra separator at the end of expanded menu
10063
10064 2003-02-15  John Levon  <levon@movementarian.org>
10065
10066         * BufferView.C:
10067         * BufferView_pimpl.C:
10068         * bufferlist.h:
10069         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10070           inset code that had no actual effect. Remove unneeded status
10071           code.
10072
10073 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10074
10075         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10076           in preamble
10077
10078 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10079
10080         * text.C (drawLengthMarker): also draw an arrow marker for
10081           symbolic lengths (medskip...)
10082
10083 2003-02-14  John Levon  <levon@movementarian.org>
10084
10085         * tabular.h:
10086         * tabular.C: better method names
10087
10088 2003-02-14  John Levon  <levon@movementarian.org>
10089
10090         * BufferView_pimpl.C:
10091         * bufferlist.C:
10092         * buffer.C:
10093         * converter.C:
10094         * lyx_cb.C:
10095         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10096           it's a more accurate name. Remove some pointless uses.
10097
10098 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10099
10100         * text2.C (LyXText): change order of initilizers to shut off
10101           warnings
10102
10103 2003-02-14  John Levon  <levon@movementarian.org>
10104
10105         * buffer.C: use ParIterator for getParFromID()
10106
10107         * paragraph.h:
10108         * paragraph.C:
10109         * paragraph_pimpl.h:
10110         * paragraph_pimpl.C: remove unused getParFromID()
10111
10112 2003-02-14  John Levon  <levon@movementarian.org>
10113
10114         * buffer.C: remove some very old #if 0'd parse code
10115
10116 2003-02-13  John Levon  <levon@movementarian.org>
10117
10118         * text.h:
10119         * text.C:
10120         * text2.C: move hfillExpansion(), numberOfSeparators(),
10121           rowLast(), rowLastPrintable(), numberofHfills(),
10122           numberOfLabelHfills() ...
10123
10124         * lyxrow.h:
10125         * lyxrow.C: ... to member functions here.
10126
10127         * paragraph.h:
10128         * paragraph.C:
10129         * lyxtext.h:
10130         * text.C: remove LyXText::beginningOfMainBody(), and call
10131           p->beginningOfMainBody() directly. Move the check for
10132           LABEL_MANUAL into the latter.
10133
10134         * text.h:
10135         * text.C:
10136         * text2.C:
10137         * vspace.C:
10138         * BufferView.h:
10139         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10140
10141         * text.h:
10142         * text.C:
10143         * text2.C:
10144         * text3.C:
10145         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10146           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10147
10148 2003-02-13  John Levon  <levon@movementarian.org>
10149
10150         * CutAndPaste.C: remove debug
10151
10152 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10153
10154         * paragraph.C (asString): remove two unused variables
10155
10156         * lyxtextclass.C (readTitleType):
10157           (Read):
10158           (LyXTextClass): handle new members titletype_ and titlename_
10159
10160         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10161
10162 2003-02-09  John Levon  <levon@movementarian.org>
10163
10164         * buffer.h:
10165         * buffer.C: replace hand-coded list with a map for the dep clean
10166
10167 2003-02-08  John Levon  <levon@movementarian.org>
10168
10169         * LaTeX.C: consolidate code into showRunMessage() helper
10170
10171 2003-02-08  John Levon  <levon@movementarian.org>
10172
10173         * lyxfind.C:
10174         * lyxtext.h:
10175         * text2.C:
10176         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10177           and pass the size in explicitly
10178
10179         * BufferView_pimpl.h:
10180         * BufferView_pimpl.C:
10181         * BufferView.h:
10182         * BufferView.C: add getCurrentChange()
10183
10184         * BufferView_pimpl.h:
10185         * BufferView_pimpl.C: handle change lfuns
10186
10187         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10188           for changes. Mark pasted paragraphs as new.
10189
10190         * support/lyxtime.h:
10191         * support/lyxtime.C:
10192         * DepTable.C: abstract time_t as lyx::time_type
10193
10194         * LColor.h:
10195         * LColor.C: add colours for new text, deleted text, changebars
10196
10197         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10198           package use "usenames" option.
10199
10200         * commandtags.h:
10201         * lyxfunc.C:
10202         * LyXAction.C: add change lfuns
10203
10204         * Makefile.am:
10205         * author.h:
10206         * author.C: author handling
10207
10208         * buffer.h:
10209         * buffer.C: add a per-buffer author list, with first entry as
10210           current author. Handle new .lyx tokens for change tracking. Output
10211           author list to .lyx file. Output dvipost stuff to .tex preamble.
10212           Bump lyx format to 222.
10213
10214         * bufferlist.h:
10215         * bufferlist.C: add setCurrentAuthor() to reset current author details
10216           in all buffers.
10217
10218         * bufferparams.h:
10219         * bufferparams.C: add param for tracking
10220
10221         * bufferview_funcs.C: output change info in minibuffer
10222
10223         * Makefile.am:
10224         * changes.h:
10225         * changes.C: add change-tracking structure
10226
10227         * debug.h:
10228         * debug.C: add CHANGES debug flag
10229
10230         * lyxfind.h:
10231         * lyxfind.C: add code for finding the next change piece
10232
10233         * lyxrc.h:
10234         * lyxrc.C: add user_name and user_email
10235
10236         * lyxrow.h:
10237         * lyxrow.C: add a metric for the top of the text line
10238
10239         * lyxtext.h:
10240         * text.C: implement accept/rejectChange()
10241
10242         * lyxtext.h:
10243         * text.C: paint changebars. Paint new/deleted text in the chosen
10244         colours. Strike through deleted text.
10245
10246         * paragraph.h:
10247         * paragraph.C:
10248         * paragraph_pimpl.h:
10249         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10250           in the current change to the insert functions. Rework erase to
10251           mark text as deleted, adding an eraseIntern() and a range-based
10252           erase(). Implement per-paragraph change lookup and
10253           accept/reject.
10254
10255         * paragraph_funcs.C: Fixup paste for change tracking.
10256
10257         * tabular.C: mark added row/columns as new.
10258
10259         * text.C: fix rowLast() to never return -1. Don't allow
10260           spellchecking of deleted text. Track transpose changes. Don't
10261           allow paragraph break or merge where appropriate.
10262
10263         * text2.C: leave cursor at end of selection after a cut.
10264
10265 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10266
10267         * text.C (getLengthMarkerHeight):
10268         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10269         visible on screen too.
10270
10271 2003-02-07  John Levon  <levon@movementarian.org>
10272
10273         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10274
10275 2003-02-05  Angus Leeming  <leeming@lyx.org>
10276
10277         * lyxserver.C (read_ready): revert my patch of 11 September last year
10278         as it sends PC cpu through the roof. Presumably this means that
10279         the lyxserver will no longer run on an Alpha...
10280
10281 2003-01-30  Angus Leeming  <leeming@lyx.org>
10282
10283         * factory.C (createInset): create an InsetCommandParam of type "index"
10284         and use it to 'do the right thing'.
10285
10286         * text2.C (getStringToIndex): ensure that cursor position is always
10287         reset to the reset_cursor position.
10288
10289 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10290
10291         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10292         disabled.
10293
10294 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10295
10296         * bufferview.C:
10297         * lyxcb.C:
10298         * lyxfunc.C: Output messages with identical spelling, punctuation,
10299         and spaces
10300
10301 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10302
10303         * MenuBackend.C (expandFormats): List only viewable export formats
10304         in "View" menu
10305
10306         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10307         message
10308
10309         * lyxfunc.C (getStatus): Make sure that formats other than
10310         "fax" can also be disabled
10311
10312 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10313
10314         * text3.C (dispatch): put the lfuns that insert insets in 3
10315         groups, and call doInsertInset with appropriate arguments.
10316         (doInsertInset): new function, that creates an inset and inserts
10317         it according to some boolean parameters.
10318
10319 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10320
10321         * buffer.C (readFile): remember to pass on 'par' when calling
10322         readFile recursively.
10323
10324 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10325
10326         * MenuBackend.C (expandFormats): add "..." to import formats.
10327
10328 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10329
10330         * paragraph.C (asString): Remove XForms RTL hacks.
10331
10332 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10333         * buffer.C: fix typo
10334
10335 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10336
10337         * Makefile.am (LIBS): delete var
10338         (lyx_LDADD): add @LIBS@ here instead.
10339
10340 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10341
10342         * Clarify the meaning of "wheel mouse jump"
10343
10344 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10345
10346         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10347         tabular in a float
10348
10349 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10350
10351         * importer.C (Loaders): do not preallocate 3 elements in the
10352         vector, since one ends up with 6 elements otherwise
10353
10354 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10355
10356         * DepTable.C (write): write the file name as last element of the
10357         .dep file (because it may contain spaces)
10358         (read): read info in the right order
10359
10360 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10361
10362         * paragraph_pimpl.C (simpleTeXBlanks):
10363         (simpleTeXSpecialChars):
10364         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10365
10366         * tabular.C (latex): add some missing case statements. Reindent.
10367
10368         * MenuBackend.C (expandToc): remove unused variable.
10369
10370 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10371
10372         * LColor.C:
10373         * LaTeX.C:
10374         * LyXAction.C:
10375         * MenuBackend.C:
10376         * buffer.C:
10377         * exporter.C:
10378         * lyxfunc.C:
10379         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10380         and the like.
10381
10382 2003-01-05  John Levon  <levon@movementarian.org>
10383
10384         * BufferView.h:
10385         * BufferView.C: add getEncoding()
10386
10387         * kbsequence.h:
10388         * kbsequence.C: do not store last keypress
10389
10390         * lyxfunc.h:
10391         * lyxfunc.C: store last keypress here instead. Pass encoding
10392           to getISOEncoded()
10393
10394 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10395
10396         * lyx_main.C (init): remove annoying error message when following
10397         symbolic links (bug #780)
10398
10399 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10400
10401         * text.C (insertChar):
10402         * lyxrc.C (getDescription): remove extra spaces
10403
10404 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10405
10406         * lyxrc.C (getDescription): remove extra spaces
10407
10408 2002-12-20  John Levon  <levon@movementarian.org>
10409
10410         * text3.C: hack fix for page up/down across tall rows
10411
10412 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10413
10414         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10415         not been invoked
10416
10417 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10418
10419         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10420         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10421         thesaurus is not compiled in
10422
10423 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10424
10425         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10426
10427 2002-12-16  Angus Leeming  <leeming@lyx.org>
10428
10429         * lyxrc.[Ch]:
10430         * lyx_main.C (init): remove override_x_deadkeys stuff.
10431
10432 2002-12-12  John Levon  <levon@movementarian.org>
10433
10434         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10435           insert. Only remove shift modifier under strict
10436           circumstances.
10437
10438 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10439
10440         * MenuBackend.C (expandToc): fix crash.
10441
10442 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10443
10444         * MenuBackend.C (expandToc): gettext on float names.
10445
10446 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10447
10448         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10449         implement bool empty() [bug 490]
10450
10451 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10452
10453         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10454
10455 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10456
10457         * several files: ws changes
10458
10459 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10460
10461         * text2.C (setCounter): clean up a bit, use boost.format.
10462         (updateCounters): initialize par upon declaration.
10463
10464         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10465         if the layout exists. We do not just store the layout any more.
10466         (SwitchLayoutsBetweenClasses): use boost.format
10467
10468 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10469
10470         * converter.C (convert): if from and to files are the same, use a
10471         temporary files as intermediary
10472
10473 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10474
10475         * commandtags.h:
10476         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10477
10478 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10479
10480         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10481
10482 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10483
10484         * tabular.C (asciiPrintCell): use string(size, char) instead of
10485         explicit loop.
10486
10487         * sgml.C (openTag): fix order of arguments to string constructor
10488         (closeTag): ditto
10489
10490         * lyxfunc.C (dispatch): use boost.format
10491
10492         * lots of files: change "c" -> 'c'
10493
10494 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10495
10496         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10497
10498 2002-11-25  Angus Leeming  <leeming@lyx.org>
10499
10500         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10501
10502         * lyx_main.C (init): compile fix.
10503
10504 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10505
10506         * lyx_cb.C (start): boost.formatify
10507         do not include <iostream>
10508
10509         * lengthcommon.C: ws only
10510
10511         * boost-inst.C,BoostFormat.h: add more explict instantations
10512
10513 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10514
10515         * lots of files: handle USE_BOOST_FORMAT
10516
10517 2002-11-21  John Levon  <levon@movementarian.org>
10518
10519         * pspell.C: fix compile
10520
10521 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10522
10523         * lyxfunc.C (dispatch): use boost::format
10524         (open): ditto
10525         (doImport): ditto
10526
10527         * lyxfont.C (stateText): use boost::format
10528
10529         * lyx_main.C (LyX): use boost::format
10530         (init): ditto
10531         (queryUserLyXDir): ditto
10532         (readRcFile): ditto
10533         (parse_dbg): ditto
10534         (typedef boost::function): use the recommened syntax.
10535
10536         * importer.C (Import): use boost::format
10537
10538         * debug.C (showLevel): use boost::format
10539
10540         * converter.C (view): use boost::format
10541         (convert): ditto
10542         (move): ditto
10543         (scanLog): ditto
10544
10545         * bufferview_funcs.C (currentState): use boost::format
10546
10547         * bufferlist.C (emergencyWrite): use boost::format
10548
10549         * buffer.C (readLyXformat2): use boost::format
10550         (parseSingleLyXformat2Token): ditto
10551
10552         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10553
10554         * LaTeX.C (run): use boost::format
10555
10556         * Chktex.C (scanLogFile): use boost::format
10557
10558         * BufferView_pimpl.C (savePosition): use boost::format
10559         (restorePosition): ditto
10560         (MenuInsertLyXFile): ditto
10561
10562         * BoostFormat.h: help file for explicit instation.
10563
10564 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10565
10566         * tabular.C (latex): Support for block alignment in fixed width
10567         columns.
10568
10569 2002-11-17  John Levon  <levon@movementarian.org>
10570
10571         * BufferView_pimpl.C:
10572         * lyx_cb.C:
10573         * lyxfunc.C: split filedialog into open/save
10574
10575 2002-11-08  Juergen Vigna  <jug@sad.it>
10576
10577         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10578         by my last patch (hopefully).
10579
10580 2002-11-08  John Levon  <levon@movementarian.org>
10581
10582         * iterators.h:
10583         * iterators.C:
10584         * buffer.h:
10585         * buffer.C:
10586         * paragraph.h:
10587         * paragraph.C:
10588         * toc.h:
10589         * toc.C: ParConstIterator, and use it (from Lars)
10590
10591 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10592
10593         * lyxtextclass.[Ch]: revise and add doxygen comments
10594
10595 2002-11-07  John Levon  <levon@movementarian.org>
10596
10597         * text.C: fix progress value for spellchecker
10598
10599         * toc.C: fix navigate menu for insetwrap inside minipage
10600
10601         * paragraph_funcs.C: added FIXME for suspect code
10602
10603 2002-11-07  John Levon  <levon@movementarian.org>
10604
10605         * BufferView_pimpl.C: fix redrawing of insets
10606           on buffer switch
10607
10608 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10609
10610         * text2.C (updateCounters): fix bug 668
10611
10612 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10613
10614         * text3.C (dispatch): Do not make the buffer dirty when moving the
10615         cursor.
10616
10617 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10618
10619         * vc-backend.C: STRCONV
10620         (scanMaster): ditto
10621
10622         * text2.C (setCounter): STRCONV
10623
10624         * paragraph.C (asString): STRCONV
10625
10626         * lyxlength.C (asString): STRCONV
10627         (asLatexString): ditto
10628
10629         * lyxgluelength.C (asString): STRCONV
10630         (asLatexString): ditto
10631
10632         * lyxfunc.C (dispatch): STRCONV
10633         (open): ditto
10634
10635         * lyxfont.C (stateText): STRCONV
10636
10637         * importer.C (Import): STRCONV
10638
10639         * counters.C (labelItem): STRCONV
10640         (numberLabel): ditto
10641         (numberLabel): remove unused ostringstream o
10642
10643         * chset.C: STRCONV
10644         (loadFile): ditto
10645
10646         * bufferview_funcs.C (currentState): STRCONV
10647
10648         * buffer.C (readFile): STRCONV
10649         (asciiParagraph): ditto
10650         (makeLaTeXFile): ditto
10651
10652         * Spacing.C (writeEnvirBegin): STRCONV
10653
10654         * LaTeXFeatures.C (getLanguages): STRCONV
10655         (getPackages): ditto
10656         (getMacros): ditto
10657         (getBabelOptions): ditto
10658         (getTClassPreamble): ditto
10659         (getLyXSGMLEntities): ditto
10660         (getIncludedFiles): ditto
10661
10662         * LaTeX.C: STRCONV
10663         (run): ditto
10664         (scanAuxFile): ditto
10665         (deplog): ditto
10666
10667         * LString.h: add the STRCONV macros
10668
10669         * BufferView_pimpl.C (savePosition): STRCONV
10670         (restorePosition): ditto
10671         (MenuInsertLyXFile): ditto
10672
10673         * vc-backend.C (scanMaster): change from submatch[...] to
10674         submatch.str(...)
10675
10676         * funcrequest.C: include config.h
10677
10678         * factory.C: include config.h
10679
10680         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10681
10682         * box.C: include config.h
10683
10684         * LaTeX.C (scanAuxFile): change from submatch[...] to
10685         submatch.str(...)
10686         (deplog): ditto
10687
10688 2002-10-25  Angus Leeming  <leeming@lyx.org>
10689
10690         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10691
10692         * ispell.[Ch] (setError): new method.
10693         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10694         Use setError() insetead of goto END.
10695
10696         * lyx_cb.C (AutoSave): move out child process into new class
10697         AutoSaveBuffer.
10698
10699 2002-10-30  John Levon  <levon@movementarian.org>
10700
10701         * text3.C: make start appendix undoable
10702
10703 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10704
10705         * lyxlength.C (inPixels): Fix returned value.
10706
10707         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10708         environment.
10709
10710 2002-10-24  Angus Leeming  <leeming@lyx.org>
10711
10712         * lyxgluelength.h: no need to forward declare BufferParams
10713         or BufferView, so don't.
10714
10715 2002-10-21  John Levon  <levon@movementarian.org>
10716
10717         * BufferView.C: menuUndo ->undo, redo
10718
10719         * BufferView.h: document, remove dead, make some methods private
10720
10721         * paragraph_funcs.h:
10722         * paragraph_funcs.C:
10723         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10724
10725         * buffer.h:
10726         * buffer.C:
10727         * sgml.h:
10728         * sgml.C: move sgml open/close tag into sgml.C
10729
10730         * bufferview_funcs.h: unused prototype
10731
10732         * lyxfunc.h:
10733         * lyxfunc.C: remove unused
10734
10735         * lyxtext.h:
10736         * text.C: remove unused
10737
10738 2002-10-21  John Levon  <levon@movementarian.org>
10739
10740         * BufferView.h:
10741         * BufferView.C:
10742         * BufferView_pimpl.h:
10743         * BufferView_pimpl.C: fix mouse wheel handling based on
10744           patch from Darren Freeman
10745
10746 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10747
10748         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10749
10750 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10751
10752         * lyxlength.C (inPixels): Fix hanfling of negative length.
10753         Fix LyXLength::MU case.
10754
10755 2002-10-16  John Levon  <levon@movementarian.org>
10756
10757         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10758
10759 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10760
10761         * converter.C (view): add support for $$i (file name) and $$p
10762         (file path) for the viewer command. If $$i is not specified, then
10763         it is appended to the command (for compatibility with old syntax)
10764
10765 2002-10-14  Juergen Vigna  <jug@sad.it>
10766
10767         * undo_funcs.C (textHandleUndo): alter the order in which the
10768         new undopar is added to the LyXText, as we have to set first
10769         the right prev/next and then add it as otherwise the rebuild of
10770         LyXText is not correct. Also reset the cursor to the right paragraph,
10771         with this IMO we could remove the hack in "redoParagraphs()".
10772
10773 2002-10-09  Angus Leeming  <leeming@lyx.org>
10774
10775         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10776         to turn off an optimisation if a new inset is to be inserted.
10777
10778 2002-10-11 André Pönitz <poenitz@gmx.net>
10779
10780         * lyxtext.h: make some functions public to allow access
10781         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10782
10783 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10784
10785         * text3.C (dispatch): when changing layout, avoid an infinite loop
10786         [bug #652]
10787
10788 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10789
10790         * lyxrc.C (read): treat a viewer or converter command of "none" as
10791         if it were empty.
10792
10793         * MenuBackend.C (expandFormats): for an update, also allow the
10794         formats that are not viewable
10795
10796         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10797         script if it is newer than the lyxrc.defaults in user directory
10798
10799 2002-10-07 André Pönitz <poenitz@gmx.net>
10800
10801         * text.C: Vitaly Lipatov's small i18n fix
10802
10803 2002-09-25  Angus Leeming  <leeming@lyx.org>
10804
10805         * ispell.h: doxygen fix.
10806
10807 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10808
10809         * buffer.h (readFile): Add a new argument to the method, to allow
10810         reading of old-format templates.
10811
10812 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10813
10814         * toc.C (getTocList): Get TOC from InsetWrap.
10815
10816 2002-09-16  John Levon  <levon@movementarian.org>
10817
10818         * lyxfunc.C: check tabular for cut/copy too
10819
10820 2002-09-12  John Levon  <levon@movementarian.org>
10821
10822         * LyXAction.C: tidy
10823
10824         * factory.h:
10825         * factory.C: add header
10826
10827         * paragraph_funcs.h:
10828         * paragraph_funcs.C: cleanup
10829
10830 2002-09-11  John Levon  <levon@movementarian.org>
10831
10832         * PrinterParams.h: odd/even default to true
10833
10834 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10835
10836         * PrinterParams.h: update printer parameters for new xforms dialog
10837
10838 2002-09-11  Angus Leeming  <leeming@lyx.org>
10839
10840         * lyxserver.C (read_ready): re-write to make it more transparent
10841         and to make it work in coherent fashion under Tru64 Unix.
10842
10843 2002-09-11  André Pönitz <poenitz@gmx.net>
10844
10845         * commandtags.h:
10846         * LyXAction.C:
10847         * text3.C: implement LFUN_WORDSEL
10848
10849 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10850
10851         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10852         make floatlist_ a boost::shared_ptr<FloatList>
10853
10854         * lyxtextclass.C: include FloatList.h
10855         (LyXTextClass): initialize floatlist_
10856         (TextClassTags): add TC_NOFLOAT
10857         (Read): match "nofloat" to TC_NOFLOAT and use it.
10858         (readFloat): modify call to floatlist_
10859         (floats): ditto
10860         (floats): ditto
10861
10862         * FloatList.[Ch] (FloatList): remove commented out float
10863         initialization.
10864         (erase): new function
10865
10866 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10867
10868         * MenuBackend.C (expandToc): fix crash when there is no document
10869         open
10870
10871 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10872
10873         * many files: Add insetwrap.
10874
10875 2002-09-09  John Levon  <levon@movementarian.org>
10876
10877         * text2.C: remove confusing and awkward depth wraparound
10878
10879 2002-09-09  John Levon  <levon@movementarian.org>
10880
10881         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10882
10883         * buffer.h:
10884         * buffer.C: remove getIncludeonlyList()
10885
10886         * paragraph.C:
10887         * lyxfunc.C: remove headers
10888
10889 2002-09-09  Juergen Vigna  <jug@sad.it>
10890
10891         * text.C (getColumnNearX): fix form Michael this is most
10892         probably a cut&paste bug.
10893
10894 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10895
10896         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10897
10898         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10899         references, ws changes.
10900
10901         * text2.C (init): update counters after init
10902         (insertParagraph): no need to set counter on idividual paragraphs.
10903         (setCounter): access the counters object in the textclass object
10904         on in the buffer object.
10905         (updateCounters): ditto
10906
10907         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10908         shared_ptr<Counters> to avoid loading counters.h in all
10909         compilation units.
10910         (LyXTextClass): initialize ctrs_
10911         (TextClassTags): add TC_COUNTER, and ...
10912         (Read): use it here.
10913         (CounterTags): new tags
10914         (readCounter): new function
10915         (counters): new funtion
10916         (defaultLayoutName): return a const reference
10917
10918         * counters.C (Counters): remove contructor
10919         (newCounter): remove a couple of unneeded statements.
10920         (newCounter): simplify a bit.
10921         (numberLabel): some small formatting changes.
10922
10923         * buffer.[Ch]: remove all traces of counters, move the Counters
10924         object to the LyXTextClass.
10925
10926 2002-09-06  Alain Castera  <castera@in2p3.fr>
10927
10928         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10929         package to set the horizontal alignment on fixed width columns.
10930
10931         * lyx_sty.C:
10932         * lyx_sty.h: added tabularnewline macro def.
10933
10934         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10935
10936 2002-09-06  John Levon  <levon@movementarian.org>
10937
10938         * LyXAction.C: tooltips for sub/superscript
10939
10940         * MenuBackend.C: a bit more verbose
10941
10942         * lyxfunc.C: tiny clean
10943
10944         * undo_funcs.C: document undo_frozen
10945
10946 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10947
10948         * counters.C (Counters): add missing algorithm counter.
10949
10950         * text2.C (setCounter): lookup the counter with layouts latexname
10951         instead of by section number.
10952         (setCounter): use a hackish way to lookup the correct enum
10953         counter.
10954         a float name->type change
10955         reset enum couners with counter name directly instead of depth value.
10956
10957         * counters.C (Counters): remove the push_backs, change to use the
10958         float type not the float name.
10959         (labelItem): remove unused string, float name->type change
10960
10961         * counters.h: don't include vector, loose the enums and sects vectors
10962
10963 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10964
10965         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10966         (Read): add float->TC_FLOAT to textclassTags
10967         (Read): and handle it in the switch
10968         (readFloat): new function
10969
10970         * FloatList.C (FloatList): comment out the hardcoded float
10971         definitions.
10972
10973         * lyxlayout.h: ws change.
10974
10975 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10976
10977         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10978
10979 2002-09-03  Angus Leeming  <leeming@lyx.org>
10980
10981         * BufferView_pimpl.h: qualified name is not allowed in member
10982         declaration: WorkArea & Pimpl::workarea() const;
10983
10984         * factory.C: added using std::endl directive.
10985
10986         * text3.C: added using std::find and std::vector directives.
10987
10988 2002-08-29  André Pönitz <poenitz@gmx.net>
10989
10990         * lyxtext.h:
10991         * text2.C: remove unused member number_of_rows
10992
10993         * Makefile.am:
10994         * BufferView2.C: remove file, move contents to...
10995         * BufferView.C: ... here
10996
10997         * BufferView_pimpl.C:
10998         * factory.C: move more inset creation to factory
10999
11000         * vspace.C: avoid direct usage of LyXText, ws changes
11001
11002         * BufferView.[Ch]:
11003                 don't provide direct access to WorkArea, use two simple
11004                 acessors haveSelction() and workHeight() instead
11005
11006
11007 2002-08-29  John Levon  <levon@movementarian.org>
11008
11009         * BufferView_pimpl.C (dispatch): do not continue when
11010           no buffer
11011
11012 2002-08-28  André Pönitz <poenitz@gmx.net>
11013
11014         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11015
11016         * BufferView.h:
11017         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11018
11019 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11020
11021         * buffer.C: increment LYX_FORMAT to 221
11022
11023         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11024         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11025
11026         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11027
11028         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11029
11030 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11031
11032         * factory.C (createInset): use LyXTextClass::floats
11033
11034         * MenuBackend.C (expandFloatListInsert):
11035         (expandFloatInsert):
11036         (expandToc):
11037
11038         * text2.C (setCounter):
11039
11040         * LaTeXFeatures.C (useFloat):
11041         (getFloatDefinitions):
11042
11043         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11044
11045         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11046         floatlist_, with accessor floats().
11047
11048         * FloatList.h: remove global FloatList
11049
11050 2002-08-26  André Pönitz <poenitz@gmx.net>
11051
11052         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11053
11054         * BufferView.h:
11055         * BufferView2.C:
11056         * BufferView_pimpl.C:
11057         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11058
11059 2002-08-25  John Levon  <levon@movementarian.org>
11060
11061         * LyXAction.C: fix margin note description
11062
11063 2002-08-24  John Levon  <levon@movementarian.org>
11064
11065         * buffer.C:
11066         * bufferlist.C:
11067         * bufferview_funcs.C:
11068         * lyxfont.C:
11069         * undo_funcs.C: cleanups
11070
11071         * lyxfunc.C: disable CUT/COPY when no selection
11072
11073 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11074
11075         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11076         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11077
11078         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11079         Add backward compatibility to "mono", "gray" and "no".
11080
11081 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11082
11083         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11084         (and file_format >= 200).
11085
11086 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11087
11088         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11089
11090 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11091
11092         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11093
11094 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11095
11096         * BufferView_pimpl.C:
11097         * LyXAction.C:
11098         * buffer.C:
11099         * commandtags.h:
11100         * lyxfunc.C:
11101         * paragraph.[Ch]:
11102         * text2.C:
11103         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11104         inset and code to make it  work with the paragraph code. The inset
11105         can be anywhere in the paragraph, but will only do the expected
11106         thing in LaTeX if the layout file contains the parameter line
11107                         OptionalArgs    1
11108         (or more generally, a nonzero value) for that layout.
11109
11110 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11111
11112         * paragraph.h: remove the declaration of undefined counters class
11113         function.
11114
11115 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11116
11117         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11118         Dr. Richard Hawkins.
11119
11120 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11121
11122         * paragraph_funcs.h: remove some unneeded includes
11123
11124         * text.C (backspace): pasteParagraph now in global scipe
11125
11126         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11127         (pasteSelection): ditto
11128
11129         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11130         * paragraph_funcs.C (pasteParagraph): ... here
11131
11132 2002-08-20  André Pönitz <poenitz@gmx.net>
11133
11134         * commandtags.h: new LFUNs for swapping/copying table row/colums
11135
11136         * LyXAction.C:
11137         * lyxfunc.C: support for new lfuns
11138
11139 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11140
11141         * tabular.C:
11142         * buffer.[Ch]: remove NO_COMPABILITY stuff
11143
11144 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11145
11146         * boost.C (throw_exception): new file, with helper function for
11147         boost compiled without exceptions.
11148
11149         * paragraph.h:
11150         * lyxlength.C:
11151         * buffer.C:
11152         * ParameterStruct.h:
11153         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11154
11155         * bufferlist.C (emergencyWriteAll): use boost bind
11156
11157         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11158
11159         * text.C: include paragraph_funcs.h
11160         (breakParagraph): breakParagraph is now in global scope
11161
11162         * paragraph_funcs.[Ch]: new files
11163
11164         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11165         global scope
11166
11167         * buffer.C: include paragraph_funcs.h
11168         (insertStringAsLines): breakParagraph is now in global scope
11169
11170         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11171         paragraph_funcs.C
11172
11173         * CutAndPaste.C: include paragraph_funcs.h
11174         (cutSelection): breakParagraphConservative is now in global scope
11175         (pasteSelection): ditto
11176
11177         * buffer.h: declare oprator== and operator!= for
11178         Buffer::inset_iterator
11179
11180         * bufferlist.C (emergencyWrite): don't use fmt(...)
11181
11182         * text3.C: add using std::endl
11183
11184         * BufferView.C (moveCursorUpdate): remove default arg
11185
11186 2002-08-20  André Pönitz <poenitz@gmx.net>
11187
11188         * buffer.[Ch]: move inline functions to .C
11189
11190         * BufferView2.C:
11191         * BufferView_pimpl.C:
11192         * text.C:
11193         * buffer.[Ch]: use improved inset_iterator
11194
11195         * buffer.C:
11196         * paragraph.[Ch]: write one paragraph at a time
11197
11198 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11199
11200         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11201         style if style is not specified.
11202
11203 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11204
11205         * text2.C (setCounter): when searching for right label for a
11206         caption, make sure to recurse to parent insets (so that a caption
11207         in a minipage in a figure float works) (bug #568)
11208
11209 2002-08-20  André Pönitz <poenitz@gmx.net>
11210
11211         * text3.C: new file for LyXText::dispatch() and helpers
11212
11213         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11214
11215         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11216
11217 2002-08-19  André Pönitz <poenitz@gmx.net>
11218
11219         * lyxtext.h:
11220         * text.C: new LyXText::dispatch()
11221
11222         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11223
11224 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11225
11226         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11227
11228         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11229         Hebrew text.
11230
11231 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11232
11233         * Makefile.am: use $(variables) instead of @substitutions@
11234
11235 2002-08-15  André Pönitz <poenitz@gmx.net>
11236
11237         * lyxfunc.C:
11238         * BufferView_pimpl.C: streamlining mathed <-> outer world
11239         interaction
11240
11241         * commandtags.h:
11242         * LyXAction.C: remove unused LFUN_MATH
11243
11244 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11245
11246         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11247
11248 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11249
11250         * paragraph.C (Paragraph): reformat a bit
11251         (cutIntoMinibuffer): use builtin InsetList function instad of
11252         doing it manually.
11253         (getInset): ditto
11254
11255         * buffer.C: include boost/bind.hpp, add using std::for_each
11256         (writeFileAscii): use ParagraphList iterators
11257         (validate): use for_each for validate traversal of paragraphs
11258         (getBibkeyList): use ParagraphList iterators
11259         (resizeInsets): use for_each to resizeInsetsLyXText for all
11260         paragraphs.
11261         (getParFromID): use ParagraphList iterators
11262
11263         * BufferView2.C (lockInset): use paragraph list and iterators
11264
11265 2002-08-14  John Levon  <levon@movementarian.org>
11266
11267         * lyxserver.C: remove spurious xforms include
11268
11269 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11270
11271         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11272
11273 2002-08-13  André Pönitz <poenitz@gmx.net>
11274
11275         * LyXAction.[Ch]:
11276         * lyxfunc.C: further cleaning
11277
11278 2002-08-13  André Pönitz <poenitz@gmx.net>
11279
11280         * funcrequest.h: new constructor
11281
11282         * funcrequest.C: move stuff here from .h
11283
11284         * Makefile.am:
11285         * BufferView_pimpl.C:
11286         * LyXAction.C:
11287         * toc.C:
11288         * lyxfunc.C: subsequent changes
11289
11290         * lyxfunc.h: new view() member function
11291
11292         * lyxfunc.C: subsequent changes
11293
11294 2002-08-13  Angus Leeming  <leeming@lyx.org>
11295
11296         * BufferView2.C:
11297         * BufferView_pimpl.C:
11298         * buffer.C:
11299         * converter.C:
11300         * importer.C:
11301         * lyxfunc.C:
11302         * lyxvc.C:
11303         * toc.C:
11304         * vc-backend.C:
11305         changes due to the changed LyXView interface that now returns references
11306         to member variables not pointers.
11307
11308 2002-08-13  Angus Leeming  <leeming@lyx.org>
11309
11310         * WordLangTuple (word, lang_code): return references to strings,
11311         not strings.
11312
11313         * BufferView.h:
11314         * SpellBase.h:
11315         * lyxtext.h: forward-declare WordLangTuple.
11316
11317         * BufferView2.C:
11318         * ispell.C:
11319         * pspell.C:
11320         * text.C: #include "WordLangTuple.h".
11321
11322         * lyxtext.h:
11323         * text.C: (selectNextWordToSpellcheck): constify return type.
11324
11325 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11326
11327         * buffer.C:
11328         * buffer.h:
11329         * lyxtext.h:
11330         * paragraph.C:
11331         * paragraph_pimpl.h:
11332         * text.C:
11333         * text2.C:
11334         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11335         suggested by Angus.
11336         Made updateCounter always count from start of buffer, and removed
11337         second argument (par).
11338         Reverted floats number display to '#'. Perhaps I'll try again when the
11339         code base is sanitized a bit.
11340
11341 2002-08-12  Angus Leeming  <leeming@lyx.org>
11342
11343         * buffer.[Ch] (getLabelList): constify.
11344
11345 2002-08-07  André Pönitz <poenitz@gmx.net>
11346
11347         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11348
11349         * funcrequest.h: extension to keep mouse (x,y) position
11350
11351 2002-08-12  Juergen Vigna  <jug@sad.it>
11352
11353         * BufferView2.C (insertErrors): forbid undo when inserting error
11354         insets.
11355
11356         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11357
11358 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11359
11360         * ParagraphList.[Ch]: new files
11361
11362         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11363
11364         * BufferView2.C (lockInset): ParagraphList changes
11365         * toc.C: ditto
11366         * text2.C: ditto
11367         * bufferlist.C: ditto
11368         * buffer.h: ditto
11369         * buffer.C: ditto
11370
11371 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11372
11373         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11374         unused class variable counter_,
11375
11376         * paragraph.[Ch] (getFirstCounter): delete unused function
11377
11378         * counters.C: include LAssert.h
11379         (reset): add a new function with no arg, change other version to
11380         not have def. arg and to not allow empty arg.
11381
11382         * text2.C (setCounter): remove empty arg from call to Counters::reset
11383
11384 2002-08-11  John Levon  <levon@movementarian.org>
11385
11386         * Makefile.am: add WordLangTuple.h
11387
11388 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11389
11390         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11391         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11392
11393         * insets/insettext.C: InsetList changes
11394
11395         * graphics/GraphicsSupport.C (operator()): InsetList changes
11396
11397         * toc.C (getTocList): InsetList changes
11398
11399         * paragraph_pimpl.[Ch]: InsetList changes
11400
11401         * paragraph.[Ch]: InsetList changes
11402
11403         * buffer.C (inset_iterator): InsetList changes
11404         (setParagraph): ditto
11405         * buffer.h (inset_iterator): ditto
11406         * iterators.C (operator++): ditto
11407         * iterators.h: ditto
11408
11409         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11410
11411         * InsetList.[Ch]: new files, most InsetList handling moved out of
11412         paragraph.C.
11413
11414         * BufferView2.C (removeAutoInsets): InsetList changes
11415         (lockInset): ditto
11416         (ChangeInsets): ditto
11417
11418 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11419
11420         * paragraph_pimpl.h (empty): new function
11421
11422         * paragraph.[Ch] (empty): new function
11423
11424         * other files: use the new Paragraph::empty function
11425
11426 2002-08-09  John Levon  <levon@movementarian.org>
11427
11428         * lyxtext.h: remove unused refresh_height
11429
11430 2002-08-09  John Levon  <levon@movementarian.org>
11431
11432         * Makefile.am:
11433         * sgml.h:
11434         * sgml.C:
11435         * buffer.C:
11436         * paragraph.h:
11437         * paragraph.C: move sgml char escaping out of paragraph
11438
11439         * paragraph.h:
11440         * paragraph.C: remove id setter
11441
11442         * buffer.C:
11443         * paragraph.C:
11444         * paragraph_pimpl.C: remove dead tex_code_break_column
11445
11446         * bufferview_funcs.C: small cleanup
11447
11448         * lyxfunc.C: remove dead proto
11449
11450         * lyxtext.h: make some stuff private. Remove some dead stuff.
11451
11452         * lyxgluelength.C: make as[LyX]String() readable
11453
11454 2002-08-08  John Levon  <levon@movementarian.org>
11455
11456         * LyXAction.h:
11457         * LyXAction.C:
11458         * MenuBackend.C:
11459         * ToolbarDefaults.C:
11460         * lyxfunc.C:
11461         * lyxrc.C:
11462         * toc.C: lyxaction cleanup
11463
11464 2002-08-08  John Levon  <levon@movementarian.org>
11465
11466         * BufferView2.C: small cleanup
11467
11468         * lyxfind.h:
11469         * lyxfind.C: move unnecessary header into the .C
11470
11471 2002-08-08  John Levon  <levon@movementarian.org>
11472
11473         * funcrequest.h: just tedious nonsense
11474
11475         * lyx_main.h:
11476         * lyx_main.C: cleanups
11477
11478         * buffer.C:
11479         * vspace.C: remove dead header lyx_main.h
11480
11481 2002-08-07  Angus Leeming  <leeming@lyx.org>
11482
11483         * Paragraph.[Ch]:
11484         * paragraph_pimpl.h:
11485         Forward declare class Counters in paragraph.h by moving the ctrs member
11486         variable into Paragraph::Pimpl.
11487         (counters): new method, returning a reference to pimpl_->ctrs.
11488
11489         * text2.C: ensuing changes.
11490
11491 2002-08-07  John Levon  <levon@movementarian.org>
11492
11493         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11494
11495         * BufferView_pimpl.C: announce X selection on double/triple
11496           click
11497
11498         * lyx_main.C: use correct bool in batch dispatch
11499
11500         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11501
11502 2002-08-07  André Pönitz <poenitz@gmx.net>
11503
11504         * funcrequest.h: new class to wrap a kb_action and its argument
11505
11506         * BufferView.[Ch]:
11507         * BufferView_pimpl[Ch]:
11508         * LaTeX.C:
11509         * LyXAction.[Ch]:
11510         * lyxfunc.[Ch]:
11511         * lyxrc.C: subsequent changes
11512
11513
11514 2002-08-07  John Levon  <levon@movementarian.org>
11515
11516         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11517           document options change.
11518
11519 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11520
11521         * counters.[Ch]
11522         * text2.C
11523         * paragraph.[Ch]
11524         * makefile.am: move counters functionality over from
11525         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11526
11527 2002-08-06  John Levon  <levon@movementarian.org>
11528
11529         * WordLangTuple.h: new file for word + language code tuple
11530
11531         * SpellBase.h:
11532         * pspell.h:
11533         * pspell.C:
11534         * ispell.h:
11535         * ispell.C:
11536         * lyxtext.h:
11537         * text.C:
11538         * text2.C:
11539         * BufferView.h:
11540         * BufferView2.C: use WordLangTuple
11541
11542         * layout.h:
11543         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11544
11545 2002-08-06  John Levon  <levon@movementarian.org>
11546
11547         * lyx_main.C: fix cmdline batch handling
11548
11549 2002-08-06  André Pönitz <poenitz@gmx.net>
11550
11551         * lyxrc.C: set default for show_banner to true
11552
11553 2002-08-06  John Levon  <levon@movementarian.org>
11554
11555         * pspell.C: fix a crash, and allow new aspell to work
11556
11557 2002-08-06  John Levon  <levon@movementarian.org>
11558
11559         * lyxfunc.C:
11560         * kbmap.C: small cleanup
11561
11562         * vspace.h:
11563         * vspace.C: add const
11564
11565 2002-08-05  John Levon  <levon@movementarian.org>
11566
11567         * LyXAction.C: back to tabular-insert
11568
11569 2002-08-04  John Levon  <levon@movementarian.org>
11570
11571         * BufferView.h:
11572         * BufferView.C: cosmetic change
11573
11574         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11575
11576         * bufferlist.C:
11577         * buffer.h:
11578         * buffer.C:
11579         * lyxcb.h:
11580         * lyxcb.C:
11581         * lyxserver.C:
11582         * lyxvc.C:
11583         * vc-backend.C:
11584         * BufferView2.C: purge all "Lyx" not "LyX" strings
11585
11586         * lyxcursor.h:
11587         * lyxcursor.C: attempt to add some documentation
11588
11589         * lyxfunc.C:
11590         * commandtags.h:
11591         * LyXAction.C:
11592         * ToolbarDefaults.C:
11593         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11594           merge with LFUN_TABULAR_INSERT
11595
11596         * Makefile.am:
11597         * SpellBase.h:
11598         * ispell.h:
11599         * ispell.C:
11600         * pspell.h:
11601         * pspell.C: split up i/pspell implementations into separate
11602           files, many cleanups
11603
11604         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11605
11606         * text2.C: some cleanup
11607
11608         * lyxfunc.C: don't check for isp_command == "none" any more, it
11609           didn't make any sense
11610
11611 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11612
11613         * counters.[Ch]
11614         * text2.C
11615         * paragraph.[Ch]
11616         * makefile.am: move counters functionality over
11617         from text2.C/paragraph.[Ch] to counters.[Ch], and
11618         make proper C++.
11619 2002-08-02  John Levon  <levon@movementarian.org>
11620
11621         * buffer.C: s/lyxconvert/lyx2lyx/
11622
11623 2002-08-02  Angus Leeming  <leeming@lyx.org>
11624
11625         * lyxlex.C: revert John's change as it breaks reading of the user
11626         preamble.
11627
11628 2002-08-02  Angus Leeming  <leeming@lyx.org>
11629
11630         * importer.C (Import):
11631         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11632         changes due to LyXView::view() now returning a boost::shared_ptr.
11633
11634 2002-08-02  John Levon  <levon@movementarian.org>
11635
11636         * lyxlex.C: small cleanup
11637
11638 2002-08-02  John Levon  <levon@movementarian.org>
11639
11640         * text2.C (status): small cleanup, no logic change
11641
11642 2002-08-01  John Levon  <levon@movementarian.org>
11643
11644         * buffer.h:
11645         * buffer.C (writeFile): don't output alerts, caller
11646           handles this
11647
11648         * bufferlist.C:
11649         * lyx_cb.C: from above
11650
11651         * lyxfunc.C: allow to open non-existent files
11652
11653 2002-07-31  John Levon  <levon@movementarian.org>
11654
11655         * lyxserver.C: don't let incidental errors get
11656           in the way (errno)
11657
11658 2002-07-30  John Levon  <levon@movementarian.org>
11659
11660         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11661
11662 2002-07-30  John Levon  <levon@movementarian.org>
11663
11664         * lyxserver.h:
11665         * lyxserver.C: remove I/O callback too
11666
11667 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11668
11669         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11670         log.
11671
11672 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11673
11674         * many files: strip,frontStrip -> trim,ltrim,rtrim
11675
11676 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11677
11678         * PrinterParams.h: remove extern containsOnly, and include
11679         support/lstrings.h instead.
11680
11681         * LaTeX.C (scanAuxFile): modify because of strip changes
11682         (deplog): ditto
11683         * buffer.C (makeLaTeXFile): ditto
11684         * bufferparams.C (writeFile): ditt
11685         * lyxfont.C (stateText): ditto
11686         * lyxserver.C (read_ready): ditto
11687         * vc-backend.C (scanMaster): ditto
11688
11689         * BufferView_pimpl.h: ws changes
11690
11691         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11692
11693 2002-07-26  André Pönitz <poenitz@gmx.net>
11694
11695         * kb_sequence.C: remove unnedred usings
11696
11697 2002-07-26  Juergen Vigna  <jug@sad.it>
11698
11699         * lyxfind.C (LyXReplace): we have to check better if the returned
11700         text is not of theLockingInset()->getLockingInset().
11701
11702 2002-07-25  Juergen Vigna  <jug@sad.it>
11703
11704         * lyxfind.C (LyXReplace): don't replace if we don't get the
11705         right LyXText.
11706
11707         * undo_funcs.C (createUndo): remove debugging code.
11708
11709 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11710
11711         * buffer.C (parseSingleLyXformat2Token): Use default placement
11712         when reading old floats.
11713
11714         * FloatList.C (FloatList): Change the default placement of figure
11715         and tables to "tbp".
11716
11717 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11718
11719         * MenuBackend.C: using std::max
11720
11721 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11722
11723         * MenuBackend.C (expandToc):
11724         (expandToc2): code moved from xforms menu frontend. It is now
11725         generic and TOCs are transparent to menu frontends.
11726
11727 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11728
11729         * toc.C (getTocList): protect against buf=0
11730
11731         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11732         Menu as first parameter. Now, this calls itself recursively to
11733         expand a whole tree (this will be useful for TOC handling)
11734         (expandFloatInsert): remove 'wide' version of floats
11735
11736         * MenuBackend.h (submenuname): returns the name of the submenu.
11737         (submenu): returns the submenu itself, provided it has been
11738         created by MenuBackend::expand
11739
11740 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11741
11742         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11743         insets which have noFontChange == true. (bug #172)
11744
11745 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11746
11747         * BufferView_pimpl.C: add connection objects and use them...
11748         (Pimpl): here.
11749
11750 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11751
11752         * MenuBackend.C (expandLastfiles):
11753         (expandDocuments):
11754         (expandFormats):
11755         (expandFloatListInsert):
11756         (expandFloatInsert):
11757         (expand): split expand in parts
11758
11759 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * lyx_gui.C: use lyx_gui::exit()
11762
11763 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11764
11765         * LyXAction.C: show the failing pseudo action
11766
11767 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11768
11769         * buffer.C (readFile): Run the lyxconvert script in order to read
11770         old files.
11771
11772 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11773
11774         * LyXAction.C:
11775         * commandtags.h:
11776         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11777
11778 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11779
11780         * LyXAction.C:
11781         * commandtags.h:
11782         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11783
11784 2002-07-22  Herbert Voss  <voss@lyx.org>
11785
11786         * lengthcommon.C:
11787         * lyxlength.[Ch]: add support for the vertical lengths
11788
11789 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11790
11791         * toc.[Ch]: std:: fixes
11792
11793 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11794
11795         * lyxrc.C: do not include lyx_main.h
11796
11797         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11798         for layouts
11799
11800         * lyxrc.C:
11801         * encoding.C:
11802         * bufferlist.C:
11803         * BufferView2.C: include "lyxlex.h"
11804
11805         * tabular.h:
11806         * bufferparams.h: do not #include "lyxlex.h"
11807
11808         * lyxtextclasslist.C (Add): remove method
11809         (classlist): renamed to classlist_
11810
11811         * paragraph_pimpl.C:
11812         * paragraph.C:
11813         * text2.C:
11814         * CutAndPaste.C:
11815         * bufferview_funcs.C:
11816         * bufferlist.C:
11817         * text.C:
11818         * LaTeXFeatures.C:
11819         * buffer.C:
11820         * toc.C (getTocList): use BufferParams::getLyXTextClass
11821
11822         * toc.C (getTocList): use InsetFloat::addToToc
11823
11824         * toc.[Ch]: new files, containing helper functions to handle table
11825         of contents
11826
11827         * lyxfunc.C (dispatch): no need to remove spaces around command
11828         given as a string
11829         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11830         first command of the sequence; it is not very clever, but I do not
11831         have a better idea, actually
11832
11833         * LyXAction.C (LookupFunc): make sure to remove space at the
11834         beginning and end of the command
11835
11836 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11837
11838         * MenuBackend.C (getMenubar): new method: return the menubar of
11839         this menu set
11840         (read): treat differently reading of menu and menubar (in
11841         particular, the menubar has no name now)
11842         (Menu::menubar): remove
11843
11844         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11845         saving is finished
11846
11847 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11848
11849         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11850         a bibitem inset in a RTL paragraph.
11851
11852 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11853
11854         * paragraph_pimpl.C: constify
11855
11856         * BufferView_pimpl.C:
11857         * LaTeX.C:
11858         * lyxfunc.C: fix dispatch in a nicer way
11859
11860 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11861
11862         * lyxfunc.C (dispatch):
11863         * BufferView_pimpl.C:
11864         * BufferView_pimpl.h:
11865         * BufferView.C:
11866         * BufferView.h: rename Dispatch() to dispatch()
11867
11868         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11869
11870         * lyxlayout.C (Read): honor DependsOn tag
11871
11872         * lyxlayout.[Ch] (depends_on): new method
11873
11874         * version.C.in: update lyx_docversion
11875
11876         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11877
11878         * paragraph.C (validate): remove from here...
11879         * paragraph_pimpl.C (validate): ... and move here
11880         (isTextAt): make it const
11881
11882         * buffer.C (getLists): ws cleanup
11883
11884 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11885
11886         * language.C (read): Use iso8859-1 encoding in latex_lang
11887         (this prevents LyX from crashing when using iso10646-1 encoding).
11888
11889 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11890
11891         * text2.C (toggleInset): if cursor is inside an inset, close the
11892         inset and leave cursor _after_ it
11893
11894 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11895
11896         * lyxfunc.C: move minibuffer completion handling out of here
11897
11898 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * BufferView_pimpl.C:
11901         * LaTeX.C: fix dispatch calls
11902
11903 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11904
11905         * text.C (drawChars): Fix Arabic text rendering.
11906
11907 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11908
11909         * LyXAction.C:
11910         * commandtags.h:
11911         * lyxfunc.C: remove message-push/pop
11912
11913         * lyxserver.C:
11914         * lyxfunc.h:
11915         * lyxfunc.C: rationalise some code by removing verboseDispatch
11916           in favour of a bool argument to dispatch()
11917
11918 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11919
11920         * lyx_main.C (init): make sure to read symlinks as absolute paths
11921
11922 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11923
11924         * lyxfunc.h:
11925         * lyxfunc.C: no need for commandshortcut to be a member
11926
11927 2002-07-15  André Pönitz <poenitz@gmx.net>
11928
11929         * converter.C: add support for $$s (scripts from lib/scripts dir)
11930         * lyx_main.C: white space
11931
11932 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * bufferlist.C:
11935         * lyxrc.h:
11936         * lyxrc.C: remove second exit confirmation
11937
11938 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11939
11940         * BufferView.h:
11941         * BufferView.C:
11942         * BufferView2.C:
11943         * BufferView_pimpl.h:
11944         * BufferView_pimpl.C:
11945         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11946
11947 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11948
11949         * MenuBackend.C (expand): add numeric shortcuts to document menu
11950
11951         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11952
11953 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11954
11955         * lyxfont.C (setLyXFamily):
11956         (setLyXSeries):
11957         (setLyXShape):
11958         (setLyXSize):
11959         (setLyXMisc):
11960         (lyxRead):
11961         * debug.C (value):
11962         * buffer.C (asciiParagraph): use ascii_lowercase
11963
11964 2002-07-15  Mike Fabian  <mfabian@suse.de>
11965
11966         * lyxlex_pimpl.C (search_kw):
11967         * lyxlex.C (getLongString):
11968         * converter.h (operator<):
11969         * converter.C (operator<):
11970         * buffer.C (parseSingleLyXformat2Token):
11971         (asciiParagraph):
11972         * ToolbarDefaults.C (read):
11973         * MenuBackend.C (checkShortcuts):
11974         (read):
11975         * LColor.C (getFromGUIName):
11976         (getFromLyXName): use the compare_ascii_no_case instead of
11977         compare_no_case, because in turkish, 'i' is not the lowercase
11978         version of 'I', and thus turkish locale breaks parsing of tags.
11979
11980 2002-07-16  Angus Leeming  <leeming@lyx.org>
11981
11982         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11983         now takes a Buffer const & argument.
11984
11985 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11986
11987         * BufferView.C (resize): check there's a buffer to resize
11988
11989 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * lyxfunc.C: remove dead code
11992
11993         * lyxserver.h:
11994         * lyxserver.C: use lyx_guii::set_read_callback
11995
11996 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11997
11998         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11999         an inset in a RTL paragraph.
12000
12001 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12002
12003         * lyxfunc.C: repaint after a font size update
12004
12005 2002-07-15  André Pönitz <poenitz@gmx.net>
12006
12007         * lyxlength.C: inBP should be able to return negative values
12008
12009 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12010
12011         * lyxfunc.C: use lyx_gui::update_fonts()
12012
12013 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * lyxfunc.C: use lyx_gui::update_color()
12016
12017 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * bufferlist.C:
12020         * lyxfunc.h:
12021         * lyxfunc.C:
12022         * lyxrc.h:
12023         * lyxrc.C: remove file->new asks for name option, and let
12024           buffer-new take an argument
12025
12026 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * BufferView_pimpl.C: remove unneeded extra repaint()
12029
12030 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * LyXAction.C: allow command-sequence with NoBuffer
12033
12034         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12035
12036 2002-07-10  Angus Leeming  <leeming@lyx.org>
12037
12038         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12039
12040 2002-07-09  Angus Leeming  <leeming@lyx.org>
12041
12042         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12043
12044 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12045
12046         * lengthcommon.h: whitespace
12047
12048         * lyxfunc.C: update scrollbar after goto paragraph
12049
12050         * lyxtext.h: factor out page break drawing, and fix it so
12051           page break/added space paints as selected nicely
12052
12053 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12054
12055         * BufferView_pimpl.C: add FIXMEs, clean up a little
12056
12057 2002-07-09  André Pönitz <poenitz@gmx.net>
12058
12059         * lyxfont.[Ch]: support for wasy symbols
12060
12061 2002-07-08  André Pönitz <poenitz@gmx.net>
12062
12063         * BufferView_pimpl.C: apply John's patch for #93.
12064
12065 2002-07-05  Angus Leeming  <leeming@lyx.org>
12066
12067         * BufferView_pimpl.C (buffer): generate previews if desired.
12068
12069         * LColor.h: add "preview" to the color enum.
12070
12071         * LColor.C (LColor): add a corresponding entry to the items array.
12072
12073         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12074         with this buffer.
12075
12076 2002-07-05  Angus Leeming  <leeming@lyx.org>
12077
12078         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12079         The body of the code is now in the method that is passed an ostream &
12080         rather than a file name.
12081         Pass an additional only_preamble parameter, useful for the forthcoming
12082         preview stuff.
12083
12084 2002-07-03  André Pönitz <poenitz@gmx.net>
12085
12086         * lyxfunc.C: simplify getStatus() a bit for math stuff
12087
12088 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12089
12090         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12091
12092 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12093
12094         * text.C (changeRegionCase): do not change case of all the
12095         document when region ends at paragraph end (bug #461)
12096
12097 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12098
12099         * paragraph.C (startTeXParParams):
12100         (endTeXParParams): add \protect when necessary
12101
12102 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12103
12104         * BufferView_pimpl.C (workAreaExpose): remove warning
12105
12106 2002-06-27  Angus Leeming  <leeming@lyx.org>
12107
12108         * Makefile.am: add lyxlayout_ptr_fwd.h.
12109
12110 2002-06-26  André Pönitz <poenitz@gmx.net>
12111
12112         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12113
12114 2002-06-25  Angus Leeming  <leeming@lyx.org>
12115
12116         * lyxfunc.C (dispatch): Comment out the call to
12117         grfx::GCache::changeDisplay. The method no longer exists now that the
12118         pixmap generation part of the graphics loader has been moved into
12119         InsetGraphics.
12120
12121 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12122
12123         * text2.C: layout as layout
12124
12125         * text.C: layout as layout
12126
12127         * tabular.C (OldFormatRead): layout as layout
12128
12129         * paragraph_pimpl.C (TeXDeeper): layout as layout
12130         (realizeFont): layout as layout
12131
12132         * paragraph.C (writeFile): layout as layout
12133         (validate): layout as layout
12134         (getFont): layout as layout
12135         (getLabelFont): layout as layout
12136         (getLayoutFont): layout as layout
12137         (breakParagraph): layout as layout
12138         (stripLeadingSpaces): layout as layout
12139         (getEndLabel): layout as layout
12140         (getMaxDepthAfter): layout as layout
12141         (applyLayout): layout as layout
12142         (TeXOnePar): layout as layout
12143         (simpleTeXOnePar): layout as layout
12144         (TeXEnvironment): layout as layout
12145         (layout): layout as layout
12146         (layout): layout as layout
12147
12148         * lyxtextclass.C (compare_name): new functor to work with
12149         shared_ptr, layout as layout
12150         (Read): layout as layout
12151         (hasLayout): layout as layout
12152         (operator): layout as layout
12153         (delete_layout): layout as layout
12154         (defaultLayout): layout as layout
12155
12156         * lyxlayout_ptr_fwd.h: new file
12157
12158         * lyxlayout.C (Read): layout as layout
12159
12160         * lyx_cb.C (MenuInsertLabel): layout as layout
12161
12162         * bufferlist.C (newFile): layout as layout
12163
12164         * buffer.C (readLyXformat2): layout as layout
12165         (parseSingleLyXformat2Token): layout as layout
12166         (insertStringAsLines): layout as layout
12167         (asciiParagraph): layout as layout
12168         (latexParagraphs): layout as layout
12169         (makeLinuxDocFile): layout as layout
12170         (simpleLinuxDocOnePar): layout as layout
12171         (makeDocBookFile): layout as layout
12172         (simpleDocBookOnePar): layout as layout
12173         (getLists): layout as layout
12174
12175         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12176
12177         * CutAndPaste.C (cutSelection): layout as layout
12178         (pasteSelection): layout as layout
12179         (SwitchLayoutsBetweenClasses): layout as layout
12180
12181         * BufferView_pimpl.C (Dispatch): layout as layout
12182         (smartQuote): layout as layout
12183
12184         * BufferView2.C (unlockInset): layout as layout
12185
12186 2002-06-24  André Pönitz <poenitz@gmx.net>
12187
12188         * lyxfunc.C: fix #487
12189
12190 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12191
12192         * lyxrc.h:
12193         * lyxrc.C:
12194         * lyxfunc.C: remove display_shortcuts, show_banner
12195
12196 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12197
12198         * Buffer_pimpl.C: oops, update on resize
12199
12200 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12201
12202         * buffer.C:
12203         * converter.C:
12204         * exporter.C:
12205         * lyxfunc.C:
12206         * BufferView.h:
12207         * BufferView.C: use repaint()
12208
12209         * BufferView_pimpl.h:
12210         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12211           as it's a clearer description. Remove superfluous
12212           redraws.
12213
12214 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12215
12216         * text.C: fix bug 488. Not ideal, but getting
12217           getWord() to work properly for the insets that
12218           matter is more difficult ...
12219
12220 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12221
12222         * BufferView_pimpl.C:
12223         * LyXAction.C:
12224         * commandtags.h:
12225         * lyxfunc.C: remove the six million index lyxfuncs to just
12226           one, and DTRT (bug 458)
12227
12228 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12229
12230         * BufferView.h:
12231         * BufferView.C:
12232         * BufferView_pimpl.h:
12233         * BufferView_pimpl.C: clean up resize() stuff,
12234           and unnecessary updateScreen()s
12235
12236 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12237
12238         * BufferView.h:
12239         * BufferView.C:
12240         * BufferView_pimpl.h:
12241         * BufferView_pimpl.C:
12242         * lyxfind.h:
12243         * lyxfind.C:
12244         * minibuffer.C: remove focus management of workarea,
12245           not needed. Use screen's greyOut()
12246
12247 2002-06-17  Herbert Voss  <voss@lyx.org>
12248
12249         * converter.C: (convert) do not post a message, when converting
12250         fails, let the calling function decide what to do in this case
12251
12252 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12253
12254         * lyxfunc.C: tidy up a little
12255
12256 2002-06-16    <alstrup@diku.dk>
12257
12258         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12259         Got rid of FORMS_H_LOCATION include. Now we are
12260         GUII.
12261
12262 2002-06-15  LyX Development team  <lyx@rilke>
12263
12264         * buffer.[Ch] (sgmlOpenTag):
12265         (sgmlCloseTag): Added support for avoiding pernicious mixed
12266         content. Return number of lines written.
12267
12268         (makeLinuxDocFile):
12269         (makeDocBookFile): Fixed calls to sgml*Tag.
12270         Simple white space clean.
12271
12272         (simpleDocBookOnePar): Simple white space clean.
12273
12274         * tabular.[Ch] (docBook): Renamed to docbook and got another
12275         argument to related with the pernicious mixed content.
12276
12277         (docbookRow): Fixed calls for docbook inset method.
12278
12279 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12280
12281         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12282         so it's X11 independent.
12283
12284         * kb*.[Ch]: ditto.
12285
12286         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12287
12288 2002-06-15  Lyx Development team  <lyx@electronia>
12289
12290         * intl.h: Renamed getTrans to getTransManager.
12291
12292 2002-06-14  Angus Leeming  <leeming@lyx.org>
12293
12294         * Makefile.am: nuke forgotten stl_string_fwd.h.
12295
12296 2002-06-12  Angus Leeming  <leeming@lyx.org>
12297
12298         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12299
12300 2002-06-13  Angus Leeming  <leeming@lyx.org>
12301
12302         * LaTeX.C:
12303         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12304
12305 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12306
12307         * kbmap.C (getiso): add support for cyrillic and greek
12308
12309 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * BufferView.h:
12312         * BufferView.C:
12313         * BufferView_pimpl.h:
12314         * BufferView_pimpl.C: move bogus scrolling logic
12315           to xforms
12316
12317 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12318
12319         * lyxfunc.C:
12320         * BufferView_pimpl.C: view->resize() change
12321
12322 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12323
12324         * BufferView_pimpl.C: topCursorVisible
12325           prototype change
12326
12327 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12328
12329         * Makefile.am:
12330         * lyx_gui.h:
12331         * lyx_gui.C: move to frontends/
12332
12333         * main.C:
12334         * lyx_main.h:
12335         * lyx_main.C: changes from above
12336
12337 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12338
12339         * intl.C:
12340         * intl.h:
12341         * kbmap.C:
12342         * kbsequence.C:
12343         * lyx_cb.C:
12344         * lyx_main.C: minor tidy
12345
12346 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12347
12348         * BufferView_pimpl.h:
12349         * BufferView_pimpl.C:
12350         * BufferView.h:
12351         * BufferView.C: make painter() const,
12352           remove dead code
12353
12354         * BufferView2.C: use screen() accessor
12355
12356         * lyx_main.h:
12357         * lyx_main.C: some minor cleanup
12358
12359 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12360
12361         * BufferView_pimpl.h:
12362         * BufferView_pimpl.C: remove enter/leaveView,
12363           use workHeight()
12364
12365 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * BufferView.h:
12368         * BufferView.C:
12369         * BufferView2.C:
12370         * BufferView_pimpl.h:
12371         * BufferView_pimpl.C: only construct screen once,
12372           rename
12373
12374         * lyxrc.C: remove pointless comment
12375
12376 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12377
12378         * BufferView.h:
12379         * BufferView.C: remove active() and belowMouse()
12380
12381         * BufferView_pimpl.h:
12382         * BufferView_pimpl.C: use workarea() not workarea_,
12383           and make it use a scoped_ptr instead
12384
12385 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12386
12387         * lyx_gui.C: add debug message on BadWindow
12388
12389 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12390
12391         * sp_spell.C: fdopen is not part of the C++ standard.
12392
12393         * paragraph.C (InsetIterator): use >= instead of ==
12394
12395 2002-06-07  Angus Leeming  <leeming@lyx.org>
12396
12397         Fixes needed to compile with Compaq cxx 6.5.
12398         * BufferView_pimpl.C:
12399         * DepTable.C:
12400         * buffer.C:
12401         * converter.C:
12402         * encoding.C:
12403         * lyx_gui.C:
12404         * lyx_main.C:
12405         * lyxtextclasslist.C:
12406         * minibuffer.C:
12407         * sp_spell.C:
12408         * tabular_funcs.C:
12409         * vc-backend.C:
12410         all c-library variables have been moved into namespace std. Wrap
12411         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12412
12413         * lyxlength.C:
12414         * tabular-old.C:
12415         * tabular.C:
12416         Add a using std::abs declaration.
12417
12418         * kbmap.h (modifier_pair):
12419         * paragraph.h (InsetTable, InsetList):
12420         * lyxfont.h (FontBits):
12421         type definition made public.
12422
12423         * bufferlist.C (emergencyWriteAll): the compiler complains that
12424         there is more than one possible lyx::class_fun template to choose from.
12425         I re-named the void specialisation as lyx::void_class_fun.
12426
12427         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12428
12429         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12430         the compiler is is unable to find tostr in write_attribute.
12431
12432 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12433
12434         * buffer.C (sgmlError): hide #warning
12435
12436 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12437
12438         * xtl/*: get rid of xtl, which is not in use anyway
12439
12440         * LyXAction.C (init):
12441         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12442         were unimplemented xtl experimentation
12443
12444 2002-06-04  André Pönitz <poenitz@gmx.net>
12445
12446         * lyxfunc.C: disable array operation on simple formulae
12447
12448 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * converter.C: constify a bit
12451
12452 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * lyx_gui.C: check xforms version correctly
12455
12456 2002-04-30  Herbert Voss  <voss@lyx.org>
12457
12458         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12459         "keep" option
12460
12461 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12462
12463         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12464           attempt to register it with a VCS)
12465
12466 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12467
12468         * lyx_main.C (init): honor variables LYX_DIR_13x and
12469         LYX_USERDIR_13x
12470
12471 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12472
12473         * buffer.h:
12474         * buffer.C:
12475         * lyx_main.C: fix a crash on bad command line,
12476           and give a useful exit status on error
12477
12478         * lyxfunc.C (doImport): allow -i lyx to work
12479
12480 2002-03-30  André Pönitz <poenitz@gmx.net>
12481
12482         * lyxfunc.C: mathed font changes
12483
12484 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12485
12486         * LaTeX.C:
12487         * importer.h:
12488         * importer.C:
12489         * lyx_sty.h:
12490         * lyx_sty.C:
12491         * lyxlex.C:
12492         * lyxrow.h:
12493         * lyxtext.h:
12494         * paragraph.h:
12495         * paragraph.C:
12496         * texrow.h:
12497         * texrow.C:
12498         * text.C:
12499         * trans_mgr.h: srcdocs, and some minor cleanups
12500
12501 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12502
12503         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12504         call getFont all the time)
12505
12506 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12507
12508         * switch from SigC signals to boost::signals
12509
12510 2002-05-29  André Pönitz <poenitz@gmx.net>
12511
12512         * paragraph_pimpl.C (getChar): don't call size() too often...
12513
12514 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12515
12516         * paragraph_pimpl.C (insertChar): do not try to update tables when
12517         appending (pos == size())
12518
12519         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12520         in order to reduce drastically the number of comparisons needed to
12521         parse a large document
12522
12523 2002-05-29  André Pönitz <poenitz@gmx.net>
12524
12525         * text.C:
12526         * text2.C:
12527         * lyxtextclass.C:
12528         * sp_pspell.h:
12529         * textclasslist.[Ch]:
12530         * sp_ispell.h: whitespace change
12531
12532 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12533
12534         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12535         lyxaction directly now.
12536
12537 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12538
12539         * trans.C:
12540         * lyxfont.C:
12541         * lyxvc.C: remove unused headers
12542
12543 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * Makefile.am:
12546         * buffer.h:
12547         * undostack.h:
12548         * undostack.C:
12549         * undo_funcs.h:
12550         * undo_funcs.C: some cleanups. Use shared_ptr
12551           and a template for the undo stacks.
12552
12553 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12554
12555         * BufferView_pimpl.h:
12556         * BufferView_pimpl.C:
12557         * kbmap.h:
12558         * kbmap.C:
12559         * kbsequence.h:
12560         * kbsequence.C:
12561         * lyxfunc.h:
12562         * lyxfunc.C:
12563         * text2.C: use key_state/mouse_state
12564
12565 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12566
12567         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12568         and LSubstring
12569
12570         * chset.C: change include order
12571         (loadFile): use boost regex and get rid of LRegex and LSubstring
12572
12573         * Makefile.am (BOOST_LIBS): new variable
12574         (lyx_LDADD): use it
12575
12576         * LaTeX.C: change include order.
12577         (scanAuxFile): use boost regex and get rid of LRegex and
12578         LSubstring
12579         (deplog): ditto
12580
12581 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12582
12583         * ColorHandler.h:
12584         * ColorHandler.C:
12585         * FontInfo.h:
12586         * FontInfo.C: moved to frontends/xforms/
12587
12588         * FontLoader.h:
12589         * FontLoader.C: moved into frontends for GUIIzation
12590
12591         * Makefile.am:
12592         * lyx_gui.C:
12593         * lyxfont.C:
12594         * lyxfunc.C: changes from above
12595
12596 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12597
12598         * LColor.C: remove spurious X include
12599
12600         * BufferView_pimpl.C:
12601         * Makefile.am:
12602         * font.h:
12603         * font.C:
12604         * text.C:
12605         * text2.C: move font metrics to frontends/
12606
12607 2002-05-24  Juergen Vigna  <jug@sad.it>
12608
12609         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12610         setting the undo_cursor.
12611
12612         * ParagraphParameters.h: include local includes first.
12613
12614 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12615
12616         * BufferView_pimpl.C:
12617         * BufferView_pimpl.h:
12618         * Makefile.am:
12619         * WorkArea.h:
12620         * WorkArea.C:
12621         * screen.C: move WorkArea into frontends/
12622
12623         * lyxscreen.h:
12624         * screen.C:
12625         * text.C:
12626         * BufferView.C:
12627         * BufferView2.C: move LyXScreen into frontends/
12628
12629         * lyxlookup.h:
12630         * lyxlookup.C:
12631         * lyx_gui.C: move lyxlookup into frontends/xforms/
12632
12633 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12634
12635         * BufferView2.C:
12636         * BufferView_pimpl.C:
12637         * FontLoader.C:
12638         * LyXView.h:
12639         * LyXView.C:
12640         * Makefile.am:
12641         * WorkArea.C:
12642         * XFormsView.h:
12643         * XFormsView.C:
12644         * buffer.C:
12645         * bufferlist.C:
12646         * bufferview_funcs.C:
12647         * converter.C:
12648         * importer.C:
12649         * lyx_cb.C:
12650         * lyx_gui.C:
12651         * lyx_main.C:
12652         * lyx_find.C:
12653         * lyxfunc.C:
12654         * lyxvc.C:
12655         * minibuffer.C:
12656         * text.C:
12657         * text2.C:
12658         * trans.C:
12659         * vc-backend.C: move LyX/XFormsView into frontends/
12660
12661 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12662
12663         * Makefile.am:
12664         * PainterBase.C:
12665         * PainterBase.h:
12666         * Painter.C:
12667         * Painter.h:
12668         * WorkArea.C:
12669         * WorkArea.h:
12670         * screen.C:
12671         * tabular.C:
12672         * text.C:
12673         * text2.C: move Painter to frontends/
12674
12675 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12676
12677         * buffer.C: comment out some some code that depend upon lyx_format
12678         < 220
12679
12680         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12681         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12682
12683         * buffer.h (NO_COMPABILITY): turn off compability
12684
12685         * ColorHandler.C: include scoped_array.hpp
12686
12687         * font.C: Use more specific smart_ptr header.
12688         * Painter.C: ditto
12689         * gettext.C: ditto
12690         * ShareContainer.h: ditto
12691         * lyx_main.h: ditto
12692         * kbmap.h: ditto
12693         * FontInfo.h: ditto
12694         * BufferView_pimpl.h: ditto
12695         * ColorHandler.h: ditto
12696
12697         * kbmap.C (defkey): change call to shared_ptr::reset
12698
12699 2002-05-21  Juergen Vigna  <jug@sad.it>
12700
12701         * buffer.C (insertErtContents): fix to insert ert asis if it is
12702         non empty. Skip it completely if it contains only whitespaces.
12703
12704 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12705
12706         * BufferView_pimpl.C:
12707         * BufferView2.C: clear selection on paste (bug 393)
12708
12709 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12710
12711         * DepTable.C: include ctime
12712
12713 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12714
12715         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12716
12717 2002-05-14  Juergen Vigna  <jug@sad.it>
12718
12719         * text.C (breakParagraph): fixed function to honor the keepempty
12720         layout in the right maner and also to permit the right breaking
12721         algorithm on empty or non empyt keepempty paragraphs.
12722
12723         * paragraph.C (breakParagraph): we have to check also if the par
12724         is really empty (!size()) for isempty otherwise we do the wrong
12725         paragraph break.
12726
12727 2002-05-10  Juergen Vigna  <jug@sad.it>
12728
12729         * buffer.[Ch] : The following are only changes to the ert
12730         compatibility read reading old LaTeX layout and font stuff and
12731         convert it to ERTInsets.
12732
12733         * buffer.h: added isErtInset().
12734
12735         * buffer.C (struct ErtComp): add a fromlayout bool to check
12736         if we're inside a LaTeX layout.
12737         (isErtInset): new helper function.
12738         (insertErtContents): look for other ert insets before this one
12739         and insert the contents there, so that we don't have subsequent
12740         ERT insets with nothing between them. This way we create only one
12741         inset with multiple paragraphs. Also check if we don't insert only
12742         spaces ' ' as they are ignored anyway afterwards in the .tex file
12743         so if we have only spaces we will ignore this latex part in the
12744         new file.
12745         (parseSingleLyXformat2Token \\layout): better compatibility when
12746         reading layout-latex stuff.
12747         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12748         language tag.
12749         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12750         stuff after reading the inset only get the information back from
12751         the stack.
12752
12753 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12754
12755         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12756
12757         * LaTeXFeatures.C (getBabelOptions): New method.
12758
12759 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12760
12761         * BufferView_pimpl.C (Dispatch): work around missing argument for
12762         'layout'
12763
12764 2002-05-08  Juergen Vigna  <jug@sad.it>
12765
12766         * text.C (leftMargin): handle paragraph leftindent.
12767
12768         * paragraph.C (writeFile): write the new \\leftindent tag.
12769         (validate): handle leftindent code.
12770         (TeXEnvironment): handle paragraphleftindent code again.
12771
12772         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12773
12774         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12775         for paragrap_extra indent code and new token \\leftindent.
12776         (latexParagraphs): handle the leftindent as environment.
12777
12778         * ParameterStruct.h: added leftindent support.
12779
12780         * ParagraphParameters.C (leftIndent): added support functions for
12781         the paragraph left indent.
12782
12783         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12784         more appropriate.
12785
12786 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12787
12788         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12789         inside insetERT.
12790
12791         * text.C (computeBidiTables): No bidi in insetERT.
12792
12793         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12794         in RTL documents.
12795
12796 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12797
12798         * version.C.in: pre 5
12799
12800 2002-05-02  José Matos  <jamatos@fep.up.pt>
12801         * buffer.C (makeDocBookFile): white space changes, add newline to
12802         command styles.
12803         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12804
12805         * tabular.C (docBook): fix typo.
12806
12807 2002-05-03  Juergen Vigna  <jug@sad.it>
12808
12809         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12810         change in LyXText as we can not be sure it was not freed.
12811         (drawOneRow): remove unused code.
12812
12813         * text.C (drawInset): redo the calculation of the need_break_row as
12814         it could have a row which was already freed.
12815         (draw): look at the return value of drawInset and return false if
12816         it also returned false.
12817         (paintRowText): look at the return value of draw and return false if
12818         it also returned false.
12819
12820         * lyxtext.h: added bool return type to drawInset() and draw() so that
12821         if we have a change in the row so that the rowbreak has to be redone
12822         we abort drawing as it will be called again.
12823
12824 2002-05-02  Juergen Vigna  <jug@sad.it>
12825
12826         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12827         a change in the maintext also if we're inside an inset.
12828         (Dispatch): set the cursor again after a break line and after the
12829         screen has been updated as it could be we're in a different row.
12830
12831         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12832         to set the cursor behind the pargraph with > size().
12833         (setCursor): check also for the same paragraph when checking where
12834         to put the cursor if we have a NFR inset.
12835
12836         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12837         parts of layout read further up as it still was in the wrong
12838         position.
12839
12840 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12841
12842         * screen.C (drawFromTo): change sine fullRebreak always return
12843         true.
12844
12845         * buffer.C (parseSingleLyXformat2Token): reindent some
12846
12847         * BufferView_pimpl.C (update): change since fullRebreak always
12848         return true.
12849         (Dispatch): git rid of the last hardcoded "Standard"s.
12850
12851 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12852
12853         * text2.[Ch] (fullRebreak): make it return void now that we always
12854         returned true.
12855
12856 2002-04-30  Juergen Vigna  <jug@sad.it>
12857
12858         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12859         ert compatibility check for "latex" layout.
12860
12861 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12862
12863         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12864         minipages: use col% instead of p%, and also use the current font.
12865         (makeLaTeXFile): Fix use babel condition.
12866         (parseSingleLyXformat2Token): Correct font when reading old floats.
12867
12868 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12869
12870         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12871         inserting list of floats.
12872
12873 2002-04-25  Herbert Voss  <voss@lyx.org>
12874
12875         * MenuBackend.C (expand): don't add the graphics extensions to the
12876         export menu
12877
12878 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12879
12880         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12881         non-existing layout, do not complain if it was the default layout
12882         of the original class (bug #342)
12883
12884 2002-04-24  Juergen Vigna  <jug@sad.it>
12885
12886         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12887         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12888
12889 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12890
12891         * buffer.C (getBibkeyList): If using \bibliography, return the
12892         option field with the reference itself. Enables us to provide natbib
12893         support when using \bibliography.
12894
12895 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12896
12897         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12898
12899         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12900         natbib is provided by the LaTeX class.
12901
12902 2002-04-23  Juergen Vigna  <jug@sad.it>
12903
12904         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12905         Wakeup functions.
12906
12907         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12908
12909 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12910
12911         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12912
12913         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12914         ensuremath around textordmasculine, textordfeminine and
12915         textdegree.
12916
12917 2002-04-19  Juergen Vigna  <jug@sad.it>
12918
12919         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12920         reinitializing the buffer otherwise row-dimensions may be wrong.
12921         (update): reset also the selection cursors if they do exits otherwise
12922         their x/y positions may be wrong.
12923
12924         * text2.C (cursorDown): don't enter the inset if we came from a row
12925         above and are one row over the inset.
12926
12927         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12928         really leaving an inset.
12929
12930 2002-04-18  Juergen Vigna  <jug@sad.it>
12931
12932         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12933         of the selected paragraph does not have the selected layout also if
12934         the last one had!
12935
12936         * text2.C (setLayout): fixed bug which did not change last selected
12937         paragraph.
12938
12939         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12940         changed the read and substituted \\end_float with \\end_inset!
12941
12942         * BufferView_pimpl.C (cursorPrevious):
12943         (cursorNext): fixed to make it work with rows heigher than the work
12944         area without moving the cursor only the draw of the row.
12945         (workAreaMotionNotify): fix jumping over high rows.
12946
12947 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12948
12949         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12950         Ressler.
12951
12952 2002-04-16  Juergen Vigna  <jug@sad.it>
12953
12954         * text2.C (setCursor): set also the irow().
12955         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12956         (cursorUp):
12957         (cursorDown): support for locking an inset if the x_fix value goes
12958         inside it. That way I can transverse insets too with cursor up/down.
12959
12960         * lyxrow.h: added irow helper function same as other (i) functions.
12961
12962         * BufferView_pimpl.C (cursorPrevious):
12963         (cursorNext): fixed for insets!
12964
12965 2002-04-15  Juergen Vigna  <jug@sad.it>
12966
12967         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12968         position otherwise it is wrong in some cases.
12969
12970         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12971         inside the inset before the call.
12972
12973 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12974
12975         * buffer.[Ch] (getBibkeyList): make it const.
12976
12977 2002-04-12  Juergen Vigna  <jug@sad.it>
12978
12979         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12980
12981         * text2.C (getCursorX): new helper function
12982         (setCursor): compute also ix_
12983         (setCursorFromCoordinates): set also ix.
12984
12985         * lyxcursor.h: added ix_ and helper functions.
12986
12987         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12988
12989         * buffer.C (insertStringAsLines): dont break paragraph if the this
12990         paragraph is inside an inset which does not permit it!
12991
12992         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12993         also with no chars on this paragraph.
12994         (paintRowText): only paint stuff if it's inside the workarea!
12995
12996         * paragraph.C (breakParagraph): honor keepempty flag and break the
12997         paragraph always below not above.
12998
12999         * BufferView2.C (unlockInset): update the paragraph layout on inset
13000         unlock as we changed paragraph in such a case.
13001
13002         * lyxfind.C (LyXFind): clear the former selection if not found!
13003
13004         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13005         again called in insertChar().
13006
13007         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13008         an inset which uses the whole row!
13009         (rightMargin): ditto.
13010         (insertChar): force a rebreak if we inserted an inset!
13011
13012 2002-03-28  Herbert Voss  <voss@lyx.org>
13013
13014         * lyxlength.[Ch]: add inBP() to get the right PS-point
13015         units (BigPoint). With inPixels we have rounding errors
13016
13017 2002-04-11  Juergen Vigna  <jug@sad.it>
13018
13019         * text2.C (setCursorFromCoordinates): set iy to the right value.
13020         (setCursor): add check if row->previous exists!
13021
13022         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13023         an old float_type as this was the case in the old code!
13024
13025         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13026
13027         * BufferView2.C (showLockedInsetCursor): use iy
13028         (fitLockedInsetCursor): ditto
13029
13030         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13031         locked insets as there we have the right value now.
13032
13033         * lyxcursor.C: added iy_ variable and iy functions to set to the
13034         baseline of cursor-y of the locked inset.
13035
13036         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13037         (setCursor): fixed for insets which need a full row.
13038
13039         * text.C (rowLastPrintable): don't ignore the last space when before
13040         an inset which needs a full row.
13041         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13042         as last character of a row when before a inset which needs a full row.
13043
13044 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13045
13046         * version.C.in: update date
13047
13048         * text2.C (fullRebreak): try to always return true and see what
13049         happens...
13050
13051 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13052
13053         * MenuBackend.C (expand): use Floating::listName
13054
13055         * FloatList.C (FloatList): add listName argument to the built-in
13056         floats
13057
13058         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13059         text associated with the float.
13060
13061 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13062
13063         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13064
13065 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13066
13067         * ShareContainer.h: add a couple of missing typenames.
13068
13069 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13070
13071         * lyxrc.C (getDescription): use _() correctly rather than N_().
13072
13073 2002-03-28  Herbert Voss  <voss@lyx.org>
13074
13075         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13076         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13077
13078 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13079
13080         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13081         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13082
13083 2002-03-29  Juergen Vigna  <jug@sad.it>
13084
13085         * lyxfunc.C (dispatch): add a missing fitCursor call.
13086
13087         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13088         it was scrolled by a cursor move, so return the bool status.
13089
13090         * BufferView.C (fitCursor): return the bool flag also to the outside
13091         world as this is needed.
13092
13093         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13094
13095         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13096         call the edit() as it is not needed (and wrong) IMO.
13097         (workAreaButtonPress): set the screen_first variable before evt.
13098         unlock the inset as this may change screen_first and then we have
13099         a wrong y position for the click!
13100
13101 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13102
13103         * MenuBackend.C (expand): another translation that I missed
13104
13105 2002-03-28  Juergen Vigna  <jug@sad.it>
13106
13107         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13108
13109         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13110
13111 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13112
13113         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13114
13115         * MenuBackend.C (expand): fix export/view/update when there is no
13116         document open.
13117
13118 2002-03-27  Herbert Voss  <voss@lyx.org>
13119
13120         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13121         and text%
13122
13123 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13124
13125         * bufferview_funcs.C (currentState): only show paragraph number
13126         for is DEVEL_VERSION is set.
13127
13128         * lyxfunc.C (dispatch): put warning in INFO channel
13129
13130         * MenuBackend.C (expand): translate the name of floats
13131
13132         * FloatList.C (FloatList): mark the float names for translation
13133
13134         * converter.C (convert): use LibScriptSearch
13135
13136 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13137
13138         * MenuBackend.C (defaults): fix default menu (we might as well get
13139         rid of it...)
13140
13141 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13142
13143         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13144         directory.
13145
13146 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13147
13148         * lyxvc.C: reorder includes.
13149
13150 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13151
13152         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13153           properly
13154
13155 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13156
13157         * CutAndPaste.C: change layouts earlier on paste
13158           to avoid crashing when calling getFont()
13159
13160 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13161
13162         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13163         irritating #error.
13164
13165 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13166
13167         * WorkArea.C: remove 'Pending' debug message.
13168
13169         * most files: ws cleanup
13170
13171         * buffer.[Ch]: ws changes
13172
13173         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13174
13175 2002-03-21  Juergen Vigna  <jug@sad.it>
13176
13177         * tabular.C (SetMultiColumn): collapse also the contents of the
13178         cells and set the last border right. Added a Buffer const * param.
13179
13180 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13181
13182         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13183         linking or not.
13184
13185 2002-03-19  Juergen Vigna  <jug@sad.it>
13186
13187         * text2.C (clearSelection): reset also xsel_cache.
13188
13189         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13190         where it needs to be called (John tells us to do so too :)
13191         (selectionLost): reset sel_cache.
13192
13193         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13194
13195 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13196
13197         * text2.C (setCursorIntern): put debuging code in INSETS channel
13198
13199 2002-03-19  André Pönitz <poenitz@gmx.net>
13200
13201         * lyxfunc.C: tiny whitespace change
13202
13203 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13204
13205         * ToolbarDefaults.C (init):
13206         * LyXAction.C (init):
13207         * commandtags.h:
13208         * BufferView_pimpl.C (Dispatch):
13209         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13210
13211 2002-03-19  Allan Rae  <rae@lyx.org>
13212
13213         * exporter.C (Export): removeAutoInsets before doing anything else.
13214         While I've just introduced a dependency on BufferView this really is
13215         the best place to clean the buffer otherwise you need to cleanup in
13216         a dozen places before calling export or cleanup in a dozen functions
13217         that export calls.
13218
13219         * converter.C (runLaTeX):
13220         (scanLog): Better handling of removeAutoInsets and screen updates.
13221
13222         * lyxfunc.C (dispatch): small whitespace changes
13223
13224 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13225
13226         * WorkArea.C (C_WorkAreaEvent): return a value.
13227         (event_cb): return 1 if we handled the event, 0 otherwise.
13228
13229         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13230
13231 2002-03-18  Juergen Vigna  <jug@sad.it>
13232
13233         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13234         (GetAdditionalWidth): ditto.
13235         (RightLine): ditto.
13236         (LeftLine): ditto.
13237
13238         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13239         inset if we're there actually (probably not used right now but this
13240         is the direction to go for unifying code).
13241         (paste): disable code to clear the selection.
13242
13243         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13244         inside an InsetText and move the check further up as it is in the
13245         wrong place.
13246
13247         * text2.C (pasteSelection): set a selection over the pasted text.
13248
13249 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13250
13251         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13252         and libgraphics to build on Cygwin.
13253
13254 2002-03-15  Juergen Vigna  <jug@sad.it>
13255
13256         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13257         inserting an Inset into the paragraph. I know this is not the best
13258         fix but we already use current_view in CutAndPaste so we will remove
13259         all of it's using at the same time.
13260
13261         * buffer.C (sgmlError): deactivated function till it is rewritten in
13262         the right mode, now it can create problems.
13263
13264         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13265         before accessing it.
13266
13267 2002-03-14  Juergen Vigna  <jug@sad.it>
13268
13269         * undo_funcs.C (textHandleUndo): do the right thing when updating
13270         the inset after the undo/redo.
13271
13272         * text2.C (setCursor): just some testcode for #44 not ready yet.
13273
13274         * undo_funcs.C (textHandleUndo): set the next() and previous()
13275         pointers of the paragraph to 0 before deleting otherwise we have
13276         problems with the Paragraph::[destructor].
13277
13278         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13279         on a paragraph insertion.
13280
13281 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13282
13283         * buffer.C (asciiParagraph): use += operator for char append to
13284         string.
13285
13286         * paragraph.C (getFontSettings): compare >= not just >
13287         (highestFontInRange): ditto
13288         (setFont): ditto
13289
13290 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13291
13292         * paragraph.C: change several algorithm to be more appripriate for
13293         the problem domain. This is lookip in FontList and in the InsetList.
13294
13295 2002-03-13  André Pönitz <poenitz@gmx.net>
13296
13297         * commandtags.h:
13298         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13299
13300 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13301
13302         * commandtags.h:
13303         * LyXAction.C:
13304         * lyxfunc.C:
13305         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13306
13307 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13308
13309         * Painter.C (display): anon helper function, adjust code for this
13310         change.
13311         (pixmap): remove function.
13312
13313         * Painter.h: remove private display variable.
13314
13315         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13316
13317 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13318
13319         * WorkArea.[Ch]: remove figinset_canvas cruft.
13320
13321 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13322
13323         * lyxtextclass.C (operator): add one item cache optimization.
13324
13325         * bufferlist.h: doxy changes
13326
13327         * bufferlist.C: ws changes
13328
13329         * DepTable.[Ch] (ext_exist): place const in the right spot.
13330
13331         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13332         call resizeInsets.
13333         (workAreaExpose): call resizeInsets when the with BufferView changes.
13334         (Dispatch): adjust for protectedBlank removal
13335         (specialChar): call updateInset if the insert went ok.
13336
13337         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13338         specialChar instead.
13339
13340         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13341
13342         * BufferView.h: doxy change
13343
13344         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13345
13346         * lyxtextclass.C (operator[]): remove non-const version
13347         (defaultLayout): remove non-const version
13348
13349 2002-03-12  Juergen Vigna  <jug@sad.it>
13350
13351         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13352         did resize the LyXText too.
13353
13354         * buffer.C (readLyXformat2): set layout information on newly allocated
13355         paragraphs.
13356
13357         * tabular.C (OldFormatRead): set layout information on the paragraph.
13358
13359 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13360
13361         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13362
13363 2002-03-11  Juergen Vigna  <jug@sad.it>
13364
13365         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13366         plainly wrong.
13367         (resizeCurrentBuffer): force also the insets to resize themselfes.
13368         (moveCursorUpdate): fixed up for InsetText.
13369
13370 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13371
13372         * commandtags.h:
13373         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13374         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13375         value of Dialogs::tooltipsEnabled().
13376         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13377
13378 2002-03-08  Juergen Vigna  <jug@sad.it>
13379
13380         * BufferView_pimpl.C (updateInset): update inset inside inset also
13381         if it isn't inside theLockingInset().
13382
13383 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13384
13385         * buffer.C (asciiParagraph): redo some of the word and line length
13386         handling.
13387         (getLists): look for Caption instead of caption.
13388
13389 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13390
13391         * buffer.C (Buffer): initialize niceFile to true
13392         (makeLaTeXFile):
13393         (makeLinuxDocFile):
13394         (makeDocBookFile): make sure niceFile is true on exit
13395
13396 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13397
13398         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13399
13400 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13401
13402         * LyXSendto.C: remove.
13403         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13404         * lyx_gui.C: remove now-redundant comment.
13405         * ColorHandler.h: remove forward declaration of class WorkArea.
13406         * lyxfunc.C: remove #include "WorkArea.h".
13407
13408 2002-03-07  Juergen Vigna  <jug@sad.it>
13409
13410         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13411         got moved away with the DEPM and also set the inset_owner always
13412         right which before could have been omitted.
13413
13414 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13415
13416         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13417         wanted layout is not found.
13418
13419 2002-03-07  Juergen Vigna  <jug@sad.it>
13420
13421         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13422
13423 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13424
13425         * paragraph.C (breakParagraph): use default layout not layout of
13426         prev paragraph.
13427         (Paragraph): clear ParagraphParameters.
13428
13429 2002-03-06  Juergen Vigna  <jug@sad.it>
13430
13431         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13432         otherwise it would not be a valid lenght. Fixed a special case in
13433         the minipage compatibility read where we end the document with a
13434         minipage.
13435
13436         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13437         was set as it could be 0 for InsetTexts first entry.
13438
13439 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13440
13441         * paragraph.C (writeFile): if layout is empty write out
13442         defaultLayoutName().
13443
13444         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13445         file without named layout we set layout to defaultLayoutName().
13446
13447 2002-03-06  Juergen Vigna  <jug@sad.it>
13448
13449         * CutAndPaste.C (copySelection): set layout for new paragraph.
13450
13451         * text.C (prepareToPrint): leave ERT inset left aligned
13452         (leftMargin): don't indent paragraphs inside ERT insets
13453
13454 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13455
13456         * paragraph.C (breakParagraph): dont call clear do the work manually
13457
13458         * paragraph.[Ch] (clear): remove function
13459
13460 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13461
13462         * paragraph.C (Paragraph): dont call clear, the work has already
13463         been done.
13464
13465         * lyxtextclass.C (operator): assert if n is empty
13466
13467         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13468         work manually instead.
13469
13470 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13471
13472         * BufferView_pimpl.C: protect selectionLost against text == 0
13473
13474 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13475
13476         * text.C (breakParagraph): fix a setting layout to '0' problem.
13477
13478 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13479
13480         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13481         final location of file, for the included files, and graphics.
13482
13483 2002-03-05  Juergen Vigna  <jug@sad.it>
13484
13485         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13486
13487 2002-03-04  Juergen Vigna  <jug@sad.it>
13488
13489         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13490
13491         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13492         last column of multicolumn cells.
13493         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13494
13495 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13496
13497         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13498         file if it doesn't go to a temporary file.
13499
13500         * buffer.C (sgmlOpenTag):
13501         (sgmlCloseTag):  remove extra newline insertion.
13502
13503 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13504
13505         * text.C (getRowNearY): comment out debug msg
13506
13507 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13508
13509         * text2.C: first -> first_y
13510
13511         * text.C (getRowNearY): add some attemts at a possible
13512         optimization, not working.
13513
13514         * tabular.[Ch]: add BufferParams to several function so that newly
13515         created paragraph can be initialized to he default layotu for the
13516         buffers textclass.
13517
13518         * tabular-old.C (ReadOld): add buf->params to call of Init
13519
13520         * screen.C: rename text->first to text->first_y
13521
13522         * paragraph.C (breakParagraph): always set layout in the broken
13523         paragraph
13524
13525         * lyxtextclass.C (Read): remove lowercase
13526         (hasLayout): ditto
13527         (operator): ditto
13528         (delete_layout): ditto
13529
13530         * lyxtext.h: rename first -> first_y
13531
13532         * lyxlayout.C (Read): remove lowercase
13533         (name): ditto
13534         (setName): ditto
13535         (obsoleted_by): ditto
13536
13537         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13538
13539         * buffer.C (insertErtContents): add params are to InsetERT
13540         (parseSingleLyXformat2Token): add code to check if a paragraphs
13541         layout really exist.
13542         (parseSingleLyXformat2Token): add params to several inset
13543         constructors
13544         (asciiParagraph): remove lowercase, do the layout comparisons with
13545         no_case
13546
13547         * BufferView_pimpl.C (cursorNext): first -> first_y
13548         (resizeCurrentBuffer): first -> first_y
13549         (updateScrollbar): first -> first_y
13550         (scrollCB): first -> first_y
13551         (workAreaMotionNotify): first -> first_y
13552         (workAreaButtonPress): first -> first_y
13553         (checkInsetHit): first -> first_y
13554         (cursorPrevious): first -> first_y
13555         (cursorNext): first -> first_y
13556         (Dispatch): add buffer_->params to severl inset contructors
13557
13558 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13559
13560         * lyxlayout.C (Read): remove some debug info that I forgot.
13561
13562         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13563         clean up the code slightly.
13564         (makeLinuxDocFile): ditto
13565         (makeDocBookFile): ditto
13566
13567         * text2.C: layout as string
13568
13569         * text.C: layout as string
13570
13571         * paragraph_pimpl.C: layout as string
13572
13573         * paragraph.[Ch]: layout as string
13574
13575         * lyxtextclasslist.[Ch]: layout as string
13576
13577         * lyxtextclass.[Ch]: layout as string
13578
13579         * lyxtext.h: layout as string
13580
13581         * lyxlayout.[Ch]: layout as string
13582
13583         * lyx_cb.C: layout as string
13584
13585         * bufferview_funcs.C: layout as string
13586
13587         * bufferparams.C: layout as string
13588
13589         * buffer.C: layout as string
13590
13591         * LyXView.[Ch]: layout as string
13592
13593         * LaTeXFeatures.[Ch]: layout as string
13594
13595         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13596
13597         * BufferView_pimpl.C: change current_layout to string, remove
13598         lyx::layout_type.
13599         (Dispatch):
13600         (smartQuote):
13601         (insertInset):
13602         (workAreaButtonRelease): layout as string
13603
13604         * BufferView2.C (unlockInset): adjust
13605
13606         * vspace.C (asLatexCommand): use an explict temp variable.
13607
13608 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13609
13610         * Makefile.am: use FRONTEND_*
13611
13612 2002-03-01  Juergen Vigna  <jug@sad.it>
13613
13614         * tabular.C (SetWidthOfMulticolCell): changed to something better
13615         I hope but still work in progress.
13616         (recalculateMulticolumnsOfColumn): renamed function from
13617         recalculateMulticolCells as it is more appropriate now.
13618         (SetWidthOfCell): calculate multicols better.
13619
13620 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13621
13622         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13623
13624         * lyxfunc.C (processKeySym): print sequence also if it is
13625         `deleted' (complete)
13626
13627         * kbsequence.C (print): print sequence even if it is deleted
13628         (complete would be a better word, actually).
13629
13630         * lyxfunc.C (dispatch): print complete options after a prefix key
13631
13632         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13633
13634 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13635
13636         * text2.C (setCharFont): eliminate setCharFont code duplication.
13637
13638 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13639
13640         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13641         LFUN_TABULAR_FEATURE (bug #177)
13642
13643 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13644
13645         * Makefile.am: remove figure.h
13646
13647 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13648
13649         * Bufferview_pimpl.C:
13650         * CutAndPasteC:
13651         * LaTeX.C:
13652         * LyXSendto.C:
13653         * buffer.C:
13654         * bufferlist.C:
13655         * converter.C:
13656         * language.C:
13657         * lyxfunc.C:
13658         * lyxvc.C:
13659         * paragraph.C:
13660         * text.C:
13661         * text2.C: remove #include "lyx_gui_misc.h".
13662
13663         * LaTeX.C: added #include <cstdio>
13664
13665 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13666
13667         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13668         that the paragraph following this one can have.
13669
13670         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13671
13672         * vspace.C (asLatexCommand): fix bogus gcc warning
13673
13674         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13675
13676 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13677
13678         * text2.C (setLayout): get rid of redundant code
13679
13680 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13681
13682         * text2.C (incDepth): make sure depth cannot be increased beyond
13683         reasonable values.
13684
13685 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13686
13687         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13688         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13689
13690         * PainterBase.h (image):
13691         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13692         a LyXImage const *.
13693
13694 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13695
13696         * BufferView.C:
13697         * BufferView.h:
13698         * BufferView_pimpl.C:
13699         * BufferView_pimpl.h:
13700         * LaTeXFeatures.C:
13701         * LyXAction.C:
13702         * LyXView.C:
13703         * Makefile.am:
13704         * UpdateList.h:
13705         * UpdateList.C:
13706         * buffer.C:
13707         * figure.h:
13708         * figureForm.C:
13709         * figureForm.h:
13710         * figure_form.C:
13711         * figure_form.h:
13712         * lyx_cb.C:
13713         * lyx_gui.C:
13714         * lyx_gui_misc.C:
13715         * lyxfunc.C:
13716         * sp_base.h:
13717         * sp_ispell.h:
13718         * sp_pspell.h:
13719         * sp_spell.C: remove fig inset, and the crap house of
13720           cards that follows it
13721
13722 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13723
13724         * Makefile.am:
13725         * lyxserver.C:
13726         * os2_defines.h:
13727         * os2_errortable.h:
13728         * nt_defines.h: move .h into support/
13729
13730         * vms_defines.h: remove
13731
13732         * WorkArea.C: add space in debug output
13733
13734         * text2.C:
13735         * paragraph.C:
13736         * buffer.C: add WITH_WARNINGS
13737
13738         * vc-backend.h:
13739         * vc-backend.C:
13740         * bufferlist.C: s/retrive/retrieve/, add docs
13741
13742         * vspace.h:
13743         * vspace.C:
13744         * kbmap.h:
13745         * lyxlength.h:
13746         * lyxgluelength.h:
13747         * length_common.h:
13748         * chset.h:
13749         * chset.C: add docs
13750
13751         * lyxgui.C: add ID to X error handler
13752
13753         * lyxtestclass.c: fix typo
13754
13755 2002-02-26  Juergen Vigna  <jug@sad.it>
13756
13757         * tabular_funcs.C (write_attribute): changed so that some default
13758         attributes are not written at all.
13759         (getTokenValue): set default values before trying to read the
13760         value so we have the return value always set as default if we don't
13761         find the token we search for.
13762
13763         * tabular.C (Write): write bools as bools not as strings!
13764
13765 2002-02-22  Juergen Vigna  <jug@sad.it>
13766
13767         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13768         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13769
13770         * text.C (leftMargin): don't add an indent for paragraphs inside
13771         tabular cells (fix #208).
13772
13773 2002-02-21  José Matos  <jamatos@fep.up.pt>
13774
13775         * tabular.C (docBook): fixed support for long tables.
13776
13777 2002-02-20  Juergen Vigna  <jug@sad.it>
13778
13779         * text2.C (getFont): get the drawing font of the Inset if this
13780         paragraph is inside an inset (only important for InsetERT for now).
13781
13782         * buffer.C (insertErtContents): use new lanugage params in ERT
13783         constructor.
13784
13785         * CutAndPaste.C: commenting out seemingly uneeded code.
13786
13787 2002-02-19  Allan Rae  <rae@lyx.org>
13788
13789         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13790         Iterators might be simple to use but they also get invalidated.
13791         (removeAutoInsets): renamed saved cursor tracking variables and added
13792         some comments to clarify what everything does.
13793
13794 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13795
13796         * Chktex.C:
13797         * LaTeX.C:
13798         * LyXSendto.C:
13799         * converter.C:
13800         * lyx_cb.C:
13801         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13802         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13803
13804         * lyxfunc.C:
13805         * vc-backend.h: remove #include "support/syscall.h"
13806
13807         * LaTeX.C:
13808         * LyXSendto.C:
13809         * converter.C: rearrange #includes in Lars' approved fashion.
13810
13811         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13812         forward declare class Timeout in the header file.
13813
13814         * XFormsView.C: changes due to the above.
13815
13816         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13817         similar to LyXView.
13818
13819         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13820         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13821
13822 2002-02-18  José Matos  <jamatos@fep.up.pt>
13823
13824         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13825         insets contents.
13826
13827 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13828
13829         * a lot of small ws changes
13830         * add a lot of using std::XXX
13831         * use std construcs some places where approp.
13832         * use some exisint stuff from lyxfunctional where approp.
13833         * Make file changes to use partial linking (lets test this now...)
13834
13835 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13836
13837         * Chktex.C:
13838         * buffer.C:
13839         remove #include "support/syscontr.h" as it's redundant. Always has been.
13840
13841         * Chktex.C:
13842         * LaTeX.C:
13843         * LyXSendto.C:
13844         * converter.C:
13845         * lyx_cb.C:
13846         * vc-backend.C:
13847         change Systemcalls::System to Systemcalls::Wait and
13848         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13849         No change of functionality, just reflects the stripped down Systemcalls
13850         class.
13851
13852 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13853
13854         * debug.[Ch]: add a GRAPHICS type to the enum.
13855
13856 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13857
13858         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13859
13860         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13861         there is an inset.
13862
13863 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13864
13865         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13866         match the changes below.
13867
13868         * text2.C (toggleInset): if there is not editable inset at cursor
13869         position, try to see if cursor is _inside_ a collapsable inset
13870         and close it.
13871
13872 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13873
13874         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13875         document menu has a nice checkbox
13876
13877 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13878
13879         * lyxlength.C (asLatexString): change PW to output as percent of
13880         \textwidth.
13881
13882         * lengthcommon.C: change '%' to 't%'
13883
13884         * lyxfunc.C (dispatch): a few comments from Martin
13885
13886 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13887
13888         * WorkArea.h:
13889         * WorkArea.C:
13890         * BufferView_pimpl.h:
13891         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13892           the X selection.
13893
13894 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13895
13896         * vspace.C (inPixels): fix compiler warning
13897
13898 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13899
13900         * lyxfunc.C (getStatus): fix status message for disabled commands.
13901
13902 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13903
13904         * BufferView_pimpl.C: fix crash on close buffer
13905         during selection (#227)
13906
13907 2002-01-27  Herbert Voss  <voss@lyx.org>
13908
13909         * buffer.C: link old Figure to new graphic inset
13910
13911 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13912
13913         * FontLoader.C (getFontinfo): Change the latex font names in order
13914         to match the names of type1inst.
13915
13916 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13917
13918         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13919
13920         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13921         (extchanged): ditto
13922         (ext_exist): ditto
13923         (remove_files_with_extension): ditto
13924         (remove_file): ditto
13925         (write): ditto
13926
13927         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13928         document is smaller than the work area height. Do not initialize
13929         static variables to 0.
13930
13931 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13932
13933         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13934
13935         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13936         LFUN_LAYOUT_PARAGRAPHS.
13937
13938         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13939         tabular. It is possible to provide a possible cell, which will
13940         typically be the actcell from the corresponding insettabular
13941
13942         * lyxfunc.C (getStatus): small cleanup; disable
13943         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13944         true
13945
13946 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13947
13948         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13949
13950         * paragraph.C (startTeXParParams):
13951         (endTeXParParams): new methods. The LaTeX code to
13952         start/end paragraph formatting
13953         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13954         empty (fixes bug #200)
13955
13956         * vspace.C (inPixels): adapt to the change below
13957         (inPixels): [later] more cleanups (remove unused variables)
13958
13959         * lyxlength.C (inPixels): change to use a width and a height as
13960         parameter.
13961
13962 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13963
13964         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13965         Replaced with \paperwidth
13966
13967         * DepTable.C (insert): add std:: qualifier
13968
13969 2002-01-18  Allan Rae  <rae@lyx.org>
13970
13971         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13972         updated also?
13973
13974         * text.C (drawInset): Turned out I didn't know enough about how
13975         rebreaking worked.  This fixes most of the redraw problems.  I see
13976         an occasional cursor trail when a line is broken now and the cursor
13977         placement can seem out by a few pixels also after a rebreak.
13978
13979 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13980
13981         * buffer.C (parseSingleLyXformat2Token): update because minipage
13982         width is now a LyXLength
13983
13984         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13985
13986         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13987         math insets
13988
13989 2002-01-17  Juergen Vigna  <jug@sad.it>
13990
13991         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13992
13993         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13994         is set correctly and the inset is updated correctly.
13995
13996 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13997
13998         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13999         the beginning of the loop.
14000
14001 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14002
14003         * lyxrc.C: improve help for use_scalable_fonts
14004
14005 2002-01-17  Allan Rae  <rae@lyx.org>
14006
14007         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14008
14009 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14010
14011         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14012         make sure to set their inset_owner to the right value (bug #171)
14013
14014 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14015
14016         * DepTable.h
14017         * DepTable.C: Implement mtime checking to reduce time spent doing
14018         CRCs.
14019
14020 2002-01-16  Juergen Vigna  <jug@sad.it>
14021
14022         * tabular.C (GetAdditionalHeight): one of error fixed.
14023
14024         * lyxrc.C (output): small fix in writing use_pspell.
14025
14026 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14027
14028         * sp_base.h: #include LString.h
14029
14030 2002-01-16  Allan Rae  <rae@lyx.org>
14031
14032         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14033         Can someone check this please?
14034
14035         * text.C (drawInset): It was possible that p.row would be removed by
14036         breakAgainOneRow upsetting a few other settings.  There may be another
14037         small tweak possible by setting need_break_row = 0 when p.row has been
14038         removed but I don't know enough about the logic here.
14039
14040 2002-01-15  Allan Rae  <rae@lyx.org>
14041
14042         * text.C (insertChar): removed conditional truism.
14043
14044         * BufferView2.C (removeAutoInsets): More tweaks.
14045         cur_par_prev could be a stray pointer.  Check for trailing empty line
14046         in case last line was cur_par and only had an error inset on it.
14047
14048 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14049
14050         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14051         absolute
14052
14053         * vc-backend.C (most methods):
14054         * exporter.C (Export):
14055         * converter.C (convert):
14056         (runLaTeX):
14057         * LyXSendto.C (SendtoApplyCB):
14058         * lyxfunc.C (dispatch):
14059         (menuNew):
14060         (open):
14061         (doImport):
14062         * lyx_cb.C (AutoSave):
14063         (InsertAsciiFile):
14064         * BufferView_pimpl.C (MenuInsertLyXFile):
14065         * buffer.C (runChktex): use Buffer::filePath().
14066
14067         * buffer.h: rename filename to filename_; rename filepath to
14068         filepath_ and make it private
14069         (filePath): new method
14070
14071         * buffer.C (writeFile): use fileName()
14072         (getLatexName):
14073
14074         * lyx_main.C (init): fix starting  of LyX when the binary is a
14075         link from so,ewhere else.
14076
14077         * minibuffer.C: include <cctype> for isprint
14078
14079 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14080
14081         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14082         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14083         name clash with InsetCollapsable's width function.
14084
14085 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14086
14087         * lastfiles.C: include <iterator>
14088
14089 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14090
14091         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14092         std::count.
14093
14094         * buffer.C (makeLaTeXFile): ditto.
14095         Also make loop operation more transparent.
14096
14097 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14098
14099         * ToolbarDefaults.C: remove trailing comma closing namespace.
14100
14101         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14102
14103         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14104         as in WorkArea.
14105
14106         * trans.C (Load): comment out unused variable, allowed.
14107
14108 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14109
14110         * minibuffer.[Ch] (append_char): new method to recieve input from the
14111         drop-down completion browser. If a key was pressed, then recieve this
14112         char and append it to the existing string.
14113         (peek_event): modify the positioning data passed to the completion
14114         browser so that it can be placed above the minibuffer rather than below.
14115 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14116
14117         * LyXAction.C (init): alloe error-next for readonly documents.
14118
14119         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14120         count.
14121
14122 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14123
14124         * bufferlist.C (readFile): create the buffer _after_ checking that
14125         the file exists.
14126
14127         * lyxfunc.C (verboseDispatch): fix handling of arguments
14128
14129         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14130
14131         * lyxrc.C: use string::erase() instead of initializing to "".
14132
14133
14134 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14135
14136         * BufferView_pimpl.h:
14137         * BufferView_pimpl.C:
14138         * WorkArea.h:
14139         * WorkArea.C:
14140         * text2.C: tell X when we have made a selection for copying
14141
14142 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14143
14144         * BufferView_pimpl.C (MenuInsertLyXFile):
14145         * lyxfunc.C (menuNew):
14146         (open):
14147         (doImport): add shortcuts to directory buttons
14148
14149         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14150         open a float)
14151
14152         * lyxfunc.C (setStatusMessage):
14153         (getStatusMessage): new methods
14154         (getStatus):use setStatusMessage instead of setErrorMessage
14155         (dispatch): when function is disabled, set error message here
14156         [instead of in getStatus previously]
14157
14158         * BufferView_pimpl.C (workAreaButtonRelease): update
14159         toolbar/menubar here too.
14160
14161 2002-01-13  Allan Rae  <rae@lyx.org>
14162
14163         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14164         Now seems indestructible.  Remaining task is to audit all other
14165         code affected by deleteEmptyParagraphMechanism.  One small quirk
14166         left is that an empty document with an error in the preamble can
14167         be made to report an error but no error box appears.  I don't know
14168         where it goes.
14169         (removeAutoInsets): Improved comments.
14170
14171 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14172
14173         * Thesaurus.h:
14174         * Thesaurus.C: update for Aiksaurus 0.14
14175
14176 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14177
14178         * text2.C (firstParagraph): removed member function, all uses
14179         replaces with ownerParagraph
14180         (redoParagraphs): here
14181         (updateInset): here
14182         (toggleAppendix): here
14183         * BufferView2.C (insertErrors): here
14184         (setCursorFromRow): here
14185
14186 2002-01-13  Allan Rae  <rae@lyx.org>
14187
14188         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14189         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14190         There is still a way to segfault this although you may have to do this
14191         multiple times: Have an InsetERT with an unknown command in it.
14192         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14193         <down-arrow>, <Enter> again, View->DVI, BANG!
14194
14195         * text2.C (setCursor):
14196         (deleteEmptyParagraphMechanism):
14197         * lyxtext.h (setCursor):
14198         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14199         Making use of the return value may help fix other bugs.
14200
14201 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14202
14203         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14204
14205         * LyXView.C (updateMenubar): call MenuBar::update here
14206         (updateToolbar): but not here
14207         (showState): do not update toolbar/menubar
14208
14209         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14210         should need to care about that.
14211
14212         * lyxfunc.C (verboseDispatch): simplify a bit
14213         (getStatus): have a version which takes a pseudoaction, and
14214         another which requires a (kb_action,string).
14215
14216         * LyXAction.C (retrieveActionArg): make it work also when action
14217         is not a pseudo-action.
14218         (getActionName): simplify a bit
14219         (helpText):
14220
14221 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14222
14223         * lyxfunc.C (verboseDispatch): new families of methods with
14224         several ways to specify a command and a bool to indicate whether
14225         the command name and shortcut should be displayed in minibuffer
14226         (eventually, we could extend that to a finer bitmask like
14227         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14228         (dispatch): the pristine dispatch command which just, well,
14229         dispatchs! Note it still sets its result to minibuffer; I'm not
14230         sure we want that.
14231
14232         * lyxfunc.h: remove setHintMessage
14233
14234         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14235
14236 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14237
14238         * BufferView_pimpl.C (specialChar): delete new inset if we have
14239         not been able to insert it.
14240
14241         * kbmap.C: revert to using int instead of kb_action, since all we
14242         are dealing with is pseudo-actions.
14243
14244         * LyXAction.C (searchActionArg): change to return int instead of
14245         kb_action, since the result is a pseudoaction.
14246
14247 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14248
14249         * buffer.C (insertErtContents): Fix (partially) the font bug.
14250
14251 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14252
14253         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14254         as the other one is broken on my machine!
14255
14256 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14257
14258         * commandtags.h:
14259         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14260
14261 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14262
14263         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14264         reflect their actual use. Provide compatibility code for older lyxrc
14265         files.
14266
14267         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14268         FL_NORMAL_STYLE.
14269         change names of popup font variables in line with the changes to lyxrc.C
14270
14271 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14272
14273         * buffer.C (asciiParagraph): avoid outputing a word twice after
14274         an inset.
14275
14276         * lyxrc.C (getDescription): document that document_path and
14277         template_path can be empty.
14278
14279 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14280
14281         * LaTeXFeatures.C (getMacros):
14282         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14283
14284         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14285
14286         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14287         getPackages.
14288         (getPackages): rename feature "floats" to "float". Use an array to
14289         iterate over 'simple' features (i.e. just a \usepackage). Add
14290         handling of "amsmath" (renamed from "amsstyle").
14291
14292 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14293
14294         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14295         features list.
14296
14297 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14298
14299         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14300         FuncStaus::FuncStatus & FuncStaus::some_method().
14301
14302 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14303
14304         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14305         of the func_satus stuff. Edited and massaged in various ways by
14306         JMarc.
14307
14308         * lyxfunc.C (getStatus): use FuncStatus
14309
14310 2002-01-08  Juergen Vigna  <jug@sad.it>
14311
14312         * text.C (nextBreakPoint): use function Inset::isChar().
14313
14314         * paragraph.C (TeXOnePar): use function
14315         Inset::forceDefaultParagraphs.
14316
14317         * buffer.C (latexParagraphs): use function
14318         Inset::forceDefaultParagraphs.
14319
14320 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14321
14322         * lyx_gui.C (init): set the style of the menu popups to
14323         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14324
14325 2002-01-07  Juergen Vigna  <jug@sad.it>
14326
14327         * text.C (setHeightOfRow): small fix
14328         (prepareToPrint): don't look at alignment if we don't have the place
14329         for doing it.
14330
14331 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14332
14333         * box.C: New file. Move the Box methods and functions out of box.h,
14334         following Lars' suggestion.
14335
14336 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14337
14338         * box.h: #include "support/LOstream.h", needed for inlined function.
14339
14340         * lyxtextclass.C:
14341         * lyxtextclasslist.C: added some using std declarations.
14342
14343 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14344
14345         * box.h: make signed dimensions to allow insets wider than
14346           the screen (bug #162)
14347
14348         * BufferView_pimpl.C: add some insetHit debug
14349
14350 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14351
14352         * vc-backend.C: add FIXME
14353
14354 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14355
14356         * lyxfunc.C (getStatus): enable code for showing math font status
14357         in toolbar/menu.
14358
14359 2002-01-07  Juergen Vigna  <jug@sad.it>
14360
14361         * text.C (nextBreakPoint): removed debug output not needed anymore.
14362
14363 2002-01-06  Juergen Vigna  <jug@sad.it>
14364
14365         * text.C (nextBreakPoint): fixed up this function we had this bug
14366         since ever but now hopefully we break row better.
14367         (insertChar): we have to check if an inset is the next char as it
14368         could now happen that a large inset is causing a break.
14369
14370 2002-01-05  Juergen Vigna  <jug@sad.it>
14371
14372         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14373         if it doesn't like to be drawed.
14374
14375 2002-01-04  Juergen Vigna  <jug@sad.it>
14376
14377         * BufferView2.C (lockInset): forgot to set a cursor.
14378
14379         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14380
14381 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14382
14383         * FormMathsPanel.C:
14384         * FormMathsPanel.h
14385         * MathsSymbols.C:
14386         * form_maths_panel.C:
14387         * form_maths_panel.h:
14388         * form_maths_panel.fd: implemented sub- and super- buttons in math
14389         panel.
14390
14391         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14392         (or ^ space) to be used as in TeX (req'd by Andr�.
14393
14394         * lyxfunc.C: Allow ^ and _ again to be used both as
14395         super/subscript (mathed) and as themselves (in text).
14396
14397 2002-01-03  Allan Rae  <rae@lyx.org>
14398
14399         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14400         "LyX" or the filename of the current buffer if it has one.  This is a
14401         modified form of John Levon's patch.
14402
14403         * XFormsView.C (setWindowTitle): also set icon title.
14404
14405         * LyXView.h (setWindowTitle): signature changed.
14406         * XFormsView.h (setWindowTitle): ditto.
14407
14408 2002-01-02  Juergen Vigna  <jug@sad.it>
14409
14410         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14411
14412 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14413
14414         * screen.C (topCursorVisible): introduce a temp var for
14415         text->cursor.row(), handle the case where this row is null. (kindo
14416         hachish)
14417
14418         * text2.C (setCursor): add a couple of asserts.
14419
14420         * paragraph.h (inset_iterator): add -> operator
14421
14422         * paragraph.[Ch] (autoDeleteInsets): remove member function
14423
14424         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14425         cursor pos correctly and handle inset deletion by itself.
14426         (insertErrors): move iterator declaration out of for expression
14427
14428         * lyxtextclass.C: add <algorithm>
14429
14430         * Makefile.am: added the new files to sources, removed layout.C
14431
14432         * layout.C: removed file
14433
14434         * layout.h: remove LYX_DUMMY_LAYOUT
14435
14436         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14437         layout.
14438
14439         * lyxlayout.[Ch]:
14440         * lyxtextclass.[Ch]:
14441         * lyxtextclasslist.[Ch]: new files
14442
14443         * include order changes to a lot of files, also changes because of
14444         the six new files.
14445
14446 2001-12-27  Juergen Vigna  <jug@sad.it>
14447
14448         * buffer.C (asciiParagraph): more fixes.
14449
14450         * tabular.C (ascii): make ascii export support export of only the
14451         data separated by a column-delimiter.
14452         (ascii): better support for ascii export.
14453
14454         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14455
14456 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14457
14458         * tabular_funcs.C: use a "using std::getline" instead of the
14459         previous fix from Angus (necessary for cxx + lyxstring)
14460
14461 2001-12-24  Juergen Vigna  <jug@sad.it>
14462
14463         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14464
14465         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14466         problems. First check a minipage also if we have some ert-contents
14467         (not only on par->size(), second set the right depth of the paragraph
14468         on the relink to the root-paragraph-list!
14469
14470         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14471         which then did not anymore update the main paragraphs on undo/redo!
14472
14473 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14474
14475         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14476         code. Support all font-changing funcs (even those which are not in
14477         menu currently). Support for reporting font settings in
14478         mathed (disabled until Andre provides a function on mathed's side).
14479
14480         * func_status.h (toggle): small helper function to set toggle
14481         state on a flag.
14482
14483 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14484
14485         * tabular_funcs.C: getline -> std::getline
14486
14487 2001-12-21  Juergen Vigna  <jug@sad.it>
14488
14489         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14490         accessed and could be 0 (I couldn't generate this but it seems
14491         Michael could!).
14492
14493 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14494
14495         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14496         * tabular_funcs.h: here and include iosfwd
14497
14498 2001-12-20  Juergen Vigna  <jug@sad.it>
14499
14500         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14501         inside inset but undo_par was.
14502
14503 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14504
14505         * Thesaurus.C: always include <config.h> in sources.
14506
14507         * Painter.h:
14508         * lyxlookup.h:
14509         * box.h: do not include <config.h> in header files
14510
14511         * text.C (paintLastRow): remove unused variable
14512
14513         * text.C (transformChar):
14514         (insertChar):
14515         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14516
14517         * Painter.C (text):
14518         * font.C (width): rewrite to use uppercase() instead of
14519         islower/toupper.
14520
14521         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14522
14523 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14524
14525         * lyxfind.C: clean up of find failure position change
14526
14527 2001-12-20  Juergen Vigna  <jug@sad.it>
14528
14529         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14530
14531         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14532         (TeXRow): added to LaTeX a single tabular row.
14533         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14534         (Latex): simplified and finally good LT-h/f support.
14535         (various_functions): just small adaptions for LT-h/f support.
14536
14537         * tabular_funcs.[hC]: added and moved here all not classfunctions
14538         of LyXTabular.
14539
14540 2001-12-19  Juergen Vigna  <jug@sad.it>
14541
14542         * tabular.[Ch]: better support for longtabular options (not finished
14543         yet!)
14544
14545 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14546
14547         * text.C (paintLastRow): use the label font instead of the font of
14548         the last character to compute the size of *_BOX. This makes more
14549         sense and avoids a crash with empty paragraphs.
14550         Use Painter::rectangle to draw EMPTY_BOX.
14551
14552 2001-12-19  Juergen Vigna  <jug@sad.it>
14553
14554         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14555         the paragraphs if the replaced paragraph is not the first one!
14556         Tried to delete not used paragraphs but does not work yet so for
14557         now it's inside #ifdef's and by default off!
14558
14559 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14560
14561         * MenuBackend.C: include "lyx_main.h" instead of declaring
14562         lastfiles (actually was declared as LastFiles* instead of a
14563         scoped_ptr).
14564
14565 2001-12-17  Juergen Vigna  <jug@sad.it>
14566
14567         * tabular.C (AppendColumn): applied John's fix
14568
14569 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14570
14571         * BufferView.h:
14572         * BufferView.C:
14573         * BufferView_pimpl.h:
14574         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14575
14576         * Makefile.am:
14577         * box.h: new start of class for above
14578
14579         * lyxfunc.C: ignore space-only minibuffer dispatches.
14580           Show the command name when it doesn't exist
14581
14582         * minibuffer.C: don't add empty lines to the history
14583
14584         * minibuffer.C: add a space on dropdown completion
14585
14586 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14587
14588         * text.C: fix line above/below drawing in insets
14589
14590 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14591
14592         * lyxlength.C (LyXLength): Initialize private variables.
14593
14594 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14595
14596         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14597         when inserting error insets.
14598
14599 2001-12-13  Juergen Vigna  <jug@sad.it>
14600
14601         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14602         actually sometimes the before-paragraph.
14603         (setUndo): don't clear the redostack if we're not actually undoing!
14604
14605 2001-12-06  Juergen Vigna  <jug@sad.it>
14606
14607         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14608         and fixed redoing of main paragraph, so we can use it now ;)
14609
14610         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14611
14612 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14613
14614         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14615         Juergen's request
14616
14617 2001-12-13  André Pönitz <poenitz@gmx.net>
14618
14619         * undostack.[Ch]:
14620         * undo_func.C: minor cleanup
14621
14622 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14623
14624         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14625         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14626         font in urw-fonts package which is marked as -urw-fontspecific and
14627         does not work (incidentally, changing the encoding in the
14628         fonts.dir of this package to -adobe-fontspecific fixes the
14629         problem).
14630
14631         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14632         is a crash when undoing first paragraph (Juergen, please take a
14633         look). THis does not mean the undo fix is wrong, just that it
14634         uncovers problems.
14635
14636         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14637         the (Paragraph*) version when needed instead of duplicating the
14638         code.
14639
14640         * text.C (workWidth): use Inset::parOwner to find out where the
14641         inset has been inserted. This is a huge performance gain for large
14642         documents with lots of insets. If Inset::parOwner is not set, fall
14643         back on the brute force method
14644
14645         * paragraph_pimpl.C (insertInset):
14646         * paragraph.C (Paragraph):
14647         (cutIntoMinibuffer): set parOwner of insets when
14648         inserting/removing them
14649
14650         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14651
14652 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14653
14654         * commandtags.h:
14655         * LyXAction.C:
14656         * lyx_main.C:
14657         * lyxfunc.C:
14658         * mathed/formulabase.C:
14659         * mathed/math_cursor.[Ch]:
14660         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14661
14662
14663 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14664
14665         * lyxlength.[Ch] (operator!=): new function
14666
14667 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14668
14669         * text.C (workWidth): use Inset::parOwner to find out where the
14670         inset has been inserted. This is a huge performance gain for large
14671         documents with lots of insets. If Inset::parOwner is not set, fall
14672         back on the brute force method
14673
14674         * paragraph_pimpl.C (insertInset):
14675         * paragraph.C (Paragraph):
14676         (cutIntoMinibuffer): set parOwner of insets when
14677         inserting/removing them
14678
14679         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14680
14681 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14682
14683         * tabular-old.C (getTokenValue):
14684         * tabular.C (getTokenValue):
14685         (write_attribute): new versions for LyXLength
14686         (everywhere): adjust the use of widths
14687
14688         * tabular.h: change the type of widths from string to LyXLength
14689
14690 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14691
14692         * paragraph.C: fixed missing line number count when exporting
14693         Environments to LaTeX file
14694
14695         * buffer.C: added informational message for checking line numbers.
14696
14697 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14698
14699         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14700         paragraph, do the 'double space' part, but not the 'empty
14701         paragraph' one.
14702
14703         * text.C (workWidth): small optimization
14704         (getLengthMarkerHeight): use minimal size for negative lengths.
14705
14706 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14707
14708         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14709
14710         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14711
14712 2001-12-11  André Pönitz <poenitz@gmx.net>
14713
14714         * FontLoader.C:
14715         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14716
14717 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14718
14719         * text2.C: keep selection on a setFont()
14720
14721 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14722
14723         * lyx_cb.C: another bv->text misuse, from insert label
14724
14725 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14726
14727         * kbsequence.h:
14728         * kbsequence.C: re-instate nmodifier mask
14729
14730 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14731
14732         * lyx_main.h: make lyxGUI private.
14733
14734 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14735
14736         * lyxfind.C: place the cursor correctly on failed search
14737
14738 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14739
14740         * text.C (getLengthMarkerHeight): for small heights, the arrows
14741         are not always on top/bottom of the text
14742         (drawLengthMarker): smaller arrows; take the left margin in
14743         account; draw also vfills.
14744         (paintFirstRow):
14745         (paintLastRow): remove special code for vfill and standard spaces,
14746         since everything is handled in drawLengthMarker now.
14747
14748 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14749
14750         * buffer.C (insertErtContents): try to handle font and language
14751         interaction a bit better.g
14752
14753         * ColorHandler.C (updateColor): change the hash to cover the whole
14754         LColor enum, ws cleanup
14755         (getGCLinepars): ditto
14756         (getGCLinepars): only lookup in the linecache once.
14757
14758 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14759
14760         * iterators.C (operator++): Make the iterator more robust
14761
14762         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14763         (John's patch)
14764         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14765
14766 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14767
14768         * lyxtext.h:
14769         * text.C: better added space drawing
14770
14771 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14772
14773         * LyXView.C:
14774         * BufferView2.C: fix layout combo update on inset unlock
14775
14776 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14777
14778         * Makefile.am: don't compile unused files
14779
14780 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14781
14782         * lyxfunc.C:
14783         * commandtags.h:
14784         * LyXAction.C: remove old LFUN_LAYOUTNO
14785
14786 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14787
14788         * paragraph_pimpl.h:
14789         * paragraph_pimpl.C: isTextAt() doesn't need font param
14790
14791 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14792
14793         * lyxlex.h:
14794         * lyxlex.C: little cleanup
14795
14796 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14797
14798         * BufferView_pimpl.C: fix insertAscii for insets
14799
14800 2001-12-05  Juergen Vigna  <jug@sad.it>
14801
14802         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14803         set the right font on the "multi" paragraph paste!
14804
14805 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14806
14807         * trans_decl.h:
14808         * trans_mgr.[Ch]:
14809         * trans.[Ch]:
14810         * lyxgluelength.C:
14811         * lyxlength.C: remove out-commented code.
14812
14813         * BufferView_pimpl:
14814         * CutAndPaste.C:
14815         * DepTable.C:
14816         * buffer.C:
14817         * chset.C:
14818         * lastfiles.C:
14819         * lyxlex.C:
14820         * lyxlex_pimpl.C:
14821         * lyxserver.C:
14822         * screen.C:
14823         * tabular-old.C:
14824         * tabular.C:
14825         * text.C:
14826         * trans_mgr.C:
14827         * vc-backend.C: change "while(" to "while ("
14828
14829         * lyxlength.[Ch]: add zero function to check if length is zero or
14830         not
14831         * lyxgluelength.C: use it
14832
14833 2001-12-05  Allan Rae  <rae@lyx.org>
14834
14835         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14836         Works for 2.95.3, from what I understand of Garst's reports this should
14837         work for other g++ versions.  We're screwed if the abs(int) definition
14838         changed between bugfix releases of gcc.
14839
14840 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14841
14842         * text.C: fix chapter label offset !
14843
14844 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14845
14846         * lyxtext.h:
14847         * text.C: fix hfill at end of line, clean up
14848
14849 2001-12-04  Juergen Vigna  <jug@sad.it>
14850
14851         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14852         that we force an update of the inset and it's owners if neccessary.
14853
14854 2001-12-03  Juergen Vigna  <jug@sad.it>
14855
14856         * text.C (rowLast): simplified code
14857
14858 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14859
14860         * lyxfunc.C: fix show options on timeout
14861
14862 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14863
14864         * screen.C (topCursorVisible): scroll half a page when the cursor
14865         reached top of bottom of screen
14866
14867 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14868
14869         * minibuffer.C: deactivate on loss of focus
14870
14871 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14872
14873         * vspace.[Ch] (operator!=): add operator.
14874
14875 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14876
14877         * BufferView_pimpl.C: refuse to open an inset when
14878         there's a selection.
14879
14880 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14881
14882         * BufferView_pimpl.C: allow to click on RHS of full row insets
14883
14884 2001-11-30  Juergen Vigna  <jug@sad.it>
14885
14886         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14887         insets for undo reasons.
14888
14889 2001-11-28  André Pönitz <poenitz@gmx.net>
14890
14891         * vspace.[Ch]: cosmetical changes
14892
14893 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14894
14895         * LyXAction.h:
14896         * LyXAction.C:
14897         * lyxfunc.h:
14898         * lyxfunc.C:
14899         * kbmap.h:
14900         * kbmap.C:
14901         * lyxrc.C:
14902         * kbsequence.h:
14903         * kbsequence.C: part re-write of old kb code
14904
14905         * Painter.C:
14906         * WorkArea.C: remove Lgb_bug_find_hack
14907
14908 2001-11-30  José Matos <jamatos@fep.up.pt>
14909
14910         * buffer.C (makeDocBookFile): add a comment to point a hack.
14911         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14912         Fixed a double write of labels.
14913
14914 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14915
14916         * LaTeX.C:
14917         * LaTeX.h Fixed bug in LaTeX class where it would not
14918         re-run latex if no depfiles were changed, but the .dvi was removed.
14919
14920 2001-11-28  André Pönitz <poenitz@gmx.net>
14921
14922         * all the files from the change on 2001/11/26:
14923         use lyx::layout_type instead of LyXTextClass::size_type
14924         use lyx::textclass_type instead of LyXTextClassList::size_type
14925
14926 2001-11-29  Juergen Vigna  <jug@sad.it>
14927
14928         * text.C: added support for paragraph::isFreeSpacing()
14929
14930         * buffer.C: same as above
14931
14932         * paragraph.h: inserted isFreeSpacing() function to enable
14933         FreeSpacing inside InsetERT.
14934
14935         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14936         of the paragraph's in the cut/copy buffer to 0!
14937
14938         * text2.C (removeRow): remove the assert as it can!
14939
14940         * lyxtext.h: added helper function firstRow returning firstrow and
14941         made firstrow private again.
14942
14943         * BufferView2.C (lockInset): don't relock if we're already locked!
14944
14945         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14946         the only paragraph.
14947         (removeRow): added Assert::(firstrow)
14948
14949         * debug.C: forgot to add INSETTEXT here.
14950
14951 2001-11-28  Juergen Vigna  <jug@sad.it>
14952
14953         * sp_spell.C (initialize): changed error text to more general
14954         spellchecker command use (not only ispell!)
14955
14956         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14957
14958         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14959
14960 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14961
14962         * vspace.C: initialise lyxgluelength on failure
14963
14964 2001-11-28  Allan Rae  <rae@lyx.org>
14965
14966         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14967         declaration & definition that looks like a function declaration.
14968
14969 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14970
14971         * BufferView2.C (copy):
14972         (copyEnvironment): do not clear the selection when doing a copy.
14973
14974         * text.C (paintFirstRow): compilation fix
14975
14976 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14977
14978         * tabular.C (Latex): correct line count when writing latex.
14979
14980 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14981
14982         * paragraph_pimpl.h:
14983         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14984           bug a bit
14985
14986 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14987
14988         * text.C:
14989         * LColor.h:
14990         * LColor.C: change vfillline->added_space
14991
14992         * text.C: add markers and text for added space
14993
14994         * vspace.C: fix comment
14995
14996 2001-11-28  André Pönitz <poenitz@gmx.net>
14997
14998         * paragraph.C: whitespace changes
14999         * all the other files from the change on 2001/11/26:
15000         change *::pos_type into lyx::pos_type
15001
15002 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15003
15004         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15005         language of the document when inserting error insets.
15006
15007 2001-11-26  André Pönitz <poenitz@gmx.net>
15008
15009         * BufferView_pimpl.[Ch]:
15010         *       CutAndPaste.C:
15011         * buffer.[Ch]:
15012         * lyxcursor.[Ch]:
15013         * lyxfind.C:
15014         * lyxfunc.C:
15015         * lyxrow.[Ch]:
15016         * paragraph.[Ch]:
15017         * paragraph_pimpl.[Ch]:
15018         * sp_spell.C:
15019         * text.C:
15020         * text2.C: reduce header dependencies, introduce type for positions
15021
15022 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15023
15024         * <various>: change to use Alert.h
15025
15026 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15027
15028         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15029         when encountering an unknown token.
15030         (readLyXformat2): Show an error message if there were unknown tokens.
15031
15032 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15033
15034         * BufferView2.C:
15035         * BufferView_pimpl.C:
15036         * buffer.C:
15037         * paragraph.h:
15038         * text.C:
15039         * text2.C: use par->isInset()
15040
15041 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15042
15043         * paragraph_pimpl.h:
15044         * paragraph_pimpl.C: cleanup
15045
15046 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15047
15048         * text2.C (removeRow):
15049         * text.C (setHeightOfRow): remove useless (and costly) call to
15050         getRow.
15051
15052 2001-11-20  Allan Rae  <rae@lyx.org>
15053
15054         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15055         Now need Inset*::checkInsertChar() to return true for appropriate
15056         cases so that the characters in the minibuffer will actually be
15057         inserted.
15058
15059 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15060
15061         * text.C: change the order of the includes.
15062         (workWidth): initialize it at once.
15063         (workWidth): make maxw unsigned
15064         (setHeightOfRow): remove unused variable (inset)
15065         (selectSelectedWord): remove unused variable (inset)
15066         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15067
15068 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15069
15070         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15071         server is not running.
15072         (openConnection):
15073         (closeConnection): add debug info when server is disabled.
15074
15075         * ColorHandler.C (getGCForeground): send debug message to GUI
15076         channel.
15077
15078         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15079
15080         * kbmap.C (bind): modify because return conventions of
15081         kb_sequence::parse have changed.
15082
15083         * kbsequence.C (parse): only ignore spaces and not any stupid
15084         control character. This avoids tests like s[i] <= ' ', which are
15085         guaranteed to fail with 8bit characters and signed chars.
15086         Change return code to string::npos when there have been no error
15087         (0 was a bad idea when error is at first character)
15088
15089 2001-11-14  José Matos  <jamatos@fep.up.pt>
15090
15091         * buffer.h:
15092         * buffer.C (simpleDocBookOnePar): removed unused argument.
15093
15094 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15095
15096         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15097         insets which are part of a word. Paragraph::isLetter takes care of
15098         that now. Use Paragraph::isInset to identify insets.
15099         (selectSelectedWord): do not test for hyphenation break.
15100
15101         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15102         that protected spaces are considered as spaces.
15103
15104         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15105         Inset::isLetter.
15106
15107 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15108
15109         * lyxserver.h:
15110         * lyxserver.C: fix it. and small cleanup.
15111
15112 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15113
15114         * BufferView_pimpl.C: use inline helpers
15115
15116         * LaTeXFeatures.h:
15117         * LaTeXFeatures.C: fix typos
15118
15119         * Spacing.h:
15120         * Spacing.C: move spacing_string into class
15121
15122         * ToolbarDefaults.C: move stuff into namespace anon
15123
15124         * layout.h: update enum
15125
15126         * lyxfunc.C: use better debug
15127
15128         * minibuffer.h: fix typo
15129
15130         * debug.h:
15131         * debug.C:
15132         * WorkArea.C: add and use Debug::WORKAREA
15133
15134         * lyxtext.h:
15135         * text.C:
15136         * text2.C: code re-organisation, inline helpers
15137
15138 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15139
15140         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15141         std::vector.empty().
15142
15143 2001-11-09  Allan Rae  <rae@lyx.org>
15144
15145         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15146         '\n's after tables.  Tabular and ERT inset work now makes this no
15147         longer necessary.
15148
15149 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15150
15151         * minibuffer.h:
15152         * minibuffer.C: fix crash, improve drop-down completion
15153
15154 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15155
15156         * lyxserver.h:
15157         * lyxserver.C: invalidate fd's when doing endPipe()
15158
15159 2001-11-08  José Matos  <jamatos@fep.up.pt>
15160
15161         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15162         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15163
15164         * paragraph.h:
15165         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15166
15167 2001-11-07  José Matos  <jamatos@fep.up.pt>
15168
15169         * buffer.h:
15170         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15171         const qualifier.
15172
15173         * buffer.C (sgmlOpenTag):
15174         * buffer.C (sgmlCloseTag): removed debug info.
15175
15176         * buffer.h (sgmlOpenTag):
15177         * buffer.h (sgmlCloseTag): made public.
15178
15179 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15180
15181         * buffer.C (saveParamsAsDefaults):
15182         * lyx_cb.C (MenuLayoutSave): remove
15183
15184         * LyXAction.C (init):
15185         * commandtags.h:
15186         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15187
15188 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15189
15190         * buffer.C (setPaperStuff): removed from here...
15191
15192         * bufferparams.C (setPaperStuff): ... and moved there.
15193
15194 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15195
15196         * minibuffer.h:
15197         * minibuffer.C:
15198         * XFormsView.C: add support for drop-down completion
15199
15200 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15201
15202         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15203         commands.
15204
15205 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15206
15207         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15208         disabled.
15209
15210 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15211
15212         * lyx_main.C: change ref to known bugs
15213
15214 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15215
15216         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15217         to work around older babel problems.
15218
15219 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15220
15221         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15222
15223 2001-10-24  Juergen Vigna  <jug@sad.it>
15224
15225         * tabular-old.C (ReadOld): below variable changes reflected.
15226
15227         * tabular.[Ch]: added ltType struct for longtable header/footer
15228         defines and changed all instances where they are used. Added
15229         future support for double top/bottom rows.
15230
15231 2001-10-24  José Matos  <jamatos@fep.up.pt>
15232
15233         * buffer.h (docbookHandleCaption):
15234         * buffer.C (docbookHandleCaption): removed unused function.
15235         (makeDocBookFile): moved docbook supported version to v4.1.
15236
15237 2001-10-24  José Matos  <jamatos@fep.up.pt>
15238
15239         * tabular.h:
15240         * tabular.C (docbookRow): new function to export docbook code of a row.
15241         (DocBook): now honors the longtable flags.
15242
15243 2001-10-23  José Matos  <jamatos@fep.up.pt>
15244
15245         * LaTeXFeatures.h:
15246         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15247         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15248
15249         * buffer.C (makeLinuxDocFile):
15250         (makeDocBookFile): reworked the preamble, more clean, and with
15251         support for lyx defined entities. Changed the document declaration
15252         to be more XML friendly.
15253
15254         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15255         if we need to output XML that should be done with a filter.
15256
15257 2001-10-22  Juergen Vigna  <jug@sad.it>
15258
15259         * sp_pspell.h (class PSpell): add alive function needed in the
15260         controller to see if the spellchecker could be started.
15261
15262 2001-10-22  Juergen Vigna  <jug@sad.it>
15263
15264         * buffer.C (insertStringAsLines): modify the font for inserting
15265         chars in certain conditions by calling checkInsertChar(font).
15266
15267 2001-10-19  Juergen Vigna  <jug@sad.it>
15268
15269         * text.C (workWidth): use getRow instead of wrong algorithm.
15270         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15271
15272 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15273
15274         * lyxserver.h:
15275         * lyxserver.C:
15276         * lyx_main.h:
15277         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15278
15279 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15280
15281         * text.C (workWidth): do not search for the exact row when
15282         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15283         optimization for big documents.
15284
15285 2001-10-18  Juergen Vigna  <jug@sad.it>
15286
15287         * text.C (workWidth): new function with added Inset * parameter.
15288
15289 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15290
15291         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15292
15293         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15294         change return type of getColumnNearX.
15295
15296
15297         * text.C (changeRegionCase): use uppercase/lowercase instead of
15298         toupper/tolower.
15299         (leftMargin):
15300         (rightMargin): simplify code by factoring out the uses of
15301         textclasslist.
15302         (labelFill):
15303         (numberOfHfills):
15304         (setHeightOfRow):
15305         (appendParagraph): use Paragraph::size_type
15306
15307 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15308
15309         * vspace.C (asLatexString): add a missing break
15310
15311 2001-10-15  Herbert Voss  <voss@perce.de>
15312
15313         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15314
15315 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15316
15317         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15318         is not available.
15319
15320 2001-10-10  André Pönitz <poenitz@gmx.net>
15321
15322         * lyxfunc.C: removed greek_kb_flag.
15323
15324 2001-10-10  Herbert Voss  <voss@perce.de>
15325
15326         * lyx_main.C: delete global string help_lyxdir.
15327
15328 2001-10-09  Herbert Voss  <voss@perce.de>
15329
15330         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15331
15332         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15333
15334         * lyx_main.C: added global string help_lyxdir.
15335
15336         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15337
15338 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15339
15340         * lyxrc.C (set_font_norm_type): support iso8859-4
15341
15342 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15343
15344         * LaTeX.C (deplog): add another regex for MikTeX
15345
15346 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15347
15348         * lyxrc.C (set_font_norm_type): support iso8859-3
15349
15350 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15353
15354         * LaTeXFeatures.C: remove special case of french and index
15355
15356         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15357         before \begin{document}). This solves several incompatibilities.
15358
15359 2001-10-03  Garst Reese  <reese@isn.net>
15360
15361         * lyx_cb.C: change CheckTex error msg.
15362
15363 2001-10-03  José Matos  <jamatos@fep.up.pt>
15364
15365         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15366
15367 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15368
15369         * .cvsignore: update
15370
15371         * lyx_main.C (commandLineVersionInfo): use new style version info.
15372
15373         * buffer.C (writeFile):
15374         (makeLaTeXFile):
15375         (makeLinuxDocFile):
15376         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15377
15378         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15379
15380         * version.h: update to use stuff in version.C
15381
15382         * version.C.in: new file. Contains version information determined
15383         at compile time. This is a merging of version.h and
15384         version_info.h.in.
15385
15386 2001-10-03  Juergen Vigna  <jug@sad.it>
15387
15388         * BufferView_pimpl.C (update): don't change "dirty" status in
15389         updateInset call.
15390
15391 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15392
15393         * WorkArea.C (c-tor): re-position version string slightly.
15394
15395 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15396
15397         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15398         revert to previous code.
15399
15400         WorkArea.[Ch]: (show, destroySplash): methods removed.
15401
15402         WorkArea.C: rework code so that it's an amalgam of the codes before and
15403         after the splash screen was moved to WorkArea.
15404
15405 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15406
15407         * lyxrc.C (read):
15408         * vspace.C (inPixels):
15409         (lyx_advance):
15410         * kbmap.C (bind):
15411         * buffer.C (insertStringAsLines):
15412         (asciiParagraph): fix types to be large enough
15413
15414         * lyxlex_pimpl.h: change member status from short to int
15415
15416         * layout.h: fix type of endlabeltype
15417
15418         * kbmap.C (bind):
15419         * kbsequence.C (parse): change return type to string::size_type
15420
15421         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15422         variable
15423
15424         * Bullet.C (bulletSize):
15425         (bulletEntry): do not use short ints as parameters
15426
15427         * BufferView2.C (insertLyXFile): change a char to an int.
15428
15429         * WorkArea.C (WorkArea): remove unneeded floats in computation
15430
15431 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15432
15433         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15434
15435         * paragraph.C (asString): Do not ignore newline/hfill chars when
15436         copying to the clipboard.
15437
15438 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15439
15440         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15441         after a multi-line inset.
15442
15443 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15444
15445         * paragraph.C (validate): Set NeedLyXFootnoteCode
15446
15447 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15448
15449         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15450         and decrease-error to decrease.
15451
15452 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15453
15454         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15455         it more readable (should be equivalent)
15456
15457 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15458
15459         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15460
15461 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15462
15463         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15464         of a cursor (row, etc.) after a character has been deleted
15465         (deleteEmptyParagraphMechanism): call the method above on _all_
15466         cursors held by the LyXText when a double space has been
15467         detected/deleted.
15468
15469 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15470
15471         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15472         pixmap.
15473         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15474
15475         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15476         background. Use greyOut() and the new show() methods to toggle between
15477         the foreground and background. Add code to remove the splash after
15478         its initial showing.
15479
15480         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15481         (create_forms): no longer call Dialogs::showSplash.
15482
15483 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15484
15485         * .cvsignore: add version_info.h
15486
15487 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15488
15489         * version_info.h.in: new file
15490
15491         * Makefile.am: add version_info.h.in
15492
15493         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15494         version_info.h instead of VERSION_INFO
15495
15496 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15497
15498         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15499         The ERT inset now returns string().
15500
15501 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15502
15503         * lyxtext.h, text.C (selectNextWord): renamed as
15504         selectNextWordToSpellcheck.
15505
15506         * text.C (selectNextWordToSpellcheck): Modified to not select
15507         words inside an ERT inset.
15508
15509 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15510
15511         * lyx_cb.C (MenuLayoutSave): change a bit the question
15512
15513         * sp_base.h: include <sys/types.h>
15514
15515 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15516
15517         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15518
15519 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15520
15521         * several files: fix typos in user-visible strings
15522
15523 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15524
15525         * text2.C (pasteSelection): do not set the selection, since it
15526         will be cleared later. Actually, the intent was to fix the way the
15527         selection was set, but I figured rmoving the code was just as good.
15528
15529 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15530
15531         * FontLoader.C (available): Check if font is available without
15532         loading the font.
15533
15534 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15535
15536         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15537
15538 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15539
15540         * lyxrc.[Ch]: added display_graphics variable and associated code.
15541
15542 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15543
15544         * bufferparams.C (hasClassDefaults): new method. Returns true if
15545         the buffer parameters correspond to known class defaults
15546
15547 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15548
15549         * XFormsView.C (show): set minimum size to the main window.
15550
15551 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15552
15553         * text2.C (copySelection):
15554         (cutSelection):
15555         * lyxfind.C (LyXReplace):
15556         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15557         LyXText::selectionAsString.
15558
15559         * paragraph.C (asString): add "label" argument to the second form
15560
15561         * text2.C (selectionAsString): add "label" argument and pass it to
15562         Paragraph::asString.
15563
15564 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15565
15566         * lyx_main.C (commandLineHelp): remove version information
15567
15568 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15569
15570         * lyx_main.C: add -version commandline option
15571
15572 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15573
15574         * paragraph.h: make the optional constructor arg required instead.
15575         some modifications to other files because of this.
15576
15577         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15578
15579         * lyxserver.C (C_LyXComm_callback): make it static
15580
15581         * lyx_main.C (error_handler): make it static
15582
15583         * lyx_gui.C (LyX_XErrHandler): make it static
15584
15585         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15586
15587         * WorkArea.C: make the extern "C" methods static.
15588
15589         * Makefile.am (lyx_LDADD): simplify
15590
15591 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15592
15593         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15594         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15595
15596         * LyXAction.C (init):
15597         * lyxfunc.C (dispatch): associated code removal.
15598
15599 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15600
15601         * lyxfont.h (isSymbolFont): shut off warning
15602
15603         * text.C (setHeightOfRow):
15604         (getVisibleRow): fix crash with empty paragraphs which have a
15605         bottom line
15606
15607 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15608
15609         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15610         code.
15611
15612 2001-09-04  José Matos  <jamatos@fep.up.pt>
15613         * buffer.C
15614         * buffer.h
15615         * tabular.C (docbook): rename docBook method to docbook.
15616
15617 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15618
15619         * Makefile.am: add dependencies to main.o.
15620
15621 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15622
15623         * FontLoader.C (available): Return false if !lyxrc.use_gui
15624
15625 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15626
15627         * FontInfo.C (query):
15628         * converter.C (view):
15629         * importer.C (Import):
15630         * exporter.C (Export): Can not -> cannot.
15631
15632 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15633
15634         * BufferView_pimpl.C: allow to create index inset even if
15635           string is empty
15636
15637 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15638
15639         * buffer.C (getLists): replace boost::tie code with an explicit pair
15640         as boost::tie can break some compilers.
15641
15642         * iterators.h: Added a std:: declaration to the return type of
15643         ParIterator::size.
15644
15645 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15646
15647         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15648           case.
15649
15650 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15651
15652         * iterators.[Ch]: New files. Provide paragraph iterators.
15653
15654         * buffer.C (changeLanguage): Use paragraph iterators.
15655         (isMultiLingual): ditto
15656
15657         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15658
15659 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15660
15661         * FontLoader.C: Support for cmr font.
15662
15663 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15664
15665         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15666         (available): New method.
15667
15668         * FontInfo.C (getFontname): Use scalable fonts even when
15669         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15670         found.
15671
15672 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15673
15674         * converter.C (Formats::view): reverted! Incorrect fix.
15675
15676 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15677
15678         * converter.C (Formats::view): only output the -paper option
15679         if the dvi viewer is xdvi, thereby fixing bug #233429.
15680
15681 2001-08-23  Herbert Voss  <voss@perce>
15682
15683         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15684
15685 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15686
15687         * Spacing.h (Spacing): Set space to Default on in the default
15688         constructor.
15689
15690 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15691
15692         * vc-backend.h (RCS::versionString): add RCS to version
15693         (CVS::versionString): add CVS to version
15694
15695         * vc-backend.C (scanMaster): do not add CVS to version.
15696         (scanMaster): do not add RCS to version
15697
15698         * lyxvc.C (versionString): new method
15699
15700         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15701
15702 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15703
15704         * Spacing.C (set): initialize fval
15705
15706 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15707
15708         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15709         " or \.
15710
15711 2001-08-16  Juergen Vigna  <jug@sad.it>
15712
15713         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15714
15715 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15716
15717         * BufferView_pimpl.C:
15718         * figureForm.C:
15719         * lyxtext.h:
15720         * text2.C: setParagraph takes linespacing now
15721
15722 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15723
15724         * LyxAction.C: add internal LFUN_CITATION_INSERT
15725
15726         * LyXView.C: actually apply fix
15727
15728         * bufferlist.C: fix open non-existent file
15729
15730         * lyxfind.C: fix indentation
15731
15732         * lyxfunc.C: remove unneeded assert, fix typo
15733
15734 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15735
15736         * MenuBackend.C: use "Floatname List"
15737
15738 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15739
15740         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15741         when converting LaTeX layout to insetERT.
15742         Generate a non-collapsed float when reading old float
15743
15744 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15745
15746         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15747         ERT insets.
15748
15749 2001-08-13  Juergen Vigna  <jug@sad.it>
15750
15751         * text.C (fill): return 0 instead of 20 as this seems to be the more
15752         correct value.
15753
15754 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15755
15756         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15757         lyxrc.font_norm.
15758
15759 2001-08-13  Juergen Vigna  <jug@sad.it>
15760
15761         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15762         casesensitive off.
15763         (SearchBackward): comment out the unlocking of the inset_owner this
15764         should not be needed!
15765
15766 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15767
15768         * Many files: Remove inherit_language, and add latex_language
15769
15770         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15771         collapsible insets.
15772
15773 2001-08-10  Juergen Vigna  <jug@sad.it>
15774
15775         * text.C (prepareToPrint): fixed hfill-width in draw!
15776
15777         * BufferView2.C (selectLastWord): save the selection cursor as this
15778         now is cleared in the function LyXText::clearSelection!
15779
15780 2001-08-08  Juergen Vigna  <jug@sad.it>
15781
15782         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15783         BACKSPACE type functions.
15784
15785         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15786         is only cutted from the document but not put in the cut-buffer, where
15787         still the old stuff should be.
15788
15789         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15790
15791         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15792
15793         * tabular.C (SetWidthOfCell): fixed special case where the width
15794         was not updated!
15795         (LeftLine): handle '|' in align_special.
15796         (RightLine): ditto
15797         (LeftAlreadyDrawed): ditto
15798         (SetWidthOfCell): ditto
15799
15800 2001-08-07  Juergen Vigna  <jug@sad.it>
15801
15802         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15803
15804 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15805
15806         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15807         * lyxlex.[hC]: ditto
15808
15809 2001-08-06  Juergen Vigna  <jug@sad.it>
15810
15811         * text.C (getVisibleRow): fix up row clearing a bit.
15812
15813 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15814
15815         * minibuffer.C: make sure the X server sees the changes in the input.
15816
15817 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15818
15819         * paragraph.C (getFont): split into...
15820         (getLabelFont): this
15821         (getLayoutFont): and this
15822         * paragraph_pimpl.C (realizeFont): calling this
15823
15824         * text2.C (getFont): split into...
15825         (getLayoutFont): this
15826         (getLabelFont): and this
15827         (realizeFont): all three calling this
15828
15829         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15830         files where used.
15831
15832 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15833
15834         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15835
15836 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15837
15838         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15839         layouts from the Quote inset insertion.
15840
15841 2001-08-03  Juergen Vigna  <jug@sad.it>
15842
15843         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15844
15845         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15846         only if status not is already CHANGED_IN_DRAW (second level).
15847
15848         * text.C (draw): don't set the need_break_row when inside an
15849         InsetText LyXText.
15850
15851 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15852
15853         * buffer.C (parseSingleLyXformat2Token): handle more latex
15854         conversion cases.
15855
15856         * bufferview_funcs.[hC]: change function names to
15857         begin with small char, adjust other files.
15858
15859 2001-08-02  André Pönitz <poenitz@gmx.net>
15860
15861         * lyxfunc.C:
15862         BufferView_pimpl.C: remove broken special code for math-greek
15863
15864 2001-08-02  Juergen Vigna  <jug@sad.it>
15865
15866         * BufferView_pimpl.C (update): redone this function so that we
15867         update the text again if there was a CHANGE_IN_DRAW.
15868
15869         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15870         (drawFromTo): added a new internal bool which is used by draw() and
15871         redraw() function.
15872         (general): some cursor drawing problems fixed.
15873
15874 2001-08-01  Juergen Vigna  <jug@sad.it>
15875
15876         * lyxfind.C (LyXFind): fixed
15877         (SearchForward): ditto
15878         (SearchBackward): ditto
15879
15880         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15881         spurius drawing of the cursor in the main area.
15882
15883         * text2.C (status): small fix which could lead to a segfault!
15884         (clearSelection): remove unneeded BufferView param.
15885
15886 2001-08-01  André Pönitz <poenitz@gmx.net>
15887
15888         * lyxfunc.C: small change due to changed mathed interface
15889
15890 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15891
15892         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15893
15894 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15895
15896         * lyxfunc.c: fail gracefully if file doesn't exist
15897
15898         * LyXSendto.C:
15899         * buffer.C:
15900         * lyxfunc.C:
15901         * BufferView_pimpl.C: IsDirWriteable() proto changed
15902
15903         * LyXView.C: fix updateWindowTitle() to store the last title
15904
15905 2001-07-31  Juergen Vigna  <jug@sad.it>
15906
15907         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15908         the font (wrong since using of Paragraph::highestFontInRange).
15909
15910         * paragraph.C (highestFontInRange): added a default_size parameter.
15911
15912         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15913         (setHeightOfRow): reformat
15914
15915 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15916
15917         * converter.[hC] + affected files: move to (inital-char)lowercase
15918         function names.
15919
15920         * ParagraphParameters.C (ParagraphParameters): remove commented code
15921
15922         * PainterBase.[Ch]: remove commented code
15923
15924         * LaTeXFeatures.h: add "bool floats" for float.sty
15925
15926         * LaTeXFeatures.C (LaTeXFeatures): init floats
15927         (require): handle float
15928         (getPackages): do it with floats
15929
15930 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15931
15932         * BufferView_pimpl.C (Dispatch): improve handling of
15933         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15934
15935         * commandtags.h: #include lyxfont.h here temporarily to avoid
15936         keybinding bug.
15937
15938         * bufferlist.h: include LString.h here.
15939
15940 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15941
15942         * text2.C (getStringToIndex): new method.
15943
15944 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15945
15946         * *: Reduced header file dependencies all over.
15947
15948 2001-07-30  Baruch Even  <baruch@lyx.org>
15949
15950         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15951
15952 2001-07-29  Baruch Even  <baruch@lyx.org>
15953
15954         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15955
15956 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15957
15958         * ParameterStruct.h (endif): add a default constructor to make
15959         sure that all variables is initialized.
15960
15961         * ParagraphParameters.C (ParagraphParameters): adjust
15962
15963 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15964
15965         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15966         index; also, check that there is something to index, and that it
15967         does not span over several paragraphs.
15968         (doubleClick): use WHOLE_WORD_STRICT for double click.
15969
15970         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15971
15972         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15973         scheme.
15974
15975 2001-07-26  Baruch Even  <baruch@lyx.org>
15976
15977         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15978         an InsetFig figure, backwards compatible reading of old figure code.
15979
15980 2001-07-27  Juergen Vigna  <jug@sad.it>
15981
15982         * text2.C: font.realize function adaption.
15983
15984         * text.C (draw): add a warnings lyxerr text if needed.
15985
15986         * layout.C: font.realize function adaption.
15987
15988         * language.C: add inherit_language and implement it's handlings
15989
15990         * bufferview_funcs.C (StyleReset): remove language parameter from
15991         font creation (should be language_inherit now).
15992
15993         * bufferparams.C (writeFile): handle ignore_language.
15994
15995         * paragraph.C (getFontSettings): the language has to be resolved
15996         otherwise we have problems in LyXFont!
15997
15998         * lyxfont.C (lyxWriteChanges): added document_language parameter
15999         (update): removed unneeded language parameter
16000
16001         * paragraph.C (validate): fixed wrong output of color-package when
16002         using interface colors for certain fonts in certain environments,
16003         which should not seen as that on the final output.
16004
16005 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16006
16007         * BufferView_pimpl.C:
16008         * Thesaurus.h:
16009         * Thesaurus.C:
16010         * Makefile.am:
16011         * commandtags.h:
16012         * LyXAction.C: add thesaurus support
16013
16014         * lyxfind.h:
16015         * lyxfind.C: add "once" parameter, for thesaurus, to not
16016           move to the next match
16017
16018 2001-07-26  Juergen Vigna  <jug@sad.it>
16019
16020         * lyxfont.C (realize): honor ignore_language too!
16021         (resolved): ditto.
16022
16023         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16024
16025         * text.C (draw): one place more for ignore_language to not draw
16026         itself!
16027
16028 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16029
16030         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16031
16032 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16033
16034         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16035         the minipage conversion problem.
16036
16037 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16038
16039         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16040         insert an inset.
16041
16042 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16043
16044         * BufferView.h: don't forward declare WorkArea
16045
16046         * BufferView.C: don't include WorkArea.h
16047
16048 2001-07-25  André Pönitz <poenitz@gmx.net>
16049
16050         * commandtags.h:
16051         * LyXAction.C:
16052         * lyxfunc.C:  new LFUN 'math-space'
16053
16054         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16055
16056 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16057
16058         * text2.C (toggleInset): call open/close
16059
16060 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16061
16062         * lyxfunc.C (dispatch): add debug for the disabled case
16063
16064         * font.C (buttonText): make similar to rectText
16065
16066         * buffer.C (readInset): comment out parsing of insetlist and
16067         insttheorem
16068
16069         * PainterBase.C (rectText): small correction
16070
16071         * BufferView_pimpl.C: comment out insettheorem and insetlist
16072         * LyXAction.C: ditto
16073         * commandtags.h: ditto
16074
16075 2001-07-24  Juergen Vigna  <jug@sad.it>
16076
16077         * text.C (draw): honor the ignore_language.
16078
16079         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16080
16081 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16082
16083         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16084         char inset.
16085
16086 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16087
16088         * lyxtext.h: remove unused (and unimplemented) methods
16089
16090 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16091
16092         * text.C (getVisibleRow): honor background color
16093
16094         * PainterBase.h:
16095         * Painter.h: remove default color argument for fillRectangle
16096
16097         * text.C (backgroundColor): new method
16098
16099 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16100
16101         * text.C (getVisibleRow): adjust
16102
16103         * font.[Ch] (rectText): new method, metrics
16104         (buttonText): new method, metrics
16105
16106         * PainterBase.[hC]: make rectText and buttonText always draw and take
16107         fewer paramteres.
16108
16109 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16110
16111         * ToolbarDefaults.C (read):
16112         * MenuBackend.C (read): allow escaping in all strings
16113
16114         * BufferView_pimpl.C (insertAndEditInset): new method.
16115         (Dispatch): use insertAndEditInset whenever appropriate.
16116
16117         * BufferView_pimpl.C (insertNote): removed
16118
16119         * BufferView_pimpl.C (smartQuote): new method, moved from
16120         BufferView; if an insetquote cannot be inserted, insert a '"'
16121         character instead.
16122
16123         * BufferView2.C: remove insertCorrectQuote();
16124
16125         * lyxfunc.C (getStatus): Add support for all remaingin
16126         inset-insert lfuns.
16127
16128         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16129
16130         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16131         command (necessary to pass " as parameter of self-insert.
16132
16133         * text.C (selectWordWhenUnderCursor):
16134         (selectWord): add word_location parameter
16135         (selectWordWhenUnderCursor): same + remove special code for word
16136         boundary.
16137         (selectNextWord): use kind() to guess type of insetspecialchar,
16138         not latex().
16139
16140         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16141         (insertErtContents): create ert insets as collapsed.
16142         (readInset): better compatibility code for Info inset.
16143
16144 2001-07-20  Juergen Vigna  <jug@sad.it>
16145
16146         * lyxfunc.C (dispatch): use always LyXFind now!
16147
16148         * text2.C (init): add a reinit flag so that the LyXText can be
16149         reinited instead of deleted and reallocated (used in InsetText).
16150
16151         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16152
16153         * text.C: ditto
16154
16155         * text2.C: ditto
16156
16157 2001-07-18  Juergen Vigna  <jug@sad.it>
16158
16159         * text.C (selectNextWord): handle insets inside inset by calling
16160         always the bv->text functions so that we can go up the_locking_inset!
16161
16162         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16163         in strange locations when inside an inset!
16164
16165         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16166         handling to include insets.
16167
16168         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16169
16170 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16171
16172         * LyXAction.C (init):
16173         * commandtags.h:
16174         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16175         LIGATURE_BREAK, since the name is so stupid.
16176
16177 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16178
16179         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16180         InsetInfos.
16181
16182         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16183
16184         * sp_form.[Ch]: remove.
16185
16186         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16187
16188         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16189         InsetInfo.
16190
16191         * src/buffer.C (readInset): ditto.
16192
16193 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16194
16195         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16196         menuSeparator(), endOfSentenceDot(), ldots() and
16197         hyphenationPoint(), which are therefore removed.
16198         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16199
16200         * LyXAction.C (init):
16201         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16202
16203         * paragraph.C (getWord): removed.
16204
16205         * BufferView_pimpl.C (Dispatch): use last word or selection for
16206         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16207
16208         * lyx_main.C (queryUserLyXDir): do not ask before creating
16209         user_dir, except if it has been named explicitely.
16210
16211 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16212
16213         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16214         a document of zero size.
16215
16216 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16217
16218         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16219         approriately in the c-tor and in require().
16220         (getPackages): output the appropriate LaTeX for natbib support.
16221
16222         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16223         variables "use_natbib" and "use_numerical_citations" when reading the
16224         LyX file.
16225         (readInset): read the various natbib cite commands.
16226         (validate): white-space change.
16227
16228         * bufferparams.[Ch]: new variables "bool use_natbib" and
16229         "bool use_numerical_citations".
16230         (writeFile): output them in the LyX file.
16231
16232 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16233
16234         * lyxfunc.C (getStatus): add support for all the inset insertion
16235         commands.
16236
16237         * text2.C (insertInset):
16238         * paragraph.C (insetAllowed):
16239         * BufferView_pimpl.C (insertInset): update to take in account the
16240         renaming of insertInsetAllowed
16241
16242         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16243
16244         * text2.C (getInset): new method. returns inset at cursor position.
16245
16246         * BufferView_pimpl.C (Dispatch): changes because of this.
16247
16248         * LyXAction.C (init): rename open-stuff to inset-toggle.
16249
16250         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16251
16252         * text2.C (toggleInset): renamed from openStuff; use
16253         Inset::open().
16254
16255 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16256
16257         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16258
16259         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16260
16261 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16262
16263         * buffer.C (readLyXformat2): Add filename to the error dialog
16264
16265 2001-07-18  Juergen Vigna  <jug@sad.it>
16266
16267         * tabular.C (GetCellNumber): put an assert here instead of the check!
16268
16269 2001-07-17  Juergen Vigna  <jug@sad.it>
16270
16271         * BufferView_pimpl.C (toggleSelection): adapted too.
16272
16273         * text.C (selectNextWord): adapted for use with insets.
16274         (selectSelectedWord): ditto
16275
16276 2001-07-17  Juergen Vigna  <jug@sad.it>
16277
16278         * sp_spell.C (PSpell): fix initialitation order.
16279
16280 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16281
16282         * paragraph.C: spacing
16283
16284 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16285
16286         * sp_spell.C: repair language selection for pspell
16287
16288 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16289
16290         * lyxfunc.h: change more methods to begin with lower char.
16291
16292 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16293
16294         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16295         for unknown layouts.
16296
16297 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16298
16299         * buffer.C (readLyXformat2): Generate an error dialog if there are
16300         unknown layouts.
16301
16302 2001-07-16  Juergen Vigna  <jug@sad.it>
16303
16304         * sp_spell.C: always compile ISpell part.
16305
16306         * lyxrc.C: added use_pspell entry and it's handling.
16307
16308 2001-07-13  Juergen Vigna  <jug@sad.it>
16309
16310         * sp_spell.C: removed double includes.
16311
16312 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16313
16314         Consistent use of Lsstream.h:
16315         * Lsstream.h: added using std::stringstream for consistencies sake.
16316
16317         * buffer.C: removed using std::stringstream
16318
16319         * lyxfont.C (stateText):
16320         * paragraph.C (asString):
16321         * text.C (selectNextWord, selectSelectedWord):
16322         * text2.C (setCounter):
16323         * vspace.C (asString, asLatexString):
16324         std::ostringstream -> ostringstream.
16325
16326 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16327
16328         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16329         * commandtags.h: add LFUN_HELP_ABOUTLYX
16330         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16331
16332 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16333
16334         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16335         cursorToggle()
16336         * lyx_gui_misc.C: remove spellchecker
16337         * lyxfunc.C: showSpellchecker
16338         * sp_base.h: added
16339         * sp_ispell.h: added
16340         * sp_pspell.h: added
16341         * sp_spell.C: added
16342         * sp_form.[Ch]: removed
16343         * spellchecker.[Ch]: removed
16344
16345 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16346
16347         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16348         is set.
16349         (simpleTeXSpecialChars): Simply print the input character without
16350         any special translation if pass_thru is set.
16351
16352         * layout.h: Added bool pass_thru to layout class for being able to
16353         implement pass through of a paragraph for Literate Programming.
16354
16355         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16356         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16357         * layout.C (Read): add "passthru" to list of layout tags and add
16358         code to set the pass_thru boolean when it is read.
16359
16360 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16361
16362         * trans_decl.h: remove allowed from KmodInfo
16363
16364         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16365         remove allowed code
16366         (Load): adjust
16367
16368         * paragraph_pimpl.C (erase): use boost::prior
16369
16370         * Painter.C (text): use data() instead of c_str() when length is
16371         also provided.
16372         * WorkArea.C (putClipboard): ditto
16373         * font.h (width): ditto
16374
16375         * BufferView2.C: use it-> instead of (*it). for iterators
16376         * texrow.C: ditto
16377         * paragraph_pimpl.C: ditto
16378         * paragraph.C: ditto
16379         * minibuffer.C: ditto
16380         * language.C: ditto
16381         * kbmap.C: ditto
16382         * encoding.C: ditto
16383         * counters.C: ditto
16384         * converter.C: ditto
16385         * chset.C: ditto
16386         * Variables.C: ditto
16387         * TextCache.C: ditto
16388         * MenuBackend.C: ditto
16389         * LyXAction.C: ditto
16390         * LColor.C: ditto
16391         * FloatList.C: ditto
16392         * DepTable.C: ditto
16393         * ColorHandler.C (LyXColorHandler): ditto
16394
16395 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16396
16397         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16398
16399         * text2.C (openStuff): reintroduce this method (which had been
16400         nuked in NEW_INSETS frenzy).
16401
16402         * lyxfunc.C (Dispatch): when an action has not been handled, use
16403         its name in the error message, not its number.
16404
16405         * paragraph.C (inInset): change method name to begin with lowercase.
16406
16407         * undo_funcs.C:
16408         * text2.C: updates because of this.
16409
16410 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16411
16412         * ToolbarDefaults.C (add): add spaces in error message
16413
16414 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16415
16416         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16417         (readLyXformat2): rename return_par to first_par, use lyxlex's
16418         pushToken and remove the manual push handling.
16419         (parseSingleLyXformat2Token): add another ert comp. variable:
16420         in_tabular, rename return_par to first_par. handle newlines better
16421
16422 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16423
16424         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16425
16426 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16427
16428         * text2.C (getParFromID): removed
16429
16430         * buffer.C (getParFromID): new method moved form lyxtext.
16431         * BufferView2.C (insertErrors): adjust
16432         (setCursorFromRow): adjust
16433         * BufferView_pimpl.C (restorePosition): adjust
16434         * lyxfunc.C (Dispatch): adjust
16435         * undo_funcs.C (textUndo): adjust
16436         (textRedo): adjust
16437         (textHandleUndo): adjust
16438         (textHandleUndo): adjust
16439
16440 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16441
16442         * buffer.C: up' the LYX_FORMAT
16443
16444         * lyxfont.h: turn NO_LATEX on as default
16445
16446         * buffer.C (insertErtContents): new methods of tex style compability.
16447         (parseSingleLyXformat2Token): use it several places.
16448         * tabular.C (OldFormatRead): and here
16449
16450 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16451
16452         * text2.C: remove some commented code.
16453         reindent file.
16454
16455         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16456         * trans.C: changes because of the above.
16457
16458 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16459
16460         * text2.C (setCounter): Fix counters bug with bibliography layout.
16461
16462 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16463
16464         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16465         own member functions
16466         (simpleTeXSpecialChars): ditto
16467
16468 2001-07-06  Juergen Vigna  <jug@sad.it>
16469
16470         * a lot of files: changed the access to LyXText::status and the
16471         call of undo-functions.
16472
16473         * undo.[Ch]: added a inset_id to the undo informations.
16474
16475         * undo_funcs.[Ch]: added and moved here all undo functions.
16476
16477         * lyxtext.h: give the status enum a weight, made status_ a private
16478         variable and made accessor functions for it, removed the whole bunch
16479         of undo-functions as they are now in their own file, make some
16480         functions publically available. Added function ownerParagraph with
16481         int parameter.
16482
16483         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16484         made InInset() a const function, added getParFromID() function.
16485
16486         * buffer.[Ch]: added const version for inset_iterator functions,
16487         added getInsetFromID() function.
16488
16489         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16490         changed undo functions for new version.
16491
16492 2001-07-05  Juergen Vigna  <jug@sad.it>
16493
16494         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16495         unknow mechanism does not call the proper constructor but only this
16496         one also if I request the other!?
16497
16498 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16499
16500         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16501
16502         * text2.C (LyXText): use initialization lists.
16503
16504         * lyxtext.h (Selection): initialize set_ and mark_
16505         (init): remove method
16506
16507 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16508
16509         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16510
16511 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16512
16513         * screen.[Ch]: change method names to begin with lowercase
16514
16515         * BufferView_pimpl.C (updateScrollbar): simplify further and
16516         hopefully make it a bit faster.
16517
16518 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16519
16520         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16521         calling directly xforms functions.
16522
16523         * Painter.C (Painter):
16524         * lyx_cb.C (MenuWrite):
16525         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16526         fl_display.
16527
16528         * lyx_gui.C: remove bogus guiruntime extern declaration.
16529
16530 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16531
16532         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16533         in NEW_INSETS
16534         (redoDrawingOfParagraph): ditto
16535         (redoParagraphs): ditto
16536         (cutSelection): don't create a object for CutAndPaste use the
16537         static method directly
16538         (pasteSelection): ditto
16539
16540         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16541         LyXview (+ rename)
16542
16543 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16544
16545         * modifications to some other files because of this.
16546
16547         * Makefile.am (lyx_SOURCES): add XFormsView
16548
16549         * XFormsView.[Ch]: new files
16550
16551         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16552         the main window. Move the gui dependent stuff to XFormsView
16553
16554 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16555
16556         * tabular.C (GetCellInset): update cur_cell also in the row/col
16557         version of this function.
16558
16559         * lyxfunc.C: no need to include figure_form.h here.
16560
16561         * FontLoader.h:
16562         * lyxfunc.h:
16563         * lyxscreen.h:
16564         * text2.C:
16565         * lyxvc.C: no need to include forms.h here.
16566
16567 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16568
16569         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16570
16571         * lyxfunc.C (Dispatch):
16572         * Spacing.C (set):
16573         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16574         constructor argument.
16575
16576 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16577
16578         * paragraph.C (Paragraph): dont't clear, and just set layout.
16579         (makeSameLayout): use params's copy contructor.
16580
16581         * ParagraphParameters.[Ch] (makeSame): delete method
16582
16583 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16584
16585         * Variables.[Ch]: fix indentation, rename set to isSet
16586
16587 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16588
16589         * lyxfunc.C (Dispatch): fix typo
16590
16591 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16592
16593         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16594         upper_bound.
16595
16596         * bufferlist.C: include assert.h for emergencyWrite().
16597
16598 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16599
16600         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16601           give up at last (bug #425202) !
16602
16603 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16604
16605         * lyx_gui_misc.C:
16606         * sp_form.h:
16607         * sp_form.C:
16608         * spellchecker.h:
16609         * spellchecker.C: strip spellchecker options and bring up
16610           preferences tab instead
16611
16612 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16613
16614         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16615         the istringstream constructor
16616
16617 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16618
16619         * paragraph.C (getLayout): fix return value
16620
16621         * paragraph.h: do not declare getLayout as inline.
16622
16623         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16624
16625 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16626
16627         * lyxcursor.h (operator<): new func
16628         (operator>): new func
16629         (operator>=): new func
16630         (operator<=): new func
16631
16632         * text.C (changeCase): use selection.start and selection.end
16633         (changeRegionCase): require from to be <= to. Require par to be a
16634         valid paragraph.
16635
16636         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16637
16638 2001-06-27  Juergen Vigna  <jug@sad.it>
16639
16640         * text.C (cursorLeftOneWord): changed to return the cursor and added
16641         overlay with BufferView * parameter which calls this one.
16642         (getWord): added
16643         (selectWord): use new getWord function.
16644         (changeCase): renamed from changeWordCase as and extended to work
16645         also on selections.
16646
16647         * lyxtext.h: added enum word_location
16648
16649         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16650         changeCase as this operates now also on selections.
16651
16652 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16653
16654         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16655
16656         * many files: send debug output to Debug::INFO instead of
16657         Debug::ANY.
16658
16659         * converter.C (View):
16660         (Convert):
16661         (Move): send debug output to Debug::FILES instead of console.
16662
16663 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16664
16665         * lyxfunc.C (getStatus): use func_status
16666
16667         * func_status.h: new header, describing the results of
16668         LyXFunc::getStatus;
16669
16670         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16671         LFUN_MATH_HALIGN.
16672
16673 2001-06-25  The LyX Project  <jug@sad.it>
16674
16675         * buffer.C (sgmlOpenTag):
16676         (sgmlCloseTag):
16677         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16678
16679 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16680
16681         * text2.C: remove some dead code
16682
16683         * tabular.C (GetCellInset): store the last cell checked (gotten)
16684
16685         * tabular.h: add the helper for the speedup
16686
16687         * lyxtext.h: remove some dead code
16688
16689 2001-06-26  The LyX Project  <Asger>
16690
16691         * paragraph.C: Change export to LaTeX of alignment to
16692         \begin{center} and family for better roundtrip work with reLyX.
16693
16694         * Tune the math drawing a bit.
16695
16696 2001-06-25  The LyX Project  <Asger>
16697
16698         * LColor.C (LColor): New color for math background. New color
16699         for buttons.
16700
16701 2001-06-25  The LyX Project  <jug@sad.it>
16702
16703         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16704
16705         * lyxfunc.C (Open):
16706         * bufferlist.C (newFile): do not restrict to files ending with
16707         .lyx
16708
16709         * BufferView_pimpl.C (MenuInsertLyXFile):
16710
16711 2001-06-24  The LyX Project  <jug@sad.it>
16712
16713         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16714         of compare_no_case
16715
16716 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16717
16718         * lyxtext.h: rename most methods to begin with a small char.
16719         Lots of changes because of this.
16720
16721         * paragraph.C (Paragraph): do not call fitToSize
16722         (erase): call Pimpl::erase
16723         (insertChar): call Pimpl::insertChar
16724         (insertInset): call Pipl::insertInset
16725         (breakParagraph): do not call fitToSize
16726         (breakParagraphConservative): do not call fitToSize
16727         (fitToSize): remove method
16728
16729         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16730
16731 2001-06-24  The LyX Project  <Asger>
16732
16733         * Fix Qt compilation^2
16734
16735 2001-06-24  The LyX Project  <jug@sad.it>
16736
16737         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16738         depthHook(getDepth()-1).
16739
16740         * paragraph.h:
16741         * ParagraphParameters.h:
16742         * ParameterStruct.h: change type of depth to unsigned int ==
16743         depth_type. Many adaptations to other files before of that.
16744
16745 2001-06-24  The LyX Project  <Asger>
16746
16747         * Fix Qt compilation.
16748
16749 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16750
16751         * paragraph.h: renamed several methods to begin with small letter.
16752         several changes to many parts of the code because of this.
16753
16754 2001-06-23  The LyX Project  <jug@sad.it>
16755
16756         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16757         rewritten to discard all double spaces when KeepEmpty is off
16758         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16759         to only handle newlines but not fiddle with spaces and friends.
16760
16761         * lyxfunc.C (MenuNew): when doing 'new from template', use
16762         template_path as default directory
16763
16764 2001-06-23  The LyX Project  <Asger>
16765
16766         * Clean-up of header file includes all over
16767         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16768
16769 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16770
16771         * paragraph.h: renamed from lyxparagraph.h
16772
16773 2001-06-23  Asger  <lyx@violet.home.sad.it>
16774
16775         * Buffer.h: Removed Buffer::resize
16776         * BufferList.h: Removed BufferList::resize
16777         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16778         the document lazily when we change the width, or the font settings.
16779
16780 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16781
16782         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16783
16784 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16785
16786         * buffer.h: remove out of date comment
16787
16788 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16789
16790         * lyxscreen.h:
16791         * screen.C: fix "theoretical" GC leak
16792
16793 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16794
16795         * LaTeX.C (scanAuxFile):
16796         (deplog): remove trailing \r when reading stream (useful under
16797         win32)
16798
16799 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16800
16801         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16802         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16803         and BufferView::theLockingInset(Inset*), so should use them and not
16804         access bv_->text->the_locking_inset directly.
16805
16806         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16807
16808 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16809
16810         * Makefile.am:
16811         * tex-defs.h: remove old unused file
16812
16813 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16814
16815         * BufferView_pimpl.C: fix typo, remove minibuffer message
16816           when buffer has loaded
16817
16818 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16819
16820         * lyxfunc.C (Dispatch): use stringstream
16821         (MenuNew): use stringstream
16822         (Open): use stringstream
16823
16824         * importer.C (Import): use stringstream
16825
16826         * bufferview_funcs.C (CurrentState): use stringstream
16827
16828         * LaTeX.C (run): use stringstream
16829
16830         * BufferView_pimpl.C (savePosition): use stringstream
16831         (restorePosition): use stringstream
16832         (MenuInsertLyXFile): use stringstream
16833
16834 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16835
16836         * BufferView.C:
16837         * Bullet.C:
16838         * ColorHandler.C:
16839         * FontInfo.C:
16840         * FontLoader.C:
16841         * LColor.C:
16842         * LaTeXFeatures.C:
16843         * Painter.C:
16844         * gettext.C:
16845         * lyx_gui_misc.C:
16846         * lyxserver.C:
16847         * vspace.C: removed // -*- C++ -*- as first line.
16848
16849         * lyxfind.h:
16850         * version.h: added // -*- C++ -*- as first line.
16851
16852 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16853
16854         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16855
16856         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16857         of string
16858
16859 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16860
16861         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16862         of floats.
16863
16864 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16865
16866         * gettext.C: include LString.h even when --disable-nls is on.
16867
16868 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16869
16870         * converter.h (Get): changed argument type from int to
16871         FormatList::size_type to avoid unnecessary conversion.
16872
16873         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16874         before using it.
16875
16876 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16877
16878         * gettext.h: include LString.h even when --disable-nls is on.
16879
16880 2001-06-07  Juergen Vigna  <jug@sad.it>
16881
16882         * text.C (BreakAgain): subst spaces with tabs.
16883
16884         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16885         (resizeInsetsLyXText): set force on resizeLyXText.
16886
16887 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16888
16889         * gettext.h (gettext_init):
16890         (locale_init): use a real definition instead of a macro
16891
16892 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16893
16894         * Bufferview_pimpl.C:
16895         * LColor.h:
16896         * LColor.C: further lcolor tidies
16897
16898 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16899
16900         * BufferView_pimpl.C (updateScrollbar): simplify.
16901
16902         * BufferView2.C: don't include insets/insetinfo.h, change
16903         prototype for insertInset and call the Pimpl version. let
16904         updateInset call Pimpl version.
16905
16906         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16907         gotoInset to BufferView::Pimpl
16908
16909 2001-06-01  Juergen Vigna  <jug@sad.it>
16910
16911         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16912         inside a LockingInset (is the update needed at all?).
16913
16914 2001-05-31  Juergen Vigna  <jug@sad.it>
16915
16916         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16917         here not the old one otherwise how should we compare it afterwards
16918         if it's the same!
16919
16920 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16921
16922         * lyxfont.C:
16923         * tabular.C:
16924         * tabular-old.C:
16925         * FontInfo.C: bring C functions into global namespace when
16926         necessary
16927
16928 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16929
16930         * LString.h: make sure config.h has been loaded before LString.h.
16931
16932         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16933         (one for each char read by EatLine!).
16934
16935         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16936         variables.
16937
16938 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16939
16940         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16941         to the same as the par we break from
16942
16943 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16944
16945         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16946
16947         * MenuBackend.C (expand): also create menu entries for wide
16948         versions of the floats.
16949
16950         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16951
16952         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16953
16954         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16955         frontends/Makefile.am
16956
16957         * text2.C: adjust
16958         * text.C: adjust
16959
16960
16961         * tabular.C (getTokenValue): add std::
16962
16963         * tabular-old.C (getTokenValue): add std::
16964         (getTokenValue): ditto
16965         (getTokenValue): ditto
16966
16967         * screen.C (ToggleSelection): adjust
16968
16969         * lyxtext.h: put selection cursors inside a Selection struct.
16970
16971         * lyxfunc.C (moveCursorUpdate): adjust
16972
16973         * lyxfont.C (latexWriteStartChanges): add std::
16974
16975         * lyxfind.C: adjust
16976
16977         * font.h: delete with(char const *, LyXFont const &)
16978
16979         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16980
16981         * FontInfo.C (getFontname): add std::
16982
16983         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16984         (workAreaButtonPress): adjust
16985         (tripleClick): adjust
16986         (update): adjust
16987         (moveCursorUpdate): adjust
16988         (Dispatch): adjust
16989
16990         * BufferView2.C (gotoInset): adjust
16991
16992 2001-05-30  Juergen Vigna  <jug@sad.it>
16993
16994         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16995         to check pspell I add this as default as I now have new pspell
16996         libraries and they seem to use this.
16997
16998 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16999
17000         * text2.C (CutSelection): make the cursor valid before the call to
17001         ClearSelection.
17002
17003 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17004
17005         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17006         relied on 0 terminated strings and other horrors. Bug found due to
17007         the new assert in lyxstring!
17008
17009         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17010         KP_ keys.
17011
17012 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17013
17014         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17015         to latinkeys.bind.
17016
17017         * lyxfunc.C (processKeySym): change method of getting to the
17018         self-insert char.
17019
17020         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17021         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17022         * BufferView_pimpl.[Ch]: here as private methods.
17023
17024 2001-05-28  Juergen Vigna  <jug@sad.it>
17025
17026         * text.C (SetHeightOfRow): added the update() call again as it is
17027         needed to initialize inset dimensions!
17028
17029 2001-05-16  Juergen Vigna  <jug@sad.it>
17030
17031         * text2.C (SetCharFont): Add new function with BufferView * and
17032         bool toggleall parameters for setting insets internal fonts.
17033         (SetFont): Freeze the undo as we may change fonts in Insets and
17034         all this change should be inside only one Undo!
17035
17036         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17037         setting font's in insets as for them we have the SetFont function!
17038
17039 2001-05-15  Juergen Vigna  <jug@sad.it>
17040
17041         * text2.C (ClearSelection): to be sure we REALLY don't have any
17042         selection anymore!
17043
17044         * tabular.C (TeXCellPreamble): fixed the left border problem for
17045         multicolumn cells.
17046
17047 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17048
17049         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17050         dependancy file
17051
17052 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17053
17054         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17055         LFUN_BREAKPARAGRAPH.
17056
17057         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17058         help test to "internal only", similar for LFUN_INSERT_URL
17059
17060         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17061         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17062         auto_region_delete and deadkeys.
17063
17064 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17065
17066         * LColor.h:
17067         * LColor.C: remove some dead entries, tidy a little
17068
17069 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17070
17071         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17072         commented code.
17073         (Dispatch): implement LFUN_ESCAPE
17074
17075         * commandtags.h: add LFUN_ESCAPE
17076
17077         * LyXAction.C (init): add entry for LFUN_ESCAPE
17078
17079         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17080         Remove commented code.
17081         (insertNote): moved here
17082         (open_new_inset): moved here
17083
17084         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17085         BufferView_pimpl
17086
17087 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17088
17089         * kbmap.C (findbinding): clean it up and make it work correctly.
17090
17091         * lyx_main.C (init): do not pass argc and argv as parameters
17092
17093 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17094
17095         * buffer.C: fix path for OS/2 & Win32
17096
17097         * lyx_gui.C:
17098         * lyx_main:
17099         * lyx_main.C: Added os:: class.
17100
17101         * os2_defines.h: update
17102
17103 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17104
17105         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17106         better by trying again with reduced state.
17107
17108 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17109
17110         * lyxrc.C (read): print error about invalid key sequence only when
17111         debugging (because not all latinX keysyms are known to some X
17112         servers)
17113
17114         * kbsequence.C (getiso): add a few std:: qualifiers
17115         (getiso): comment out extra return statement.
17116
17117 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17118
17119         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17120         handling.
17121         (Dispatch): enhance the accent inset a bit. (not perfect)
17122
17123 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17124
17125         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17126
17127 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17128
17129         * bufferlist.C (emergencyWrite): fix assert() call
17130
17131 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17132
17133         * text.C (InsertChar): Added trivial patch to only send the "you
17134         can not do multiple spaces this way" message once during a
17135         session.
17136
17137 2001-05-08  Baruch Even  <baruch@lyx.org>
17138
17139         * Makefile.am: Changed order of libraries to get LyX to link properly
17140         with the gnome frontend.
17141
17142 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17143
17144         * LaTeXFeatures.h: add a std:: qualifier
17145
17146 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17147
17148         * paragraph.C (String): use stringstream
17149
17150 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17151
17152         * paragraph.C (writeFile): remove footflag arg
17153
17154         * buffer.C (makeLaTeXFile): use stringstream
17155         (latexParagraphs): remove footnot gurba
17156
17157         * LaTeXFeatures.C (getPackages): use stringstream
17158         (getMacros): likewise
17159         (getTClassPreamble): likewise
17160         (getFloatDefinitions): new method
17161
17162         * paragraph.C (writeFile): reindent
17163         (Erase): reindent
17164
17165         * WorkArea.h: revert the xpos + etc changes.
17166
17167         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17168
17169         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17170
17171         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17172         (pasteSelection): likewise
17173         * text2.C (CreateUndo): likewise
17174
17175 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17176
17177         * minibuffer.C (peek_event): temporarily reduce the functionality
17178         of the minibuffer (to allow args on lfuns)
17179
17180         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17181         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17182
17183         * buffer.C (readInset): add compability reading of old float
17184         lists, add reading of new style float list.
17185         (readInset): avoid reevaluation of inscmd.getCmdName()
17186         (getLists): reindent
17187
17188         * MenuBackend.C (MenuItem): implement parsing of
17189         md_floatlistinsert and md_floatinsert.
17190         (expand::LastFiles): move initalizaton of iterators out of loop,
17191         avoid reevaluation.
17192         (expand::Documents): introduce typdedef vector<string> Strings,
17193         and use it.
17194         (expand::ExportFormats): introduce typedef vector<Format const *>
17195         Formats, and use it.
17196         (expand): implement FloatListInsert and FloatInsert.
17197
17198         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17199         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17200         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17201
17202         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17203         handling.
17204         (Dispatch::LFUN_FLOAT_LIST): implement
17205
17206 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17207
17208         * LaTeX.C (run): Fix problem with --export code.
17209
17210 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17211
17212         * BufferView.[Ch] (workarea): removed.
17213         (getClipboard) new method; wrapper for workarea()->getClipboard()
17214
17215         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17216         bug.
17217
17218         * WorkArea.h (width, height, xpos, ypos): These methods all
17219         returned the dimensions of the work_area sub-area of WorkArea,
17220         resulting in a position error if the WorkArea were resized. Now
17221         return the dimensions of the entire WorkArea.
17222
17223         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17224
17225 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17226
17227         * LaTeX.C (deplog): correct the syntax of regex reg1
17228
17229 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17230
17231         * undo.C: remove !NEW_INSETS cruft
17232
17233 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17234
17235         * text2.C: remove !NEW_INSETS cruft
17236
17237         * text.C: remove !NEW_INSETS cruft
17238
17239         * tabular.C: remove !NEW_INSETS cruft
17240
17241         * spellchecker.C: remove !NEW_INSETS cruft
17242
17243         * lyxtext.h: remove !NEW_INSETS cruft
17244
17245         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17246
17247         * lyxfunc.C: remove !NEW_INSETS cruft
17248
17249         * lyxfind.C: remove !NEW_INSETS cruft
17250
17251         * lyx_cb.C: remove !NEW_INSETS cruft
17252
17253         * figureForm.C: remove  !NEW_INSETS cruft
17254
17255         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17256
17257         * buffer.[Ch]: remove !NEW_INSETS cruft
17258
17259         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17260
17261         * CutAndPaste.C: remove !NEW_INSETS cruft
17262
17263         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17264
17265         * BufferView2.C: remove !NEW_INSETS cruft
17266
17267         * BufferView.h: remove !NEW_INSETS cruft
17268
17269 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17270
17271         * Lsstream.h: include LString.h before the sstream headers to
17272         fix problem with gcc 2.95.3 and lyxstring
17273
17274 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17275
17276         * lyx_main.C: add using directives when needed for C functions
17277         declared in std:: namespace.
17278
17279 2001-04-27  Juergen Vigna  <jug@sad.it>
17280
17281         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17282         (SetHeightOfRow): comment out the update call should not be needed!
17283
17284 2001-04-13  Juergen Vigna  <jug@sad.it>
17285
17286         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17287         (LyXTabular): tried to minimize operator= operations (and realized
17288         hopfully Lars wish).
17289
17290 2001-04-27  Juergen Vigna  <jug@sad.it>
17291
17292         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17293
17294 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17295
17296         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17297
17298         * buffer.C (readInset): hack to make listof algorithm work
17299
17300         * BufferView_pimpl.C: hack to make listof algorithm work
17301
17302 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17303
17304         * LyXAction.C: removed all !NEW_INSETS cruft
17305         (init): moved lfun_item in method
17306
17307         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17308
17309 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17310
17311         * BufferView2.C (theLockingInset): white space.
17312
17313 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17314
17315         * minibuffer.C: include <iostream>
17316
17317         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17318
17319         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17320
17321         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17322
17323         * text.[Ch] (TransposeChars): new method
17324
17325 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17326
17327         * call message directly through LyXView instead of through LyXFunc
17328         * BufferView2.C: adjust
17329         * BufferView_pimpl.C: adjust
17330         * FontLoader.C: adjust
17331         * buffer.C: adjust
17332         * bufferview_funcs.C: adjust
17333         * converter.C: adjust
17334         * figureForm.C: adjust
17335         * importer.C: adjust
17336         * lyx_cb.C: adjust
17337         * lyx_gui_misc.C: adjust
17338         * lyxfunc.C: adjust
17339         * lyxvc.C: adjust
17340         * text2.C: adjust
17341         + more files in subdirs
17342
17343         * lyxparagraph.h (size): move up int file
17344         (GetLayout): ditto
17345
17346         * adjust all uses of Assert to lyx::Assert.
17347
17348         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17349         lyxfunctional in namespace lyx
17350         * layout.C (hasLayout): ditto
17351         (GetLayout): ditto
17352         (GetLayout): ditto
17353         (delete_layout): ditto
17354         (NumberOfClass): ditto
17355         * converter.C (GetFormat): ditto
17356         (GetNumber): ditto
17357         (Add): ditto
17358         (Delete): ditto
17359         (SetViewer): ditto
17360         * bufferlist.C (getFileNames): ditto
17361         (emergencyWriteAll): ditto
17362         (exists): ditto
17363         (getBuffer): ditto
17364         * MenuBackend.C (hasSubmenu): ditto
17365         (hasMenu): ditto
17366         (getMenu): ditto
17367         * BufferView_pimpl.C (getInsetByCode): ditto
17368
17369 2001-04-18  Juergen Vigna  <jug@sad.it>
17370
17371         * vspace.C (asLatexString): fixed the 100% problem.
17372
17373 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17374
17375         * lyxfunc.C (Dispatch):
17376         * minibuffer.C:
17377         * minibuffer.h: add a few std:: qualifiers
17378
17379 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17380
17381         * minibuffer.[Ch]: reimplement so that commands is initiated and
17382         run from lyxfunc, simplified som handling, and made the completion
17383         and history code for complete. wip.
17384
17385         * lyxfunc.C (processKeySym): call message
17386         (miniDispatch): new temporary method
17387         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17388         (LFUN_MESSAGE): implement
17389         (LFUN_MESSAGE_PUSH): implement
17390         (LFUN_MESSAGE_POP): implement
17391         (initMiniBuffer): the initial/defualt minibuffer message.
17392
17393         * lyxfont.[Ch]: inline some more getters
17394
17395         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17396
17397         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17398
17399         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17400         (AutoSave): use LFUN_MESSAGE
17401         (Reconfigure): ditto
17402
17403         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17404
17405         * figureForm.C: use LFUN_MESSAGE
17406
17407         * converter.C (runLaTeX): use LFUN_MESSAGE
17408
17409         * bufferview_funcs.C: use LFUN_MESSAGE
17410         (Melt): ditto
17411         (changeDepth): ditto
17412
17413         * bufferparams.h: use boost::
17414
17415         * bufferlist.h: inherit privately from noncopyable
17416
17417         * bufferlist.C (loadLyXFile): remove some commented code.
17418
17419         * buffer.C (runChktex): use LFUN_MESSAGE
17420
17421         * ShareContainer.h: inherit privately from noncopyable
17422
17423         * ParagraphParameters.[hC] (depth): inline it.
17424
17425         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17426         methods.
17427         (message): new method
17428         (messagePush): ditto
17429         (messagePop): ditto
17430         (show): init minibuffer
17431         (showState): direct call
17432
17433         * LaTeX.[Ch]: inherit privately from noncopyable
17434         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17435         instead of WriteStatus.
17436
17437         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17438
17439         * BufferView_pimpl.C (buffer): don't init minibuffer
17440         (workAreaButtonPress): use LFUN_MESSAGE
17441         (workAreaButtonRelease): ditto
17442         (savePosition): ditto
17443         (restorePosition): ditto
17444         (MenuInsertLyXFile): ditto
17445         (workAreaExpose): don't init minibuffer
17446         (update): remove commented code, simplify
17447
17448         * BufferView2.C (openStuff): use LFUN_MESSAGE
17449         (toggleFloat): ditto
17450         (menuUndo): ditto
17451         (menuRedo): ditto
17452         (copyEnvironment): ditto
17453         (pasteEnvironment): ditto
17454         (copy): ditto
17455         (cut): ditto
17456         (paste): ditto
17457         (gotoInset): ditto
17458         (updateInset): remove some commented code
17459
17460         * lastfiles.h: inherit privately from noncopyable
17461         * layout.h: ditto
17462         * lyx_gui.h: ditto
17463         * lyx_main.h: ditto
17464         * lyxlex.h: ditto
17465         * lyxlex_pimpl.h: ditto
17466
17467         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17468         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17469         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17470
17471         * LyXAction.h: inherit privately from noncopyable, add methods
17472         func_begin, func_end, returning iterators to the func map.
17473
17474         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17475         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17476         (func_begin): new method
17477         (func_end): new method
17478
17479         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17480         and not)
17481         (copySelection): ditto
17482         (pasteSelection): ditto
17483
17484         * BufferView.C: whitespace change
17485         * BufferView.h: inherit privately from noncopyable
17486
17487 2001-04-16  Allan Rae  <rae@lyx.org>
17488
17489         * tabular-old.C (l_getline):
17490         * spellchecker.C (sc_check_word):
17491         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17492         an unrecognised preprocessor directive.  So ensure they're wrapped.
17493
17494 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17495
17496         * src/exporter.C (Export): Give an error message when path to file
17497         contains spaces.
17498
17499 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17500
17501         * LaTeX.C (deplog): Always check that foundfile exists.
17502
17503 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17504
17505         * lyx_main.h:
17506         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17507
17508 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17509
17510         * tabular.[Ch] (getLabelList): implement new method
17511
17512         * minibuffer.h: comment ouf setTiimer
17513
17514         * minibuffer.C (ExecutingCB): constify res
17515         (peek_event): constify s
17516         (Set): constify ntext
17517         (Init): constify nicename
17518
17519         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17520
17521         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17522         (savePosition): use two params to Minibuffer::Set
17523         (restorePosition): ditto
17524
17525 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17526
17527         * lyx_main.C: include language.h
17528
17529         * Makefile.am (lyx_main.o): add language.h
17530
17531 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17532
17533         * exporter.C:
17534         * paragraph.C:
17535         * screen.C:
17536         * tabular.C:
17537         * CutAndPaste.C: include gettext.h
17538
17539         * lyxfont.h: remove old hack with ON and OFF.
17540
17541         * lyxparagraph.h:
17542         * lyxfont.h: do not include language.h...
17543
17544         * BufferView2.C:
17545         * LaTeXFeatures.C:
17546         * Painter.C:
17547         * bufferview_funcs.C:
17548         * font.C:
17549         * lyxfont.C:
17550         * text.C:
17551         * text2.C:
17552         * trans_mgr.C:
17553         * paragraph.C: ... but do it here instead
17554
17555 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17556
17557         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17558
17559         * tabular.C: small reformat
17560
17561         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17562         NEW_INSETS version
17563         (GetChar): ditto
17564         (BreakParagraph): ditto
17565         (SetOnlyLayout): ditto
17566         (SetLayout): ditto
17567
17568         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17569         with one arg less.
17570
17571         * lastfiles.C: removed most using decl, add std:: where needed
17572
17573         * buffer.C: ws changes
17574
17575         * MenuBackend.C (class compare_format): put into anon namespace
17576         (expand): constify label, names, action, action2
17577         (expand):
17578
17579         * text.C (SingleWidth): constify font
17580         (IsBoundary): constify rtl2
17581         (GetVisibleRow): constify ww
17582
17583         * LaTeX.C (deplog): constify logfile
17584
17585         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17586         start_x, end_x
17587         (workAreaExpose): constify widthChange, heightChange
17588
17589         * lyxrow.C (par): moved
17590         (height): moved
17591         (next): moved
17592         * lyxrow.h: as inlines here
17593
17594         * lyxfont.h (shape): moved from lyxfont.C
17595         (emph): moved from lyxfont.C
17596
17597         * lyxfont.C (LyXFont): use initialization list for all
17598         constructors
17599         (shape): move to lyxfont.h as inline
17600         (emph): move to lyxfont.h as inline
17601
17602
17603 2001-04-04  Juergen Vigna  <jug@sad.it>
17604
17605         * vspace.C: had to include stdio.h for use of sscanf
17606
17607 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17608
17609         * BufferView.h:
17610         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17611         independent of xforms.
17612
17613 2001-04-02  Juergen Vigna  <jug@sad.it>
17614
17615         * spellchecker.C: fixed namespace placing!
17616
17617 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17618
17619         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17620         the LyXParagraph * is 0.
17621
17622 2001-03-29  Juergen Vigna  <jug@sad.it>
17623
17624         * vspace.C: added support for %, c%, p%, l%.
17625         (stringFromUnit): added helper function.
17626         (asLatexString): changed to give right results for the %-values.
17627
17628         * buffer.C: convert the widthp in a width%.
17629
17630 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17631
17632         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17633         figureForm.[Ch].
17634
17635         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17636         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17637
17638         * lyx_cb.[Ch]: see above.
17639
17640         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17641         form1.[Ch].
17642
17643         * form1.[Ch]:
17644         * lyx.[Ch]: replaced by figure_form.[Ch].
17645
17646         * lyx_gui.C:
17647         * lyx_gui_misc.C:
17648         * lyxfunc.C: changed headers associated with above changes.
17649
17650 2001-03-27  Juergen Vigna  <jug@sad.it>
17651
17652         * BufferView_pimpl.C: set the temporary cursor right!
17653
17654 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17655
17656         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17657
17658 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17659
17660         * LString.h: removed "using std::getline"!
17661
17662         * BufferView_pimpl.C (Dispatch): changes due to changes in
17663         InsetInclude::Params.
17664
17665         * buffer.C (tag_name): removed redundant break statements as they were
17666         producing lots of warnings with my compiler.
17667
17668 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17669
17670         * LString.h: add "using std::getline" when using the real <string>.
17671
17672 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17673
17674         * buffer.C: removed bitset usage.
17675         PAR_TAG moved to an anonymous name space.
17676         (tag_name): new funtion, also in the anonymous namespace.
17677         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17678         (makeDocBookFile): clean code. Completed transition from string arrays
17679         to string vectors.
17680         (SimpleDocBookOnePar): code clean.
17681
17682 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17683
17684         * tabular.C: add some comments.
17685
17686 2001-03-22  Juergen Vigna  <jug@sad.it>
17687
17688         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17689         compatibility read a bit and fixed bug with minipage in different
17690         depth.
17691
17692 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17693
17694         * buffer.C (pop_tag): removed.
17695         (push_tag): removed.
17696         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17697         array replaced with vector. Added support for CDATA sections.
17698         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17699         at any nest level.
17700         (makeDocBookFile): XML conformant declaration of CDATA section,
17701         fixed bug related to <emphasis> in the first paragraph char.
17702         (sgmlOpenTag): exclude empty tags.
17703         (sgmlCloseTag): ditto.
17704
17705         * buffer.h (pop_tag): removed.
17706         (push_tag): removed.
17707
17708 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17709
17710         * language.h (Languages): added size_type and size().
17711
17712 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17713
17714         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17715         response on compability reading of minipages. One probliem is that
17716         the old usage of minipages was flertydig
17717
17718         * several files here and in subdirs: don't use static at file
17719         scope use anon namespaces instead.
17720
17721 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17722
17723         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17724         LaTeX output. This is necessary for Literate document
17725         processing.
17726
17727 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17728
17729         * buffer.C: insert hfill when needed.
17730
17731         * tabular.C (l_getline): use string::erase, small whitespace change.
17732
17733         * BufferView_pimpl.C: try the anon namespace.
17734         * WorkArea.C: ditto
17735
17736 2001-03-16  Juergen Vigna  <jug@sad.it>
17737
17738         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17739         otherwise it won't open options-dialogs.
17740
17741         * buffer.C: honor pextraWidth(p) on converting minipages.
17742
17743         * tabular.C (l_getline): changed the functions to strip trailing \r.
17744
17745 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17746
17747         * BufferView_pimpl.C:
17748         * minibuffer..C: added "using SigC::slot" declaration.
17749
17750 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17751
17752         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17753
17754         * text2.C: ditto
17755
17756         * text.C: ditto
17757
17758         * paragraph.C: ditto
17759
17760         * lyxtext.h: NO_PEXTRA
17761
17762         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17763
17764         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17765         * ParameterStruct.h: ditto
17766         * ParagraphParameters.h: ditto
17767         * lyxparagraph.h: ditto
17768
17769 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17770
17771         * buffer.C: add compability for minipage alignment.
17772         (latexParagraphs): remove unwanted pextra check.
17773
17774         * several files: remove CXX_WORKING_NAMESPACES
17775
17776         * buffer.C (pop_tag): tie is in namespace boost
17777
17778         * BufferView.h: noncopyable is in namespace boost
17779         * lyxlex.h: ditto
17780         * lyx_main.h: ditto
17781         * lyx_gui.h: ditto
17782         * layout.h: ditto
17783         * lastfiles.h: ditto
17784         * bufferlist.h: ditto
17785         * ShareContainer.h: ditto
17786         * LyXView.h: ditto
17787         * LyXAction.h: ditto
17788         * LaTeX.h: ditto
17789
17790 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17791
17792         * Merging changes from BRANCH_MVC back into HEAD.
17793
17794         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17795
17796 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17797
17798         * BufferView_pimpl.C: change from intl.C
17799
17800         * combox.h:
17801         * combox.C:
17802         * Makefile.am: move combox.*
17803
17804         * form1.h:
17805         * form1.C:
17806         * lyx_gui.C:
17807         * intl.h:
17808         * intl.C: remove dialog (covered by prefs)
17809
17810 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17811
17812         * lyxfunc.C (Dispatch): removed redundant break statement.
17813
17814 2001-03-14  Juergen Vigna  <jug@sad.it>
17815
17816         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17817
17818 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17819
17820         * buffer.C: add hack to fix compability reading of minipages.
17821
17822 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17823
17824         * buffer.C (getLists): Cleanup.
17825
17826 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17827
17828         * lyxfont.C (update): don't honor toggleall on font size.
17829
17830 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17831
17832         * bmtable.c:
17833         * bmtable.h:
17834         * Makefile.am: moved to frontends/xforms/
17835
17836         * lyx_gui_misc.C:
17837         * lyxfunc.C:
17838         * BufferView_pimpl.C: changes for moved mathpanel
17839
17840 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17841
17842         * gettext.h: fix gettext_init() in --disable-nls
17843
17844 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17845
17846         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17847
17848 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17849
17850         * lyx.C:
17851         * lyx.h: strip external form
17852
17853 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17854
17855         * BufferView_pimpl.C: add comment, destroySplash()
17856
17857 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17858
17859         * BufferView_pimpl.C:
17860         * LyXAction.C:
17861         * buffer.C:
17862         * commandtags.h:
17863         * lyxfunc.C: use re-worked insetinclude
17864
17865 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17866
17867         * buffer.C: add using std::stringstream.
17868
17869         * lyx_cb.C: readd using std::ios.
17870
17871         * buffer.C: add using std::map.
17872
17873         * BufferView_pimpl.C: add using std::vector.
17874
17875         * ShareContainer.h: add std:: to swap.
17876
17877         * buffer.h: add some typedefs
17878         * buffer.C (getLists): use them
17879         (getLists): renamed from getTocList.
17880         add a counter for the different float types and use it in the
17881         generated string.
17882         (getLists): use the same counter for the NEW_INSETS and the "non"
17883         NEW_INSETS
17884
17885         * lyx_cb.h: remove unused items, includes, using etc.
17886
17887         * ShareContainer.h: remove some commented code, add more comments
17888         and "documentation".
17889
17890 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17891
17892         * buffer.C (getTocList): make the list also when NEW_INSETS is
17893         defined.
17894
17895         * buffer.h: remove TocType
17896
17897         * buffer.C (getTocList): change to return a map<string,
17898         vector<TocItem> >, implement for dynamic number of list.
17899
17900         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17901         * text2.C (PasteSelection): adjust
17902         * CutAndPaste.C (pasteSelection): adjust
17903
17904         * FloatList.C (FloatList): update from the new_insets branch.
17905         * Floating.[Ch]: ditto
17906         * LaTeXFeatures.C: ditto
17907         * buffer.C: ditto
17908         * lyxlex_pimpl.C: ditto
17909
17910         * paragraph.C (Last): remove when NEW_INSETS is defined.
17911
17912         * other file: changes because of the above.
17913
17914 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17915
17916         * lyxparagraph.h: rename next to next_, previous to previous_,
17917         make them private for NEW_INSETS. Rename Next() to next(),
17918         Previous() to previous().
17919
17920         * other files: changes because of the above.
17921
17922 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17923
17924         * BufferView.h:
17925         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17926         problem.
17927
17928 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17929
17930         * main.C (main): pass lyx_localedir to gettext_init().
17931
17932         * gettext.h: remove locale_init and gettext_init macros
17933
17934         * gettext.C (locale_init): new function
17935         (gettext_init): new function
17936
17937         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17938         setlocale().
17939
17940 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17941
17942         * Moved credits to frontends:
17943         * credits.[Ch]: removed
17944         * credits_form.[Ch]: removed
17945         * lyx_gui_misc.C: remove credits stuff
17946         * Makefile.am:
17947
17948 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17949
17950         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17951
17952         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17953         unneeded destructor.
17954
17955         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17956         a standalone pointer again.
17957
17958         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17959
17960 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17961
17962         * Makefile.am:
17963         * filedlg.h:
17964         * filedlg.C:
17965         * LyXAction.C:
17966         * ToolbarDefaults.C:
17967         * bufferlist.C:
17968         * commandtags.h:
17969         * form1.C:
17970         * form1.h:
17971         * lyx_cb.C:
17972         * lyx_cb.h:
17973         * lyxfunc.h:
17974         * lyxfunc.C:
17975         * BufferView_pimpl.C: use new file dialog in GUII
17976
17977         * lyx_cb.h:
17978         * lyx_cb.C: remove LayoutsCB to Toolbar
17979
17980 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17981
17982         * ShareContainer.h (get): add std:: qualifier
17983
17984 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17985
17986         * ShareContainer.h: define a proper ShareContainer::value_type
17987         type (and use typename to please compaq cxx)
17988
17989 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17990
17991         * lyxparagraph.h: move serveral local vars to
17992         ParameterStruct/ParagraphParameters., use ShareContainer in
17993         FontTable., make vars in FontTable private and add getter and
17994         setter.
17995
17996         * paragraph.C: changes because of the above.
17997
17998         * lyxfont.h: remove copy constructor and copy assignment. (the
17999         default ones is ok), move number inside FontBits. move inlines to
18000         lyxfont.C
18001
18002         * lyxfont.C: add number to initializaton of statics, move several
18003         inlines here. constify several local vars. some whitespace
18004         cleanup. Dont hide outerscope variables.
18005
18006         * Spacing.h: add two new constructors to match the set methods.
18007
18008         * ShareContainer.h: new file, will perhaps be moved to support
18009
18010         * ParameterStruct.h: new file
18011
18012         * ParagraphParameters.h: new file
18013
18014         * ParagraphParameters.C: new file
18015
18016         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18017         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18018
18019         * BufferView_pimpl.C: ParagraphParameter changes.
18020         * buffer.C: Likewise.
18021         * bufferview_funcs.C: Likewise.
18022         * text.C: Likewise.
18023         * text2.C: Likewise.
18024
18025 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18026
18027         * lyxfind.C (LyXReplace): do not redefine default argument in
18028         implementation.
18029         (IsStringInText): ditto
18030         (SearchForward): ditto
18031         (SearchBackward): ditto
18032
18033 2001-03-06  Juergen Vigna  <jug@sad.it>
18034
18035         * lyxfind.C (IsStringInText): put parentes around expressions.
18036
18037 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18038
18039         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18040
18041 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18042
18043         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18044
18045         * stl_string_fwd.h: add comment
18046
18047         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18048
18049         * tabular.h:
18050         * tabular.C: remove unused DocBook methods
18051
18052         * intl.C:
18053         * language.C:
18054         * paragraph.C:
18055         * buffer.C:
18056         killed DO_USE_DEFAULT_LANGUAGE
18057
18058 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18059
18060         * lyx_gui.C: do not include language.h.
18061
18062         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18063         arguments in function implementation.
18064
18065 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18066
18067         * BufferView_pimpl.C: add <ctime>
18068
18069 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18070
18071         * BufferView_pimpl.C: add using std::find_if
18072
18073 2001-02-27  José Matos  <jamatos@fep.up.pt>
18074
18075         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18076         by OnlyPath.
18077
18078 2001-02-11  José Matos  <jamatos@fep.up.pt>
18079
18080         * buffer.C (makeDocBookFile): command styles now have a parameter as
18081         "title" by default.
18082
18083 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18084
18085         * layout_forms.[Ch]: removed
18086         * lyx_cb.[Ch]: out character
18087         * lyx_gui.C: out character
18088         * lyx_gui_misc.C: out character
18089         * bufferview_funcs.C: : out character,
18090         added toggleall as parameter in ToggleAndShow
18091
18092 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18093
18094         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18095
18096         * text2.C (SetCurrentFont): Disable number property at boundary.
18097
18098 2001-02-26  Juergen Vigna  <jug@sad.it>
18099
18100         * lyxfunc.C (getStatus): added a string argument override function so
18101         that this is correctly called from LyXFunc::Dispatch if it contains a
18102         do_not_use_argument which is used!
18103         (Dispatch): added check for "custom" export and call appropriate func.
18104
18105 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18106
18107         * lyxrc.C: Add language_command_local, language_use_babel and
18108         language_global_options.
18109
18110         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18111
18112         * buffer.C (makeLaTeXFile): Use language_use_babel and
18113         language_global_options.
18114
18115 2001-02-23  Juergen Vigna  <jug@sad.it>
18116
18117         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18118         which works with LyXText and putted it inside BufferView. Here now we
18119         only call for that part the BufferView::Dispatch() function.
18120
18121         * BufferView.C (Dispatch): added.
18122
18123         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18124         functions which needs to use a LyXText over from LyXFunc.
18125         (MenuInsertLyXFile): added
18126         (getInsetByCode): added
18127         (moveCursorUpdate): added
18128         (static TEXT): added
18129
18130 2001-02-22  Juergen Vigna  <jug@sad.it>
18131
18132         * BufferView_pimpl.C (update): call a status update to see if LyXText
18133         needs it.
18134
18135 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18136
18137         * vc-backend.C (revert): implement for CVS
18138         (getLog): implement for CVS
18139
18140 2001-02-20  Juergen Vigna  <jug@sad.it>
18141
18142         * text2.C (ClearSelection): added BufferView param for inset_owner call
18143
18144         * lyxfunc.C (TEXT): added this function and use it instead of
18145         directly owner->view()-text of getLyXText().
18146
18147 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18148
18149         * src/layout_forms.C: out preamble
18150         * src/layout_forms.h: out preamble
18151         * src/lyx_cb.C: out preamble
18152         * src/lyx_cb.h: out preamble
18153         * src/lyx_gui.C: out preamble
18154         * src/lyx_gui_misc.C: out preamble
18155         * src/lyxfunc.C: connect with guii preamble
18156
18157 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18158
18159         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18160
18161 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18162
18163         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18164         whether to run bibtex.
18165
18166 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18167
18168         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18169
18170 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18171
18172         * Makefile.am (lyx_SOURCES): removed bibforms.h
18173
18174         * vspace.h: doxygen
18175
18176         * text.C (GetVisibleRow): make several local vars const
18177
18178         * tabular.C: small cleanup.
18179
18180         * lyxserver.C (callback): use compare instead of strncmp
18181
18182         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18183         inlines to after class or to paragraph.C
18184
18185         * lyxfont.h: remove friend operator!=
18186
18187         * converter.h: move friend bool operator< to non friend and after
18188         class def.
18189
18190         * combox.h: small cleanup
18191
18192         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18193         to inlines after class def.
18194
18195         * buffer.C (pop_tag): use string operations instead of strcmp
18196
18197         * bmtable.c: doxygen, small cleanup
18198
18199         * LaTeX.h: remove friend operator==
18200
18201 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18202
18203         * screen.C:
18204         * lyxrc.[Ch]:
18205         * lyxfunc.C:
18206         * lyxfont.[Ch]:
18207         * lyx_cb.C:
18208         * intl.[Ch]:
18209         * commandtags.h:
18210         * buffer.C:
18211         * WorkArea.[Ch]:
18212         * LyXAction.C:
18213         * BufferView_pimpl.C:
18214         * BufferView.[Ch]: remove cruft
18215
18216 2001-02-14  Juergen Vigna  <jug@sad.it>
18217
18218         * lyxfunc.C: removed #if 0 unused code
18219
18220         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18221
18222         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18223
18224         * text2.C (SetSelection): added a BufferView * parameter
18225
18226 2001-02-13  Juergen Vigna  <jug@sad.it>
18227
18228         * lyxfunc.C (Dispatch): fixed protected blank problem.
18229         * BufferView2.C (protectedBlank): added LyxText * parameter.
18230
18231         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18232         (AppendColumn): same as above for column_info.
18233
18234         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18235         (moveCursorUpdate): use a LyXText param for support of InsetText.
18236
18237         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18238         (tripleClick): ditto
18239
18240         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18241
18242         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18243
18244         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18245
18246         * text2.C (SetSelection): set correct update status if inset_owner
18247         (ToggleFree): ditto
18248
18249 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18250
18251         * tabular.C: remove some commented code.
18252
18253 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18254
18255         * BufferView_pimpl.C: call hideSplash()
18256
18257         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18258
18259         * include_form.h:
18260         * bibforms.h: remove
18261
18262         * lyxfunc.C:
18263         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18264           add LFUN_CHILD_CREATE
18265
18266         * counters.h: fix tiny typo
18267
18268         * lyx_cb.C:
18269         * lyx.h:
18270         * lyx_gui.C:
18271         * lyx.C: move splash to frontends/xforms/
18272
18273         * lyx_gui_misc.C: move Include and Bibform to frontends
18274
18275         * lyxvc.h: clarify comment
18276
18277         * vspace.C: tiny housekeeping
18278
18279 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18280
18281         * text.C (PrepareToPrint): RTL Fix.
18282
18283         * paragraph.C (GetUChar): New method.
18284         (String):  Use GetUChar.
18285
18286         * buffer.C (asciiParagraph): Use GetUChar.
18287
18288 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18289
18290         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18291
18292 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18293
18294         * buffer.h:
18295         * buffer.C: rename to getLogName(), handle
18296           build log / latex log nicely
18297
18298 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18299
18300         * MenuBackend.C:
18301         * MenuBackend.h: remove support for reference menuitem type.
18302
18303 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18304
18305         * BufferView_pimpl.C: housekeeping
18306         * BufferView_pimpl.h:
18307         * LyXView.h:
18308         * Makefile.am:
18309         * Timeout.C:
18310         * Timeout.h:
18311         * minibuffer.h: move Timeout GUI-I
18312
18313 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18314
18315         * lyxrc.C (read): Update converters data-structures.
18316
18317 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18318
18319         * LaTeX.h (operator!=): add operator != for Aux_Info
18320
18321 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18322
18323         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18324
18325         * LaTeXLog.C: deleted, useful code moved to Buffer
18326
18327         * buffer.h:
18328         * buffer.C: new function getLatexLogName()
18329
18330         * lyx_gui_misc.C:
18331         * lyx_gui.C:
18332         * lyxvc.C:
18333         * lyxvc.h:
18334         * lyxfunc.C: use frontends for LaTeX and VC logs
18335
18336 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18337
18338         * LaTeX.h: yet another std:: that Allan forgot.
18339
18340         * Variables.C (set): renamed from isset(), because this clashes
18341         with some HP-UX macros (grr).
18342
18343 2001-02-06  Allan Rae  <rae@lyx.org>
18344
18345         * LaTeX.h: Another bug fix.  Missing std:: this time.
18346
18347 2001-02-04  Allan Rae  <rae@lyx.org>
18348
18349         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18350         floats problem. I've left it commented out because it's not quite
18351         correct.  It should also test that the current object is a table or
18352         figure inset.  But I haven't gotten around to figuring out how to do
18353         that.  I *think* it'll be something like: "table" == inset.type()
18354
18355         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18356         bool.
18357
18358 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18359
18360         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18361         all the citation/databases/styles in the auxilary file.
18362         (run): Rerun latex if there was a babel language error.
18363
18364 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18365
18366         * text.C (Backspace): Preserve the font when changing newline char
18367         with a space.
18368         (BreakParagraph): If the cursor is before a space, delete the space.
18369
18370         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18371
18372 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18373
18374         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18375         new argument (code).
18376         (ChangeCitationsIfUnique): New method.
18377
18378         * paragraph.C (GetPositionOfInset): Handle bibkey.
18379
18380 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18381
18382         * BufferView_pimpl.h: change type of Position::par_pos to
18383         LyXParagraph::size_type.
18384
18385 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18386
18387         * BufferView_pimpl.C (savePosition, restorePosition): Write
18388         messages to minibuffer.
18389
18390 2001-01-28  José Matos  <jamatos@fep.up.pt>
18391
18392         * buffer.C (makeDocBookFile): adds support for document language.
18393         A silly restriction on the name of LatexCommand types where removed.
18394         Added support for CDATA sections, allows to chars unescaped, used
18395         among others in code, to avoid escape < and >.
18396
18397 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18398
18399         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18400         saved positions instrad of a stack. Furthermore, a position is
18401         stored using paragraph id/paragraph position.
18402
18403         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18404         Remove LFUN_REF_BACK.
18405
18406 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18407
18408         * converter.C (dvipdfm_options): New method.
18409
18410 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18411
18412         * vspace.C (isValidLength): Fix for empty input string.
18413
18414 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18415
18416         * LyXAction.C (init): change description of LFUN_FIGURE to
18417         "Insert Graphics"
18418
18419 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18420
18421         * LaTeX.C: add using directive
18422
18423 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18424
18425         * MenuBackend.C (expand): Fix the sorting of the formats.
18426
18427 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18428
18429         * lyx_main.C: tiny error message fix
18430
18431 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18432
18433         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18434         calling fl_initialize(). This fixes the problem with ',' as
18435         decimal separator in text files.
18436
18437 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18438
18439         * trans.C (process): Fix the keymap bug.
18440
18441 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18442
18443         * LaTeX.C (scanAuxFiles): New method. Provides support for
18444         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18445         (scanLogFile) Scan for "run BibTeX" messages.
18446
18447         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18448         OT1 font encoding. Also, load the aecompl package if the ae
18449         package is loaded.
18450
18451         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18452
18453 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18454
18455         * texrow.C (increasePos): turn two error messages into debug
18456         messages.
18457
18458 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18459
18460         * LaTeX.C (scanAux): Handle the \@input macro.
18461         (runBibTeX): Use scanAux().
18462
18463         * language.C (latex_options_): New field.
18464
18465         * LaTeXFeatures.C (getMacros): Add language macros.
18466
18467         * buffer.C (makeLaTeXFile): Small fix.
18468
18469 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18470
18471         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18472
18473         * text2.C: add a using directive.
18474
18475 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18476
18477         * BufferView2.C:
18478         * lyx_gui_misc.h:
18479         * lyxfr1.C:
18480         * lyxfunc.C: kill LyXBell.
18481
18482 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18483
18484         * text.C (IsBoundary): Remove the error message
18485
18486         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18487
18488         * lyxrc.C (setDefaults): Correct initialization value for
18489         font_norm_type.
18490
18491 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18492
18493         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18494         gotoError().
18495
18496         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18497         and GotoNextNote().
18498
18499         * src/LyXAction.C: Added reference-next.
18500
18501         * text.C (InsertChar): Use contains instead of strchr.
18502
18503         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18504
18505 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18506
18507         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18508         alignment commands (when needed).
18509
18510         * text.C (InsertChar): Add ':' to number separator chars.