]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
00cae0fac5b6085734b2b184b06eb5fca14762fc
[lyx.git] / src / ChangeLog
1 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * paragraph.C (asString): use new inset->textString method (fix bug 2089)
4
5 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * CutAndPaste.C (numberOfSelections): new helper function.
8
9         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
10
11         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
12         LyXFunc::getStatus; implement LFUN_PASTE.
13
14 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15
16         * dociterator.[Ch]: new member realInset() that returns the cell
17         for tabulars and the inset for the rest (bug 1952).
18         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
19         (bug 1952).
20
21 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
24
25 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
26
27         * lyxfunc.C:
28         * paragraph.C:
29         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
30         argument.
31
32 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
33
34         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
35         line after typing ctrl-enter
36
37 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
38
39         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
40         math insets do not return a proper editable() state yet (bug 2124).
41
42 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
43
44         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
45         docs containing very large paragraphs.
46
47 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
48
49         * cursor.C (selectionBegin, selectionEnd):
50         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
51         cursor at different depths.
52
53 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
54
55         * bufferview_funcs.C (coordOffset): do not call cursorPos
56         for collapsed collapsables (fix bug 2094).
57
58 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
59
60         * paragraph.C (fontSpan): make sure that the FontSpan does not
61         span across beginOfBody (bug 1947).
62
63 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
66
67 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
68
69         * messages.C: fix crash and localization on MinGW/Windows platform
70
71 2005-11-02  Angus Leeming  <leeming@lyx.org>
72
73         * Bidi.C:
74         * lyxtextclass.C: trivial fixes to some MSVS warnings.
75
76 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
77
78         * text3.C (getStatus): re-enable disabled code. (bug 2081)
79
80         * BranchList.h (empty): constify.
81
82 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
83
84         * text3.C (getStatus): 
85         * MenuBackend.C (expandBranches): take the branch list from the
86         master document (bug 2092).
87         
88         * MenuBackend.C (expandBranches): 
89         * bufferparams.C (writeFile): use BranchList type.
90
91 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
92
93         * text3.C (dispatch, getStatus): 
94         * LyXAction.C (init): 
95         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
96
97 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
98
99         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
100
101 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
102
103         * text.C (insertChar): do not reset boundary (bug 2061)
104
105 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * dociterator.C (updateInsets): new method. Updates the inset_
108         cache of all the slices of the iterator.
109
110         * text2.C (deleteEmptyParagraphMechanism): compare also containing
111         insets when comparing pit/pos; pass the right cursor to
112         recordUndo; when a paragraph has been deleted, compare `old.top()' to
113         the right cursor slice of `cur'; use updateInsets on cur to make
114         sure that the inset caches are correct; general cleanup.
115
116 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
117
118         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
119         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
120         containg inset. If this does not work, the same command will be
121         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
122
123         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
124         a dispatch.
125
126 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
127
128         * lyxtextclass.C (Read): convert layout file if the format is wrong
129         * lyxtextclass.C (layout2layout): new, needed for the above
130
131 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
132
133         * messages.C: do not forget to include <cerrno>.
134
135 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
136
137         * dociterator.h (StableDocIterator): add access to pos().
138         * undo.C (samePar): new method to check if two
139         iterators are in the same paragraph
140         * undo.C (recordUndo): check for samePar instead of cell identity
141         (which includes pos() and is too strict) (fixes bug 2097)
142
143 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * text.C (setCursorFromCoordinates): return a bool telling whether
146         dEPM triggered.
147
148         * text3.C (cursorPrevious): update if needed after
149         setCursorFromCoordinates (when dEPM triggered).
150
151         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
152         (otherwise the anchor may be completely wrong and make dEPM assert).
153
154 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
155
156         * buffer.C: version upgrade to 245.
157         * bufferparams.C: remove \quotes_times (bug 2090).
158         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
159         quotation marks as default.
160
161 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
162
163         * CutAndPaste.C (nrOfParagraphs): remove (unused)
164         * CutAndPaste.C (cutSelection): Remove debug message
165         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
166         undo information and only copy if this is a real cut
167         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
168         call
169         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
170         (bug 2059)
171         * CutAndPaste.C (eraseSelection): prevent cursor corruption
172         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
173         superflous cur.selection() setting
174         * CutAndPaste.[Ch] (grabSelection): take a const cursor
175         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
176
177 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
178
179         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
180         change anything.
181
182 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
183
184         * BufferView_pimpl.C: comment layout change
185
186 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
187
188         * LyXAction.C:
189         * lfuns.h:
190         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
191         by bibliography managers (bug 2071).
192
193 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
194
195         * BufferView_pimpl.C (update): choose arguments to update call so
196         that single-par update works most times
197         * text3.C (dispatch): carefully tune updating separately for
198         whole-screen and current-paragraph
199         * rowpainter.C (paintText): 1) replace painting by caching for
200         the two extra paragraphs, because we can;
201         2) suppress greying out of areas below/above drawn area in case of
202         single-par refresh
203         * lyxfunc.C (dispatch): remove superfluous update
204         * LyXAction.[Ch]: introduce SingleParUpdate
205
206 2005-10-05  Angus Leeming  <leeming@lyx.org>
207
208         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
209         always initialised before use.
210
211         * text.C (setHeightOfRow): squash warning about comparison
212         of signed and unsigned types.
213
214 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
215
216         * text.C (cursorX): two fixes involving RtL text drawing
217
218 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
219
220         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
221         items, not only large ones (part of bug 2057)
222
223 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
224
225         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
226         argument, use "newcommand".
227
228 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
229
230         * cursor.C (setSelection): do not open collapsable insets;
231         the insets do by themselves now (autoopen).
232
233 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
234
235         * buffer.C: format is up to 244.
236
237 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
238
239         * text.C (redoParagraph): fix calcultation of inset width wrt 
240         leftMargin (bug 1957).
241
242         * text3.C (dispatch): leave inset to the right when hitting ESC 
243         (bug 2034).
244
245 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
246
247         * text2.C: 
248         * text.C: 
249         * factory.C:
250         * messages.C: include <boost/current_function.hpp> 
251
252 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
253
254         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
255         when command is internal. (bug 1941)
256
257 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
258
259         * text2.C (cursorRight): do not honor boundary when at the end of
260         a paragraph. (bug 2010 again)
261
262 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
263
264         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
265
266 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
267
268         * rowpainter.C (paintText): fix RtL space width display bug (2029)
269
270 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
271
272         * text2.C (setCursor): remove the unused 'boundary' parameter for
273         the CursorSlice version; adapt the LCursor version.
274
275         * lyxrc.C (write): 
276         * paragraph_pimpl.C (markErased): 
277         * cursor.C (bruteFind2, bruteFond3): fix warnings.
278
279 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
280
281         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
282         as is already done for "chapter".
283
284 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
285
286         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
287         textclass; do not record undo if nothing is changed.
288
289 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
290
291         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
292
293 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
294
295         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
296
297 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
300         combox, it is necessary to search for the topmost paragraph in the
301         cursor stack (bug 1926)
302
303 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
304
305         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
306         end of paragraph. (bug 2010)
307
308 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
309
310         * text.C (leftMargin): check for inInset == 0
311
312 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
313
314         * text.C (leftMargin): test for insetbase's new neverIndent()
315         bool instead of listing each and every inset that does not
316         wish par indendation.
317
318 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
319
320         * buffer_funcs.C (setCounter): put the code to compute enum label
321         here (where it belongs).
322
323         * counters.C (enumLabel): move code to buffer_funcs.C.
324
325 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
326
327         * outputparams.[Ch]: store local_font instead of local_language
328         * paragraph.C (simpleTeXOnePar): adapt to the change above
329
330 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
331
332         * buffer_funcs.C:
333         * counters.[Ch]: clean up special code for Hebrew.
334
335 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
336
337         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
338         than 2.
339
340 2005-09-08  Angus Leeming  <leeming@lyx.org>
341
342         * ispell.C:
343         * lyxrc.C: correct grammar describing invocation of the
344         spellchecker.
345
346 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * text.C (read): remove unused variable.
349         (readParToken): remove static Change variable (never good in
350         recursive settings...); add it as a parameter instead.
351
352         * paragraph_pimpl.C (acceptChange): make debug info conditional.
353
354         * metricsinfo.C (PainterInfo): add new member erased_.
355
356         * rowpainter.C (RowPainter): add erased_ member, initialized from
357         PainterInfo. 
358         (paintInset): pass erased_ to Inset::draw.
359
360         * lyxfunc.C (lookupChange): new function. Tells whether change 
361         tracking is disabled at a given postion.
362         (getStatus): disable some actions when in deleted text with change
363         tracking. 
364
365 2005-08-03  John Levon  <levon@movementarian.org>
366         
367         * tabular.C (appendColumn, setMultiColumn): adapt to change to
368         InsetText::clear().
369
370         * paragraph_pimpl.C (markErased): add bool argument and handle it.
371         Also make sure to mark insets recursively.
372         (rejectChange, erase): be recursive
373
374         * paragraph.C (markErased): add bool argument.
375 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
376
377         * lyxfind.C (findNextChange): tiny cleanup.
378
379         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
380         change tracking with the cursor in an inset; make sure the first
381         change is not skipped.
382
383 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
384
385         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
386         tabularStackDirty to work around bug 1919 (tabular needs
387         to know whether its own cell paste buffer or the one of 
388         texted is newer.
389         * CutAndPaste.C: mark tabular_stack_ clean after copy.
390
391 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
392
393         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
394
395 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
396
397         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
398         use old deleteion algorithm when changetracking is on.
399
400 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
401
402         * messages.C (get): add debug output.
403
404 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
405
406         * text.C (cursorX): fix bug 1965: cursor movement at
407         line end broken in RtL.
408         (drawSelection): fix bug 1970: drawing of single-line 
409         selection broken for RtL.
410
411 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
412
413         bug 465.
414
415         * dociterator.h (clear, push_back, pop_back): change from
416         protected to public.
417
418         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
419         and changed to just return the value of the item depth; take a
420         ParIterator as argument; take the itemdepth at outer nesting level
421         in account if necessary; cleanup and comment the code.
422         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
423         and changed to just return true if reset is needed; take a
424         ParIterator as argument; cleanup and comment the code.
425         (setCounter): adapt to above changes.
426
427 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
428
429         * text3.C (dispatch): make debug message optional
430
431 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
432
433         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
434         inset. (bug 1963)
435
436 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
437
438         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
439
440 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
441
442         * text.C (insertChar):
443         * text2.C (deleteEmptyParagraphMechanism): take care whether 
444         a blank has been deleted (in change tracking mode) (bug 1254).
445
446 2005-07-20  John Levon  <levon@movementarian.org>
447
448         * text2.C (insertStringAsLines): remove old dubious code,
449         fixing bug 1939.
450
451 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
452
453         * MenuBackend.C (expandToc): use Floating::listName() as title of
454         the floats submenus.
455
456 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
457
458         * toc.[Ch]: Do not use translatable strings (bug 1870).
459
460 2005-07-20  John Levon  <levon@movementarian.org>
461
462         * tabular.C: fix 1748 - setting multicolumn adds
463           left line to the first cell
464
465 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
466
467         bug 1920
468         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
469         pars in one go.
470
471 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
472
473         * messages.C: supress some lyxerr messages
474
475 2005-07-18  Juergen Vigna  <jug@lyx.org>
476
477         * text.C (drawSelection): honor boundary when asking for cursorX.
478
479 2005-07-17  José Matos  <jamatos@fc.up.pt>
480
481         * tabular.C (recalculateMulticolumns): fix handling of one column
482         tables.
483
484 2005-07-17  Juergen Vigna  <jug@lyx.org>
485
486         * text.C (Delete, backspace): fixed so that paragraph with the
487         same layout can be merged by Delete/Backspace.
488
489 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
490
491         * text.C (readParToken): fix spelling.
492
493 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
494
495         * text2.C: fix counter update for DEPM problem reported by
496         Georg Baum
497
498 2005-07-17  Juergen Vigna  <jug@lyx.org>
499
500         * BufferView_pimpl.C (setBuffer): save/restore the
501         cursor/selection when switching buffers
502
503         * buffer.h: 
504         * buffer.C (saveCursor): add saveDocumentIterators to save the
505         cursor when switching buffer.
506
507 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
508
509         * debug.C: fix typo
510         * buffer.C: clarify message
511         
512 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
513
514         * dociterator.C (DocIterator): fix initialization order
515
516 2005-07-17  Juergen Vigna  <jug@lyx.org>
517
518         * text2.C (cursorHome): 
519         * text.C (drawSelection, cursorX): 
520         * dociterator.C (textRow): add boundary to getRow() call
521
522         * paragraph.C (getRow): implementation of below
523
524         * paragraph.h: add parameter boundary for getRow() function
525
526 2005-07-17  José Matos  <jamatos@fc.up.pt>
527
528         * buffer.C:
529         * bufferparams.[Ch]:
530         * tex-strings.[Ch]: new file format, remove support for a4.sty,
531         a4wide.sty and a4widemargins.
532
533 2005-07-17  Juergen Vigna  <jug@lyx.org>
534
535         * text2.C (cursorLeft): fix one of error
536
537 2005-07-17  Juergen Vigna  <jug@lyx.org>
538
539         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
540                    cursorEnd):
541         more fixes for boundary handling
542
543         * text3.C (dispatch): don't reset cursor if boundary has changed
544         on cursor movement.
545
546 2005-07-16  Juergen Vigna  <jug@lyx.org>
547
548         * text2.C (getColumnNearX): hopefully got it right now,
549         check if we are on column 0 for special case.
550
551 2005-07-16  Juergen Vigna  <jug@lyx.org>
552
553         * text2.C (getColumnNearX): handle special case Newline Inset
554
555         * text.C (singleWidth): Just remove bogus check
556
557 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
558
559         * funcrequest.C (split): avoid reading uninitialized char c
560
561 2005-07-16  José Matos  <jamatos@fc.up.pt>
562
563         * buffer.C:
564         * converter.C:
565         * lyxrc.C:
566         * paper.h:
567         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
568         single papersize variable.
569
570 2005-07-16  Juergen Vigna  <jug@lyx.org>
571
572         * text3.C (dispatch): honor boundary when checking if a cursor
573         movement has been done
574
575         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
576         (setCursor, setCursorIntern): fix cursor movement with boundary
577
578 2005-07-16  Juergen Vigna  <jug@lyx.org>
579
580         * text.C (currentState): output the actual Boundary
581
582 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * factory.C (createInset): fix bad logic for tabular creation
585
586 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
587
588         * lyx_main.C (init): change some reLyX reference to tex2lyx
589
590 2005-07-16  Juergen Vigna  <jug@lyx.org>
591
592         * dociterator.C (DocIterator): initialize boundary
593
594 2005-07-16  Juergen Vigna  <jug@lyx.org>
595
596         * text2.C (getColumnNearX): Consider rows without trailing blank.  
597
598 2005-07-16  André Pönitz  <poenitz@gmx.net>
599
600         * lyxfont.h: Change order of declarations to give the compiler
601         a better chance to inline things
602
603         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
604         questions on unsaved docs for better scritability
605
606 2005-07-16  André Pönitz  <poenitz@gmx.net>
607
608         * paragraph.h (getChar): remove asserts as the same kind of security
609         can be achieved by using a suitable standard library implementation
610         and the function was in the critical path (25.9% in profiler)
611
612 2005-07-16  Juergen Vigna  <jug@lyx.org>
613
614         * cursor.C (bruteFind2):
615         * bufferview_funcs.C (coordOffset): 
616         * text.C (cursorX,cursorY): Handle cursor position after last char
617         in row before a inset which uses a whole row.
618
619 2005-07-15  José Matos <jamatos@lyx.org>
620
621         * output_plaintext.[Ch] (writeFileAscii): control reference title
622         printing.
623         (asciiParagraph): noparbreak was already deal and was incorrectly
624         used.
625
626 2005-07-15  Juergen Vigna <jug@lyx.org>
627
628         * lyxfunc.C (dispatch): save and restore the cursor after a
629         textclass switch.
630
631 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
632
633         * text.C (backspace): bug 806 for empty keepempty paragraphs we
634         change the layout to default before letting DEPM do its thing.
635
636         * paragraph_funcs.C (breakParagraph): dont reset the layout on
637         keepEmpty paragraphs
638
639         * text.C (setCursorFromCoordinates): add a debug statement
640
641         * text2.C (getColumnNearX): bug 1825 make sure that we don't
642         return a pos that is not on the row
643
644         * output_latex.C (TeXDeeper): get rid of potential dereferencing
645         of past the end iterator
646
647 2005-07-14  André Pönitz  <poenitz@gmx.net>
648
649         * undo.C (recordUndoFullBuffer): implement undo for
650         textclass switches
651
652 2005-07-14  André Pönitz  <poenitz@gmx.net>
653
654         * cursor.C (setSelection): open insets when selection is set there
655         to avoid crashs with cold coord cache
656
657 2005-07-14  André Pönitz  <poenitz@gmx.net>
658
659         * trans_mgr.C (insert): move cursor to the right after inserting
660         a char.
661
662 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
663
664         * BufferView_pimpl.C (update): dampen some of the debug blabbering
665         * factory.C (readInset): ditto
666         * text.C, text2.C: ditto
667
668 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
669
670         * buffer.C: format incremented to 242. There is no file format per
671         se, but the "frenchb" language has been removed from lib/language
672         and has to be translated to "french" by lyx2lyx.
673
674 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
675
676         * cursor_slice.h, dociterator.h: add some documentation
677         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
678
679 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
680
681         * text.C (leftMargin): do not add identation to display() style
682         insets, because they are always centered (bug 1293).
683
684 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
685
686         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
687         formatted_time methods in support/lyxtime.
688
689 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
690
691         * toc.[Ch]: new method getGuiName, which is used by the frontends 
692         to set the toc combo (fixes bug 1870). Make TOC string translatable.
693
694 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
695
696         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
697         StableDocIterator const &)
698         * undo.C (recordUndo): use the above instead of cell.size() comparison
699         (fixes bug 1808; instructed by Andr�.
700
701 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
702
703         * cursor_slice.h: 
704         * dociterator.h: Fix the assert when copying rows/cols in math
705
706 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
707
708         * BufferView_pimpl.C:
709         * LyXAction.C:
710         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
711
712         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
713         (findInset): new functions, refactored from goto Inset that return 
714         the position of a certain inset without setting the buffer's cursor
715         (by Jean-Marc); 
716         (gotoInset): rewrite to call findInset and then set the cursor
717         (by Jean-Marc).
718
719 2005-06-16  Angus Leeming  <leeming@lyx.org>
720
721         * lyxrc.C (output, read): wrap all input and output of paths with
722         calls to os::internal_path and os::external_path, respectively.
723         (output): wrap bind_file inside quotes.
724
725         * format.C (view): enable the viewer to use the '$$s' placeholder.
726
727 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
728
729         * LColor.[Ch] (getFromLaTeXName): new
730
731 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
732
733         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
734
735 2005-06-14  Angus Leeming  <leeming@lyx.org>
736
737         * lyx_main.C (init): ensure that the LyX binary dir is the first
738         element in the PATH on non-POSIX builds.
739
740 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
741
742         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
743
744 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
745
746         * rowpainter.C (paintInset, paintHebrewComposeChar)
747         (paintArabicComposeChar, paintChars): add a LyXFont argument.
748         (paintChars): use getFontSpan to reduce calls to getFont to a
749         minimum; use Paragraph::lookupChange instead of isXXXText.
750         (paintForeignMark): rename LyXFont argument.
751         (paintFromPos): pass a LyXFont object to the various paintXXX
752         methods.
753
754         * FontIterator.C (FontIterator, operator++): use
755         Paragraph::getFontSpan
756
757         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
758         version that returns the font span as a pair.
759
760 2005-06-09  Angus Leeming  <leeming@lyx.org>
761
762         * converter.C (convert): Don't forget "outfile = real_outfile" as
763         the final step in a conversion where the input and output file names
764         are the same. Otherwise, future conversion steps won't work...
765
766 2005-06-09  Angus Leeming  <leeming@lyx.org>
767
768         * lyxsocket.C: remove stub code as it isn't needed by
769         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
770
771 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
772
773         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
774         effectively disabled -x
775
776 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
777
778         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
779         when it actually makes sense.
780
781 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
782
783         * BufferView_pimpl.C: revert to showCursor in connection with
784         Lars's front-end stack
785
786 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
787
788         * text.C (redoParagraph): move cursor right after a bibitem
789         has been inserted.
790
791         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
792
793 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
794
795         * buffer_funcs.C (bufferErrors): fix computation of the end of an
796         error range.
797
798 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
799
800         * BufferView.[Ch] (update):
801         * BufferView_pimpl.[Ch] (update, metrics):
802         * dimension.h (operator==):
803         * lyxfunc.C (dispatch):
804         * metricsinfo.h (ViewMetricsInfo):
805         * rowpainter.C (paintText):
806         * lyxtext.h:
807         * text.C (redoParagraph):
808         * text3.C (dispatch): Make LyX only repaint current paragraph in
809         case of character insert --> speedup. Also fix cursor draw
810         artifacts
811
812 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
813
814         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
815         avoid a crash (bug 1891)
816
817 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
818
819         Fix bug 1892:
820
821         * text2.C (getStringToIndex): constify cur argument.
822
823         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
824         argument has been given
825         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
826         try to invoke LFUN_INSET_APPLY).
827
828         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
829         if no inset was created by doInsertInset
830         (doInsertInset): return true if an inset has been inserted.
831
832 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
833
834         * vspace.C (asGUIName): new method. A version of the space
835         suitable for showing on screen.
836
837 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
838
839         * MenuBackend.C:
840         * lyxrc.C: rename "ASCII" to "Plain Text"
841
842 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
843
844         * buffer_funcs.C (expandLabel): take a Buffer as argument;
845         translate the labelstring.
846         (setCounter): translate labelstring as needed.
847
848         * output_docbook.C (makeCommand): fix expandLabel invokation
849
850 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
851
852         * BufferView.C: fix dialog title
853
854 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
855
856         * lyx_main.C (priv_exec): fix logic error with help from Angus
857         * lyx_main.C (parse_execute): set is_gui = false and remove now
858         obsolete comment about a segfault
859
860 2005-05-18  Angus Leeming  <leeming@lyx.org>
861
862         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
863
864 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
865
866         * tabular.[hC]: added setCellInset to fix tabular paste.
867
868 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
869
870         * buffer.C (save): check if destination is writable before trying
871         to copy a file
872
873 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
874
875         * BufferView_pimpl.C (update): fix processEvents -caused update
876         recursion bug
877
878 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
879
880         * buffer_funcs.C (setCounter): fix test for numbering of
881         environments.
882
883         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
884         depth correctly; use optional argument when it exists
885
886         * lyxtextclass.C: remove unused MaxCounterTags enum
887         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
888         (max_toclevel, min_toclevel): new methods.
889
890         * MenuBackend.C (expandToc2): fix case where depth is smaller than
891         the smallest depth in toc.
892
893         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
894         layouts that should not appear in a table of contents.
895
896 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
897
898         * cursor.h (undispatched, noUpdate): add comments from Andr�
899 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
900
901         * lfuns.h:
902         * LyXAction.C:
903         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
904
905 2005-05-07  André Pönitz  <poenitz@gmx.net>
906
907         * cursor.[Ch] (leaveInset): new function
908
909 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
910
911         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
912
913 2005-05-04  Angus Leeming  <leeming@lyx.org>
914
915         * lyxfunc.C (getStatus): disable the spell checker dialog if
916         none of USE_[AIP]SPELL are defined.
917
918 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
919
920         * tabular.C (setWidthOfCell): remove obsolete comment
921
922 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
923
924         * paragraph.C (bibitem):
925         * buffer_funcs.C (setCounter):
926         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
927
928 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
929
930         * text3.C (getStatus): immediately return after setOnOff
931
932         * rowpainter.C: fix drawing of appendix start
933
934 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
935
936         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
937         SwitchBetweenClasses and remove the unused return value.
938         Handle character styles, too
939
940 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
941
942         * factory.C (createInset): handle undefined character styles
943
944 2005-05-02  Angus Leeming  <leeming@lyx.org>
945
946         * buffer.C: protect the #include of utime.h with a preprocessor
947         guard.
948
949 2005-05-02  Angus Leeming  <leeming@lyx.org>
950
951         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
952         function so that auto-saving works, albeit in a blocking manner.
953
954         * Makefile.am: make compilation of the client sub directory, of
955         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
956         on conditionals set at configure time.
957
958         * SpellBase.[Ch]: no longer an abstract base class. Instead,
959         it can be compiled in its own right but has no-op functionality.
960
961         * aspell.C, pspell.C: remove preprocessor guards. The files should
962         be compiled only if the necessary functionality exists.
963
964         * lyxserver.C, lyxsocket.C: disable on Windows.
965
966 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
967
968         * text.C (leftMargin): Fix the parindent use bug (1764)
969         by dirty trick
970
971 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
972
973         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
974         argument.
975
976 2005-04-25  Angus Leeming  <leeming@lyx.org>
977
978         * Bidi.[Ch]:
979         * coordcache.[Ch]:
980         * ispell.C:
981         * lyxserver.C:
982         * mover.C:
983         * pch.h:
984         include <config.h> in .C files, not .h ones.
985         add licence blurb.
986         protect headers inside preprocessor guards.
987
988 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
989
990         * FuncStatus.h (StatusCodes): document
991
992 2005-04-21  André Pönitz  <poenitz@gmx.net>
993
994         * FuncStatus.h (enabled, onoff): document
995
996 2005-04-19  Angus Leeming  <leeming@lyx.org>
997
998         * BufferView_pimpl.C (cursorToggle): no longer test whether
999         any child processes have been reaped before calling
1000         handleCompletedProcesses().
1001
1002 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1003
1004         * text3.C (dispatch): fix, finally fix, the language problem in
1005         new lyxtexts, without disabling on-the-fly font changes (Helge's
1006         bug report)
1007
1008 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1009
1010         * text3.C (dispatch): set cursor on double/triple click events
1011         (bug 1811)
1012
1013 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1014
1015         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1016         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1017
1018         * rowpainter.C (paintFirst): simplify the code a little bit. In
1019         particular, remove the test for secnumdepth.
1020         * text.C (setHeightOfRow): only allocate space for chapter number
1021         when updateCounters provided an actual label, instead of looking
1022         at secnumdepth directly.
1023
1024         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1025
1026         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1027         paragraphs when secnumdepth is large enough or, for environments,
1028         when they are not the first in a sequence.
1029
1030 2005-04-17  Angus Leeming  <leeming@lyx.org>
1031
1032         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1033         containing space and '~' characters with a call to latex_path().
1034
1035 2005-04-17  Angus Leeming  <leeming@lyx.org>
1036
1037         * converter.C (convert): protect all args of convertDefault.sh
1038         script with quotes.
1039
1040 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1041
1042         * text3.C (dispatch): change the layout to "Caption" after inserting
1043         a float.
1044
1045 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1046
1047         * text3.C (dispatch): fix language problem in newly created
1048         textinsets (and main text) in non-english docs
1049
1050 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1051
1052         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1053         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1054         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1055
1056 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1057
1058         * lyxtext.h:
1059         * text.C (metrics):
1060         * text2.C (getFont):
1061         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1062         fonts fix
1063
1064 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1065
1066         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1067         output of \item arguments without trailing text.
1068
1069 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1070
1071         * FontIterator.C (operator*): avoid a copy of the font.
1072
1073 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1074
1075         * rowpainter.C (getFont): fix language bug from previous fix
1076
1077 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1078
1079         * rowpainter.C (RowPainter, getFont): fix font inside inset
1080         (bugs 1766, 1809)
1081
1082 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1083
1084         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1085         preventing inserted font, deco, delim insets jumping to start of
1086         surrounding inset.
1087
1088 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1089
1090         * lyxfunc.C (dispatch): translate message before sending it to the
1091         minibuffer.
1092
1093 2005-03-29  Angus Leeming  <leeming@lyx.org>
1094
1095         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1096         to LyX on the command line.
1097
1098 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1099
1100         * vc-backend.C: use QuoteName to protect file names wherever
1101         necessary.
1102
1103 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1104
1105         * buffer.[Ch]:
1106         * BranchList.h: fix bugs 1844,1845: document settings don't
1107         stick
1108
1109 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1110
1111         * lyxrc.C (setDefaults, read, output, getDescription): add support
1112         for tex_allows_spaces.
1113
1114         * exporter.C (Export): allows files in directory containing spaces
1115         if tex_allows_spaces is true.
1116
1117         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1118         output it in double quotes.
1119
1120 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1121
1122         * rowpainter.C: use default text height for drawing change tracker
1123         strikeout lines.
1124
1125 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1126
1127         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1128
1129 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1130
1131         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1132         directory is missing.
1133
1134 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1135
1136         * text2.C: fixed the fix, extended to other case.
1137
1138 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1139
1140         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1141
1142 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1143
1144         * text2.C (cursorUp): get rid of a crash
1145         * text.C (x2pos): add an assert
1146
1147 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1148
1149         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1150
1151         * text3.C:
1152         * lyxfunc.C:
1153         * dociterator.C: include <boost/current_function.hpp>, which is
1154         needed when assertions are disabled.
1155
1156 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1157
1158         * text2.C: fix for stuck cursor when traversing two
1159         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1160
1161 2005-02-25  Andreas Vox  <avox@arcor.de>
1162
1163         * output_docbook.C (makeParagraph): suppress trailing newline
1164         after a run of paragraphs
1165
1166 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1167
1168         * paragraph.C: fix for confused change tracker when pasting
1169         text that begins with a lineseparator. [bug 1827]
1170         (setChange(0, Change::INSERTED);)
1171
1172         * paragraph_funcs.C: fix for lost changes on triple-paste
1173         in change tracking mode [bug 1827] (par.setChange()).
1174
1175 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1176
1177         * text2.C (updateCounters, setCounter, expandLabel): move to
1178         buffer_funcs.
1179
1180         * buffer_funcs.C (updateCounters): turn into a free standing
1181         function and add a buffer parameter. Remove dead code for tracking
1182         labelstring change.
1183         (setCounter): change into a free-standing function which gets a
1184         dociterator as argument. Use this iterator to fix captions in a
1185         simple way. When no float is found above the caption, use the
1186         labelstring of the caption layout as default.
1187
1188         * text.C (breakParagraph, backspace):
1189         * text2.C (init, setLayout, changeDepth):
1190         * text3.C (dispatch):
1191         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1192         updateCounters.
1193
1194         * dociterator.C (forwardPar): make it much faster by calling
1195         forwardPos() only when really necessary.
1196
1197         * output_docbook.C (makeCommand): adapt to expandLabel move.
1198
1199         * cursor.C: remove unused variable
1200
1201 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1202
1203         * paragraph_funcs.C: fix crash when pasting insets in change
1204         tracking mode [bug 1277] (honour change type in moveItem).
1205
1206 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1207
1208         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1209
1210 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1211
1212         * BufferView.C (setCursor): change to use a DocIterator.
1213         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1214         (putSelectionAt): adapt to BufferView::setCursor change.
1215
1216         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1217         moved here from LyXText and rewritten to use proper cursor
1218         methods. Fixes bug 1787, 616 and 835.
1219
1220         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1221         when inside an inset (part of bug 781).
1222         (dispatch): adapt to change of BufferView::setCursor.
1223         (getStatus, dispatch): handle LFUN_GOTOERROR,
1224         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1225
1226         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1227         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1228         * text3.C (gotoNextInset, gotoInset): removed.
1229
1230 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1231
1232         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1233
1234 2005-02-15  Angus Leeming  <leeming@lyx.org>
1235
1236         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1237         can be used meaningfully in a comparison.
1238
1239 2005-02-13  André Pönitz  <poenitz@gmx.net>
1240
1241         * bufferview_funcs.C (coordOffset): improve cursor drawing
1242
1243 2005-02-13  André Pönitz  <poenitz@gmx.net>
1244
1245         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1246         * Cursor.C (dispatch): use fixIfBroken
1247         * lyxfunc.C (getStatus): use fixIfBroken
1248
1249 2005-02-15  Angus Leeming  <leeming@lyx.org>
1250
1251         * lyx_main.C (error_handler):
1252         * lyxfunc.C:
1253         * lyxrc.C (setDefaults):
1254         s/GetEnv/getEnv/.
1255         #include "environment.h".
1256
1257         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1258
1259 2005-02-15  Angus Leeming  <leeming@lyx.org>
1260
1261         * lyxserver.C (startPipe): squash MSVC warning "local variable
1262         'fd' used without having been initialized".
1263
1264 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1265
1266         * BufferView_pimpl.C: revert accidental commit.
1267
1268 2005-02-14  André Pönitz  <poenitz@gmx.net>
1269
1270         * dociterator.[Ch]: new member forwardPosNoDescent(),
1271         which doesn't enter nested insets.
1272         * text2.C (setFont): use forwardPosNoDescent() instead
1273         of ForwardPos() (fixes crash on font change).
1274
1275 2005-02-13  Angus Leeming  <leeming@lyx.org>
1276
1277         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1278         only if lyxrc.path_prefix is not empty.
1279
1280 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1281
1282         * bufferparams.C (readGraphicsDriver): prevent crash
1283
1284 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1285
1286         * text2.C (setCounter): check for inInset() == 0
1287
1288 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1289
1290         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1291         but use update() to get correct screen display; use convert
1292         instead of istringstream.
1293         (getStatus): handle LFUN_GOTO_PARAGRAPH
1294
1295         * lyxfunc.C (dispatch, getStatus): do not handle
1296         LFUN_GOTO_PARAGRAPH here.
1297
1298 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1299
1300         * text3.C (dispatch): size() -> depth()
1301
1302         * text2.C: remove some debug output
1303
1304         * paragraph.C: ws changes only
1305
1306         * lyxfunc.C (getStatus): size() -> depth()
1307
1308         * dociterator.h (clear, push_back, pop_back, internalData,
1309         operator[], resize, empty): new functions
1310         Make StableDocIterator and operator== be friends. Don't inherit
1311         from std::vector use a privat class variable slices_ instead.
1312         Modify to fit.
1313
1314         * dociterator.C: update because of not inheriting from std::vector
1315         anymore. Call explictly to slices_ instead. Use depth() instead of
1316         size() and top() instead of back()
1317
1318         * cursor.C: chagne size() -> depth and back() -> top(). Also
1319         remove some direct operator[](i) calls in favour of foo[i]
1320         (getFont): remove some dead code
1321
1322         * bufferview_funcs.C (coordOffset): size() -> depth()
1323
1324         * buffer.C: ws changes only
1325
1326         * CutAndPaste.C (eraseSelection): back() -> top()
1327
1328         * BufferView_pimpl.C (selectionRequested): back() -> top()
1329
1330         * BufferView.C (setCursor): size() -> depth()
1331
1332 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1333
1334         * text3.C (cursorPrevious): return true if depm changed something
1335         (cursorNext): ditto
1336         (dispatch): rename sl to oldTopSlice, remove moving use the new
1337         NoUpdate func attrib instead. Make sure that needsUpdate is set
1338         for function that have NoUpdate, but where depm might have changed
1339         the buffer anyway.
1340
1341         * text2.C (cursorLeft): make us return true if depm changed
1342         something
1343         (cursorRight): ditto
1344         (cursorUpParagraph): ditto
1345         (curosrDownParagraph): ditto
1346         (cursorUp, cursorDown): ditto, make sure to read comments in code
1347         (deleteEmptyParagraphMechanism): remove an assert, also return
1348         true if just a single char was deleted.
1349
1350         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1351         cursor that we modify, to avoid modifying an active cursor before
1352         we call setCursor. This allows depm to run. Also return true if
1353         depm deleted something.
1354
1355         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1356         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1357         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1358         something was changed in the buffer because of them (ie. depm run)
1359
1360         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1361         debug messages. Make update by default be false. Make sure that
1362         the result of update is retained throught several calls down to
1363         dispatch.
1364
1365         * LyXAction.h: add a new func_attrib: NoUpdate
1366
1367         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1368         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1369         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1370         and LFUN_WORDLEFT
1371         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1372
1373 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1374
1375         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1376         bv_->owner(), bv_->buffer() by direct references to the private
1377         members.
1378         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1379         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1380         (fitCursor): center() is in BufferView::Pimpl.
1381         (getStatus, trackChanges, dispatch): no need for a temporary buf
1382         variable
1383         (fitCursor, workAreaDispatch): use workarea().workheight()
1384
1385 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1386
1387         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1388
1389 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1390
1391         * buffer.C: format up to 241.
1392         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1393         break if pasting into ERT
1394         * lyxfunc.C (getStatus): suppress mathpanel and
1395         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1396
1397 2005-02-01  Angus Leeming  <leeming@lyx.org>
1398
1399         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1400
1401 2005-02-01  Angus Leeming  <leeming@lyx.org>
1402
1403         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1404         calling fs::is_directory().
1405
1406 2005-01-31  Angus Leeming  <leeming@lyx.org>
1407
1408         * lyx_main.C (priv_exec): specify explicitly the relative location
1409         of the top level build directory when run in-place.
1410
1411 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1412
1413         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1414         LyXText containing the cursor, not the top-level one.
1415
1416         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1417         true.
1418         (insertStringAsLines): rename par to pit; use temporary variable
1419         par to hold a Paragraph; do not store par.layout() in a variable,
1420         since the pointer may die when breaking paragraphs; pass pars to
1421         breakParagraph() instead of Buffer::paragraphs().
1422
1423 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1424
1425         * lyxlex_pimpl.h: #include <fstream>.
1426
1427         * BufferView.[Ch] (getLyXText): add a const version.
1428
1429         * BufferView_pimpl.C: add debug aids.
1430
1431         * RowList_fwd.h:
1432         * buffer.h:
1433         * lyxrow.h:
1434         * paragraph_funcs.h: add commentary explaining what the class does.
1435
1436
1437         * coordcache.[Ch]: add lots of commentary.
1438         (startUpdating, doneUpdating): debug aids.
1439         (arrays, insets, parPos, getParPos): accessors to private data.
1440
1441         * cursor_slice.[Ch] (text): add a const version.
1442         * dociterator.[Ch] (text, innerText): add const versions.
1443
1444         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1445         bool.
1446
1447         * paragraph.C (getRow, pos2ros): add asserts.
1448
1449         * paragraph.h: add commentary. Lots of.
1450
1451         * paragraph.[Ch] (metrucs, draw): removed.
1452
1453         * cursor.C:
1454         * rowpainter.[Ch]: const-correct changes.
1455
1456         * text.C: various obvious clean-ups. Removal of ancient cruft.
1457         Bug fixes, even.
1458
1459 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1460
1461         * vc-backend.C (find_file): rewrite to use boost.filesystem
1462         (scanMaster): ditto
1463
1464         * main.C (main): set default name check for boost.filesystem to
1465         no check
1466
1467         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1468         (open): ditto
1469         (doImport): ditto
1470         (actOnUpdatedPrefs): ditto
1471
1472         * lyx_main.C (init): rewrite to use boost.filesystem
1473         (queryUserLyXDir): ditto
1474
1475         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1476         (getContentsOfAsciiFile): ditto
1477
1478         * lastfiles.C (readFile): rewrite to use boost.filesystem
1479
1480         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1481
1482         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1483         (loadLyXFile): ditto
1484
1485         * buffer.C (Buffer): adjust for destroydir
1486         (getLogName): rewrite to use boost.filesystem
1487         (setFileName): ditto
1488         (save): use fs::copy_file (from fs_extras)
1489
1490         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1491
1492         * LaTeX.C (run): rewrite to use boost.filesystem
1493         (scanAuxFiles): ditto
1494         (handleFoundFile): ditto
1495
1496 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1497
1498         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1499
1500         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1501
1502 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1503
1504         * lyxlayout.[Ch]: change some vars from float to double
1505
1506         * buffer.C (readFile): make a local var const
1507
1508         * Several files: use convert<> instead of atoi,strToXXX and friends
1509
1510 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1511
1512         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1513         holds the contents of packages.lst. New functions getAvailable
1514         and isAvailable to parse and check that list, resp.
1515
1516         * LyXAction.C:
1517         * lfuns.h:
1518         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1519
1520         * bufferparams.[Ch]: new param output_changes.
1521
1522         * Buffer.C: increase file format to 240.
1523         Use output_changes and isVailable.
1524
1525         * changes.[Ch]:
1526         * paragraph.C:
1527         * paragraph_pimpl.C: Use output_changes and isVailable.
1528
1529 2005-01-23  Angus Leeming  <leeming@lyx.org>
1530
1531         * output_latex.C: #include "insetbibitem.h", rather than
1532         forward declare function bibitemWidest.
1533
1534 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1535
1536         * lyx_main.C (init): make it compile on the Mac.
1537
1538 2005-01-20  Angus Leeming  <leeming@lyx.org>
1539
1540         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1541         (setLyXMisc): (char string literal) != (char string literal) is
1542         performing a comparison on the addresses. Convert one operand
1543         explicitly to string to guarantee expected behaviour.
1544         From MSVC warning.
1545
1546 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1547
1548         * buffer.C:
1549         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1550
1551         * output_plaintext.C: remove unneeded #include gzstream.h.
1552
1553 2005-01-20  Angus Leeming  <leeming@lyx.org>
1554
1555         * SpellBase.h: rename some of the elements of the Result enum.
1556
1557         * aspell_local.h:
1558         * ispell.h:
1559         * pspell.h:
1560         * aspell.C (check):
1561         * ispell.C (check):
1562         * pspell.C (check): ditto
1563
1564 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1565
1566         * buffer.C: add #include <fstream>.
1567
1568         * lyx_main.C (init): Compile fix.
1569
1570         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1571
1572 2005-01-20  Angus Leeming  <leeming@lyx.org>
1573
1574         * mover.h: change commentary to reflect the changed meaning of
1575         the $$s placeholder.
1576
1577 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1578
1579         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1580
1581         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1582
1583 2005-01-20  Angus Leeming  <leeming@lyx.org>
1584
1585         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1586         printing diagnostic data by not dereferecing an iterator past the
1587         end.
1588
1589 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1590
1591         * buffer.C (readHeader): use "&&" rather than "and".
1592
1593         * lyxserver.h (inPipeName, outPipeName): make these const.
1594
1595 2005-01-19  Angus Leeming  <leeming@lyx.org>
1596
1597         * lyx_main.C (error_handler, init): protect SIGHUP with
1598         #ifdef SIGHUP guards.
1599
1600 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1601
1602         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1603
1604 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1605
1606         * text.C (setHeightOfRow): add a margin at the top and bottom of
1607         the document (bug 1761)
1608
1609 2005-01-17  Angus Leeming  <leeming@lyx.org>
1610
1611         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1612         with "python ". Workaround for a brain-dead Windows.
1613
1614 2005-01-16  Angus Leeming  <leeming@lyx.org>
1615
1616         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1617         for MacOSX and Windows to use prependEnvPath.
1618         Strip out the hard-coded block to add elements to the PATH for
1619         MacOSX and replace it with a call to prependEnvPath using the
1620         contents of LyXRC::path_prefix.
1621         (queryUserLyXDir): strip out the code to run reconfigure, instead
1622         returning a boolean indicating the necessity to do so.
1623         (reconfigureUserLyXDir): contains the code to reconfigure the
1624         user support directory. Is now called after the various LyXRC data
1625         files have been read.
1626
1627         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1628
1629 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1630
1631         * converter.[Ch] (convert): take a new parameter try_default. Use
1632         a default converter (imagemagick) if try_default is true.
1633
1634 2005-01-13  Angus Leeming  <leeming@lyx.org>
1635
1636         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1637         os::cygwin_path_fix.
1638         (write): output LyXRC::cygwin_path_fix as necessary.
1639
1640 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1641
1642         * lyxrc.h:
1643         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1644
1645 2005-01-12  Angus Leeming  <leeming@lyx.org>
1646
1647         * lyx_main.C (init): set the PATH variable to include the
1648         directory containing the LyX binary when running on Mac or Windows.
1649
1650 2005-01-12  Angus Leeming  <leeming@lyx.org>
1651
1652         * lyx_main.C (init): remove cruft that purports to set the locale
1653         dir. It doesn't and is not needed anyway.
1654
1655 2005-01-10  Angus Leeming  <leeming@lyx.org>
1656
1657         * Makefile.am: remove the lyx_main.C special casing.
1658
1659         * BufferView_pimpl.C:
1660         * bufferlist.C:
1661         * exporter.C:
1662         * lyx_cb.C:
1663         * lyx_main.C:
1664         * lyxfunc.C:
1665         * messages.C: use support/package.h to provide the paths to the
1666         various directories used by LyX.
1667
1668 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1669
1670         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1671         layout if pasting into an empty paragraph)
1672
1673 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1674
1675         * tex-accent.C: add <string>
1676
1677 2005-01-06  José Matos  <jamatos@lyx.org>
1678
1679         * ParagraphParameters.C (write): put every parameter in its own line.
1680         * paragraph.C (write): reduce number of consecutive empty lines exported.
1681         * buffer.C (LYX_FORMAT): increase file format to 239.
1682
1683 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1684
1685         * everywhere: change support/tostr.h -> support/convert.h
1686
1687         * tabular.C: make all write_attributes templates, tostr -> convert
1688
1689         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1690         (emptyTag): and -> &&, and fix type for ret from getChar
1691         (getFirstWord): fix type for ret from getChar
1692         (onlyText): and -> &&
1693         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1694         getChar
1695
1696         * toc.C (goTo, action):
1697         * text3.C (dispatch):
1698         * text.C (currentState):
1699         * tex-accent.C (DoAccent):
1700         * sgml.C:
1701         * lyxrc.C:
1702         * lyxfunc.C (menuNew):
1703         * lyxfinc.C (replace):
1704         * counters.C (laberItem):
1705         * bufferview_funcs.C (font2string):
1706         * bufferparams.C (writeFile):
1707         * buffer.C (readFile):
1708         * Spacing.C (set):
1709         * MenuBackend.C: tostr -> convert
1710
1711         * LaTeX.C (runMessage): fix format
1712         (scanAuxFiles): tostr -> convert
1713
1714         * BufferView_pimpl.C (savePosition): fix format
1715         (restorePosition): ditto
1716         (dispatch): ditto
1717
1718 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1719
1720         * Spacing.[Ch]: New method getValueAsString().
1721
1722         * Spacing.[Ch]:
1723         * bufferparams.C:
1724         * ParagraphParameters.C:
1725         * lyxlayout.C:
1726         * text.C:
1727         * text3.C: store/read spacing value as string.
1728
1729         * rowpainter.C: change float value (spacing_val) to double.
1730
1731         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1732         broken custom document spacing).
1733
1734 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1735
1736         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1737         namespace, also more use of temp references and const
1738
1739         * cursor.[Ch] (getStatus): move to lyxfunc.C
1740
1741         * bufferparams.C: reformat slightly
1742
1743         * bufferview_funcs.C (font2string): constify arg
1744
1745         * changes.C:
1746         * converter.C:
1747         * counters.C:
1748         * bufferlist.C:
1749         * buffer_funcs.C: (many funcs): constify arg on function
1750         definitions, also make more local vars const, also add ASSERTS on
1751         pointer args.
1752
1753         * buffer.C (LYX_FORMAT): put const in correct place
1754         (many funcs): constify arg on function definitions, also make
1755         more local vars const
1756
1757         * aspell_local.h: remove "struct" from typdef setup
1758
1759         * aspell.C (check): make word_ok const
1760         (nextMiss): simplify slightly
1761         (error): ditto
1762
1763 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1764
1765         * lyxrc.[Ch]: store all float values as strings.
1766         use int (not float) for lyxrc.dpi.
1767
1768 2005-01-04  Angus Leeming  <leeming@lyx.org>
1769
1770         * lyx_cb.C (Reconfigure):
1771         * lyx_main.C (queryUserLyXDir):
1772         to run the <system_lyxdir>/configure correctly on Windows, prefix
1773         the path to the script with "sh " when generating the string that
1774         is passed to system().
1775
1776 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1777
1778         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1779
1780 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1781
1782         * lyxlength.C (asLatexString): get rid of setprecision
1783
1784 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1785
1786         * text2.C (setLayout): remove unused variable endpit.
1787         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1788
1789         * paragraph.C (onlyText): remove unused variable style.
1790
1791         * cursor.C (bruteFind): remove unused variables beg and end.
1792
1793         * Makefile.am (dist_noinset_DATA): not needed anymore
1794
1795         * cheaders/*: remove.
1796
1797 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1798
1799         * text3.C: fix LFUN_MATH_MODE.
1800
1801 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1802
1803         * buffer_funcs.C (countWords): new function. Counts words between
1804         two iterators.
1805
1806         * BufferView_pimpl.C (getStatus, dispatch): handle
1807         LFUN_WORDS_COUNT.
1808
1809         * LyXAction.C (init):
1810         * lfuns.h: add LFUN_WORDS_COUNT.
1811
1812 2004-12-19  Angus Leeming  <leeming@lyx.org>
1813
1814         * buffer.C (save): s/slashify_path/internal_path/.
1815
1816 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1817
1818         * lyxfind.C (findChange): do not search for end of pars, because
1819         the change tracker cannot handle this (fixes bug 1719).
1820
1821 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1822
1823         * paragraph.[Ch] (autoBreakRows): remove
1824
1825         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1826
1827         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1828         avoid using the paragraph one
1829
1830         * text2.C (LyXText, insertStringAsLines): adjust
1831
1832 2004-12-16  Angus Leeming  <leeming@lyx.org>
1833
1834         * bufferlist.C:
1835         * lyx_main.C:
1836         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1837
1838 2004-12-14  Angus Leeming  <leeming@lyx.org>
1839
1840         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1841
1842         * bufferlist.C (emergencyWrite):
1843         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1844         GetEnvPath("HOME").
1845
1846 2004-12-14  Angus Leeming  <leeming@lyx.org>
1847
1848         * main.C: (main): no longer pass pointers to os::init.
1849
1850 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1851
1852         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1853         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1854
1855 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1856
1857         * lyxfunc.C:
1858         * text3.C: remove selection_possible global flag
1859
1860 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1861
1862         * text2.C (getSelectionSpan): remove
1863         (changeDepth, changeDepthAllowed): adjust
1864
1865 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1866
1867         * Makefile.am (BOOST_LIBS): use boost variables
1868
1869 2004-12-03  José Matos  <jamatos@lyx.org>
1870
1871         * buffer.C: format up to 238.
1872
1873 2004-12-03  José Matos  <jamatos@lyx.org>
1874
1875         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1876
1877 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1878
1879         * cursor.C (goUpDown): remove call to idxUpDown2
1880
1881 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1882
1883         * tabular.[Ch]: use size_t-like types for cell, row and column
1884         indices
1885
1886 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1887
1888         * lyxfunc.C (getStatus): do not lose previous information when
1889         calling BufferView::getStatus; do not set a default "Command
1890         disabled" message at the beginning, but just before returning.
1891
1892 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1893
1894         * cursor.h (getStatus): add better comment from src/cursor.C
1895
1896 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1897
1898         * text3.C (getStatus): return false when the lfun is not handled
1899
1900 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1901
1902         * broken_headers.h: remove
1903
1904         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1905
1906 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1907
1908         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1909         offset_ref accessors
1910
1911         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1912         top_y_, merge fitcursor with update
1913         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1914         coord scheme
1915         (metrics): introduce
1916         (workAreaDispatch): adapt to new coord scheme
1917         (redoCurrentBuffer): remove
1918
1919         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1920
1921         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1922         CurStatus enum.
1923
1924         * coordcache.[Ch]: add paragraph cache and helpers
1925
1926         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1927         adjust everywhere
1928
1929         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1930         (targetX, setTargetX): introduce
1931
1932         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1933         baseline -> ascent, as the rest of lyx
1934
1935         * lyxtext.h: remove redoParagraphs, updateParPositions,
1936         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1937         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1938         have ascent/descent (ascent is ascent of first par)
1939
1940         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1941         step of BufferView
1942
1943         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1944
1945         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1946
1947         * pariterator.C: fix infinite loop introduced in par->pit renaming
1948
1949         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1950         in insets and LyXText, draw two off-screen paragraphs using
1951         NullPainter, and adapt to new coord scheme
1952
1953         * text.C:
1954         * text2.C:
1955         * text3.C: adapt lfun handlers to the new coord scheme, which
1956         means: there's only guaranteed coord information for onscreen pars
1957         plus one above and one below. This implies that one can do search
1958         from y coordinates in the range [-1,workHeight]
1959
1960 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1961
1962         * rename a lot of InsetOld to InsetBase
1963
1964 2004-11-25  Angus Leeming  <leeming@lyx.org>
1965
1966         * BufferView_pimpl.C:
1967         * lyx_cb.C:
1968         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1969
1970 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1971
1972         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1973         call BufferView::getStatus if LCursor::getStatus did nothing
1974         (setStatusMessage, getStatusMessage): removed.
1975
1976         * FuncStatus.C (message): new methods. Used to provide an error
1977         message indicating why a command is disabled.
1978         (clear, |=, FuncStatus): update for message.
1979
1980 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1981
1982         * lyxfunc.C (dispatch): always call sendDispatchMessage
1983
1984 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1985
1986         * BufferView.C:
1987         * BufferView_pimpl.C:
1988         * CutAndPaste.C:
1989         * FontIterator.C:
1990         * buffer.C:
1991         * cursor.C:
1992         * cursor_slice.[Ch]:
1993         * dociterator.[Ch]:
1994         * lyxfind.C:
1995         * paragraph_funcs.C:
1996         * pariterator.C:
1997         * rowpainter.C:
1998         * text.C:
1999         * text2.C:
2000         * text3.C:
2001         * undo.C: par->pit renaming
2002
2003 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2004
2005         * tabular.C (cellstruct): use initialization, store a shared_ptr
2006         to insettext instead of the insettext directly, adjust to fit.
2007         (operator=):  new function
2008         (swap): new function
2009         (rowstruct): use initialization
2010         (columnstruct): use initialization
2011         (ltType): use initialization
2012
2013
2014         * lyxlength.h (swap): new function
2015
2016         * LColor.[Ch] (operator=): use the common semantics
2017
2018 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2019
2020         * lyxfind.C (findNextChange): update the bufferview after setting
2021         the selection.
2022
2023 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2024
2025         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2026         number of InsetOptArgs has already been inserted.
2027
2028         * output_latex.C (latexOptArgInsets): new method. This outputs all
2029         the optarg insets, up to the limit defined in the layout file.
2030         (optArgInset): removed
2031         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2032
2033 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2034
2035         * paragraph.C (isLetter): remove special spellchecker-related
2036         code; return true also for digits
2037         (isWord, isKomma): remove
2038
2039         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2040         * lyxfind.C (MatchString()): use isLetter instead of isWord
2041
2042 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2043
2044         * pariterator.h (operatir=): comment out un-implemented member
2045         function.
2046
2047         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2048         static cast.
2049
2050 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * lyxfont.h: include LColor.h to satisfy concept checks.
2053
2054 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2055
2056         * pariterator.h: add typdefs for value_type, difference_type,
2057         pointer and reference to satisfy concept checks. Also add default
2058         constructor for same reason.
2059
2060         * pariterator.C (operator++): add post-increment operator to
2061         satisfy concept checks.
2062
2063         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2064         checks.
2065
2066         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2067
2068         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2069         checks. Also rename base_type to BaseType to follow naming
2070         standard better.
2071
2072         * FloatList.h: include Floating.h to satisfy concept checks.
2073
2074 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2075
2076         * lyxfunc.C (getStatus): when the origin of the request is menu or
2077         toolbar, and the LyXView does not have focus, do as if there was
2078         no buffer (bug 1720)
2079
2080         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2081         FuncRequest to individual entries of LFUN_SEQUENCE
2082
2083 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2084
2085         * output_latex.C (TeXOnePar): override runparams.moving_arg
2086         according to the needprotect value of the current paragraph (bug
2087         1739)
2088
2089         * paragraph.C (simpleTeXOnePar): no need to override
2090         runparams.moving_args here
2091
2092 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2093
2094         * vspace.C: fix off-by-one-error, related to fix #1682
2095
2096 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2097
2098         * lengthcommon.C: a more general fix for bug 1682
2099
2100 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2101
2102         * text.C (backspace): fix crash
2103
2104 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2105
2106         * format.[Ch] (getFormatFromFile): new method
2107         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2108
2109 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2110
2111         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2112
2113 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2114
2115         * lyxfunc.C (dispatch): remove the verbose argument
2116         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2117         instead
2118
2119         * kbmap.C (defkey): set the origin of func to KEYBOARD
2120
2121         * MenuBackend.C (MenuItem):
2122         * ToolbarBackend.C (add): set the origin of func to UI
2123
2124         * funcrequest.[Ch]: add origin member, which indicates which part
2125         of LyX requests an action
2126
2127 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2128
2129         * converter.C (move): don't lie in the error message
2130         * converter.h (isReachable, move): document
2131
2132 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2133
2134         * buffer.C: remove unused using lyx::support::atoi
2135         * paragraph_funcs.C: ditto
2136
2137 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2138
2139         * bufferlist.C (exists): use bind and equal_to instead of
2140         compare_memfun
2141         (getBuffer): ditto
2142         * lyxtextclasslist.C (NumberOfClass): ditto
2143
2144         * cursor.C (insert): use for_each instead of explicit for loop
2145
2146         * bufferlist.C (getFileNames): use std::transform and
2147         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2148
2149         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2150         for loop
2151
2152         * buffer.C (changeLanguage): use for_each instead of explicit for
2153         loop
2154         (hasParWithID): implement using getParFromID
2155
2156         * LaTeXFeatures.C: ws change only
2157
2158         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2159         to cleanup a bit.
2160
2161         * BufferView_pimpl.C (trackChanges): use for_each instead of
2162         expilicit for loop
2163
2164 2004-11-04  André Pönitz  <poenitz@gmx.net>
2165
2166         * undo.h:
2167         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2168
2169         * dociterator.C (asDocIterator): use hard assert again.
2170
2171 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2172
2173         * lyxlength.C (asLatexString): rewrite so that it does not use
2174         snprintf anymore
2175
2176 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2177
2178         * text3.C (specialChar, dispatch): make sure cursor moves to the
2179         right after inserting an inset
2180
2181 2004-11-02  José Matos  <jamatos@lyx.org>
2182
2183         * output_docbook.C (docbook):
2184         * paragraph.C (getID):
2185         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2186         garantee that the output is always legal.
2187
2188         * tabular.C (docbook):
2189         * outputprams.[Ch]: remove mixed contents.
2190
2191 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2192
2193         * text2.C (setCounter): prevent endless loop
2194
2195 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2196
2197         * exporter.C (copyFile): use the mover instead of support::copy()
2198         * exporter.C (Export): pass format and latex name to copyFile()
2199         * exporter.h (addExternalFile): document
2200         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2201
2202 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2203
2204         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2205
2206 2004-10-30  José Matos  <jamatos@lyx.org>
2207
2208         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2209         text and no inset or font change. This allows to use CDATA
2210         sections just for the whole paragraph.
2211
2212 2004-10-30  José Matos  <jamatos@lyx.org>
2213
2214         * paragraph.C (getFirstWord): remove unused variable.
2215
2216 2004-10-30  José Matos  <jamatos@lyx.org>
2217
2218         * paragraph.C (getFirstWord): the content should always be escaped
2219         there.
2220         (simpleDocBookOnePar):
2221         * output_docbook.C (makeEnvironment): replace reference to CDATA
2222         to style pass_thru.
2223
2224 2004-10-30  José Matos  <jamatos@lyx.org>
2225
2226         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2227
2228 2004-10-30  José Matos  <jamatos@lyx.org>
2229
2230         * output_docbook.C (makeParagraphs):
2231         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2232         standard paragraph has only a given type of content drop the wrapper.
2233
2234 2004-10-29  José Matos  <jamatos@lyx.org>
2235
2236         * output_docbook.C (makeEnvironment):
2237         * sgml.C (openTag):
2238         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2239
2240 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2241
2242         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2243         (cleanID): sanitize any id.
2244
2245 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2246
2247         * buffer.C, lyxlex_pimpl.C:
2248         * lyxlex_pimpl.C (setFile):
2249         s/getExtFromContents/getFormatFromContents/
2250
2251 2004-10-28  José Matos  <jamatos@lyx.org>
2252
2253         * output_docbook.C (makeEnvironment): move id to broadest possible
2254         scope.
2255
2256         * sgml.C (openTag): apply substitution of <> for all attributes.
2257
2258 2004-10-28  José Matos  <jamatos@lyx.org>
2259
2260         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2261         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2262         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2263
2264         * sgml.[Ch]: new version for open and closeTag for paragraph and
2265         for strings. Now they handle the ids of paragraphs.
2266
2267 2004-10-26  Angus Leeming  <leeming@lyx.org>
2268
2269         * Makefile.am: add mover.[Ch].
2270
2271         * converter.C (convert, move): use the new Movers to move external
2272         files to the temp directory.
2273
2274         * lyx_main.C (init): ensure that the global system_movers data
2275         is initialised.
2276
2277         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2278         preferences file.
2279
2280         * mover.[Ch]: new files, defining a Mover as a utility to move an
2281         external file between directories and, if necessary, manipulate this
2282         file using a helper script.
2283
2284 2004-10-25  José Matos  <jamatos@lyx.org>
2285
2286         * output_docbook.C (makeCommand): merge two if's that tested the
2287         same condition.
2288
2289 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2290
2291         * sgml.C (escapeString): fix warning in a better way
2292
2293 2004-10-25  José Matos  <jamatos@lyx.org>
2294
2295         * sgml.C (escapeString): import the require boosts header file for
2296         tie, and avoid a signed unsigned comparison.
2297
2298 2004-10-25  José Matos  <jamatos@lyx.org>
2299
2300         * sgml.h: add #include <string>
2301
2302 2004-10-25  José Matos  <jamatos@lyx.org>
2303
2304         * sgml.[Ch] (escapeString): new function to escape all the string.
2305
2306 2004-10-24  José Matos  <jamatos@lyx.org>
2307
2308         * paragraph.[Ch] (getFirstWord): new function to get the first
2309         word. Useful for description.
2310         (simpleDocBookOnePar): remove depth argument, add another that
2311         says where to start the paragraph.
2312
2313         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2314         use the new functions to fix cleanly the support for descriptions.
2315
2316 2004-10-24  José Matos  <jamatos@lyx.org>
2317
2318         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2319         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2320         * output_linuxdoc.C (linuxdocParagraphs):
2321         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2322         add buffer as argument.
2323
2324 2004-10-24  José Matos  <jamatos@lyx.org>
2325
2326         * output_docbook.C (makeEnvironment, searchEnvironment): place
2327         CDATA inside paragraphs and fix scope for listitems.
2328
2329 2004-10-24  José Matos  <jamatos@lyx.org>
2330
2331         * output_docbook.C: remove using statement for stack.
2332
2333 2004-10-23  José Matos  <jamatos@lyx.org>
2334
2335         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2336         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2337         docbook. The new scheme is recursive and makes use of iterators, the
2338         same as latex export works.
2339         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2340         directly with the paragraph contents. This code was moved up to
2341         output_docbook.C (docbookParagraphs).
2342         * sgml.C (openTag, closeTag): removed unneeded newlines.
2343         (closeEnvTags) removed.
2344
2345 2004-10-23  André Pönitz  <poenitz@gmx.net>
2346
2347         * undo.C (textUndoOrRedo):
2348         * dociterator.C (asDocIterator): work around crash
2349
2350         * cursor.C (getStatus): replace ASSERT by more verbose error message
2351           and manual correction of the problem. Should increase stability
2352           while providing more sensible information.
2353
2354 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2355
2356         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2357
2358         * bufferlist.C (previous, next): new methods
2359
2360         * lfuns.h:
2361         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2362
2363 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2364
2365         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2366         entities to preamble.
2367
2368 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2369
2370         * messages.C (Pimpl): strip off translation context information
2371
2372 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2373
2374         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2375         the cursor is correct (bug 1694)
2376
2377 2004-10-13  José Matos  <jamatos@lyx.org>
2378
2379         * output_docbook.C (docbookParagraphs): fix closing tags in the
2380         end of the document.
2381
2382 2004-10-09  José Matos  <jamatos@lyx.org>
2383
2384         * buffer.C: format up to 237.
2385         * bufferparams.C (write): use tostr to convert booleans to strings.
2386
2387 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2388
2389         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2390
2391 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2392
2393         * LaTeX.C: implement use of babel language in xindy.
2394
2395 2004-10-05  José Matos  <jamatos@lyx.org>
2396
2397         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2398         Add new translators to help reading and writing the lyx file.
2399
2400 2004-10-05  José Matos  <jamatos@lyx.org>
2401
2402         * ParagraphParameters.C (read):
2403         * text.C (readParToken): replace nexToken by more appropriate lex
2404         methods.
2405
2406 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2407
2408         * LaTeX.C (runMakeIndex):
2409         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2410         (usually 'makeindex') configurable.
2411
2412         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2413         with a variable rather than with a number.
2414
2415 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2416
2417         * output_latex.C (TeXOnePar): make sure font setting is the first
2418         thing that gets output (and the last at the end). Should fix bug
2419         1404.
2420
2421 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2422
2423         * pch.h: use proper signal include
2424
2425         * LaTeX.h: Use preferred calling of Boost.Signal
2426         * buffer.h: ditto
2427
2428 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2429
2430         * pch.h: dont include <boost/function/function0.hpp>
2431
2432         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2433
2434         * paragraph_pimpl.h: remove usage of ShareContainer
2435
2436         * paragraph_pimpl.C: remove initialization of ShareContainer.
2437
2438 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2439
2440         Fix bug #1666
2441
2442         * BufferView.C (putSelectionAt): change the semantics when
2443         backwards == true: now, this just swaps cursor and anchor wrt the
2444         forward case
2445
2446         * BufferView.h (putSelectionAt): add some documentation
2447
2448         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2449         make sure backwardChar is done at least once (to avoid getting
2450         stuck)
2451         (findNextChange): use putSelectionAt in the forward direction
2452         (operator()): use Paragraph::isWord
2453
2454 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2455
2456         * Spacing.C (set): c_str fix
2457
2458 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2459
2460         * lyx_cb.C (Reconfigure): quote the name of configure script in
2461         case it contains spaces
2462
2463 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2464
2465         * client: new dir
2466
2467         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2468         (BOOST_LIBS): use top_buildir when looking for the file
2469
2470 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2471
2472         * pch.h: do not use include boost/format.hpp, multiple symbols
2473                 will result (gcc bug)
2474
2475
2476 2004-08-23  José Matos  <jamatos@lyx.org>
2477
2478         * bufferparams.C (readToken): fix reading of the author field.
2479
2480 2004-08-20  José Matos  <jamatos@lyx.org>
2481
2482         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2483
2484 2004-08-20  José Matos  <jamatos@lyx.org>
2485
2486         * lyxlex.[Ch] (findToken): remove function.
2487
2488         * ParagraphParameters.C (findToken):
2489         * bufferparams.C (findToken): replace call for previous function
2490         with local copy. This local function has one more argument, the
2491         read string argument.
2492
2493 2004-08-16  José Matos  <jamatos@lyx.org>
2494
2495         * ParagraphParameters.C (write):
2496         * Spacing.C (writeFile):
2497         * bufferparams.C (writeLaTeX):
2498         * lyx_cb.C (Reconfigure):
2499         * paragraph.C (write):
2500         * tabular.C (write): remove unnecessary space at end of line.
2501
2502
2503 2004-08-16  José Matos  <jamatos@lyx.org>
2504
2505         * text.C (readParagraph): remove debug message.
2506
2507 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2508
2509         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2510         crash
2511
2512         * output_plaintext.C (asciiParagraph): set depth correctly
2513
2514         * outputparams.h: add member depth
2515
2516         * paragraph_funcs.C (ownerPar): remove.
2517
2518         * text2.C (setCounter): remove first_pit; comment out some
2519         non-working code that uses ownerPar
2520
2521         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2522         uses ownerPar
2523
2524 2004-08-16  José Matos  <jamatos@lyx.org>
2525
2526         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2527         For the same level of importance use the same chanel to report problems.
2528         (read): add code to deal with \begin_body and \end_body.
2529
2530
2531 2004-08-15  José Matos  <jamatos@lyx.org>
2532
2533         * lyxlex.C (getString): fix comment, buffer::readBody is now
2534         buffer:readDocument.
2535
2536         * tex-strings.C (string_papersize): Default -> default,
2537         Custom -> custom, for consistency with other options.
2538
2539 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2540
2541         * pch.h: new file
2542
2543         * Makefile.am: support pch
2544
2545 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2546
2547         * text.C (readParToken): remove the static LyXFont variable and
2548         pass it as a parameter instead. This fixes a nasty bug where an
2549         inset will be inserted with a bad font in some situations
2550         (readParagraph): adapt
2551
2552         * text2.C (setCounter): reduce number of calls to pars_[pit]
2553
2554         * text.C (singleWidth): add an assert, fix a test
2555
2556         * rowpainter.C (paintText): reduce number of calls to singleWidth
2557
2558         * paragraph.C (isHfill):
2559         (isNewline): ws only
2560
2561 2004-08-14  André Pönitz  <poenitz@gmx.net>
2562
2563         * text.C:
2564         * text2.C:
2565         * rowpainter.C:
2566         * lyxtext.h (several functions): use a Paragraph & argument
2567         instead of par_type
2568
2569 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2570
2571         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2572
2573         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2574
2575         * text.C (singleWidth): remove useless test
2576
2577 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2578
2579         * tabular.h: remove bogus comments
2580
2581         * tabular.C (getDescentOfRow):
2582         (isPartOfMultiColumn): add assertions
2583
2584         * lyxlength.C (inPixels): remove #warning
2585
2586 2004-08-14  André Pönitz  <poenitz@gmx.net>
2587
2588         * paragraph.h: inline getChar()
2589
2590         * BufferView.h: remove unused declarations
2591
2592 2004-08-14  José Matos  <jamatos@lyx.org>
2593
2594         * Buffer.[Ch] (readDocument): new name for old readBody.
2595         * Buffer.C: new file format, new keywords: \begin_document,
2596         \begin_header, \begin_body, \end_body.
2597
2598         * bufferparams.C (readToken): replace all calls to lex.nextToken
2599         by lex.next(). Do the same to eatLine except where really needed.
2600
2601         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2602         line when writing to the lyx file.
2603
2604         * output_plaintext.C (asciiParagraph): fix Bibliography style
2605         handling.
2606
2607         * text.C (read): fix end of file handling.
2608
2609 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2610
2611         * MenuBackend.C (Menu::operator[]): new method to access
2612         individual menu items
2613         (Menu::hasFunc): new method. search for an item that corresponds
2614         to a given func
2615         (MenuBackend::specialMenu): new method
2616         (MenuBackend::expand): if a special menu has been set, skip
2617         entries whose func() appears in this menu
2618
2619 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2620
2621         * text3.C: use Debug::DEBUG a bit more
2622
2623         * text.C (leftMargin): try to simplify a tiny bit change var x to
2624         l_margin. Dont output the wide margins always.
2625         (rightMargin): no margin in inner texts
2626
2627         * rowpainter.h (nestMargin): new func
2628         (changebarMargin): new func
2629         (rightMargin): new func
2630
2631         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2632         now functions.
2633         (paintLast): ditto
2634
2635         * factory.C (createInset): modify setDrawFrame
2636
2637         * cursor.C: use Debug::DEBUG a bit more
2638
2639 2004-08-14  André Pönitz  <poenitz@gmx.net>
2640
2641         * coordcache.[Ch]:
2642         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2643         cache for all insets in (at least partially) visible (top-level)
2644         paragraphs.
2645
2646         * BufferView_pimpl.C: reset external coord cache before every update.
2647         This means the coord cache only contains valid entries.
2648
2649 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2650
2651         bug 1096
2652         * BufferView_pimpl.C (getInsetByCode): move function out of class
2653         and change in to a template in anon namespace. Also fix to do what
2654         suits us better.
2655
2656 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2657
2658         bug 1305
2659         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2660         of char
2661         (breakParagraph): rename par to par_offset and use a local
2662         reference. Add code to keep the language over a rebreak.
2663         (breakParagraphConservative): rename par to par_offset, use a
2664         local reference
2665         (mergeParagraph): ditto
2666         (outerHook): ditto
2667         (isFirstInSequence): ditto
2668         (outerFont): rename pit to par_offset
2669
2670         * paragraph.C: ws change
2671         * paragraph.h: ditto
2672         * text3.C: ditto
2673         * text.C: ditto
2674
2675 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2676
2677         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2678         treatment for ']'
2679
2680         * paragraph.C (simpleTeXOnePar): when we have a \item with
2681         optional argument, enclose the argument with curly brackets (in
2682         case it contains a closing square bracket)
2683
2684         * text2.C (editXY):
2685         * text2.C (editXY):
2686         * text3.C (checkInsetHit): constify
2687
2688 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2689
2690         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2691         documents (bug 1629)
2692
2693 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2694
2695         Fix toggling of collapsable insets with the mouse (bug 1558)
2696
2697         * lyxfunc.C (dispatch): adapt to LCursor changes
2698
2699         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2700         make sure that dispatch is not invoked twice
2701
2702         * cursor.C (needsUpdate): new method
2703         (dispatch): return void
2704         (result): new method, to access the DispatchResult of the cursor.
2705
2706 2004-08-13  José Matos  <jamatos@lyx.org>
2707
2708         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2709
2710 2004-08-13  André Pönitz  <poenitz@gmx.net>
2711
2712         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2713
2714         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2715           multiple cells
2716
2717 2004-08-12  André Pönitz  <poenitz@gmx.net>
2718
2719         * text3.C: take out the 'cursor right' form insertInset and only
2720         do it in those places when it is really needed. Fixes crash on
2721         C-m...
2722
2723 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2724
2725         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2726
2727         * BufferView_pimpl.C (setBuffer): initialize the current font of
2728         the underlying LyXText
2729
2730 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2731
2732         * kbsequence.C (print): use UI native formatting for menu
2733         shortcuts
2734
2735         * text.C (insertChar): call Paragraph::insertChar with a font
2736         argument (cosmetic)
2737
2738         * paragraph.C (insertInset, insertChar): the version that takes a
2739         LyXFont argument is now a wrapper around the other one (the
2740         opposite used to be true).
2741
2742         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2743         argument. Font setting is done in Paragraph now.
2744
2745 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2746
2747         * outputparams.h: add new members intitle and lang.
2748
2749         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2750         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2751
2752 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2753
2754         * text3.C (dispatch): remove special handling of button 4 and 5,
2755         it is now taken care of in the frontend code.
2756
2757 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2758
2759         * Spacing.h: add <string> (STLPort compile fix)
2760
2761 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2762
2763         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2764
2765 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2766
2767         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2768         to bool.
2769
2770         * converter.C (showMessage): inherit from unary_function, make
2771         operator() const.
2772
2773         * buffer.C (writeFile): initialize retval
2774
2775         * InsetList.h: rename private variable list to list_
2776         * InsetList.[Ch]: adjust accordingly.
2777
2778 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2779
2780         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2781         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2782         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2783         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2784         * ParagraphParameters.C, LaTeXFeatures.C: replace
2785         "support/std_sstream.h" with <sstream>
2786
2787 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2788
2789         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2790         * lyxsocket.C (LyXServerSocket): ditto
2791         (serverCallback): ditto
2792
2793 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2794
2795         * LaTeXFeatures.C: check release date when loading jurabib.
2796
2797 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2798
2799         * lyxserver.C (startPipe): call register_socket_callback
2800         (endPipe): call unregister_socket_callback
2801
2802 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2803
2804         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2805         (LyXServerSocket): register the callback
2806         (LyXServerSocket): unregister the callback
2807         (fd): delete function
2808         (serverCallback): improve error checking and setup the callbacks.
2809         (dataCallback): change arg to fd.
2810         (writeln): new func (copied fro the client socket) used for server
2811         write to client.
2812         (LyXDataSocket): simplify
2813         (~LyXDataSocket): close ann unregiser callback
2814         (server): delete function
2815         (fd): delete function
2816         (readln): small changes, improve some std::string usage
2817         (writeln): constify a bit
2818
2819 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2820
2821         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2822         Qt frontend
2823
2824 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2825
2826         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2827         after it has been populated
2828
2829 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2830
2831         * text2.C (insertInset): move cursor when inserting inset.
2832
2833 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2834
2835         * kbmap.C (findbindings): a couple of new methods. returns a
2836         container of kb_sequence objects. The real work is done by the
2837         private recursive version
2838         (printbindings): uses findbindings to print out a bracketed list
2839         of bindings (renamed from findbinding).
2840
2841         * MenuBackend.C (binding): use kb_keymap::findbindings
2842
2843         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2844
2845 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2846
2847         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2848
2849 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2850
2851         * paragraph.C (isWord): return true on insets that report
2852         isLetter().
2853
2854         * text.C (getWord): use Paragraph::isWord to decide what is in a
2855         word and what is not; fix bug 1609.
2856
2857 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2858
2859         * tex-strings.C: add "none" to string_paperpackages[], fixes
2860         off-by-one-error in the paperpackage selection.
2861
2862         * lyxlex.[Ch]:
2863         * tex-strings.[Ch]: char const * string[n]
2864         -> char const * const string[]
2865
2866 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2867
2868         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2869         command, return early.
2870
2871 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872
2873         * debug.h: add DEBUG to enum and fix size of ANY.
2874
2875         * debug.C: add support for Debug::DEBUG
2876         (showTags): cast errorTags.level to unsigned int
2877
2878         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2879         (redoCurrentBuffer): ditto
2880         (updateScrollbar): ditto
2881         * cursor.C (dispatch): ditto
2882         * text2.C (setLayout): ditto
2883         (setFont): ditto
2884         (updateCounters): ditto
2885         (editXY): ditto
2886         (deleteEmptyParagraphMechanism): ditto
2887
2888 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2889
2890         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2891         annotations to cleanup the Makefile slightly.
2892
2893 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2894
2895         * lyxrc.C: do not set user_email to a default value but use empty
2896         instead. The entry used to be translated, which does not work
2897         since at the point where lyxrc is constructed there is no
2898         translation service available
2899
2900         * messages.C (getLocaleDir): remove and use directly
2901         lyx_localedir() instead
2902
2903 2004-06-02  Angus Leeming  <leeming@lyx.org>
2904
2905         Fix crash caused by dereferencing null pointer 'exportdata' in
2906         OutputParams by creating a new ExportData variable on the heap,
2907         storing it in a boost::shared_ptr.
2908         The crash was triggered when generating an Instant Preview
2909         of an external inset.
2910
2911         * Makefile.am: add outputparams.C
2912
2913         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2914         (c-tor): allocate memory to it.
2915
2916         * exporter.C (c-tor): associated changes.
2917
2918 2004-06-01  Angus Leeming  <leeming@lyx.org>
2919
2920         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2921         contains data before calling isInset(0). (Bug 1513.)
2922
2923 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2924
2925         * exporter.C (checkOverwrite): new method
2926         * exporter.C (copyFile): new method
2927         * exporter.C (Export): copy referenced files to the document dir
2928         * exporter.[Ch]: new class ExportedFile
2929         * exporter.[Ch]: new class ExportData. Contains currently the
2930         names of referenced external files
2931         * outputparams.h: add exportdata member.
2932
2933 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2934
2935         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2936         version.C-tmp
2937
2938 2004-05-19  Angus Leeming  <leeming@lyx.org>
2939
2940         * LaTeXFeatures.C:
2941         * ToolbarBackend.C:
2942         * bufferparams.C:
2943         * lyxfunc.C: small changes due to the introduction of namespace
2944         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2945
2946 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2947
2948         * text3.C (dispatch): supress update when only moving the cursor
2949         * cursor.C (selHandle): remove commented code
2950
2951 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2952
2953         * paragraph.C (startTeXParParams): correct column count
2954         * CutAndPaste.C (pasteSelection): remove const_cast
2955         * output_docbook.C (docbookParagraphs): remove const_cast
2956         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2957         const_cast and return ParagraphList::const_iterator
2958         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2959         * output_plaintext.C (writeFileAscii): remove const_cast
2960         * paragraph.[Ch] (simpleTeXOnePar): make const
2961         * paragraph_funcs.C (outerPar): use const iterators
2962         * paragraph_pimpl.C (validate): use const iterators
2963         * text.C (setHeightOfRow): use const iterators
2964
2965 2004-05-17  Angus Leeming  <leeming@lyx.org>
2966
2967         * lfuns.h:
2968         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2969
2970         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2971         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2972         if the citation engine has changed.
2973
2974 2004-05-14  José Matos  <jamatos@lyx.org>
2975
2976         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2977         if the textclass does not provide it. Have it different for sgml and
2978         xml.
2979         support the language of document.
2980         * output_docbook.C (docbookParagraphs):
2981         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2982         first anchor as the id of the paragraph, remove special case code.
2983         * sgml.C (escapeChar): escape only < & >.
2984
2985 2004-05-14  Angus Leeming  <leeming@lyx.org>
2986
2987         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2988         dependencies on src/frontends/controllers/biblio.h. Define a
2989         CiteEngine_enum wrapper class to enable the enum to be forward
2990         declared.
2991
2992 2004-05-12  Angus Leeming  <leeming@lyx.org>
2993
2994         * buffer.C: up LYX_FORMAT to 234.
2995         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2996         use_numerical_citations with a single biblio::CiteEngine cite_engine
2997         variable.
2998         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2999
3000 2004-05-13  José Matos  <jamatos@lyx.org>
3001
3002         * converter.h:
3003         * converter.C (Converter, readFlags): add xml member.
3004         * outputparams.h: add XML flavor.
3005         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3006
3007 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3008
3009         * lyxfunc.C (dispatch):
3010         (getStatus): fix handling of LFUN_SEQUENCE
3011
3012 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3013
3014         * debug.C (showLevel): do not forget the end-of-line marker
3015
3016 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3017
3018         * kbmap.C (read): do not stop parsing a bind file when an error
3019         occurs (bug 1575)
3020
3021 2004-04-29  Angus Leeming  <leeming@lyx.org>
3022
3023         * cursor.C:
3024         * factory.C:
3025         * pariterator.C:
3026         * text2.C: wrap a bunch of #warning statements
3027         inside #ifdef WITH_WARNINGS blocks.
3028
3029 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3030
3031         * buffer.C: increment format to 233.
3032
3033 2004-04-28  Angus Leeming  <leeming@lyx.org>
3034
3035         * BufferView_pimpl.C:
3036         * lyxfunc.C:
3037         * text3.C:
3038         s/updateToolbar()/updateToolbars()/
3039         s/Toolbar.h/Toolbars.h/
3040
3041 2004-04-28  Angus Leeming  <leeming@lyx.org>
3042
3043         * BufferView.[Ch] (c-tor):
3044         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3045         No longer passes these data to the WorkArea generator.
3046
3047 2004-04-28  Angus Leeming  <leeming@lyx.org>
3048
3049         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3050
3051 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3052
3053         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3054
3055 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3056
3057         * output_latex.C (TeXEnvironment): make sure that there is a line
3058         break before \end{foo} for the last paragraph of a document
3059         (TeXOnePar): if the paragraph is at the end of the document (or
3060         inset) and the language has to be reset, then make sure that the
3061         line break is _before_ the language command, not after (fixes bug
3062         1225); also make sure that the language reset command is the first
3063         thing after the paragraph (to ensure proper nesting of
3064         environments and thus fix bug 1404)
3065
3066 2004-04-21  John Levon  <levon@movementarian.org>
3067
3068         * ToolbarBackend.h:
3069         * ToolbarBackend.C: make "name" be a programmatic name
3070         and a gui_name field.
3071
3072         * lyxfunc.C: display the minibuffer on M-x
3073
3074 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3075
3076         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3077         (bug 1526)
3078
3079 2004-04-19  Angus Leeming  <leeming@lyx.org>
3080
3081         * BufferView_pimpl.C (setBuffer): changed preview interface.
3082
3083         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3084         possible values.
3085
3086 2004-04-19  John Levon  <levon@movementarian.org>
3087
3088         * BufferView_pimpl.C:
3089         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3090
3091 2004-04-05  Angus Leeming  <leeming@lyx.org>
3092
3093         * text.C (redoParagraphs): add call to updateCounters(), thereby
3094         fixing the missing "Figure #:" label from the caption of a
3095         figure float.
3096
3097 2004-04-13  Angus Leeming  <leeming@lyx.org>
3098
3099         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3100         cursor is clicked out of an inset.
3101
3102 2004-04-13  Angus Leeming  <leeming@lyx.org>
3103
3104         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3105         than an InsetOld one.
3106
3107 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3108
3109         * format.[Ch]: add editor to Format
3110         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3111         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3112
3113 2004-04-08  André Pönitz  <poenitz@gmx.net>
3114
3115         * metricsinfo.h: remove PainterInfo::width member
3116
3117 2004-04-08  Angus Leeming  <leeming@lyx.org>
3118
3119         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3120         "\providecommand" rather than "\newcommand", thereby preventing
3121         clashes with packages that define "\boldsymbol" themselves.
3122         Eg, beamer.
3123
3124 2004-04-08  Angus Leeming  <leeming@lyx.org>
3125
3126         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3127         thereby squashing an unnecessary warning.
3128
3129 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3130
3131         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3132         setBuffer()
3133
3134 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3135
3136         * BufferView.C (setCursor): call redoParagraph (some insets could
3137         have been opened)
3138         (putSelectionAt): remove the 'double update' trick
3139
3140         * BufferView_pimpl.C (fitCursor): call refreshPar
3141         (workAreaDispatch): remove an uneeded update call
3142         (dispatch): remove some manual update calls
3143
3144         * cursor.[Ch]: remove cached_y_, updatePos
3145         (selHandle): set noUpdate when appropriate
3146
3147         * lyxfunc.C (dispatch): track if we need an update
3148
3149         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3150
3151         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3152         (paintSelection): cheap optimization, do not call cursorX when not
3153         needed
3154         (paintPars): change signature
3155         (refreshPar): add
3156         (paintText): adjust
3157         (paintTextInset): adjust
3158
3159         * text.C: adjust
3160
3161 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3162
3163         * lengthcommon.C: compilation fix: remove explicit array size from
3164         unit_name[] and friends
3165
3166 2004-04-05  Angus Leeming  <leeming@lyx.org>
3167
3168         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3169
3170         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3171         present only for the preferences dialog.
3172         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3173
3174 2004-04-05  Angus Leeming  <leeming@lyx.org>
3175
3176         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3177         to enable the frontends to export changes to lyxrc correctly.
3178
3179         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3180
3181 2004-04-07  André Pönitz  <poenitz@gmx.net>
3182
3183         * cursor.[Ch] (selClear, adjust): remove math
3184
3185         * cursor_slice.C: more agressive assert
3186
3187         * lyxfunc.C:
3188         * BufferView_pimpl.C: rework mouse event dispatch
3189
3190         * dociterator.C:
3191         * paragraph.C:
3192         * text2.C:
3193         * text3.C: adjust
3194
3195 2004-04-05  André Pönitz  <poenitz@gmx.net>
3196
3197         * cursor.[Ch] (valign, halign...): remove unneeded functions
3198
3199 2004-04-05  Angus Leeming  <leeming@lyx.org>
3200
3201         * lyxlength.[Ch] (unit_name et al.): const-correct.
3202
3203 2004-04-05  Angus Leeming  <leeming@lyx.org>
3204
3205         * BufferView_pimpl.C:
3206         * buffer.C:
3207         * counters.C:
3208         * cursor.C:
3209         * lyxfunc.C
3210         * paragraph.C:
3211         * pariterator.C:
3212         * text.C:
3213         * text2.C:
3214         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3215
3216 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3217
3218         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3219
3220 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3221
3222         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3223         * BufferView_pimpl.[Ch] (getStatus)
3224         * BufferView.[Ch] (getStatus): add
3225         * lyxfunc.C (getStatus): move lfuns handled in
3226         BufferView::dispatch to te function above
3227         * Cursor.C (setSelection): set selection() = true
3228
3229 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3230
3231         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3232
3233 2004-03-31  Angus Leeming  <leeming@lyx.org>
3234
3235         * lyxfunc.C (dispatch): Fall through to the generic
3236         Dialogs::show("preamble").
3237
3238 2004-03-31  Angus Leeming  <leeming@lyx.org>
3239
3240         * lyxfunc.C (dispatch): Fall through to the generic
3241         Dialogs::show("spellchecker").
3242
3243 2004-03-31  Angus Leeming  <leeming@lyx.org>
3244
3245         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3246         preferences dialog.
3247
3248 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3249
3250         * BufferView.C
3251         * cursor.[Ch]
3252         * dociterator.[Ch]:
3253         * insetiterator.[Ch]:
3254         * lyxfind.C:
3255         * lyxfunc.C:
3256         * pariterator.[Ch]:
3257         * text2.C:
3258         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3259
3260 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3261
3262         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3263         insets where we are putting the cursor.
3264
3265 2004-03-31  Angus Leeming  <leeming@lyx.org>
3266
3267         * lfuns.h:
3268         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3269
3270         * lyxrc.[Ch] (read, write): overloaded member functions taking
3271         a std::[io]stream arguments.
3272
3273         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3274
3275 2004-03-31  Angus Leeming  <leeming@lyx.org>
3276
3277         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3278         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3279
3280         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3281         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3282
3283 2004-03-31  Angus Leeming  <leeming@lyx.org>
3284
3285         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3286         the LFUN_ALL_INSETS_TOGGLE code.
3287
3288 2004-03-30  Angus Leeming  <leeming@lyx.org>
3289
3290         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3291         has died. Fall through to the generic Dialogs::show("document").
3292
3293 2004-03-30  Angus Leeming  <leeming@lyx.org>
3294
3295         * lfuns.h:
3296         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3297         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3298
3299         * lyxfunc.C (getStatus, dispatch): define the actions for these
3300         lfuns. Little more than a cut and pste job from ControlDocument.C
3301
3302         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3303
3304 2004-03-30  Angus Leeming  <leeming@lyx.org>
3305
3306         * lfuns.h:
3307         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3308         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3309
3310         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3311         open/closed state of ollapsable insets. Usage:
3312
3313         all-inset-toggle <state> <name>, where
3314         <state> == "open" || "closed" || "toggle" and
3315         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3316
3317         * lyxtext.h, text2.C (toggleInset): removed.
3318
3319         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3320         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3321         now passes LFUN_INSET_TOGGLE to the found inset.
3322
3323         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3324         is now invoked as "all-insets-toggle toggle branch".
3325
3326 2004-03-30  Angus Leeming  <leeming@lyx.org>
3327
3328         * dociterator.C:
3329         * insetiterator.C:
3330         * pariterator.[Ch]: added/corrected header blurb.
3331
3332 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3333
3334         * dociterator.[Ch]: add an inset_ member
3335         (backwardPos): implemented
3336         (backwardPos, forwardPos): use inset_ when the stack is empty.
3337         (doc_iterator_begin, doc_iterator_end): implemented
3338         * pariterator.[Ch]: adjust, add begin, end
3339         * insetiterator.[Ch]: adjust, add begin, end
3340         * cursor.C:
3341         * document.C:
3342         * BufferView.C:
3343         * BufferView_pimpl.C:
3344         * CutAndPaste.C: adjust
3345
3346 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3347
3348         * buffer.C: increment file format to 232.
3349         * LaTeXFeatures.C: add bibtopic package.
3350         * bufferparams.[Ch]: param \use_bibtopic.
3351
3352         * lyxrc.[Ch]: add lyxrc bibtex_command
3353         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3354
3355         * buffer.C: increment file format to 231.
3356
3357 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3358
3359         * dociterator.C: implement forwardPar
3360         * iterators.[Ch]: remove, replaced by
3361         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3362         * BufferView.C:
3363         * BufferView_pimpl.C:
3364         * CutAndPaste.C:
3365         * buffer.C:
3366         * bufferview_funcs.C:
3367         * cursor.C:
3368         * lyxfind.C
3369         * lyxfunc.C
3370         * paragraph_funcs.C
3371         * toc.C:
3372         * Makefile.am: adjust
3373
3374 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3375
3376         * CutAndPaste.C (pasteSelection): fix 2 crashes
3377         (eraseSelection): fix a crash
3378         * paragraph_funcs.C: remove a warning
3379
3380 2004-03-28  Angus Leeming  <leeming@lyx.org>
3381
3382         * lfuns.h:
3383         * LyXAction.C (init): new LFUN_PRINT.
3384
3385         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3386
3387 2004-03-27  Angus Leeming  <leeming@lyx.org>
3388
3389         * lfuns.h:
3390         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3391
3392         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3393
3394 2004-03-27  Angus Leeming  <leeming@lyx.org>
3395
3396         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3397         insetlist always contains non-null pointers to insets.
3398
3399 2004-03-26  Angus Leeming  <leeming@lyx.org>
3400
3401         * src/BufferView_pimpl.C:
3402         * src/CutAndPaste.C:
3403         * src/buffer.C:
3404         * src/iterators.C:
3405         * src/output_plaintext.C:
3406         * src/outputparams.h:
3407         * src/paragraph_funcs.C:
3408         * src/rowpainter.C:
3409         * src/text.C:
3410         * src/text2.C:
3411         * src/frontends/controllers/ControlErrorList.C:
3412         * src/frontends/gtk/FileDialogPrivate.C:
3413         * src/frontends/gtk/GPainter.C:
3414         * src/frontends/gtk/GToolbar.C:
3415         * src/frontends/qt2/QRef.C:
3416         * src/mathed/math_scriptinset.C: squash compiler warnings.
3417
3418 2004-03-26  Angus Leeming  <leeming@lyx.org>
3419
3420         * ispell.C (LaunchIspell::start):
3421         * lyx_cb.C (AutoSaveBuffer::start):
3422         invoke run(DontWait) rather than runNonBlocking().
3423
3424 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3425
3426         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3427
3428 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3429
3430         * kbsequence.C (print): adjust
3431
3432         * kbmap.C (printKeySym): rename and change signature
3433         (printKey): use LyXKeySym::print()
3434
3435 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3436
3437         * undo.C: add using std::advance to compile for stlport
3438
3439 2004-03-24  Angus Leeming  <leeming@lyx.org>
3440
3441         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3442         it leads to a crash when no buffer is present.
3443
3444 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3445             Martin Vermeer  <martin.vermeer@hut.fi>
3446
3447         * lyxfunc.C (dispatch):
3448         * bufferparams.C (readToken): use the new LColor::setColor
3449
3450         * LColor.[Ch] (setColor): new version that takes two strings as
3451         argument and creates a new color entry if necessary
3452
3453 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3454
3455         * buffer.C (makeLaTeXFile): if the main latex file that is
3456         processed is usually a subdocument of some master, then pretend
3457         for a while that it is actually the master
3458
3459 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3460
3461         * buffer.C (getLabelList):
3462         (getBibkeyList): use getMasterBuffer()
3463         (getMasterBuffer): new method. Returns the main document in the
3464         case where one is using included documents.
3465
3466 2004-03-25  André Pönitz  <poenitz@gmx.net>
3467
3468         * Makefile.am:
3469         * iterators.[Ch]:
3470         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3471
3472         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3473
3474         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3475         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3476
3477         * ParameterStruct.h: merge with ParagraphParameters
3478
3479         * lyxtext.h: remove LyXText::parOffset() and getPar()
3480
3481         * text3.C: Remove all 'manual' update calls. We do now one per user
3482         interaction which is completely sufficient.
3483
3484         * Bidi.C:
3485         * BufferView.[Ch]:
3486         * BufferView_pimpl.C:
3487         * FontIterator.[Ch]:
3488         * MenuBackend.C:
3489         * ParagraphParameters.[Ch]:
3490         * buffer.C:
3491         * buffer.h:
3492         * bufferlist.C:
3493         * cursor.[Ch]:
3494         * cursor_slice.[Ch]:
3495         * dociterator.[Ch]:
3496         * errorlist.[Ch]:
3497         * factory.C:
3498         * lfuns.h:
3499         * lyxfind.C:
3500         * lyxfunc.C:
3501         * output_docbook.[Ch]:
3502         * output_latex.[Ch]:
3503         * output_linuxdoc.[Ch]:
3504         * output_plaintext.[Ch]:
3505         * paragraph.[Ch]:
3506         * paragraph_funcs.[Ch]:
3507         * paragraph_pimpl.[Ch]:
3508         * rowpainter.C:
3509         * tabular.[Ch]:
3510         * text.C:
3511         * text2.C:
3512         * toc.C:
3513         * undo.[Ch]: adjust
3514
3515         * frontends/controllers/ControlDocument.C:
3516         * frontends/controllers/ControlErrorList.C:
3517         * frontends/controllers/ControlSpellchecker.C:
3518         * insets/inset.C:
3519         * insets/inset.h:
3520         * insets/insetbase.h:
3521         * insets/insetbibitem.C:
3522         * insets/insetbox.C:
3523         * insets/insetbranch.C:
3524         * insets/insetcaption.C:
3525         * insets/insetcharstyle.C:
3526         * insets/insetcharstyle.h:
3527         * insets/insetcollapsable.C:
3528         * insets/insetcollapsable.h:
3529         * insets/insetert.C:
3530         * insets/insetfloat.C:
3531         * insets/insetfoot.C:
3532         * insets/insetmarginal.C:
3533         * insets/insetnote.C:
3534         * insets/insetoptarg.C:
3535         * insets/insettabular.C:
3536         * insets/insettext.C:
3537         * insets/insettext.h:
3538         * insets/insetwrap.C:
3539         * mathed/math_mboxinset.C:
3540         * mathed/math_nestinset.C:
3541         * mathed/math_scriptinset.C:
3542         * mathed/math_scriptinset.h:
3543         * support/types.h:
3544
3545 2004-03-24  Angus Leeming  <leeming@lyx.org>
3546
3547         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3548         deal with any child processes that have finished but are waiting to
3549         communicate this fact to the rest of LyX.
3550
3551 2004-03-24  Angus Leeming  <leeming@lyx.org>
3552
3553         64-bit compile fixes.
3554
3555         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3556         (c-tor): pass lyx::pos_types rather than ints.
3557
3558         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3559         lyx::pos_type.
3560
3561         * text.C (Delete): compile fix.
3562         (getPar): ensure that function declaration is the same as that in
3563         the header file.
3564
3565 2004-03-23  Angus Leeming  <leeming@lyx.org>
3566
3567         * ispell.C (LaunchIspell):
3568         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3569         a boost::shred_ptr rather than a std::auto_ptr.
3570
3571 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3572
3573         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3574         handle LFUN_FILE_INSERT_*
3575
3576         * lyxrc.C (setDefaults, getDescription, output, read):
3577         * lyxrc.h: remove ps_command
3578
3579 2004-03-22  Angus Leeming  <leeming@lyx.org>
3580
3581         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3582         Ensure that error_handler is processed once only and that all data
3583         is saved before attempting to output any warning messages.
3584
3585         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3586
3587 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3588
3589         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3590
3591 2004-03-19  André Pönitz  <poenitz@gmx.net>
3592
3593         * cursor.[Ch] (reset): take main text inset as argument
3594
3595         * BufferView: adjust
3596         * BufferView_pimpl.C: adjust
3597
3598         * paragraph.[Ch]: fix completely broken operator=()
3599
3600 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3601
3602         * LColor.C (getFromLyXName): make sure that the color name is used
3603         as lowercase.
3604
3605 2004-03-17  Angus Leeming  <leeming@lyx.org>
3606
3607         * lfuns.h:
3608         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3609
3610         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3611         dialog and to kill a forked process.
3612
3613 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3614
3615         * text2.C (setCursorFromCoordinates): fix font problem
3616
3617 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3618
3619         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3620         bogus "rebuild cursor" code
3621
3622 2004-03-11  André Pönitz  <poenitz@gmx.net>
3623
3624         * buffer.[Ch]: use InsetText instead of LyXText as container for
3625         the main lyx text.
3626
3627         * dociterator.[Ch]: drop the BufferView * member which is not needed
3628         anymore after the change to buffer.C
3629
3630         * paragraph_funcs.C:
3631         * text.C:
3632         * text2.C:
3633         * BufferView.[Ch]:
3634         * BufferView_pimpl.[Ch]:
3635         * cursor.[Ch]:
3636         * cursor_slice.[Ch]: adjust
3637
3638         * text3.C: fix bug in mathDispatch
3639
3640 2004-03-08  André Pönitz  <poenitz@gmx.net>
3641
3642         * undo.[Ch]: use 'StableDocumentIterator' as base for
3643         the Undo struct.
3644
3645 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3646
3647         * LaTeXFeatures.C:
3648         * bufferparams.[Ch]: add jurabib support and param.
3649
3650         * LaTeX.C: add FIXME/comment.
3651
3652 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3653
3654         * buffer.C: increment file format to 230.
3655
3656 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3657
3658         * cursor.C (dispatch): avoid infinite loops
3659
3660 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3661
3662         * rowpainter.C (paintSelection): fix x coordinates
3663
3664 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3665
3666         * text.C (rowBreakPoint): fix breaking before displayed insets
3667
3668 2004-03-01  André Pönitz  <poenitz@gmx.net>
3669
3670         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3671
3672         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3673
3674         * Makefile.am:
3675         * BufferView.C:
3676         * BufferView_pimpl.C:
3677         * buffer.C:
3678         * lyxfind.C:
3679         * lyxfunc.C:
3680         * text.C:
3681         * text2.C:
3682         * text3.C: adjust
3683
3684 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3685
3686         * lyxtext.h:
3687         * text.C:
3688         * text2.C:
3689         * rowpainter.C:
3690         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3691         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3692
3693 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3694
3695         * Bidi.[Ch] (computeTables): const correctness
3696         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3697         fill_hfill, fill_label_hfill and x from Row
3698         * lyxtext.h: prepareToPrint returns a RowMetrics
3699         * rowPainter.C: adjust
3700         * text.C (prepareToPrint): use width, not textWidth. adjust
3701         (redoParagraphInternal, cursorX): adjust
3702         * text2.C (getColumnNearX): adjust
3703         (init): put a default value to the top LyXText::width
3704
3705 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3706
3707         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3708
3709 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3710
3711         * lyxtext.h: add FontIterator class
3712
3713         * text.C (FontIterator, operator*, operator->, operator++): add
3714         (rowBreakPoint, setRowWidth): adjust (fixing a
3715         rebreaking bug)
3716
3717 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3718
3719         * BufferView_pimpl.C (workAreaDispatch): allow also
3720         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3721
3722 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3723
3724         * text.C (rowBreakPoint): fix a bug showing with very large insets
3725
3726 2004-02-25  André Pönitz  <poenitz@gmx.net>
3727
3728         * text3.C:
3729         * cursor.[Ch]: move some mathed specific code to mathed
3730
3731 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3732
3733         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3734         use_tempdir in preferences
3735         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3736         tempfile creation
3737         * lyx_main.C: ensure that tempdir is valid
3738         * lyxlex.h: correct typo
3739         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3740         * paragraph.[Ch] (isMultiLingual): make const
3741         * cursor.[Ch] (openable): make const
3742
3743 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3744
3745         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3746
3747 2004-02-20  André Pönitz  <poenitz@gmx.net>
3748
3749         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3750
3751         * cursor.[Ch]: prepare for localized getStatus()
3752
3753         * lyxtext.h:
3754         * tabular.C:
3755         * text.C:
3756         * text2.C:
3757         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3758
3759 2004-02-20  André Pönitz  <poenitz@gmx.net>
3760
3761         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3762
3763 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3764
3765         * text2.C (setCursorFromCoordinates): switch to absolute coords
3766         (cursorUp): adjust
3767         (cursorDown): adjust
3768         * text3.C (dispatch): adjust
3769
3770 2004-02-16  André Pönitz  <poenitz@gmx.net>
3771
3772         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3773           insets/ChangeLog)
3774
3775         * cursor_slice.[Ch]: remove unneeded acessor function
3776
3777         * lyxtext.h: rename rtl() to isRTL()
3778
3779         * rowpainter.C:
3780         * tabular.C:
3781         * text.C:
3782         * text2.C:
3783         * text3.C: adjust
3784
3785 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3786
3787         * rowpainter.C (paintSelection): coord fix
3788
3789 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3790
3791         * Spacing.C: compile fix
3792
3793 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3794
3795         * cursor.C (dispatch): restore current_ before returning
3796
3797 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3798
3799         * text2.C (cursorUp, cursorDown): fix coords
3800         (moveUp): fix crash
3801
3802 2004-02-12  André Pönitz  <poenitz@gmx.net>
3803
3804         * lyxtext.h:
3805         * text.C:
3806         * text2.C:
3807         * text3.C: add LCursor & parameter to most cursor movement functions
3808           remove usage of LyXText::cursorRow() and cursorPar()
3809
3810         * cursor.[Ch]: add textRow() needed members
3811
3812         * BufferView.C:
3813         * BufferView_pimpl.C:
3814         * paragraph.[Ch]:
3815         * BufferView.C:
3816         * BufferView_pimpl.C: adjust
3817
3818 2004-02-11  André Pönitz  <poenitz@gmx.net>
3819
3820         * lyxfunc.C:
3821         * BufferView.[Ch]:
3822         * BufferView_pimpl.C: shift undo/redo handling
3823
3824         * cursor.[Ch]: fix mathed crash
3825
3826         * lyxfind.C:
3827         * lyxtext.h: move selectionAsText to LCursor
3828
3829         * output_latex.C:
3830         * paragraph.C:
3831         * text.C:
3832         * text2.C:
3833         * text3.C: adjust
3834
3835         * rowpainter.C: fix excessive drawing
3836
3837 2004-02-06  André Pönitz  <poenitz@gmx.net>
3838
3839         * BufferView.[Ch]:
3840         * BufferView_pimpl.[Ch]:
3841         * text3.C: move some text specific LFUN handling
3842
3843 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3844
3845         * text3.C (checkInsetHit): adjust coords
3846         * text2.C (getColumnNearX): adjust coords
3847         (edit): adjust coords
3848         * text.C (getRowNearY): add two asserts
3849
3850 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3851
3852         * converter.C:
3853         * format.C: add using std::distance to compile on gcc 2.95/stlport
3854
3855 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3856
3857         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3858
3859 2004-02-04  André Pönitz  <poenitz@gmx.net>
3860
3861         * BufferView.[Ch] (insertInset):
3862         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3863
3864         * text2.C:
3865         * text3.C: adjust
3866
3867 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3868
3869         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3870         on the default clause of the switch
3871         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3872         wasn't catched by LCursor::dispatch
3873
3874 2004-02-03  André Pönitz  <poenitz@gmx.net>
3875
3876         * BufferView.C:
3877         * cursor.[Ch]: some additional asserts
3878
3879         * undo.[Ch]: remove LyXText dependency in interface
3880
3881         * lyxfunc.C: adjust
3882
3883         * lyxtext.h (firstPar, lastPar): remove dead functions
3884
3885         * text.C:
3886         * text2.C:
3887         * text3.C:
3888         * paragraph.[Ch]: adjust
3889
3890 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3891
3892         * lyxfind.C (find): fix argument order in call to ::find
3893
3894 2004-02-02  André Pönitz  <poenitz@gmx.net>
3895
3896         * cursor.[Ch]: remove direct access to anchor
3897
3898         * text.C: remove findText() hack
3899
3900 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3901
3902         * iterators.[Ch] (lockPath): remove in favour of...
3903         * BufferView.[Ch] (setCursor): this addition
3904         * BufferView.C (putSelectionAt): adjust
3905         * undo.C (performUndoOrRedo): adjust
3906         * lyxfunc.C (dispatch): adjust
3907
3908 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3909
3910         * iterators.C (lockPath): add a missing slice
3911         * undo.C (performUndoOrRedo): remove redundant positioning code
3912
3913 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * vc-backend.C (scanMaster): ";" -> ';'
3916
3917 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3918
3919         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3920         std::binary_function
3921
3922         * lyxtextclass.C (compare_name): rename to...
3923         (LayoutNamesEqual): ...this
3924
3925         * lyxlex_pimpl.C (compare_tags): inherit from
3926         std::binary_function, put back into anon namespace
3927
3928         * lyxfind.C (MatchString): inherig from std::binary_function
3929         (findChange): use empty() istead of !size()
3930
3931         * format.C (FormatNamesEqual): new functor
3932         (getFormat): use it
3933         (getNumber): use it
3934         (add): use it
3935         (erase): use it
3936         (setViewer): use it
3937
3938         * converter.C (compare_Converter): rename to...
3939         (ConverterEqual): ...this, and fixup a bit.
3940         (getConverter): use it, and make function const
3941         (getNumber): use it, and make function const
3942         (add): use it
3943         (erase): use it:
3944
3945         * bufferlist.C: add using boost::bind
3946
3947         * MenuBackend.C (MenuNamesEqual): new functor
3948         (hasMenu): use it, and make function const
3949         (hasSubmenu): use nested bind to get rid of compare_memfun.
3950
3951 2004-01-30  André Pönitz  <poenitz@gmx.net>
3952
3953         * BufferView_pimpl.C:
3954         * cursor.C:
3955         * cursor.h:
3956         * cursor_slice.[Ch]:
3957         * lyxfunc.C:
3958         * lyxtext.h:
3959         * paragraph_funcs.C:
3960         * paragraph_funcs.h:
3961         * rowpainter.C:
3962         * text.C:
3963         * text2.C:
3964         * text3.C: move some of the edit(x,y) handling to the insets
3965         some coordinate changes.
3966
3967 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3968
3969         * text.C: add using statements for std::advance and std::distance
3970
3971         * paragraph.C: add using statement for std::distance
3972
3973         * lyxfind.C: add using statement for std::advance
3974
3975         * cursor.C (region): remove std:: from swap
3976         (openable): use nucleus in stead of operator->
3977
3978         * BufferView.C: add using statements for std::distance and std::swap
3979
3980 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3981
3982         * iterators.C: Remove the pimple, move the needed structures to
3983         the header file. Create accessor for the positions stack.
3984         (asPosIterator): remove function
3985
3986         * PosIterator.C (PosIterator): move constructors to top of file
3987         (PosIterator): reimplement the constructor taking a ParIterator in
3988         terms of setFrom.
3989         (setFrom): new function
3990         (operator!=): inline it
3991
3992 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3993
3994         * lyxfind.C (replaceAll): use std::advance
3995
3996         * iterators.h: inherit from std::iterator.
3997
3998         * PosIterator.C (advance, distance): remove
3999         * PosIterator.h: interit from std::iterator.
4000
4001 2004-01-26  André Pönitz  <poenitz@gmx.net>
4002
4003         * BufferView.[Ch]:
4004         * BufferView_pimpl.[Ch]:
4005         * InsetList.[Ch]:
4006         * PosIterator.[Ch]:
4007         * buffer.h:
4008         * bufferview_funcs.C:
4009         * cursor.[Ch]:
4010         * cursor_slice.h:
4011         * factory.[Ch]:
4012         * iterators.[Ch]:
4013         * lyxfind.C:
4014         * lyxfunc.C:
4015         * lyxtext.h:
4016         * output_docbook.C:
4017         * output_latex.C:
4018         * output_linuxdoc.C:
4019         * output_plaintext.C:
4020         * paragraph.[Ch]:
4021         * paragraph_funcs.[Ch]:
4022         * paragraph_pimpl.[Ch]:
4023         * rowpainter.C:
4024         * tabular.C:
4025         * tabular.h:
4026         * text.C:
4027         * text2.C:
4028         * text3.C: more IU:  dumps most of the rest of the mathcursor
4029     implementation into cursor.[Ch]; "globalize" a bit of it.
4030
4031 2004-01-25  Angus Leeming  <leeming@lyx.org>
4032
4033         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4034
4035 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4036
4037         * LaTeXFeatures.h: add nice_ and nice() const
4038         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4039
4040 2004-01-20  André Pönitz  <poenitz@gmx.net>
4041
4042         * BufferView.[Ch]:
4043         * BufferView_pimpl.C:
4044         * PosIterator.C:
4045         * bufferview_funcs.C:
4046         * cursor.[Ch]:
4047         * cursor_slice.[Ch]:
4048         * factory.C:
4049         * iterators.C:
4050         * lyx_cb.C:
4051         * lyxfind.C:
4052         * lyxfunc.C:
4053         * lyxtext.h:
4054         * rowpainter.C:
4055         * text.C:
4056         * text2.C:
4057         * text3.C:
4058         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4059           LCursor and mathcursor parts to LCursor and InsetBase.
4060
4061 2004-01-15  André Pönitz  <poenitz@gmx.net>
4062
4063         * cursor_slice.[Ch]: add a few covienience functions
4064
4065         * funcrequest.[Ch]: remove BufferView * member
4066
4067         * BufferView_pimpl.C:
4068         * cursor.C:
4069         * factory.[Ch]:
4070         * lyxfind.[Ch]:
4071         * lyxfunc.C:
4072         * lyxtext.h:
4073         * text3.C:
4074         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4075
4076 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4077
4078         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4079         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4080
4081 2004-01-13  André Pönitz  <poenitz@gmx.net>
4082
4083         * textcursor.[Ch]:
4084         * lyxtext.h: hide cursor and selection anchor behind accessor function
4085
4086         * BufferView.C:
4087         * BufferView_pimpl.[Ch]:
4088         * PosIterator.C:
4089         * bufferview_funcs.C:
4090         * cursor.h:
4091         * lyxfind.C:
4092         * lyxfunc.C:
4093         * text.C:
4094         * text2.C:
4095         * text3.C:
4096         * undo.C: adjust
4097
4098         * cursor.h:
4099         * cursor_slice.[Ch]: some integer type changes for inset unification
4100
4101         * lyxcursor.[hC]: remove, it's CursorSlice now.
4102
4103         * Makefile.am:
4104         * BufferView_pimpl.[Ch]:
4105         * bufferview_funcs.C:
4106         * cursor_slice.C:
4107         * lyxtext.h:
4108         * text.C:
4109         * text2.C:
4110         * text3.C:
4111         * textcursor.[Ch]: adjust
4112
4113 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4114
4115         * text2.C (undoSpan): add and use
4116         * text.C (breakParagraph): use undoSpan (fix bug 578)
4117         * lyxtext.h: adjust
4118
4119 2004-01-08  Angus Leeming  <leeming@lyx.org>
4120
4121         * BufferView_pimpl.C (MenuInsertLyXFile):
4122         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4123         * lyxfunc.C (menuNew, open, doImport):
4124         FileFilterList change to the FileDialog open and save functions.
4125
4126 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4127
4128         * ShareContainer.h: make isEqual and isUnique adaptable
4129
4130         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4131
4132 2004-01-07  Angus Leeming  <leeming@lyx.org>
4133
4134         * LyXAction.C:
4135         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4136
4137         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4138
4139         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4140         functions replacing find, replace and replaceAll.
4141
4142         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4143         LFUN_WORDFIND(FORWARD|BACKWARD).
4144
4145 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4146
4147         * text.C (breakParagraph): remove an outdated #warning
4148
4149 2004-01-07  André Pönitz  <poenitz@gmx.net>
4150
4151         * lyxfind.C: somewhat clearer logic
4152
4153         * text.C: prevent crash in cursorX on unitialized row cache
4154
4155 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4156
4157         * lyxcursor.[Ch] (operator>): add
4158         * textcursor.C (selStart, selEnd): use std::min and std::max
4159
4160 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4161
4162         * Chktex.C: include boost/format.hpp
4163
4164 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4165
4166         * InsetList.C: replace functor MathcIt with adaptable functor
4167         InsetTablePosLess
4168         (insetIterator): modify accordingly
4169
4170         * BranchList.h: move the BranchNamesEqual functor here from...
4171         * BranchList.C: ... to here
4172
4173         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4174         SameName and match.
4175         (add): replace a finding loop with std::find_if.
4176
4177 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4178
4179         * output_docbook.C: moving LatexParam functionality into
4180         .layout files
4181
4182 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4183
4184         * buffer.C: increment format to 229.
4185
4186 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4187
4188         * LaTeXFeatures.C:
4189         * lyx_sty.[Ch]: remove minipageindent_def
4190
4191         * LyXAction.C:
4192         * factory.C:
4193         * lfuns.h:
4194         * lyxfunc.C:
4195         * text3.C: remove LFUN_INSET_MINIPAGE
4196
4197 2003-12-28  Angus Leeming  <leeming@lyx.org>
4198
4199         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4200
4201 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4202
4203         * text2.C (setParagraph): fix off-by-one crash
4204
4205 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4206
4207         * output_docbook.C: header stuff for AGU
4208
4209 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4210
4211         * text2.C (redoCursor): remove
4212         * text.C:
4213         * text3.C:
4214         * BufferView_pimpl.C: remove calls to redoCursor and
4215         setCursor(cursor.par(), cursor.pos()) all around
4216
4217 2003-12-15  Angus Leeming  <leeming@lyx.org>
4218
4219         * buffer.C: up the format to 228.
4220
4221 2003-12-15  André Pönitz  <poenitz@gmx.net>
4222
4223         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4224         slices
4225
4226         * Makefile.am:
4227
4228         * BufferView_pimpl.C:
4229         * cursor.[Ch]:
4230         * lyxcursor.[Ch]:
4231         * rowpainter.[Ch]:
4232         * lyxtext.h:
4233         * text.C:
4234         * text2.C:
4235         * text3.C: adjust
4236
4237 2003-12-15  Angus Leeming  <leeming@lyx.org>
4238
4239         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4240         than getFromGUIName to manipulate the color.
4241
4242 2003-12-14  Angus Leeming  <leeming@lyx.org>
4243
4244         * BranchList.[Ch]: minimize the API.
4245         (Branch::getBranch, getColor): now return a 'const &'.
4246         (Branch::setSelected) now returns a bool set to true if the
4247         selection status changes.
4248         (BranchList::clear, size, getColor, setColor, setSelected,
4249         allBranches, allSelected, separator): removed.
4250         (BranchList::find): new functions, returning the Branch with
4251         the given name.
4252         (BranchList::add, remove): return a bool indicating that
4253         the operation was successful.
4254
4255         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4256         new InsetBranch::isBranchSlected member function.
4257
4258         * LColor.[Ch]: mimimize the API.
4259         (fill): renamed as addColor and made private.
4260         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4261         versions of these functions taking a string arg have been removed.
4262
4263         * bufferparams.C (readToken):
4264         * lyxfunc.C (dispatch):
4265         * lyxrc.C (read): changes due to the altered BranchList and
4266         LColor APIs.
4267
4268         * factory.C (createInset, readInset): changes due to altered
4269         InsetBranch c-tor.
4270
4271 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4272
4273         * factory.C:
4274         * lyxfunc.C: remove insetminipage. "minipage-insert"
4275         now produces a frameless minipage box inset.
4276
4277 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4278
4279         * textcursor.[Ch] (selStart,selEnd): add new methods
4280         remove selection::start, end, use LyXCursor::operator<
4281         * lyxcursor.[Ch] (operator<): add
4282         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4283         * BufferView.[Ch] (unsetXSel): add
4284         * text2.C (clearSelection): use unsetXSel,adjust
4285         * text.C: adjust
4286         * text3.C: adjust
4287         * rowpainter.C: adjust
4288         * bufferview_funcs.C (put_selection_at): adjust
4289
4290 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4291
4292         * BufferView_pimpl.C: small coord. correction
4293
4294 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4295
4296         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4297         dragging over the splash screen.
4298
4299 2003-12-11  Angus Leeming  <leeming@lyx.org>
4300
4301         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4302         as it is now handled in LyXText::dispatch.
4303
4304         * text3.C (doInsertInset): remove a level of nesting.
4305
4306 2003-12-11  Angus Leeming  <leeming@lyx.org>
4307
4308         * factory.C (createInset): changes due to the changed interface to
4309         InsetCommandMailer::string2params.
4310
4311 2003-12-10  Angus Leeming  <leeming@lyx.org>
4312
4313         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4314         'dialog-show-new-inset <inset name>'
4315
4316 2003-12-10  Angus Leeming  <leeming@lyx.org>
4317
4318         * buffer.C: up the format to 227.
4319
4320         * factory.C: the box inset is now identified simply by 'Box'.
4321
4322 2003-12-10  Angus Leeming  <leeming@lyx.org>
4323
4324         * buffer.C: up the format to 226.
4325
4326         * factory.C: the note inset is now identified simply by 'Note'.
4327
4328 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4329
4330         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4331         when a pit is enough. Standarize a couple of loops.
4332
4333 2003-12-05  Angus Leeming  <leeming@lyx.org>
4334
4335         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4336         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4337         data to the re-worked "log" dialog.
4338
4339 2003-12-03  André Pönitz  <poenitz@gmx.net>
4340
4341         * PosIterator.C:
4342         * iterators.C:
4343         * lyxtext.h:
4344         * output_latex.C:
4345         * paragraph_funcs.C:
4346         * text.C:
4347         * text2.C: use Inset::getText instead of Inset::getParagraph
4348
4349 2003-12-03  André Pönitz  <poenitz@gmx.net>
4350
4351         * buffer.[Ch]:
4352         * lyxtext.h:
4353         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4354         InsetText::read() as LyXText::read()
4355
4356 2003-12-02  Angus Leeming  <leeming@lyx.org>
4357
4358         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4359         type. Add a comment in the implementation that the function uses
4360         the stream's bad() function rather than fail() as the std::streams
4361         would do.
4362
4363 2003-12-02  André Pönitz  <poenitz@gmx.net>
4364
4365         * lyxlex.[Ch]: make interface more similar to std::stream
4366
4367         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4368
4369 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4370
4371         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4372
4373 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4374
4375         * vspace.[Ch]: remove VSpace::NONE
4376
4377 2003-12-01  André Pönitz  <poenitz@gmx.net>
4378
4379         * buffer.[Ch]:
4380         * lyxtext.h: move ParagraphList member to LyXText
4381         rename LyXText::ownerParagraphs to LyXText::paragraph
4382
4383         * CutAndPaste.C:
4384         * bufferview_funcs.C:
4385         * iterators.[Ch]:
4386         * lyx_cb.C:
4387         * paragraph.C:
4388         * rowpainter.C:
4389         * tabular.C:
4390         * text.C:
4391         * text2.C:
4392         * text3.C: adjust
4393
4394         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4395
4396         * undo.C: fix cursor positioning
4397
4398 2003-12-01  John Levon  <levon@movementarian.org>
4399
4400         * BufferView_pimpl.C: fix a crash on exit with
4401         a buffer open
4402
4403 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4404
4405         * BranchList.C: fix setSelected() method.
4406
4407 2003-11-28  André Pönitz  <poenitz@gmx.net>
4408
4409         * ParagraphParameters.[Ch]:
4410         * ParameterStruct.h: remove space above/below from Paragraph to
4411          InsetVSpace
4412
4413         * BufferView_pimpl.C:
4414         * factory.C:
4415         * lyxfunc.C:
4416         * lyxtext.h:
4417         * output_latex.C:
4418         * paragraph.C:
4419         * paragraph_funcs.C:
4420         * rowpainter.[Ch]:
4421         * text.C:
4422         * text2.C:
4423         * text3.C: adjust
4424
4425 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4426
4427         * factory.C: Syntax change for CharStyles
4428
4429 2003-11-28  André Pönitz  <poenitz@gmx.net>
4430
4431         * BufferView.[Ch]:
4432         * BufferView.[Ch]:
4433         * buffer.[Ch]:
4434         * buffer.[Ch]: move LyXText member
4435
4436 2003-11-28  André Pönitz  <poenitz@gmx.net>
4437
4438         * BufferView.[Ch]: make LyXText * text a private member
4439
4440         * BufferView_pimpl.C:
4441         * cursor.C:
4442         * iterators.C:
4443         * lyx_cb.C:
4444         * lyxfind.C:
4445         * lyxtext.h:
4446         * rowpainter.[Ch]:
4447         * text.C:
4448         * text2.C:
4449         * undo.C: adjust
4450
4451         * output_plaintext.C: cleanup
4452
4453 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4454
4455         * buffer.C:
4456         * lyxtextclass.[Ch]: parametrize SGML document header
4457
4458 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4459
4460         * converter.[Ch]:
4461         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4462         getFlavor().
4463
4464 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4465
4466         * text2.C (setFont): rework using PosIterator (no more recursive)
4467         (setCharFont): no more needed
4468         (setLayout): no more selection cursors fiddling (done by redoCursor)
4469         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4470         destroy remaining ones)
4471
4472 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4473
4474         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4475         * lyxtext.h: ditto
4476         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4477         selection cursors
4478         * lyxfunc.C: adjust
4479         * text3.C: adjust + re-allow multi par depth changes
4480         * textcursor.C: simplify a bit
4481
4482 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4483
4484         * src/buffer.C:
4485         * src/lyxlayout.C:
4486         * src/lyxlayout.h:
4487         * src/lyxtext.h:
4488         * src/output_docbook.C:
4489         * src/output_latex.C:
4490         * src/paragraph.C:
4491         * src/paragraph.h:
4492         * src/sgml.C:
4493         * src/sgml.h:
4494         * src/text2.C: Introducing a number of tags parametrizing various
4495         XML formats that we may want to support
4496
4497 2003-11-25  André Pönitz  <poenitz@gmx.net>
4498
4499         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4500
4501         * lyxtext.h (leftMargin/rightMargin): simplify interface
4502
4503         * rowpainter.C:
4504         * text.C:
4505         * text2.C:
4506         * text3.C: adjust
4507
4508 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4509
4510         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4511         master file to any child files. Fixes bug 546.
4512
4513 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4514
4515         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4516
4517 2003-11-24  André Pönitz  <poenitz@gmx.net>
4518
4519         * rowpainter.C: simplification
4520
4521         * text2.C (updateCounters): remove call to redoParagraph on
4522         changed labels as this is far too expensive.
4523
4524 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4525
4526         * converter.C (convert): fix a crash: this function gets
4527         called with buffer == 0 from importer code.
4528
4529 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4530
4531         * text3.C (cursorPrevious): make sure that we do not compare
4532         iterators form different containers.
4533         (cursorNext): ditto
4534
4535         * rowpainter.C (paintSelection): make sure that we do not compare
4536         iterators from different containers.
4537
4538         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4539         iterators from different ParagraphList containers.
4540         [NEXT] ditto
4541
4542         * text2.C (LyXText): change order of initialization slightly
4543         (operator=): new function. copy all variables except cache_par_
4544         (moveUp): make sure that we do not compare iterators from
4545         different ParagraphList constainers.
4546         (moveDown): ditto
4547
4548         * text.C (firstPar): new function
4549         (lastPar): new function
4550         (endPar): new function
4551
4552         * lyxtext.h: move things around and group public functions, public
4553         variables, private functions, private variables
4554
4555 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4556
4557         * factory.C: change call to InsetERT constructor to avoid
4558         additional invocation of method status
4559         * text2.C (toggleInset): remove redundant update() call
4560         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4561         instead of a Bufferview pointer
4562
4563 2003-11-21  André Pönitz  <poenitz@gmx.net>
4564
4565         * rowpainter.C: simplification
4566
4567 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4568
4569         * text3.C (dispatch): make possible to extend a word/row selection
4570         with the mouse
4571
4572 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4573
4574         * lyxtext.h: x0_,y0_ -> xo_,yo_
4575         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4576         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4577         * rowpainter.C (paintRows): paint full paragraphs
4578
4579 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4580
4581         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4582         screen coordinates)
4583
4584 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4585
4586         * lyxtext.h: add x0_, y0_
4587         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4588         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4589
4590 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4591
4592         * text2.C (setCursorIntern): move the x_target update here *
4593         * text3.C: change some bv() to true/false in calls to
4594         cursorUp/Down/Right/Left
4595         * cursor.C: use helper function.
4596
4597 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4598
4599         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4600         * paragraph_funcs.[Ch]: correct comment
4601         * rowpainter.C: do not paint selections away from bv->cursor()
4602         Fix a long standing selection painting bug.
4603         * text3.C: generalize mouse-selection code to LyXTexts other that
4604         top one
4605         * textcursor.C: do not use y coords if we can use par offsets
4606
4607 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4608
4609         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4610         cursor position after e.g. inset insert)
4611
4612 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4613
4614         * lyxfind.C (replace): adjust to locking removal + some
4615         code simplification
4616
4617 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4618
4619         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4620         of the path
4621
4622 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4623
4624         * lyxlayout.[Ch]:
4625         * output_docbook.C: XML sanitation: new layout
4626         parameters InnerTag and CommandDepth
4627
4628 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4629
4630         * BufferView_pimpl.C:
4631         * factory.C:
4632         * text3.C: Fix the insertion and modification of button-style
4633         insets
4634
4635 2003-11-13  André Pönitz  <poenitz@gmx.net>
4636
4637         * InsetList.[Ch]: remove deleteLyXText
4638
4639         * paragraph.[Ch]: cache beginOfBody position
4640
4641         * Bidi.C:
4642         * text.C:
4643         * text2.C:
4644         * text3.C: remove superfluous update() calls
4645
4646         * vspace.C: cleanup
4647
4648 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4649
4650         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4651         * BufferView.C (fitLockedInsetCursor): remove
4652         * cursor.[Ch] (getDim): add
4653         * text.C (getRowNearY): add faster version
4654         * text3.C: remove some update calls
4655
4656 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4657
4658         * LaTeXFeatures.C:
4659         * LyXAction.C:
4660         * MenuBackend.C:
4661         * MenuBackend.h:
4662         * dispatchresult.h:
4663         * factory.C:
4664         * lfuns.h:
4665         * lyxfunc.C:
4666         * lyxtextclass.C:
4667         * lyxtextclass.h:
4668         * text3.C: The Character Style /XML short element patch.
4669
4670 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4671
4672         * text3.C:
4673         * factory.C: Small step to solving 'unable to insert some insets'
4674         problem
4675
4676 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4677
4678         * cursor.[Ch] (updatePos): new function for updating the y
4679         position of the tip inset
4680         * bufferview_funcs.C (put_selection_at):
4681         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4682
4683 2003-11-11  André Pönitz  <poenitz@gmx.net>
4684
4685         * text.C: remove big comment on invalid Paragraph pointers as it is
4686         not valid anymore
4687
4688 2003-11-11  André Pönitz  <poenitz@gmx.net>
4689
4690         * text_funcs.[Ch]: merge with ...
4691
4692         * text.C: ... this
4693
4694         * lyxtext.h:
4695         * text2.C:
4696         * text3.C: adjust
4697
4698         * Makefile.am: remove text_funcs.[Ch]
4699
4700 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4701
4702         * cursor.C (getPos): return absolute cached y coord
4703
4704         * BufferView_pimpl.C (fitCursor): new simplistic code
4705         (workAreaDispatch): add a fitCursor call
4706
4707 2003-11-10  André Pönitz  <poenitz@gmx.net>
4708
4709         * BufferView.[Ch]:
4710         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4711
4712 2003-11-10  André Pönitz  <poenitz@gmx.net>
4713
4714         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4715         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4716         indicate that the cursor needs to leave an inset
4717
4718         * lyxtext.h: remove inset locking
4719
4720         * cursor.[Ch]: re-implement functionality provided by inset locking
4721
4722         * BufferView.[Ch]:
4723         * BufferView_pimpl.[Ch]:
4724         * LyXAction.C:
4725         * bufferview_funcs.[Ch]:
4726         * factory.C:
4727         * funcrequest.[Ch]:
4728         * iterators.C:
4729         * lyx_cb.C:
4730         * lyxfind.C:
4731         * lyxfunc.C:
4732         * text.C:
4733         * text2.C:
4734         * text3.C:
4735         * undo.C: adjust
4736
4737 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4738
4739         * PosIterator.[Ch]: replace the stack with a vector, add inset
4740         accesor
4741         * iterators.[C]: adjust
4742
4743 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4744
4745         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4746         replaced
4747         * paragraph_funcs.C (readParToken): put the correct id in the
4748         error item, not the id of the top paragraph
4749
4750 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4751
4752         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4753         * bufferview_funcs.C (put_selection_at): use the above
4754
4755 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4756
4757         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4758
4759 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4760
4761         * output_linuxdoc.h:
4762         * output_plaintext.h:
4763         * output.h:
4764         * output_docbook.h: add #include statements
4765
4766 2003-11-05  José Matos  <jamatos@lyx.org>
4767
4768         * output_docbook.[Ch]:
4769         * output_latex.[Ch]:
4770         * output_linuxdoc.[Ch]:
4771         * output_plaintext.[Ch]: New files for output formats.
4772         * output.[Ch]: New file for helper functions.
4773
4774         * buffer.[Ch]:
4775         * paragraph_funcs.[Ch]: output functions moved to new files.
4776
4777         * outputparams.h: rename of latexrunparams.h
4778
4779         * LaTeX.[Ch]:
4780         * buffer.[Ch]:
4781         * bufferlist.[Ch]:
4782         * converter.[Ch]:
4783         * exporter.C:
4784         * paragraph.[Ch]:
4785         * paragraph_funcs.[Ch]:
4786         * paragraph_pimpl.[Ch]:
4787         * tabular.[Ch]: rename ascii to plaintext
4788         and LatexRunParams to OutputParams.
4789
4790 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4791
4792         * iterators.[Ch] (text): require bv argument
4793         * undo.C (recordUndo):
4794         * lyxfunc.C (dispatch):
4795         * bufferview_funcs.C (put_selection_at): adjust
4796
4797 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4798
4799         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4800
4801 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4802
4803         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4804         nestings
4805
4806 2003-11-04  André Pönitz  <poenitz@gmx.net>
4807
4808         * cursor.[Ch]: restructure
4809
4810         * BufferView.[Ch]:
4811         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4812
4813         * iterators.[Ch] (asCursor): remove
4814
4815         * lfuns.h: remove LFUN_INSET_EDIT
4816
4817         * lyxfunc.C:
4818         * tabular.C:
4819         * text.C:
4820         * text2.C:
4821         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4822
4823 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4824
4825         * lyxfind.[Ch]: complete overhaul
4826         * BufferView_pimpl.C:
4827         * lyxfunc.C: adjust
4828         * paragraph.[Ch] (insert): add
4829
4830 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4831
4832         * BufferView.[Ch]:
4833         * lyxtext.h:
4834         * text.C: remove dead spellcheck code
4835
4836 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4837
4838         * dispatchresult.h: add a val setter
4839
4840         * cursor.C (dispatch): use a tempvar for data_[i]
4841
4842 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4843
4844         * PosIterator.[Ch]: compile fix
4845
4846 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4847
4848         * text.C (cursorPar): deactivate the cursor cache
4849
4850 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4851
4852         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4853
4854 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4855
4856         * text3.C (dispatch): adjust for new DisptchResult semantics.
4857
4858         * lyxfunc.C (dispatch): handle update when return from
4859         Cursor::dispatch, adjust for new DispatchResult semantics.
4860
4861         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4862         DispatchResult(true) mean to not update. Add class functions for
4863         setting dispatched and update, as well as reading.
4864
4865         * cursor.C (dispatch): don't handle update here
4866
4867 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4868
4869         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4870         * trans_mgr.C: adjust
4871
4872         * paragraph_funcs.C (readParToken): exception safety
4873
4874         * lyxvc.h: store the vcs pointer in a scoped_ptr
4875         * lyxvc.C: adjust
4876
4877         * lyxsocket.C (serverCallback): exception safety
4878
4879         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4880
4881         * ispell.C (clone): make it return a auto_ptr
4882
4883         * factory.C (createInset): exception safety
4884         (readInset): exception safety
4885
4886         * bufferlist.C (newBuffer): exception safety
4887
4888         * Thesaurus.C (Thesaurus): use initialization for aik_
4889
4890         * MenuBackend.C (expandToc): exception safety.
4891
4892 2003-11-03  André Pönitz  <poenitz@gmx.net>
4893
4894         * buffer.C:
4895         * buffer.h:
4896         * bufferview_funcs.C: remove getInsetFromId()
4897
4898         * lyxcursor.[Ch]:
4899         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4900
4901         * lyxfunc.C:
4902         * text2.C:
4903         * text3.C: adjust
4904
4905 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4906
4907         * PosIterator.C (distance, advance): new
4908         * bufferview_funcs.[Ch] (put_selection_at): new
4909         * iterators.[Ch] (lockPath): new
4910
4911 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4912
4913         * iterators.[Ch] (asPosIterator): added
4914         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4915         * PosIterator.[Ch]: added
4916
4917 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4918
4919         * text3.C:
4920         * lyxfunc.C:
4921         * cursor.C (dispatch):
4922         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4923
4924         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4925         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4926         contructor, add a class function dispatched. Remove operator>=
4927
4928 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4929
4930         * debug.C: only use the default constructor for debugstream
4931         (lyxerr) here.
4932
4933         * main.C (main): include debug.h and setup the lyxerr streambuf
4934         here.
4935
4936 2003-10-31  José Matos  <jamatos@lyx.org>
4937
4938         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4939
4940         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4941         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4942         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4943         * paragraph_pimpl.C (simpleTeXSpecialC):
4944         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4945         add LatexRunParams argument.
4946
4947         * exporter.C (Export): change call accordingly.
4948
4949         * latexrunparams.h: add new member to take care of the other backends.
4950 2003-10-30  José Matos  <jamatos@lyx.org>
4951
4952         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4953         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4954         factorise code for paragraph output.
4955         * buffer.[Ch]:
4956         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4957         move functions.
4958
4959 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4960
4961         * text3.C (dispatch):
4962         * lyxfunc.C (dispatch):
4963         * cursor.C (dispatch):
4964         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4965
4966         * dispatchresult.h: make the dispatch_result_t ctor explicit
4967
4968 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4969
4970         * sgml.[Ch]:
4971         * buffer.C: small refactoring of docbook stuff
4972
4973 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4974
4975         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4976         meaning.
4977
4978 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4981         operator dispatch_result_t, and operators for == != and >=
4982
4983         * cursor.C (dispatch): adjust for operator dispatch_result_t
4984         removal. comment out call to update
4985
4986         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4987
4988 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4989
4990         * text3.C:
4991         * text2.C:
4992         * text.C:
4993         * lyxtext.h:
4994         * lyxfunc.C:
4995         * cursor.C:
4996         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4997         (dispatch):
4998
4999         * dispatchresult.h: new file, DispatchResult broken out of
5000         insets/insetbase.h
5001
5002         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5003
5004 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5005
5006         * text.C (rowBreakPoint): put a hack inside #if 0
5007
5008 2003-10-28  André Pönitz  <poenitz@gmx.net>
5009
5010         * lyxtext.h:
5011         * metricsinfo.C:
5012         * paragraph_funcs.C:
5013         * rowpainter.C:
5014         * text.C:
5015         * text2.C: general cleanup (lots of small stuff)
5016
5017 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5018
5019         * text2.C (cursorEnd): simple fix to the "end key goes to one
5020         before the end on last row" bug
5021
5022 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5023
5024         * text.C (backspace): fix the "zombie characters"
5025
5026 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5027
5028         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5029
5030 2003-10-27  André Pönitz  <poenitz@gmx.net>
5031
5032         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5033
5034         * factory.C: handle new InsetPagebreak, InsetLine
5035
5036         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5037         and move handling into new InsetPagebreak, InsetLine
5038
5039         * BufferView_pimpl.C:
5040         * LyXAction.C:
5041         * ParagraphParameters.C:
5042         * ParameterStruct.h:
5043         * lyxfunc.C:
5044         * lyxtext.h:
5045         * paragraph.C:
5046         * paragraph.h:
5047         * paragraph_funcs.C:
5048         * paragraph_pimpl.C:
5049         * rowpainter.C:
5050         * text.C:
5051         * text2.C:
5052         * text3.C: adjust
5053
5054 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5055
5056         * text.C:
5057         * lyxrow_funcs.[Ch]:
5058         * Bidi.C:
5059         * paragraph.C:
5060         * lyxtext.h:
5061         * rowpainter.C:
5062         * text2.C:
5063         * text3.C: remove lastPos uses in favour of Row::endpos
5064
5065 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5066
5067         * undo.C (performUndoOrRedo): fix two crashes by setting a
5068         cursor by hand and reordering some calls. Use bv->lockInset instead
5069         of inset->edit because the latter loses cursor information
5070
5071 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5072
5073         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5074         by Martin
5075         (rowBreakPoint): fix width. change point to point + 1.
5076         Add a missing check.
5077
5078 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5079
5080         * MenuBackend.C:
5081         * lyxfunc.C: fix (at least partly) the problems
5082         with the Nav menu and headers inside branch insets
5083         reported by Kayvan
5084
5085 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5086
5087         * paragraph.C (getChar): add strong asserts
5088
5089         * lyxrow_funcs.C (lastPos): remove hideous hack
5090
5091         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5092         (fill): adjust to that (avoid an infinite loop)
5093
5094 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5095
5096         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5097
5098 2003-10-23  André Pönitz  <poenitz@gmx.net>
5099
5100         * RowList_fwd.h: change list<> to vector<> to gain speed
5101         after suggestion from Alfredo
5102
5103 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5104
5105         * lyxtext.h: move the bidi stuff from here...
5106         * text.C: and here
5107         * text2.C: and here
5108         * Bidi.[Ch]: ... to here
5109
5110 2003-10-23  André Pönitz  <poenitz@gmx.net>
5111
5112         * lyxtext.h:
5113         * text.C (isLastRow, isFirstRow): new functions
5114
5115         * paragraph.h: new width cache member
5116
5117         * rowpainter.C: replace RowList::iterator with Row & where possible
5118
5119         * lyxfunc.C: replace several view()->text with a single call
5120
5121         * toc.C: fix 'unused' warning
5122
5123 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5124
5125         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5126         when woring with stream::pos_type
5127         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5128
5129 2003-10-22  André Pönitz  <poenitz@gmx.net>
5130
5131         * lyxtext.h:
5132         * text.C: use Row & instead of RowList::iterator
5133
5134         * lyxrow.h: rename end() to endpos()
5135
5136         * rowpainter.C:
5137         * text.C:
5138         * text2.C: adjust
5139
5140 2003-10-22  Angus Leeming  <leeming@lyx.org>
5141
5142         * buffer.[Ch] (fully_loaded): new member function, returning true
5143         only when the file has been loaded fully.
5144         Used to prevent the premature generation of previews and by the
5145         citation inset to prevent computation of the natbib-style label.
5146
5147         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5148         templates are all set up.
5149
5150         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5151
5152 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5153
5154         * text.C: fixed an "oops" in the "is a bit silly"
5155         bug fix
5156
5157 2003-10-21  André Pönitz  <poenitz@gmx.net>
5158
5159         * FuncStatus.[Ch]: small stuff, whitespace
5160
5161         * lyxfont.[Ch]: operator<<() for debug reasons
5162
5163         * lyxfunc.C:
5164         * lyxrow_funcs.C:
5165         * lyxtext.h: whitespace, spelling
5166
5167         * paragraph.C: naming of variables
5168
5169         * text.C:
5170         * text2.C: small stuff
5171
5172
5173 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5174
5175         * text.C: (1) finish off the inset display() work;
5176         (2) fix the "is a bit silly" bug (accessing char
5177         past end of par).
5178
5179 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5180
5181         * text.C: re-introduce display() for insets, fixing the
5182         various bugs (stretch of line above, math inset
5183         positioning, ...)
5184
5185 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5186
5187         * text.C (rightMargin): remove spurious semicolon
5188
5189         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5190         1415)
5191
5192 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5193
5194         * text3.C: fix one crash due to wrong cursor def
5195
5196 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5197
5198         * vc-backend.C (scanMaster): make the regex static
5199
5200         * LaTeX.C (scanAuxFile): make the regexs static
5201
5202         * text3.C (doInsertInset, dispatch, dispatch):
5203         * text2.C (cursorUp, cursorDown):
5204         * text.C (selectNextWordToSpellcheck):
5205         * BufferView_pimpl.C (dispatch):
5206         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5207
5208 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5209
5210         * lyxsocket.C: include <cerrno>
5211
5212 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5213
5214         * lyxfunc.C (dispatch): remove textcache stuff
5215
5216         * bufferlist.C (release): remove textcache stuff
5217         (closeAll): ditto
5218
5219         * TextCache.C: delete file
5220         * TextCache.h: delete file
5221
5222         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5223
5224         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5225         delete of the bv_->text.
5226         (resizeCurrentBuffer): remove texcache stuff
5227         (workAreaResize): ditto
5228
5229 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5230
5231         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5232         action.
5233
5234 2003-10-16  André Pönitz  <poenitz@gmx.net>
5235
5236         * lyxrow.[Ch]:
5237         * paragraph.h:
5238         * rowpainter.C:
5239         * text.C:
5240         * text2.C:
5241         * text3.C: speed up by storing y positions per paragraph plus per-row
5242         offset instead of having a 'full' y position in the row.
5243
5244 2003-10-15  André Pönitz  <poenitz@gmx.net>
5245
5246         * iterators.[Ch]:
5247         * iterators.[Ch]:
5248         * undo.[Ch]: make undo aware of inner insets
5249
5250 2003-10-14  Angus Leeming  <leeming@lyx.org>
5251
5252         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5253         static member functions LyX::ref() and LyX::cref.
5254         (lastfiles): new accessor functions for the new lastfiles_ member var.
5255         (addLyXView, views_): add a new LyXView to the list of views_.
5256         (updateInset): loop over all LyXViews to call their own updateInset
5257         member function, returning a pointer to the Buffer owning the inset.
5258
5259         * BufferView_pimpl.C (loadLyXFile):
5260         * MenuBackend.C (expandLastfiles):
5261         * bufferlist.C (MenuWrite, QuitLyX):
5262         lastfiles is no longer a global variable.
5263         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5264
5265         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5266         static function. Access through LyX::cref().emergencyCleanup().
5267
5268 2003-10-14  André Pönitz  <poenitz@gmx.net>
5269
5270         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5271
5272         * undo.[Ch]: restoring part of 'undo in insets'
5273
5274         * Makefile.am:
5275         * undo_funcs.[Ch]: merge with undo.[Ch]
5276
5277         * tabular.C: small cleansing stuff
5278
5279 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5280
5281         * paragraph_funcs.C (readParToken): report unknown insets as error
5282         boxes. Use the outer paragraph as location (also for unknown
5283         tokens).
5284
5285         * factory.C (readInset): do not abort on reading an unknown inset.
5286         Eat it and return 0.
5287
5288 2003-10-13  Angus Leeming  <leeming@lyx.org>
5289
5290         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5291
5292         * lyxrc.C: displayTranslator is now a function,
5293         declared in GraphicsTypes.h.
5294
5295 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5296
5297         * format.C: new placeholder $$a to pass the socket address.
5298
5299         * bufferlist.[Ch]: new function getBufferFromTmp.
5300
5301         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5302           files in the temporary dir.
5303
5304 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5305
5306         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5307
5308         * Makefile.am: add lyxsocket.[Ch].
5309
5310         * lyx_main.C (error_handler): handle SIGPIPE.
5311
5312 2003-10-13  André Pönitz  <poenitz@gmx.net>
5313
5314         * BufferView_pimpl.C:
5315         * lyxtext.h:
5316         * text.C:
5317         * text2.C:
5318         * text3.C:
5319         * undo_funcs.[Ch]: use paroffset_type instead of
5320           ParagraphList::iterators to prevent multiple conversion
5321           (and get a more robust interface)
5322
5323 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5324
5325         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5326         * lyxtext.h: ditto
5327         * text3.C (dispatch): ditto
5328
5329 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5330
5331         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5332         move the onlyfile, use onlyfile instead of foundfile in a couple
5333         of places.
5334
5335         * DepTable.C (update): flush the error stream a bit more
5336
5337 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * lyxserver.C (callback): adjust
5340
5341         * lyxfunc.C (getStatus): add a missing brace in commented code
5342         (ensureBufferClean): reindent
5343         (dispatch): delete version taking a string
5344
5345 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5346
5347         * LaTeX.C (deplog): move found file handlig from here...
5348         (handleFoundFile): .. to new function here.
5349         (deplog): make sure to discover several files mentioned on the
5350         same log line.
5351
5352 2003-10-10  André Pönitz  <poenitz@gmx.net>
5353
5354         * lyxfunc.C:
5355         * lyxtext.h:
5356         * tabular.C:
5357         * text.C:
5358         * text2.C:
5359         * text3.C: fix some of the tabular crashes
5360
5361 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5362
5363         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5364
5365         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5366
5367 2003-10-09  André Pönitz  <poenitz@gmx.net>
5368
5369         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5370
5371         * BufferView.C:
5372         * BufferView_pimpl.C:
5373         * bufferview_funcs.C:
5374         * lyx_cb.C:
5375         * lyxcursor.C:
5376         * lyxfind.C:
5377         * lyxfunc.C:
5378         * lyxtext.h:
5379         * text.C:
5380         * text2.C:
5381         * text3.C:
5382         * text_funcs.[Ch]:
5383         * textcursor.[Ch]:
5384         * undo_funcs.C: adjust
5385
5386 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5387
5388         * text2.C (incrementItemDepth): new function, use a backtracking
5389         algorithm to discover the correct item depth.
5390         (resetEnumCounterIfNeeded): new function, use a backtracking
5391         algorithm to discover if counter reset is needed.
5392         (setCounter): use them. Simplify a bit. Add different labels for
5393         different item depths for itemize.
5394
5395         * paragraph.C (Paragraph): remove initialization of enumdepth
5396         (operator=): ditto
5397
5398         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5399         enumerate and itemize. Change the type of itemdepth to signed char.
5400
5401 2003-10-08  André Pönitz  <poenitz@gmx.net>
5402
5403         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5404           thing assignable.
5405         * text.C:
5406         * text2.C: adjust
5407
5408         * tabular.[Ch]: fix crash after 'row-insert'
5409
5410 2003-10-08  Angus Leeming  <leeming@lyx.org>
5411
5412         Fix doxygen warnings.
5413
5414         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5415         Remove CutAndPaste:: prefix from header file declaration.
5416
5417         * LColor.h (fill): remove LColor:: prefix from declaration.
5418
5419         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5420         use lyx::depth_type rather than Paragraph::depth_type so that
5421         header file and .C file match.
5422
5423         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5424
5425         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5426         * aspell.C: \file aspell_local.C -> \file aspell.C
5427         * gettext.C: \file gettext.C -> \file src/gettext.C
5428         * gettext.h: \file gettext.h -> \file src/gettext.h
5429         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5430         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5431         * text.C: \file text.C -> \file src/text.C
5432
5433         * toc.C: move comment so that doxygen is not confused.
5434
5435 2003-10-07  Angus Leeming  <leeming@lyx.org>
5436
5437         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5438
5439 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5440
5441         * aspell.C:
5442         * aspell_local.h: add forgotten std::string's.
5443
5444 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5445
5446         * LaTeXFeatures.C:
5447         * LyXAction.C:
5448         * factory.C:
5449         * lfuns.h:
5450         * lyxfunc.C:
5451         * text3.C: The Box patch. Fancybox support, minipage, parbox
5452
5453 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5454
5455         * CutAndPaste.h:
5456         * DepTable.h:
5457         * FloatList.h:
5458         * LaTeXFeatures.h:
5459         * ParagraphParameters.h:
5460         * TextCache.h:
5461         * Thesaurus.h:
5462         * bufferlist.h:
5463         * exporter.h:
5464         * importer.h:
5465         * lastfiles.h:
5466         * lyxfind.h:
5467         * lyxfont.h:
5468         * lyxlex.h:
5469         * lyxtextclasslist.h:
5470         * messages.h:
5471         * paragraph.h:
5472         * paragraph_pimpl.C:
5473         * textcursor.h: add <string> and other small fixes to make Lars'
5474         std::string patch compile with STLport.
5475
5476 2003-10-06  Angus Leeming  <leeming@lyx.org>
5477
5478         * LColor.h: Add missing #include <string>.
5479
5480 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5481
5482         * All most all file in all subdirs: Make <string> be the prefered
5483         way of getting to std::string, add using declarations.
5484
5485 2003-10-06  André Pönitz  <poenitz@gmx.net>
5486
5487         * metricsinfo.C: initialize LyXFont before changing attribute.
5488         (fixes the 'math in \emph is upright' bug)
5489
5490 2003-10-06  André Pönitz  <poenitz@gmx.net>
5491
5492         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5493
5494 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5495
5496         * graph.C:
5497         * paragraph_pimpl.C: Small fixes to build using STLport
5498
5499 2003-10-02  André Pönitz  <poenitz@gmx.net>
5500
5501         * lyxfunc.C:
5502         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5503
5504 2003-10-01  André Pönitz  <poenitz@gmx.net>
5505
5506         * factory.C: assert early
5507
5508 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5509
5510         * lyx_main.C: remove the global debug object
5511
5512         * debug.h: adjust for new debugstream
5513
5514         * debug.C: adjust for new debugstream and keep the global debug
5515         object here.
5516
5517 2003-09-22  Angus Leeming  <leeming@lyx.org>
5518
5519         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5520         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5521         an incomplete class LyXFont.
5522
5523 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5524
5525         * factory.C: bug fix in branches
5526
5527 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5528
5529         * lyxfunc.C (processKeySym): adjust
5530         (dispatch): adjust
5531         (dispatch): change arg name from ev to func, adjust
5532         (sendDispatchMessage): ditto
5533
5534         * lyx_main.C (defaultKeyBindings): adjust keybindings
5535         (deadKeyBindings): ditto
5536
5537         * kbsequence.C (addkey): return a FuncRequest
5538
5539         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5540
5541         * kbmap.C (bind): take a FuncRequest as arg, adjust
5542         (read): adjust
5543         (lookup): adjust
5544         (defkey): change to take a FuncRequest as arg, adjust
5545         (findbinding): take a FuncRequest as arg, adjust.
5546
5547         * funcrequest.h (operator=): added
5548
5549         * funcrequest.C (FuncRequest): default kb_action changed from
5550         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5551
5552         * buffer.C (dispatch): simplify
5553         (dispatch): adjust to take a FuncRequest as arg, adjust
5554
5555         * boost.C (assertion_failed): change assertion message slightly
5556
5557         * ToolbarBackend.C (read): simplify
5558
5559         * MenuBackend.C (binding): adjust call to findbinding, add a
5560         message if no binding is found.
5561         (read): simplify
5562         (expandToc): correct by adding a empty FuncRequest
5563
5564         * LyXAction.C: include <boost/assert.hpp>
5565         (isPseudoAction): delete function
5566         (LookupFunc): change name to...
5567         (lookupFunc): this. change return type to FuncRequest.
5568         (getActionName): take kb_action as arg, simplify
5569         (funcHasFlag): add an assert, simplify.
5570
5571 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5572
5573         * toc.C (action): return a FuncRequest, simplify
5574
5575         * lyxfunc.C (processKeySym): adjust
5576         (getStatus): delete version that takes an int.
5577         (getStatus): adjust
5578         (dispatch): delete version that takes action as int
5579         (dispatch): adjust
5580         (sendDispatchMessage): simplify and adjust
5581
5582         * funcrequest.C (getArg): take unsigned int as arg
5583
5584         * ToolbarBackend.C (read): adjust
5585         (add): delete version that takes func as a string.
5586         (getIton): take a FuncRequest as arg
5587
5588         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5589         action.
5590
5591         * MenuBackend.C (MenuItem): add a new construct that only takes a
5592         Kind, simplify the constructor use for submenus.
5593         (add): adjust
5594         (expandLastfiles): adjust
5595         (expandDocuments): adjust
5596         (expandFormats): adjust
5597         (expandFloatListInsert): adjust
5598         (expandFloatInsert): adjust
5599         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5600
5601         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5602         Remove class variables lyx_pseudo_map and lyx_arg_map
5603
5604         * LyXAction.C (searchActionArg): delete function
5605         (getPseudoAction): delete function
5606         (retrieveActionArg): delete function
5607         (LookupFunc): make it return kb_action, simplify.
5608         (getActionName): simplify
5609
5610         * factory.C (createInset): fix new bug
5611
5612 2003-09-19  Angus Leeming  <leeming@lyx.org>
5613
5614         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5615         masterFilename_ parameter in the include inset.
5616
5617         * factory.C (createInset): changes due to the changes to InsetInclude.
5618
5619 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5620
5621         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5622
5623 2003-09-18  Angus Leeming  <leeming@lyx.org>
5624
5625         * buffer.C:
5626         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5627         Inset::fillWithBibKeys.
5628         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5629
5630 2003-09-18  Angus Leeming  <leeming@lyx.org>
5631
5632         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5633         variables.
5634         (ctor): pass and store a 'Buffer const &'
5635         (buffer): new member function.
5636
5637         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5638         '*this' to the LaTeXFeatures ctor.
5639
5640 2003-09-18  Angus Leeming  <leeming@lyx.org>
5641
5642         * LColor.h:
5643         * lyxfont.C:
5644         * lyxfont.h:
5645         * lyxtext.h:
5646         * text.C: rename EnumLColor as LColor_color.
5647
5648 2003-09-18  Angus Leeming  <leeming@lyx.org>
5649
5650         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5651         remove #include "insets/insetbase.h" from cursor.h.
5652
5653 2003-09-18  Angus Leeming  <leeming@lyx.org>
5654
5655         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5656         InsetOld_code to remove #include "inset.h".
5657
5658         * iterators.C: add #include "insets/inset.h"
5659
5660 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5661
5662         * BufferView.C: remove more locking stuff that apparently doesn't
5663         do anything sensible.
5664
5665 2003-09-16  André Pönitz  <poenitz@gmx.net>
5666
5667         * paragraph.[Ch]:
5668         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5669           performance boost.
5670
5671 2003-09-16  Angus Leeming  <leeming@lyx.org>
5672
5673         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5674
5675         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5676         arg/return type.
5677
5678         * paragraph.h: remove #include "lyxfont.h". Forward declare
5679         LyXFont_size.
5680
5681 2003-09-16  Angus Leeming  <leeming@lyx.org>
5682
5683         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5684         of support/textutils.h.
5685         (isWord): move the contents of support/textutils.h's IsWordChar here.
5686
5687         * buffer.C:
5688         * lyxfind.C:
5689         * rowpainter.C:
5690         * text.C:
5691         * text2.C: add #include "paragraph.h".
5692
5693         * rowpainter.C:
5694         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5695
5696 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * main.C:
5699         * lyx_main.C:
5700         * lyx_cb.C:
5701         * buffer.C:
5702         * LaTeX.C: use namespace alias for lyx::support::os
5703
5704 2003-09-16  Angus Leeming  <leeming@lyx.org>
5705
5706         * bufferparams.C:
5707         * bufferview_funcs.C:
5708         * factory.C:
5709         * lyxfunc.C:
5710         * paragraph_pimpl.C:
5711         * rowpainter.C:
5712         * text.C: add #include "LColor.h".
5713
5714 2003-09-16  Angus Leeming  <leeming@lyx.org>
5715
5716         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5717         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5718         return LyXFont &.
5719         Store the FontBits::color variable as an int rather than as an
5720         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5721         file.
5722
5723         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5724         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5725         string calls together.
5726
5727         * lyxrc.C: add #include "LColor.h".
5728
5729 2003-09-15  Angus Leeming  <leeming@lyx.org>
5730
5731         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5732         a cow_ptr.
5733
5734 2003-09-15  Angus Leeming  <leeming@lyx.org>
5735
5736         * LColor.h: add an EnumLColor wrapper for LColor::color.
5737
5738         * lyxfont.[Ch] (color, setColor, realColor):
5739         * lyxtext.h, text.C (backgroundColor):
5740         pass EnumLColor args to/from the functions, rather than LColor::color
5741         ones.
5742
5743         * lyxfont.h:
5744         * lyxtext.h: forward declare EnumLColor.
5745
5746         * lyx_main.C: add #include "LColor.h".
5747
5748 2003-09-15  Angus Leeming  <leeming@lyx.org>
5749
5750         * .cvsignore: add lyx-gtk.
5751
5752 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5753
5754         * Chktex.C
5755         * LaTeX.C
5756         * LaTeXFeatures.C
5757         * ParagraphParameters.C
5758         * Spacing.C
5759         * buffer.C
5760         * bufferparams.C
5761         * bufferview_funcs.C
5762         * chset.C
5763         * counters.C
5764         * funcrequest.C
5765         * lyxfont.C
5766         * lyxgluelength.C
5767         * lyxlength.C
5768         * paragraph.C
5769         * paragraph_funcs.C
5770         * text3.C
5771         * vc-backend.C: remove usage of STRCONV
5772
5773 2003-09-15  Angus Leeming  <leeming@lyx.org>
5774
5775         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5776         explicitly define the color passed to the painter.
5777
5778 2003-09-15  Angus Leeming  <leeming@lyx.org>
5779
5780         * bufferparams.C (BufferParams): reorder member initializers to avoid
5781         compiler warning.
5782
5783 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5784
5785         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5786         * text.C (updateRowPositions): remove an unusual nop
5787
5788 2003-09-12  André Pönitz  <poenitz@gmx.net>
5789
5790         * BufferView_pimpl.C:
5791         * Bullet.C:
5792         * layout.h:
5793         * lyxfunc.C:
5794         * lyxlayout.[Ch]:
5795         * lyxtextclass.C:
5796         * rowpainter.C:
5797         * text.C:
5798         * text2.C:
5799         * Counters.[Ch]: finish the 'automatic counters' job
5800
5801 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5802
5803         * aspell.C: include <boost/assert.cpp> (compile fix)
5804
5805 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5806
5807         * boost.C (assertion_failed): use lyx::support::abort instead of
5808         assert.
5809
5810 2003-09-10  Angus Leeming  <leeming@lyx.org>
5811
5812         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5813         with their _fwd progeny.
5814
5815 2003-09-09  Angus Leeming  <leeming@lyx.org>
5816
5817         134 files throughtout the source tree: replace 'using namespace abc;'
5818         directives with the appropriate 'using abc::xyz;' declarations.
5819
5820 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5821
5822         * boost.C (emergencyCleanup): moved here from LAssert.c
5823         (assertion_failed): new function, called by BOOST_ASSERT
5824
5825         * several files: change Assert to BOOST_ASSERT
5826
5827 2003-09-09  Angus Leeming  <leeming@lyx.org>
5828
5829         * buffer.[Ch]: Add an Impl class and move Buffer's member
5830         variables into it. As a result move several header files out of
5831         buffer.h.
5832
5833         Add header files to lots of .C files all over the tree as a result.
5834
5835 2003-09-09  Angus Leeming  <leeming@lyx.org>
5836
5837         * buffer.[Ch]: make Buffer's member variables private. Add
5838         accessor functions.
5839
5840         Lots of changes all over the tree as a result.
5841
5842 2003-09-08  Angus Leeming  <leeming@lyx.org>
5843
5844         * graph.C: #include <config.h>.
5845
5846 2003-09-08  Angus Leeming  <leeming@lyx.org>
5847
5848         * BranchList.C:
5849         * BufferView.C:
5850         * BufferView_pimpl.C:
5851         * CutAndPaste.C:
5852         * DepTable.C:
5853         * LaTeX.C:
5854         * LaTeXFeatures.C:
5855         * LyXAction.C:
5856         * MenuBackend.C:
5857         * TextCache.C:
5858         * aspell.C:
5859         * buffer.C:
5860         * bufferlist.C:
5861         * changes.C:
5862         * chset.C:
5863         * converter.C:
5864         * counters.C:
5865         * debug.C:
5866         * graph.C:
5867         * ispell.C:
5868         * lyx_cb.C:
5869         * lyxfind.C:
5870         * lyxfunc.C:
5871         * lyxlex_pimpl.C:
5872         * lyxrc.C:
5873         * lyxrow.C:
5874         * paragraph.C:
5875         * rowpainter.C:
5876         * texrow.C:
5877         * text.C:
5878         * text2.C:
5879         * toc.C: remove redundant using directives.
5880
5881 2003-09-07  Angus Leeming  <leeming@lyx.org>
5882
5883         * LaTeXFeatures.h: remove #include "support/types.h".
5884         * ToolbarBackend.h: remove #include <algorithm>.
5885         * changes.h: remove #include <ctime>.
5886         * debug.h: remove #include <iosfwd>.
5887         * graph.h: remove #include "support/std_string.h".
5888         * lyx_main.h: remove #include <csignal>.
5889         * lyxlex_pimpl.h: remove #include <fstream>.
5890         * sgml.h: remove #include <algorithm>, <utility>.
5891         * toc.h: remove #include "support/std_ostream.h".
5892         Add #include <iosfwd>.
5893
5894 2003-09-07  Angus Leeming  <leeming@lyx.org>
5895
5896         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5897
5898         * converter.h: forward declare LatexRunParams.
5899         * encoding.h: remove #include "lyxrc.h".
5900         * lyxtext.h: remove #include "LColor.h".
5901         * lyxtextclass.h: remove #include "support/types.h".
5902         * trans.h: remove #include "tex-accent.h".
5903         * trans_mgr.h: remove #include "tex-accent.h".
5904         * insets/inset.h: remove #include "support/types.h", <vector>.
5905         * insets/insetcollapsable.h: remove #include "LColor.h".
5906         * insets/insetinclude.h: remove #include "dimension.h".
5907         * insets/insetlatexaccent.h: remove #include "dimension.h".
5908         * insets/insetoptarg.h:: remove #include "insettext.h".
5909         * insets/insettext.h: remove #include "dimension.h",
5910         <boost/shared_ptr.hpp>
5911
5912         * insets/renderers.h: add #include "dimension.h".
5913         * insets/updatableinset.h: add #include "support/types.h".
5914
5915         * many .C files: Associated changes.
5916
5917 2003-09-06  Angus Leeming  <leeming@lyx.org>
5918
5919         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5920         one, inside testInvariant.
5921
5922         * PrinterParams.C: new file.
5923         * PrinterParams.[Ch]: move the function bodies out of line.
5924
5925 2003-09-06  Angus Leeming  <leeming@lyx.org>
5926
5927         * ParagraphParameters.h: forward declare ParameterStruct rather than
5928         including its header file.
5929         (depth): moved out-of-line.
5930
5931 2003-09-06  Angus Leeming  <leeming@lyx.org>
5932
5933         * BufferView_pimpl.h:
5934         * kbmap.h:
5935         * kbsequence.h:
5936         * lyxfunc.h: forward declare LyXKeySym rather than
5937         #include "frontends/LyXKeySym.h".
5938
5939         * BufferView_pimpl.C:
5940         * kbmap.C:
5941         * kbsequence.C:
5942         * lyxfunc.C: associated changes.
5943
5944 2003-09-06  Angus Leeming  <leeming@lyx.org>
5945
5946         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5947         As a result, can remove the #include "insets/inset.h" from BufferView.h
5948
5949 2003-09-06  Angus Leeming  <leeming@lyx.org>
5950
5951         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5952         As a result, can remove the #include "insets/inset.h" from BufferView.h
5953
5954 2003-09-06  Angus Leeming  <leeming@lyx.org>
5955
5956         * buffer_funcs.C:
5957         * buffer.h:
5958         * bufferlist.C:
5959         * BufferView.C:
5960         * bufferview_funcs.C:
5961         * BufferView_pimpl.C:
5962         * CutAndPaste.C:
5963         * lyx_cb.C:
5964         * lyxfunc.C:
5965         * paragraph.h:
5966         * ParagraphParameters.C:
5967         * tabular.C:
5968         * text3.C:
5969         * toc.C:
5970         * undo_funcs.C:
5971         * frontends/controllers/ControlDocument.C:
5972         * insets/insetcaption.C: rearrange the #includes into some sort of
5973         coherent order.
5974
5975         * buffer.h: remove #includes ErrorList.h, undo.h
5976
5977 2003-09-06  Angus Leeming  <leeming@lyx.org>
5978
5979         * support/types.h: add a 'depth_type' typedef, used to store the
5980         nesting depth of a paragraph.
5981
5982         * paragraph.h:
5983         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5984         defining explicitly.
5985
5986         * buffer.h:
5987         * paragraph_funcs.h:
5988         * ParagraphParameters.h:
5989         * sgml.h: use lyx::depth_type rather than Paragraph or
5990         ParameterStruct's depth_type.
5991
5992         * buffer.h
5993         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5994
5995         * BufferView.C:
5996         * BufferView_pimpl.C:
5997         * CutAndPaste.C:
5998         * ParagraphParameters.C:
5999         * buffer_funcs.C:
6000         * bufferlist.C:
6001         * bufferview_funcs.C:
6002         * lyx_cb.C:
6003         * lyxfunc.C:
6004         * tabular.C:
6005         * text3.C:
6006         * toc.C:
6007         * undo_funcs.C:
6008         * frontends/LyXView.C:
6009         * frontends/controllers/ControlDocument.C:
6010         * frontends/controllers/ControlErrorList.C:
6011         * insets/insetbibitem.C:
6012         * insets/insetbranch.C:
6013         * insets/insetcaption.C:
6014         * insets/insetcollapsable.C:
6015         * insets/insetenv.C:
6016         * insets/insetert.C:
6017         * insets/insetfloat.C:
6018         * insets/insetfoot.C:
6019         * insets/insetfootlike.C:
6020         * insets/insetnewline.C:
6021         * insets/insetquotes.C:
6022         * insets/insettabular.C:
6023         * insets/insettext.C:
6024         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6025
6026         * frontends/controllers/ControlChanges.C: #include "changes.h".
6027
6028 2003-09-06  Angus Leeming  <leeming@lyx.org>
6029
6030         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6031         than #including paragraph.h.
6032
6033         * ParagraphList.h:
6034         * RowList.h: deleted. Superfluous.
6035
6036         * CutAndPaste.h:
6037         * iterators.h:
6038         * lyxcursor.h:
6039         * lyxtext.h:
6040         * text_funcs.h:
6041         * undo.h:
6042         * undo_funcs.h:
6043         * insets/inset.h:
6044         * insets/insettext.h: use ParagraphList_fwd.h rather than
6045         ParagraphList.h.
6046
6047         * paragraph.h: don't forward declare ParagraphList.
6048
6049         * buffer.h:
6050         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6051         rather than ParagraphList.h. paragraph.h is still needed for the
6052         Paragraph::depth_type parameters.
6053
6054         * textcursor.h: enable it to compile stand-alone in light of the
6055         above changes.
6056
6057         * bufferview_funcs.C:
6058         * iterators.C:
6059         * lyxfunc.C:
6060         * lyxrow_funcs.C:
6061         * paragraph.C:
6062         * rowpainter.C:
6063         * text.C:
6064         * text2.C:
6065         * text3.C:
6066         * text_funcs.C:
6067         * textcursor.C:
6068         * undo.C:
6069         * frontends/controllers/ControlParagraph.C:
6070         * frontends/controllers/ControlTabular.C:
6071         * insets/insetmarginal.C:
6072         * insets/insetminipage.C:
6073         * insets/insetnote.C:
6074         * insets/insetoptarg.C: add header files needed to compile again.
6075
6076 2003-09-06  Angus Leeming  <leeming@lyx.org>
6077
6078         * RowList_fwd.h: new file, forward-declaring Row rather than
6079         #including lyxrow.h.
6080
6081         * lyxrow_funcs.h:
6082         * lyxtext.h:
6083         * paragraph.h:
6084         * insets/insettext.h: use it instead of RowList.h
6085
6086         * bufferview_funcs.C:
6087         * lyxfunc.C:
6088         * lyxrow_funcs.C:
6089         * paragraph.C:
6090         * rowpainter.C:
6091         * text.C:
6092         * text2.C:
6093         * text3.C: #include "RowList.h".
6094
6095 2003-09-05  Angus Leeming  <leeming@lyx.org>
6096
6097         * factory.C (createInset):
6098         * vspace.C (c-tor): replace sscanf call with an istringstream.
6099         * ispell.C: re-add missing HP/UX headers.
6100         * lyxserver.C: re-add missing  os2 headers.
6101
6102 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6103
6104         * BranchList.C:
6105         * graph.C:
6106         * ispell.C:
6107         * lastfiles.C:
6108         * lyx_cb.C:
6109         * lyxserver.C:
6110         * texrow.C:
6111         * text3.C: re-add missing system headers, needed for 2.95.2.
6112
6113 2003-09-05  Angus Leeming  <leeming@lyx.org>
6114
6115         Changes most place everywhere due to the removal of using directives
6116         from support/std_sstream.h.
6117
6118 2003-09-05  Angus Leeming  <leeming@lyx.org>
6119
6120         Replace LString.h with support/std_string.h,
6121         Lsstream.h with support/std_sstream.h,
6122         support/LIstream.h with support/std_istream.h,
6123         support/LOstream.h with support/std_ostream.h.
6124
6125         Changes resulting throughout the tree.
6126
6127 2003-09-05  Angus Leeming  <leeming@lyx.org>
6128
6129         * sgml.h: ensure that the header file can be compiled stand-alone.
6130         * *.C: strip out redundant #includes. (320 in total.)
6131
6132 2003-09-04  Angus Leeming  <leeming@lyx.org>
6133
6134         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6135         here (from getPackages).
6136
6137         * debug.[Ch]: add a new EXTERNAL tag.
6138
6139 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6140
6141         * text2.C (cursorEnd): simplify
6142         (setCursor): adjust
6143         (getColumnNearX): adjust
6144
6145         * text.C (computeBidiTables): adjust
6146         (fill): adjust
6147
6148         * rowpainter.C (paintChars): adjust
6149         (paintSelection): adjust
6150         (paintChangeBar): adjust
6151         (paintText): adjust
6152
6153         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6154         lastPos instead.
6155         (numberOfSeparators): adjust
6156
6157 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6158
6159         * LyXAction.C:
6160         * box.[Ch]:
6161         * lfuns.h:
6162         * lyxfunc.C:
6163         * text3.C: Restricts the mouse click functionality
6164         of insets like bibtex, include, toc and floatlist to the visible
6165         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6166         up the dialogs. Cursor has to be in front of the inset (i.e.
6167         start of row) for this to function.
6168
6169 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6170
6171         * bufferview_funcs.C (currentState): output row information
6172
6173 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6174
6175         * bufferview_funcs.C (currentState): output paragraph position
6176
6177 2003-09-04  Angus Leeming  <leeming@lyx.org>
6178
6179         * FloatList.h: move out #include "Floating.h".
6180         * LaTeX.h: move out #include "DepTable.h".
6181         * LyXAction.h: move out #include "funcrequest.h".
6182         * buffer.h: move out #include "author.h", "iterators.h".
6183         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6184         * lyx_main.h: move out #include "errorlist.h".
6185         * lyxfunc.h: move out #include "FuncStatus.h".
6186         * lyxtext: move out #include "lyxcursor.h".
6187         * paragraph_pimpl.h: move out #include "counters.h".
6188
6189 2003-09-03  Angus Leeming  <leeming@lyx.org>
6190
6191         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6192         preamble_snippets list, enabling us to add snippets to the preamble
6193         only if the snippet was not there already.
6194
6195 2003-09-04  Angus Leeming  <leeming@lyx.org>
6196
6197         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6198
6199 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6200
6201         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6202         update
6203
6204 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6205
6206         * BranchList.C: point fix, earlier forgotten
6207
6208 2003-09-02  Angus Leeming  <leeming@lyx.org>
6209
6210         * box.C (contains): renamed from 'contained' after a fantastic
6211         amount of hot air.
6212
6213 2003-09-02  John Levon  <levon@movementarian.org>
6214
6215         * BufferView.C:
6216         * lyxcursor.h:
6217         * lyxcursor.C:
6218         * lyxfunc.C:
6219         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6220
6221 2003-09-02  John Levon  <levon@movementarian.org>
6222
6223         * text2.C: simplification of cursorEnd(), including partial
6224         fix for bug 1376
6225
6226 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6227
6228         * buffer.C (readFile): add a space
6229
6230 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6231
6232         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6233
6234 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6235
6236         * buffer.C (readFile): new function, take a filename and a
6237         ParagraphList::iterator
6238         (readFile): adjust
6239         (readFile): adjust, make it private. don't use setStream, make
6240         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6241         always contain the filename.
6242
6243         * BufferView.C (insertLyXFile): simplify and make it work for
6244         gzipped files.
6245
6246 2003-08-30  John Levon  <levon@movementarian.org>
6247
6248         * Makefile.am: fix dist (from Kayvan)
6249
6250 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6251
6252         * most files: change to use const Buffer refs
6253
6254 2003-08-27  André Pönitz  <poenitz@gmx.net>
6255
6256         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6257         on top of ownerPar().
6258
6259 2003-08-27  John Levon  <levon@movementarian.org>
6260
6261         * funcrequest.C: properly initialise POD members
6262
6263 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6264
6265         * lyxtext.h (top_y): move top_y from here
6266         * text.C:
6267         * text2.C:
6268         * text3.C:
6269         * BufferView.[Ch]:
6270         * BufferView_pimpl.[Ch]: to here
6271         * frontends/screen.C:
6272         * insets/insettabular.C:
6273         * insets/insettext.C: adjust
6274         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6275
6276 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6277
6278         * BufferView.[Ch]:
6279         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6280
6281 2003-08-26  André Pönitz  <poenitz@gmx.net>
6282
6283         * paragraph_func.[Ch] (outerPar): new function
6284
6285         * paragraph.C:
6286         * paragraph_funcs.C:
6287         * paragraph_funcs.h:
6288         * paragraph_pimpl.C:
6289         * text2.C: remove Inset::par_owner
6290
6291 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6292
6293         * lyxrow_funcs.C:
6294         * lyxtext.h:
6295         * text.C:
6296         * text2.C: eliminates the needFullRow/display() stuff
6297         altogether, putting the logic in metrics/draw in the insets.
6298
6299 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6300
6301         * text2.C (redoParagraphInternal, redoParagraphs):
6302         * text.C (redoParagraph): add a call to updateRowPositions at the
6303         end of each 'metrics-like' call. Remove all others.
6304         (getRow): remove the 'y-computing' version.
6305         (getRowNearY): do not compute nor return the real y. Solve the
6306         'y < 0' problem and simplify.
6307
6308 2003-08-22  Angus Leeming  <leeming@lyx.org>
6309
6310         * *.[Ch]: clean-up of licence and author blurbs.
6311         Also move config.h out of a few .h files and into a few .C files.
6312
6313 2003-08-22  André Pönitz  <poenitz@gmx.net>
6314
6315         * lyxrow.[Ch]: add x_ and *fill_ members
6316
6317         * lyxtext.h:
6318         * text.C:
6319         * rowpainter.C:
6320         * text2.C: adjust/remove prepareToPrint() calls
6321
6322 2003-08-22  André Pönitz  <poenitz@gmx.net>
6323
6324         * lyxrow.[Ch]: add  end_ member
6325
6326         * lyxrow_funcs.C: use LyXRow::end_
6327
6328         * lyxtext.h (singleWidth): add LyXFont parameter
6329
6330         * rowpainter.C:
6331         * text2.C: adjust LyXText::singleWidth() calls
6332
6333         * text.C (redoParagraph): simplify row breaking logic
6334
6335
6336 2003-08-19  André Pönitz  <poenitz@gmx.net>
6337
6338         * funcrequest.C: initialize button_ member
6339
6340         * text3.C:
6341         * rowpainter.[Ch]: interface consolidation
6342
6343 2003-08-18  André Pönitz  <poenitz@gmx.net>
6344
6345         * BufferView.C:
6346         * BufferView_pimpl.C:
6347         * lyxfind.C:
6348         * paragraph_funcs.C:
6349         * rowpainter.C:
6350         * text3.C: remove LyXScreen::draw() and fitCursor calls
6351
6352         * BranchList.h: remove spurious semicolons
6353
6354         * MenuBackend.C: fix branchlist related crash
6355
6356 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6357
6358         * BranchList.[Ch]:
6359         * InsetList.[Ch]:
6360         * LColor.[Ch]:
6361         * LyXAction.C:
6362         * Makefile.am:
6363         * MenuBackend.[Ch]:
6364         * bufferparams.[Ch]:
6365         * factory.C:
6366         * lfuns.h:
6367         * lyxfunc.C:
6368         * text3.C: implements the 'branch inset'
6369         idea. This allows the output of various versions of a document
6370         from a single source version, selectively outputing or suppressing
6371         output of parts of the text.
6372         This implementation contains a 'branch list editor' in a separate
6373         tab of the document settings dialog. Branches are user definable
6374         and have a "display colour" to distinguish them on-screen.
6375
6376         ColorHandler was somewhat cleaned up.
6377         (1) make possible a dynamically growing LColor list by allowing
6378         the graphic context cache to grow along (vector);
6379         (2) eliminate an IMHO unnecessary step in colour allocation.
6380
6381 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6382
6383         * BufferView_pimpl.C: compile fix
6384
6385 2003-08-15  André Pönitz  <poenitz@gmx.net>
6386
6387         * rowpainter.C: remove extra metrics calls
6388
6389         * lyxtext.h: merge the two constructors into a single one,
6390           pass reference to owner's par list
6391
6392         * BufferView_pimpl.C:
6393         * text.C:
6394         * text2.C: adjust
6395
6396 2003-08-15  André Pönitz  <poenitz@gmx.net>
6397
6398         * lyxrow_funcs.[Ch]:
6399         * lyxtext.h:
6400         * paragraph.h:
6401         * paragraph_funcs.C:
6402         * rowpainter.C:
6403         * text.C:
6404         * text2.C:
6405         * text3.C:
6406         * text_funcs.C: split LyXText::rowlist_ into individual
6407         Paragraph::rows_ chunks
6408
6409         * BufferView.[Ch]:
6410         * BufferView_pimpl.[Ch]:
6411         * lyxfind.C:
6412         * lyxtext.h:
6413         * text3.C: remove toggleSelection()
6414
6415 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6416
6417         * bufferlist.C: beautify two alerts (shorter text of buttons)
6418         * buffer.C: Remove redundant ' ' from message
6419         * tabular.h:
6420         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6421         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6422         rename VALIGN_CENTER to VALIGN_MIDDLE
6423
6424 2003-08-11  André Pönitz  <poenitz@gmx.net>
6425
6426         * lyxtext.h (getPar):
6427         * text.C: new function
6428
6429 2003-08-11  André Pönitz  <poenitz@gmx.net>
6430
6431         * Makefile.am:
6432         * tracer.[Ch]: remove unneeded files
6433
6434         * InsetList.[Ch]: remove resizeInsetsLyXText()
6435
6436         * lyxtext.h:
6437         * text.C:
6438         * text2.C:
6439         * text3.C: merge insertParagraphs() and appendParagraph()
6440         remove breakAgain(), update()
6441
6442         * BufferView_pimpl.[Ch]:
6443         * bufferview_funcs.[Ch]:
6444         * lyxfunc.C:
6445         * paragraph.[Ch]:
6446         * rowpainter.C:
6447         * tabular.C: adjust after text & InsetList changes.
6448
6449 2003-08-08  André Pönitz  <poenitz@gmx.net>
6450
6451         * text.C (insertChar, backspace): replace rowlist fiddling
6452         with rebreak of full par
6453
6454         * lyxtext.h:
6455         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6456         checkParagraph, updateInset): removed
6457
6458 2003-08-07  André Pönitz  <poenitz@gmx.net>
6459
6460         * paragraph.C:
6461         * text3.C: merge some LFUN handlers, remove dead code
6462
6463 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6464
6465         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6466
6467 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6468
6469         * text2.C (DEPM): fix part of bug 1255 and 1256
6470
6471 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6472
6473         * BufferView_pimpl.C (workAreaDispatch): change to use
6474         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6475         that are no mouse related.
6476
6477 2003-08-05  André Pönitz  <poenitz@gmx.net>
6478
6479         * BufferView.[Ch]:
6480         * BufferView_pimpl.[Ch]:
6481         * bufferview_funcs.C:
6482         * text2.C:
6483         * text3.C: rip out "deep update"
6484
6485         * textcursor.[Ch] (last_sel_cursor): remove unused member
6486
6487 2003-08-04  André Pönitz  <poenitz@gmx.net>
6488
6489         * BufferView.[Ch]:
6490         * BufferView_pimpl.[Ch]:
6491         * ParagraphParameters.C:
6492         * bufferview_funcs.C:
6493         * lyx_cb.C:
6494         * lyxfind.C:
6495         * lyxfunc.C:
6496         * text.C:
6497         * text2.C:
6498         * text3.C: replace "complicated" BufferView::update(...) calls with
6499         simpler ones.
6500
6501         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6502
6503 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6504
6505         * Makefile.am (lyx_SOURCES): add paper.h
6506
6507 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6508
6509         * Makefile.am: move things around so that both lyx-qt and
6510         lyx-xforms can be built (according to --with-frontend). Then lyx
6511         is a symbolic link to lyx-[firstfrontend]
6512
6513 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6514
6515         * Always use std::endl with lyxerr
6516
6517 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6518
6519         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6520
6521 2003-08-01  André Pönitz  <poenitz@gmx.net>
6522
6523         * BufferView.[Ch]:
6524         * BufferView_pimpl.[Ch]:
6525         * lyxfunc.C:
6526         * text3.C: merge BufferView::repaint() and BufferView::update()
6527
6528 2003-08-01  José Matos  <jamatos@lyx.org>
6529
6530         * buffer.[Ch]: file_format is no longer a buffer data element.
6531
6532 2003-08-01  André Pönitz  <poenitz@gmx.net>
6533
6534         * BufferView.C:
6535         * lyxtext.h:
6536         * text.C:
6537         * text2.C: make redoParagraph more independent of current cursor
6538
6539         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6540         * text.C:
6541         * text2.C: remove unneeded members
6542
6543 2003-07-30  André Pönitz  <poenitz@gmx.net>
6544
6545         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6546
6547         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6548           create a single function...
6549
6550         * paragraph_funcs.C (moveItem): ... here.
6551
6552         * text.C:
6553           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6554
6555 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6556
6557         * LColor.[Ch]: Add comment and greyedout logical colors.
6558
6559 2003-07-30  André Pönitz  <poenitz@gmx.net>
6560
6561         * tabular.C: don't use Assert too heavily. This crashes where it
6562           shouldn't
6563
6564 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6565
6566         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6567         is disabled (bug 1232)
6568
6569 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6570
6571         * factory.C: limited 'arg' scope
6572
6573 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6574
6575         * factory.C: fixed Note submenu issues
6576
6577 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6578
6579         * factory.C: submenu for Note/Comment/Greyedout
6580
6581 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6582
6583         * lyx_main.C (LyX):
6584         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6585
6586 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6587
6588         * LaTeXFeatures.C:
6589         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6590         greyedout. Patch provided by Jürgen Spitzmüller.
6591
6592 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6593
6594         * kbmap.C (read): fix error message when reading bind files
6595
6596 2003-07-29  Angus Leeming  <leeming@lyx.org>
6597
6598         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6599         certainly does not do what it purports to do. I am doing it, and
6600         us, a favour by killing it.
6601
6602 2003-07-28  José Matos  <jamatos@lyx.org>
6603
6604         * buffer.C (readBody, do_writeFile):
6605         * paragraph.C(readParagraph): \end_document replaces \the_end.
6606
6607 2003-07-29  André Pönitz  <poenitz@gmx.net>
6608
6609         * BufferView.[Ch]:
6610         * BufferView_pimpl.[Ch]:
6611         * lyxfunc.C:
6612         * text2.C:
6613         * text3.C:
6614         * textcursor.[Ch]: remove toggleToggle & Co
6615
6616 2003-07-28  José Matos  <jamatos@fep.up.pt>
6617
6618         * buffer.C (readParagraph):
6619         * params_func (readParToken, readParagraph):
6620         * paragraph.C (write): \layout -> \begin_layout.
6621
6622 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6623
6624         * lyxlex_pimpl.C (setFile): clean up slightly.
6625
6626         * bufferparams.h: add compressed var
6627
6628         * buffer_funcs.C (readFile): adjust for LyXLex change
6629         (newFile): ditto + simplify
6630
6631         * buffer.C (writeFile): handle writing of compressed files
6632
6633         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6634         Check if the file is compressed and set a bufferparm if so.
6635
6636         * Makefile.am (lyx_LDADD): remove explicit -lz
6637
6638 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6639
6640         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6641         makeDocBookFile): put the real LyX version in the first line of
6642         the file
6643
6644         * version.h:
6645         * version.C.in: remove lyx_docversion
6646
6647         * tabular.C (write_attribute): add a template-based version to
6648         write enums properly
6649
6650 2003-07-28  André Pönitz  <poenitz@gmx.net>
6651
6652         * lyxtext.h:
6653         * text.C:
6654         * text2.C:
6655         * text3.C: use doubles again for x-coordinates. They are needed.
6656
6657 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6658
6659         * messages.C (getLocaleDir): use lyx_localedir()
6660
6661         * lyxlex_pimpl.C (setFile): compress stuff
6662
6663         * buffer.C (writeFile): add some compression stuff
6664         (do_writeFile): new func, dont call expliti close... will this
6665         breake anything?
6666
6667         * Makefile.am (lyx_LDADD): add -lz
6668
6669 2003-07-28  José Matos  <jamatos@fep.up.pt>
6670
6671         * buffer.C: increment file format.
6672         * paragraph_funcs (readParagraph, readParToken):
6673         * paragraph.C (readParagraph): add \end_layout.
6674
6675 2003-07-27  Angus Leeming  <leeming@lyx.org>
6676
6677         * Makefile.am: remove special casing for configure-time setting of
6678         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6679
6680         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6681         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6682
6683 2003-07-26  André Pönitz  <poenitz@gmx.net>
6684
6685         * paragraph_func.[Ch]:
6686         * paragraph.C (realizeFont): inline it whereever it is used
6687
6688         * rowpainter.C:
6689         * text.C:
6690         * text2.C:
6691         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6692
6693
6694 2003-07-26  André Pönitz  <poenitz@gmx.net>
6695
6696         *       lyxtext.h:
6697         * text.C:
6698         * text2.C: get rid of LyXText::need_break_row
6699
6700 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6701
6702         * toc.[Ch]: put namespace toc inside namespace lyx
6703
6704         * MenuBackend.C (expandToc2): adjust for lyx::toc
6705         (expandToc): ditto
6706
6707         * lyxfunc.C (dispatch): adjust for lyx::find
6708
6709         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6710         lyx::find instead. Reorganize a bit.
6711         (LyXReplace): rename to replace
6712         (LyXFind): rename to find
6713
6714         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6715         (dispatch): ditto
6716
6717 2003-07-26  André Pönitz  <poenitz@gmx.net>
6718
6719         * text.C (setHeightOfRow): restrict scope of temporary variable
6720
6721         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6722           code (never has been used?)
6723
6724 2003-07-27  Asger Alstrup  <alstrup@local>
6725
6726         * text.C (fill): Optimise algorithm to exploit that we can reuse
6727         the LyXFont for many characters.
6728         (setHeightOfRow): Same thing.
6729         (rowBreakPoint): Same thing.
6730
6731 2003-07-26  Asger Alstrup  <alstrup@local>
6732
6733         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6734
6735         * text.C (singleWidth): Spurious font copying in hot-spot
6736         singleWidth avoided. Reorder tests for arabic for efficiency.
6737
6738         * text.C (fill): handle empty paragraphs better.
6739
6740 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6741
6742         * ispell.C:
6743         * encoding.h: add includes
6744
6745         * lyxrc.C: remove reading of bind files
6746
6747         * lyx_main.C (init): setup bindings and menus only if we have a
6748         gui.
6749
6750         * kbmap.C (read): new method. Do the actual reading of bind
6751         files.
6752
6753         * converter.C (dvipdfm_options):
6754         * bufferparams.C:
6755         * lyxrc.C (read):
6756         (output): adapt PAPER_* enums.
6757
6758         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6759
6760         * bufferparams.h: remove paper-related enums from there
6761
6762         * paper.h: New file. A trivial header file to hold paper-related
6763         enums. It should later expand to contain many paper-related
6764         horrors access.
6765
6766         * lyxrc.C: declare extern displayTranslator
6767
6768 2003-07-27  José Matos  <jamatos@fep.up.pt>
6769
6770         * tabular.[Ch] (linuxdoc): add support for tables and figures
6771         (linuxdoc).
6772
6773 2003-07-27  José Matos  <jamatos@fep.up.pt>
6774
6775         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6776         consistency in both functions.
6777         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6778
6779 2003-07-26  Asger Alstrup  <alstrup@local>
6780
6781         * rowpainter.C (paintRows): Change algorithm to work directly on
6782         the insets rather than asking every character in the document
6783         whether its an inset.
6784
6785 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6786
6787         * buffer.C (openFileWrite): factorize some code
6788
6789 2003-07-26  Angus Leeming  <leeming@lyx.org>
6790
6791         * lyx_cb.C:
6792         * lyx_main.[Ch]: replace occurances of system_tempdir with
6793         os::getTmpDir().
6794
6795 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6796
6797         * rename Inset to InsetOld
6798
6799 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6800
6801         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6802         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6803         which I think is a bit clearer. EDIT is gone, since it was
6804         premature optimisation, and broken for mathed anyway.
6805         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6806         with cursor positioning in insets as well (math insets still do not
6807         work, but that's a different story anyway.) It mysteriously
6808         crashes sometimes with undo in the first paragraph, but I'm fairly
6809         confident that this is a compiler bug.
6810
6811 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6812
6813         * paragraph.C (Paragraph): adjust for new clone return type
6814         (operator==): ditto
6815         (copyIntoMinibuffer): ditto
6816
6817 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6818
6819         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6820         by not having a special case, and always doing a full rebreak of
6821         the document after undo.
6822
6823 2003-07-23  Angus Leeming  <leeming@lyx.org>
6824
6825         * factory.C (createInset): InsetExternal::setParams now takes a
6826         Buffer const * arg.
6827
6828 2003-07-23  Angus Leeming  <leeming@lyx.org>
6829
6830         * factory.C (createInset): changed interface to the external and
6831         graphics mailers' string2params functions.
6832
6833 2003-07-23  Angus Leeming  <leeming@lyx.org>
6834
6835         * factory.C (createInset): pass a
6836         Buffer const * parameter to InsetExternalMailer's string2params.
6837
6838 2003-07-22  John Levon  <levon@movementarian.org>
6839
6840         * Thesaurus.h: include the right aiksaurus header
6841
6842 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6843
6844         * MenuBackend.C (expand): check menu shortcuts unconditionally
6845
6846 2003-07-21  Angus Leeming  <leeming@lyx.org>
6847
6848         * factory.C (createInset): pass a
6849         buffer_path parameter to InsetGraphicsMailer's string2params.
6850
6851 2003-07-21  Angus Leeming  <leeming@lyx.org>
6852
6853         * BufferView_pimpl.C (buffer):
6854         * buffer.C (d-tor):
6855         * lyx_main.C (LyX):
6856         * lyxfunc.C (dispatch):
6857         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6858         rather than the grfx shortcut.
6859
6860 2003-07-21  André Pönitz  <poenitz@gmx.net>
6861
6862         * rowpainter.C: remove unused variables
6863
6864         * tabular_funcs.C:
6865         * tabular_funcs.h: move to tabular.C
6866         * Makefile.am: adjust
6867
6868         * tabular.[Ch]: basic optical cleaning
6869
6870         * author.h: pass references, not values
6871
6872 2003-07-18  André Pönitz  <poenitz@gmx.net>
6873
6874         * lyxtext.h:
6875         * metricsinfo.C:
6876         * metricsinfo.h:
6877         * rowpainter.C:
6878         * text.C:
6879         * text2.C:
6880         * text3.C: two-phase drawing for InsetText and InsetTabular
6881         some float -> int changes.
6882
6883 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6884
6885         * lyx_main.C: fix the fix
6886
6887 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6888
6889         * lyx_main.C: fix a crash in batch mode if no files specified
6890         * converter.C: ws
6891
6892 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6893
6894         * format.[Ch] (papersize): moved to BufferParams
6895         * converter.[Ch] (dvips_options): moved to BufferParams
6896         (dvipdfm_options): moved to anon namespace
6897         * bufferparams.[Ch]: added above functions.
6898
6899 2003-07-17  André Pönitz  <poenitz@gmx.net>
6900
6901         * lyxtext.h:
6902         * rowpainter.C:
6903         * text2.C: don't call inset->update() anymore
6904
6905         * metricsinfo.[Ch]: add convenience constructor
6906
6907 2003-07-16  André Pönitz  <poenitz@gmx.net>
6908
6909         * lyxcursor.[Ch]:
6910         * lyxfunc.[Ch]:
6911         * text.C:
6912         * text2.C: replace the LyXCursor::irow_ member with
6913          on-demand computation of the value
6914
6915 2003-07-16  John Levon  <levon@movementarian.org>
6916
6917         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6918
6919 2003-07-15  André Pönitz  <poenitz@gmx.net>
6920
6921         * text.C:
6922         * text2.C: remove no more needed refresh_row
6923
6924 2003-07-15  André Pönitz  <poenitz@gmx.net>
6925
6926         * lyxtext.h:
6927         * rowpainter.C:
6928         * text2.C:
6929         * text3.C: refresh_status tristate -> need_update bool
6930
6931 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6932
6933         * lyxtext.h (init): remove reinit argument (act as if always true)
6934         * text2.C: adjust to that
6935
6936 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6937
6938         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6939         * text3.C: use it to delete selections in some cases
6940         (bugs 441, 673, 702, 954).
6941
6942 2003-07-14  André Pönitz  <poenitz@gmx.net>
6943
6944         * rowpainter.[Ch]: reduce interface
6945
6946 2003-07-14  André Pönitz  <poenitz@gmx.net>
6947
6948         * BufferView_pimpl.C:
6949         * text2.C: adjust after removing unused BufferView * argument
6950
6951 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6952
6953         * text2.C (init): fix a crash fired on resize
6954
6955 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6956
6957         * buffer.[Ch]: added new closing signal
6958         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6959         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6960         BufferView::Pimpl via the closing the signal
6961
6962 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6963
6964         * buffer.[Ch]: take out all bv-related from buffer
6965         * BufferView.C:
6966         * BufferView_pimpl.[Ch]: connect to new signals
6967         * CutAndPaste.C: removed useless asserts
6968         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6969         * lyxvc.[Ch]:
6970         * vc-backend.[Ch]:
6971         * lyxfunc.C: moved view-related funciontality from vc here
6972         * paragraph.C: removed outdated comments
6973         * text.C: ws
6974
6975 2003-07-10  André Pönitz  <poenitz@gmx.net>
6976
6977         * BufferView_pimpl.C:
6978         * tabular.h:
6979         * tabular_funcs.C:
6980         * text.C:
6981         * text2.C: remove InsetText::InnerCache, clean up consequences
6982
6983 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6984
6985         * ispell.C: fix two typos in error messages
6986
6987 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6988
6989         * Extend Note inset to other forms of annotation like Comment
6990         and Greyedout. Right button click gives dialog.
6991
6992         Files modified or added (+):
6993
6994         * insetnote.[Ch]
6995         * FormNote.[Ch]      +
6996         * ControlNote.[Ch]   +
6997         * form_note.fd       +
6998         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6999         frontends/controllers
7000         * xforms/Dialogs.C
7001         * factory.C
7002
7003 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7004
7005         * aspell.C: add missing namespace lyx::support
7006
7007 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7008
7009         * BufferView.[Ch] (newFile): Add
7010         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7011         * LaTeX.[Ch] (message): added this signal and use it
7012         * buffer.[Ch] (busy, message): added these signals and use them
7013         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7014         * converter.C:
7015         * exporter.C:
7016         * format.C:
7017         * importer.C: use buffer signals instead of direct bv calling
7018         * lyx_cb.[Ch] (ShowMessage): removed
7019         * lyx_main.C:
7020         * lyxfunc.C:
7021         * paragraph_funcs.C:
7022         * text2.C: use buffer signals
7023
7024 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7025
7026         * introduce namespace lyx::graphics
7027
7028 2003-07-02  André Pönitz  <poenitz@gmx.net>
7029
7030         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7031
7032 2003-07-01  André Pönitz  <poenitz@gmx.net>
7033
7034         * text.C:
7035         * text2.C:
7036         * text3.C:
7037         * text_funcs.[Ch]:
7038         * textcursor.h:
7039         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7040           text*.C to text_func.C
7041
7042 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7043
7044         * introduce namespace lyx::support
7045
7046 2003-06-30  André Pönitz  <poenitz@gmx.net>
7047
7048         * Chktex.C:
7049         * funcrequest.C:
7050         * lyxtext.h:
7051         * text.C: re-enable --with-included-string
7052
7053 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7054
7055         * textcursor.C: add <config.h>
7056
7057         * text.C (getWord): remove const from word_location arg
7058
7059         * lyxvc.C (getLogFile): fix const type order
7060
7061         * lyxtext.h: remove const from word_location arg, add arg name
7062
7063         * lyxlayout.h: currect type on labeltype.
7064
7065         * importer.C: correct \file
7066
7067         * converter.C (intToFormat): use std:: on ret val, ws changes
7068
7069         * bufferlist.h: correct \file
7070
7071         * buffer.C (makeLinuxDocFile): fix const type order
7072         (makeDocBookFile): ditto
7073         (fillWithBibKeys): use std:: on stdlib args.
7074
7075         * CutAndPaste.C: fix authors.
7076         (availableSelections): use std:: on return vector
7077
7078 2003-06-27  André Pönitz  <poenitz@gmx.net>
7079
7080         * BufferView_pimpl.C:
7081         * bufferview_funcs.C:
7082         * lyxcursor.C:
7083         * lyxcursor.h:
7084         * lyxfunc.C:
7085         * lyxtext.h:
7086         * rowpainter.C:
7087         * text.C:
7088         * text2.C:
7089         * text3.C: remove LyXCursor::row_ member
7090
7091         * lyxtext.h:
7092         * text.C: rename fullRebreak() to partialRebreak() and implement
7093           a fullRebreak() that really bereks fully
7094
7095         * textcursor.h: new struct for cursor-related data
7096
7097 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7098
7099         * lyx_main.C (LyX): get full path of document loaded on the
7100         command line
7101
7102 2003-06-26  André Pönitz  <poenitz@gmx.net>
7103
7104         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7105           remove unused/broken operator>,<,>=.
7106
7107         *       text.C: remove only use of broken operator<= in an Assert().
7108
7109 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7110
7111         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7112         moved errorlist_.clear to showErrorList
7113
7114 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7115
7116         * converter.C (scanLog, runLaTeX):
7117         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7118         move the bv->showErrorList call to the callers
7119         * lyxfunc.C: i.e. here...
7120         * text2.C: and here
7121         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7122         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7123         namespace, the second to...
7124         * buffer_funcs (BufferFormat, parseErrors): added
7125         * errorlist.C (ErrorList(TeXErrors const &)): removed
7126
7127 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7128
7129         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7130
7131 2003-06-24  "Garst R. Reese" <reese@isn.net>
7132
7133         * debug.C: fix typo
7134
7135 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7136
7137         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7138
7139         * version.C.in: change docversion to 1.4
7140
7141 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7142
7143         * buffer.C: fix a bug just introduced
7144
7145 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7146
7147         * buffer.[Ch]: added the parseError signal and use it, removed
7148         sgmlError
7149         * BufferView.[Ch] (addError): moved to ...
7150         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7151         to the Buffer::parseError signal to catch (guess what) parse errors
7152         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7153
7154 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7155
7156         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7157         ability to create a buffer and to return an existing one from
7158         the list. Moved these functions to...
7159         * buffer_funcs.[Ch]: added
7160         * BufferView.[Ch] (loadLyXFile): added
7161         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7162         job removed from bufferlist::loadLyXFile.
7163         * buffer.C (setReadOnly): make it work without view
7164         (i.e added an if (users))
7165
7166 2003-06-19  Angus Leeming  <leeming@lyx.org>
7167
7168         * lfuns.h:
7169         * LyXAction.C (init):
7170         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7171         with LFUN_DIALOG_SHOW <name> <data>.
7172
7173 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7174
7175         * CutAndPaste.C (availableSelections): small compilation fix for
7176         ancient (gcc 2.9x) compilers
7177
7178 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7179
7180         * text3.C (cursorNext): add tmp var
7181
7182         * text2.C (updateCounters): for function calling out of for clause
7183         (replaceSelectionWithString): ditto
7184         (insertStringAsParagraphs): ditto
7185         (getColumnNearX): add tmp var
7186         (setCursorFromCoordinates): add tmp var
7187         (cursorDownParagraph): add tmp var
7188         (deleteEmptyParagraphMechanism): add tmp var
7189
7190         * text.C (insertChar): add tmp var
7191
7192         * rowpainter.C (paintDepthBar): add tmp var
7193
7194         * CutAndPaste.C (availableSelections): potentially check all
7195         paragraphs in a cut to fill the shown strings.
7196
7197 2003-06-18  André Pönitz  <poenitz@gmx.net>
7198
7199         * kbmap.[Ch]: use vector<> instead of list<>
7200
7201 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7202
7203         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7204         pasteSelection with index
7205
7206         * text2.C (pasteSelection): modify, call pasteSelection with index
7207
7208         * paragraph.C (asString): reimplement version with no interval to
7209         call the one with interval.
7210
7211         * lyxtext.h: add index arg to pasteSelection
7212
7213         * MenuBackend.C (MenuItem): handle PasteRecent
7214         (Menu::read::Menutags): add md_pasterecent
7215         (read): handle it
7216         (expandPasteRecent): new function
7217         (expand): use it
7218
7219         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7220
7221         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7222         the limited stack
7223         (availableSelections): new function
7224
7225 2003-06-17  Angus Leeming  <leeming@lyx.org>
7226
7227         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7228
7229 2003-06-17  Angus Leeming  <leeming@lyx.org>
7230
7231         * lfuns.h:
7232         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7233
7234         * lyxfunc.C (dispatch): invoke it.
7235
7236 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7237
7238         * iterators.C (operator++, ParPosition): reintroduce some
7239         const_cast for the benefit of older compilers.
7240
7241 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7242
7243         * text3.C (dispatch): do not modify clipboard when doing
7244         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7245         LFUN_DELETE_SKIP on a selection selection
7246
7247 2003-06-16  André Pönitz  <poenitz@gmx.net>
7248
7249         * BufferView.C:
7250         * buffer.C:
7251         * buffer.h:
7252         * paragraph.C:
7253         * tabular.[Ch]: IU of clone() and getLabelList();
7254
7255 2003-06-13  André Pönitz  <poenitz@gmx.net>
7256
7257         * tabular.h: compactification
7258
7259 2003-06-12  André Pönitz  <poenitz@gmx.net>
7260
7261         * tabular.C:
7262         * tabular.h:
7263         * tabular_funcs.h: some renaming plus whitespace
7264
7265 2003-06-12  André Pönitz  <poenitz@gmx.net>
7266
7267         * BufferView.C:
7268         * BufferView_pimpl.C:
7269         * CutAndPaste.C:
7270         * buffer.C:
7271         * iterators.[Ch]:
7272         * lyxfunc.C:
7273         * text.C:
7274         * toc.C: Return a Paragraph & for ParIterator::operator*()
7275
7276 2003-06-11  John Levon  <levon@movementarian.org>
7277
7278         * lyx_main.C:
7279         * ToolbarBackend.h:
7280         * ToolbarBackend.C: add "Toolbars" section and
7281         put the flags there
7282
7283 2003-06-10  Angus Leeming  <leeming@lyx.org>
7284
7285         * lfuns.h:
7286         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7287
7288         * lyxfunc.C (dispatch): invoke it.
7289
7290 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7291
7292         * main.C: protect <ios> with HAVE_IOS
7293         (main): protect sync_with_stdio with HAVE_IOS
7294
7295 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7296
7297         * text2.C (cutSelection): adjust
7298         (pasteSelection): adjust
7299
7300         * messages.C: handle get of empty string
7301
7302         * main.C (main): use sync_with_stdio(false)
7303
7304         * lyxfunc.C (dispatch): adjust
7305
7306         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7307         (WriteAs): remove unneeded BufferView arg.
7308
7309         * bufferparams.h: use correct types on papersize, papersize2 and
7310         paperpackage.
7311
7312         * bufferparams.C (readToken): adjust for type
7313         (writeLaTeX): add missing cases to switch.
7314
7315         * bufferlist.C (quitWriteBuffer): adjust
7316         (close): adjust
7317
7318         * buffer.C (asciiParagraph): remove some commented code.
7319
7320         * CutAndPaste.C: remove current_view extern variable.
7321         (cutSelection): add BufferParams arg.
7322         (eraseSelection): add BufferParams arg.
7323         (pasteSelection): add Buffer const & arg
7324
7325 2003-06-07  John Levon  <levon@movementarian.org>
7326
7327         * buffer.C:
7328         * paragraph_funcs.C:
7329         * paragraph_pimpl.C:
7330         * text.C:
7331         * text2.C:
7332         * paragraph.h:
7333         * paragraph.C: allow InsetERT to freely space lines,
7334         and some consolidation of code
7335
7336 2003-06-06  José Matos  <jamatos@fep.up.pt>
7337
7338         * buffer.C (makeDocBookFile): fix bug #821
7339
7340 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7341
7342         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7343
7344 2003-06-04  Angus Leeming  <leeming@lyx.org>
7345
7346         * buffer.C: bump format to 224.
7347
7348 2003-06-05  André Pönitz  <poenitz@gmx.net>
7349
7350         * text2.C (redoParagraphs): remove two const_cast<>
7351
7352 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7353
7354         * ParagraphList.h: remove last remnants of NO_STD_LIST
7355
7356 2003-06-03  Angus Leeming  <leeming@lyx.org>
7357
7358         * factory.C (createInset): small change to the way InsetExternal's params
7359         are set.
7360
7361 2003-06-04  André Pönitz  <poenitz@gmx.net>
7362
7363         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7364
7365         * paragraph_pimpl.h:
7366         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7367
7368         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7369
7370         * undo_funcs.C: make some simple cases of undo work again
7371
7372 2003-06-03  John Levon  <levon@movementarian.org>
7373
7374         * ispell.C: HPUX doesn't have sys/select.h
7375         (from Albert Chin)
7376
7377 2003-06-03  John Levon  <levon@movementarian.org>
7378
7379         * CutAndPaste.C: update tabular and include inset
7380         buffer references
7381
7382         * buffer.h:
7383         * paragraph.h:
7384         * paragraph.C: remove owningBuffer(), don't pass Buffer
7385         to clone()
7386
7387         * factory.C: insetGraphicsParams changed
7388
7389 2003-06-02  John Levon  <levon@movementarian.org>
7390
7391         * LyXAction.C:
7392         * factory.C:
7393         * lfuns.h:
7394         * lyxfunc.C:
7395         * text3.C: remove insetparent
7396
7397 2003-06-02  John Levon  <levon@movementarian.org>
7398
7399         * buffer.h:
7400         * buffer.C: fix inset_iterator.end(), move out of line
7401         (bug 1149)
7402
7403 2003-06-01  John Levon  <levon@movementarian.org>
7404
7405         * text3.C: use a proper cut/paste when doing inset
7406         insert (from Jürgen Spitzmüller)
7407
7408 2003-06-01  John Levon  <levon@movementarian.org>
7409
7410         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7411
7412 2003-05-30  André Pönitz  <poenitz@gmx.net>
7413
7414         * rowpainter.C: unify second drawing phase
7415
7416 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7417
7418         * trans_mgr.C: remove one case of current_view
7419
7420         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7421
7422         * paragraph_funcs.h: remove paragraph.h include
7423
7424         * paragraph.h: delete NO_STD_LIST stuff
7425
7426         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7427
7428         * buffer.h: remove paragraph.h include
7429
7430         * ParagraphList.C: delete file
7431
7432         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7433
7434         * toc.C (getTocList): adjust
7435
7436         * paragraph_pimpl.C (validate): adjust
7437
7438         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7439
7440         * paragraph.C (Paragraph): adjust
7441         (getPositionOfInset): use const_iterator, adjust
7442         (bibitem): use const_iterator, adjust
7443         (setInsetOwner): adjust
7444
7445         * iterators.C (operator++): adjust
7446
7447         * InsetList.[Ch]: Replace selfmade iterator with standard
7448         vector::iterator also introduce const_iterator. Remove getPos,
7449         getInset and setInset from InsetTable. Adjust accordingly.
7450
7451         * BufferView.C (lockInset): adjust
7452         (ChangeInsets): adjust
7453
7454         * tabular.[Ch]: delete commented same_id functions
7455
7456 2003-05-28  John Levon  <levon@movementarian.org>
7457
7458         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7459
7460 2003-05-28  André Pönitz  <poenitz@gmx.net>
7461
7462         * metricsinfo.[Ch]: remove 'fullredraw' member
7463
7464 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7465
7466         * lyxtextclass.C (operator): remove caching.
7467
7468 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * text3.C: adjust
7471
7472         * text2.C (cursorBottom): adjust
7473         (setCounter): use ParagraphList::find, adjust
7474
7475         * text.C (workWidth): use ParagraphList::find, adjust
7476
7477         * lyxcursor.C (LyXCursor): adjust
7478
7479         * buffer.C (inset_iterator): adjust
7480
7481         * ParagraphList.h: make iterator(value_type) private, make
7482         ParagraphList a friend of iterator.
7483
7484         * ParagraphList.C (find): new function
7485
7486         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7487
7488 2003-05-27  André Pönitz  <poenitz@gmx.net>
7489
7490         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7491
7492 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7493
7494         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7495
7496 2003-05-26  John Levon  <levon@movementarian.org>
7497
7498         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7499
7500 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7501
7502         * remove same_id from function signatures, adjust.
7503
7504 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7505
7506         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7507
7508         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7509
7510         * paragraph.C (Paragraph): get rid of same_ids parameter
7511
7512         * ParagraphList.C (insert): adjust
7513         (push_back): adjust
7514
7515 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7516
7517         * paragraph_funcs.C (breakParagraph): adjust
7518         (breakParagraphConservative): adjust
7519
7520         * buffer.C (readParagraph): adjust
7521
7522         * ParagraphList.C (insert): take a reference instead of a pointer
7523         (insert): adjust
7524
7525         * paragraph.[Ch] (id): new function
7526
7527         * bufferlist.C (newFile): adjust
7528
7529         * ParagraphList.C (ParagraphList): adjust
7530         (assign): adjust
7531         (push_back): take a reference instead of a pointer.
7532
7533         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7534
7535         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7536         instead.
7537
7538         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7539         set else use old code.
7540
7541         * ParagraphList.C: remove all NO_NEXT code and only compile this
7542         code of NO_STD_LIST is set.
7543
7544 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7545
7546         * BufferView_pimpl.C:
7547         * TextCache.C:
7548         * TextCache.h:
7549         * bufferlist.C:
7550         * errorlist.h:
7551         * format.C:
7552         * format.h:
7553         * graph.C:
7554         * lyxfunc.C:
7555         * lyxrc.C:
7556         * graphics/GraphicsConverter.C:
7557         * graphics/PreviewLoader.C: header adjustment
7558
7559 2003-05-23  Angus Leeming  <leeming@lyx.org>
7560
7561         * LaTeXFeatures.[Ch] (useBabel): new method.
7562         * bufferparams.C (writeLaTeX): use it.
7563
7564 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7565
7566         * ParagraphList.h (set): remove unused function.
7567
7568 2003-05-23  André Pönitz  <poenitz@gmx.net>
7569
7570         * BufferView.C:
7571         * BufferView_pimpl.C:
7572         * buffer.C:
7573         * buffer.h:
7574         * lyxfunc.C:
7575         * undo_funcs.C: setUndo reworked
7576
7577         * iterators.[Ch]: add access to topmost ParagraphList
7578
7579         * lyxtext.[Ch] (workWidth): add a const
7580
7581 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7582
7583         * texrow.[Ch] (increasePos): remove function
7584         * exporter.C (export): removed unused var and outdated comment
7585
7586 2003-05-23  Angus Leeming  <leeming@lyx.org>
7587
7588         * latexrunparams.h: rename fragile as moving_arg.
7589         * paragraph.C (simpleTeXOnePar): ditto.
7590         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7591
7592 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7593
7594         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7595         (createUndo): ditto
7596         (textUndoOrRedo): comment out a currently unused var.
7597
7598         * paragraph.h (NO_NEXT): enable NO_NEXT
7599
7600         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7601
7602         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7603
7604         * exporter.C (Export): adjust for removeAutoInsets removal.
7605
7606         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7607
7608         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7609
7610         * BufferView.[Ch] (removeAutoInsets): delete function
7611
7612 2003-05-22  Angus Leeming  <leeming@lyx.org>
7613
7614         * latexrunparams.h: add a free_spacing variable.
7615
7616         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7617         to pass moving_arg, as the data is stored in runparams.fragile.
7618
7619         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7620         to Inset::latexOptional or to simpleTeXOnePar.
7621
7622         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7623         free_spacing arg to Inset::latexOptional.
7624
7625         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7626         free_spacing arg.
7627
7628 2003-05-22  Angus Leeming  <leeming@lyx.org>
7629
7630         * latexrunparams.h: add fragile and use_babel variables.
7631
7632         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7633         * buffer.C (makeLaTeXFile): store this returned value in
7634         runparams.use_babel, thus passing it to the inset::latex methods.
7635
7636         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7637         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7638
7639         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7640         longer has a fragile arg, as it is stored in runparams.fragile.
7641
7642         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7643         moving_arg parameter as the data is stored in runparams.fragile.
7644
7645         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7646         a fragile parameter as the data is stored in runparams.fragile.
7647
7648 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7649
7650         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7651
7652 2003-05-22  Angus Leeming  <leeming@lyx.org>
7653
7654         * latexrunparams.h: add a 'bool nice' which defaults to false.
7655
7656         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7657         now encapsulated within runparams.
7658
7659         * bufferlist.C (updateIncludedTeXfiles):
7660         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7661
7662 2003-05-22  Angus Leeming  <leeming@lyx.org>
7663
7664         * latexrunparams.h: new file containing struct LatexRunParams.
7665         * Makefile.am: add new file.
7666
7667         * LaTeX.[Ch] (c-tor, run):
7668         * buffer.[Ch] (makeLaTeXFile):
7669         * bufferlist.[Ch] (updateIncludedTeXfiles):
7670         * converter.C (convert, scanLog):
7671         * converter.[Ch] (runLaTeX):
7672         * exporter.C (Export):
7673         * paragraph.[Ch] (simpleTeXOnePar):
7674         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7675         * paragraph_funcs.[Ch] (latexParagraphs):
7676         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7677         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7678         pass around a LatexRunParams parameter.
7679
7680 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7681
7682         * paragraph.[Ch]: remove unused constructor
7683
7684         * ParagraphList.C (erase): new function, taking two iterators
7685
7686 2003-05-22  André Pönitz  <poenitz@gmx.net>
7687
7688         * undo_funcs.C: remove duplicated code
7689
7690         * iterator.[Ch]: operator=
7691
7692 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7693
7694         * tabular.C (SetMultiColumn): ws changes
7695
7696         * rowpainter.C (paintFirst): get rid of a ->previous
7697
7698         * lyx_cb.C (getPossibleLabel): parlist simplification
7699
7700         * BufferView.C (ChangeInsets): simplify slightly.
7701
7702 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7703
7704         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7705         * lfuns.h: new LFUN_SPACE
7706         * lyxfunc.C: protected space has a new lfun
7707         * paragraph_funcs.C: read new space insets
7708         * text3.C:
7709         * factory.C: handle new space insets
7710
7711 2003-05-22  André Pönitz  <poenitz@gmx.net>
7712
7713         * BufferView.C:
7714         * BufferView_pimpl.C:
7715         * buffer.[Ch]:
7716         * lyxfunc.C:
7717         * undo_funcs.C: return a ParIterator from getParFromID.
7718
7719         * iterators.[Ch]: add two const's
7720
7721 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7722
7723         * toc.C (getTocList): adjust
7724
7725         * iterators.[Ch]: rework for parlist
7726
7727         * buffer.C (par_iterator_begin): adjust
7728         (par_iterator_end): adjust
7729
7730         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7731
7732         * BufferView.C (removeAutoInsets): adjust
7733         (ChangeInsets): adjust
7734
7735 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7736
7737         * text.C (top_y): fix bug 1110
7738
7739 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7740
7741         * errorlist.[Ch]: added
7742         * buffer.C:
7743         * BufferView.[Ch]:
7744         * BufferView_pimpl.C:
7745         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7746         instead
7747
7748 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * Makefile.am: ensure that lyx is relinked upon changes to the
7751         various "convenience" libs.
7752
7753 2003-05-20  Angus Leeming  <leeming@lyx.org>
7754
7755         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7756         files are compiled in alphabetical order again.
7757
7758         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7759
7760 2003-05-19  Angus Leeming  <leeming@lyx.org>
7761
7762         * gettext.[Ch]: remove "char const * _(char const *)".
7763
7764 2003-05-19  André Pönitz  <poenitz@gmx.net>
7765
7766         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7767
7768         * Makefile.am:
7769         * BufferView.C:
7770         * DepTable.h:
7771         * LaTeXFeatures.C:
7772         * buffer.C:
7773         * lyxfont.C:
7774         * lyxlex.h:
7775         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7776
7777 2003-05-19  André Pönitz  <poenitz@gmx.net>
7778
7779         * buffer.C:
7780         * lyxlayout.[Ch]:
7781         * lyxtextclass.[Ch]:
7782         * paragraph.C:
7783         * paragraph_funcs.[Ch]:
7784         * text2.C:
7785         * text3.C: more insetenv work
7786
7787 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7788
7789         * ParagraphParameters.C (params2string): small bug fixed
7790
7791 2003-05-16  André Pönitz  <poenitz@gmx.net>
7792
7793         * debug.C:
7794         * bufferview_funcs.C: patch from Kornel Benko to prevent
7795           crash when _(...) is called twice in a statement
7796
7797 2003-05-16  André Pönitz  <poenitz@gmx.net>
7798
7799         * BufferView.C:
7800         * lyxfunc.C:
7801         * text.C:
7802         * text2.C:
7803         * text3.C:
7804         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7805
7806 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7807
7808         * lyx_main.C (init): remove spurious static_cast
7809
7810 2003-05-14  André Pönitz  <poenitz@gmx.net>
7811
7812         * BufferView.C: fix format string
7813
7814 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7815
7816         * BufferView.[Ch] (insertErrors): removed
7817         * BufferView.[Ch] (showErrorList): added
7818         * buffer.C (runChkTeX):
7819         * converter.C (scanLog): call showErrorList instead of inserterrors
7820
7821 2003-05-13  André Pönitz  <poenitz@gmx.net>
7822
7823         * BufferView_pimpl.C:
7824         * buffer.C:
7825         * bufferview_func.C:
7826         * MenuBackend.C:
7827         * lyxfunc.C:
7828         * lyxrc.C:
7829         * tex-accent.C:
7830         * text3.C:
7831         * toc.C:
7832         * tabular_funcs.h: tostr() from its own header
7833
7834         * ParagraphParameters.C:
7835         * ToolbarBackend.C:
7836         * bufferparams.C:
7837         * format.C:
7838         * lyxlex_pimpl.C:
7839         * text3.C: STRCONV()
7840
7841 2003-05-12  André Pönitz  <poenitz@gmx.net>
7842
7843         * BufferView.C:
7844         * BufferView_pimpl.C:
7845         * CutAndPaste.C:
7846         * LaTeX.C:
7847         * LaTeXFeatures.C:
7848         * ParagraphParameters.C:
7849         * buffer.C:
7850         * bufferlist.C:
7851         * bufferparams.C:
7852         * bufferview_funcs.C:
7853         * converter.C:
7854         * counters.C:
7855         * debug.C:
7856         * exporter.C:
7857         * format.C:
7858         * importer.C:
7859         * lyx_cb.C:
7860         * lyx_main.C:
7861         * lyxfont.C:
7862         * lyxfunc.C:
7863         * lyxvc.C:
7864         * paragraph.C:
7865         * paragraph_funcs.C:
7866         * tabular.C:
7867         * tabular_funcs.C:
7868         * text2.C:
7869         * text3.C:  boost::format -> bformat  all over the place
7870
7871
7872 2003-05-09  André Pönitz  <poenitz@gmx.net>
7873
7874         * LColor.[Ch]: Pimpl the #include <map> away
7875
7876 2003-05-09  John Levon  <levon@movementarian.org>
7877
7878         * bufferlist.C: never remove emergency saves
7879
7880 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7881
7882         * Makefile.am: better lib building
7883
7884 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7885
7886         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7887         instead.
7888         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7889         (simpleTeXSpecialChars): adjust
7890         (simpleTeXSpecialChars): adjust
7891         * paragraph.C (simpleTeXOnePar): adjust
7892         * buffer.C (makeLaTeXFile): adjust
7893
7894         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7895
7896         * text2.C (changeDepth): parlist cleanup
7897         (getColumnNearX): ditto
7898
7899         * rowpainter.C (getLabelFont): parlist cleanup
7900
7901         * bufferlist.C (newFile): parlist cleanup
7902
7903         * CutAndPaste.C (eraseSelection): parlist cleanup
7904
7905         * BufferView_pimpl.C (trackChanges): parlist cleanup
7906         (dispatch): ditto
7907
7908         * BufferView.C (lockInset): parlist cleanup.
7909         (ChangeInsets): ditto
7910
7911 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7912
7913         * CutAndPaste.h: Update file header.
7914
7915         * CutAndPaste.C: Update file header.
7916         Store the parts cut out of the Document in a limited_stack.
7917         (copySelection): adjust
7918         (pasteSelection): new function, takes the index in the limited stack.
7919         (nrOfParagraphs): adjust
7920         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7921         simplify error inset insertion.
7922         (checkPastePossible): adjust
7923
7924 2003-05-06  John Levon  <levon@movementarian.org>
7925
7926         * text2.C: don't cast wrap inset to float
7927
7928 2003-05-05  André Pönitz  <poenitz@gmx.net>
7929
7930         * iterator.C:
7931         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7932
7933         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7934           few naked Paragraph *.
7935
7936 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7937
7938         * bufferparams.C: Output warning if a document with missing
7939         TeX document class is loaded
7940         * exporter.C: Disable TeX exports if the document class is missing
7941         * lyxtextclass.C:
7942         * lyxtextclass.h:
7943         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7944         isTeXClassAvailable()
7945
7946 2003-05-03  John Levon  <levon@movementarian.org>
7947
7948         * BufferView.h:
7949         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7950         explicit cursor show/hide
7951
7952         * BufferView_pimpl.h:
7953         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7954         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7955
7956         * lyxfunc.C: hide cursor before dispatching.
7957
7958         * lyx_cb.C:
7959         * lyxfind.C:
7960         * text.C:
7961         * text3.C: remove explicit cursor hides
7962
7963 2003-05-02  André Pönitz  <poenitz@gmx.net>
7964
7965         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7966
7967         * undo_funcs.C:
7968         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7969           linked lists
7970
7971         * text2.C: tiny whitespace
7972
7973 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7974
7975         * undo_funcs.C: almost only ws changes.
7976
7977         * ParagraphList.C (splice): just return if pl is empty.
7978
7979 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7980
7981         * ParagraphList.C (splice): new function.
7982
7983         * CutAndPaste.C (pasteSelection): use it
7984
7985 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7986
7987         * CutAndPaste.C (pasteSelection): remove the last next and
7988         previous from this file.
7989
7990 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7991
7992         * CutAndPaste.C (pasteSelection): more clean up, user proper
7993         ParagraphList functions for pasteing.
7994
7995         * ParagraphList.C (insert): new function, three arg insert
7996
7997 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7998
7999         * ParagraphList.C (insert): new function, three arg insert
8000
8001         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8002         not on paragraphs.
8003
8004 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8005
8006         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8007
8008 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8009
8010         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8011
8012 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013
8014         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8015         (copySelection): clean up a bit.
8016         (pasteSelection): use make_pair
8017
8018         * ParagraphList.C (ParagraphList): implement copy constructor
8019         (operator=): implement, base on copy constructor.
8020         (assign): new func
8021
8022         * paragraph.C (erase): return a bool
8023
8024         * paragraph_pimpl.C (erasePos): remove function, move contents...
8025         (erase): ... here. Return a bool.
8026         (erase): call erase instead of erasePos.
8027
8028 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8029
8030         * ParagraphList.h: define PitPosPair
8031         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8032         ParagraphList, fix a bug on pasting multiple pars
8033         * text2.C: change interface to C&P
8034
8035 2003-04-30  André Pönitz  <poenitz@gmx.net>
8036
8037         * undo_func.C: revert part of yesterday's patch 2
8038
8039 2003-04-30  John Levon  <levon@movementarian.org>
8040
8041         * LColor.C: s/tabular/table/
8042
8043 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8044
8045         * text3.C (dispatch): do not convert iterator -> pointer
8046         * undo_funcs.C (setCursorParUndo): ditto
8047         * text_funcs.C (transposeChars): ditto
8048
8049         * text2.C (setLayout): ws changes only
8050
8051         * text.C (breakParagraph): do not convert iterator -> pointer
8052         (insertChar): ditto
8053         (acceptChange): ditto
8054         (rejectChange): ditto
8055         (changeCase): ditto
8056         (Delete): ditto
8057         (backspace): ditto
8058
8059         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8060         pointer
8061
8062 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8063
8064         * text3.C (gotoInset): YABG (yet another bad getChar)
8065
8066 2003-04-29  André Pönitz  <poenitz@gmx.net>
8067
8068         * paragraph.h: make operator= private unimplemented as long as
8069           it is unusable
8070
8071         * ParagraphList.C: whitespace
8072
8073         * paragraph.[Ch]:
8074         * paragraph_pimpl.[Ch]:
8075         * paragraph_funcs.C:
8076         * CutAndPaste.C:
8077         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8078
8079         * text2.C:
8080           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8081
8082 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8083
8084         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8085         * paragraph.[Ch] (erase):
8086         * paragraph_pimpl.[Ch] (erase): change return type and value
8087         * text2.C (cutSelection): some rework
8088
8089 2003-04-28  John Levon  <levon@movementarian.org>
8090
8091         * bufferlist.C: changes for unsaved changes dialog
8092
8093 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * bufferlist.C (newFile): set language (messages_) for new
8096         documents also.
8097
8098         * buffer.C (readFile): ws changes only.
8099
8100 2003-04-28  André Pönitz  <poenitz@gmx.net>
8101
8102         * undo_funcs.C:
8103         * lyxfunc.C:
8104         * buffer.[Ch]:
8105         * BufferView_pimpl.C:
8106         * BufferView.C: getParFromID related ParagraphList::iterator changes
8107
8108 2003-04-28  André Pönitz  <poenitz@gmx.net>
8109
8110         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8111           Changes
8112
8113 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8114
8115         * messages.C: remove one more localedir class variable.
8116
8117 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8118
8119         * messages.C (getLocaleDir): singleton generation function
8120         (Pimpl): use it.
8121         (Messages): add a default constructor.
8122
8123         * main.C (main): do not setup localedir here, do not call
8124         gettext_init.
8125
8126         * gettext.C (_): use it.
8127         (gettext_init): delete funciton
8128
8129 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8130
8131         * gettext.C (getLyXMessages): new singleton generating function.
8132
8133         * buffer.C (updateDocLang): adjust
8134
8135         * Makefile.am (messages.o): add target
8136         (main.o): remove target
8137
8138 2003-04-27  John Levon  <levon@movementarian.org>
8139
8140         * bufferlist.C:
8141         * lyx_cb.C:
8142         * lyxfunc.C:
8143         * lyxvc.C: specify cancel button in Alert::prompt
8144
8145 2003-04-26  John Levon  <levon@movementarian.org>
8146
8147         * text3.C:
8148         * lyxfunc.C:
8149         * lfuns.h:
8150         * LyXAction.C: add LFUN_INSET_SETTINGS
8151
8152         * lyxfunc.C: don't enable tabular-feature when there's
8153         just any locking inset
8154
8155 2003-04-26  John Levon  <levon@movementarian.org>
8156
8157         * bufferlist.C: re-add Cancel to buffer close question
8158
8159         * lyxfunc.C: fix import UI a bit
8160
8161 2003-04-25  John Levon  <levon@movementarian.org>
8162
8163         * gettext.C: remove the broken asserts for now
8164
8165 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8166
8167         * messages.C: make case where setlocale cannot comply work better.
8168
8169         * buffer.C (updateDocLang): new function
8170         (changeLanguage): use it
8171         (readFile): use it
8172
8173         * text2.C (setCounter): use B_ a bit.
8174
8175         * lyxlayout.C (Read): be sure to trim the label strings.
8176
8177         * messages.C (Messages): fix typo in comment
8178
8179         * buffer.C (readFile): set message_ after file is loaded.
8180         (makeDocBookFile): remove double return
8181         (changeLanguage): reset message_ upon language change.
8182         (B_): new func, use this to get translated buffer strings.
8183
8184         * main.C: add myself and Jean Marc as authors.
8185
8186 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8187
8188         * messages.[hC]: pimplify Messages, and three different pimpls to be
8189         used in different circumstances.
8190
8191         * gettext.[Ch]: change for use with new message code.
8192
8193 2003-04-24 André Pönitz <poenitz@gmx.net>
8194
8195         * factory.C: support for eqref
8196
8197 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8198
8199         * messages.[Ch]: add missing char
8200
8201         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8202
8203         * messages.[Ch]: New files
8204
8205 2003-04-18  John Levon  <levon@movementarian.org>
8206
8207         * BufferView.h:
8208         * BufferView.C:
8209         * BufferView_pimpl.C:
8210         * lfuns.h:
8211         * LyXAction.C:
8212         * lyxtext.h:
8213         * text2.C: remove layout-copy/paste (bug 778)
8214
8215 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8216
8217         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8218
8219 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8220
8221         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8222         if they succeed. Act accordingly.
8223
8224 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8225
8226         * text2.C (setCharFont): adjust
8227         (setCounter): adjust
8228         (insertStringAsLines): adjust
8229
8230         * text.C (leftMargin): adjust
8231         (setHeightOfRow): adjust
8232
8233         * rowpainter.C (paintFirst): adjust
8234         (paintLast): adjust
8235
8236         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8237         (outerHook): ditto
8238         (isFirstInSequence): ditto
8239         (getEndLabel): ditto
8240         (outerFont): adjust
8241
8242         * paragraph.C (getParLanguage): comment out some hard stuff.
8243
8244         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8245         (sgmlError): ditto
8246         (simpleDocBookOnePar): ditto
8247         (makeDocBookFile): use ParagraphList::iterator
8248
8249         * CutAndPaste.C (pasteSelection): adjust
8250
8251 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8252
8253         * text2.C (getFont): adjust
8254         (getLayoutFont): adjust
8255         (getLabelFont): adjust
8256
8257         * paragraph_funcs.C (TeXOnePar): adjust
8258
8259         * buffer.C (simpleLinuxDocOnePar): adjust
8260         (simpleDocBookOnePar): adjust
8261
8262         * CutAndPaste.C (pasteSelection): adjust
8263
8264         * BufferView.C (getEncoding): adjust
8265
8266         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8267
8268 2003-04-16  John Levon  <levon@movementarian.org>
8269
8270         * lyxfind.C: use parlist stuff for search/changes
8271
8272 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8273
8274         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8275
8276         * text2.C (deleteEmptyParagraphMechanism): adjust
8277
8278         * text2.[Ch] (ownerParagraph): delete func (both of them
8279
8280 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8283
8284 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8285
8286         * ParagraphList.C: prepare for NO_NEXT
8287
8288 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8289
8290         * text2.C (getFont): adjust
8291         (getLayoutFont): adjust
8292         (getLabelFont): adjust
8293
8294         * paragraph.C (getFont): adjust
8295         (getLabelFont): adjust
8296         (getLayoutFont): adjust
8297
8298         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8299
8300 2003-04-15  John Levon  <levon@movementarian.org>
8301
8302         From Angus Leeming
8303
8304         * lyx_main.C: handle Include in .ui files
8305
8306 2003-04-15  John Levon  <levon@movementarian.org>
8307
8308         * MenuBackend.C: make the doc files length shorter
8309
8310         * ToolbarBackend.h:
8311         * ToolbarBackend.C: handle toolbar placement flags,
8312         Minibuffer
8313
8314 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8315
8316         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8317         adjust
8318
8319         * paragraph_funcs.C (TeXOnePar): adjust
8320
8321         * paragraph.C (getLabelFont): add outerfont arg, adjust
8322         (getLayoutFont): ditto
8323         (simpleTeXOnePar): adjust
8324
8325         * paragraph_pimpl.C (realizeFont): delete func
8326
8327 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8328
8329         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8330         row argument, constify cur argument.
8331
8332 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8333
8334         * text2.C (getFont): adjust
8335         (getLayoutFont): adjust
8336         (getLabelFont): adjust
8337
8338         * paragraph_funcs.C (TeXOnePar): adjust
8339         (outerFont): new func...
8340         (realizeFont): ...moved out from here, changed this to facilitate
8341         transition
8342
8343         * paragraph.C (getFont): take outerfont as arg, adjust
8344         (simpleTeXOnePar): add outerfont arg, adjust
8345
8346         * buffer.C (simpleLinuxDocOnePar): adjust
8347         (simpleDocBookOnePar): adjust
8348
8349         * CutAndPaste.C (pasteSelection): adjust
8350
8351         * BufferView.C (getEncoding): adjust
8352
8353 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8354
8355         * text2.C (setCharFont): adjust
8356         (setCounter): adjust
8357
8358         * text.C (leftMargin): adjust
8359         (setHeightOfRow): adjust
8360
8361         * rowpainter.C (paintFirst): adjust
8362         (paintLast): adjust
8363
8364         * paragraph_pimpl.C (realizeFont): adjust
8365
8366         * paragraph.C (isFirstInSequence): move from here...
8367         * paragraph_funcs.C (isFirstInSequence): ...to here
8368
8369         * paragraph.C (outerHook): move from here...
8370         * paragraph_funcs.C (outerHook): ...to here
8371
8372         * paragraph.C (depthHook): move from here...
8373         * paragraph_funcs.C (depthHook): ...to here
8374
8375         * paragraph.C (getEndLabel): move from here...
8376         * paragraph_funcs.C (getEndLabel): ...to here
8377
8378         * text2.C (realizeFont): move from here...
8379         * paragraph_funcs.C (realizeFont): ...to here
8380
8381 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8382
8383         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8384
8385 2003-04-14  Angus Leeming  <leeming@lyx.org>
8386
8387         * LColor.[Ch]: scrap LColor mathcursor.
8388
8389 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8390
8391         * lyxlex.[Ch] (text): delete function
8392         * trans.C (Load): adjust
8393         * paragraph_funcs.C (readParToken): adjust
8394
8395 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8396
8397         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8398         vector<char> instead of a char[].
8399
8400         * lyxlex_pimpl.C (getString): adjust
8401         (next): adjust
8402         (lex): use getString
8403         (eatLine): adjust
8404         (nextToken): adjust
8405
8406         * lyxlex.C (text): use pimpl_->getString()
8407         (getBool): ditto
8408         (findToken): ditto
8409
8410 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8411
8412         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8413         (makeFontEntriesLayoutSpecific): temp var for par.size()
8414         (setLayout): temp var for ownerParagraphs().end()
8415         (fullRebreak): temp var for rows().end()
8416         (selectionAsString): temp var for boost::next(startpit), realize
8417         that the while really is a regular for loop.
8418         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8419         setCursor in one place.
8420         (setParagraph): temp vr for ownerParagraphs().end()
8421         (updateCounters): make the while loop a for loop
8422         (cutSelection): temp var for ownerParagraphs().end()
8423         (updateInset): make the do {} while() a regular for loop
8424         (getCursorX): use temp vars
8425         (setCurrentFont): use temp vars
8426         (getColumnNearX): use temp vars
8427
8428 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8429
8430         * text.C (transformChar): use temp var for getChar
8431         (computeBidiTables): use temp var for row->par()
8432         (fill): move temp vars for row->par() and pit->layout() earlier in
8433         the function.
8434         (labelFill): use temp var for row->par()
8435         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8436         asc and desc, realize that pit never changes and that firstpit is
8437         just a duplicate and not needed. Exchange rit->par() with pit in a
8438         lot of places.
8439         (breakAgain): use a temp var for boost::next(rit)
8440         (breakAgainOneRow): ditto
8441         (breakParagraph): use a temp var for rows().begin()
8442         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8443         (cursorRightOneWord): use temp var for cursor.par() and
8444         cursor.pos(), remove usage of tmpcursor.
8445         (cursorLeftOneWord): use temp var for cursor.par() and
8446         cursor.pos() only set cur at end of function.
8447
8448 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8449
8450         * text.C, text2.C: exchange all usage of Paragraph::next with
8451         boost::next(ParagraphList::iterator)
8452
8453         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8454
8455         * text2.C (cursorTop): simplify implementation
8456         (cursorBottom): ditto
8457         (setParagraph): use ParagraphList::iterator
8458         (setCurrentFont): adjust
8459         (getColumnNearX): adjust
8460         (cursorRight): adjust
8461         (cursorLeft): remove usage of Paragraph::previous
8462         (cursorUpParagraph): ditto
8463         (deleteEmptyParagraphMechanism): slight cleanup
8464
8465         * text.C (isBoundary): take a Paragraph const & instead of a
8466         pointer as arg.
8467         (addressBreakPoint): ditto
8468         (leftMargin): remove usage of Paragraph::previous.
8469         (setHeightOfRow): ditto
8470         (cursorLeftOneWord): ditto
8471         (selectNextWordToSpellcheck): ditto
8472         (Delete): ditto
8473         (backspace): ditto
8474         (breakParagraph): remove one usage of Paragraph::next
8475         (redoParagraph): ditto
8476         (acceptChange): ditto
8477         (insertChar): adjust
8478         (rowBreakPoint): adjust
8479
8480         * bufferview_funcs.C (toggleAndShow): adjust
8481
8482 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8483
8484         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8485         methods to access it.
8486         * lyxtext.h:
8487         * text.C: Added updateRowPositions to compute all row positions.
8488         Make top_y and getRowNearY() to use the cached y position
8489
8490 2003-04-11  John Levon  <levon@movementarian.org>
8491
8492         * text.C (rowBreakPoint): reintroduce the labelEnd
8493         checks, code copied from the row fill stuff. Deep voodoo.
8494
8495         * text.C (fill): add a comment and debugging for the
8496         next poor soul.
8497
8498 2003-04-11  John Levon  <levon@movementarian.org>
8499
8500         * text.C: make sure fullrow insets get wrapped to the next line,
8501         even when they're in a manual label
8502
8503 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8504
8505         * text2.C (insertParagraph): make it take ParagraphList::iterator
8506         as arg.
8507         (setLayout): make it return ParagraphList::iterator
8508         (redoParagraphs): ditto
8509         (setCounter): ditto
8510         (checkParagraph): ditto
8511
8512         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8513
8514         * text2.C: adjust several funcs.
8515         (realizeFont): take a ParagraphList::iterator as arg.
8516         (getLayoutFont): ditto
8517         (getLabelFont): ditto
8518         (setCharFont): ditto
8519
8520         * text.C: adjust several funcs.
8521
8522 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8523
8524         * text.C (selectNextWordToSpellcheck): don't accidentally
8525         skip insets
8526
8527 2003-04-10  John Levon  <levon@movementarian.org>
8528
8529         * ToolbarBackend.C (getIcon): special handling for
8530         LFUN_MATH_DELIM
8531
8532 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8533
8534         * text2.C (cursorRight): a getChar assert fixed
8535
8536 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8537
8538         * text2.C (getFont): change to take a ParagraphList::iterator
8539         instead of Paragraph*
8540         Adjust several functions.
8541
8542         * text.C (transformChar): change to take a ParagraphList::iterator
8543         instead of Paragraph*
8544         (singleWidth): ditto
8545         Adjust several functions.
8546
8547         * rowpainter.C: adjust several functions
8548         * rowpainter.h:store a ParagraphList::iterator and not a
8549         Paragraph&.
8550
8551
8552 2003-04-09  John Levon  <levon@movementarian.org>
8553
8554         * lyxfunc.C:
8555         * lfuns.h:
8556         * LyXAction.h:
8557         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8558         and the "help" bits as well
8559
8560 2003-04-09  John Levon  <levon@movementarian.org>
8561
8562         * ToolbarBackend.h:
8563         * ToolbarBackend.C: allow multiple toolbars
8564
8565 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8566
8567         * undo_funcs.C (setCursorParUndo): adjust
8568
8569         * text_funcs.C (transposeChars): adjust
8570
8571         * text3.C (gotoNextInset): adjust
8572         (dispatch): adjust
8573
8574         * text2.C (setLayout): adjust
8575         (changeDepth): adjust
8576         (setFont): adjust
8577         (redoParagraphs): adjust
8578         (selectionAsString): adjust
8579         (setParagraph): adjust
8580         (insertInset): adjust
8581         (cutSelection): adjust
8582         (copySelection): adjust
8583         (pasteSelection): adjust
8584         (insertStringAsLines): adjust
8585         (updateInset): adjust
8586         (setCursor): change to take a ParagraphList::iterator parameter
8587         (setCursorIntern): change to take a ParagraphList::iterator parameter
8588         (setCurrentFont): adjust
8589         (cursorLeft): adjust
8590         (cursorRight): adjust
8591         (deleteEmptyParagraphMechanism): adjust
8592
8593         * text.C (breakParagraph): adjust
8594         (insertChar): adjust
8595         (acceptChange): adjust
8596         (rejectChange): adjust
8597         (selectNextWordToSpellcheck): adjust
8598         (changeCase): adjust
8599         (Delete): adjust
8600         (backspace): adjust
8601
8602         * lyxfind.C (SearchForward): adjust
8603         (SearchBackward): adjust
8604         (nextChange): adjust
8605
8606         * lyxcursor.C (par): adjust
8607
8608         * lyxcursor.h: store a ParagraphList::iterator instead of a
8609         Paragraph*
8610
8611         * lyx_cb.C (getPossibleLabel): adjust
8612
8613         * bufferview_funcs.C (toggleAndShow): adjust
8614
8615         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8616         (dispatch): adjust
8617
8618         * BufferView.C (removeAutoInsets): adjust
8619         (lockedInsetStoreUndo): adjust
8620
8621 2003-04-09  John Levon  <levon@movementarian.org>
8622
8623         * ToolbarBackend.C: try icon without argument
8624         if with argument fails
8625
8626 2003-04-08  John Levon  <levon@movementarian.org>
8627
8628         * ToolbarBackend.h:
8629         * ToolbarBackend.C: add getIcon(), handle tooltip,
8630         and change from "Icon" to "Item".
8631
8632 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8633
8634         * BufferView.C (lockInset): another bad getchar crunched
8635
8636 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8637
8638         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8639         again)
8640
8641 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8642
8643         * lyxfind.C (searchForward, searchBackwards): bug 782
8644
8645 2003-04-07  John Levon  <levon@movementarian.org>
8646
8647         * paragraph.C: remove dead comment
8648
8649         * text.C: remove troublesome depth-fiddling code
8650         in leftMargin() and rightMargin() (bug 1017)
8651
8652         * text.C: fix breaking of rows in nested lists
8653         (bug 1004)
8654
8655         * text2.C (updateCounters): fix up depth values
8656         (bug 1013)
8657
8658 2003-04-07  John Levon  <levon@movementarian.org>
8659
8660         * BufferView_pimpl.C: clear message when doc finishes resizing,
8661         and after a mouse event
8662
8663         * lyxfunc.C: clear message after exiting inset
8664
8665 2003-04-07  John Levon  <levon@movementarian.org>
8666
8667         * bufferview_funcs.C: show math status not outside
8668         status in the statusbar
8669
8670 2003-04-07  John Levon  <levon@movementarian.org>
8671
8672         * lyxfunc.C: note status changed after a depth change
8673
8674 2003-04-04  Angus Leeming  <leeming@lyx.org>
8675
8676         * LaTeX.h: move AuxInfo operator==, != out of line.
8677         Remove LaTeX virtual destructor; nothing derives from it.
8678         Move operator()() out of public area and rename it startscript().
8679         Change protected for private.
8680
8681 2003-04-04  Angus Leeming  <leeming@lyx.org>
8682
8683         * lyxfunc.C:
8684         * text2.C: remove unneeded #includes.
8685
8686 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8687
8688         * text2.C (dEPM): fix the heigth of the next row
8689
8690 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8691
8692         * text.C: squashed an invalid getChar requester + some ws changes
8693
8694 2003-04-03  John Levon  <levon@movementarian.org>
8695
8696         * bufferview_funcs.h:
8697         * bufferview_funcs.C:
8698         * lyxfunc.C:
8699         * lyxtext.h:
8700         * text2.C: make getStatus work for the env depth lfuns
8701
8702 2003-04-03  John Levon  <levon@movementarian.org>
8703
8704         * bufferview_funcs.h:
8705         * bufferview_funcs.C:
8706         * lyxfunc.C:
8707         * lyxtext.h:
8708         * text2.C: parlistize decDepth(), by merging it with incDepth()
8709
8710 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8711
8712         * lyxrow.h: store a ParagraphList::iterator instead of a
8713         Paragraph* and adjust other class functions to suit.
8714
8715         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8716         above.
8717
8718 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8719
8720         * text2.C (setCursor): do not anchor to cursor row for the time being
8721
8722 2003-04-02  John Levon  <levon@movementarian.org>
8723
8724         * LyXAction.C:
8725         * lfuns.h:
8726         * lyx_main.C:
8727         * lyxtext.h:
8728         * text.C:
8729         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8730
8731 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8732
8733         * paragraph.h: make ParagraphList and ParagraphList::iterator
8734         friends of Paragraph.
8735
8736         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8737
8738         * ParagraphList.C: Use the private next_ and previous_ from
8739         Paragraph.
8740
8741 2003-04-01  John Levon  <levon@movementarian.org>
8742
8743         * ToolbarBackend.h:
8744         * ToolbarBackend.C:
8745         * Makefile.am: rename, remove defaults gunk
8746
8747         * MenuBackend.h:
8748         * MenuBackend.C: remove defaults gunk
8749
8750         * Languages.h:
8751         * Languages.C: remove defaults gunk
8752
8753         * lyx_main.h:
8754         * lyx_main.C: error out if files couldn't be found.
8755
8756 2003-04-02  John Levon  <levon@movementarian.org>
8757
8758         * text2.C: make incDepth() use parlist
8759
8760 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8761
8762         * undo_funcs.C (firstUndoParagraph): adjust
8763
8764         * text3.C (gotoInset): adjust
8765         (dispatch): adjust, and rewrite loop.
8766
8767         * text2.C (init): adjust, and rewrite loop.
8768         (redoParagraphs): adjust
8769         (updateInset): adjust, and rewrite loop.
8770         (deleteEmptyParagraphMechanism): adjust
8771
8772         * tabular.C (LyXTabular): adjust
8773         (SetMultiColumn): adjust
8774         (TeXRow): adjust
8775
8776         * lyxtext.[Ch] (ownerParagraph): delete function
8777         (ownerParagraphs): new function returns a ParagraphList.
8778
8779         * BufferView.C (removeAutoInsets): adjust
8780         (insertErrors): adjust
8781         (setCursorFromRow): adjust
8782
8783 2003-04-01  Angus Leeming  <leeming@lyx.org>
8784
8785         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8786         in the frontends.
8787
8788 2003-04-02  John Levon  <levon@movementarian.org>
8789
8790         * lyxtext.h:
8791         * text.C:
8792         * Makefile.am:
8793         * text_funcs.h:
8794         * text_funcs.C: make transposeChars a free function
8795
8796         * lyxrow_funcs.C: remove wrong comment
8797
8798 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8799
8800         * lyxtext.h: adjust
8801         * rowpainter.C: adjust
8802         * text.C: adjust
8803         * text2.C: adjust
8804         * text3.C: adjust
8805
8806         * lyxrow_funcs. [Ch]: new files
8807
8808         * lyxrow.[Ch]: remove next and previous pointers
8809         (next,previous): remove accessor functions
8810         (isParEnd): move to lyxrow_funcs
8811         (lastPos): move to lyxrow_funcs
8812         (nextRowIsAllInset): move to lyxrow_funcs
8813         (lastPrintablePos): move to lyxrow_funcs
8814         (numberOfSeparators): move to lyxrow_funcs
8815         (numberOfHfills): move to lyxrow_funcs
8816         (numberOfLabelHfills): move to lyxrow_funcs
8817         (hfillExpansion): move to lyxrow_funcs
8818
8819         * lyxfunc.C: adjust
8820
8821         * bufferview_funcs.C (toggleAndShow): adjust
8822
8823         * RowList.h: Remove class RowList from file leave just a
8824         std::list<Row>.
8825
8826         * RowList.C: delete file
8827
8828         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8829         and lyxrow_funcs.h
8830
8831 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8832
8833         * text3.C (cursorPrevious): adjust
8834         (cursorNext): adjust
8835         (dispatch): adjust
8836
8837         * text2.C (redoHeightOfParagraph): adjust
8838         (redoDrawingOfParagraph): adjust
8839         (setCursor): adjust
8840
8841         * text.C (breakParagraph): adjust
8842         (insertChar): adjust
8843         (backspace): adjust
8844
8845         * rowpainter.C (RowPainter): adjust
8846         (leftMargin): simplify and adjust
8847         (most rowpainter functions): adjust.
8848
8849         * rowpainter.h: store the row as RowList::iterator not as Row*
8850
8851         * lyxcursor.C (row): taka RowList::iterator as arg
8852         (irow): ditto
8853
8854         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8855         of Row*.
8856
8857 2003-04-01  Angus Leeming  <leeming@lyx.org>
8858
8859         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8860         stuff like bool Bool.
8861
8862 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8863
8864         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8865         rewrite a loop
8866
8867 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8868
8869         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8870         RowList::iterator.
8871
8872         * lyxtext.h (rows): drop one version and leve a const variant that
8873         returns a RowList::iterator.
8874
8875 2003-03-31  Angus Leeming  <leeming@lyx.org>
8876
8877         * text.C (fill): ensure that the signature is the same as that in the
8878         header file.
8879
8880 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8881
8882         * text2.C (redoParagraphs): adjust
8883         (updateCounters): adjust
8884         (checkParagraph): adjust
8885         (getColumnNearX): adjust and reformat a bit.
8886
8887         * text.C (top_y): adjust
8888         (workWidth): adjust
8889         (leftMargin): adjust
8890         (prepareToPrint): adjust
8891         (getRow): adjust
8892         (getRowNearY): adjust
8893
8894         * lyxtext.h: make rowlist_ mutable.
8895
8896         * RowList.h: add const_iterator
8897         * RowList.C: adjust for RowList::const_iterator.
8898
8899         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8900         adjust.
8901
8902 2003-03-31  John Levon  <levon@movementarian.org>
8903
8904         * lyxrc.h:
8905         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8906
8907         * lyx_main.C: set default fonts from using lyx_gui funcs
8908
8909         * exporter.C: pdf_mode moved from lyxrc
8910
8911         * lyx_cb.C:
8912         * lyxfunc.C: changes from above
8913
8914 2003-03-31  John Levon  <levon@movementarian.org>
8915
8916         * lyx_main.C: fix to the last fix
8917
8918 2003-03-31  John Levon  <levon@movementarian.org>
8919
8920         * bufferlist.C: "Load original" -> "Load Original"
8921
8922         * converter.C:
8923         * exporter.C:
8924         * importer.C:
8925         * lyx_main.C:
8926         * format.C: more Alert cleanups
8927
8928 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8929
8930         * text2.C (removeParagraph): make it take a RowList::iterator as
8931         arg, adjust.
8932         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8933         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8934
8935         * text.C (anchor_row): make it take a RowList::iterator as arg,
8936         adjust.
8937         (computeBidiTables): make it take a const reference to Row instead
8938         of Row pointer, adjust.
8939         (leftMargin): make it take a RowList::iterator as arg, adjust.
8940         (rowBreakPoint): adjust
8941         (breakAgainOneRow): make it take a RowList::iterator as arg,
8942         adjust.
8943         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8944
8945         * bufferview_funcs.C (toggleAndShow): adjust
8946
8947 2003-03-30  John Levon  <levon@movementarian.org>
8948
8949         * Makefile.am:
8950         * BoostFormat.h:
8951         * boost-inst.C: moved to support
8952
8953         * several files: changes as a result
8954
8955 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8956
8957         * text2.C (LyXText): adjust.
8958         (init): adjust
8959         (removeRow): make it take a RowList::iterator as arg, adjust.
8960         (fullRebreak): adjust
8961         (deleteEmptyParagraphMechanism): adjust
8962         (clearPaint): adjust
8963         (postPaint): adjust
8964
8965         * text.C (top_y): adjust
8966         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8967         (breakAgain): make it take a RowList::iterator as arg, adjust.
8968         (breakParagraph): adjust
8969         (insertChar): adjust
8970         (backspace): adjust
8971
8972         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8973         need_break_row, and refresh_row.
8974
8975         * text3.C (dispatch): adjust
8976
8977         * text2.C (checkParagraph): adjust
8978         (setCursor): adjust
8979         (setCursorFromCoordinates): adjust
8980
8981         * text.C (top_y): adjust
8982         (workWidth): adjust
8983         (getRow): make it return a RowList::iterator, adjust
8984         (getRowNearY): make it return a RowList::iterator, adjust
8985
8986         * text2.C (init): adjust
8987         (insertRow): remove function
8988         (insertParagraph): adjust
8989         (redoParagraphs): adjust
8990         (fullRebreak): adjust
8991         (updateCounters): adjust
8992
8993         * text.C (top_y): rewrite to use RowList iterators.
8994         (top_y): adjust
8995         (setHeightOfRow): rewrite to sue RowList iterators.
8996         (appendParagraph): adjust
8997         (breakAgain): adjust
8998         (breakAgainOneRow): adjust
8999         (breakParagraph): adjust
9000         (getRow): adjust
9001         (getRowNearY): adjust, and remove commented code.
9002
9003         * lyxtext.h (firstRow): delete function
9004         (lastRow): delete function
9005         (rows): new function (const and non-const versions.)
9006         (insertRow): delete function
9007
9008         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9009
9010 2003-03-29  John Levon  <levon@movementarian.org>
9011
9012         * BufferView_pimpl.C: always update scrollbar top
9013         because pasting text when we're anchored could mean we
9014         miss an update altogether
9015
9016 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9017
9018         * text2.C (init): use rowlist_.end() and not 0.
9019         (insertRow): change to take a RowList::iterator as arg, adjust
9020         for this.
9021         (insertParagraph): change to take a RowList::iterator as arg,
9022         adjust for this.
9023         (redoParagraphs): remove some debug msgs.
9024
9025         * text.C (appendParagraph): change to take a RowList::iterator
9026         arg, adjust for this.
9027         (breakAgain): add an assert
9028         (breakAgainOneRow): ditto
9029
9030 2003-03-29  John Levon  <levon@movementarian.org>
9031
9032         * text2.C: do not clear selection after inc/decDepth
9033         (bug 550)
9034
9035 2003-03-29  John Levon  <levon@movementarian.org>
9036
9037         * BufferView.C:
9038         * buffer.C: fix broken strerrors according to Lars
9039
9040 2003-03-29  John Levon  <levon@movementarian.org>
9041
9042         * converters.C: more Alert cleanups
9043
9044 2003-03-29  John Levon  <levon@movementarian.org>
9045
9046         * bufferview_funcs.C: remove pointless Alert
9047
9048         * buffer.C: fix confusing error message when
9049         a template is chmoded 000
9050
9051 2003-03-29  John Levon  <levon@movementarian.org>
9052
9053         * BufferView.C:
9054         * BufferView.h:
9055         * BufferView_pimpl.C: Alert fixes
9056
9057         * Makefile.am:
9058         * tabular.C:
9059         * tabular-old.C: remove unused table compat reading
9060
9061 2003-03-29  John Levon  <levon@movementarian.org>
9062
9063         * BufferView.C:
9064         * buffer.C:
9065         * lyx_cb.h:
9066         * lyx_cb.C: more Alert cleanups
9067
9068         * lyxfunc.C: don't allow chktex if not latex document
9069
9070 2003-03-29  John Levon  <levon@movementarian.org>
9071
9072         * lyx_cb.C:
9073         * BufferView.C:
9074         * buffer.C: warnings pushed down from support/,
9075         kill err_alert
9076
9077 2003-03-29  John Levon  <levon@movementarian.org>
9078
9079         * lyxfunc.C: safety check for C-r (revert)
9080
9081 2003-03-29  John Levon  <levon@movementarian.org>
9082
9083         * bufferlist.h:
9084         * bufferlist.C: several UI fixes using Alert::prompt.
9085         Fix the pointless looping quit code. Fix stupid revert
9086         behaviour (bug 938)
9087
9088         * lyxvc.h:
9089         * lyxvc.C:
9090         * lyx_cb.C: use Alert::prompt
9091
9092         * lyx_main.C: remove a silly question
9093
9094         * lyxfunc.C: remove a couple of silly questions,
9095         use Alert::prompt
9096
9097 2003-03-28  John Levon  <levon@movementarian.org>
9098
9099         * text2.C: fix bug 974 (End on empty par)
9100
9101 2003-03-28  John Levon  <levon@movementarian.org>
9102
9103         * BufferView_pimpl.C:
9104         * LyXAction.C:
9105         * lfuns.h: remove do-nothing math greek lfuns
9106
9107 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9108
9109         * lyxgluelength.h (isValidGlueLength): add default arg on
9110         parameter 2. Remove default arg from friend in class.
9111
9112         * lyxlength.h (isValidLength): add default arg on parameter 2.
9113         Remove default arg from friend in class.
9114
9115         * text2.C (LyXText): adjust, initialize refresh_row.
9116         (init): adjust
9117         (removeRow): adjust
9118         (insertRow): adjust
9119         (insertParagraph): adjst
9120         (redoParagraphs): adjust
9121         (fullRebreak): adjust
9122         (updateCounters): adjust
9123         (deleteEmptyParagraphMechanism): first attempt at fixing a
9124         crashing bug.
9125
9126         * text.C (top_y): adjust
9127         (setHeightOfRow): adjust
9128         (getRow): adjust
9129         (getRowNearY): adjust
9130
9131         * lyxtext.h: include RowList.h
9132         (~LyXText): not needed anymore, deleted.
9133         (firstRow): modify for RowList
9134         (lastRow): new function
9135         Delete firstrow and lastrow class variables, add a Rowlist
9136         rowlist_ class variable.
9137
9138         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9139         paragraph is empty.
9140
9141         * RowList.C (insert): fix case where it == begin().
9142
9143 2003-03-26  Angus Leeming  <leeming@lyx.org>
9144
9145         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9146         the thesaurus dialog.
9147
9148 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9149
9150         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9151
9152         * RowList.[Ch]: new files
9153
9154         * ParagraphList.C (erase): handle the case where it == begin
9155         correctly.
9156
9157 2003-03-25  John Levon  <levon@movementarian.org>
9158
9159         * Makefile.am:
9160         * aspell_local.h:
9161         * aspell.C: add new aspell support
9162
9163         * lyxrc.h:
9164         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9165         have it accessible.
9166
9167 2003-03-25  Angus Leeming  <leeming@lyx.org>
9168
9169         * lfuns.h:
9170         * LyXAction.C (init): new LFUN_INSET_INSERT.
9171
9172         * BufferView_pimpl.C (dispatch): split out part of the
9173         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9174
9175         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9176         LFUN_INSET_APPLY.
9177
9178 2003-03-25  Angus Leeming  <leeming@lyx.org>
9179
9180         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9181
9182 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9183
9184         * text2.C:
9185         * text3.C: remove useless row->height(0)
9186
9187 2003-03-25  John Levon  <levon@movementarian.org>
9188
9189         * lyxtext.h:
9190         * text2.C:
9191         * text3.C: rename the refreshing stuff to better names
9192
9193 2003-03-24  John Levon  <levon@movementarian.org>
9194
9195         * BufferView_pimpl.h:
9196         * BufferView_pimpl.C: update layout choice on a mouse
9197         press/release
9198
9199 2003-03-23  John Levon  <levon@movementarian.org>
9200
9201         * Makefile.am: fix commandtags.h reference
9202
9203 2003-03-22  John Levon  <levon@movementarian.org>
9204
9205         * BufferView_pimpl.C:
9206         * lyxtext.h:
9207         * rowpainter.C:
9208         * rowpainter.h:
9209         * text.C:
9210         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9211
9212 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9213
9214         * lyxtext.h:
9215         * text.C: take the rtl methods out of line
9216
9217 2003-03-21 André Pönitz <poenitz@gmx.net>
9218
9219         * metricsinfo.[Ch]: new files containing structures to be passed around
9220         during the two-phase-drawing...
9221
9222 2003-03-21 André Pönitz <poenitz@gmx.net>
9223
9224         * lyxtextclass.C: read 'environment' tag.
9225
9226 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9227
9228         * text2.C (removeRow): fix bug 964
9229
9230 2003-03-20  John Levon  <levon@movementarian.org>
9231
9232         * rowpainter.C:
9233         * text.C:
9234         * text2.C: paint cleanups. Inset::update() dropped font
9235         parameter
9236
9237 2003-03-19  John Levon  <levon@movementarian.org>
9238
9239         * lyxfunc.C: only fitcursor/markDirty if available()
9240
9241 2003-03-19  John Levon  <levon@movementarian.org>
9242
9243         * commandtags.h: rename to ...
9244
9245         * lfuns.h: ... this, and renumber / cleanup
9246
9247 2003-03-19  John Levon  <levon@movementarian.org>
9248
9249         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9250         fit the cursor after an lfun
9251
9252         * BufferView.h:
9253         * BufferView.C:
9254         * BufferView_pimpl.h:
9255         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9256
9257         * LyXAction.C: layout-character should have ReadOnly
9258
9259         * ParagraphParameters.C:
9260         * buffer.C:
9261         * bufferview_funcs.C:
9262         * lyx_cb.C:
9263         * lyxfind.C:
9264         * lyxtext.h:
9265         * text.C:
9266         * text2.C:
9267         * text3.C:
9268         * undo_funcs.C: changes from above
9269
9270 2003-03-18  John Levon  <levon@movementarian.org>
9271
9272         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9273         remove it from update()
9274
9275         * lyxfunc.C: update layout choice after an lfun
9276
9277         * text3.C: remove extra updateLayoutChoice()s
9278
9279 2003-03-18  John Levon  <levon@movementarian.org>
9280
9281         * text.C: top_y change means full repaint, fix
9282         a drawing bug with cursor movement
9283
9284 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9285
9286         * lyxtext.h:
9287         * text.C:
9288         * text2.C: anchor row on setCursor
9289
9290 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9291
9292         * lyxtext.h: remove almost all mutable keywords
9293         * text.C:
9294         * text2.C:
9295         * text3.C: remove const keywords accordingly
9296
9297 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9298
9299         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9300         anon namespace
9301         (TeXEnvironment): ditto
9302         (TeXOnePar): ditto
9303
9304 2003-03-17  John Levon  <levon@movementarian.org>
9305
9306         * text.C (rowBreakPoint): remove attempt to fix displayed
9307         math insets inside a manual label
9308
9309 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9310
9311         * lyxtext.h: remove BufferView* as first arg from almost all class
9312         functions.
9313         * other files: adjust.
9314
9315 2003-03-17  John Levon  <levon@movementarian.org>
9316
9317         * lyxtext.h:
9318         * undo_funcs.C:
9319         * text2.C: more paint cleanups
9320
9321         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9322
9323         * rowpainter.h:
9324         * rowpainter.C: remove "smart" background painting code
9325
9326 2003-03-16  John Levon  <levon@movementarian.org>
9327
9328         * lyxtext.h:
9329         * text.C:
9330         * text2.C:
9331         * text3.C: add helper functions for setting refresh_row/y
9332
9333 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9334
9335         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9336         newline inset which *can* get inserted in the pass_thru layouts.
9337         This is primarily for literate documents.
9338
9339 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9340
9341         * buffer.C: increment LYX_FORMAT to 223
9342
9343 2003-03-14 André Pönitz <poenitz@gmx.net>
9344
9345         * textclass.h: prepare for environment handling, ws changes
9346         * lyxlayout.C: read latexheader and latexfooter tags
9347
9348 2003-03-14  John Levon  <levon@movementarian.org>
9349
9350         * text2.C: rewrite ::status() a bit
9351
9352 2003-03-13  John Levon  <levon@movementarian.org>
9353
9354         * lyxtext.h: add some docs
9355
9356 2003-03-13  John Levon  <levon@movementarian.org>
9357
9358         * lyxtext.h:
9359         * text.C:
9360         * text2.C:
9361         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9362
9363 2003-03-13  John Levon  <levon@movementarian.org>
9364
9365         * text3.C: fix appendix redrawing
9366
9367 2003-03-13  John Levon  <levon@movementarian.org>
9368
9369         * text.C (setHeightOfRow):
9370         * rowpainter.h:
9371         * rowpainter.C: make appendix mark have the text
9372           "Appendix" so the user knows what it is
9373
9374         * LColor.h:
9375         * LColor.C: s/appendixline/appendix/ from above
9376
9377 2003-03-13  John Levon  <levon@movementarian.org>
9378
9379         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9380
9381         * text.C: fix a getChar(pos) bug properly
9382
9383 2003-03-13  Angus Leeming  <leeming@lyx.org>
9384
9385         * commandtags.h:
9386         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9387         Probably only temporary. Let's see how things pan out.
9388
9389         * BufferView.C (unlockInset):
9390         * BufferView_pimpl.C (fitCursor):
9391         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9392
9393         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9394         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9395
9396         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9397         new functions that convert ParagraphParameters to and from a string.
9398
9399         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9400         BufferView::Pimpl's dispatch.
9401         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9402
9403 2003-03-13 André Pönitz <poenitz@gmx.net>
9404
9405         * lyxfunc.C:
9406         * text3.C:
9407         * factory.C: make it aware of InsetEnv
9408
9409 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9410
9411         * text2.C (setCursor): never ask for one past last
9412         (setCursor): add some debugging messages.
9413
9414         * text.C (singleWidth): never ask for one past last
9415         (singleWidth): ditto
9416         (leftMargin): ditto
9417         (rightMargin): ditto
9418         (rowBreakPoint): ditto
9419         (setHeightOfRow): ditto
9420         (prepareToPrint): ditto
9421
9422         * rowpainter.C (paintBackground): never ask for one past last
9423         (paintText): never ask for one past last
9424
9425         * paragraph_pimpl.C (getChar): make the assert stricter, never
9426         allow the one past last pos to be taken
9427
9428         * paragraph.C (getChar): ws changes only
9429
9430         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9431         (numberOfSeparators): ditto
9432         (numberOfHfills): ditto
9433
9434 2003-03-12  John Levon  <levon@movementarian.org>
9435
9436         * author.h:
9437         * author.C:
9438         * bufferparams.h:
9439         * bufferparams.C:
9440         * paragraph_funcs.C: fix per-buffer authorlists
9441
9442 2003-03-12  John Levon  <levon@movementarian.org>
9443
9444         * text.C: fix newline in right address
9445
9446 2003-03-12  Angus Leeming  <leeming@lyx.org>
9447
9448         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9449         duplicate those in LyXFunc::dispatch.
9450
9451         * commandtags.h:
9452         * LyXAction.C:
9453         * ToolbarDefaults.C:
9454         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9455         Add LFUN_FONTFREE_UPDATE.
9456
9457         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9458         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9459
9460         * bufferview_func.[Ch]: several new functions to facilliate
9461         transfer of data to and from the character dialog.
9462
9463 2003-03-12  John Levon  <levon@movementarian.org>
9464
9465         * buffer.C:
9466         * paragraph.h:
9467         * paragraph.C:
9468         * paragraph_funcs.C:
9469         * paragraph_pimpl.C:
9470         * sgml.C:
9471         * tabular.C:
9472         * text.C:
9473         * text3.C: remove META_NEWLINE in favour of an inset
9474
9475         * rowpainter.h:
9476         * rowpainter.C: remove paintNewline (done by inset)
9477
9478 2003-03-12  John Levon  <levon@movementarian.org>
9479
9480         * paragraph_pimpl.C: complain about bad getChar()s
9481         for a while at least
9482
9483 2003-03-12  John Levon  <levon@movementarian.org>
9484
9485         * buffer.h:
9486         * buffer.C: move paragraph read into a separate function,
9487         a little renaming to reflect that.
9488
9489         * bufferparams.h:
9490         * bufferparams.C: remove the author_ids map, not necessary now
9491
9492         * factory.h:
9493         * factory.C: moved Buffer::readInset to here
9494
9495         * paragraph_funcs.h:
9496         * paragraph_funcs.C: readParagraph free function moved from
9497         buffer.C
9498
9499         * tabular.C: name change
9500
9501 2003-03-12  John Levon  <levon@movementarian.org>
9502
9503         * buffer.C:
9504         * ParagraphParameters.C: move par params input to
9505         a read() method
9506
9507         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9508         behave like a normal read from the stream wrt reading
9509         a line vs. a \\token
9510
9511 2003-03-12  John Levon  <levon@movementarian.org>
9512
9513         * paragraph.C:
9514         * ParagraphParameters.h:
9515         * ParagraphParameters.C: move output code to a
9516         ::write() method
9517
9518 2003-03-12  John Levon  <levon@movementarian.org>
9519
9520         * BufferView.C (insertLyXFile):
9521         * buffer.h:
9522         * buffer.C:
9523         * tabular.C: use a parlist iterator for creating the
9524           document.
9525
9526 2003-03-12  John Levon  <levon@movementarian.org>
9527
9528         * buffer.C: make current_change static local not
9529           static file-scope
9530
9531 2003-03-12  John Levon  <levon@movementarian.org>
9532
9533         * buffer.C: fix insertStringAsLines for change tracking
9534
9535 2003-03-12  John Levon  <levon@movementarian.org>
9536
9537         * BufferView.C:
9538         * tabular.C:
9539         * buffer.h:
9540         * buffer.C:
9541         * bufferparams.h:
9542         * bufferparams.C: move author list into params. Rename some
9543           functions. Move the header reading into a separate token
9544           loop. Move the header token reading into BufferParams.
9545
9546 2003-03-12  John Levon  <levon@movementarian.org>
9547
9548         * changes.C: put debug inside lyxerr.debugging() checks
9549
9550 2003-03-11 André Pönitz <poenitz@gmx.net>
9551
9552         * factory.C: make it aware of InsetHFill
9553
9554 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9555
9556         * buffer.C (latexParagraphs): move function from here...
9557         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9558         args.
9559
9560 2003-03-10  Angus Leeming  <leeming@lyx.org>
9561
9562         * LyXAction.C (init): fix bug in poplating array with multiple entries
9563         with the same LFUN (spotted by JMarc).
9564
9565 2003-03-10  John Levon  <levon@movementarian.org>
9566
9567         * text.C:
9568         * text2.C: move getColumnNearX() near its
9569         only call site
9570
9571 2003-03-10  John Levon  <levon@movementarian.org>
9572
9573         * text.C: fix break before a minipage
9574
9575 2003-03-10  John Levon  <levon@movementarian.org>
9576
9577         * text.C: fix the last commit
9578
9579 2003-03-09  John Levon  <levon@movementarian.org>
9580
9581         * lyxtext.h:
9582         * text.C:
9583         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9584         bug 365 (don't break before insets unless needed). Don't
9585         return a value > last under any circumstances.
9586
9587 2003-03-09  Angus Leeming  <leeming@lyx.org>
9588
9589         * BufferView_pimpl.C (trackChanges, dispatch): call
9590         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9591
9592 2003-03-09  Angus Leeming  <leeming@lyx.org>
9593
9594         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9595         than Dialogs::showAboutlyx().
9596
9597 2003-03-09  Angus Leeming  <leeming@lyx.org>
9598
9599         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9600         than Dialogs::showTabularCreate().
9601
9602 2003-03-09  John Levon  <levon@movementarian.org>
9603
9604         * lyxtext.h:
9605         * text.C:
9606         * text2.C: 3rd arg to nextBreakPoint was always the same.
9607           Use references.
9608
9609 2003-03-08  John Levon  <levon@movementarian.org>
9610
9611         * lyxrow.C:
9612         * paragraph.C:
9613         * paragraph.h:
9614         * rowpainter.C:
9615         * text.C:
9616         * text2.C: Remove the "main" bit from the "main body"
9617           notion.
9618
9619 2003-03-08  John Levon  <levon@movementarian.org>
9620
9621         * text.C (leftMargin): The left margin of an empty
9622         manual label paragraph should not include the label width
9623         string length.
9624
9625         * text.C (prepareToPrint): don't attempt to measure hfills
9626         for empty manual label paragraphs - the answer should be 0
9627
9628 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9629
9630         * CutAndPaste.C: remove commented code and reindent.
9631
9632 2003-03-08  John Levon  <levon@movementarian.org>
9633
9634         * lyxfunc.h:
9635         * lyxfunc.C: move reloadBuffer()
9636
9637         * BufferView.h:
9638         * BufferView.C: to here
9639
9640         * lyxvc.C: add comment
9641
9642         * vc-backend.h:
9643         * vc-backend.C: call bv->reload() to avoid
9644           getStatus() check on MENURELOAD
9645
9646 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9647
9648         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9649         to an old format .dep file.
9650
9651 2003-03-07  Angus Leeming  <leeming@lyx.org>
9652
9653         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9654         when the LFUN_MOUSE_RELEASE should have been handled by
9655         inset->localDispatch.
9656
9657 2003-03-07  Angus Leeming  <leeming@lyx.org>
9658
9659         * BufferView_pimpl.C (dispatch):
9660         * LyXAction.C (init):
9661         * ToolbarDefaults.C (init):
9662         * commandtags.h:
9663         * lyxfunc.C (getStatus):
9664         remove LFUN_INSET_GRAPHICS.
9665
9666         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9667
9668 2003-03-07  Angus Leeming  <leeming@lyx.org>
9669
9670         * commandtags.h:
9671         * LyXAction.C (init):
9672         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9673
9674         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9675
9676         * commandtags.h:
9677         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9678
9679         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9680         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9681
9682 2003-03-07  Angus Leeming  <leeming@lyx.org>
9683
9684         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9685         remove "ert".
9686
9687 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9688
9689         * ParagraphList.C (front): new function
9690         (back): implement
9691
9692 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9693
9694         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9695         and top_row_offset_. removed var first_y.
9696         * text.C (top_y):
9697         * text2.C (LyXText, removeRow):
9698         * text3.C:
9699         * BufferView_pimpl.C:
9700         use these methods instead of using first_y
9701
9702 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9703
9704         * text2.C (pasteSelection): adjust for checkPastePossible
9705
9706         * CutAndPaste.C: remove Paragraph * buf and replace with
9707         ParagraphList paragraphs.
9708         (DeleteBuffer): delete
9709         (cutSelection): change the tc type to textclass_type
9710         (copySelection): change the tc type to textclass_type
9711         (copySelection): adjust for ParagraphList
9712         (pasteSelection): change the tc type to textclass_type
9713         (pasteSelection): adjust for Paragraphlist
9714         (nrOfParagraphs): simplify for ParagraphList
9715         (checkPastePossible): simplify for ParagraphList
9716         (checkPastePossible): remove unused arg
9717
9718         * ParagraphList.C (insert): handle the case where there are no
9719         paragraphs yet.
9720
9721         * CutAndPaste.h: make CutAndPaste a namespace.
9722
9723         * text3.C (dispatch): adjust
9724
9725         * text.C (breakParagraph): add a ParagraphList as arg
9726
9727         * paragraph_funcs.C (breakParagraph): change to take a
9728         BufferParams and a ParagraphList as args.
9729         (breakParagraphConservative): ditto
9730         (mergeParagraph): ditto
9731         (TeXDeeper): add a ParagraphList arg
9732         (TeXEnvironment): ditto
9733         (TeXOnePar): ditto
9734
9735         * buffer.C (readLyXformat2): adjust
9736         (insertStringAsLines): adjust
9737         (latexParagraphs): adjust
9738
9739         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9740         (cutSelection): adjust
9741         (pasteSelection): adjust
9742
9743         * BufferView_pimpl.C (insertInset): adjust
9744
9745 2003-03-05  Angus Leeming  <leeming@lyx.org>
9746
9747         * commandtags.h:
9748         * LyXAction.C (init):
9749         * BufferView_pimpl.C (dispatch):
9750         * lyxfunc.C (getStatus):
9751         remove LFUN_CHILD_INSERT.
9752
9753         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9754
9755 2003-03-05  Angus Leeming  <leeming@lyx.org>
9756
9757         * commandtags.h:
9758         * LyXAction.C (init):
9759         * src/factory.C (createInset):
9760         * lyxfunc.C (getStatus):
9761         * text3.C (dispatch):
9762         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9763
9764         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9765
9766 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9767
9768         * ParagraphList.C (insert): handle insert right before end()
9769         (erase): fix cases where it can be first or last paragraph.
9770
9771 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9772
9773         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9774         Paragraph::next and Paragraph::previous
9775         (TeXOnePar): ditto
9776
9777         * text.C (breakParagraph): adjust
9778
9779         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9780         BufferParams& as arg.
9781         (breakParagraph): use ParagraphList::insert
9782         (breakParagraphConservative): take a Buffer* instead of a
9783         BufferParams& as arg.
9784         (breakParagraphConservative): use ParagraphList::insert.
9785
9786         * buffer.C (insertStringAsLines): un-const it
9787         (insertStringAsLines): adjust
9788
9789         * ParagraphList.C (insert): new function
9790
9791         * CutAndPaste.C (pasteSelection): adjust
9792
9793         * text.C (backspace): adjust
9794
9795         * tabular.C (SetMultiColumn): adjust
9796
9797         * CutAndPaste.C (cutSelection): adjust
9798         (pasteSelection): adjust
9799
9800         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9801         Buffer const * as arg
9802
9803         * ParagraphList.C (erase): new function
9804         * paragraph_funcs.C (mergeParagraph): use it
9805         (mergeParagraph): make it take a Buffer* instead of a
9806         BufferParams* as arg
9807
9808         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9809         as arg
9810         (breakParagraphConservative): ditto
9811
9812         * paragraph.h: remove the breakParagraph friend
9813
9814         * paragraph.C (eraseIntern): new function
9815         (setChange): new function
9816
9817         * paragraph_funcs.C (mergeParagraph): make it take a
9818         ParagraphList::iterator instead of a Paragraph *, adjust
9819         accordingly.
9820
9821         * paragraph.h: move an #endif so that the change tracking stuff
9822         also works in the NO_NEXT case.
9823
9824 2003-03-04  Angus Leeming  <leeming@lyx.org>
9825
9826         * commandtags.h:
9827         * LyXAction.C: new LFUN_INSET_MODIFY.
9828
9829         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9830         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9831
9832 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9833
9834         * several files: ws changes only
9835
9836         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9837         (TeXEnvironment): ditto
9838         (TeXDeeper): ditto
9839
9840         * buffer.C (makeLaTeXFile): adjust
9841         (latexParagraphs): make it take ParagraphList::iterator as args
9842
9843 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9844
9845         * buffer.C (latexParagraphs): adjust
9846
9847         * paragraph.C (TeXOnePar): move function...
9848         (optArgInset): move function...
9849         (TeXEnvironment): move function...
9850         * paragraph_pimpl.C (TeXDeeper): move function...
9851         * paragraph_funcs.C: ...here
9852
9853         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9854
9855 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9856
9857         * buffer.C (readInset): remove compability code for old Figure and
9858         InsetInfo insets
9859
9860 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9861
9862         * buffer.C: ws changes
9863         (readInset):
9864
9865         * BufferView_pimpl.C: ditto
9866         * author.C: ditto
9867         * buffer.h: ditto
9868         * bufferlist.h: ditto
9869         * changes.h: ditto
9870         * lyxfunc.C: ditto
9871
9872 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9873
9874         * converter.[Ch]: split into itself +
9875         * graph.[Ch]
9876         * format.[Ch]
9877         * Makefile.am: += graph.[Ch] + format.[Ch]
9878         * MenuBackend.C
9879         * buffer.C
9880         * exporter.C
9881         * importer.C
9882         * lyx_main.C
9883         * lyxfunc.C
9884         * lyxrc.C: added #include "format.h"
9885
9886 2003-02-27  Angus Leeming  <leeming@lyx.org>
9887
9888         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9889           a label.
9890
9891         * factory.C (createInset): add "label" to the factory.
9892
9893         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9894           string and do no more.
9895
9896 2003-02-27  Angus Leeming  <leeming@lyx.org>
9897
9898         * commandtags.h:
9899         * LyXAction.C (init):
9900         * factory.C (createInset):
9901         * BufferView_pimpl.C (dispatch):
9902           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9903
9904         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9905
9906         * lyxfunc.C (dispatch):
9907         * text3.C (dispatch): pass name to params2string.
9908
9909 2003-02-26  Angus Leeming  <leeming@lyx.org>
9910
9911         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9912           blocks together.
9913           Rearrange the ~includes. Strip out the unnecessary ones.
9914
9915         * factory.C (createInset): reformat.
9916           create new insets for the various LFUN_XYZ_APPLY lfuns.
9917
9918 2003-02-26  John Levon  <levon@movementarian.org>
9919
9920         * lyxrow.h:
9921         * lyxrow.C: add isParStart,isParEnd helpers
9922
9923         * paragraph.h: make isInserted/DeletedText take refs
9924
9925         * paragraph_funcs.h:
9926         * paragraph_funcs.C: remove #if 0'd code
9927
9928         * lyxtext.h:
9929         * text3.C:
9930         * text2.C:
9931         * text.C: use lyxrow helpers above.
9932           Move draw and paint routines to RowPainter.
9933           Make several methods use refs not pointers.
9934           Make backgroundColor() const.
9935           Add markChangeInDraw(), isInInset().
9936           Merge changeRegionCase into changeCase.
9937           Make workWidth() shouldn't-happen code into an Assert.
9938
9939         * rowpainter.h:
9940         * rowpainter.C: new class for painting a row.
9941
9942         * vspace.h:
9943         * vspace.C: make inPixels take a ref
9944
9945 2003-02-26  Angus Leeming  <leeming@lyx.org>
9946
9947         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9948         LFUN_REF_APPLY.
9949
9950 2003-02-25  John Levon  <levon@movementarian.org>
9951
9952         * ispell.C: give the forked command a more accurate name
9953
9954 2003-02-22  John Levon  <levon@movementarian.org>
9955
9956         * toc.h:
9957         * toc.C: make TocItem store an id not a Paragraph *
9958           (bug #913)
9959
9960 2003-02-21  Angus Leeming  <leeming@lyx.org>
9961
9962         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9963           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9964           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9965           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9966           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9967           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9968
9969         * BufferView_pimpl.C (dispatch):
9970         * LyXAction.C (init):
9971         * factory.C (createInset):
9972         * lyxfunc.C (getStatus, dispatch):
9973         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9974
9975 2003-02-21  Angus Leeming  <leeming@lyx.org>
9976
9977         * BufferView_pimpl.C (MenuInsertLyXFile):
9978         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9979         * lyxfunc.C (menuNew, open, doImport):
9980           no longer pass a LyXView & to fileDlg.
9981
9982 2003-02-21  Angus Leeming  <leeming@lyx.org>
9983
9984         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9985         * LyXAction.C: change, BIBKEY to BIBITEM.
9986         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9987         Change InsetBibKey to InsetBibitem.
9988         Change BIBKEY_CODE to BIBITEM_CODE.
9989         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9990         * factory.C: replace insetbib.h with insetbibitem.h.
9991         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9992         * paragraph.C: replace insetbib.h with insetbibitem.h.
9993         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9994         Change bibkey() to bibitem().
9995         * text.C: remove insetbib.h.
9996         * text2.C: replace insetbib.h with insetbibitem.h.
9997         change bibkey() to bibitem().
9998         * text3.C: remove insetbib.h.
9999         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10000
10001 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10002
10003         * lyxrc.C (output): enclose user email in quotes (in case there are
10004         several words)
10005
10006 2003-02-18  John Levon  <levon@movementarian.org>
10007
10008         * buffer.h: add std::
10009
10010 2003-02-17  John Levon  <levon@movementarian.org>
10011
10012         * SpellBase.h:
10013         * ispell.h:
10014         * ispell.C:
10015         * pspell.h:
10016         * pspell.C: reworking. Especially in ispell, a large
10017           number of clean ups and bug fixes.
10018
10019         * lyxfunc.C: fix revert to behave sensibly
10020
10021 2003-02-17 André Pönitz <poenitz@gmx.net>
10022
10023         * LyXAction.C:
10024         * commandtags.h: new LFUN_INSERT_BIBKEY
10025
10026         * layout.h:
10027         * lyxlayout.C:
10028         * buffer.C:
10029         * factory.C:
10030         * text.C:
10031         * text2.C:
10032         * text3.C:
10033         * paragraph.[Ch]:
10034         * paragraph_func.C: remove special bibkey handling
10035
10036 2003-02-17  John Levon  <levon@movementarian.org>
10037
10038         * text.C (Delete): fix case where delete at the end of
10039           the very first paragraph would not merge the pars
10040
10041 2003-02-17  John Levon  <levon@movementarian.org>
10042
10043         * lyxrow.C: fix lastPrintablePos()
10044
10045 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10046
10047         * bufferparams.C (writeLaTeX): add a std:here
10048
10049         * buffer.C: and remove a using directive there
10050
10051 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10052
10053         * buffer.C (makeLaTeXFile): move the code that generates the
10054           preamble...
10055
10056         * bufferparams.C (writeLaTeX): ... in this new method
10057
10058         * LaTeXFeatures.C (getEncodingSet): make const
10059           (getLanguages): make const
10060
10061         * MenuBackend.C (binding): returns the binding associated to this
10062           action
10063           (add): sets the status of each item by calling getStatus. Adds
10064           some intelligence.
10065           (read): add support for OptSubMenu
10066           (expand): remove extra separator at the end of expanded menu
10067
10068 2003-02-15  John Levon  <levon@movementarian.org>
10069
10070         * BufferView.C:
10071         * BufferView_pimpl.C:
10072         * bufferlist.h:
10073         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10074           inset code that had no actual effect. Remove unneeded status
10075           code.
10076
10077 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10078
10079         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10080           in preamble
10081
10082 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10083
10084         * text.C (drawLengthMarker): also draw an arrow marker for
10085           symbolic lengths (medskip...)
10086
10087 2003-02-14  John Levon  <levon@movementarian.org>
10088
10089         * tabular.h:
10090         * tabular.C: better method names
10091
10092 2003-02-14  John Levon  <levon@movementarian.org>
10093
10094         * BufferView_pimpl.C:
10095         * bufferlist.C:
10096         * buffer.C:
10097         * converter.C:
10098         * lyx_cb.C:
10099         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10100           it's a more accurate name. Remove some pointless uses.
10101
10102 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10103
10104         * text2.C (LyXText): change order of initilizers to shut off
10105           warnings
10106
10107 2003-02-14  John Levon  <levon@movementarian.org>
10108
10109         * buffer.C: use ParIterator for getParFromID()
10110
10111         * paragraph.h:
10112         * paragraph.C:
10113         * paragraph_pimpl.h:
10114         * paragraph_pimpl.C: remove unused getParFromID()
10115
10116 2003-02-14  John Levon  <levon@movementarian.org>
10117
10118         * buffer.C: remove some very old #if 0'd parse code
10119
10120 2003-02-13  John Levon  <levon@movementarian.org>
10121
10122         * text.h:
10123         * text.C:
10124         * text2.C: move hfillExpansion(), numberOfSeparators(),
10125           rowLast(), rowLastPrintable(), numberofHfills(),
10126           numberOfLabelHfills() ...
10127
10128         * lyxrow.h:
10129         * lyxrow.C: ... to member functions here.
10130
10131         * paragraph.h:
10132         * paragraph.C:
10133         * lyxtext.h:
10134         * text.C: remove LyXText::beginningOfMainBody(), and call
10135           p->beginningOfMainBody() directly. Move the check for
10136           LABEL_MANUAL into the latter.
10137
10138         * text.h:
10139         * text.C:
10140         * text2.C:
10141         * vspace.C:
10142         * BufferView.h:
10143         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10144
10145         * text.h:
10146         * text.C:
10147         * text2.C:
10148         * text3.C:
10149         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10150           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10151
10152 2003-02-13  John Levon  <levon@movementarian.org>
10153
10154         * CutAndPaste.C: remove debug
10155
10156 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10157
10158         * paragraph.C (asString): remove two unused variables
10159
10160         * lyxtextclass.C (readTitleType):
10161           (Read):
10162           (LyXTextClass): handle new members titletype_ and titlename_
10163
10164         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10165
10166 2003-02-09  John Levon  <levon@movementarian.org>
10167
10168         * buffer.h:
10169         * buffer.C: replace hand-coded list with a map for the dep clean
10170
10171 2003-02-08  John Levon  <levon@movementarian.org>
10172
10173         * LaTeX.C: consolidate code into showRunMessage() helper
10174
10175 2003-02-08  John Levon  <levon@movementarian.org>
10176
10177         * lyxfind.C:
10178         * lyxtext.h:
10179         * text2.C:
10180         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10181           and pass the size in explicitly
10182
10183         * BufferView_pimpl.h:
10184         * BufferView_pimpl.C:
10185         * BufferView.h:
10186         * BufferView.C: add getCurrentChange()
10187
10188         * BufferView_pimpl.h:
10189         * BufferView_pimpl.C: handle change lfuns
10190
10191         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10192           for changes. Mark pasted paragraphs as new.
10193
10194         * support/lyxtime.h:
10195         * support/lyxtime.C:
10196         * DepTable.C: abstract time_t as lyx::time_type
10197
10198         * LColor.h:
10199         * LColor.C: add colours for new text, deleted text, changebars
10200
10201         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10202           package use "usenames" option.
10203
10204         * commandtags.h:
10205         * lyxfunc.C:
10206         * LyXAction.C: add change lfuns
10207
10208         * Makefile.am:
10209         * author.h:
10210         * author.C: author handling
10211
10212         * buffer.h:
10213         * buffer.C: add a per-buffer author list, with first entry as
10214           current author. Handle new .lyx tokens for change tracking. Output
10215           author list to .lyx file. Output dvipost stuff to .tex preamble.
10216           Bump lyx format to 222.
10217
10218         * bufferlist.h:
10219         * bufferlist.C: add setCurrentAuthor() to reset current author details
10220           in all buffers.
10221
10222         * bufferparams.h:
10223         * bufferparams.C: add param for tracking
10224
10225         * bufferview_funcs.C: output change info in minibuffer
10226
10227         * Makefile.am:
10228         * changes.h:
10229         * changes.C: add change-tracking structure
10230
10231         * debug.h:
10232         * debug.C: add CHANGES debug flag
10233
10234         * lyxfind.h:
10235         * lyxfind.C: add code for finding the next change piece
10236
10237         * lyxrc.h:
10238         * lyxrc.C: add user_name and user_email
10239
10240         * lyxrow.h:
10241         * lyxrow.C: add a metric for the top of the text line
10242
10243         * lyxtext.h:
10244         * text.C: implement accept/rejectChange()
10245
10246         * lyxtext.h:
10247         * text.C: paint changebars. Paint new/deleted text in the chosen
10248         colours. Strike through deleted text.
10249
10250         * paragraph.h:
10251         * paragraph.C:
10252         * paragraph_pimpl.h:
10253         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10254           in the current change to the insert functions. Rework erase to
10255           mark text as deleted, adding an eraseIntern() and a range-based
10256           erase(). Implement per-paragraph change lookup and
10257           accept/reject.
10258
10259         * paragraph_funcs.C: Fixup paste for change tracking.
10260
10261         * tabular.C: mark added row/columns as new.
10262
10263         * text.C: fix rowLast() to never return -1. Don't allow
10264           spellchecking of deleted text. Track transpose changes. Don't
10265           allow paragraph break or merge where appropriate.
10266
10267         * text2.C: leave cursor at end of selection after a cut.
10268
10269 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10270
10271         * text.C (getLengthMarkerHeight):
10272         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10273         visible on screen too.
10274
10275 2003-02-07  John Levon  <levon@movementarian.org>
10276
10277         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10278
10279 2003-02-05  Angus Leeming  <leeming@lyx.org>
10280
10281         * lyxserver.C (read_ready): revert my patch of 11 September last year
10282         as it sends PC cpu through the roof. Presumably this means that
10283         the lyxserver will no longer run on an Alpha...
10284
10285 2003-01-30  Angus Leeming  <leeming@lyx.org>
10286
10287         * factory.C (createInset): create an InsetCommandParam of type "index"
10288         and use it to 'do the right thing'.
10289
10290         * text2.C (getStringToIndex): ensure that cursor position is always
10291         reset to the reset_cursor position.
10292
10293 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10294
10295         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10296         disabled.
10297
10298 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10299
10300         * bufferview.C:
10301         * lyxcb.C:
10302         * lyxfunc.C: Output messages with identical spelling, punctuation,
10303         and spaces
10304
10305 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10306
10307         * MenuBackend.C (expandFormats): List only viewable export formats
10308         in "View" menu
10309
10310         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10311         message
10312
10313         * lyxfunc.C (getStatus): Make sure that formats other than
10314         "fax" can also be disabled
10315
10316 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10317
10318         * text3.C (dispatch): put the lfuns that insert insets in 3
10319         groups, and call doInsertInset with appropriate arguments.
10320         (doInsertInset): new function, that creates an inset and inserts
10321         it according to some boolean parameters.
10322
10323 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10324
10325         * buffer.C (readFile): remember to pass on 'par' when calling
10326         readFile recursively.
10327
10328 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10329
10330         * MenuBackend.C (expandFormats): add "..." to import formats.
10331
10332 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10333
10334         * paragraph.C (asString): Remove XForms RTL hacks.
10335
10336 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10337         * buffer.C: fix typo
10338
10339 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10340
10341         * Makefile.am (LIBS): delete var
10342         (lyx_LDADD): add @LIBS@ here instead.
10343
10344 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10345
10346         * Clarify the meaning of "wheel mouse jump"
10347
10348 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10349
10350         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10351         tabular in a float
10352
10353 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10354
10355         * importer.C (Loaders): do not preallocate 3 elements in the
10356         vector, since one ends up with 6 elements otherwise
10357
10358 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10359
10360         * DepTable.C (write): write the file name as last element of the
10361         .dep file (because it may contain spaces)
10362         (read): read info in the right order
10363
10364 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10365
10366         * paragraph_pimpl.C (simpleTeXBlanks):
10367         (simpleTeXSpecialChars):
10368         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10369
10370         * tabular.C (latex): add some missing case statements. Reindent.
10371
10372         * MenuBackend.C (expandToc): remove unused variable.
10373
10374 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10375
10376         * LColor.C:
10377         * LaTeX.C:
10378         * LyXAction.C:
10379         * MenuBackend.C:
10380         * buffer.C:
10381         * exporter.C:
10382         * lyxfunc.C:
10383         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10384         and the like.
10385
10386 2003-01-05  John Levon  <levon@movementarian.org>
10387
10388         * BufferView.h:
10389         * BufferView.C: add getEncoding()
10390
10391         * kbsequence.h:
10392         * kbsequence.C: do not store last keypress
10393
10394         * lyxfunc.h:
10395         * lyxfunc.C: store last keypress here instead. Pass encoding
10396           to getISOEncoded()
10397
10398 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10399
10400         * lyx_main.C (init): remove annoying error message when following
10401         symbolic links (bug #780)
10402
10403 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10404
10405         * text.C (insertChar):
10406         * lyxrc.C (getDescription): remove extra spaces
10407
10408 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10409
10410         * lyxrc.C (getDescription): remove extra spaces
10411
10412 2002-12-20  John Levon  <levon@movementarian.org>
10413
10414         * text3.C: hack fix for page up/down across tall rows
10415
10416 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10417
10418         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10419         not been invoked
10420
10421 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10422
10423         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10424         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10425         thesaurus is not compiled in
10426
10427 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10428
10429         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10430
10431 2002-12-16  Angus Leeming  <leeming@lyx.org>
10432
10433         * lyxrc.[Ch]:
10434         * lyx_main.C (init): remove override_x_deadkeys stuff.
10435
10436 2002-12-12  John Levon  <levon@movementarian.org>
10437
10438         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10439           insert. Only remove shift modifier under strict
10440           circumstances.
10441
10442 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10443
10444         * MenuBackend.C (expandToc): fix crash.
10445
10446 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10447
10448         * MenuBackend.C (expandToc): gettext on float names.
10449
10450 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10451
10452         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10453         implement bool empty() [bug 490]
10454
10455 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10456
10457         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10458
10459 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10460
10461         * several files: ws changes
10462
10463 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10464
10465         * text2.C (setCounter): clean up a bit, use boost.format.
10466         (updateCounters): initialize par upon declaration.
10467
10468         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10469         if the layout exists. We do not just store the layout any more.
10470         (SwitchLayoutsBetweenClasses): use boost.format
10471
10472 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10473
10474         * converter.C (convert): if from and to files are the same, use a
10475         temporary files as intermediary
10476
10477 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10478
10479         * commandtags.h:
10480         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10481
10482 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10483
10484         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10485
10486 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10487
10488         * tabular.C (asciiPrintCell): use string(size, char) instead of
10489         explicit loop.
10490
10491         * sgml.C (openTag): fix order of arguments to string constructor
10492         (closeTag): ditto
10493
10494         * lyxfunc.C (dispatch): use boost.format
10495
10496         * lots of files: change "c" -> 'c'
10497
10498 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10499
10500         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10501
10502 2002-11-25  Angus Leeming  <leeming@lyx.org>
10503
10504         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10505
10506         * lyx_main.C (init): compile fix.
10507
10508 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10509
10510         * lyx_cb.C (start): boost.formatify
10511         do not include <iostream>
10512
10513         * lengthcommon.C: ws only
10514
10515         * boost-inst.C,BoostFormat.h: add more explict instantations
10516
10517 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10518
10519         * lots of files: handle USE_BOOST_FORMAT
10520
10521 2002-11-21  John Levon  <levon@movementarian.org>
10522
10523         * pspell.C: fix compile
10524
10525 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10526
10527         * lyxfunc.C (dispatch): use boost::format
10528         (open): ditto
10529         (doImport): ditto
10530
10531         * lyxfont.C (stateText): use boost::format
10532
10533         * lyx_main.C (LyX): use boost::format
10534         (init): ditto
10535         (queryUserLyXDir): ditto
10536         (readRcFile): ditto
10537         (parse_dbg): ditto
10538         (typedef boost::function): use the recommened syntax.
10539
10540         * importer.C (Import): use boost::format
10541
10542         * debug.C (showLevel): use boost::format
10543
10544         * converter.C (view): use boost::format
10545         (convert): ditto
10546         (move): ditto
10547         (scanLog): ditto
10548
10549         * bufferview_funcs.C (currentState): use boost::format
10550
10551         * bufferlist.C (emergencyWrite): use boost::format
10552
10553         * buffer.C (readLyXformat2): use boost::format
10554         (parseSingleLyXformat2Token): ditto
10555
10556         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10557
10558         * LaTeX.C (run): use boost::format
10559
10560         * Chktex.C (scanLogFile): use boost::format
10561
10562         * BufferView_pimpl.C (savePosition): use boost::format
10563         (restorePosition): ditto
10564         (MenuInsertLyXFile): ditto
10565
10566         * BoostFormat.h: help file for explicit instation.
10567
10568 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10569
10570         * tabular.C (latex): Support for block alignment in fixed width
10571         columns.
10572
10573 2002-11-17  John Levon  <levon@movementarian.org>
10574
10575         * BufferView_pimpl.C:
10576         * lyx_cb.C:
10577         * lyxfunc.C: split filedialog into open/save
10578
10579 2002-11-08  Juergen Vigna  <jug@sad.it>
10580
10581         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10582         by my last patch (hopefully).
10583
10584 2002-11-08  John Levon  <levon@movementarian.org>
10585
10586         * iterators.h:
10587         * iterators.C:
10588         * buffer.h:
10589         * buffer.C:
10590         * paragraph.h:
10591         * paragraph.C:
10592         * toc.h:
10593         * toc.C: ParConstIterator, and use it (from Lars)
10594
10595 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10596
10597         * lyxtextclass.[Ch]: revise and add doxygen comments
10598
10599 2002-11-07  John Levon  <levon@movementarian.org>
10600
10601         * text.C: fix progress value for spellchecker
10602
10603         * toc.C: fix navigate menu for insetwrap inside minipage
10604
10605         * paragraph_funcs.C: added FIXME for suspect code
10606
10607 2002-11-07  John Levon  <levon@movementarian.org>
10608
10609         * BufferView_pimpl.C: fix redrawing of insets
10610           on buffer switch
10611
10612 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10613
10614         * text2.C (updateCounters): fix bug 668
10615
10616 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10617
10618         * text3.C (dispatch): Do not make the buffer dirty when moving the
10619         cursor.
10620
10621 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10622
10623         * vc-backend.C: STRCONV
10624         (scanMaster): ditto
10625
10626         * text2.C (setCounter): STRCONV
10627
10628         * paragraph.C (asString): STRCONV
10629
10630         * lyxlength.C (asString): STRCONV
10631         (asLatexString): ditto
10632
10633         * lyxgluelength.C (asString): STRCONV
10634         (asLatexString): ditto
10635
10636         * lyxfunc.C (dispatch): STRCONV
10637         (open): ditto
10638
10639         * lyxfont.C (stateText): STRCONV
10640
10641         * importer.C (Import): STRCONV
10642
10643         * counters.C (labelItem): STRCONV
10644         (numberLabel): ditto
10645         (numberLabel): remove unused ostringstream o
10646
10647         * chset.C: STRCONV
10648         (loadFile): ditto
10649
10650         * bufferview_funcs.C (currentState): STRCONV
10651
10652         * buffer.C (readFile): STRCONV
10653         (asciiParagraph): ditto
10654         (makeLaTeXFile): ditto
10655
10656         * Spacing.C (writeEnvirBegin): STRCONV
10657
10658         * LaTeXFeatures.C (getLanguages): STRCONV
10659         (getPackages): ditto
10660         (getMacros): ditto
10661         (getBabelOptions): ditto
10662         (getTClassPreamble): ditto
10663         (getLyXSGMLEntities): ditto
10664         (getIncludedFiles): ditto
10665
10666         * LaTeX.C: STRCONV
10667         (run): ditto
10668         (scanAuxFile): ditto
10669         (deplog): ditto
10670
10671         * LString.h: add the STRCONV macros
10672
10673         * BufferView_pimpl.C (savePosition): STRCONV
10674         (restorePosition): ditto
10675         (MenuInsertLyXFile): ditto
10676
10677         * vc-backend.C (scanMaster): change from submatch[...] to
10678         submatch.str(...)
10679
10680         * funcrequest.C: include config.h
10681
10682         * factory.C: include config.h
10683
10684         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10685
10686         * box.C: include config.h
10687
10688         * LaTeX.C (scanAuxFile): change from submatch[...] to
10689         submatch.str(...)
10690         (deplog): ditto
10691
10692 2002-10-25  Angus Leeming  <leeming@lyx.org>
10693
10694         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10695
10696         * ispell.[Ch] (setError): new method.
10697         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10698         Use setError() insetead of goto END.
10699
10700         * lyx_cb.C (AutoSave): move out child process into new class
10701         AutoSaveBuffer.
10702
10703 2002-10-30  John Levon  <levon@movementarian.org>
10704
10705         * text3.C: make start appendix undoable
10706
10707 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10708
10709         * lyxlength.C (inPixels): Fix returned value.
10710
10711         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10712         environment.
10713
10714 2002-10-24  Angus Leeming  <leeming@lyx.org>
10715
10716         * lyxgluelength.h: no need to forward declare BufferParams
10717         or BufferView, so don't.
10718
10719 2002-10-21  John Levon  <levon@movementarian.org>
10720
10721         * BufferView.C: menuUndo ->undo, redo
10722
10723         * BufferView.h: document, remove dead, make some methods private
10724
10725         * paragraph_funcs.h:
10726         * paragraph_funcs.C:
10727         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10728
10729         * buffer.h:
10730         * buffer.C:
10731         * sgml.h:
10732         * sgml.C: move sgml open/close tag into sgml.C
10733
10734         * bufferview_funcs.h: unused prototype
10735
10736         * lyxfunc.h:
10737         * lyxfunc.C: remove unused
10738
10739         * lyxtext.h:
10740         * text.C: remove unused
10741
10742 2002-10-21  John Levon  <levon@movementarian.org>
10743
10744         * BufferView.h:
10745         * BufferView.C:
10746         * BufferView_pimpl.h:
10747         * BufferView_pimpl.C: fix mouse wheel handling based on
10748           patch from Darren Freeman
10749
10750 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10751
10752         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10753
10754 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10755
10756         * lyxlength.C (inPixels): Fix hanfling of negative length.
10757         Fix LyXLength::MU case.
10758
10759 2002-10-16  John Levon  <levon@movementarian.org>
10760
10761         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10762
10763 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10764
10765         * converter.C (view): add support for $$i (file name) and $$p
10766         (file path) for the viewer command. If $$i is not specified, then
10767         it is appended to the command (for compatibility with old syntax)
10768
10769 2002-10-14  Juergen Vigna  <jug@sad.it>
10770
10771         * undo_funcs.C (textHandleUndo): alter the order in which the
10772         new undopar is added to the LyXText, as we have to set first
10773         the right prev/next and then add it as otherwise the rebuild of
10774         LyXText is not correct. Also reset the cursor to the right paragraph,
10775         with this IMO we could remove the hack in "redoParagraphs()".
10776
10777 2002-10-09  Angus Leeming  <leeming@lyx.org>
10778
10779         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10780         to turn off an optimisation if a new inset is to be inserted.
10781
10782 2002-10-11 André Pönitz <poenitz@gmx.net>
10783
10784         * lyxtext.h: make some functions public to allow access
10785         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10786
10787 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10788
10789         * text3.C (dispatch): when changing layout, avoid an infinite loop
10790         [bug #652]
10791
10792 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10793
10794         * lyxrc.C (read): treat a viewer or converter command of "none" as
10795         if it were empty.
10796
10797         * MenuBackend.C (expandFormats): for an update, also allow the
10798         formats that are not viewable
10799
10800         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10801         script if it is newer than the lyxrc.defaults in user directory
10802
10803 2002-10-07 André Pönitz <poenitz@gmx.net>
10804
10805         * text.C: Vitaly Lipatov's small i18n fix
10806
10807 2002-09-25  Angus Leeming  <leeming@lyx.org>
10808
10809         * ispell.h: doxygen fix.
10810
10811 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10812
10813         * buffer.h (readFile): Add a new argument to the method, to allow
10814         reading of old-format templates.
10815
10816 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10817
10818         * toc.C (getTocList): Get TOC from InsetWrap.
10819
10820 2002-09-16  John Levon  <levon@movementarian.org>
10821
10822         * lyxfunc.C: check tabular for cut/copy too
10823
10824 2002-09-12  John Levon  <levon@movementarian.org>
10825
10826         * LyXAction.C: tidy
10827
10828         * factory.h:
10829         * factory.C: add header
10830
10831         * paragraph_funcs.h:
10832         * paragraph_funcs.C: cleanup
10833
10834 2002-09-11  John Levon  <levon@movementarian.org>
10835
10836         * PrinterParams.h: odd/even default to true
10837
10838 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10839
10840         * PrinterParams.h: update printer parameters for new xforms dialog
10841
10842 2002-09-11  Angus Leeming  <leeming@lyx.org>
10843
10844         * lyxserver.C (read_ready): re-write to make it more transparent
10845         and to make it work in coherent fashion under Tru64 Unix.
10846
10847 2002-09-11  André Pönitz <poenitz@gmx.net>
10848
10849         * commandtags.h:
10850         * LyXAction.C:
10851         * text3.C: implement LFUN_WORDSEL
10852
10853 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10854
10855         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10856         make floatlist_ a boost::shared_ptr<FloatList>
10857
10858         * lyxtextclass.C: include FloatList.h
10859         (LyXTextClass): initialize floatlist_
10860         (TextClassTags): add TC_NOFLOAT
10861         (Read): match "nofloat" to TC_NOFLOAT and use it.
10862         (readFloat): modify call to floatlist_
10863         (floats): ditto
10864         (floats): ditto
10865
10866         * FloatList.[Ch] (FloatList): remove commented out float
10867         initialization.
10868         (erase): new function
10869
10870 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10871
10872         * MenuBackend.C (expandToc): fix crash when there is no document
10873         open
10874
10875 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10876
10877         * many files: Add insetwrap.
10878
10879 2002-09-09  John Levon  <levon@movementarian.org>
10880
10881         * text2.C: remove confusing and awkward depth wraparound
10882
10883 2002-09-09  John Levon  <levon@movementarian.org>
10884
10885         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10886
10887         * buffer.h:
10888         * buffer.C: remove getIncludeonlyList()
10889
10890         * paragraph.C:
10891         * lyxfunc.C: remove headers
10892
10893 2002-09-09  Juergen Vigna  <jug@sad.it>
10894
10895         * text.C (getColumnNearX): fix form Michael this is most
10896         probably a cut&paste bug.
10897
10898 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10899
10900         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10901
10902         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10903         references, ws changes.
10904
10905         * text2.C (init): update counters after init
10906         (insertParagraph): no need to set counter on idividual paragraphs.
10907         (setCounter): access the counters object in the textclass object
10908         on in the buffer object.
10909         (updateCounters): ditto
10910
10911         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10912         shared_ptr<Counters> to avoid loading counters.h in all
10913         compilation units.
10914         (LyXTextClass): initialize ctrs_
10915         (TextClassTags): add TC_COUNTER, and ...
10916         (Read): use it here.
10917         (CounterTags): new tags
10918         (readCounter): new function
10919         (counters): new funtion
10920         (defaultLayoutName): return a const reference
10921
10922         * counters.C (Counters): remove contructor
10923         (newCounter): remove a couple of unneeded statements.
10924         (newCounter): simplify a bit.
10925         (numberLabel): some small formatting changes.
10926
10927         * buffer.[Ch]: remove all traces of counters, move the Counters
10928         object to the LyXTextClass.
10929
10930 2002-09-06  Alain Castera  <castera@in2p3.fr>
10931
10932         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10933         package to set the horizontal alignment on fixed width columns.
10934
10935         * lyx_sty.C:
10936         * lyx_sty.h: added tabularnewline macro def.
10937
10938         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10939
10940 2002-09-06  John Levon  <levon@movementarian.org>
10941
10942         * LyXAction.C: tooltips for sub/superscript
10943
10944         * MenuBackend.C: a bit more verbose
10945
10946         * lyxfunc.C: tiny clean
10947
10948         * undo_funcs.C: document undo_frozen
10949
10950 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10951
10952         * counters.C (Counters): add missing algorithm counter.
10953
10954         * text2.C (setCounter): lookup the counter with layouts latexname
10955         instead of by section number.
10956         (setCounter): use a hackish way to lookup the correct enum
10957         counter.
10958         a float name->type change
10959         reset enum couners with counter name directly instead of depth value.
10960
10961         * counters.C (Counters): remove the push_backs, change to use the
10962         float type not the float name.
10963         (labelItem): remove unused string, float name->type change
10964
10965         * counters.h: don't include vector, loose the enums and sects vectors
10966
10967 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10968
10969         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10970         (Read): add float->TC_FLOAT to textclassTags
10971         (Read): and handle it in the switch
10972         (readFloat): new function
10973
10974         * FloatList.C (FloatList): comment out the hardcoded float
10975         definitions.
10976
10977         * lyxlayout.h: ws change.
10978
10979 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10980
10981         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10982
10983 2002-09-03  Angus Leeming  <leeming@lyx.org>
10984
10985         * BufferView_pimpl.h: qualified name is not allowed in member
10986         declaration: WorkArea & Pimpl::workarea() const;
10987
10988         * factory.C: added using std::endl directive.
10989
10990         * text3.C: added using std::find and std::vector directives.
10991
10992 2002-08-29  André Pönitz <poenitz@gmx.net>
10993
10994         * lyxtext.h:
10995         * text2.C: remove unused member number_of_rows
10996
10997         * Makefile.am:
10998         * BufferView2.C: remove file, move contents to...
10999         * BufferView.C: ... here
11000
11001         * BufferView_pimpl.C:
11002         * factory.C: move more inset creation to factory
11003
11004         * vspace.C: avoid direct usage of LyXText, ws changes
11005
11006         * BufferView.[Ch]:
11007                 don't provide direct access to WorkArea, use two simple
11008                 acessors haveSelction() and workHeight() instead
11009
11010
11011 2002-08-29  John Levon  <levon@movementarian.org>
11012
11013         * BufferView_pimpl.C (dispatch): do not continue when
11014           no buffer
11015
11016 2002-08-28  André Pönitz <poenitz@gmx.net>
11017
11018         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11019
11020         * BufferView.h:
11021         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11022
11023 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11024
11025         * buffer.C: increment LYX_FORMAT to 221
11026
11027         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11028         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11029
11030         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11031
11032         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11033
11034 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11035
11036         * factory.C (createInset): use LyXTextClass::floats
11037
11038         * MenuBackend.C (expandFloatListInsert):
11039         (expandFloatInsert):
11040         (expandToc):
11041
11042         * text2.C (setCounter):
11043
11044         * LaTeXFeatures.C (useFloat):
11045         (getFloatDefinitions):
11046
11047         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11048
11049         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11050         floatlist_, with accessor floats().
11051
11052         * FloatList.h: remove global FloatList
11053
11054 2002-08-26  André Pönitz <poenitz@gmx.net>
11055
11056         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11057
11058         * BufferView.h:
11059         * BufferView2.C:
11060         * BufferView_pimpl.C:
11061         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11062
11063 2002-08-25  John Levon  <levon@movementarian.org>
11064
11065         * LyXAction.C: fix margin note description
11066
11067 2002-08-24  John Levon  <levon@movementarian.org>
11068
11069         * buffer.C:
11070         * bufferlist.C:
11071         * bufferview_funcs.C:
11072         * lyxfont.C:
11073         * undo_funcs.C: cleanups
11074
11075         * lyxfunc.C: disable CUT/COPY when no selection
11076
11077 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11078
11079         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11080         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11081
11082         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11083         Add backward compatibility to "mono", "gray" and "no".
11084
11085 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11086
11087         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11088         (and file_format >= 200).
11089
11090 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11091
11092         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11093
11094 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11095
11096         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11097
11098 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11099
11100         * BufferView_pimpl.C:
11101         * LyXAction.C:
11102         * buffer.C:
11103         * commandtags.h:
11104         * lyxfunc.C:
11105         * paragraph.[Ch]:
11106         * text2.C:
11107         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11108         inset and code to make it  work with the paragraph code. The inset
11109         can be anywhere in the paragraph, but will only do the expected
11110         thing in LaTeX if the layout file contains the parameter line
11111                         OptionalArgs    1
11112         (or more generally, a nonzero value) for that layout.
11113
11114 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11115
11116         * paragraph.h: remove the declaration of undefined counters class
11117         function.
11118
11119 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11120
11121         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11122         Dr. Richard Hawkins.
11123
11124 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11125
11126         * paragraph_funcs.h: remove some unneeded includes
11127
11128         * text.C (backspace): pasteParagraph now in global scipe
11129
11130         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11131         (pasteSelection): ditto
11132
11133         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11134         * paragraph_funcs.C (pasteParagraph): ... here
11135
11136 2002-08-20  André Pönitz <poenitz@gmx.net>
11137
11138         * commandtags.h: new LFUNs for swapping/copying table row/colums
11139
11140         * LyXAction.C:
11141         * lyxfunc.C: support for new lfuns
11142
11143 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11144
11145         * tabular.C:
11146         * buffer.[Ch]: remove NO_COMPABILITY stuff
11147
11148 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11149
11150         * boost.C (throw_exception): new file, with helper function for
11151         boost compiled without exceptions.
11152
11153         * paragraph.h:
11154         * lyxlength.C:
11155         * buffer.C:
11156         * ParameterStruct.h:
11157         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11158
11159         * bufferlist.C (emergencyWriteAll): use boost bind
11160
11161         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11162
11163         * text.C: include paragraph_funcs.h
11164         (breakParagraph): breakParagraph is now in global scope
11165
11166         * paragraph_funcs.[Ch]: new files
11167
11168         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11169         global scope
11170
11171         * buffer.C: include paragraph_funcs.h
11172         (insertStringAsLines): breakParagraph is now in global scope
11173
11174         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11175         paragraph_funcs.C
11176
11177         * CutAndPaste.C: include paragraph_funcs.h
11178         (cutSelection): breakParagraphConservative is now in global scope
11179         (pasteSelection): ditto
11180
11181         * buffer.h: declare oprator== and operator!= for
11182         Buffer::inset_iterator
11183
11184         * bufferlist.C (emergencyWrite): don't use fmt(...)
11185
11186         * text3.C: add using std::endl
11187
11188         * BufferView.C (moveCursorUpdate): remove default arg
11189
11190 2002-08-20  André Pönitz <poenitz@gmx.net>
11191
11192         * buffer.[Ch]: move inline functions to .C
11193
11194         * BufferView2.C:
11195         * BufferView_pimpl.C:
11196         * text.C:
11197         * buffer.[Ch]: use improved inset_iterator
11198
11199         * buffer.C:
11200         * paragraph.[Ch]: write one paragraph at a time
11201
11202 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11203
11204         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11205         style if style is not specified.
11206
11207 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11208
11209         * text2.C (setCounter): when searching for right label for a
11210         caption, make sure to recurse to parent insets (so that a caption
11211         in a minipage in a figure float works) (bug #568)
11212
11213 2002-08-20  André Pönitz <poenitz@gmx.net>
11214
11215         * text3.C: new file for LyXText::dispatch() and helpers
11216
11217         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11218
11219         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11220
11221 2002-08-19  André Pönitz <poenitz@gmx.net>
11222
11223         * lyxtext.h:
11224         * text.C: new LyXText::dispatch()
11225
11226         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11227
11228 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11229
11230         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11231
11232         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11233         Hebrew text.
11234
11235 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11236
11237         * Makefile.am: use $(variables) instead of @substitutions@
11238
11239 2002-08-15  André Pönitz <poenitz@gmx.net>
11240
11241         * lyxfunc.C:
11242         * BufferView_pimpl.C: streamlining mathed <-> outer world
11243         interaction
11244
11245         * commandtags.h:
11246         * LyXAction.C: remove unused LFUN_MATH
11247
11248 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11249
11250         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11251
11252 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11253
11254         * paragraph.C (Paragraph): reformat a bit
11255         (cutIntoMinibuffer): use builtin InsetList function instad of
11256         doing it manually.
11257         (getInset): ditto
11258
11259         * buffer.C: include boost/bind.hpp, add using std::for_each
11260         (writeFileAscii): use ParagraphList iterators
11261         (validate): use for_each for validate traversal of paragraphs
11262         (getBibkeyList): use ParagraphList iterators
11263         (resizeInsets): use for_each to resizeInsetsLyXText for all
11264         paragraphs.
11265         (getParFromID): use ParagraphList iterators
11266
11267         * BufferView2.C (lockInset): use paragraph list and iterators
11268
11269 2002-08-14  John Levon  <levon@movementarian.org>
11270
11271         * lyxserver.C: remove spurious xforms include
11272
11273 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11274
11275         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11276
11277 2002-08-13  André Pönitz <poenitz@gmx.net>
11278
11279         * LyXAction.[Ch]:
11280         * lyxfunc.C: further cleaning
11281
11282 2002-08-13  André Pönitz <poenitz@gmx.net>
11283
11284         * funcrequest.h: new constructor
11285
11286         * funcrequest.C: move stuff here from .h
11287
11288         * Makefile.am:
11289         * BufferView_pimpl.C:
11290         * LyXAction.C:
11291         * toc.C:
11292         * lyxfunc.C: subsequent changes
11293
11294         * lyxfunc.h: new view() member function
11295
11296         * lyxfunc.C: subsequent changes
11297
11298 2002-08-13  Angus Leeming  <leeming@lyx.org>
11299
11300         * BufferView2.C:
11301         * BufferView_pimpl.C:
11302         * buffer.C:
11303         * converter.C:
11304         * importer.C:
11305         * lyxfunc.C:
11306         * lyxvc.C:
11307         * toc.C:
11308         * vc-backend.C:
11309         changes due to the changed LyXView interface that now returns references
11310         to member variables not pointers.
11311
11312 2002-08-13  Angus Leeming  <leeming@lyx.org>
11313
11314         * WordLangTuple (word, lang_code): return references to strings,
11315         not strings.
11316
11317         * BufferView.h:
11318         * SpellBase.h:
11319         * lyxtext.h: forward-declare WordLangTuple.
11320
11321         * BufferView2.C:
11322         * ispell.C:
11323         * pspell.C:
11324         * text.C: #include "WordLangTuple.h".
11325
11326         * lyxtext.h:
11327         * text.C: (selectNextWordToSpellcheck): constify return type.
11328
11329 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11330
11331         * buffer.C:
11332         * buffer.h:
11333         * lyxtext.h:
11334         * paragraph.C:
11335         * paragraph_pimpl.h:
11336         * text.C:
11337         * text2.C:
11338         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11339         suggested by Angus.
11340         Made updateCounter always count from start of buffer, and removed
11341         second argument (par).
11342         Reverted floats number display to '#'. Perhaps I'll try again when the
11343         code base is sanitized a bit.
11344
11345 2002-08-12  Angus Leeming  <leeming@lyx.org>
11346
11347         * buffer.[Ch] (getLabelList): constify.
11348
11349 2002-08-07  André Pönitz <poenitz@gmx.net>
11350
11351         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11352
11353         * funcrequest.h: extension to keep mouse (x,y) position
11354
11355 2002-08-12  Juergen Vigna  <jug@sad.it>
11356
11357         * BufferView2.C (insertErrors): forbid undo when inserting error
11358         insets.
11359
11360         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11361
11362 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11363
11364         * ParagraphList.[Ch]: new files
11365
11366         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11367
11368         * BufferView2.C (lockInset): ParagraphList changes
11369         * toc.C: ditto
11370         * text2.C: ditto
11371         * bufferlist.C: ditto
11372         * buffer.h: ditto
11373         * buffer.C: ditto
11374
11375 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11376
11377         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11378         unused class variable counter_,
11379
11380         * paragraph.[Ch] (getFirstCounter): delete unused function
11381
11382         * counters.C: include LAssert.h
11383         (reset): add a new function with no arg, change other version to
11384         not have def. arg and to not allow empty arg.
11385
11386         * text2.C (setCounter): remove empty arg from call to Counters::reset
11387
11388 2002-08-11  John Levon  <levon@movementarian.org>
11389
11390         * Makefile.am: add WordLangTuple.h
11391
11392 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11393
11394         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11395         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11396
11397         * insets/insettext.C: InsetList changes
11398
11399         * graphics/GraphicsSupport.C (operator()): InsetList changes
11400
11401         * toc.C (getTocList): InsetList changes
11402
11403         * paragraph_pimpl.[Ch]: InsetList changes
11404
11405         * paragraph.[Ch]: InsetList changes
11406
11407         * buffer.C (inset_iterator): InsetList changes
11408         (setParagraph): ditto
11409         * buffer.h (inset_iterator): ditto
11410         * iterators.C (operator++): ditto
11411         * iterators.h: ditto
11412
11413         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11414
11415         * InsetList.[Ch]: new files, most InsetList handling moved out of
11416         paragraph.C.
11417
11418         * BufferView2.C (removeAutoInsets): InsetList changes
11419         (lockInset): ditto
11420         (ChangeInsets): ditto
11421
11422 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11423
11424         * paragraph_pimpl.h (empty): new function
11425
11426         * paragraph.[Ch] (empty): new function
11427
11428         * other files: use the new Paragraph::empty function
11429
11430 2002-08-09  John Levon  <levon@movementarian.org>
11431
11432         * lyxtext.h: remove unused refresh_height
11433
11434 2002-08-09  John Levon  <levon@movementarian.org>
11435
11436         * Makefile.am:
11437         * sgml.h:
11438         * sgml.C:
11439         * buffer.C:
11440         * paragraph.h:
11441         * paragraph.C: move sgml char escaping out of paragraph
11442
11443         * paragraph.h:
11444         * paragraph.C: remove id setter
11445
11446         * buffer.C:
11447         * paragraph.C:
11448         * paragraph_pimpl.C: remove dead tex_code_break_column
11449
11450         * bufferview_funcs.C: small cleanup
11451
11452         * lyxfunc.C: remove dead proto
11453
11454         * lyxtext.h: make some stuff private. Remove some dead stuff.
11455
11456         * lyxgluelength.C: make as[LyX]String() readable
11457
11458 2002-08-08  John Levon  <levon@movementarian.org>
11459
11460         * LyXAction.h:
11461         * LyXAction.C:
11462         * MenuBackend.C:
11463         * ToolbarDefaults.C:
11464         * lyxfunc.C:
11465         * lyxrc.C:
11466         * toc.C: lyxaction cleanup
11467
11468 2002-08-08  John Levon  <levon@movementarian.org>
11469
11470         * BufferView2.C: small cleanup
11471
11472         * lyxfind.h:
11473         * lyxfind.C: move unnecessary header into the .C
11474
11475 2002-08-08  John Levon  <levon@movementarian.org>
11476
11477         * funcrequest.h: just tedious nonsense
11478
11479         * lyx_main.h:
11480         * lyx_main.C: cleanups
11481
11482         * buffer.C:
11483         * vspace.C: remove dead header lyx_main.h
11484
11485 2002-08-07  Angus Leeming  <leeming@lyx.org>
11486
11487         * Paragraph.[Ch]:
11488         * paragraph_pimpl.h:
11489         Forward declare class Counters in paragraph.h by moving the ctrs member
11490         variable into Paragraph::Pimpl.
11491         (counters): new method, returning a reference to pimpl_->ctrs.
11492
11493         * text2.C: ensuing changes.
11494
11495 2002-08-07  John Levon  <levon@movementarian.org>
11496
11497         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11498
11499         * BufferView_pimpl.C: announce X selection on double/triple
11500           click
11501
11502         * lyx_main.C: use correct bool in batch dispatch
11503
11504         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11505
11506 2002-08-07  André Pönitz <poenitz@gmx.net>
11507
11508         * funcrequest.h: new class to wrap a kb_action and its argument
11509
11510         * BufferView.[Ch]:
11511         * BufferView_pimpl[Ch]:
11512         * LaTeX.C:
11513         * LyXAction.[Ch]:
11514         * lyxfunc.[Ch]:
11515         * lyxrc.C: subsequent changes
11516
11517
11518 2002-08-07  John Levon  <levon@movementarian.org>
11519
11520         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11521           document options change.
11522
11523 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11524
11525         * counters.[Ch]
11526         * text2.C
11527         * paragraph.[Ch]
11528         * makefile.am: move counters functionality over from
11529         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11530
11531 2002-08-06  John Levon  <levon@movementarian.org>
11532
11533         * WordLangTuple.h: new file for word + language code tuple
11534
11535         * SpellBase.h:
11536         * pspell.h:
11537         * pspell.C:
11538         * ispell.h:
11539         * ispell.C:
11540         * lyxtext.h:
11541         * text.C:
11542         * text2.C:
11543         * BufferView.h:
11544         * BufferView2.C: use WordLangTuple
11545
11546         * layout.h:
11547         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11548
11549 2002-08-06  John Levon  <levon@movementarian.org>
11550
11551         * lyx_main.C: fix cmdline batch handling
11552
11553 2002-08-06  André Pönitz <poenitz@gmx.net>
11554
11555         * lyxrc.C: set default for show_banner to true
11556
11557 2002-08-06  John Levon  <levon@movementarian.org>
11558
11559         * pspell.C: fix a crash, and allow new aspell to work
11560
11561 2002-08-06  John Levon  <levon@movementarian.org>
11562
11563         * lyxfunc.C:
11564         * kbmap.C: small cleanup
11565
11566         * vspace.h:
11567         * vspace.C: add const
11568
11569 2002-08-05  John Levon  <levon@movementarian.org>
11570
11571         * LyXAction.C: back to tabular-insert
11572
11573 2002-08-04  John Levon  <levon@movementarian.org>
11574
11575         * BufferView.h:
11576         * BufferView.C: cosmetic change
11577
11578         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11579
11580         * bufferlist.C:
11581         * buffer.h:
11582         * buffer.C:
11583         * lyxcb.h:
11584         * lyxcb.C:
11585         * lyxserver.C:
11586         * lyxvc.C:
11587         * vc-backend.C:
11588         * BufferView2.C: purge all "Lyx" not "LyX" strings
11589
11590         * lyxcursor.h:
11591         * lyxcursor.C: attempt to add some documentation
11592
11593         * lyxfunc.C:
11594         * commandtags.h:
11595         * LyXAction.C:
11596         * ToolbarDefaults.C:
11597         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11598           merge with LFUN_TABULAR_INSERT
11599
11600         * Makefile.am:
11601         * SpellBase.h:
11602         * ispell.h:
11603         * ispell.C:
11604         * pspell.h:
11605         * pspell.C: split up i/pspell implementations into separate
11606           files, many cleanups
11607
11608         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11609
11610         * text2.C: some cleanup
11611
11612         * lyxfunc.C: don't check for isp_command == "none" any more, it
11613           didn't make any sense
11614
11615 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11616
11617         * counters.[Ch]
11618         * text2.C
11619         * paragraph.[Ch]
11620         * makefile.am: move counters functionality over
11621         from text2.C/paragraph.[Ch] to counters.[Ch], and
11622         make proper C++.
11623 2002-08-02  John Levon  <levon@movementarian.org>
11624
11625         * buffer.C: s/lyxconvert/lyx2lyx/
11626
11627 2002-08-02  Angus Leeming  <leeming@lyx.org>
11628
11629         * lyxlex.C: revert John's change as it breaks reading of the user
11630         preamble.
11631
11632 2002-08-02  Angus Leeming  <leeming@lyx.org>
11633
11634         * importer.C (Import):
11635         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11636         changes due to LyXView::view() now returning a boost::shared_ptr.
11637
11638 2002-08-02  John Levon  <levon@movementarian.org>
11639
11640         * lyxlex.C: small cleanup
11641
11642 2002-08-02  John Levon  <levon@movementarian.org>
11643
11644         * text2.C (status): small cleanup, no logic change
11645
11646 2002-08-01  John Levon  <levon@movementarian.org>
11647
11648         * buffer.h:
11649         * buffer.C (writeFile): don't output alerts, caller
11650           handles this
11651
11652         * bufferlist.C:
11653         * lyx_cb.C: from above
11654
11655         * lyxfunc.C: allow to open non-existent files
11656
11657 2002-07-31  John Levon  <levon@movementarian.org>
11658
11659         * lyxserver.C: don't let incidental errors get
11660           in the way (errno)
11661
11662 2002-07-30  John Levon  <levon@movementarian.org>
11663
11664         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11665
11666 2002-07-30  John Levon  <levon@movementarian.org>
11667
11668         * lyxserver.h:
11669         * lyxserver.C: remove I/O callback too
11670
11671 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11672
11673         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11674         log.
11675
11676 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11677
11678         * many files: strip,frontStrip -> trim,ltrim,rtrim
11679
11680 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11681
11682         * PrinterParams.h: remove extern containsOnly, and include
11683         support/lstrings.h instead.
11684
11685         * LaTeX.C (scanAuxFile): modify because of strip changes
11686         (deplog): ditto
11687         * buffer.C (makeLaTeXFile): ditto
11688         * bufferparams.C (writeFile): ditt
11689         * lyxfont.C (stateText): ditto
11690         * lyxserver.C (read_ready): ditto
11691         * vc-backend.C (scanMaster): ditto
11692
11693         * BufferView_pimpl.h: ws changes
11694
11695         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11696
11697 2002-07-26  André Pönitz <poenitz@gmx.net>
11698
11699         * kb_sequence.C: remove unnedred usings
11700
11701 2002-07-26  Juergen Vigna  <jug@sad.it>
11702
11703         * lyxfind.C (LyXReplace): we have to check better if the returned
11704         text is not of theLockingInset()->getLockingInset().
11705
11706 2002-07-25  Juergen Vigna  <jug@sad.it>
11707
11708         * lyxfind.C (LyXReplace): don't replace if we don't get the
11709         right LyXText.
11710
11711         * undo_funcs.C (createUndo): remove debugging code.
11712
11713 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11714
11715         * buffer.C (parseSingleLyXformat2Token): Use default placement
11716         when reading old floats.
11717
11718         * FloatList.C (FloatList): Change the default placement of figure
11719         and tables to "tbp".
11720
11721 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * MenuBackend.C: using std::max
11724
11725 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11726
11727         * MenuBackend.C (expandToc):
11728         (expandToc2): code moved from xforms menu frontend. It is now
11729         generic and TOCs are transparent to menu frontends.
11730
11731 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11732
11733         * toc.C (getTocList): protect against buf=0
11734
11735         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11736         Menu as first parameter. Now, this calls itself recursively to
11737         expand a whole tree (this will be useful for TOC handling)
11738         (expandFloatInsert): remove 'wide' version of floats
11739
11740         * MenuBackend.h (submenuname): returns the name of the submenu.
11741         (submenu): returns the submenu itself, provided it has been
11742         created by MenuBackend::expand
11743
11744 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11745
11746         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11747         insets which have noFontChange == true. (bug #172)
11748
11749 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11750
11751         * BufferView_pimpl.C: add connection objects and use them...
11752         (Pimpl): here.
11753
11754 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11755
11756         * MenuBackend.C (expandLastfiles):
11757         (expandDocuments):
11758         (expandFormats):
11759         (expandFloatListInsert):
11760         (expandFloatInsert):
11761         (expand): split expand in parts
11762
11763 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11764
11765         * lyx_gui.C: use lyx_gui::exit()
11766
11767 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * LyXAction.C: show the failing pseudo action
11770
11771 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11772
11773         * buffer.C (readFile): Run the lyxconvert script in order to read
11774         old files.
11775
11776 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11777
11778         * LyXAction.C:
11779         * commandtags.h:
11780         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11781
11782 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11783
11784         * LyXAction.C:
11785         * commandtags.h:
11786         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11787
11788 2002-07-22  Herbert Voss  <voss@lyx.org>
11789
11790         * lengthcommon.C:
11791         * lyxlength.[Ch]: add support for the vertical lengths
11792
11793 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11794
11795         * toc.[Ch]: std:: fixes
11796
11797 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11798
11799         * lyxrc.C: do not include lyx_main.h
11800
11801         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11802         for layouts
11803
11804         * lyxrc.C:
11805         * encoding.C:
11806         * bufferlist.C:
11807         * BufferView2.C: include "lyxlex.h"
11808
11809         * tabular.h:
11810         * bufferparams.h: do not #include "lyxlex.h"
11811
11812         * lyxtextclasslist.C (Add): remove method
11813         (classlist): renamed to classlist_
11814
11815         * paragraph_pimpl.C:
11816         * paragraph.C:
11817         * text2.C:
11818         * CutAndPaste.C:
11819         * bufferview_funcs.C:
11820         * bufferlist.C:
11821         * text.C:
11822         * LaTeXFeatures.C:
11823         * buffer.C:
11824         * toc.C (getTocList): use BufferParams::getLyXTextClass
11825
11826         * toc.C (getTocList): use InsetFloat::addToToc
11827
11828         * toc.[Ch]: new files, containing helper functions to handle table
11829         of contents
11830
11831         * lyxfunc.C (dispatch): no need to remove spaces around command
11832         given as a string
11833         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11834         first command of the sequence; it is not very clever, but I do not
11835         have a better idea, actually
11836
11837         * LyXAction.C (LookupFunc): make sure to remove space at the
11838         beginning and end of the command
11839
11840 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11841
11842         * MenuBackend.C (getMenubar): new method: return the menubar of
11843         this menu set
11844         (read): treat differently reading of menu and menubar (in
11845         particular, the menubar has no name now)
11846         (Menu::menubar): remove
11847
11848         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11849         saving is finished
11850
11851 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11852
11853         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11854         a bibitem inset in a RTL paragraph.
11855
11856 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11857
11858         * paragraph_pimpl.C: constify
11859
11860         * BufferView_pimpl.C:
11861         * LaTeX.C:
11862         * lyxfunc.C: fix dispatch in a nicer way
11863
11864 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11865
11866         * lyxfunc.C (dispatch):
11867         * BufferView_pimpl.C:
11868         * BufferView_pimpl.h:
11869         * BufferView.C:
11870         * BufferView.h: rename Dispatch() to dispatch()
11871
11872         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11873
11874         * lyxlayout.C (Read): honor DependsOn tag
11875
11876         * lyxlayout.[Ch] (depends_on): new method
11877
11878         * version.C.in: update lyx_docversion
11879
11880         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11881
11882         * paragraph.C (validate): remove from here...
11883         * paragraph_pimpl.C (validate): ... and move here
11884         (isTextAt): make it const
11885
11886         * buffer.C (getLists): ws cleanup
11887
11888 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11889
11890         * language.C (read): Use iso8859-1 encoding in latex_lang
11891         (this prevents LyX from crashing when using iso10646-1 encoding).
11892
11893 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11894
11895         * text2.C (toggleInset): if cursor is inside an inset, close the
11896         inset and leave cursor _after_ it
11897
11898 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * lyxfunc.C: move minibuffer completion handling out of here
11901
11902 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11903
11904         * BufferView_pimpl.C:
11905         * LaTeX.C: fix dispatch calls
11906
11907 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11908
11909         * text.C (drawChars): Fix Arabic text rendering.
11910
11911 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * LyXAction.C:
11914         * commandtags.h:
11915         * lyxfunc.C: remove message-push/pop
11916
11917         * lyxserver.C:
11918         * lyxfunc.h:
11919         * lyxfunc.C: rationalise some code by removing verboseDispatch
11920           in favour of a bool argument to dispatch()
11921
11922 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11923
11924         * lyx_main.C (init): make sure to read symlinks as absolute paths
11925
11926 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * lyxfunc.h:
11929         * lyxfunc.C: no need for commandshortcut to be a member
11930
11931 2002-07-15  André Pönitz <poenitz@gmx.net>
11932
11933         * converter.C: add support for $$s (scripts from lib/scripts dir)
11934         * lyx_main.C: white space
11935
11936 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11937
11938         * bufferlist.C:
11939         * lyxrc.h:
11940         * lyxrc.C: remove second exit confirmation
11941
11942 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11943
11944         * BufferView.h:
11945         * BufferView.C:
11946         * BufferView2.C:
11947         * BufferView_pimpl.h:
11948         * BufferView_pimpl.C:
11949         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11950
11951 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11952
11953         * MenuBackend.C (expand): add numeric shortcuts to document menu
11954
11955         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11956
11957 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11958
11959         * lyxfont.C (setLyXFamily):
11960         (setLyXSeries):
11961         (setLyXShape):
11962         (setLyXSize):
11963         (setLyXMisc):
11964         (lyxRead):
11965         * debug.C (value):
11966         * buffer.C (asciiParagraph): use ascii_lowercase
11967
11968 2002-07-15  Mike Fabian  <mfabian@suse.de>
11969
11970         * lyxlex_pimpl.C (search_kw):
11971         * lyxlex.C (getLongString):
11972         * converter.h (operator<):
11973         * converter.C (operator<):
11974         * buffer.C (parseSingleLyXformat2Token):
11975         (asciiParagraph):
11976         * ToolbarDefaults.C (read):
11977         * MenuBackend.C (checkShortcuts):
11978         (read):
11979         * LColor.C (getFromGUIName):
11980         (getFromLyXName): use the compare_ascii_no_case instead of
11981         compare_no_case, because in turkish, 'i' is not the lowercase
11982         version of 'I', and thus turkish locale breaks parsing of tags.
11983
11984 2002-07-16  Angus Leeming  <leeming@lyx.org>
11985
11986         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11987         now takes a Buffer const & argument.
11988
11989 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * BufferView.C (resize): check there's a buffer to resize
11992
11993 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * lyxfunc.C: remove dead code
11996
11997         * lyxserver.h:
11998         * lyxserver.C: use lyx_guii::set_read_callback
11999
12000 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12001
12002         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12003         an inset in a RTL paragraph.
12004
12005 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12006
12007         * lyxfunc.C: repaint after a font size update
12008
12009 2002-07-15  André Pönitz <poenitz@gmx.net>
12010
12011         * lyxlength.C: inBP should be able to return negative values
12012
12013 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * lyxfunc.C: use lyx_gui::update_fonts()
12016
12017 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * lyxfunc.C: use lyx_gui::update_color()
12020
12021 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12022
12023         * bufferlist.C:
12024         * lyxfunc.h:
12025         * lyxfunc.C:
12026         * lyxrc.h:
12027         * lyxrc.C: remove file->new asks for name option, and let
12028           buffer-new take an argument
12029
12030 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * BufferView_pimpl.C: remove unneeded extra repaint()
12033
12034 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * LyXAction.C: allow command-sequence with NoBuffer
12037
12038         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12039
12040 2002-07-10  Angus Leeming  <leeming@lyx.org>
12041
12042         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12043
12044 2002-07-09  Angus Leeming  <leeming@lyx.org>
12045
12046         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12047
12048 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12049
12050         * lengthcommon.h: whitespace
12051
12052         * lyxfunc.C: update scrollbar after goto paragraph
12053
12054         * lyxtext.h: factor out page break drawing, and fix it so
12055           page break/added space paints as selected nicely
12056
12057 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12058
12059         * BufferView_pimpl.C: add FIXMEs, clean up a little
12060
12061 2002-07-09  André Pönitz <poenitz@gmx.net>
12062
12063         * lyxfont.[Ch]: support for wasy symbols
12064
12065 2002-07-08  André Pönitz <poenitz@gmx.net>
12066
12067         * BufferView_pimpl.C: apply John's patch for #93.
12068
12069 2002-07-05  Angus Leeming  <leeming@lyx.org>
12070
12071         * BufferView_pimpl.C (buffer): generate previews if desired.
12072
12073         * LColor.h: add "preview" to the color enum.
12074
12075         * LColor.C (LColor): add a corresponding entry to the items array.
12076
12077         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12078         with this buffer.
12079
12080 2002-07-05  Angus Leeming  <leeming@lyx.org>
12081
12082         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12083         The body of the code is now in the method that is passed an ostream &
12084         rather than a file name.
12085         Pass an additional only_preamble parameter, useful for the forthcoming
12086         preview stuff.
12087
12088 2002-07-03  André Pönitz <poenitz@gmx.net>
12089
12090         * lyxfunc.C: simplify getStatus() a bit for math stuff
12091
12092 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12093
12094         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12095
12096 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12097
12098         * text.C (changeRegionCase): do not change case of all the
12099         document when region ends at paragraph end (bug #461)
12100
12101 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12102
12103         * paragraph.C (startTeXParParams):
12104         (endTeXParParams): add \protect when necessary
12105
12106 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12107
12108         * BufferView_pimpl.C (workAreaExpose): remove warning
12109
12110 2002-06-27  Angus Leeming  <leeming@lyx.org>
12111
12112         * Makefile.am: add lyxlayout_ptr_fwd.h.
12113
12114 2002-06-26  André Pönitz <poenitz@gmx.net>
12115
12116         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12117
12118 2002-06-25  Angus Leeming  <leeming@lyx.org>
12119
12120         * lyxfunc.C (dispatch): Comment out the call to
12121         grfx::GCache::changeDisplay. The method no longer exists now that the
12122         pixmap generation part of the graphics loader has been moved into
12123         InsetGraphics.
12124
12125 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12126
12127         * text2.C: layout as layout
12128
12129         * text.C: layout as layout
12130
12131         * tabular.C (OldFormatRead): layout as layout
12132
12133         * paragraph_pimpl.C (TeXDeeper): layout as layout
12134         (realizeFont): layout as layout
12135
12136         * paragraph.C (writeFile): layout as layout
12137         (validate): layout as layout
12138         (getFont): layout as layout
12139         (getLabelFont): layout as layout
12140         (getLayoutFont): layout as layout
12141         (breakParagraph): layout as layout
12142         (stripLeadingSpaces): layout as layout
12143         (getEndLabel): layout as layout
12144         (getMaxDepthAfter): layout as layout
12145         (applyLayout): layout as layout
12146         (TeXOnePar): layout as layout
12147         (simpleTeXOnePar): layout as layout
12148         (TeXEnvironment): layout as layout
12149         (layout): layout as layout
12150         (layout): layout as layout
12151
12152         * lyxtextclass.C (compare_name): new functor to work with
12153         shared_ptr, layout as layout
12154         (Read): layout as layout
12155         (hasLayout): layout as layout
12156         (operator): layout as layout
12157         (delete_layout): layout as layout
12158         (defaultLayout): layout as layout
12159
12160         * lyxlayout_ptr_fwd.h: new file
12161
12162         * lyxlayout.C (Read): layout as layout
12163
12164         * lyx_cb.C (MenuInsertLabel): layout as layout
12165
12166         * bufferlist.C (newFile): layout as layout
12167
12168         * buffer.C (readLyXformat2): layout as layout
12169         (parseSingleLyXformat2Token): layout as layout
12170         (insertStringAsLines): layout as layout
12171         (asciiParagraph): layout as layout
12172         (latexParagraphs): layout as layout
12173         (makeLinuxDocFile): layout as layout
12174         (simpleLinuxDocOnePar): layout as layout
12175         (makeDocBookFile): layout as layout
12176         (simpleDocBookOnePar): layout as layout
12177         (getLists): layout as layout
12178
12179         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12180
12181         * CutAndPaste.C (cutSelection): layout as layout
12182         (pasteSelection): layout as layout
12183         (SwitchLayoutsBetweenClasses): layout as layout
12184
12185         * BufferView_pimpl.C (Dispatch): layout as layout
12186         (smartQuote): layout as layout
12187
12188         * BufferView2.C (unlockInset): layout as layout
12189
12190 2002-06-24  André Pönitz <poenitz@gmx.net>
12191
12192         * lyxfunc.C: fix #487
12193
12194 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12195
12196         * lyxrc.h:
12197         * lyxrc.C:
12198         * lyxfunc.C: remove display_shortcuts, show_banner
12199
12200 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12201
12202         * Buffer_pimpl.C: oops, update on resize
12203
12204 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12205
12206         * buffer.C:
12207         * converter.C:
12208         * exporter.C:
12209         * lyxfunc.C:
12210         * BufferView.h:
12211         * BufferView.C: use repaint()
12212
12213         * BufferView_pimpl.h:
12214         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12215           as it's a clearer description. Remove superfluous
12216           redraws.
12217
12218 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12219
12220         * text.C: fix bug 488. Not ideal, but getting
12221           getWord() to work properly for the insets that
12222           matter is more difficult ...
12223
12224 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12225
12226         * BufferView_pimpl.C:
12227         * LyXAction.C:
12228         * commandtags.h:
12229         * lyxfunc.C: remove the six million index lyxfuncs to just
12230           one, and DTRT (bug 458)
12231
12232 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12233
12234         * BufferView.h:
12235         * BufferView.C:
12236         * BufferView_pimpl.h:
12237         * BufferView_pimpl.C: clean up resize() stuff,
12238           and unnecessary updateScreen()s
12239
12240 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * BufferView.h:
12243         * BufferView.C:
12244         * BufferView_pimpl.h:
12245         * BufferView_pimpl.C:
12246         * lyxfind.h:
12247         * lyxfind.C:
12248         * minibuffer.C: remove focus management of workarea,
12249           not needed. Use screen's greyOut()
12250
12251 2002-06-17  Herbert Voss  <voss@lyx.org>
12252
12253         * converter.C: (convert) do not post a message, when converting
12254         fails, let the calling function decide what to do in this case
12255
12256 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * lyxfunc.C: tidy up a little
12259
12260 2002-06-16    <alstrup@diku.dk>
12261
12262         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12263         Got rid of FORMS_H_LOCATION include. Now we are
12264         GUII.
12265
12266 2002-06-15  LyX Development team  <lyx@rilke>
12267
12268         * buffer.[Ch] (sgmlOpenTag):
12269         (sgmlCloseTag): Added support for avoiding pernicious mixed
12270         content. Return number of lines written.
12271
12272         (makeLinuxDocFile):
12273         (makeDocBookFile): Fixed calls to sgml*Tag.
12274         Simple white space clean.
12275
12276         (simpleDocBookOnePar): Simple white space clean.
12277
12278         * tabular.[Ch] (docBook): Renamed to docbook and got another
12279         argument to related with the pernicious mixed content.
12280
12281         (docbookRow): Fixed calls for docbook inset method.
12282
12283 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12284
12285         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12286         so it's X11 independent.
12287
12288         * kb*.[Ch]: ditto.
12289
12290         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12291
12292 2002-06-15  Lyx Development team  <lyx@electronia>
12293
12294         * intl.h: Renamed getTrans to getTransManager.
12295
12296 2002-06-14  Angus Leeming  <leeming@lyx.org>
12297
12298         * Makefile.am: nuke forgotten stl_string_fwd.h.
12299
12300 2002-06-12  Angus Leeming  <leeming@lyx.org>
12301
12302         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12303
12304 2002-06-13  Angus Leeming  <leeming@lyx.org>
12305
12306         * LaTeX.C:
12307         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12308
12309 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12310
12311         * kbmap.C (getiso): add support for cyrillic and greek
12312
12313 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12314
12315         * BufferView.h:
12316         * BufferView.C:
12317         * BufferView_pimpl.h:
12318         * BufferView_pimpl.C: move bogus scrolling logic
12319           to xforms
12320
12321 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * lyxfunc.C:
12324         * BufferView_pimpl.C: view->resize() change
12325
12326 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * BufferView_pimpl.C: topCursorVisible
12329           prototype change
12330
12331 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12332
12333         * Makefile.am:
12334         * lyx_gui.h:
12335         * lyx_gui.C: move to frontends/
12336
12337         * main.C:
12338         * lyx_main.h:
12339         * lyx_main.C: changes from above
12340
12341 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12342
12343         * intl.C:
12344         * intl.h:
12345         * kbmap.C:
12346         * kbsequence.C:
12347         * lyx_cb.C:
12348         * lyx_main.C: minor tidy
12349
12350 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12351
12352         * BufferView_pimpl.h:
12353         * BufferView_pimpl.C:
12354         * BufferView.h:
12355         * BufferView.C: make painter() const,
12356           remove dead code
12357
12358         * BufferView2.C: use screen() accessor
12359
12360         * lyx_main.h:
12361         * lyx_main.C: some minor cleanup
12362
12363 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12364
12365         * BufferView_pimpl.h:
12366         * BufferView_pimpl.C: remove enter/leaveView,
12367           use workHeight()
12368
12369 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12370
12371         * BufferView.h:
12372         * BufferView.C:
12373         * BufferView2.C:
12374         * BufferView_pimpl.h:
12375         * BufferView_pimpl.C: only construct screen once,
12376           rename
12377
12378         * lyxrc.C: remove pointless comment
12379
12380 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12381
12382         * BufferView.h:
12383         * BufferView.C: remove active() and belowMouse()
12384
12385         * BufferView_pimpl.h:
12386         * BufferView_pimpl.C: use workarea() not workarea_,
12387           and make it use a scoped_ptr instead
12388
12389 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * lyx_gui.C: add debug message on BadWindow
12392
12393 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12394
12395         * sp_spell.C: fdopen is not part of the C++ standard.
12396
12397         * paragraph.C (InsetIterator): use >= instead of ==
12398
12399 2002-06-07  Angus Leeming  <leeming@lyx.org>
12400
12401         Fixes needed to compile with Compaq cxx 6.5.
12402         * BufferView_pimpl.C:
12403         * DepTable.C:
12404         * buffer.C:
12405         * converter.C:
12406         * encoding.C:
12407         * lyx_gui.C:
12408         * lyx_main.C:
12409         * lyxtextclasslist.C:
12410         * minibuffer.C:
12411         * sp_spell.C:
12412         * tabular_funcs.C:
12413         * vc-backend.C:
12414         all c-library variables have been moved into namespace std. Wrap
12415         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12416
12417         * lyxlength.C:
12418         * tabular-old.C:
12419         * tabular.C:
12420         Add a using std::abs declaration.
12421
12422         * kbmap.h (modifier_pair):
12423         * paragraph.h (InsetTable, InsetList):
12424         * lyxfont.h (FontBits):
12425         type definition made public.
12426
12427         * bufferlist.C (emergencyWriteAll): the compiler complains that
12428         there is more than one possible lyx::class_fun template to choose from.
12429         I re-named the void specialisation as lyx::void_class_fun.
12430
12431         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12432
12433         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12434         the compiler is is unable to find tostr in write_attribute.
12435
12436 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12437
12438         * buffer.C (sgmlError): hide #warning
12439
12440 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12441
12442         * xtl/*: get rid of xtl, which is not in use anyway
12443
12444         * LyXAction.C (init):
12445         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12446         were unimplemented xtl experimentation
12447
12448 2002-06-04  André Pönitz <poenitz@gmx.net>
12449
12450         * lyxfunc.C: disable array operation on simple formulae
12451
12452 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * converter.C: constify a bit
12455
12456 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12457
12458         * lyx_gui.C: check xforms version correctly
12459
12460 2002-04-30  Herbert Voss  <voss@lyx.org>
12461
12462         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12463         "keep" option
12464
12465 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12466
12467         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12468           attempt to register it with a VCS)
12469
12470 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12471
12472         * lyx_main.C (init): honor variables LYX_DIR_13x and
12473         LYX_USERDIR_13x
12474
12475 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12476
12477         * buffer.h:
12478         * buffer.C:
12479         * lyx_main.C: fix a crash on bad command line,
12480           and give a useful exit status on error
12481
12482         * lyxfunc.C (doImport): allow -i lyx to work
12483
12484 2002-03-30  André Pönitz <poenitz@gmx.net>
12485
12486         * lyxfunc.C: mathed font changes
12487
12488 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12489
12490         * LaTeX.C:
12491         * importer.h:
12492         * importer.C:
12493         * lyx_sty.h:
12494         * lyx_sty.C:
12495         * lyxlex.C:
12496         * lyxrow.h:
12497         * lyxtext.h:
12498         * paragraph.h:
12499         * paragraph.C:
12500         * texrow.h:
12501         * texrow.C:
12502         * text.C:
12503         * trans_mgr.h: srcdocs, and some minor cleanups
12504
12505 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12506
12507         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12508         call getFont all the time)
12509
12510 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12511
12512         * switch from SigC signals to boost::signals
12513
12514 2002-05-29  André Pönitz <poenitz@gmx.net>
12515
12516         * paragraph_pimpl.C (getChar): don't call size() too often...
12517
12518 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12519
12520         * paragraph_pimpl.C (insertChar): do not try to update tables when
12521         appending (pos == size())
12522
12523         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12524         in order to reduce drastically the number of comparisons needed to
12525         parse a large document
12526
12527 2002-05-29  André Pönitz <poenitz@gmx.net>
12528
12529         * text.C:
12530         * text2.C:
12531         * lyxtextclass.C:
12532         * sp_pspell.h:
12533         * textclasslist.[Ch]:
12534         * sp_ispell.h: whitespace change
12535
12536 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12537
12538         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12539         lyxaction directly now.
12540
12541 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12542
12543         * trans.C:
12544         * lyxfont.C:
12545         * lyxvc.C: remove unused headers
12546
12547 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * Makefile.am:
12550         * buffer.h:
12551         * undostack.h:
12552         * undostack.C:
12553         * undo_funcs.h:
12554         * undo_funcs.C: some cleanups. Use shared_ptr
12555           and a template for the undo stacks.
12556
12557 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12558
12559         * BufferView_pimpl.h:
12560         * BufferView_pimpl.C:
12561         * kbmap.h:
12562         * kbmap.C:
12563         * kbsequence.h:
12564         * kbsequence.C:
12565         * lyxfunc.h:
12566         * lyxfunc.C:
12567         * text2.C: use key_state/mouse_state
12568
12569 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12570
12571         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12572         and LSubstring
12573
12574         * chset.C: change include order
12575         (loadFile): use boost regex and get rid of LRegex and LSubstring
12576
12577         * Makefile.am (BOOST_LIBS): new variable
12578         (lyx_LDADD): use it
12579
12580         * LaTeX.C: change include order.
12581         (scanAuxFile): use boost regex and get rid of LRegex and
12582         LSubstring
12583         (deplog): ditto
12584
12585 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12586
12587         * ColorHandler.h:
12588         * ColorHandler.C:
12589         * FontInfo.h:
12590         * FontInfo.C: moved to frontends/xforms/
12591
12592         * FontLoader.h:
12593         * FontLoader.C: moved into frontends for GUIIzation
12594
12595         * Makefile.am:
12596         * lyx_gui.C:
12597         * lyxfont.C:
12598         * lyxfunc.C: changes from above
12599
12600 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12601
12602         * LColor.C: remove spurious X include
12603
12604         * BufferView_pimpl.C:
12605         * Makefile.am:
12606         * font.h:
12607         * font.C:
12608         * text.C:
12609         * text2.C: move font metrics to frontends/
12610
12611 2002-05-24  Juergen Vigna  <jug@sad.it>
12612
12613         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12614         setting the undo_cursor.
12615
12616         * ParagraphParameters.h: include local includes first.
12617
12618 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12619
12620         * BufferView_pimpl.C:
12621         * BufferView_pimpl.h:
12622         * Makefile.am:
12623         * WorkArea.h:
12624         * WorkArea.C:
12625         * screen.C: move WorkArea into frontends/
12626
12627         * lyxscreen.h:
12628         * screen.C:
12629         * text.C:
12630         * BufferView.C:
12631         * BufferView2.C: move LyXScreen into frontends/
12632
12633         * lyxlookup.h:
12634         * lyxlookup.C:
12635         * lyx_gui.C: move lyxlookup into frontends/xforms/
12636
12637 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12638
12639         * BufferView2.C:
12640         * BufferView_pimpl.C:
12641         * FontLoader.C:
12642         * LyXView.h:
12643         * LyXView.C:
12644         * Makefile.am:
12645         * WorkArea.C:
12646         * XFormsView.h:
12647         * XFormsView.C:
12648         * buffer.C:
12649         * bufferlist.C:
12650         * bufferview_funcs.C:
12651         * converter.C:
12652         * importer.C:
12653         * lyx_cb.C:
12654         * lyx_gui.C:
12655         * lyx_main.C:
12656         * lyx_find.C:
12657         * lyxfunc.C:
12658         * lyxvc.C:
12659         * minibuffer.C:
12660         * text.C:
12661         * text2.C:
12662         * trans.C:
12663         * vc-backend.C: move LyX/XFormsView into frontends/
12664
12665 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12666
12667         * Makefile.am:
12668         * PainterBase.C:
12669         * PainterBase.h:
12670         * Painter.C:
12671         * Painter.h:
12672         * WorkArea.C:
12673         * WorkArea.h:
12674         * screen.C:
12675         * tabular.C:
12676         * text.C:
12677         * text2.C: move Painter to frontends/
12678
12679 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * buffer.C: comment out some some code that depend upon lyx_format
12682         < 220
12683
12684         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12685         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12686
12687         * buffer.h (NO_COMPABILITY): turn off compability
12688
12689         * ColorHandler.C: include scoped_array.hpp
12690
12691         * font.C: Use more specific smart_ptr header.
12692         * Painter.C: ditto
12693         * gettext.C: ditto
12694         * ShareContainer.h: ditto
12695         * lyx_main.h: ditto
12696         * kbmap.h: ditto
12697         * FontInfo.h: ditto
12698         * BufferView_pimpl.h: ditto
12699         * ColorHandler.h: ditto
12700
12701         * kbmap.C (defkey): change call to shared_ptr::reset
12702
12703 2002-05-21  Juergen Vigna  <jug@sad.it>
12704
12705         * buffer.C (insertErtContents): fix to insert ert asis if it is
12706         non empty. Skip it completely if it contains only whitespaces.
12707
12708 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * BufferView_pimpl.C:
12711         * BufferView2.C: clear selection on paste (bug 393)
12712
12713 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12714
12715         * DepTable.C: include ctime
12716
12717 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12718
12719         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12720
12721 2002-05-14  Juergen Vigna  <jug@sad.it>
12722
12723         * text.C (breakParagraph): fixed function to honor the keepempty
12724         layout in the right maner and also to permit the right breaking
12725         algorithm on empty or non empyt keepempty paragraphs.
12726
12727         * paragraph.C (breakParagraph): we have to check also if the par
12728         is really empty (!size()) for isempty otherwise we do the wrong
12729         paragraph break.
12730
12731 2002-05-10  Juergen Vigna  <jug@sad.it>
12732
12733         * buffer.[Ch] : The following are only changes to the ert
12734         compatibility read reading old LaTeX layout and font stuff and
12735         convert it to ERTInsets.
12736
12737         * buffer.h: added isErtInset().
12738
12739         * buffer.C (struct ErtComp): add a fromlayout bool to check
12740         if we're inside a LaTeX layout.
12741         (isErtInset): new helper function.
12742         (insertErtContents): look for other ert insets before this one
12743         and insert the contents there, so that we don't have subsequent
12744         ERT insets with nothing between them. This way we create only one
12745         inset with multiple paragraphs. Also check if we don't insert only
12746         spaces ' ' as they are ignored anyway afterwards in the .tex file
12747         so if we have only spaces we will ignore this latex part in the
12748         new file.
12749         (parseSingleLyXformat2Token \\layout): better compatibility when
12750         reading layout-latex stuff.
12751         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12752         language tag.
12753         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12754         stuff after reading the inset only get the information back from
12755         the stack.
12756
12757 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12758
12759         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12760
12761         * LaTeXFeatures.C (getBabelOptions): New method.
12762
12763 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12764
12765         * BufferView_pimpl.C (Dispatch): work around missing argument for
12766         'layout'
12767
12768 2002-05-08  Juergen Vigna  <jug@sad.it>
12769
12770         * text.C (leftMargin): handle paragraph leftindent.
12771
12772         * paragraph.C (writeFile): write the new \\leftindent tag.
12773         (validate): handle leftindent code.
12774         (TeXEnvironment): handle paragraphleftindent code again.
12775
12776         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12777
12778         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12779         for paragrap_extra indent code and new token \\leftindent.
12780         (latexParagraphs): handle the leftindent as environment.
12781
12782         * ParameterStruct.h: added leftindent support.
12783
12784         * ParagraphParameters.C (leftIndent): added support functions for
12785         the paragraph left indent.
12786
12787         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12788         more appropriate.
12789
12790 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12791
12792         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12793         inside insetERT.
12794
12795         * text.C (computeBidiTables): No bidi in insetERT.
12796
12797         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12798         in RTL documents.
12799
12800 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12801
12802         * version.C.in: pre 5
12803
12804 2002-05-02  José Matos  <jamatos@fep.up.pt>
12805         * buffer.C (makeDocBookFile): white space changes, add newline to
12806         command styles.
12807         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12808
12809         * tabular.C (docBook): fix typo.
12810
12811 2002-05-03  Juergen Vigna  <jug@sad.it>
12812
12813         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12814         change in LyXText as we can not be sure it was not freed.
12815         (drawOneRow): remove unused code.
12816
12817         * text.C (drawInset): redo the calculation of the need_break_row as
12818         it could have a row which was already freed.
12819         (draw): look at the return value of drawInset and return false if
12820         it also returned false.
12821         (paintRowText): look at the return value of draw and return false if
12822         it also returned false.
12823
12824         * lyxtext.h: added bool return type to drawInset() and draw() so that
12825         if we have a change in the row so that the rowbreak has to be redone
12826         we abort drawing as it will be called again.
12827
12828 2002-05-02  Juergen Vigna  <jug@sad.it>
12829
12830         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12831         a change in the maintext also if we're inside an inset.
12832         (Dispatch): set the cursor again after a break line and after the
12833         screen has been updated as it could be we're in a different row.
12834
12835         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12836         to set the cursor behind the pargraph with > size().
12837         (setCursor): check also for the same paragraph when checking where
12838         to put the cursor if we have a NFR inset.
12839
12840         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12841         parts of layout read further up as it still was in the wrong
12842         position.
12843
12844 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12845
12846         * screen.C (drawFromTo): change sine fullRebreak always return
12847         true.
12848
12849         * buffer.C (parseSingleLyXformat2Token): reindent some
12850
12851         * BufferView_pimpl.C (update): change since fullRebreak always
12852         return true.
12853         (Dispatch): git rid of the last hardcoded "Standard"s.
12854
12855 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12856
12857         * text2.[Ch] (fullRebreak): make it return void now that we always
12858         returned true.
12859
12860 2002-04-30  Juergen Vigna  <jug@sad.it>
12861
12862         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12863         ert compatibility check for "latex" layout.
12864
12865 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12866
12867         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12868         minipages: use col% instead of p%, and also use the current font.
12869         (makeLaTeXFile): Fix use babel condition.
12870         (parseSingleLyXformat2Token): Correct font when reading old floats.
12871
12872 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12873
12874         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12875         inserting list of floats.
12876
12877 2002-04-25  Herbert Voss  <voss@lyx.org>
12878
12879         * MenuBackend.C (expand): don't add the graphics extensions to the
12880         export menu
12881
12882 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12883
12884         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12885         non-existing layout, do not complain if it was the default layout
12886         of the original class (bug #342)
12887
12888 2002-04-24  Juergen Vigna  <jug@sad.it>
12889
12890         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12891         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12892
12893 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12894
12895         * buffer.C (getBibkeyList): If using \bibliography, return the
12896         option field with the reference itself. Enables us to provide natbib
12897         support when using \bibliography.
12898
12899 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12900
12901         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12902
12903         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12904         natbib is provided by the LaTeX class.
12905
12906 2002-04-23  Juergen Vigna  <jug@sad.it>
12907
12908         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12909         Wakeup functions.
12910
12911         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12912
12913 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12914
12915         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12916
12917         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12918         ensuremath around textordmasculine, textordfeminine and
12919         textdegree.
12920
12921 2002-04-19  Juergen Vigna  <jug@sad.it>
12922
12923         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12924         reinitializing the buffer otherwise row-dimensions may be wrong.
12925         (update): reset also the selection cursors if they do exits otherwise
12926         their x/y positions may be wrong.
12927
12928         * text2.C (cursorDown): don't enter the inset if we came from a row
12929         above and are one row over the inset.
12930
12931         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12932         really leaving an inset.
12933
12934 2002-04-18  Juergen Vigna  <jug@sad.it>
12935
12936         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12937         of the selected paragraph does not have the selected layout also if
12938         the last one had!
12939
12940         * text2.C (setLayout): fixed bug which did not change last selected
12941         paragraph.
12942
12943         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12944         changed the read and substituted \\end_float with \\end_inset!
12945
12946         * BufferView_pimpl.C (cursorPrevious):
12947         (cursorNext): fixed to make it work with rows heigher than the work
12948         area without moving the cursor only the draw of the row.
12949         (workAreaMotionNotify): fix jumping over high rows.
12950
12951 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12954         Ressler.
12955
12956 2002-04-16  Juergen Vigna  <jug@sad.it>
12957
12958         * text2.C (setCursor): set also the irow().
12959         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12960         (cursorUp):
12961         (cursorDown): support for locking an inset if the x_fix value goes
12962         inside it. That way I can transverse insets too with cursor up/down.
12963
12964         * lyxrow.h: added irow helper function same as other (i) functions.
12965
12966         * BufferView_pimpl.C (cursorPrevious):
12967         (cursorNext): fixed for insets!
12968
12969 2002-04-15  Juergen Vigna  <jug@sad.it>
12970
12971         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12972         position otherwise it is wrong in some cases.
12973
12974         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12975         inside the inset before the call.
12976
12977 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12978
12979         * buffer.[Ch] (getBibkeyList): make it const.
12980
12981 2002-04-12  Juergen Vigna  <jug@sad.it>
12982
12983         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12984
12985         * text2.C (getCursorX): new helper function
12986         (setCursor): compute also ix_
12987         (setCursorFromCoordinates): set also ix.
12988
12989         * lyxcursor.h: added ix_ and helper functions.
12990
12991         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12992
12993         * buffer.C (insertStringAsLines): dont break paragraph if the this
12994         paragraph is inside an inset which does not permit it!
12995
12996         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12997         also with no chars on this paragraph.
12998         (paintRowText): only paint stuff if it's inside the workarea!
12999
13000         * paragraph.C (breakParagraph): honor keepempty flag and break the
13001         paragraph always below not above.
13002
13003         * BufferView2.C (unlockInset): update the paragraph layout on inset
13004         unlock as we changed paragraph in such a case.
13005
13006         * lyxfind.C (LyXFind): clear the former selection if not found!
13007
13008         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13009         again called in insertChar().
13010
13011         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13012         an inset which uses the whole row!
13013         (rightMargin): ditto.
13014         (insertChar): force a rebreak if we inserted an inset!
13015
13016 2002-03-28  Herbert Voss  <voss@lyx.org>
13017
13018         * lyxlength.[Ch]: add inBP() to get the right PS-point
13019         units (BigPoint). With inPixels we have rounding errors
13020
13021 2002-04-11  Juergen Vigna  <jug@sad.it>
13022
13023         * text2.C (setCursorFromCoordinates): set iy to the right value.
13024         (setCursor): add check if row->previous exists!
13025
13026         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13027         an old float_type as this was the case in the old code!
13028
13029         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13030
13031         * BufferView2.C (showLockedInsetCursor): use iy
13032         (fitLockedInsetCursor): ditto
13033
13034         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13035         locked insets as there we have the right value now.
13036
13037         * lyxcursor.C: added iy_ variable and iy functions to set to the
13038         baseline of cursor-y of the locked inset.
13039
13040         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13041         (setCursor): fixed for insets which need a full row.
13042
13043         * text.C (rowLastPrintable): don't ignore the last space when before
13044         an inset which needs a full row.
13045         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13046         as last character of a row when before a inset which needs a full row.
13047
13048 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13049
13050         * version.C.in: update date
13051
13052         * text2.C (fullRebreak): try to always return true and see what
13053         happens...
13054
13055 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13056
13057         * MenuBackend.C (expand): use Floating::listName
13058
13059         * FloatList.C (FloatList): add listName argument to the built-in
13060         floats
13061
13062         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13063         text associated with the float.
13064
13065 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13066
13067         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13068
13069 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13070
13071         * ShareContainer.h: add a couple of missing typenames.
13072
13073 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13074
13075         * lyxrc.C (getDescription): use _() correctly rather than N_().
13076
13077 2002-03-28  Herbert Voss  <voss@lyx.org>
13078
13079         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13080         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13081
13082 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13083
13084         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13085         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13086
13087 2002-03-29  Juergen Vigna  <jug@sad.it>
13088
13089         * lyxfunc.C (dispatch): add a missing fitCursor call.
13090
13091         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13092         it was scrolled by a cursor move, so return the bool status.
13093
13094         * BufferView.C (fitCursor): return the bool flag also to the outside
13095         world as this is needed.
13096
13097         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13098
13099         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13100         call the edit() as it is not needed (and wrong) IMO.
13101         (workAreaButtonPress): set the screen_first variable before evt.
13102         unlock the inset as this may change screen_first and then we have
13103         a wrong y position for the click!
13104
13105 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13106
13107         * MenuBackend.C (expand): another translation that I missed
13108
13109 2002-03-28  Juergen Vigna  <jug@sad.it>
13110
13111         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13112
13113         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13114
13115 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13116
13117         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13118
13119         * MenuBackend.C (expand): fix export/view/update when there is no
13120         document open.
13121
13122 2002-03-27  Herbert Voss  <voss@lyx.org>
13123
13124         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13125         and text%
13126
13127 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13128
13129         * bufferview_funcs.C (currentState): only show paragraph number
13130         for is DEVEL_VERSION is set.
13131
13132         * lyxfunc.C (dispatch): put warning in INFO channel
13133
13134         * MenuBackend.C (expand): translate the name of floats
13135
13136         * FloatList.C (FloatList): mark the float names for translation
13137
13138         * converter.C (convert): use LibScriptSearch
13139
13140 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13141
13142         * MenuBackend.C (defaults): fix default menu (we might as well get
13143         rid of it...)
13144
13145 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13146
13147         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13148         directory.
13149
13150 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13151
13152         * lyxvc.C: reorder includes.
13153
13154 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13155
13156         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13157           properly
13158
13159 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13160
13161         * CutAndPaste.C: change layouts earlier on paste
13162           to avoid crashing when calling getFont()
13163
13164 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13165
13166         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13167         irritating #error.
13168
13169 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13170
13171         * WorkArea.C: remove 'Pending' debug message.
13172
13173         * most files: ws cleanup
13174
13175         * buffer.[Ch]: ws changes
13176
13177         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13178
13179 2002-03-21  Juergen Vigna  <jug@sad.it>
13180
13181         * tabular.C (SetMultiColumn): collapse also the contents of the
13182         cells and set the last border right. Added a Buffer const * param.
13183
13184 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13185
13186         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13187         linking or not.
13188
13189 2002-03-19  Juergen Vigna  <jug@sad.it>
13190
13191         * text2.C (clearSelection): reset also xsel_cache.
13192
13193         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13194         where it needs to be called (John tells us to do so too :)
13195         (selectionLost): reset sel_cache.
13196
13197         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13198
13199 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13200
13201         * text2.C (setCursorIntern): put debuging code in INSETS channel
13202
13203 2002-03-19  André Pönitz <poenitz@gmx.net>
13204
13205         * lyxfunc.C: tiny whitespace change
13206
13207 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13208
13209         * ToolbarDefaults.C (init):
13210         * LyXAction.C (init):
13211         * commandtags.h:
13212         * BufferView_pimpl.C (Dispatch):
13213         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13214
13215 2002-03-19  Allan Rae  <rae@lyx.org>
13216
13217         * exporter.C (Export): removeAutoInsets before doing anything else.
13218         While I've just introduced a dependency on BufferView this really is
13219         the best place to clean the buffer otherwise you need to cleanup in
13220         a dozen places before calling export or cleanup in a dozen functions
13221         that export calls.
13222
13223         * converter.C (runLaTeX):
13224         (scanLog): Better handling of removeAutoInsets and screen updates.
13225
13226         * lyxfunc.C (dispatch): small whitespace changes
13227
13228 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13229
13230         * WorkArea.C (C_WorkAreaEvent): return a value.
13231         (event_cb): return 1 if we handled the event, 0 otherwise.
13232
13233         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13234
13235 2002-03-18  Juergen Vigna  <jug@sad.it>
13236
13237         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13238         (GetAdditionalWidth): ditto.
13239         (RightLine): ditto.
13240         (LeftLine): ditto.
13241
13242         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13243         inset if we're there actually (probably not used right now but this
13244         is the direction to go for unifying code).
13245         (paste): disable code to clear the selection.
13246
13247         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13248         inside an InsetText and move the check further up as it is in the
13249         wrong place.
13250
13251         * text2.C (pasteSelection): set a selection over the pasted text.
13252
13253 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13254
13255         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13256         and libgraphics to build on Cygwin.
13257
13258 2002-03-15  Juergen Vigna  <jug@sad.it>
13259
13260         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13261         inserting an Inset into the paragraph. I know this is not the best
13262         fix but we already use current_view in CutAndPaste so we will remove
13263         all of it's using at the same time.
13264
13265         * buffer.C (sgmlError): deactivated function till it is rewritten in
13266         the right mode, now it can create problems.
13267
13268         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13269         before accessing it.
13270
13271 2002-03-14  Juergen Vigna  <jug@sad.it>
13272
13273         * undo_funcs.C (textHandleUndo): do the right thing when updating
13274         the inset after the undo/redo.
13275
13276         * text2.C (setCursor): just some testcode for #44 not ready yet.
13277
13278         * undo_funcs.C (textHandleUndo): set the next() and previous()
13279         pointers of the paragraph to 0 before deleting otherwise we have
13280         problems with the Paragraph::[destructor].
13281
13282         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13283         on a paragraph insertion.
13284
13285 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13286
13287         * buffer.C (asciiParagraph): use += operator for char append to
13288         string.
13289
13290         * paragraph.C (getFontSettings): compare >= not just >
13291         (highestFontInRange): ditto
13292         (setFont): ditto
13293
13294 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13295
13296         * paragraph.C: change several algorithm to be more appripriate for
13297         the problem domain. This is lookip in FontList and in the InsetList.
13298
13299 2002-03-13  André Pönitz <poenitz@gmx.net>
13300
13301         * commandtags.h:
13302         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13303
13304 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13305
13306         * commandtags.h:
13307         * LyXAction.C:
13308         * lyxfunc.C:
13309         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13310
13311 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13312
13313         * Painter.C (display): anon helper function, adjust code for this
13314         change.
13315         (pixmap): remove function.
13316
13317         * Painter.h: remove private display variable.
13318
13319         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13320
13321 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13322
13323         * WorkArea.[Ch]: remove figinset_canvas cruft.
13324
13325 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13326
13327         * lyxtextclass.C (operator): add one item cache optimization.
13328
13329         * bufferlist.h: doxy changes
13330
13331         * bufferlist.C: ws changes
13332
13333         * DepTable.[Ch] (ext_exist): place const in the right spot.
13334
13335         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13336         call resizeInsets.
13337         (workAreaExpose): call resizeInsets when the with BufferView changes.
13338         (Dispatch): adjust for protectedBlank removal
13339         (specialChar): call updateInset if the insert went ok.
13340
13341         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13342         specialChar instead.
13343
13344         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13345
13346         * BufferView.h: doxy change
13347
13348         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13349
13350         * lyxtextclass.C (operator[]): remove non-const version
13351         (defaultLayout): remove non-const version
13352
13353 2002-03-12  Juergen Vigna  <jug@sad.it>
13354
13355         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13356         did resize the LyXText too.
13357
13358         * buffer.C (readLyXformat2): set layout information on newly allocated
13359         paragraphs.
13360
13361         * tabular.C (OldFormatRead): set layout information on the paragraph.
13362
13363 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13364
13365         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13366
13367 2002-03-11  Juergen Vigna  <jug@sad.it>
13368
13369         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13370         plainly wrong.
13371         (resizeCurrentBuffer): force also the insets to resize themselfes.
13372         (moveCursorUpdate): fixed up for InsetText.
13373
13374 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13375
13376         * commandtags.h:
13377         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13378         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13379         value of Dialogs::tooltipsEnabled().
13380         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13381
13382 2002-03-08  Juergen Vigna  <jug@sad.it>
13383
13384         * BufferView_pimpl.C (updateInset): update inset inside inset also
13385         if it isn't inside theLockingInset().
13386
13387 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13388
13389         * buffer.C (asciiParagraph): redo some of the word and line length
13390         handling.
13391         (getLists): look for Caption instead of caption.
13392
13393 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13394
13395         * buffer.C (Buffer): initialize niceFile to true
13396         (makeLaTeXFile):
13397         (makeLinuxDocFile):
13398         (makeDocBookFile): make sure niceFile is true on exit
13399
13400 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13401
13402         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13403
13404 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13405
13406         * LyXSendto.C: remove.
13407         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13408         * lyx_gui.C: remove now-redundant comment.
13409         * ColorHandler.h: remove forward declaration of class WorkArea.
13410         * lyxfunc.C: remove #include "WorkArea.h".
13411
13412 2002-03-07  Juergen Vigna  <jug@sad.it>
13413
13414         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13415         got moved away with the DEPM and also set the inset_owner always
13416         right which before could have been omitted.
13417
13418 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13419
13420         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13421         wanted layout is not found.
13422
13423 2002-03-07  Juergen Vigna  <jug@sad.it>
13424
13425         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13426
13427 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13428
13429         * paragraph.C (breakParagraph): use default layout not layout of
13430         prev paragraph.
13431         (Paragraph): clear ParagraphParameters.
13432
13433 2002-03-06  Juergen Vigna  <jug@sad.it>
13434
13435         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13436         otherwise it would not be a valid lenght. Fixed a special case in
13437         the minipage compatibility read where we end the document with a
13438         minipage.
13439
13440         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13441         was set as it could be 0 for InsetTexts first entry.
13442
13443 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13444
13445         * paragraph.C (writeFile): if layout is empty write out
13446         defaultLayoutName().
13447
13448         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13449         file without named layout we set layout to defaultLayoutName().
13450
13451 2002-03-06  Juergen Vigna  <jug@sad.it>
13452
13453         * CutAndPaste.C (copySelection): set layout for new paragraph.
13454
13455         * text.C (prepareToPrint): leave ERT inset left aligned
13456         (leftMargin): don't indent paragraphs inside ERT insets
13457
13458 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13459
13460         * paragraph.C (breakParagraph): dont call clear do the work manually
13461
13462         * paragraph.[Ch] (clear): remove function
13463
13464 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13465
13466         * paragraph.C (Paragraph): dont call clear, the work has already
13467         been done.
13468
13469         * lyxtextclass.C (operator): assert if n is empty
13470
13471         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13472         work manually instead.
13473
13474 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13475
13476         * BufferView_pimpl.C: protect selectionLost against text == 0
13477
13478 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13479
13480         * text.C (breakParagraph): fix a setting layout to '0' problem.
13481
13482 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13483
13484         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13485         final location of file, for the included files, and graphics.
13486
13487 2002-03-05  Juergen Vigna  <jug@sad.it>
13488
13489         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13490
13491 2002-03-04  Juergen Vigna  <jug@sad.it>
13492
13493         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13494
13495         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13496         last column of multicolumn cells.
13497         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13498
13499 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13500
13501         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13502         file if it doesn't go to a temporary file.
13503
13504         * buffer.C (sgmlOpenTag):
13505         (sgmlCloseTag):  remove extra newline insertion.
13506
13507 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13508
13509         * text.C (getRowNearY): comment out debug msg
13510
13511 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13512
13513         * text2.C: first -> first_y
13514
13515         * text.C (getRowNearY): add some attemts at a possible
13516         optimization, not working.
13517
13518         * tabular.[Ch]: add BufferParams to several function so that newly
13519         created paragraph can be initialized to he default layotu for the
13520         buffers textclass.
13521
13522         * tabular-old.C (ReadOld): add buf->params to call of Init
13523
13524         * screen.C: rename text->first to text->first_y
13525
13526         * paragraph.C (breakParagraph): always set layout in the broken
13527         paragraph
13528
13529         * lyxtextclass.C (Read): remove lowercase
13530         (hasLayout): ditto
13531         (operator): ditto
13532         (delete_layout): ditto
13533
13534         * lyxtext.h: rename first -> first_y
13535
13536         * lyxlayout.C (Read): remove lowercase
13537         (name): ditto
13538         (setName): ditto
13539         (obsoleted_by): ditto
13540
13541         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13542
13543         * buffer.C (insertErtContents): add params are to InsetERT
13544         (parseSingleLyXformat2Token): add code to check if a paragraphs
13545         layout really exist.
13546         (parseSingleLyXformat2Token): add params to several inset
13547         constructors
13548         (asciiParagraph): remove lowercase, do the layout comparisons with
13549         no_case
13550
13551         * BufferView_pimpl.C (cursorNext): first -> first_y
13552         (resizeCurrentBuffer): first -> first_y
13553         (updateScrollbar): first -> first_y
13554         (scrollCB): first -> first_y
13555         (workAreaMotionNotify): first -> first_y
13556         (workAreaButtonPress): first -> first_y
13557         (checkInsetHit): first -> first_y
13558         (cursorPrevious): first -> first_y
13559         (cursorNext): first -> first_y
13560         (Dispatch): add buffer_->params to severl inset contructors
13561
13562 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13563
13564         * lyxlayout.C (Read): remove some debug info that I forgot.
13565
13566         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13567         clean up the code slightly.
13568         (makeLinuxDocFile): ditto
13569         (makeDocBookFile): ditto
13570
13571         * text2.C: layout as string
13572
13573         * text.C: layout as string
13574
13575         * paragraph_pimpl.C: layout as string
13576
13577         * paragraph.[Ch]: layout as string
13578
13579         * lyxtextclasslist.[Ch]: layout as string
13580
13581         * lyxtextclass.[Ch]: layout as string
13582
13583         * lyxtext.h: layout as string
13584
13585         * lyxlayout.[Ch]: layout as string
13586
13587         * lyx_cb.C: layout as string
13588
13589         * bufferview_funcs.C: layout as string
13590
13591         * bufferparams.C: layout as string
13592
13593         * buffer.C: layout as string
13594
13595         * LyXView.[Ch]: layout as string
13596
13597         * LaTeXFeatures.[Ch]: layout as string
13598
13599         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13600
13601         * BufferView_pimpl.C: change current_layout to string, remove
13602         lyx::layout_type.
13603         (Dispatch):
13604         (smartQuote):
13605         (insertInset):
13606         (workAreaButtonRelease): layout as string
13607
13608         * BufferView2.C (unlockInset): adjust
13609
13610         * vspace.C (asLatexCommand): use an explict temp variable.
13611
13612 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13613
13614         * Makefile.am: use FRONTEND_*
13615
13616 2002-03-01  Juergen Vigna  <jug@sad.it>
13617
13618         * tabular.C (SetWidthOfMulticolCell): changed to something better
13619         I hope but still work in progress.
13620         (recalculateMulticolumnsOfColumn): renamed function from
13621         recalculateMulticolCells as it is more appropriate now.
13622         (SetWidthOfCell): calculate multicols better.
13623
13624 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13625
13626         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13627
13628         * lyxfunc.C (processKeySym): print sequence also if it is
13629         `deleted' (complete)
13630
13631         * kbsequence.C (print): print sequence even if it is deleted
13632         (complete would be a better word, actually).
13633
13634         * lyxfunc.C (dispatch): print complete options after a prefix key
13635
13636         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13637
13638 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13639
13640         * text2.C (setCharFont): eliminate setCharFont code duplication.
13641
13642 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13643
13644         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13645         LFUN_TABULAR_FEATURE (bug #177)
13646
13647 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13648
13649         * Makefile.am: remove figure.h
13650
13651 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13652
13653         * Bufferview_pimpl.C:
13654         * CutAndPasteC:
13655         * LaTeX.C:
13656         * LyXSendto.C:
13657         * buffer.C:
13658         * bufferlist.C:
13659         * converter.C:
13660         * language.C:
13661         * lyxfunc.C:
13662         * lyxvc.C:
13663         * paragraph.C:
13664         * text.C:
13665         * text2.C: remove #include "lyx_gui_misc.h".
13666
13667         * LaTeX.C: added #include <cstdio>
13668
13669 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13670
13671         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13672         that the paragraph following this one can have.
13673
13674         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13675
13676         * vspace.C (asLatexCommand): fix bogus gcc warning
13677
13678         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13679
13680 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13681
13682         * text2.C (setLayout): get rid of redundant code
13683
13684 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13685
13686         * text2.C (incDepth): make sure depth cannot be increased beyond
13687         reasonable values.
13688
13689 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13690
13691         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13692         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13693
13694         * PainterBase.h (image):
13695         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13696         a LyXImage const *.
13697
13698 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13699
13700         * BufferView.C:
13701         * BufferView.h:
13702         * BufferView_pimpl.C:
13703         * BufferView_pimpl.h:
13704         * LaTeXFeatures.C:
13705         * LyXAction.C:
13706         * LyXView.C:
13707         * Makefile.am:
13708         * UpdateList.h:
13709         * UpdateList.C:
13710         * buffer.C:
13711         * figure.h:
13712         * figureForm.C:
13713         * figureForm.h:
13714         * figure_form.C:
13715         * figure_form.h:
13716         * lyx_cb.C:
13717         * lyx_gui.C:
13718         * lyx_gui_misc.C:
13719         * lyxfunc.C:
13720         * sp_base.h:
13721         * sp_ispell.h:
13722         * sp_pspell.h:
13723         * sp_spell.C: remove fig inset, and the crap house of
13724           cards that follows it
13725
13726 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13727
13728         * Makefile.am:
13729         * lyxserver.C:
13730         * os2_defines.h:
13731         * os2_errortable.h:
13732         * nt_defines.h: move .h into support/
13733
13734         * vms_defines.h: remove
13735
13736         * WorkArea.C: add space in debug output
13737
13738         * text2.C:
13739         * paragraph.C:
13740         * buffer.C: add WITH_WARNINGS
13741
13742         * vc-backend.h:
13743         * vc-backend.C:
13744         * bufferlist.C: s/retrive/retrieve/, add docs
13745
13746         * vspace.h:
13747         * vspace.C:
13748         * kbmap.h:
13749         * lyxlength.h:
13750         * lyxgluelength.h:
13751         * length_common.h:
13752         * chset.h:
13753         * chset.C: add docs
13754
13755         * lyxgui.C: add ID to X error handler
13756
13757         * lyxtestclass.c: fix typo
13758
13759 2002-02-26  Juergen Vigna  <jug@sad.it>
13760
13761         * tabular_funcs.C (write_attribute): changed so that some default
13762         attributes are not written at all.
13763         (getTokenValue): set default values before trying to read the
13764         value so we have the return value always set as default if we don't
13765         find the token we search for.
13766
13767         * tabular.C (Write): write bools as bools not as strings!
13768
13769 2002-02-22  Juergen Vigna  <jug@sad.it>
13770
13771         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13772         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13773
13774         * text.C (leftMargin): don't add an indent for paragraphs inside
13775         tabular cells (fix #208).
13776
13777 2002-02-21  José Matos  <jamatos@fep.up.pt>
13778
13779         * tabular.C (docBook): fixed support for long tables.
13780
13781 2002-02-20  Juergen Vigna  <jug@sad.it>
13782
13783         * text2.C (getFont): get the drawing font of the Inset if this
13784         paragraph is inside an inset (only important for InsetERT for now).
13785
13786         * buffer.C (insertErtContents): use new lanugage params in ERT
13787         constructor.
13788
13789         * CutAndPaste.C: commenting out seemingly uneeded code.
13790
13791 2002-02-19  Allan Rae  <rae@lyx.org>
13792
13793         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13794         Iterators might be simple to use but they also get invalidated.
13795         (removeAutoInsets): renamed saved cursor tracking variables and added
13796         some comments to clarify what everything does.
13797
13798 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13799
13800         * Chktex.C:
13801         * LaTeX.C:
13802         * LyXSendto.C:
13803         * converter.C:
13804         * lyx_cb.C:
13805         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13806         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13807
13808         * lyxfunc.C:
13809         * vc-backend.h: remove #include "support/syscall.h"
13810
13811         * LaTeX.C:
13812         * LyXSendto.C:
13813         * converter.C: rearrange #includes in Lars' approved fashion.
13814
13815         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13816         forward declare class Timeout in the header file.
13817
13818         * XFormsView.C: changes due to the above.
13819
13820         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13821         similar to LyXView.
13822
13823         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13824         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13825
13826 2002-02-18  José Matos  <jamatos@fep.up.pt>
13827
13828         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13829         insets contents.
13830
13831 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13832
13833         * a lot of small ws changes
13834         * add a lot of using std::XXX
13835         * use std construcs some places where approp.
13836         * use some exisint stuff from lyxfunctional where approp.
13837         * Make file changes to use partial linking (lets test this now...)
13838
13839 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13840
13841         * Chktex.C:
13842         * buffer.C:
13843         remove #include "support/syscontr.h" as it's redundant. Always has been.
13844
13845         * Chktex.C:
13846         * LaTeX.C:
13847         * LyXSendto.C:
13848         * converter.C:
13849         * lyx_cb.C:
13850         * vc-backend.C:
13851         change Systemcalls::System to Systemcalls::Wait and
13852         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13853         No change of functionality, just reflects the stripped down Systemcalls
13854         class.
13855
13856 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13857
13858         * debug.[Ch]: add a GRAPHICS type to the enum.
13859
13860 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13861
13862         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13863
13864         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13865         there is an inset.
13866
13867 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13868
13869         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13870         match the changes below.
13871
13872         * text2.C (toggleInset): if there is not editable inset at cursor
13873         position, try to see if cursor is _inside_ a collapsable inset
13874         and close it.
13875
13876 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13877
13878         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13879         document menu has a nice checkbox
13880
13881 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13882
13883         * lyxlength.C (asLatexString): change PW to output as percent of
13884         \textwidth.
13885
13886         * lengthcommon.C: change '%' to 't%'
13887
13888         * lyxfunc.C (dispatch): a few comments from Martin
13889
13890 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13891
13892         * WorkArea.h:
13893         * WorkArea.C:
13894         * BufferView_pimpl.h:
13895         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13896           the X selection.
13897
13898 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13899
13900         * vspace.C (inPixels): fix compiler warning
13901
13902 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13903
13904         * lyxfunc.C (getStatus): fix status message for disabled commands.
13905
13906 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13907
13908         * BufferView_pimpl.C: fix crash on close buffer
13909         during selection (#227)
13910
13911 2002-01-27  Herbert Voss  <voss@lyx.org>
13912
13913         * buffer.C: link old Figure to new graphic inset
13914
13915 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13916
13917         * FontLoader.C (getFontinfo): Change the latex font names in order
13918         to match the names of type1inst.
13919
13920 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13921
13922         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13923
13924         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13925         (extchanged): ditto
13926         (ext_exist): ditto
13927         (remove_files_with_extension): ditto
13928         (remove_file): ditto
13929         (write): ditto
13930
13931         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13932         document is smaller than the work area height. Do not initialize
13933         static variables to 0.
13934
13935 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13936
13937         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13938
13939         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13940         LFUN_LAYOUT_PARAGRAPHS.
13941
13942         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13943         tabular. It is possible to provide a possible cell, which will
13944         typically be the actcell from the corresponding insettabular
13945
13946         * lyxfunc.C (getStatus): small cleanup; disable
13947         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13948         true
13949
13950 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13951
13952         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13953
13954         * paragraph.C (startTeXParParams):
13955         (endTeXParParams): new methods. The LaTeX code to
13956         start/end paragraph formatting
13957         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13958         empty (fixes bug #200)
13959
13960         * vspace.C (inPixels): adapt to the change below
13961         (inPixels): [later] more cleanups (remove unused variables)
13962
13963         * lyxlength.C (inPixels): change to use a width and a height as
13964         parameter.
13965
13966 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13967
13968         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13969         Replaced with \paperwidth
13970
13971         * DepTable.C (insert): add std:: qualifier
13972
13973 2002-01-18  Allan Rae  <rae@lyx.org>
13974
13975         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13976         updated also?
13977
13978         * text.C (drawInset): Turned out I didn't know enough about how
13979         rebreaking worked.  This fixes most of the redraw problems.  I see
13980         an occasional cursor trail when a line is broken now and the cursor
13981         placement can seem out by a few pixels also after a rebreak.
13982
13983 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13984
13985         * buffer.C (parseSingleLyXformat2Token): update because minipage
13986         width is now a LyXLength
13987
13988         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13989
13990         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13991         math insets
13992
13993 2002-01-17  Juergen Vigna  <jug@sad.it>
13994
13995         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13996
13997         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13998         is set correctly and the inset is updated correctly.
13999
14000 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14001
14002         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14003         the beginning of the loop.
14004
14005 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14006
14007         * lyxrc.C: improve help for use_scalable_fonts
14008
14009 2002-01-17  Allan Rae  <rae@lyx.org>
14010
14011         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14012
14013 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14014
14015         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14016         make sure to set their inset_owner to the right value (bug #171)
14017
14018 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14019
14020         * DepTable.h
14021         * DepTable.C: Implement mtime checking to reduce time spent doing
14022         CRCs.
14023
14024 2002-01-16  Juergen Vigna  <jug@sad.it>
14025
14026         * tabular.C (GetAdditionalHeight): one of error fixed.
14027
14028         * lyxrc.C (output): small fix in writing use_pspell.
14029
14030 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14031
14032         * sp_base.h: #include LString.h
14033
14034 2002-01-16  Allan Rae  <rae@lyx.org>
14035
14036         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14037         Can someone check this please?
14038
14039         * text.C (drawInset): It was possible that p.row would be removed by
14040         breakAgainOneRow upsetting a few other settings.  There may be another
14041         small tweak possible by setting need_break_row = 0 when p.row has been
14042         removed but I don't know enough about the logic here.
14043
14044 2002-01-15  Allan Rae  <rae@lyx.org>
14045
14046         * text.C (insertChar): removed conditional truism.
14047
14048         * BufferView2.C (removeAutoInsets): More tweaks.
14049         cur_par_prev could be a stray pointer.  Check for trailing empty line
14050         in case last line was cur_par and only had an error inset on it.
14051
14052 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14053
14054         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14055         absolute
14056
14057         * vc-backend.C (most methods):
14058         * exporter.C (Export):
14059         * converter.C (convert):
14060         (runLaTeX):
14061         * LyXSendto.C (SendtoApplyCB):
14062         * lyxfunc.C (dispatch):
14063         (menuNew):
14064         (open):
14065         (doImport):
14066         * lyx_cb.C (AutoSave):
14067         (InsertAsciiFile):
14068         * BufferView_pimpl.C (MenuInsertLyXFile):
14069         * buffer.C (runChktex): use Buffer::filePath().
14070
14071         * buffer.h: rename filename to filename_; rename filepath to
14072         filepath_ and make it private
14073         (filePath): new method
14074
14075         * buffer.C (writeFile): use fileName()
14076         (getLatexName):
14077
14078         * lyx_main.C (init): fix starting  of LyX when the binary is a
14079         link from so,ewhere else.
14080
14081         * minibuffer.C: include <cctype> for isprint
14082
14083 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14084
14085         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14086         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14087         name clash with InsetCollapsable's width function.
14088
14089 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14090
14091         * lastfiles.C: include <iterator>
14092
14093 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14094
14095         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14096         std::count.
14097
14098         * buffer.C (makeLaTeXFile): ditto.
14099         Also make loop operation more transparent.
14100
14101 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14102
14103         * ToolbarDefaults.C: remove trailing comma closing namespace.
14104
14105         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14106
14107         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14108         as in WorkArea.
14109
14110         * trans.C (Load): comment out unused variable, allowed.
14111
14112 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14113
14114         * minibuffer.[Ch] (append_char): new method to recieve input from the
14115         drop-down completion browser. If a key was pressed, then recieve this
14116         char and append it to the existing string.
14117         (peek_event): modify the positioning data passed to the completion
14118         browser so that it can be placed above the minibuffer rather than below.
14119 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14120
14121         * LyXAction.C (init): alloe error-next for readonly documents.
14122
14123         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14124         count.
14125
14126 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14127
14128         * bufferlist.C (readFile): create the buffer _after_ checking that
14129         the file exists.
14130
14131         * lyxfunc.C (verboseDispatch): fix handling of arguments
14132
14133         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14134
14135         * lyxrc.C: use string::erase() instead of initializing to "".
14136
14137
14138 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14139
14140         * BufferView_pimpl.h:
14141         * BufferView_pimpl.C:
14142         * WorkArea.h:
14143         * WorkArea.C:
14144         * text2.C: tell X when we have made a selection for copying
14145
14146 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14147
14148         * BufferView_pimpl.C (MenuInsertLyXFile):
14149         * lyxfunc.C (menuNew):
14150         (open):
14151         (doImport): add shortcuts to directory buttons
14152
14153         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14154         open a float)
14155
14156         * lyxfunc.C (setStatusMessage):
14157         (getStatusMessage): new methods
14158         (getStatus):use setStatusMessage instead of setErrorMessage
14159         (dispatch): when function is disabled, set error message here
14160         [instead of in getStatus previously]
14161
14162         * BufferView_pimpl.C (workAreaButtonRelease): update
14163         toolbar/menubar here too.
14164
14165 2002-01-13  Allan Rae  <rae@lyx.org>
14166
14167         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14168         Now seems indestructible.  Remaining task is to audit all other
14169         code affected by deleteEmptyParagraphMechanism.  One small quirk
14170         left is that an empty document with an error in the preamble can
14171         be made to report an error but no error box appears.  I don't know
14172         where it goes.
14173         (removeAutoInsets): Improved comments.
14174
14175 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14176
14177         * Thesaurus.h:
14178         * Thesaurus.C: update for Aiksaurus 0.14
14179
14180 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14181
14182         * text2.C (firstParagraph): removed member function, all uses
14183         replaces with ownerParagraph
14184         (redoParagraphs): here
14185         (updateInset): here
14186         (toggleAppendix): here
14187         * BufferView2.C (insertErrors): here
14188         (setCursorFromRow): here
14189
14190 2002-01-13  Allan Rae  <rae@lyx.org>
14191
14192         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14193         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14194         There is still a way to segfault this although you may have to do this
14195         multiple times: Have an InsetERT with an unknown command in it.
14196         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14197         <down-arrow>, <Enter> again, View->DVI, BANG!
14198
14199         * text2.C (setCursor):
14200         (deleteEmptyParagraphMechanism):
14201         * lyxtext.h (setCursor):
14202         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14203         Making use of the return value may help fix other bugs.
14204
14205 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14206
14207         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14208
14209         * LyXView.C (updateMenubar): call MenuBar::update here
14210         (updateToolbar): but not here
14211         (showState): do not update toolbar/menubar
14212
14213         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14214         should need to care about that.
14215
14216         * lyxfunc.C (verboseDispatch): simplify a bit
14217         (getStatus): have a version which takes a pseudoaction, and
14218         another which requires a (kb_action,string).
14219
14220         * LyXAction.C (retrieveActionArg): make it work also when action
14221         is not a pseudo-action.
14222         (getActionName): simplify a bit
14223         (helpText):
14224
14225 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14226
14227         * lyxfunc.C (verboseDispatch): new families of methods with
14228         several ways to specify a command and a bool to indicate whether
14229         the command name and shortcut should be displayed in minibuffer
14230         (eventually, we could extend that to a finer bitmask like
14231         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14232         (dispatch): the pristine dispatch command which just, well,
14233         dispatchs! Note it still sets its result to minibuffer; I'm not
14234         sure we want that.
14235
14236         * lyxfunc.h: remove setHintMessage
14237
14238         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14239
14240 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14241
14242         * BufferView_pimpl.C (specialChar): delete new inset if we have
14243         not been able to insert it.
14244
14245         * kbmap.C: revert to using int instead of kb_action, since all we
14246         are dealing with is pseudo-actions.
14247
14248         * LyXAction.C (searchActionArg): change to return int instead of
14249         kb_action, since the result is a pseudoaction.
14250
14251 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14252
14253         * buffer.C (insertErtContents): Fix (partially) the font bug.
14254
14255 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14256
14257         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14258         as the other one is broken on my machine!
14259
14260 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14261
14262         * commandtags.h:
14263         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14264
14265 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14266
14267         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14268         reflect their actual use. Provide compatibility code for older lyxrc
14269         files.
14270
14271         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14272         FL_NORMAL_STYLE.
14273         change names of popup font variables in line with the changes to lyxrc.C
14274
14275 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14276
14277         * buffer.C (asciiParagraph): avoid outputing a word twice after
14278         an inset.
14279
14280         * lyxrc.C (getDescription): document that document_path and
14281         template_path can be empty.
14282
14283 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14284
14285         * LaTeXFeatures.C (getMacros):
14286         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14287
14288         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14289
14290         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14291         getPackages.
14292         (getPackages): rename feature "floats" to "float". Use an array to
14293         iterate over 'simple' features (i.e. just a \usepackage). Add
14294         handling of "amsmath" (renamed from "amsstyle").
14295
14296 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14297
14298         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14299         features list.
14300
14301 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14302
14303         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14304         FuncStaus::FuncStatus & FuncStaus::some_method().
14305
14306 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14307
14308         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14309         of the func_satus stuff. Edited and massaged in various ways by
14310         JMarc.
14311
14312         * lyxfunc.C (getStatus): use FuncStatus
14313
14314 2002-01-08  Juergen Vigna  <jug@sad.it>
14315
14316         * text.C (nextBreakPoint): use function Inset::isChar().
14317
14318         * paragraph.C (TeXOnePar): use function
14319         Inset::forceDefaultParagraphs.
14320
14321         * buffer.C (latexParagraphs): use function
14322         Inset::forceDefaultParagraphs.
14323
14324 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14325
14326         * lyx_gui.C (init): set the style of the menu popups to
14327         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14328
14329 2002-01-07  Juergen Vigna  <jug@sad.it>
14330
14331         * text.C (setHeightOfRow): small fix
14332         (prepareToPrint): don't look at alignment if we don't have the place
14333         for doing it.
14334
14335 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14336
14337         * box.C: New file. Move the Box methods and functions out of box.h,
14338         following Lars' suggestion.
14339
14340 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14341
14342         * box.h: #include "support/LOstream.h", needed for inlined function.
14343
14344         * lyxtextclass.C:
14345         * lyxtextclasslist.C: added some using std declarations.
14346
14347 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14348
14349         * box.h: make signed dimensions to allow insets wider than
14350           the screen (bug #162)
14351
14352         * BufferView_pimpl.C: add some insetHit debug
14353
14354 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14355
14356         * vc-backend.C: add FIXME
14357
14358 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14359
14360         * lyxfunc.C (getStatus): enable code for showing math font status
14361         in toolbar/menu.
14362
14363 2002-01-07  Juergen Vigna  <jug@sad.it>
14364
14365         * text.C (nextBreakPoint): removed debug output not needed anymore.
14366
14367 2002-01-06  Juergen Vigna  <jug@sad.it>
14368
14369         * text.C (nextBreakPoint): fixed up this function we had this bug
14370         since ever but now hopefully we break row better.
14371         (insertChar): we have to check if an inset is the next char as it
14372         could now happen that a large inset is causing a break.
14373
14374 2002-01-05  Juergen Vigna  <jug@sad.it>
14375
14376         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14377         if it doesn't like to be drawed.
14378
14379 2002-01-04  Juergen Vigna  <jug@sad.it>
14380
14381         * BufferView2.C (lockInset): forgot to set a cursor.
14382
14383         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14384
14385 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14386
14387         * FormMathsPanel.C:
14388         * FormMathsPanel.h
14389         * MathsSymbols.C:
14390         * form_maths_panel.C:
14391         * form_maths_panel.h:
14392         * form_maths_panel.fd: implemented sub- and super- buttons in math
14393         panel.
14394
14395         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14396         (or ^ space) to be used as in TeX (req'd by Andr�.
14397
14398         * lyxfunc.C: Allow ^ and _ again to be used both as
14399         super/subscript (mathed) and as themselves (in text).
14400
14401 2002-01-03  Allan Rae  <rae@lyx.org>
14402
14403         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14404         "LyX" or the filename of the current buffer if it has one.  This is a
14405         modified form of John Levon's patch.
14406
14407         * XFormsView.C (setWindowTitle): also set icon title.
14408
14409         * LyXView.h (setWindowTitle): signature changed.
14410         * XFormsView.h (setWindowTitle): ditto.
14411
14412 2002-01-02  Juergen Vigna  <jug@sad.it>
14413
14414         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14415
14416 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14417
14418         * screen.C (topCursorVisible): introduce a temp var for
14419         text->cursor.row(), handle the case where this row is null. (kindo
14420         hachish)
14421
14422         * text2.C (setCursor): add a couple of asserts.
14423
14424         * paragraph.h (inset_iterator): add -> operator
14425
14426         * paragraph.[Ch] (autoDeleteInsets): remove member function
14427
14428         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14429         cursor pos correctly and handle inset deletion by itself.
14430         (insertErrors): move iterator declaration out of for expression
14431
14432         * lyxtextclass.C: add <algorithm>
14433
14434         * Makefile.am: added the new files to sources, removed layout.C
14435
14436         * layout.C: removed file
14437
14438         * layout.h: remove LYX_DUMMY_LAYOUT
14439
14440         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14441         layout.
14442
14443         * lyxlayout.[Ch]:
14444         * lyxtextclass.[Ch]:
14445         * lyxtextclasslist.[Ch]: new files
14446
14447         * include order changes to a lot of files, also changes because of
14448         the six new files.
14449
14450 2001-12-27  Juergen Vigna  <jug@sad.it>
14451
14452         * buffer.C (asciiParagraph): more fixes.
14453
14454         * tabular.C (ascii): make ascii export support export of only the
14455         data separated by a column-delimiter.
14456         (ascii): better support for ascii export.
14457
14458         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14459
14460 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14461
14462         * tabular_funcs.C: use a "using std::getline" instead of the
14463         previous fix from Angus (necessary for cxx + lyxstring)
14464
14465 2001-12-24  Juergen Vigna  <jug@sad.it>
14466
14467         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14468
14469         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14470         problems. First check a minipage also if we have some ert-contents
14471         (not only on par->size(), second set the right depth of the paragraph
14472         on the relink to the root-paragraph-list!
14473
14474         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14475         which then did not anymore update the main paragraphs on undo/redo!
14476
14477 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14478
14479         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14480         code. Support all font-changing funcs (even those which are not in
14481         menu currently). Support for reporting font settings in
14482         mathed (disabled until Andre provides a function on mathed's side).
14483
14484         * func_status.h (toggle): small helper function to set toggle
14485         state on a flag.
14486
14487 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14488
14489         * tabular_funcs.C: getline -> std::getline
14490
14491 2001-12-21  Juergen Vigna  <jug@sad.it>
14492
14493         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14494         accessed and could be 0 (I couldn't generate this but it seems
14495         Michael could!).
14496
14497 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14498
14499         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14500         * tabular_funcs.h: here and include iosfwd
14501
14502 2001-12-20  Juergen Vigna  <jug@sad.it>
14503
14504         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14505         inside inset but undo_par was.
14506
14507 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14508
14509         * Thesaurus.C: always include <config.h> in sources.
14510
14511         * Painter.h:
14512         * lyxlookup.h:
14513         * box.h: do not include <config.h> in header files
14514
14515         * text.C (paintLastRow): remove unused variable
14516
14517         * text.C (transformChar):
14518         (insertChar):
14519         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14520
14521         * Painter.C (text):
14522         * font.C (width): rewrite to use uppercase() instead of
14523         islower/toupper.
14524
14525         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14526
14527 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14528
14529         * lyxfind.C: clean up of find failure position change
14530
14531 2001-12-20  Juergen Vigna  <jug@sad.it>
14532
14533         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14534
14535         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14536         (TeXRow): added to LaTeX a single tabular row.
14537         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14538         (Latex): simplified and finally good LT-h/f support.
14539         (various_functions): just small adaptions for LT-h/f support.
14540
14541         * tabular_funcs.[hC]: added and moved here all not classfunctions
14542         of LyXTabular.
14543
14544 2001-12-19  Juergen Vigna  <jug@sad.it>
14545
14546         * tabular.[Ch]: better support for longtabular options (not finished
14547         yet!)
14548
14549 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14550
14551         * text.C (paintLastRow): use the label font instead of the font of
14552         the last character to compute the size of *_BOX. This makes more
14553         sense and avoids a crash with empty paragraphs.
14554         Use Painter::rectangle to draw EMPTY_BOX.
14555
14556 2001-12-19  Juergen Vigna  <jug@sad.it>
14557
14558         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14559         the paragraphs if the replaced paragraph is not the first one!
14560         Tried to delete not used paragraphs but does not work yet so for
14561         now it's inside #ifdef's and by default off!
14562
14563 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14564
14565         * MenuBackend.C: include "lyx_main.h" instead of declaring
14566         lastfiles (actually was declared as LastFiles* instead of a
14567         scoped_ptr).
14568
14569 2001-12-17  Juergen Vigna  <jug@sad.it>
14570
14571         * tabular.C (AppendColumn): applied John's fix
14572
14573 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14574
14575         * BufferView.h:
14576         * BufferView.C:
14577         * BufferView_pimpl.h:
14578         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14579
14580         * Makefile.am:
14581         * box.h: new start of class for above
14582
14583         * lyxfunc.C: ignore space-only minibuffer dispatches.
14584           Show the command name when it doesn't exist
14585
14586         * minibuffer.C: don't add empty lines to the history
14587
14588         * minibuffer.C: add a space on dropdown completion
14589
14590 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14591
14592         * text.C: fix line above/below drawing in insets
14593
14594 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14595
14596         * lyxlength.C (LyXLength): Initialize private variables.
14597
14598 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14599
14600         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14601         when inserting error insets.
14602
14603 2001-12-13  Juergen Vigna  <jug@sad.it>
14604
14605         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14606         actually sometimes the before-paragraph.
14607         (setUndo): don't clear the redostack if we're not actually undoing!
14608
14609 2001-12-06  Juergen Vigna  <jug@sad.it>
14610
14611         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14612         and fixed redoing of main paragraph, so we can use it now ;)
14613
14614         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14615
14616 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14617
14618         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14619         Juergen's request
14620
14621 2001-12-13  André Pönitz <poenitz@gmx.net>
14622
14623         * undostack.[Ch]:
14624         * undo_func.C: minor cleanup
14625
14626 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14627
14628         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14629         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14630         font in urw-fonts package which is marked as -urw-fontspecific and
14631         does not work (incidentally, changing the encoding in the
14632         fonts.dir of this package to -adobe-fontspecific fixes the
14633         problem).
14634
14635         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14636         is a crash when undoing first paragraph (Juergen, please take a
14637         look). THis does not mean the undo fix is wrong, just that it
14638         uncovers problems.
14639
14640         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14641         the (Paragraph*) version when needed instead of duplicating the
14642         code.
14643
14644         * text.C (workWidth): use Inset::parOwner to find out where the
14645         inset has been inserted. This is a huge performance gain for large
14646         documents with lots of insets. If Inset::parOwner is not set, fall
14647         back on the brute force method
14648
14649         * paragraph_pimpl.C (insertInset):
14650         * paragraph.C (Paragraph):
14651         (cutIntoMinibuffer): set parOwner of insets when
14652         inserting/removing them
14653
14654         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14655
14656 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14657
14658         * commandtags.h:
14659         * LyXAction.C:
14660         * lyx_main.C:
14661         * lyxfunc.C:
14662         * mathed/formulabase.C:
14663         * mathed/math_cursor.[Ch]:
14664         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14665
14666
14667 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14668
14669         * lyxlength.[Ch] (operator!=): new function
14670
14671 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14672
14673         * text.C (workWidth): use Inset::parOwner to find out where the
14674         inset has been inserted. This is a huge performance gain for large
14675         documents with lots of insets. If Inset::parOwner is not set, fall
14676         back on the brute force method
14677
14678         * paragraph_pimpl.C (insertInset):
14679         * paragraph.C (Paragraph):
14680         (cutIntoMinibuffer): set parOwner of insets when
14681         inserting/removing them
14682
14683         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14684
14685 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14686
14687         * tabular-old.C (getTokenValue):
14688         * tabular.C (getTokenValue):
14689         (write_attribute): new versions for LyXLength
14690         (everywhere): adjust the use of widths
14691
14692         * tabular.h: change the type of widths from string to LyXLength
14693
14694 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14695
14696         * paragraph.C: fixed missing line number count when exporting
14697         Environments to LaTeX file
14698
14699         * buffer.C: added informational message for checking line numbers.
14700
14701 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14702
14703         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14704         paragraph, do the 'double space' part, but not the 'empty
14705         paragraph' one.
14706
14707         * text.C (workWidth): small optimization
14708         (getLengthMarkerHeight): use minimal size for negative lengths.
14709
14710 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14711
14712         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14713
14714         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14715
14716 2001-12-11  André Pönitz <poenitz@gmx.net>
14717
14718         * FontLoader.C:
14719         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14720
14721 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14722
14723         * text2.C: keep selection on a setFont()
14724
14725 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14726
14727         * lyx_cb.C: another bv->text misuse, from insert label
14728
14729 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14730
14731         * kbsequence.h:
14732         * kbsequence.C: re-instate nmodifier mask
14733
14734 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14735
14736         * lyx_main.h: make lyxGUI private.
14737
14738 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14739
14740         * lyxfind.C: place the cursor correctly on failed search
14741
14742 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14743
14744         * text.C (getLengthMarkerHeight): for small heights, the arrows
14745         are not always on top/bottom of the text
14746         (drawLengthMarker): smaller arrows; take the left margin in
14747         account; draw also vfills.
14748         (paintFirstRow):
14749         (paintLastRow): remove special code for vfill and standard spaces,
14750         since everything is handled in drawLengthMarker now.
14751
14752 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14753
14754         * buffer.C (insertErtContents): try to handle font and language
14755         interaction a bit better.g
14756
14757         * ColorHandler.C (updateColor): change the hash to cover the whole
14758         LColor enum, ws cleanup
14759         (getGCLinepars): ditto
14760         (getGCLinepars): only lookup in the linecache once.
14761
14762 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14763
14764         * iterators.C (operator++): Make the iterator more robust
14765
14766         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14767         (John's patch)
14768         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14769
14770 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14771
14772         * lyxtext.h:
14773         * text.C: better added space drawing
14774
14775 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14776
14777         * LyXView.C:
14778         * BufferView2.C: fix layout combo update on inset unlock
14779
14780 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14781
14782         * Makefile.am: don't compile unused files
14783
14784 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14785
14786         * lyxfunc.C:
14787         * commandtags.h:
14788         * LyXAction.C: remove old LFUN_LAYOUTNO
14789
14790 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14791
14792         * paragraph_pimpl.h:
14793         * paragraph_pimpl.C: isTextAt() doesn't need font param
14794
14795 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14796
14797         * lyxlex.h:
14798         * lyxlex.C: little cleanup
14799
14800 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14801
14802         * BufferView_pimpl.C: fix insertAscii for insets
14803
14804 2001-12-05  Juergen Vigna  <jug@sad.it>
14805
14806         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14807         set the right font on the "multi" paragraph paste!
14808
14809 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14810
14811         * trans_decl.h:
14812         * trans_mgr.[Ch]:
14813         * trans.[Ch]:
14814         * lyxgluelength.C:
14815         * lyxlength.C: remove out-commented code.
14816
14817         * BufferView_pimpl:
14818         * CutAndPaste.C:
14819         * DepTable.C:
14820         * buffer.C:
14821         * chset.C:
14822         * lastfiles.C:
14823         * lyxlex.C:
14824         * lyxlex_pimpl.C:
14825         * lyxserver.C:
14826         * screen.C:
14827         * tabular-old.C:
14828         * tabular.C:
14829         * text.C:
14830         * trans_mgr.C:
14831         * vc-backend.C: change "while(" to "while ("
14832
14833         * lyxlength.[Ch]: add zero function to check if length is zero or
14834         not
14835         * lyxgluelength.C: use it
14836
14837 2001-12-05  Allan Rae  <rae@lyx.org>
14838
14839         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14840         Works for 2.95.3, from what I understand of Garst's reports this should
14841         work for other g++ versions.  We're screwed if the abs(int) definition
14842         changed between bugfix releases of gcc.
14843
14844 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14845
14846         * text.C: fix chapter label offset !
14847
14848 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14849
14850         * lyxtext.h:
14851         * text.C: fix hfill at end of line, clean up
14852
14853 2001-12-04  Juergen Vigna  <jug@sad.it>
14854
14855         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14856         that we force an update of the inset and it's owners if neccessary.
14857
14858 2001-12-03  Juergen Vigna  <jug@sad.it>
14859
14860         * text.C (rowLast): simplified code
14861
14862 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14863
14864         * lyxfunc.C: fix show options on timeout
14865
14866 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14867
14868         * screen.C (topCursorVisible): scroll half a page when the cursor
14869         reached top of bottom of screen
14870
14871 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14872
14873         * minibuffer.C: deactivate on loss of focus
14874
14875 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14876
14877         * vspace.[Ch] (operator!=): add operator.
14878
14879 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14880
14881         * BufferView_pimpl.C: refuse to open an inset when
14882         there's a selection.
14883
14884 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14885
14886         * BufferView_pimpl.C: allow to click on RHS of full row insets
14887
14888 2001-11-30  Juergen Vigna  <jug@sad.it>
14889
14890         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14891         insets for undo reasons.
14892
14893 2001-11-28  André Pönitz <poenitz@gmx.net>
14894
14895         * vspace.[Ch]: cosmetical changes
14896
14897 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14898
14899         * LyXAction.h:
14900         * LyXAction.C:
14901         * lyxfunc.h:
14902         * lyxfunc.C:
14903         * kbmap.h:
14904         * kbmap.C:
14905         * lyxrc.C:
14906         * kbsequence.h:
14907         * kbsequence.C: part re-write of old kb code
14908
14909         * Painter.C:
14910         * WorkArea.C: remove Lgb_bug_find_hack
14911
14912 2001-11-30  José Matos <jamatos@fep.up.pt>
14913
14914         * buffer.C (makeDocBookFile): add a comment to point a hack.
14915         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14916         Fixed a double write of labels.
14917
14918 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14919
14920         * LaTeX.C:
14921         * LaTeX.h Fixed bug in LaTeX class where it would not
14922         re-run latex if no depfiles were changed, but the .dvi was removed.
14923
14924 2001-11-28  André Pönitz <poenitz@gmx.net>
14925
14926         * all the files from the change on 2001/11/26:
14927         use lyx::layout_type instead of LyXTextClass::size_type
14928         use lyx::textclass_type instead of LyXTextClassList::size_type
14929
14930 2001-11-29  Juergen Vigna  <jug@sad.it>
14931
14932         * text.C: added support for paragraph::isFreeSpacing()
14933
14934         * buffer.C: same as above
14935
14936         * paragraph.h: inserted isFreeSpacing() function to enable
14937         FreeSpacing inside InsetERT.
14938
14939         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14940         of the paragraph's in the cut/copy buffer to 0!
14941
14942         * text2.C (removeRow): remove the assert as it can!
14943
14944         * lyxtext.h: added helper function firstRow returning firstrow and
14945         made firstrow private again.
14946
14947         * BufferView2.C (lockInset): don't relock if we're already locked!
14948
14949         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14950         the only paragraph.
14951         (removeRow): added Assert::(firstrow)
14952
14953         * debug.C: forgot to add INSETTEXT here.
14954
14955 2001-11-28  Juergen Vigna  <jug@sad.it>
14956
14957         * sp_spell.C (initialize): changed error text to more general
14958         spellchecker command use (not only ispell!)
14959
14960         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14961
14962         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14963
14964 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14965
14966         * vspace.C: initialise lyxgluelength on failure
14967
14968 2001-11-28  Allan Rae  <rae@lyx.org>
14969
14970         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14971         declaration & definition that looks like a function declaration.
14972
14973 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14974
14975         * BufferView2.C (copy):
14976         (copyEnvironment): do not clear the selection when doing a copy.
14977
14978         * text.C (paintFirstRow): compilation fix
14979
14980 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14981
14982         * tabular.C (Latex): correct line count when writing latex.
14983
14984 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14985
14986         * paragraph_pimpl.h:
14987         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14988           bug a bit
14989
14990 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14991
14992         * text.C:
14993         * LColor.h:
14994         * LColor.C: change vfillline->added_space
14995
14996         * text.C: add markers and text for added space
14997
14998         * vspace.C: fix comment
14999
15000 2001-11-28  André Pönitz <poenitz@gmx.net>
15001
15002         * paragraph.C: whitespace changes
15003         * all the other files from the change on 2001/11/26:
15004         change *::pos_type into lyx::pos_type
15005
15006 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15007
15008         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15009         language of the document when inserting error insets.
15010
15011 2001-11-26  André Pönitz <poenitz@gmx.net>
15012
15013         * BufferView_pimpl.[Ch]:
15014         *       CutAndPaste.C:
15015         * buffer.[Ch]:
15016         * lyxcursor.[Ch]:
15017         * lyxfind.C:
15018         * lyxfunc.C:
15019         * lyxrow.[Ch]:
15020         * paragraph.[Ch]:
15021         * paragraph_pimpl.[Ch]:
15022         * sp_spell.C:
15023         * text.C:
15024         * text2.C: reduce header dependencies, introduce type for positions
15025
15026 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15027
15028         * <various>: change to use Alert.h
15029
15030 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15031
15032         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15033         when encountering an unknown token.
15034         (readLyXformat2): Show an error message if there were unknown tokens.
15035
15036 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15037
15038         * BufferView2.C:
15039         * BufferView_pimpl.C:
15040         * buffer.C:
15041         * paragraph.h:
15042         * text.C:
15043         * text2.C: use par->isInset()
15044
15045 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15046
15047         * paragraph_pimpl.h:
15048         * paragraph_pimpl.C: cleanup
15049
15050 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15051
15052         * text2.C (removeRow):
15053         * text.C (setHeightOfRow): remove useless (and costly) call to
15054         getRow.
15055
15056 2001-11-20  Allan Rae  <rae@lyx.org>
15057
15058         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15059         Now need Inset*::checkInsertChar() to return true for appropriate
15060         cases so that the characters in the minibuffer will actually be
15061         inserted.
15062
15063 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15064
15065         * text.C: change the order of the includes.
15066         (workWidth): initialize it at once.
15067         (workWidth): make maxw unsigned
15068         (setHeightOfRow): remove unused variable (inset)
15069         (selectSelectedWord): remove unused variable (inset)
15070         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15071
15072 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15073
15074         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15075         server is not running.
15076         (openConnection):
15077         (closeConnection): add debug info when server is disabled.
15078
15079         * ColorHandler.C (getGCForeground): send debug message to GUI
15080         channel.
15081
15082         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15083
15084         * kbmap.C (bind): modify because return conventions of
15085         kb_sequence::parse have changed.
15086
15087         * kbsequence.C (parse): only ignore spaces and not any stupid
15088         control character. This avoids tests like s[i] <= ' ', which are
15089         guaranteed to fail with 8bit characters and signed chars.
15090         Change return code to string::npos when there have been no error
15091         (0 was a bad idea when error is at first character)
15092
15093 2001-11-14  José Matos  <jamatos@fep.up.pt>
15094
15095         * buffer.h:
15096         * buffer.C (simpleDocBookOnePar): removed unused argument.
15097
15098 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15099
15100         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15101         insets which are part of a word. Paragraph::isLetter takes care of
15102         that now. Use Paragraph::isInset to identify insets.
15103         (selectSelectedWord): do not test for hyphenation break.
15104
15105         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15106         that protected spaces are considered as spaces.
15107
15108         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15109         Inset::isLetter.
15110
15111 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15112
15113         * lyxserver.h:
15114         * lyxserver.C: fix it. and small cleanup.
15115
15116 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15117
15118         * BufferView_pimpl.C: use inline helpers
15119
15120         * LaTeXFeatures.h:
15121         * LaTeXFeatures.C: fix typos
15122
15123         * Spacing.h:
15124         * Spacing.C: move spacing_string into class
15125
15126         * ToolbarDefaults.C: move stuff into namespace anon
15127
15128         * layout.h: update enum
15129
15130         * lyxfunc.C: use better debug
15131
15132         * minibuffer.h: fix typo
15133
15134         * debug.h:
15135         * debug.C:
15136         * WorkArea.C: add and use Debug::WORKAREA
15137
15138         * lyxtext.h:
15139         * text.C:
15140         * text2.C: code re-organisation, inline helpers
15141
15142 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15143
15144         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15145         std::vector.empty().
15146
15147 2001-11-09  Allan Rae  <rae@lyx.org>
15148
15149         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15150         '\n's after tables.  Tabular and ERT inset work now makes this no
15151         longer necessary.
15152
15153 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15154
15155         * minibuffer.h:
15156         * minibuffer.C: fix crash, improve drop-down completion
15157
15158 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15159
15160         * lyxserver.h:
15161         * lyxserver.C: invalidate fd's when doing endPipe()
15162
15163 2001-11-08  José Matos  <jamatos@fep.up.pt>
15164
15165         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15166         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15167
15168         * paragraph.h:
15169         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15170
15171 2001-11-07  José Matos  <jamatos@fep.up.pt>
15172
15173         * buffer.h:
15174         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15175         const qualifier.
15176
15177         * buffer.C (sgmlOpenTag):
15178         * buffer.C (sgmlCloseTag): removed debug info.
15179
15180         * buffer.h (sgmlOpenTag):
15181         * buffer.h (sgmlCloseTag): made public.
15182
15183 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15184
15185         * buffer.C (saveParamsAsDefaults):
15186         * lyx_cb.C (MenuLayoutSave): remove
15187
15188         * LyXAction.C (init):
15189         * commandtags.h:
15190         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15191
15192 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15193
15194         * buffer.C (setPaperStuff): removed from here...
15195
15196         * bufferparams.C (setPaperStuff): ... and moved there.
15197
15198 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15199
15200         * minibuffer.h:
15201         * minibuffer.C:
15202         * XFormsView.C: add support for drop-down completion
15203
15204 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15205
15206         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15207         commands.
15208
15209 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15210
15211         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15212         disabled.
15213
15214 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * lyx_main.C: change ref to known bugs
15217
15218 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15219
15220         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15221         to work around older babel problems.
15222
15223 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15224
15225         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15226
15227 2001-10-24  Juergen Vigna  <jug@sad.it>
15228
15229         * tabular-old.C (ReadOld): below variable changes reflected.
15230
15231         * tabular.[Ch]: added ltType struct for longtable header/footer
15232         defines and changed all instances where they are used. Added
15233         future support for double top/bottom rows.
15234
15235 2001-10-24  José Matos  <jamatos@fep.up.pt>
15236
15237         * buffer.h (docbookHandleCaption):
15238         * buffer.C (docbookHandleCaption): removed unused function.
15239         (makeDocBookFile): moved docbook supported version to v4.1.
15240
15241 2001-10-24  José Matos  <jamatos@fep.up.pt>
15242
15243         * tabular.h:
15244         * tabular.C (docbookRow): new function to export docbook code of a row.
15245         (DocBook): now honors the longtable flags.
15246
15247 2001-10-23  José Matos  <jamatos@fep.up.pt>
15248
15249         * LaTeXFeatures.h:
15250         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15251         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15252
15253         * buffer.C (makeLinuxDocFile):
15254         (makeDocBookFile): reworked the preamble, more clean, and with
15255         support for lyx defined entities. Changed the document declaration
15256         to be more XML friendly.
15257
15258         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15259         if we need to output XML that should be done with a filter.
15260
15261 2001-10-22  Juergen Vigna  <jug@sad.it>
15262
15263         * sp_pspell.h (class PSpell): add alive function needed in the
15264         controller to see if the spellchecker could be started.
15265
15266 2001-10-22  Juergen Vigna  <jug@sad.it>
15267
15268         * buffer.C (insertStringAsLines): modify the font for inserting
15269         chars in certain conditions by calling checkInsertChar(font).
15270
15271 2001-10-19  Juergen Vigna  <jug@sad.it>
15272
15273         * text.C (workWidth): use getRow instead of wrong algorithm.
15274         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15275
15276 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15277
15278         * lyxserver.h:
15279         * lyxserver.C:
15280         * lyx_main.h:
15281         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15282
15283 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15284
15285         * text.C (workWidth): do not search for the exact row when
15286         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15287         optimization for big documents.
15288
15289 2001-10-18  Juergen Vigna  <jug@sad.it>
15290
15291         * text.C (workWidth): new function with added Inset * parameter.
15292
15293 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15294
15295         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15296
15297         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15298         change return type of getColumnNearX.
15299
15300
15301         * text.C (changeRegionCase): use uppercase/lowercase instead of
15302         toupper/tolower.
15303         (leftMargin):
15304         (rightMargin): simplify code by factoring out the uses of
15305         textclasslist.
15306         (labelFill):
15307         (numberOfHfills):
15308         (setHeightOfRow):
15309         (appendParagraph): use Paragraph::size_type
15310
15311 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15312
15313         * vspace.C (asLatexString): add a missing break
15314
15315 2001-10-15  Herbert Voss  <voss@perce.de>
15316
15317         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15318
15319 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15320
15321         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15322         is not available.
15323
15324 2001-10-10  André Pönitz <poenitz@gmx.net>
15325
15326         * lyxfunc.C: removed greek_kb_flag.
15327
15328 2001-10-10  Herbert Voss  <voss@perce.de>
15329
15330         * lyx_main.C: delete global string help_lyxdir.
15331
15332 2001-10-09  Herbert Voss  <voss@perce.de>
15333
15334         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15335
15336         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15337
15338         * lyx_main.C: added global string help_lyxdir.
15339
15340         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15341
15342 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15343
15344         * lyxrc.C (set_font_norm_type): support iso8859-4
15345
15346 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15347
15348         * LaTeX.C (deplog): add another regex for MikTeX
15349
15350 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15351
15352         * lyxrc.C (set_font_norm_type): support iso8859-3
15353
15354 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15355
15356         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15357
15358         * LaTeXFeatures.C: remove special case of french and index
15359
15360         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15361         before \begin{document}). This solves several incompatibilities.
15362
15363 2001-10-03  Garst Reese  <reese@isn.net>
15364
15365         * lyx_cb.C: change CheckTex error msg.
15366
15367 2001-10-03  José Matos  <jamatos@fep.up.pt>
15368
15369         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15370
15371 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15372
15373         * .cvsignore: update
15374
15375         * lyx_main.C (commandLineVersionInfo): use new style version info.
15376
15377         * buffer.C (writeFile):
15378         (makeLaTeXFile):
15379         (makeLinuxDocFile):
15380         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15381
15382         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15383
15384         * version.h: update to use stuff in version.C
15385
15386         * version.C.in: new file. Contains version information determined
15387         at compile time. This is a merging of version.h and
15388         version_info.h.in.
15389
15390 2001-10-03  Juergen Vigna  <jug@sad.it>
15391
15392         * BufferView_pimpl.C (update): don't change "dirty" status in
15393         updateInset call.
15394
15395 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15396
15397         * WorkArea.C (c-tor): re-position version string slightly.
15398
15399 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15400
15401         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15402         revert to previous code.
15403
15404         WorkArea.[Ch]: (show, destroySplash): methods removed.
15405
15406         WorkArea.C: rework code so that it's an amalgam of the codes before and
15407         after the splash screen was moved to WorkArea.
15408
15409 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15410
15411         * lyxrc.C (read):
15412         * vspace.C (inPixels):
15413         (lyx_advance):
15414         * kbmap.C (bind):
15415         * buffer.C (insertStringAsLines):
15416         (asciiParagraph): fix types to be large enough
15417
15418         * lyxlex_pimpl.h: change member status from short to int
15419
15420         * layout.h: fix type of endlabeltype
15421
15422         * kbmap.C (bind):
15423         * kbsequence.C (parse): change return type to string::size_type
15424
15425         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15426         variable
15427
15428         * Bullet.C (bulletSize):
15429         (bulletEntry): do not use short ints as parameters
15430
15431         * BufferView2.C (insertLyXFile): change a char to an int.
15432
15433         * WorkArea.C (WorkArea): remove unneeded floats in computation
15434
15435 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15436
15437         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15438
15439         * paragraph.C (asString): Do not ignore newline/hfill chars when
15440         copying to the clipboard.
15441
15442 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15443
15444         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15445         after a multi-line inset.
15446
15447 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15448
15449         * paragraph.C (validate): Set NeedLyXFootnoteCode
15450
15451 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15452
15453         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15454         and decrease-error to decrease.
15455
15456 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15457
15458         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15459         it more readable (should be equivalent)
15460
15461 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15462
15463         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15464
15465 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15466
15467         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15468         of a cursor (row, etc.) after a character has been deleted
15469         (deleteEmptyParagraphMechanism): call the method above on _all_
15470         cursors held by the LyXText when a double space has been
15471         detected/deleted.
15472
15473 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15474
15475         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15476         pixmap.
15477         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15478
15479         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15480         background. Use greyOut() and the new show() methods to toggle between
15481         the foreground and background. Add code to remove the splash after
15482         its initial showing.
15483
15484         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15485         (create_forms): no longer call Dialogs::showSplash.
15486
15487 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15488
15489         * .cvsignore: add version_info.h
15490
15491 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15492
15493         * version_info.h.in: new file
15494
15495         * Makefile.am: add version_info.h.in
15496
15497         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15498         version_info.h instead of VERSION_INFO
15499
15500 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15501
15502         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15503         The ERT inset now returns string().
15504
15505 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15506
15507         * lyxtext.h, text.C (selectNextWord): renamed as
15508         selectNextWordToSpellcheck.
15509
15510         * text.C (selectNextWordToSpellcheck): Modified to not select
15511         words inside an ERT inset.
15512
15513 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15514
15515         * lyx_cb.C (MenuLayoutSave): change a bit the question
15516
15517         * sp_base.h: include <sys/types.h>
15518
15519 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15520
15521         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15522
15523 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15524
15525         * several files: fix typos in user-visible strings
15526
15527 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15528
15529         * text2.C (pasteSelection): do not set the selection, since it
15530         will be cleared later. Actually, the intent was to fix the way the
15531         selection was set, but I figured rmoving the code was just as good.
15532
15533 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15534
15535         * FontLoader.C (available): Check if font is available without
15536         loading the font.
15537
15538 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15539
15540         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15541
15542 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15543
15544         * lyxrc.[Ch]: added display_graphics variable and associated code.
15545
15546 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15547
15548         * bufferparams.C (hasClassDefaults): new method. Returns true if
15549         the buffer parameters correspond to known class defaults
15550
15551 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15552
15553         * XFormsView.C (show): set minimum size to the main window.
15554
15555 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15556
15557         * text2.C (copySelection):
15558         (cutSelection):
15559         * lyxfind.C (LyXReplace):
15560         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15561         LyXText::selectionAsString.
15562
15563         * paragraph.C (asString): add "label" argument to the second form
15564
15565         * text2.C (selectionAsString): add "label" argument and pass it to
15566         Paragraph::asString.
15567
15568 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15569
15570         * lyx_main.C (commandLineHelp): remove version information
15571
15572 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15573
15574         * lyx_main.C: add -version commandline option
15575
15576 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15577
15578         * paragraph.h: make the optional constructor arg required instead.
15579         some modifications to other files because of this.
15580
15581         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15582
15583         * lyxserver.C (C_LyXComm_callback): make it static
15584
15585         * lyx_main.C (error_handler): make it static
15586
15587         * lyx_gui.C (LyX_XErrHandler): make it static
15588
15589         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15590
15591         * WorkArea.C: make the extern "C" methods static.
15592
15593         * Makefile.am (lyx_LDADD): simplify
15594
15595 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15596
15597         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15598         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15599
15600         * LyXAction.C (init):
15601         * lyxfunc.C (dispatch): associated code removal.
15602
15603 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15604
15605         * lyxfont.h (isSymbolFont): shut off warning
15606
15607         * text.C (setHeightOfRow):
15608         (getVisibleRow): fix crash with empty paragraphs which have a
15609         bottom line
15610
15611 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15612
15613         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15614         code.
15615
15616 2001-09-04  José Matos  <jamatos@fep.up.pt>
15617         * buffer.C
15618         * buffer.h
15619         * tabular.C (docbook): rename docBook method to docbook.
15620
15621 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15622
15623         * Makefile.am: add dependencies to main.o.
15624
15625 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15626
15627         * FontLoader.C (available): Return false if !lyxrc.use_gui
15628
15629 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15630
15631         * FontInfo.C (query):
15632         * converter.C (view):
15633         * importer.C (Import):
15634         * exporter.C (Export): Can not -> cannot.
15635
15636 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15637
15638         * BufferView_pimpl.C: allow to create index inset even if
15639           string is empty
15640
15641 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15642
15643         * buffer.C (getLists): replace boost::tie code with an explicit pair
15644         as boost::tie can break some compilers.
15645
15646         * iterators.h: Added a std:: declaration to the return type of
15647         ParIterator::size.
15648
15649 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15650
15651         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15652           case.
15653
15654 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15655
15656         * iterators.[Ch]: New files. Provide paragraph iterators.
15657
15658         * buffer.C (changeLanguage): Use paragraph iterators.
15659         (isMultiLingual): ditto
15660
15661         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15662
15663 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15664
15665         * FontLoader.C: Support for cmr font.
15666
15667 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15668
15669         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15670         (available): New method.
15671
15672         * FontInfo.C (getFontname): Use scalable fonts even when
15673         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15674         found.
15675
15676 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15677
15678         * converter.C (Formats::view): reverted! Incorrect fix.
15679
15680 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15681
15682         * converter.C (Formats::view): only output the -paper option
15683         if the dvi viewer is xdvi, thereby fixing bug #233429.
15684
15685 2001-08-23  Herbert Voss  <voss@perce>
15686
15687         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15688
15689 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15690
15691         * Spacing.h (Spacing): Set space to Default on in the default
15692         constructor.
15693
15694 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15695
15696         * vc-backend.h (RCS::versionString): add RCS to version
15697         (CVS::versionString): add CVS to version
15698
15699         * vc-backend.C (scanMaster): do not add CVS to version.
15700         (scanMaster): do not add RCS to version
15701
15702         * lyxvc.C (versionString): new method
15703
15704         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15705
15706 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15707
15708         * Spacing.C (set): initialize fval
15709
15710 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15711
15712         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15713         " or \.
15714
15715 2001-08-16  Juergen Vigna  <jug@sad.it>
15716
15717         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15718
15719 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15720
15721         * BufferView_pimpl.C:
15722         * figureForm.C:
15723         * lyxtext.h:
15724         * text2.C: setParagraph takes linespacing now
15725
15726 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15727
15728         * LyxAction.C: add internal LFUN_CITATION_INSERT
15729
15730         * LyXView.C: actually apply fix
15731
15732         * bufferlist.C: fix open non-existent file
15733
15734         * lyxfind.C: fix indentation
15735
15736         * lyxfunc.C: remove unneeded assert, fix typo
15737
15738 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15739
15740         * MenuBackend.C: use "Floatname List"
15741
15742 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15743
15744         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15745         when converting LaTeX layout to insetERT.
15746         Generate a non-collapsed float when reading old float
15747
15748 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15749
15750         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15751         ERT insets.
15752
15753 2001-08-13  Juergen Vigna  <jug@sad.it>
15754
15755         * text.C (fill): return 0 instead of 20 as this seems to be the more
15756         correct value.
15757
15758 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15759
15760         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15761         lyxrc.font_norm.
15762
15763 2001-08-13  Juergen Vigna  <jug@sad.it>
15764
15765         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15766         casesensitive off.
15767         (SearchBackward): comment out the unlocking of the inset_owner this
15768         should not be needed!
15769
15770 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15771
15772         * Many files: Remove inherit_language, and add latex_language
15773
15774         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15775         collapsible insets.
15776
15777 2001-08-10  Juergen Vigna  <jug@sad.it>
15778
15779         * text.C (prepareToPrint): fixed hfill-width in draw!
15780
15781         * BufferView2.C (selectLastWord): save the selection cursor as this
15782         now is cleared in the function LyXText::clearSelection!
15783
15784 2001-08-08  Juergen Vigna  <jug@sad.it>
15785
15786         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15787         BACKSPACE type functions.
15788
15789         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15790         is only cutted from the document but not put in the cut-buffer, where
15791         still the old stuff should be.
15792
15793         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15794
15795         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15796
15797         * tabular.C (SetWidthOfCell): fixed special case where the width
15798         was not updated!
15799         (LeftLine): handle '|' in align_special.
15800         (RightLine): ditto
15801         (LeftAlreadyDrawed): ditto
15802         (SetWidthOfCell): ditto
15803
15804 2001-08-07  Juergen Vigna  <jug@sad.it>
15805
15806         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15807
15808 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15809
15810         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15811         * lyxlex.[hC]: ditto
15812
15813 2001-08-06  Juergen Vigna  <jug@sad.it>
15814
15815         * text.C (getVisibleRow): fix up row clearing a bit.
15816
15817 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15818
15819         * minibuffer.C: make sure the X server sees the changes in the input.
15820
15821 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15822
15823         * paragraph.C (getFont): split into...
15824         (getLabelFont): this
15825         (getLayoutFont): and this
15826         * paragraph_pimpl.C (realizeFont): calling this
15827
15828         * text2.C (getFont): split into...
15829         (getLayoutFont): this
15830         (getLabelFont): and this
15831         (realizeFont): all three calling this
15832
15833         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15834         files where used.
15835
15836 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15837
15838         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15839
15840 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15841
15842         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15843         layouts from the Quote inset insertion.
15844
15845 2001-08-03  Juergen Vigna  <jug@sad.it>
15846
15847         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15848
15849         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15850         only if status not is already CHANGED_IN_DRAW (second level).
15851
15852         * text.C (draw): don't set the need_break_row when inside an
15853         InsetText LyXText.
15854
15855 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15856
15857         * buffer.C (parseSingleLyXformat2Token): handle more latex
15858         conversion cases.
15859
15860         * bufferview_funcs.[hC]: change function names to
15861         begin with small char, adjust other files.
15862
15863 2001-08-02  André Pönitz <poenitz@gmx.net>
15864
15865         * lyxfunc.C:
15866         BufferView_pimpl.C: remove broken special code for math-greek
15867
15868 2001-08-02  Juergen Vigna  <jug@sad.it>
15869
15870         * BufferView_pimpl.C (update): redone this function so that we
15871         update the text again if there was a CHANGE_IN_DRAW.
15872
15873         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15874         (drawFromTo): added a new internal bool which is used by draw() and
15875         redraw() function.
15876         (general): some cursor drawing problems fixed.
15877
15878 2001-08-01  Juergen Vigna  <jug@sad.it>
15879
15880         * lyxfind.C (LyXFind): fixed
15881         (SearchForward): ditto
15882         (SearchBackward): ditto
15883
15884         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15885         spurius drawing of the cursor in the main area.
15886
15887         * text2.C (status): small fix which could lead to a segfault!
15888         (clearSelection): remove unneeded BufferView param.
15889
15890 2001-08-01  André Pönitz <poenitz@gmx.net>
15891
15892         * lyxfunc.C: small change due to changed mathed interface
15893
15894 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15895
15896         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15897
15898 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15899
15900         * lyxfunc.c: fail gracefully if file doesn't exist
15901
15902         * LyXSendto.C:
15903         * buffer.C:
15904         * lyxfunc.C:
15905         * BufferView_pimpl.C: IsDirWriteable() proto changed
15906
15907         * LyXView.C: fix updateWindowTitle() to store the last title
15908
15909 2001-07-31  Juergen Vigna  <jug@sad.it>
15910
15911         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15912         the font (wrong since using of Paragraph::highestFontInRange).
15913
15914         * paragraph.C (highestFontInRange): added a default_size parameter.
15915
15916         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15917         (setHeightOfRow): reformat
15918
15919 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15920
15921         * converter.[hC] + affected files: move to (inital-char)lowercase
15922         function names.
15923
15924         * ParagraphParameters.C (ParagraphParameters): remove commented code
15925
15926         * PainterBase.[Ch]: remove commented code
15927
15928         * LaTeXFeatures.h: add "bool floats" for float.sty
15929
15930         * LaTeXFeatures.C (LaTeXFeatures): init floats
15931         (require): handle float
15932         (getPackages): do it with floats
15933
15934 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15935
15936         * BufferView_pimpl.C (Dispatch): improve handling of
15937         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15938
15939         * commandtags.h: #include lyxfont.h here temporarily to avoid
15940         keybinding bug.
15941
15942         * bufferlist.h: include LString.h here.
15943
15944 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15945
15946         * text2.C (getStringToIndex): new method.
15947
15948 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15949
15950         * *: Reduced header file dependencies all over.
15951
15952 2001-07-30  Baruch Even  <baruch@lyx.org>
15953
15954         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15955
15956 2001-07-29  Baruch Even  <baruch@lyx.org>
15957
15958         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15959
15960 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15961
15962         * ParameterStruct.h (endif): add a default constructor to make
15963         sure that all variables is initialized.
15964
15965         * ParagraphParameters.C (ParagraphParameters): adjust
15966
15967 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15968
15969         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15970         index; also, check that there is something to index, and that it
15971         does not span over several paragraphs.
15972         (doubleClick): use WHOLE_WORD_STRICT for double click.
15973
15974         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15975
15976         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15977         scheme.
15978
15979 2001-07-26  Baruch Even  <baruch@lyx.org>
15980
15981         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15982         an InsetFig figure, backwards compatible reading of old figure code.
15983
15984 2001-07-27  Juergen Vigna  <jug@sad.it>
15985
15986         * text2.C: font.realize function adaption.
15987
15988         * text.C (draw): add a warnings lyxerr text if needed.
15989
15990         * layout.C: font.realize function adaption.
15991
15992         * language.C: add inherit_language and implement it's handlings
15993
15994         * bufferview_funcs.C (StyleReset): remove language parameter from
15995         font creation (should be language_inherit now).
15996
15997         * bufferparams.C (writeFile): handle ignore_language.
15998
15999         * paragraph.C (getFontSettings): the language has to be resolved
16000         otherwise we have problems in LyXFont!
16001
16002         * lyxfont.C (lyxWriteChanges): added document_language parameter
16003         (update): removed unneeded language parameter
16004
16005         * paragraph.C (validate): fixed wrong output of color-package when
16006         using interface colors for certain fonts in certain environments,
16007         which should not seen as that on the final output.
16008
16009 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16010
16011         * BufferView_pimpl.C:
16012         * Thesaurus.h:
16013         * Thesaurus.C:
16014         * Makefile.am:
16015         * commandtags.h:
16016         * LyXAction.C: add thesaurus support
16017
16018         * lyxfind.h:
16019         * lyxfind.C: add "once" parameter, for thesaurus, to not
16020           move to the next match
16021
16022 2001-07-26  Juergen Vigna  <jug@sad.it>
16023
16024         * lyxfont.C (realize): honor ignore_language too!
16025         (resolved): ditto.
16026
16027         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16028
16029         * text.C (draw): one place more for ignore_language to not draw
16030         itself!
16031
16032 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16033
16034         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16035
16036 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16037
16038         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16039         the minipage conversion problem.
16040
16041 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16042
16043         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16044         insert an inset.
16045
16046 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16047
16048         * BufferView.h: don't forward declare WorkArea
16049
16050         * BufferView.C: don't include WorkArea.h
16051
16052 2001-07-25  André Pönitz <poenitz@gmx.net>
16053
16054         * commandtags.h:
16055         * LyXAction.C:
16056         * lyxfunc.C:  new LFUN 'math-space'
16057
16058         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16059
16060 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16061
16062         * text2.C (toggleInset): call open/close
16063
16064 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16065
16066         * lyxfunc.C (dispatch): add debug for the disabled case
16067
16068         * font.C (buttonText): make similar to rectText
16069
16070         * buffer.C (readInset): comment out parsing of insetlist and
16071         insttheorem
16072
16073         * PainterBase.C (rectText): small correction
16074
16075         * BufferView_pimpl.C: comment out insettheorem and insetlist
16076         * LyXAction.C: ditto
16077         * commandtags.h: ditto
16078
16079 2001-07-24  Juergen Vigna  <jug@sad.it>
16080
16081         * text.C (draw): honor the ignore_language.
16082
16083         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16084
16085 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16086
16087         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16088         char inset.
16089
16090 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16091
16092         * lyxtext.h: remove unused (and unimplemented) methods
16093
16094 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16095
16096         * text.C (getVisibleRow): honor background color
16097
16098         * PainterBase.h:
16099         * Painter.h: remove default color argument for fillRectangle
16100
16101         * text.C (backgroundColor): new method
16102
16103 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16104
16105         * text.C (getVisibleRow): adjust
16106
16107         * font.[Ch] (rectText): new method, metrics
16108         (buttonText): new method, metrics
16109
16110         * PainterBase.[hC]: make rectText and buttonText always draw and take
16111         fewer paramteres.
16112
16113 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16114
16115         * ToolbarDefaults.C (read):
16116         * MenuBackend.C (read): allow escaping in all strings
16117
16118         * BufferView_pimpl.C (insertAndEditInset): new method.
16119         (Dispatch): use insertAndEditInset whenever appropriate.
16120
16121         * BufferView_pimpl.C (insertNote): removed
16122
16123         * BufferView_pimpl.C (smartQuote): new method, moved from
16124         BufferView; if an insetquote cannot be inserted, insert a '"'
16125         character instead.
16126
16127         * BufferView2.C: remove insertCorrectQuote();
16128
16129         * lyxfunc.C (getStatus): Add support for all remaingin
16130         inset-insert lfuns.
16131
16132         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16133
16134         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16135         command (necessary to pass " as parameter of self-insert.
16136
16137         * text.C (selectWordWhenUnderCursor):
16138         (selectWord): add word_location parameter
16139         (selectWordWhenUnderCursor): same + remove special code for word
16140         boundary.
16141         (selectNextWord): use kind() to guess type of insetspecialchar,
16142         not latex().
16143
16144         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16145         (insertErtContents): create ert insets as collapsed.
16146         (readInset): better compatibility code for Info inset.
16147
16148 2001-07-20  Juergen Vigna  <jug@sad.it>
16149
16150         * lyxfunc.C (dispatch): use always LyXFind now!
16151
16152         * text2.C (init): add a reinit flag so that the LyXText can be
16153         reinited instead of deleted and reallocated (used in InsetText).
16154
16155         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16156
16157         * text.C: ditto
16158
16159         * text2.C: ditto
16160
16161 2001-07-18  Juergen Vigna  <jug@sad.it>
16162
16163         * text.C (selectNextWord): handle insets inside inset by calling
16164         always the bv->text functions so that we can go up the_locking_inset!
16165
16166         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16167         in strange locations when inside an inset!
16168
16169         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16170         handling to include insets.
16171
16172         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16173
16174 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16175
16176         * LyXAction.C (init):
16177         * commandtags.h:
16178         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16179         LIGATURE_BREAK, since the name is so stupid.
16180
16181 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16182
16183         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16184         InsetInfos.
16185
16186         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16187
16188         * sp_form.[Ch]: remove.
16189
16190         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16191
16192         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16193         InsetInfo.
16194
16195         * src/buffer.C (readInset): ditto.
16196
16197 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16198
16199         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16200         menuSeparator(), endOfSentenceDot(), ldots() and
16201         hyphenationPoint(), which are therefore removed.
16202         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16203
16204         * LyXAction.C (init):
16205         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16206
16207         * paragraph.C (getWord): removed.
16208
16209         * BufferView_pimpl.C (Dispatch): use last word or selection for
16210         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16211
16212         * lyx_main.C (queryUserLyXDir): do not ask before creating
16213         user_dir, except if it has been named explicitely.
16214
16215 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16216
16217         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16218         a document of zero size.
16219
16220 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16221
16222         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16223         approriately in the c-tor and in require().
16224         (getPackages): output the appropriate LaTeX for natbib support.
16225
16226         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16227         variables "use_natbib" and "use_numerical_citations" when reading the
16228         LyX file.
16229         (readInset): read the various natbib cite commands.
16230         (validate): white-space change.
16231
16232         * bufferparams.[Ch]: new variables "bool use_natbib" and
16233         "bool use_numerical_citations".
16234         (writeFile): output them in the LyX file.
16235
16236 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16237
16238         * lyxfunc.C (getStatus): add support for all the inset insertion
16239         commands.
16240
16241         * text2.C (insertInset):
16242         * paragraph.C (insetAllowed):
16243         * BufferView_pimpl.C (insertInset): update to take in account the
16244         renaming of insertInsetAllowed
16245
16246         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16247
16248         * text2.C (getInset): new method. returns inset at cursor position.
16249
16250         * BufferView_pimpl.C (Dispatch): changes because of this.
16251
16252         * LyXAction.C (init): rename open-stuff to inset-toggle.
16253
16254         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16255
16256         * text2.C (toggleInset): renamed from openStuff; use
16257         Inset::open().
16258
16259 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16260
16261         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16262
16263         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16264
16265 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16266
16267         * buffer.C (readLyXformat2): Add filename to the error dialog
16268
16269 2001-07-18  Juergen Vigna  <jug@sad.it>
16270
16271         * tabular.C (GetCellNumber): put an assert here instead of the check!
16272
16273 2001-07-17  Juergen Vigna  <jug@sad.it>
16274
16275         * BufferView_pimpl.C (toggleSelection): adapted too.
16276
16277         * text.C (selectNextWord): adapted for use with insets.
16278         (selectSelectedWord): ditto
16279
16280 2001-07-17  Juergen Vigna  <jug@sad.it>
16281
16282         * sp_spell.C (PSpell): fix initialitation order.
16283
16284 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16285
16286         * paragraph.C: spacing
16287
16288 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16289
16290         * sp_spell.C: repair language selection for pspell
16291
16292 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16293
16294         * lyxfunc.h: change more methods to begin with lower char.
16295
16296 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16297
16298         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16299         for unknown layouts.
16300
16301 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16302
16303         * buffer.C (readLyXformat2): Generate an error dialog if there are
16304         unknown layouts.
16305
16306 2001-07-16  Juergen Vigna  <jug@sad.it>
16307
16308         * sp_spell.C: always compile ISpell part.
16309
16310         * lyxrc.C: added use_pspell entry and it's handling.
16311
16312 2001-07-13  Juergen Vigna  <jug@sad.it>
16313
16314         * sp_spell.C: removed double includes.
16315
16316 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16317
16318         Consistent use of Lsstream.h:
16319         * Lsstream.h: added using std::stringstream for consistencies sake.
16320
16321         * buffer.C: removed using std::stringstream
16322
16323         * lyxfont.C (stateText):
16324         * paragraph.C (asString):
16325         * text.C (selectNextWord, selectSelectedWord):
16326         * text2.C (setCounter):
16327         * vspace.C (asString, asLatexString):
16328         std::ostringstream -> ostringstream.
16329
16330 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16331
16332         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16333         * commandtags.h: add LFUN_HELP_ABOUTLYX
16334         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16335
16336 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16337
16338         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16339         cursorToggle()
16340         * lyx_gui_misc.C: remove spellchecker
16341         * lyxfunc.C: showSpellchecker
16342         * sp_base.h: added
16343         * sp_ispell.h: added
16344         * sp_pspell.h: added
16345         * sp_spell.C: added
16346         * sp_form.[Ch]: removed
16347         * spellchecker.[Ch]: removed
16348
16349 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16350
16351         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16352         is set.
16353         (simpleTeXSpecialChars): Simply print the input character without
16354         any special translation if pass_thru is set.
16355
16356         * layout.h: Added bool pass_thru to layout class for being able to
16357         implement pass through of a paragraph for Literate Programming.
16358
16359         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16360         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16361         * layout.C (Read): add "passthru" to list of layout tags and add
16362         code to set the pass_thru boolean when it is read.
16363
16364 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16365
16366         * trans_decl.h: remove allowed from KmodInfo
16367
16368         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16369         remove allowed code
16370         (Load): adjust
16371
16372         * paragraph_pimpl.C (erase): use boost::prior
16373
16374         * Painter.C (text): use data() instead of c_str() when length is
16375         also provided.
16376         * WorkArea.C (putClipboard): ditto
16377         * font.h (width): ditto
16378
16379         * BufferView2.C: use it-> instead of (*it). for iterators
16380         * texrow.C: ditto
16381         * paragraph_pimpl.C: ditto
16382         * paragraph.C: ditto
16383         * minibuffer.C: ditto
16384         * language.C: ditto
16385         * kbmap.C: ditto
16386         * encoding.C: ditto
16387         * counters.C: ditto
16388         * converter.C: ditto
16389         * chset.C: ditto
16390         * Variables.C: ditto
16391         * TextCache.C: ditto
16392         * MenuBackend.C: ditto
16393         * LyXAction.C: ditto
16394         * LColor.C: ditto
16395         * FloatList.C: ditto
16396         * DepTable.C: ditto
16397         * ColorHandler.C (LyXColorHandler): ditto
16398
16399 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16400
16401         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16402
16403         * text2.C (openStuff): reintroduce this method (which had been
16404         nuked in NEW_INSETS frenzy).
16405
16406         * lyxfunc.C (Dispatch): when an action has not been handled, use
16407         its name in the error message, not its number.
16408
16409         * paragraph.C (inInset): change method name to begin with lowercase.
16410
16411         * undo_funcs.C:
16412         * text2.C: updates because of this.
16413
16414 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16415
16416         * ToolbarDefaults.C (add): add spaces in error message
16417
16418 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16419
16420         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16421         (readLyXformat2): rename return_par to first_par, use lyxlex's
16422         pushToken and remove the manual push handling.
16423         (parseSingleLyXformat2Token): add another ert comp. variable:
16424         in_tabular, rename return_par to first_par. handle newlines better
16425
16426 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16427
16428         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16429
16430 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16431
16432         * text2.C (getParFromID): removed
16433
16434         * buffer.C (getParFromID): new method moved form lyxtext.
16435         * BufferView2.C (insertErrors): adjust
16436         (setCursorFromRow): adjust
16437         * BufferView_pimpl.C (restorePosition): adjust
16438         * lyxfunc.C (Dispatch): adjust
16439         * undo_funcs.C (textUndo): adjust
16440         (textRedo): adjust
16441         (textHandleUndo): adjust
16442         (textHandleUndo): adjust
16443
16444 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16445
16446         * buffer.C: up' the LYX_FORMAT
16447
16448         * lyxfont.h: turn NO_LATEX on as default
16449
16450         * buffer.C (insertErtContents): new methods of tex style compability.
16451         (parseSingleLyXformat2Token): use it several places.
16452         * tabular.C (OldFormatRead): and here
16453
16454 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16455
16456         * text2.C: remove some commented code.
16457         reindent file.
16458
16459         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16460         * trans.C: changes because of the above.
16461
16462 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16463
16464         * text2.C (setCounter): Fix counters bug with bibliography layout.
16465
16466 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16467
16468         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16469         own member functions
16470         (simpleTeXSpecialChars): ditto
16471
16472 2001-07-06  Juergen Vigna  <jug@sad.it>
16473
16474         * a lot of files: changed the access to LyXText::status and the
16475         call of undo-functions.
16476
16477         * undo.[Ch]: added a inset_id to the undo informations.
16478
16479         * undo_funcs.[Ch]: added and moved here all undo functions.
16480
16481         * lyxtext.h: give the status enum a weight, made status_ a private
16482         variable and made accessor functions for it, removed the whole bunch
16483         of undo-functions as they are now in their own file, make some
16484         functions publically available. Added function ownerParagraph with
16485         int parameter.
16486
16487         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16488         made InInset() a const function, added getParFromID() function.
16489
16490         * buffer.[Ch]: added const version for inset_iterator functions,
16491         added getInsetFromID() function.
16492
16493         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16494         changed undo functions for new version.
16495
16496 2001-07-05  Juergen Vigna  <jug@sad.it>
16497
16498         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16499         unknow mechanism does not call the proper constructor but only this
16500         one also if I request the other!?
16501
16502 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16503
16504         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16505
16506         * text2.C (LyXText): use initialization lists.
16507
16508         * lyxtext.h (Selection): initialize set_ and mark_
16509         (init): remove method
16510
16511 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16512
16513         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16514
16515 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16516
16517         * screen.[Ch]: change method names to begin with lowercase
16518
16519         * BufferView_pimpl.C (updateScrollbar): simplify further and
16520         hopefully make it a bit faster.
16521
16522 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16523
16524         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16525         calling directly xforms functions.
16526
16527         * Painter.C (Painter):
16528         * lyx_cb.C (MenuWrite):
16529         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16530         fl_display.
16531
16532         * lyx_gui.C: remove bogus guiruntime extern declaration.
16533
16534 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16535
16536         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16537         in NEW_INSETS
16538         (redoDrawingOfParagraph): ditto
16539         (redoParagraphs): ditto
16540         (cutSelection): don't create a object for CutAndPaste use the
16541         static method directly
16542         (pasteSelection): ditto
16543
16544         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16545         LyXview (+ rename)
16546
16547 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16548
16549         * modifications to some other files because of this.
16550
16551         * Makefile.am (lyx_SOURCES): add XFormsView
16552
16553         * XFormsView.[Ch]: new files
16554
16555         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16556         the main window. Move the gui dependent stuff to XFormsView
16557
16558 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16559
16560         * tabular.C (GetCellInset): update cur_cell also in the row/col
16561         version of this function.
16562
16563         * lyxfunc.C: no need to include figure_form.h here.
16564
16565         * FontLoader.h:
16566         * lyxfunc.h:
16567         * lyxscreen.h:
16568         * text2.C:
16569         * lyxvc.C: no need to include forms.h here.
16570
16571 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16572
16573         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16574
16575         * lyxfunc.C (Dispatch):
16576         * Spacing.C (set):
16577         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16578         constructor argument.
16579
16580 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16581
16582         * paragraph.C (Paragraph): dont't clear, and just set layout.
16583         (makeSameLayout): use params's copy contructor.
16584
16585         * ParagraphParameters.[Ch] (makeSame): delete method
16586
16587 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16588
16589         * Variables.[Ch]: fix indentation, rename set to isSet
16590
16591 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16592
16593         * lyxfunc.C (Dispatch): fix typo
16594
16595 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16596
16597         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16598         upper_bound.
16599
16600         * bufferlist.C: include assert.h for emergencyWrite().
16601
16602 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16603
16604         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16605           give up at last (bug #425202) !
16606
16607 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16608
16609         * lyx_gui_misc.C:
16610         * sp_form.h:
16611         * sp_form.C:
16612         * spellchecker.h:
16613         * spellchecker.C: strip spellchecker options and bring up
16614           preferences tab instead
16615
16616 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16617
16618         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16619         the istringstream constructor
16620
16621 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16622
16623         * paragraph.C (getLayout): fix return value
16624
16625         * paragraph.h: do not declare getLayout as inline.
16626
16627         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16628
16629 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16630
16631         * lyxcursor.h (operator<): new func
16632         (operator>): new func
16633         (operator>=): new func
16634         (operator<=): new func
16635
16636         * text.C (changeCase): use selection.start and selection.end
16637         (changeRegionCase): require from to be <= to. Require par to be a
16638         valid paragraph.
16639
16640         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16641
16642 2001-06-27  Juergen Vigna  <jug@sad.it>
16643
16644         * text.C (cursorLeftOneWord): changed to return the cursor and added
16645         overlay with BufferView * parameter which calls this one.
16646         (getWord): added
16647         (selectWord): use new getWord function.
16648         (changeCase): renamed from changeWordCase as and extended to work
16649         also on selections.
16650
16651         * lyxtext.h: added enum word_location
16652
16653         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16654         changeCase as this operates now also on selections.
16655
16656 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16657
16658         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16659
16660         * many files: send debug output to Debug::INFO instead of
16661         Debug::ANY.
16662
16663         * converter.C (View):
16664         (Convert):
16665         (Move): send debug output to Debug::FILES instead of console.
16666
16667 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16668
16669         * lyxfunc.C (getStatus): use func_status
16670
16671         * func_status.h: new header, describing the results of
16672         LyXFunc::getStatus;
16673
16674         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16675         LFUN_MATH_HALIGN.
16676
16677 2001-06-25  The LyX Project  <jug@sad.it>
16678
16679         * buffer.C (sgmlOpenTag):
16680         (sgmlCloseTag):
16681         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16682
16683 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16684
16685         * text2.C: remove some dead code
16686
16687         * tabular.C (GetCellInset): store the last cell checked (gotten)
16688
16689         * tabular.h: add the helper for the speedup
16690
16691         * lyxtext.h: remove some dead code
16692
16693 2001-06-26  The LyX Project  <Asger>
16694
16695         * paragraph.C: Change export to LaTeX of alignment to
16696         \begin{center} and family for better roundtrip work with reLyX.
16697
16698         * Tune the math drawing a bit.
16699
16700 2001-06-25  The LyX Project  <Asger>
16701
16702         * LColor.C (LColor): New color for math background. New color
16703         for buttons.
16704
16705 2001-06-25  The LyX Project  <jug@sad.it>
16706
16707         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16708
16709         * lyxfunc.C (Open):
16710         * bufferlist.C (newFile): do not restrict to files ending with
16711         .lyx
16712
16713         * BufferView_pimpl.C (MenuInsertLyXFile):
16714
16715 2001-06-24  The LyX Project  <jug@sad.it>
16716
16717         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16718         of compare_no_case
16719
16720 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16721
16722         * lyxtext.h: rename most methods to begin with a small char.
16723         Lots of changes because of this.
16724
16725         * paragraph.C (Paragraph): do not call fitToSize
16726         (erase): call Pimpl::erase
16727         (insertChar): call Pimpl::insertChar
16728         (insertInset): call Pipl::insertInset
16729         (breakParagraph): do not call fitToSize
16730         (breakParagraphConservative): do not call fitToSize
16731         (fitToSize): remove method
16732
16733         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16734
16735 2001-06-24  The LyX Project  <Asger>
16736
16737         * Fix Qt compilation^2
16738
16739 2001-06-24  The LyX Project  <jug@sad.it>
16740
16741         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16742         depthHook(getDepth()-1).
16743
16744         * paragraph.h:
16745         * ParagraphParameters.h:
16746         * ParameterStruct.h: change type of depth to unsigned int ==
16747         depth_type. Many adaptations to other files before of that.
16748
16749 2001-06-24  The LyX Project  <Asger>
16750
16751         * Fix Qt compilation.
16752
16753 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16754
16755         * paragraph.h: renamed several methods to begin with small letter.
16756         several changes to many parts of the code because of this.
16757
16758 2001-06-23  The LyX Project  <jug@sad.it>
16759
16760         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16761         rewritten to discard all double spaces when KeepEmpty is off
16762         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16763         to only handle newlines but not fiddle with spaces and friends.
16764
16765         * lyxfunc.C (MenuNew): when doing 'new from template', use
16766         template_path as default directory
16767
16768 2001-06-23  The LyX Project  <Asger>
16769
16770         * Clean-up of header file includes all over
16771         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16772
16773 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16774
16775         * paragraph.h: renamed from lyxparagraph.h
16776
16777 2001-06-23  Asger  <lyx@violet.home.sad.it>
16778
16779         * Buffer.h: Removed Buffer::resize
16780         * BufferList.h: Removed BufferList::resize
16781         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16782         the document lazily when we change the width, or the font settings.
16783
16784 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16785
16786         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16787
16788 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16789
16790         * buffer.h: remove out of date comment
16791
16792 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16793
16794         * lyxscreen.h:
16795         * screen.C: fix "theoretical" GC leak
16796
16797 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16798
16799         * LaTeX.C (scanAuxFile):
16800         (deplog): remove trailing \r when reading stream (useful under
16801         win32)
16802
16803 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16804
16805         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16806         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16807         and BufferView::theLockingInset(Inset*), so should use them and not
16808         access bv_->text->the_locking_inset directly.
16809
16810         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16811
16812 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16813
16814         * Makefile.am:
16815         * tex-defs.h: remove old unused file
16816
16817 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16818
16819         * BufferView_pimpl.C: fix typo, remove minibuffer message
16820           when buffer has loaded
16821
16822 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16823
16824         * lyxfunc.C (Dispatch): use stringstream
16825         (MenuNew): use stringstream
16826         (Open): use stringstream
16827
16828         * importer.C (Import): use stringstream
16829
16830         * bufferview_funcs.C (CurrentState): use stringstream
16831
16832         * LaTeX.C (run): use stringstream
16833
16834         * BufferView_pimpl.C (savePosition): use stringstream
16835         (restorePosition): use stringstream
16836         (MenuInsertLyXFile): use stringstream
16837
16838 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16839
16840         * BufferView.C:
16841         * Bullet.C:
16842         * ColorHandler.C:
16843         * FontInfo.C:
16844         * FontLoader.C:
16845         * LColor.C:
16846         * LaTeXFeatures.C:
16847         * Painter.C:
16848         * gettext.C:
16849         * lyx_gui_misc.C:
16850         * lyxserver.C:
16851         * vspace.C: removed // -*- C++ -*- as first line.
16852
16853         * lyxfind.h:
16854         * version.h: added // -*- C++ -*- as first line.
16855
16856 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16857
16858         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16859
16860         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16861         of string
16862
16863 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16864
16865         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16866         of floats.
16867
16868 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16869
16870         * gettext.C: include LString.h even when --disable-nls is on.
16871
16872 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16873
16874         * converter.h (Get): changed argument type from int to
16875         FormatList::size_type to avoid unnecessary conversion.
16876
16877         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16878         before using it.
16879
16880 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16881
16882         * gettext.h: include LString.h even when --disable-nls is on.
16883
16884 2001-06-07  Juergen Vigna  <jug@sad.it>
16885
16886         * text.C (BreakAgain): subst spaces with tabs.
16887
16888         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16889         (resizeInsetsLyXText): set force on resizeLyXText.
16890
16891 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16892
16893         * gettext.h (gettext_init):
16894         (locale_init): use a real definition instead of a macro
16895
16896 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16897
16898         * Bufferview_pimpl.C:
16899         * LColor.h:
16900         * LColor.C: further lcolor tidies
16901
16902 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16903
16904         * BufferView_pimpl.C (updateScrollbar): simplify.
16905
16906         * BufferView2.C: don't include insets/insetinfo.h, change
16907         prototype for insertInset and call the Pimpl version. let
16908         updateInset call Pimpl version.
16909
16910         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16911         gotoInset to BufferView::Pimpl
16912
16913 2001-06-01  Juergen Vigna  <jug@sad.it>
16914
16915         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16916         inside a LockingInset (is the update needed at all?).
16917
16918 2001-05-31  Juergen Vigna  <jug@sad.it>
16919
16920         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16921         here not the old one otherwise how should we compare it afterwards
16922         if it's the same!
16923
16924 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16925
16926         * lyxfont.C:
16927         * tabular.C:
16928         * tabular-old.C:
16929         * FontInfo.C: bring C functions into global namespace when
16930         necessary
16931
16932 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16933
16934         * LString.h: make sure config.h has been loaded before LString.h.
16935
16936         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16937         (one for each char read by EatLine!).
16938
16939         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16940         variables.
16941
16942 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16943
16944         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16945         to the same as the par we break from
16946
16947 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16948
16949         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16950
16951         * MenuBackend.C (expand): also create menu entries for wide
16952         versions of the floats.
16953
16954         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16955
16956         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16957
16958         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16959         frontends/Makefile.am
16960
16961         * text2.C: adjust
16962         * text.C: adjust
16963
16964
16965         * tabular.C (getTokenValue): add std::
16966
16967         * tabular-old.C (getTokenValue): add std::
16968         (getTokenValue): ditto
16969         (getTokenValue): ditto
16970
16971         * screen.C (ToggleSelection): adjust
16972
16973         * lyxtext.h: put selection cursors inside a Selection struct.
16974
16975         * lyxfunc.C (moveCursorUpdate): adjust
16976
16977         * lyxfont.C (latexWriteStartChanges): add std::
16978
16979         * lyxfind.C: adjust
16980
16981         * font.h: delete with(char const *, LyXFont const &)
16982
16983         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16984
16985         * FontInfo.C (getFontname): add std::
16986
16987         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16988         (workAreaButtonPress): adjust
16989         (tripleClick): adjust
16990         (update): adjust
16991         (moveCursorUpdate): adjust
16992         (Dispatch): adjust
16993
16994         * BufferView2.C (gotoInset): adjust
16995
16996 2001-05-30  Juergen Vigna  <jug@sad.it>
16997
16998         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16999         to check pspell I add this as default as I now have new pspell
17000         libraries and they seem to use this.
17001
17002 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17003
17004         * text2.C (CutSelection): make the cursor valid before the call to
17005         ClearSelection.
17006
17007 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17008
17009         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17010         relied on 0 terminated strings and other horrors. Bug found due to
17011         the new assert in lyxstring!
17012
17013         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17014         KP_ keys.
17015
17016 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17017
17018         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17019         to latinkeys.bind.
17020
17021         * lyxfunc.C (processKeySym): change method of getting to the
17022         self-insert char.
17023
17024         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17025         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17026         * BufferView_pimpl.[Ch]: here as private methods.
17027
17028 2001-05-28  Juergen Vigna  <jug@sad.it>
17029
17030         * text.C (SetHeightOfRow): added the update() call again as it is
17031         needed to initialize inset dimensions!
17032
17033 2001-05-16  Juergen Vigna  <jug@sad.it>
17034
17035         * text2.C (SetCharFont): Add new function with BufferView * and
17036         bool toggleall parameters for setting insets internal fonts.
17037         (SetFont): Freeze the undo as we may change fonts in Insets and
17038         all this change should be inside only one Undo!
17039
17040         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17041         setting font's in insets as for them we have the SetFont function!
17042
17043 2001-05-15  Juergen Vigna  <jug@sad.it>
17044
17045         * text2.C (ClearSelection): to be sure we REALLY don't have any
17046         selection anymore!
17047
17048         * tabular.C (TeXCellPreamble): fixed the left border problem for
17049         multicolumn cells.
17050
17051 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17052
17053         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17054         dependancy file
17055
17056 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17057
17058         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17059         LFUN_BREAKPARAGRAPH.
17060
17061         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17062         help test to "internal only", similar for LFUN_INSERT_URL
17063
17064         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17065         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17066         auto_region_delete and deadkeys.
17067
17068 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17069
17070         * LColor.h:
17071         * LColor.C: remove some dead entries, tidy a little
17072
17073 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17074
17075         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17076         commented code.
17077         (Dispatch): implement LFUN_ESCAPE
17078
17079         * commandtags.h: add LFUN_ESCAPE
17080
17081         * LyXAction.C (init): add entry for LFUN_ESCAPE
17082
17083         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17084         Remove commented code.
17085         (insertNote): moved here
17086         (open_new_inset): moved here
17087
17088         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17089         BufferView_pimpl
17090
17091 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17092
17093         * kbmap.C (findbinding): clean it up and make it work correctly.
17094
17095         * lyx_main.C (init): do not pass argc and argv as parameters
17096
17097 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17098
17099         * buffer.C: fix path for OS/2 & Win32
17100
17101         * lyx_gui.C:
17102         * lyx_main:
17103         * lyx_main.C: Added os:: class.
17104
17105         * os2_defines.h: update
17106
17107 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17108
17109         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17110         better by trying again with reduced state.
17111
17112 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17113
17114         * lyxrc.C (read): print error about invalid key sequence only when
17115         debugging (because not all latinX keysyms are known to some X
17116         servers)
17117
17118         * kbsequence.C (getiso): add a few std:: qualifiers
17119         (getiso): comment out extra return statement.
17120
17121 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17122
17123         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17124         handling.
17125         (Dispatch): enhance the accent inset a bit. (not perfect)
17126
17127 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17128
17129         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17130
17131 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17132
17133         * bufferlist.C (emergencyWrite): fix assert() call
17134
17135 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17136
17137         * text.C (InsertChar): Added trivial patch to only send the "you
17138         can not do multiple spaces this way" message once during a
17139         session.
17140
17141 2001-05-08  Baruch Even  <baruch@lyx.org>
17142
17143         * Makefile.am: Changed order of libraries to get LyX to link properly
17144         with the gnome frontend.
17145
17146 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17147
17148         * LaTeXFeatures.h: add a std:: qualifier
17149
17150 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17151
17152         * paragraph.C (String): use stringstream
17153
17154 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17155
17156         * paragraph.C (writeFile): remove footflag arg
17157
17158         * buffer.C (makeLaTeXFile): use stringstream
17159         (latexParagraphs): remove footnot gurba
17160
17161         * LaTeXFeatures.C (getPackages): use stringstream
17162         (getMacros): likewise
17163         (getTClassPreamble): likewise
17164         (getFloatDefinitions): new method
17165
17166         * paragraph.C (writeFile): reindent
17167         (Erase): reindent
17168
17169         * WorkArea.h: revert the xpos + etc changes.
17170
17171         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17172
17173         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17174
17175         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17176         (pasteSelection): likewise
17177         * text2.C (CreateUndo): likewise
17178
17179 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17180
17181         * minibuffer.C (peek_event): temporarily reduce the functionality
17182         of the minibuffer (to allow args on lfuns)
17183
17184         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17185         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17186
17187         * buffer.C (readInset): add compability reading of old float
17188         lists, add reading of new style float list.
17189         (readInset): avoid reevaluation of inscmd.getCmdName()
17190         (getLists): reindent
17191
17192         * MenuBackend.C (MenuItem): implement parsing of
17193         md_floatlistinsert and md_floatinsert.
17194         (expand::LastFiles): move initalizaton of iterators out of loop,
17195         avoid reevaluation.
17196         (expand::Documents): introduce typdedef vector<string> Strings,
17197         and use it.
17198         (expand::ExportFormats): introduce typedef vector<Format const *>
17199         Formats, and use it.
17200         (expand): implement FloatListInsert and FloatInsert.
17201
17202         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17203         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17204         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17205
17206         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17207         handling.
17208         (Dispatch::LFUN_FLOAT_LIST): implement
17209
17210 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17211
17212         * LaTeX.C (run): Fix problem with --export code.
17213
17214 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17215
17216         * BufferView.[Ch] (workarea): removed.
17217         (getClipboard) new method; wrapper for workarea()->getClipboard()
17218
17219         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17220         bug.
17221
17222         * WorkArea.h (width, height, xpos, ypos): These methods all
17223         returned the dimensions of the work_area sub-area of WorkArea,
17224         resulting in a position error if the WorkArea were resized. Now
17225         return the dimensions of the entire WorkArea.
17226
17227         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17228
17229 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17230
17231         * LaTeX.C (deplog): correct the syntax of regex reg1
17232
17233 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17234
17235         * undo.C: remove !NEW_INSETS cruft
17236
17237 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17238
17239         * text2.C: remove !NEW_INSETS cruft
17240
17241         * text.C: remove !NEW_INSETS cruft
17242
17243         * tabular.C: remove !NEW_INSETS cruft
17244
17245         * spellchecker.C: remove !NEW_INSETS cruft
17246
17247         * lyxtext.h: remove !NEW_INSETS cruft
17248
17249         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17250
17251         * lyxfunc.C: remove !NEW_INSETS cruft
17252
17253         * lyxfind.C: remove !NEW_INSETS cruft
17254
17255         * lyx_cb.C: remove !NEW_INSETS cruft
17256
17257         * figureForm.C: remove  !NEW_INSETS cruft
17258
17259         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17260
17261         * buffer.[Ch]: remove !NEW_INSETS cruft
17262
17263         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17264
17265         * CutAndPaste.C: remove !NEW_INSETS cruft
17266
17267         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17268
17269         * BufferView2.C: remove !NEW_INSETS cruft
17270
17271         * BufferView.h: remove !NEW_INSETS cruft
17272
17273 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17274
17275         * Lsstream.h: include LString.h before the sstream headers to
17276         fix problem with gcc 2.95.3 and lyxstring
17277
17278 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17279
17280         * lyx_main.C: add using directives when needed for C functions
17281         declared in std:: namespace.
17282
17283 2001-04-27  Juergen Vigna  <jug@sad.it>
17284
17285         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17286         (SetHeightOfRow): comment out the update call should not be needed!
17287
17288 2001-04-13  Juergen Vigna  <jug@sad.it>
17289
17290         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17291         (LyXTabular): tried to minimize operator= operations (and realized
17292         hopfully Lars wish).
17293
17294 2001-04-27  Juergen Vigna  <jug@sad.it>
17295
17296         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17297
17298 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17299
17300         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17301
17302         * buffer.C (readInset): hack to make listof algorithm work
17303
17304         * BufferView_pimpl.C: hack to make listof algorithm work
17305
17306 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17307
17308         * LyXAction.C: removed all !NEW_INSETS cruft
17309         (init): moved lfun_item in method
17310
17311         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17312
17313 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17314
17315         * BufferView2.C (theLockingInset): white space.
17316
17317 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17318
17319         * minibuffer.C: include <iostream>
17320
17321         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17322
17323         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17324
17325         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17326
17327         * text.[Ch] (TransposeChars): new method
17328
17329 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17330
17331         * call message directly through LyXView instead of through LyXFunc
17332         * BufferView2.C: adjust
17333         * BufferView_pimpl.C: adjust
17334         * FontLoader.C: adjust
17335         * buffer.C: adjust
17336         * bufferview_funcs.C: adjust
17337         * converter.C: adjust
17338         * figureForm.C: adjust
17339         * importer.C: adjust
17340         * lyx_cb.C: adjust
17341         * lyx_gui_misc.C: adjust
17342         * lyxfunc.C: adjust
17343         * lyxvc.C: adjust
17344         * text2.C: adjust
17345         + more files in subdirs
17346
17347         * lyxparagraph.h (size): move up int file
17348         (GetLayout): ditto
17349
17350         * adjust all uses of Assert to lyx::Assert.
17351
17352         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17353         lyxfunctional in namespace lyx
17354         * layout.C (hasLayout): ditto
17355         (GetLayout): ditto
17356         (GetLayout): ditto
17357         (delete_layout): ditto
17358         (NumberOfClass): ditto
17359         * converter.C (GetFormat): ditto
17360         (GetNumber): ditto
17361         (Add): ditto
17362         (Delete): ditto
17363         (SetViewer): ditto
17364         * bufferlist.C (getFileNames): ditto
17365         (emergencyWriteAll): ditto
17366         (exists): ditto
17367         (getBuffer): ditto
17368         * MenuBackend.C (hasSubmenu): ditto
17369         (hasMenu): ditto
17370         (getMenu): ditto
17371         * BufferView_pimpl.C (getInsetByCode): ditto
17372
17373 2001-04-18  Juergen Vigna  <jug@sad.it>
17374
17375         * vspace.C (asLatexString): fixed the 100% problem.
17376
17377 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17378
17379         * lyxfunc.C (Dispatch):
17380         * minibuffer.C:
17381         * minibuffer.h: add a few std:: qualifiers
17382
17383 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17384
17385         * minibuffer.[Ch]: reimplement so that commands is initiated and
17386         run from lyxfunc, simplified som handling, and made the completion
17387         and history code for complete. wip.
17388
17389         * lyxfunc.C (processKeySym): call message
17390         (miniDispatch): new temporary method
17391         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17392         (LFUN_MESSAGE): implement
17393         (LFUN_MESSAGE_PUSH): implement
17394         (LFUN_MESSAGE_POP): implement
17395         (initMiniBuffer): the initial/defualt minibuffer message.
17396
17397         * lyxfont.[Ch]: inline some more getters
17398
17399         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17400
17401         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17402
17403         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17404         (AutoSave): use LFUN_MESSAGE
17405         (Reconfigure): ditto
17406
17407         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17408
17409         * figureForm.C: use LFUN_MESSAGE
17410
17411         * converter.C (runLaTeX): use LFUN_MESSAGE
17412
17413         * bufferview_funcs.C: use LFUN_MESSAGE
17414         (Melt): ditto
17415         (changeDepth): ditto
17416
17417         * bufferparams.h: use boost::
17418
17419         * bufferlist.h: inherit privately from noncopyable
17420
17421         * bufferlist.C (loadLyXFile): remove some commented code.
17422
17423         * buffer.C (runChktex): use LFUN_MESSAGE
17424
17425         * ShareContainer.h: inherit privately from noncopyable
17426
17427         * ParagraphParameters.[hC] (depth): inline it.
17428
17429         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17430         methods.
17431         (message): new method
17432         (messagePush): ditto
17433         (messagePop): ditto
17434         (show): init minibuffer
17435         (showState): direct call
17436
17437         * LaTeX.[Ch]: inherit privately from noncopyable
17438         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17439         instead of WriteStatus.
17440
17441         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17442
17443         * BufferView_pimpl.C (buffer): don't init minibuffer
17444         (workAreaButtonPress): use LFUN_MESSAGE
17445         (workAreaButtonRelease): ditto
17446         (savePosition): ditto
17447         (restorePosition): ditto
17448         (MenuInsertLyXFile): ditto
17449         (workAreaExpose): don't init minibuffer
17450         (update): remove commented code, simplify
17451
17452         * BufferView2.C (openStuff): use LFUN_MESSAGE
17453         (toggleFloat): ditto
17454         (menuUndo): ditto
17455         (menuRedo): ditto
17456         (copyEnvironment): ditto
17457         (pasteEnvironment): ditto
17458         (copy): ditto
17459         (cut): ditto
17460         (paste): ditto
17461         (gotoInset): ditto
17462         (updateInset): remove some commented code
17463
17464         * lastfiles.h: inherit privately from noncopyable
17465         * layout.h: ditto
17466         * lyx_gui.h: ditto
17467         * lyx_main.h: ditto
17468         * lyxlex.h: ditto
17469         * lyxlex_pimpl.h: ditto
17470
17471         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17472         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17473         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17474
17475         * LyXAction.h: inherit privately from noncopyable, add methods
17476         func_begin, func_end, returning iterators to the func map.
17477
17478         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17479         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17480         (func_begin): new method
17481         (func_end): new method
17482
17483         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17484         and not)
17485         (copySelection): ditto
17486         (pasteSelection): ditto
17487
17488         * BufferView.C: whitespace change
17489         * BufferView.h: inherit privately from noncopyable
17490
17491 2001-04-16  Allan Rae  <rae@lyx.org>
17492
17493         * tabular-old.C (l_getline):
17494         * spellchecker.C (sc_check_word):
17495         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17496         an unrecognised preprocessor directive.  So ensure they're wrapped.
17497
17498 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17499
17500         * src/exporter.C (Export): Give an error message when path to file
17501         contains spaces.
17502
17503 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17504
17505         * LaTeX.C (deplog): Always check that foundfile exists.
17506
17507 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17508
17509         * lyx_main.h:
17510         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17511
17512 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17513
17514         * tabular.[Ch] (getLabelList): implement new method
17515
17516         * minibuffer.h: comment ouf setTiimer
17517
17518         * minibuffer.C (ExecutingCB): constify res
17519         (peek_event): constify s
17520         (Set): constify ntext
17521         (Init): constify nicename
17522
17523         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17524
17525         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17526         (savePosition): use two params to Minibuffer::Set
17527         (restorePosition): ditto
17528
17529 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17530
17531         * lyx_main.C: include language.h
17532
17533         * Makefile.am (lyx_main.o): add language.h
17534
17535 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17536
17537         * exporter.C:
17538         * paragraph.C:
17539         * screen.C:
17540         * tabular.C:
17541         * CutAndPaste.C: include gettext.h
17542
17543         * lyxfont.h: remove old hack with ON and OFF.
17544
17545         * lyxparagraph.h:
17546         * lyxfont.h: do not include language.h...
17547
17548         * BufferView2.C:
17549         * LaTeXFeatures.C:
17550         * Painter.C:
17551         * bufferview_funcs.C:
17552         * font.C:
17553         * lyxfont.C:
17554         * text.C:
17555         * text2.C:
17556         * trans_mgr.C:
17557         * paragraph.C: ... but do it here instead
17558
17559 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17560
17561         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17562
17563         * tabular.C: small reformat
17564
17565         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17566         NEW_INSETS version
17567         (GetChar): ditto
17568         (BreakParagraph): ditto
17569         (SetOnlyLayout): ditto
17570         (SetLayout): ditto
17571
17572         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17573         with one arg less.
17574
17575         * lastfiles.C: removed most using decl, add std:: where needed
17576
17577         * buffer.C: ws changes
17578
17579         * MenuBackend.C (class compare_format): put into anon namespace
17580         (expand): constify label, names, action, action2
17581         (expand):
17582
17583         * text.C (SingleWidth): constify font
17584         (IsBoundary): constify rtl2
17585         (GetVisibleRow): constify ww
17586
17587         * LaTeX.C (deplog): constify logfile
17588
17589         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17590         start_x, end_x
17591         (workAreaExpose): constify widthChange, heightChange
17592
17593         * lyxrow.C (par): moved
17594         (height): moved
17595         (next): moved
17596         * lyxrow.h: as inlines here
17597
17598         * lyxfont.h (shape): moved from lyxfont.C
17599         (emph): moved from lyxfont.C
17600
17601         * lyxfont.C (LyXFont): use initialization list for all
17602         constructors
17603         (shape): move to lyxfont.h as inline
17604         (emph): move to lyxfont.h as inline
17605
17606
17607 2001-04-04  Juergen Vigna  <jug@sad.it>
17608
17609         * vspace.C: had to include stdio.h for use of sscanf
17610
17611 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17612
17613         * BufferView.h:
17614         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17615         independent of xforms.
17616
17617 2001-04-02  Juergen Vigna  <jug@sad.it>
17618
17619         * spellchecker.C: fixed namespace placing!
17620
17621 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17622
17623         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17624         the LyXParagraph * is 0.
17625
17626 2001-03-29  Juergen Vigna  <jug@sad.it>
17627
17628         * vspace.C: added support for %, c%, p%, l%.
17629         (stringFromUnit): added helper function.
17630         (asLatexString): changed to give right results for the %-values.
17631
17632         * buffer.C: convert the widthp in a width%.
17633
17634 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17635
17636         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17637         figureForm.[Ch].
17638
17639         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17640         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17641
17642         * lyx_cb.[Ch]: see above.
17643
17644         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17645         form1.[Ch].
17646
17647         * form1.[Ch]:
17648         * lyx.[Ch]: replaced by figure_form.[Ch].
17649
17650         * lyx_gui.C:
17651         * lyx_gui_misc.C:
17652         * lyxfunc.C: changed headers associated with above changes.
17653
17654 2001-03-27  Juergen Vigna  <jug@sad.it>
17655
17656         * BufferView_pimpl.C: set the temporary cursor right!
17657
17658 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17659
17660         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17661
17662 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17663
17664         * LString.h: removed "using std::getline"!
17665
17666         * BufferView_pimpl.C (Dispatch): changes due to changes in
17667         InsetInclude::Params.
17668
17669         * buffer.C (tag_name): removed redundant break statements as they were
17670         producing lots of warnings with my compiler.
17671
17672 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17673
17674         * LString.h: add "using std::getline" when using the real <string>.
17675
17676 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17677
17678         * buffer.C: removed bitset usage.
17679         PAR_TAG moved to an anonymous name space.
17680         (tag_name): new funtion, also in the anonymous namespace.
17681         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17682         (makeDocBookFile): clean code. Completed transition from string arrays
17683         to string vectors.
17684         (SimpleDocBookOnePar): code clean.
17685
17686 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17687
17688         * tabular.C: add some comments.
17689
17690 2001-03-22  Juergen Vigna  <jug@sad.it>
17691
17692         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17693         compatibility read a bit and fixed bug with minipage in different
17694         depth.
17695
17696 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17697
17698         * buffer.C (pop_tag): removed.
17699         (push_tag): removed.
17700         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17701         array replaced with vector. Added support for CDATA sections.
17702         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17703         at any nest level.
17704         (makeDocBookFile): XML conformant declaration of CDATA section,
17705         fixed bug related to <emphasis> in the first paragraph char.
17706         (sgmlOpenTag): exclude empty tags.
17707         (sgmlCloseTag): ditto.
17708
17709         * buffer.h (pop_tag): removed.
17710         (push_tag): removed.
17711
17712 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17713
17714         * language.h (Languages): added size_type and size().
17715
17716 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17717
17718         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17719         response on compability reading of minipages. One probliem is that
17720         the old usage of minipages was flertydig
17721
17722         * several files here and in subdirs: don't use static at file
17723         scope use anon namespaces instead.
17724
17725 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17726
17727         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17728         LaTeX output. This is necessary for Literate document
17729         processing.
17730
17731 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17732
17733         * buffer.C: insert hfill when needed.
17734
17735         * tabular.C (l_getline): use string::erase, small whitespace change.
17736
17737         * BufferView_pimpl.C: try the anon namespace.
17738         * WorkArea.C: ditto
17739
17740 2001-03-16  Juergen Vigna  <jug@sad.it>
17741
17742         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17743         otherwise it won't open options-dialogs.
17744
17745         * buffer.C: honor pextraWidth(p) on converting minipages.
17746
17747         * tabular.C (l_getline): changed the functions to strip trailing \r.
17748
17749 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17750
17751         * BufferView_pimpl.C:
17752         * minibuffer..C: added "using SigC::slot" declaration.
17753
17754 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17755
17756         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17757
17758         * text2.C: ditto
17759
17760         * text.C: ditto
17761
17762         * paragraph.C: ditto
17763
17764         * lyxtext.h: NO_PEXTRA
17765
17766         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17767
17768         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17769         * ParameterStruct.h: ditto
17770         * ParagraphParameters.h: ditto
17771         * lyxparagraph.h: ditto
17772
17773 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17774
17775         * buffer.C: add compability for minipage alignment.
17776         (latexParagraphs): remove unwanted pextra check.
17777
17778         * several files: remove CXX_WORKING_NAMESPACES
17779
17780         * buffer.C (pop_tag): tie is in namespace boost
17781
17782         * BufferView.h: noncopyable is in namespace boost
17783         * lyxlex.h: ditto
17784         * lyx_main.h: ditto
17785         * lyx_gui.h: ditto
17786         * layout.h: ditto
17787         * lastfiles.h: ditto
17788         * bufferlist.h: ditto
17789         * ShareContainer.h: ditto
17790         * LyXView.h: ditto
17791         * LyXAction.h: ditto
17792         * LaTeX.h: ditto
17793
17794 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17795
17796         * Merging changes from BRANCH_MVC back into HEAD.
17797
17798         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17799
17800 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17801
17802         * BufferView_pimpl.C: change from intl.C
17803
17804         * combox.h:
17805         * combox.C:
17806         * Makefile.am: move combox.*
17807
17808         * form1.h:
17809         * form1.C:
17810         * lyx_gui.C:
17811         * intl.h:
17812         * intl.C: remove dialog (covered by prefs)
17813
17814 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17815
17816         * lyxfunc.C (Dispatch): removed redundant break statement.
17817
17818 2001-03-14  Juergen Vigna  <jug@sad.it>
17819
17820         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17821
17822 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17823
17824         * buffer.C: add hack to fix compability reading of minipages.
17825
17826 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17827
17828         * buffer.C (getLists): Cleanup.
17829
17830 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17831
17832         * lyxfont.C (update): don't honor toggleall on font size.
17833
17834 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17835
17836         * bmtable.c:
17837         * bmtable.h:
17838         * Makefile.am: moved to frontends/xforms/
17839
17840         * lyx_gui_misc.C:
17841         * lyxfunc.C:
17842         * BufferView_pimpl.C: changes for moved mathpanel
17843
17844 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17845
17846         * gettext.h: fix gettext_init() in --disable-nls
17847
17848 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17849
17850         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17851
17852 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17853
17854         * lyx.C:
17855         * lyx.h: strip external form
17856
17857 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17858
17859         * BufferView_pimpl.C: add comment, destroySplash()
17860
17861 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17862
17863         * BufferView_pimpl.C:
17864         * LyXAction.C:
17865         * buffer.C:
17866         * commandtags.h:
17867         * lyxfunc.C: use re-worked insetinclude
17868
17869 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17870
17871         * buffer.C: add using std::stringstream.
17872
17873         * lyx_cb.C: readd using std::ios.
17874
17875         * buffer.C: add using std::map.
17876
17877         * BufferView_pimpl.C: add using std::vector.
17878
17879         * ShareContainer.h: add std:: to swap.
17880
17881         * buffer.h: add some typedefs
17882         * buffer.C (getLists): use them
17883         (getLists): renamed from getTocList.
17884         add a counter for the different float types and use it in the
17885         generated string.
17886         (getLists): use the same counter for the NEW_INSETS and the "non"
17887         NEW_INSETS
17888
17889         * lyx_cb.h: remove unused items, includes, using etc.
17890
17891         * ShareContainer.h: remove some commented code, add more comments
17892         and "documentation".
17893
17894 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17895
17896         * buffer.C (getTocList): make the list also when NEW_INSETS is
17897         defined.
17898
17899         * buffer.h: remove TocType
17900
17901         * buffer.C (getTocList): change to return a map<string,
17902         vector<TocItem> >, implement for dynamic number of list.
17903
17904         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17905         * text2.C (PasteSelection): adjust
17906         * CutAndPaste.C (pasteSelection): adjust
17907
17908         * FloatList.C (FloatList): update from the new_insets branch.
17909         * Floating.[Ch]: ditto
17910         * LaTeXFeatures.C: ditto
17911         * buffer.C: ditto
17912         * lyxlex_pimpl.C: ditto
17913
17914         * paragraph.C (Last): remove when NEW_INSETS is defined.
17915
17916         * other file: changes because of the above.
17917
17918 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17919
17920         * lyxparagraph.h: rename next to next_, previous to previous_,
17921         make them private for NEW_INSETS. Rename Next() to next(),
17922         Previous() to previous().
17923
17924         * other files: changes because of the above.
17925
17926 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17927
17928         * BufferView.h:
17929         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17930         problem.
17931
17932 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17933
17934         * main.C (main): pass lyx_localedir to gettext_init().
17935
17936         * gettext.h: remove locale_init and gettext_init macros
17937
17938         * gettext.C (locale_init): new function
17939         (gettext_init): new function
17940
17941         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17942         setlocale().
17943
17944 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17945
17946         * Moved credits to frontends:
17947         * credits.[Ch]: removed
17948         * credits_form.[Ch]: removed
17949         * lyx_gui_misc.C: remove credits stuff
17950         * Makefile.am:
17951
17952 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17953
17954         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17955
17956         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17957         unneeded destructor.
17958
17959         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17960         a standalone pointer again.
17961
17962         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17963
17964 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17965
17966         * Makefile.am:
17967         * filedlg.h:
17968         * filedlg.C:
17969         * LyXAction.C:
17970         * ToolbarDefaults.C:
17971         * bufferlist.C:
17972         * commandtags.h:
17973         * form1.C:
17974         * form1.h:
17975         * lyx_cb.C:
17976         * lyx_cb.h:
17977         * lyxfunc.h:
17978         * lyxfunc.C:
17979         * BufferView_pimpl.C: use new file dialog in GUII
17980
17981         * lyx_cb.h:
17982         * lyx_cb.C: remove LayoutsCB to Toolbar
17983
17984 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17985
17986         * ShareContainer.h (get): add std:: qualifier
17987
17988 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17989
17990         * ShareContainer.h: define a proper ShareContainer::value_type
17991         type (and use typename to please compaq cxx)
17992
17993 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17994
17995         * lyxparagraph.h: move serveral local vars to
17996         ParameterStruct/ParagraphParameters., use ShareContainer in
17997         FontTable., make vars in FontTable private and add getter and
17998         setter.
17999
18000         * paragraph.C: changes because of the above.
18001
18002         * lyxfont.h: remove copy constructor and copy assignment. (the
18003         default ones is ok), move number inside FontBits. move inlines to
18004         lyxfont.C
18005
18006         * lyxfont.C: add number to initializaton of statics, move several
18007         inlines here. constify several local vars. some whitespace
18008         cleanup. Dont hide outerscope variables.
18009
18010         * Spacing.h: add two new constructors to match the set methods.
18011
18012         * ShareContainer.h: new file, will perhaps be moved to support
18013
18014         * ParameterStruct.h: new file
18015
18016         * ParagraphParameters.h: new file
18017
18018         * ParagraphParameters.C: new file
18019
18020         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18021         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18022
18023         * BufferView_pimpl.C: ParagraphParameter changes.
18024         * buffer.C: Likewise.
18025         * bufferview_funcs.C: Likewise.
18026         * text.C: Likewise.
18027         * text2.C: Likewise.
18028
18029 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18030
18031         * lyxfind.C (LyXReplace): do not redefine default argument in
18032         implementation.
18033         (IsStringInText): ditto
18034         (SearchForward): ditto
18035         (SearchBackward): ditto
18036
18037 2001-03-06  Juergen Vigna  <jug@sad.it>
18038
18039         * lyxfind.C (IsStringInText): put parentes around expressions.
18040
18041 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18042
18043         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18044
18045 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18046
18047         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18048
18049         * stl_string_fwd.h: add comment
18050
18051         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18052
18053         * tabular.h:
18054         * tabular.C: remove unused DocBook methods
18055
18056         * intl.C:
18057         * language.C:
18058         * paragraph.C:
18059         * buffer.C:
18060         killed DO_USE_DEFAULT_LANGUAGE
18061
18062 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18063
18064         * lyx_gui.C: do not include language.h.
18065
18066         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18067         arguments in function implementation.
18068
18069 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18070
18071         * BufferView_pimpl.C: add <ctime>
18072
18073 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18074
18075         * BufferView_pimpl.C: add using std::find_if
18076
18077 2001-02-27  José Matos  <jamatos@fep.up.pt>
18078
18079         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18080         by OnlyPath.
18081
18082 2001-02-11  José Matos  <jamatos@fep.up.pt>
18083
18084         * buffer.C (makeDocBookFile): command styles now have a parameter as
18085         "title" by default.
18086
18087 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18088
18089         * layout_forms.[Ch]: removed
18090         * lyx_cb.[Ch]: out character
18091         * lyx_gui.C: out character
18092         * lyx_gui_misc.C: out character
18093         * bufferview_funcs.C: : out character,
18094         added toggleall as parameter in ToggleAndShow
18095
18096 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18097
18098         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18099
18100         * text2.C (SetCurrentFont): Disable number property at boundary.
18101
18102 2001-02-26  Juergen Vigna  <jug@sad.it>
18103
18104         * lyxfunc.C (getStatus): added a string argument override function so
18105         that this is correctly called from LyXFunc::Dispatch if it contains a
18106         do_not_use_argument which is used!
18107         (Dispatch): added check for "custom" export and call appropriate func.
18108
18109 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18110
18111         * lyxrc.C: Add language_command_local, language_use_babel and
18112         language_global_options.
18113
18114         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18115
18116         * buffer.C (makeLaTeXFile): Use language_use_babel and
18117         language_global_options.
18118
18119 2001-02-23  Juergen Vigna  <jug@sad.it>
18120
18121         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18122         which works with LyXText and putted it inside BufferView. Here now we
18123         only call for that part the BufferView::Dispatch() function.
18124
18125         * BufferView.C (Dispatch): added.
18126
18127         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18128         functions which needs to use a LyXText over from LyXFunc.
18129         (MenuInsertLyXFile): added
18130         (getInsetByCode): added
18131         (moveCursorUpdate): added
18132         (static TEXT): added
18133
18134 2001-02-22  Juergen Vigna  <jug@sad.it>
18135
18136         * BufferView_pimpl.C (update): call a status update to see if LyXText
18137         needs it.
18138
18139 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18140
18141         * vc-backend.C (revert): implement for CVS
18142         (getLog): implement for CVS
18143
18144 2001-02-20  Juergen Vigna  <jug@sad.it>
18145
18146         * text2.C (ClearSelection): added BufferView param for inset_owner call
18147
18148         * lyxfunc.C (TEXT): added this function and use it instead of
18149         directly owner->view()-text of getLyXText().
18150
18151 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18152
18153         * src/layout_forms.C: out preamble
18154         * src/layout_forms.h: out preamble
18155         * src/lyx_cb.C: out preamble
18156         * src/lyx_cb.h: out preamble
18157         * src/lyx_gui.C: out preamble
18158         * src/lyx_gui_misc.C: out preamble
18159         * src/lyxfunc.C: connect with guii preamble
18160
18161 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18162
18163         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18164
18165 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18166
18167         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18168         whether to run bibtex.
18169
18170 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18171
18172         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18173
18174 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18175
18176         * Makefile.am (lyx_SOURCES): removed bibforms.h
18177
18178         * vspace.h: doxygen
18179
18180         * text.C (GetVisibleRow): make several local vars const
18181
18182         * tabular.C: small cleanup.
18183
18184         * lyxserver.C (callback): use compare instead of strncmp
18185
18186         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18187         inlines to after class or to paragraph.C
18188
18189         * lyxfont.h: remove friend operator!=
18190
18191         * converter.h: move friend bool operator< to non friend and after
18192         class def.
18193
18194         * combox.h: small cleanup
18195
18196         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18197         to inlines after class def.
18198
18199         * buffer.C (pop_tag): use string operations instead of strcmp
18200
18201         * bmtable.c: doxygen, small cleanup
18202
18203         * LaTeX.h: remove friend operator==
18204
18205 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18206
18207         * screen.C:
18208         * lyxrc.[Ch]:
18209         * lyxfunc.C:
18210         * lyxfont.[Ch]:
18211         * lyx_cb.C:
18212         * intl.[Ch]:
18213         * commandtags.h:
18214         * buffer.C:
18215         * WorkArea.[Ch]:
18216         * LyXAction.C:
18217         * BufferView_pimpl.C:
18218         * BufferView.[Ch]: remove cruft
18219
18220 2001-02-14  Juergen Vigna  <jug@sad.it>
18221
18222         * lyxfunc.C: removed #if 0 unused code
18223
18224         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18225
18226         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18227
18228         * text2.C (SetSelection): added a BufferView * parameter
18229
18230 2001-02-13  Juergen Vigna  <jug@sad.it>
18231
18232         * lyxfunc.C (Dispatch): fixed protected blank problem.
18233         * BufferView2.C (protectedBlank): added LyxText * parameter.
18234
18235         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18236         (AppendColumn): same as above for column_info.
18237
18238         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18239         (moveCursorUpdate): use a LyXText param for support of InsetText.
18240
18241         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18242         (tripleClick): ditto
18243
18244         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18245
18246         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18247
18248         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18249
18250         * text2.C (SetSelection): set correct update status if inset_owner
18251         (ToggleFree): ditto
18252
18253 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18254
18255         * tabular.C: remove some commented code.
18256
18257 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18258
18259         * BufferView_pimpl.C: call hideSplash()
18260
18261         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18262
18263         * include_form.h:
18264         * bibforms.h: remove
18265
18266         * lyxfunc.C:
18267         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18268           add LFUN_CHILD_CREATE
18269
18270         * counters.h: fix tiny typo
18271
18272         * lyx_cb.C:
18273         * lyx.h:
18274         * lyx_gui.C:
18275         * lyx.C: move splash to frontends/xforms/
18276
18277         * lyx_gui_misc.C: move Include and Bibform to frontends
18278
18279         * lyxvc.h: clarify comment
18280
18281         * vspace.C: tiny housekeeping
18282
18283 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18284
18285         * text.C (PrepareToPrint): RTL Fix.
18286
18287         * paragraph.C (GetUChar): New method.
18288         (String):  Use GetUChar.
18289
18290         * buffer.C (asciiParagraph): Use GetUChar.
18291
18292 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18293
18294         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18295
18296 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18297
18298         * buffer.h:
18299         * buffer.C: rename to getLogName(), handle
18300           build log / latex log nicely
18301
18302 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18303
18304         * MenuBackend.C:
18305         * MenuBackend.h: remove support for reference menuitem type.
18306
18307 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18308
18309         * BufferView_pimpl.C: housekeeping
18310         * BufferView_pimpl.h:
18311         * LyXView.h:
18312         * Makefile.am:
18313         * Timeout.C:
18314         * Timeout.h:
18315         * minibuffer.h: move Timeout GUI-I
18316
18317 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18318
18319         * lyxrc.C (read): Update converters data-structures.
18320
18321 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18322
18323         * LaTeX.h (operator!=): add operator != for Aux_Info
18324
18325 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18326
18327         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18328
18329         * LaTeXLog.C: deleted, useful code moved to Buffer
18330
18331         * buffer.h:
18332         * buffer.C: new function getLatexLogName()
18333
18334         * lyx_gui_misc.C:
18335         * lyx_gui.C:
18336         * lyxvc.C:
18337         * lyxvc.h:
18338         * lyxfunc.C: use frontends for LaTeX and VC logs
18339
18340 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18341
18342         * LaTeX.h: yet another std:: that Allan forgot.
18343
18344         * Variables.C (set): renamed from isset(), because this clashes
18345         with some HP-UX macros (grr).
18346
18347 2001-02-06  Allan Rae  <rae@lyx.org>
18348
18349         * LaTeX.h: Another bug fix.  Missing std:: this time.
18350
18351 2001-02-04  Allan Rae  <rae@lyx.org>
18352
18353         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18354         floats problem. I've left it commented out because it's not quite
18355         correct.  It should also test that the current object is a table or
18356         figure inset.  But I haven't gotten around to figuring out how to do
18357         that.  I *think* it'll be something like: "table" == inset.type()
18358
18359         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18360         bool.
18361
18362 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18363
18364         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18365         all the citation/databases/styles in the auxilary file.
18366         (run): Rerun latex if there was a babel language error.
18367
18368 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18369
18370         * text.C (Backspace): Preserve the font when changing newline char
18371         with a space.
18372         (BreakParagraph): If the cursor is before a space, delete the space.
18373
18374         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18375
18376 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18377
18378         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18379         new argument (code).
18380         (ChangeCitationsIfUnique): New method.
18381
18382         * paragraph.C (GetPositionOfInset): Handle bibkey.
18383
18384 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18385
18386         * BufferView_pimpl.h: change type of Position::par_pos to
18387         LyXParagraph::size_type.
18388
18389 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18390
18391         * BufferView_pimpl.C (savePosition, restorePosition): Write
18392         messages to minibuffer.
18393
18394 2001-01-28  José Matos  <jamatos@fep.up.pt>
18395
18396         * buffer.C (makeDocBookFile): adds support for document language.
18397         A silly restriction on the name of LatexCommand types where removed.
18398         Added support for CDATA sections, allows to chars unescaped, used
18399         among others in code, to avoid escape < and >.
18400
18401 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18402
18403         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18404         saved positions instrad of a stack. Furthermore, a position is
18405         stored using paragraph id/paragraph position.
18406
18407         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18408         Remove LFUN_REF_BACK.
18409
18410 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18411
18412         * converter.C (dvipdfm_options): New method.
18413
18414 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18415
18416         * vspace.C (isValidLength): Fix for empty input string.
18417
18418 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18419
18420         * LyXAction.C (init): change description of LFUN_FIGURE to
18421         "Insert Graphics"
18422
18423 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18424
18425         * LaTeX.C: add using directive
18426
18427 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18428
18429         * MenuBackend.C (expand): Fix the sorting of the formats.
18430
18431 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18432
18433         * lyx_main.C: tiny error message fix
18434
18435 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18436
18437         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18438         calling fl_initialize(). This fixes the problem with ',' as
18439         decimal separator in text files.
18440
18441 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18442
18443         * trans.C (process): Fix the keymap bug.
18444
18445 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18446
18447         * LaTeX.C (scanAuxFiles): New method. Provides support for
18448         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18449         (scanLogFile) Scan for "run BibTeX" messages.
18450
18451         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18452         OT1 font encoding. Also, load the aecompl package if the ae
18453         package is loaded.
18454
18455         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18456
18457 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18458
18459         * texrow.C (increasePos): turn two error messages into debug
18460         messages.
18461
18462 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18463
18464         * LaTeX.C (scanAux): Handle the \@input macro.
18465         (runBibTeX): Use scanAux().
18466
18467         * language.C (latex_options_): New field.
18468
18469         * LaTeXFeatures.C (getMacros): Add language macros.
18470
18471         * buffer.C (makeLaTeXFile): Small fix.
18472
18473 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18474
18475         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18476
18477         * text2.C: add a using directive.
18478
18479 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18480
18481         * BufferView2.C:
18482         * lyx_gui_misc.h:
18483         * lyxfr1.C:
18484         * lyxfunc.C: kill LyXBell.
18485
18486 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18487
18488         * text.C (IsBoundary): Remove the error message
18489
18490         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18491
18492         * lyxrc.C (setDefaults): Correct initialization value for
18493         font_norm_type.
18494
18495 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18496
18497         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18498         gotoError().
18499
18500         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18501         and GotoNextNote().
18502
18503         * src/LyXAction.C: Added reference-next.
18504
18505         * text.C (InsertChar): Use contains instead of strchr.
18506
18507         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18508
18509 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18510
18511         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18512         alignment commands (when needed).
18513
18514         * text.C (InsertChar): Add ':' to number separator chars.